/* ============================================================
   SELF-HOSTED FONTS
   ------------------------------------------------------------
   Served from this origin on purpose. Loading these from Google
   would hand every visitor's IP address to a third party before
   the page even renders — on a site that gates itself behind an
   age check, that's the loudest thing on the page.

   Fraunces and IBM Plex Mono are both SIL Open Font License,
   which permits self-hosting. Latin subset only (178KB total).
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plexmono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plexmono-500.woff2") format("woff2");
}

/* ============================================================
   HASH HUB — hash-hub.com
   Raw luxury / connoisseur contraband
   ============================================================ */

:root {
  --bg: #0d0b08;
  --bg-2: #14100b;
  --surface: #1a150f;
  --surface-2: #221b13;
  --line: rgba(201, 151, 75, 0.18);
  --line-strong: rgba(201, 151, 75, 0.45);
  --bone: #e9e0cf;
  --bone-dim: #a99e88;
  --bone-faint: #6f6654;
  --gold: #c9974b;
  --gold-bright: #e6bd7a;
  --amber: #8a5a24;
  --resin: #5c3a16;
  --green: #6d7d52;
  --stamp: #b04a2f;
  --font-display: "Fraunces", Georgia, serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-display);
  font-weight: 340;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.06'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

::selection { background: var(--gold); color: var(--bg); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- type utilities ---------- */
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.label--dim { color: var(--bone-faint); }

h1, h2, h3 { font-weight: 380; letter-spacing: -0.01em; }

.display-xl {
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.95;
  font-weight: 320;
}
.display-lg {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 340;
}
.italic-accent { font-style: italic; color: var(--gold-bright); }

/* ============================================================
   AGE GATE
   ============================================================ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.age-gate.hidden { opacity: 0; visibility: hidden; }
.age-gate__inner {
  max-width: 480px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--line-strong);
  outline: 1px solid var(--line);
  outline-offset: 6px;
  padding: 56px 40px 48px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 151, 75, 0.08), transparent 70%),
    var(--bg-2);
}
.age-gate__mark {
  font-size: 40px;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1;
}
.age-gate__inner h1 {
  font-size: 2rem;
  margin: 12px 0 8px;
}
.age-gate__inner p {
  color: var(--bone-dim);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.age-gate__buttons { display: flex; gap: 12px; justify-content: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleX(1); }
.btn--ghost { border-color: var(--line-strong); color: var(--bone-dim); }
.btn--ghost::before { background: var(--surface-2); }
.btn--ghost:hover { color: var(--bone); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 11, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo .hex { color: var(--gold); font-size: 1.1rem; }
.nav__links { display: flex; gap: clamp(16px, 3vw, 40px); align-items: center; }
.nav__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.25s;
  position: relative;
}
.nav__links a:hover, .nav__links a.active { color: var(--gold-bright); }
.nav__links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}
.nav__burger {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 22px;
  cursor: pointer;
}
@media (max-width: 760px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    gap: 20px;
  }
  .nav__links.open { display: flex; }
  .nav__burger { display: block; }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
section { position: relative; }
.section-pad { padding: clamp(72px, 10vw, 140px) 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.rule-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bone-faint);
  letter-spacing: 0.2em;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 72px;
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 75% 25%, rgba(138, 90, 36, 0.22), transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(92, 58, 22, 0.18), transparent 70%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
}
.hero__content { position: relative; z-index: 1; }
.hero .label { margin-bottom: 24px; display: inline-block; }
.hero h1 span { display: block; }
.hero__sub {
  max-width: 460px;
  color: var(--bone-dim);
  margin: 32px 0 40px;
  font-size: 1.05rem;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

/* staggered reveal */
.reveal { opacity: 0; transform: translateY(24px); animation: reveal 1s var(--ease) forwards; }
.reveal:nth-child(2) { animation-delay: 0.12s; }
.reveal:nth-child(3) { animation-delay: 0.24s; }
.reveal:nth-child(4) { animation-delay: 0.36s; }
.reveal:nth-child(5) { animation-delay: 0.48s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* scroll-triggered */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-2);
}
.marquee__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.marquee__track span .hex { color: var(--gold); margin-right: 64px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   PRODUCT GRID & CARDS
   ============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--bg-2);
  padding: 32px 28px 28px;
  position: relative;
  transition: background 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.card:hover { background: var(--surface); }
