/* Storefront — minimal premium. Warm white, ink black, serif display type. */

@font-face { font-family: "Inter"; src: url("/static/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/static/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/static/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/static/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --bg: #fbfaf8; --paper: #ffffff; --soft: #f3f0eb; --soft-2: #ebe6df;
  --ink: #1c1b19; --ink-2: #45423e; --muted: #77716a; --line: #e6e1da;
  --sale: #a3362a; --ok: #2f6b4f; --warn: #8a5a12;
  --accent: #1c1b19;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 2px; --head-h: 64px;
  --gut: clamp(16px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.12; margin: 0 0 .4em; }
h1 { font-size: clamp(32px, 4.4vw, 52px); }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.sprite { position: absolute; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }
.wrap.narrow { max-width: 880px; }
.block { margin: clamp(48px, 7vw, 96px) auto; }
.block-sm { margin: 36px 0; }
.eyebrow { font: 500 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 60ch; }
.page-title { margin: 28px 0 18px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--paper); color: var(--ink); font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #000; border-color: #000; }
.btn.ghost { background: transparent; }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.light:hover { background: transparent; color: #fff; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 11px; }
.btn.big { min-height: 56px; }
.btn.wide { width: 100%; }
.btn[disabled], .btn.loading { opacity: .5; pointer-events: none; }
.btn .i { width: 18px; height: 18px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn .i { width: 16px; height: 16px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink); border-radius: 50%; }
.icon-btn:hover { background: var(--soft); }
.icon-btn .count { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font: 600 10px/17px var(--sans); text-align: center; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 13px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.badge { display: inline-block; padding: 3px 8px; background: var(--paper); color: var(--ink); font: 600 10px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; border-radius: var(--r); }
.badge.sale { background: var(--sale); color: #fff; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--soft); font-size: 12px; }
.notice { padding: 14px 16px; background: var(--soft); border-left: 3px solid var(--ink); margin: 16px 0; }
.notice.ok { border-color: var(--ok); }
.form-msg { color: var(--sale); font-size: 14px; min-height: 0; margin: 8px 0; }
.form-msg:empty { display: none; }

/* Header */
.announce { background: var(--ink); color: #f4f1ec; text-align: center; font-size: 12px; letter-spacing: .06em; padding: 8px 16px; }
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(251, 250, 248, .92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--head-h); max-width: 1360px; margin: 0 auto; padding: 0 calc(var(--gut) - 10px); }
.head-left, .head-right { display: flex; align-items: center; gap: 2px; }
.head-right { justify-content: flex-end; }
.logo { font: 500 26px/1 var(--serif); letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.logo.small { font-size: 22px; }
.logo img { height: 36px; width: auto; }
.main-nav { display: flex; gap: 26px; padding-left: 10px; }
.main-nav a { font-size: 13px; letter-spacing: .04em; text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover { border-color: var(--ink); }
.only-desktop { display: none !important; }
@media (min-width: 900px) { .only-desktop { display: flex !important; } .only-mobile { display: none !important; } a.icon-btn.only-desktop { display: inline-grid !important; } }

dialog { border: 0; padding: 0; background: var(--paper); color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(28, 27, 25, .38); }
.drawer { position: fixed; inset: 0 auto 0 0; width: min(86vw, 380px); height: 100%; margin: 0; animation: slide-in .25s ease; }
@keyframes slide-in { from { transform: translateX(-100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: flex; flex-direction: column; padding: 12px 20px 40px; overflow-y: auto; max-height: calc(100% - 66px); }
.drawer-nav a { padding: 12px 0; font: 500 22px/1.2 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer-nav a.sub { font: 400 14px/1.4 var(--sans); padding-left: 12px; color: var(--ink-2); }
.search-box { position: fixed; inset: 0 0 auto 0; width: 100%; margin: 0; animation: drop .2s ease; }
@keyframes drop { from { transform: translateY(-100%); } }
.search-box form { display: flex; align-items: center; gap: 10px; max-width: 860px; margin: 0 auto; padding: 14px var(--gut); }
.search-box input { flex: 1; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font: 400 22px/1.4 var(--serif); padding: 10px 0; outline: none; border-radius: 0; }
.modal { width: min(94vw, 760px); max-height: 88vh; border-radius: var(--r); overflow: hidden; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 10px 24px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 26px; }
.modal-body { padding: 8px 24px 24px; overflow-y: auto; max-height: calc(88vh - 70px); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r); font-size: 14px; max-width: 92vw; }

/* Hero, tiles, banners */
.hero { position: relative; min-height: min(86vh, 820px); display: grid; overflow: hidden; background: var(--soft-2); }
.hero-media, .hero-media img, .hero-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55)); }
@media (min-width: 900px) { .hero::after { background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.12) 55%, rgba(0,0,0,0)); } .hero-text { align-self: center; padding-bottom: 0; } }
.hero-text { position: relative; z-index: 1; align-self: end; color: #fff; padding: 0 var(--gut) clamp(40px, 8vw, 88px); max-width: 1360px; width: 100%; margin: 0 auto; }
.hero-text .eyebrow { color: rgba(255,255,255,.85); }
.hero-text h1 { font-size: clamp(40px, 6.4vw, 84px); max-width: 14ch; margin-bottom: 18px; }
.hero-text p { max-width: 44ch; font-size: 17px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.sec-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.more .i { width: 16px; height: 16px; }
.tiles { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .tiles-2 { grid-template-columns: 1fr 1fr; } .tiles-3 { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); text-decoration: none; }
.tile img, .tile .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.04); }
.tile-label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.4)); color: #fff; }
.tile-label b { font: 500 30px/1 var(--serif); }
.banner { position: relative; display: block; aspect-ratio: 21 / 9; overflow: hidden; background: var(--soft); color: #fff; text-decoration: none; margin-bottom: 28px; }
.banner.tall { aspect-ratio: 16 / 9; }
@media (max-width: 700px) { .banner, .banner.tall { aspect-ratio: 4 / 5; } }
.banner img, .banner .ph { width: 100%; height: 100%; object-fit: cover; }
.banner-text { position: absolute; inset: auto 0 0 0; padding: 28px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.5)); display: flex; flex-direction: column; gap: 6px; }
.banner-text b { font: 500 clamp(30px, 4vw, 52px)/1.05 var(--serif); }
.banner-text em { font: italic 500 18px var(--serif); }
.story { display: grid; gap: clamp(24px, 5vw, 72px); align-items: center; }
@media (min-width: 800px) { .story { grid-template-columns: 1fr 1fr; } .story.flip .story-media { order: 2; } }
.story-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.usp { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 64px; margin-bottom: 64px; }
@media (min-width: 800px) { .usp { grid-template-columns: repeat(3, 1fr); } }
.usp .i { width: 28px; height: 28px; margin-bottom: 12px; }
.usp h3 { margin-bottom: 4px; font-size: 22px; }
.usp p { color: var(--muted); margin: 0; font-size: 14px; }
.cat-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.cat-row::-webkit-scrollbar { display: none; }
.cat { scroll-snap-align: start; text-decoration: none; }
.cat img, .cat .ph { aspect-ratio: 1; width: 100%; object-fit: cover; background: var(--soft); border-radius: 50%; }
.cat span { display: block; text-align: center; margin-top: 10px; font: 500 18px var(--serif); }
.review-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.review-card { margin: 0; background: var(--paper); border: 1px solid var(--line); scroll-snap-align: start; }
.review-card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.review-card figcaption { padding: 18px; }
.review-card blockquote { margin: 10px 0; font: italic 500 19px/1.4 var(--serif); }
.who { font-size: 13px; color: var(--muted); margin: 0 0 6px; }

/* Product grid + cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 800px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; } }
@media (min-width: 1150px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; min-width: 0; }
.card-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); }
.card-media img, .card-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.card-media img.b { opacity: 0; }
@media (hover: hover) { .card:hover .card-media img.b { opacity: 1; } .card:hover .card-media img.a { transform: scale(1.03); } }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.wish { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.wish .i { width: 22px; height: 22px; stroke: var(--ink); fill: rgba(255,255,255,.6); }
.wish[aria-pressed="true"] .i, [data-wish][aria-pressed="true"] .i { fill: var(--ink); }
.card-body { padding-top: 12px; }
.card-body h3 { font: 400 15px/1.35 var(--sans); letter-spacing: 0; margin: 0 0 2px; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 3 / 4; }
.card-for { font-size: 12px; color: var(--muted); margin: 0 0 6px; letter-spacing: .02em; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { font-size: 14px; }
.price .from { color: var(--muted); font-size: 12px; }
.price .now.sale { color: var(--sale); }
.price .was { color: var(--muted); font-size: 12px; margin-left: 4px; }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); background: var(--soft); }
.stars { display: inline-flex; align-items: center; gap: 1px; }
.stars .i { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 1.2; fill: none; }
.stars .i.on { fill: var(--ink); }
.stars .n { font-size: 12px; color: var(--muted); margin-left: 4px; }
.ph { display: block; background: linear-gradient(135deg, var(--soft), var(--soft-2)); }

/* Listing */
.list-banner { aspect-ratio: 21 / 7; overflow: hidden; background: var(--soft); }
@media (max-width: 700px) { .list-banner { aspect-ratio: 16 / 9; } }
.list-banner img { width: 100%; height: 100%; object-fit: cover; }
.list-head { padding: 28px 0 12px; }
.list-head h1 { margin-bottom: 8px; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.filter-form { display: flex; gap: 8px; }
.select select, .field select { appearance: none; -webkit-appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1b19' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 34px 0 12px; min-height: 38px; font-size: 13px; }
.count { font-size: 13px; margin-bottom: 18px; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 48px 0; font-size: 13px; }

/* Product page */
.crumbs { display: flex; gap: 8px; font-size: 12px; color: var(--muted); padding: 16px 0; letter-spacing: .04em; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; gap: 28px; }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.pdp > * { min-width: 0; }
.gallery { position: relative; margin: 0 calc(-1 * var(--gut)); }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.shot { margin: 0; scroll-snap-align: start; aspect-ratio: 3 / 4; background: var(--soft); overflow: hidden; }
.shot img, .shot .ph { width: 100%; height: 100%; object-fit: cover; }
.dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .2s; }
.dots i.on { background: var(--ink); }
@media (min-width: 960px) {
  .gallery { margin: 0; }
  .gallery-track { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; gap: 8px; overflow: visible; }
  .gallery-track .shot:first-child { grid-column: 1 / -1; }
  .dots { display: none; }
}
.buy-inner { position: sticky; top: calc(var(--head-h) + 20px); }
.buy h1 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 8px; }
.rating-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-bottom: 8px; }
.buy-price { font-size: 18px; margin: 6px 0 10px; display: flex; align-items: center; gap: 10px; }
.buy-price .price { font-size: 18px; }
.countdown { color: var(--sale); font-size: 13px; letter-spacing: .04em; }
.summary { color: var(--ink-2); }
.cut-prices { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.cut-prices li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cut-prices s { color: var(--muted); font-size: 12px; margin-right: 6px; }
.colors { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.colors legend { font: 400 13px/1.4 var(--sans); margin-bottom: 8px; padding: 0; }
.swatch { cursor: pointer; }
.swatch input { position: absolute; opacity: 0; }
.swatch i { display: block; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); box-shadow: inset 0 0 0 3px var(--bg); background: var(--soft); }
.swatch input:checked + i { outline: 1px solid var(--ink); outline-offset: 2px; }
.swatch input:focus-visible + i { outline: 2px solid var(--ink); }
.builder { border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: 14px; }
.builder-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.builder h2 { font-size: 24px; margin: 0; }
.presets { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 14px; }
.presets .chip { min-height: 34px; font-size: 12px; }
.presets .chip.family-chip { border-style: dashed; }
.members { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.member { background: var(--paper); border: 1px solid var(--line); padding: 12px; border-radius: var(--r); }
.member.missing { border-color: var(--sale); }
.m-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.m-top select, .m-top input { min-height: 40px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); padding: 0 10px; font-size: 14px; width: 100%; min-width: 0; }
.m-top select { appearance: none; -webkit-appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1b19' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 14px; padding-right: 28px; font-weight: 500; }
.m-top .icon-btn { width: 36px; height: 36px; }
.m-cuts { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.seg { min-height: 30px; padding: 0 12px; font-size: 12px; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; cursor: pointer; }
.seg.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.m-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.size { position: relative; min-width: 46px; min-height: 40px; padding: 0 10px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--r); cursor: pointer; font-size: 13px; }
.size:hover { border-color: var(--ink); }
.size.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.size[disabled] { color: var(--muted); background: repeating-linear-gradient(135deg, var(--soft), var(--soft) 3px, var(--paper) 3px, var(--paper) 6px); cursor: not-allowed; text-decoration: line-through; }
.size small { position: absolute; top: -8px; right: -6px; background: var(--warn); color: #fff; font-size: 9px; padding: 0 4px; border-radius: 6px; line-height: 14px; }
.m-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); }
.qty button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty button .i { width: 14px; height: 14px; }
.qty span { min-width: 24px; text-align: center; font-size: 13px; }
.add-member { width: 100%; border: 1px dashed var(--muted); background: transparent; min-height: 44px; cursor: pointer; font-size: 13px; letter-spacing: .04em; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: var(--r); }
.add-member:hover { border-color: var(--ink); }
.set-sum { margin: 16px 0 12px; font-size: 14px; }
.set-sum div { display: flex; justify-content: space-between; padding: 3px 0; }
.set-sum .disc { color: var(--ok); }
.set-sum .grand { font-weight: 600; font-size: 16px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.set-rule { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ok); margin: 8px 0; }
.stock-note { font-size: 13px; color: var(--ink-2); background: var(--soft); padding: 10px 12px; margin: 14px 0; }
.buy-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
details summary::-webkit-details-marker { display: none; }
details summary .i { width: 16px; height: 16px; transition: transform .2s; }
details[open] summary .i { transform: rotate(180deg); }
details > div, details > form { padding-bottom: 18px; }
.prose { font-size: 15px; color: var(--ink-2); }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose img { margin: 1em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.chart { margin: 18px 0; }
.chart h3 { font-size: 20px; margin-bottom: 8px; }
.table-scroll { overflow-x: auto; }
.chart table { border-collapse: collapse; width: 100%; font-size: 13px; min-width: 420px; }
.chart th, .chart td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.chart thead th { font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chart tbody th { text-align: left; font-weight: 600; }
.added-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 16px; background: var(--ink); color: #fff; padding: 10px 10px 10px 20px; border-radius: var(--r); box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 14px; }
.added-bar .btn { background: #fff; color: var(--ink); border-color: #fff; }
.reviews { display: grid; gap: 18px; }
@media (min-width: 800px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review { border-top: 1px solid var(--line); padding-top: 16px; }
.review header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.review-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.review-photos img { width: 96px; height: 96px; object-fit: cover; }
.reply { background: var(--soft); padding: 10px 12px; font-size: 14px; }

/* Forms */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); padding: 10px 14px; font-size: 16px; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field.short { max-width: 220px; }
.field select { padding-right: 34px; min-height: 48px; font-size: 15px; }
.row2 { display: grid; gap: 0 12px; }
.row3 { display: grid; gap: 0 12px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 1fr 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 10px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0 0 24px; }
legend { font: 500 22px var(--serif); margin-bottom: 12px; padding: 0; }
.stack > * { margin-bottom: 12px; }
.auth { max-width: 460px; padding-bottom: 60px; }

/* Cart + checkout */
.cart-layout, .checkout { display: grid; gap: 28px; padding-bottom: 60px; }
@media (min-width: 900px) { .cart-layout, .checkout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 48px; } .wrap.narrow:has(.checkout), .wrap.narrow:has(.cart-layout) { max-width: 1180px; } }
.summary-box { background: var(--paper); border: 1px solid var(--line); padding: 22px; position: sticky; top: calc(var(--head-h) + 20px); }
.summary-box h2 { font-size: 26px; }
.cart-group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.cart-group .eyebrow { display: flex; justify-content: space-between; margin-bottom: 6px; }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 10px 0; }
.line-img { display: block; width: 72px; aspect-ratio: 3 / 4; background: var(--soft); overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-info b { font-weight: 500; }
.line-price { font-size: 14px; white-space: nowrap; text-align: right; }
.line-price s { display: block; color: var(--muted); font-size: 12px; }
.line-actions { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.line.bad { opacity: .55; }
.problems { background: #fbeeea; border-left: 3px solid var(--sale); padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.problems ul { margin: 6px 0 0; padding-left: 18px; }
.voucher { display: flex; gap: 8px; margin: 14px 0 0; }
.voucher label { flex: 1; }
.voucher input { width: 100%; min-height: 38px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); padding: 0 12px; text-transform: uppercase; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 14px 0 18px; font-size: 14px; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; text-align: right; }
.totals .disc { color: var(--ok); }
.totals .grand { font-weight: 600; font-size: 17px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.co-lines .line { grid-template-columns: 56px minmax(0, 1fr) auto; }
.co-lines .line-img { width: 56px; }
.how { background: var(--soft); padding: 16px 18px; margin: 10px 0 18px; }
.how h3 { margin-bottom: 6px; }
.how ol { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.skeleton { height: 120px; background: linear-gradient(90deg, var(--soft), var(--soft-2), var(--soft)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Order */
.thanks { text-align: center; padding: 40px 20px; background: var(--paper); border: 1px solid var(--line); margin: 24px 0; }
.thanks p { max-width: 52ch; margin: 0 auto 18px; color: var(--ink-2); }
.order-head .page-title { margin-bottom: 4px; }
.steps { list-style: none; display: flex; padding: 0; margin: 24px 0; counter-reset: step; overflow-x: auto; }
.steps li { flex: 1; min-width: 88px; position: relative; padding-top: 22px; font-size: 12px; color: var(--muted); text-align: center; }
.steps li::before { content: ""; position: absolute; top: 5px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 1px; background: var(--line); }
.steps li:first-child::after { display: none; }
.steps li.done, .steps li.now { color: var(--ink); }
.steps li.done::before { background: var(--ink); border-color: var(--ink); }
.steps li.now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--soft-2); }
.steps li.done::after, .steps li.now::after { background: var(--ink); }
.tracking { display: flex; gap: 8px; align-items: center; background: var(--soft); padding: 12px 14px; }
.order-group.is-set { border-left: 2px solid var(--ink); padding-left: 12px; margin: 8px 0; }
.order-meta { display: grid; gap: 20px; margin: 28px 0; }
@media (min-width: 700px) { .order-meta { grid-template-columns: 1fr 1fr; } }
.order-meta h3 { font-size: 18px; }
.review-form { border-top: 1px solid var(--line); }
.rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin: 0 0 12px; }
.rate legend { float: left; width: 100%; font: 500 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.rate input { position: absolute; opacity: 0; }
.rate label { cursor: pointer; }
.rate label .i { width: 28px; height: 28px; stroke: var(--ink); }
.rate input:checked ~ label .i, .rate label:hover .i, .rate label:hover ~ label .i { fill: var(--ink); }

/* Account */
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order-list, .members-list { list-style: none; padding: 0; margin: 0; }
.order-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
@media (min-width: 600px) { .order-list a { grid-template-columns: 1.2fr 1fr auto auto; align-items: center; } }
.members-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.vouchers { display: flex; flex-wrap: wrap; gap: 10px; }
.voucher-card { display: flex; flex-direction: column; padding: 14px 18px; border: 1px dashed var(--ink); background: var(--paper); }
.voucher-card b { font-size: 18px; letter-spacing: .1em; }
.family-list { display: grid; gap: 14px; padding-bottom: 60px; }
.member-card { background: var(--paper); border: 1px solid var(--line); padding: 18px; }
.member-card.new { border-style: dashed; }
.member-card h2 { font-size: 24px; }
.member-actions { display: flex; gap: 8px; }

/* Content */
.posts { display: grid; gap: 36px 20px; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card { text-decoration: none; }
.post-card img, .post-card .ph { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; margin-bottom: 12px; }
.post-card h2 { font-size: 26px; margin: 6px 0; }
.post-card p { color: var(--muted); font-size: 14px; }
.article { padding-bottom: 60px; }
.article-cover { aspect-ratio: 21 / 9; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article .prose { font-size: 17px; line-height: 1.75; }
.lb-hero { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--soft); }
@media (max-width: 700px) { .lb-hero { aspect-ratio: 4 / 5; } }
.lb-hero img { width: 100%; height: 100%; object-fit: cover; }
.lb-title { position: absolute; inset: auto 0 0 0; padding: var(--gut); color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.5)); }
.lb-title .eyebrow { color: rgba(255,255,255,.8); }
.lb-block { display: grid; gap: 24px; margin: 56px auto; align-items: center; }
@media (min-width: 900px) { .lb-block { grid-template-columns: 1.4fr 1fr; gap: 48px; } .lb-block.flip .lb-img { order: 2; } }
.lb-img { background: var(--soft); }
.lb-caption { font: italic 500 24px/1.4 var(--serif); }
.lb-side .grid { grid-template-columns: 1fr 1fr; }
.error-page { padding: 100px 0; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: var(--soft); margin-top: 80px; padding: 56px 0 24px; font-size: 14px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-grid h3 { font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-grid a { display: block; text-decoration: none; padding: 4px 0; }
.foot-grid a:hover { text-decoration: underline; }
.foot-brand p { color: var(--ink-2); max-width: 32ch; }
.foot-brand .btn { display: inline-flex; margin-top: 6px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted); font-size: 12px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
