/* =====================================================================
   SASIWEB — STYLES
   Brand colours and fonts live in the :root tokens below.
   ===================================================================== */
:root {
  --ivory: #F7F2EA;
  --ivory-2: #EFE7DB;
  --paper: #FFFDF9;
  --photo-bg: #F2EEE8;
  --line: #DCD1C1;
  --charcoal: #2A2826;
  --muted: #6E6862;
  --burgundy: #6B1F2E;
  --burgundy-dark: #541724;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
:focus-visible { outline: 1.5px solid var(--burgundy); outline-offset: 3px; }
main:focus { outline: none; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--charcoal); color: var(--ivory); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 0 0 12px; }
.fine { font-size: 12.5px; color: var(--muted); margin: 8px 0 16px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; border: 1px solid var(--charcoal); transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--burgundy); border-color: var(--burgundy); color: var(--ivory); }
.btn-primary:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); }
.btn-outline:hover { background: var(--charcoal); color: var(--ivory); }
.btn-block { width: 100%; }
.btn[disabled] { background: var(--ivory-2); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.link { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--burgundy); }
a.inline { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.preview-bar { background: var(--charcoal); color: var(--ivory-2); text-align: center; font-size: 11.5px; letter-spacing: .06em; padding: 7px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ivory); border-bottom: 1px solid var(--line); }
.header-main { max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 40px); align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; }
.wordmark { font-family: var(--serif); font-size: 28px; letter-spacing: .05em; }
.wordmark.small { font-size: 22px; }
.site-search { position: relative; max-width: 620px; width: 100%; justify-self: center; }
.site-search > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.site-search input { width: 100%; height: 44px; border: 1px solid var(--line); background: var(--paper); padding: 0 16px 0 42px; font-size: 15px; border-radius: 22px; }
.site-search input:focus { outline: none; border-color: var(--charcoal); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(42, 40, 38, .12); z-index: 45; max-height: 70vh; overflow: auto; }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 8px 14px; font-size: 14.5px; }
.suggest a:hover, .suggest a:focus { background: var(--ivory); outline: none; }
.suggest small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.s-thumb { width: 40px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--photo-bg); flex: none; }
.s-thumb img, .s-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.suggest .s-all { border-top: 1px solid var(--line); font-size: 13px; color: var(--burgundy); padding: 12px 14px; }
.s-none { margin: 0; padding: 14px; color: var(--muted); font-size: 14px; }
.header-actions { display: flex; gap: 6px; }
.head-icon { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.head-icon:hover { color: var(--burgundy); }
.count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--burgundy); color: #fff; font-size: 10.5px; display: grid; place-items: center; padding: 0 5px; font-weight: 400; }
.count[hidden] { display: none; }
.count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.3); } }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; }
.menu-btn { display: none; margin-left: -10px; }
.cat-nav { border-top: 1px solid var(--line); }
.cat-nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 13px 0 11px; border-bottom: 2px solid transparent; }
.cat-nav a:hover { color: var(--burgundy); }
.cat-nav a.active { border-bottom-color: var(--burgundy); color: var(--burgundy); }

@media (max-width: 860px) {
  .header-main { grid-template-columns: auto 1fr auto; padding: 8px var(--gutter) 10px; row-gap: 8px; }
  .menu-btn { display: inline-grid; }
  .brand { justify-self: start; }
  .site-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .wordmark { font-size: 24px; }
  .brand img { width: 28px; height: 28px; }
  .cat-nav-inner { gap: 22px; }
}

/* ---------- Drawers ---------- */
.scrim { position: fixed; inset: 0; background: rgba(42, 40, 38, .35); z-index: 50; opacity: 0; transition: opacity .3s; }
.scrim.show { opacity: 1; }
.mobile-nav, .bag { position: fixed; top: 0; bottom: 0; z-index: 60; background: var(--ivory); width: min(420px, 100%); display: flex; flex-direction: column; transition: transform .4s var(--ease), visibility .4s; visibility: hidden; }
.mobile-nav { left: 0; transform: translateX(-100%); padding: 0 24px 32px; width: min(340px, 88%); overflow-y: auto; }
.bag { right: 0; transform: translateX(100%); }
.mobile-nav.open, .bag.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--line); }
.bag .drawer-head { padding: 0 24px; }
.drawer-head .icon-btn { margin-right: -12px; }
.drawer-head h2 { font-size: 26px; }
#mobileLinks a { display: block; font-family: var(--serif); font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav-sub { display: grid; gap: 2px; margin-top: 24px; }
.mobile-nav-sub a { font-size: 14px; color: var(--muted); padding: 8px 0; }

