/* ==========================================================
   ZĒMA — shop, account & checkout
   Requires /theme.css (tokens + dark/light) loaded first.
   ========================================================== */
:root {
  --brand: "ZĒMA";        /* rename here + /js/brand.js */
  --brand-eth: "ዜማ";
  --wrap: 1320px;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --nav-h: 76px;
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, .55);
  --field: color-mix(in srgb, var(--ink) 4%, transparent);
}
html[data-mode="light"] { --shadow: 0 30px 70px -40px rgba(60, 35, 10, .35); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--bg);
  font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
main { flex: 1; position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--c4); color: var(--c1); }
:focus-visible { outline: 2px solid var(--c4); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- ambient ---------- */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 200; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
html[data-mode="light"] .grain { opacity: .045; }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.aura {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60vw 50vh at 85% -10%, color-mix(in srgb, var(--c2) 45%, transparent), transparent 70%),
    radial-gradient(50vw 40vh at -10% 110%, color-mix(in srgb, var(--c3) 14%, transparent), transparent 70%);
  transition: opacity .6s;
}
html[data-mode="light"] .aura { opacity: .7; }
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- type ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--c4);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: .95;
  font-size: clamp(48px, 8vw, 116px);
}
.display em, .h1 em, .h2 em { font-style: italic; color: var(--c4); }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 76px); line-height: 1; letter-spacing: -.015em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.01em; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.eth { font-family: var(--ethi); }
.lede { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 56ch; line-height: 1.65; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.concept-note { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  overflow: hidden; isolation: isolate; user-select: none;
  transition: color .5s var(--ease), opacity .3s, transform .5s var(--ease), border-color .4s;
}
.btn--solid { background: var(--c4); color: var(--c1); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--c5); border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn--ghost:hover { color: var(--c1); border-color: var(--c5); }
  .btn:hover .btn__arrow { transform: translateX(4px); }
}
.btn:active { transform: scale(.98); }
.btn__arrow { transition: transform .5s var(--ease); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 11.5px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn.is-loading::after {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--c4); border-bottom: 1px solid color-mix(in srgb, var(--c4) 40%, transparent); transition: border-color .3s; }
.link:hover { border-color: var(--c4); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; position: relative;
  border: 1px solid var(--line); transition: background .3s, border-color .3s, color .3s;
}
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- nav ---------- */
.snav {
  position: sticky; top: 0; z-index: 100;
  transition: transform .6s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.snav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}