.card__cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-faint);
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}
.card__badge { color: var(--gold); }
.card__badge--thc { color: var(--stamp); }
.card__swatch {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 28px;
  position: relative;
  transition: transform 0.5s var(--ease);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7), inset 0 -8px 16px rgba(0, 0, 0, 0.45), inset 0 6px 12px rgba(255, 235, 200, 0.12);
}
.card:hover .card__swatch { transform: scale(1.08) rotate(6deg); }
.card__swatch::after {
  content: "";
  position: absolute;
  top: 14%;
  left: 18%;
  width: 30%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 240, 210, 0.35), transparent 70%);
}
.card h3 { font-size: 1.35rem; text-align: center; margin-bottom: 6px; }
.card__origin {
  text-align: center;
  font-style: italic;
  color: var(--bone-dim);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.card__specs {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--bone-dim);
}
.card__price { color: var(--gold-bright); font-size: 13px; }

/* ---------- shop filters ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--bone-dim);
  cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-bright); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--bg); }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-top: 140px;
}
@media (max-width: 860px) { .product-hero { grid-template-columns: 1fr; } }
.product-visual {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(138, 90, 36, 0.14), transparent 70%), var(--bg-2);
}
.product-visual .card__swatch { width: 55%; height: 55%; margin: 0; }
.product-visual__corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--bone-faint);
  text-transform: uppercase;
}
.product-visual__corner.tl { top: 16px; left: 16px; }
.product-visual__corner.br { bottom: 16px; right: 16px; }
.product-info h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 12px 0 8px; }
.product-info .card__origin { text-align: left; margin-bottom: 24px; font-size: 1.05rem; }
.product-desc { color: var(--bone-dim); margin-bottom: 32px; }

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.spec-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.spec-table td:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-faint);
  width: 40%;
}
.terp-bars { margin-bottom: 32px; }
.terp-bar { margin-bottom: 14px; }
.terp-bar__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 6px;
}
.terp-bar__track { height: 3px; background: var(--surface-2); }
.terp-bar__fill { height: 100%; background: linear-gradient(90deg, var(--amber), var(--gold-bright)); width: 0; transition: width 1.2s var(--ease) 0.3s; }

/* ============================================================
   EDITORIAL / LEARN
   ============================================================ */
.editorial {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 64px);
}
.editorial article { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.editorial .rule-num { display: block; margin-bottom: 16px; }
.editorial h3 { font-size: 1.5rem; margin-bottom: 12px; }
.editorial p { color: var(--bone-dim); font-size: 0.95rem; }

.pull-quote {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-style: italic;
  font-weight: 320;
  line-height: 1.3;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: var(--bone);
}
.pull-quote em { color: var(--gold-bright); }

/* stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat { background: var(--bg-2); padding: 36px 28px; text-align: center; }
.stat__num { font-size: clamp(2rem, 4vw, 3rem); color: var(--gold-bright); font-weight: 320; }
.stat .label--dim { display: block; margin-top: 8px; }

/* ============================================================
   FORMS (contact / inquiry)
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 14px 16px;
  transition: border-color 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 140px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(48px, 7vw, 80px) 0 32px;
  margin-top: clamp(72px, 10vw, 140px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand p { color: var(--bone-faint); font-size: 0.9rem; max-width: 300px; margin-top: 12px; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--bone-dim); font-size: 0.92rem; transition: color 0.25s; }
.footer li a:hover { color: var(--gold-bright); }
.footer__legal {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--bone-faint);
  line-height: 1.8;
  text-transform: uppercase;
}

/* compliance ribbon */
.compliance {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--bone-dim);
  line-height: 1.8;
  text-transform: uppercase;
}
.compliance strong { color: var(--stamp); }

/* page hero (interior pages) */
.page-hero {
  padding: 160px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(138, 90, 36, 0.16), transparent 60%),
    var(--bg);
}
.page-hero .label { display: inline-block; margin-bottom: 16px; }

