/* =========================================================
   LINGERIE & INTIMATES PAGE
   Screenshot-style collection UI
========================================================= */

:root {
    --ling-text: #111;
    --ling-border: #222;
    --ling-bg: #fbf5f6;
    --ling-white: #fff;
}


/* =========================================================
   PAGE BASE
========================================================= */

.lingeries-page {
    margin: 0;
    min-height: 100vh;
    color: var(--ling-text);
    background: var(--ling-bg);
    overflow-x: hidden;
}


/* =========================================================
   HEADER
   Screenshot-style collection header
========================================================= */

.lingerie-page .site-header {
    position: relative;
    z-index: 100;
    background: #fbf5f6 !important;
    box-shadow: none !important;
    border: 0 !important;
}

.lingerie-page .header-main,
.lingerie-page .header-nav {
    background: #fbf5f6 !important;
    box-shadow: none !important;
}

.lingerie-page .site-header input {
    background: transparent !important;
}

/* =========================================================
   MAIN CONTENT
========================================================= */

main.lingerie-page {
    position: relative;

    z-index: 10;

    min-height: 100vh;

    padding-top: 28px;
    padding-bottom: 90px;

    box-sizing: border-box;
}


/* =========================================================
   TITLE
========================================================= */

.lingerie-title {
    padding: 8px 33px 28px;
}

.lingerie-title h1 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(42px, 3vw, 58px);
    font-weight: 400;
    line-height: 1.05;

    letter-spacing: -1.8px;
}


/* =========================================================
   TOOLBAR
========================================================= */

.lingerie-toolbar {
    width: 100%;

    padding: 10px 33px 28px;

    box-sizing: border-box;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;
}

.lingerie-filters {
    display: flex;
    align-items: flex-start;

    gap: 7px;
    flex-wrap: wrap;
}

.lingerie-filter {
    position: relative;
}

.lingerie-filter-button {
    height: 34px;

    padding: 0 12px;

    min-width: 74px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    border: 1px solid var(--ling-border);

    background: rgba(255, 255, 255, 0.66);

    color: #111;

    font-size: 12px;
    font-weight: 400;

    cursor: pointer;
}

.lingerie-filter-button i {
    font-size: 8px;
}

.lingerie-filter:nth-child(2)
.lingerie-filter-button {
    min-width: 76px;
}

.lingerie-filter:nth-child(3)
.lingerie-filter-button {
    min-width: 120px;
}

.lingerie-filter:nth-child(4)
.lingerie-filter-button {
    min-width: 86px;
}

.lingerie-filter:nth-child(5)
.lingerie-filter-button {
    min-width: 80px;
}

.lingerie-filter:nth-child(6)
.lingerie-filter-button {
    min-width: 98px;
}

.lingerie-disabled {
    color: #aaa;
    border-color: #cfc8ca;

    cursor: not-allowed;

    background: rgba(255, 255, 255, 0.45);
}


/* =========================================================
   FILTER DROPDOWN
========================================================= */

.lingerie-filter-menu {
    position: absolute;

    top: calc(100% + 7px);
    left: 0;

    width: 225px;
    max-height: 360px;

    overflow-y: auto;

    display: none;

    background: rgba(255, 252, 252, 0.98);

    border: 1px solid #d6ced0;

    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);

    z-index: 500;
}

.lingerie-filter-menu.is-open {
    display: block;
}

.lingerie-menu-header {
    min-height: 40px;

    padding: 0 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #e4dddd;

    font-size: 11px;
}

.lingerie-menu-header a {
    color: #555 !important;

    text-decoration: underline;

    font-size: 11px;
}

.lingerie-filter-menu label {
    min-height: 37px;

    padding: 0 13px;

    display: flex;
    align-items: center;

    gap: 9px;

    font-size: 12px;

    cursor: pointer;
}

.lingerie-filter-menu label:hover {
    background: #f8eff1;
}

.lingerie-filter-menu input {
    width: 13px;
    height: 13px;

    margin: 0;

    accent-color: #111;
}

.lingerie-no-option {
    padding: 16px 13px;

    color: #777;

    font-size: 11px;
}


/* =========================================================
   ALL FILTERS
========================================================= */

.lingerie-all-menu {
    width: 310px;
}

