/* ==========================================================================
   Hand Carpets — storefront design system
   Royal heritage: parchment ivory, oxblood maroon and antique gold;
   Cinzel capitals + Cormorant display + Jost text.
   Day and night themes share every component through the tokens below.
   ========================================================================== */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-wght-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --bg: #F8F2E7;
  --bg-2: #F1E6D3;
  --surface: #FFFCF6;
  --surface-2: #F4EBDC;
  --sand: #E6D5B8;
  --line: rgba(74, 40, 24, .13);
  --line-strong: rgba(74, 40, 24, .24);
  --ink: #1E1311;
  --ink-2: #594840;
  --ink-3: #7A695E;
  --accent: var(--accent-day, #6E1A2B);
  --accent-hover: color-mix(in srgb, var(--accent) 86%, #000);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, transparent);
  --accent-ink: #FBF1DE;
  --gold: var(--gold-day, #B08A45);
  --gold-soft: color-mix(in srgb, var(--gold) 18%, transparent);
  --gold-text: #85601F;
  --gold-line: color-mix(in srgb, var(--gold) 55%, transparent);
  --foil: linear-gradient(118deg, #8A6528 0%, #C9A257 22%, #F2DEA4 44%, #C69C50 62%, #A57A34 80%, #E5C981 100%);
  --royal: #2B0D16;
  --royal-2: #46142A;
  --success: #3E6B4B;
  --success-soft: rgba(62, 107, 75, .12);
  --warning: #9A6A12;
  --warning-soft: rgba(154, 106, 18, .12);
  --danger: #A23B2C;
  --danger-soft: rgba(162, 59, 44, .1);
  --overlay: rgba(28, 10, 14, .55);
  --shadow-sm: 0 1px 2px rgba(43, 13, 22, .06), 0 2px 8px rgba(43, 13, 22, .04);
  --shadow: 0 10px 30px -12px rgba(43, 13, 22, .24);
  --shadow-lg: 0 30px 70px -28px rgba(43, 13, 22, .42);
  --font-royal: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-display: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-xs: 6px; --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 34px; --r-pill: 999px;
  --container: 1360px;
  --gutter: clamp(16px, 4vw, 44px);
  --section: clamp(56px, 8vw, 116px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t: 260ms;
  color-scheme: light;
}

:root[data-theme="night"] {
  --bg: #0F0A0B;
  --bg-2: #170F12;
  --surface: #1B1215;
  --surface-2: #24181C;
  --sand: #3D2A26;
  --line: rgba(222, 190, 128, .13);
  --line-strong: rgba(222, 190, 128, .26);
  --ink: #F4E9D8;
  --ink-2: #CDBBA6;
  --ink-3: #A08F81;
  --accent: var(--accent-night, #D4AF6A);
  --accent-hover: color-mix(in srgb, var(--accent) 85%, #fff);
  --accent-ink: #1C0E0A;
  --gold: #D4AF6A;
  --gold-text: #DDBB78;
  --royal: #1C0910;
  --royal-2: #33101E;
  --success: #7FB48F;
  --success-soft: rgba(127, 180, 143, .14);
  --warning: #E0B45C;
  --warning-soft: rgba(224, 180, 92, .14);
  --danger: #E58C7C;
  --danger-soft: rgba(229, 140, 124, .14);
  --overlay: rgba(0, 0, 0, .62);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 14px 36px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 34px 80px -30px rgba(0, 0, 0, .85);
  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--sticky-top, var(--header-h)) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 12px; color: var(--bg); }
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 30px; height: 30px; }

/* ---------- Premium scrollbars (WebKit + Firefox fallback only where needed) ---------- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 70%, var(--gold)), var(--gold)); border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); background-clip: padding-box; }
@supports not selector(::-webkit-scrollbar) {
  html, .scroll-pretty { scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .6); }
.section-alt { background: var(--bg-2); }
.section-ink { background: #191512; color: #F2EADD; }
.section-ink h2, .section-ink h3 { color: #F6EFE3; }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.center { text-align: center; }
.hide { display: none !important; }
main { display: block; min-height: 50vh; }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-royal); font-size: .74rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 7px; background: var(--orn-wing) center / contain no-repeat; opacity: 1; }
.eyebrow.no-line::before { display: none; }
.display-italic { font-style: italic; font-weight: 400; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-2); line-height: 1.75; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 10px 0 0; color: var(--ink-2); max-width: 560px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 7px; background: var(--orn-wing) center / contain no-repeat; transform: scaleX(-1); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 0 auto 18px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 54px; background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { transform: scaleX(-1); }
.ornament i { width: 8px; height: 8px; border: 1px solid currentColor; transform: rotate(45deg); }

/* ---------- Buttons ---------- */
.btn { --b-bg: var(--accent); --b-fg: var(--accent-ink); --b-bd: var(--accent); --b-ring: rgba(229, 201, 129, .55); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 30px; border-radius: var(--r-pill); border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg); box-shadow: inset 0 0 0 3px var(--b-ring-gap, var(--b-bd)), inset 0 0 0 4px var(--b-ring); font-family: var(--font-royal); font-size: .76rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; white-space: nowrap; transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform .2s var(--ease); position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.btn::after { content: ""; position: absolute; inset: 0; background: var(--foil); transform: translateY(101%); transition: transform .45s var(--ease-out); z-index: -1; }
.btn:hover { color: #2B0D16; border-color: #C9A257; }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: scale(.98); }
.btn-accent { --b-bg: var(--accent); --b-fg: var(--accent-ink); --b-bd: var(--accent); }
.btn-dark { --b-bg: var(--ink); --b-fg: var(--bg); --b-bd: var(--ink); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--gold-line); --b-ring: transparent; --b-ring-gap: transparent; }
.btn-light { --b-bg: var(--foil); --b-fg: #2B0D16; --b-bd: #D9B96E; --b-ring-gap: transparent; --b-ring: rgba(43, 13, 22, .28); }
.btn-light::after { background: #FBF1DE; }
.btn-outline-light { --b-bg: rgba(20, 6, 10, .18); --b-fg: #F6E7C8; --b-bd: rgba(229, 201, 129, .7); --b-ring: transparent; --b-ring-gap: transparent; backdrop-filter: blur(4px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .7rem; }
.btn-lg { min-height: 58px; padding: 0 36px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::before { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid currentColor; border-color: var(--b-fg) var(--b-fg) transparent transparent; border-radius: 50%; animation: spin .7s linear infinite; z-index: 2; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--ink); padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .4s var(--ease), color .2s; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--accent); background-size: 40% 1px; }
.link-arrow:hover .ic { transform: translateX(4px); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--surface-2); color: var(--accent); }
.icon-btn .count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: .66rem; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.icon-btn .count:empty, .icon-btn .count[data-count="0"] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Badges & chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: var(--r-pill); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.badge-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.badge-gold { background: var(--gold); color: #1B140C; border-color: transparent; }
.badge-dark { background: var(--ink); color: var(--bg); border-color: transparent; }
.badge-success { background: var(--success-soft); color: var(--success); border-color: transparent; }
.badge-warning { background: var(--warning-soft); color: var(--warning); border-color: transparent; }
.badge-danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface); font-size: .86rem; color: var(--ink); transition: all .2s var(--ease); white-space: nowrap; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip .ic { width: 15px; height: 15px; }
.chip-swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-strong); }

/* ---------- Top bar ---------- */
.topbar { background: #1B1612; color: #E9DFCF; font-size: .78rem; letter-spacing: .04em; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #E9DFCF; }
.topbar a:hover { color: #fff; }
.topbar-msg { display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar-msg .ic { width: 15px; height: 15px; color: var(--gold); }
.topbar-tools { display: flex; align-items: center; gap: 18px; }
.topbar-tools .sep { width: 1px; height: 14px; background: rgba(233, 223, 207, .25); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(0, 0, 0, .35); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--ink); justify-self: center; }
.brand:hover { color: var(--ink); }
.brand img { height: 46px; width: auto; }
.brand-word { font-family: var(--font-royal); font-size: 1.62rem; font-weight: 600; letter-spacing: .2em; padding-left: .2em; display: inline-flex; align-items: baseline; }
.brand-word .h-mark { font-size: 1.2em; font-style: normal; font-weight: 700; color: var(--gold); background: var(--foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 0; margin-right: .04em; position: relative; }
.brand-tag { margin-top: 6px; font-size: .58rem; letter-spacing: .44em; text-transform: uppercase; color: var(--gold-text); padding-left: .44em; }
.nav-main { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 26px); }
.nav-main > li { list-style: none; position: static; }
.nav-main { margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: var(--header-h); font-family: var(--font-royal); font-size: .76rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ink); position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-link[aria-expanded="true"]::after, .nav-link.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav-link .ic { width: 14px; height: 14px; transition: transform .25s; }
.nav-link[aria-expanded="true"] .ic { transform: rotate(180deg); }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.header-left { display: flex; align-items: center; gap: 4px; }
.header-search-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink-2); font-size: .86rem; min-width: 210px; background: var(--surface); transition: border-color .2s; }
.header-search-btn:hover { border-color: var(--accent); color: var(--ink); }
.header-search-btn kbd { margin-left: auto; font-family: var(--font-body); font-size: .7rem; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink-3); }
.cart-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border-radius: var(--r-pill); background: var(--ink); color: var(--bg); font-size: .82rem; margin-left: 6px; transition: background .2s; }
.cart-pill:hover { background: var(--accent); color: var(--accent-ink); }
.cart-pill .count { min-width: 20px; height: 20px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: .7rem; font-weight: 600; padding: 0 5px; }
.cart-pill:hover .count { background: var(--bg); color: var(--ink); }
.nav-row { border-top: 1px solid var(--line); }
.nav-row .container { display: flex; justify-content: center; }
@media (min-width: 1025px) { .only-mobile { display: none !important; } }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr; gap: 48px; padding-block: 40px; }
.mega h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 18px; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; font-family: var(--font-display); font-size: 1.45rem; border-bottom: 1px solid var(--line); }
.mega-list a small { font-family: var(--font-body); font-size: .76rem; color: var(--ink-3); }
.mega-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.mega-feature { position: relative; border-radius: var(--r); overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; padding: 26px; color: #fff; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mega-feature:hover img { transform: scale(1.05); }
.mega-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(15, 11, 8, .78)); }
.mega-feature > div { position: relative; z-index: 1; }
.mega-feature h3 { color: #fff; margin: 0 0 6px; }
.mega-feature span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #F0E3CF; }

/* ---------- Dropdown menus (currency, theme, account) ---------- */
.dd { position: relative; }
.dd-toggle { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 4px; font-size: .78rem; letter-spacing: .06em; }
.dd-toggle .ic { width: 14px; height: 14px; }
.dd-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: all .22s var(--ease); max-height: min(70vh, 420px); overflow: auto; }
.dd.is-open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: var(--r-sm); font-size: .9rem; text-align: left; color: var(--ink); }
.dd-item:hover, .dd-item:focus-visible { background: var(--surface-2); color: var(--ink); }
.dd-item[aria-checked="true"], .dd-item.is-active { color: var(--accent); }
.dd-item .check { margin-left: auto; width: 16px; height: 16px; opacity: 0; }
.dd-item[aria-checked="true"] .check, .dd-item.is-active .check { opacity: 1; }
.dd-item .sym { width: 34px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-2); font-size: .78rem; font-weight: 600; }
.dd-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.dd-label { padding: 8px 12px 4px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 120; background: var(--overlay); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-panel { background: var(--bg); padding: 28px 0 34px; transform: translateY(-24px); transition: transform .4s var(--ease-out); box-shadow: var(--shadow-lg); max-height: 92vh; overflow: auto; }
.search-overlay.is-open .search-panel { transform: none; }
.search-field { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line-strong); padding-bottom: 12px; }
.search-field .ic { width: 26px; height: 26px; color: var(--ink-3); }
.search-field input { flex: 1; border: 0; background: transparent; font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.6rem); outline: none; min-width: 0; }
.search-field input::placeholder { color: var(--ink-3); }
.search-results { display: grid; grid-template-columns: 1fr 2.2fr; gap: 36px; margin-top: 26px; }
.search-col h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.search-suggest { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.search-suggest a { display: block; padding: 8px 0; }
.search-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.search-product { display: grid; gap: 8px; font-size: .9rem; }
.search-product .ph { aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.search-product img { width: 100%; height: 100%; object-fit: cover; }
.search-product .price { font-size: .82rem; color: var(--ink-2); }
.search-empty { color: var(--ink-2); padding: 18px 0; }
.search-hint { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- Drawers (mobile menu, filters, mini-cart) & modals ---------- */
.scrim { position: fixed; inset: 0; background: var(--overlay); z-index: 140; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 150; width: min(440px, 92vw); background: var(--bg); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); transition: transform .45s var(--ease-out), visibility .45s; visibility: hidden; }
.drawer-right { right: 0; transform: translateX(104%); }
.drawer-left { left: 0; transform: translateX(-104%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.6rem; }
.drawer-body { flex: 1; overflow: auto; padding: 18px 22px; overscroll-behavior: contain; }
.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 18px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box { position: relative; width: min(980px, 100%); max-height: 92vh; overflow: auto; background: var(--bg); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.98); transition: transform .4s var(--ease-out); }
.modal.is-open .modal-box { transform: none; }
.modal-sm .modal-box { width: min(560px, 100%); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--surface); box-shadow: var(--shadow-sm); }
.modal-body { padding: clamp(22px, 3vw, 36px); }
body.is-locked { overflow: hidden; }

/* Mobile navigation drawer */
.mnav-list { list-style: none; margin: 0; padding: 0; }
.mnav-list > li { border-bottom: 1px solid var(--line); }
.mnav-list a, .mnav-list button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 2px; font-family: var(--font-display); font-size: 1.5rem; text-align: left; }
.mnav-sub { list-style: none; margin: 0 0 12px; padding: 0 0 0 12px; display: none; }
.mnav-sub.is-open { display: block; }
.mnav-sub a { font-family: var(--font-body); font-size: 1rem; padding: 10px 2px; color: var(--ink-2); }
.mnav-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mnav-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: .86rem; }
.mnav-card .ic { color: var(--accent); }

