:root {
  color-scheme: dark;
  --bg: #0c1730; --deep: #0a1328; --raised: #101e3d; --line: #24365c; --teal: #134a52;
  --ink: #f3ead6; --soft: #e6dfcc; --muted: #a9b1c4;
  --gold: #d9b56d; --gold-hi: #f5dfa6; --gold-lo: #a97b35; --on-gold: #1a1406;
  --gold-grad: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  --ok: #5cc28d; --danger: #e5786d;
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: 'Fraunces', Georgia, serif;
  --ui: 'Figtree', system-ui, -apple-system, sans-serif;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.6 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.2 1.2-6.5-4.8-4.6 6.6-.9z'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box }
[hidden] { display: none !important }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #2c3f66 var(--deep); accent-color: var(--gold); scroll-padding-top: 110px } /* fields jump into view below the sticky header */
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--ui); -webkit-font-smoothing: antialiased }
::selection { background: #d9b56d55; color: var(--ink) }
img { max-width: 100%; height: auto; display: block }
a { color: inherit; text-underline-offset: 3px }
button, input, select, textarea { font: inherit; color: inherit }
input, textarea { caret-color: var(--gold) }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12 }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; text-wrap: balance }
h1 { font-size: clamp(2rem, 5vw, 3.1rem) }
h2 { font-size: clamp(1.5rem, 3vw, 2rem) }
.h3 { font: 600 1.15rem/1.3 var(--ui); margin: 0 0 .75rem }
.h4 { font: 700 .75rem/1.3 var(--ui); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 .6rem }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px }
.muted { color: var(--muted) }
.small { font-size: .85rem }
.opt { color: var(--muted); font-weight: 400; font-size: .85em }
.err { color: var(--danger); margin: 0 }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.skip { position: absolute; left: 8px; top: -60px; z-index: 99; background: var(--gold); color: var(--on-gold); padding: .5rem 1rem; border-radius: 8px }
.skip:focus { top: 8px }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0 }
.notice { margin: 0 0 1.25rem; background: #d9b56d14; border: 1px solid #d9b56d55; border-radius: 12px; padding: .8rem 1rem; color: var(--gold-hi) }
.i { flex: none }
.price, dd, .count, .badge, .copyrow code, .weights span, .terps b, .rating b, .rev-avg b, .stat b, .olist-end b { font-variant-numeric: tabular-nums }

/* ---------- buttons & fields ---------- */
.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 48px; padding: 0 1.5em; border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: filter .15s, background-color .15s, translate .1s;
}
.btn { border: 0; background: var(--gold-grad); color: var(--on-gold); box-shadow: 0 4px 0 #6d4f1f, inset 0 1px 0 #fff7 }
.btn:hover { filter: brightness(1.07) }
.btn:active { translate: 0 2px; box-shadow: 0 2px 0 #6d4f1f, inset 0 1px 0 #fff7 }
.btn:disabled { filter: grayscale(.85) brightness(.65); cursor: not-allowed; box-shadow: none; translate: none }
.btn-ghost { border: 1px solid #d9b56d99; background: transparent; color: var(--gold-hi) }
.btn-ghost:hover { background: #d9b56d14 }
.btn-ghost:active { translate: 0 1px }
.btn.sm, .btn-ghost.sm { min-height: 38px; padding: 0 1em; font-size: .88rem }
.btn.sm { box-shadow: 0 3px 0 #6d4f1f, inset 0 1px 0 #fff7 }
.btn-wide { width: 100% }
.link { background: none; border: 0; padding: 0; color: var(--gold); text-decoration: underline; cursor: pointer; font-weight: 500 }
.link:hover { color: var(--gold-hi) }
.danger, .link.danger { color: var(--danger) }

:where(input:not([type=radio], [type=checkbox], [type=file]), textarea, select) {
  width: 100%; min-height: 48px; padding: .7rem .9rem; background: var(--deep); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
:where(input:not([type=radio], [type=checkbox], [type=file]), textarea, select):hover { border-color: #34497a }
:where(input, textarea, select):focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px #d9b56d26 }
:where(input, textarea, select):disabled { opacity: .55; cursor: not-allowed }
::placeholder { color: #8590a8 }
select {
  appearance: none; padding-right: 2.2rem; cursor: pointer;
  background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d9b56d' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .9rem center;
}
textarea { resize: vertical }
.field { display: grid; gap: .35rem }
.field label { font-weight: 600; font-size: .92rem }
.field small { color: var(--muted); font-size: .82rem }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem }
.check { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; font-size: .95rem }
.check input { width: 20px; height: 20px; margin: .1rem 0 0; flex: none }
/* Radios styled as chips: the input stays focusable, the span shows state. */
.sizes label, .weights label, .seg-opts label { position: relative }
.sizes input, .weights input, .seg-opts input { position: absolute; opacity: 0; width: 1px; height: 1px }
.sizes input:focus-visible + span, .weights input:focus-visible + span, .seg-opts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px }

/* ---------- chips & stars ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .3rem }
.chip { font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: .22rem .5rem; border-radius: 6px; background: #ffffff10; color: var(--muted) }
.chip.indica { background: #8b6fd62e; color: #c4b5f6 }
.chip.sativa { background: #e0a0402e; color: #f3c680 }
.chip.hybrid { background: #3fa59a2e; color: #80d8cd }
.chip.tier { background: #d9b56d22; color: var(--gold-hi) }
.chip.new { background: var(--gold-grad); color: var(--on-gold) }
.chip.sale, .tag.sale { background: var(--danger); color: #1a0b09 }
.was { margin-right: .35rem; color: var(--muted); font-weight: 400; font-size: .82em; text-decoration-thickness: 1px }
.chip.hot { background: #e5786d2e; color: #f6b8b0 }
.chip.line { text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 500; padding: .3rem .8rem; border-radius: 999px; background: none; border: 1px solid var(--line); color: var(--ink) }

/* --r = rating out of 5; the gold fills that share of five star shapes. */
.stars {
  --r: 0; --s: 1em;
  display: inline-block; flex: none; width: calc(var(--s) * 5); height: var(--s);
  background: linear-gradient(90deg, var(--gold) calc(var(--r) * 20%), #ffffff2e 0);
  -webkit-mask: var(--star) 0 0 / var(--s) var(--s) repeat-x; mask: var(--star) 0 0 / var(--s) var(--s) repeat-x;
}
.rating { display: flex; align-items: center; gap: .35rem; margin: 0; font-size: .82rem; text-decoration: none }
.rating .stars { --s: .95em }
.rating b { font-weight: 700 }
a.rating:hover b { color: var(--gold-hi) }

/* ---------- age gate ---------- */
.gate {
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(ellipse at 50% 50%, #0c1730f0 25%, #0c173066 85%), url(/img/leopard-bg.jpg) right center / cover, var(--bg);
}
.gate-card {
  width: min(100%, 440px); display: grid; justify-items: center; gap: .75rem; text-align: center;
  padding: 2.5rem 1.75rem 2rem; border-radius: 24px; border: 1px solid #d9b56d55;
  background: linear-gradient(170deg, #13284fdd, #0c1730ee); backdrop-filter: blur(14px); box-shadow: 0 30px 80px #000a, inset 0 1px 0 #f5dfa622;
}
.gate-card img { width: 168px; height: 168px; filter: drop-shadow(0 12px 18px #0009) }
.gate-card h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); margin: .4rem 0 0 }
.gate-card p { margin: 0; color: var(--soft) }
.gate-btns { display: grid; gap: .6rem; width: 100%; margin-top: 1rem }
.gate .fine { color: var(--muted); font-size: .8rem; margin-top: .75rem; padding-top: 1rem; border-top: 1px solid #d9b56d2a; width: 100% }

/* ---------- top bar & header ---------- */
.topbar { background: var(--gold-grad); color: #21180a; font-size: .82rem; font-weight: 500 }
.topbar-in { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7d6236; margin-right: .5em; vertical-align: 1px }
.dot.on { background: #23874d; box-shadow: 0 0 0 3px #23874d33 }

.hdr { position: sticky; top: 0; z-index: 20; background: #0c1730eb; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line) }
.hdr-in { display: flex; align-items: center; gap: 1.5rem; min-height: 84px }
.brand img { width: 72px; height: 72px }
.nav { display: flex; gap: 1.9rem; margin-inline: auto; font-size: .84rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase }
.nav > a, .has-mega > a { display: block; padding-block: 2rem; text-decoration: none; transition: color .15s }
.nav a:hover, .has-mega:hover > a { color: var(--gold-hi) }
.acct-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: 0 .4rem; font-weight: 600; text-decoration: none; max-width: 12ch }
.acct-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.acct-btn:hover { color: var(--gold-hi) }
.bag-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: 0 1.1rem; border-radius: 999px; background: var(--gold-grad); color: var(--on-gold); font-weight: 700; text-decoration: none }
.bag-btn:hover { filter: brightness(1.07) }
.count { display: inline-grid; place-items: center; min-width: 1.45em; height: 1.45em; padding: 0 .35em; border-radius: 999px; background: var(--on-gold); color: var(--gold-hi); font-size: .75rem; font-weight: 700 }
.count.bump { animation: bump .4s var(--ease) }
@keyframes bump { 40% { scale: 1.4 } }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; display: none; grid-template-columns: 1fr 240px; gap: 2rem;
  padding: 2rem max(16px, calc((100% - 1168px) / 2)); background: var(--raised); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px #0009;
  text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 400;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { display: grid }
.mega-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1.5rem }
.mega-cols div { display: grid; align-content: start; gap: .45rem }
.mega-cols a { text-decoration: none; color: var(--muted) }
.mega-cols a:hover { color: var(--gold-hi) }
.mega-cols .mega-h { color: var(--ink); font-weight: 700; margin-bottom: .2rem }
.mega-feature { display: grid; gap: .45rem; justify-items: start; padding: 1rem; border-radius: var(--r); background: linear-gradient(160deg, #134a5277, var(--deep)); border: 1px solid #d9b56d40; text-decoration: none }
.mega-feature img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100% }
.mega-feature strong { font: 600 1.25rem var(--display) }
.mega-more { display: inline-flex; align-items: center; gap: .3rem; color: var(--gold); font-weight: 600; font-size: .9rem }

.tabbar { display: none; position: fixed; inset: auto 0 0; z-index: 30; background: #0a1328f5; backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom) }
.tabbar a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; text-decoration: none; font-weight: 600; font-size: .72rem; color: var(--soft) }
.tabbar a:active { color: var(--gold-hi) }
.tabbar .count { position: absolute; top: 7px; left: calc(50% + 5px); background: var(--gold); color: var(--on-gold) }

/* ---------- home ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 72% 45%, #134a5299, transparent 62%), var(--bg) }
.hero::before { content: ''; position: absolute; inset: 0; background: url(/img/leopard-bg.jpg) right center / cover; opacity: .9; mask-image: linear-gradient(90deg, transparent 20%, #000 65%) }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, var(--bg)); pointer-events: none }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem; padding-block: 3.5rem 2.5rem }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); margin-bottom: .3em }
.lede { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--soft); max-width: 28ch; margin: 0 0 1.75rem }
.zone-check { display: flex; max-width: 460px; padding: 4px; background: var(--deep); border: 1px solid var(--line); border-radius: 999px }
.zone-check:focus-within { border-color: var(--gold) }
.zone-check input { flex: 1; min-width: 0; min-height: 46px; padding: 0 1.1rem; background: none; border: 0; box-shadow: none !important }
.zone-check .btn { box-shadow: none }
.zone-result { min-height: 1.5em; margin: .8rem 0 0; font-weight: 500 }
.zone-result.ok { color: var(--ok) }
.zone-result.no { color: var(--danger) }
.hero-art { position: relative; justify-self: center; width: 100%; max-width: 420px }
/* The one entrance moment: the bud settles in, then the feature card lands on it. */
.hero-art img { filter: drop-shadow(16px 26px 18px #000b); animation: rise .9s var(--ease) both }
.float-card {
  position: absolute; right: -12px; top: 40%; display: grid; gap: .1rem; padding: .9rem 1.15rem; border-radius: 14px; text-decoration: none;
  background: #ffffff16; backdrop-filter: blur(16px); border: 1px solid #ffffff30; box-shadow: 8px 14px 0 #0005;
  animation: rise .6s .45s var(--ease) both; transition: border-color .2s;
}
.float-card:hover { border-color: #d9b56d99 }
.float-card strong { font-size: 1.15rem }
.float-card span { color: var(--soft); font-size: .88rem }
.float-card b { font-size: 1.2rem; margin-top: .25rem }
@keyframes rise { from { opacity: 0; translate: 0 22px } }

.tiles-sec { padding-block: 1rem 1.5rem }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 1rem }
.tile { display: grid; justify-items: center; gap: .6rem; text-decoration: none; font-weight: 500; text-align: center }
.tile img { width: 100%; max-width: 124px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; padding: 3px; background: var(--gold-grad); box-shadow: 6px 10px 0 #0006; transition: translate .2s var(--ease) }
.tile:hover img { translate: 0 -3px }
.tile:hover span { color: var(--gold-hi) }

.sec { padding-block: 2.5rem }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem }
.sec-head h2 { margin: 0 }
.more { display: inline-flex; align-items: center; gap: .35rem; color: var(--gold); text-decoration: none; font-weight: 600; white-space: nowrap }
.more .i { transition: translate .2s var(--ease) }
.more:hover { color: var(--gold-hi) }
.more:hover .i { translate: 3px 0 }

/* How it works: a three-stop timeline joined by a gold rule. */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s }
.steps li { counter-increment: s; position: relative; display: grid; align-content: start; gap: .35rem; padding-top: 4.4rem }
.steps li::before {
  content: counter(s); position: absolute; z-index: 1; top: 0; left: 0; display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  border-radius: 50%; border: 1px solid var(--gold); background: var(--bg); font: 600 1.4rem/1 var(--display); color: var(--gold-hi);
}
.steps li:first-child::before { background: var(--gold-grad); color: var(--on-gold); border-color: transparent }
.steps li::after { content: ''; position: absolute; top: 1.625rem; left: 3.75rem; right: -1.5rem; height: 1px; background: linear-gradient(90deg, var(--gold), #d9b56d33) }
.steps li:last-child::after { display: none }
.steps b { font-size: 1.1rem }
.steps span { color: var(--muted); max-width: 32ch }
.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 1rem }
.zone { padding: 1.4rem; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(160deg, #134a5250, transparent 70%), var(--raised) }
.zone h3 { font: 600 1.1rem var(--ui); color: var(--gold-hi) }
dl { display: grid; grid-template-columns: 1fr auto; gap: .4rem 0; margin: 0 }
dt { color: var(--muted) }
dd { margin: 0; padding-left: 1rem; text-align: right; font-weight: 600 }
.tot { font-size: 1.15rem; font-weight: 700; color: var(--ink); padding-top: .6rem; border-top: 1px solid var(--line) }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem }
.card { display: flex; flex-direction: column; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, translate .2s var(--ease) }
.card:hover { border-color: #d9b56d70; translate: 0 -2px }
.card-img img { width: 100%; aspect-ratio: 1; object-fit: cover }
.card.out .card-img img { filter: grayscale(.75) brightness(.55) }
.card-body { display: flex; flex-direction: column; flex: 1; gap: .4rem; padding: .9rem 1rem 1rem }
.card h3 { font: 600 1.05rem/1.25 var(--ui); margin: 0 }
.card h3 a { text-decoration: none }
.card h3 a:hover { color: var(--gold-hi) }
.spec { color: var(--muted); font-size: .86rem; margin: 0 }
.quick-add { display: grid; gap: .65rem; margin-top: auto; padding-top: .35rem }
.sizes { display: flex; flex-wrap: wrap; gap: .3rem }
.sizes span { display: block; padding: .22rem .6rem; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; cursor: pointer; transition: border-color .15s }
.sizes span:hover { border-color: #d9b56d80 }
.sizes input:checked + span { border-color: var(--gold); color: var(--gold-hi); background: #d9b56d1c }
.one-size { margin: 0; color: var(--muted); font-size: .8rem }
.buy { display: flex; align-items: center; justify-content: space-between; gap: .5rem }
.price { font-size: 1.15rem; font-weight: 700 }
.add { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--gold-grad); color: var(--on-gold); cursor: pointer; box-shadow: 0 3px 0 #6d4f1f; transition: filter .15s, translate .1s }
.add:hover { filter: brightness(1.08) }
.add:active { translate: 0 2px; box-shadow: 0 1px 0 #6d4f1f }
.soldout { margin: auto 0 0; color: var(--muted); font-weight: 600; font-size: .9rem }
.soldout.big { margin: 0 0 1rem; padding: 1rem; border: 1px dashed var(--line); border-radius: var(--r); font-size: 1.05rem }

/* ---------- shop ---------- */
.shop { padding-block: 2rem }
.shop-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem }
.shop-head h1 { margin: 0 }
.sort { margin-left: auto; align-self: center }
.sort select { min-height: 42px; width: auto }
.cats { display: flex; gap: .5rem; margin: 1.25rem 0 1.5rem; overflow-x: auto; scrollbar-width: none }
.cats a { flex: none; padding: .5rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .92rem; transition: border-color .15s }
.cats a:hover { border-color: #d9b56d80 }
.cats a[aria-current] { background: var(--gold-grad); border-color: transparent; color: var(--on-gold); font-weight: 700 }
.shop-body { display: grid; grid-template-columns: 210px 1fr; gap: 2rem; align-items: start }
.filters { position: sticky; top: 104px; display: grid; gap: 1.5rem }
.fgroup { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; border: 0 }
.fgroup legend { padding: 0; margin-bottom: .55rem; font: 700 .72rem var(--ui); text-transform: uppercase; letter-spacing: .1em; color: var(--muted) }
.fchip { padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: none; font-size: .88rem; cursor: pointer; transition: border-color .15s }
.fchip:hover { border-color: #d9b56d80 }
.fchip[aria-pressed=true] { border-color: var(--gold); background: #d9b56d1f; color: var(--gold-hi) }
.filters > .link { justify-self: start }
.empty { color: var(--muted); padding: 2rem 0 }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; padding-block: 2rem }
.pdp-img { position: sticky; top: 104px }
.pdp-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 1px solid var(--line) }
.crumbs { display: flex; gap: .45rem; margin-bottom: .8rem; color: var(--muted); font-size: .88rem }
.crumbs a { text-decoration: none }
.crumbs a:hover { color: var(--gold-hi) }
.crumbs span { opacity: .6 }
.pdp h1 { margin: .55rem 0 .3rem }
.pdp .rating { font-size: .95rem; margin: .1rem 0 .5rem }
.pdp .spec { font-size: 1rem; margin-bottom: 1.4rem }
.weights { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; margin: 0 0 1rem; padding: 0; border: 0 }
.weights legend { padding: 0; margin-bottom: .55rem; font: 700 .72rem var(--ui); text-transform: uppercase; letter-spacing: .1em; color: var(--muted) }
.weights span { display: grid; text-align: center; padding: .6rem .5rem; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: .9rem; cursor: pointer; transition: border-color .15s }
.weights span:hover { border-color: #d9b56d80 }
.weights b { color: var(--ink); font-size: 1.02rem }
.wprice { font-style: normal }
.weights input:checked + span { border-color: var(--gold); background: #d9b56d14; box-shadow: inset 0 0 0 1px var(--gold) }
.buy-row { display: flex; gap: .75rem }
.grow { flex: 1 }
.qty { display: flex; align-items: center; flex: none; border: 1px solid var(--line); border-radius: 999px; overflow: hidden }
.qty button { display: grid; place-items: center; width: 44px; height: 46px; border: 0; background: none; cursor: pointer }
.qty button:hover { color: var(--gold-hi); background: #ffffff08 }
.qty input { width: 2.4em; min-height: 0; padding: 0; border: 0; background: none; text-align: center; font-weight: 600; box-shadow: none !important; -moz-appearance: textfield }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none }
.qty.sm button { width: 34px; height: 34px }
.perks { list-style: none; display: grid; gap: .4rem; margin: 1.25rem 0 1.5rem; padding: 0; color: var(--muted); font-size: .92rem }
.perks li, .perk-list li { display: flex; align-items: center; gap: .55rem }
.perks .i, .perk-list .i { color: var(--gold) }
.desc { margin: 0 0 1.75rem; color: var(--soft); font-size: 1.05rem }
.terps { list-style: none; display: grid; gap: .55rem; margin: 0 0 1.75rem; padding: 0 }
.terps li { display: grid; grid-template-columns: 120px 1fr 44px; align-items: center; gap: .75rem; font-size: .92rem }
.terps i { position: relative; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden }
.terps i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--gold-grad) }
.terps b { text-align: right; font-weight: 600 }

.reviews { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; border-top: 1px solid var(--line) }
.rev-avg { display: grid; justify-items: start; gap: .5rem; margin: 0 }
.rev-avg b { font: 600 3.4rem/1 var(--display) }
.rev-avg .stars { --s: 1.35rem }
.rev-list { list-style: none; margin: 0; padding: 0 }
.rev-list li { display: grid; gap: .5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line) }
.rev-list li:first-child { padding-top: .4rem }
.rev-list p { margin: 0 }
.rev-by { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; font-size: .88rem }
.verified { display: inline-flex; align-items: center; gap: .2rem; color: var(--ok); font-weight: 600 }

/* ---------- bag & checkout ---------- */
.checkout { padding-block: 2rem }
.checkout .notice { margin: 0 0 1.5rem }
.co-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start }
.lines { display: grid; gap: .75rem; margin-bottom: 2.25rem }
.line { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 1rem; padding: .75rem; background: var(--raised); border: 1px solid var(--line); border-radius: 12px }
.line img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover }
.line > div { display: grid; gap: .3rem; justify-items: start; min-width: 0 }
.line small { font-size: .85rem }
.line .line-end { justify-items: end }
.line.gone { opacity: .65 }
.empty-bag { display: grid; justify-items: center; gap: 1rem; padding: 2.5rem 1rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted) }
.empty-bag p { margin: 0 }
.co-form { display: grid; gap: 1.1rem }
.co-form .h3 { margin: .75rem 0 0 }
.co-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap }
.pay { display: grid; gap: .75rem }
.pay-opt { display: flex; align-items: flex-start; gap: .9rem; padding: 1rem; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s }
.pay-opt:hover { border-color: #d9b56d80 }
.pay-opt:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold) }
.pay-opt input { width: 20px; height: 20px; margin: .15rem 0 0; flex: none }
.pay-opt span { display: grid; gap: .15rem }
.pay-opt small { color: var(--muted) }
.summary { position: sticky; top: 104px; display: grid; gap: 1rem; padding: 1.5rem; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r) }
.summary .h3 { margin: 0 }
.summary p { margin: 0; text-align: center }
.errors { list-style: none; display: grid; gap: .4rem; margin: 0; padding: .75rem 1rem; color: var(--danger); background: #e5786d14; border-radius: 10px; font-size: .92rem }
.errors:empty { display: none }
.code-row { display: flex; gap: .5rem }
.code-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em }
.code-row input::placeholder { text-transform: none; letter-spacing: 0 }
.code-box small:empty { display: none }
.code-box small.ok, .save { color: var(--ok) }
.code-box small.err { color: var(--danger) }

/* ---------- order tracking ---------- */
.order { max-width: 680px; padding-block: 2.5rem }
.order-no { margin: -.2rem 0 0; color: var(--muted) }
.order-no b { color: var(--ink) }
.paybox { display: grid; gap: .5rem; margin: 1.5rem 0; padding: 1.4rem; border-radius: var(--r); border: 1px solid #d9b56d66; background: linear-gradient(160deg, #134a5260, transparent 70%), var(--raised) }
.paybox p { margin: .3rem 0 0 }
.paybox p:first-child { margin: 0 }
.copyrow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding: .45rem .45rem .45rem 1rem; background: var(--deep); border: 1px solid var(--line); border-radius: 10px }
.copyrow code { flex: 1 1 auto; font: 700 clamp(.9rem, 4vw, 1.05rem) var(--ui); overflow-wrap: anywhere } /* the e-Transfer email stays on one line; Copy drops below if needed */
.copyrow button { margin-left: auto }
.track { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 2rem 0; padding: 0 }
.track li { position: relative; padding-top: 2.1rem; text-align: center; font-size: .85rem; color: var(--muted) }
.track li::before { content: ''; position: absolute; z-index: 1; top: .4rem; left: 50%; translate: -50%; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg) }
.track li::after { content: ''; position: absolute; top: calc(.4rem + 8px); left: -50%; right: 50%; height: 2px; background: var(--line) }
.track li:first-child::after { display: none }
.track .done, .track .now { color: var(--ink) }
.track .done::before { background: var(--gold); border-color: var(--gold) }
.track .now::before { background: var(--gold-hi); border-color: var(--gold); box-shadow: 0 0 0 5px #d9b56d33 }
.track .done::after, .track .now::after { background: var(--gold) }
.track .now { font-weight: 700 }
.order-items { display: grid; gap: .75rem; margin-bottom: 1.25rem; padding: 1rem 1.1rem; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r) }
.order-items .line { grid-template-columns: 56px 1fr auto; padding: 0; background: none; border: 0 }
.order-items .line img { width: 56px; height: 56px }
.order-items dl { padding-top: .75rem; border-top: 1px solid var(--line) }
.narrow { max-width: 640px }
.join { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 2rem; padding: 1.25rem 1.4rem; border-radius: var(--r); border: 1px dashed #d9b56d66 }
.join .h3 { margin: 0 0 .2rem }
.join p { margin: 0 }

/* Star picker: radios inside labels; every star up to the chosen (or hovered) one lights up. */
.rate-sec { margin: 0 0 1.5rem; padding: 1.4rem; border-radius: var(--r); border: 1px solid #d9b56d66; background: linear-gradient(160deg, #134a5260, transparent 70%), var(--raised); scroll-margin-top: 100px }
.rate-sec > p { margin: 0 0 1rem }
.rate-sec .err { margin-bottom: 1rem }
.rate-form { display: grid; gap: 1.1rem }
.rate-item { display: grid; gap: .65rem; margin: 0; padding: 0 0 1.1rem; border: 0; border-bottom: 1px solid var(--line) }
.rate-item legend { display: flex; align-items: center; gap: .75rem; padding: 0; margin-bottom: .1rem; font-weight: 600 }
.rate-item legend img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover }
.rate { display: flex; gap: .2rem }
.rate label { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: #ffffff38; cursor: pointer; transition: color .12s, scale .12s }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px }
.rate svg { fill: currentColor; stroke: none }
.rate label:has(input:checked), .rate label:has(~ label input:checked) { color: var(--gold) }
.rate:hover label { color: #ffffff38 }
.rate label:hover, .rate label:has(~ label:hover) { color: var(--gold-hi) }
.rate label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 1px }
.rate label:active { scale: .88 }
.rated { display: flex; align-items: center; gap: .6rem; margin: 0 }
.rated .stars { --s: 1.15rem }

/* ---------- popup ---------- */
.promo {
  width: min(100% - 32px, 420px); padding: 2rem 1.6rem 1.6rem; border-radius: 22px; border: 1px solid #d9b56d66; color: var(--ink); text-align: center;
  background: linear-gradient(170deg, #14294f, var(--bg) 70%); box-shadow: 12px 18px 0 #0007;
}
.promo[open] { display: grid; justify-items: center; gap: .7rem; animation: rise .45s var(--ease) both }
.promo::backdrop { background: #050a16b8; backdrop-filter: blur(3px) }
.promo h2 { margin: 0; font-size: clamp(1.6rem, 6vw, 2.1rem) }
.promo p { margin: 0; color: var(--soft); white-space: pre-line }
.promo .btn { margin-top: .6rem }
.promo form { position: absolute; top: .6rem; right: .6rem }
.promo-x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #ffffff12; cursor: pointer }
.promo-x:hover { background: #ffffff22 }
.promo-preview .promo { position: relative; display: grid; justify-items: center; gap: .7rem; margin: 0 auto }

/* ---------- customer accounts ---------- */
.auth { max-width: 460px; padding-block: 2.5rem }
.auth-form { display: grid; gap: 1rem }
.auth-form > .link { justify-self: center }
.auth-alt { margin: 1.5rem 0 0; text-align: center; color: var(--muted) }
.perk-list { list-style: none; display: grid; gap: .45rem; margin: 0 0 1.75rem; padding: 0; color: var(--soft) }
.acct { padding-block: 2rem }
.acct-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.25rem; align-items: start }
.acct-card { display: grid; gap: .75rem; padding: 1.4rem; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r) }
.acct-card .h3 { margin: 0 }
.acct-card > p { margin: 0 }
.acct-orders { grid-row: span 2 }
.acct-card .auth-form > .btn, .acct-card .auth-form > .btn-ghost { justify-self: start }
.olist { list-style: none; margin: 0; padding: 0 }
.olist a { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); text-decoration: none }
.olist li:last-child a { border-bottom: 0 }
.olist a > span:first-child { flex: 1; display: grid }
.olist a:hover b { color: var(--gold-hi) }
.olist a > .i { color: var(--muted); transition: translate .2s var(--ease) }
.olist a:hover > .i { translate: 3px 0; color: var(--gold) }
.olist-end { display: grid; justify-items: end; gap: .15rem }
.st { font-size: .75rem; font-weight: 700; color: var(--muted) }
.st.placed, .st.paid, .st.out { color: var(--gold-hi) }
.st.cancelled { color: var(--danger) }
.acct-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem }

/* ---------- footer & toast ---------- */
.foot { margin-top: 3rem; padding-block: 2.5rem 1.5rem; background: var(--deep); border-top: 1px solid var(--line) }
.foot-in { display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 2rem; align-items: start }
a[href^="tel:"] { white-space: nowrap }
.foot p { margin: 0; color: var(--muted); font-size: .92rem }
.foot .fine { margin-top: 2rem; font-size: .8rem }
.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 50; display: flex; gap: .75rem; align-items: center; max-width: calc(100% - 32px);
  padding: .8rem 1.2rem; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; box-shadow: 6px 10px 0 #0008;
  animation: toast-in .35s var(--ease);
}
.toast a { display: inline-flex; align-items: center; gap: .25rem; color: #7a5520; white-space: nowrap }
@keyframes toast-in { from { opacity: 0; translate: -50% 14px } }

/* ---------- admin ---------- */
.adm-in { width: 100%; max-width: 720px; margin-inline: auto; padding-inline: 16px }
main.adm-in { padding-block: 1.25rem 7rem }
.adm-in > h1 { font-size: 2rem; margin: .5rem 0 1rem }
.adm-hdr { position: sticky; top: 0; z-index: 10; background: var(--deep); border-bottom: 1px solid var(--line) }
.adm-bar { display: flex; align-items: center; gap: 1rem; width: 100%; max-width: 980px; min-height: 64px; margin-inline: auto; padding-inline: 16px }
.adm-nav { display: flex; gap: .2rem; margin-right: auto; padding: 4px; border-radius: 999px; background: #ffffff0c }
.adm-nav a { position: relative; display: flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--soft); transition: color .15s, background-color .15s }
.adm-nav a:hover { color: var(--gold-hi) }
.adm-nav a[aria-current] { background: var(--gold-grad); color: var(--on-gold) }
.adm-nav .i { width: 18px; height: 18px }
.badge { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; border-radius: 999px; background: var(--danger); color: #1a0b09; font-size: .72rem; font-weight: 800 }
.adm-site { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .9rem; text-decoration: none }
.adm-site:hover { color: var(--gold-hi) }
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .5rem 0 1rem }
.adm-head h1 { margin: 0; font-size: 2rem }
.back { display: inline-flex; align-items: center; gap: .35rem; margin-top: .25rem; color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none }
.back .i { rotate: 180deg }
.back:hover { color: var(--gold-hi) }
.lead { margin: -.25rem 0 1.25rem }
.adm-login { display: grid; align-content: center; justify-items: center; gap: 1rem; max-width: 360px; min-height: 85svh; margin-inline: auto }
.adm-login .field { width: 100% }
.adm-login img { margin-bottom: .5rem }
.adm-card { display: grid; gap: .75rem; margin-bottom: 1.25rem; padding: 1.25rem; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r) }
.adm-card .h3 { margin: 0 }
.adm-card > p { margin: 0 }
.push-msg { margin: .3rem 0 0 }
.push-btns { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem }
.push-btns:not(:has(> :not([hidden]))) { display: none }

.ocard { display: grid; gap: .6rem; margin-bottom: 1rem; padding: 1.1rem; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r); scroll-margin-top: 80px }
.ocard:target { border-color: var(--gold); box-shadow: 0 0 0 3px #d9b56d33 }
.ocard-top { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem }
.ocard h2 { margin: 0; font: 700 1.2rem var(--ui) }
.ometa, .oaddr, .onote { margin: 0 }
.ometa { color: var(--muted); font-size: .9rem }
.oaddr a { color: var(--gold-hi); font-weight: 600 }
.oitems { margin: 0; padding-left: 1.1rem }
.onote { padding: .6rem .8rem; border-radius: 8px; background: #d9b56d14; font-style: italic }
.oactions { display: grid; gap: .75rem; margin-top: .3rem }
.oactions form:last-child { text-align: center }
.pill { justify-self: start; padding: .25rem .75rem; border-radius: 999px; background: #ffffff14; font-size: .8rem; font-weight: 700 }
.pill.placed { background: #5cc28d26; color: #95e3b8 }
.pill.waiting { background: #e0a04026; color: #f3c680 }
.pill.paid { background: #3fa59a26; color: #80d8cd }
.pill.out { background: #d9b56d26; color: var(--gold-hi) }
.pill.delivered { color: var(--muted) }
.pill.cancelled { background: #e5786d1f; color: var(--danger) }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem }
.tag { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .14rem .45rem; border-radius: 5px; background: #ffffff16; color: var(--muted) }
.tag.warn { background: #e0a04026; color: #f3c680 }
.tag.ok { background: #5cc28d24; color: #95e3b8 }
.empty-state { padding: 2.5rem 1rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r) }
.adm-sub, .pgroup-h.adm-sub { margin-top: 2.25rem }
.done-list { list-style: none; margin: 0; padding: 0 }
.done-list li { padding: .7rem 0; border-bottom: 1px solid var(--line) }
.done-list summary { display: flex; align-items: center; gap: .75rem; cursor: pointer; list-style: none }
.done-list summary::-webkit-details-marker { display: none }
.done-list summary span:first-child { flex: 1 }
.done-list .ocard { margin-top: .7rem }

.tools { display: flex; gap: .6rem; margin-bottom: .5rem }
.tools .psearch { flex: 1; margin: 0 }
.psearch { margin-bottom: .75rem }
.pgroup { margin-top: 1.4rem }
.pgroup-h { display: flex; align-items: center; gap: .5rem; margin: 0; padding-bottom: .45rem; border-bottom: 1px solid var(--line); font: 700 .76rem var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.pgroup-h .muted { margin-left: auto }
.pempty { margin: .75rem 0 0 }
.plist { list-style: none; margin: 0; padding: 0 }
.plist li { display: flex; align-items: center; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--line) }
.prow { flex: 1; display: flex; align-items: center; gap: .9rem; min-width: 0; text-decoration: none }
.prow img { width: 56px; height: 56px; flex: none; border-radius: 10px; object-fit: cover }
.prow > span { display: grid; gap: .1rem; min-width: 0 }
.prow b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.prow:hover b { color: var(--gold-hi) }
.prow small { color: var(--muted) }
.dcode { flex: 1; display: grid; gap: .1rem; min-width: 0 }
.dcode b { font-family: var(--ui); letter-spacing: .06em }
.dcode small { color: var(--muted) }
.mini-rating { display: inline-flex; align-items: center; gap: .15rem }
.mini-rating .i { color: var(--gold); fill: currentColor; stroke: none }
.cmove { display: grid; gap: .3rem }
.icon-btn { display: grid; place-items: center; width: 38px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: none; cursor: pointer; transition: border-color .15s, color .15s }
.icon-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-hi) }
.icon-btn:active:not(:disabled) { translate: 0 1px }
.icon-btn:disabled { opacity: .3; cursor: default }
.sw-cap { display: grid; justify-items: center; gap: .25rem; cursor: pointer }
.sw-cap small { font-size: .68rem; font-weight: 600; color: var(--muted); white-space: nowrap }
.switch { position: relative; display: inline-block; flex: none; width: 52px; height: 30px }
.switch input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .2s }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); transition: translate .2s var(--ease) }
.switch:hover i { background: #31476f }
.switch input:checked + i { background: var(--ok) }
.switch input:checked + i::after { translate: 22px 0 }
.switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px }

.clist li { gap: .85rem }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--gold-grad); color: var(--on-gold); font: 600 1.15rem var(--display) }
.cinfo { flex: 1; display: grid; min-width: 0 }
.cinfo a { color: var(--gold-hi); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; text-decoration: none }
.cinfo a:hover { text-decoration: underline }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.25rem }
.stat { display: grid; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--raised); border: 1px solid var(--line) }
.stat b { font: 600 2rem/1.1 var(--display); color: var(--gold-hi) }
.stat span { color: var(--muted); font-size: .88rem }

.rlist { list-style: none; margin: 0; padding: 0 }
.rlist li { display: grid; gap: .35rem; padding: 1rem 0; border-bottom: 1px solid var(--line) }
.rlist p { margin: 0 }
.rhead { display: flex; align-items: center; gap: .6rem }
.rhead .stars { --s: 1.1rem }
.rhead form { margin-left: auto }
.rprod a { color: var(--gold-hi); font-weight: 600; text-decoration: none }
.rbody { color: var(--soft) }
.rdecide { display: flex; gap: .5rem; margin-top: .35rem }

.more-list { list-style: none; margin: 0 0 1rem; padding: 0; border-radius: var(--r); border: 1px solid var(--line); background: var(--raised); overflow: hidden }
.more-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; text-decoration: none; border-bottom: 1px solid var(--line); transition: background-color .15s }
.more-list li:last-child .more-row { border-bottom: 0 }
.more-row:hover { background: #ffffff08 }
.more-row > .i:first-child { color: var(--gold) }
.more-row > .i:last-child { color: var(--muted) }
.more-row span { flex: 1; display: grid }
.more-row small { color: var(--muted) }
.ulist { list-style: none; margin: 0; padding: 0 }
.ulist li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--line) }
.ulist li > span { display: flex; align-items: center; gap: .5rem }
.ulist .i { color: var(--muted) }

.pform { display: grid; gap: 1.1rem }
.photo-box {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 340px; overflow: hidden; cursor: pointer; /* square, like the menu */
  border: 2px dashed var(--line); border-radius: var(--r); color: var(--gold-hi); font-weight: 600; transition: border-color .15s;
}
.photo-box:hover { border-color: #d9b56d80 }
.photo-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.photo-box span { position: relative; padding: .45rem 1rem; border-radius: 999px; background: #0c1730d9 }
.photo-box img:not([hidden]) + span { position: absolute; bottom: .75rem }
.pform:has(#photo:focus-visible) .photo-box { outline: 2px solid var(--gold); outline-offset: 2px }
.studio { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; margin-top: -.4rem }
.studio p { flex-basis: 100%; margin: 0 }
.seg, .prices, .group { margin: 0; padding: 0; border: 0 }
.seg legend, .prices legend, .group legend { padding: 0; margin-bottom: .4rem; font-weight: 600; font-size: .92rem }
.group { display: grid; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px }
.group legend { padding: 0 .35rem; margin-left: -.35rem }
.seg-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem }
.seg-opts.two { grid-template-columns: 1fr 1fr }
.seg-opts span { display: block; padding: .7rem .25rem; text-align: center; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; cursor: pointer; transition: border-color .15s }
.seg-opts span:hover { border-color: #d9b56d80 }
.seg-opts input:checked + span { border-color: var(--gold); background: #d9b56d1f; color: var(--gold-hi) }
.prices { display: grid; gap: .5rem }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem }
.dollar { position: relative }
.dollar::before { content: '$'; position: absolute; left: .9rem; top: 50%; translate: 0 -50%; color: var(--muted) }
.dollar input { padding-left: 1.8rem }
.pct { position: relative; display: block; max-width: 9rem }
.pct::after { content: '%'; position: absolute; right: .9rem; top: 50%; translate: 0 -50%; color: var(--muted) }
.switches { border-top: 1px solid var(--line) }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-weight: 600; cursor: pointer }
.switch-row > span:first-child { display: grid }
.switch-row small { color: var(--muted); font-weight: 400; font-size: .84rem }
details { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px }
details > .field, details > form { margin-top: 1rem }
summary { cursor: pointer; font-weight: 600 }
summary:hover { color: var(--gold-hi) }
.del { margin-top: 2.5rem; text-align: center }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav { gap: 1.3rem }
}
@media (max-width: 860px) {
  body:not(.admin, .gate) { padding-bottom: calc(60px + env(safe-area-inset-bottom)) }
  .topbar-pay, .nav, .acct-btn { display: none }
  .hdr-in { justify-content: space-between; min-height: 66px }
  .brand img { width: 54px; height: 54px }
  .tabbar { display: flex }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); pointer-events: none } /* taps go through to the + buttons under it */
  .toast a { display: none } /* the Bag tab right below shows the count */

  .hero-in { grid-template-columns: 1fr; padding-block: 2rem 1rem; gap: 1.25rem }
  .hero::before { mask-image: linear-gradient(180deg, transparent, #000 60%) }
  .hero-art { max-width: 320px }
  .float-card { right: 0; top: auto; bottom: 12% }
  .tiles { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84px; overflow-x: auto; margin-inline: -16px; padding: .25rem 16px .5rem; scroll-snap-type: x mandatory; scrollbar-width: none }
  .tile { scroll-snap-align: start; font-size: .88rem }
  .steps { grid-template-columns: 1fr; gap: 1.75rem }
  .steps li { padding: .4rem 0 0 4.4rem; min-height: 3.25rem }
  .steps li::after { top: 3.25rem; bottom: -1.75rem; left: 1.625rem; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), #d9b56d33) }

  .shop-body { grid-template-columns: 1fr; gap: 1rem }
  .filters { position: static; display: flex; gap: .4rem; overflow-x: auto; margin-inline: -16px; padding: 0 16px .25rem; scrollbar-width: none }
  .fgroup { flex-wrap: nowrap; flex: none; display: contents }
  .fgroup legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
  .fchip, .filters > .link { flex: none }

  .pdp { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 1rem }
  .pdp-img { position: static }
  .reviews { grid-template-columns: 1fr; gap: 1rem }
  .co-grid, .acct-grid { grid-template-columns: 1fr }
  .acct-orders { grid-row: auto }
  .summary { position: static }
  .foot-in { grid-template-columns: 1fr 1fr }
  .foot-in img { grid-column: 1 / -1 }

  /* Admin: tabs become a thumb-reach bar along the bottom. */
  .adm-bar { justify-content: space-between; min-height: 56px }
  .adm-logo img { width: 38px; height: 38px }
  .adm-nav { position: fixed; inset: auto 0 0; z-index: 20; gap: 0; margin: 0; padding: 0 0 env(safe-area-inset-bottom); border-radius: 0; background: #0a1328f5; backdrop-filter: blur(12px); border-top: 1px solid var(--line) }
  .adm-nav a { flex: 1; flex-direction: column; justify-content: center; gap: 3px; min-height: 60px; padding: 0; border-radius: 0; font-size: .7rem; color: var(--muted) }
  .adm-nav .i { width: 22px; height: 22px }
  .adm-nav a[aria-current] { background: none; color: var(--gold-hi) }
  .adm-nav a[aria-current]::before { content: ''; position: absolute; top: -1px; left: 28%; right: 28%; height: 2px; border-radius: 0 0 2px 2px; background: var(--gold-grad) }
  .badge { position: absolute; top: 6px; left: calc(50% + 5px) }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: .75rem }
  .card-body { padding: .75rem }
  .card h3 { font-size: .98rem }
  .add { width: 38px; height: 38px }
  .terps li { grid-template-columns: 100px 1fr 40px }
  .line { grid-template-columns: 56px 1fr auto; gap: .75rem }
  .line img { width: 56px; height: 56px }
  .adm-site span { display: none }
  .adm-head .btn.sm { padding: 0 .85em }
  .acct-foot { flex-direction: column-reverse; align-items: stretch; text-align: center }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important }
}