/* ============================================================
   ATMOSPHERIC BACKGROUNDS
   Activate automatically when the matching img/bg-*.webp exists;
   fall back to the flat gradients if the file is missing.
   ============================================================ */
/* Swap any url() below for img/bg-*.webp scenics when generated —
   see background-prompts.txt. Current files are the in-house macro shots. */
.hero {
  background:
    linear-gradient(100deg, rgba(13, 11, 8, 0.95) 25%, rgba(13, 11, 8, 0.55) 60%, rgba(13, 11, 8, 0.35) 100%),
    linear-gradient(to bottom, rgba(13, 11, 8, 0) 70%, rgba(13, 11, 8, 0.97) 100%),
    url("../img/double-filtered-thc.webp") 75% 40% / cover no-repeat,
    var(--bg);
}
.page-hero--resin {
  background:
    linear-gradient(to right, rgba(13, 11, 8, 0.94) 30%, rgba(13, 11, 8, 0.45) 100%),
    linear-gradient(to bottom, rgba(13, 11, 8, 0.1), rgba(13, 11, 8, 0.75)),
    url("../img/full-melt-six-star.webp") 80% 45% / cover no-repeat,
    var(--bg);
}
.page-hero--rif {
  background:
    linear-gradient(to right, rgba(13, 11, 8, 0.94) 30%, rgba(13, 11, 8, 0.45) 100%),
    linear-gradient(to bottom, rgba(13, 11, 8, 0.1), rgba(13, 11, 8, 0.75)),
    url("../img/moroccan-blonde-cbd.webp") 80% 40% / cover no-repeat,
    var(--bg);
}
.page-hero--himalaya {
  background:
    linear-gradient(to right, rgba(13, 11, 8, 0.94) 30%, rgba(13, 11, 8, 0.45) 100%),
    linear-gradient(to bottom, rgba(13, 11, 8, 0.1), rgba(13, 11, 8, 0.75)),
    url("../img/nepal-cream-cbd.webp") 80% 35% / cover no-repeat,
    var(--bg);
}
.page-hero--smoke {
  background:
    linear-gradient(to right, rgba(13, 11, 8, 0.94) 30%, rgba(13, 11, 8, 0.45) 100%),
    linear-gradient(to bottom, rgba(13, 11, 8, 0.1), rgba(13, 11, 8, 0.75)),
    url("../img/charas-gold-cbd.webp") 80% 45% / cover no-repeat,
    var(--bg);
}
.img-breaker--hands {
  background:
    linear-gradient(rgba(13, 11, 8, 0.66), rgba(13, 11, 8, 0.82)),
    url("../img/temple-ball-thc.webp") center 42% / cover no-repeat,
    var(--bg-2);
}
.img-breaker--smoke {
  background:
    linear-gradient(rgba(13, 11, 8, 0.66), rgba(13, 11, 8, 0.82)),
    url("../img/nepal-cream-cbd.webp") center 45% / cover no-repeat,
    var(--bg-2);
}
.page-hero p { max-width: 560px; color: var(--bone-dim); margin-top: 20px; }

/* ============================================================
   ============================================================
   STORE — cart, checkout, crypto payment, receipt
   ============================================================
   ============================================================ */

.section-pad--top-0 { padding-top: 0; }
.page-hero--tight { padding-bottom: 40px; }
.btn--block { display: block; width: 100%; text-align: center; }
.btn.is-disabled { pointer-events: none; opacity: 0.4; }
.btn-text {
  display: inline-block;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-faint);
  padding: 14px 0 0;
  transition: color 0.2s;
}
.btn-text:hover { color: var(--gold-bright); }

/* ---------- product photos in the resin frame ---------- */
.card__swatch--photo,
.summary__thumb--photo,
.bag-line__thumb--photo {
  border-radius: 0;
  box-shadow: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__swatch--photo::after { display: none; }
.card__swatch--photo {
  width: 148px;
  height: 148px;
  margin: -14px auto 20px;
}
.card__swatch--photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.75));
}
.product-visual .card__swatch--photo { width: 78%; height: 78%; }