.bag-items { flex: 1; overflow-y: auto; padding: 4px 24px; }
.bag-empty { text-align: center; padding: 56px 8px; color: var(--muted); }
.bag-empty p { margin: 0 0 24px; font-family: var(--serif); font-size: 24px; color: var(--charcoal); }
.bag-empty .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.bag-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bag-thumb { aspect-ratio: 4 / 5; overflow: hidden; background: var(--photo-bg); }
.bag-thumb svg, .bag-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bag-line h4 { font-family: var(--serif); font-size: 19px; font-weight: 400; margin: 0 0 2px; line-height: 1.2; }
.bag-line .meta { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.bag-line .price { font-size: 14px; text-align: right; white-space: nowrap; }
.remove { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-left: 10px; vertical-align: middle; }
.remove:hover { color: var(--burgundy); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); vertical-align: middle; }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; font-size: 16px; }
.qty button:hover { background: var(--ivory-2); }
.qty span { min-width: 28px; text-align: center; font-size: 14px; }
.bag-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.bag-foot:empty { display: none; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.sum-row strong { font-weight: 400; font-size: 18px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 5fr 7fr; height: min(78vh, 720px); min-height: 480px; border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px var(--gutter); max-width: 640px; margin-left: auto; width: 100%; }
.hero h1 { font-size: clamp(46px, 6vw, 92px); line-height: .98; margin-bottom: 36px; }
.hero h1 em { color: var(--burgundy); font-style: italic; display: block; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { overflow: hidden; background: var(--photo-bg); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero-art { order: -1; aspect-ratio: 4 / 3; }
  .hero-copy { padding: 32px var(--gutter) 40px; margin: 0; }
  .hero h1 { margin-bottom: 24px; }
  .cta .btn { flex: 1 1 150px; }
}

/* ---------- Home sections ---------- */
.section-head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(30px, 3.2vw, 42px); margin-right: auto; }
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 20px); padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(16px, 3vw, 32px); }
.cat-tile .media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--photo-bg); }
.cat-tile img, .cat-tile svg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-tile:hover img, .cat-tile:hover svg { transform: scale(1.04); }
.cat-tile span { display: block; padding-top: 10px; font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); }
@media (max-width: 700px) { .cat-tiles { grid-template-columns: 1fr 1fr; } }

.rail-section { padding-top: clamp(40px, 5vw, 72px); }
.rail-arrows { display: flex; gap: 6px; }
.rail-arrows button { width: 38px; height: 38px; border: 1px solid var(--line); background: var(--paper); font-size: 22px; line-height: 1; display: grid; place-items: center; }
.rail-arrows button:hover { border-color: var(--charcoal); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 3 * 16px) / 3.4); gap: 16px; } }
@media (max-width: 640px) { .rail { grid-auto-columns: 44%; gap: 12px; } .rail-arrows { display: none; } }

.promo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); padding-top: clamp(40px, 5vw, 72px); }
.promo-card { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--charcoal); }
.promo-card.tall { aspect-ratio: 4 / 5; }
.promo-card img, .promo-card svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.promo-card:hover img { transform: scale(1.03); }
.promo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 18, 17, .65)); }
.promo-text { position: absolute; left: 0; bottom: 0; z-index: 1; padding: clamp(18px, 3vw, 32px); color: var(--ivory); }
.promo-text .eyebrow { color: rgba(247, 242, 234, .8); margin-bottom: 6px; }
.promo-text h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 10px; }
@media (max-width: 700px) { .promo { grid-template-columns: 1fr; } }

