/* ============================================================
   Parallel 53 — dark, blended "beadwork" design system
   Mostly dark, with warm cream light + soft colour glows blended
   in. Maroon primary, bead-stripe motif, turquoise accent.
   ============================================================ */

:root {
  /* Dark warm base */
  --bg: #0e0a08;
  --bg-2: #140e0a;
  --surface: #18110c;
  --surface-2: #201610;
  --surface-3: #291c13;
  --black: #0a0604;

  /* Light (ink) */
  --ink: #f5eee1;
  --ink-2: #d5c7b0;
  --muted: #9b8a73;

  /* Lines */
  --line: #2b2116;
  --line-strong: #3c2e1f;

  /* Beadwork palette */
  --maroon: #94203f;        /* primary accent */
  --maroon-deep: #6d1330;
  --maroon-soft: rgba(148,32,63,.20);
  --turquoise: #2db9c7;     /* small accent */
  --turquoise-deep: #22a0ae;
  --gold: #e7b143;
  --fire: #e03a3a;
  --orange: #f57c00;
  --navy: #27318f;
  --sky: #73b7d8;
  --sky-soft: #dff1f6;

  --accent: var(--maroon);

  --radius: 14px;
  --radius-sm: 9px;

  --shadow: 0 16px 50px rgba(0,0,0,.55);
  --shadow-soft: 0 8px 26px rgba(0,0,0,.38);

  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Signature beadwork colour band */
  --bead-stripe: linear-gradient(90deg,
    var(--turquoise) 0 16.66%,
    var(--navy) 16.66% 33.33%,
    var(--maroon) 33.33% 50%,
    var(--fire) 50% 66.66%,
    var(--orange) 66.66% 83.33%,
    var(--gold) 83.33% 100%);

  /* Subtle bead diamond motif */
  --motif-diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 52 52'%3E%3Cpath d='M26 6 L46 26 L26 46 L6 26 Z' fill='none' stroke='%23e7b143' stroke-opacity='.07' stroke-width='1.3'/%3E%3Cpath d='M26 14 L38 26 L26 38 L14 26 Z' fill='none' stroke='%232db9c7' stroke-opacity='.06' stroke-width='1.3'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Fixed, blended ambience: bead motif + soft colour glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 540px at 84% -8%, rgba(148,32,63,.30), transparent 62%),
    radial-gradient(900px 480px at 4% 108%, rgba(45,185,199,.10), transparent 56%),
    radial-gradient(700px 380px at 50% 50%, rgba(231,177,67,.05), transparent 60%),
    var(--motif-diamond);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: #f3cf85; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

.section { padding: 44px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .7rem;
  font-weight: 800;
  color: var(--turquoise);
}

/* ---------- Bead stripe band (thin, glowing) ---------- */
.bead-band, .motif-band {
  height: 4px;
  background-image: var(--bead-stripe);
  box-shadow: 0 0 18px rgba(231,177,67,.35), 0 0 6px rgba(45,185,199,.25);
}

/* ---------- Top nav ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,6,4,.82);
  backdrop-filter: blur(12px);
  color: #f5eee1;
  border-bottom: 1px solid var(--line);
}
.topnav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--maroon), var(--maroon-deep));
  color: #fff;
  border-radius: 9px;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: .88rem;
  position: relative;
  box-shadow: 0 0 14px rgba(148,32,63,.5);
}
.brand-mark::after {
  content: "";
  position: absolute; inset: -4px;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  opacity: .75;
}
.brand small {
  display: block; font-family: var(--font-body);
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}

.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  color: var(--ink-2);
  padding: 8px 13px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 600;
}
.nav-links a:hover { color: #fff; background: var(--surface-2); }
.nav-links a.active { color: var(--turquoise); }

.cart-count {
  display: inline-grid; place-items: center;
  background: var(--fire);
  color: #fff;
  font-size: .68rem; font-weight: 700;
  min-width: 19px; height: 19px;
  border-radius: 10px;
  padding: 0 5px;
  margin-left: 7px;
  vertical-align: middle;
}
.cart-count.pop { animation: badge-pop .4s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes badge-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.55); }
  100% { transform: scale(1); }
}


/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(820px 420px at 82% -6%, rgba(148,32,63,.5), transparent 60%),
    radial-gradient(680px 360px at 6% 118%, rgba(39,49,143,.5), transparent 60%),
    var(--black);
  color: var(--ink);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--motif-diamond);
  opacity: .5;
}
/* Blend the hero down into the page background */
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 40px; align-items: center;
  padding: 52px 0 56px;
}
.hero .kicker {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-strong);
  background: rgba(10,6,4,.5);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero .kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--turquoise); box-shadow: 0 0 8px var(--turquoise); }
