/* Green Olive Marketplace — tokens from the Green Olive design system (storefront sign) */
:root {
  --olive-50:#f4f5e8; --olive-100:#e9ecd2; --olive-300:#c5cb93; --olive-500:#a7af66; --olive-600:#8c9550; --olive-700:#6b7339; --olive-800:#4f5629;
  --sage-100:#ebe9cc; --sage-200:#dedbb0; --sage-300:#ccc896;
  --cream-50:#fdfbf5; --cream-100:#f9f5ea; --cream-200:#f1ebda;
  --charcoal-950:#242321; --charcoal-900:#302f2d; --charcoal-800:#3d3b38; --charcoal-700:#57544f; --charcoal-500:#8a867e; --charcoal-300:#c9c4b8; --charcoal-200:#e3ded1;
  --red-600:#a8432f; --red-100:#f5e0da; --star:#c9a43a;

  --bg:var(--cream-100); --ink:var(--charcoal-900); --body:var(--charcoal-800); --muted:var(--charcoal-700); --subtle:var(--charcoal-500);
  --border:var(--charcoal-200); --accent:var(--olive-500); --accent-ink:var(--olive-700);

  --font:'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --ease:cubic-bezier(.2,.7,.2,1);
  --wrap:1240px; --gutter:24px;
  --header-h:76px; --tabbar-h:0px;
  --shadow-2:0 10px 30px -12px rgba(36,35,33,.28);
  --shadow-3:0 30px 80px -20px rgba(36,35,33,.45);
}

*,*::before,*::after { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; scroll-padding-top:calc(var(--header-h) + 16px); }
body { margin:0; background:var(--bg); color:var(--body); font:400 17px/1.6 var(--font); -webkit-font-smoothing:antialiased; overflow-x:hidden; }
body.locked { overflow:hidden; }
img,video { display:block; max-width:100%; height:auto; }
a { color:inherit; }
button,input,select,textarea { font:inherit; color:inherit; }
button { cursor:pointer; }
svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex:none; }
h1,h2,h3,h4 { color:var(--ink); font-weight:500; letter-spacing:.02em; line-height:1.08; margin:0; }
p { margin:0 0 1em; }
[hidden] { display:none !important; }
:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.skip { position:absolute; left:-999px; top:8px; background:var(--ink); color:var(--cream-100); padding:8px 14px; z-index:999; }
.skip:focus { left:8px; }
.wrap { width:100%; max-width:var(--wrap); margin:0 auto; padding:0 var(--gutter); }
.muted { color:var(--subtle); }

/* ---------- Type helpers ---------- */
.eyebrow { display:inline-flex; align-items:center; gap:12px; font-size:13px; font-weight:500; letter-spacing:.22em; text-transform:uppercase; color:var(--accent-ink); }
.eyebrow::before { content:''; width:28px; height:1.5px; background:currentColor; }
.on-dark .eyebrow, .eyebrow.light { color:var(--olive-500); }
.display { font-size:clamp(44px, 7.4vw, 104px); font-weight:500; text-transform:uppercase; letter-spacing:.01em; line-height:.95; }
.h2 { font-size:clamp(32px, 4.4vw, 56px); text-transform:uppercase; }
.h3 { font-size:22px; text-transform:uppercase; letter-spacing:.04em; }
.lead { font-size:clamp(18px, 1.6vw, 21px); line-height:1.55; color:var(--muted); max-width:58ch; }
.wordmark { font-weight:300; letter-spacing:.42em; text-transform:uppercase; }

/* ---------- Buttons ---------- */
.btn { --b:var(--ink); --f:var(--cream-100); display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:0 26px; border:1.5px solid var(--b); background:var(--b); color:var(--f);
  font-size:14px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; text-decoration:none; border-radius:0; transition:background .14s, color .14s, border-color .14s, transform .1s; white-space:nowrap; }
.btn:hover { --b:var(--charcoal-950); }
.btn:active { transform:translateY(1px); }
.btn--olive { --b:var(--olive-500); --f:var(--charcoal-950); }
.btn--olive:hover { --b:var(--olive-300); }
.btn--ghost { background:transparent; color:var(--b); }
.btn--ghost:hover { background:var(--b); color:var(--f); }
.btn--light { --b:var(--cream-100); --f:var(--charcoal-900); }
.btn--light.btn--ghost:hover { color:var(--charcoal-900); }
.btn--block { width:100%; }
.btn--sm { min-height:40px; padding:0 16px; font-size:12px; }
.btn[disabled] { opacity:.5; pointer-events:none; }
.btn svg { width:18px; height:18px; }
.link { color:var(--accent-ink); font-weight:500; text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; background:none; border:0; padding:0; }
.link:hover { color:var(--ink); }