.brands-strip { padding-top: clamp(48px, 6vw, 88px); }
.brands-strip h2 { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 22px; }
.brand-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.brand-tiles a { border: 1px solid var(--line); background: var(--paper); padding: 28px 20px; text-align: center; transition: border-color .2s; }
.brand-tiles a:hover { border-color: var(--charcoal); }
.brand-tiles span { display: block; font-family: var(--serif); font-size: 26px; }
.brand-tiles small { color: var(--muted); font-size: 12.5px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; padding-bottom: clamp(64px, 8vw, 120px); }

.gift-banner { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: #EDE6DB; overflow: hidden; }
.gift-banner > div { padding: clamp(28px, 5vw, 72px); }
.gift-banner h2 { font-size: clamp(38px, 4.4vw, 64px); margin-bottom: 12px; }
.gift-banner p:not(.eyebrow) { color: var(--muted); margin: 0 0 24px; }
.gift-banner img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 760px) { .gift-banner { grid-template-columns: 1fr; } .gift-banner img { order: -1; max-height: 380px; } }
main > .rail-section:last-child, main > section:last-child { padding-bottom: clamp(64px, 8vw, 120px); }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 40px 18px; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; } }
.card { position: relative; }
.card .media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--photo-bg); }
.card .media > img, .card .media > svg { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .8s var(--ease); }
.card .media .alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .card:hover .media .alt { opacity: 1; }
  .card:hover .media > :first-child { transform: scale(1.03); }
}
.badges { position: absolute; left: 8px; top: 8px; display: flex; gap: 6px; }
.badge { background: var(--paper); color: var(--charcoal); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; font-weight: 400; }
.badge-muted { color: var(--muted); }
.badge.abs { position: absolute; left: 10px; top: 10px; z-index: 2; }
.card .info { padding-top: 10px; padding-right: 4px; }
.brand-label { margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.brand-label.big { font-size: 12.5px; display: inline-block; }
.brand-label.big:hover { color: var(--burgundy); }
.card h3 { font-family: var(--sans); font-size: 14.5px; font-weight: 300; line-height: 1.35; margin: 2px 0 2px; }
.card .sub { font-size: 12.5px; color: var(--muted); margin: 0 0 6px; }
.card .price { font-size: 14.5px; font-weight: 400; margin: 0; }
.price.soon, .pdp-price.soon { color: var(--muted); font-weight: 300; font-style: italic; }
.dots { display: inline-flex; gap: 4px; vertical-align: middle; margin-left: 4px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); display: inline-block; }
.wish-btn { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 253, 249, .92); display: grid; place-items: center; transition: transform .15s; z-index: 2; }
.wish-btn svg { fill: none; stroke: var(--charcoal); stroke-width: 1.3; }
.wish-btn:hover { transform: scale(1.08); }
.wish-btn[aria-pressed="true"] svg { fill: var(--burgundy); stroke: var(--burgundy); }
.wish-btn.big { position: static; width: 52px; height: 50px; border-radius: 0; border: 1px solid var(--charcoal); background: transparent; flex: none; }
.no-photo { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 13px; }

