/* CORJZEN — maison storefront design system
   Onyx · ivory · champagne gold. Cormorant Garamond (display) + Jost (text). */
:root {
  --ink: #0f0e0d;
  --ink-2: #1d1b19;
  --ink-3: #2b2825;
  --ivory: #f7f3ec;
  --paper: #fbf9f5;
  --sand: #efe8dc;
  --sand-2: #e6dccb;
  --line: #e2d9ca;
  --line-dark: rgba(247, 243, 236, .14);
  --muted: #6f685e;
  --muted-light: #b9b0a3;
  --gold: #b08d57;
  --gold-light: #d4b98a;
  --gold-deep: #8a6a35;
  --danger: #9b3b2e;
  --ok: #4c6b4a;
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1440px;
  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 400;
  font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-light); color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
.display { font-size: clamp(2.6rem, 6.2vw, 5.6rem); font-weight: 300; line-height: .98; }
.h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 300; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 300; }
.h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
em, .it { font-style: italic; }
.overline { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); }
.on-dark .overline, .overline.light { color: var(--gold-light); }
.lede { font-size: 1.05rem; color: var(--muted); max-width: 46ch; font-weight: 300; }
.muted { color: var(--muted); }
.rule { display: block; width: 46px; height: 1px; background: var(--gold); margin: 22px 0; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 34px;
  background: var(--ink); color: var(--ivory); border: 1px solid var(--ink); font-size: 11.5px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn.light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn.light:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ivory); }
.on-dark .btn.ghost, .btn.ghost.light { color: var(--ivory); border-color: rgba(247, 243, 236, .55); }
.on-dark .btn.ghost:hover, .btn.ghost.light:hover { background: var(--ivory); color: var(--ink); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link {
  display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease), color .3s;
}
.link:hover { color: var(--gold-deep); background-size: 40% 1px; }
.on-dark .link:hover { color: var(--gold-light); }
.arrow { width: 22px; height: 10px; flex: none; }

/* ---------- announcement + header ---------- */
.announce { background: var(--ink); color: var(--muted-light); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-align: center; padding: 9px var(--pad); }
.announce b { color: var(--gold-light); font-weight: 500; }
.header { position: sticky; top: 0; z-index: 60; background: rgba(251, 249, 245, .94); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.header .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.header .left, .header .right { display: flex; align-items: center; gap: 6px; }
.header .right { justify-content: flex-end; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; position: relative; transition: color .25s; }
.icon-btn:hover { color: var(--gold-deep); }
.icon-btn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.bag-count { position: absolute; top: 6px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 600; display: grid; place-items: center; }
.bag-count:empty, .bag-count[data-n="0"] { display: none; }
.wordmark { display: block; font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: .34em; padding-left: .34em; line-height: 1; color: var(--ink); white-space: nowrap; }
.wordmark small { display: block; font-family: var(--sans); font-size: 8.5px; letter-spacing: .5em; color: var(--gold-deep); text-align: center; margin-top: 6px; padding-left: 0; font-weight: 500; }
.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 38px); }
.nav a, .nav button { display: block; padding: 15px 0 14px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; position: relative; white-space: nowrap; }
.nav a::after, .nav button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav button:hover::after, .nav [aria-expanded="true"]::after, .nav a.active::after { transform: scaleX(1); }
.nav .gold { color: var(--gold-deep); }
.menu-toggle { display: none; }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(15, 14, 13, .25); max-height: calc(100vh - 160px); overflow: auto; }
.mega .wrap { display: grid; grid-template-columns: 260px 1fr 300px; gap: 48px; padding-top: 36px; padding-bottom: 42px; }
.mega .depts { list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--line); }
.mega .depts a { display: flex; justify-content: space-between; padding: 7px 18px 7px 0; font-family: var(--serif); font-size: 1.22rem; color: var(--ink-3); transition: color .2s, padding .3s var(--ease); }
.mega .depts a:hover, .mega .depts a.on { color: var(--gold-deep); padding-left: 8px; }
.mega .depts small { font-family: var(--sans); font-size: 11px; color: var(--muted); letter-spacing: .05em; align-self: center; }
.mega .cols { columns: 3 190px; column-gap: 36px; }
.mega .col { break-inside: avoid; margin-bottom: 22px; }
.mega .col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin-bottom: 8px; }
.mega .col h4 a:hover { color: var(--gold-deep); }
.mega .col li { list-style: none; }
.mega .col ul { margin: 0; padding: 0; }
.mega .col li a { display: block; font-size: 13.5px; color: var(--muted); padding: 2.5px 0; font-weight: 300; }
.mega .col li a:hover { color: var(--ink); }
.mega .feature { position: relative; overflow: hidden; align-self: start; }
.mega .feature img { aspect-ratio: 4/5; width: 100%; object-fit: cover; }
.mega .feature span { position: absolute; left: 20px; bottom: 18px; color: var(--ivory); font-family: var(--serif); font-size: 1.5rem; text-shadow: 0 2px 20px rgba(0,0,0,.35); }

