:root {
  --bg-deep: #0d0b14;
  --bg-surface: #16131f;
  --bg-card: #1e1a2a;
  --fg: #e8e4f0;
  --fg-muted: #9b93ab;
  --accent: #d4a843;
  --accent-glow: #f0c850;
  --accent-dim: #a07d2e;
  --red: #c45858;
  --teal: #4ecdc4;
}

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

body {
  background: var(--bg-deep);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(212, 168, 67, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 30%, rgba(78, 205, 196, 0.04) 0%, transparent 40%);
  animation: drift 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-3%, 2%) rotate(1deg); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 .gold {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(212, 168, 67, 0.3);
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--fg-muted);
  max-width: 520px;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

/* ===== PILLARS ===== */
.pillars {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pillars-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 1rem;
}

.pillars-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4rem;
  max-width: 600px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(212, 168, 67, 0.1);
  border-radius: 12px;
  background: var(--bg-surface);
  transition: border-color 0.3s, transform 0.3s;
}

.pillar:hover {
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  display: block;
}

.pillar h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--fg);
}

.pillar p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== CATALOG ===== */
.catalog {
  padding: 6rem 2rem;
  background: var(--bg-surface);
}

.catalog-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.catalog-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.catalog-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  max-width: 550px;
}

.catalog-desc {
  color: var(--fg-muted);
  max-width: 500px;
  margin-bottom: 3.5rem;
  font-size: 1.05rem;
}

.catalog-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.catalog-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.8rem;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
}

.catalog-item-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.catalog-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--fg);
}

.catalog-item p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.how-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 1rem;
}

.how-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4rem;
  max-width: 500px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.step-num {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
  line-height: 1;
  width: 50px;
}

.step-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.closing-heading .gold {
  color: var(--accent);
}

.closing p {
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* ===== FOOTER ===== */
footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

footer p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  opacity: 0.6;
}

footer .footer-brand {
  font-family: 'Cinzel', serif;
  color: var(--accent-dim);
  font-weight: 600;
}

/* ===== HERO CTA ===== */
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #0d0b14;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.3);
}
.btn-ghost {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--fg-muted);
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--fg);
}
.btn-full { width: 100%; text-align: center; display: block; }