/* ---------- cards get a footer action ---------- */
.card__link { display: flex; flex-direction: column; flex: 1; }
.card__foot { margin-top: 16px; }
.card__action {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--bone-dim);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.card__action--add:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
}
.card__action--inquire { border-style: dashed; border-color: rgba(176, 74, 47, 0.4); color: var(--stamp); }
.card__action--out { opacity: 0.4; }
.shop-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-left: auto;
  align-self: center;
}

/* ---------- nav bag button ---------- */
.nav__bag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
  padding: 8px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}
.nav__bag:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.nav__bag-count {
  background: var(--gold);
  color: var(--bg);
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0;
  padding: 0 5px;
}
.nav__bag:hover .nav__bag-count { background: var(--bg); color: var(--gold-bright); }
.nav__bag-count.is-empty { background: var(--surface-2); color: var(--bone-faint); }

/* ============================================================
   CART DRAWER
   ============================================================ */
.drawer { position: fixed; inset: 0; z-index: 2500; pointer-events: none; }
.drawer.open { pointer-events: auto; }
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 2, 0.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.drawer.open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: var(--bg-2);
  border-left: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.drawer.open .drawer__panel { transform: none; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer__close {
  background: none;
  border: none;
  color: var(--bone-dim);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
}
.drawer__close:hover { color: var(--gold-bright); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; }

.drawer__empty { text-align: center; padding: 72px 0; }
.drawer__empty-mark { font-size: 34px; color: var(--gold); opacity: 0.5; margin-bottom: 16px; }
.drawer__empty p { color: var(--bone-dim); margin-bottom: 24px; }

.bag-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.bag-line__thumb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.7), inset 0 -5px 10px rgba(0, 0, 0, 0.4);
}
.bag-line__thumb--photo { width: 64px; height: 64px; }
.bag-line__thumb--photo img { width: 100%; height: 100%; object-fit: contain; }
.bag-line__info h4 { font-size: 1.05rem; margin-bottom: 2px; }
.bag-line__tier {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--bone-faint);
  margin-bottom: 10px;
}
.bag-line__end { text-align: right; }
.bag-line__total {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-bright);
  margin-bottom: 8px;
}
.bag-line__remove {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-faint);
  cursor: pointer;
  padding: 0;
}
.bag-line__remove:hover { color: var(--stamp); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty__btn {
  background: none;
  border: none;
  color: var(--bone-dim);
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.qty__btn:hover { color: var(--gold-bright); background: var(--surface); }
.qty__val {
  width: 34px;
  height: 28px;
  background: none;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--bone);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
}
.qty__val:focus { outline: none; background: var(--surface); }
.qty--lg .qty__btn { width: 44px; height: 52px; font-size: 18px; }
.qty--lg .qty__val { width: 48px; height: 52px; font-size: 14px; }

.drawer__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 6px;
}
.drawer__row strong { font-size: 17px; color: var(--gold-bright); letter-spacing: 0; }
.drawer__fine { font-size: 0.8rem; color: var(--bone-faint); margin-bottom: 16px; }
.drawer__nudge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-bottom: 12px;
}
.drawer__nudge--win { color: var(--green); }
.drawer__warn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stamp);
  margin-bottom: 12px;
}
.drawer__clear {
  display: block;
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-faint);
  cursor: pointer;
  padding: 14px 0 0;
}
.drawer__clear:hover { color: var(--stamp); }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 140%);
  z-index: 2600;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  transition: transform 0.45s var(--ease);
  max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.toast button {
  background: none;
  border: none;
  border-left: 1px solid var(--line);
  padding-left: 18px;
  color: var(--gold-bright);
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}

/* ============================================================
   BUY BLOCK (product detail)
   ============================================================ */
