/* =========================================================================
   MHD HUB â€” Storefront stylesheet
   ========================================================================= */

:root {
    --ink: #292929;
    --ink-2: #444444;
    --ink-soft: #595959;
    --accent: #D4AF37;
    --accent-dark: #B8962E;
    --gold: #D4AF37;
    --cream: #FBF8F8;
    --gold-tint: #FAF6EA;
    --bg: #FAFAF8;
    --surface: #ffffff;
    --line: #E8E8E8;
    --line-2: #C0C0C0;
    --green: #6b6b6b;
    --green-soft: #F7F7F7;
    --red-soft: #E8E8E8;
    --shadow-sm: 0 2px 10px rgba(41, 41, 41, .06);
    --shadow-md: 0 10px 30px rgba(41, 41, 41, .08);
    --shadow-lg: 0 24px 60px rgba(41, 41, 41, .12);
    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --font-head: "Jost", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
    --logo-height-mobile: 44px;
    --logo-height-tablet: 56px;
    --logo-height-desktop: 68px;
    --logo-height: var(--logo-height-mobile);
    --header-height-mobile: 64px;
    --header-height-tablet: 76px;
    --header-height-desktop: 88px;
    --header-h: var(--header-height-mobile);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (min-width: 768px) {
    :root {
        --logo-height: var(--logo-height-tablet);
        --header-h: var(--header-height-tablet);
    }
}
@media (min-width: 1024px) {
    :root {
        --logo-height: var(--logo-height-desktop);
        --header-h: var(--header-height-desktop);
    }
}
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    min-width: 320px;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }

.container { width: min(1440px, 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 18px; z-index: 999; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* Focus states — keyboard users always see where they are */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
html { scroll-padding-top: calc(var(--header-h) + 12px); }
::selection { background: var(--accent); color: #fff; }

/* ------------------------------------------------ Icons */
.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-xs { width: 14px; height: 14px; }
.ic-lg { width: 26px; height: 26px; }

/* ------------------------------------------------ Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 26px; border-radius: var(--radius-pill);
    border: 1.5px solid transparent; font-weight: 600; font-size: 14.5px;
    letter-spacing: .02em; transition: all .25s ease; white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-muted { background: #E8E8E8; color: var(--ink-soft); cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
    content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; min-width: 44px; border: none; background: transparent;
    color: var(--ink); border-radius: 50%; transition: background .2s, color .2s, transform .2s;
    cursor: pointer; position: relative;
}
.icon-btn:active { transform: scale(.96); }
.icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .icon-btn:hover { background: rgba(200,146,46,.12); color: var(--accent-dark); } }

/* ------------------------------------------------ Alerts & badges */
.alert { padding: 13px 18px; border-radius: 12px; margin: 14px 0; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.alert-success { background: var(--green-soft); color: var(--green); border: 1px solid #E8E8E8; }
.alert-error { background: #E8E8E8; color: #8a6d1f; border: 1px solid #E8E8E8; }
.alert-info { background: #F7F7F7; color: #B8962E; border: 1px solid #C9A227; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); letter-spacing: .03em; text-transform: uppercase; }
.badge-sale { background: var(--gold); color: #292929; }
.badge-new { background: var(--cream); color: #8a6d1f; border: 1px solid var(--line-2); }
.badge-best { background: var(--accent-dark); color: #292929; }
.badge-out { background: #777777; color: #fff; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-pill); font-size: 12.5px; color: #C0C0C0; }

/* ------------------------------------------------ Section shell */
.section { padding: 58px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: .01em; }
.btn-gold { background: var(--gold); color: #292929; } .btn-gold:hover { background: var(--accent-dark); color: #292929; }
.section-head p.sub { color: var(--ink-soft); max-width: 560px; margin: 10px auto 0; }
.section-head.row-flex { display: flex; align-items: center; justify-content: space-between; text-align: left; gap: 18px; }
.section-head.row-flex p.sub { margin: 4px 0 0; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: grid; place-items: center; transition: all .2s; }
.carousel-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ------------------------------------------------ Top announcement bar */
.topbar { background: linear-gradient(90deg, #B8962E 0%, #C9A227 50%, #B8962E 100%); color: #fff; overflow: hidden; position: relative; height: 34px; display: flex; align-items: center; border-bottom: 1px solid #B8962E; contain: paint; }
[dir="rtl"] .topbar { direction: ltr; }
.topbar-track { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); contain: paint; }
.topbar-row { display: flex; width: max-content; animation: marquee 36s linear infinite; will-change: transform; }
.topbar-item { padding: 0 26px; position: relative; white-space: nowrap; font-size: clamp(10px, 1.8vw, 11.5px); line-height: 1; font-weight: 800; letter-spacing: .12em; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.2); unicode-bidi: isolate; }
.topbar-item:not(:last-child)::after { content: "\2022"; position: absolute; right: 14px; top: 50%; font-size: 14px; color: #fff; transform: translateY(-50%); opacity: .85; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------ Header */
.site-header { position: sticky; top: 0; z-index: 120; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(41,41,41,.08); transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { background: rgba(255,255,255,.98); box-shadow: 0 6px 22px rgba(41,41,41,.12); border-bottom-color: transparent; }
.header-inner { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; text-decoration: none; border-radius: 8px; }
.brand-logo { height: var(--logo-height); width: auto; max-width: min(118px, 30vw); aspect-ratio: 1378 / 1142; object-fit: contain; object-position: center; display: block; }
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.footer-brand-link { text-decoration: none; }
.footer-logo { height: 62px; width: auto; max-width: 220px; object-fit: contain; display: block; filter: drop-shadow(0 2px 10px rgba(212,175,55,.25)); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: clamp(2px, .5vw, 6px); }
.cart-btn, .account-btn { position: relative; }
.cart-count {
    position: absolute; inset-block-start: 2px; inset-inline-end: 0; min-width: 20px; height: 20px; padding: 0 5px;
    background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 1;
    border-radius: var(--radius-pill); display: grid; place-items: center; border: 2px solid #fff;
}
@media (max-width: 991.98px) {
    .header-inner { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 6px; padding-inline: 12px; height: var(--header-h); }
    .nav-toggle { display: inline-grid; place-items: center; grid-column: 1; grid-row: 1; }
    .brand { grid-column: 2; grid-row: 1; justify-self: center; min-width: 0; }
    .header-actions { grid-column: 3; grid-row: 1; margin-inline-start: 0; justify-self: end; gap: 2px; }
    .main-nav { position: fixed; inset-block: 0; inset-inline-start: 0; width: min(360px, 92vw); background: #fff; z-index: var(--z-drawer, 1300); transform: translateX(-105%); transition: transform .3s cubic-bezier(.3,.8,.3,1); overflow-y: auto; box-shadow: var(--shadow-lg); padding: 0; height: 100dvh; display: block; }
    [dir="rtl"] .main-nav { inset-inline-start: auto; inset-inline-end: 0; transform: translateX(105%); }
    .main-nav.open { transform: none; }
    .nav-mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 14px 18px 22px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
    .nav-mobile-title { font-weight: 700; font-size: 16px; }
    .nav-close { display: grid; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 24px; }
    .nav-link { padding: 15px 22px; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 15px; min-height: 48px; }
    .nav-link::after { display: none; }
    .nav-panel-trigger .ic { width: 16px; height: 16px; opacity: .8; transition: transform .25s; }
    .nav-item.has-drop.is-open .nav-panel-trigger .ic { transform: rotate(180deg); }
    .nav-children { display: none; gap: 0; background: #faf8f1; border-bottom: 1px solid var(--line); }
    .nav-item.has-drop.is-open .nav-children, .nav-item.has-drop.open .nav-children { display: grid; }
    .nav-children[hidden] { display: none !important; }
    .nav-children a { padding: 12px 34px; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid rgba(232,229,223,.8); color: #444; font-size: 14.5px; text-decoration: none; }
    .nav-children a.nav-child-all { font-weight: 700; color: var(--accent-dark); }
    .nav-children a.nav-grandchild { padding-inline-start: 50px; font-size: 14px; color: #666; }
    .nav-mobile-only { display: grid; gap: 0; }
    .nav-mobile-only a { padding: 15px 22px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--accent-dark); font-size: 15px; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(31,31,31,.5); backdrop-filter: blur(3px); z-index: var(--z-overlay, 1100); }
}
@media (min-width: 992px) {
    .nav-toggle { display: none !important; }
    .nav-mobile-head, .nav-mobile-only { display: none !important; }
}

.main-nav { flex: 1 1 auto; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 14px clamp(8px, 1vw, 14px); font-weight: 600; font-size: clamp(14px, 0.95vw, 15px); color: var(--ink); position: relative; white-space: nowrap; text-decoration: none; }
.nav-link > .ic { width: 13px; height: 13px; opacity: .6; }
.nav-link::after { content: ""; position: absolute; left: clamp(8px, 1vw, 14px); right: clamp(8px, 1vw, 14px); bottom: 8px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-item.has-drop { position: relative; }
.nav-children { display: none; }
.nav-mobile-head, .nav-mobile-only { display: none; }

/* Mobile drawer toggle shown on small screens via header media query */

/* ------------------------------------------------ Search overlay */
/* ============ Search overlay (professional) ============ */
.search-overlay { position: fixed; inset: 0; z-index: 250; }
.search-overlay[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; background: rgba(41,41,41,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .22s ease; }
.search-panel { position: relative; z-index: 2; max-width: 720px; width: calc(100% - 32px); margin: 12vh auto 0; animation: searchSlideDown .3s cubic-bezier(.22,.8,.35,1); }
@keyframes searchSlideDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
.search-overlay.is-open .search-backdrop { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Desktop bar */
.search-bar { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.search-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent-dark); }
.search-bar input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 17px; padding: 10px 0; color: var(--ink); font-family: var(--font-body); }
.search-bar input::placeholder { color: #A89F8A; }
.search-bar input::-webkit-search-cancel-button { display: none; -webkit-appearance: none; }
.search-clear, .search-close { width: 36px; height: 36px; flex: none; border: none; background: var(--cream); border-radius: 10px; display: grid; place-items: center; color: var(--ink-soft); cursor: pointer; transition: background .2s, color .2s; }
.search-clear:hover, .search-close:hover { background: #EAE7DE; color: var(--ink); }
.search-clear .ic, .search-close .ic { width: 18px; height: 18px; }
.search-help { margin-top: 12px; text-align: center; font-size: 11px; color: rgba(255,255,255,.85); letter-spacing: .04em; }
.search-help kbd { display: inline-block; padding: 1px 6px; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; background: rgba(255,255,255,.12); backdrop-filter: blur(4px); font-size: 10px; margin: 0 2px; }

/* Results panel */
.search-results { margin-top: 10px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; overflow-y: auto; max-height: min(70vh, 520px); }
.search-results[hidden] { display: none; }
.search-group { padding: 6px 0 4px; border-bottom: 1px solid var(--line); }
.search-group:last-child { border-bottom: none; }
.search-group-title { padding: 8px 16px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #A89F8A; display: flex; align-items: center; gap: 8px; }
.search-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--cream); color: var(--accent-dark); font-size: 10px; font-weight: 700; letter-spacing: 0; }
.search-row { display: flex; align-items: center; gap: 12px; padding: 8px 14px; text-decoration: none; color: inherit; transition: background .15s; border-left: 3px solid transparent; }
.search-row:hover, .search-row.is-active { background: #FBFAF5; border-left-color: var(--accent); }
.search-row img { width: 52px; height: 52px; object-fit: contain; object-position: center; border-radius: 10px; background: #fff; flex-shrink: 0; }
.s-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--cream); display: grid; place-items: center; color: var(--accent-dark); flex-shrink: 0; }
.s-ico svg { width: 19px; height: 19px; }
.s-meta { min-width: 0; flex: 1; }
.s-name { display: block; font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-name mark { background: rgba(212,175,55,.35); color: var(--ink); padding: 0 1px; border-radius: 3px; }
.s-line { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; display: flex; gap: 8px; align-items: center; }
.s-kind { font-size: 10.5px; color: #A89F8A; letter-spacing: .12em; text-transform: uppercase; }
.s-price { font-weight: 700; color: var(--ink); }
.s-old { color: #B3A88D; text-decoration: line-through; font-size: 11px; }
.search-badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.search-badge.sale { background: var(--gold); color: #292929; }
.search-badge.out { background: #ECECEA; color: #8A8A8A; }
.search-row-product.is-out img { opacity: .55; filter: grayscale(1); }
.search-view-all { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
.search-view-all:hover { background: var(--accent-dark); }
.search-empty { padding: 34px 22px; text-align: center; }
.search-empty-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--accent-dark); }
.search-empty-ic svg { width: 28px; height: 28px; }
.search-empty h3 { font-size: 17px; margin-bottom: 6px; color: var(--ink); }
.search-empty p { font-size: 13px; color: var(--ink-soft); max-width: 360px; margin: 0 auto; }
.search-didyoumean { display: inline-block; margin: 12px auto 4px; padding: 8px 16px; background: #FFF9E2; border: 1px solid #EDE3C4; color: #8A6D1B; border-radius: 99px; font-weight: 600; font-size: 13px; cursor: pointer; }
.search-didyoumean:hover { background: #FFF3C4; }

/* Empty / home state */
.search-section-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #A89F8A; }
.search-clear-recents { font-size: 11px; color: var(--ink-soft); border: none; background: transparent; cursor: pointer; font-weight: 600; letter-spacing: .04em; padding: 2px 6px; border-radius: 6px; }
.search-clear-recents:hover { color: var(--accent-dark); background: var(--cream); }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 16px 14px; }
.search-popular-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px auto; max-width: 420px; }
.search-chip { border: 1px solid var(--line-2); background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-block; transition: all .2s; }
.search-chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Skeleton */
.search-skeleton { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.sk-thumb { width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(90deg, #F0EEE7 25%, #FAF9F4 50%, #F0EEE7 75%); background-size: 200% 100%; animation: skShimmer 1.2s infinite; flex: none; }
.sk-lines { flex: 1; display: grid; gap: 8px; }
.sk-lines i { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #F0EEE7 25%, #FAF9F4 50%, #F0EEE7 75%); background-size: 200% 100%; animation: skShimmer 1.2s infinite; }
.sk-lines i:last-child { width: 60%; }
@keyframes skShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.search-error { padding: 22px; text-align: center; color: #B3261E; background: #FDECEA; font-size: 13px; }

/* Mobile: full-screen sheet */
@media (max-width: 768px) {
    .search-panel { margin: 0; max-width: none; width: 100%; height: 100dvh; border-radius: 0; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); }
    .search-bar { border-radius: 0; padding: 12px 16px; border-left: none; border-right: none; border-top: none; box-shadow: 0 1px 0 var(--line); }
    .search-bar input { font-size: 16px; padding: 12px 0; }
    .search-clear, .search-close { width: 40px; height: 40px; }
    .search-help { display: none; }
    .search-results { border-radius: 0; border: none; box-shadow: none; flex: 1; margin: 0; max-height: none; padding-bottom: env(safe-area-inset-bottom, 16px); }
    .search-row img { width: 54px; height: 54px; }
    .search-suggest, .search-results { overflow-y: auto; -webkit-overflow-scrolling: touch; }
}
[dir="rtl"] .search-bar { flex-direction: row-reverse; }
[dir="rtl"] .search-row { border-left: none; border-right: 3px solid transparent; }
[dir="rtl"] .search-row:hover, [dir="rtl"] .search-row.is-active { border-right-color: var(--accent); }
[dir="rtl"] .search-suggest, [dir="rtl"] .search-results { direction: rtl; text-align: right; }

/* ------------------------------------------------ Hero */
.hero { position: relative; width: 100%; }
.hero-viewport { position: relative; overflow: hidden; width: 100%; background: #0e0e0e; height: clamp(380px, 64svh, 560px); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; display: block; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 62%, rgba(0,0,0,.34) 100%);
}
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focal, center); }
@media (min-width: 768px) {
    .hero-viewport { width: 100%; aspect-ratio: 2000 / 1116; height: auto; min-height: 0; max-height: none; }
    .hero-img { object-fit: contain; object-position: center; }
}
.hero-arrows { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
    .hero-arrows { display: flex; gap: 10px; position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vh, 32px); z-index: 4; }
    .hero-arrows button {
        width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55);
        background: rgba(14,14,14,.45); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center;
        transition: background .2s, transform .2s; cursor: pointer;
    }
    .hero-arrows button:hover { background: rgba(14,14,14,.75); transform: translateY(-2px); }
}
.hero-dots { position: absolute; bottom: clamp(14px, 2.4vh, 24px); left: clamp(16px, 3vw, 40px); z-index: 3; display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; min-width: 24px; min-height: 24px; padding: 0; border-radius: var(--radius-pill); border: none; background: rgba(255,255,255,.45); transition: all .3s; cursor: pointer; position: relative; }
.hero-dots button::before { content: ""; position: absolute; inset: -10px; }
.hero-dots button.active { width: 30px; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }

/* ------------------------------------------------ Product cards & grids */
/* Product listing scroller (replaced the old wrapping .product-grid). */
/* Fluid, Shopify-style responsive carousel.
   --pc-view cards are always fully visible (never cut off at either edge);
   the per-view count drops step-wise across breakpoints below. */
.product-carousel {
    --pc-gap: 14px;
    --pc-view: 1.6;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--pc-view) - 1) * var(--pc-gap)) / var(--pc-view));
    grid-auto-rows: auto;
    gap: var(--pc-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 18px;
    scrollbar-width: none;
    overscroll-behavior-x: contain; /* keep swipes from scrolling the page */
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
    max-width: 100%;
}
.product-carousel::-webkit-scrollbar { display: none; }
.product-carousel .product-card { scroll-snap-align: start; }
.product-carousel img { -webkit-user-drag: none; user-select: none; }
@media (hover: hover) and (pointer: fine) {
    .product-carousel { cursor: grab; }
}
/* Listing scroller: one row, never wraps. Arrows overlay the left/right
   edges of the row (Amazon-style), vertically centered; visible on any
   hover-capable (mouse) device, hidden ONLY on touch (no hover AND coarse). */
.product-scroller { position: relative; min-width: 0; max-width: 100%; }
.product-scroller-nav {
    position: absolute;
    inset: 0 10px;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none; /* clicks fall through between the two arrows */
}
.product-scroller-nav button {
    pointer-events: auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(6px);
    color: var(--ink);
    box-shadow: var(--shadow-md);
    display: grid;
    place-items: center;
    transition: background .2s, color .2s, transform .2s, opacity .2s;
}
.product-scroller-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-scroller-nav button:active { transform: scale(.92); }
@media (hover: none) and (pointer: coarse) {
    .product-scroller-nav { display: none; }
}
/* While mouse-dragging: instant (non-animated) tracking, no text selection,
   no snap fighting the drag — snap is re-applied on release. */
.product-carousel.is-dragging {
    scroll-behavior: auto;
    scroll-snap-type: none;
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}
.carousel-nav button:disabled { opacity: .3; pointer-events: none; }
@media (min-width: 576px) { .product-carousel { --pc-view: 2; --pc-gap: 14px; } }
@media (min-width: 992px) { .product-carousel { --pc-view: 3; --pc-gap: 16px; } }
@media (min-width: 1400px) { .product-carousel { --pc-view: 4; --pc-gap: 18px; } }
@media (min-width: 1920px) { .product-carousel { --pc-view: 5; --pc-gap: 18px; } }

.product-card { background: #fff; border-radius: var(--card-radius, 14px); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s ease, transform .3s ease, border-color .3s; display: flex; flex-direction: column; height: 100%; width: 100%; max-width: 400px; margin-inline: auto; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.card-media { position: relative; z-index: 1; min-width: 0; aspect-ratio: var(--card-media-aspect, 1 / 1); overflow: hidden; background: #fff; }
/* Old-browser aspect-ratio fallback: padding-top hack reserves the square area */
@supports not (aspect-ratio: 1 / 1) {
    .card-media { aspect-ratio: auto; padding-top: 100%; }
    .card-media > a { position: absolute; inset: 0; }
}
.card-media > a { display: block; width: 100%; height: 100%; }
.card-media img { width: 100%; height: 100%; max-width: 100%; object-fit: contain; object-position: center; background: #fff; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.product-card:hover .card-media img { transform: scale(1.07); }

/* ================= Full square card (option a, default) =================
   The whole card is 1:1; the image fills the card; the info panel overlays
   the bottom with a soft white gradient so text is always readable.
   Enabled via admin → Card Settings → Card style = "Full square card". */
body.card-overlay .product-card { aspect-ratio: 1 / 1; position: relative; overflow: hidden; }
body.card-overlay .product-card .card-media { position: absolute; inset: 0; aspect-ratio: auto; background: #fff; }
body.card-overlay .product-card .card-media > a { width: 100%; height: 100%; }
body.card-overlay .product-card .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #fff; }
body.card-overlay .product-card .card-badges { z-index: 3; }
body.card-overlay .product-card .card-actions {
    z-index: 3; position: absolute; top: 10px; right: 10px;
    flex-direction: column; gap: 8px; opacity: 1;
}
body.card-overlay .product-card .card-body {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    flex: none; height: auto; padding: 26px 12px 12px; gap: 2px;
    border-top: none;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.72) 32%, rgba(255,255,255,.93) 68%, rgba(255,255,255,.98) 100%);
}
body.card-overlay .product-card .card-cat { font-size: 8px; letter-spacing: .18em; }
body.card-overlay .product-card .card-title { font-size: 12px; line-height: 1.3; min-height: calc(var(--card-title-lines, 2) * 1.3em); font-weight: 600; }
body.card-overlay .product-card .card-price { gap: 8px; row-gap: 0; }
body.card-overlay .product-card .price-now { font-size: 12.5px; white-space: normal; }
body.card-overlay .product-card .price-old { font-size: 10.5px; }
body.card-overlay .product-card .save { font-size: 9.5px; padding: 1px 6px; }
body.card-overlay .product-card .btn-card {
    margin-top: 5px; height: 36px; padding: 6px 8px; border-radius: 10px;
    font-size: 11px; font-weight: 600; letter-spacing: .04em; gap: 6px;
}
body.card-overlay .product-card .btn-card .ic { width: 14px; height: 14px; }
/* Quick affordance on small squares: category chip darkens so it never washes out */
body.card-overlay .product-card .card-cat,
body.card-overlay .product-card .card-title { text-shadow: 0 1px 0 rgba(255,255,255,.6); }

/* Automatic fallback to "square image + info below" for compact card widths
   (<480px): never allow the overlay panel to clip text. */
@media (max-width: 479px) {
    body.card-overlay .product-card { aspect-ratio: auto; position: static; }
    body.card-overlay .product-card .card-media { position: relative; inset: auto; aspect-ratio: 1 / 1; }
    body.card-overlay .product-card .card-media img { position: absolute; }
    body.card-overlay .product-card .card-body { position: static; padding: 10px 12px 12px; gap: 4px; background: #fff; border-top: 1px solid var(--line); }
    body.card-overlay .product-card .card-cat { font-size: 9px; letter-spacing: .14em; }
    body.card-overlay .product-card .card-title { font-size: 12.5px; min-height: calc(var(--card-title-lines, 2) * 1.35em); }
    body.card-overlay .product-card .price-now { font-size: 13px; }
    body.card-overlay .product-card .btn-card { height: 40px; font-size: 12.5px; }
    body.card-overlay .product-card .card-actions { position: absolute; }
}
@supports not (aspect-ratio: 1 / 1) {
    body.card-overlay .product-card { padding-top: 100%; }
    body.card-overlay .product-card .card-media,
    body.card-overlay .product-card .card-body,
    body.card-overlay .product-card .card-badges,
    body.card-overlay .product-card .card-actions { position: absolute; inset: 0; }
    body.card-overlay .product-card .card-body { bottom: 0; top: auto; }
}
.card-badges { position: absolute; z-index: 3; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; pointer-events: none; }
.card-actions { position: absolute; z-index: 3; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 8px; }
.card-btn { width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: all .2s; }
.card-btn:hover { background: var(--ink); color: #fff; }
.card-btn.active { color: var(--accent); }
.card-btn.active:hover { color: #fff; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-cat { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.card-cat:hover { color: var(--accent); }
.card-title { font-size: 15.5px; font-weight: 600; font-family: var(--font-body); line-height: 1.4; min-height: calc(var(--card-title-lines, 2) * 1.4em); }
.card-title a { display: -webkit-box; -webkit-line-clamp: var(--card-title-lines, 2); -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { color: var(--accent); }
.card-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; flex-wrap: wrap; row-gap: 2px; }
.price-now { font-weight: 700; font-size: 16.5px; color: var(--ink); white-space: nowrap; }
.price-old { font-size: 13.5px; color: #777777; text-decoration: line-through; white-space: nowrap; }
/* Original desktop appearance (restored): content-sized via .btn base,
   stretched to card width by the flex column. All mobile-specific
   adjustments live strictly inside the ≤768px media block below. */
.btn-card { margin-top: 10px; padding: 11px 18px; font-size: 13.5px; }
.btn-card .ic { flex: none; }

/* ------------------------------------------------ Collections */
.collection-body { position: relative; z-index: 2; padding: 24px; width: 100%; color: #fff; transform: translateY(6px); opacity: .96; transition: all .35s ease; }
.collection-body .count { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.collection-body h3 { font-size: 24px; font-weight: 700; margin: 6px 0 2px; }
.collection-body p { font-size: 13.5px; color: rgba(255,255,255,.75); max-width: 340px; }
.collection-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 13.5px; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 9px 18px; border-radius: var(--radius-pill); transition: all .25s; backdrop-filter: blur(4px); }

/* ------------------------------------------------ Promo "Shop Now" */
.promo-section { padding: 26px 0 58px; }
.promo-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 8 / 3; min-height: 0; display: flex; align-items: center; background: var(--ink-2); box-shadow: var(--shadow-md); }
@media (max-width: 1024px) { .promo-banner { aspect-ratio: auto; min-height: 320px; } }
.promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(41,41,41,.92) 30%, rgba(41,41,41,.55) 60%, rgba(41,41,41,.15)); z-index: 1; }
.promo-inner { position: relative; z-index: 2; padding: 54px 60px; max-width: 600px; color: #fff; }
.promo-inner .kicker { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.promo-inner h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; letter-spacing: .04em; margin: 10px 0 8px; }
.promo-inner p { color: rgba(255,255,255,.8); margin-bottom: 26px; }

/* ------------------------------------------------ Featured product */
.featured-product { background: linear-gradient(115deg, #F7F7F7 0%, #FFFFFF 100%); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; color: var(--ink); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.featured-media { position: relative; min-height: 430px; background: rgba(255,255,255,.04); }
.featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: lighten; }
.featured-body { padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.featured-body .kicker { color: var(--gold); letter-spacing: .26em; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.featured-body h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; }
.featured-body .fp-desc { color: rgba(255,255,255,.75); max-width: 480px; }
.featured-price { display: flex; align-items: baseline; gap: 14px; }
.featured-price .now { font-size: 32px; font-weight: 800; color: #fff; }
.featured-price .old { color: rgba(255,255,255,.5); text-decoration: line-through; font-size: 18px; }
.featured-price .save { background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-pill); }
.fp-stock-note { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #D4AF37; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #D4AF37; box-shadow: 0 0 0 0 rgba(255,185,69,.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,185,69,0); } 100% { box-shadow: 0 0 0 0 rgba(255,185,69,0); } }

/* ------------------------------------------------ Why shop with us */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin-inline: auto; }
.compare-col { border-radius: var(--radius-lg); padding: 30px; }
.compare-col.mine { background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.compare-col.others { background: #fff; border: 1px solid var(--line); }
.compare-col h3 { font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.compare-col.mine h3 span { color: var(--gold); }
.compare-col.others h3 span { color: #777777; }
.compare-list { margin-top: 18px; display: grid; gap: 13px; }
.compare-item { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.compare-item .c-ico { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; }
.compare-item .c-ico .ic { width: 13px; height: 13px; }
.mine .compare-item .c-ico { background: rgba(39,150,92,.25); color: #C9A227; }
.others .compare-item .c-ico { background: #E8E8E8; color: #777777; }
.compare-item .desc { color: var(--ink-soft); font-size: 12.5px; display: block; }
.mine .compare-item .desc { color: rgba(255,255,255,.6); }
.others .compare-item.muted { opacity: .55; text-decoration: line-through; }
.others .compare-item.muted .c-ico { background: #E8E8E8; color: #C0C0C0; }

/* ------------------------------------------------ Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: all .3s; }
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testi-quote { color: var(--gold); font-size: 40px; font-family: Georgia, serif; line-height: .6; margin: 10px 0 16px; }
.testi-card p { font-size: 14px; color: var(--ink-soft); }
.testi-foot { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-foot img, .testi-fallback { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--cream); }
.testi-fallback { display: grid; place-items: center; font-weight: 700; color: var(--accent); font-size: 17px; }
.testi-foot h4 { font-size: 14.5px; font-weight: 700; }
.testi-foot small { color: var(--ink-soft); font-size: 12px; }

/* ------------------------------------------------ Breadcrumb & page hero */
.page-hero { background: linear-gradient(115deg, #F7F7F7 0%, #FFFFFF 100%); color: var(--ink); padding: 46px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.page-hero p { color: var(--ink-soft); margin-top: 6px; max-width: 640px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent-dark); }
.crumbs .sep { opacity: .5; }

/* ------------------------------------------------ Shop / filters */
.shop-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; padding: 34px 0 60px; }

.filters {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 1px 2px rgba(41,41,41,.04), var(--shadow-md);
    overflow: hidden;
    position: sticky; top: calc(var(--header-h) + 16px);
    max-height: calc(100dvh - var(--header-h) - 32px);
}
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #FFFFFF 0%, #FDFDFC 100%); flex: none; }
.filters-head-text h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.filters-head-text p { font-size: 12px; color: var(--ink-soft); margin-top: 1px; }
.filters-close { display: none; }

.filters-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.filters-body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 6px 22px 18px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.filters-body::-webkit-scrollbar { width: 6px; }
.filters-body::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; }

.filter-group { padding: 16px 0 18px; border-top: 1px dashed var(--line-2); }
.filters-body .filter-group:first-of-type { border-top: none; padding-top: 14px; }
.filters-body .filter-group:last-of-type { padding-bottom: 6px; }
.filter-group h4 { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.filter-currency { font-size: 10.5px; letter-spacing: .12em; color: var(--accent-dark); background: var(--gold-tint); border: 1px solid #EDE3C4; padding: 3px 9px; border-radius: var(--radius-pill); }

/* Subcategory options */
.subcat-list { display: flex; flex-direction: column; gap: 6px; }
.subcat-opt { display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.subcat-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.subcat-pill { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: border-color .2s, background .2s, color .2s, box-shadow .2s; }
.subcat-opt--child { padding-left: 18px; position: relative; }
.subcat-opt--child::before { content: ""; position: absolute; left: 5px; top: -8px; bottom: 50%; width: 9px; border-left: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); border-bottom-left-radius: 7px; }
.subcat-pill:hover { border-color: var(--accent); background: var(--gold-tint); }
.subcat-opt input:checked + .subcat-pill { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(41,41,41,.22); }
.subcat-opt input:checked + .subcat-pill .subcat-count { background: var(--gold); color: #211D10; border-color: var(--gold); }
.subcat-opt input:focus-visible + .subcat-pill { outline: 2px solid var(--accent); outline-offset: 2px; }
.subcat-name { min-width: 0; }
.subcat-count { flex: none; font-size: 11.5px; font-weight: 700; background: var(--cream); border: 1px solid var(--line); color: var(--ink-soft); border-radius: var(--radius-pill); min-width: 28px; text-align: center; padding: 2px 8px; transition: all .2s; font-variant-numeric: tabular-nums; }

/* Price slider */
.price-values { display: flex; align-items: stretch; gap: 8px; margin-bottom: 16px; }
.price-value { flex: 1 1 0; min-width: 0; background: var(--gold-tint); border: 1px solid #EDE3C4; border-radius: 12px; padding: 7px 12px 8px; }
.price-value--max { text-align: right; }
.price-value-label { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 2px; }
.price-value-num { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-value-sep { align-self: center; color: var(--line-2); font-weight: 700; }
.range-wrap { position: relative; height: 30px; margin: 2px 2px 4px; }
.range-track { position: absolute; top: 50%; left: 0; right: 0; height: 6px; transform: translateY(-50%); border-radius: var(--radius-pill); background: #ECECEA; box-shadow: inset 0 1px 3px rgba(41,41,41,.12); }
.range-fill { position: absolute; top: 50%; height: 6px; transform: translateY(-50%); border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 60%, #E8CD7A 100%); }
.range-input { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 100%; height: 24px; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2.5px solid var(--accent); box-shadow: 0 2px 7px rgba(41,41,41,.35), inset 0 0 0 3px #fff, inset 0 0 0 5px var(--gold-tint); cursor: grab; pointer-events: auto; transition: transform .15s ease, box-shadow .15s ease; }
.range-input::-moz-range-track { background: transparent; }
.range-input::-moz-range-thumb { width: 19px; height: 19px; border-radius: 50%; background: #fff; border: 2.5px solid var(--accent); box-shadow: 0 2px 7px rgba(41,41,41,.35); cursor: grab; pointer-events: auto; transition: transform .15s ease, box-shadow .15s ease; }
.range-input:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.15); box-shadow: 0 3px 10px rgba(41,41,41,.4), 0 0 0 6px rgba(212,175,55,.28); }
.range-input:active::-moz-range-thumb { cursor: grabbing; transform: scale(1.15); box-shadow: 0 3px 10px rgba(41,41,41,.4), 0 0 0 6px rgba(212,175,55,.28); }
.range-input:focus { outline: none; }
.range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(212,175,55,.4), 0 2px 7px rgba(41,41,41,.35); }
.range-input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 6px rgba(212,175,55,.4), 0 2px 7px rgba(41,41,41,.35); }
.range-bounds { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--ink-soft); margin: 2px 2px 0; font-variant-numeric: tabular-nums; }

/* Custom checkboxes */
.check-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: border-color .2s, background .2s; -webkit-tap-highlight-color: transparent; position: relative; flex-wrap: wrap; }
.check-row + .check-row { margin-top: 8px; }
.check-row:hover { border-color: var(--accent); background: var(--gold-tint); }
.check-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; color: transparent; transition: all .2s; }
.check-box .ic { width: 13px; height: 13px; stroke-width: 3; }
.check-input:checked ~ .check-box { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.check-input:focus-visible ~ .check-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check-input:checked ~ .check-text .check-title { color: var(--ink); }
.check-row:has(.check-input:checked) { border-color: var(--ink); background: var(--gold-tint); }
.check-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.check-title { font-weight: 600; font-size: 13.5px; color: var(--ink-2); transition: color .2s; }
.check-hint { font-size: 11px; color: var(--ink-soft); }

/* Drawer footer (Apply / Reset) */
.filters-foot { flex: none; display: flex; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); background: #fff; }
.filters-apply { flex: 1 1 auto; padding: 13px 18px; background: var(--ink); color: #FBF8F0; border: 1.5px solid var(--ink); }
.filters-apply:hover { background: #1d1d1b; border-color: var(--ink); color: #fff; }
.filters-reset { flex: 0 0 auto; min-width: 96px; padding: 13px 16px; }

/* Mobile filter toggle button */
.filter-toggle-bar { display: none; width: 100%; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: #fff; border: none; border-radius: var(--radius-pill); padding: 14px 20px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 20px; box-shadow: var(--shadow-md); transition: background .25s, transform .25s; }
.filter-toggle-bar:hover { background: #1d1d1b; }
.filter-toggle-bar:active { transform: scale(.98); }
.filter-toggle-bar .ic { color: var(--gold); }
.filter-count { background: var(--gold); color: #211D10; font-size: 11.5px; font-weight: 800; min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--radius-pill); display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }

/* Filter drawer backdrop */
.filter-backdrop { position: fixed; inset: 0; z-index: 310; background: rgba(30,28,24,.52); backdrop-filter: blur(3px); animation: fadeIn .3s ease; }
body.filters-locked { overflow: hidden; }

.shop-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }

.shop-topbar .count { color: var(--ink-soft); font-size: 13.5px; }
.sort-select { display: flex; align-items: center; gap: 10px; }
.sort-select select { padding: 10px 38px 10px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-pill); background: #fff 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='%23161a38' d='M1 1l5 5 5-5' fill='none' stroke='%23161a38' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; cursor: pointer; font-size: 13.5px; font-weight: 600; }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-tint); border: 1px solid #E6D9B4; border-radius: var(--radius-pill); padding: 6px 8px 6px 14px; font-size: 12.5px; font-weight: 600; color: #5C4A17; }
.chip a { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(41,41,41,.1); color: #5C4A17; transition: all .2s; }
.chip a:hover { background: var(--ink); color: var(--gold); }
.chip a .ic { width: 11px; height: 11px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; padding: 0 12px; }
.pagination span.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a:hover { border-color: var(--ink); }
.pagination .dots { border: none; background: transparent; }

/* ------------------------------------------------ Product detail */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3.2vw, 48px); padding: 40px 0 60px; align-items: start; }
.pdp > * { min-width: 0; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 16px); min-width: 0; }
.pdp-main-img {
    --pdp-media-radius: var(--radius-lg);
    --pdp-zoom: 1.7;
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--pdp-media-radius);
    background: #fff;
}
.pdp-main-img picture,
.pdp-main-img img { display: block; width: 100%; height: 100%; max-width: 100%; background: #fff; }
.pdp-main-img img { object-fit: contain; object-position: center; transition: opacity .35s ease, transform .25s ease; }
.pdp-main-img img.switching { opacity: 0; }
.pdp-main-img .pdp-sale-badge {
    position: absolute;
    z-index: 2;
    top: clamp(10px, 1.6vw, 16px);
    inset-inline-start: clamp(10px, 1.6vw, 16px);
}
@media (hover: hover) and (pointer: fine) {
    .pdp-main-img { cursor: zoom-in; }
    .pdp-main-img.is-zoomed img { transform: scale(var(--pdp-zoom)); }
}
@supports not (aspect-ratio: 1 / 1) {
    .pdp-main-img { height: 0; padding-top: 100%; }
    .pdp-main-img picture,
    .pdp-main-img img { position: absolute; inset: 0; }
}
.pdp-thumbs-wrap {
    --pdp-thumb-gutter: 0px;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 14px 0 0;
    min-width: 0;
    padding-inline: var(--pdp-thumb-gutter);
}
.pdp-thumbs { display: flex; gap: 10px; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; width: 100%; max-width: none; margin: 0; scroll-snap-type: x proximity; scroll-behavior: smooth; scroll-padding-inline: 2px; overscroll-behavior-inline: contain; scrollbar-width: none; -ms-overflow-style: none; padding: 2px 2px 4px; -webkit-overflow-scrolling: touch; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumbs button { flex: 0 0 auto; width: 80px; height: 80px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #fff; padding: 0; transition: border-color .2s; scroll-snap-align: start; touch-action: manipulation; cursor: pointer; }
.pdp-thumbs button.active { border-color: var(--accent); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #fff; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
    .pdp-thumbs { cursor: grab; }
    .pdp-thumbs-wrap { --pdp-thumb-gutter: 48px; }
}
.pdp-thumbs.is-dragging { scroll-behavior: auto; scroll-snap-type: none; cursor: grabbing; user-select: none; }
.pdp-th-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.94); backdrop-filter: blur(6px); color: var(--ink); box-shadow: var(--shadow-md); display: grid; place-items: center; z-index: 5; cursor: pointer; transition: background .2s, color .2s, opacity .2s, transform .2s; }
.pdp-th-nav:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pdp-th-prev { inset-inline-start: 0; }
.pdp-th-next { inset-inline-end: 0; }
.pdp-th-nav:disabled { opacity: .3; pointer-events: none; }
@media (hover: none) and (pointer: coarse) {
    .pdp-th-nav { display: none; }
}
.pdp-info { display: flex; flex-direction: column; gap: 16px; }
.pdp-cat { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pdp-info h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.pdp-rating { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.pdp-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pdp-price .now { font-size: 32px; font-weight: 800; }
.pdp-price .old { font-size: 19px; color: #777777; text-decoration: line-through; }
.pdp-price .pct { background: var(--red-soft, #E8E8E8); background: #E8E8E8; color: #8a6d1f; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: var(--radius-pill); }
.pdp-stock { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; width: max-content; padding: 7px 14px; border-radius: var(--radius-pill); }
.pdp-stock.in { background: var(--green-soft); color: var(--green); }
.pdp-stock.low { background: #F7F7F7; color: #B8962E; }
.pdp-stock.out { background: #E8E8E8; color: #777777; }
.pdp-desc { color: var(--ink-soft); font-size: 14.5px; }
.buy-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.qty-box { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--radius-pill); overflow: hidden; background: #fff; }
.qty-box button { width: 44px; height: 50px; border: none; background: transparent; color: var(--ink); font-size: 18px; display: grid; place-items: center; transition: background .2s; }
.qty-box button:hover { background: var(--cream); }
.qty-box input { width: 52px; height: 50px; border: none; text-align: center; font-weight: 700; font-size: 15px; outline: none; -moz-appearance: textfield; }
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pdp-wish { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); display: grid; place-items: center; transition: all .2s; }
.pdp-wish:hover { border-color: var(--ink); }
.pdp-wish.active { color: var(--accent); border-color: var(--accent); background: #F7F7F7; }
.pdp-trust { display: grid; gap: 10px; margin-top: 8px; }
.pdp-trust li { display: flex; gap: 11px; align-items: center; font-size: 13.5px; color: var(--ink-soft); }
.pdp-trust .ic { color: var(--green); width: 18px; height: 18px; }
.pdp-tabs { margin-top: 26px; }
/* Short laptop screens (e.g. 1366×768): tighten the PDP top area so title,
   price and Add to Cart / Buy Now stay visible without scrolling */
@media (min-width: 992px) and (max-height: 840px) {
    .pdp { padding-top: 14px; gap: 36px; }
    .pdp-info { gap: 12px; }
    .pdp-info h1 { font-size: clamp(24px, 2.6vw, 30px); }
    .pdp-price .now { font-size: 28px; }
}
.tab-btns { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 2px solid var(--line); }
.tab-btns button { padding: 13px 20px; border: none; background: transparent; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); border-bottom: 2.5px solid transparent; margin-bottom: -2px; }
.tab-btns button.active { color: var(--ink); border-color: var(--accent); }
.tab-pane { padding: 22px 4px; font-size: 14.5px; color: var(--ink-soft); max-width: 760px; }
.tab-pane[hidden] { display: none; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 560px; }
.spec-table td { padding: 10px 14px; border: 1px solid var(--line); }
.spec-table td:first-child { font-weight: 600; color: var(--ink); width: 38%; background: var(--cream); }
.related-title { margin: 26px 0 18px; }

/* SKU chip */
.sku-chip { font-size: 12px; color: #777777; font-weight: 600; letter-spacing: .06em; }

/* ------------------------------------------------ Cart */
.cart-wrap { padding: 40px 0 70px; }
.cart-title-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.cart-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: minmax(230px, 1fr) 34px; border-bottom: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 16px; padding: 16px; align-items: center; }
.cart-item img { width: 92px; height: 92px; object-fit: contain; object-position: center; border-radius: 12px; background: #fff; }
.cart-item h4 { font-size: 14.5px; font-weight: 600; }
.cart-item .ci-cat { font-size: 12px; color: var(--ink-soft); }
.ci-main { display: flex; flex-direction: column; gap: 8px; }
.ci-price { font-size: 13px; color: var(--ink-soft); }
.ci-price b { color: var(--ink); }
.remove-btn { width: 34px; height: 34px; border-radius: 9px; border: none; background: transparent; color: #8a6d1f; display: grid; place-items: center; margin: auto; transition: background .2s; }
.remove-btn:hover { background: #E8E8E8; }
.cart-empty { text-align: center; padding: 70px 20px; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); margin: auto; max-width: 560px; }
.cart-empty .icon-big { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--ink-soft); }
.cart-empty h3 { font-size: 22px; margin-bottom: 8px; }
.cart-empty p { color: var(--ink-soft); margin-bottom: 22px; }

/* ------------------------------------------------ Empty state (Shop) */
.empty-state {
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
    max-width: 620px; margin: 8px auto; padding: 64px 28px;
    background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius-lg);
}
.empty-state-ic {
    width: 76px; height: 76px; border-radius: 50%;
    background: var(--cream); color: #B8962E;
    display: grid; place-items: center; margin-bottom: 18px;
}
.empty-state-ic .ic { width: 30px; height: 30px; }
.empty-state h3 { font-size: 24px; line-height: 1.25; margin: 0 0 10px; }
.empty-state p { color: var(--ink-soft); font-size: 15px; margin: 0 0 24px; max-width: 420px; line-height: 1.55; }
.empty-state-btn {
    min-width: 250px; height: 52px; padding: 0 34px; font-size: 15px;
    display: inline-flex; align-items: center; justify-content: center;
    letter-spacing: .03em; white-space: nowrap;
}
@media (max-width: 768px) {
    .empty-state { padding: 48px 20px; margin: 4px auto; }
    .empty-state-ic { width: 64px; height: 64px; margin-bottom: 14px; }
    .empty-state-ic .ic { width: 26px; height: 26px; }
    .empty-state h3 { font-size: 20px; }
    .empty-state p { font-size: 14px; margin-bottom: 20px; }
    .empty-state-btn { width: 100%; min-width: 0; height: 52px; padding: 0 20px; font-size: 14px; }
}

.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary-card h3 { font-size: 18px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: var(--ink-soft); }
.sum-row b { color: var(--ink); }
.sum-row.total { border-top: 1.5px dashed var(--line-2); margin-top: 10px; padding-top: 15px; font-size: 16.5px; }
.sum-row.total b { font-size: 20px; }
.sum-free { color: var(--green); font-weight: 600; }
.free-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-soft); background: var(--cream); border-radius: 10px; padding: 10px 12px; }

/* ------------------------------------------------ Checkout */
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; padding: 40px 0 70px; }
.checkout-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
fieldset.fieldset { border: none; padding: 0 0 8px; margin: 0 0 20px; }
.fieldset legend { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field label span.req { color: var(--accent); }
.field input, .field textarea, .field select {
    width: 100%; min-width: 0; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 11px;
    background: #fff; transition: border-color .2s, box-shadow .2s; outline: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(41,41,41,.08); }
.field .err-text { color: #8a6d1f; font-size: 12px; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #8a6d1f; }
.field.invalid .err-text { display: block; }
.pay-option { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line-2); border-radius: 13px; padding: 15px 16px; cursor: pointer; transition: border-color .2s; }
.pay-option:hover { border-color: var(--ink); }
.pay-option input { accent-color: var(--accent); width: 17px; height: 17px; }
.pay-option .po-title { font-weight: 700; font-size: 14.5px; }
.pay-option small { display: block; color: var(--ink-soft); font-size: 12.5px; }

/* Fixed (non-editable) country field */
.field--static { display: flex; flex-direction: column; }
.static-field { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--cream); color: var(--ink); min-height: 48px; }
.static-field-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--accent-dark); flex: none; }
.static-field-text { font-weight: 600; font-size: 14px; }
.static-field-badge { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); background: #fff; border: 1px solid #EDE3C4; padding: 4px 9px; border-radius: var(--radius-pill); white-space: nowrap; }

/* Ziina payment section */
.pay-ziina { border: 1.5px solid #E6D9B4; border-radius: 14px; background: linear-gradient(160deg, #FFFDF4 0%, #FBF8EA 100%); padding: 16px; }
/* Payment-method badges — inline-SVG, white tiles, thin border */
.pm-badges { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding-right: 2px; }
.pm-badge { display: flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 30px; border-radius: 6px; border: 1px solid #E5E7EB; background: #FFFFFF; box-shadow: 0 1px 1px rgba(41,41,41,.04); overflow: hidden; padding: 4px 5px; }
.pm-badge svg { width: 100%; height: 100%; display: block; }
.pm-badges-sm { gap: 6px; }
.pm-badge-sm { width: 32px; height: 21px; border-radius: 4px; box-shadow: none; padding: 2px 3px; }
.pay-ziina-badges { display: inline-flex; align-items: center; margin-left: auto; }
.pay-ziina-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pay-ziina-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 0 1 auto; }
.pay-secure { order: 3; flex-basis: auto; width: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--accent-dark); background: #fff; border: 1px solid #EDE3C4; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pay-foot .pm-badges { vertical-align: middle; margin-left: 8px; gap: 5px; }
.pay-foot .pm-badge { opacity: .38; transition: opacity .3s; }
.pay-foot .pm-badge:hover, .pay-foot:hover .pm-badge { opacity: .72; }
@media (max-width: 640px) {
    .pay-ziina-head { flex-wrap: wrap; row-gap: 8px; }
    .pay-ziina-logo { order: 1; }
    .pay-ziina-info { order: 2; flex: 1 1 auto; }
    .pay-ziina-badges { order: 3; margin-left: 0; flex-basis: 100%; justify-content: flex-start; margin-top: 4px; }
    .pay-ziina-badges .pm-badges { justify-content: flex-start; padding-right: 0; }
    .pay-secure { order: 4; margin-top: 4px; }
    .pay-foot { flex-wrap: wrap; row-gap: 4px; justify-content: center; }
    .pay-foot .pm-badges { margin-left: 0; margin-top: 6px; width: 100%; justify-content: center; }
}
.pay-ziina-logo { flex: none; font-family: var(--font-body); font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: #FFFFFF; background: #7C3AED; padding: 8px 16px 7px; border-radius: 12px; box-shadow: 0 4px 12px rgba(124,58,237,.35); font-style: italic; }
.pay-ziina-info .po-title { font-weight: 700; font-size: 14.5px; }
.pay-ziina-info small { color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.pay-note { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; margin-top: 12px; border-top: 1px dashed #E6D9B4; padding-top: 12px; }
.pay-note b { color: var(--ink); }
.pay-warning { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; color: #8a6d1f; background: #FFF7DC; border: 1px solid #EDE3C4; border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.pay-ziina--disabled { opacity: .75; }
.btn-pay { font-size: 15px; padding: 16px 24px; }
.btn-pay:disabled { background: #E8E8E8; color: var(--ink-soft); border-color: var(--line); cursor: not-allowed; }
.btn-pay .ic { flex: none; }
.pay-foot { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11.5px; color: var(--ink-soft); margin: 10px 2px 0; text-align: center; }
.pay-foot b { color: var(--ink-2); }

/* Checkout payment result pages */
.pay-result { max-width: 880px; margin: 0 auto; padding: 44px 0 70px; }
.pay-result-hero { text-align: center; padding: 40px 26px 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.pay-result-icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; }
.pay-result-icon.ok { background: var(--green-soft); color: var(--green); }
.pay-result-icon.pending { background: #FFF7DC; color: #B8962E; }
.pay-result-icon.failed { background: #FDECEA; color: #B3261E; }
.pay-result-hero h1 { font-size: clamp(23px, 3.4vw, 32px); }
.pay-result-hero p { color: var(--ink-soft); margin: 8px auto 0; max-width: 520px; line-height: 1.7; }
.pay-result-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.pay-stat { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; }
.pay-stat b { display: block; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; word-break: break-word; }
.pay-stat span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); display: block; margin-top: 3px; }
.pay-result-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.pay-ref { font-size: 12px; color: var(--ink-soft); margin-top: 16px; }
.pay-ref code { background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; font-size: 11px; word-break: break-all; }
@media (max-width: 560px) {
    .pay-result-stats { grid-template-columns: 1fr; }
    .pay-result-actions .btn { width: 100%; }
    .static-field-badge { display: none; }
}
.co-items { display: grid; gap: 12px; margin-bottom: 14px; }
.co-item { display: flex; gap: 12px; align-items: center; }
.co-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; object-position: center; background: #fff; flex: none; }
.co-item .n { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.co-item .q { font-size: 12px; color: var(--ink-soft); }
.co-item .p { margin-left: auto; font-weight: 700; font-size: 13.5px; white-space: nowrap; }

/* ------------------------------------------------ Auth pages */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.auth-side { position: relative; background: linear-gradient(160deg, #F7F7F7, #FFFFFF); color: var(--ink); padding: 60px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.25), transparent 70%); top: -120px; right: -120px; }
.auth-side h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; margin-bottom: 14px; max-width: 420px; position: relative; }
.auth-side p { color: rgba(255,255,255,.7); max-width: 400px; position: relative; }
.auth-side .perks { margin-top: 30px; display: grid; gap: 12px; position: relative; }
.auth-side .perks li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.85); font-size: 14.5px; }
.auth-side .perks .ic { color: #C9A227; }
.auth-form-col { display: grid; align-items: center; align-content: center; justify-items: stretch; grid-template-columns: minmax(0, 1fr); padding: 50px 24px; background: var(--bg); min-width: 0; }
.auth-card { width: 100%; max-width: 440px; justify-self: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 36px; box-shadow: var(--shadow-sm); }
.auth-card h1 { font-size: 27px; font-weight: 700; margin-bottom: 4px; }
.auth-card .sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }
.auth-card .field { margin-bottom: 14px; }
.auth-alt { margin-top: 20px; text-align: center; font-size: 14px; color: var(--ink-soft); }
.auth-alt a { color: var(--accent); font-weight: 600; }

/* ------------------------------------------- Premium create-account page */
.auth-premium { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); min-height: calc(100svh - var(--header-h)); width: 100%; background: #f7f5ef; overflow: clip; }
.auth-premium__brand { display: flex; align-items: center; min-width: 0; padding: clamp(36px, 6vw, 72px); background: radial-gradient(circle at 12% 16%, rgba(200,146,46,.22), transparent 38%), linear-gradient(145deg, #171511 0%, #211d14 50%, #0f0e0b 100%); color: #fffdf6; position: relative; overflow: hidden; }
.auth-premium__brand::before, .auth-premium__brand::after { content: ""; position: absolute; border-radius: 999px; pointer-events: none; }
.auth-premium__brand::before { width: min(48vw, 520px); height: min(48vw, 520px); border: 1px solid rgba(200,146,46,.18); inset-inline-end: -12%; inset-block-end: -28%; box-shadow: inset 0 0 90px rgba(200,146,46,.07); }
.auth-premium__brand::after { width: min(34vw, 360px); height: min(34vw, 360px); border: 1px solid rgba(255,255,255,.06); inset-inline-start: -16%; inset-block-start: -18%; }
.auth-premium__inner { width: min(100%, 560px); margin-inline: auto; position: relative; z-index: 1; }
.auth-premium__wordmark { display: inline-flex; align-items: center; gap: 12px; color: #f7f2e5; font-family: var(--font-head); font-size: 17px; letter-spacing: .16em; font-weight: 500; margin-bottom: clamp(24px, 5vh, 48px); }
.auth-premium__wordmark b { color: var(--accent); font-weight: 700; }
.auth-premium__mark { width: 28px; height: 28px; border: 1px solid rgba(200,146,46,.72); transform: rotate(45deg); display: inline-block; position: relative; box-shadow: inset 0 0 16px rgba(200,146,46,.34); }
.auth-premium__mark::after { content: ""; position: absolute; width: 8px; height: 8px; background: var(--accent); inset: 9px; }
.auth-premium__kicker { margin-bottom: 12px; color: #d8b451; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.auth-premium__brand h2 { max-width: 560px; font-family: var(--font-display); color: #fffdf6; font-size: clamp(38px, 5vw, 62px); line-height: .98; letter-spacing: -.035em; font-weight: 500; margin-bottom: 18px; }
.auth-premium__lede { max-width: 520px; color: #d7cfbd; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.65; margin-bottom: 28px; }
.auth-premium__benefits { list-style: none; display: grid; gap: 13px; margin: 0; padding: 0; }
.auth-premium__benefits li { display: flex; align-items: center; gap: 13px; min-width: 0; color: #fffdf6; }
.auth-premium__benefits b { display: block; color: #fffdf6; font-size: 14.5px; line-height: 1.25; }
.auth-premium__benefits small { display: block; color: #c8bfac; font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.benefit-icon { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid rgba(200,146,46,.45); border-radius: 12px; color: #e1bd63; background: rgba(200,146,46,.08); display: grid; place-items: center; }
.auth-premium__note { display: flex; align-items: center; gap: 8px; margin-top: 28px; color: #bdb3a1; font-size: 12.5px; line-height: 1.45; }
.auth-premium__note .ic-xs { color: #d8b451; flex: 0 0 auto; }
.auth-premium__form-wrap { display: grid; place-items: center; min-width: 0; padding: clamp(24px, 4vw, 60px) 22px; }
.auth-premium__card { width: min(100%, 460px); padding: clamp(28px, 4vw, 42px); background: rgba(255,255,255,.98); border: 1px solid rgba(200,146,46,.18); border-radius: 24px; box-shadow: 0 30px 80px rgba(20,18,12,.16), 0 1px 2px rgba(20,18,12,.08); }
.auth-premium__card h1 { color: var(--ink); font-family: var(--font-display); font-size: clamp(30px, 3vw, 38px); line-height: 1.1; letter-spacing: -.02em; font-weight: 500; }
.auth-premium__signin { margin: 9px 0 24px; color: var(--ink-soft); font-size: 14px; }
.auth-premium__signin a { color: var(--accent-dark); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.form-status { display: none; margin-bottom: 14px; padding: 11px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; border: 1px solid transparent; }
.form-status.is-visible { display: block; }
.form-status.is-error { background: #fff0ec; border-color: #f1c3b8; color: #9f3524; }
.form-status.is-success { background: #edf9f1; border-color: #b9e4cd; color: #17613b; }
.register-form { display: grid; gap: 15px; }
.input-field { min-width: 0; }
.input-field label, .terms-row span { color: #2c2f45; font-size: 12.5px; font-weight: 700; }
.req { color: #b3402f; }
.optional { color: #7d8098; font-weight: 500; }
.input-shell { position: relative; display: flex; align-items: center; margin-top: 7px; }
.input-shell input, .phone-combo select { width: 100%; height: 52px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); outline: none; font: inherit; font-size: 16px; transition: border-color .18s, box-shadow .18s, background .18s; }
.input-shell input { padding-inline: 46px 16px; }
.input-shell input:focus, .phone-combo select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200,146,46,.18); }
.input-shell input[aria-invalid="true"], .input-field.is-invalid input { border-color: #c94d3d; background: #fff9f7; }
.input-icon { position: absolute; inset-inline-start: 15px; color: #a48b4f; pointer-events: none; z-index: 1; }
.input-shell input::placeholder { color: #a9abbd; }
.field-help { margin: 5px 4px 0; color: #7d8098; font-size: 11.5px; line-height: 1.4; }
.field-error { margin: 6px 4px 0; color: #a13c2f; font-size: 12.5px; line-height: 1.4; font-weight: 650; }
.field-error a { color: inherit; text-decoration: underline; }
.phone-combo { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 9px; margin-top: 7px; }
.phone-combo select { appearance: auto; padding-inline: 12px 26px; }
.phone-input { margin-top: 0; }
.phone-input input { padding-inline-start: 46px; }
.password-toggle { position: absolute; inset-inline-end: 8px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: #5c5544; cursor: pointer; }
.password-toggle:hover, .password-toggle:focus-visible { background: #f7f4ec; outline: none; box-shadow: 0 0 0 3px rgba(200,146,46,.18); }
.password-meter { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.password-meter__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; flex: 0 0 116px; }
.password-meter__bar span { height: 6px; border-radius: 99px; background: #e5e1d7; transition: background .18s; }
.password-meter__bar span.is-active[data-score="1"] { background: #cf5140; }
.password-meter__bar span.is-active[data-score="2"] { background: #d4a23f; }
.password-meter__bar span.is-active[data-score="3"] { background: #2d8a5a; }
.password-meter__label { color: #776f60; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.password-meter__label[data-score="1"] { color: #a84838; }
.password-meter__label[data-score="2"] { color: #8a6414; }
.password-meter__label[data-score="3"] { color: #1d6f45; }
.password-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; margin: 8px 4px 0; padding: 0; list-style: none; color: #8b867a; font-size: 11px; line-height: 1.45; }
.password-rules li { display: flex; align-items: center; gap: 5px; min-width: 0; }
.password-rules li .ic-xs { flex: 0 0 auto; width: 12px; color: #b9b4a8; }
.password-rules li.is-met { color: #1d6f45; font-weight: 650; }
.password-rules li.is-met .ic-xs { color: #2d8a5a; }
.terms-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; line-height: 1.5; }
.terms-row input { width: 20px; height: 20px; min-width: 20px; margin-top: 1px; accent-color: var(--accent); cursor: pointer; }
.terms-row span { font-weight: 500; color: #3d4055; }
.terms-row a { color: var(--accent-dark); font-weight: 700; }
.password-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: -1px; font-size: 13px; }
.password-row__spacer { min-width: 0; }
.password-row a { color: var(--accent-dark); font-weight: 700; text-decoration: none; white-space: nowrap; }
.password-row a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.honeypot { position: absolute; left: -10000px; top: -10000px; width: 1px; height: 1px; overflow: hidden; direction: ltr; }
.register-submit { min-height: 52px; margin-top: 2px; font-size: 15.5px; font-weight: 800; letter-spacing: .01em; border-radius: 14px; position: relative; }
.button-label { display: inline-flex; align-items: center; }
.button-spinner { position: absolute; inline-size: 20px; block-size: 20px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; opacity: 0; animation: register-spin .7s linear infinite; }
.register-submit.is-loading .button-label { visibility: hidden; }
.register-submit.is-loading .button-spinner { opacity: 1; }
.register-submit:disabled { cursor: wait; opacity: .88; }
.auth-premium__trust { display: flex; justify-content: center; align-items: center; gap: 7px; margin: -2px 0 0; color: #776f60; font-size: 12px; }
.auth-premium__trust .ic-xs { color: #1d6f45; flex: 0 0 auto; }
.auth-premium__card a:focus-visible, .auth-premium__brand a:focus-visible, .register-form input:focus-visible, .register-form select:focus-visible, .register-submit:focus-visible { outline: 3px solid #c8922e; outline-offset: 3px; }
@keyframes register-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .auth-premium { grid-template-columns: 1fr; min-height: auto; overflow: visible; }
  .auth-premium__brand { min-height: auto; padding: 18px 20px; justify-content: center; overflow: hidden; }
  .auth-premium__inner { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; }
  .auth-premium__wordmark { margin: 0; }
  .auth-premium__kicker, .auth-premium__lede, .auth-premium__benefits, .auth-premium__note, .auth-premium__brand h2 { display: none; }
  .auth-premium__form-wrap { padding: 18px 14px 42px; }
  .auth-premium__card { max-width: 560px; padding: 26px 20px; border-radius: 18px; }
}
@media (max-width: 560px) {
  .auth-premium__form-wrap { padding-inline: 10px; }
  .auth-premium__card { padding: 24px 16px; }
  .phone-combo { grid-template-columns: 1fr; }
  .phone-combo select { height: 48px; }
  .password-rules { grid-template-columns: 1fr; }
  .auth-premium__signin { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-premium *, .auth-premium *::before, .auth-premium *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------ Account */
.account-grid { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding: 36px 0 70px; }
.account-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.acc-user { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.acc-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.acc-user h4 { font-size: 16px; }
.acc-user small { color: var(--ink-soft); display: block; }
.acc-nav { display: grid; gap: 2px; }
.acc-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.acc-nav a:hover { background: var(--cream); color: var(--ink); }
.acc-nav a.active { background: var(--ink); color: #fff; }
.acc-nav a.logout { color: #8a6d1f; }
.account-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.account-panel h2 { font-size: 20px; margin-bottom: 18px; }
.order-list { display: grid; gap: 14px; }
.order-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; transition: box-shadow .25s; }
.order-card:hover { box-shadow: var(--shadow-sm); }
.order-card .oc-num { font-weight: 700; font-family: var(--font-head); }
.order-card .oc-date { color: var(--ink-soft); font-size: 13px; }
.order-card .oc-total { margin-left: auto; font-weight: 700; }
.status-pill { display: inline-block; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; text-transform: capitalize; }
.st-pending { background: #F7F7F7; color: #B8962E; }
.st-confirmed { background: #F7F7F7; color: #B8962E; }
.st-processing { background: #F7F7F7; color: #B8962E; }
.st-shipped { background: #F7F7F7; color: var(--green); }
.st-delivered { background: #F7F7F7; color: #B8962E; }
.st-cancelled { background: #E8E8E8; color: #8a6d1f; }
.st-returned { background: #F5F5F5; color: #777777; }
.order-details-grid { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; padding: 36px 0 70px; }
.oitems { display: grid; gap: 10px; }
.oitem { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; min-width: 0; }
.oitem:last-child { border-bottom: none; }
.oitem img { width: 56px; height: 56px; flex: none; border-radius: 10px; object-fit: contain; object-position: center; background: #fff; }
.oitem > div { min-width: 0; }
.oitem b { display: block; font-size: 13.5px; }
.oitem small { color: var(--ink-soft); }
.oitem .p { margin-left: auto; font-weight: 700; white-space: nowrap; }
.mini-title { font-size: 15px; font-weight: 700; letter-spacing: .04em; margin-bottom: 14px; }
.timeline { display: grid; gap: 20px; }
.tl-item { display: flex; gap: 14px; align-items: flex-start; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: -24px; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--line); color: #777777; display: grid; place-items: center; flex: none; }
.tl-dot .ic { width: 14px; height: 14px; }
.tl-item.done .tl-dot { background: var(--green); color: #fff; }
.tl-item.done h5 { color: var(--ink); }
.tl-item h5 { font-size: 14.5px; color: #777777; }
.tl-item small { color: var(--ink-soft); font-size: 12px; }

/* ------------------------------------------------ FAQ */
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; padding: 44px 0 70px; }
.faq-side { position: sticky; top: calc(var(--header-h) + 16px); background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 28px; }
.faq-side h3 { font-size: 20px; margin-bottom: 10px; }
.faq-side p { color: rgba(255,255,255,.7); font-size: 13.5px; margin-bottom: 18px; }
.faq-cats a { display: block; padding: 9px 12px; border-radius: 9px; color: rgba(255,255,255,.75); font-weight: 500; font-size: 14px; transition: all .2s; }
.faq-cats a:hover, .faq-cats a.active { background: rgba(255,255,255,.12); color: #fff; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: transparent; border: none; text-align: left; font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--ink); }
.faq-q .faq-cat { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: #F7F7F7; border-radius: var(--radius-pill); padding: 3px 10px; }
.faq-q .fx { margin-left: auto; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--cream); display: grid; place-items: center; transition: all .3s; }
.faq-q .fx .ico-plus { display: block; }
.faq-q .fx .ico-minus { display: none; }
.faq-item.open .fx { background: var(--ink); color: #fff; transform: rotate(180deg); }
.faq-item.open .fx .ico-plus { display: none; }
.faq-item.open .fx .ico-minus { display: block; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 20px 20px; color: var(--ink-soft); font-size: 14.5px; }
.faq-group-title { font-size: 20px; font-weight: 700; margin: 26px 0 12px; }
.faq-group-title:first-child { margin-top: 0; }

/* ------------------------------------------------ Policies / about */
.pol-section { padding: 50px 0 70px; }
.pol-content { max-width: 860px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 50px); }
.pol-content h2.pol-h2 { font-size: 21px; margin: 30px 0 10px; position: relative; padding-left: 18px; }
.pol-content h2.pol-h2::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 4px; border-radius: 4px; background: var(--accent); }
.pol-content h2.pol-h2:first-child { margin-top: 0; }
.pol-content p, .pol-content li { color: var(--ink-soft); font-size: 15px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 960px; margin: 30px auto 0; }
.about-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 20px; text-align: center; }
.about-stat b { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--gold); }
.about-stat span { font-size: 12.5px; color: rgba(255,255,255,.65); }

/* ------------------------------------------------ Contact */
.contact-grid { display: grid; grid-template-columns: 400px 1fr; gap: 26px; align-items: start; padding: 44px 0 70px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.contact-card .ci { width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--cream); color: var(--accent); display: grid; place-items: center; }
.contact-card h4 { font-size: 15px; margin-bottom: 3px; }
.contact-card p { font-size: 13.5px; color: var(--ink-soft); }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }

/* ------------------------------------------------ Quick view modal */
.qv-overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px 16px; }
.qv-overlay[hidden] { display: none; }
.qv-backdrop { position: absolute; inset: 0; background: rgba(10,12,30,.6); backdrop-filter: blur(3px); }
/* Constrained, centered modal: fixed body height keeps it inside the
   viewport on every screen; the info column scrolls internally instead
   of growing the modal. minmax(0,…) prevents grid blowout from large
   intrinsic images. */
.qv-modal {
    position: relative; z-index: 2;
    width: min(1000px, 100%);
    max-height: min(86vh, 720px);
    overflow: hidden;
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    animation: fadeSlideUp .3s ease;
}
.qv-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: none; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); display: grid; place-items: center; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.qv-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.qv-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qv-body { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); height: min(64vh, 540px); }
.qv-media { position: relative; min-height: 0; min-width: 0; background: var(--cream); border-radius: var(--radius-lg) 0 0 var(--radius-lg); overflow: hidden; }
.qv-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 20px; box-sizing: border-box; }
.qv-info { min-height: 0; min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 32px 30px; display: flex; flex-direction: column; gap: 13px; }
.qv-info .pdp-cat { margin-bottom: -4px; }
.qv-info h3 { font-size: 24px; }
.qv-desc { color: var(--ink-soft); font-size: 14px; }
.qv-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; padding-top: 14px; position: sticky; bottom: 0; z-index: 1; background: linear-gradient(to top, #fff 82%, rgba(255,255,255,0)); }
.qv-actions .btn { min-width: 0; }
.qv-actions .btn-qv-add { flex: 1 1 170px; }
.qv-actions .btn-ghost { flex: 1 1 150px; }
.qv-backdrop { animation: fadeIn .25s ease; }
.quick-btn { position: relative; }
.quick-btn.is-loading { pointer-events: none; opacity: .55; }
.quick-btn.is-loading .ic { animation: spin .8s linear infinite; }

/* ------------------------------------------------ Toasts */
.toast-wrap { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 500; display: grid; gap: 10px; width: min(400px, calc(100vw - 32px)); direction: ltr; }
.toast { display: flex; gap: 12px; align-items: center; background: var(--ink); color: #fff; border-radius: 15px; padding: 14px 18px; box-shadow: var(--shadow-lg); animation: toastIn .35s cubic-bezier(.2,.9,.3,1.2); font-size: 14px; font-weight: 500; }
.toast.out { animation: toastOut .3s ease forwards; }
.toast .t-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.toast .t-ic .ic { width: 15px; height: 15px; }
.toast.success .t-ic { background: var(--green); }
.toast.error .t-ic { background: var(--accent); }
.toast.info .t-ic { background: var(--accent); }
@keyframes toastIn { from { opacity: 0; transform: translateY(24px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(16px) scale(.96); } }

/* ------------------------------------------------ Wishlist page & misc */
.wish-layout { padding: 40px 0 70px; }
.link-plain { color: var(--ink-soft); }
.link-plain:hover { color: var(--ink); }
.text-muted { color: var(--ink-soft); }
.mt-2 { margin-top: 12px; }

/* ------------------------------------------------ To top button */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--accent); color: #fff; box-shadow: var(--shadow-md); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s; z-index: 150; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* ------------------------------------------------ Footer */
.site-footer { background: #292929; color: #D9D9D9; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 34px; padding: 52px 0 38px; }
.site-footer h4 { color: #fff; font-size: 15.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-about { font-size: 13.5px; line-height: 1.7; margin: 16px 0 20px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #C0C0C0; transition: all .25s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-col ul { display: grid; gap: 9px; }
.footer-col ul a { font-size: 14px; color: #C0C0C0; transition: color .2s, padding-left .2s; }
.footer-col ul a:hover { color: #fff; padding-left: 6px; }
.footer-contact ul { gap: 12px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; }
.footer-contact .ic { margin-top: 2px; color: var(--gold); width: 16px; height: 16px; }
.footer-ship { display: flex; gap: 10px; align-items: center; margin-top: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; padding: 11px 14px; font-size: 12.5px; color: #C9A227; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; }
.footer-payments { display: flex; gap: 8px; flex-wrap: wrap; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
    .testi-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-link { padding: 12px clamp(7px, 0.9vw, 12px); font-size: 13px; }
}

@media (max-width: 1024px) {
    .shop-layout, .faq-layout, .account-grid { grid-template-columns: 1fr; }
    .faq-side, .account-card { position: static; }
    .faq-side { display: none; }
    .pdp { grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); }
    .pdp-gallery { position: static; width: 100%; max-width: min(100%, 720px); margin-inline: auto; }
    .pdp-info { width: 100%; max-width: min(100%, 720px); margin-inline: auto; }
    .checkout-grid, .cart-grid, .order-details-grid { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .auth-wrap { grid-template-columns: minmax(0, 1fr); }
    .auth-side { display: none; }
    .featured-product { grid-template-columns: 1fr; }
    .featured-media { min-height: 300px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    /* filter drawer (slide-in) */
    .filters {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 320;
        width: min(400px, 94vw); max-width: 100vw; height: 100dvh; max-height: none;
        border: none; border-radius: 0; box-shadow: var(--shadow-lg);
        transform: translateX(105%); visibility: hidden;
        transition: transform .38s cubic-bezier(.32,.72,.24,1), visibility 0s linear .38s;
    }
    .filters.open { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.32,.72,.24,1), visibility 0s; }
    .filters-head { padding: 16px 20px; }
    .filters-close { display: grid; }
    .filters-body { padding: 4px 20px 18px; }
    .filters-foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(41,41,41,.06); }
    .range-input::-webkit-slider-thumb { width: 26px; height: 26px; }
    .range-input::-moz-range-thumb { width: 21px; height: 21px; }
}

@media (max-width: 768px) {
    .container { width: min(1320px, 100% - 32px); }
    .section { padding: 40px 0; }
    .hero-dots { left: auto; right: 26px; bottom: 20px; }
    .card-body { padding: 13px 13px 16px; }
    .card-title { font-size: 13px; line-height: 1.35; min-height: calc(var(--card-title-lines, 2) * 1.35em); }
    .price-now { font-size: 13.5px; }
    .price-old { font-size: 11px; }
    /* Mobile-only card CTA: full-width, fixed height, fluid text area.
       Scoped strictly to this block — desktop keeps the original rule. */
    .btn-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        align-self: stretch;
        height: 44px;
        padding: 0 12px;
        font-size: 13px;
        white-space: nowrap;
    }
    .card-media > a img { aspect-ratio: 1 / 1; }
    .testi-grid { grid-template-columns: 1fr; }
    .promo-inner { padding: 40px 26px; }
    .featured-body { padding: 38px 26px; }
    .compare { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .form-grid { grid-template-columns: 1fr; }
    .buy-row { width: 100%; }
    /* Mobile purchase section (premium, compact):
       Row 1 → quantity selector (col 1) · Add to Cart (col 2) · wishlist heart (col 3)
       Row 2 → Buy Now, full width, same height.
       The desktop HTML order is untouched — grid areas reposition only here,
       so the desktop flex layout is unaffected. */
    .buy-row {
        display: grid;
        grid-template-columns: minmax(0, 118px) minmax(0, 1fr) 52px;
        grid-template-areas:
            "qty atc wish"
            "buy buy buy";
        gap: 10px;
        align-items: stretch;
        width: 100%;
    }
    .buy-row .qty-box { grid-area: qty; display: flex; grid-row: 1; grid-column: 1; width: 100%; min-width: 0; order: 0; height: 52px; border: 1px solid var(--line); border-radius: 15px; }
    .buy-row .qty-box button { width: 40px; height: 100%; font-size: 19px; flex: none; color: var(--ink-soft); }
    .buy-row .qty-box button:active { background: var(--cream); color: var(--ink); }
    .buy-row .qty-box input { flex: 1; width: auto; min-width: 0; height: 100%; font-size: 15.5px; font-weight: 700; }
    .buy-row .btn { height: 52px; padding-inline: 10px; padding-block: 0; }
    .buy-row .btn-accent, .buy-row .btn-muted {
        grid-area: atc; grid-column: 2; grid-row: 1; width: 100%; order: 0;
        font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
        transition: transform .2s ease, box-shadow .2s ease, background .25s ease, filter .2s ease;
    }
    .buy-row .btn-accent { box-shadow: 0 10px 22px -10px rgba(184, 134, 11, .55); }
    .buy-row .btn-accent:hover { background: var(--accent-dark); box-shadow: 0 12px 26px -10px rgba(184, 134, 11, .6); }
    .buy-row .btn-accent:active, .buy-row .btn-dark:active, .buy-row #buyNow:active { transform: scale(.985); }
    .buy-row .btn-dark, .buy-row #buyNow {
        grid-area: buy; grid-column: 1 / -1; grid-row: 2; width: 100%; order: 0;
        font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
        transition: transform .2s ease, background .25s ease;
    }
    .buy-row .pdp-wish {
        grid-area: wish; grid-column: 3; grid-row: 1; order: 0; justify-self: stretch;
        width: 52px; height: 52px; border-radius: 15px; align-self: center;
    }
    .qv-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, min(36vh, 250px)) minmax(0, 1fr); height: min(80vh, 620px); }
    .qv-media { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .qv-media img { object-position: center; }
    .qv-info { padding: 22px 20px 24px; gap: 11px; }
    .qv-info h3 { font-size: 21px; }
    .qv-actions { gap: 8px; }
    .qv-actions .btn { width: 100%; flex: 1 1 100%; padding-block: 13px; }
    .order-card .oc-total { margin-left: 0; width: 100%; display: flex; justify-content: space-between; }
    .cart-item { grid-template-columns: 72px 1fr; }
    .cart-item img { width: 72px; height: 72px; }
    .cart-row { grid-template-columns: minmax(230px, 1fr) 34px; }
    .cart-item .qty-box { transform: scale(.92); transform-origin: left; }
}

@media (max-width: 430px) {
    .header-inner { padding-inline: 10px; }
    .product-carousel { --pc-gap: 8px; }
    .btn-card .ic { display: none; }
    .hero-cta .btn { padding: 12px 20px; font-size: 13px; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .section-head h2 { font-size: 24px; }
}

/* ≤380px (320/360): tighten the purchase grid so the primary action keeps
   readable text without ever clipping — hide the cart icon, narrow qty+wish. */
@media (max-width: 380px) {
    .buy-row {
        grid-template-columns: minmax(0, 92px) minmax(0, 1fr) 46px;
        gap: 8px;
    }
    .buy-row .qty-box button { width: 30px; font-size: 17px; }
    .buy-row .qty-box input { font-size: 14.5px; }
    .buy-row .btn-accent, .buy-row .btn-muted { font-size: 11.5px; letter-spacing: .06em; }
    .buy-row .btn-dark, .buy-row #buyNow { font-size: 11.5px; letter-spacing: .06em; }
    .buy-row .btn .ic { width: 16px; height: 16px; }
    .buy-row .pdp-wish { width: 46px; height: 52px; border-radius: 13px; }
}

/* 390–430px: enough room again — restore the cart icon alongside the label.
   Placed AFTER the ≤430 block so it wins the cascade on purpose. */
@media (min-width: 390px) and (max-width: 430px) {
    .btn-card .ic { display: flex; }
    .btn-card { font-size: 13px; padding: 0 12px; height: 44px; }
}

@media (min-width: 1920px) {
    .container { width: min(1560px, 100% - 80px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

html { overflow-x: hidden; }
.section-head h2 { display: inline-block; position: relative; padding-bottom: 10px; letter-spacing: .12em; }

/* ---------------- Reusable image frame system ---------------- */
.media-frame { position: relative; width: 100%; overflow: hidden; background: var(--cream); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.media-frame--contain { background: #fff; }
.media-frame--contain img { object-fit: contain; }
/* Fixed, aspect-ratio driven frames — component-specific, never stretched */
.media-frame--product { aspect-ratio: 1 / 1; background: #fff; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--category { aspect-ratio: 3 / 2; }
.media-frame--hero { aspect-ratio: 2000 / 1116; }
.media-frame--promo { aspect-ratio: 8 / 3; }
.media-frame--portrait { aspect-ratio: 3 / 4; }
.media-frame--blog { aspect-ratio: 16 / 9; }
.media-fallback { display:flex; align-items:center; justify-content:center; background:#fff; border:1px dashed var(--line-2); color: var(--line-2); }

/* ---------------- Collection cards (fixed image area) ---------------- */
.collection-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; color:inherit; transition: box-shadow .3s, transform .3s, border-color .3s; }
.collection-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--gold); }
.collection-body { padding:18px 20px 20px; display:flex; flex-direction:column; gap:6px; position:relative; z-index:2; }
.collection-body .count { font-size:10.5px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color: var(--accent-dark); }
.collection-body h3 { font-size:19px; font-weight:700; color: var(--ink); }
.collection-body p { font-size:13px; color: var(--ink-soft); margin:0; }
.collection-link { display:inline-flex; align-items:center; gap:8px; margin-top:6px; font-weight:600; font-size:13px; color: var(--accent-dark); border-bottom:2px solid var(--gold); padding-bottom:2px; align-self:flex-start; transition: color .2s, gap .2s; }
.collection-card:hover .collection-link { color: var(--accent-dark); gap:12px; }
.collections-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:20px; }

.footer-arabic { color:#C9A227; font-size:13px; letter-spacing:.05em; margin:10px 0 0; direction:rtl; text-align:left; }
.arabic-tag { display:inline-block; color:var(--accent-dark); font-size:11px; letter-spacing:.18em; margin-top:6px; direction:rtl; }

.page-hero--category { background: #D8C09A; }

.page-hero--category .crumbs { color: rgba(41,41,41,.75); }
.page-hero--category .crumbs a { color: #5c4a17; }
.page-hero--category p { color: rgba(41,41,41,.85); }
.page-hero--category .crumbs a:hover { color: #8a6d1f; }

/* ============================================================
   GLOBAL TYPOGRAPHY SYSTEM (premium editorial)
   ============================================================ */
:root {
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --eyebrow-color: var(--accent-dark);
}

.eyebrow,
.section-head .kicker,
.promo-inner .kicker,
.featured-body .kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--eyebrow-color);
    margin-bottom: 14px;
}
.eyebrow::before,
.section-head .kicker::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    background: var(--gold);
}

.section-head h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -.015em;
    color: var(--ink);
    line-height: 1.12;
    display: inline-block;
    position: relative;
    padding-bottom: 16px;
    text-transform: none;
}
.section-head p.sub {
    font-family: var(--font-body);
    font-size: 14.5px;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 14px auto 0;
    line-height: 1.75;
}
.section-head.row-flex p.sub { margin: 10px 0 0; }

.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(30px, 4.6vw, 48px);
    letter-spacing: -.02em;
    line-height: 1.1;
}
.page-hero p { font-size: 15px; line-height: 1.7; max-width: 640px; margin-top: 12px; }

.pdp-info h1 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1.18;
}
.promo-inner h2 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.01em;
    text-transform: none;
}
.featured-body h3 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.01em;
    line-height: 1.2;
}
.collection-body h3 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.01em;
    font-size: 21px;
}
.card-title { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }

.auth-side h2 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1.15;
}
.account-panel h2 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.01em;
}
.pol-content h2.pol-h2 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.01em;
}
.checkout-grid h3,
.summary-card h3,
.cart-table h3 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.01em;
}

.site-footer h4 {
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #FBF8F8;
}
.site-footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 1px;
    background: var(--gold);
}
.btn { letter-spacing: .04em; }

.auth-card h1 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em; }
.order-confirmation h1, .order-details-grid h2, .cart-empty h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
.page-hero h1 { font-family: var(--font-display); font-weight: 500; }
.faq-side h3, .faq-group-title { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
.coming-soon h1, .empty-state h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
.mini-title { letter-spacing: .1em; }

/* ============================================================
   PREMIUM MOBILE PRODUCT DETAIL PAGE (mobile-only redesign)
   All rules live inside ≤768px media queries — desktop and
   tablet layouts are 100% untouched.
   ============================================================ */

/* Sticky purchase bar exists only on mobile — never rendered on
   desktop/tablet. (Visibility toggling is handled further below.) */
.pdp-buybar { display: none; }

@media (max-width: 768px) {

    /* ---- Section rhythm ---- */
    .pdp { padding: 16px 0 46px; gap: 22px; }
    .pdp-tabs { margin-top: 18px; }
    .tab-btns button { padding: 11px 12px; font-size: 13px; }
    .tab-pane { padding: 18px 2px; font-size: 14px; line-height: 1.75; }

    /* ---- Gallery: single-row horizontally scrolling thumbnail strip ---- */
    .pdp-main-img { --pdp-media-radius: 16px; box-shadow: var(--shadow-sm); }
    .pdp-thumbs-wrap { margin-top: 12px; }
    .pdp-thumbs { gap: 10px; padding: 2px 2px 4px; }
    .pdp-thumbs button { width: 64px; height: 64px; border-radius: 10px; }

    /* ---- Category + badges: elegant eyebrow row ---- */
    .pdp-info { gap: 12px; }
    .pdp-rating-row { gap: 10px; row-gap: 8px; }
    .pdp-rating-row .pdp-cat { font-size: 10px; font-weight: 600; letter-spacing: .26em; color: var(--accent-dark); }
    .pdp-rating-row .badge { font-size: 9.5px; padding: 4px 9px; letter-spacing: .08em; }

    /* ---- Title / SKU / price: editorial hierarchy ---- */
    .pdp-info h1 { font-size: clamp(21px, 5.6vw, 25px); line-height: 1.25; letter-spacing: -.012em; }
    .sku-chip { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9C9C9C; }
    .pdp-price { gap: 10px; margin-top: 2px; }
    .pdp-price .now { font-family: var(--font-display); font-size: clamp(22px, 6.2vw, 27px); font-weight: 600; letter-spacing: -.01em; }
    .pdp-price .old { font-size: 15px; }
    .pdp-price .pct { font-size: 10.5px; padding: 4px 10px; }

    /* ---- Stock: refined availability dot ---- */
    .pdp-stock {
        background: transparent;
        border: none;
        padding: 0;
        gap: 8px;
        font-size: 12.5px;
        font-weight: 600;
        letter-spacing: .01em;
    }
    .pdp-stock::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        flex: none;
        background: currentColor;
    }
    .pdp-stock.in { color: #1E7B4F; background: transparent; }
    .pdp-stock.in::before { background: #27AE60; }
    .pdp-stock.low { color: #A67C1B; background: transparent; }
    .pdp-stock.low::before { background: #E0A93E; }
    .pdp-stock.out { color: #8A8A8A; background: transparent; }
    .pdp-stock.out::before { background: #C4C4C4; }

    /* ---- Description: balanced readability ---- */
    .pdp-desc { font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }

    /* ---- Purchase grid spacing polish ---- */
    .buy-row .btn .ic { width: 17px; height: 17px; }
    .buy-row { margin-top: 2px; }

    /* ---- Trust information: clean card with hairline separators ---- */
    .pdp-trust {
        margin-top: 4px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #fff;
        padding: 2px 16px;
        box-shadow: var(--shadow-sm);
    }
    .pdp-trust li {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
        font-size: 13px;
        line-height: 1.55;
        gap: 12px;
    }
    .pdp-trust li:last-child { border-bottom: none; }
    .pdp-trust .ic { width: 17px; height: 17px; color: var(--accent-dark); flex: none; }

    /* ---- Mobile sticky purchase bar ----
        Fixed to the viewport bottom; slides in only while the inline
        purchase row is off screen (JS toggles .is-visible). Respects
        safe-area insets and never covers the inline CTAs. */
    .pdp-buybar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 190;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, .96);
        -webkit-backdrop-filter: blur(12px) saturate(1.15);
        backdrop-filter: blur(12px) saturate(1.15);
        border-top: 1px solid var(--line);
        box-shadow: 0 -10px 30px rgba(41, 41, 41, .08);
        transform: translateY(110%);
        transition: transform .38s cubic-bezier(.32, .72, .24, 1);
        will-change: transform;
    }
    .pdp-buybar.is-visible { transform: none; }
    .pdp-buybar .pdp-buybar-price { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
    .pdp-buybar .bb-now {
        font-family: var(--font-display);
        font-size: 20px;
        font-weight: 600;
        letter-spacing: -.01em;
        color: var(--ink);
        white-space: nowrap;
    }
    .pdp-buybar .bb-old {
        font-size: 12.5px;
        color: var(--ink-soft);
        text-decoration: line-through;
        white-space: nowrap;
    }
    .pdp-buybar .bb-add {
        flex: none;
        height: 50px;
        padding: 0 22px;
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        box-shadow: 0 10px 22px -10px rgba(184, 134, 11, .55);
    }
    .pdp-buybar .bb-add:active { transform: scale(.985); }

    /* Reserve space below the page so the bar never covers the footer,
       and lift floating elements (toasts, back-to-top) clear of it. */
    body.buybar-visible { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
    body.buybar-visible .toast-wrap { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
    body.buybar-visible .to-top { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* Very small phones: keep the sticky bar proportional at 320–360px */
@media (max-width: 380px) {
    .pdp-buybar { padding-inline: 12px; gap: 10px; }
    .pdp-buybar .bb-now { font-size: 18px; }
    .pdp-buybar .bb-old { font-size: 11.5px; }
    .pdp-buybar .bb-add { padding: 0 16px; font-size: 11.5px; letter-spacing: .06em; }
    .pdp-buybar .bb-add .ic { width: 16px; height: 16px; }
}
