/* =========================================================
   WOODEN PRODUCTS
========================================================= */

.wooden-products-page {
    width: 100%;
    min-height: 100vh;
    padding: 0 27px 70px;
    box-sizing: border-box;
    background: #fff7f9;
    color: #171313;
}

/* =========================================================
   HEADER
========================================================= */

.hh-header {
    width: 100%;
    padding: 19px 0 41px;
    box-sizing: border-box;
}

.hh-header h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #171313;
}

/* =========================================================
   TOOLBAR
========================================================= */

.hh-toolbar {
    width: 100%;
    min-height: 38px;
    margin-bottom: 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
    box-sizing: border-box;
}

.hh-filters {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 7px;
}

.hh-filter {
    position: relative;
    flex-shrink: 0;
}

/* =========================================================
   FILTER BUTTON
========================================================= */

.hh-filter-button {
    height: 36px;
    min-width: 72px;
    padding: 0 10px 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;

    border: 1px solid #171313;
    border-radius: 0;

    background: transparent;
    color: #171313;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;

    cursor: pointer;
    box-sizing: border-box;
}

.hh-filter-button:hover {
    background: rgba(255,255,255,.45);
}

.hh-filter-button i {
    font-size: 9px;
}

.hh-disabled-filter {
    color: #a49a9d;
    border-color: #c9c0c3;
    cursor: not-allowed;
    background: transparent;
}

/* Keep screenshot-like widths */
.hh-filter:nth-child(1) .hh-filter-button { min-width: 72px; }
.hh-filter:nth-child(2) .hh-filter-button { min-width: 80px; }
.hh-filter:nth-child(3) .hh-filter-button { min-width: 126px; }
.hh-filter:nth-child(4) .hh-filter-button { min-width: 88px; }
.hh-filter:nth-child(5) .hh-filter-button { min-width: 84px; }
.hh-filter:nth-child(6) .hh-filter-button { min-width: 102px; }

/* =========================================================
   DROPDOWN
========================================================= */

.hh-filter-menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;

    width: 230px;
    max-height: 390px;
    overflow-y: auto;

    display: none;
    z-index: 1000;

    border: 1px solid #cfc5c8;
    background: #fffdfd;

    box-shadow: 0 12px 28px rgba(30, 18, 20, .10);
    box-sizing: border-box;
}

.hh-filter-menu.is-open {
    display: block;
}

.hh-all-filter-menu {
    width: 430px;
    max-width: calc(100vw - 30px);
}

.hh-filter-menu-header {
    min-height: 43px;
    padding: 10px 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #e4dadd;
    box-sizing: border-box;
}

.hh-filter-menu-header span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #40383a;
}

.hh-filter-menu-header a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #6e6467;
    text-decoration: underline;
}

/* =========================================================
   CHECKBOX
========================================================= */

.hh-check-option {
    min-height: 40px;
    padding: 0 13px;

    display: flex;
    align-items: center;
    gap: 9px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #373033;

    cursor: pointer;
    box-sizing: border-box;
}

.hh-check-option:hover {
    background: #fff1f4;
}

.hh-check-option input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #171313;
    cursor: pointer;
}

.hh-no-filter-value {
    padding: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #777073;
}

/* =========================================================
   ALL FILTERS
========================================================= */

.hh-all-group {
    padding: 13px 13px 5px;
}

.hh-all-label {
    display: block;
    margin-bottom: 8px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    color: #817679;
}

.hh-all-values {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 7px;
}

.hh-all-values a {
    min-height: 25px;
    padding: 5px 9px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #c9bec1;
    color: #383133;
    background: transparent;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    text-decoration: none;
}

.hh-all-values a:hover {
    border-color: #171313;
    background: #fff1f4;
}

/* =========================================================
   SORT
========================================================= */

.hh-sort {
    flex-shrink: 0;
}

.hh-sort select {
    height: 36px;
    min-width: 132px;
    padding: 0 10px;

    border: 1px solid #171313;
    border-radius: 0;
    outline: none;

    background: transparent;
    color: #171313;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;

    cursor: pointer;
}

/* =========================================================
   PRODUCT GRID
   Same visual proportion as screenshot.
========================================================= */

.hh-products {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    column-gap: 22px;
    row-gap: 45px;
}

/* =========================================================
   PRODUCT CARD
========================================================= */

.hh-product-card {
    display: block;
    min-width: 0;

    color: inherit;
    text-decoration: none;
}

/* =========================================================
   PRODUCT IMAGE
   Hover image uses second image from the grouped product.
========================================================= */

.hh-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: .78;
    overflow: hidden;

    background: #f3eeee;
}

.hh-product-image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition:
        opacity .35s ease,
        transform .45s ease;
}

.hh-primary-image {
    z-index: 1;
    opacity: 1;
}

.hh-hover-image {
    z-index: 2;
    opacity: 0;
}

.hh-product-card:hover .hh-hover-image {
    opacity: 1;
}

.hh-product-card:hover .hh-primary-image {
    transform: scale(1.015);
}

.hh-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #817679;
}

/* =========================================================
   PRODUCT INFO
========================================================= */

.hh-product-info {
    padding-top: 14px;
}

.hh-product-info h2 {
    margin: 0 0 7px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;

    color: #171313;
}

.hh-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hh-sale-price {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #222;
    line-height: 1.4;
    margin-top: 3px;
}

.hh-regular-price {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #8e8386;
    text-decoration: line-through;
}

/* =========================================================
   SIZES
========================================================= */

.hh-product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.hh-product-sizes span {
    min-width: 23px;
    height: 21px;
    padding: 0 6px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d1c6c9;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    color: #62585b;
}

/* =========================================================
   COLOR SWATCH
========================================================= */



/* =========================================================
   EMPTY
========================================================= */

.hh-empty {
    min-height: 300px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.hh-empty h2 {
    margin: 0 0 10px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}

.hh-empty p {
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #817679;
}

.hh-clear-button {
    margin-top: 18px;
    padding: 10px 17px;

    border: 1px solid #171313;
    background: #171313;
    color: #fff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    text-decoration: none;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
    .hh-products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .wooden-products-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hh-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .hh-sort {
        width: 100%;
    }

    .hh-sort select {
        width: 145px;
    }

    .hh-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .wooden-products-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hh-header {
        padding-top: 25px;
        padding-bottom: 28px;
    }

    .hh-header h1 {
        font-size: 30px;
    }

    .hh-filters {
        gap: 5px;
    }

    .hh-filter-button {
        height: 34px;
        padding-left: 9px;
        padding-right: 8px;
        font-size: 10px;
    }

    .hh-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 30px;
    }

    .hh-product-info h2 {
        font-size: 12px;
    }
}
.hh-tongue-cleaner-card .hh-product-image {
    background: #fff !important;
}

.hh-tongue-cleaner-card .hh-product-image img {
    object-fit: contain;
    background: #fff !important;
}