.buy-block {
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  padding: 26px;
  margin-bottom: 32px;
}
.buy-block__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.stock-flag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stamp);
}
.buy-block--inquire { border-style: dashed; border-color: rgba(176, 74, 47, 0.4); }
.buy-block--inquire p { color: var(--bone-dim); font-size: 0.92rem; margin: 12px 0 22px; }
.buy-block p { color: var(--bone-dim); font-size: 0.92rem; }

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}
.tier {
  background: transparent;
  border: 1px solid var(--line);
  padding: 14px 8px 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s var(--ease);
  position: relative;
}
.tier:hover { border-color: var(--line-strong); background: var(--surface); }
.tier.active { border-color: var(--gold); background: var(--surface-2); }
.tier__amt {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 6px;
}
.tier.active .tier__amt { color: var(--gold-bright); }
.tier__price { display: block; font-size: 1.05rem; color: var(--bone); }
.tier__per {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--bone-faint);
  margin-top: 2px;
}
.tier__save {
  position: absolute;
  top: -8px;
  right: -1px;
  background: var(--green);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
}
.buy-row { display: flex; gap: 10px; align-items: stretch; margin-bottom: 18px; }
.buy-row .btn { padding: 16px 20px; }
.buy-perks {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-faint);
  line-height: 2.1;
}
.buy-perks li::before { content: "⬡ "; color: var(--gold); }

/* ============================================================
   CHECKOUT
   ============================================================ */
.steps {
  display: flex;
  gap: 0;
  list-style: none;
  border: 1px solid var(--line);
  margin-bottom: 40px;
}
.step {
  flex: 1;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-faint);
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.step:last-child { border-right: none; }
.step span { color: var(--bone-faint); opacity: 0.6; }
.step.active { color: var(--gold-bright); background: var(--bg-2); }
.step.active span { color: var(--gold); opacity: 1; }
.step.done { color: var(--bone-dim); }
.step.done span::before { content: "✓ "; color: var(--green); }

.checkout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 940px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout__side { order: -1; }
}

.panel {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(24px, 4vw, 40px);
}
.panel--empty { text-align: center; padding: 80px 24px; }
.panel__title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.panel__lede { color: var(--bone-dim); font-size: 0.94rem; margin-bottom: 28px; max-width: 60ch; }
.panel__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 34px 0 14px;
}

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-bottom: 8px;
}
.field > span em { color: var(--gold); font-style: normal; }
.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 13px 14px;
  transition: border-color 0.25s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--bone-faint); opacity: 0.55; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--bone-faint);
  margin: -8px 0 20px;
  line-height: 1.7;
}
.check { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.check span { font-size: 0.86rem; color: var(--bone-dim); line-height: 1.6; }
.form-error {
  border: 1px solid var(--stamp);
  background: rgba(176, 74, 47, 0.09);
  color: #e28b72;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 12px 14px;
  margin-bottom: 18px;
  line-height: 1.7;
}

/* ---------- shipping options ---------- */
.ship-opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.ship-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  padding: 15px 16px;
  cursor: pointer;
  transition: all 0.25s;
}
.ship-opt:hover { border-color: var(--line-strong); }
.ship-opt.active { border-color: var(--gold); background: var(--surface-2); }
.ship-opt input { accent-color: var(--gold); flex-shrink: 0; }
.ship-opt__body { flex: 1; }
.ship-opt__body strong { display: block; font-size: 1rem; font-weight: 400; }
.ship-opt__body em {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-style: normal;
  color: var(--bone-faint);
  margin-top: 3px;
}
.ship-opt__price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-bright);
}

/* ---------- coin picker ---------- */
.coins { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.coin {
  display: flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s var(--ease);
}
.coin:hover { border-color: var(--line-strong); background: var(--surface); }
.coin.active { border-color: var(--gold); background: var(--surface-2); }
.coin__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coin, var(--gold));
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  flex-shrink: 0;
}
.coin__body { flex: 1; }
.coin__body strong { display: block; font-weight: 400; font-size: 1.05rem; }
.coin__body strong em {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-style: normal;
  color: var(--gold);
  margin-left: 6px;
}
.coin__body span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--bone-faint);
  margin-top: 3px;
}
.coin__note { color: var(--green) !important; }
.coin__go { color: var(--bone-faint); font-size: 16px; }
.coin.active .coin__go { color: var(--gold); }

.setup-warn {
  border: 1px solid var(--stamp);
  background: rgba(176, 74, 47, 0.09);
  padding: 20px;
}
.setup-warn strong {
  display: block;
  color: #e28b72;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.setup-warn p { color: var(--bone-dim); font-size: 0.9rem; line-height: 1.7; }
.setup-warn code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--gold-bright);
  background: var(--bg);
  padding: 1px 5px;
}

/* ---------- pay card ---------- */
.pay-card {
  border: 1px solid var(--line-strong);
  background: var(--bg);
  padding: 26px;
  margin-bottom: 18px;
}
.pay-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.pay-amt {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3.4vw, 1.7rem);
  color: var(--gold-bright);
  margin: 8px 0 4px;
  word-break: break-all;
}
.pay-fiat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--bone-faint); }
.pay-timer { text-align: right; flex-shrink: 0; }
.pay-timer__val {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--bone);
}
.pay-timer.low .pay-timer__val { color: var(--stamp); }
.pay-timer.expired .pay-timer__val { color: var(--stamp); font-size: 1rem; }
.pay-net {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border: 1px solid var(--line);
  padding: 12px 14px;
  margin-bottom: 20px;
}
.pay-net strong { font-family: var(--font-mono); font-size: 12px; color: var(--gold-bright); letter-spacing: 0.08em; }
.pay-qr { text-align: center; margin-bottom: 22px; }
.pay-qr svg {
  width: min(220px, 60vw);
  height: auto;
  background: #e9e0cf;
  padding: 10px;
  display: inline-block;
}
.pay-qr__cap {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-top: 10px;
}
.pay-qr__fallback { font-size: 0.85rem; color: var(--bone-faint); }

.copyfield {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 12px 14px;
  margin-bottom: 8px;
}
.copyfield code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--bone);
  word-break: break-all;
  line-height: 1.6;
}
.copy-btn {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.copy-btn:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.copy-btn.done { background: var(--green); border-color: var(--green); color: var(--bg); }
.pay-warn {
  border-left: 2px solid var(--stamp);
  padding: 10px 0 10px 14px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: #e28b72;
}

/* ---------- summary rail ---------- */
.checkout__side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 940px) { .checkout__side { position: static; } }
.summary { border: 1px solid var(--line); background: var(--bg-2); padding: 24px; }
.summary > .label { display: block; margin-bottom: 18px; }
.summary__lines { margin-bottom: 18px; }
.summary__line {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.summary__thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.7), inset 0 -4px 8px rgba(0, 0, 0, 0.4);
}
.summary__thumb--photo { width: 44px; height: 44px; }
.summary__thumb--photo img { width: 100%; height: 100%; object-fit: contain; }
.summary__line strong { display: block; font-weight: 400; font-size: 0.95rem; }
.summary__line span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--bone-faint);
}
.summary__amt { font-family: var(--font-mono); font-size: 12px; color: var(--bone-dim); }
.summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding: 7px 0;
}
.summary__row em { color: var(--green); font-style: normal; }
.summary__row--total {
  border-top: 1px solid var(--line-strong);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 12px;
  color: var(--bone);
}
.summary__row--total span:last-child { font-size: 18px; color: var(--gold-bright); letter-spacing: 0; }
.summary__crypto {
  border: 1px solid var(--line);
  padding: 12px 14px;
  margin-top: 14px;
  text-align: center;
}
.summary__crypto strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold-bright);
  margin-top: 6px;
  word-break: break-all;
}
.summary__edit {
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-top: 18px;
}
.summary__edit:hover { color: var(--gold-bright); }

.summary-note {
  border: 1px solid var(--line);
  padding: 20px 22px;
  font-size: 0.85rem;
  color: var(--bone-dim);
  line-height: 1.75;
}
.summary-note ol { margin: 12px 0 14px 16px; }
.summary-note li { margin-bottom: 6px; }
.summary-note p { font-size: 0.82rem; color: var(--bone-faint); margin-bottom: 12px; }
.summary-note a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   RECEIPT
   ============================================================ */