.snav.is-hidden { transform: translateY(-105%); }
.snav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: baseline; gap: 9px; font-family: var(--serif); font-size: 27px; letter-spacing: .06em; line-height: 1; min-height: 44px; align-items: center; }
.logo::before { content: var(--brand); }
.logo small { font-family: var(--ethi); font-size: 13.5px; color: var(--c4); letter-spacing: 0; }
.logo small::before { content: var(--brand-eth); }
.snav__links {
  display: flex; gap: 4px; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--c1) 40%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.snav__links a {
  padding: 9px 17px; border-radius: 999px; font-size: 13px; color: var(--muted); transition: color .3s, background .3s;
}
.snav__links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.snav__links a[aria-current="page"] { color: var(--c1); background: var(--c4); }
.snav__right { display: flex; align-items: center; gap: 8px; }
.badge {
  position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--c4); color: var(--c1); font-size: 10.5px; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform .5s var(--ease);
}
.badge.is-on { transform: scale(1); }
.badge.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } 100% { transform: scale(1); } }
.mode-toggle .i-sun { display: none; }
html[data-mode="light"] .mode-toggle .i-sun { display: block; }
html[data-mode="light"] .mode-toggle .i-moon { display: none; }
.snav__menu { display: none; }
.msheet {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
}
.msheet__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .5s var(--ease); }
.msheet__panel {
  position: absolute; left: 10px; right: 10px; top: 10px; padding: 18px 22px 26px; border-radius: var(--r-md);
  background: color-mix(in srgb, var(--bg) 94%, var(--c2)); border: 1px solid var(--line); box-shadow: var(--shadow);
  transform: translateY(-20px); opacity: 0; transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.msheet.is-open { pointer-events: auto; }
.msheet.is-open .msheet__bg { opacity: 1; }
.msheet.is-open .msheet__panel { transform: none; opacity: 1; }
.msheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.msheet nav a {
  display: flex; justify-content: space-between; align-items: center; min-height: 56px;
  font-family: var(--serif); font-size: 30px; border-bottom: 1px solid var(--line);
}
.msheet nav a span { font-family: var(--sans); font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .snav__links, .snav__right .hide-m { display: none; }
  .snav__menu { display: inline-grid; }
  .logo { font-size: 24px; }
}

/* ---------- footer ---------- */
.sfoot { position: relative; z-index: 1; margin-top: clamp(80px, 12vw, 160px); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.sfoot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.sfoot h4 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.sfoot li { list-style: none; }
.sfoot li a { display: inline-block; padding: 5px 0; color: var(--ink); opacity: .82; transition: opacity .3s, color .3s; }
.sfoot li a:hover { opacity: 1; color: var(--c4); }
.sfoot__big { font-family: var(--serif); font-size: clamp(56px, 9vw, 120px); line-height: .9; letter-spacing: .02em; }
.sfoot__big::before { content: var(--brand); }
.sfoot__big small { font-family: var(--ethi); font-size: .3em; color: var(--c4); margin-left: 10px; }
.sfoot__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .sfoot__grid { grid-template-columns: 1fr 1fr; } .sfoot__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- product art ---------- */
.art {
  --p1: #1a0f05; --p2: #6b3a0e; --p3: #c8811b; --p4: #f2c14e; --p5: #fff3d6;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5; border-radius: var(--r-lg);
  background:
    radial-gradient(120% 80% at 50% 110%, color-mix(in srgb, var(--p4) 55%, transparent), transparent 60%),
    radial-gradient(90% 60% at 20% 0%, color-mix(in srgb, var(--p3) 45%, transparent), transparent 70%),
    linear-gradient(160deg, var(--p2), var(--p1) 75%);
  display: grid; place-items: center;
}
.art::after { /* hairline + inner glow */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p5) 14%, transparent), inset 0 -60px 80px -60px color-mix(in srgb, var(--p5) 30%, transparent);
}
.art__eth {
  font-family: var(--ethi); font-weight: 700; color: var(--p5); line-height: 1;
  font-size: clamp(56px, 9cqi, 140px); text-shadow: 0 10px 40px color-mix(in srgb, var(--p1) 70%, transparent);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.art { container-type: inline-size; }
.art__eth { font-size: 26cqi; }
.art__name {
  position: absolute; left: 0; right: 0; bottom: 7%; text-align: center;
  font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: color-mix(in srgb, var(--p5) 80%, transparent);
  transition: opacity .6s var(--ease);
}
.art__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1;
  opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .9s var(--ease), transform 1.1s var(--ease);
  filter: drop-shadow(0 30px 30px color-mix(in srgb, var(--p1) 70%, transparent));
}
.art.has-img .art__img { opacity: 1; transform: none; }
.art.has-img .art__eth { opacity: .14; transform: scale(1.25); }
.art.has-img .art__name { opacity: 0; }
.art canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; z-index: 2; touch-action: pan-y; cursor: grab; }
.art canvas:active { cursor: grabbing; }
.art--sq { aspect-ratio: 1; border-radius: var(--r-sm); }
.art--sq .art__name { display: none; }
.art--sq .art__eth { font-size: 34cqi; }

/* ---------- chips / pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 12.5px; color: var(--ink);
}
.chip--accent { border-color: color-mix(in srgb, var(--c4) 50%, transparent); color: var(--c4); }
.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 99px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: color-mix(in srgb, var(--c1) 70%, transparent); color: var(--c5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid color-mix(in srgb, var(--c5) 15%, transparent);
}
html[data-mode="light"] .tag { background: color-mix(in srgb, #1c130b 70%, transparent); color: #fff3d6; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted);
  transition: color .3s, background .3s, border-color .3s;
}
.filter:hover { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter sup { font-size: 10px; margin-left: 4px; opacity: .6; }

/* ---------- page heads ---------- */
.phead { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(28px, 4vw, 48px); }
.phead .eyebrow { margin-bottom: 22px; }
.phead__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.phead .lede { margin-top: 20px; }