.lingerie-all-group {
    padding: 13px 14px 10px;

    border-bottom: 1px solid #eee5e7;
}

.lingerie-all-group strong {
    display: block;

    margin-bottom: 9px;

    font-size: 10px;
    letter-spacing: 0.8px;
}

.lingerie-all-group > div {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;
}

.lingerie-all-group a {
    padding: 5px 9px;

    border: 1px solid #d8d0d2;

    background: #fff;

    color: #222 !important;

    text-decoration: none;

    font-size: 11px;
}

.lingerie-all-group a:hover {
    border-color: #111;
}


/* =========================================================
   SORT
========================================================= */

.lingerie-sort {
    flex: 0 0 auto;
}

.lingerie-sort select {
    height: 34px;

    min-width: 124px;

    padding: 0 10px;

    border: 1px solid #222;

    background: rgba(255, 255, 255, 0.68);

    color: #111;

    font-size: 12px;

    cursor: pointer;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.lingerie-products {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 18px;

    padding: 0 33px;

    box-sizing: border-box;
}

.lingerie-product-card {
    position: relative;

    display: block;

    min-width: 0;

    color: #111 !important;

    text-decoration: none !important;
}

.lingerie-product-image {
    position: relative;

    width: 100%;

    aspect-ratio: 0.58;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.72);
}

.lingerie-product-image img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        opacity 0.35s ease,
        transform 0.45s ease;
}

.lingerie-primary {
    opacity: 1;

    z-index: 1;
}

.lingerie-hover {
    opacity: 0;

    z-index: 2;
}

.lingerie-product-card:hover
.lingerie-hover {
    opacity: 1;
}

.lingerie-product-card:hover
.lingerie-primary {
    transform: scale(1.015);
}

.lingerie-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777;

    font-size: 12px;
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.lingerie-product-info {
    position: relative;

    padding-top: 9px;
}

.lingerie-badge {
    position: absolute;

    top: -1px;
    left: 10px;

    padding: 5px 8px;

    border: 1px solid #ddd2d4;

    background: rgba(255, 250, 250, 0.92);

    color: #777;

    font-size: 9px;

    line-height: 1;
}

.lingerie-product-info h2 {
    margin: 0;

    padding-top: 22px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.35;
}

.lingerie-price {
    margin-top: 6px;

    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 12px;
}

.lingerie-price del {
    color: #888;
}




/* =========================================================
   COLOR SWATCHES
========================================================= */

.lingerie-color-swatches {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    min-height: 14px;
}

.lingerie-color-swatch {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid #bdb6b7;
    display: block;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.lingerie-color-swatch:hover {
    transform: scale(1.16);
    border-color: #111;
}

/* =========================================================
   EMPTY STATE
========================================================= */

.lingerie-empty {
    margin: 70px 33px;

    padding: 70px 30px;

    text-align: center;

    background: rgba(255, 250, 250, 0.88);

    border: 1px solid #ded5d7;
}

.lingerie-empty h2 {
    margin: 0 0 8px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;

    font-weight: 400;
}

.lingerie-empty p {
    margin: 0 0 20px;

    font-size: 13px;
}

.lingerie-empty a {
    display: inline-block;

    padding: 11px 18px;

    background: #111;

    color: #fff !important;

    text-decoration: none;

    font-size: 12px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1200px) {

    .lingerie-products {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {

    .lingerie-page {
        padding-top: 120px;
    }

    .lingerie-products {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 650px) {

    .lingerie-page {
        padding-top: 105px;
    }

    .lingerie-title {
        padding-left: 18px;
        padding-right: 18px;
    }

    .lingerie-title h1 {
        font-size: 40px;
    }

    .lingerie-toolbar {
        padding-left: 18px;
        padding-right: 18px;

        flex-direction: column;
    }

    .lingerie-filters {
        width: 100%;
    }

    .lingerie-sort {
        align-self: flex-end;
    }

    .lingerie-products {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;

        padding-left: 18px;
        padding-right: 18px;
    }

    .lingerie-filter-menu {
        width: 205px;
    }

    .lingerie-all-menu {
        width: min(
            300px,
            calc(100vw - 36px)
        );
    }

}

@media (max-width: 420px) {

    .lingerie-products {
        grid-template-columns: 1fr;
    }

    .lingerie-product-image {
        aspect-ratio: 0.90;
    }

}
