/* ═══════════════════════════════════════════
   SHOPNOVA — FULL E-COMMERCE SPA STYLESHEET
   ═══════════════════════════════════════════ */

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

:root {
  --bg:        #0d0d0f;
  --bg2:       #141417;
  --bg3:       #1c1c21;
  --surface:   #22222a;
  --surface2:  #2a2a35;
  --border:    rgba(255,255,255,0.08);
  --border2:   rgba(255,255,255,0.14);
  --accent:    #FF6B35;
  --accent2:   #ff8c5a;
  --gold:      #FFB800;
  --text:      #f0f0f5;
  --muted:     #9090a8;
  --muted2:    #6060780;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 8px 40px rgba(0,0,0,0.5);
  --transition:0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { cursor: pointer; font-family: inherit; border: none; }
ul { list-style: none; }

/* ══════════════════════ SCROLLBAR ══════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 99px; }

/* ══════════════════════ PAGE SYSTEM ══════════════════════ */
.page { display: none; }
.page.active { display: block; }

/* ══════════════════════ NAVBAR ══════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,15,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
}
.nav-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px; height: 100%;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.5px;
  cursor: pointer; flex-shrink: 0;
  color: var(--text);
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  padding: 6px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--accent); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search-wrap { position: relative; }
.nav-search {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 99px;
  padding: 8px 40px 8px 16px;
  color: var(--text); font-family: inherit; font-size: 14px;
  width: 240px; outline: none;
  transition: all var(--transition);
}
.nav-search:focus {
  width: 300px; border-color: var(--accent);
  background: var(--surface2);
}
.search-icon {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 20px; pointer-events: none;
}
.icon-btn {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); border-radius: 10px;
  padding: 8px 12px; font-size: 16px;
  transition: all var(--transition); position: relative;
}
.icon-btn:hover { background: var(--surface2); border-color: var(--accent); }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
}

/* ══════════════════════ CART DRAWER ══════════════════════ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6); opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: 380px; z-index: 201;
  background: var(--bg2);
  border-left: 1px solid var(--border2);
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h2 { font-family: 'Syne', sans-serif; font-size: 20px; }
.close-btn {
  background: var(--surface); border: none; color: var(--muted);
  width: 32px; height: 32px; border-radius: 8px;
  font-size: 14px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--transition);
}
.close-btn:hover { background: var(--surface2); color: var(--text); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty {
  text-align: center; color: var(--muted);
  padding: 60px 20px; font-size: 15px; line-height: 1.8;
}
.cart-empty span { color: var(--accent); cursor: pointer; }
.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.ci-emoji { font-size: 32px; width: 48px; text-align: center; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-size: 13px; font-weight: 500; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-qty-row { display: flex; align-items: center; gap: 6px; }
.ci-qty-row button {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); width: 26px; height: 26px; border-radius: 6px;
  font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.ci-qty-row button:hover { background: var(--surface2); }
.ci-qty-row span { min-width: 24px; text-align: center; font-size: 14px; }
.ci-remove { background: transparent !important; border: none !important; color: #e74c3c !important; font-size: 12px !important; }
.ci-price { font-weight: 600; font-size: 14px; color: var(--accent); white-space: nowrap; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 16px; }
.cart-total strong { color: var(--accent); font-size: 20px; }

/* ══════════════════════ BUTTONS ══════════════════════ */
.btn-primary {
  background: var(--accent);
  color: #fff; font-weight: 600;
  padding: 12px 28px; border-radius: 99px;
  font-family: 'DM Sans', sans-serif; font-size: 15px;
  border: 2px solid var(--accent);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.4);
}
.btn-primary.big { padding: 16px 36px; font-size: 16px; }
.btn-primary.full-width { width: 100%; justify-content: center; display: block; text-align: center; }
.btn-ghost {
  background: transparent; color: var(--text);
  padding: 12px 28px; border-radius: 99px;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  border: 2px solid var(--border2);
  transition: all var(--transition); cursor: pointer;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-buy-now {
  background: var(--gold); color: #1a0a00;
  padding: 16px 36px; border-radius: 99px; font-size: 16px; font-weight: 700;
  border: none; transition: all var(--transition);
}
.btn-buy-now:hover { background: #ffc826; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,184,0,0.4); }
.btn-wishlist {
  background: var(--surface); color: var(--text);
  padding: 16px 24px; border-radius: 99px; font-size: 15px;
  border: 1px solid var(--border2); transition: all var(--transition);
}
.btn-wishlist:hover { border-color: #e91e8c; color: #e91e8c; }

/* ══════════════════════ SECTIONS ══════════════════════ */
.section {
  max-width: 1440px; margin: 0 auto;
  padding: 64px 40px;
}
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 32px; font-weight: 700; letter-spacing: -0.5px;
}
.see-all { color: var(--accent); font-weight: 500; cursor: pointer; transition: opacity var(--transition); font-size: 14px; }
.see-all:hover { opacity: 0.7; }

/* ══════════════════════ HERO ══════════════════════ */
.hero {
  min-height: 90vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 80px 40px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.18;
}
.b1 { width: 700px; height: 700px; background: var(--accent); top: -200px; right: -100px; animation: blobFloat 8s ease-in-out infinite; }
.b2 { width: 500px; height: 500px; background: #7C4DFF; bottom: -100px; left: -150px; animation: blobFloat 10s ease-in-out infinite 2s; }
.b3 { width: 400px; height: 400px; background: var(--gold); top: 40%; left: 40%; animation: blobFloat 12s ease-in-out infinite 4s; }
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-30px) scale(1.08); }
}
.hero-content {
  position: relative; z-index: 1; max-width: 640px;
  animation: fadeUp 0.8s ease-out both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-block;
  background: rgba(255,107,53,0.15);
  color: var(--accent); border: 1px solid rgba(255,107,53,0.3);
  padding: 6px 16px; border-radius: 99px; font-size: 12px;
  font-weight: 600; letter-spacing: 1px; margin-bottom: 24px;
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -2px; margin-bottom: 24px;
}
.hero-title em { color: var(--accent); font-style: normal; }
.hero-sub { color: var(--muted); font-size: 18px; margin-bottom: 36px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.stat strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 28px; font-weight: 800; color: var(--text);
}
.stat span { font-size: 13px; color: var(--muted); }

