/* ==========================================================================
   The 7th Crafts and Cosmetics — storefront theme
   Design tokens are defined on :root; the admin-configurable colors
   (Settings > Couleurs du site web) are injected by layouts/app.blade.php
   as --brand-* custom properties and override the defaults below.
   ========================================================================== */

:root {
    --brand-ink: #16283b;          /* navy — header / footer */
    --brand-gold: #b9953d;         /* gold — accents, CTAs */
    --brand-gold-strong: #9c7b2c;
    --brand-nav-bg: #16283b;
    --brand-nav-text: #b9953d;
    --brand-nav-active-bg: #b9953d;
    --brand-nav-active-text: #16283b;
    --brand-footer: #16283b;

    --c-bg: #faf7f2;
    --c-surface: #ffffff;
    --c-surface-2: #f4efe6;
    --c-text: #1f2a37;
    --c-muted: #6b665d;
    --c-line: #e9e2d6;
    --c-line-strong: #d8cfbf;
    --c-success: #2e7d4f;
    --c-success-bg: #e8f4ec;
    --c-danger: #b3261e;
    --c-danger-bg: #fbeceb;

    --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(22, 40, 59, .06);
    --shadow: 0 6px 20px rgba(22, 40, 59, .08);
    --shadow-lg: 0 18px 50px rgba(22, 40, 59, .14);

    --ease: cubic-bezier(.2, .7, .2, 1);
    --t-fast: .18s var(--ease);
    --t: .3s var(--ease);

    --container: var(--site-container-max-width, 1320px);
    --gutter: 16px;
    --header-h: 72px;
}

@media (min-width: 768px) {
    :root { --gutter: 24px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body.site {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

.site img { max-width: 100%; height: auto; }
.site a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
.site a:hover { color: var(--brand-gold-strong); }
.site h1, .site h2, .site h3, .site h4 {
    font-family: var(--font-display);
    color: var(--brand-ink);
    line-height: 1.2;
    margin: 0 0 .5em;
    font-weight: 600;
}
.site p { margin: 0 0 1em; }
.site button { font-family: inherit; }

.site :focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    background: var(--brand-ink);
    color: #fff !important;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

.container-x {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn-x {
    --b-bg: var(--brand-ink);
    --b-fg: #fff;
    --b-bd: var(--brand-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    min-height: 46px;
    padding: .7em 1.4em;
    border: 1.5px solid var(--b-bd);
    border-radius: var(--radius-pill);
    background: var(--b-bg);
    color: var(--b-fg) !important;
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: .01em;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-x:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--b-fg) !important; }
.btn-x:active { transform: translateY(0); }
.btn-x[disabled], .btn-x.is-disabled { opacity: .5; pointer-events: none; }
.btn-x--gold { --b-bg: var(--brand-gold); --b-bd: var(--brand-gold); --b-fg: #fff; }
.btn-x--gold:hover { --b-bg: var(--brand-gold-strong); --b-bd: var(--brand-gold-strong); }
.btn-x--ghost { --b-bg: transparent; --b-fg: var(--brand-ink); --b-bd: var(--c-line-strong); }
.btn-x--ghost:hover { --b-bd: var(--brand-ink); }
.btn-x--light { --b-bg: #fff; --b-fg: var(--brand-ink); --b-bd: #fff; }
.btn-x--whatsapp { --b-bg: #25d366; --b-bd: #25d366; --b-fg: #fff; }
.btn-x--block { width: 100%; }
.btn-x--lg { min-height: 54px; font-size: 15.5px; padding-inline: 1.8em; }
.btn-x.added { --b-bg: var(--c-success); --b-bd: var(--c-success); }

.icon-btn {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast);
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); }

.badge-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: var(--radius-pill);
    background: var(--brand-gold);
    color: #fff;
    font: 600 11px/19px var(--font-body);
    text-align: center;
    transition: transform var(--t-fast);
}
.badge-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ---------- Topbar ---------- */
.topbar {
    background: color-mix(in srgb, var(--brand-ink) 88%, #000);
    color: rgba(255, 255, 255, .82);
    font-size: 12.5px;
}
.topbar .container-x {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 36px;
}
.topbar a { color: #fff; }
.topbar i { color: var(--brand-gold); margin-right: 6px; }
.topbar-item--secondary { display: none; }
@media (min-width: 992px) {
    .topbar .container-x { justify-content: space-between; }
    .topbar-item--secondary { display: inline; }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    color: var(--c-text);
    border-bottom: 1px solid var(--c-line);
    transition: box-shadow var(--t);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(22, 40, 59, .10); }

/* Single-row bar: [burger] logo | menu | search pill | icon cells */
.header-bar-inner {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-height: var(--header-h);
}
.header-logo { display: inline-flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.header-logo img {
    height: 58px;
    width: auto;
    margin-block: -8px;
    display: block;
    transition: height var(--t), margin var(--t);
}

/* Icon cells (cart, phone, search, burger) */
.hicon {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    border: 0;
    background: transparent;
    color: var(--brand-ink) !important;
    font-size: 18px;
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast);
}
.hicon:hover { color: var(--brand-gold-strong) !important; }
.hicon .badge-count { top: calc(50% - 22px); right: 2px; }
.header-icons { display: flex; align-items: stretch; }
.header-burger { margin-left: -10px; }
.hicon--phone { display: none !important; }

.mainnav, .header-search-pill.header-search-desk { display: none; }

@media (min-width: 992px) {
    :root { --header-h: 92px; }
    .header-bar-inner { gap: 0; }
    .header-burger { display: none !important; }
    .header-logo { margin-right: 0; padding-right: 28px; }
    .header-logo img { height: clamp(64px, var(--logo-h, 80px), 100px); margin-block: -12px; }
    .site-header.is-scrolled .header-logo img { height: 74px; margin-block: -8px; }

    .mainnav { display: flex; flex: 1; justify-content: center; }
    .mainnav-list { display: flex; align-items: stretch; gap: 4px; margin: 0; padding: 0; list-style: none; }
    .mainnav-list > li { display: flex; }
    .mainnav-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 0 14px;
        color: var(--brand-ink) !important;
        font-size: 15.5px;
        font-weight: 500;
        white-space: nowrap;
        transition: color var(--t-fast);
    }
    .mainnav-link i { font-size: 12px; transition: transform var(--t-fast); }
    .mainnav-link:hover, .mainnav-link.is-active,
    .mainnav-item.is-open > .mainnav-link { color: var(--brand-gold-strong) !important; }
    .mainnav-item.is-open > .mainnav-link i { transform: rotate(180deg); }

    .header-icons .hicon { width: 76px; border-left: 1px solid var(--c-line); font-size: 19px; }
    .hicon--phone { display: inline-grid !important; }
    .hicon .badge-count { top: calc(50% - 26px); right: 16px; }
}

@media (min-width: 1200px) {
    .header-search-pill.header-search-desk { display: flex; align-self: center; width: 250px; margin: 0 22px 0 8px; }
    .header-icons .header-search-toggle { display: none !important; }
}
@media (min-width: 1440px) {
    .mainnav-link { padding: 0 18px; }
    .header-search-pill.header-search-desk { width: 290px; }
    .header-icons .hicon { width: 84px; }
}

/* Light grey pill search (desktop bar + mobile collapse) */
.header-search-pill { position: relative; display: flex; align-items: center; }
.header-search-pill input {
    width: 100%;
    height: 46px;
    padding: 0 48px 0 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    background: #f4f2ee;
    color: var(--c-text);
    font-size: 14.5px;
    transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.header-search-pill input::placeholder { color: #6f6a62; }
.header-search-pill input:focus { outline: none; background: #fff; border-color: var(--brand-gold); box-shadow: 0 0 0 4px rgba(185, 149, 61, .16); }
.header-search-pill input::-webkit-search-cancel-button { display: none; }
.header-search-pill button {
    position: absolute;
    right: 6px;
    width: 36px; height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--brand-ink);
    font-size: 14px;
    cursor: pointer;
    transition: color var(--t-fast), background var(--t-fast);
}
.header-search-pill button:hover { color: var(--brand-gold-strong); background: rgba(185, 149, 61, .1); }

/* Mega menu / dropdown panels */
@media (min-width: 992px) {
    .mainnav-item { position: static; }
    .megamenu {
        position: absolute;
        top: 100%;
        left: 50%;
        z-index: 20;
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 0 48px;
        width: min(1080px, calc(100vw - 48px));
        padding: 30px 36px 26px;
        background: #fff;
        border-top: 1px solid var(--c-line);
        box-shadow: 0 24px 50px rgba(22, 40, 59, .14);
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 10px);
        transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
    }
    .mainnav-item.has-dropdown { position: relative; }
    .megamenu--small {
        grid-template-columns: 1fr;
        width: 320px;
        left: 50%;
        padding: 26px 28px 20px;
    }
    .mainnav-item:hover > .megamenu,
    .mainnav-item:focus-within > .megamenu,
    .mainnav-item.is-open > .megamenu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
        transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s;
    }
    .mainnav-item.is-closed > .megamenu { opacity: 0 !important; visibility: hidden !important; }
}
.megamenu-title {
    position: relative;
    margin: 0 0 26px;
    padding-bottom: 18px;
    color: var(--brand-ink);
    font: 400 23px/1.2 var(--font-body);
    letter-spacing: .01em;
}
/* accent underline with a small light gap in the middle */
.megamenu-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 84px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-gold) 0 38%, transparent 38% 62%, var(--brand-gold) 62% 100%);
}
.megamenu-title::before {
    content: "";
    position: absolute;
    left: 32px;
    bottom: 1px;
    width: 20px;
    height: 1px;
    background: var(--brand-gold);
}
.megamenu-links { margin: 0; padding: 0; list-style: none; }
.megamenu-links--2col { columns: 2; column-gap: 48px; }
.megamenu-links li { break-inside: avoid; }
.megamenu-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--c-line-strong);
    color: var(--c-text) !important;
    font-size: 14.5px;
    font-weight: 500;
    transition: color var(--t-fast), padding var(--t-fast);
}
.megamenu-links a:hover, .megamenu-links a.is-active { color: var(--brand-gold-strong) !important; padding-left: 6px; }
.megamenu-links small { color: var(--c-muted); font-size: 12px; font-weight: 500; }