/* ---------- shop grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px) clamp(14px, 2vw, 28px); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: clamp(56px, 7vw, 96px) 0 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.section-title:first-child { margin-top: 8px; }
.section-title .eth { color: var(--c4); font-size: 18px; }
.card { display: flex; flex-direction: column; gap: 16px; position: relative; }
.card__media { position: relative; border-radius: var(--r-lg); transition: transform .8s var(--ease); }
.card__media .art { transition: transform 1.2s var(--ease); }
.card__tags { position: absolute; left: 14px; top: 14px; z-index: 3; display: flex; gap: 6px; flex-wrap: wrap; }
.card__quick {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
@media (hover: hover) {
  .card:hover .card__media { transform: translateY(-6px); }
  .card:hover .art { transform: scale(1.015); }
  .card:hover .card__quick { opacity: 1; transform: none; }
}
@media (hover: none) { .card__quick { opacity: 1; transform: none; } }
.card__body { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 0 4px; }
.card__name { font-family: var(--serif); font-size: 27px; line-height: 1.1; }
.card__name small { font-family: var(--ethi); font-size: 14px; color: var(--c4); margin-left: 8px; }
.card__price { font-size: 14px; font-weight: 600; white-space: nowrap; }
.card__short { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.card__notes { grid-column: 1 / -1; font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }
.card a.card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--r-lg); }

/* skeleton */
.skel { border-radius: var(--r-lg); background: linear-gradient(100deg, var(--panel) 30%, color-mix(in srgb, var(--ink) 7%, transparent) 50%, var(--panel) 70%); background-size: 300% 100%; animation: shimmer 1.6s var(--ease) infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 88px); padding-top: clamp(16px, 3vw, 40px); align-items: start; }
.pdp__media { position: sticky; top: calc(var(--nav-h) + 16px); }
.pdp__media .art { aspect-ratio: 5 / 6; }
.pdp__hint { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--p5, #fff) 70%, transparent); pointer-events: none; opacity: 0; transition: opacity .6s; }
.art.is-live + .pdp__hint, .pdp__media.is-live .pdp__hint { opacity: 1; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.pdp__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 18px; }
.pdp__title .eth { font-size: clamp(24px, 2.6vw, 34px); color: var(--c4); }
.pdp__short { font-size: 18px; color: var(--muted); margin-top: 14px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin: 28px 0 6px; font-size: 26px; font-weight: 500; }
.pdp__price s { font-size: 16px; color: var(--muted); }
.opt { margin-top: 26px; }
.opt__label { display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.opt__label b { color: var(--ink); letter-spacing: .02em; text-transform: none; font-weight: 500; font-size: 13px; }
.opt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__btn {
  min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px;
  transition: border-color .3s, background .3s, color .3s;
}
.opt__btn:hover { border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.opt__btn[aria-pressed="true"] { border-color: var(--c4); background: color-mix(in srgb, var(--c4) 14%, transparent); color: var(--ink); box-shadow: inset 0 0 0 1px var(--c4); }
.opt__btn[data-soldout="true"] { opacity: .45; text-decoration: line-through; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 30px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 52px; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; font-size: 18px; color: var(--muted); transition: color .3s; }
.qty button:hover { color: var(--ink); }
.qty output, .qty span { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.qty--sm { height: 40px; }
.qty--sm button { width: 40px; height: 40px; }
.stock-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; min-height: 20px; }
.stock-note.is-low { color: var(--c4); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.perk { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; font-size: 12.5px; color: var(--muted); }
.perk b { display: block; color: var(--ink); font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.facts { margin-top: 34px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; padding-top: 2px; }
.pdp__desc { margin-top: 34px; font-size: 16px; line-height: 1.75; color: color-mix(in srgb, var(--ink) 86%, transparent); max-width: 60ch; }
.notify { margin-top: 30px; padding: 26px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel); }
.notify .h3 { margin-bottom: 8px; }
.notify form { display: flex; gap: 8px; margin-top: 18px; }
.notify form .field { flex: 1; }
@media (max-width: 520px) { .notify form { flex-direction: column; } }
.legal-note { font-size: 12px; color: var(--muted); margin-top: 14px; }

.minibar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90;
  display: none; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 82%, var(--c2)); border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.minibar.is-on { transform: none; }
.minibar .art { width: 44px; height: 44px; aspect-ratio: 1; border-radius: 50%; flex: none; }
.minibar .art__eth { font-size: 40cqi; }
.minibar .art__name { display: none; }
.minibar__txt { flex: 1; min-width: 0; line-height: 1.25; }
.minibar__txt b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.minibar__txt span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.minibar .btn { min-height: 46px; padding: 0 20px; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { position: relative; top: 0; margin: 0 calc(var(--pad) * -1); }
  .pdp__media .art { border-radius: 0 0 var(--r-lg) var(--r-lg); aspect-ratio: 1 / 1.05; }
  .minibar { display: flex; }
  body.has-minibar .sfoot { padding-bottom: 110px; }
  .facts div { grid-template-columns: 110px 1fr; }
}

.related { margin-top: clamp(72px, 10vw, 140px); }

/* ---------- forms ---------- */
.field { display: grid; gap: 7px; position: relative; }
.field > span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 0 18px; border-radius: var(--r-sm);
  background: var(--field); border: 1px solid var(--line); color: var(--ink); font-size: 16px;
  transition: border-color .3s, background .3s, box-shadow .3s; outline: none; -webkit-appearance: none; appearance: none;
}
.textarea { padding: 14px 18px; min-height: 100px; resize: vertical; line-height: 1.5; }
.select { padding-right: 42px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23999' stroke-width='1.5'><path d='M1 1.5l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; }
.select option { background: var(--bg); color: var(--ink); }
.input::placeholder, .textarea::placeholder { color: color-mix(in srgb, var(--ink) 35%, transparent); }
.input:hover, .select:hover, .textarea:hover { border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--c4); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c4) 16%, transparent); }
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--danger); }
.field__err { font-size: 12.5px; color: var(--danger); min-height: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row3 { grid-template-columns: 1fr 1fr; } .row3 > :first-child { grid-column: 1 / -1; } }
.stack { display: grid; gap: 16px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--c4); }
.form-error {
  padding: 14px 18px; border-radius: var(--r-sm); font-size: 14px;
  background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--ink); border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent);
}
.form-ok {
  padding: 14px 18px; border-radius: var(--r-sm); font-size: 14px;
  background: color-mix(in srgb, var(--ok) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent);
}

