:root {
  /* Brand tokens — maroon / gold / cream palette */
  --ink: #1d0a10;
  --ink-2: #5a4a4e;
  --line: #eadfd3;
  --bg: #fef8f1;         /* logo background cream */
  --soft: #f7ede2;
  --accent: #7a1235;     /* logo maroon */
  --gold: #b7874a;       /* logo gold */
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --max: 1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 5vw, 96px); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-block; padding: 12px 22px; font-weight: 500; font-size: 14px; border-radius: 2px; transition: opacity .2s, background .2s; white-space: nowrap; }
.btn-dark { background: var(--accent); color: #fff; }
.btn-light { background: var(--bg); color: var(--accent); }
.btn:hover { opacity: .85; }
.btn-block { display: block; text-align: center; }
.link { font-weight: 500; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.btn-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Promo bar ---------- */
/* ---------- Demo mode bar (removed when DEMO = false in app.js) ---------- */
.demo-bar { background: var(--ink); color: var(--bg); text-align: center; font-size: 12px; padding: 7px 16px; letter-spacing: .03em; }
.demo-bar a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.demo-notice { background: var(--soft); border: 1px solid var(--line); padding: 18px 20px; border-radius: 2px; margin-bottom: 16px; }
.demo-notice strong { display: block; margin-bottom: 6px; color: var(--accent); }
.promo-bar { background: var(--accent); color: #fff; text-align: center; font-size: 14px; padding: 11px 16px; }
.promo-bar a { text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.header-row { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 14px; flex: none; color: var(--accent); }
.logo-mark { display: block; width: 60px; height: 60px; flex: none; object-fit: contain; background: var(--bg); border-radius: 50%; padding: 7px; box-shadow: 0 0 0 1px var(--line); }
.logo-name { font-family: var(--display); font-size: 34px; font-weight: 500; letter-spacing: .02em; line-height: 1; white-space: nowrap; }

.search { position: relative; flex: 1; }
.search-box { display: flex; align-items: center; gap: 10px; background: var(--soft); padding: 11px 14px; border: 1px solid transparent; }
.search:focus-within .search-box { border-color: var(--ink); background: #fff; }
.search-box input { border: 0; outline: 0; background: none; font: inherit; width: 100%; }
.search-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 24px; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.search:focus-within .search-panel { display: block; }
.search-panel h4 { font-weight: 500; font-size: 18px; margin-bottom: 10px; }
.search-panel a { display: block; padding: 6px 0; color: var(--ink-2); }
.search-panel a:hover { color: var(--ink); text-decoration: underline; }

.header-actions { display: flex; align-items: center; gap: 24px; }
.account { position: relative; }
.account summary { list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; cursor: pointer; }
.account summary::-webkit-details-marker { display: none; }
.account-panel { position: absolute; right: -20px; top: calc(100% + 16px); width: 290px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.1); padding: 20px; z-index: 60; }
.account-panel p { text-align: center; font-weight: 500; margin-bottom: 14px; }
.account-panel h4 { font-size: 18px; font-weight: 500; margin: 20px 0 6px; }
.account-panel > a:not(.btn) { display: block; padding: 6px 0; color: var(--ink-2); }
.account-panel > a:not(.btn):hover { color: var(--ink); }
.bag { position: relative; display: flex; }
.bag .bag-count { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); font-size: 10px; font-weight: 600; }

/* ---------- Nav + mega menu ---------- */
.main-nav { border-top: 1px solid var(--line); }
.main-nav > ul { display: flex; justify-content: space-between; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.main-nav > ul > li > a { display: block; padding: 18px 0; font-size: 15px; white-space: nowrap; border-bottom: 2px solid transparent; }
.main-nav > ul > li > a:hover { border-color: var(--ink); }
.main-nav .accent { color: var(--accent); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.06); padding: 36px 0 44px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr) 260px; gap: 32px; }
.mega h5 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.mega-grid a:not(.mega-feature) { display: block; padding: 5px 0; color: var(--ink-2); }
.mega-grid a:not(.mega-feature):hover { color: var(--ink); text-decoration: underline; }
.mega-feature .ph { aspect-ratio: 3/4; margin-bottom: 10px; }

/* ---------- Placeholder art (swap for <img> when photos are ready) ---------- */
.ph { position: relative; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.18), transparent 55%); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph > span:not(.badge-pop) { position: relative; z-index: 1; padding: 20px; font-family: var(--display); font-size: 26px; line-height: 1.1; }
.ph > span b { font-size: 44px; font-weight: 500; }
.tone-maroon { background: linear-gradient(150deg, #8f1840, #4a0820); }
.tone-wine   { background: linear-gradient(150deg, #5e1430, #2a0612); }
.tone-sand   { background: linear-gradient(150deg, #d6bf9f, #9b7b56); }
.tone-ink    { background: linear-gradient(150deg, #3a2329, #140a0d); }
.tone-gold   { background: linear-gradient(150deg, #c99a5a, #7d5626); }
.tone-rose   { background: linear-gradient(150deg, #c98d98, #7d4555); }
.tone-cream  { background: linear-gradient(150deg, #f6ebdd, #e0cdb5); color: var(--accent); }
.tiles .ph > span, .cards .ph > span { font-size: 30px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: min(76vh, 760px); min-height: 460px; overflow: hidden; }
.slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,4,10,.7), rgba(20,4,10,.15) 60%, transparent); }
.slide-inner { position: relative; z-index: 1; width: 100%; padding-bottom: 56px; color: #fff; }
.eyebrow { font-family: var(--display); font-style: italic; font-size: clamp(22px, 3vw, 34px); }
.hero h1 { font-weight: 500; font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -.01em; margin: 6px 0 22px; }
.pill-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--ink); font-size: 24px; line-height: 1; }
.hero-arrow.prev { left: 16px; } .hero-arrow.next { right: 16px; }
.hero-controls { position: absolute; right: 24px; bottom: 24px; z-index: 2; display: flex; gap: 10px; align-items: center; }
.hero-count { background: rgba(0,0,0,.6); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 20px; }
.hero-pause { width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 18px; }

/* ---------- Sections ---------- */
.section { padding-top: 64px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
h2 { font-family: var(--sans); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.01em; }

.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs button { padding: 10px 0; font-size: 15px; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.is-active { font-weight: 600; border-color: var(--ink); }

/* Horizontal rails: native scroll-snap */
.rail { display: grid; grid-auto-flow: column; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-wrap { position: relative; }
.rail-btn { position: absolute; top: 38%; z-index: 2; width: 42px; height: 42px; background: #fff; border: 1px solid var(--ink); font-size: 22px; }
.rail-btn.prev { left: -22px; } .rail-btn.next { right: -22px; }

/* Products */
.products { grid-auto-columns: calc((100% - 18px * 5) / 6); }
.product { box-shadow: 0 1px 4px rgba(0,0,0,.08); background: #fff; padding-bottom: 16px; }
.product .ph { aspect-ratio: 2/3; }
.product .info { padding: 12px 14px 0; }
.badge { display: inline-block; border: 1px solid var(--gold); color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; margin-bottom: 8px; }
.product .brand { font-weight: 500; }
.product .name { color: var(--ink-2); font-size: 14px; margin-bottom: 6px; }
.price { font-weight: 600; }
.soon { font-size: 14px; font-style: italic; color: var(--ink-2); }
.note { font-size: 13px; color: var(--ink-2); font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { border: 1px solid var(--gold); color: var(--accent); padding: 6px 14px; border-radius: 20px; font-size: 14px; }
.chips a:hover { background: var(--soft); }

/* Tiles */
.tiles { grid-auto-columns: calc((100% - 18px * 5) / 6); }
.tile u { display: block; margin-top: 10px; text-underline-offset: 4px; }
.tile .ph { aspect-ratio: 4/5; }
.tile .framed { outline: 1px solid var(--gold); outline-offset: -12px; }
.gifts { grid-auto-columns: calc((100% - 18px * 3) / 4); }
.story-media { display: flex; align-items: center; justify-content: center; background: var(--soft); padding: 40px; }
.story-media img { width: 80%; height: auto; }

/* Cards */
.cards { grid-auto-columns: calc((100% - 24px * 2) / 3); gap: 24px; }
.card .tall { aspect-ratio: 4/5; margin-bottom: 18px; }
.card h3 { font-weight: 500; font-size: 26px; }
.card p { color: var(--ink-2); margin-top: 4px; max-width: 46ch; }

/* Split feature */
.split { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 2fr; }
.split.reverse .split-media { order: 2; }
.split-media { aspect-ratio: 16/10; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 40px; }
.ph.split-media .script { font-family: var(--display); font-style: italic; font-size: clamp(32px, 4vw, 56px); position: relative; z-index: 1; }
.ph.split-media .big { font-family: var(--display); font-size: clamp(56px, 8vw, 120px); line-height: .95; position: relative; z-index: 1; }
.split-copy h2 { font-size: clamp(28px, 3vw, 42px); }
.split-copy p { color: var(--ink-2); margin-top: 10px; }

/* Perk */
.perk { margin-top: 72px; background: var(--accent); color: #fff; display: flex; align-items: center; gap: 32px; padding: 28px 36px; border-radius: 6px; border-bottom: 3px solid var(--gold); }
.perk-mark { width: 84px; height: 84px; flex: none; }
.perk h2 { font-size: clamp(24px, 3vw, 40px); }
.perk p { opacity: .9; }
.perk .btn { margin-left: auto; }

/* Newsletter */
.newsletter { display: flex; justify-content: flex-end; align-items: center; gap: 18px; padding-top: 72px; padding-bottom: 32px; }
.newsletter label { font-weight: 500; }
.newsletter form { display: flex; flex: 0 1 660px; }
.newsletter input { flex: 1; padding: 12px; border: 1px solid #999; font: inherit; min-width: 0; }
.newsletter .btn { flex: 1; border-radius: 0; }

/* Footer */
.site-footer { background: var(--soft); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid .footer-brand .logo { display: flex; padding: 0; color: var(--accent); }
.footer-brand .logo-mark { width: 72px; height: 72px; padding: 8px; background: #fff; }
.footer-brand .logo-name { font-size: 36px; }
.footer-about { color: var(--ink-2); margin-top: 16px; max-width: 42ch; line-height: 1.6; }
.footer-tag { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--accent); margin-top: 10px; }
.f-col summary { list-style: none; font-size: 16px; font-weight: 600; margin-bottom: 14px; pointer-events: none; }
.f-col summary::-webkit-details-marker { display: none; }
.f-col summary .chev { display: none; }
.footer-social { display: flex; gap: 22px; margin-top: 36px; }
.footer-social a { color: var(--ink); }
.footer-social a:hover { color: var(--accent); }
.footer-social svg { width: 28px; height: 28px; }
.to-top { position: fixed; left: 50%; bottom: 24px; z-index: 85; transform: translateX(-50%); padding: 12px 26px; background: #fff; border-radius: 30px; font-size: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.16); }
.to-top[hidden] { display: none; }
.footer-grid a { display: block; padding: 6px 0; color: var(--ink-2); }
.footer-grid a:hover { color: var(--ink); }
.footer-legal { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 48px; font-size: 14px; color: var(--ink-2); }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Photos inside placeholders */
.ph:has(img)::after { background: linear-gradient(to top, rgba(20,4,10,.55), transparent 55%); }
.product .ph { background: var(--soft); }
.product .ph::after, .tiles:not(.gifts) .ph::after { display: none; }
.product { display: block; transition: box-shadow .2s; }
.product:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.product img { transition: transform .4s; }
.product:hover img { transform: scale(1.03); }

/* ---------- Inner pages ---------- */
.page { padding-top: 32px; padding-bottom: 24px; }
.page h1 { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; margin-bottom: 16px; }
.crumbs { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.crumbs a:hover { text-decoration: underline; }
.chips a.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 24px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.toolbar select, .form input, .form select, .form textarea, .qty input, .bag-actions input { font: inherit; padding: 8px 10px; border: 1px solid #bbb; background: #fff; border-radius: 2px; }
.muted { color: var(--ink-2); } .small { font-size: 13px; margin-top: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 18px; }
.empty { padding: 48px 0; font-size: 18px; }

.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.pdp-media { background: var(--soft); aspect-ratio: 4/5; overflow: hidden; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-info { position: sticky; top: 150px; }
.pdp-info .brand { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--gold); font-weight: 600; }
.pdp-info h1 { margin: 6px 0 10px; }
.price.big { font-size: 24px; }
.desc { color: var(--ink-2); margin: 16px 0 24px; max-width: 52ch; }
.sizes { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sizes legend { font-weight: 500; margin-bottom: 10px; }
.sizes input { position: absolute; opacity: 0; }
.sizes span { display: block; min-width: 52px; text-align: center; padding: 10px 14px; border: 1px solid #bbb; cursor: pointer; }
.sizes input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.sizes input:disabled + span { cursor: not-allowed; opacity: .45; text-decoration: line-through; }
.sizes input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.add-row { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.qty input { width: 70px; margin-left: 6px; }
.add-row .btn { flex: 1; padding: 15px; }
.added { min-height: 24px; margin-top: 10px; color: var(--accent); }
.perks { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--ink-2); font-size: 14px; }
.perks li { padding: 3px 0; } .perks li::before { content: "✓  "; color: var(--gold); }

.bag-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.bag-list li { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bag-list img { width: 110px; aspect-ratio: 4/5; object-fit: cover; display: block; }
.bag-list .name { font-weight: 500; }
.bag-actions { display: flex; gap: 18px; align-items: center; margin-top: 12px; font-size: 14px; }
.bag-actions input { width: 64px; margin-left: 6px; }
.summary { background: #fff; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.summary h2 { font-size: 22px; margin-bottom: 14px; }
.summary > div { display: flex; justify-content: space-between; padding: 6px 0; }
.summary .total { border-top: 1px solid var(--line); margin: 8px 0 16px; padding-top: 12px; font-weight: 600; }

.prose { max-width: 820px; }
.prose h2 { margin: 40px 0 10px; scroll-margin-top: 160px; }
.prose h3 { font-size: 18px; font-weight: 600; margin: 18px 0 4px; }
.prose p { color: var(--ink-2); margin-bottom: 12px; }
.prose .lead { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); color: var(--ink); line-height: 1.3; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--soft); font-weight: 600; }
.prose details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.prose summary { cursor: pointer; font-weight: 500; }
.prose details p { margin: 10px 0 0; }

.page-hero { position: relative; height: min(56vh, 520px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,4,10,.7), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 40px; }
.page-hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 6vw, 80px); line-height: 1; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 64px; }
.values h3 { font-family: var(--display); font-size: 28px; font-weight: 500; color: var(--accent); }
.values p { color: var(--ink-2); }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 14px; }
.form .btn { justify-self: start; }

/* ---------- Search dropdown ---------- */
.search-panel { max-height: 75vh; overflow-y: auto; z-index: 70; }
.search-panel h4 { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.search-panel h4:not(:first-child) { margin-top: 22px; }
.sp-popular a { padding: 7px 0 7px 30px; color: var(--ink); }
.sp-suggest .sp-popular a { padding-left: 0; }
.sp-trend { grid-auto-columns: 150px; gap: 14px; }
.mini { display: block; font-size: 14px; }
.search-panel a.mini { padding: 0; color: var(--ink); }
.mini img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; background: var(--soft); margin-bottom: 6px; }
.mini .tagline { display: block; font-size: 12px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.mini b { display: block; font-weight: 500; line-height: 1.3; }
.mini .price { display: block; margin-top: 2px; }
.search-panel a.sp-all { display: inline-block; margin-top: 18px; color: var(--accent); }
.search-panel a:hover b { text-decoration: underline; }

/* ---------- Product card heart ---------- */
.product { position: relative; }
.product > a { display: block; }
.wish { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.wish svg { width: 20px; height: 20px; }
.wish.on svg { fill: var(--accent); stroke: var(--accent); }

/* ---------- Search results ---------- */
.btn-ink { background: var(--ink); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.promo { display: grid; grid-template-columns: minmax(0, 600px) 1fr; gap: 32px; align-items: center; background: var(--soft); padding: 18px; margin-bottom: 40px; }
.promo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.promo h2 { font-family: var(--display); font-size: clamp(32px, 4vw, 52px); font-weight: 600; line-height: 1; }
.promo p { margin: 10px 0 18px; }
.page h1.results-title { font-family: var(--sans); font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; margin-bottom: 6px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 24px; }
.dd { position: relative; }
.dd summary, .dd-toggle { list-style: none; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border: 1px solid var(--ink); background: #fff; cursor: pointer; font-size: 15px; white-space: nowrap; }
.dd summary::-webkit-details-marker { display: none; }
.dd .chev { width: 18px; height: 18px; transition: transform .2s; }
.dd[open] .chev { transform: rotate(180deg); }
.dd.on summary, .dd-toggle.on { background: var(--ink); color: #fff; }
.dd-panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; min-width: 240px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.1); padding: 12px 0; }
.dd-panel h5 { padding: 4px 18px 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.dd-panel a { display: block; padding: 8px 18px; }
.dd-panel a:hover { background: var(--soft); }
.dd-panel a.on { font-weight: 600; }
.dd-panel a.on::after { content: " ✓"; color: var(--accent); }
.dd-panel .indent { padding-left: 14px; color: var(--ink-2); }
.grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.empty p { margin-bottom: 8px; }

/* ---------- Customer service ---------- */
.cs-layout { display: grid; grid-template-columns: 270px 1fr; gap: 72px; align-items: start; margin-top: 20px; }
.cs-nav { position: sticky; top: 150px; display: flex; flex-direction: column; }
.cs-nav a { padding: 9px 12px; }
.cs-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cs-nav .cs-head { padding-left: 0; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; margin-bottom: 8px; }
.cs-nav hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.cs-nav h5 { font-size: 16px; font-weight: 600; margin: 18px 0 6px; }
.cs-main > p { margin-bottom: 18px; }
.page .cs-main h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(28px, 3vw, 38px); }
.cs-list { list-style: disc; padding-left: 28px; margin-bottom: 8px; }
.cs-list li { padding: 2px 0; }
.cs-h { font-weight: 600; font-size: clamp(28px, 3vw, 40px); margin: 56px 0 8px; }
.cs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.cs-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 8px; margin-bottom: 14px; }
.cs-card b { display: block; font-size: 20px; font-weight: 500; }
.cs-card span { color: var(--ink-2); }
.cs-card:hover b { text-decoration: underline; }
.cs-box { background: #f3eee9; border-radius: 10px; padding: 36px; }
.cs-box h2 { font-weight: 600; font-size: clamp(26px, 2.8vw, 40px); margin-bottom: 14px; }
.cs-box h3 { font-weight: 600; font-size: 28px; margin-bottom: 18px; }
.cs-box p { margin-bottom: 14px; }
.cs-banner { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 56px; }
.cs-banner p { max-width: 62ch; }
.cs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 28px 0; }
.cs-grid .cs-box { display: flex; flex-direction: column; align-items: flex-start; min-height: 360px; }
.cs-grid .btn { margin-top: auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Category page ---------- */
.cat-tiles { grid-auto-columns: calc((100% - 18px * 5) / 6); margin: 28px 0 36px; }
.cat-tile u { display: block; margin-top: 10px; font-size: 14px; text-underline-offset: 4px; }
.ct-card { position: relative; aspect-ratio: 4/5; border-radius: 8px; padding: 22px; color: #fff; background: linear-gradient(160deg, #8f1840, #5e1430); overflow: hidden; }
.ct-card span { font-family: var(--display); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; }
.ct-card::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 16px;
  background: radial-gradient(circle, var(--gold) 4px, transparent 5px) 0 0 / 32px 16px repeat-x,
              radial-gradient(circle, rgba(255,255,255,.85) 2.5px, transparent 3.5px) 16px 0 / 32px 16px repeat-x; }
.cat-tile:hover .ct-card, .cat-tile.on .ct-card { box-shadow: inset 0 0 0 3px var(--gold); }
.cat-tabs a { padding: 10px 0; font-size: 16px; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.cat-tabs a.is-active { font-weight: 600; border-color: var(--ink); }
.pbadge { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 7px; border-radius: 2px; }
.product .ship { font-size: 13px; color: #2e7d4f; margin-top: 6px; }
.product .ship b { color: var(--ink); font-weight: 600; }
.grid-promo { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); display: flex; flex-direction: column; }
.grid-promo .ph { aspect-ratio: 4/3; }
.grid-promo .ph::after { display: none; }
.gp-body { padding: 18px; }
.gp-body h3 { font-weight: 600; font-size: 24px; line-height: 1.15; }
.gp-body p { color: var(--ink-2); margin-top: 8px; }
.pager { position: relative; display: flex; justify-content: center; align-items: center; margin: 48px 0 8px; min-height: 40px; }
.pages { display: flex; gap: 8px; }
.pages a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.pages a.on { background: var(--soft); font-weight: 600; }
.pages a:hover { background: var(--soft); }
.pager-next { position: absolute; right: 0; font-weight: 500; }
.promo-wrap { padding-top: 56px; }
.promo-arrows { position: absolute; top: 0; right: 0; display: flex; gap: 8px; }
.promo-arrows .rail-btn { position: static; }
.promo-rail { grid-auto-columns: calc((100% - 24px * 2) / 2.6); gap: 24px; }
.promo-card .ph { aspect-ratio: 4/5; border-radius: 8px; flex-direction: column; justify-content: center; align-items: center; }
.promo-card .ph > span { font-family: var(--display); font-style: italic; font-size: clamp(40px, 5vw, 72px); text-align: center; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.promo-card .ph::after { background: rgba(20,4,10,.25); }
.promo-card h3 { font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); margin: 18px 0 6px; }
.promo-card p { color: var(--ink-2); max-width: 52ch; }

/* ---------- Added-to-bag dialog ---------- */
.added-dialog { border: 0; padding: 0; margin: auto; width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 48px); border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.added-dialog::backdrop { background: rgba(20,4,10,.55); }
.atb-inner { padding: 40px 48px 32px; }
.atb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.atb-head h2 { font-weight: 600; font-size: 28px; }
.atb-close { width: 40px; height: 40px; display: grid; place-items: center; }
.atb-item { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.atb-item img { width: 200px; aspect-ratio: 2/3; object-fit: cover; display: block; background: var(--soft); }
.atb-item p { margin-bottom: 4px; }
.atb-name { font-weight: 500; font-size: 18px; margin-bottom: 8px !important; }
.atb-price { font-size: 18px; margin: 14px 0 !important; }
.atb-item .btn { margin: 14px 0 12px; padding: 14px 26px; }
.perk-line { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 8px 0; }
.perk-line svg { flex: none; margin-top: 2px; }
.atb-related { margin-top: 36px; }
.atb-related h2, .panel h2 { font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 18px; }
.atb-related .products, .panel .products { grid-auto-columns: 180px; }
.atb-related .rail-btn { top: 30%; }
.atb-related .rail-btn.prev { left: -8px; } .atb-related .rail-btn.next { right: -8px; }

/* ---------- Bag page ---------- */
.bag-page { background: #efe7df; padding: 28px 0 48px; }
.bag-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.bag-main, .bag-side { display: grid; gap: 22px; min-width: 0; }
.panel { background: #fff; padding: 26px 26px; }
.panel.slim { padding: 20px 26px; }
.panel h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 10px; }
.bag-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.bag-note .sep { width: 1px; height: 20px; background: var(--line); margin: 0 8px; }
.bag-note svg { width: 18px; height: 18px; }
.accent-link { color: var(--accent); }
.ship-h { display: flex; align-items: center; gap: 12px; }
.ship-h svg { width: 28px; height: 28px; }
.ship-note { display: inline-block; background: var(--soft); padding: 8px 14px; margin: 0 0 16px; }
.ship-opts { border: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ship-opts label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.ship-opts input { width: 22px; height: 22px; accent-color: var(--accent); margin-top: 1px; }
.ship-opts small { display: block; color: #2e7d4f; font-weight: 600; font-size: 14px; }
.panel .bag-list li { grid-template-columns: 150px 1fr auto; gap: 26px; padding: 24px 0; }
.panel .bag-list li:last-child { border-bottom: 0; }
.panel .bag-list img { width: 150px; }
.saved-list.bag-list li { grid-template-columns: 100px 1fr auto; }
.saved-list.bag-list img { width: 100px; }
.bi-info > * { display: block; }
.bi-cat { text-decoration: underline; text-underline-offset: 3px; margin-bottom: 4px; }
.bi-info .name { font-weight: 400; font-size: 17px; max-width: 32ch; }
.bi-size { margin: 14px 0 10px; }
.bi-qty { color: var(--accent); font-weight: 500; }
.bi-qty select { font: inherit; color: var(--accent); border: 0; background: none; cursor: pointer; padding: 4px; }
.bi-price { text-align: right; display: grid; gap: 4px; align-content: start; font-size: 17px; }
.bag-actions { display: flex; gap: 40px; margin-top: 18px; }
.text-btn { color: var(--accent); font-size: 16px; }
.text-btn:hover { text-decoration: underline; }
.bag-side .summary { box-shadow: none; padding: 26px; }
.summary > div { font-size: 17px; padding: 8px 0; }
.summary .total { font-size: 19px; }
.sum-perk { display: flex !important; gap: 14px; align-items: center; background: var(--soft); padding: 14px !important; margin-bottom: 16px; font-size: 14px; }
.sum-perk img { flex: none; }
.btn-lg { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 18px; font-size: 18px; }
.btn-lg svg { stroke: #fff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.center { text-align: center; }
.side-rail .products { grid-auto-columns: 150px; }
.side-rail .rail-btn.prev { left: -14px; } .side-rail .rail-btn.next { right: -14px; }
.side-help { padding: 8px 4px; }
.panel .rail-btn.prev { left: -14px; } .panel .rail-btn.next { right: -14px; }

/* ---------- Our Story ---------- */
.story-hero { width: 100%; aspect-ratio: 2/1; object-fit: cover; display: block; margin-top: 36px; }
.story .cs-h { margin-top: 64px; }
.story-lead { max-width: 72ch; font-size: 17px; margin-bottom: 14px; }
.story-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.story-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; border-radius: 8px; }
.story-card > div { padding: 22px 20px 0; }
.story-card h3 { font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.story-card p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }
.story-card .btn-row { margin-top: 22px; }
.story-split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: center; margin-top: 72px; scroll-margin-top: 160px; }
.story-copy h2 { font-weight: 600; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; margin-bottom: 14px; }
.story-copy p { font-size: 17px; margin-bottom: 18px; }
.story-feature { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; background: var(--ink); }
.story-feature img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 6%; color: #fff; background: linear-gradient(90deg, rgba(20,4,10,.85) 0 45%, transparent 75%); }
.sf-year { font-family: var(--display); color: var(--gold); font-size: clamp(32px, 5vw, 72px); line-height: 1; }
.sf-text b { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4.4vw, 64px); line-height: 1; text-transform: uppercase; }
.sf-text small { margin-top: auto; font-size: 15px; }
#craft, #community, #collections { scroll-margin-top: 160px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products, .tiles { grid-auto-columns: calc((100% - 18px * 3) / 4); }
}
@media (max-width: 800px) {
  .header-row { flex-wrap: wrap; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
  .logo-mark { width: 48px; height: 48px; padding: 5px; }
  .logo-name { font-size: 28px; }
  .gifts { grid-auto-columns: 44%; }
  .footer-brand { grid-column: 1 / -1; }
  .header-row { padding-top: 10px; padding-bottom: 10px; }
  .search { display: none; order: 3; flex-basis: 100%; }
  .search-open .search { display: block; }
  .header-actions { margin-left: auto; gap: 18px; }
  .account, .main-nav { display: none; }
  .m-only { display: flex; }
  .site-header { border-bottom: 1px solid var(--line); }
  .mega { display: none !important; }
  .products, .tiles { grid-auto-columns: 44%; }
  .cards { grid-auto-columns: 82%; }
  .rail-btn { display: none; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 20px; }
  .split.reverse .split-media { order: 0; }
  .perk { flex-direction: column; align-items: flex-start; gap: 16px; }
  .perk .btn { margin-left: 0; }
  .newsletter { flex-direction: column; align-items: stretch; }
  .newsletter form { flex-basis: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .pdp, .bag-grid, .contact-grid, .values { grid-template-columns: 1fr; gap: 24px; }
  .pdp-info { position: static; }
  .bag-list li { grid-template-columns: 80px 1fr; }
  .bag-list img { width: 80px; }
  .bag-list .price { grid-column: 2; }
  .cat-tiles { grid-auto-columns: 40%; }
  .story-cards, .story-split { grid-template-columns: 1fr; gap: 28px; }
  .story-split { margin-top: 48px; }
  .bag-layout { grid-template-columns: 1fr; }
  .panel { padding: 20px 16px; }
  .panel .bag-list li, .saved-list.bag-list li { grid-template-columns: 90px 1fr; gap: 14px; }
  .panel .bag-list img, .saved-list.bag-list img { width: 90px; }
  .bi-price { grid-column: 2; text-align: left; }
  .bag-actions { gap: 24px; }
  .atb-inner { padding: 24px 18px; }
  .atb-item { grid-template-columns: 110px 1fr; gap: 16px; }
  .atb-item img { width: 110px; }
  .atb-related .products, .panel .products { grid-auto-columns: 46%; }
  .promo-rail { grid-auto-columns: 82%; }
  .promo-arrows { display: none; }
  .promo-wrap { padding-top: 0; }
  .pager { flex-direction: column; gap: 12px; }
  .pager-next { position: static; }
  .promo, .cs-layout, .cs-cards, .cs-grid, .form-row { grid-template-columns: 1fr; gap: 24px; }
  .cs-nav { position: static; display: none; }
  .cs-banner { flex-direction: column; align-items: flex-start; }
  .cs-grid .cs-box { min-height: 0; }
  .cs-box { padding: 24px; }
  .dd summary, .dd-toggle { height: 44px; padding: 0 14px; }
  .dd-panel { min-width: 200px; }
  .hero-arrow { display: none; }
  .hero-controls { top: 16px; bottom: auto; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .rail { scroll-behavior: auto; }
  .slide { transition: none; }
}
.cat-tabs:empty { display: none; }
/* Grid items default to min-width:auto, so a rail's full card width would stretch the panel past the viewport */
.bag-main > *, .bag-side > *, .atb-inner, .atb-related { min-width: 0; }
.btn-lg { width: 100%; }

/* ---------- Account ---------- */
.btn-outline { background: #fff; color: var(--ink); border: 2px solid var(--ink); padding: 10px 22px; }
.btn-outline:hover { background: var(--ink); color: #fff; opacity: 1; }
.btn-outline svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }
.btn-outline:hover svg { stroke: #fff; }
.acct-form input:not([type=checkbox]), .acct-form select { padding: 12px; font-size: 16px; }
.acct-form input[readonly] { background: var(--soft); }
.acct-form p { margin: 0; }
.acct-form .link { justify-self: start; }
.acct-h { font-family: var(--sans); font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page .acct-h { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 4px; }
.acct-h .bar { width: 2px; height: 1.1em; background: var(--ink); }
#si-step { display: grid; gap: 16px; }
.check { display: flex !important; align-items: center; gap: 10px; font-weight: 400 !important; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.acct-narrow { max-width: 520px; margin: 32px auto 48px; display: grid; gap: 16px; }
.acct-center { text-align: center; margin: 16px 0 40px; }
.page .acct-center h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(28px, 3vw, 38px); margin-bottom: 6px; }
.lookup-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 1100px; margin: 0 auto; }
.lookup-grid > div { padding: 0 clamp(16px, 4vw, 64px); }
.lookup-grid > div + div { border-left: 1px solid var(--line); }
.lookup-grid.solo { grid-template-columns: minmax(0, 520px); justify-content: center; }
.lookup-grid.solo > div { border: 0; padding: 0; }
#lookup-msg:empty { display: none; }
.acct-help { background: var(--soft); text-align: center; padding: 28px; max-width: 1100px; margin: 56px auto 0; }
.acct-help h2 { font-weight: 600; font-size: 28px; margin-bottom: 6px; }

.acct-layout { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.acct-side { display: grid; }
.acct-who { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 16px; }
.acct-side h4 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.acct-side a { display: flex; gap: 14px; padding: 12px 10px; border-left: 3px solid transparent; }
.acct-side a.on { background: var(--soft); border-left-color: var(--ink); }
.acct-side a b { display: block; font-weight: 600; font-size: 17px; }
.acct-side a small { color: var(--ink-2); font-size: 14px; }
.acct-side a:hover b { text-decoration: underline; }
.acct-ic { width: 26px; height: 26px; flex: none; }
.acct-out { justify-self: start; margin: 18px 0 0 46px; }
.acct-main { background: var(--soft); padding: 24px; display: grid; gap: 24px; scroll-margin-top: 80px; }
.acct-card { background: #fff; padding: clamp(20px, 3vw, 38px); }
.acct-card > * + * { margin-top: 16px; }
.page .acct-card h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 0; }
.acct-card h1 .muted { font-weight: 400; font-size: .7em; }
.acct-card h2 { font-weight: 600; font-size: 22px; margin-top: 36px; }
.acct-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; }
.acct-search { display: flex; align-items: center; gap: 8px; border: 1px solid #999; padding: 10px 12px; flex: 0 1 400px; }
.acct-search input { border: 0; outline: 0; font: inherit; width: 100%; }
.acct-search svg { width: 20px; height: 20px; }
.acct-range { display: flex; align-items: center; gap: 12px; }
.acct-range select, .wl-tools select, .wl-size select { font: inherit; padding: 10px 12px; border: 1px solid #999; background: #fff; }
.acct-note { display: flex; gap: 12px; color: var(--ink-2); max-width: 60ch; }
.acct-note svg { width: 24px; height: 24px; flex: none; stroke: #1f5fbf; }

.wl-tools { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.wl-share { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.wl-share svg { width: 20px; height: 20px; }
.wl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px 24px; }
.wl-item { position: relative; display: grid; gap: 6px; text-align: center; justify-items: center; align-content: start; }
.wl-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--soft); }
.wl-item .brand { font-size: 12px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.wl-item .wl-add { margin-top: 8px; width: 100%; }
.wl-check { position: absolute; top: 10px; left: 10px; z-index: 1; cursor: pointer; }
.wl-check input { position: absolute; opacity: 0; }
.wl-check span { display: block; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; }
.wl-check input:checked + span { background: var(--ink); box-shadow: inset 0 0 0 4px #fff; }
.wl-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.addr-card { border: 1px solid #bbb; padding: 26px; line-height: 1.6; }
.addr-card h3 { font-size: 18px; font-weight: 600; }
.addr-actions { display: grid; justify-items: start; gap: 12px; margin-top: 18px; }
.addr-form { border: 1px solid var(--line); padding: 24px; max-width: 720px; }
.addr-form h2 { margin: 0 !important; }
.form-row-3 { grid-template-columns: 2fr 1fr 1fr !important; }
@media (max-width: 800px) {
  .lookup-grid, .acct-layout, .form-row-3 { grid-template-columns: 1fr !important; }
  .lookup-grid > div { padding: 0; }
  .lookup-grid > div + div { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; margin-top: 32px; }
  .acct-main { padding: 0; background: none; }
  .wl-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
}

/* ---------- Services (returns) ---------- */
.svc .crumbs a { color: var(--ink); }
.svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; margin-top: 24px; }
.svc-side { position: sticky; top: 24px; display: grid; }
.svc-side h2 { font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.svc-side a { padding: 10px 14px; color: var(--ink-2); }
.svc-side a:hover { color: var(--ink); }
.svc-side a.on { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.svc-main { max-width: 960px; }
.svc-main > * + * { margin-top: 14px; }
.page .svc-main h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(30px, 3vw, 40px); margin-bottom: 0; }
.svc-main h2 { font-family: var(--sans); font-weight: 600; font-size: clamp(28px, 3vw, 42px); margin-top: 64px; }
.svc-main h3 { font-weight: 600; font-size: clamp(22px, 2vw, 30px); margin-top: 24px; }
.svc-main h3.svc-h3 { margin-top: 40px; }
.svc-main ul { list-style: disc; padding-left: 28px; }
.svc-main li { padding: 2px 0; }
.svc-main p { max-width: 75ch; }
.svc-main .btn { margin-top: 18px; }
.svc-hero { width: 100%; aspect-ratio: 2/1; object-fit: cover; display: block; margin-top: 32px !important; background: var(--soft); }
.svc-faq { border-top: 1px solid var(--line); max-width: 75ch; }
.svc-faq details { border-bottom: 1px solid var(--line); }
.svc-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); cursor: pointer; }
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq .chev { width: 22px; height: 22px; flex: none; transition: transform .2s; }
.svc-faq details[open] .chev { transform: rotate(180deg); }
.svc-faq details p { padding: 0 0 24px; color: var(--ink-2); }
@media (max-width: 800px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-side { position: static; display: flex; overflow-x: auto; gap: 4px; border-bottom: 1px solid var(--line); }
  .svc-side h2 { display: none; }
  .svc-side a { white-space: nowrap; padding: 10px 12px; }
}
.svc-side hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.svc-side h2 + a { margin-top: 0; }
.svc-side a + h2 { margin-top: 24px; }
.svc-main h2 + .faq-sec h3 { margin-top: 24px; }
.faq-sec { scroll-margin-top: 24px; }
.faq-sec h3.svc-h3 { margin: 56px 0 16px; }
.faq-more { margin-top: 48px !important; }
@media (max-width: 800px) { .svc-side hr { display: none; } }

/* ---------- Mini bag flyout ---------- */
.bag-wrap { position: relative; }
.bag-fly { display: none; position: absolute; right: -16px; top: 100%; margin-top: 14px; width: 420px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.14); z-index: 80; }
.bag-fly::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; } /* hover bridge */
.bag-fly::after { content: ""; position: absolute; top: -8px; right: 22px; width: 14px; height: 14px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.bag-wrap:hover .bag-fly, .bag-wrap:focus-within .bag-fly { display: block; }
.fly-list { max-height: 50vh; overflow-y: auto; padding: 8px 24px; }
.fly-list li { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fly-list li:last-child { border-bottom: 0; }
.fly-list img { width: 96px; aspect-ratio: 3/4; object-fit: cover; display: block; background: var(--soft); }
.fly-list p { font-size: 15px; margin-top: 6px; }
.fly-cat { display: block; font-size: 12px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.fly-name { display: block; font-weight: 600; font-size: 17px; line-height: 1.3; margin-bottom: 10px; }
.fly-name:hover { text-decoration: underline; }
.fly-qty { display: flex; justify-content: space-between; margin-top: 12px !important; }
.fly-rm { color: var(--accent); font-size: 16px; margin-top: 12px; }
.fly-rm:hover { text-decoration: underline; }
.fly-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; }
.fly-sub { text-align: right; font-weight: 600; font-size: 19px; margin-bottom: 16px; }
.fly-foot .btn-lg { font-size: 17px; }
.fly-perk { text-align: center; margin-top: 20px; display: grid; gap: 4px; font-size: 15px; }
.fly-perk .link { justify-self: center; color: #1f5fbf; font-size: 15px; }
.fly-empty { padding: 28px 24px; text-align: center; display: grid; gap: 16px; }
@media (hover: none) { .bag-wrap:hover .bag-fly { display: none; } }
.svc-main .chips { margin-top: 20px; }
.svc-main .faq-sec { scroll-margin-top: 24px; }
.svc-main .faq-sec > * + * { margin-top: 14px; }
.svc-main .btn-row .btn { margin-top: 0; }
.svc-table { max-width: 75ch; overflow-x: auto; }
.svc-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.svc-table th, .svc-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.svc-table th { background: var(--soft); font-weight: 600; }

/* ---------- 404 ---------- */
.nf { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(32px, 7vw, 88px) 0 32px; }
.nf-code { font-family: var(--display); font-weight: 500; font-size: clamp(96px, 18vw, 180px); line-height: .9; color: var(--accent); }
.nf-code::after { content: ""; display: block; width: 120px; height: 1px; margin: 20px auto 26px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.nf h1 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.nf-lead { color: var(--ink-2); margin: 12px auto 28px; max-width: 46ch; }
.nf-search { display: flex; max-width: 480px; margin: 0 auto; }
.nf-search input { flex: 1; min-width: 0; font: inherit; padding: 12px 16px; border: 1px solid var(--line); border-right: 0; background: var(--soft); border-radius: 2px 0 0 2px; }
.nf-search .btn { border-radius: 0 2px 2px 0; }
.nf-popular { margin-top: 16px; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; }
.nf-popular .link { font-weight: 400; color: var(--ink); }
.nf .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Mobile header (search icon + hamburger) ---------- */
.m-only, .m-menu { display: none; }
.m-menu-btn .m-x, .menu-open .m-menu-btn .m-bars { display: none; }
.menu-open .m-menu-btn .m-x { display: inline; }
.m-search-btn svg, .m-menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 800px) {
  .m-only { display: flex; }
  body.no-scroll { overflow: hidden; }
  /* Side drawer */
  .m-scrim { position: fixed; inset: 0; z-index: 95; background: rgba(29,10,16,.38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .m-menu { position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; width: min(86vw, 360px); display: flex; flex-direction: column; background: #fff; border-radius: 0 24px 24px 0; box-shadow: 12px 0 40px rgba(29,10,16,.2); overflow: hidden; transform: translateX(-105%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility .3s; }
  body.menu-open .m-menu { transform: none; visibility: visible; }
  body.menu-open .m-scrim { opacity: 1; visibility: visible; }
  .m-menu svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mm-head { position: relative; padding: calc(44px + env(safe-area-inset-top)) 22px 26px; color: #fff; background: radial-gradient(circle at 115% 10%, rgba(255,255,255,.14) 0 38%, transparent 38.5%), radial-gradient(circle at 125% 0%, rgba(255,255,255,.1) 0 58%, transparent 58.5%), linear-gradient(135deg, #8f1a42, var(--accent) 55%, #5c0d27); border-radius: 0 0 22px 0; }
  .mm-me { display: flex; align-items: center; gap: 16px; color: #fff; }
  .mm-avatar { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 3px solid rgba(255,255,255,.85); font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--accent); overflow: hidden; }
  .mm-avatar img { width: 46px; height: auto; }
  .mm-me b { display: block; font-size: 19px; font-weight: 500; }
  .mm-me small { display: block; margin-top: 2px; font-size: 14px; color: rgba(255,255,255,.8); }
  .mm-close { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.16); }
  .mm-close svg { width: 18px; height: 18px; stroke-width: 2; }
  .mm-body { flex: 1; overflow-y: auto; padding: 14px 22px calc(28px + env(safe-area-inset-bottom)); }
  .mm-body hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
  .mm-body h4 { margin: 14px 0 4px; font-size: 15px; font-weight: 600; color: var(--ink); }
  .mm-item { display: flex; align-items: center; gap: 16px; padding: 12px 0; font-size: 16px; color: var(--ink); cursor: pointer; list-style: none; }
  .mm-item > svg:first-child { color: #9a8a8e; }
  .mm-item .chev { margin-left: auto; width: 18px; height: 18px; color: var(--ink-2); transition: transform .2s; }
  .mm-item .mm-pill { margin-left: auto; padding: 3px 10px; border-radius: 20px; background: #f3dde4; color: var(--accent); font-size: 12px; font-weight: 600; }
  .mm-item.accent, .mm-item.accent > svg:first-child { color: var(--accent); }
  .m-menu summary::-webkit-details-marker { display: none; }
  .m-menu details[open] .chev { transform: rotate(180deg); }
  .m-menu details a { display: block; padding: 8px 0 8px 38px; font-size: 15px; color: var(--ink-2); }
  .m-menu details[open] { padding-bottom: 6px; }
}

/* ---------- Account: personal info & security ---------- */
.pi section + section { margin-top: 40px; }
.page .pi h2 { font-family: var(--sans); font-weight: 600; font-size: 24px; margin: 28px 0 4px; }
.pi-field { padding: 14px 0; }
.pi-field h3 { font-weight: 600; font-size: 17px; }
.pi-field > p { margin: 4px 0 8px; max-width: 60ch; }
.pi-field > .link { font-size: 15px; font-weight: 400; }
.pi-form { margin-top: 14px; max-width: 480px; padding: 18px; border: 1px solid var(--line); background: var(--bg); }
.pi-form .btn-row { margin-top: 4px; }
.pi-form [role=status] { color: var(--accent); margin: 0; }
.pi-danger { color: var(--accent); }
.pi-form[hidden] { display: none; }

/* ---------- Small phones: logo + icons stay on one row ---------- */
@media (max-width: 800px) {
  .site-header:not(.search-open) .header-row { flex-wrap: nowrap; }
  .logo { min-width: 0; flex-shrink: 1; }
}
@media (max-width: 480px) {
  .logo { gap: 8px; }
  .logo-mark { width: 40px; height: 40px; padding: 4px; }
  .logo-name { font-size: 23px; }
  .header-actions { gap: 14px; }
  .promo-bar { font-size: 12.5px; padding: 8px 12px; }
}

/* Order lookup result */
#lookup-result:not(:empty) { max-width: 720px; margin: 32px auto 0; }
.order-card h2 { margin: 0 0 4px; }
.order-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; list-style: none; padding: 0; margin: 20px 0; font-size: 13px; text-align: center; }
.order-steps li { padding-top: 10px; border-top: 4px solid var(--line); color: var(--ink-2); }
.order-steps li.done { border-color: var(--accent); color: inherit; font-weight: 600; }
.order-items { list-style: none; padding: 0; margin: 16px 0; border-top: 1px solid var(--line); }
.order-items li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-items img { object-fit: cover; }
.order-total { display: flex; justify-content: space-between; font-size: 17px; }

/* ---------- Chat assistant (chat.js) ---------- */
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 60px; height: 60px; display: grid; place-items: center; background: #fff; border: 1px solid var(--ink); border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.chat-fab svg { width: 30px; height: 30px; fill: var(--ink); stroke: #fff; stroke-width: 1.6; }
.chat-fab:hover { background: var(--soft); }
.chat-fab[hidden], .chat[hidden] { display: none; }
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 400px; height: min(680px, calc(100dvh - 48px)); display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 48px rgba(29,10,16,.25); }
.chat-head { position: relative; display: flex; align-items: center; gap: 6px; padding: 18px 14px 22px 22px; color: #fff; background: var(--accent) radial-gradient(circle at 20% 30%, rgba(183,135,74,.25), transparent 40%); }
.chat-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 9px; background: radial-gradient(circle at 50% 100%, #fff 5px, transparent 5.5px) 0 0 / 14px 9px repeat-x; }
.chat-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: .02em; margin-right: auto; }
.chat-brand .logo-mark { width: 42px; height: 42px; padding: 5px; box-shadow: none; }
.chat-sparks i { position: absolute; color: var(--gold); font-style: normal; font-size: 14px; pointer-events: none; }
.chat-sparks i:nth-child(1) { left: 52%; top: 8px; font-size: 20px; } .chat-sparks i:nth-child(2) { left: 46%; bottom: 14px; font-size: 10px; }
.chat-sparks i:nth-child(3) { left: 62%; top: 30px; font-size: 9px; color: #f3d9b1; } .chat-sparks i:nth-child(4) { right: 22px; bottom: 12px; font-size: 10px; } .chat-sparks i:nth-child(5) { left: 8px; bottom: 12px; font-size: 9px; color: #f3d9b1; }
.chat-head a, .chat-head button { position: relative; width: 38px; height: 38px; display: grid; place-items: center; color: #fff; border-radius: 50%; }
.chat-head a:hover, .chat-head button:hover { background: rgba(255,255,255,.12); }
.chat-bag span { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.chat-bag span:empty { display: none; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.chat-note { text-align: center; font-size: 13px; color: var(--ink-2); padding: 0 12px 6px; }
.chat-note .link { font-size: 13px; }
.chat-msg { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.chat-msg.bot { align-self: flex-start; background: #f4f1ee; }
.chat-msg.me { align-self: flex-end; background: var(--ink); color: #fff; }
.chat-msg p { margin-top: 8px; }
.chat-msg .link { font-size: inherit; }
.chat-msg.typing { display: flex; gap: 4px; }
.chat-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); animation: chat-dot 1s infinite alternate; }
.chat-msg.typing span:nth-child(2) { animation-delay: .2s; } .chat-msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chat-dot { to { opacity: .25; } }
.chat-table { border-collapse: collapse; margin: 8px 0; font-size: 13px; }
.chat-table th, .chat-table td { padding: 3px 10px 3px 0; text-align: left; }
.chat-prods { display: grid; gap: 8px; margin: 10px 0; }
.chat-prod { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 10px; padding: 6px; }
.chat-prod img { width: 52px; height: 64px; object-fit: cover; border-radius: 6px; flex: none; }
.chat-prod span { display: flex; flex-direction: column; font-size: 14px; }
.chat-prod small { color: var(--ink-2); }
.chat-prod:hover b { text-decoration: underline; }
.chat-order h2 { font-size: 16px; }
.chat-order .muted { font-size: 13px; margin: 4px 0 8px; }
.chat-order .order-steps { margin: 8px 0; font-size: 12px; }
.chat-order .order-items li { font-size: 13px; }
.chat-order .small { display: none; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; }
.chat-chips:empty { display: none; }
.chat-chips button { padding: 7px 14px; border: 1px solid var(--ink); border-radius: 18px; font-size: 14px; background: #fff; }
.chat-chips button:hover { background: var(--ink); color: #fff; }
.chat-form { display: flex; align-items: center; margin: 0 16px 16px; padding: 6px 6px 6px 20px; border-top: 0; background: #f4f1ee; border-radius: 30px; border: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; padding: 10px 0; outline: none; }
.chat-form:focus-within { border-color: var(--ink); }
.chat-form button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.chat-form button svg { stroke-width: 2; }
@media (max-width: 600px) {
  .chat-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .chat { right: 8px; left: 8px; bottom: 8px; width: auto; height: calc(100dvh - 16px); }
}

/* ---------- Phone footer: accordion columns, stacked legal links ---------- */
@media (max-width: 800px) {
  .site-footer { padding-top: 36px; }
  .footer-grid { display: block; }
  .footer-brand { padding-bottom: 24px; }
  .f-col { border-top: 1px solid var(--line); }
  .f-col:last-child { border-bottom: 1px solid var(--line); }
  .f-col summary { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; margin: 0; font-size: 18px; pointer-events: auto; cursor: pointer; }
  .f-col summary .chev { display: block; transition: transform .2s; }
  .f-col[open] summary .chev { transform: rotate(180deg); }
  .f-col > div { padding-bottom: 16px; }
  .footer-grid .f-col a { padding: 9px 0; font-size: 16px; }
  .footer-social { gap: 28px; margin-top: 32px; }
  .footer-legal { flex-direction: column; gap: 18px; margin-top: 32px; font-size: 16px; }
  .to-top { bottom: 20px; }
}

/* ---------- Privacy & Terms (privacy.html, terms.html) ---------- */
.legal { max-width: 800px; }
.legal-kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.svc-main .legal-kicker + h1 { margin-top: 6px; }
.legal-meta { font-size: 14px; color: var(--ink-2); }
.legal-lead { font-family: var(--display); font-size: clamp(21px, 2vw, 25px); line-height: 1.45; color: var(--ink); margin-top: 22px !important; }
.legal .link { font-size: inherit; }
.legal-glance { margin-top: 36px !important; padding: 30px 34px; background: var(--accent); color: #fff; border-radius: 12px; }
.svc-main .legal-glance h2, .svc-main .legal-toc h2 { margin: 0 0 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.legal-glance h2 { color: #f3d9b1; }
.svc-main .legal-glance ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.legal-glance li { position: relative; padding-left: 26px; line-height: 1.5; }
.legal-glance li::before { content: "✦"; position: absolute; left: 0; top: 1px; color: var(--gold); }
.legal-glance b { display: block; }
.legal-glance .link { color: #fff; }
.legal-toc { margin-top: 28px !important; padding: 26px 34px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.legal-toc ol { columns: 2; column-gap: 32px; padding-left: 22px; }
.legal-toc li { padding: 4px 0; break-inside: avoid; }
.legal-toc li::marker { color: var(--gold); font-weight: 600; }
.legal-toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal { counter-reset: legal; }
.svc-main.legal > h2 { counter-increment: legal; font-size: clamp(22px, 2.2vw, 28px); margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.svc-main.legal > h2::before { content: counter(legal, decimal-leading-zero); display: block; margin-bottom: 6px; font-family: var(--display); font-size: 20px; font-style: italic; font-weight: 500; color: var(--gold); }
.svc-main.legal h3 { font-size: 18px; margin-top: 22px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; }
.legal li b, .legal p b { color: var(--ink); }
.legal .legal-glance li, .legal .legal-glance b { color: #fff; }
.legal .legal-kicker { color: var(--gold); }
.legal .legal-lead { color: var(--ink); }
.legal .cs-banner { margin-top: 56px !important; }
.legal .cs-banner h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 10px; }
@media (max-width: 800px) {
  .legal-glance, .legal-toc { padding: 24px 22px; }
  .svc-main .legal-glance ul { grid-template-columns: 1fr; }
  .legal-toc ol { columns: 1; }
}

/* ---------- Phone tab bar ---------- */
.tabbar { display: none; }
@media (max-width: 800px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.06); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px; font: inherit; font-size: 12px; font-weight: 500; color: var(--ink-2); background: none; border: 0; cursor: pointer; }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar .on { color: var(--accent); }
  .tab-ico { position: relative; display: flex; }
  .tab-count { position: absolute; top: -5px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
  .tab-count[hidden] { display: none; }
  /* Tab bar replaces the header hamburger; the drawer has its own close button */
  .m-menu-btn { display: none; }
  .chat-fab { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- Glass header + tab bar ---------- */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .tabbar, .chat-fab { -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); }
  .chat-fab { background: rgba(255, 252, 248, .55); border: 1px solid rgba(255,255,255,.7); border-radius: 18px; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 0 0 1px rgba(183,135,74,.22), 0 10px 28px rgba(29,10,16,.16); }
  .chat-fab:hover { background: rgba(255, 252, 248, .75); }
  .chat-fab svg { fill: var(--accent); }
  .site-header { background: rgba(254, 248, 241, .72); border-bottom: 1px solid rgba(183, 135, 74, .18); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 8px 24px rgba(29,10,16,.04); }
  .tabbar { background: rgba(255, 252, 248, .7); border-top: 1px solid rgba(183, 135, 74, .2); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -8px 24px rgba(29,10,16,.06); }}

/* Checkout */
#ship-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; grid-template-columns: minmax(0, 1fr); }
#ship-form label { min-width: 0; }
#ship-form input, #ship-form textarea { width: 100%; min-width: 0; }
#ship-form fieldset:disabled { opacity: .6; }
#ship-form legend h2 { margin-bottom: 4px; }
#pay { margin-top: 28px; display: grid; gap: 14px; scroll-margin-top: 130px; } /* clears the sticky header */
.pay-test { background: #fff6dc; border: 1px solid #e8d08a; padding: 10px 12px; font-size: 14px; }
.pay-msg { color: #a0122a; font-size: 14px; }
.pay-msg:empty { display: none; }
.pay-or { display: flex; align-items: center; gap: 12px; color: var(--muted, #777); font-size: 14px; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; border-top: 1px solid var(--line, #ddd); }
#paypal-el { min-height: 50px; }
.checkout-done { text-align: center; padding: 48px 24px; display: grid; gap: 14px; justify-items: center; }
@media (max-width: 600px) { .form-row-3 { grid-template-columns: 1fr 1fr !important; } .form-row-3 label:first-child { grid-column: 1 / -1; } }

/* Newsletter / contact form result line */
.form-msg { margin-top: 10px; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ts-box:not(:empty) { margin-top: 10px; }