.search-form-x {
    position: relative;
    display: flex;
    align-items: center;
}
.search-form-x input {
    width: 100%;
    height: 46px;
    padding: 0 52px 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--c-text);
    font-size: 14px;
    transition: box-shadow var(--t-fast), border-color var(--t-fast);
}
.search-form-x input::placeholder { color: #8f897f; }
.search-form-x input:focus { outline: none; border-color: var(--brand-gold); box-shadow: 0 0 0 4px rgba(185, 149, 61, .25); }
.search-form-x button {
    position: absolute;
    right: 4px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--brand-gold);
    color: #fff;
    cursor: pointer;
    transition: background var(--t-fast);
}
.search-form-x button:hover { background: var(--brand-gold-strong); }

.header-search-mobile { padding: 0 var(--gutter) 14px; }
.header-search-mobile.collapse:not(.show) { display: none; }
@media (min-width: 1200px) { .header-search-mobile { display: none !important; } }

/* ---------- Category navigation ---------- */
.catnav {
    background: var(--brand-nav-bg);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.catnav-list {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    /* Right-edge fade only, hinting that more categories can be scrolled to
       (the left edge stays sharp so the home icon is never faded out). */
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%);
}
/* Phones & tablets: the categories live only in the ☰ menu (navigation drawer). */
@media (max-width: 991px) {
    .catnav, .catnav-standalone { display: none !important; }
}
.catnav-list::-webkit-scrollbar { display: none; }
.catnav-list li { flex: 0 0 auto; scroll-snap-align: start; }
.catnav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    color: var(--brand-nav-text) !important;
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: background var(--t-fast), color var(--t-fast);
}
.catnav-link:hover, .catnav-link.active {
    background: var(--brand-nav-active-bg);
    color: var(--brand-nav-active-text) !important;
}
.nav-cat-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background-color: currentColor;
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
}
.catnav-home {
    justify-content: center;
    width: 38px;
    height: 36px;
    padding: 0 !important;
    font-size: 15px;
}
.catnav-home i { color: inherit; line-height: 1; }
.catnav-home.is-current { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.catnav-home:hover, .catnav-home:focus-visible {
    background: var(--brand-nav-active-bg);
    color: var(--brand-nav-active-text) !important;
}
.catnav-list li:first-child { position: relative; margin-right: 6px; padding-right: 8px; }
.catnav-list li:first-child::after {
    content: "";
    position: absolute;
    right: 0; top: 50%;
    width: 1px; height: 20px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .16);
}
@media (min-width: 1200px) {
    .catnav-list { justify-content: safe center; gap: 2px; -webkit-mask-image: none; mask-image: none; }
    .catnav-link { padding-inline: 11px; font-size: 13px; }
}
/* Between 1200px and 1599px the category icons are dropped so the whole
   menu fits on one line without being cut. */
