:root {
  --ink: #12100c;
  --ink-soft: #1c1914;
  --parchment: #f3ece0;
  --parchment-dim: #e7dccb;
  --gold: #c6a15b;
  --gold-deep: #8d7040;
  --gold-bright: #e0c07a;
  --oxblood: #6e2430;
  --foam: #fff8ee;
  --line: rgba(198, 161, 91, 0.28);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --nav-h: 78px;
  --sans: "Outfit", system-ui, sans-serif;
  --display: "Cinzel", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--ink);
  color: var(--parchment);
  min-height: 100vh;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
button, input, select, textarea { font-family: inherit; }

.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 99; }

/* NAV */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(18, 16, 12, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--nav-h);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--parchment);
}
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--display);
  letter-spacing: 0.28em;
  font-size: 0.95rem;
  font-weight: 700;
}
.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-transform: uppercase;
}
.nav-links {
  display: flex; gap: 8px; flex: 1; justify-content: center; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--parchment);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(198, 161, 91, 0.12);
  color: var(--gold-bright);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}
.cart-btn:hover { background: var(--gold-bright); color: var(--ink); }
.cart-count {
  background: var(--ink);
  color: var(--gold);
  min-width: 22px; height: 22px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
}
.nav-toggle {
  display: none;
  background: transparent; color: var(--gold); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(198, 161, 91, 0.18), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(110, 36, 48, 0.28), transparent 55%),
    var(--ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin: 10px 0 16px;
  font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.lede { font-size: 1.12rem; color: var(--parchment-dim); max-width: 62ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-bright); color: var(--ink); }
.btn-ghost {
  background: transparent; color: var(--parchment);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-ox { background: var(--oxblood); color: var(--parchment); }
.btn-block { width: 100%; }
.hero-coin {
  display: grid; place-items: center;
}
.hero-coin img {
  width: min(360px, 100%);
  filter: drop-shadow(0 20px 40px rgba(198, 161, 91, 0.28));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  color: var(--parchment-dim);
}

/* SECTIONS */
section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 8px 0 10px;
}
.section-head p { color: var(--parchment-dim); margin: 0 auto; max-width: 58ch; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cat-card {
  display: block;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--parchment);
  min-height: 170px;
}
.cat-card:hover { border-color: var(--gold); transform: translateY(-2px); transition: 0.2s; color: var(--parchment); }
.cat-card h3 { font-family: var(--display); margin: 8px 0; }
.cat-card p { color: var(--parchment-dim); margin: 0; }
.price-chip { color: var(--gold); font-weight: 700; letter-spacing: 0.08em; }

/* PRODUCT GRID */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 28px;
}
.filter-bar a, .filter-bar button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--parchment);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.filter-bar a.active, .filter-bar a:hover {
  background: var(--gold); color: var(--ink); border-color: var(--gold);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #17140f;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
  color: var(--parchment);
}
.card:hover { border-color: var(--gold); color: var(--parchment); }
.card-media {
  position: relative;
  background: #0a0908;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0;
}
.muted { color: var(--parchment-dim); font-size: 0.92rem; }
.card-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  margin-top: auto;
}
.price { font-weight: 800; color: var(--gold-bright); font-size: 1.15rem; }
.tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* PRODUCT PAGE */
.product-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}
.product-shot {
  background: #0a0908;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.product-shot img { width: 100%; }
.product-copy h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 8px 0 12px;
}
.product-copy .price { font-size: 1.8rem; }
.facts { display: grid; gap: 8px; margin: 18px 0; }
.facts li { list-style: none; }
.variants {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  margin: 16px 0;
}
.variants legend {
  color: var(--gold);
  font-size: 0.85rem;
  padding: 0 6px;
}
.variant-opt {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 4px;
  cursor: pointer;
}
.qty-row { display: flex; gap: 10px; align-items: center; margin: 16px 0; }
.qty-row input {
  width: 72px; padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  color: var(--parchment);
  text-align: center;
}

/* CART */
.cart-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
}
.cart-list, .summary, .panel {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}
.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item img {
  width: 92px; height: 72px; object-fit: cover; border-radius: 10px;
}
.ship-option {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin: 8px 0;
  cursor: pointer;
}
.ship-option:has(input:checked) { border-color: var(--gold); background: rgba(198,161,91,0.08); }
.summary-row, .total-row {
  display: flex; justify-content: space-between; margin: 8px 0;
}
.total-row { font-size: 1.2rem; font-weight: 800; color: var(--gold-bright); }
.empty { text-align: center; padding: 40px 10px; color: var(--parchment-dim); }

.notice {
  background: rgba(110, 36, 48, 0.2);
  border: 1px solid rgba(198, 161, 91, 0.25);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--parchment-dim);
}

form.stack { display: grid; gap: 12px; }
label { font-size: 0.85rem; color: var(--gold); }
input[type="text"], input[type="email"], textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0e0c0a;
  color: var(--parchment);
}
textarea { min-height: 140px; resize: vertical; }

.fine { font-size: 0.82rem; color: var(--parchment-dim); }

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  margin-top: 20px;
}
.foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.foot-soon { grid-template-columns: 1fr; text-align: center; }
.foot h4 { font-family: var(--display); margin: 0 0 10px; }
.foot a { display: block; color: var(--parchment-dim); padding: 3px 0; }
.legal { margin-top: 28px; font-size: 0.78rem; color: #9b8f7c; max-width: 80ch; }

.coming {
  text-align: center;
  padding: 48px 16px;
  border: 1px dashed var(--line);
  border-radius: 22px;
}
.back-soon {
  min-height: calc(100vh - 240px);
  display: grid;
  place-items: center;
  padding: 56px 0 80px;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(198, 161, 91, 0.18), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(110, 36, 48, 0.28), transparent 55%),
    var(--ink);
}
.back-soon-inner { text-align: center; max-width: 640px; }
.back-soon-coin {
  width: min(220px, 55vw);
  margin: 0 auto 28px;
  filter: drop-shadow(0 20px 40px rgba(198, 161, 91, 0.28));
  animation: float 6s ease-in-out infinite;
}
.back-soon h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin: 10px 0 16px;
}
.back-soon h1 em { font-style: normal; color: var(--gold); }
.back-soon .lede { margin-inline: auto; }
.toast {
  position: fixed; bottom: 18px; right: 18px; z-index: 80;
  background: var(--gold); color: var(--ink);
  padding: 12px 16px; border-radius: 12px;
  font-weight: 700;
  transform: translateY(120px); opacity: 0;
  transition: 0.25s;
}
.toast.show { transform: none; opacity: 1; }

@media (max-width: 900px) {
  .hero-grid, .product-hero, .cart-layout, .cat-grid, .foot, .grid {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .nav.open .nav-links {
    display: flex;
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 12px;
    flex-direction: column;
  }
  .nav-toggle { display: inline-flex; }
  .grid { grid-template-columns: 1fr 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}
