/* ============================================================
   SHOP — Editorial Sanctum aesthetic (scoped to body.shop-page)
   Overrides --void → umber palette for shop pages only.
   ============================================================ */

body.shop-page {
  --umber-0: #14080a;
  --umber-1: #1a0e08;
  --umber-2: #21130c;
  --umber-3: #2a1b12;
  --hairline:   rgba(229,180,55,0.18);
  --hairline-2: rgba(229,180,55,0.35);
  --ff-d: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  background: var(--umber-0) !important;
  color: var(--text);
}

body.shop-page .cosmic-bg {
  background: linear-gradient(180deg, var(--umber-1) 0%, var(--umber-2) 100%);
}
body.shop-page .cosmic-bg::before,
body.shop-page .cosmic-bg::after {
  display: none;
}
body.shop-page .stars { opacity: 0.2; }

/* Shared section header */
.shop-section { padding: 80px 0; }
.shop-section.tight { padding: 56px 0; }
.shop-eyebrow {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 14px;
}
.shop-eyebrow::before, .shop-eyebrow::after {
  content: ''; width: 36px; height: 1px; background: var(--gold-deep);
}
.shop-h {
  font-family: var(--ff-d); font-size: clamp(32px,4vw,52px);
  font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 14px;
}
.shop-h em { font-style: italic; color: var(--gold-soft); }
.shop-sub { font-size: 16px; color: var(--text-muted); max-width: 580px; line-height: 1.7; font-weight: 300; }
.shop-head-center { text-align: center; margin-bottom: 48px; }
.shop-head-center .shop-sub { margin-left: auto; margin-right: auto; }

/* Breadcrumb */
.shop-breadcrumb {
  padding: 24px 0; font-size: 12px; color: var(--text-dim); letter-spacing: 0.05em;
}
.shop-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.shop-breadcrumb a:hover { color: var(--gold-soft); }
.shop-breadcrumb span { margin: 0 8px; opacity: 0.4; }
.shop-breadcrumb b { color: var(--gold-soft); font-weight: 500; }

/* HERO */
.shop-hero {
  padding: 56px 0 80px; position: relative; overflow: hidden; border-bottom: 1px solid var(--hairline);
}
.shop-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(244,208,111,0.15), transparent 65%);
  filter: blur(40px); pointer-events: none;
}
.shop-hero-grid {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.shop-hero h1 {
  font-family: var(--ff-d); font-size: clamp(36px,5vw,64px);
  font-weight: 500; line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 18px;
}
.shop-hero h1 em { font-style: italic; color: var(--gold-soft); }
.shop-hero .lead {
  font-size: 17px; color: var(--text-muted); line-height: 1.7;
  max-width: 540px; margin-bottom: 28px; font-weight: 300;
}
.shop-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.btn-gold-pill {
  background: var(--gold); color: var(--umber-1); padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-gold-pill:hover { background: var(--gold-soft); }
.btn-ghost-pill {
  border: 1px solid var(--hairline-2); color: var(--text); padding: 12px 22px; border-radius: 999px;
  font-size: 13px; letter-spacing: 0.05em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost-pill:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

.shop-trust-strip {
  display: flex; gap: 28px; padding-top: 24px; border-top: 1px solid var(--hairline); flex-wrap: wrap;
}
.shop-trust-strip .item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.shop-trust-strip .item b { color: var(--gold-soft); font-family: var(--ff-d); font-style: italic; font-size: 14px; }

/* Hero object — single product spotlight */
.shop-hero-object {
  position: relative; aspect-ratio: 1; max-width: 460px; margin-left: auto;
  display: flex; align-items: center; justify-content: center;
}
.shop-hero-object svg { width: 70%; height: 70%; filter: drop-shadow(0 25px 60px rgba(229,180,55,0.35)); }

/* Category tiles */
.shop-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.shop-cat {
  position: relative; aspect-ratio: 3/4; border-radius: 18px; overflow: hidden;
  background: var(--umber-3); border: 1px solid var(--hairline);
  text-decoration: none; cursor: pointer; transition: transform 0.4s;
  display: block;
}
.shop-cat:hover { transform: translateY(-6px); }
.shop-cat .art-wrap {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.shop-cat .art-wrap svg { width: 60%; height: 60%; }
.shop-cat::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20,8,10,0.92) 100%);
}
.shop-cat .meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; z-index: 1; }
.shop-cat .meta .e {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 5px; opacity: 0.9;
}
.shop-cat .meta h3 {
  font-family: var(--ff-d); font-size: 22px; font-weight: 500; line-height: 1.1;
  margin-bottom: 5px; color: var(--text);
}
.shop-cat .meta h3 em { font-style: italic; color: var(--gold-soft); }
.shop-cat .meta .c { font-size: 12px; color: var(--text-muted); }

