:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-accent: #1a1a2e;
  --fg: #e8e6e3;
  --fg-dim: #8a8a9a;
  --accent: #c9a94e;
  --accent-glow: rgba(201, 169, 78, 0.15);
  --red: #d44;
  --border: #2a2a3a;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  display: inline-block;
  background: var(--bg-accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero h1 .gold {
  color: var(--accent);
}

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

/* --- STATS BAR --- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- TWO-TRACK SECTION --- */
.tracks {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.tracks-header {
  text-align: center;
  margin-bottom: 4rem;
}

.tracks-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tracks-header p {
  color: var(--fg-dim);
  max-width: 500px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

.tracks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.track-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.track-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.track-card.retail::after {
  background: var(--accent);
}

.track-card.creative::after {
  background: var(--red);
}

.track-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.track-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.track-card p {
  color: var(--fg-dim);
  line-height: 1.7;
  font-size: 0.95rem;
}

.track-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.track-list li {
  color: var(--fg-dim);
  font-size: 0.9rem;
  padding-left: 1.2rem;
  position: relative;
}

.track-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.track-card.creative .track-list li::before {
  background: var(--red);
}

/* --- EDGE SECTION --- */
.edge {
  padding: 6rem 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.edge h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

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

.edge-item {
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.edge-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--accent);
}

.edge-item p {
  color: var(--fg-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- 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: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}

.closing p {
  color: var(--fg-dim);
  margin-top: 1.5rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* --- FOOTER --- */
footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--fg-dim);
  font-size: 0.8rem;
}

footer span {
  color: var(--accent);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .tracks-grid {
    grid-template-columns: 1fr;
  }
  .edge-grid {
    grid-template-columns: 1fr;
  }
  .stats-bar {
    flex-direction: column;
    gap: 1.5rem;
  }
  .hero {
    min-height: 70vh;
    padding: 4rem 1.5rem 3rem;
  }
}

@media (max-width: 480px) {
  .track-card {
    padding: 1.8rem;
  }
  .edge-item {
    padding: 1.5rem;
  }
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-link {
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--fg);
  background: var(--bg-accent);
}

.nav-link-primary {
  color: var(--accent);
  font-weight: 600;
}

.nav-cta {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ============================================================
   HERO ACTIONS (landing page CTA buttons)
   ============================================================ */
.hero-actions {
  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;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.btn-primary.btn-lg {
  font-size: 1.05rem;
  padding: 0.9rem 2.2rem;
}

.btn-ghost {
  display: inline-block;
  color: var(--fg-dim);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--fg-dim);
  transform: translateY(-1px);
}

/* ============================================================
   SHOP HERO
   ============================================================ */
.shop-hero {
  padding: 4rem 2rem 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.shop-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.shop-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.shop-hero-badge {
  display: inline-block;
  background: var(--bg-accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.shop-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.shop-hero-lede {
  color: var(--fg-dim);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.6;
}

/* ============================================================
   SHOP LAYOUT (sidebar + grid)
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
  align-items: start;
}

/* ============================================================
   SIDEBAR FILTERS
   ============================================================ */
.shop-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-dim);
  margin-bottom: 0.25rem;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.filter-chip {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  font-weight: 500;
}

.filter-chip:hover {
  color: var(--fg);
  background: var(--bg-accent);
}

.filter-chip.active {
  color: var(--accent);
  background: var(--bg-accent);
  border-left: 2px solid var(--accent);
  padding-left: calc(0.85rem - 2px);
}

.filter-clear {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--fg-dim);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
  transition: color 0.15s, border-color 0.15s;
}

.filter-clear:hover {
  color: var(--fg);
  border-color: var(--fg-dim);
}

/* ============================================================
   SHOP MAIN (count + grid)
   ============================================================ */
.shop-main {
  min-width: 0;
}

.shop-count {
  font-size: 0.8rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
}

.shop-empty {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--fg-dim);
}

.shop-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.shop-empty h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.shop-empty a {
  color: var(--accent);
  text-decoration: none;
}

/* ============================================================
   PRODUCT GRID & CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 169, 78, 0.12);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-accent);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image {
  transform: scale(1.04);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-badge.low-stock {
  background: #e87c2a;
  color: #fff;
}

.product-badge.out-of-stock {
  background: var(--bg-card);
  color: var(--fg-dim);
  border: 1px solid var(--border);
}

.product-info {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.product-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.product-tag {
  font-size: 0.68rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-decoration: none;
}

.product-tag.game {
  background: var(--bg-accent);
  color: var(--accent);
  border: 1px solid rgba(201, 169, 78, 0.2);
}

.product-tag.type {
  background: var(--bg-accent);
  color: var(--fg-dim);
  border: 1px solid var(--border);
}

.product-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg);
  margin-top: auto;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.product-compare {
  font-size: 0.85rem;
  color: var(--fg-dim);
  text-decoration: line-through;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-page {
  min-height: calc(100vh - 64px);
}

.product-detail-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--fg-dim);
  margin-bottom: 2.5rem;
}

.breadcrumb a {
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  opacity: 0.4;
}

.breadcrumb span:last-child {
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}

.product-detail-image-col {
  position: sticky;
  top: 84px;
}

.product-detail-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.product-detail-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
}

.product-detail-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.product-detail-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.product-detail-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-detail-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.product-detail-compare {
  font-size: 1.1rem;
  color: var(--fg-dim);
  text-decoration: line-through;
}

.product-detail-save {
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #4ade80;
}

.stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

.stock-dot.out {
  background: var(--fg-dim);
}

.out-of-stock-text {
  color: var(--fg-dim);
}

.product-detail-description {
  color: var(--fg-dim);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.product-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.product-detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  font-family: var(--font-display);
  font-weight: 500;
}

.meta-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
}

/* ============================================================
   RELATED PRODUCTS
   ============================================================ */
.related-section {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.related-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* ============================================================
   IMAGE LIGHTBOX MODAL
   ============================================================ */
.image-lightbox-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.5rem 1rem;
  background: var(--bg-accent);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg-dim);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  width: 100%;
  justify-content: center;
}

.image-lightbox-btn:hover {
  color: var(--fg);
  border-color: var(--accent);
}

.image-lightbox-btn svg {
  flex-shrink: 0;
}

/* Thumbnail strip under main product image */
.product-image-main-wrap {
  position: relative;
}

.product-thumbnail-strip {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.product-thumb {
  width: 68px;
  height: 68px;
  border-radius: 6px;
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--bg-accent);
  transition: border-color 0.15s;
  flex-shrink: 0;
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--accent);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox prev/next nav buttons */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(201, 169, 78, 0.7);
}

.lightbox-prev { left: -56px; }
.lightbox-next { right: -56px; }

@media (max-width: 700px) {
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: min(90vw, 800px);
  max-height: 90vh;
  cursor: default;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: var(--bg-accent);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: var(--fg);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, color 0.15s;
}

.lightbox-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-caption {
  text-align: center;
  color: var(--fg-dim);
  font-size: 0.85rem;
  margin-top: 0.85rem;
  font-family: var(--font-display);
}

/* ============================================================
   404
   ============================================================ */
.not-found-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.not-found-inner {
  text-align: center;
  padding: 4rem 2rem;
}

.not-found-code {
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 1rem;
}

.not-found-inner h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.not-found-inner p {
  color: var(--fg-dim);
  margin-bottom: 2rem;
}

/* ============================================================
   RESPONSIVE — SHOP
   ============================================================ */
@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .filter-options {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .filter-chip {
    border: 1px solid var(--border);
  }

  .filter-chip.active {
    border: 1px solid var(--accent);
    padding-left: 0.85rem;
    border-left-width: 1px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-detail-image-col {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-inner {
    justify-content: space-between;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .shop-hero {
    padding: 2.5rem 1.5rem 2rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .product-detail-meta {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PRODUCT CARD — Add to Cart variant
   ============================================================ */
/* Cards in catalog are now div wrappers (not bare <a>s) */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.product-card-actions {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--border);
}

.btn-add-to-cart {
  width: 100%;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}

.btn-add-to-cart:hover:not(:disabled) {
  background: var(--accent);
  color: #0a0a0f;
  transform: translateY(-1px);
}

.btn-add-to-cart.added {
  background: var(--accent);
  color: #0a0a0f;
}

.btn-add-to-cart:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: var(--border);
  color: var(--fg-dim);
}

/* ============================================================
   NAV — Cart icon & badge
   ============================================================ */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--fg-dim);
  padding: 0.4rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

.nav-cart:hover {
  color: var(--fg);
  background: var(--bg-accent);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   CART TOAST
   ============================================================ */
.cart-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg-card);
  border: 1px solid var(--accent);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.cart-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page {
  min-height: 60vh;
  padding: 3rem 2rem 5rem;
}

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

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.cart-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.cart-empty {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem;
  gap: 0.75rem;
}

.cart-empty-icon {
  font-size: 3rem;
  color: var(--fg-dim);
  margin-bottom: 0.5rem;
}

.cart-empty h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}

.cart-empty p {
  color: var(--fg-dim);
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item:first-child {
  border-top: 1px solid var(--border);
}

.cart-item-image-wrap {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-accent);
}

.cart-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-name:hover { color: var(--accent); }

.cart-item-unit-price {
  font-size: 0.82rem;
  color: var(--fg-dim);
  margin-top: 0.25rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-accent);
  color: var(--fg);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
  line-height: 1;
}

.qty-btn:hover { background: var(--border); }

.qty-value {
  width: 28px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-item-subtotal {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  width: 80px;
  text-align: right;
  flex-shrink: 0;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--fg-dim);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 4px;
  transition: color 0.12s;
  flex-shrink: 0;
}

.cart-item-remove:hover { color: var(--red); }

/* ============================================================
   CART SUMMARY PANEL (shared: cart + checkout)
   ============================================================ */
.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: sticky;
  top: 80px;
}

.cart-summary-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.45rem 0;
  gap: 0.5rem;
}

.cart-summary-row.muted {
  color: var(--fg-dim);
  font-size: 0.82rem;
}

.cart-summary-row.total {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.cart-summary-divider {
  border-top: 1px solid var(--border);
  margin: 0.75rem 0;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
}

.cart-notice {
  font-size: 0.78rem;
  color: var(--fg-dim);
  margin-top: 1rem;
  line-height: 1.5;
  text-align: center;
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-page {
  min-height: 60vh;
  padding: 3rem 2rem 5rem;
}

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

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.checkout-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.checkout-error {
  background: rgba(212, 68, 68, 0.12);
  border: 1px solid var(--red);
  color: var(--fg);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

.checkout-section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--fg);
}

.form-required { color: var(--accent); }
.form-optional { color: var(--fg-dim); font-size: 0.8rem; }

.form-input {
  width: 100%;
  background: var(--bg-accent);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  transition: border-color 0.15s;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
}

.form-input::placeholder { color: var(--fg-dim); }

.form-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

.checkout-notice-box {
  background: var(--bg-accent);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  color: var(--fg-dim);
  line-height: 1.6;
  margin-top: 1.5rem;
}

.checkout-notice-box strong {
  color: var(--fg);
}

.checkout-summary-col {
  position: sticky;
  top: 80px;
}

/* ============================================================
   CONFIRMATION PAGE
   ============================================================ */
.confirmation-page {
  min-height: 70vh;
  padding: 4rem 2rem 6rem;
}

.confirmation-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.confirmation-icon {
  width: 64px;
  height: 64px;
  background: rgba(201, 169, 78, 0.15);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  margin: 0 auto 1.5rem;
}

.confirmation-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.confirmation-ref {
  font-size: 0.9rem;
  color: var(--fg-dim);
  margin-bottom: 1rem;
}

.confirmation-lede {
  color: var(--fg-dim);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.confirmation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 1rem;
}

.confirmation-card-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  margin-bottom: 0.85rem;
}

.confirmation-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  gap: 0.75rem;
  font-size: 0.9rem;
}

.confirmation-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0.5rem;
}

.confirmation-item-name { flex: 1; }
.conf-qty { color: var(--fg-dim); }
.confirmation-item-price { font-weight: 600; white-space: nowrap; }

.confirmation-total-row {
  display: flex;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.confirmation-address {
  white-space: pre-line;
  color: var(--fg-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

.confirmation-message {
  color: var(--fg-dim);
  font-size: 0.9rem;
  font-style: italic;
}

.confirmation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE — cart + checkout
   ============================================================ */
@media (max-width: 768px) {
  .cart-grid,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-summary-col {
    position: static;
  }

  .cart-item {
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  .cart-item-subtotal {
    width: auto;
    margin-left: auto;
  }
}

@media (max-width: 400px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}