@media (min-width: 1200px) and (max-width: 1599px) {
    .catnav-link .nav-cat-icon { display: none; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
    .catnav-list { gap: 0; }
    .catnav-link { padding-inline: 9px; font-size: 12.5px; }
    .catnav-list li:first-child { margin-right: 4px; padding-right: 6px; }
}
@media (min-width: 1200px) and (max-width: 1299px) {
    .catnav .container-x { padding-inline: 8px; }
    .catnav-link { padding-inline: 7px; font-size: 12px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .catnav-list { gap: 0; }
    .catnav-link { padding-inline: 8px; font-size: 12.5px; }
    .catnav-link .nav-cat-icon { display: none; }
}

/* ---------- Drawers (Bootstrap modal variants) ---------- */
.modal.drawer .modal-dialog {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    width: min(420px, 100vw);
    max-width: none;
    height: 100%;
    transform: translateX(100%) !important;
    transition: transform .35s var(--ease) !important;
}
.modal.drawer.drawer--left .modal-dialog { right: auto; left: 0; transform: translateX(-100%) !important; }
.modal.drawer.show .modal-dialog { transform: none !important; }
.modal.drawer .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
    background: var(--c-surface);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--c-line);
}
.drawer-head h2 { font-size: 20px; margin: 0; }
.drawer-head .count { font: 500 13px var(--font-body); color: var(--c-muted); margin-left: 6px; }
.drawer-close {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px;
    border: 0; border-radius: 50%;
    background: var(--c-surface-2);
    color: var(--brand-ink);
    cursor: pointer;
    transition: background var(--t-fast);
}
.drawer-close:hover { background: var(--c-line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; overscroll-behavior: contain; }
.drawer-foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); background: var(--c-surface); }
.modal-backdrop.show { opacity: .45; }

/* Mobile navigation drawer — light panel, navy header band */
.modal.drawer.navdrawer .modal-dialog { width: min(360px, 88vw); }
.modal.drawer.navdrawer .modal-content { background: var(--c-bg); color: var(--c-text); }

.navdrawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 14px 18px;
    padding-top: calc(14px + env(safe-area-inset-top));
    background: var(--brand-ink);
}
.navdrawer-logo img { display: block; height: 64px; width: auto; margin-block: -10px; }
.navdrawer-close {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
}
.navdrawer-close:hover { background: rgba(255, 255, 255, .22); transform: rotate(90deg); }

.navdrawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px 8px; }

.navdrawer-search { position: relative; margin-bottom: 14px; }
.navdrawer-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--c-muted); font-size: 14px; pointer-events: none; }
.navdrawer-search input {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 42px;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-pill);
    background: var(--c-surface);
    color: var(--c-text);
    font-size: 15px;
}
.navdrawer-search input:focus { outline: none; border-color: var(--brand-gold); box-shadow: 0 0 0 4px rgba(185, 149, 61, .18); }

.navdrawer-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.navdrawer-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px 10px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: var(--c-surface);
    color: var(--brand-ink) !important;
    font-size: 12.5px;
    font-weight: 500;
    text-align: center;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.navdrawer-quick-item > span {
    position: relative;
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--c-surface-2);
    color: var(--brand-gold-strong);
    font-size: 15px;
}
.navdrawer-quick-item:hover { border-color: var(--brand-ink); }
.navdrawer-quick-item.is-current { border-color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--brand-ink); }
.navdrawer-quick-item.is-current > span { background: var(--brand-ink); color: var(--brand-gold); }
.navdrawer-badge {
    position: absolute; top: -4px; right: -6px;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: var(--radius-pill);
    background: var(--brand-gold); color: #fff;
    font: 600 10.5px/18px var(--font-body);
    font-style: normal;
}

.navdrawer-section { padding: 14px 0 4px; }
.site .navdrawer-title {
    margin: 0 4px 8px;
    font: 600 11px var(--font-body);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-muted);
}
.navdrawer-cats, .navdrawer-links {
    list-style: none;
    margin: 0;
    padding: 4px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: var(--c-surface);
}
.navdrawer-cats a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    color: var(--c-text) !important;
    font-size: 14.5px;
    font-weight: 500;
    transition: background var(--t-fast);
}
.navdrawer-cats li + li a { position: relative; }
.navdrawer-cats li + li a::before {
    content: "";
    position: absolute;
    top: 0; left: 58px; right: 10px;
    height: 1px;
    background: var(--c-line);
}
.navdrawer-cats a:hover, .navdrawer-cats a:active { background: var(--c-surface-2); }
.navdrawer-cats a:hover::before, .navdrawer-cats a:hover + * { opacity: 0; }
.navdrawer-cat-icon {
    display: grid; place-items: center;
    flex: 0 0 36px;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--c-surface-2);
    color: var(--brand-gold-strong);
}
.navdrawer-cat-icon .nav-cat-icon { width: 18px; height: 18px; }
.navdrawer-cat-name { flex: 1; min-width: 0; line-height: 1.3; }
.navdrawer-cat-count {
    min-width: 24px;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--c-surface-2);
    color: var(--c-muted);
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
}
.navdrawer-chevron { color: var(--c-line-strong); font-size: 11px; transition: transform var(--t-fast), color var(--t-fast); }
.navdrawer-cats a:hover .navdrawer-chevron { color: var(--brand-ink); transform: translateX(2px); }
.navdrawer-cats a.is-current { background: var(--brand-ink); color: #fff !important; }
.navdrawer-cats a.is-current .navdrawer-cat-icon { background: rgba(255, 255, 255, .12); color: var(--brand-gold); }
.navdrawer-cats a.is-current .navdrawer-cat-count { background: rgba(255, 255, 255, .16); color: #fff; }
.navdrawer-cats a.is-current .navdrawer-chevron { color: var(--brand-gold); }
.navdrawer-cats a.is-current::before, .navdrawer-cats li:has(a.is-current) + li a::before { opacity: 0; }

.navdrawer-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-radius: var(--radius-sm);
    color: var(--c-text) !important;
    font-size: 14px;
}
.navdrawer-links a:hover { background: var(--c-surface-2); }
.navdrawer-links i { width: 18px; color: var(--c-muted); text-align: center; }

.navdrawer-foot {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--c-line);
    background: var(--c-surface);
}
.navdrawer-foot-label { margin: 0 0 10px; color: var(--brand-ink); font-size: 13px; font-weight: 600; }
.navdrawer-foot-label span { display: block; color: var(--c-muted); font-size: 12px; font-weight: 400; }
.navdrawer-foot-actions { display: flex; gap: 8px; }
.navdrawer-foot-actions .btn-x--gold { flex: 1; }
.navdrawer-foot-actions .btn-x--whatsapp { flex: 0 0 48px; width: 48px; padding: 0; font-size: 20px; }
/* Short screens: keep the call buttons, drop the label to leave room for the menu. */
@media (max-height: 700px) {
    .navdrawer-foot { padding-block: 10px calc(10px + env(safe-area-inset-bottom)); }
    .navdrawer-foot-label { display: none; }
    .navdrawer-quick-item { padding-block: 9px 8px; }
}