/* ---------- Listing ---------- */
.crumbs { font-size: 12.5px; color: var(--muted); padding: 18px 0 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--charcoal); text-decoration: underline; }
.list-head { padding: 10px 0 20px; }
.list-head h1 { font-size: clamp(38px, 5vw, 64px); }
.list-head .eyebrow { margin-bottom: 6px; }
.toolbar { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ivory); flex-wrap: wrap; }
.select { height: 42px; border: 1px solid var(--line); background: var(--paper); padding: 0 36px 0 14px; font-size: 14px; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232A2826' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.filter-toggle { display: none; height: 42px; padding: 0 16px; border: 1px solid var(--charcoal); background: var(--paper); font-size: 14px; gap: 8px; align-items: center; }
.active-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.active-chips button { font-size: 13px; padding: 5px 10px; background: var(--charcoal); color: var(--ivory); border-radius: 14px; }
.result-count { font-size: 13px; color: var(--muted); margin-left: auto; }
.shop-layout { display: grid; grid-template-columns: 230px 1fr; gap: clamp(24px, 3vw, 48px); padding: 24px 0 clamp(64px, 8vw, 120px); }
.filters { align-self: start; position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow-y: auto; padding-right: 6px; }
.facet { border-bottom: 1px solid var(--line); }
.facet summary { list-style: none; cursor: pointer; padding: 14px 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; display: flex; justify-content: space-between; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: "+"; font-size: 16px; line-height: 1; letter-spacing: 0; }
.facet[open] summary::after { content: "–"; }
.facet-body { display: grid; gap: 2px; padding-bottom: 14px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 5px 0; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--burgundy); margin: 0; flex: none; }
.check span { flex: 1; }
.check small { color: var(--muted); font-size: 12px; }
.check .sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); flex: none; }
.check.toggle { padding: 16px 0 8px; font-size: 13.5px; }
.clear-filters { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); margin-top: 8px; }
.empty-state { padding: 64px 0; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.empty-state p { font-family: var(--serif); font-size: 26px; color: var(--charcoal); margin: 0 0 8px; }
.empty-state.big { padding: 80px 0 clamp(64px, 8vw, 120px); }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; padding-top: 16px; }
  .filter-toggle { display: inline-flex; }
  .filters { display: none; position: static; max-height: none; }
  .filters.open { display: block; }
  .result-count { margin-left: 0; order: 3; width: 100%; }
}

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); padding: 10px 0 clamp(24px, 4vw, 48px); }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-self: start; position: sticky; top: 140px; }
.gallery.single { grid-template-columns: 1fr; }
.gallery.single .thumbs { display: none; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid transparent; opacity: .65; background: var(--photo-bg); transition: opacity .2s, border-color .2s; }
.thumbs button[aria-current="true"] { opacity: 1; border-color: var(--charcoal); }
.thumbs button:hover { opacity: 1; }
.thumbs img, .thumbs svg { width: 100%; height: 100%; object-fit: cover; }
.main-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--photo-bg); cursor: zoom-in; }
.main-photo > img, .main-photo > svg { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out; }
.gallery-nav { position: absolute; bottom: 12px; right: 12px; display: flex; align-items: center; gap: 4px; background: rgba(255, 253, 249, .92); padding: 2px; font-size: 12.5px; }
.gallery-nav button { width: 38px; height: 38px; display: grid; place-items: center; }
.gallery-nav span { min-width: 36px; text-align: center; }
.pdp-info h1 { font-size: clamp(32px, 3.4vw, 46px); margin: 6px 0 4px; }
.pdp-type { color: var(--muted); margin: 0 0 14px; font-size: 14.5px; }
.pdp-price { font-size: 22px; margin: 0 0 24px; font-weight: 400; }
.opt { margin-bottom: 22px; }
.opt-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; display: flex; justify-content: space-between; }
.opt-label span:last-child { letter-spacing: .02em; text-transform: none; color: var(--muted); font-size: 13px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { min-width: 52px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; }
.size-btn.wide { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 124px; padding: 8px 16px; line-height: 1.3; }
.size-btn.wide small { color: var(--muted); font-size: 12px; }
.size-btn[aria-pressed="true"] { border-color: var(--charcoal); box-shadow: inset 0 0 0 1px var(--charcoal); }
.swatches { display: flex; gap: 12px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); position: relative; }
.swatch[aria-pressed="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--charcoal); }
.form-msg { color: var(--burgundy); font-size: 13.5px; min-height: 20px; margin: -4px 0 8px; }
.buy-row { display: flex; gap: 10px; }
.accordion { border-top: 1px solid var(--line); margin-top: 26px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 17px 0; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; line-height: 1; letter-spacing: 0; }
.accordion details[open] summary::after { content: "–"; }
.accordion .body { padding: 0 0 20px; font-size: 14.5px; color: var(--muted); }
.accordion .body p { margin: 0 0 10px; }
.accordion ul { margin: 0; padding-left: 18px; }
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.notes-grid h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; margin: 0 0 6px; }
.notes-grid p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.3; color: var(--charcoal); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0; }
.facts dd { margin: 0; color: var(--charcoal); }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { order: 2; grid-template-columns: repeat(auto-fill, 60px); }
  .main-photo { cursor: default; }
}

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); padding: 8px 0 clamp(64px, 8vw, 120px); }
.notice { border: 1px solid var(--burgundy); color: var(--burgundy); padding: 14px 18px; font-size: 14px; margin-bottom: 32px; background: rgba(107, 31, 46, .04); }
.form-section { margin-bottom: 34px; }
.form-section h2 { font-size: 28px; margin-bottom: 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.field input { height: 48px; border: 1px solid var(--line); background: var(--paper); padding: 0 14px; font-size: 15px; }
.field input:focus { outline: none; border-color: var(--charcoal); }
.field input:user-invalid { border-color: var(--burgundy); }
.payment-box { border: 1px dashed var(--line); padding: 20px; color: var(--muted); font-size: 14px; background: var(--paper); }
.summary { background: var(--paper); padding: 26px; align-self: start; position: sticky; top: 140px; border: 1px solid var(--line); }
.summary h2 { font-size: 28px; margin-bottom: 10px; }
.summary .bag-line { grid-template-columns: 64px 1fr auto; padding: 14px 0; }
.summary .totals { padding-top: 16px; }
.summary .total { font-size: 18px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 10px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }

/* ---------- Info & confirmation ---------- */
.prose { max-width: 680px; padding: 8px 0 clamp(64px, 8vw, 120px); font-size: 16.5px; }
.prose h3 { font-size: 28px; margin: 28px 0 10px; }
.prose p { margin: 0 0 16px; }
.confirm { text-align: center; padding: clamp(64px, 10vw, 140px) var(--gutter); max-width: 620px; margin: 0 auto; }
.confirm img { margin: 0 auto 24px; }
.confirm h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 16px; }
.confirm p { color: var(--muted); }
.ref { font-family: var(--serif); font-size: 22px; color: var(--charcoal) !important; }