/* Product grid */
.shop-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.shop-product-card {
  background: linear-gradient(180deg, var(--umber-3), var(--umber-2));
  border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden;
  text-decoration: none; transition: all 0.3s; display: block;
}
.shop-product-card:hover { transform: translateY(-4px); border-color: var(--hairline-2); }
.shop-product-img {
  aspect-ratio: 1; position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #2a1b12 0%, #1a0e08 100%); overflow: hidden;
}
.shop-product-img svg { width: 65%; height: 65%; }
.shop-product-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-product-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(20,8,10,0.85); border: 1px solid var(--hairline-2);
  padding: 5px 10px; border-radius: 999px;
  font-size: 9px; color: var(--gold-soft); letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 500; backdrop-filter: blur(8px);
}
.shop-product-badge.sold {
  background: rgba(20,8,10,0.85); border-color: rgba(239,68,68,0.4); color: #FCA5A5;
}
.shop-product-discount {
  position: absolute; top: 12px; right: 12px;
  background: #DC2626; color: #fff;
  padding: 5px 10px; border-radius: 8px; font-size: 11px; font-weight: 600;
}
.shop-product-body { padding: 18px 18px 20px; }
.shop-product-planet {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--gold-soft); letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 6px;
}
.shop-product-planet .g { font-family: var(--ff-d); font-size: 14px; }
.shop-product-name {
  font-family: var(--ff-d); font-size: 17px; font-weight: 500;
  line-height: 1.25; margin-bottom: 6px; color: var(--text);
}
.shop-product-name em { font-style: italic; color: var(--gold-soft); }
.shop-product-meta {
  font-size: 12px; color: var(--text-dim); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.shop-product-meta .star { color: var(--gold-soft); }
.shop-product-meta .sep { opacity: 0.4; }
.shop-product-price { display: flex; align-items: baseline; gap: 8px; }
.shop-product-price .now {
  font-family: var(--ff-d); font-size: 20px; color: var(--text); font-weight: 500;
}
.shop-product-price .was { font-size: 12px; color: var(--text-dim); text-decoration: line-through; }

/* Planet wheel — 9 graha tiles */
.shop-planets { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; margin-top: 36px; }
.shop-planet-tile {
  background: var(--umber-3); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 16px 10px 14px; text-align: center;
  text-decoration: none; cursor: pointer; transition: all 0.3s;
  display: block;
}
.shop-planet-tile:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.shop-planet-tile .stone {
  width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.shop-planet-tile .stone svg { width: 100%; height: 100%; }
.shop-planet-tile .glyph { font-family: var(--ff-d); font-size: 16px; color: var(--gold-soft); margin-bottom: 2px; }
.shop-planet-tile .pname { font-family: var(--ff-d); font-size: 13px; font-style: italic; color: var(--text); font-weight: 500; line-height: 1.2; }
.shop-planet-tile .sname { font-size: 10px; color: var(--text-dim); letter-spacing: 0.03em; }

/* Trust band */
.shop-trust-band {
  padding: 40px 0; background: rgba(229,180,55,0.04);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.shop-trust-band .row { display: flex; justify-content: space-around; gap: 24px; flex-wrap: wrap; }
.shop-trust-band .cell { display: flex; align-items: center; gap: 12px; }
.shop-trust-band .cell b { font-family: var(--ff-d); font-style: italic; font-size: 16px; color: var(--gold-soft); display: block; }
.shop-trust-band .cell span { font-size: 12px; color: var(--text-muted); }

/* Consult banner */
.shop-consult {
  padding: 56px 0; background: linear-gradient(135deg, rgba(229,180,55,0.12), rgba(139,92,246,0.06));
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  position: relative; overflow: hidden;
}
.shop-consult::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(244,208,111,0.18), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.shop-consult .row {
  position: relative; display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
}
.shop-consult h2 {
  font-family: var(--ff-d); font-size: 32px; font-weight: 500; line-height: 1.15;
}
.shop-consult h2 em { font-style: italic; color: var(--gold-soft); }
.shop-consult p { color: var(--text-muted); margin-top: 8px; font-size: 14px; max-width: 460px; }
.shop-consult .actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* PRODUCT DETAIL */
.shop-pdp {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 24px 0 64px;
}
.shop-pdp-gallery { position: sticky; top: 90px; align-self: start; }
.shop-pdp-main-img {
  aspect-ratio: 1; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #2a1b12, #1a0e08);
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.shop-pdp-main-img::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(244,208,111,0.18), transparent 60%);
}
.shop-pdp-main-img svg { width: 55%; height: 55%; position: relative; }
.shop-pdp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-pdp-overlay { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; z-index: 2; }
.shop-pdp-overlay .tag {
  background: rgba(20,8,10,0.85); border: 1px solid var(--hairline-2);
  padding: 5px 12px; border-radius: 999px;
  font-size: 10px; color: var(--gold-soft); letter-spacing: 0.15em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.shop-pdp-overlay .tag.live { color: #86EFAC; border-color: rgba(34,197,94,0.3); }

.shop-pdp-info { padding-top: 4px; }
.shop-pdp-eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.shop-pdp-eyebrow .planet { font-family: var(--ff-d); font-size: 18px; color: var(--gold-soft); }
.shop-pdp-eyebrow .label { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }
.shop-pdp-name {
  font-family: var(--ff-d); font-size: 38px; font-weight: 500;
  line-height: 1.05; margin-bottom: 6px; letter-spacing: -0.01em;
}
.shop-pdp-name em { font-style: italic; color: var(--gold-soft); }
.shop-pdp-sub {
  font-size: 14px; color: var(--text-muted);
  font-family: var(--ff-d); font-style: italic; margin-bottom: 16px;
}
.shop-pdp-rating {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  font-size: 13px; color: var(--text-muted); margin-bottom: 22px;
}
.shop-pdp-rating .stars { color: var(--gold-soft); font-size: 16px; letter-spacing: 0.08em; }
.shop-pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.shop-pdp-price .now { font-family: var(--ff-d); font-size: 40px; color: var(--text); font-weight: 500; line-height: 1; }
.shop-pdp-price .was { font-size: 16px; color: var(--text-dim); text-decoration: line-through; }
.shop-pdp-price .save { background: #DC2626; color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.shop-pdp-tax { font-size: 12px; color: var(--text-dim); margin-bottom: 22px; }
.shop-pdp-tax b { color: var(--gold-soft); font-weight: 500; }

.shop-pdp-cta-row { display: flex; gap: 10px; margin-bottom: 20px; }
.shop-qty {
  display: flex; align-items: center; border: 1px solid var(--hairline-2);
  border-radius: 999px; overflow: hidden;
}
.shop-qty span { padding: 13px 14px; font-size: 17px; color: var(--gold-soft); cursor: pointer; user-select: none; }
.shop-qty b { padding: 13px 4px; font-weight: 600; font-size: 15px; min-width: 30px; text-align: center; }
.shop-btn-add {
  flex: 1; background: var(--gold); color: var(--umber-1);
  padding: 13px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer;
}
.shop-btn-add:disabled { opacity: 0.6; cursor: not-allowed; }

/* Sold out + notify */
.shop-sold-out {
  margin-bottom: 22px; padding: 18px; border: 1px solid rgba(239,68,68,0.3);
  border-radius: 12px; background: rgba(239,68,68,0.05);
}
.shop-sold-out .lbl {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #FCA5A5; font-weight: 600; margin-bottom: 8px;
}
.shop-sold-out p { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.shop-notify-form { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-notify-form input {
  flex: 1; min-width: 200px;
  background: var(--umber-2); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 10px 16px;
  color: var(--text); font-size: 13px; outline: none; font-family: inherit;
}
.shop-notify-form input:focus { border-color: var(--gold-soft); }
.shop-notify-form button {
  background: var(--gold); color: var(--umber-1); padding: 10px 22px;
  border: 0; border-radius: 999px; font-weight: 600; font-size: 12px;
  letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer;
}

/* Trust badges grid */
.shop-pdp-badges {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 10px;
  padding-top: 18px; border-top: 1px solid var(--hairline);
}
.shop-pdp-badge {
  display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--text-muted);
}
.shop-pdp-badge .ic {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(229,180,55,0.08); border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-soft); font-size: 13px; flex-shrink: 0;
}
.shop-pdp-badge b { display: block; color: var(--text); font-weight: 500; font-size: 12px; }

/* Specs / Description / Tabs */
.shop-pdp-tabs { border-top: 1px solid var(--hairline); padding: 48px 0; }
.shop-pdp-tab-nav {
  display: flex; gap: 28px; border-bottom: 1px solid var(--hairline);
  margin-bottom: 32px; overflow-x: auto;
}
.shop-pdp-tab-nav a {
  padding: 14px 0; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); border-bottom: 2px solid transparent;
  margin-bottom: -1px; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.shop-pdp-tab-nav a.active { color: var(--gold-soft); border-color: var(--gold-soft); }
.shop-pdp-tab-content { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.shop-pdp-tab-content h3 {
  font-family: var(--ff-d); font-size: 24px; font-weight: 500;
  margin-bottom: 14px; line-height: 1.2;
}
.shop-pdp-tab-content h3 em { font-style: italic; color: var(--gold-soft); }
.shop-pdp-tab-content p {
  color: var(--text-muted); font-size: 15px; line-height: 1.8;
  margin-bottom: 12px; font-weight: 300;
}
.shop-pdp-tab-content p:first-of-type::first-letter {
  font-family: var(--ff-d); font-size: 48px; line-height: 0.85; float: left;
  padding: 6px 12px 0 0; color: var(--gold-soft); font-style: italic; font-weight: 500;
}

.shop-pdp-specs {
  padding: 20px; background: var(--umber-3); border: 1px solid var(--hairline); border-radius: 12px;
}
.shop-pdp-specs h4 {
  font-family: var(--ff-d); font-size: 16px; font-style: italic;
  color: var(--gold-soft); margin-bottom: 12px;
}
.shop-pdp-specs dl { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px 12px; font-size: 12px; }
.shop-pdp-specs dt { color: var(--text-dim); }
.shop-pdp-specs dd { color: var(--text); font-weight: 500; text-align: right; }
.shop-pdp-specs dd b { color: var(--gold-soft); font-weight: 500; }

.shop-pdp-cert {
  margin-top: 14px; padding: 14px;
  background: linear-gradient(135deg, rgba(34,197,94,0.06), rgba(229,180,55,0.04));
  border: 1px solid rgba(34,197,94,0.2); border-radius: 10px;
  display: flex; gap: 10px; align-items: center;
}
.shop-pdp-cert .check {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(34,197,94,0.15); color: #86EFAC;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; flex-shrink: 0;
}
.shop-pdp-cert b { display: block; color: #86EFAC; font-size: 12px; margin-bottom: 2px; }
.shop-pdp-cert span { font-size: 11px; color: var(--text-muted); font-family: monospace; }

/* Toast */
.shop-toast {
  position: fixed; bottom: 90px; right: 24px; z-index: 100;
  background: var(--umber-3); border: 1px solid var(--gold-soft); color: var(--text);
  padding: 12px 18px; border-radius: 12px;
  font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  display: none; opacity: 0; transition: opacity 0.2s, transform 0.2s;
  transform: translateY(20px);
}
.shop-toast.show { display: block; opacity: 1; transform: translateY(0); }
.shop-toast.error { border-color: #EF4444; }

/* Responsive */
@media (max-width: 1024px) {
  .shop-cats, .shop-products { grid-template-columns: repeat(2, 1fr); }
  .shop-planets { grid-template-columns: repeat(5, 1fr); }
  .shop-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .shop-hero-object { max-width: 320px; margin: 0 auto; order: -1; }
  .shop-pdp { grid-template-columns: 1fr; gap: 32px; }
  .shop-pdp-gallery { position: static; }
  .shop-pdp-tab-content { grid-template-columns: 1fr; gap: 28px; }
  .shop-consult .actions { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .shop-section { padding: 56px 0; }
  .shop-cats, .shop-products { grid-template-columns: 1fr; }
  .shop-planets { grid-template-columns: repeat(3, 1fr); }
  .shop-hero h1 { font-size: 34px; }
  .shop-pdp-name { font-size: 30px; }
  .shop-pdp-price .now { font-size: 32px; }
  .shop-pdp-badges { grid-template-columns: 1fr; }
}