.hero-visual {
  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
  width: 460px; height: 460px; z-index: 1;
}
.hero-ring {
  position: absolute; border-radius: 50%; border: 1px solid var(--border2);
  animation: ringRotate 20s linear infinite;
}
.r1 { width: 380px; height: 380px; top: 40px; left: 40px; }
.r2 { width: 460px; height: 460px; top: 0; left: 0; animation-direction: reverse; animation-duration: 30s; }
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.product-float {
  position: absolute; z-index: 2;
  animation: floatCard 4s ease-in-out infinite;
}
.pf1 { top: 20px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.pf2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 1s; }
.pf3 { bottom: 20px; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.pf4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 1.5s; }
@keyframes floatCard {
  0%,100% { transform-origin: center; margin-top: 0; }
  50% { margin-top: -12px; }
}
.pf-inner {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 16px 20px; text-align: center;
  font-size: 28px; white-space: nowrap;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  transition: transform var(--transition);
}
.pf-inner:hover { transform: scale(1.05); }
.pf-inner small { display: block; font-size: 11px; color: var(--muted); margin: 4px 0 2px; }
.pf-inner strong { display: block; font-size: 14px; color: var(--accent); font-weight: 700; }

/* ══════════════════════ CATEGORIES ══════════════════════ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 16px;
  text-align: center; cursor: pointer;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--cat-color) 0%, transparent 70%);
  opacity: 0; transition: opacity var(--transition);
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--cat-color); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.cat-card:hover::before { opacity: 0.08; }
.cat-emoji { font-size: 32px; margin-bottom: 10px; display: block; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cat-count { font-size: 11px; color: var(--muted); }

/* ══════════════════════ DEALS BANNER ══════════════════════ */
.deals-section { padding: 0 40px 64px; max-width: 1440px; margin: 0 auto; }
.deals-banner {
  background: linear-gradient(135deg, #1a0a02 0%, #2d1204 40%, #1a1a30 100%);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 20px; padding: 48px 60px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; overflow: hidden;
}
.deals-banner::before {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
}
.deals-label {
  display: inline-block; background: var(--accent);
  color: #fff; padding: 4px 12px; border-radius: 99px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  margin-bottom: 12px;
}
.deals-text h2 { font-family: 'Syne', sans-serif; font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.deals-text p { color: var(--muted); margin-bottom: 24px; }
.deals-timer { text-align: center; flex-shrink: 0; }
.timer-label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 12px; }
.timer-boxes { display: flex; align-items: center; gap: 8px; }
.tbox {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px; padding: 16px 20px; text-align: center; min-width: 72px;
}
.tbox span { font-family: 'Syne', sans-serif; font-size: 36px; font-weight: 800; color: var(--accent); display: block; line-height: 1; }
.tbox small { font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.tsep { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: var(--accent); }

/* ══════════════════════ PRIME BANNER ══════════════════════ */
.prime-banner {
  background: linear-gradient(135deg, #0a0a1a 0%, #14143a 50%, #0a0a1a 100%);
  border-top: 1px solid rgba(124,77,255,0.2);
  border-bottom: 1px solid rgba(124,77,255,0.2);
  padding: 40px;
}
.prime-content {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
}
.prime-icon { font-size: 40px; flex-shrink: 0; }
.prime-content div { flex: 1; }
.prime-content h3 { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; color: #a78bfa; margin-bottom: 4px; }
.prime-content p { color: var(--muted); font-size: 14px; }

/* ══════════════════════ PRODUCT CARDS ══════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: all var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.product-img {
  background: var(--bg3); height: 180px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-emoji { font-size: 72px; transition: transform var(--transition); }
.product-card:hover .product-emoji { transform: scale(1.1); }
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: 99px;
}
.discount-tag {
  position: absolute; top: 10px; right: 10px;
  background: #e74c3c; color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 99px;
}
.quick-wish {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  color: var(--text); width: 32px; height: 32px;
  border-radius: 8px; font-size: 14px; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.product-card:hover .quick-wish { opacity: 1; }
.quick-wish:hover { background: rgba(233,30,140,0.2); border-color: #e91e8c; color: #e91e8c; }

.product-body { padding: 16px; }
.product-cat { font-size: 11px; color: var(--accent); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px; }
.product-name { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; color: var(--text); }
.product-stars { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { color: var(--gold); font-size: 13px; }
.reviews-sm { font-size: 12px; color: var(--muted); }
.product-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.price-cur { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; color: var(--text); }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.btn-add-cart {
  width: 100%; padding: 10px; border-radius: var(--radius-sm);
  background: var(--bg3); color: var(--text);
  font-size: 13px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  border: 1px solid var(--border2); transition: all var(--transition);
}
.btn-add-cart:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* LIST VIEW */
.products-grid.list-view {
  grid-template-columns: 1fr;
}
.products-grid.list-view .product-card {
  display: flex; flex-direction: row;
}
.products-grid.list-view .product-img { width: 180px; height: 140px; flex-shrink: 0; }
.products-grid.list-view .product-body { flex: 1; }

/* NO RESULTS */
.no-results {
  grid-column: 1 / -1; text-align: center;
  padding: 80px 20px; color: var(--muted); font-size: 16px;
}

/* ══════════════════════ LISTING PAGE ══════════════════════ */
.listing-layout {
  max-width: 1440px; margin: 0 auto;
  display: flex; gap: 32px; padding: 40px;
  min-height: 80vh;
}
.sidebar { width: 220px; flex-shrink: 0; }
.sidebar-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin-bottom: 16px;
}
.sidebar-block h3 {
  font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.5px; color: var(--text); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.filter-list { display: flex; flex-direction: column; gap: 2px; }
.filter-item {
  padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 13px; color: var(--muted); cursor: pointer;
  transition: all var(--transition);
}
.filter-item:hover { background: var(--surface2); color: var(--text); }
.filter-item.active { background: rgba(255,107,53,0.12); color: var(--accent); font-weight: 600; }

.listing-main { flex: 1; min-width: 0; }
.listing-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.results-count { font-size: 14px; color: var(--muted); }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.sort-select {
  background: var(--surface); border: 1px solid var(--border2);
  color: var(--text); font-family: inherit; font-size: 13px;
  padding: 8px 12px; border-radius: var(--radius-sm); outline: none;
  cursor: pointer;
}
.sort-select option { background: var(--surface); }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); width: 36px; height: 36px;
  border-radius: var(--radius-sm); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.view-btn.active, .view-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.pagination {
  display: flex; gap: 8px; justify-content: center;
  padding: 40px 0;
}
.page-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-family: 'Syne', sans-serif; font-size: 14px;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
}

/* ══════════════════════ PRODUCT DETAIL ══════════════════════ */
.detail-container { max-width: 1440px; margin: 0 auto; padding: 40px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.breadcrumb span { cursor: pointer; transition: color var(--transition); }
.breadcrumb span:hover { color: var(--accent); }

.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  margin-bottom: 80px;
}

.detail-gallery { display: flex; flex-direction: column; gap: 16px; }
.gallery-main {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; height: 420px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.gallery-main::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,107,53,0.05) 0%, transparent 70%);
}
.gallery-placeholder { font-size: 140px; z-index: 1; animation: galleryPulse 3s ease-in-out infinite; }
@keyframes galleryPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.gallery-thumbs { display: flex; gap: 10px; }
.thumb {
  background: var(--surface); border: 2px solid var(--border);
  border-radius: 10px; width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; cursor: pointer; transition: all var(--transition);
}
.thumb.active, .thumb:hover { border-color: var(--accent); }