/* Bottom app bar (phones) */
.app-bar { display: none; }

/* ---------- Hero slider ---------- */
.hero { position: relative; display: grid; min-height: clamp(560px, 86vh, 860px); color: #FFF8EE; overflow: hidden; background: #16110D; isolation: isolate; }
/* Slides share one grid cell, so the hero grows to its tallest slide and the text never runs under the dots on short screens. */
.hero-slide { position: relative; grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; display: flex; align-items: center; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(14, 10, 7, var(--shade, .55)) 0%, rgba(14, 10, 7, calc(var(--shade, .55) * .6)) 45%, rgba(14, 10, 7, .05) 100%), linear-gradient(0deg, rgba(14, 10, 7, .5), transparent 40%); }
.hero-content { max-width: 680px; padding-block: clamp(72px, 12vh, 120px) 150px; }
.hero-content .eyebrow { color: #E9C795; }
.hero h1, .hero h2.hero-title { color: #FFF8EE; font-size: clamp(2.8rem, 6.4vw, 5.6rem); margin-bottom: 22px; font-weight: 400; letter-spacing: -.015em; }
.hero-title em { font-style: italic; color: #F0D2A8; font-weight: 400; }
.hero-sub { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 248, 238, .86); max-width: 520px; margin-bottom: 34px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-content > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.hero-slide.is-active .hero-content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-content > *:nth-child(2) { transition-delay: .12s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { transition-delay: .22s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { transition-delay: .32s; }
.no-js .hero-slide:first-child { opacity: 1; visibility: visible; }
.no-js .hero-content > * { opacity: 1; transform: none; }
.hero-ui { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 3; }
.hero:has(+ .trust) .hero-ui { bottom: 104px; }
.hero:has(+ .trust) .hero-content { padding-bottom: 190px; }
.fab-top .ic { transform: rotate(180deg); }
.hero-ui .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hero-dots { display: flex; gap: 10px; align-items: center; }
.hero-dot { position: relative; width: 54px; height: 22px; display: grid; align-items: center; }
.hero-dot::before { content: ""; height: 2px; background: rgba(255, 248, 238, .3); border-radius: 2px; }
.hero-dot span { position: absolute; left: 0; height: 2px; width: 0; background: #F0D2A8; top: 10px; }
.hero-dot.is-active span { animation: heroProgress var(--hero-ms, 7000ms) linear forwards; }
.hero.is-paused .hero-dot.is-active span { animation-play-state: paused; }
@keyframes heroProgress { to { width: 100%; } }
.hero-count { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .1em; color: rgba(255, 248, 238, .8); }
.hero-count b { color: #fff; font-weight: 500; font-size: 1.5rem; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 248, 238, .4); display: grid; place-items: center; color: #FFF8EE; transition: all .3s var(--ease); }
.hero-arrow:hover { background: #FFF8EE; color: #1F1A15; }
.hero-scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3; display: none; }

/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 4; margin-top: -64px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.trust-item { display: flex; align-items: center; gap: 18px; padding: 28px clamp(18px, 2.4vw, 34px); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-ic { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--accent); }
.trust-ic .ic { width: 26px; height: 26px; }
.trust-item h3 { font-size: 1.35rem; margin: 0 0 2px; }
.trust-item p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- Category arches ---------- */
.arches { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.arch { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; color: var(--ink); }
.arch-frame { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--surface-2); isolation: isolate; }
.arch-frame::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 248, 238, .7); border-radius: 999px 999px 10px 10px; z-index: 2; pointer-events: none; transition: inset .5s var(--ease-out); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.arch:hover .arch-frame img { transform: scale(1.06); }
.arch:hover .arch-frame::before { inset: 12px; }
.arch h3 { margin: 0; font-size: clamp(1.35rem, 1.7vw, 1.65rem); }
.arch span { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.arch:hover h3 { color: var(--accent); }

/* ---------- Tabs (AJAX product tabs) ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: clamp(26px, 3.4vw, 42px); }
.tab { min-height: 42px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); transition: all .25s var(--ease); }
.tab:hover { color: var(--ink); border-color: var(--line-strong); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tab-panel { transition: opacity .3s; }
.tab-panel.is-loading { opacity: .35; pointer-events: none; }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px) clamp(14px, 1.8vw, 26px); }
.pcard { position: relative; display: flex; flex-direction: column; gap: 14px; color: var(--ink); min-width: 0; }
.pcard-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
/* No stacking context here: the card buttons (z 2) must sit above the title link that covers the whole card (z 1). */
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease-out); }
.pcard-media .img-2 { opacity: 0; }
.pcard:hover .pcard-media .img-2 { opacity: 1; }
.pcard:hover .pcard-media img { transform: scale(1.045); }
.pcard-badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pcard-actions { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.pcard-act { width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(6px); display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), background .2s, color .2s, opacity .3s; }
.pcard-act .ic { width: 18px; height: 18px; }
.pcard-act:hover { background: var(--ink); color: var(--bg); }
.pcard-act[aria-pressed="true"] { color: var(--accent); }
.pcard-act[aria-pressed="true"] .ic { fill: currentColor; }
.pcard-act.q { opacity: 0; transform: translateX(8px); }
.pcard:hover .pcard-act.q, .pcard:focus-within .pcard-act.q { opacity: 1; transform: none; }
.pcard-cta { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.pcard:hover .pcard-cta, .pcard:focus-within .pcard-cta { opacity: 1; transform: none; }
.pcard-cta .btn { width: 100%; min-height: 44px; background: color-mix(in srgb, var(--surface) 94%, transparent); color: var(--ink); border-color: transparent; backdrop-filter: blur(8px); }
.pcard-cta .btn:hover { color: var(--accent-ink); }
.pcard-body { display: grid; gap: 4px; }
.pcard-cat { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.pcard-title { font-family: var(--font-display); font-size: 1.32rem; font-weight: 500; line-height: 1.2; margin: 0; color: var(--ink); }
.pcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard-title a:hover { color: var(--accent); }
.pcard-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: .95rem; font-weight: 500; }
.pcard-price del { color: var(--ink-3); font-weight: 400; font-size: .85rem; }
.pcard-price .note { flex-basis: 100%; font-size: .74rem; color: var(--ink-3); font-weight: 400; }
.pcard-meta { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-3); }
.pcard-swatches { display: flex; gap: 4px; }
.pcard-swatches i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line-strong); }
.stars { display: inline-flex; gap: 1px; color: var(--gold); }
.stars .ic { width: 14px; height: 14px; }
.stars .on { fill: currentColor; }
/* list view */
.products.is-list { grid-template-columns: minmax(0, 1fr); }
.products.is-list .pcard { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 28px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.products.is-list .pcard-desc { display: block; }
.pcard-desc { display: none; color: var(--ink-2); font-size: .95rem; }

/* ---------- Carousel (scroll-snap) ---------- */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per, 4) - 1) * var(--gap, 26px)) / var(--per, 4)); gap: var(--gap, 26px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > *, .cquad > * { scroll-snap-align: start; min-width: 0; }
.cquad { display: contents; } /* product rails: the 2 × 2 phone blocks dissolve into one row on wider screens */
.carousel-nav { display: flex; align-items: center; gap: 16px; margin-top: 28px; justify-content: center; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); transition: all .25s var(--ease); background: var(--surface); }
.carousel-btn:hover:not([disabled]) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.carousel-btn[disabled] { opacity: .35; cursor: default; }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); transition: all .3s var(--ease); }
.carousel-dot.is-active { width: 28px; background: var(--accent); }
.carousel-count { font-size: .78rem; letter-spacing: .14em; color: var(--ink-3); min-width: 54px; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- Explore collection (editorial grid) ---------- */
.explore { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(160px, 17vw, 240px); gap: clamp(12px, 1.6vw, 22px); }
.explore-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: flex-end; padding: clamp(18px, 2.2vw, 30px); color: #FFF8EE; isolation: isolate; }
.explore-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.explore-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 10, 7, 0) 30%, rgba(14, 10, 7, .72)); transition: opacity .4s; }
.explore-tile:hover img { transform: scale(1.06); }
.explore-tile:hover { color: #FFF8EE; }
.explore-tile h3 { color: #FFF8EE; margin: 0 0 4px; font-size: clamp(1.5rem, 2.2vw, 2.2rem); }
.explore-tile span { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #F0D7B2; }
.explore-tile .go { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 248, 238, .16); backdrop-filter: blur(8px); border: 1px solid rgba(255, 248, 238, .4); transition: all .35s var(--ease); }
.explore-tile:hover .go { background: #FFF8EE; color: #1F1A15; transform: rotate(-45deg); }
.explore-tile:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.explore-tile:nth-child(2) { grid-column: span 3; }
.explore-tile:nth-child(3) { grid-column: span 3; }
.explore-tile:nth-child(4) { grid-column: span 3; }
.explore-tile:nth-child(5) { grid-column: span 3; }

/* ---------- Room mosaic ---------- */
.mosaic { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, clamp(200px, 22vw, 320px)); gap: clamp(12px, 1.6vw, 22px); }
.mosaic a { position: relative; overflow: hidden; border-radius: var(--r-lg); color: #FFF8EE; isolation: isolate; display: flex; align-items: flex-end; padding: 24px; }
.mosaic a:first-child { grid-row: span 2; }
.mosaic a:nth-child(4) { grid-column: span 2; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.mosaic a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(14, 10, 7, .7)); }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic a:hover { color: #FFF8EE; }
.mosaic h3 { color: #FFF8EE; margin: 0; font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 2.3vw, 2.3rem); }
.mosaic small { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #F0D7B2; margin-bottom: 6px; }

/* ---------- Story split ---------- */
.story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-media { position: relative; min-height: clamp(420px, 46vw, 620px); }
.story-media .m1 { position: absolute; left: 0; top: 0; width: 72%; height: 82%; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.story-media .m2 { position: absolute; right: 0; bottom: 0; width: 48%; height: 52%; border-radius: var(--r-lg); overflow: hidden; border: 10px solid var(--bg); box-shadow: var(--shadow-lg); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media .seal { position: absolute; left: 62%; top: 10%; width: 112px; height: 112px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.1; padding: 16px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.story-points { display: grid; gap: 14px; margin: 28px 0 34px; padding: 0; list-style: none; }
.story-points li { display: flex; gap: 14px; align-items: flex-start; }
.story-points .ic { color: var(--accent); margin-top: 3px; }

/* ---------- Why grid ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.why-item { padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .35s var(--ease), background .35s; position: relative; overflow: hidden; }
.why-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.why-item:hover { border-color: var(--line-strong); }
.why-item:hover::after { transform: scaleX(1); }
.why-item .ic-wrap { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft); color: var(--accent); margin-bottom: 22px; transition: transform .45s var(--ease); }
.why-item:hover .ic-wrap { transform: rotate(-8deg) scale(1.06); }
.why-item h3 { font-size: 1.45rem; margin-bottom: 8px; }
.why-item p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.section-ink .why-item { background: rgba(255, 248, 238, .03); border-color: rgba(255, 248, 238, .1); }
.section-ink .why-item p { color: #C9BDAB; }

/* ---------- Wholesale band ---------- */
.band { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: #1C1713; color: #F2EADD; min-height: 420px; }
.band-copy { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.band-copy h2 { color: #FFF8EE; }
.band-copy p { color: #CDBFAC; max-width: 520px; }
.band-copy .eyebrow { color: #E2B985; }
.band-media { position: relative; min-height: 280px; }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-list { list-style: none; padding: 0; margin: 6px 0 30px; display: grid; gap: 10px; }
.band-list li { display: flex; gap: 10px; align-items: center; color: #E6DBCB; }
.band-list .ic { width: 18px; height: 18px; color: #E2B985; }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; height: 100%; }
.quote-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.4; font-style: italic; }
.quote-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .9rem; }
.quote-card footer img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* ---------- Journal ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.post-card { display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.post-card .ph { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card:hover img { transform: scale(1.05); }
.post-card .meta { display: flex; gap: 12px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.post-card h3 { margin: 0; font-size: 1.6rem; transition: color .2s; }
.post-card:hover h3 { color: var(--accent); }
.post-card p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: clamp(32px, 5vw, 72px); text-align: center; overflow: hidden; }
.newsletter::before, .newsletter::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 1px solid var(--gold-soft); }
.newsletter::before { left: -160px; top: -200px; }
.newsletter::after { right: -160px; bottom: -220px; }
.newsletter form { display: flex; gap: 10px; max-width: 560px; margin: 26px auto 10px; position: relative; z-index: 1; }
.newsletter input[type="email"] { flex: 1; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; }
.field + .field { margin-top: 16px; }
.field-row { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 16px; }
.field-row + .field, .field + .field-row, .field-row + .field-row { margin-top: 16px; }
label, .label { font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: var(--ink); }
.req { color: var(--accent); }
.input, .select, .textarea, input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], select, textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-size: 16px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
.is-invalid, input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .82rem; }
.field-hint { color: var(--ink-3); font-size: .8rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; font-weight: 400; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; min-height: 0; padding: 0; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); flex: none; display: grid; place-items: center; margin-top: 1px; cursor: pointer; transition: all .2s; }
.check input[type="radio"] { border-radius: 50%; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check input[type="radio"]:checked::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--accent-ink); transform: none; }
.input-group { display: flex; }
.input-group input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; min-height: 52px; }

/* Enhanced select (keeps the real <select> for forms) */
.xsel { position: relative; }
.xsel select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.xsel-btn { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); text-align: left; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.xsel-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xsel-btn .ic { width: 16px; height: 16px; color: var(--ink-3); transition: transform .25s; flex: none; }
.xsel.is-open .xsel-btn { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.xsel.is-open .xsel-btn .ic { transform: rotate(180deg); }
.xsel-sm .xsel-btn { min-height: 42px; font-size: .9rem; border-radius: var(--r-pill); padding: 0 16px; }
.xsel-list { position: fixed; z-index: 200; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 6px; max-height: 300px; overflow: auto; opacity: 0; transform: translateY(-4px); transition: opacity .18s, transform .18s; }
.xsel-list.is-open { opacity: 1; transform: none; }
.xsel-search { width: 100%; min-height: 42px !important; margin-bottom: 6px; font-size: 14px !important; }
.xsel-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; font-size: .92rem; }
.xsel-opt[aria-selected="true"] { color: var(--accent); font-weight: 500; }
.xsel-opt[aria-selected="true"]::after { content: ""; width: 6px; height: 11px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-right: 4px; }
.xsel-opt.is-hl { background: var(--surface-2); }
.xsel-opt[aria-disabled="true"] { opacity: .45; cursor: default; }

/* ---------- Alerts & toasts ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--r-sm); font-size: .92rem; background: var(--surface-2); border: 1px solid var(--line); }
.alert .ic { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert-success { background: var(--success-soft); border-color: transparent; color: var(--success); }
.alert-warning { background: var(--warning-soft); border-color: transparent; color: var(--warning); }
.alert-danger { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
.alert-info { background: var(--gold-soft); border-color: transparent; color: var(--ink); }
.toasts { position: fixed; z-index: 300; right: 18px; bottom: 18px; display: grid; gap: 10px; width: min(380px, calc(100vw - 36px)); }
.toast { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); font-size: .92rem; animation: toastIn .45s var(--ease-out); }
.toast .ic { flex: none; color: var(--gold); }
.toast.is-error .ic { color: #F2A391; }
.toast a { color: var(--gold); text-decoration: underline; margin-left: auto; white-space: nowrap; }
.toast.is-out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Page hero & breadcrumbs ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); background: var(--bg-2); overflow: hidden; }
.page-hero.has-img { color: #FFF8EE; background: #1B1612; }
.page-hero.has-img h1, .page-hero.has-img .crumbs a, .page-hero.has-img .crumbs { color: #FFF8EE; }
.page-hero.has-img .lead { color: rgba(255, 248, 238, .82); }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
/* Strong on the text side so white headings stay readable on light photos (white sofas, bright rooms). */
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 6, 12, .86) 0%, rgba(26, 6, 12, .66) 55%, rgba(26, 6, 12, .38) 100%), linear-gradient(0deg, rgba(26, 6, 12, .5), transparent 60%); }
.page-hero.has-img h1, .page-hero.has-img .lead { text-shadow: 0 2px 22px rgba(20, 4, 10, .5); }
.page-hero > :not(.page-hero-bg) { position: relative; z-index: 1; } /* any container width stays above the photo */
.page-hero h1 { margin: 10px 0 12px; }
.page-hero .lead { max-width: 640px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .08em; color: var(--ink-3); list-style: none; padding: 0; margin: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); }
.page-hero.has-img .crumbs [aria-current] { color: #F0D2A8; }

/* ---------- Listing ---------- */
.listing { display: grid; grid-template-columns: 290px 1fr; gap: clamp(28px, 3.4vw, 54px); align-items: start; }
.filters { position: sticky; top: calc(var(--sticky-top, var(--header-h)) + 24px); max-height: calc(100vh - var(--sticky-top, var(--header-h)) - 48px); overflow: auto; padding-right: 8px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-head { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--ink); }
.filter-head .ic { width: 16px; height: 16px; transition: transform .25s; }
.filter-group.is-collapsed .filter-head .ic { transform: rotate(-90deg); }
.filter-group.is-collapsed .filter-body { display: none; }
.filter-body { margin-top: 14px; display: grid; gap: 4px; }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .92rem; cursor: pointer; color: var(--ink-2); }
.filter-opt:hover { color: var(--ink); }
.filter-opt input { width: 20px; height: 20px; }
.filter-opt .count { margin-left: auto; font-size: .76rem; color: var(--ink-3); }
.filter-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.filter-sizes label { display: grid; place-items: center; min-height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .8rem; cursor: pointer; transition: all .2s; text-align: center; padding: 0 4px; }
.filter-sizes input { position: absolute; opacity: 0; pointer-events: none; }
.filter-sizes input:checked + span { color: var(--bg); }
.filter-sizes label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filter-sizes label:hover { border-color: var(--accent); }
.filter-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-colors label { position: relative; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.filter-colors label span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .2s; }
.filter-colors input { position: absolute; opacity: 0; pointer-events: none; }
.filter-colors label:has(input:checked) { box-shadow: 0 0 0 2px var(--accent); }
.filter-colors label:hover span { transform: scale(1.1); }
.range { position: relative; height: 34px; margin-top: 6px; }
.range input[type="range"] { position: absolute; left: 0; right: 0; top: 12px; width: 100%; height: 4px; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; min-height: 0; padding: 0; border: 0; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); cursor: grab; box-shadow: var(--shadow-sm); }
.range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); cursor: grab; }
.range-track { position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--line-strong); }
.range-fill { position: absolute; top: 12px; height: 4px; border-radius: 4px; background: var(--accent); }
.range-vals { display: flex; justify-content: space-between; font-size: .84rem; color: var(--ink-2); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.toolbar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.result-count { font-size: .9rem; color: var(--ink-2); }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px; }
.view-toggle button { width: 38px; height: 34px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--ink-3); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.view-toggle .ic { width: 17px; height: 17px; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active-chips .chip { min-height: 34px; font-size: .8rem; background: var(--surface-2); border-color: transparent; }
.active-chips .chip .ic { width: 13px; height: 13px; }
.filter-toggle { display: none; }
.listing-results { min-width: 0; transition: opacity .25s; }
.listing-results.is-loading { opacity: .4; pointer-events: none; }
.empty { text-align: center; padding: clamp(40px, 6vw, 80px) 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--surface); }
.empty .ic { width: 46px; height: 46px; margin: 0 auto 16px; color: var(--gold); }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--ink-2); max-width: 420px; margin: 0 auto 22px; }

/* Pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: clamp(36px, 4vw, 56px); flex-wrap: wrap; }
.pager > a, .pager > span { min-width: 46px; height: 46px; padding: 0 14px; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); font-size: .9rem; color: var(--ink); background: var(--surface); transition: all .2s var(--ease); font-variant-numeric: tabular-nums; }
.pager > a:hover { border-color: var(--ink); color: var(--ink); }
.pager [aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager .gap { border: 0; background: none; min-width: 20px; }
.pager .disabled { opacity: .4; }
.pager-summary { text-align: center; margin-top: 12px; font-size: .82rem; color: var(--ink-3); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4.4vw, 76px); align-items: start; }
.gallery { display: grid; grid-template-columns: 86px 1fr; gap: 16px; position: sticky; top: calc(var(--sticky-top, var(--header-h)) + 20px); }
.gallery-thumbs { display: grid; gap: 10px; align-content: start; max-height: 640px; overflow: auto; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb { aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); opacity: .7; transition: all .25s; background: var(--surface-2); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb[aria-current="true"], .gallery-thumb:hover { opacity: 1; border-color: var(--ink); }
.gallery-main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s var(--ease), transform .25s; }
.gallery-main .zoom-btn { position: absolute; right: 14px; bottom: 14px; z-index: 2; background: var(--surface); box-shadow: var(--shadow-sm); }
.gallery-main .interim { position: absolute; left: 14px; bottom: 14px; z-index: 2; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: var(--shadow-sm); }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-dots { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10, 8, 6, .94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; cursor: zoom-out; }
.lightbox .icon-btn { position: absolute; color: #fff; }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; }
.lightbox .lb-next { right: 16px; top: 50%; }
.lightbox .lb-count { position: absolute; bottom: 20px; color: #ccc; font-size: .85rem; letter-spacing: .14em; }
.pdp-info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.pdp-info h1 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); margin: 0; }
.pdp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .84rem; color: var(--ink-3); }
.pdp-meta b { color: var(--ink-2); font-weight: 500; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font-family: var(--font-display); font-size: clamp(1.9rem, 2.8vw, 2.5rem); font-weight: 500; }
.pdp-price del { font-size: 1.15rem; color: var(--ink-3); }
.pdp-price .badge { font-family: var(--font-body); }
.pdp-price-note { font-size: .84rem; color: var(--ink-3); margin-top: -12px; }
.pdp-look { color: var(--ink-2); font-size: 1.04rem; margin: 0; }
.opt-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.opt-label b { letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink-2); font-size: .92rem; }
.size-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.size-opt { position: relative; min-height: 58px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); display: grid; place-items: center; text-align: center; padding: 6px; font-size: .88rem; line-height: 1.25; transition: all .2s var(--ease); background: var(--surface); }
.size-opt small { display: block; font-size: .7rem; color: var(--ink-3); }
.size-opt:hover { border-color: var(--ink); }
.size-opt[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.size-opt[aria-checked="true"] small { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.size-opt.is-unavailable { color: var(--ink-3); background: transparent; border-style: dashed; }
.size-opt.is-unavailable[aria-checked="true"] { background: var(--surface-2); color: var(--ink); border-style: solid; }
.size-custom { border-style: dashed; color: var(--accent); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-pill); height: 54px; background: var(--surface); }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; color: var(--ink-2); }
.qty button:hover { color: var(--accent); }
.qty input { width: 44px; min-height: 0; height: 100%; border: 0; text-align: center; padding: 0; background: transparent; font-weight: 500; -moz-appearance: textfield; }
.qty input:focus { box-shadow: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 42px; }
.qty-sm button { width: 36px; }
.qty-sm input { width: 34px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 180px; min-height: 54px; }
.buy-alt { display: flex; gap: 8px; flex-wrap: wrap; }
.buy-alt .chip { flex: 1 1 auto; justify-content: center; min-height: 46px; }
.stock-line { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.stock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.stock-dot.warn { background: var(--warning); box-shadow: 0 0 0 4px var(--warning-soft); }
.stock-dot.off { background: var(--ink-3); box-shadow: none; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--gold-soft); font-size: .88rem; color: var(--ink-2); }
.notice .ic { color: var(--gold); flex: none; margin-top: 2px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.perk { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px 10px; border: 1px solid var(--line); border-radius: var(--r); font-size: .8rem; color: var(--ink-2); }
.perk .ic { color: var(--accent); }
.pin-check { display: flex; gap: 8px; }
.pin-check input { min-height: 46px; }
.pin-check .btn { min-height: 46px; }
.pin-result { font-size: .86rem; margin-top: 8px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 0; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; text-align: left; color: var(--ink); }
.acc-btn .ic { transition: transform .3s var(--ease); width: 18px; height: 18px; }
.acc-btn[aria-expanded="true"] .ic { transform: rotate(45deg); }
.acc-panel { overflow: hidden; height: 0; transition: height .35s var(--ease); }
.acc-panel > div { padding-bottom: 22px; color: var(--ink-2); font-size: .96rem; }
.acc-item.is-open .acc-panel { height: auto; }
.no-js .acc-panel { height: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 500; color: var(--ink-3); font-size: .84rem; letter-spacing: .04em; }
.pdp-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.pdp-nav a { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-2); max-width: 48%; }
.pdp-nav a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-buy { display: none; }
.prose { color: var(--ink-2); font-size: 1.04rem; line-height: 1.8; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 { margin: 1.4em 0 .4em; color: var(--ink); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--ink); }
.prose img { border-radius: var(--r); margin: 1.4em 0; }
.prose > *:first-child { margin-top: 0; }

/* Reviews */
.reviews-summary { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.rating-big { font-family: var(--font-display); font-size: 4rem; line-height: 1; }
.review { padding: 24px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.review h4 { margin: 0 0 6px; font-size: 1.3rem; }
.review-reply { margin-top: 12px; padding: 12px 16px; border-left: 2px solid var(--gold); background: var(--surface-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .92rem; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { cursor: pointer; color: var(--line-strong); }
.star-input label .ic { width: 30px; height: 30px; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input label:hover .ic, .star-input label:hover ~ label .ic, .star-input input:checked ~ label .ic { fill: currentColor; }

/* ---------- Cart & checkout ---------- */
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line .ph { aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.cart-line .ph img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h4 { font-size: 1.25rem; margin: 0 0 4px; }
.cart-line .opts { font-size: .84rem; color: var(--ink-3); }
.cart-line .line-total { font-weight: 500; text-align: right; white-space: nowrap; }
.cart-line .line-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.cart-line .remove { font-size: .8rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.cart-line .remove:hover { color: var(--danger); }
.cart-line .warn { margin-top: 8px; font-size: .82rem; color: var(--warning); }
.mini-line { grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; }
.mini-line h4 { font-size: 1.1rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: clamp(28px, 4vw, 60px); align-items: start; }
.summary { position: sticky; top: calc(var(--sticky-top, var(--header-h)) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 14px; }
.summary h3 { margin: 0; font-size: 1.7rem; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; color: var(--ink-2); }
.sum-row b { color: var(--ink); font-weight: 500; }
.sum-row.discount b { color: var(--success); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 1.9rem; }
.sum-total small { font-family: var(--font-body); font-size: .76rem; color: var(--ink-3); display: block; text-align: right; }
.free-ship { font-size: .84rem; color: var(--ink-2); }
.free-ship .bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: 8px; }
.free-ship .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); }
.coupon-box { display: grid; gap: 10px; }
.coupon-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--success-soft); color: var(--success); font-size: .88rem; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8rem; color: var(--ink-3); }
.secure-note .ic { width: 16px; height: 16px; }
.steps { display: flex; gap: 8px; align-items: center; margin-bottom: 30px; flex-wrap: wrap; }
.step { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.step i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-style: normal; font-size: .82rem; letter-spacing: 0; }
.step.is-done i, .step.is-current i { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.step.is-current { color: var(--ink); }
.step-sep { flex: 0 0 40px; height: 1px; background: var(--line-strong); }
.co-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 32px); }
.co-section + .co-section { margin-top: 18px; }
.co-section h3 { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; margin-bottom: 18px; }
.co-section h3 .num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--font-body); font-size: .85rem; }
.choice { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--r); cursor: pointer; transition: all .2s; background: var(--surface); }
.choice + .choice { margin-top: 10px; }
.choice:hover { border-color: var(--ink); }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.choice input { margin-top: 3px; }
.choice-body { flex: 1; display: grid; gap: 3px; }
.choice-body b { font-weight: 500; }
.choice-body small { color: var(--ink-3); font-size: .84rem; }
.choice-price { font-weight: 500; white-space: nowrap; }
.choice.is-disabled { opacity: .5; pointer-events: none; }
.pay-logos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.pay-logos span { font-size: .66rem; letter-spacing: .08em; padding: 3px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-3); }
.address-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