/* ---------- Toast ---------- */
.toast-x {
    position: fixed;
    left: 50%;
    bottom: calc(24px + env(safe-area-inset-bottom));
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100vw - 32px);
    padding: 12px 14px 12px 18px;
    border-radius: var(--radius);
    background: var(--brand-ink);
    color: #fff;
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t), transform var(--t);
}
.toast-x.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast-x i { color: var(--brand-gold); }
.toast-x.is-error { background: var(--c-danger); }
.toast-x.is-error i { color: #fff; }
.toast-x a { color: var(--brand-gold) !important; font-weight: 600; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: clamp(380px, 62vh, 620px);
    overflow: hidden;
    color: #fff;
    background: var(--brand-ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(14, 26, 39, .82) 0%, rgba(14, 26, 39, .55) 45%, rgba(14, 26, 39, .15) 100%);
}
.hero-content { padding-block: 56px; max-width: 640px; animation: rise .8s var(--ease) both; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 18px;
    color: var(--brand-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.site .hero h1 {
    color: #fff;
    font-size: clamp(30px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 18px;
}
@media (min-width: 768px) { .site .hero h1.hero-title { font-size: var(--hero-size, clamp(30px, 5vw, 56px)); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-x--ghost { --b-fg: #fff; --b-bd: rgba(255, 255, 255, .55); }
.hero .btn-x--ghost:hover { --b-bd: #fff; --b-bg: rgba(255, 255, 255, .08); }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { height: 100%; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding-block: 48px; }
.section--tight { padding-block: 32px; }
.section--alt { background: var(--c-surface); }
@media (min-width: 992px) { .section { padding-block: 72px; } }

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.section-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--brand-gold-strong);
    font: 600 11.5px var(--font-body);
    letter-spacing: .18em;
    text-transform: uppercase;
}
.section-link {
    display: inline-flex; align-items: center; gap: 8px;
    flex-shrink: 0;
    color: var(--brand-ink) !important;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 1px solid var(--c-line-strong);
    padding-bottom: 2px;
}
.section-link:hover { border-color: var(--brand-gold); color: var(--brand-gold-strong) !important; }
.section-link i { font-size: 12px; transition: transform var(--t-fast); }
.section-link:hover i { transform: translateX(3px); }

/* ---------- Trust strip ---------- */
.trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--c-surface);
    border: 1px solid var(--c-line);
}
.trust-icon {
    display: grid; place-items: center;
    flex: 0 0 44px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--c-surface-2);
    color: var(--brand-gold-strong);
    font-size: 18px;
}
.trust-item strong { display: block; color: var(--brand-ink); font-size: 14px; font-weight: 600; line-height: 1.3; }
.trust-item div > span { display: block; color: var(--c-muted); font-size: 12.5px; line-height: 1.4; }
.trust-item div > span a { color: var(--brand-gold-strong); text-decoration: underline; }
@media (min-width: 992px) { .trust { grid-template-columns: repeat(4, 1fr); gap: 18px; } .trust-item { padding: 20px; } }
@media (max-width: 420px) { .trust-item { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* ---------- Category tiles ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1200px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }
.cat-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.cat-tile-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--c-surface-2); }
.cat-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile:hover .cat-tile-media img { transform: scale(1.06); }
.cat-tile-body { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; }
.cat-tile-body > div { min-width: 0; }
.cat-tile-name { color: var(--brand-ink); font-weight: 600; font-size: 14px; line-height: 1.3; overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 575px) { .cat-tile .cat-tile-body { padding: 10px 12px; } .cat-tile .cat-tile-arrow { display: none; } .cat-tile .cat-tile-name { font-size: 13.5px; } }
.cat-tile-count { color: var(--c-muted); font-size: 12px; }
.cat-tile-arrow {
    display: grid; place-items: center;
    flex: 0 0 30px; width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--c-surface-2);
    color: var(--brand-ink);
    font-size: 11px;
    transition: background var(--t-fast), color var(--t-fast);
}
.cat-tile:hover .cat-tile-arrow { background: var(--brand-gold); color: #fff; }

/* ---------- Product grid & card ---------- */
.pgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1200px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1600px) { .pgrid--wide { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.pcard {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }

.pcard-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f6f4f0;
}
.pcard-media a { display: block; height: 100%; }
.pcard-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.pcard-img-alt { opacity: 0; }
.pcard:hover .pcard-img-main { transform: scale(1.04); }
@media (hover: hover) {
    .pcard.has-alt:hover .pcard-img-main { opacity: 0; }
    .pcard.has-alt:hover .pcard-img-alt { opacity: 1; transform: scale(1.04); }
}

.pcard-badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge-x {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .02em;
}
.badge-x--promo { background: var(--c-danger); color: #fff; }
.badge-x--out { background: rgba(31, 42, 55, .85); color: #fff; }
.badge-x--featured { background: var(--brand-gold); color: #fff; }

.pcard-quick {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid; place-items: center;
    width: 38px; height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--brand-ink);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    opacity: 1;
    transition: opacity var(--t), transform var(--t), background var(--t-fast), color var(--t-fast);
}
.pcard-quick:hover { background: var(--brand-ink); color: #fff; }
@media (hover: hover) {
    .pcard-quick { opacity: 0; transform: translateY(-6px); }
    .pcard:hover .pcard-quick, .pcard-quick:focus-visible { opacity: 1; transform: none; }
}

.pcard-body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 12px 12px 14px; }
@media (min-width: 768px) { .pcard-body { padding: 16px 16px 18px; } }
.pcard-cat { color: var(--brand-gold-strong); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site .pcard-title {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--c-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}
@media (max-width: 575px) {
    .pcard-foot { gap: 6px; }
    .pcard-foot .price-now { font-size: 14px; }
    .pcard-add { flex-basis: 36px; width: 36px; height: 36px; font-size: 14px; }
    .pcard-quick { width: 34px; height: 34px; top: 8px; right: 8px; }
}
@media (max-width: 359px) {
    :root { --gutter: 12px; }
    .pgrid { gap: 8px; }
    .pcard-body { padding: 10px 10px 12px; }
    .pcard-foot .price-now { font-size: 13px; }
    .pcard-add { flex-basis: 32px; width: 32px; height: 32px; font-size: 13px; }
    .pcard-cat { font-size: 10px; letter-spacing: .08em; }
}
@media (min-width: 768px) { .site .pcard-title { font-size: 15px; } }
.pcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard-volume { color: var(--c-muted); font-size: 12.5px; margin: 0; }
.pcard-foot {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price-now { color: var(--brand-ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.price-old { color: var(--c-muted); font-size: 12.5px; white-space: nowrap; }
.price--promo .price-now { color: var(--c-danger); }
.pcard-add {
    display: inline-grid; place-items: center;
    flex: 0 0 40px;
    width: 40px; height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--brand-ink);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background var(--t-fast), transform var(--t-fast);
}
.pcard-add:hover { background: var(--brand-gold); transform: scale(1.06); }
.pcard-add.added { background: var(--c-success); }
.pcard-add[disabled] { background: var(--c-line-strong); cursor: not-allowed; transform: none; }
.pcard-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-success); }
.pcard-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pcard-stock.is-out { color: var(--c-danger); }

/* ---------- Category sections on home ---------- */
.catalog-section { scroll-margin-top: calc(var(--header-h) + 70px); }
.catalog-section + .catalog-section { margin-top: 56px; }
.catalog-section .section-head { padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.empty-note {
    grid-column: 1 / -1;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--c-surface);
    border: 1px dashed var(--c-line-strong);
    color: var(--c-muted);
    text-align: center;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-x {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 18px 0;
    list-style: none;
    color: var(--c-muted);
    font-size: 13px;
}
.breadcrumb-x li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb-x li + li::before { content: "/"; color: var(--c-line-strong); }
.breadcrumb-x a { color: var(--c-muted); }
.breadcrumb-x a:hover { color: var(--brand-ink); }
.breadcrumb-x [aria-current] { color: var(--brand-ink); font-weight: 500; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-bottom: 32px;
    background: var(--brand-ink);
    color: #fff;
}
.page-banner-media { position: absolute; inset: 0; z-index: -2; }
.page-banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(14, 26, 39, .94) 0%, rgba(14, 26, 39, .82) 50%, rgba(14, 26, 39, .55) 100%);
}
.page-banner::after {
    /* thin gold rule at the bottom of the banner */
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-gold) 0 120px, transparent 120px);
}
.page-banner-inner { padding-block: 22px 40px; animation: rise .6s var(--ease) both; }
.page-banner--sm .page-banner-inner { padding-bottom: 32px; }
@media (min-width: 992px) {
    .page-banner-inner { padding-block: 26px 58px; }
    .page-banner--sm .page-banner-inner { padding-bottom: 44px; }
}
.page-banner-crumbs { padding: 0 0 22px; }
.page-banner-crumbs, .page-banner-crumbs a { color: rgba(255, 255, 255, .7) !important; }
.page-banner-crumbs a:hover { color: #fff !important; }
.page-banner-crumbs [aria-current] { color: #fff; }
.page-banner-crumbs li + li::before { color: rgba(255, 255, 255, .35); }
.page-banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--brand-gold);
    font: 600 11.5px var(--font-body);
    letter-spacing: .2em;
    text-transform: uppercase;
}
.page-banner-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.page-banner-eyebrow .nav-cat-icon { width: 16px; height: 16px; flex-basis: 16px; }
.site .page-banner-title {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4.2vw, 48px);
    line-height: 1.12;
}
.page-banner-subtitle { max-width: 640px; margin: 12px 0 0; color: rgba(255, 255, 255, .8); font-size: 15.5px; }
.page-banner-subtitle strong { color: #fff; }
.page-banner-subtitle mark { padding: 1px 8px; border-radius: 6px; background: rgba(185, 149, 61, .28); color: #fff; font-weight: 600; }

/* ---------- Page header ---------- */
.page-head { padding: 8px 0 28px; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 40px); margin: 0; }
.page-head p { color: var(--c-muted); margin: 8px 0 0; }

/* ---------- Catalogue (search) ---------- */
.catalog-layout { display: grid; gap: 28px; padding-bottom: 64px; }
@media (min-width: 992px) { .catalog-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 40px; } }

.filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1060;
    width: min(340px, 88vw);
    overflow-y: auto;
    padding: 20px;
    background: var(--c-surface);
    box-shadow: var(--shadow-lg);
    transform: translateX(-105%);
    transition: transform .35s var(--ease);
}
.filters.is-open { transform: none; }
.filters-backdrop {
    position: fixed; inset: 0; z-index: 1055;
    background: rgba(14, 26, 39, .45);
    opacity: 0; pointer-events: none;
    transition: opacity var(--t);
}
.filters-backdrop.is-open { opacity: 1; pointer-events: auto; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters-head h2 { font-size: 20px; margin: 0; }
.filters form { padding-right: 2px; }
@media (min-width: 992px) {
    /* Desktop sidebar: plain column, full height, no inner scrollbar. */
    .filters {
        position: static;
        z-index: auto;
        width: auto;
        max-height: none;
        overflow: visible;
        padding: 20px 22px 6px;
        border: 1px solid var(--c-line);
        border-radius: var(--radius-lg);
        background: var(--c-surface);
        box-shadow: none;
        transform: none;
        transition: none;
        align-self: start;
    }
    .filters-head { margin-bottom: 0; }
    .filters-head .drawer-close, .filters-backdrop, .filters-toggle { display: none !important; }
}
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.filter-group:last-child { border-bottom: 0; }
.site .filter-title { display: block; margin: 0 0 12px; font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); }
.filter-cats { list-style: none; margin: 0; padding: 0; }
.filter-cats ul { list-style: none; margin: 2px 0 4px 14px; padding: 0; }
.filter-cats a {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    color: var(--c-text);
    font-size: 14px;
}
.filter-cats a:hover { background: var(--c-surface-2); color: var(--brand-ink); }
.filter-cats a.is-active { background: var(--brand-ink); color: #fff !important; }
.filter-cats a.is-active .filter-count { color: rgba(255, 255, 255, .7); }
.filter-count { color: var(--c-muted); font-size: 12px; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-x { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.check-x input { width: 18px; height: 18px; accent-color: var(--brand-ink); }

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}
.catalog-count { color: var(--c-muted); font-size: 14px; margin: 0; }
.catalog-toolbar-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.catalog-toolbar-actions form { min-width: 0; }
.select-x { max-width: 100%; }
@media (max-width: 420px) {
    .catalog-toolbar-actions { width: 100%; }
    .catalog-toolbar-actions form { flex: 1; }
    .catalog-toolbar-actions .select-x { width: 100%; padding-left: 12px; }
    .catalog-toolbar-actions .btn-x { padding-inline: 1em; }
}
.select-x {
    height: 44px;
    padding: 0 40px 0 16px;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-pill);
    background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2316283b' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
    color: var(--c-text);
    font-size: 14px;
    -webkit-appearance: none; appearance: none;
    cursor: pointer;
}
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--c-surface-2);
    color: var(--brand-ink) !important;
    font-size: 13px;
}
.chip i { font-size: 11px; opacity: .6; }
.chip:hover i { opacity: 1; }