.receipt { max-width: 860px; margin: 0 auto; padding-top: 120px; }
.receipt__head { text-align: center; margin-bottom: 44px; }
.receipt__stamp {
  font-size: 44px;
  color: var(--gold);
  margin-bottom: 14px;
}
.receipt__head .label { display: block; margin-bottom: 14px; }
.receipt__head h1 { margin-bottom: 20px; }
.receipt__lede { color: var(--bone-dim); max-width: 56ch; margin: 0 auto; }
.receipt__lede strong { color: var(--bone); }
.receipt__ids {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 32px;
}
.receipt__ids > div { background: var(--bg-2); padding: 18px 20px; }
.receipt__ids .label { display: block; margin-bottom: 8px; }
.receipt__ids span { font-size: 0.9rem; color: var(--bone-dim); }
.receipt__id {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
}
.pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid currentColor;
}
.pill--pending { color: var(--gold); }
.receipt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 1px;
}
@media (max-width: 720px) { .receipt__grid { grid-template-columns: 1fr; } }
.receipt__block { background: var(--bg-2); padding: 26px; }
.receipt__block--wide { border: 1px solid var(--line); margin-bottom: 32px; }
.receipt__block h3 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.receipt__block .spec-table { margin-bottom: 0; }
.mono-break { font-family: var(--font-mono); font-size: 10.5px; word-break: break-all; line-height: 1.7; }
.mono-break a { color: var(--gold-bright); }
.receipt__addr { font-style: normal; line-height: 1.9; color: var(--bone-dim); }
.receipt__ship { margin-top: 18px; font-size: 0.9rem; }
.receipt__ship em { font-family: var(--font-mono); font-size: 10px; font-style: normal; color: var(--bone-faint); }
.receipt__notes { margin-top: 16px; font-size: 0.86rem; color: var(--bone-dim); }
.receipt__notes .label { display: block; margin-bottom: 6px; }
.receipt__cta {
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  padding: 26px;
  text-align: center;
  margin-bottom: 24px;
}
.receipt__cta p { color: var(--bone-dim); font-size: 0.92rem; margin-bottom: 22px; max-width: 56ch; margin-inline: auto; }
.receipt__cta .btn { margin: 0 6px 10px; }
.receipt__fine {
  text-align: center;
  font-size: 0.82rem;
  color: var(--bone-faint);
  line-height: 1.9;
  margin-bottom: 32px;
}
.receipt__fine code { font-family: var(--font-mono); color: var(--gold-bright); }
.receipt__fine a { color: var(--gold); }
.receipt__foot { text-align: center; }

@media print {
  .nav, .footer, .receipt__cta, .receipt__foot, .drawer, body::after { display: none !important; }
  body { background: #fff; color: #111; }
  .receipt { padding-top: 0; }
  .receipt__block, .receipt__ids > div { background: #fff; }
}

/* ============================================================
   LEGAL / POLICY PAGE
   ============================================================ */
.legal-body { max-width: 760px; }
.legal-body h2 {
  font-size: 1.6rem;
  margin: 52px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-body h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 28px 0 10px;
}
.legal-body p, .legal-body li { color: var(--bone-dim); margin-bottom: 14px; line-height: 1.8; }
.legal-body ul, .legal-body ol { margin-left: 20px; }
.legal-body strong { color: var(--bone); }
.legal-toc {
  border: 1px solid var(--line);
  padding: 22px 26px;
  margin-bottom: 48px;
}
.legal-toc ol { list-style: none; margin: 0; columns: 2; column-gap: 32px; }
@media (max-width: 620px) { .legal-toc ol { columns: 1; } }
.legal-toc a {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  line-height: 2.4;
}
.legal-toc a:hover { color: var(--gold-bright); }

/* ============================================================
   WATCHING THE CHAIN (server-mode checkout, step 3)
   ============================================================ */
.watch { text-align: center; padding: 20px 0 8px; }
.watch .label { display: block; margin-bottom: 14px; }
.watch .panel__lede { margin-left: auto; margin-right: auto; }
.watch__id { margin-top: 22px; font-size: 0.85rem; color: var(--bone-faint); }
.watch__pulse {
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  position: relative;
}
.watch__pulse::before,
.watch__pulse::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: watchpulse 2.4s var(--ease) infinite;
}
.watch__pulse::after { animation-delay: 1.2s; }
@keyframes watchpulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.1); opacity: 0; }
}
.watch--warn .panel__title { color: var(--gold-bright); }
.watch__bar {
  height: 2px;
  background: var(--line);
  margin: 26px auto 0;
  max-width: 320px;
  overflow: hidden;
}
.watch__bar-fill {
  height: 100%;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .watch__pulse::before, .watch__pulse::after { animation: none; opacity: 0.4; }
}