.detail-badge {
  display: inline-block; background: rgba(255,107,53,0.15);
  color: var(--accent); border: 1px solid rgba(255,107,53,0.3);
  padding: 4px 14px; border-radius: 99px; font-size: 12px; font-weight: 600;
  margin-bottom: 16px;
}
.detail-title {
  font-family: 'Syne', sans-serif;
  font-size: 36px; font-weight: 800; letter-spacing: -0.5px;
  line-height: 1.15; margin-bottom: 16px;
}
.detail-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.stars-row { display: flex; align-items: center; gap: 8px; }
.stars-row .stars { font-size: 18px; color: var(--gold); }
.review-count { font-size: 14px; color: var(--muted); }
.detail-sku { font-size: 12px; color: var(--muted); }

.price-block { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.price-current { font-family: 'Syne', sans-serif; font-size: 40px; font-weight: 800; color: var(--text); }
.price-original { font-size: 20px; color: var(--muted); text-decoration: line-through; }
.price-save {
  background: rgba(46,204,113,0.15); color: #2ecc71;
  border: 1px solid rgba(46,204,113,0.2);
  padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 600;
}

.detail-desc { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 28px; }

.detail-options { margin-bottom: 32px; display: flex; flex-direction: column; gap: 20px; }
.option-group label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; display: block; margin-bottom: 10px; }
.color-swatches { display: flex; gap: 10px; }
.swatch {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid transparent; cursor: pointer;
  transition: all var(--transition);
}
.swatch:hover, .swatch.active { border-color: var(--text); transform: scale(1.15); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); }
.qty-control {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--border2); border-radius: 10px;
  overflow: hidden; width: fit-content;
}
.qty-control button {
  background: var(--surface); color: var(--text);
  width: 40px; height: 40px; font-size: 20px;
  border: none; transition: background var(--transition);
}
.qty-control button:hover { background: var(--surface2); }
.qty-control span {
  width: 56px; text-align: center;
  font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700;
  background: var(--bg3); color: var(--text);
  height: 40px; display: flex; align-items: center; justify-content: center;
}