/* Search results page */
.results-head {
    display: grid;
    gap: 18px;
    align-items: end;
    padding: 4px 0 22px;
}
@media (min-width: 992px) { .results-head { grid-template-columns: minmax(0, 1fr) minmax(380px, 560px); gap: 32px; } }
.results-head > * { min-width: 0; }
.results-head--bar { display: block; padding-top: 0; }
.results-head--bar .results-search { max-width: 720px; }
.results-head h1 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 6px; }
.results-summary { margin: 0; color: var(--c-muted); font-size: 15px; }
.results-summary strong { color: var(--brand-ink); font-weight: 600; }
.results-term { padding: 1px 6px; border-radius: 6px; background: rgba(185, 149, 61, .16); color: var(--brand-ink); font-weight: 600; }

.results-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-pill);
    background: var(--c-surface);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.results-search:focus-within { border-color: var(--brand-gold); box-shadow: 0 0 0 4px rgba(185, 149, 61, .18); }
.results-search-icon { position: absolute; left: 22px; color: var(--c-muted); pointer-events: none; }
.results-search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 8px 0 44px;
    border: 0;
    background: transparent;
    color: var(--c-text);
    font-size: 15px;
}
.results-search input:focus { outline: none; }
.results-search input::-webkit-search-cancel-button { display: none; }
.results-search-clear {
    display: grid; place-items: center;
    flex: 0 0 32px; width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--c-surface-2);
    color: var(--c-muted) !important;
    font-size: 12px;
}
.results-search-clear:hover { background: var(--c-line); color: var(--brand-ink) !important; }
.results-search .btn-x { min-height: 44px; }
@media (max-width: 480px) {
    .results-search .btn-x { width: 44px; padding: 0; font-size: 0; }
    .results-search .btn-x::before { content: "\f002"; font: 900 15px "Font Awesome 5 Free"; }
}

