
/* =========================================================
   VRUXON LUXE
   Luxury catalogue / fashion-house layout
========================================================= */

:root {
    --luxe-black: #111;
    --luxe-grey: #707070;
    --luxe-light: #f6f6f6;
    --luxe-line: #e5e5e5;
    --luxe-white: #fff;

    /* Layout system – single source of truth */
    --luxe-side-pad: 4.2%;
    --luxe-header-height: 72px;
    --luxe-header-z: 100000;
    --luxe-drawer-z: 2147483000;
}

/* ---------- PAGE ---------- */

.luxe-page {
    background: #fff;
    color: var(--luxe-black);
    min-height: 100vh;
    font-family: FuturaPT, Arial, Helvetica, sans-serif;
    padding-top: 0;
}

/* ---------- BREADCRUMB ---------- */

.luxe-breadcrumb {
    padding: 28px var(--luxe-side-pad) 19px;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0;
    color: #111;
}

.luxe-breadcrumb a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.luxe-breadcrumb span {
    margin: 0 5px;
    color: #777;
}

/* ---------- CATEGORY NAV ---------- */

.luxe-category-wrap {
    border-bottom: 1px solid #e6e6e6;
    overflow: hidden;
    background: #fff;
}

.luxe-category-nav {
    display: flex;
    align-items: center;
    gap: 27px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 var(--luxe-side-pad) 17px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.luxe-category-nav::-webkit-scrollbar {
    display: none;
}

.luxe-category-link {
    position: relative;
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
    color: #777;
    text-decoration: none;
    font-family: FuturaPT, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
}

.luxe-category-link:hover,
.luxe-category-link.active {
    color: #111;
}

.luxe-category-link.active {
    font-weight: 500;
}

/* ---------- TOOLBAR ---------- */

.luxe-toolbar {
    min-height: 47px;
    height: 47px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 var(--luxe-side-pad);
    margin: 0;
    background: #fff;
    border-bottom: 0;
    position: sticky;
    top: var(--luxe-sticky-top, var(--luxe-header-height));
    z-index: 9998;
}

.luxe-count-sort {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: FuturaPT, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.luxe-count {
    color: #111;
}

.luxe-sort-button {
    padding: 0;
    margin: 0;
    color: #111;
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* ---------- FILTER BUTTON ---------- */

.luxe-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #111;
    font-family: FuturaPT, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    cursor: pointer;
}

.luxe-filter-text {
    position: relative;
    padding-bottom: 2px;
}

.luxe-filter-text::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #111;
}

.luxe-filter-count {
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e5e5e5;
    color: #111;
    border-radius: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
}

/* ---------- FILTER ICON — SAME AS LEHENGA.PHP ---------- */

.luxe-filter-button .filter-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    display: block;
}
/* ---------- ACTIVE FILTERS ---------- */

.luxe-active-filters {
    min-height: 57px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px var(--luxe-side-pad);
    margin: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.luxe-active-filter-count {
    flex: 0 0 auto;
    color: #777;
    font-family: FuturaPT, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.luxe-active-filter-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
    flex-wrap: wrap;
    min-width: 0;
}

.luxe-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 27px;
    height: 27px;
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid #dedede;
    background: #fff;
    color: #111;
    font-family: FuturaPT, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.luxe-active-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    margin: 0;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 12px;
    text-decoration: none;
}

.luxe-clear-all-filters {
    flex: 0 0 auto;
    color: #111;
    font-family: FuturaPT, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

/* ---------- GRID ---------- */

.luxe-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin: 0;
    padding: 0;
}

.luxe-card {
    min-width: 0;
    position: relative;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
.luxe-card:nth-child(4n) {
    border-right: 0;
}

.luxe-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.luxe-image {
    position: relative;
    background: #fafafa;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.luxe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .45s ease, transform .7s cubic-bezier(.2,.6,.2,1);
}

.luxe-image .luxe-hover-image {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.luxe-card:hover .luxe-main-image {
    transform: scale(1.018);
}

.luxe-card:hover .luxe-hover-image {
    opacity: 1;
}

.luxe-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.luxe-card-info {
    padding: 13px 12px 22px;
}

.luxe-product-name {
    margin: 0;
    font-family: FuturaPT, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0;
    color: #111;
}

.luxe-product-price {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.2;
    color: #333;
}

.luxe-product-color {
    display: none !important;

    margin-top: 4px;
    font-size: 10px;
    line-height: 1.2;
    color: #777;
}

.luxe-swatch-row {
    display: none !important;

    display: flex;
    gap: 6px;
    margin-top: 9px;
}

.luxe-swatch {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #bbb;
}

/* ---------- EMPTY ---------- */

.luxe-empty {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.luxe-empty-inner {
    max-width: 420px;
}

.luxe-empty-title {
    font-size: 17px;
    margin-bottom: 10px;
}

.luxe-empty-copy {
    color: #777;
    font-size: 13px;
}

/* ---------- PAGINATION ---------- */

.luxe-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 50px 20px 70px;
}

.luxe-page-link {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
    border: 1px solid transparent;
    font-size: 12px;
}

.luxe-page-link:hover,
.luxe-page-link.active {
    border-color: #111;
}

.luxe-page-arrow {
    font-size: 16px;
}

/* =========================================================
   FILTER DRAWER
========================================================= */

.luxe-drawer-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: var(--luxe-drawer-z) !important;
}

.luxe-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.luxe-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(420px, 100vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    background: #fff !important;
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.77,0,.18,1);
    z-index: calc(var(--luxe-drawer-z) + 1) !important;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 34px 30px !important;
    font-family: FuturaPT, Inter, "Segoe UI Symbol", "Noto Sans", Arial, sans-serif;
    color: #111;
}