.hero h1 { color: #fdf8ee; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 1.06rem; color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }

.hero-art { position: relative; }
.hero-art .frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 70px rgba(0,0,0,.6), 0 0 40px rgba(148,32,63,.18);
}
.hero-art .frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .94rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s, background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(150deg, var(--maroon), var(--maroon-deep)); color: #fff; box-shadow: 0 6px 20px rgba(148,32,63,.35); }
.btn-primary:hover { background: linear-gradient(150deg, #a82649, var(--maroon-deep)); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--ink); }
.btn-coral { background: var(--fire); color: #fff; }
.btn-coral:hover { background: #c22c2c; color: #fff; }
.btn-accent { background: var(--turquoise); color: #08272a; }
.btn-accent:hover { background: var(--turquoise-deep); color: #08272a; }

/* ---------- Banner (15% direct) ---------- */
.banner {
  position: relative;
  border: 1px solid var(--line-strong);
  background: linear-gradient(120deg, rgba(231,177,67,.10), rgba(45,185,199,.08)), var(--surface);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.banner::after { content:""; position:absolute; right:-20px; top:-20px; width:140px; height:140px; background-image:var(--motif-diamond); opacity:.6; }
.banner .badge {
  background: var(--maroon); color: #fff;
  font-weight: 800; font-size: .78rem; letter-spacing:.04em;
  border-radius: 8px; padding: 6px 12px; white-space: nowrap;
}
.banner h3 { margin: 0 0 3px; }
.banner p { margin: 0; color: var(--ink-2); font-size: .92rem; }

/* ---------- Trust seals (circular badges) ---------- */
.trust-seals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px 44px;
}
.seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  max-width: 150px;
}
.seal:nth-child(even) { margin-top: 24px; }
.seal-ring {
  width: 108px; height: 108px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2.3rem;
  border: 2px solid var(--gold);
  background: radial-gradient(circle at 50% 32%, var(--surface-2), var(--surface));
  box-shadow: 0 0 0 6px rgba(10,6,4,.55), 0 0 26px rgba(231,177,67,.22), inset 0 0 20px rgba(148,32,63,.3);
}
.seal-primary .seal-ring { width: 124px; height: 124px; font-size: 2.7rem; }
.seal-ring.maroon { border-color: var(--maroon); box-shadow: 0 0 0 6px rgba(10,6,4,.55), 0 0 26px rgba(148,32,63,.4), inset 0 0 20px rgba(148,32,63,.3); }
.seal-ring.turq { border-color: var(--turquoise); box-shadow: 0 0 0 6px rgba(10,6,4,.55), 0 0 26px rgba(45,185,199,.3), inset 0 0 20px rgba(148,32,63,.3); }
.seal-label {
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-2);
  line-height: 1.4;
}

/* ---------- Further reading (cert details) ---------- */
.further-reading { max-width: 760px; color: var(--ink-2); }
.further-reading p { margin-bottom: 1.1em; }
.further-reading h3 { margin: 1.4em 0 .4em; font-size: 1.05rem; color: var(--ink); }
.further-reading em { color: var(--muted); font-size: .92em; }
.further-reading strong { color: var(--ink); }

/* ---------- Hero trust seals ---------- */
.hero-seals {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px 36px;
  padding: 4px 0 34px;
}
.hero-seals .seal { max-width: 118px; gap: 8px; }
.hero-seals .seal-ring { width: 76px; height: 76px; font-size: 1.6rem; }
.hero-seals .seal:nth-child(even) { margin-top: 16px; }
.hero-seals .seal-label { font-size: .66rem; }
.hero-seals .seal-primary .seal-ring { width: 90px; height: 90px; font-size: 1.95rem; }

/* ---------- Rotating globe ---------- */
.globe-stage {
  display: grid;
  place-items: center;
  padding: 28px 16px;
  background: radial-gradient(circle at 50% 38%, #14303c, #07141c 72%);
}
.globe {
  position: relative;
  width: 190px; height: 190px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 36% 28%, #2f6b7e, #16303c 58%, #081822);
  box-shadow: inset 0 0 42px rgba(0,0,0,.6), 0 0 30px rgba(45,185,199,.22), 0 0 0 2px rgba(231,177,67,.4);
}
.globe-grid {
  position: absolute;
  inset: -44px;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.11) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.11) 0 1px, transparent 1px 30px);
  animation: globe-spin 16s linear infinite;
}
.globe-land {
  position: absolute; inset: 0;
  background:
    radial-gradient(64px 44px at 32% 24%, rgba(138,160,106,.5), transparent 70%),
    radial-gradient(52px 46px at 36% 30%, rgba(138,160,106,.4), transparent 70%),
    radial-gradient(40px 56px at 42% 64%, rgba(138,160,106,.32), transparent 70%),
    radial-gradient(46px 30px at 66% 34%, rgba(138,160,106,.28), transparent 70%);
  opacity: .85;
}
.globe-shade {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 46%, rgba(0,0,0,.62) 100%);
}
.globe-pin {
  position: absolute;
  left: 34%; top: 26%;
  transform: translate(-50%, -50%);
}
.pin-dot {
  display: block;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--fire);
  box-shadow: 0 0 14px rgba(224,58,58,.95), 0 0 0 3px rgba(224,58,58,.35);
}
.pin-ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 13px; height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  border: 2px solid var(--fire);
  animation: pin-pulse 2.2s ease-out infinite;
}
@keyframes globe-spin {
  from { transform: translateX(0); }
  to { transform: translateX(-30px); }
}
@keyframes pin-pulse {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(3.4); opacity: 0; }
}