/* ---------- Footer & toast ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ivory-2); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 36px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: grid; gap: 10px; justify-items: start; }
.footer-brand p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-col { display: grid; gap: 7px; align-content: start; font-size: 14px; }
.footer-col h3 { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; margin-bottom: 6px; color: var(--muted); }
.footer-col a:hover { color: var(--burgundy); }
.footer-legal { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 28px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--charcoal); color: var(--ivory); padding: 12px 20px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); z-index: 80; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.fade-in { animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Checkout steps, review & order pages ---------- */
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 24px; counter-reset: step; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 8px; }
.steps li::before { content: counter(step); width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; letter-spacing: 0; }
.steps li + li::after { order: -1; content: ""; width: 24px; height: 1px; background: var(--line); }
.steps li.on { color: var(--charcoal); }
.steps li.on::before { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.steps li.done::before { content: "✓"; background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.field select { height: 48px; border: 1px solid var(--line); background: var(--paper); padding: 0 12px; font-size: 15px; }
.order-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.order-table th { text-align: left; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.order-table td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.order-table .num { text-align: right; white-space: nowrap; padding-left: 12px; }
.order-table small { color: var(--muted); }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review-grid h2 { font-size: 22px; }
.review-grid p { margin: 0; color: var(--muted); }
.secure-note { display: flex; gap: 6px; align-items: center; justify-content: center; }
#editBtn { display: block; margin: 8px auto 0; }
.order-page { max-width: 760px; padding-bottom: clamp(64px, 8vw, 120px); }
.order-head { text-align: center; padding: clamp(40px, 6vw, 72px) 0 32px; }
.order-head img { margin: 0 auto 18px; }
.order-head h1 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 14px; }
.order-head p { color: var(--muted); margin: 0 0 10px; }
.order-number { font-size: 15px; }
.order-number strong { font-family: var(--serif); font-size: 26px; color: var(--burgundy); font-weight: 500; margin-left: 6px; letter-spacing: .02em; }
.order-body { background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.processing { display: inline-flex; align-items: center; gap: 10px; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--burgundy); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .review-grid { grid-template-columns: 1fr; } }