/* ---------- Account ---------- */
.account { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 3.4vw, 50px); align-items: start; }
.acc-nav { position: sticky; top: calc(var(--sticky-top, var(--header-h)) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; display: grid; gap: 2px; }
.acc-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); font-size: .94rem; color: var(--ink-2); }
.acc-nav a .ic { width: 19px; height: 19px; }
.acc-nav a:hover { background: var(--surface-2); color: var(--ink); }
.acc-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.acc-hello { padding: 14px 14px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.acc-hello b { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); }
.card + .card { margin-top: 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.7rem; }
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.stat-tile b { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; line-height: 1.1; }
.stat-tile span { font-size: .8rem; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 22px 32px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: -8px; width: 1px; background: var(--line-strong); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--accent); background: var(--bg); }
.timeline li.is-done::after { background: var(--accent); }
.timeline b { display: block; font-weight: 500; }
.timeline small { color: var(--ink-3); }
.progress-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 22px; }
.progress-track div { text-align: center; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.progress-track div::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 8px; }
.progress-track div.is-done { color: var(--ink); }
.progress-track div.is-done::before { background: linear-gradient(90deg, var(--accent), var(--gold)); }

/* ---------- Auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.auth-media { position: relative; overflow: hidden; }
.auth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 7, .1), rgba(14, 10, 7, .65)); }
.auth-media blockquote { position: absolute; left: 48px; right: 48px; bottom: 48px; z-index: 1; margin: 0; color: #FFF8EE; font-family: var(--font-display); font-size: 2rem; line-height: 1.25; font-style: italic; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 70px) var(--gutter); }
.auth-box { width: min(460px, 100%); }
.auth-box h1 { font-size: clamp(2.2rem, 3.4vw, 3rem); }
.or { display: flex; align-items: center; gap: 14px; margin: 22px 0; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-google { --b-bg: var(--surface); --b-fg: var(--ink); --b-bd: var(--line-strong); text-transform: none; letter-spacing: .02em; font-size: .95rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); margin-bottom: 22px; }
.seg button, .seg a { min-height: 42px; border-radius: var(--r-pill); font-size: .82rem; letter-spacing: .08em; display: grid; place-items: center; color: var(--ink-2); }
.seg [aria-selected="true"], .seg .is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Upload field ---------- */
.upload { border: 1.5px dashed var(--line-strong); border-radius: var(--r); padding: 18px; text-align: center; background: var(--surface); transition: border-color .2s, background .2s; position: relative; }
.upload.is-drag { border-color: var(--accent); background: var(--accent-soft); }
.upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload .ic { margin: 0 auto 8px; color: var(--accent); }
.upload-files { display: grid; gap: 8px; margin-top: 12px; text-align: left; }
.upload-file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); font-size: .86rem; }
.upload-file img, .upload-file .fi { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; flex: none; font-size: .64rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-2); }
.upload-file .meta { flex: 1; min-width: 0; }
.upload-file .meta b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.upload-file .meta small { color: var(--ink-3); }
.upload-file .x { color: var(--ink-3); }
.upload-file .x:hover { color: var(--danger); }
.upload-file.is-error { border-color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer { background: #17130F; color: #CFC3B1; padding-top: clamp(60px, 7vw, 96px); margin-top: 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--accent) 0 18px, var(--gold) 18px 22px, #2B241D 22px 40px); opacity: .9; }
.site-footer a { color: #CFC3B1; }
.site-footer a:hover { color: #F0D2A8; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(28px, 4vw, 60px); padding-bottom: clamp(40px, 5vw, 64px); }
.footer-brand .brand { align-items: flex-start; color: #F6EFE3; }
.footer-brand .brand-tag { color: #8E8272; }
.footer-brand p { margin: 20px 0; max-width: 380px; font-size: .95rem; }
.footer-col h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: #F6EFE3; font-weight: 500; margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .94rem; }
.footer-contact { display: grid; gap: 12px; font-size: .92rem; margin-top: 6px; }
.footer-contact a, .footer-contact span { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ic { width: 18px; height: 18px; color: #D9A56B; margin-top: 3px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(207, 195, 177, .25); display: grid; place-items: center; transition: all .25s; }
.socials a:hover { background: #F0D2A8; color: #17130F; border-color: #F0D2A8; }
.socials .ic { width: 18px; height: 18px; }
.footer-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; padding: 22px 0; border-top: 1px solid rgba(207, 195, 177, .12); font-size: .82rem; }
.footer-trust span { display: inline-flex; gap: 8px; align-items: center; }
.footer-trust .ic { width: 18px; height: 18px; color: #D9A56B; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0 28px; border-top: 1px solid rgba(207, 195, 177, .12); font-size: .82rem; color: #9C907F; }
.footer-bottom a { color: #CFC3B1; }
.footer-wordmark { font-family: var(--font-display); font-size: clamp(3.6rem, 13vw, 12rem); line-height: .8; letter-spacing: .08em; color: transparent; -webkit-text-stroke: 1px rgba(240, 210, 168, .14); text-align: center; white-space: nowrap; user-select: none; margin-bottom: -.12em; overflow: hidden; }
.theme-switch { display: inline-flex; padding: 3px; border-radius: var(--r-pill); border: 1px solid rgba(207, 195, 177, .25); }
.theme-switch button { width: 34px; height: 30px; border-radius: var(--r-pill); display: grid; place-items: center; color: #9C907F; }
.theme-switch button[aria-checked="true"] { background: #F0D2A8; color: #17130F; }
.theme-switch .ic { width: 15px; height: 15px; }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 20px; bottom: 22px; z-index: 70; display: grid; gap: 10px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .3s var(--ease); color: #fff; }
.fab:hover { transform: translateY(-3px) scale(1.04); color: #fff; }
.fab .ic { width: 26px; height: 26px; }
.fab-wa { background: #1F8F5A; }
.fab-call { background: var(--ink); color: var(--bg); display: none; }
.fab-top { background: var(--surface); color: var(--ink); border: 1px solid var(--line); opacity: 0; visibility: hidden; transition: all .3s; width: 46px; height: 46px; justify-self: end; }
.fab-top.is-on { opacity: 1; visibility: visible; }
.fab-top:hover { color: var(--accent); }

/* ---------- Cookie consent ---------- */
.consent { position: fixed; left: 18px; bottom: 18px; z-index: 250; width: min(440px, calc(100vw - 36px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px; display: none; }
.consent.is-open { display: block; animation: toastIn .5s var(--ease-out); }
.consent h4 { margin: 0 0 6px; font-size: 1.35rem; }
.consent p { font-size: .88rem; color: var(--ink-2); margin-bottom: 14px; }
.consent .flex { gap: 8px; flex-wrap: wrap; }

/* ---------- Reveal on scroll (content always visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: .40s; }
.js .reveal-stagger.is-in > *:nth-child(n+7) { transition-delay: .46s; }
/* The wipe is on the picture inside, never on the observed box: a fully clipped box counts as "not visible" and would never be revealed. */
.js .reveal-img > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); }
.js .reveal-img.is-in > * { clip-path: inset(0 0 0 0); }

/* Skeleton */
.skel { background: linear-gradient(90deg, var(--surface-2), var(--bg-2), var(--surface-2)); background-size: 200% 100%; animation: skel 1.4s infinite; border-radius: var(--r-sm); }
@keyframes skel { to { background-position: -200% 0; } }

/* Compare table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.compare { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .92rem; }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare th { width: 180px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; position: sticky; left: 0; background: var(--surface); }
.compare .ph { aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); margin-bottom: 10px; max-width: 200px; }
.compare .ph img { width: 100%; height: 100%; object-fit: cover; }
.compare h4 { font-size: 1.25rem; margin: 0 0 8px; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); display: grid; gap: 10px; }
.contact-card .ic-wrap { width: 50px; height: 50px; border-radius: 14px; background: var(--gold-soft); color: var(--accent); display: grid; place-items: center; }
.contact-card h3 { font-size: 1.4rem; margin: 6px 0 0; }
.contact-card p, .contact-card a { margin: 0; color: var(--ink-2); }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--surface-2); }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: saturate(.85); }
:root[data-theme="night"] .map-frame iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }

/* Error pages */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px var(--gutter); }
.error-code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 12rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .header-search-btn { min-width: 0; }
  .header-search-btn span, .header-search-btn kbd { display: none; }
  .header-search-btn { width: 44px; padding: 0; justify-content: center; border: 0; background: none; }
  .products { --cols: 3; }
  .why { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .only-desktop { display: none !important; }
  .nav-row { display: none; }
  .header-row { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; }
  .brand-word { font-size: 1.4rem; letter-spacing: .26em; }
  .brand-tag { display: none; }
  .cart-pill { padding: 0; width: 44px; justify-content: center; background: none; color: var(--ink); margin: 0; }
  .cart-pill .lbl { display: none; }
  .cart-pill .count { position: absolute; transform: translate(12px, -12px); }
  .cart-pill .count[data-count="0"] { display: none; } /* an empty bag shows no floating "0" on the phone icon */
  .cart-pill { position: relative; }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 150; width: min(400px, 90vw); max-height: none; background: var(--bg); padding: 0; transform: translateX(-104%); transition: transform .45s var(--ease-out), visibility .45s; visibility: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
  .filters.is-open { transform: none; visibility: visible; }
  .filters-scroll { flex: 1; overflow: auto; padding: 18px 22px; }
  .filter-toggle { display: inline-flex; }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .gallery-thumbs { grid-auto-flow: column; grid-auto-columns: 72px; grid-template-rows: auto; order: 2; max-height: none; overflow-x: auto; }
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .account { grid-template-columns: minmax(0, 1fr); }
  .acc-nav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
  .acc-nav::-webkit-scrollbar { display: none; }
  .acc-hello { display: none; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .band { grid-template-columns: minmax(0, 1fr); }
  .band-media { order: -1; min-height: 240px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .mega { display: none; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-media { display: none; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .reviews-summary { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .search-results { grid-template-columns: minmax(0, 1fr); }
  .search-products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .trust { margin-top: -40px; }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item { padding: 18px 20px; }
  .trust-ic { width: 48px; height: 48px; }
  .explore { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .explore-tile:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .explore-tile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 210px; }
  .mosaic a:first-child { grid-row: span 1; grid-column: span 2; }
  .mosaic a:nth-child(4) { grid-column: span 2; }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .stat-tiles { grid-template-columns: minmax(0, 1fr); }
  .address-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Phones: app-like shell */
@media (max-width: 767px) {
  :root { --header-h: 60px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .topbar { display: none; }
  .brand-word { font-size: 1.22rem; letter-spacing: .2em; padding-left: .2em; }
  .header-tools .hide-sm { display: none !important; }
  .app-bar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .35); }
  .app-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; font-size: .64rem; letter-spacing: .06em; color: var(--ink-3); border-radius: 14px; }
  .app-tab .ic { width: 22px; height: 22px; }
  .app-tab[aria-current="page"] { color: var(--accent); }
  .app-tab[aria-current="page"]::before { content: ""; position: absolute; top: -6px; width: 26px; height: 3px; border-radius: 0 0 4px 4px; background: var(--accent); }
  .app-tab .count { position: absolute; top: 4px; left: 50%; margin-left: 6px; min-width: 17px; height: 17px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: .6rem; display: grid; place-items: center; padding: 0 4px; font-weight: 600; }
  .app-tab .count[data-count="0"] { display: none; }
  .float-actions { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; }
  .fab { width: 50px; height: 50px; }
  .fab-call { display: grid; }
  .toasts { bottom: calc(84px + env(safe-area-inset-bottom)); right: 12px; left: 12px; width: auto; }
  .consent { left: 10px; right: 10px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .hero { min-height: min(88svh, 720px); }
  .hero-content { padding-block: 70px 130px; }
  .hero-shade { background: linear-gradient(0deg, rgba(14, 10, 7, .85) 0%, rgba(14, 10, 7, .45) 60%, rgba(14, 10, 7, .25) 100%); }
  .hero-slide { align-items: flex-end; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-arrows { display: none; }
  .hero-ui { bottom: 26px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head.center { align-items: center; }
  .arches { --cols: 2 !important; gap: 14px; }
  .products { --cols: 2; gap: 22px 12px; }
  .pcard-title { font-size: 1.1rem; }
  .pcard-cta { display: none; }
  .pcard-act.q { display: none; }
  .pcard-actions { top: 8px; right: 8px; }
  .pcard-act { width: 36px; height: 36px; }
  .pcard-badges { top: 8px; left: 8px; }
  .badge { height: 22px; padding: 0 8px; font-size: .6rem; }
  /* phones: one whole slide per swipe, never a cut next card */
  .carousel-track { --gap: 16px; grid-auto-columns: 100%; scroll-snap-type: x mandatory; }
  .carousel-track > * { scroll-snap-stop: always; }
  /* product rails: a 2 × 2 block of whole cards per swipe */
  .cquad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; align-content: start; }
  .cquad.is-single { grid-template-columns: minmax(0, 1fr); }
  .cquad.is-part, .cquad.is-trim > :nth-child(n+3) { display: none; }
  .why { grid-template-columns: minmax(0, 1fr); }
  .story-media { min-height: 380px; }
  .story-media .seal { width: 92px; height: 92px; font-size: .9rem; left: auto; right: 6%; top: 4%; }
  .newsletter form { flex-direction: column; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .size-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .perks { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .perk { padding: 12px 6px; font-size: .72rem; }
  .gallery-main { border-radius: var(--r); }
  .gallery-thumbs { display: none; }
  .gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .gallery-dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line-strong); transition: all .3s; }
  .gallery-dots i.is-active { width: 22px; background: var(--accent); }
  .sticky-buy { display: flex; gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 75; padding: 10px 14px; background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(140%); transition: transform .4s var(--ease-out); }
  .sticky-buy.is-on { transform: none; }
  .sticky-buy .sb-price { flex: 1; min-width: 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
  .sticky-buy .sb-price small { display: block; font-family: var(--font-body); font-size: .72rem; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sticky-buy .btn { min-height: 48px; padding: 0 20px; }
  .cart-line { grid-template-columns: 80px 1fr; }
  .cart-line .line-total { grid-column: 2; text-align: left; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .steps .step span { display: none; }
  .step-sep { flex-basis: 24px; }
  .page-hero { padding: 40px 0 30px; }
  .modal { padding: 0; align-items: end; }
  .modal-box { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 90vh; transform: translateY(100%); }
  .listing-toolbar-sort .xsel-btn { min-width: 0; }
  .toolbar { gap: 10px; }
  .result-count { flex-basis: 100%; order: 3; font-size: .82rem; }
  .table-stack thead { display: none; }
  .table-stack tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table-stack td { border: 0; padding: 0; }
  .table-stack td[data-label]::before { content: attr(data-label); display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
}

@media (max-width: 380px) {
  .products { --cols: 1; }
  .products.is-compact { --cols: 2; }
  .size-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arches { --cols: 2 !important; }
  .brand-word { font-size: 1.08rem; letter-spacing: .14em; padding-left: .14em; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-stagger > *, .hero-content > * { opacity: 1 !important; transform: none !important; }
  .js .reveal-img > * { clip-path: none !important; }
  .hero-media img { transform: none !important; }
}

@media print {
  .site-header, .topbar, .site-footer, .app-bar, .float-actions, .consent, .toasts { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}

/* Phone refinements (home) */
@media (max-width: 767px) {
  .trust { margin-top: -34px; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); border-radius: var(--r); }
  .trust-item { flex-direction: column; text-align: center; gap: 8px; padding: 14px 6px; }
  .trust-item + .trust-item { border-top: 0; border-left: 1px solid var(--line); }
  .trust-item p { display: none; }
  .trust-item h3 { font-size: 1rem; line-height: 1.15; }
  .trust-ic { width: 40px; height: 40px; }
  .trust-ic .ic { width: 20px; height: 20px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .hero:has(+ .trust) .hero-ui { bottom: 58px; }
  .hero:has(+ .trust) .hero-content { padding-bottom: 130px; }
}

/* Listing grid columns (kept off inline styles so breakpoints apply) */
.listing-results .products { --cols: 3; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) {
  .listing-results .products { --cols: 2; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip-row .chip { flex: none; min-height: 36px; }
}

/* [hidden] must always win over component display rules */
[hidden] { display: none !important; }
/* Product photos are square (DOC 2.3 #15: one consistent crop) — the gallery frame matches */
.gallery-main { aspect-ratio: 1 / 1; }
.gallery-thumb { aspect-ratio: 1 / 1; }
.size-opt small.is-out { color: var(--danger); }
@media (max-width: 767px) {
  .crumbs { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .crumbs::-webkit-scrollbar { display: none; }
}
.summary.is-loading #co-summary { opacity: .45; transition: opacity .2s; }
.summary .check { align-items: flex-start; }
.listing-results-grid { --cols: 4; }
@media (max-width: 1240px) { .listing-results-grid { --cols: 3; } }
@media (max-width: 767px) { .listing-results-grid { --cols: 2; } }
/* fields side by side in a row never get the stacked-field top margin */
.field-row > .field + .field { margin-top: 0; }
.field-row { align-items: start; }

/* Compact header once the page scrolls (desktop) */
.header-row, .nav-link { transition: height .3s var(--ease); }
@media (min-width: 1025px) {
  .site-header.is-scrolled .header-row { height: 62px; }
  .site-header.is-scrolled .brand-tag { display: none; }
  .site-header.is-scrolled .brand-word { font-size: 1.5rem; }
  .site-header.is-scrolled .nav-link { height: 44px; }
  .site-header.is-scrolled .nav-link::after { bottom: 10px; }
}

/* ==========================================================================
   Royal heritage layer — gold ornaments, foil, jaali lattice, royal sections
   (colours and decoration only; layout stays with the rules above)
   ========================================================================== */
:root {
  --orn-wing: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 7'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' x2='25' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23B08A45' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23B08A45'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 3.5H25' stroke='url(%23g)'/%3E%3Cpath d='M29.5.5l3 3-3 3-3-3z' fill='%23B08A45'/%3E%3C/svg%3E");
  --orn-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 22' fill='none' stroke='%23B08A45'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='76' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23B08A45' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23B08A45'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='220' x2='144' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23B08A45' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23B08A45'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 11H76' stroke='url(%23a)'/%3E%3Cpath d='M144 11H220' stroke='url(%23b)'/%3E%3Cpath d='M110 2l9 9-9 9-9-9z'/%3E%3Cpath d='M110 6.5l4.5 4.5-4.5 4.5-4.5-4.5z' fill='%23B08A45'/%3E%3Cpath d='M101 11c-4 0-6-4-10-4-3 0-4.5 2-4.5 4s1.5 4 4.5 4c2 0 3-1.5 2.5-3M119 11c4 0 6-4 10-4 3 0 4.5 2 4.5 4s-1.5 4-4.5 4c-2 0-3-1.5-2.5-3'/%3E%3Ccircle cx='80' cy='11' r='1.5' fill='%23B08A45'/%3E%3Ccircle cx='140' cy='11' r='1.5' fill='%23B08A45'/%3E%3C/svg%3E");
  --orn-wing-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 7'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' x2='25' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23E5C981' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23E5C981'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 3.5H25' stroke='url(%23g)'/%3E%3Cpath d='M29.5.5l3 3-3 3-3-3z' fill='%23E5C981'/%3E%3C/svg%3E");
  --orn-divider-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 22' fill='none' stroke='%23E5C981'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='76' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23E5C981' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23E5C981'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='220' x2='144' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23E5C981' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23E5C981'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 11H76' stroke='url(%23a)'/%3E%3Cpath d='M144 11H220' stroke='url(%23b)'/%3E%3Cpath d='M110 2l9 9-9 9-9-9z'/%3E%3Cpath d='M110 6.5l4.5 4.5-4.5 4.5-4.5-4.5z' fill='%23E5C981'/%3E%3Cpath d='M101 11c-4 0-6-4-10-4-3 0-4.5 2-4.5 4s1.5 4 4.5 4c2 0 3-1.5 2.5-3M119 11c4 0 6-4 10-4 3 0 4.5 2 4.5 4s-1.5 4-4.5 4c-2 0-3-1.5-2.5-3'/%3E%3Ccircle cx='80' cy='11' r='1.5' fill='%23E5C981'/%3E%3Ccircle cx='140' cy='11' r='1.5' fill='%23E5C981'/%3E%3C/svg%3E");
  --corners: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56' fill='none' stroke='%23E5C981'%3E%3Cpath d='M1 55V18C1 8.6 8.6 1 18 1h37'/%3E%3Cpath d='M7 55V21C7 13.3 13.3 7 21 7h34' stroke-opacity='.45'/%3E%3Cpath d='M19 12l6 6-6 6-6-6z' fill='%23E5C981'/%3E%3C/svg%3E");
  --jaali: url("../img/jaali.svg");
}
:root[data-theme="night"] { --orn-wing: var(--orn-wing-light); --orn-divider: var(--orn-divider-light); }

.foil { background: var(--foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold); }
:root[data-theme="night"] .btn:not(.btn-ghost):not(.btn-outline-light):not(.btn-light) { --b-ring: rgba(28, 14, 10, .32); }

/* Centred section titles carry the gold flourish */
.section-head.center h2::after { content: ""; display: block; width: 220px; max-width: 72%; height: 22px; margin: 18px auto 0; background: var(--orn-divider) center / contain no-repeat; }
.ornament { width: 220px; max-width: 72%; height: 22px; background: var(--orn-divider) center / contain no-repeat; }
.ornament::before, .ornament::after, .ornament i { display: none; }

/* Top bar + header */
.topbar { background: var(--royal); color: #EAD9BC; border-bottom: 1px solid rgba(201, 162, 87, .38); }
.topbar a { color: #EAD9BC; }
.topbar a:hover { color: #F2DEA4; }
.topbar-tools a { font-family: var(--font-royal); font-size: .7rem; font-weight: 600; letter-spacing: .12em; }
.topbar-tools .sep { background: rgba(201, 162, 87, .4); }
.topbar-msg .ic { color: #D4AF6A; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; border-top: 1px solid var(--gold-line); border-bottom: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); pointer-events: none; }
.nav-row { border-top-color: color-mix(in srgb, var(--gold) 26%, transparent); }
.nav-link::after { height: 2px; background: var(--foil); }
.nav-link.is-current { color: var(--accent); }
.brand-crest { width: 46px; height: 20px; color: var(--gold); margin-bottom: 5px; }

/* Hero */
.hero { background: var(--royal); }
/* The text side keeps a floor of darkness, so a light room photo or a low admin overlay never washes out the gold heading. */
.hero-shade { background: linear-gradient(95deg, rgba(26, 6, 12, max(var(--shade, .55), .72)) 0%, rgba(26, 6, 12, max(calc(var(--shade, .55) * .8), .56)) 52%, rgba(26, 6, 12, .1) 100%), linear-gradient(0deg, rgba(26, 6, 12, .6), transparent 42%); }
.hero h1, .hero h2.hero-title, .hero-sub { text-shadow: 0 2px 24px rgba(20, 4, 10, .45); }
.hero-content .eyebrow { color: #E5C981; }
.hero .eyebrow::before, .hero .eyebrow::after { background-image: var(--orn-wing-light); }
.hero-title em { font-style: italic; background: var(--foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #E5C981; padding-right: .08em; }
.hero-frame { position: absolute; inset: clamp(10px, 1.8vw, 24px); z-index: 2; pointer-events: none; border: 1px solid rgba(229, 201, 129, .28); }
.hero-frame::before { content: ""; position: absolute; inset: 6px; background: var(--corners) left top / 48px no-repeat; }
.hero-frame::after { content: ""; position: absolute; inset: 6px; background: var(--corners) left top / 48px no-repeat; transform: scale(-1, -1); }
.hero:has(+ .trust) .hero-frame { bottom: 80px; }
.hero-dot span { background: var(--foil); }
.hero-count b { color: #F2DEA4; }
.hero-arrow { border-color: rgba(229, 201, 129, .55); color: #F2DEA4; }
.hero-arrow:hover { background: var(--foil); color: #2B0D16; border-color: transparent; }

/* Trust strip: double gold frame */
.trust-grid { border-color: var(--gold-line); box-shadow: var(--shadow), inset 0 0 0 6px var(--surface), inset 0 0 0 7px color-mix(in srgb, var(--gold) 28%, transparent); }
.trust-item + .trust-item { border-left-color: color-mix(in srgb, var(--gold) 30%, transparent); }
.trust-ic { background: var(--gold-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--gold-line), 0 0 0 4px var(--surface), 0 0 0 5px color-mix(in srgb, var(--gold) 26%, transparent); }
.trust-item h3, .why-item h3 { font-family: var(--font-royal); font-size: 1.02rem; font-weight: 600; letter-spacing: .06em; }

/* Category arches */
.arch-frame { box-shadow: 0 0 0 1px var(--gold-line); }
.arch-frame::before { border-color: rgba(242, 222, 164, .85); }
.arch span, .pcard-cat { color: var(--gold-text); }
.arch:hover .arch-frame { box-shadow: 0 0 0 1px var(--gold); }

/* Tabs */
.tab { font-family: var(--font-royal); font-size: .72rem; font-weight: 600; letter-spacing: .14em; border-color: var(--gold-line); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 4px rgba(229, 201, 129, .55); }

/* Product cards: gold hairline + inner frame on hover (no lift, no shadow) */
.pcard-media { box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease); }
.pcard-media::after { content: ""; position: absolute; inset: 8px; z-index: 1; pointer-events: none; border: 1px solid transparent; border-radius: calc(var(--r) - 6px); transition: border-color .5s var(--ease), inset .5s var(--ease-out); }
.pcard:hover .pcard-media { box-shadow: 0 0 0 1px var(--gold); }
.pcard:hover .pcard-media::after { inset: 11px; border-color: rgba(242, 222, 164, .85); }
.pcard-badges .badge:not([class*="badge-"]) { background: var(--foil); color: #2B0D16; border: 0; font-family: var(--font-royal); font-weight: 700; letter-spacing: .14em; }
.pcard-price { color: var(--accent); }
.pcard-price del { color: var(--ink-3); }

/* Royal (wine) sections with a jaali lattice */
.section-royal {
  --bg: var(--royal); --bg-2: var(--royal); --surface: #3A1220; --surface-2: #451628;
  --line: rgba(229, 201, 129, .2); --line-strong: rgba(229, 201, 129, .36);
  --ink: #F7EAD3; --ink-2: #DCC6A6; --ink-3: #C2A887;
  --accent: #E5C981; --accent-ink: #2B0D16; --gold: #D4AF6A; --gold-text: #E5C981;
  --gold-soft: rgba(212, 175, 106, .16); --gold-line: rgba(212, 175, 106, .45);
  --orn-wing: var(--orn-wing-light); --orn-divider: var(--orn-divider-light);
  color: var(--ink);
  background:
    linear-gradient(rgba(212, 175, 106, .55), rgba(212, 175, 106, .55)) left 0 top 6px / 100% 1px no-repeat,
    linear-gradient(rgba(212, 175, 106, .55), rgba(212, 175, 106, .55)) left 0 bottom 6px / 100% 1px no-repeat,
    var(--jaali) center / 64px 64px repeat,
    radial-gradient(120% 90% at 50% 0%, var(--royal-2) 0%, var(--royal) 58%, #19060C 100%);
  border-block: 1px solid rgba(212, 175, 106, .55);
}
:root[data-theme="night"] .section-royal { --surface: #2A0E18; --surface-2: #331220; }
.section-royal h2, .section-royal h3 { color: #FBF0DC; }
.section-royal .section-head p { color: var(--ink-2); }
.section-royal .pcard-media { background: var(--surface-2); }
.section-royal .why-item { background: rgba(255, 238, 205, .035); border-color: var(--line); }
.section-royal .why-item p { color: var(--ink-2); }
.why-item::after { background: var(--foil); }
.why-item .ic-wrap { border-radius: 50%; background: transparent; color: var(--gold-text); box-shadow: inset 0 0 0 1px var(--gold-line), inset 0 0 0 5px transparent, inset 0 0 0 6px var(--gold-soft); }

/* Editorial tiles: gold inner frame */
.explore-tile::after, .mosaic a::after { content: ""; position: absolute; inset: 10px; z-index: 1; pointer-events: none; border: 1px solid rgba(242, 222, 164, .3); border-radius: calc(var(--r-lg) - 8px); transition: inset .5s var(--ease-out), border-color .5s var(--ease); }
.explore-tile:hover::after, .mosaic a:hover::after { inset: 14px; border-color: rgba(242, 222, 164, .85); }
.explore-tile h3, .mosaic h3 { color: #FBF0DC; }
.mosaic small { color: #E5C981; }
.explore-tile .go { z-index: 2; }

/* Story, wholesale band, testimonials, newsletter */
.story-media .seal { background: var(--royal); color: #E5C981; box-shadow: inset 0 0 0 5px var(--royal), inset 0 0 0 6px rgba(229, 201, 129, .65), var(--shadow); }
.story-media .m2 { border-color: var(--bg); box-shadow: 0 0 0 1px var(--gold-line), var(--shadow-lg); }
.story-media .m1 { box-shadow: 0 0 0 1px var(--gold-line), var(--shadow); }
.story-points .ic { color: var(--gold); }
.band { position: relative; isolation: isolate; border: 1px solid rgba(212, 175, 106, .5); background: var(--jaali) center / 64px 64px repeat, radial-gradient(110% 120% at 0% 0%, var(--royal-2) 0%, var(--royal) 60%, #19060C 100%); }
.band-copy .eyebrow, .band-list .ic { color: #E5C981; }
.band-copy .eyebrow::before { background-image: var(--orn-wing-light); }
.band-media { box-shadow: inset 1px 0 0 rgba(212, 175, 106, .5); }
.quote-card { box-shadow: inset 0 0 0 6px var(--surface), inset 0 0 0 7px var(--gold-soft); border-color: var(--gold-line); }
.newsletter { border-color: var(--gold-line); background: var(--jaali) center / 64px 64px repeat, var(--surface); box-shadow: inset 0 0 0 8px var(--surface), inset 0 0 0 9px var(--gold-soft); }
.newsletter::before, .newsletter::after { border-color: color-mix(in srgb, var(--gold) 30%, transparent); }

/* Inner page heads */
.page-hero { background: var(--jaali) center / 64px 64px repeat, var(--bg-2); border-bottom: 1px solid var(--gold-line); }
.page-hero.has-img { background: var(--royal); }

/* Footer */
.site-footer { color: #E2CFB2; background: var(--jaali) center / 64px 64px repeat, radial-gradient(120% 70% at 50% 0%, var(--royal-2) 0%, var(--royal) 55%, #14050A 100%); }
.site-footer::before { height: 4px; background: var(--foil); opacity: 1; }
.site-footer a { color: #E2CFB2; }
.site-footer a:hover { color: #F2DEA4; }
.footer-brand .brand { color: #F8EBD3; }
.footer-brand .brand-tag { color: #CDAF74; }
.footer-col h4 { font-family: var(--font-royal); font-weight: 600; letter-spacing: .2em; color: #E5C981; }
.footer-contact .ic, .footer-trust .ic { color: #D4AF6A; }
.footer-trust, .footer-bottom { border-top-color: rgba(212, 175, 106, .22); }
.footer-bottom { color: #BFA586; }
.footer-bottom a { color: #E2CFB2; }
.footer-wordmark { font-family: var(--font-royal); font-weight: 500; -webkit-text-stroke: 1px rgba(229, 201, 129, .2); }

@media (min-width: 1025px) {
  .site-header.is-scrolled .brand-crest { display: none; }
}
@media (max-width: 767px) {
  .brand-crest { width: 34px; height: 15px; margin-bottom: 3px; }
  .hero-frame { inset: 8px; }
  .hero:has(+ .trust) .hero-frame { bottom: 60px; }
  .section-head.center h2::after { margin-top: 12px; height: 18px; }
}
.cart-pill { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 4px rgba(229, 201, 129, .5); }
.cart-pill .count { background: var(--foil); color: #2B0D16; }
.cart-pill:hover { background: var(--royal-2); color: #F2DEA4; }
:root[data-theme="night"] .cart-pill { box-shadow: none; }
:root[data-theme="night"] .cart-pill:hover { background: #F2DEA4; color: #1C0E0A; }
.socials a { border-color: rgba(212, 175, 106, .45); color: #E5C981; }
.socials a:hover { background: var(--foil); color: #2B0D16; border-color: transparent; }
.carousel-btn { border-color: var(--gold-line); }
.carousel-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pcard-badges .badge-dark { background: var(--royal); color: #E5C981; border: 0; box-shadow: inset 0 0 0 1px rgba(229, 201, 129, .55); font-family: var(--font-royal); font-weight: 700; letter-spacing: .14em; }
.link-arrow { font-family: var(--font-royal); font-weight: 600; font-size: .74rem; letter-spacing: .16em; background-image: linear-gradient(var(--gold), var(--gold)); }
.footer-wordmark { font-size: clamp(2.8rem, 10.4vw, 9.6rem); letter-spacing: .04em; }
:root[data-theme="night"] .cart-pill .count { background: #1C0E0A; color: #E5C981; }
@media (max-width: 767px) {
  .trust-item h3 { font-size: .7rem; letter-spacing: .03em; line-height: 1.3; }
  .trust-grid { box-shadow: var(--shadow), inset 0 0 0 4px var(--surface), inset 0 0 0 5px color-mix(in srgb, var(--gold) 28%, transparent); }
}
.carousel-count { white-space: nowrap; }
.size-opt:hover { border-color: var(--gold); }
.size-opt[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 4px rgba(229, 201, 129, .55); }
.size-opt[aria-checked="true"] small { color: color-mix(in srgb, var(--accent-ink) 78%, transparent); }
.size-opt.is-unavailable[aria-checked="true"] { background: var(--accent-soft); color: var(--ink); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.size-opt.is-unavailable[aria-checked="true"] small { color: var(--ink-2); }

/* ---------- Error + maintenance pages (standalone) ---------- */
.error-page { min-height: 100vh; background: var(--jaali) center / 64px 64px repeat, radial-gradient(120% 90% at 50% 0%, var(--bg-2), var(--bg) 70%); }
.err { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.err-card { width: 100%; max-width: 640px; text-align: center; background: var(--surface); border: 1px solid var(--gold-line); border-radius: var(--r-xl); padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px); box-shadow: var(--shadow-lg), inset 0 0 0 8px var(--surface), inset 0 0 0 9px var(--gold-soft); }
.err-card .brand { margin-bottom: 18px; }
.err-code { font-family: var(--font-royal); font-size: clamp(4.4rem, 16vw, 7.5rem); font-weight: 600; line-height: 1; margin: 6px 0 10px; background: var(--foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold); }
.err-code:empty { display: none; }
.err-card .ornament { margin: 0 auto 18px; }
.err-card h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 10px; }
.err-card .lead { margin: 0 auto 26px; max-width: 460px; }
.err-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.err-search { display: flex; gap: 8px; max-width: 440px; margin: 22px auto 0; }
.err-search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--bg); color: var(--ink); }
.err-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.err-contact { margin: 24px 0 0; }
.err-contact a { color: var(--gold-text); }
@media (max-width: 480px) { .err-actions .btn { flex: 1 1 100%; } }

/* Small phones: keep the header row (menu, logo, search, bag) inside the 16 px gutters */
@media (max-width: 440px) {
  .header-row { column-gap: 8px; }
  .header-tools .icon-btn, .header-left .icon-btn, .header-tools .cart-pill { width: 40px; height: 40px; min-width: 40px; }
}
@media (max-width: 350px) {
  .header-row { column-gap: 6px; }
  .brand-word { font-size: .92rem; letter-spacing: .1em; padding-left: .1em; }
  .brand-crest { width: 26px; }
}

/* "Order on WhatsApp" (rug page, bag) */
.wa-order { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); transition: border-color .25s var(--ease), background .25s var(--ease); }
.wa-order:hover { border-color: #1f8f4e; background: color-mix(in srgb, #1f8f4e 6%, var(--surface)); }
.wa-order > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.wa-order b { font-weight: 600; letter-spacing: .02em; }
.wa-order small { color: var(--ink-3); font-size: .82rem; line-height: 1.45; }
.wa-order-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1f8f4e; color: #fff; }
.wa-order-ic .ic { width: 22px; height: 22px; }
.wa-order > .ic { flex: none; color: var(--ink-3); transition: transform .25s var(--ease); }
.wa-order:hover > .ic { transform: translateX(3px); color: #1f8f4e; }

/* ---------- Coupons: box in the bag / checkout, and the full list in a sheet ---------- */
.cbox { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); overflow: hidden; }
.cbox-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.cbox-head .ic { color: var(--gold-text, var(--gold)); }
.cbox-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cbox-row > div { min-width: 0; }
.cbox-row p { margin: 2px 0 0; color: var(--ink-2); }
.cbox-row.is-applied { background: var(--success-soft); }
.cbox-row.is-applied p { color: var(--success); }
.cbox-row.is-best p { color: var(--accent); font-weight: 500; }
.cbox-row .mono, .coffer .mono { letter-spacing: .06em; }
.cbox-open { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 12px 14px; font-size: .86rem; color: var(--ink); text-align: left; transition: background .2s, color .2s; }
.cbox-open:hover { background: var(--surface-2, var(--surface)); color: var(--accent); }
.cbox-group { margin: 22px 0 10px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.coffer { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 10px; border: 1px dashed var(--gold-line, var(--line)); border-radius: var(--r); background: var(--surface); transition: border-color .2s; }
.coffer:hover { border-color: var(--accent); }
.coffer.is-applied { border-style: solid; border-color: var(--success); background: var(--success-soft); }
.coffer.is-off { opacity: .72; border-style: solid; border-color: var(--line); }
.coffer.is-off:hover { border-color: var(--line); }
.coffer-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.coffer-main p { margin: 0; }
.coffer-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.coffer-title { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); }
.coffer-save { color: var(--accent); font-weight: 500; }
.coffer.is-applied .coffer-save { color: var(--success); }
.coffer-why { color: var(--warning); }
.coffer .btn { flex: none; }
@media (max-width: 640px) {
  .modal-sheet { place-items: end stretch; padding: 0; }
  .modal-sheet .modal-box { width: 100%; max-height: 86vh; border-radius: var(--r-lg) var(--r-lg) 0 0; transform: translateY(100%); }
  .modal-sheet.is-open .modal-box { transform: none; }
}

/* ==========================================================================
   Install as an app (home section): copy + a drawn phone showing the real app
   ========================================================================== */
.appsec { overflow: hidden; } /* the decorative rings never widen the page on phones */
main > .appsec:last-child { padding-bottom: clamp(56px, 6vw, 88px); } /* last section: it runs straight into the footer */
.appsec-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.appsec-copy h2 { margin: 0 0 14px; }
.appsec-lead { color: var(--ink-2); font-size: 1.06rem; line-height: 1.7; margin: 0 0 22px; max-width: 52ch; }
.appsec-points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.appsec-points li { display: flex; align-items: flex-start; gap: 14px; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.appsec-tick { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-ink); background: linear-gradient(135deg, #F3DFA2, #C9A257); box-shadow: 0 0 0 4px rgba(212, 175, 106, .16); }
.appsec-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.appsec-ctas .btn .ic { width: 20px; height: 20px; }
.appsec-installed { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--gold-text); font-weight: 500; }
.appsec-note { margin: 0; font-size: .86rem; color: var(--ink-3); letter-spacing: .02em; }

.appsec-visual { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 40px); min-height: 600px; }
.appsec-glow { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(229, 201, 129, .22), transparent 70%); pointer-events: none; }
.appsec-glow::before, .appsec-glow::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; border: 1px solid rgba(212, 175, 106, .32); }
.appsec-glow::before { width: 430px; height: 430px; border-style: dashed; animation: appsec-turn 60s linear infinite; }
.appsec-glow::after { width: 540px; height: 540px; }
@keyframes appsec-turn { to { rotate: 360deg; } }

/* the device */
.app-phone { position: relative; z-index: 1; flex: none; width: 272px; aspect-ratio: 272 / 562; padding: 11px; border-radius: 46px; background: linear-gradient(145deg, #2A1016, #0E0406 60%, #24100F); box-shadow: 0 0 0 1.5px rgba(229, 201, 129, .55), 0 36px 70px rgba(10, 2, 4, .55), inset 0 0 0 2px rgba(255, 255, 255, .05); }
.app-phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 36px; background: #F8F2E7; color: #2B0D16; display: flex; flex-direction: column; font-family: var(--font-body); }
.app-phone-glare { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255, 255, 255, .22), transparent 38%); pointer-events: none; }
.ph-status { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 4px; font-size: 11px; }
.ph-status b { font-weight: 600; }
.ph-island { width: 74px; height: 20px; border-radius: 12px; background: #0E0406; }
.ph-sys { display: inline-flex; gap: 4px; align-items: center; }
.ph-sys svg { width: 16px; height: 10px; fill: currentColor; }
.ph-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid rgba(201, 162, 87, .45); }
.ph-ic { width: 26px; height: 26px; display: grid; place-items: center; }
.ph-ic .ic { width: 17px; height: 17px; }
.ph-bag { border-radius: 50%; background: #6E1A2B; color: #F3DFA2; }
.ph-bag .ic { width: 14px; height: 14px; }
.ph-word { font-family: var(--font-royal); font-size: 12px; letter-spacing: .16em; color: #2B0D16; }
.ph-h { color: #B48A3C; font-size: 15px; }
.ph-search { display: flex; align-items: center; gap: 8px; margin: 10px 12px 8px; padding: 8px 12px; border-radius: 99px; background: #FFFBF3; border: 1px solid rgba(43, 13, 22, .12); font-size: 10.5px; color: #7A6A5C; }
.ph-search .ic { width: 13px; height: 13px; }
.ph-hero { position: relative; margin: 0 12px; border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; background: #EADFCB; }
.ph-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-badge { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 99px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #2B0D16; background: rgba(248, 242, 231, .92); }
.ph-hero-foot { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 26px 10px 10px; background: linear-gradient(transparent, rgba(30, 6, 12, .82)); color: #FBF0DC; }
.ph-hero-foot b { font-family: var(--font-display); font-weight: 500; font-size: 13px; line-height: 1.15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ph-cta { flex: none; padding: 5px 9px; border-radius: 99px; font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: #2B0D16; background: linear-gradient(135deg, #F3DFA2, #C9A257); }
.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 12px 0; }
.ph-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ph-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; display: block; background: #EADFCB; }
.ph-card small { font-size: 9.5px; line-height: 1.25; color: #3D2A25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-tabs { margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr); padding: 10px 10px 16px; background: #FFFBF3; border-top: 1px solid rgba(43, 13, 22, .1); }
.ph-tabs span { display: grid; place-items: center; color: #8E7C6C; }
.ph-tabs .ic { width: 17px; height: 17px; }
.ph-tabs .is-on { color: #6E1A2B; }

/* the home-screen icon */
.homeicon { position: relative; z-index: 1; flex: none; width: 196px; padding: 18px 16px 16px; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(229, 201, 129, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.homeicon-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.homeicon-slot { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.homeicon-slot small { font-size: 9.5px; color: var(--ink-2); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hi-g, .homeicon-slot img { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; }
.hi-g .ic { width: 22px; height: 22px; color: #fff; }
.hi-g1 { background: linear-gradient(160deg, #57C26A, #2E8C43); }
.hi-g2 { background: linear-gradient(160deg, #5BA8F5, #2C6FD6); }
.homeicon-slot.is-ours img { box-shadow: 0 0 0 2px rgba(229, 201, 129, .8), 0 8px 18px rgba(0, 0, 0, .35); }
.homeicon-slot.is-ours small { color: var(--gold-text); font-weight: 500; white-space: normal; text-align: center; line-height: 1.2; }
.homeicon-txt { margin: 14px 0 0; text-align: center; display: grid; gap: 2px; }
.homeicon-txt strong { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--ink); }
.homeicon-txt small { font-size: .78rem; color: var(--ink-3); }

/* top-bar pill (shown only when installing is possible) */
.topbar-app { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; border: 1px solid rgba(229, 201, 129, .55); color: #F3DFA2; background: transparent; font: inherit; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.topbar-app:hover { background: rgba(229, 201, 129, .14); }
.topbar-app .ic { width: 14px; height: 14px; }
.is-app [data-app-pill], .is-app [data-app-install] { display: none !important; }

/* iPhone / other-browser steps */
.app-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; counter-reset: appstep; }
.app-steps li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.app-steps li::before { counter-increment: appstep; content: counter(appstep); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-royal); font-size: .85rem; color: var(--accent-ink); background: linear-gradient(135deg, #F3DFA2, #C9A257); }
.app-modal-head { display: flex; align-items: center; gap: 16px; }
.app-modal-head img { width: 60px; height: 60px; border-radius: 16px; box-shadow: 0 0 0 1.5px rgba(212, 175, 106, .7); }
.app-modal-head h3 { margin: 0; }

@media (max-width: 1024px) {
  .appsec-band { grid-template-columns: minmax(0, 1fr); }
  .appsec-copy { text-align: center; }
  .appsec-copy .eyebrow { justify-content: center; }
  .appsec-lead { margin-inline: auto; }
  .appsec-points { justify-items: start; max-width: 440px; margin-inline: auto; text-align: left; }
  .appsec-ctas { align-items: center; }
}
@media (max-width: 640px) {
  .appsec-visual { flex-direction: column; min-height: 0; gap: 22px; padding: 10px 0; }
  .appsec-glow::before { width: 330px; height: 330px; }
  .appsec-glow::after { width: 400px; height: 400px; }
  .app-phone { width: min(262px, 74vw); }
  .homeicon { width: min(262px, 74vw); }
  .appsec-ctas .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .appsec-glow::before { animation: none; } }
.mnav-app { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; border-color: var(--gold-line); background: linear-gradient(135deg, var(--gold-soft), transparent 70%), var(--surface); }
.mnav-app img { width: 40px; height: 40px; border-radius: 11px; flex: none; box-shadow: 0 0 0 1px var(--gold-line); }
.mnav-app span { display: grid; gap: 2px; min-width: 0; }
.mnav-app b { font-weight: 500; }
.mnav-app small { font-size: .74rem; color: var(--ink-3); }

/* ==========================================================================
   Phones: the hero is a compact, inset card like an app's — no tall empty
   picture; the words, both buttons and the slide dots fit in one glance
   ========================================================================== */
@media (max-width: 767px) {
  .hero { min-height: 0; height: clamp(380px, 56svh, 470px); margin: 10px 12px 0; border-radius: 22px; box-shadow: 0 18px 40px rgba(26, 6, 12, .28); }
  .hero-frame, .hero:has(+ .trust) .hero-frame { inset: 8px; border-radius: 16px; }
  .hero-frame::before, .hero-frame::after { background-size: 32px; }
  .hero-slide { align-items: flex-end; }
  .hero .container { padding-inline: 22px; }
  .hero-content, .hero:has(+ .trust) .hero-content { padding-block: 0 70px; }
  .hero-content .eyebrow { font-size: .62rem; margin-bottom: 10px; }
  .hero h1, .hero h2.hero-title { font-size: clamp(1.85rem, 8.2vw, 2.3rem); line-height: 1.12; margin-bottom: 10px; }
  .hero-sub { font-size: .92rem; line-height: 1.55; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; min-height: 46px; padding: 6px 10px; font-size: .66rem; letter-spacing: .1em; line-height: 1.25; white-space: normal; text-align: center; }
  .hero-ui, .hero:has(+ .trust) .hero-ui { bottom: 22px; }
  .hero-ui .container { padding-inline: 22px; }
  .hero-dot { width: 28px; }
  .hero-count { font-size: .85rem; }
  .hero-count b { font-size: 1.05rem; }
  .trust { margin-top: 14px; }
}