/* ---------- Product grid ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.tag-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-2);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .82rem; font-weight: 700;
  cursor: pointer;
  transition: .15s;
}
.chip:hover { border-color: var(--maroon); color: var(--ink); }
.chip.active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.sort-select {
  margin-left: auto;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 9px; padding: 9px 12px;
  font-size: .88rem;
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .16s, border-color .16s, box-shadow .16s;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.card:hover { transform: translateY(-4px); border-color: var(--maroon); box-shadow: var(--shadow), 0 0 30px rgba(148,32,63,.15); }
.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  overflow: hidden;
}
.card-media .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--maroon); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 7px;
}
.card-save {
  position: absolute; top: 12px; right: 12px;
  background: rgba(10,6,4,.75); color: var(--gold);
  font-size: .72rem; font-weight: 800;
  padding: 4px 9px; border-radius: 7px;
  backdrop-filter: blur(4px);
}
.card-body { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-body .cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--turquoise); font-weight: 700; }
.card-body h3 { margin: 0; font-size: 1.04rem; }
.card-body .price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 2px; }
.price { color: var(--gold); font-weight: 800; font-size: 1.1rem; }
.price-strike { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.card-body .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.tag { font-size: .7rem; color: var(--ink-2); background: var(--surface-3); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
.card .add-btn { width: 100%; margin-top: 12px; }
.card .card-qty { margin-top: 12px; }

/* ---------- Product detail ---------- */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.p-media { position: relative; aspect-ratio: 4 / 5; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.p-media .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.p-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.p-info h1 { margin-bottom: 6px; }
.p-info .cat { color: var(--turquoise); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; margin-bottom: 10px; }
.p-price-row { display: flex; align-items: baseline; gap: 14px; margin: 12px 0 18px; }
.p-price-row .price { font-size: 1.8rem; }
.p-save { color: var(--fire); font-weight: 700; font-size: .9rem; }

.qty-row { margin: 20px 0; }
.qty-bag {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid var(--maroon);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.qty-side {
  flex: 0 0 58px;
  border: 0;
  background: var(--maroon);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.qty-side:hover { background: var(--maroon-deep); }
.qty-num {
  flex: 1;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  min-width: 64px;
}
.btn-add { width: 100%; min-height: 58px; }
.qty-bag-sm .qty-side { flex: 0 0 40px; font-size: 1.2rem; }
.qty-bag-sm .qty-num { min-width: 40px; font-size: 1rem; }

.md-body { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; color: var(--ink-2); }
.md-body h1, .md-body h2, .md-body h3 { color: var(--ink); }
.md-body h1:first-child { display: none; }
.md-body h2 { font-size: 1.2rem; margin-top: 1.1em; }
.md-body h3 { font-size: 1.02rem; margin-top: .9em; }
.md-body ul { padding-left: 1.3em; }
.md-body li { margin-bottom: .35em; }
.md-body strong { color: var(--ink); }
.md-body hr { border: 0; border-top: 1px solid var(--line); margin: 1.4em 0; }
.md-body blockquote { border-left: 3px solid var(--maroon); margin: 1em 0; padding: .4em 1em; color: var(--ink-2); background: var(--surface); border-radius: 0 8px 8px 0; }
.md-body code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: .86em; }

/* ---------- Checkout ---------- */
.stepper { display: flex; gap: 0; margin: 22px 0 28px; }
.step {
  flex: 1; text-align: center; position: relative;
  font-size: .82rem; color: var(--muted); font-weight: 600;
}
.step::before {
  content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px;
  background: var(--line-strong); z-index: 0;
}
.step:first-child::before { display: none; }
.step .n {
  width: 32px; height: 32px; margin: 0 auto 8px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-2);
  border: 2px solid var(--line-strong); position: relative; z-index: 1; font-weight: 800;
}
.step.done .n { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.step.active .n { border-color: var(--maroon); color: var(--ink); box-shadow: 0 0 12px rgba(148,32,63,.5); }
.step.active { color: var(--ink); }
.step.done { color: var(--ink-2); }

.co-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.panel { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); }
.panel h3 { margin-bottom: 14px; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select {
  width: 100%; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 9px; padding: 11px 13px; font-size: .95rem; outline: none;
}
.field input:focus, .field select:focus { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(148,32,63,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }

.option {
  display: flex; align-items: flex-start; gap: 13px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 15px 16px; margin-bottom: 12px; cursor: pointer;
  background: var(--surface);
}
.option:hover { border-color: var(--maroon); }
.option.selected { border-color: var(--maroon); background: linear-gradient(120deg, rgba(148,32,63,.16), var(--surface)); }
.option input { margin-top: 3px; }
.option .o-body { flex: 1; }
.option .o-title { font-weight: 700; }
.option .o-sub { font-size: .84rem; color: var(--muted); }
.option .o-price { font-weight: 800; color: var(--gold); white-space: nowrap; }

/* Stripe mock */
.stripe-frame {
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  padding: 18px; position: relative;
}
.stripe-frame .stripe-logo { position: absolute; top: 14px; right: 16px; font-weight: 800; color: #7c7dff; letter-spacing: -.02em; }
.test-mode {
  background: #fff3c4; color: #6b4e00;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  border-radius: 6px; padding: 3px 9px; display: inline-block; margin-bottom: 14px;
}
.card-element { display: grid; gap: 14px; }
.card-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.card-hint { font-size: .78rem; color: var(--muted); margin-top: 10px; }
.card-hint code { color: var(--gold); }

.summary-line { display: flex; justify-content: space-between; padding: 9px 0; font-size: .94rem; border-bottom: 1px dashed var(--line); }
.summary-line.total { border-bottom: 0; border-top: 1px solid var(--line-strong); font-weight: 800; font-size: 1.15rem; margin-top: 6px; padding-top: 14px; }
.summary-line .amt { font-variant-numeric: tabular-nums; }
.summary-line .disc { color: var(--fire); }

.ci-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.ci-thumb {
  position: relative; width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 9px; overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
}
.ci-thumb-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 1.25rem; color: var(--gold);
  background: radial-gradient(60px 40px at 30% 20%, rgba(148,32,63,.25), transparent 70%), var(--surface);
}
.ci-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ci-meta { flex: 1; min-width: 0; }
.ci-name { display: block; font-weight: 600; font-size: .9rem; line-height: 1.25; }
.ci-qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; }
.qty-btn {
  width: 24px; height: 24px; border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--ink);
  cursor: pointer; font-size: .95rem; line-height: 1;
  display: grid; place-items: center;
  transition: .12s;
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.ci-qty-n { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 18px; text-align: center; }
.ci-item.removing { animation: ci-flash .3s ease forwards; }
@keyframes ci-flash {
  0% { opacity: 1; }
  40% { opacity: .2; background: rgba(224,58,58,.25); }
  100% { opacity: 0; transform: translateX(12px); }
}

.promo { display: flex; gap: 10px; margin: 14px 0; }
.promo input { flex: 1; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); border-radius: 9px; padding: 10px 13px; }
.promo-note { font-size: .8rem; color: var(--muted); }

/* ---------- Footer ---------- */
footer { background: linear-gradient(180deg, var(--surface-2), var(--black)); color: var(--ink-2); margin-top: 48px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding: 44px 0 34px; }
footer .brand, footer .brand:hover { color: var(--ink); }
footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: 14px; font-family: var(--font-body); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 9px; font-size: .9rem; }
footer li a { color: var(--ink-2); }
footer li a:hover { color: #fff; }
footer li strong { color: var(--ink); }
.footer-copy { border-top: 1px solid var(--line); padding: 16px 0; font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface-2); border: 1px solid var(--gold); color: var(--ink);
  padding: 13px 20px; border-radius: 11px; font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow); z-index: 100; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty .big { font-size: 2.4rem; display: block; margin-bottom: 10px; }