/* ---------- Topbar + header ---------- */
.topbar { background:var(--charcoal-950); color:var(--charcoal-300); font-size:13px; letter-spacing:.06em; }
.topbar__in { display:flex; align-items:center; justify-content:space-between; gap:16px; height:36px; }
.topbar a { text-decoration:none; color:var(--cream-100); }
.status { display:inline-flex; align-items:center; gap:8px; color:var(--cream-100); white-space:nowrap; }
.status__dot { width:8px; height:8px; border-radius:50%; background:var(--charcoal-500); position:relative; }
.status.open .status__dot { background:#9fd27a; }
.status.open .status__dot::after { content:''; position:absolute; inset:-4px; border-radius:50%; border:1.5px solid #9fd27a; animation:ping 2s var(--ease) infinite; }
@keyframes ping { from { transform:scale(.4); opacity:1 } to { transform:scale(1.6); opacity:0 } }

.header { position:sticky; top:0; z-index:40; background:var(--charcoal-900); color:var(--cream-100); border-bottom:1px solid rgba(249,245,234,.08); }
.header__in { display:flex; align-items:center; gap:32px; height:var(--header-h); }
.header__logo img { height:46px; width:auto; }
.nav { display:flex; gap:4px; margin-left:auto; }
.nav a { position:relative; padding:10px 14px; font-size:14px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; text-decoration:none; color:var(--charcoal-300); transition:color .14s; }
.nav a:hover, .nav a.active { color:var(--cream-100); }
.nav a.active::after { content:''; position:absolute; left:14px; right:14px; bottom:2px; height:2px; background:var(--olive-500); }
.header__actions { display:flex; align-items:center; gap:8px; }
.icon-btn { display:grid; place-items:center; width:46px; height:46px; border:1.5px solid rgba(249,245,234,.18); background:transparent; color:var(--cream-100); transition:border-color .14s, background .14s; }
.icon-btn:hover { border-color:var(--cream-100); }
.header__call { display:none; }
.bag-btn { position:relative; display:inline-flex; align-items:center; gap:10px; height:46px; padding:0 18px; border:0; background:var(--olive-500); color:var(--charcoal-950); font-size:13px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; transition:background .14s; }
.bag-btn:hover { background:var(--olive-300); }
.bag-btn__count { min-width:24px; height:24px; padding:0 7px; display:grid; place-items:center; background:var(--charcoal-950); color:var(--cream-100); border-radius:12px; font-size:12px; letter-spacing:0; }
.bump { animation:bump .45s var(--ease); }
@keyframes bump { 30% { transform:scale(1.12) } 100% { transform:scale(1) } }

/* ---------- Motifs ---------- */
.stripes { display:grid; gap:6px; }
.stripes i { display:block; height:10px; background:var(--sage-200); }
.stripes i:last-child { background:var(--cream-100); height:6px; }
.ruled { display:inline-block; padding:8px 0; border-top:1.5px solid currentColor; border-bottom:1.5px solid currentColor; font-size:13px; font-weight:500; letter-spacing:.32em; text-transform:uppercase; }

/* ---------- Sections ---------- */
.section { padding:112px 0; }
.section--tight { padding:72px 0; }
.section--sage { background:var(--sage-200); }
.section--cream50 { background:var(--cream-50); }
.section--dark { background:var(--charcoal-900); color:var(--charcoal-300); }
.section--dark h1, .section--dark h2, .section--dark h3 { color:var(--cream-100); }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:48px; flex-wrap:wrap; }
.section-head .h2 { margin-top:14px; }
.reveal { opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity:1; transform:none; }

/* ---------- Hero ---------- */
.hero { position:relative; min-height:min(88vh, 860px); display:flex; align-items:flex-end; color:var(--cream-100); background:var(--charcoal-950); overflow:hidden; isolation:isolate; }
.hero__media { position:absolute; inset:0; z-index:-1; }
.hero__media video, .hero__media img { width:100%; height:100%; object-fit:cover; }
.hero__media::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(36,35,33,.35) 0%, rgba(36,35,33,.2) 35%, rgba(36,35,33,.88) 100%), linear-gradient(90deg, rgba(36,35,33,.7) 0%, rgba(36,35,33,0) 65%); }
.hero__in { padding-top:120px; padding-bottom:72px; }
.hero h1 { color:var(--cream-100); margin:22px 0 22px; max-width:11ch; }
.hero h1 em { font-style:normal; color:var(--olive-500); }
.hero .lead { color:rgba(249,245,234,.82); max-width:46ch; }
.hero__ctas { display:flex; gap:12px; flex-wrap:wrap; margin-top:34px; }
.hero__facts { display:flex; gap:0; margin-top:64px; border-top:1px solid rgba(249,245,234,.2); }
.hero__fact { flex:1; padding:22px 24px 0 0; }
.hero__fact + .hero__fact { padding-left:24px; border-left:1px solid rgba(249,245,234,.2); }
.hero__fact b { display:block; font-size:28px; font-weight:500; color:var(--cream-100); letter-spacing:.02em; }
.hero__fact span { font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--charcoal-300); }

/* ---------- Marquee ---------- */
.marquee { background:var(--olive-500); color:var(--charcoal-950); overflow:hidden; border-block:1.5px solid var(--charcoal-950); }
.marquee__track { display:flex; width:max-content; animation:marquee 48s linear infinite; }
.marquee span { display:inline-flex; align-items:center; gap:28px; padding:16px 14px; font-size:15px; font-weight:500; letter-spacing:.24em; text-transform:uppercase; white-space:nowrap; }
.marquee span::after { content:''; width:8px; height:8px; background:var(--charcoal-950); border-radius:50%; margin-left:14px; }
@keyframes marquee { to { transform:translateX(-50%); } }

/* ---------- Order mode strip ---------- */
.modes { display:grid; grid-template-columns:repeat(3, 1fr); gap:1.5px; background:var(--charcoal-900); border:1.5px solid var(--charcoal-900); }
.mode { background:var(--cream-50); padding:32px; display:flex; gap:20px; align-items:flex-start; }
.mode__icon { width:52px; height:52px; display:grid; place-items:center; background:var(--olive-100); color:var(--olive-800); flex:none; }
.mode__icon svg { width:26px; height:26px; }
.mode h3 { font-size:18px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:6px; }
.mode p { margin:0; font-size:15.5px; color:var(--muted); }