.luxe-drawer.open {
    transform: translateX(0);
}

.luxe-drawer-header {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0 0 34px;
    border-bottom: 0;
}

.luxe-drawer-title {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.luxe-drawer-close {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    color: #111;
    font-size: 22px;
    line-height: 1;
    font-weight: 300;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.luxe-filter-form {
    padding: 0;
}

.luxe-filter-section {
    padding: 0 0 34px;
    margin: 0 0 34px;
    border-bottom: 1px solid #efefef;
}

.luxe-filter-section:last-of-type {
    margin-bottom: 0;
    border-bottom: 0;
}

.luxe-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 20px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .30em;
    text-transform: uppercase;
    color: #888;
}

.luxe-filter-options {
    display: grid;
    gap: 0;
}

.luxe-filter-option {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 14px;
    cursor: pointer;
    font-family: Inter, "Segoe UI Symbol", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0;
    color: #222;
}

.luxe-filter-option:last-child {
    margin-bottom: 0;
}

.luxe-filter-option input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 0;
    accent-color: #111;
}

.luxe-filter-parent {
    margin: 0;
}

.luxe-filter-parent-option {
    margin-bottom: 10px;
}

.luxe-filter-children {
    margin: 0 0 15px 30px;
    padding-left: 14px;
    border-left: 1px solid #e5e5e5;
}

.luxe-filter-child {
    margin-bottom: 11px;
    font-size: 13px;
}

.luxe-filter-child:last-child {
    margin-bottom: 0;
}

.luxe-price-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.luxe-price-field {
    position: relative;
}

.luxe-price-field span {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #777;
    pointer-events: none;
}

.luxe-price-field input {
    width: 100%;
    height: 43px;
    border: 1px solid #ccc;
    padding: 0 10px 0 26px;
    font-family: Inter, "Segoe UI Symbol", "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 300;
    box-sizing: border-box;
}

.luxe-drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 24px 0 8px;
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 2;
}

.luxe-action-button {
    min-height: 48px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-family: Inter, "Segoe UI Symbol", "Noto Sans", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.luxe-action-button.primary {
    background: #111;
    color: #fff;
}

/* =========================================================
   SORT DRAWER
========================================================= */

.luxe-sort-menu {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.28);
    opacity: 0;
    visibility: hidden;
    z-index: calc(var(--luxe-drawer-z) + 2) !important;
    transition: opacity .25s ease, visibility .25s ease;
}

.luxe-sort-menu.open {
    opacity: 1;
    visibility: visible;
}

.luxe-sort-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(390px, 100vw);
    height: 100%;
    min-height: 100%;
    max-height: none;
    background: #fff;
    padding: 0 0 40px;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: calc(var(--luxe-drawer-z) + 3) !important;
    font-family: FuturaPT, Inter, "Segoe UI Symbol", "Noto Sans", Arial, sans-serif;
}

.luxe-sort-menu.open .luxe-sort-panel {
    transform: translateX(0);
}

.luxe-sort-panel h2 {
    margin: 0 0 24px;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: .08em;
}

.luxe-sort-panel > .luxe-sort-option:first-of-type {
    margin-top: 8px;
}

.luxe-sort-option {
    box-sizing: border-box;
    margin-left: 30px;
    margin-right: 30px;
    width: calc(100% - 60px);
}

.luxe-sort-option {
    display: block;
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid #efefef;
    background: transparent;
    text-align: left;
    font-family: Inter, "Segoe UI Symbol", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    color: #222;
    text-decoration: none;
    cursor: pointer;
}

.luxe-sort-option.active {
    font-weight: 400;
    color: #111;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .luxe-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

.luxe-card {
    border-right: 1px solid #fff;
}

    .luxe-card:nth-child(3n) {
        border-right: 0;
    }
}