/* search overlay */
.search-panel { position: fixed; inset: 0; z-index: 90; background: rgba(15, 14, 13, .55); display: flex; align-items: flex-start; }
.search-panel .inner { width: 100%; background: var(--paper); padding: 46px 0 40px; animation: drop .45s var(--ease); }
.search-panel form { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--ink); }
.search-panel input { flex: 1; border: 0; background: none; font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 300; padding: 10px 0 14px; outline: none; min-width: 0; }
.search-panel .hint { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); }
.search-panel .hint a:hover { color: var(--ink); }
@keyframes drop { from { transform: translateY(-24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 95; background: rgba(15, 14, 13, .5); }
.drawer .panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(420px, 90vw); background: var(--paper); overflow-y: auto; padding: 22px 26px 40px; animation: slide .4s var(--ease); }
.drawer .panel .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; cursor: pointer; padding: 15px 0; font-family: var(--serif); font-size: 1.35rem; display: flex; justify-content: space-between; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: '+'; font-family: var(--sans); font-weight: 300; color: var(--gold-deep); }
.drawer details[open] summary::after { content: '–'; }
.drawer .sub { padding: 0 0 14px 4px; display: grid; gap: 7px; font-size: 14px; color: var(--muted); }
.drawer .sub a:first-child { color: var(--ink); }
.drawer .extra { margin-top: 26px; display: grid; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
@keyframes slide { from { transform: translateX(-30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; background: var(--ink); color: var(--ivory); overflow: hidden; isolation: isolate; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 9, 8, .82) 0%, rgba(10, 9, 8, .5) 38%, rgba(10, 9, 8, 0) 70%), linear-gradient(0deg, rgba(10, 9, 8, .55), transparent 40%); }
.hero .wrap { width: 100%; padding-top: 120px; padding-bottom: clamp(56px, 9vh, 110px); }
.hero .display { max-width: 11ch; margin: 18px 0 22px; }
.hero .display em { color: var(--gold-light); font-weight: 300; }
.hero .lede { color: rgba(247, 243, 236, .78); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .stats { display: flex; flex-wrap: wrap; gap: 14px 46px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-dark); max-width: 640px; }
.hero .stats div { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-light); }
.hero .stats b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--ivory); letter-spacing: 0; text-transform: none; line-height: 1.1; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* trust ribbon */
.ribbon { background: var(--ink-2); color: var(--muted-light); border-top: 1px solid var(--line-dark); overflow: hidden; }
.ribbon .track { display: flex; gap: 56px; width: max-content; padding: 16px 0; animation: marquee 48s linear infinite; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.ribbon .track span { display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.ribbon .track span::after { content: '✦'; color: var(--gold); font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tight { padding: clamp(52px, 7vw, 96px) 0; }
.section.sand { background: var(--sand); }
.section.ivory { background: var(--ivory); }
.section.dark { background: var(--ink); color: var(--ivory); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head .h2 { margin-top: 12px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* departments mosaic */
.depts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.dept-tile { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); aspect-ratio: 4/5; isolation: isolate; }
.dept-tile.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.dept-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease), filter .8s; }
.dept-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 9, 8, .85) 0%, rgba(10, 9, 8, .35) 38%, transparent 65%); transition: opacity .6s; }
.dept-tile:hover img { transform: scale(1.06); }
.dept-tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(16px, 2vw, 30px); }
.dept-tile .cap .n { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.dept-tile h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); margin-top: 6px; }
.dept-tile.big h3 { font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 300; }
.dept-tile .go { display: inline-block; margin-top: 12px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .5s var(--ease); }
.dept-tile:hover .go { opacity: 1; transform: none; }

