/* NORTHLOOM - Radical-Transparency Editorial Minimal
   off-white canvas, ink type, clay accent, thin rules, no gradients */
:root {
  --font-primary: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-accent: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --color-primary: #1B1A17;
  --brand-primary: var(--color-primary);
  --color-dark: #1B1A17;
  --brand-dark: var(--color-dark);
  --bg-main: #F7F4EE;
  --bg-canvas: #F7F4EE;
  --accent: #B8876B;
  --accent-ink: #8A5E44;
  --sand: #E9E1D3;
  --sage: #9AA58B;
  --muted: #6A655B;
  --border-color: #D9D2C4;
  --rule: #D9D2C4;
  --ok: #3E6B4A;
  --warn: #9A6A1F;
  --bad: #A23B2E;
  --radius: 0px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg-main); color: var(--color-dark);
  font: 400 15px/1.55 var(--font-primary); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0 0 1em; }
em, .serif { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.display { font-size: clamp(40px, 6.6vw, 108px); line-height: .98; letter-spacing: -0.035em; font-weight: 500; }
.h2 { font-size: clamp(30px, 4vw, 56px); letter-spacing: -0.03em; }
.h3 { font-size: clamp(20px, 2vw, 26px); }
.lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: #3b3832; max-width: 46ch; }
.muted { color: var(--muted); }
.rule { border-top: 1px solid var(--rule); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.section { padding-block: clamp(56px, 8vw, 120px); }
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: end; margin-bottom: clamp(24px, 4vw, 48px); }
.section-head > :first-child { grid-column: 1 / span 7; }
.section-head > :last-child { grid-column: 9 / span 4; justify-self: end; }

/* announcement + header */
.announce { background: var(--color-dark); color: #E9E1D3; font-size: 12px; letter-spacing: .04em; text-align: center; padding: 8px var(--gutter); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg-main); border-bottom: 1px solid var(--rule); }
.site-header .bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: nowrap; }
.brand-logo { font-weight: 600; font-size: 17px; letter-spacing: .28em; white-space: nowrap; flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand-logo span { font-weight: 400; margin-left: .5ch; }
.nav { display: flex; gap: clamp(14px, 2.2vw, 34px); align-items: center; white-space: nowrap; }
.nav a { font-size: 13.5px; font-weight: 450; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.active { border-bottom-color: var(--color-dark); }
.hdr-actions { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.icon-btn { background: none; border: 0; height: 40px; min-width: 40px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.count { font-size: 11px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--color-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.count:empty, .count[data-n="0"] { display: none; }
.burger { display: none; }
.mobile-nav { display: none; border-top: 1px solid var(--rule); background: var(--bg-main); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 16px var(--gutter); border-bottom: 1px solid var(--rule); font-size: 17px; }
@media (max-width: 1023px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--color-primary); color: #fff; border: 1px solid var(--color-primary); padding: 0 28px; height: 50px; font-size: 14px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; transition: background .2s, color .2s; text-align: center; }
.btn:hover { background: transparent; color: var(--color-primary); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--color-dark); border-color: var(--color-dark); }
.btn.ghost:hover { background: var(--color-dark); color: #fff; }
.btn.block { width: 100%; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 13px; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 1px; font-size: 14px; white-space: nowrap; }
.arrow::after { content: '\2192'; margin-left: 8px; }

/* hero */
.hero { padding-top: clamp(28px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px 24px; align-items: end; }
.hero-grid h1 { grid-column: 1 / span 8; }
.hero-side { grid-column: 9 / span 4; padding-bottom: 8px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-stage { position: relative; margin-top: clamp(24px, 4vw, 48px); aspect-ratio: 16 / 7; background: var(--sand); overflow: hidden; }
.hero-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.hero-stage img.on { opacity: 1; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); gap: 16px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 36px; height: 20px; background: none; border: 0; padding: 0; position: relative; }
.hero-dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--rule); }
.hero-dots button.on::after { background: var(--color-dark); }
@media (max-width: 900px) {
  .hero-grid h1, .hero-side { grid-column: 1 / -1; }
  .hero-stage { aspect-ratio: 4 / 3; }
}

/* collection tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); }
.tile { display: block; }
.tile .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile:hover img { transform: scale(1.03); }
.tile .cap { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--rule); margin-top: 12px; font-size: 15px; }
.tile .cap small { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(12px, 2vw, 24px); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .grid, .grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid, .grid.three { grid-template-columns: repeat(2, 1fr); } }
.card { position: relative; min-width: 0; }
.card .ph { position: relative; aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; display: block; }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform .8s ease; }
.card .ph img.alt { opacity: 0; }
.card:hover .ph img.alt { opacity: 1; }
.card .tags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; z-index: 2; }
.tag { background: var(--bg-main); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; white-space: nowrap; }
.tag.low { color: var(--warn); }
.tag.out { background: var(--color-dark); color: #fff; }
.wish { position: absolute; right: 8px; top: 8px; z-index: 3; background: rgba(247,244,238,.9); border: 0; width: 34px; height: 34px; display: grid; place-items: center; }
.wish svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.wish.on svg { fill: var(--accent-ink); stroke: var(--accent-ink); }
.card .meta { padding-top: 12px; display: grid; gap: 4px; }
.card .name { font-size: 15px; font-weight: 450; line-height: 1.3; }
.card .sub { font-size: 12.5px; color: var(--muted); }
.price { font-size: 15px; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); margin-left: 8px; font-size: 13px; }
.dots { display: flex; gap: 5px; align-items: center; margin-top: 2px; }
.dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(27,26,23,.25); display: inline-block; }
.quick { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(247,244,238,.96); padding: 10px; transform: translateY(100%); transition: transform .3s ease; z-index: 2; border-top: 1px solid var(--rule); }
.card:hover .quick, .card:focus-within .quick { transform: translateY(0); }
.quick .lbl { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.quick .sizes { display: flex; flex-wrap: wrap; gap: 6px; }
@media (hover: none) { .quick { display: none; } }
.size-btn { min-width: 44px; height: 40px; padding: 0 10px; background: transparent; border: 1px solid var(--color-dark); font-size: 13px; position: relative; }
.size-btn:hover { background: var(--sand); }
.size-btn.on { background: var(--color-dark); color: #fff; }
.size-btn[disabled] { border-color: var(--rule); color: #aaa398; cursor: not-allowed; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(0,0,0,.05) 6px 7px); }
.card .size-btn { min-width: 38px; height: 32px; padding: 0 8px; font-size: 12px; }

/* true cost */
.truecost { background: var(--sand); }
.tc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; }
.tc-copy { grid-column: 1 / span 5; }
.tc-panel { grid-column: 7 / span 6; }
.tc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tc-tab { border: 1px solid var(--color-dark); background: transparent; height: 36px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
.tc-tab.on { background: var(--color-dark); color: #fff; }
.tc-bar { display: flex; height: 44px; width: 100%; border: 1px solid var(--color-dark); }
.tc-bar i { display: block; height: 100%; min-width: 2px; border-right: 1px solid var(--bg-main); }
.tc-bar i:last-child { border-right: 0; }
.tc-rows { margin-top: 20px; }
.tc-row { display: grid; grid-template-columns: 14px 1fr auto auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(27,26,23,.2); font-size: 14px; }
.tc-row .sw { width: 12px; height: 12px; }
.tc-row .pc { color: var(--muted); font-size: 12.5px; min-width: 44px; text-align: right; }
.tc-row.total { border-bottom: 0; font-weight: 600; font-size: 16px; padding-top: 14px; }
.tc-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .tc-copy, .tc-panel { grid-column: 1 / -1; } }
.tc-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* fabrics */
.fabrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.fabric .ph { aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand); }
.fabric img { width: 100%; height: 100%; object-fit: cover; }
.fabric h3 { margin: 16px 0 6px; font-size: 20px; }
.fabric dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; border-top: 1px solid var(--rule); padding-top: 12px; }
.fabric dt { color: var(--muted); } .fabric dd { margin: 0; }
@media (max-width: 760px) { .fabrics { grid-template-columns: 1fr; } .fabric { display: grid; grid-template-columns: 120px 1fr; gap: 16px; } .fabric h3 { margin-top: 0; } }

/* lookbook */
.look { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.look figure { margin: 0; overflow: hidden; background: var(--sand); }
.look img { width: 100%; height: 100%; object-fit: cover; }
.look .l1 { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.look .l2 { grid-column: 8 / span 5; aspect-ratio: 4 / 5; grid-row: span 2; }
.look .l3 { grid-column: 1 / span 4; aspect-ratio: 4 / 5; }
.look .l4 { grid-column: 5 / span 3; aspect-ratio: 4 / 5; }
.look .l4 { aspect-ratio: auto; }
@media (max-width: 760px) {
  .look .l1 { grid-column: 1 / -1; } .look .l2 { grid-column: 1 / span 6; grid-row: auto; }
  .look .l3 { grid-column: 7 / span 6; } .look .l4 { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}

/* story */
.story { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.story .a { grid-column: 1 / span 5; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.story .b { grid-column: 6 / span 4; padding-inline: clamp(0px, 2vw, 24px); }
.story .c { grid-column: 10 / span 3; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.story img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) { .story .a, .story .b, .story .c { grid-column: 1 / -1; } .story .b { order: -1; padding: 0; } }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 24px; margin-top: 24px; border-top: 1px solid var(--rule); padding-top: 20px; justify-content: start; }
.stats b { display: block; font-size: 28px; font-weight: 500; letter-spacing: -0.03em; }
.stats span { font-size: 12px; color: var(--muted); }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.review { border-top: 1px solid var(--color-dark); padding-top: 18px; }
.review blockquote { margin: 12px 0 16px; font-family: var(--font-accent); font-size: 21px; line-height: 1.35; letter-spacing: -0.01em; }
.stars { display: inline-flex; gap: 2px; color: var(--accent-ink); } .stars svg { width: 14px; height: 14px; fill: currentColor; }
.review cite { font-style: normal; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* newsletter + footer */
.news { background: var(--color-dark); color: #E9E1D3; }
.news .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.news h2 { grid-column: 1 / span 6; } .news form { grid-column: 8 / span 5; }
.news .row { display: flex; border-bottom: 1px solid #E9E1D3; }
.news input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; height: 52px; font-size: 16px; outline: none; }
.news input::placeholder { color: #a7a091; }
.news button { background: none; border: 0; color: #fff; padding: 0 4px; font-size: 14px; white-space: nowrap; }
.news .msg { font-size: 13px; margin-top: 10px; min-height: 1.4em; color: #cfc7b6; }
@media (max-width: 900px) { .news h2, .news form { grid-column: 1 / -1; } }
.site-footer { padding-block: 56px 28px; border-top: 1px solid var(--rule); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.foot-grid a { display: block; padding: 4px 0; font-size: 14px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; background: var(--color-dark); color: #fff; height: 44px; padding: 0 16px; display: inline-flex; align-items: center; font-size: 13px; letter-spacing: .02em; }

/* drawer */
.overlay { position: fixed; inset: 0; background: rgba(27,26,23,.4); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: var(--bg-main); z-index: 100; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; border-left: 1px solid var(--rule); }
.drawer.on { transform: none; }
.drawer-head { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--rule); font-weight: 500; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--rule); padding: 16px 20px 20px; }
.ship-bar { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
.ship-bar .track { height: 3px; background: var(--rule); margin-top: 8px; }
.ship-bar .fill { height: 100%; background: var(--color-dark); transition: width .4s; }
.ln { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ln img { width: 76px; aspect-ratio: 4/5; object-fit: cover; background: var(--sand); }
.ln .nm { font-size: 14px; font-weight: 450; } .ln .vr { font-size: 12.5px; color: var(--muted); }
.ln .ctl { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.qty { display: inline-flex; border: 1px solid var(--color-dark); align-items: center; height: 32px; }
.qty button { width: 30px; height: 100%; border: 0; background: none; font-size: 16px; }
.qty span { min-width: 26px; text-align: center; font-size: 13px; }
.rm { background: none; border: 0; font-size: 12.5px; color: var(--muted); text-decoration: underline; padding: 4px; }
.warn-line { color: var(--bad); font-size: 12.5px; margin-top: 4px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.sum-row.total { font-weight: 600; font-size: 17px; border-top: 1px solid var(--color-dark); margin-top: 8px; padding-top: 12px; }
.coupon { display: flex; gap: 8px; margin: 12px 0; }
.coupon input { flex: 1; min-width: 0; }
.empty { text-align: center; padding: 56px 16px; color: var(--muted); }
.empty h3 { color: var(--color-dark); margin-bottom: 8px; font-size: 22px; }

/* forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], input[type=search], input[type=date], select, textarea, .input {
  width: 100%; height: 48px; background: transparent; border: 1px solid #b9b1a1; padding: 0 14px; font: inherit; font-size: 15px; color: var(--color-dark); border-radius: 0; appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, #1B1A17 50%), linear-gradient(135deg, #1B1A17 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
textarea { height: auto; padding: 12px 14px; min-height: 80px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--color-dark); box-shadow: 0 0 0 1px var(--color-dark); }
.field.err input, .field.err select { border-color: var(--bad); }
.field .em { color: var(--bad); font-size: 12.5px; min-height: 0; }
.field .hint { color: var(--muted); font-size: 12.5px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; gap: 0; } }
.alert { padding: 12px 14px; border: 1px solid var(--rule); background: var(--sand); font-size: 14px; margin-bottom: 16px; }
.alert.bad { border-color: var(--bad); color: var(--bad); background: #f6e7e3; }
.alert.ok { border-color: var(--ok); color: var(--ok); background: #e5efe6; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--color-dark); color: #fff; padding: 12px 20px; font-size: 14px; opacity: 0; transition: .3s; z-index: 200; pointer-events: none; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--bad); }

/* shop layout */
.page-head { padding-block: clamp(32px, 5vw, 72px) 24px; border-bottom: 1px solid var(--rule); }
.shop { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px); padding-block: 28px 80px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); }
.fgroup { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.fgroup h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.fopts { display: flex; flex-wrap: wrap; gap: 8px; }
.fopt { border: 1px solid #b9b1a1; background: transparent; height: 34px; padding: 0 12px; font-size: 13px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.fopt.on { background: var(--color-dark); color: #fff; border-color: var(--color-dark); }
.shop-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; font-size: 13.5px; color: var(--muted); }
.shop-bar select { width: auto; height: 40px; min-width: 190px; }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(360px, 100%); background: var(--bg-main); z-index: 100; padding: 20px; overflow: auto; transform: translateX(100%); transition: transform .3s; border-left: 1px solid var(--rule); }
  .filters.on { transform: none; }
  .filter-toggle { display: inline-flex; }
}

/* product page */
.crumbs { font-size: 12.5px; color: var(--muted); padding-block: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: 72px; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { border: 1px solid transparent; padding: 0; background: var(--sand); aspect-ratio: 4/5; overflow: hidden; }
.thumbs button.on { border-color: var(--color-dark); }
.thumbs img, .gmain img { width: 100%; height: 100%; object-fit: cover; }
.gmain { aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; }
.buy { position: sticky; top: calc(var(--header-h) + 20px); }
.buy h1 { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -0.03em; margin: 8px 0 10px; }
.buy .pr { font-size: 22px; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.buy .pr s { font-size: 15px; color: var(--muted); margin-left: 10px; }
.opt-h { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 10px; font-size: 13px; }
.opt-h b { font-weight: 500; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(27,26,23,.25); padding: 3px; background: transparent; }
.swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; }
.swatch.on { border-color: var(--color-dark); box-shadow: 0 0 0 1px var(--color-dark); }
.sizes-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.sizes-grid .size-btn { min-width: 0; height: 48px; }
.stock-note { font-size: 13px; min-height: 20px; margin-top: 10px; color: var(--warn); }
.stock-note.ok { color: var(--ok); } .stock-note.bad { color: var(--bad); }
.buy-actions { display: grid; grid-template-columns: 1fr 52px; gap: 10px; margin-top: 16px; }
.buy-actions .wishbtn { border: 1px solid var(--color-dark); background: transparent; display: grid; place-items: center; }
.buy-actions .wishbtn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.buy-actions .wishbtn.on svg { fill: var(--accent-ink); stroke: var(--accent-ink); }
.pin { display: flex; gap: 8px; margin-top: 8px; } .pin input { height: 44px; }
.pin-res { font-size: 13px; margin-top: 8px; min-height: 20px; }
details.acc { border-top: 1px solid var(--rule); }
details.acc:last-of-type { border-bottom: 1px solid var(--rule); }
details.acc summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 500; font-size: 14px; display: flex; justify-content: space-between; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: '+'; font-weight: 300; font-size: 20px; line-height: 1; }
details.acc[open] summary::after { content: '\2212'; }
details.acc .in { padding: 0 0 18px; font-size: 14px; color: #3b3832; }
table.chart { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
table.chart th, table.chart td { border-bottom: 1px solid var(--rule); padding: 9px 10px; text-align: left; }
table.chart th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.chart-wrap { overflow-x: auto; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .buy { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .gmain { order: -1; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* checkout */
.co { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); padding-block: 32px 96px; align-items: start; }
.co h2 { font-size: 22px; margin: 32px 0 16px; padding-top: 24px; border-top: 1px solid var(--rule); }
.co h2:first-of-type { margin-top: 8px; border-top: 0; padding-top: 0; }
.opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: start; border: 1px solid #b9b1a1; padding: 16px; margin-bottom: 10px; cursor: pointer; }
.opt.on { border-color: var(--color-dark); box-shadow: 0 0 0 1px var(--color-dark); }
.opt input { margin-top: 3px; accent-color: var(--color-dark); width: 18px; height: 18px; }
.opt .t { font-weight: 500; } .opt .d { font-size: 13px; color: var(--muted); }
.opt.disabled { opacity: .55; cursor: not-allowed; }
.summary { background: var(--sand); padding: 28px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary h3 { font-size: 18px; margin-bottom: 8px; }
.sline { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(27,26,23,.15); font-size: 14px; align-items: center; }
.sline img { width: 56px; aspect-ratio: 4/5; object-fit: cover; }
.gst-box { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) { .co { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }

/* order / payment */
.narrow { max-width: 880px; margin: 0 auto; }
.pay-panel { border: 1px solid var(--color-dark); padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); margin: 24px 0; align-items: start; }
.qr { background: #fff; padding: 14px; border: 1px solid var(--rule); width: 236px; height: 236px; }
.qr canvas, .qr svg { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.timer { font-size: 34px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 16px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; word-break: break-word; }
@media (max-width: 700px) { .pay-panel { grid-template-columns: 1fr; justify-items: center; text-align: left; } .qr { width: 220px; height: 220px; } .pay-panel > div { width: 100%; } }
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 28px 0; }
.stepper div { border-top: 3px solid var(--rule); padding-top: 8px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.stepper div.done { border-color: var(--color-dark); color: var(--color-dark); }
.timeline { border-left: 1px solid var(--color-dark); margin: 16px 0 0 6px; padding-left: 22px; }
.timeline li { list-style: none; position: relative; padding-bottom: 18px; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; left: -28px; top: 5px; width: 11px; height: 11px; background: var(--bg-main); border: 1px solid var(--color-dark); border-radius: 50%; }
.timeline small { color: var(--muted); display: block; }
.badge { display: inline-block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border: 1px solid var(--color-dark); white-space: nowrap; }
.badge.ok { border-color: var(--ok); color: var(--ok); } .badge.bad { border-color: var(--bad); color: var(--bad); } .badge.warn { border-color: var(--warn); color: var(--warn); }

/* prose + chart pages */
.prose { max-width: 66ch; } .prose h2 { font-size: 28px; margin: 40px 0 12px; } .prose p { color: #3b3832; font-size: 16px; line-height: 1.65; }
.two-col { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 20px; overflow-x: auto; padding-bottom: 8px; }
.skeleton { background: linear-gradient(90deg, var(--sand), #f0e9dc, var(--sand)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