.detail-cta { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.delivery-info {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.delivery-row { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.delivery-row strong { color: var(--text); }

/* ══════════════════════ REVIEWS ══════════════════════ */
.reviews-section { margin-bottom: 80px; }
.reviews-section h2, .related-section h2 {
  font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 700;
  margin-bottom: 32px;
}
.reviews-summary {
  display: flex; gap: 40px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; margin-bottom: 32px;
}
.rating-big {
  font-family: 'Syne', sans-serif; font-size: 72px; font-weight: 800;
  color: var(--gold); line-height: 1; flex-shrink: 0;
}
.rating-bars { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.rbar { display: flex; align-items: center; gap: 12px; }
.rbar span:first-child { font-size: 12px; color: var(--gold); min-width: 24px; }
.bar-track {
  flex: 1; height: 8px; background: var(--bg3);
  border-radius: 99px; overflow: hidden;
}
.bar-fill { height: 100%; background: var(--gold); border-radius: 99px; transition: width 0.8s ease; }
.rbar span:last-child { font-size: 12px; color: var(--muted); min-width: 32px; }

.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color var(--transition);
}
.review-card:hover { border-color: var(--border2); }
.rev-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rev-name { font-weight: 600; font-size: 15px; }
.rev-stars { color: var(--gold); font-size: 14px; }
.rev-date { color: var(--muted); font-size: 13px; margin-left: auto; }
.rev-text { color: var(--muted); font-size: 14px; line-height: 1.7; }

.related-section { margin-bottom: 40px; }

/* ══════════════════════ CART TOAST ══════════════════════ */
.cart-toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--surface2); border: 1px solid rgba(255,107,53,0.3);
  color: var(--text); padding: 14px 28px; border-radius: 99px;
  font-size: 14px; font-weight: 500; z-index: 9999;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}
.cart-toast.show { transform: translateX(-50%) translateY(0); }

/* ══════════════════════ FOOTER ══════════════════════ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 40px 32px;
}
.footer-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800;
  margin-bottom: 16px; display: block;
}
.footer-logo span { color: var(--accent); }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-btn {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); width: 38px; height: 38px;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; transition: all var(--transition);
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-col h4 {
  font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.5px; color: var(--text); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--muted);
  margin-bottom: 10px; transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
}
.payment-icons { font-size: 13px; }

/* ══════════════════════ RESPONSIVE ══════════════════════ */
@media (max-width: 1200px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-search { width: 180px; }
  .listing-layout { flex-direction: column; padding: 24px; }
  .sidebar { width: 100%; }
  .filter-list { flex-direction: row; flex-wrap: wrap; }
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 24px; }
  .deals-banner { flex-direction: column; align-items: flex-start; gap: 32px; }
}
@media (max-width: 600px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cat-card { padding: 16px 8px; }
  .cat-emoji { font-size: 24px; }
  .cat-name { font-size: 11px; }
  .cat-count { display: none; }
  .hero-stats { gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .prime-content { flex-direction: column; text-align: center; }
  .cart-drawer { width: 100%; }
  .section { padding: 40px 20px; }
  .hero-title { font-size: 42px; letter-spacing: -1px; }
}