.quick-cats {
    display: flex;
    gap: 8px;
    margin: 0 0 26px;
    padding: 2px 0 6px;
    overflow-x: auto;
    scrollbar-width: none;
}
.quick-cats::-webkit-scrollbar { display: none; }
@media (min-width: 992px) { .quick-cats:not(.quick-cats--wrap) { display: none; } }
.quick-cats--wrap { flex-wrap: wrap; justify-content: center; overflow: visible; margin-bottom: 0; }
.quick-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-pill);
    background: var(--c-surface);
    color: var(--brand-ink) !important;
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.quick-cat .nav-cat-icon { width: 16px; height: 16px; flex-basis: 16px; color: var(--brand-gold-strong); }
.quick-cat:hover { border-color: var(--brand-ink); transform: translateY(-1px); }
.quick-cat.is-active { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff !important; }
.quick-cat.is-active .nav-cat-icon { color: var(--brand-gold); }
.quick-cat-count {
    min-width: 22px;
    padding: 1px 7px;
    border-radius: var(--radius-pill);
    background: var(--c-surface-2);
    color: var(--c-muted);
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
}
.quick-cat.is-active .quick-cat-count { background: rgba(255, 255, 255, .16); color: #fff; }

.filter-cats a.is-empty { opacity: .45; }
.filter-actions { display: grid; gap: 10px; }
.filters-toggle { position: relative; }
.filters-dot { position: absolute; top: 8px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-gold); }

.catalog-results { min-width: 0; }
.catalog-toolbar .active-filters { flex: 1; margin: 0; }
.sort-form { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.sort-label { margin: 0; color: var(--c-muted); font-size: 13.5px; white-space: nowrap; }
@media (max-width: 991px) {
    .catalog-toolbar .active-filters { order: 3; flex-basis: 100%; }
    .catalog-toolbar .active-filters:empty { display: none; }
}
@media (max-width: 480px) {
    .sort-label { display: none; }
    .sort-form { flex: 1; }
    .sort-form .select-x { width: 100%; }
}

.pcard-title mark { padding: 0 1px; border-radius: 3px; background: rgba(185, 149, 61, .22); color: inherit; }

.results-range { margin: 28px 0 0; text-align: center; color: var(--c-muted); font-size: 13px; }
.results-range + nav .pager { margin-top: 12px; }

.no-results {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 48px 20px;
    border: 1px dashed var(--c-line-strong);
    border-radius: var(--radius-lg);
    background: var(--c-surface);
    text-align: center;
}
.no-results h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 4px 0 0; }
.no-results-tips { margin: 0; padding: 0; list-style: none; color: var(--c-muted); font-size: 14px; display: grid; gap: 4px; }
.no-results-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.site .no-results-subtitle { margin: 22px 0 4px; font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; list-style: none; padding: 0; }
.pager a, .pager span {
    display: inline-grid; place-items: center;
    min-width: 42px; height: 42px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--c-line);
    background: var(--c-surface);
    color: var(--brand-ink);
    font-size: 14px;
}
.pager a:hover { border-color: var(--brand-ink); color: var(--brand-ink); }
.pager .is-current span { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.pager .is-disabled span { opacity: .4; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label, .field-label { display: block; margin-bottom: 7px; color: var(--brand-ink); font-size: 13.5px; font-weight: 500; }
.field .req { color: var(--c-danger); }
.field .optional { color: var(--c-muted); font-weight: 400; }
.input-x {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 11px 16px;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-sm);
    background: var(--c-surface);
    color: var(--c-text);
    font-size: 15px;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input-x:focus { outline: none; border-color: var(--brand-gold); box-shadow: 0 0 0 4px rgba(185, 149, 61, .18); }
textarea.input-x { resize: vertical; min-height: 96px; }
.field.has-error .input-x { border-color: var(--c-danger); }
.field-error { display: block; margin-top: 6px; color: var(--c-danger); font-size: 13px; }
.field-error[hidden] { display: none; }
.field-grid { display: grid; gap: 0 16px; }
@media (min-width: 576px) { .field-grid--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Cards / panels ---------- */
.panel {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--c-surface);
    border: 1px solid var(--c-line);
}
@media (min-width: 768px) { .panel { padding: 30px; } }
.panel-title { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 21px; }
.panel-title i { color: var(--brand-gold); font-size: 17px; }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 28px; padding-bottom: 56px; }
@media (min-width: 992px) { .pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; } }