/* ---------- Placeholder art ---------- */
.ph-art {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background:
    radial-gradient(300px 200px at 30% 20%, rgba(148,32,63,.16), transparent 70%),
    var(--surface);
  color: var(--muted);
}
.ph-art .ph-glyph { font-size: 3rem; opacity: .9; color: var(--gold); }
.ph-art .ph-label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.ph-art .ph-rule { width: 64px; height: 5px; background-image: var(--bead-stripe); border-radius: 3px; box-shadow: 0 0 10px rgba(231,177,67,.3); }

/* Deeper variant for hero/founder slots */
.ph-art.dark {
  background:
    radial-gradient(300px 200px at 30% 20%, rgba(148,32,63,.32), transparent 70%),
    var(--surface);
  color: var(--muted);
}
.ph-art.dark .ph-glyph { color: var(--gold); }

/* ---------- Home page extras ---------- */
.emblem-wrap {
  width: 132px; height: 132px; flex: 0 0 auto;
  border-radius: 50%; overflow: hidden;
  border: 3px solid var(--maroon);
  box-shadow: 0 0 0 2px var(--gold), 0 0 30px rgba(148,32,63,.35);
  background: #fff;
}
.emblem-wrap img { width: 100%; height: 100%; object-fit: cover; }

.nation-block {
  display: flex; gap: 22px; align-items: center;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
}