/* ---------- Category grid ---------- */
.cats { display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; }
.cat { position:relative; display:block; aspect-ratio:4/5; overflow:hidden; background:var(--sage-200); color:var(--cream-100); text-decoration:none; isolation:isolate; }
.cat:first-child { grid-column:span 2; grid-row:span 2; aspect-ratio:auto; }
.cat img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transition:transform .6s var(--ease); }
.cat::after { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(36,35,33,0) 40%, rgba(36,35,33,.85) 100%); }
.cat:hover img { transform:scale(1.05); }
.cat__body { position:absolute; left:0; right:0; bottom:0; padding:22px; }
.cat__name { font-size:20px; font-weight:500; text-transform:uppercase; letter-spacing:.08em; line-height:1.1; color:var(--cream-100); }
.cat:first-child .cat__name { font-size:clamp(26px, 3vw, 38px); }
.cat__blurb { font-size:14.5px; color:rgba(249,245,234,.8); margin-top:6px; line-height:1.45; }
.cat__go { position:absolute; top:18px; right:18px; width:42px; height:42px; display:grid; place-items:center; background:var(--cream-100); color:var(--charcoal-900); transform:translateY(-6px); opacity:0; transition:.3s var(--ease); }
.cat:hover .cat__go { opacity:1; transform:none; }
.cat__count { display:inline-block; margin-top:10px; font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--olive-300); }

/* ---------- Product cards ---------- */
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:20px; }
.rail { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(232px, 1fr); gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:12px; scrollbar-width:thin; }
.rail > * { scroll-snap-align:start; }
.card { position:relative; display:flex; flex-direction:column; background:var(--cream-50); border:1px solid var(--border); transition:box-shadow .3s var(--ease), border-color .2s; }
.card:hover { box-shadow:var(--shadow-2); border-color:var(--charcoal-300); }
.card__media { position:relative; aspect-ratio:1; overflow:hidden; background:var(--sage-100); border:0; padding:0; width:100%; }
.card__media img { width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.card:hover .card__media img { transform:scale(1.04); }
.card__badges { position:absolute; top:12px; left:12px; display:flex; gap:6px; flex-wrap:wrap; }
.badge { display:inline-flex; align-items:center; gap:6px; height:24px; padding:0 9px; font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; background:var(--cream-50); color:var(--charcoal-900); border-radius:2px; }
.badge--olive { background:var(--olive-500); color:var(--charcoal-950); }
.badge--dark { background:var(--charcoal-900); color:var(--cream-100); }
.badge--age { background:var(--red-100); color:var(--red-600); }
.card__body { display:flex; flex-direction:column; flex:1; padding:16px 16px 16px; gap:4px; }
.card__name { font-size:16.5px; font-weight:500; line-height:1.3; color:var(--ink); background:none; border:0; padding:0; text-align:left; }
.card__name:hover { color:var(--accent-ink); }
.card__size { font-size:13.5px; color:var(--subtle); }
.card__foot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding-top:12px; }
.price { font-size:19px; font-weight:500; color:var(--ink); letter-spacing:.01em; font-variant-numeric:tabular-nums; }
.add { display:inline-flex; align-items:center; gap:6px; height:40px; padding:0 14px; background:var(--charcoal-900); color:var(--cream-100); border:0; font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; transition:background .14s; }
.add:hover { background:var(--olive-700); }
.add svg { width:16px; height:16px; stroke-width:2; }
.stepper { display:inline-flex; align-items:center; height:40px; border:1.5px solid var(--charcoal-900); background:var(--cream-50); }
.stepper button { width:36px; height:100%; border:0; background:none; display:grid; place-items:center; }
.stepper button:hover { background:var(--olive-100); }
.stepper svg { width:16px; height:16px; stroke-width:2; }
.stepper output { min-width:24px; text-align:center; font-weight:600; font-variant-numeric:tabular-nums; }

/* ---------- House-made feature ---------- */
.split { display:grid; grid-template-columns:1.05fr 1fr; gap:72px; align-items:center; }
.split__media { position:relative; }
.split__media img { width:100%; aspect-ratio:4/5; object-fit:cover; }
.split__media .stamp { position:absolute; right:-24px; bottom:40px; width:150px; height:150px; border-radius:50%; background:var(--olive-500); color:var(--charcoal-950); display:grid; place-items:center; text-align:center; font-size:12px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; line-height:1.5; transform:rotate(-8deg); box-shadow:var(--shadow-2); }
.split__media .stamp b { display:block; font-size:30px; letter-spacing:.02em; }
.checks { list-style:none; padding:0; margin:28px 0 34px; display:grid; gap:14px; }
.checks li { display:flex; gap:14px; align-items:flex-start; }
.checks li svg { color:var(--olive-700); margin-top:3px; }
.on-dark .checks li svg { color:var(--olive-500); }

/* ---------- Local craft panel ---------- */
.craft { display:grid; grid-template-columns:1fr 1.3fr; gap:64px; align-items:center; }
.craft .rail { grid-auto-columns:minmax(220px, 1fr); }
.craft .card { background:var(--charcoal-800); border-color:rgba(249,245,234,.08); }
.craft .card__name, .craft .price { color:var(--cream-100); }
.craft .card__size { color:var(--charcoal-300); }
.craft .add { background:var(--olive-500); color:var(--charcoal-950); }
.craft .stepper { background:transparent; border-color:var(--olive-500); color:var(--cream-100); }

/* ---------- Reviews ---------- */
.reviews { display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.review { background:var(--cream-50); border:1px solid var(--border); padding:32px; display:flex; flex-direction:column; gap:18px; }
.stars { color:var(--star); letter-spacing:.2em; font-size:18px; }
.review blockquote { margin:0; font-size:17px; line-height:1.6; color:var(--body); }
.review footer { margin-top:auto; display:flex; align-items:center; gap:12px; font-weight:500; color:var(--ink); }
.avatar { width:42px; height:42px; display:grid; place-items:center; background:var(--charcoal-900); color:var(--olive-500); font-weight:600; }
.review footer small { display:block; color:var(--subtle); font-weight:400; font-size:13px; letter-spacing:.06em; }

/* ---------- Visit ---------- */
.visit { display:grid; grid-template-columns:1fr 1.15fr; gap:0; border:1.5px solid var(--charcoal-900); background:var(--cream-50); }
.visit__info { padding:48px; display:flex; flex-direction:column; gap:28px; }
.visit__map { min-height:460px; background:var(--sage-200); position:relative; }
.visit__map iframe { position:absolute; inset:0; width:100%; height:100%; border:0; filter:grayscale(.35) sepia(.15); }
.hours { width:100%; border-collapse:collapse; font-size:16px; }
.hours td { padding:9px 0; border-bottom:1px solid var(--border); }
.hours td:last-child { text-align:right; font-variant-numeric:tabular-nums; }
.hours tr.today td { color:var(--ink); font-weight:600; }
.hours tr.today td:first-child::after { content:'Today'; margin-left:10px; font-size:11px; letter-spacing:.14em; text-transform:uppercase; background:var(--olive-500); color:var(--charcoal-950); padding:2px 7px; vertical-align:2px; }
.pay { display:flex; flex-wrap:wrap; gap:8px; }
.pay span { padding:6px 12px; border:1px solid var(--charcoal-300); font-size:13px; font-weight:500; letter-spacing:.08em; }
.addr { font-size:22px; font-weight:500; color:var(--ink); line-height:1.35; }

/* ---------- CTA band ---------- */
.cta { text-align:center; }
.cta .h2 { margin:18px auto 18px; max-width:16ch; }
.cta .lead { margin:0 auto 32px; color:var(--charcoal-300); }
.cta__btns { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }

/* ---------- Shop ---------- */
.shop-hero { background:var(--charcoal-900); color:var(--charcoal-300); padding:56px 0 0; position:relative; overflow:hidden; }
.shop-hero h1 { color:var(--cream-100); margin:14px 0 10px; font-size:clamp(36px, 5vw, 64px); text-transform:uppercase; }
.shop-hero p { max-width:60ch; color:var(--charcoal-300); }
.shop-hero__bg { position:absolute; inset:0; opacity:.22; z-index:0; }
.shop-hero__bg img { width:100%; height:100%; object-fit:cover; }
.shop-hero .wrap { position:relative; }
.chips-bar { position:sticky; top:var(--header-h); z-index:30; background:var(--cream-100); border-bottom:1px solid var(--border); }
.chips { display:flex; gap:8px; overflow-x:auto; padding:14px 0; scrollbar-width:none; }
.chips::-webkit-scrollbar { display:none; }
.chip { flex:none; height:40px; padding:0 16px; border:1.5px solid var(--charcoal-300); border-radius:999px; background:transparent; font-size:13.5px; font-weight:500; letter-spacing:.06em; text-decoration:none; display:inline-flex; align-items:center; gap:8px; color:var(--body); transition:.14s; }
.chip:hover { border-color:var(--charcoal-900); }
.chip.active { background:var(--charcoal-900); border-color:var(--charcoal-900); color:var(--cream-100); }
.chip small { font-size:12px; opacity:.6; }
.toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:32px 0 24px; flex-wrap:wrap; }
.toolbar__count { color:var(--subtle); font-size:15px; }
.select { height:44px; padding:0 40px 0 14px; border:1.5px solid var(--charcoal-300); background:var(--cream-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23302f2d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; appearance:none; border-radius:0; font-size:15px; }
.filter-search { position:relative; flex:1; max-width:360px; }
.filter-search input { width:100%; height:44px; padding:0 14px 0 42px; border:1.5px solid var(--charcoal-300); background:var(--cream-50); border-radius:0; font-size:16px; }
.filter-search svg { position:absolute; left:13px; top:12px; color:var(--subtle); }
.filter-search input:focus { outline:none; border-color:var(--charcoal-900); box-shadow:0 0 0 3px var(--olive-100); }
.cat-block { margin-bottom:64px; }
.cat-block__head { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:20px; padding-bottom:14px; border-bottom:1.5px solid var(--charcoal-900); }
.cat-block__head h2 { font-size:24px; text-transform:uppercase; letter-spacing:.06em; }
.notice { display:flex; gap:12px; align-items:flex-start; padding:16px 18px; background:var(--sage-100); border-left:3px solid var(--olive-700); font-size:15px; margin-bottom:24px; color:var(--body); }
.notice svg { color:var(--olive-700); margin-top:2px; }
.notice--warn { background:var(--red-100); border-color:var(--red-600); }
.notice--warn svg { color:var(--red-600); }
.empty { text-align:center; padding:80px 20px; color:var(--muted); }
.empty h3 { margin-bottom:10px; }

/* ---------- Overlays ---------- */
.scrim { position:fixed; inset:0; background:rgba(36,35,33,.6); z-index:60; opacity:0; transition:opacity .3s var(--ease); }
.scrim.show { opacity:1; }
.drawer { position:fixed; top:0; right:0; bottom:0; width:min(460px, 100%); z-index:70; background:var(--cream-100); display:flex; flex-direction:column; transform:translateX(100%); transition:transform .4s var(--ease); box-shadow:var(--shadow-3); visibility:hidden; }
.drawer.open { transform:none; visibility:visible; }
.drawer__head { display:flex; align-items:center; justify-content:space-between; padding:22px 24px; background:var(--charcoal-900); color:var(--cream-100); }
.drawer__head h2 { color:var(--cream-100); font-size:18px; letter-spacing:.16em; text-transform:uppercase; }
.close { width:42px; height:42px; display:grid; place-items:center; border:1.5px solid currentColor; background:transparent; color:inherit; opacity:.85; }
.close:hover { opacity:1; }
.drawer__body { flex:1; overflow-y:auto; padding:8px 24px 24px; overscroll-behavior:contain; }
.drawer__foot { padding:20px 24px calc(20px + env(safe-area-inset-bottom)); border-top:1px solid var(--border); background:var(--cream-50); }
.progress { margin:18px 0 6px; font-size:14.5px; color:var(--muted); }
.progress b { color:var(--ink); }
.progress__bar { height:6px; background:var(--charcoal-200); margin-top:10px; overflow:hidden; }
.progress__bar i { display:block; height:100%; background:var(--olive-500); transition:width .5s var(--ease); }
.line { display:grid; grid-template-columns:72px 1fr auto; gap:14px; align-items:center; padding:16px 0; border-bottom:1px solid var(--border); }
.line img { width:72px; height:72px; object-fit:cover; background:var(--sage-100); }
.line__name { font-weight:500; color:var(--ink); line-height:1.3; font-size:15.5px; }
.line__size { font-size:13px; color:var(--subtle); }
.line__right { display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.line .stepper { height:34px; }
.line .stepper button { width:30px; }
.totals { display:grid; gap:8px; font-size:15.5px; }
.totals div { display:flex; justify-content:space-between; font-variant-numeric:tabular-nums; }
.totals .grand { font-size:20px; font-weight:600; color:var(--ink); padding-top:10px; border-top:1.5px solid var(--charcoal-900); margin-top:4px; }

.sheet { position:fixed; z-index:80; left:50%; top:50%; width:min(980px, calc(100% - 48px)); max-height:calc(100vh - 64px); transform:translate(-50%, -46%); opacity:0; visibility:hidden; background:var(--cream-100); box-shadow:var(--shadow-3); transition:transform .4s var(--ease), opacity .3s; overflow:auto; }
.sheet.open { transform:translate(-50%, -50%); opacity:1; visibility:visible; }
.pd { display:grid; grid-template-columns:1fr 1fr; }
.pd__media { background:var(--sage-100); aspect-ratio:1; position:relative; }
.pd__media img { width:100%; height:100%; object-fit:cover; }
.pd__info { padding:44px 40px; display:flex; flex-direction:column; gap:14px; }
.pd__info h2 { font-size:30px; line-height:1.15; letter-spacing:.01em; }
.pd__price { font-size:30px; font-weight:500; color:var(--ink); }
.pd__desc { color:var(--muted); }
.pd__actions { display:flex; gap:12px; margin-top:8px; }
.pd__actions .stepper { height:52px; }
.pd__actions .stepper button { width:44px; }
.pd__meta { display:grid; gap:10px; margin-top:auto; padding-top:20px; border-top:1px solid var(--border); font-size:14.5px; color:var(--muted); }
.pd__meta div { display:flex; gap:10px; align-items:center; }
.pd__meta svg { color:var(--olive-700); width:18px; height:18px; }
.sheet .close { position:absolute; top:16px; right:16px; z-index:2; background:var(--cream-100); color:var(--charcoal-900); }
.pd__related { padding:32px 40px 40px; border-top:1px solid var(--border); background:var(--cream-50); }
.pd__related h3 { font-size:14px; letter-spacing:.2em; text-transform:uppercase; margin-bottom:18px; }
.pd__related .rail { grid-auto-columns:minmax(180px, 1fr); }
.pd__related .card__body { padding:12px; }
.pd__related .card__name { font-size:15px; }

.search { position:fixed; inset:0; z-index:90; background:var(--cream-100); display:flex; flex-direction:column; opacity:0; visibility:hidden; transition:opacity .25s; }
.search.open { opacity:1; visibility:visible; }
.search__bar { background:var(--charcoal-900); padding:18px 0; }
.search__bar .wrap { display:flex; gap:12px; align-items:center; }
.search__bar input { flex:1; height:56px; padding:0 18px 0 52px; border:0; background:var(--cream-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357544f' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center / 22px; font-size:18px; border-radius:0; }
.search__bar input:focus { outline:2px solid var(--olive-500); }
.search__bar .close { color:var(--cream-100); width:56px; height:56px; }
.search__body { flex:1; overflow-y:auto; padding:32px 0 calc(32px + env(safe-area-inset-bottom)); }
.search__hint { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }

.toast { position:fixed; left:50%; bottom:28px; z-index:100; transform:translate(-50%, 20px); opacity:0; pointer-events:none; background:var(--charcoal-900); color:var(--cream-100); padding:14px 18px; display:flex; align-items:center; gap:12px; font-size:15px; box-shadow:var(--shadow-3); transition:.35s var(--ease); max-width:calc(100% - 32px); }
.toast.show { opacity:1; transform:translate(-50%, 0); pointer-events:auto; }
.toast img { width:40px; height:40px; object-fit:cover; }
.toast button { margin-left:6px; background:none; border:0; color:var(--olive-500); font-weight:600; letter-spacing:.12em; text-transform:uppercase; font-size:12px; }

/* ---------- Checkout ---------- */
.page-head { padding:48px 0 32px; }
.page-head h1 { font-size:clamp(34px, 4.5vw, 54px); text-transform:uppercase; margin-top:12px; }
.checkout { display:grid; grid-template-columns:1fr 420px; gap:48px; align-items:start; padding-bottom:96px; }
.panel { background:var(--cream-50); border:1px solid var(--border); padding:32px; margin-bottom:20px; }
.panel__title { display:flex; align-items:center; gap:14px; margin-bottom:22px; font-size:17px; letter-spacing:.14em; text-transform:uppercase; }
.panel__title span { width:30px; height:30px; display:grid; place-items:center; background:var(--charcoal-900); color:var(--olive-500); font-size:14px; letter-spacing:0; }
.seg { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.seg label { position:relative; display:flex; flex-direction:column; gap:4px; padding:18px 18px 18px 52px; border:1.5px solid var(--charcoal-300); cursor:pointer; transition:.14s; background:var(--cream-50); }
.seg label:hover { border-color:var(--charcoal-700); }
.seg input { position:absolute; opacity:0; }
.seg label::before { content:''; position:absolute; left:18px; top:20px; width:20px; height:20px; border:1.5px solid var(--charcoal-700); border-radius:50%; }
.seg label:has(input:checked) { border-color:var(--charcoal-900); background:var(--olive-50); box-shadow:inset 0 0 0 1px var(--charcoal-900); }
.seg label:has(input:checked)::before { border-color:var(--charcoal-900); background:radial-gradient(circle, var(--charcoal-900) 0 5px, transparent 6px); }
.seg label:has(input:focus-visible) { outline:2px solid var(--olive-500); outline-offset:2px; }
.seg b { color:var(--ink); font-weight:600; font-size:16px; }
.seg small { color:var(--subtle); font-size:13.5px; line-height:1.4; }
.fields { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { display:flex; flex-direction:column; gap:6px; }
.field--full { grid-column:1 / -1; }
.field label { font-size:13px; font-weight:500; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.field input, .field textarea, .field select { width:100%; min-height:50px; padding:12px 14px; border:1.5px solid var(--charcoal-300); background:#fff; border-radius:0; font-size:16px; }
.field textarea { min-height:90px; resize:vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color:var(--charcoal-900); box-shadow:0 0 0 3px var(--olive-100); }
.field select { appearance:none; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23302f2d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; padding-right:40px; }
.tips { display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; }
.tips label { position:relative; display:grid; place-items:center; height:50px; border:1.5px solid var(--charcoal-300); font-weight:500; cursor:pointer; background:#fff; }
.tips input { position:absolute; opacity:0; }
.tips label:has(input:checked) { background:var(--charcoal-900); border-color:var(--charcoal-900); color:var(--cream-100); }
.check { display:flex; gap:12px; align-items:flex-start; font-size:15px; cursor:pointer; }
.check input { width:20px; height:20px; accent-color:var(--charcoal-900); margin-top:2px; flex:none; }
.summary { position:sticky; top:calc(var(--header-h) + 24px); }
.summary .panel { padding:28px; }
.summary__lines { max-height:340px; overflow-y:auto; margin:-8px 0 16px; }
.summary .line { grid-template-columns:56px 1fr auto; padding:12px 0; }
.summary .line img { width:56px; height:56px; }
.qty-pill { display:inline-grid; place-items:center; min-width:22px; height:22px; padding:0 6px; background:var(--charcoal-900); color:var(--cream-100); font-size:12px; font-weight:600; border-radius:11px; margin-right:6px; }
.form-error { color:var(--red-600); font-size:15px; margin-top:12px; }
.mobile-pay { display:none; }

/* ---------- Order status ---------- */
.confirm { padding:64px 0 96px; }
.confirm__card { max-width:760px; margin:0 auto; background:var(--cream-50); border:1.5px solid var(--charcoal-900); }
.confirm__head { background:var(--charcoal-900); color:var(--cream-100); padding:44px 40px; text-align:center; }
.confirm__head h1 { color:var(--cream-100); font-size:clamp(30px, 4vw, 44px); text-transform:uppercase; margin:18px 0 10px; }
.confirm__head p { color:var(--charcoal-300); margin:0; }
.check-anim { width:76px; height:76px; margin:0 auto; border-radius:50%; background:var(--olive-500); display:grid; place-items:center; color:var(--charcoal-950); animation:pop .6s var(--ease); }
.check-anim svg { width:38px; height:38px; stroke-width:2.4; stroke-dasharray:30; stroke-dashoffset:30; animation:draw .5s .35s var(--ease) forwards; }
@keyframes pop { 0% { transform:scale(.4); opacity:0 } 60% { transform:scale(1.08); opacity:1 } 100% { transform:scale(1) } }
@keyframes draw { to { stroke-dashoffset:0 } }
.order-no { display:inline-block; margin-top:20px; padding:8px 16px; border:1.5px solid var(--olive-500); color:var(--olive-500); font-weight:600; letter-spacing:.24em; }
.timeline { display:grid; grid-template-columns:repeat(4, 1fr); padding:36px 40px 8px; position:relative; }
.tl { position:relative; text-align:center; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--subtle); padding-top:44px; }
.tl::before { content:''; position:absolute; top:12px; left:50%; width:24px; height:24px; margin-left:-12px; border-radius:50%; background:var(--cream-50); border:2px solid var(--charcoal-300); z-index:1; }
.tl::after { content:''; position:absolute; top:23px; left:-50%; width:100%; height:2px; background:var(--charcoal-200); }
.tl:first-child::after { display:none; }
.tl.done { color:var(--ink); font-weight:500; }
.tl.done::before { background:var(--olive-500); border-color:var(--olive-700); }
.tl.done::after { background:var(--olive-500); }
.tl.now::before { box-shadow:0 0 0 6px var(--olive-100); }
.confirm__body { padding:28px 40px 40px; }
.confirm__grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:24px 0; }
.confirm__grid h4 { font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--subtle); margin-bottom:8px; font-weight:500; }
.confirm__grid p { margin:0; color:var(--ink); }

/* ---------- About ---------- */
.story { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.story img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.values { display:grid; grid-template-columns:repeat(3, 1fr); gap:1.5px; background:var(--charcoal-900); border:1.5px solid var(--charcoal-900); }
.value { background:var(--cream-50); padding:36px; }
.value b { display:block; font-size:54px; font-weight:300; color:var(--olive-700); line-height:1; margin-bottom:16px; }
.value h3 { font-size:18px; text-transform:uppercase; letter-spacing:.1em; margin-bottom:8px; }
.value p { margin:0; color:var(--muted); font-size:16px; }
.timeline-v { border-left:1.5px solid var(--charcoal-900); padding-left:28px; display:grid; gap:28px; }
.timeline-v div { position:relative; }
.timeline-v div::before { content:''; position:absolute; left:-35px; top:6px; width:12px; height:12px; background:var(--olive-500); border:1.5px solid var(--charcoal-900); }
.timeline-v b { display:block; color:var(--ink); font-size:15px; letter-spacing:.14em; text-transform:uppercase; }

/* ---------- Admin ---------- */
.admin { padding:40px 0 96px; }
.orders { display:grid; gap:16px; }
.order-card { background:var(--cream-50); border:1px solid var(--border); display:grid; grid-template-columns:1fr auto; gap:16px; padding:22px; }
.order-card.new { border-color:var(--olive-500); box-shadow:inset 4px 0 0 var(--olive-500); }
.order-card h3 { font-size:18px; letter-spacing:.06em; }
.order-card ul { margin:10px 0 0; padding-left:18px; font-size:15px; }
.order-card .actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; align-content:flex-start; max-width:340px; }
.st { display:inline-block; padding:3px 9px; font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; background:var(--olive-100); color:var(--olive-800); margin-left:8px; vertical-align:3px; }
.st.cancelled { background:var(--red-100); color:var(--red-600); }
.st.completed { background:var(--charcoal-200); color:var(--charcoal-700); }

/* ---------- Footer ---------- */
.footer { background:var(--charcoal-900); color:var(--charcoal-300); font-size:15.5px; }
.footer .stripes { padding-top:0; }
.footer__grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-top:72px; padding-bottom:56px; }
.footer__brand img { width:210px; margin-bottom:20px; }
.footer h4 { color:var(--cream-100); font-size:13px; letter-spacing:.22em; text-transform:uppercase; margin-bottom:16px; font-weight:500; }
.footer a { text-decoration:none; color:var(--cream-100); }
.footer a:hover { color:var(--olive-500); }
.footer .muted { color:var(--charcoal-500); font-size:14px; }
.socials { display:flex; gap:8px; margin-top:16px; }
.socials a { width:42px; height:42px; display:grid; place-items:center; border:1.5px solid rgba(249,245,234,.2); }
.socials a:hover { border-color:var(--olive-500); }
.footer__base { padding-top:22px; padding-bottom:28px; border-top:1px solid rgba(249,245,234,.1); font-size:13px; color:var(--charcoal-500); }

.tabbar { display:none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display:none; }
  .header__actions { margin-left:auto; }
  .cats { grid-template-columns:repeat(3, 1fr); }
  .split, .craft, .story { gap:48px; }
  .checkout { grid-template-columns:1fr 360px; gap:28px; }
  .footer__grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --gutter:16px; --header-h:62px; --tabbar-h:64px; }
  body { font-size:16px; padding-bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .topbar__mid { display:none; }
  .header__logo img { height:38px; }
  .header .icon-btn, .bag-btn { display:none; }
  .header__in { justify-content:space-between; }
  .header .header__call { display:grid; width:42px; height:42px; }

  .tabbar { display:grid; grid-template-columns:repeat(5, 1fr); position:fixed; left:0; right:0; bottom:0; z-index:50; height:calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom:env(safe-area-inset-bottom); background:var(--charcoal-900); border-top:1px solid rgba(249,245,234,.1); }
  .tabbar a, .tabbar button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; background:none; border:0; color:var(--charcoal-300); text-decoration:none; font-size:10.5px; font-weight:500; letter-spacing:.12em; text-transform:uppercase; -webkit-tap-highlight-color:transparent; }
  .tabbar svg { width:22px; height:22px; }
  .tabbar .active { color:var(--olive-500); }
  .tabbar__bag { position:relative; display:block; height:22px; }
  .tabbar__count { position:absolute; top:-6px; right:-12px; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--olive-500); color:var(--charcoal-950); font-size:10.5px; font-weight:700; letter-spacing:0; display:grid; place-items:center; }

  .section { padding:72px 0; }
  .section--tight { padding:48px 0; }
  .section-head { margin-bottom:28px; }
  .hero { min-height:calc(100svh - 36px - var(--header-h) - var(--tabbar-h)); }
  .hero__in { padding-top:72px; padding-bottom:28px; }
  .hero h1 { font-size:clamp(40px, 11.5vw, 64px); margin:14px 0; }
  .hero .eyebrow { font-size:11.5px; letter-spacing:.18em; }
  .hero .lead { font-size:16px; line-height:1.5; }
  .hero__ctas { margin-top:24px; }
  .hero__ctas .btn { flex:1; padding:0 14px; }
  .hero__facts { margin-top:36px; }
  .hero__fact { padding:16px 12px 0 0; }
  .hero__fact + .hero__fact { padding-left:12px; }
  .hero__fact b { font-size:20px; }
  .hero__fact span { font-size:10.5px; letter-spacing:.1em; }
  .marquee span { font-size:13px; padding:12px 10px; }

  .modes { grid-template-columns:1fr; }
  .mode { padding:16px 18px; gap:14px; align-items:center; }
  .mode__icon { width:44px; height:44px; }
  .mode h3 { font-size:15px; margin-bottom:2px; }
  .mode p { font-size:14px; line-height:1.45; }
  .cats { grid-template-columns:1fr 1fr; gap:10px; }
  .cat:first-child { grid-column:span 2; grid-row:auto; aspect-ratio:16/11; }
  .cat { aspect-ratio:1; }
  .cat__body { padding:14px; }
  .cat__name { font-size:15px; letter-spacing:.06em; }
  .cat__blurb { display:none; }
  .cat:first-child .cat__blurb { display:block; }
  .cat__go { display:none; }

  .grid { grid-template-columns:1fr 1fr; gap:10px; }
  .rail { grid-auto-columns:minmax(64%, 1fr); gap:10px; margin:0 calc(var(--gutter) * -1); padding:0 var(--gutter) 8px; scroll-padding:0 var(--gutter); scrollbar-width:none; }
  .rail::-webkit-scrollbar { display:none; }
  .grid .card__body { padding:12px; }
  .card__name { font-size:14.5px; }
  .card__size { font-size:12.5px; }
  .price { font-size:16.5px; }
  .card__badges { top:8px; left:8px; }
  .badge { height:21px; font-size:10px; padding:0 7px; }
  .grid .add { width:40px; padding:0; justify-content:center; }
  .grid .add span { display:none; }
  .grid .stepper button { width:30px; }
  .grid .card__foot { padding-top:8px; }

  .split, .craft, .story { grid-template-columns:1fr; gap:36px; }
  .split__media .stamp { right:12px; bottom:-30px; width:116px; height:116px; font-size:10px; }
  .split__media .stamp b { font-size:24px; }
  .reviews { grid-template-columns:1fr; gap:12px; }
  .reviews { grid-auto-flow:column; grid-template-columns:none; grid-auto-columns:86%; overflow-x:auto; scroll-snap-type:x mandatory; margin:0 calc(var(--gutter) * -1); padding:0 var(--gutter); scrollbar-width:none; }
  .review { scroll-snap-align:center; padding:24px; }
  .visit { grid-template-columns:1fr; }
  .visit__info { padding:28px 22px; }
  .visit__map { min-height:300px; }
  .values { grid-template-columns:1fr; }

  .shop-hero { padding-top:32px; }
  .chips-bar { top:var(--header-h); }
  .toolbar { margin:20px 0 16px; gap:10px; }
  .filter-search { max-width:none; flex-basis:100%; order:-1; }
  .cat-block { margin-bottom:44px; }

  .drawer { top:auto; height:min(88vh, 760px); width:100%; transform:translateY(100%); }
  .drawer.open { transform:none; }
  .drawer__head { padding:16px var(--gutter); }
  .drawer__body { padding:4px var(--gutter) 16px; }
  .drawer__foot { padding:16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); }
  .drawer::before { content:''; position:absolute; top:-14px; left:50%; width:44px; height:5px; margin-left:-22px; border-radius:3px; background:var(--cream-100); opacity:.7; }

  .sheet { left:0; right:0; top:auto; bottom:0; width:100%; max-height:92vh; transform:translateY(100%); opacity:1; border-radius:0; }
  .sheet.open { transform:none; }
  .pd { grid-template-columns:1fr; }
  .pd__media { aspect-ratio:4/3; }
  .pd__info { padding:24px var(--gutter) 28px; gap:10px; }
  .pd__info h2 { font-size:24px; }
  .pd__price { font-size:24px; }
  .pd__actions { position:sticky; bottom:0; background:var(--cream-100); padding:12px 0 calc(4px + env(safe-area-inset-bottom)); margin-top:4px; }
  .pd__actions .btn { flex:1; }
  .pd__related { padding:24px var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
  .pd__related .rail { grid-auto-columns:44%; }

  .search__bar { padding:12px 0; }
  .search__bar input { height:50px; font-size:16px; }
  .search__bar .close { width:50px; height:50px; }

  .toast { bottom:calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom)); width:calc(100% - 32px); }

  .page-head { padding:28px 0 20px; }
  .checkout { grid-template-columns:1fr; padding-bottom:120px; }
  .summary { position:static; order:-1; }
  .summary .panel { padding:20px; }
  .summary__lines { max-height:none; }
  .summary details summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; font-weight:600; color:var(--ink); }
  .summary details summary::-webkit-details-marker { display:none; }
  .panel { padding:22px 18px; }
  .fields { grid-template-columns:1fr; gap:14px; }
  .seg { grid-template-columns:1fr; }
  .desktop-pay { display:none; }
  .mobile-pay { display:flex; position:fixed; left:0; right:0; bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index:45; padding:12px var(--gutter); background:var(--cream-50); border-top:1px solid var(--border); box-shadow:0 -10px 30px -18px rgba(36,35,33,.4); }
  .mobile-pay .btn { width:100%; }

  .confirm { padding:28px 0 64px; }
  .confirm__head { padding:32px 22px; }
  .timeline { padding:28px 8px 4px; }
  .tl { font-size:10px; letter-spacing:.06em; }
  .confirm__body { padding:22px; }
  .confirm__grid { grid-template-columns:1fr; gap:16px; }
  .order-card { grid-template-columns:1fr; }
  .order-card .actions { justify-content:flex-start; max-width:none; }

  .footer__grid { grid-template-columns:1fr; gap:28px; padding-top:48px; padding-bottom:32px; }
}
@media (min-width: 821px) { .summary details > summary { display:none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}