/* ===== SITE NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand-icon { font-size: 1.3rem; }
.nav-brand-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 0.25rem;
  flex: 1;
}
.nav-link {
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--fg);
  background: rgba(255,255,255,0.05);
}
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--fg-muted);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 6px;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.nav-cart:hover { border-color: var(--accent); color: var(--fg); }
.cart-icon { font-size: 1.1rem; }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: #0d0b14;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 100px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
}
.nav-mobile-menu {
  display: none;
}
.nav-mobile-menu.open {
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 0.1rem;
}
.nav-mobile-menu a {
  padding: 0.7rem 0;
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-mobile-menu a:last-child { border-bottom: none; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 4rem 2rem 3rem;
  background: var(--bg-surface);
  border-bottom: 1px solid rgba(212, 168, 67, 0.08);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 0.6rem;
}
.page-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.page-hero-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ===== SHOP LAYOUT ===== */
.shop-layout {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}
.shop-sidebar { position: sticky; top: 84px; }
.sidebar-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 1rem;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.92rem;
  color: var(--fg-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.sidebar-link:hover, .sidebar-link.active {
  background: rgba(212, 168, 67, 0.08);
  color: var(--fg);
}
.sidebar-link.active { color: var(--accent); }
.sidebar-count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--fg-muted);
  opacity: 0.6;
}
.sidebar-icon { font-size: 1rem; }

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-grid-sm {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  border-color: rgba(212, 168, 67, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.product-card-img-link { display: block; position: relative; }
.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: var(--bg-surface);
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
}
.badge-popular  { background: var(--accent); color: #0d0b14; }
.badge-sale     { background: var(--red); color: #fff; }
.badge-premium  { background: linear-gradient(135deg, #b8860b, var(--accent)); color: #0d0b14; }
.badge-rare     { background: #6c3483; color: #fff; }
.badge-essential{ background: var(--teal); color: #0d0b14; }
.badge-beginner { background: #27ae60; color: #fff; }
.product-card-body { padding: 1.1rem 1.2rem; }
.product-card-cat {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 0.35rem;
}
.product-card-name {
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}
.product-card-name a { text-decoration: none; color: var(--fg); }
.product-card-name a:hover { color: var(--accent); }
.product-card-desc {
  font-size: 0.83rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.product-price { display: flex; align-items: baseline; gap: 0.5rem; }
.price-current { font-weight: 700; font-size: 1.05rem; color: var(--fg); }
.price-lg { font-size: 1.6rem; }
.price-compare {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: line-through;
  opacity: 0.6;
}
.price-save {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
}
.btn-add-cart {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(212, 168, 67, 0.12);
  color: var(--accent);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-add-cart:hover {
  background: rgba(212, 168, 67, 0.22);
  border-color: var(--accent);
}
.btn-sm { padding: 0.35rem 0.65rem; font-size: 0.75rem; }
.shop-empty {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--fg-muted);
}
.shop-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.shop-empty .btn-primary { margin-top: 1.5rem; }

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--fg-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.4; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}
.product-detail-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  align-self: start;
}
.product-detail-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: var(--bg-card);
}
.product-detail-badge { top: 16px; left: 16px; }
.product-detail-cat {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 0.6rem;
}
.product-detail-cat a { color: inherit; text-decoration: none; }
.product-detail-cat a:hover { color: var(--accent); }
.product-detail-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.product-detail-desc {
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-size: 0.97rem;
}
.product-detail-stock {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
}
.stock-badge {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
}
.in-stock { background: rgba(39, 174, 96, 0.15); color: #27ae60; }
.out-of-stock { background: rgba(196, 88, 88, 0.15); color: var(--red); }
.stock-ships { font-size: 0.82rem; color: var(--fg-muted); }
.product-detail-form { margin-bottom: 1.5rem; }
.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.qty-label { font-size: 0.85rem; color: var(--fg-muted); font-weight: 500; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  overflow: hidden;
}
.qty-sm { border: none; }
.qty-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border: none;
  color: var(--fg);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-sm .qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 0.9rem;
}
.qty-btn:hover { background: rgba(255,255,255,0.1); }
.qty-input {
  width: 52px;
  background: none;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
  color: var(--fg);
  font-size: 0.95rem;
  text-align: center;
  padding: 0.4rem 0;
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button, .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-display {
  width: 36px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--fg);
}
.product-perks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.perk {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.perk span { font-size: 1rem; }
.related-section { padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.06); }
.related-heading {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* ===== CART PAGE ===== */
.cart-page { padding: 3rem 2rem; }
.cart-page-inner { max-width: 1100px; margin: 0 auto; }
.cart-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
}
.cart-empty {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--fg-muted);
}
.cart-empty-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.cart-empty h2 { font-family: 'Cinzel', serif; margin-bottom: 0.5rem; color: var(--fg); }
.cart-empty .btn-primary { margin-top: 1.5rem; }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.shipping-nudge {
  padding: 0.75rem 1.1rem;
  background: rgba(212, 168, 67, 0.07);
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.shipping-free {
  background: rgba(39, 174, 96, 0.07);
  border-color: rgba(39, 174, 96, 0.25);
  color: #27ae60;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: center;
}
.cart-item-img-link { display: block; }
.cart-item-img { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; background: var(--bg-card); }
.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--fg);
  display: block;
  margin-bottom: 0.3rem;
}
.cart-item-name:hover { color: var(--accent); }
.cart-item-price { font-size: 0.83rem; color: var(--fg-muted); margin-bottom: 0.65rem; }
.cart-item-actions { display: flex; align-items: center; gap: 1rem; }
.cart-qty-form { display: flex; align-items: center; }
.cart-remove-btn {
  font-size: 0.8rem;
  color: var(--fg-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.cart-remove-btn:hover { color: var(--red); }
.cart-item-subtotal { font-weight: 700; font-size: 0.97rem; white-space: nowrap; }
.cart-summary {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1.75rem;
  position: sticky;
  top: 84px;
}
.summary-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--fg-muted);
  padding: 0.4rem 0;
}
.summary-total {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fg);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.25rem;
}
.summary-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0.75rem 0;
}
.cart-summary .btn-ghost { margin-top: 0.75rem; font-size: 0.85rem; padding: 0.7rem 1rem; }

/* ===== CHECKOUT ===== */
.checkout-page { padding: 3rem 2rem 5rem; }
.checkout-inner { max-width: 1100px; margin: 0 auto; }
.checkout-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.checkout-section { margin-bottom: 2.25rem; }
.checkout-section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
}
.optional { font-weight: 400; opacity: 0.6; }
.form-group input, .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: var(--fg);
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--accent);
}
.form-group select option { background: var(--bg-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { font-size: 0.8rem; color: var(--red); margin-top: 0.3rem; }
.checkout-demo-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: rgba(78, 205, 196, 0.06);
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.btn-checkout { padding: 1rem 2rem; font-size: 1rem; }
.checkout-summary {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 1.75rem;
  position: sticky;
  top: 84px;
}
.checkout-summary-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.checkout-summary-img-wrap { position: relative; }
.checkout-summary-img { width: 52px; height: 40px; object-fit: cover; border-radius: 6px; background: var(--bg-surface); display: block; }
.checkout-summary-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--fg-muted);
  color: var(--bg-deep);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 100px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-summary-item-name { font-size: 0.85rem; font-weight: 500; line-height: 1.3; }
.checkout-summary-item-price { font-size: 0.78rem; color: var(--fg-muted); }
.checkout-summary-item-total { font-size: 0.9rem; font-weight: 600; }

/* ===== CONFIRMATION ===== */
.confirmation-page { padding: 4rem 2rem 6rem; }
.confirmation-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.confirmation-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.confirmation-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.confirmation-sub { color: var(--fg-muted); margin-bottom: 2.5rem; }
.confirmation-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
  margin-bottom: 2.5rem;
}
.confirmation-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.confirmation-meta { margin-bottom: 1.5rem; }
.confirmation-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  gap: 1rem;
}
.confirmation-meta-row span:first-child { color: var(--fg-muted); }
.confirmation-items { margin-bottom: 1rem; }
.confirmation-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  font-size: 0.88rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.confirmation-item-name { color: var(--fg-muted); }
.confirmation-item-qty { color: var(--fg-muted); }
.confirmation-item-price { font-weight: 600; }
.confirmation-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== ERROR PAGE ===== */
.error-page { padding: 8rem 2rem; text-align: center; }
.error-inner { max-width: 400px; margin: 0 auto; }
.error-icon { font-size: 3rem; margin-bottom: 1rem; }
.error-title { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 0.75rem; }
.error-message { color: var(--fg-muted); margin-bottom: 2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .catalog-items { grid-template-columns: 1fr; }
  .how-step { gap: 1.2rem; }
  .step-num { font-size: 1.8rem; width: 35px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .shop-layout { grid-template-columns: 1fr; gap: 2rem; }
  .shop-sidebar { position: static; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: 0.4rem; }
  .sidebar-link { padding: 0.4rem 0.75rem; font-size: 0.82rem; }
  .sidebar-count { display: none; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr auto; gap: 0.75rem; }
  .cart-item-img { width: 64px; height: 48px; }
  .confirmation-inner { text-align: left; }
  .confirmation-actions { flex-direction: column; }
}