.gallery { display: grid; gap: 12px; }
@media (min-width: 992px) {
    .gallery { position: sticky; top: calc(var(--header-h) + 24px); }
    .gallery.has-thumbs { grid-template-columns: 84px minmax(0, 1fr); align-items: start; }
    .gallery.has-thumbs .gallery-thumbs { order: -1; flex-direction: column; overflow: visible; }
}
.gallery-main {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #f6f4f0;
    cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.gallery-main.is-zooming img { transform: scale(2); transition: transform .1s linear; }
.gallery-main .pcard-badges { top: 16px; left: 16px; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.gallery-thumb {
    flex: 0 0 72px;
    width: 72px; height: 72px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    background: #f6f4f0;
    cursor: pointer;
    opacity: .7;
    transition: border-color var(--t-fast), opacity var(--t-fast);
}
@media (min-width: 992px) { .gallery-thumb { width: 84px; height: 84px; flex-basis: 84px; } }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { border-color: var(--brand-ink); opacity: 1; }

.pdp-info { display: flex; flex-direction: column; gap: 18px; }
.pdp-cat {
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--c-surface-2);
    color: var(--brand-gold-strong) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.site .pdp-title { font-size: clamp(26px, 3.2vw, 38px); margin: 0; }
.pdp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--c-muted); font-size: 13.5px; }
.pdp-meta i { color: var(--brand-gold); margin-right: 4px; }
.stock-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 600;
}
.stock-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-pill.in-stock { background: var(--c-success-bg); color: var(--c-success); }
.stock-pill.out-of-stock { background: var(--c-danger-bg); color: var(--c-danger); }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 18px 0; border-block: 1px solid var(--c-line); }
.pdp-price .price-now { font-size: 30px; font-family: var(--font-display); }
.pdp-price .price-old { font-size: 16px; }
.pdp-save { padding: 3px 10px; border-radius: var(--radius-pill); background: var(--c-danger-bg); color: var(--c-danger); font-size: 12.5px; font-weight: 600; }
.pdp-excerpt { color: var(--c-muted); margin: 0; }

.buy-box { display: flex; flex-wrap: wrap; gap: 12px; }
.buy-box .btn-x { flex: 1 1 150px; padding-inline: 1em; }
.qty {
    display: inline-flex;
    align-items: center;
    height: 54px;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-pill);
    background: var(--c-surface);
}
.qty button {
    width: 46px; height: 100%;
    border: 0; background: transparent;
    color: var(--brand-ink);
    font-size: 18px;
    cursor: pointer;
    border-radius: var(--radius-pill);
    transition: background var(--t-fast);
}
.qty button:hover { background: var(--c-surface-2); }
.qty-value { min-width: 32px; text-align: center; font-weight: 600; }
.qty--sm { height: 38px; }
.qty--sm button { width: 34px; font-size: 15px; }
.qty--sm .qty-value { min-width: 24px; font-size: 14px; }

.info-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); }
.info-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; font-size: 14px; }
.info-list li + li { border-top: 1px solid var(--c-line); }
.info-list i { flex: 0 0 20px; margin-top: 3px; color: var(--brand-gold-strong); text-align: center; }
.info-list strong { display: block; color: var(--brand-ink); font-weight: 600; }
.info-list span { color: var(--c-muted); }

.pdp-section { padding-top: 6px; }
.pdp-section h2 { font-size: 21px; }
.prose { color: #3a4450; font-size: 15px; line-height: 1.75; }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose a { color: var(--brand-gold-strong); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; }

.sticky-buy {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--c-surface);
    box-shadow: 0 -8px 24px rgba(22, 40, 59, .1);
    transform: translateY(110%);
    transition: transform var(--t);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy-info { min-width: 0; flex: 1; }
.sticky-buy-name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; color: var(--c-muted); }
.sticky-buy .btn-x { flex: 0 0 auto; }
@media (min-width: 992px) { .sticky-buy { display: none; } }

/* ---------- Cart ---------- */
.cart-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; }
.cart-line + .cart-line { border-top: 1px solid var(--c-line); }
.cart-line-img { width: 76px; height: 76px; border-radius: var(--radius-sm); object-fit: cover; background: #f6f4f0; }
.cart-line-name { display: block; color: var(--c-text) !important; font-size: 14px; font-weight: 500; line-height: 1.4; }
.cart-line-name:hover { color: var(--brand-gold-strong) !important; }
.cart-line-unit { color: var(--c-muted); font-size: 12.5px; margin: 2px 0 10px; }
.cart-line-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cart-line-total { font-weight: 600; color: var(--brand-ink); white-space: nowrap; font-size: 14.5px; }
.link-remove {
    display: inline-flex; align-items: center; gap: 6px;
    border: 0; background: none; padding: 4px 0;
    color: var(--c-muted) !important;
    font-size: 12.5px;
    cursor: pointer;
}
.link-remove:hover { color: var(--c-danger) !important; }
@media (min-width: 768px) {
    .cart-page .cart-line { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 20px; padding: 20px 0; }
    .cart-page .cart-line-img { width: 96px; height: 96px; }
}

.totals { display: grid; gap: 10px; margin: 0 0 18px; font-size: 14px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; color: var(--c-muted); }
.totals > div span:last-child { color: var(--c-text); font-weight: 500; }
.totals .total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--c-line); color: var(--brand-ink); font-size: 17px; font-weight: 600; }
.totals .total span:last-child { color: var(--brand-ink); font-weight: 700; }
.drawer-actions { display: grid; gap: 10px; }

.empty-state { display: grid; justify-items: center; gap: 12px; padding: 48px 16px; text-align: center; color: var(--c-muted); }
.empty-state-icon {
    display: grid; place-items: center;
    width: 76px; height: 76px;
    border-radius: 50%;
    background: var(--c-surface-2);
    color: var(--brand-gold-strong);
    font-size: 28px;
}
.empty-state p { margin: 0; font-size: 15px; }