/* ---------- product cards & rails ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 46px) clamp(12px, 1.6vw, 24px); }
.grid > *, .shop > *, .pdp > *, .bag > * { min-width: 0; }
.card { position: relative; display: flex; flex-direction: column; }
.card .thumb { position: relative; display: block; aspect-ratio: 4/5; background: var(--sand); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
.card:hover .thumb img { transform: scale(1.05); }
.card .thumb .view { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(251, 249, 245, .94); text-align: center; padding: 11px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; opacity: 0; transform: translateY(10px); transition: .45s var(--ease); }
.card:hover .thumb .view { opacity: 1; transform: none; }
.card .body { padding-top: 16px; display: grid; gap: 5px; }
.card .cat { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .name { font-family: var(--serif); font-size: 1.14rem; line-height: 1.28; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.56em; }
.card .name:hover { color: var(--gold-deep); }
.card .price { font-size: 14px; letter-spacing: .04em; font-weight: 500; }
.card .price small { font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: .1em; text-transform: uppercase; margin-right: 4px; }
.rail { position: relative; }
.rail .strip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail .strip::-webkit-scrollbar { display: none; }
.rail .strip > * { scroll-snap-align: start; min-width: 0; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border: 1px solid var(--line); display: grid; place-items: center; transition: .3s; }
.rail-nav button:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.dark .rail-nav button { border-color: var(--line-dark); }
.dark .rail-nav button:hover { background: var(--ivory); color: var(--ink); }
.rail-nav svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.dark .card .name { color: var(--ivory); }
.dark .card .cat { color: var(--muted-light); }
.dark .card .thumb { background: #e9e2d6; }
.skeleton .thumb, .skel { background: linear-gradient(100deg, var(--sand) 30%, #f6f1e8 50%, var(--sand) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s infinite linear; }
@keyframes shimmer { to { background-position: -150% 0; } }

/* editorial split */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split .media { position: relative; overflow: hidden; min-height: 420px; }
.split .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(40px, 7vw, 120px); }
.split .copy p { color: var(--muted); max-width: 44ch; font-weight: 300; }
.split .copy .btn, .split .copy .link { margin-top: 18px; }
.banner { position: relative; min-height: 600px; display: flex; align-items: center; color: var(--ivory); overflow: hidden; isolation: isolate; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(10, 9, 8, .78), rgba(10, 9, 8, .15) 65%); }
.banner .wrap { width: 100%; }
.banner .copy { margin-left: auto; max-width: 480px; }
.banner .copy p { color: rgba(247, 243, 236, .8); font-weight: 300; }