@media (max-width: 700px) {
    :root {
        --luxe-header-height: 64px;
        --luxe-side-pad: 16px;
    }

    .luxe-breadcrumb {
        padding: 18px 16px 13px;
        font-size: 9px;
    }

    .luxe-category-nav {
        gap: 20px;
        padding: 0 16px 13px;
    }

    .luxe-category-link {
        font-size: 11px;
    }

    .luxe-toolbar {
        height: 45px;
        min-height: 45px;
        padding: 0 16px;
    }

    .luxe-count-sort,
    .luxe-sort-button,
    .luxe-filter-button {
        font-size: 10px;
    }

    .luxe-count-sort {
        letter-spacing: .18em;
        white-space: nowrap;
    }

    .luxe-filter-button {
        white-space: nowrap;
    }

    .luxe-active-filters {
        min-height: 0;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px 10px;
        padding: 10px 16px;
    }

    .luxe-active-filter-count {
        width: 100%;
        font-size: 10px;
    }

    .luxe-active-filter-list {
        width: 100%;
        flex: 0 0 100%;
    }

    .luxe-clear-all-filters {
        font-size: 10px;
    }

    .luxe-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.luxe-card {
    border-right: 1px solid #fff;
}

    .luxe-card:nth-child(2n) {
        border-right: 0;
    }

    .luxe-card-info {
        padding: 10px 9px 17px;
    }

    .luxe-product-name {
        font-size: 11px;
    }

    .luxe-product-price {
        font-size: 11px;
        margin-top: 5px;
    }

    .luxe-product-color {
        font-size: 10px;
    }

    /* Full-screen filter drawer */
    .luxe-drawer {
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        max-height: none !important;
        border-radius: 0;
        padding: 24px !important;
    }

    /* Full-screen sort drawer */
    .luxe-sort-menu {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
    }

    .luxe-sort-panel {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 100%;
        min-height: 100%;
        max-height: none;
        padding: 0 0 34px;
    }

    .luxe-drawer-header {
        min-height: 0;
        padding: 0;
        margin-bottom: 34px;
    }

    .luxe-filter-form {
        padding: 0;
    }

    .luxe-filter-section {
        padding: 0 0 25px;
        margin-bottom: 25px;
    }

    .luxe-filter-heading {
        margin-bottom: 16px;
        font-size: 10px;
        letter-spacing: .26em;
    }

    .luxe-filter-option {
        gap: 12px;
        margin-bottom: 13px;
        font-size: 13px;
    }

    .luxe-sort-option {
        margin-left: 22px;
        margin-right: 22px;
        width: calc(100% - 44px);
        padding: 15px 0;
        font-size: 13px;
    }

    .luxe-drawer-actions {
        padding: 20px 0 4px;
    }
}

/* =========================================================
   HEADER LAYER
========================================================= */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: var(--luxe-header-height);
    height: var(--luxe-header-height);
    z-index: var(--luxe-header-z);
    display: block;
    visibility: visible;
    opacity: 1;
    background: #000;
    color: #fff;
    isolation: isolate;
}

#header > header,
#header header,
#header .site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    min-height: var(--luxe-header-height);
    height: var(--luxe-header-height);
    z-index: inherit;
    display: block;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: #000;
    color: #fff;
    mix-blend-mode: normal;
}

#header a,
#header button,
#header span,
#header p,
#header li,
#header label,
#header .header-link,
#header .menu-link,
#header .search-link,
#header .profile-link,
#header .bag-link {
    color: #fff;
    opacity: 1;
    visibility: visible;
}

#header svg {
    color: #fff;
    opacity: 1;
    visibility: visible;
}

#header svg path,
#header svg line,
#header svg polyline,
#header svg circle,
#header svg rect {
    stroke: #fff;
}

#header svg path[fill]:not([fill="none"]),
#header svg rect[fill]:not([fill="none"]) {
    fill: #fff;
}

#header img {
    opacity: 1;
    visibility: visible;
}

#header * {
    text-shadow: none;
}

/* Keep the same black fixed header styling used by cart.php. */
.main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: var(--luxe-header-z) !important;
    background: #000 !important;
    border-bottom: 1px solid rgba(255,255,255,.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .45s ease;
}

.main-header * {
    color: #fff !important;
}

/* Filter/sort drawers must always sit above the fixed site header. */
#header,
.main-header {
    z-index: 100000 !important;
}

.luxe-drawer-overlay,
.luxe-drawer,
.luxe-sort-menu,
.luxe-sort-panel {
    isolation: isolate;
}

.main-header svg {
    stroke: #fff !important;
}

.menu-lines span {
    background: #fff !important;
}

.bag-count {
    background: #fff !important;
    color: #000 !important;
}

/* Page offset for fixed header */
.luxe-page {
    padding-top: var(--luxe-header-height);
}

@media (max-width: 700px) {
    .luxe-page {
        padding-top: var(--luxe-header-height);
    }
}
/* =========================================================
   FINAL RESPONSIVE HARDENING
   - Keeps active filters in the same inline layout on mobile
   - Prevents toolbar overflow
   - Improves very-small screens
   - Keeps drawers above the fixed header
   - Fixes missing stock-status styling
   ========================================================= */

.luxe-product-stock {
    margin-top: 6px;
    color: #8d1f1f;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 500;
}

.luxe-toolbar,
.luxe-active-filters,
.luxe-count-sort,
.luxe-filter-button {
    min-width: 0;
}

.luxe-toolbar {
    isolation: isolate;
}

.luxe-active-filters {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.luxe-active-filters::-webkit-scrollbar {
    display: none;
}

.luxe-active-filter-list {
    max-width: 100%;
}

.luxe-card,
.luxe-card-link,
.luxe-image {
    min-width: 0;
}

.luxe-image img {
    -webkit-user-drag: none;
}

.luxe-drawer,
.luxe-sort-menu,
.luxe-sort-panel,
.luxe-drawer-overlay {
    overscroll-behavior: contain;
}

@media (max-width: 700px) {
    .luxe-toolbar {
        gap: 10px;
        height: 45px;
        min-height: 45px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .luxe-count-sort {
        flex: 1 1 auto;
        min-width: 0;
        gap: 3px;
        letter-spacing: 0 !important;
        font-size: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .luxe-count,
    .luxe-sort-button {
        font-size: 10px;
        line-height: 1.2;
    }

    .luxe-count {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .luxe-sort-button {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .luxe-filter-button {
        flex: 0 0 auto;
        gap: 6px;
        font-size: 10px;
    }

    .luxe-filter-button .filter-icon {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    /*
     * IMPORTANT:
     * Do NOT force each active-filter element onto its own line.
     * Mobile follows the desktop structure:
     *
     * 1 active filter:   [× Category: ...]   Clear All Filters
     *
     * It naturally wraps only when the phone is genuinely too narrow.
     */
    .luxe-active-filters {
        min-height: 57px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px 10px;
        padding: 8px 16px;
        overflow-x: visible;
    }

    .luxe-active-filter-count {
        width: auto !important;
        flex: 0 0 auto;
        font-size: 10px;
        white-space: nowrap;
    }

    .luxe-active-filter-list {
        width: auto !important;
        flex: 0 1 auto !important;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        min-width: 0;
    }

    .luxe-active-filter {
        min-height: 27px;
        height: 27px;
        font-size: 10px;
        padding-left: 9px;
        padding-right: 9px;
        flex: 0 0 auto;
    }

    .luxe-clear-all-filters {
        flex: 0 0 auto;
        font-size: 10px;
        white-space: nowrap;
    }

    .luxe-grid {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .luxe-image {
        aspect-ratio: 4 / 5;
    }

    .luxe-card-info {
        min-width: 0;
    }

    .luxe-product-name {
        overflow-wrap: anywhere;
    }

    /* Drawers always sit above the fixed header. */
    #header,
    .main-header {
        z-index: 100000 !important;
    }

    .luxe-drawer-overlay {
        z-index: 2147483000 !important;
    }

    .luxe-drawer {
        z-index: 2147483001 !important;
        padding: max(24px, env(safe-area-inset-top)) 24px
                 max(24px, env(safe-area-inset-bottom)) !important;
    }

    .luxe-sort-menu {
        z-index: 2147483002 !important;
    }

    .luxe-sort-panel {
        z-index: 2147483003 !important;
        padding-top: max(24px, env(safe-area-inset-top));
        padding-bottom: max(34px, env(safe-area-inset-bottom));
    }

    .luxe-drawer-close {
        flex: 0 0 42px;
    }
}

@media (max-width: 380px) {
    .luxe-toolbar {
        gap: 7px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .luxe-count-sort,
    .luxe-count,
    .luxe-sort-button,
    .luxe-filter-button {
        font-size: 9px;
    }

    .luxe-filter-button {
        gap: 4px;
    }

    .luxe-active-filters {
        padding-left: 12px;
        padding-right: 12px;
    }

    .luxe-active-filter,
    .luxe-active-filter-count,
    .luxe-clear-all-filters {
        font-size: 9px;
    }

    .luxe-active-filter {
        padding-left: 8px;
        padding-right: 8px;
    }

    .luxe-card-info {
        padding-left: 7px;
        padding-right: 7px;
    }

    .luxe-product-name,
    .luxe-product-price {
        font-size: 10px;
    }
}

@media (max-width: 320px) {
    .luxe-active-filters {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .luxe-image img,
    .luxe-drawer,
    .luxe-sort-panel,
    .luxe-sort-menu,
    .luxe-drawer-overlay,
    .main-header {
        transition: none !important;
    }
}