/* Checkout layout */
.checkout-layout { display: grid; gap: 24px; padding-bottom: 64px; }
.checkout-layout > *, .catalog-layout > *, .pdp > * { min-width: 0; }
@media (max-width: 400px) { .panel { padding: 18px 16px; } }
@media (min-width: 992px) {
    .checkout-layout { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 32px; align-items: start; }
    .checkout-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

.steps { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 13px; color: var(--c-muted); }
.steps li { display: inline-flex; align-items: center; gap: 8px; }
.steps li + li::before { content: ""; width: clamp(18px, 5vw, 48px); height: 1px; background: var(--c-line-strong); margin-right: 8px; }
.step-num {
    display: inline-grid; place-items: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--c-line-strong);
    background: var(--c-surface);
    font-size: 12px; font-weight: 600;
}
.steps .is-active { color: var(--brand-ink); font-weight: 600; }
.steps .is-active .step-num { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.steps .is-done .step-num { background: var(--brand-gold); border-color: var(--brand-gold); color: #fff; }
@media (max-width: 420px) { .steps .step-label { display: none; } }

.alert-x { display: flex; gap: 12px; padding: 16px 18px; margin-bottom: 22px; border-radius: var(--radius); background: var(--c-danger-bg); color: var(--c-danger); font-size: 14px; }
.alert-x ul { margin: 6px 0 0; padding-left: 18px; }
.alert-x--info { background: #fdf7e9; color: #7a5c17; }

.pay-choices { display: grid; gap: 10px; }
@media (min-width: 576px) { .pay-choices { grid-template-columns: 1fr 1fr; } }
.pay-choice { position: relative; display: block; margin: 0; cursor: pointer; }
.pay-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pay-choice-box {
    display: flex; align-items: center; gap: 12px;
    min-height: 60px;
    padding: 12px 16px;
    border: 1.5px solid var(--c-line-strong);
    border-radius: var(--radius);
    background: var(--c-surface);
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text);
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.pay-choice-box i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-surface-2); color: var(--brand-gold-strong); }
.pay-choice-box::after {
    content: "";
    width: 18px; height: 18px;
    margin-left: auto;
    border: 1.5px solid var(--c-line-strong);
    border-radius: 50%;
    transition: border var(--t-fast);
}
.pay-choice:hover .pay-choice-box { border-color: var(--brand-ink); }
.pay-choice input:checked + .pay-choice-box { border-color: var(--brand-ink); box-shadow: 0 0 0 3px rgba(22, 40, 59, .08); background: #fdfcf9; }
.pay-choice input:checked + .pay-choice-box::after { border: 5px solid var(--brand-ink); }
.pay-choice input:focus-visible + .pay-choice-box { outline: 2px solid var(--brand-gold); outline-offset: 2px; }
.pay-detail { margin-top: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--c-surface-2); font-size: 14px; }
.pay-detail[hidden] { display: none; }
.pay-detail p { margin: 0; }
.bank-details { display: grid; gap: 8px; margin: 10px 0 0; }
.bank-details div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; }
.bank-details dt { color: var(--c-muted); font-weight: 500; }
.bank-details dd { margin: 0; color: var(--brand-ink); font-weight: 600; word-break: break-word; }

.summary-items { display: grid; gap: 14px; margin-bottom: 20px; max-height: 340px; overflow-y: auto; }
.summary-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; }
.summary-item-img { position: relative; }
.summary-item-img img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; background: #f6f4f0; }
.summary-item-img .qty-badge {
    position: absolute; top: -6px; right: -6px;
    min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: var(--radius-pill);
    background: var(--brand-ink); color: #fff;
    font-size: 11px; font-weight: 600; line-height: 20px; text-align: center;
}
.summary-item-name { color: var(--c-text); line-height: 1.35; }
.summary-item-total { font-weight: 600; color: var(--brand-ink); white-space: nowrap; }
.reassure { display: grid; gap: 10px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--c-line); list-style: none; font-size: 13px; color: var(--c-muted); }
.reassure i { width: 18px; margin-right: 8px; color: var(--brand-gold-strong); text-align: center; }
.reassure a { color: var(--brand-ink) !important; text-decoration: underline; }

/* Confirmation */
.confirm-hero { display: grid; justify-items: center; gap: 10px; padding: 24px 0 36px; text-align: center; }
.confirm-check {
    display: grid; place-items: center;
    width: 76px; height: 76px;
    border-radius: 50%;
    background: var(--c-success-bg);
    color: var(--c-success);
    font-size: 30px;
    animation: pop .5s var(--ease) both;
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.confirm-number { padding: 8px 18px; border-radius: var(--radius-pill); background: var(--c-surface); border: 1px solid var(--c-line); font-size: 14px; }
.confirm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 8px 0 64px; }
.address-lines p { margin: 0 0 4px; }

/* Payment page */
.pay-methods { display: grid; gap: 16px; }
@media (min-width: 768px) { .pay-methods { grid-template-columns: 1fr 1fr; } }
.pay-method { display: flex; gap: 16px; }
.pay-method-icon { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--c-surface-2); color: var(--brand-gold-strong); font-size: 20px; }
.pay-method h2 { font-size: 19px; margin-bottom: 6px; }
.pay-method p { color: var(--c-muted); font-size: 14px; }

/* ---------- Quick view modal ---------- */
.quickview .modal-dialog { max-width: 880px; margin: 16px auto; padding: 0 12px; }
.quickview .modal-content { border: 0; border-radius: var(--radius-lg); overflow: hidden; }
.quickview-grid { display: grid; }
@media (min-width: 768px) { .quickview-grid { grid-template-columns: 1fr 1fr; } }
.quickview-media { aspect-ratio: 1 / 1; background: #f6f4f0; }
.quickview-media img { width: 100%; height: 100%; object-fit: cover; }
.quickview-body { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
@media (min-width: 768px) { .quickview-body { padding: 32px; } }
.quickview-body h2 { font-size: 24px; margin: 0; padding-right: 40px; }
.quickview-desc { color: var(--c-muted); font-size: 14px; max-height: 180px; overflow-y: auto; white-space: pre-line; }
.quickview-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 8px; }
.quickview .drawer-close { position: absolute; top: 14px; right: 14px; z-index: 3; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; background: var(--brand-footer); color: rgba(255, 255, 255, .75); font-size: 14px; }
.footer-top { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 768px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer-top > * { min-width: 0; }
.footer-contact a, .footer-contact span { overflow-wrap: anywhere; }
.footer-logo { height: 96px; width: auto; margin: -14px 0 8px -12px; }
.footer-tagline { max-width: 320px; }
.site .site-footer h2 { color: #fff; font: 600 12px var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, .75) !important; }
.footer-links a:hover { color: var(--brand-gold) !important; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { flex: 0 0 16px; margin-top: 4px; color: var(--brand-gold); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff !important;
    transition: background var(--t-fast), border-color var(--t-fast);
}
.footer-social a:hover { background: var(--brand-gold); border-color: var(--brand-gold); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-pay span { padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .18); font-size: 12px; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 1010;
    display: grid; place-items: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
    transition: transform var(--t-fast), bottom var(--t);
}
.whatsapp-float:hover { transform: scale(1.07); }
body.modal-open .whatsapp-float { opacity: 0; pointer-events: none; }
body.has-sticky-buy .whatsapp-float { bottom: calc(86px + env(safe-area-inset-bottom)); }
@media (min-width: 992px) { body.has-sticky-buy .whatsapp-float { bottom: 18px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }