/* MEDICAL MEMBERS — storefront design system.
   Deep forest green, emerald accents, black/charcoal, white type. */
:root {
  --bg: #040806;
  --bg-2: #07100b;
  --surface: #0b1711;
  --surface-2: #0f2118;
  --forest: #0d3a24;
  --forest-2: #14532d;
  --emerald: #34d399;
  --emerald-2: #10b981;
  --text: #f3f6f4;
  --muted: #9db0a5;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(52, 211, 153, 0.28);
  --danger: #f87171;
  --radius: 4px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --w: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (min-width: 1101px) { html { scroll-padding-top: 132px; } }
html.is-locked, html.is-locked body { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { color: var(--emerald); }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--emerald); color: #04140c; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.center { text-align: center; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row.center { justify-content: center; }

/* ---------- type */
.eyebrow { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--emerald); margin: 0 0 14px; }
.display { font: 500 clamp(2.8rem, 7vw, 6.2rem)/0.98 var(--display); letter-spacing: -0.01em; margin: 0 0 22px; }
.display.sm { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.h1 { font: 500 clamp(2.2rem, 4.4vw, 3.6rem)/1.05 var(--display); margin: 0 0 18px; }
.h2 { font: 500 clamp(1.9rem, 3.4vw, 2.9rem)/1.08 var(--display); margin: 0; }
.h3 { font: 500 1.5rem/1.2 var(--display); margin: 28px 0 10px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d4ddd7; max-width: 38rem; }
.prose p { margin: 0 0 1em; color: #d6dfd9; }
.prose.lg { font-size: 1.08rem; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: var(--radius); border: 1px solid var(--emerald); background: var(--emerald); color: #04140c; font: 600 0.8rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(4, 20, 12, 0.35); border-top-color: #04140c; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn:hover { color: #04140c; background: #6ee7b7; transform: translateY(-1px); box-shadow: 0 12px 30px -12px rgba(52, 211, 153, 0.6); }
.btn.ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.28); }
.btn.ghost:hover { border-color: var(--emerald); color: var(--emerald); box-shadow: none; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- announcement + nav */
.announce { background: linear-gradient(90deg, var(--emerald-2), var(--emerald)); color: #04140c; text-align: center; font: 700 0.8rem/1.35 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 10px var(--gutter); }
@media (max-width: 520px) { .announce { font-size: 0.7rem; letter-spacing: 0.08em; padding: 8px 14px; } }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(4, 8, 6, 0.82); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; column-gap: 18px; }
.age-badge { flex-shrink: 0; display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 1.5px solid #f87171; border-radius: 4px; color: #fecaca; background: rgba(248, 113, 113, 0.12); font: 700 0.7rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand-mark { display: block; height: 40px; width: auto; }
/* Matches the logo's own wordmark: geometric sans, wide tracking, thin divider. */
.brand-text { display: inline-flex; align-items: center; gap: 0.7em; font: 500 0.82rem/1 var(--sans); letter-spacing: 0.22em; }
.brand-sep { width: 1px; height: 1.25em; background: currentColor; opacity: 0.7; }
.foot-logo { width: 96px; height: auto; }
.age-logo { width: 160px; height: auto; margin: 0 auto; }
.min-mark { display: block; width: 56px; height: auto; margin: 0 auto 10px; }
/* Categories sit on their own row under the logo bar, so nothing crowds or overflows. */
.nav-links { order: 3; flex: 0 0 100%; display: flex; gap: 6px 26px; flex-wrap: wrap; justify-content: center; padding: 9px 0 10px; border-top: 1px solid var(--line); }
.nav-links a { font-size: 0.86rem; color: #cbd5cf; text-decoration: none; white-space: nowrap; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); border-color: var(--emerald); }
.nav-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; height: 72px; }
.nav-search { position: relative; }
.search-icon { position: absolute; left: 11px; top: 50%; margin-top: -9px; color: var(--emerald); pointer-events: none; }
.nav-search input { width: 260px; height: 42px; background: #0d1a13; border: 1.5px solid rgba(52, 211, 153, 0.55); border-radius: 6px; padding: 0 12px 0 36px; color: var(--text); font-size: 0.9rem; transition: border-color 0.2s, box-shadow 0.2s; }
.nav-search input::placeholder { color: #9fb3a8; }
.nav-search input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25); }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1.5px solid var(--emerald); border-radius: 6px; background: rgba(16, 185, 129, 0.12); color: var(--text); text-decoration: none; font: 600 0.82rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s; }
.cart-link:hover { background: rgba(16, 185, 129, 0.25); }
.cart-count { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--emerald); color: #04140c; font-size: 0.7rem; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.cart-count:empty, .cart-count[data-zero] { display: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 40px; height: 40px; cursor: pointer; }
.mobile-menu { padding: 8px var(--gutter) 18px; display: grid; gap: 4px; border-top: 1px solid var(--line); }
@media (min-width: 1101px) { .mobile-menu { display: none !important; } }
.mobile-menu a { padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 1100px) { .nav-links { display: none; } .menu-btn { display: grid; place-items: center; } }
@media (max-width: 860px) { .nav-search input { width: 170px; } }
@media (max-width: 620px) { .nav-search { display: none; } .nav-in { gap: 12px; } .cart-label { display: none; } .cart-link { padding: 0 11px; } .brand-text { font-size: 0.7rem; letter-spacing: 0.16em; gap: 0.5em; } .brand-mark { height: 34px; } .age-badge { height: 22px; padding: 0 6px; font-size: 0.62rem; } }
@media (max-width: 420px) { .brand-text { display: none; } }

/* ---------- sections */
.section { max-width: var(--w); margin: 0 auto; padding: clamp(64px, 10vw, 128px) var(--gutter); }
.section.band { max-width: none; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section.band > * { max-width: calc(var(--w) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.narrow { max-width: 760px; margin: 0 auto; }
.narrow.wide { max-width: 1040px; }
.empty { color: var(--muted); padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }

/* ---------- hero: one full-bleed visual, static */
.hero { position: relative; min-height: clamp(620px, 100svh, 980px); display: grid; align-items: end; overflow: hidden; isolation: isolate; background: var(--bg); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; animation: fadeIn 1.2s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(4, 8, 6, 0.9) 0%, rgba(4, 8, 6, 0.55) 42%, rgba(4, 8, 6, 0.08) 75%),
  linear-gradient(0deg, var(--bg) 0%, rgba(4, 8, 6, 0.45) 26%, transparent 55%),
  radial-gradient(900px 600px at 78% 30%, transparent, rgba(4, 8, 6, 0.35)); }
.hero-copy { width: 100%; max-width: var(--w); margin: 0 auto; padding: 160px var(--gutter) clamp(88px, 12vh, 140px); }
.hero-copy > * { max-width: 660px; }
.hero-copy .display { text-wrap: balance; }
.hero-copy .eyebrow, .hero-copy .display, .hero-copy .lede, .hero-copy .row { animation: fadeIn 0.9s ease both; }
.hero-copy .display { animation-delay: 0.15s; }
.hero-copy .lede { animation-delay: 0.3s; }
.hero-copy .row { animation-delay: 0.45s; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 14px; }
.scroll-cue:hover { border-color: var(--emerald); }
.cue-line { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--emerald); border-radius: 2px; animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) {
  .hero { min-height: clamp(560px, 92svh, 820px); }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 6%, rgba(4, 8, 6, 0.7) 45%, rgba(4, 8, 6, 0.25) 100%); }
  .hero-copy { padding-top: 120px; }
}

/* ---------- reveal on scroll */
/* Hidden only once JS has run, so content is never lost without JS. */
.js .reveal { opacity: 0; transition: opacity 0.6s ease; transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.in { opacity: 1; }

/* ---------- categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { position: relative; display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); transition: box-shadow 0.5s var(--ease); }
.cat:hover { box-shadow: 0 40px 70px -35px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line-2); }
.cat-media { aspect-ratio: 4 / 5; overflow: hidden; background: #0a120e; }
.cat-media img, .cat-media video { width: 100%; height: 100%; object-fit: cover; }
.cat.product .cat-media { background: #fff; }
.cat.product .cat-media img { object-fit: contain; padding: 10%; }
.cat-copy { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--line); }
.cat-copy h3 { font: 500 1.45rem/1 var(--display); margin: 0; }
.cat-copy .muted { white-space: nowrap; }
@media (max-width: 960px) { .cats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- product cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow 0.3s ease; }
.card:hover { box-shadow: 0 40px 70px -35px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line-2); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-media { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
/* Catalog photos are shot on white: show the whole product, same tile for every card. */
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 7%; }
.card-media .ph { background: repeating-linear-gradient(135deg, #0a1510 0 12px, #0c1912 12px 24px); }
.card-badges .badge { backdrop-filter: blur(4px); }
.card-cta { margin-top: 12px; width: 100%; background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.2); }
.card:hover .card-cta, .card-link:focus-visible .card-cta { background: var(--emerald); border-color: var(--emerald); color: #04140c; }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; background: rgba(4, 8, 6, 0.75); border: 1px solid var(--line); }
.badge.sale { background: var(--emerald); color: #04140c; border-color: transparent; }
.strain-indica { color: #c4b5fd; } .strain-sativa { color: #fcd34d; } .strain-hybrid { color: #6ee7b7; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); }
.card-body .eyebrow { margin: 0; font-size: 0.64rem; }
.card-title { font: 500 1.18rem/1.25 var(--display); margin: 0; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price { font-weight: 600; }
.stock { font-size: 0.74rem; } .stock.in { color: var(--emerald); } .stock.out { color: var(--muted); }
.ph { width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; background: repeating-linear-gradient(135deg, #0a1510 0 12px, #0c1912 12px 24px); border: 1px dashed var(--line); }
.ph.square { aspect-ratio: 1; } .ph.tall { aspect-ratio: 16 / 9; }

/* ---------- rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }

/* ---------- growing */
.grow-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .grow-grid { grid-template-columns: 1fr; } }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.poster-panel { position: relative; width: 100%; height: 100%; overflow: hidden; }
.poster-panel img { width: 100%; height: 100%; object-fit: cover; }
.poster-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 8, 6, 0.85), rgba(4, 8, 6, 0.1) 60%); }
.poster-note { position: absolute; left: 24px; right: 24px; bottom: 20px; margin: 0; z-index: 1; font: 500 1.35rem/1.3 var(--display); }
.player video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(4, 8, 6, 0.55); backdrop-filter: blur(6px); color: #fff; font-size: 1.4rem; cursor: pointer; transition: transform 0.3s var(--ease), background 0.3s; }
.play:hover { background: rgba(16, 185, 129, 0.75); }
.player.playing .play { opacity: 0; } .player.playing:hover .play { opacity: 1; }
.player-error { position: absolute; inset: auto 0 0; margin: 0; padding: 12px; background: rgba(0, 0, 0, 0.8); color: var(--danger); text-align: center; }

/* ---------- team, reviews, posts, faq */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.member { margin: 0; }
.member-media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); display: grid; place-items: center; box-shadow: var(--shadow); }
.member-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.member-media img.mono { width: 34%; height: auto; opacity: 0.55; }
.member figcaption { display: grid; gap: 2px; padding-top: 12px; }
.stars { color: #fbbf24; letter-spacing: 2px; } .stars .dim { opacity: 0.25; }
.verified { color: var(--emerald); font-size: 0.85rem; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }
.post { text-decoration: none; display: block; }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); margin-bottom: 16px; box-shadow: var(--shadow); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post h3 { font: 500 1.5rem/1.2 var(--display); margin: 0 0 8px; }
.faqs { display: grid; gap: 10px; max-width: 860px; }
.faq { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--emerald); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: '–'; }
.faq > div { padding: 0 22px 18px; color: #d6dfd9; }

/* ---------- category hero + listing */
.cat-hero { position: relative; min-height: clamp(320px, 46vh, 560px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.cat-hero-media { position: absolute; inset: -8% 0; z-index: -1; background: radial-gradient(900px 500px at 70% 30%, rgba(16, 185, 129, 0.16), transparent 60%), var(--bg-2); }
.cat-hero-media img, .cat-hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.cat-hero-copy { max-width: var(--w); width: 100%; margin: 0 auto; padding: 120px var(--gutter) 48px; }
.crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; } .crumbs a { color: var(--muted); }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; }
.f-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.f-row label { display: grid; gap: 4px; font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.f-row input, .f-row select { height: 40px; min-width: 110px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 10px; text-transform: none; letter-spacing: 0; color: var(--text); }
.f-row input[type='number'] { width: 100px; min-width: 0; }
.f-row input[type='checkbox'] { width: 18px; height: 18px; min-width: 0; padding: 0; accent-color: var(--emerald); }
.section.listing { padding-top: 40px; }
.f-row .check { display: flex; align-items: center; gap: 8px; height: 40px; text-transform: none; letter-spacing: 0; font-size: 0.9rem; color: var(--text); }
.pager { display: flex; justify-content: center; gap: 24px; align-items: center; margin-top: 40px; }

/* ---------- product detail */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } }
.pd-media { position: sticky; top: 96px; } @media (max-width: 900px) { .pd-media { position: static; } }
.pd-main, .spin { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #0a120e; box-shadow: var(--shadow); }
.pd-main img, .spin img { width: 100%; height: 100%; object-fit: cover; }
.spin { position: relative; cursor: grab; touch-action: pan-y; } .spin:active { cursor: grabbing; }
.spin-hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(4, 8, 6, 0.7); padding: 6px 10px; border-radius: 2px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumb { flex: 0 0 72px; height: 72px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: none; cursor: pointer; opacity: 0.65; }
.thumb.on, .thumb:hover { opacity: 1; border-color: var(--emerald); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-video { margin-top: 12px; width: 100%; border-radius: var(--radius); }
.pd-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pd-price { font: 500 2rem/1 var(--display); margin: 18px 0; }
.variants { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.variants legend { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.variant { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.variant:has(input:checked) { border-color: var(--emerald); background: rgba(16, 185, 129, 0.07); }
.variant.out { opacity: 0.5; cursor: not-allowed; }
.variant input { accent-color: var(--emerald); }
.v-stock { font-size: 0.74rem; color: var(--muted); }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.qty { display: flex; border: 1px solid var(--line); border-radius: var(--radius); }
.qty button { width: 42px; height: 42px; background: none; border: 0; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 52px; text-align: center; background: none; border: 0; border-inline: 1px solid var(--line); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.added { color: var(--emerald); }
.pd-text { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 12px; }
.spec { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.spec div { background: var(--surface); padding: 10px 12px; border-radius: var(--radius); }
.spec dt { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; } .spec dd { margin: 0; font-weight: 600; }

/* ---------- forms, cart, checkout */
.form { display: grid; gap: 14px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; }
.form legend { padding: 0 6px; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.form label { display: grid; gap: 6px; font-size: 0.86rem; color: #cbd5cf; }
.form input, .form textarea, .form select { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; color: var(--text); }
.form input:focus, .form textarea:focus { border-color: var(--emerald); outline: none; }
.form [aria-invalid='true'] { border-color: var(--danger); }
.form .check, .check { display: flex !important; gap: 10px; align-items: flex-start; }
.hp { position: absolute; left: -9999px; }
.notice { background: rgba(16, 185, 129, 0.08); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 16px; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); animation: lineIn 0.45s var(--ease) both; transition: opacity 0.25s, transform 0.25s var(--ease); }
.cart-line.leaving { opacity: 0; transform: translateX(-24px); }
@keyframes lineIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
[data-cart-lines] { transition: opacity 0.2s; }
[data-cart-lines].busy { opacity: 0.6; }
.cart-line img, .cart-line .ph { width: 84px; height: 84px; object-fit: contain; background: #fff; padding: 6px; border-radius: var(--radius); }
.cart-line h3 { font: 500 1.15rem/1.2 var(--display); margin: 0 0 4px; }
.cart-line .remove { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: 0.82rem; padding: 0; }
.cart-line .line-problem { color: var(--danger); font-size: 0.82rem; }
.cart-summary { margin-top: 28px; display: grid; gap: 16px; }
.totals { margin: 0; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.totals dt, .totals dd { margin: 0; } .totals .strong { font-weight: 700; }
.progress { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--forest-2), var(--emerald)); transition: width 0.6s var(--ease); }
.co-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .co-grid { grid-template-columns: 1fr; } }
.co-summary { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 96px; }
.timeline { list-style: none; padding: 0; border-left: 1px solid var(--line-2); margin: 24px 0; }
.timeline li { padding: 0 0 18px 20px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); }

/* ---------- minimum-order dialog */
.min-dialog { border: 0; padding: 0; background: transparent; color: var(--text); max-width: min(520px, calc(100vw - 32px)); width: 100%; }
.min-dialog::backdrop { background: rgba(2, 5, 3, 0.78); backdrop-filter: blur(6px); }
.min-dialog[open] .min-inner { animation: pop 0.45s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.min-inner { background: radial-gradient(500px 240px at 50% 0%, rgba(16, 185, 129, 0.2), transparent 70%), linear-gradient(180deg, #0d2318, #07110c); border: 1px solid var(--line-2); border-radius: 6px; padding: 36px 32px 30px; text-align: center; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9); }
.min-inner h2 { font: 500 2.2rem/1.1 var(--display); margin: 0 0 12px; }
.min-inner p { color: #d6dfd9; }
.min-reason { color: #fcd34d !important; font-size: 0.9rem; }
.min-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 16px; }
.min-figures div { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 8px; }
.min-figures dt { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.min-figures dd { margin: 4px 0 0; font: 600 1.15rem/1.2 var(--sans); }
.min-figures div:last-child dd { color: var(--emerald); }
.min-inner .progress { margin-bottom: 24px; }

/* ---------- age gate */
.age-gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; overflow-y: auto; background: radial-gradient(800px 500px at 50% 30%, rgba(16, 185, 129, 0.18), transparent 70%), #020503; }
.age-ok .age-gate { display: none; }
html:not(.age-ok):not(.embed-tall), html:not(.age-ok):not(.embed-tall) body { overflow: hidden; }
.age-pill { display: inline-block; margin: 14px 0 0; padding: 5px 12px; border: 1.5px solid #f87171; border-radius: 4px; color: #fecaca; background: rgba(248, 113, 113, 0.12); font: 700 0.78rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.age-gate[hidden] { display: none; }
.age-card { text-align: center; max-width: 440px; }
.age-card h2 { font: 500 2.4rem/1.1 var(--display); margin: 18px 0 8px; }
.age-card .row { justify-content: center; margin-top: 24px; }

/* ---------- footer */
.footer { border-top: 1px solid var(--line); background: #030604; padding: 40px 0 24px; }
.footer-in { max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.3fr 1.5fr 1fr 1fr; gap: 28px 36px; align-items: start; }
@media (max-width: 960px) { .footer-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-in { grid-template-columns: 1fr; gap: 22px; } .foot-shop .foot-links.two { grid-template-columns: 1fr 1fr; } }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; }
.foot-contact { display: grid; gap: 4px; font-size: 0.86rem; }
.foot-contact p { margin: 0; }
.foot-contact .age-badge { justify-self: start; margin-top: 6px; }
.foot-h { font: 700 0.7rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--emerald); margin: 0 0 10px; }
.foot-links { display: grid; gap: 2px 18px; }
.foot-links.two { grid-template-columns: 1fr 1fr; }
.footer a { display: block; padding: 3px 0; color: #cbd5cf; text-decoration: none; font-size: 0.88rem; }
.footer a:hover { color: var(--emerald); }
.foot-pay { max-width: var(--w); margin: 24px auto 0; padding: 18px var(--gutter) 0; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.foot-pay .foot-h { margin: 0; }
.pay-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badge { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 6px; background: #f4f7f5; color: #0b1a12; font: 700 0.78rem/1 var(--sans); letter-spacing: 0.04em; }
.pay-badge.has-logo { padding: 0 10px; }
.pay-badge img { display: block; height: 24px; width: auto; max-width: 110px; object-fit: contain; }
.foot-base { max-width: var(--w); margin: 18px auto 0; padding: 16px var(--gutter) 0; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; display: grid; gap: 6px; }
.disclosure { margin: 0; font-size: 0.76rem; color: var(--muted); }
.foot-base .small { margin: 0; }
.cover { margin: 24px 0; border-radius: var(--radius); }

/* ---------- motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- section media: split layouts, frames, feature panels */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse > .frame { order: 2; }
.split-copy { min-width: 0; }
.split-copy .btn { margin-top: 8px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > .frame { order: 0; } }
.frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line); }
.frame.wide { aspect-ratio: 4 / 3; }
.frame > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 8, 6, 0.5), transparent 45%); pointer-events: none; }
.frame-badge { position: absolute; right: 22px; bottom: 22px; z-index: 1; width: 96px; height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6)); }
.feature-panel { position: relative; display: grid; align-items: end; min-height: clamp(320px, 42vw, 520px); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); }
.feature-panel.short { min-height: clamp(260px, 30vw, 380px); }
.feature-panel > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 8, 6, 0.92) 10%, rgba(4, 8, 6, 0.35) 60%, rgba(4, 8, 6, 0.15)); }
.feature-copy { position: relative; z-index: 1; padding: clamp(24px, 4vw, 48px); display: grid; gap: 8px; justify-items: start; }
.feature-copy .h3 { margin: 6px 0 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.feature-copy p { margin: 0; }
a.feature-panel:hover > img:first-child { filter: brightness(1.1); }
.cover { margin: 24px 0 32px; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- reviews: vertical slider (genuine reviews only) + write a review */
.vr-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .vr-layout { grid-template-columns: 1fr; } }
.vr-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 18px; font-size: 1.05rem; }
.vr-summary .stars { font-size: 1.2rem; }
.vr-window { position: relative; outline: none; border-radius: 6px; }
.js .vr-window { height: 520px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); mask-image: linear-gradient(180deg, #000 85%, transparent); }
html:not(.js) .vr-window { max-height: 640px; overflow-y: auto; }
.vr-window:focus-visible { outline: 2px solid var(--emerald); outline-offset: 6px; }
.vr-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; transition: transform 0.7s var(--ease); }
.vr-item figure { margin: 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--emerald); border-radius: var(--radius); }
.vr-item blockquote { margin: 10px 0 12px; font: 400 1.12rem/1.5 var(--display); overflow-wrap: anywhere; }
.vr-item figcaption { font-size: 0.85rem; }
.vr-controls { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.vr-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: var(--text); font-size: 1.2rem; line-height: 1; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.vr-btn:hover { border-color: var(--emerald); background: rgba(16, 185, 129, 0.1); }
.vr-count { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.85rem; min-width: 64px; text-align: center; }
@media (max-width: 760px) { .js .vr-window { height: 460px; } }
.review-write { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.review-write > summary { list-style: none; display: inline-flex; cursor: pointer; }
.review-write > summary::-webkit-details-marker { display: none; }
.review-write[open] > summary { margin-bottom: 16px; }
.rating-pick { display: flex !important; flex-wrap: wrap; gap: 8px 16px; }
.rating-pick label { display: inline-flex !important; align-items: center; gap: 6px; color: #fbbf24; letter-spacing: 0.05em; cursor: pointer; }

/* ---------- shopping journey: 8 steps */
.steps-wrap { margin: 0 0 32px; }
.steps-caption { margin: 0 0 14px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.steps-caption .steps-n { color: var(--emerald); font-weight: 600; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; view-transition-name: checkout-steps; }
.steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; color: var(--muted); font-size: 0.68rem; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; padding: 0 2px; }
.steps li::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.steps li:first-child::before { display: none; }
.steps li.done::before, .steps li.current::before { background: linear-gradient(90deg, var(--emerald-2), var(--emerald)); }
.step-dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 0.8rem; letter-spacing: 0; background: var(--bg); border: 1px solid var(--line); transition: background 0.4s, border-color 0.4s, color 0.4s; }
.steps li.done .step-dot { background: var(--forest); border-color: var(--emerald); color: var(--emerald); }
.steps li.current { color: var(--text); }
.steps li.current .step-dot { background: var(--emerald); border-color: var(--emerald); color: #04140c; box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.15); }
@media (max-width: 760px) {
  .steps li::before { top: 11px; }
  .step-dot { width: 24px; height: 24px; font-size: 0.68rem; }
  .steps li.current .step-dot { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15); }
  .step-label { display: none; }
}
.product .steps-wrap { margin: 4px 0 24px; }
.step-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 8px; }
@media (max-width: 520px) { .step-actions { flex-direction: column-reverse; align-items: stretch; } .step-actions .btn { text-align: center; } }
.notice.error, [data-form-error] { border-color: rgba(248, 113, 113, 0.45); background: rgba(248, 113, 113, 0.08); }
[aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 1px var(--danger); }
.checkout .lede { margin-top: 0; }
.pay-options { display: grid; gap: 12px; }
.pay-option { position: relative; display: grid !important; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.pay-option:hover { border-color: var(--line-2); }
.pay-option:has(input:checked) { border-color: var(--emerald); background: linear-gradient(160deg, rgba(16, 185, 129, 0.1), var(--surface)); }
.pay-option input { grid-row: span 2; width: 20px; height: 20px; accent-color: var(--emerald); margin: 0; }
.pay-name { font-weight: 600; color: var(--text); text-transform: none; letter-spacing: 0; font-size: 1rem; }
.pay-help { text-transform: none; letter-spacing: 0; }
.pay-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; padding: clamp(20px, 3vw, 32px); margin-bottom: 24px; box-shadow: var(--shadow); }
.pay-card .h3 { margin-top: 20px; }
.pay-facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pay-facts div { background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.pay-facts dt { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pay-facts dd { margin: 6px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.pay-facts .amount { font: 600 1.6rem/1.1 var(--sans); color: var(--emerald); }
@media (max-width: 640px) { .pay-facts { grid-template-columns: 1fr; } }
.dropzone { position: relative; display: grid !important; place-items: center; gap: 6px; padding: 36px 20px; border: 1.5px dashed var(--line-2); border-radius: 6px; background: rgba(16, 185, 129, 0.04); text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.dropzone:hover, .dropzone:focus-within, .receipt-form.has-file .dropzone { border-color: var(--emerald); background: rgba(16, 185, 129, 0.08); }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dz-title { font: 500 1.35rem/1.2 var(--display); color: var(--text); text-transform: none; letter-spacing: 0; }
.dz-help { text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
.receipt-form { display: grid; gap: 16px; margin-bottom: 16px; }
.review { margin-bottom: 20px; }
.review-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-bottom: 20px; align-items: start; }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }
.review-block { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.review-block .h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 8px; }
.review-block .h3 ~ .h3 { margin-top: 18px; }
.review-block p { margin: 0; }
.review-block .edit { font: 500 0.8rem/1 var(--sans); letter-spacing: 0.04em; }
.review-totals { max-width: 520px; margin-left: auto; }

/* ---------- shown inside a frame that the host stretches to full height (the header cannot stick there) */
html.embed-tall { scroll-padding-top: 0; }
.mm-sentinels { position: fixed; top: 0; left: 0; width: 1px; height: 100%; overflow: hidden; pointer-events: none; opacity: 0; z-index: -1; }
.mm-sentinels i { position: absolute; left: 0; width: 1px; height: 80px; }
.embed-tall .age-gate { position: absolute; place-items: start center; padding-top: calc(var(--band-top, 0px) + 48px); }
.embed-tall .co-summary, .embed-tall .pd-media { position: static; }
.co-done { display: grid; gap: 10px; padding: clamp(24px, 4vw, 40px); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); border-radius: 6px; animation: lineIn 0.6s var(--ease) both; }
.co-done .h2 { margin: 0; }

/* ---------- page transitions (browsers with cross-document View Transitions) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut 0.22s ease both; }
  ::view-transition-new(root) { animation: vtIn 0.38s var(--ease) both; }
  .nav { view-transition-name: site-nav; }
}
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }

/* ---------- consistent rhythm on tablets */
@media (max-width: 1100px) and (min-width: 761px) {
  .section { padding-block: clamp(56px, 8vw, 96px); }
  .cats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- images that failed to load */
.card-media img, .cart-line img, .cat-media img, .post-media img { color: transparent; }
.img-missing { position: relative; background: repeating-linear-gradient(135deg, #0a1510 0 12px, #0c1912 12px 24px) !important; }
.img-missing img[data-failed] { visibility: hidden; }
.card-media.img-missing::after, .cat-media.img-missing::after, .post-media.img-missing::after, .pd-main.img-missing::after {
  content: 'Image unavailable'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.cart-line.img-missing { background: none !important; }
.cart-line img[data-failed] { visibility: visible; opacity: 0; }
@media (min-width: 1101px) { .pd-media, .co-summary { top: 144px; } }

.menu-search { display: block; padding: 4px 0 12px; }
.menu-search input { width: 100%; height: 44px; background: #0d1a13; border: 1.5px solid rgba(52, 211, 153, 0.55); border-radius: 6px; padding: 0 12px; color: var(--text); font-size: 1rem; }
.pay-marks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pay-marks img { display: block; width: 60px; height: 48px; border-radius: 6px; }
@media (max-width: 520px) { .pay-marks img { width: 52px; height: 42px; } }
.ship-note { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0; padding: 5px 10px; border-radius: 4px; background: rgba(16, 185, 129, 0.12); border: 1px solid var(--line-2); color: var(--emerald); font-size: 0.82rem; font-weight: 600; }
.ship-note::before { content: '✓'; }
.addr-field { position: relative; display: grid; gap: 6px; }
.addr-field > label span { font-size: 0.9rem; }
.addr-list { position: absolute; z-index: 30; top: 74px; left: 0; right: 0; margin: 0; padding: 4px; list-style: none; background: #0d1a13; border: 1.5px solid var(--emerald); border-radius: 6px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.8); max-height: 280px; overflow-y: auto; }
.addr-list li { padding: 10px 12px; border-radius: 4px; cursor: pointer; font-size: 0.92rem; line-height: 1.35; }
.addr-list li[aria-selected="true"], .addr-list li:hover { background: rgba(16, 185, 129, 0.18); }
.addr-row { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 12px; }
@media (max-width: 560px) { .addr-row { grid-template-columns: 1fr 1fr; } .addr-row > label:first-child { grid-column: 1 / -1; } }
/* Grid cells may shrink below an input's built-in width (otherwise phones get a sideways scroll). */
.addr-row > *, .co-grid > * { min-width: 0; }
.addr-row input, .addr-row select { width: 100%; min-width: 0; }
@media (max-width: 760px) { .form input, .form select, .form textarea { font-size: 16px; } }
.announce a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Section descriptions and team photos (Admin → Sections) */
.sec-intro { color: var(--muted); margin-top: 12px; max-width: 640px; }
.sec-intro p { margin: 0 0 8px; }
.journal-split { margin-bottom: clamp(32px, 5vw, 56px); }
.page-photo { margin-bottom: 28px; }
.team-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.team-photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; font-size: 0.85rem; background: linear-gradient(0deg, rgba(4, 8, 6, 0.88), transparent); }
.team-photos.n1 > * { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.team-photos.n2 > *, .team-photos.n4 > *, .team-photos.n3 > * { grid-column: span 2; }
.team-photos.n3 > :first-child, .team-photos.n5 > :first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 700px) {
  .team-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .team-photos > *, .team-photos.n3 > *, .team-photos.n2 > *, .team-photos.n4 > * { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .team-photos.n1 > :first-child, .team-photos.n3 > :first-child, .team-photos.n5 > :first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
}