.maker-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.maker-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.maker-photo .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.maker-photo img { width: 100%; height: 100%; object-fit: cover; }
.maker-card-img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

/* Heritage gallery (map + art) */
.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
  align-items: start;
}
.heritage-card {
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.heritage-card img {
  width: 100%;
  height: auto;
  display: block;
}
.heritage-card img.map-img { filter: saturate(.62) brightness(.84) contrast(1.03); }
.heritage-card .hc-cap {
  padding: 10px 14px;
  font-size: .78rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  line-height: 1.45;
}
.heritage-card .hc-cap strong { color: var(--ink-2); }

/* Product page live quantity status */
.bag-status {
  display: block;
  margin-top: 10px;
  font-size: .92rem;
  color: var(--muted);
}
.bag-status.has { color: var(--turquoise); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 38px 0 48px; }
  .hero-art { max-width: 420px; }
  .product-layout, .co-layout { grid-template-columns: 1fr; }
  .maker-grid, .heritage-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nation-block { flex-direction: column; text-align: center; align-items: center; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .field-row, .field-row-3, .card-row { grid-template-columns: 1fr; }
  .stepper .step span.lbl { display: none; }
}

/* ============================================================
   Splash intro — a beaded flower being sewn
   ============================================================ */
#splash {
  position: fixed; inset: 0; z-index: 999;
  background:
    radial-gradient(900px 480px at 50% 24%, rgba(148,32,63,.32), transparent 62%),
    radial-gradient(700px 400px at 50% 100%, rgba(45,185,199,.08), transparent 60%),
    var(--black);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: opacity .6s ease;
}
#splash.revealed { opacity: 0; pointer-events: none; }

.splash-inner { text-align: center; position: relative; z-index: 1; }

.splash-svg { width: min(340px, 72vw); height: auto; display: block; margin: 0 auto; }

.thread-circle {
  stroke-dasharray: 604;
  stroke-dashoffset: 604;
  animation: splash-draw 2.2s ease-in-out forwards;
}
@keyframes splash-draw { to { stroke-dashoffset: 0; } }

.bead {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: splash-pop .45s cubic-bezier(.2, 1.5, .4, 1) forwards;
}
@keyframes splash-pop { to { transform: scale(1); } }

#needle { animation: splash-needle-done .5s ease forwards; animation-delay: 2.15s; }
@keyframes splash-needle-done { to { opacity: 0; } }

.splash-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--ink);
  letter-spacing: .02em;
  margin-top: -4px;
  opacity: 0;
  animation: splash-rise .7s ease forwards;
  animation-delay: 2.0s;
}
@keyframes splash-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.splash-skip {
  position: absolute; top: 20px; right: 24px; z-index: 2;
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--ink-2); padding: 8px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; cursor: pointer;
  transition: .15s;
}
.splash-skip:hover { border-color: var(--gold); color: var(--ink); }

.splash-progress {
  position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
  background-image: var(--bead-stripe);
  box-shadow: 0 0 16px rgba(231,177,67,.4);
  animation: splash-fillbar 2.5s linear forwards;
}
@keyframes splash-fillbar { to { width: 100%; } }