/* ---------- panels ---------- */
.panel { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); padding: clamp(20px, 3vw, 32px); }
.panel + .panel { margin-top: 16px; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.panel__title { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- cart lines ---------- */
.lines { display: grid; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line:first-child { padding-top: 4px; }
.line .art { width: 84px; }
.line__name { font-family: var(--serif); font-size: 21px; line-height: 1.15; }
.line__name a:hover { color: var(--c4); }
.line__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.line__actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.line__rm { font-size: 12px; color: var(--muted); letter-spacing: .06em; min-height: 40px; padding: 0 4px; }
.line__rm:hover { color: var(--danger); }
.line__price { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; align-self: start; padding-top: 4px; }
.line__issue { grid-column: 2 / -1; font-size: 12.5px; color: var(--danger); }
.line--compact { grid-template-columns: 56px 1fr auto; padding: 12px 0; gap: 14px; }
.line--compact .art { width: 56px; }
.line--compact .line__name { font-size: 17px; }
.qtybubble { position: absolute; top: -6px; right: -6px; z-index: 3; min-width: 22px; height: 22px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.totals { display: grid; gap: 10px; padding-top: 18px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals dt { color: var(--muted); }
.totals dd { font-variant-numeric: tabular-nums; }
.totals .grand { padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.totals .grand dt { color: var(--ink); }
.ship-meter { margin: 6px 0 4px; }
.ship-meter p { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.ship-meter p b { color: var(--ink); font-weight: 600; }
.ship-meter i { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ship-meter i::after { content: ""; display: block; height: 100%; width: var(--pct, 0%); background: var(--c4); border-radius: inherit; transition: width .8s var(--ease); }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 160; pointer-events: none; }
.drawer__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .5s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  background: color-mix(in srgb, var(--bg) 96%, var(--c2)); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(102%); transition: transform .7s var(--ease);
  box-shadow: var(--shadow);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.drawer__head h2 sup { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-left: 6px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; overscroll-behavior: contain; }
.drawer__foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__foot .totals { padding-top: 0; }
.empty { text-align: center; padding: 56px 12px; display: grid; gap: 14px; justify-items: center; }
.empty .eth { font-size: 54px; color: var(--c4); opacity: .7; line-height: 1; }
.empty p { color: var(--muted); max-width: 34ch; }
body.no-scroll { overflow: hidden; }

/* ---------- checkout / cart layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.split__side { position: sticky; top: calc(var(--nav-h) + 16px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__side { position: static; } }
.step { display: flex; gap: 14px; align-items: baseline; margin-bottom: 18px; }
.step i { font-style: normal; font-family: var(--serif); font-size: 22px; color: var(--c4); }
.step h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.paymode {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-sm);
  border: 1px dashed color-mix(in srgb, var(--c4) 50%, transparent); background: color-mix(in srgb, var(--c4) 7%, transparent); font-size: 13.5px;
}
.paymode b { display: block; }
.addr-pick { display: grid; gap: 10px; }
.addr-opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-sm); border: 1px solid var(--line); cursor: pointer; transition: border-color .3s, background .3s; font-size: 14px; }
.addr-opt:has(input:checked) { border-color: var(--c4); background: color-mix(in srgb, var(--c4) 8%, transparent); }
.addr-opt input { margin-top: 3px; accent-color: var(--c4); width: 18px; height: 18px; flex: none; }

/* ---------- order / timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 8px 0 4px; }
.tl { position: relative; padding-top: 22px; font-size: 12.5px; color: var(--muted); }
.tl::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--line); }
.tl::after { content: ""; position: absolute; top: 1px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); }
.tl.is-done { color: var(--ink); }
.tl.is-done::before { background: var(--c4); }
.tl.is-done::after { background: var(--c4); border-color: var(--c4); }
.tl.is-current::after { box-shadow: 0 0 0 6px color-mix(in srgb, var(--c4) 22%, transparent); }
.tl b { display: block; font-weight: 600; font-size: 13px; }
.status {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line); white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--pending { color: var(--muted); }
.status--paid { color: var(--c4); }
.status--fulfilled, .status--shipped { color: #7fb4e8; }
html[data-mode="light"] .status--fulfilled, html[data-mode="light"] .status--shipped { color: #2d6aa3; }
.status--delivered { color: var(--ok); }
.status--cancelled, .status--refunded { color: var(--danger); }
.events { display: grid; gap: 0; }
.ev { display: grid; grid-template-columns: 16px 1fr; gap: 14px; padding-bottom: 18px; position: relative; font-size: 14px; }
.ev::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c4); margin-top: 7px; margin-left: 3px; }
.ev::after { content: ""; position: absolute; left: 7px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.ev:last-child::after { display: none; }
.ev small { display: block; color: var(--muted); font-size: 12px; }
.addr { font-style: normal; line-height: 1.6; font-size: 14px; }

/* ---------- account ---------- */
.auth { min-height: calc(100vh - var(--nav-h) - 200px); display: grid; place-items: center; padding: clamp(28px, 6vw, 80px) 0; }
.auth__card { width: min(460px, 100%); }
.auth__card .h1 { margin: 18px 0 10px; }
.auth__card form { margin-top: 30px; }
.auth__alt { margin-top: 22px; font-size: 14px; color: var(--muted); text-align: center; }
.acct { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.acct__nav { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 2px; }
.acct__nav a, .acct__nav button {
  display: flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--muted); text-align: left;
  transition: color .3s, background .3s;
}
.acct__nav a:hover, .acct__nav button:hover { color: var(--ink); background: var(--panel); }
.acct__nav a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
@media (max-width: 900px) {
  .acct { grid-template-columns: 1fr; }
  .acct__nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); scrollbar-width: none; }
  .acct__nav::-webkit-scrollbar { display: none; }
  .acct__nav a, .acct__nav button { flex: none; border: 1px solid var(--line); }
}
.olist { display: grid; gap: 12px; }
.orow {
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px; align-items: center; padding: 16px 18px; border-radius: var(--r-md);
  border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .5s var(--ease);
}
.orow:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); background: var(--panel); }
.orow__thumbs { display: flex; }
.orow__thumbs .art { width: 46px; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--bg); margin-left: -12px; }
.orow__thumbs .art:first-child { margin-left: 0; }
.orow__thumbs .art .art__eth { font-size: 38cqi; }
.orow__thumbs .art .art__name { display: none; }
.orow b { font-weight: 600; }
@media (max-width: 640px) {
  .orow { grid-template-columns: 1fr auto; }
  .orow__thumbs { display: none; }
}
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.addr-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: grid; gap: 12px; align-content: start; }
.addr-card__actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; width: min(420px, calc(100% - 20px)); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; font-size: 14px;
  background: var(--ink); color: var(--bg); box-shadow: var(--shadow);
  animation: toastIn .6s var(--ease) both;
}
.toast.is-out { animation: toastOut .4s var(--ease) both; }
.toast--err { background: var(--danger); color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
body.has-minibar .toasts { bottom: calc(92px + env(safe-area-inset-bottom)); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- misc ---------- */
.banner {
  display: flex; gap: 12px; align-items: center; justify-content: center; text-align: center; padding: 10px var(--pad);
  font-size: 12px; letter-spacing: .06em; color: var(--muted); border-bottom: 1px solid var(--line); position: relative; z-index: 101;
}
.banner b { color: var(--c4); font-weight: 600; }
.divider { height: 1px; background: var(--line); margin: 28px 0; border: 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14px; }
.kv dt { color: var(--muted); }
.center { text-align: center; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 48px; }
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.claim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
@media (max-width: 760px) { .claim-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.panel .empty.panel { border: 0; background: none; padding: 20px 0 8px; }
.art.has-img canvas ~ .art__eth, .pdp__media.is-live .art__eth { opacity: .06; }

/* 21+ confirmation at checkout */
.age-check { margin: 4px 0 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--c4) 45%, transparent); background: color-mix(in srgb, var(--c4) 8%, transparent); }
.age-check .check { align-items: flex-start; line-height: 1.45; }
.age-check .check input { flex: none; margin-top: 2px; }