/* services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services > div { padding: 40px 30px; border-right: 1px solid var(--line); }
.services > div:last-child { border-right: 0; }
.services svg { width: 30px; height: 30px; stroke: var(--gold-deep); fill: none; stroke-width: 1; margin-bottom: 18px; }
.services h4 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 6px; }
.services p { margin: 0; font-size: 13.5px; color: var(--muted); font-weight: 300; }
.services.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services.three > div { border-bottom: 0; }
.services.three > div:nth-child(2) { border-right: 1px solid var(--line); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--muted-light); padding: 90px 0 36px; font-size: 13.5px; font-weight: 300; }
.footer .top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)) 1.3fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-dark); }
.footer .wordmark { color: var(--ivory); font-size: 26px; padding-left: 0; }
.footer .wordmark small { text-align: left; color: var(--gold-light); }
.footer .about { margin-top: 22px; max-width: 34ch; }
.footer h5 { font-family: var(--sans); color: var(--ivory); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: var(--gold-light); }
.pay-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pay-tile { height: 44px; background: #fff; display: grid; place-items: center; padding: 8px; border-radius: 2px; }
.pay-tile img { max-height: 22px; max-width: 100%; object-fit: contain; }
.footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 28px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #8e867b; }
.footer .secure { margin-top: 16px; font-size: 12px; color: #8e867b; }

/* ---------- listing (shop) ---------- */
.page-head { position: relative; color: var(--ink); background: var(--ivory); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head.has-img { color: var(--ivory); background: var(--ink); min-height: 380px; display: flex; align-items: flex-end; isolation: isolate; border-bottom: 0; }
.page-head.has-img img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-head.has-img::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 9, 8, .85), rgba(10, 9, 8, .3) 75%); }
.page-head .wrap { padding-top: 54px; padding-bottom: 46px; width: 100%; }
.page-head .h1 { margin: 12px 0 10px; }
.page-head p { margin: 0; max-width: 56ch; color: var(--muted); font-weight: 300; }
.page-head.has-img p { color: rgba(247, 243, 236, .8); }
.crumbs { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.has-img .crumbs { color: var(--muted-light); }
.crumbs a:hover { color: var(--gold-deep); }
.has-img .crumbs a:hover { color: var(--gold-light); }
.crumbs .sep { margin: 0 8px; opacity: .6; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; background: var(--paper); transition: .25s; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.has-img .chip { background: rgba(251, 249, 245, .08); border-color: rgba(247, 243, 236, .3); color: var(--ivory); }
.has-img .chip.on, .has-img .chip:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.shop { display: grid; grid-template-columns: 250px 1fr; gap: clamp(28px, 4vw, 64px); padding-top: 44px; padding-bottom: 110px; }
.side h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; margin: 0 0 14px; }
.side .side-top { display: none; }
.side .tree { list-style: none; margin: 0 0 34px; padding: 0; font-size: 14px; }
.side .tree li a { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; color: var(--muted); font-weight: 300; }
.side .tree li a:hover, .side .tree li a.on { color: var(--ink); }
.side .tree li a.on { font-weight: 500; }
.side .tree li a small { color: var(--muted-light); font-size: 11.5px; }
.side .tree ul { list-style: none; padding: 2px 0 6px 14px; margin: 0; border-left: 1px solid var(--line); }
.side .price-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.side .price-filter .btn { grid-column: span 2; min-height: 44px; }
.field input, .field select, .field textarea, .side input, .toolbar select {
  width: 100%; border: 1px solid var(--line); background: var(--paper); padding: 12px 14px; font-size: 14px; border-radius: 0; outline: none; transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus, .side input:focus { border-color: var(--ink); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 22px; margin-bottom: 30px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.toolbar .count { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.toolbar .tools { display: flex; gap: 10px; align-items: center; }
.toolbar select { width: auto; padding: 10px 36px 10px 14px; font-size: 12.5px; letter-spacing: .06em; appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f0e0d'/%3E%3C/svg%3E") no-repeat right 14px center / 10px; }
.toolbar .filters-btn { display: none; min-height: 42px; padding: 0 18px; }
.grid.shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 70px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid transparent; font-size: 13px; padding: 0 10px; }
.pager a:hover { border-color: var(--line); }
.pager .cur { border-color: var(--ink); }
.empty { text-align: center; padding: 80px 20px; }
.empty .h3 { margin-bottom: 12px; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); padding-top: 34px; padding-bottom: 90px; align-items: start; }
.gallery { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; position: sticky; top: calc(var(--header-h) + 60px); }
.gallery .thumbs { display: grid; gap: 10px; align-content: start; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
.gallery .thumbs button { aspect-ratio: 1; background: var(--sand); border: 1px solid transparent; overflow: hidden; }
.gallery .thumbs button.on { border-color: var(--ink); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.gallery .main { aspect-ratio: 1; background: var(--sand); overflow: hidden; position: relative; cursor: zoom-in; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.gallery .main.zoom img { transform: scale(1.8); cursor: zoom-out; }
.info .crumbs { margin-bottom: 18px; }
.info h1 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 400; line-height: 1.12; overflow-wrap: anywhere; }
.info .price { font-size: 1.6rem; font-family: var(--serif); margin: 18px 0 6px; }
.info .price small { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.info .sku { font-size: 11.5px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.info .opt-label { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin: 30px 0 12px; font-weight: 500; }
.info .opt-label span { color: var(--muted); letter-spacing: .04em; text-transform: none; font-weight: 400; font-size: 13px; text-align: right; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; max-height: 290px; overflow-y: auto; padding: 1px; }
.variants button { border: 1px solid var(--line); padding: 7px 12px; font-size: 13px; display: inline-flex; gap: 10px; align-items: center; background: var(--paper); transition: .2s; text-align: left; max-width: 100%; }
.variants button img { width: 34px; height: 34px; object-fit: cover; background: var(--sand); flex: none; }
.variants button:hover { border-color: var(--ink-3); }
.variants button.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.buy { display: grid; grid-template-columns: 130px 1fr; gap: 12px; margin-top: 30px; }
.qty { display: grid; grid-template-columns: 40px 1fr 40px; border: 1px solid var(--line); height: 52px; }
.qty button { font-size: 18px; color: var(--muted); }
.qty button:hover { color: var(--ink); }
.qty input { border: 0; text-align: center; background: none; width: 100%; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.assure { margin-top: 26px; display: grid; gap: 10px; font-size: 13.5px; color: var(--muted); font-weight: 300; }
.assure div { display: flex; gap: 12px; align-items: center; }
.assure svg { width: 19px; height: 19px; stroke: var(--gold-deep); fill: none; stroke-width: 1.2; flex: none; }
.acc { margin-top: 34px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 16px; font-weight: 300; color: var(--gold-deep); letter-spacing: 0; }
.acc details[open] summary::after { content: '–'; }
.acc .content { padding: 0 0 24px; font-size: 14px; color: var(--ink-3); font-weight: 300; overflow-wrap: anywhere; }
.acc .content img { max-width: 100%; height: auto !important; margin: 10px 0; }
.acc .content table { max-width: 100%; display: block; overflow-x: auto; }
.notice { padding: 14px 16px; background: var(--ivory); border-left: 2px solid var(--gold); font-size: 13.5px; margin-top: 16px; }
.notice.err { border-color: var(--danger); color: var(--danger); }

/* ---------- bag / checkout ---------- */
.bag { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding-top: 50px; padding-bottom: 110px; align-items: start; }
.bag-line { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.bag-line:first-child { border-top: 1px solid var(--line); }
.bag-line .img { aspect-ratio: 4/5; background: var(--sand); }
.bag-line .img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.bag-line .nm { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
.bag-line .var { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.bag-line .ctl { display: flex; gap: 16px; align-items: center; margin-top: 14px; }
.bag-line .ctl .qty { height: 40px; grid-template-columns: 34px 44px 34px; }
.bag-line .rm { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.bag-line .rm:hover { color: var(--danger); }
.bag-line .amt { font-size: 15px; font-weight: 500; white-space: nowrap; }
.bag-line.bad { background: rgba(155, 59, 46, .05); }
.bag-line .flag { color: var(--danger); font-size: 12.5px; margin-top: 6px; }
.summary { background: var(--ivory); padding: clamp(24px, 3vw, 40px); position: sticky; top: calc(var(--header-h) + 60px); }
.summary h2 { font-size: 1.8rem; margin-bottom: 20px; }
.summary .row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: 14px; }
.summary .row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 18px; font-size: 17px; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.form-grid .full { grid-column: span 2; }
.field label { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 6px; color: var(--muted); }
.field textarea { min-height: 90px; resize: vertical; }
.summary .pay-tiles { margin-top: 18px; }
.summary .pay-tile { border: 1px solid var(--line); }
.fine { font-size: 12px; color: var(--muted); margin-top: 14px; font-weight: 300; }

/* ---------- simple pages ---------- */
.prose { max-width: 780px; margin: 0 auto; padding: 70px var(--pad) 110px; font-weight: 300; font-size: 15.5px; }
.prose h2 { font-size: 2rem; margin: 46px 0 14px; }
.prose h3 { font-size: 1.35rem; margin: 26px 0 8px; }
.prose a { border-bottom: 1px solid var(--gold); }
.status-card { max-width: 720px; margin: 0 auto; text-align: center; padding: 90px var(--pad) 120px; }
.status-card .seal { width: 76px; height: 76px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; margin: 0 auto 26px; }
.status-card .seal svg { width: 30px; height: 30px; stroke: var(--gold-deep); fill: none; stroke-width: 1.2; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 34px 0; text-align: left; }
.timeline div { padding-top: 14px; border-top: 2px solid var(--line); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.timeline div.done { border-color: var(--gold); color: var(--ink); }
.panel-box { background: var(--ivory); padding: clamp(24px, 4vw, 48px); }
.order-lines { text-align: left; margin: 26px 0; border-top: 1px solid var(--line); }
.order-lines div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.toast { position: fixed; z-index: 120; right: 24px; bottom: 24px; max-width: 380px; background: var(--ink); color: var(--ivory); padding: 16px 18px; display: flex; gap: 14px; align-items: center; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); animation: drop .4s var(--ease); font-size: 14px; }
.toast img { width: 52px; height: 64px; object-fit: cover; background: var(--sand); flex: none; }
.toast a { color: var(--gold-light); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: inline-block; margin-top: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .footer .top { grid-template-columns: 1fr 1fr 1fr; }
  .footer .top > :first-child { grid-column: span 3; }
  .mega .wrap { grid-template-columns: 230px 1fr; }
  .mega .feature { display: none; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail .strip { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .wordmark { font-size: 23px; }
  .wordmark small { font-size: 7.5px; }
  .depts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split .media { min-height: 0; aspect-ratio: 4/3.6; }
  .split.reverse .media { order: -1; }
  .services { grid-template-columns: 1fr 1fr; }
  .services > div:nth-child(2) { border-right: 0; }
  .services > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .shop { grid-template-columns: 1fr; padding-top: 28px; }
  .side { display: none; }
  .side.open { display: block; position: fixed; inset: 0; z-index: 96; background: var(--paper); overflow-y: auto; padding: 24px var(--pad) 40px; }
  .side.open .side-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
  .toolbar .filters-btn { display: inline-flex; }
  .grid.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp { grid-template-columns: 1fr; padding-top: 18px; }
  .gallery { position: static; grid-template-columns: minmax(0, 1fr); }
  .gallery .thumbs { order: 2; grid-auto-flow: column; grid-auto-columns: 64px; overflow-x: auto; max-height: none; min-height: 64px; /* reserved: thumbs arrive after the live CJ lookup (CLS) */ }
  .bag { grid-template-columns: 1fr; }
  .summary { position: static; }
  .banner .copy { margin-left: 0; }
  .banner::before { background: linear-gradient(0deg, rgba(10, 9, 8, .82), rgba(10, 9, 8, .2)); }
  .banner { align-items: flex-end; padding-bottom: 50px; min-height: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .announce { font-size: 9.5px; letter-spacing: .14em; }
  .header .bar { grid-template-columns: auto 1fr auto; }
  .header .bar .wordmark { justify-self: center; }
  .header .hide-sm { display: none; }
  .icon-btn { width: 40px; }
  .hero { min-height: min(88svh, 760px); }
  .hero picture img { object-position: 74% 50%; }
  .hero::before { background: linear-gradient(0deg, rgba(10, 9, 8, .94) 18%, rgba(10, 9, 8, .4) 62%, rgba(10, 9, 8, .1)); }
  .hero .stats { gap: 14px 28px; margin-top: 36px; }
  .hero .stats b { font-size: 1.6rem; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .depts-grid { gap: 8px; }
  .dept-tile.big { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3.6; }
  .dept-tile .go { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .rail .strip { grid-auto-columns: 66%; gap: 14px; }
  .card .name { font-size: 1.02rem; }
  .card .thumb .view { display: none; }
  .services { grid-template-columns: 1fr; }
  .services > div, .services > div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 6px; }
  .services > div:last-child { border-bottom: 0; }
  .services.three { grid-template-columns: 1fr; }
  .services.three > div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .footer .top > :first-child, .footer .top > :last-child { grid-column: span 2; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .bag-line { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
  .bag-line .amt { grid-column: 2; }
  .buy { grid-template-columns: 110px 1fr; }
  .timeline div { font-size: 8.5px; letter-spacing: .04em; }
  .toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .split .copy { padding: 48px var(--pad); }
  .page-head.has-img { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
