/* ============================================
   BUYNEST MART — PREMIUM STYLESHEET 2026
   Dark Luxury E-Commerce Theme
============================================ */

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a24;
  --card-bg: #15151e;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,165,0,0.4);
  --gold: #f5a623;
  --gold-light: #ffc857;
  --gold-glow: rgba(245,166,35,0.15);
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #555;
  --white: #ffffff;
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-gold: 0 8px 32px rgba(245,166,35,0.2);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── LOADER ───────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-logo {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: #000;
  animation: logoPulse 1.5s ease infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px var(--gold-glow); }
  50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(245,166,35,0.4); }
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--bg3);
  border-radius: 2px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  animation: loadFill 1.5s ease forwards;
}
@keyframes loadFill { from { width: 0; } to { width: 100%; } }
.loader-inner p { color: var(--text-muted); font-size: 13px; letter-spacing: 0.08em; }

/* ── NAVBAR ───────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(10,10,15,0.97);
  border-color: rgba(245,166,35,0.15);
}

.navbar {
  max-width: 1300px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-icon { font-size: 22px; }
.nav-brand h1 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav-brand h1 em {
  font-style: normal;
  color: var(--gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.cart-count {
  background: #000;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  min-width: 20px;
  text-align: center;
  line-height: 1.4;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Search Dropdown */
.search-dropdown {
  display: none;
  padding: 16px 32px;
  border-top: 1px solid var(--border);
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
}
.search-dropdown.open { display: flex; align-items: center; gap: 12px; }
.search-dropdown input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
}
.search-dropdown input:focus {
  border-color: var(--gold);
  background: var(--card-bg);
}
.search-dropdown input::placeholder { color: var(--text-dim); }
.search-clear {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 8px;
  transition: var(--transition);
}
.search-clear:hover { color: var(--gold); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
}
.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--white); background: var(--bg3); }

/* ── HERO ─────────────────────────────────── */
.hero {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 32px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}
.orb1 {
  width: 500px; height: 500px;
  background: var(--gold);
  top: -100px; left: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb2 {
  width: 400px; height: 400px;
  background: #0059ff;
  bottom: 20%; right: -100px;
  animation: orbFloat 15s ease-in-out infinite reverse;
}
.orb3 {
  width: 300px; height: 300px;
  background: var(--gold-light);
  bottom: -50px; left: 40%;
  animation: orbFloat 10s ease-in-out infinite 3s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content { z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both 0.2s;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease both 0.35s;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeUp 0.8s ease both 0.5s;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 48px;
  animation: fadeUp 0.8s ease both 0.65s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245,166,35,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: fadeUp 0.8s ease both 0.8s;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 22px; font-weight: 700; color: var(--white); line-height: 1; }
.stat span { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 400px;
  animation: fadeUp 1s ease both 0.4s;
}

.floating-card {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  min-width: 180px;
}
.floating-card:hover { transform: translateY(-4px) scale(1.02); border-color: var(--border-hover); }
.floating-card img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}
.fc-info { display: flex; flex-direction: column; }
.fc-info span { font-size: 12px; color: var(--text-muted); }
.fc-info strong { font-size: 15px; color: var(--gold); font-weight: 700; }

.fc1 { top: 40px; right: 40px; animation: floatCard 6s ease-in-out infinite; }
.fc2 { top: 50%; left: 0; transform: translateY(-50%); animation: floatCard 8s ease-in-out infinite 1s; }
.fc3 { bottom: 40px; right: 20px; animation: floatCard 7s ease-in-out infinite 2s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.fc2 { animation: floatCard2 8s ease-in-out infinite 1s; }
@keyframes floatCard2 {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 12px)); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── TRUST BAR ────────────────────────────── */
.trust-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1300px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--bg3); }
.trust-item span { font-size: 28px; }
.trust-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--white); }
.trust-item p { font-size: 12px; color: var(--text-muted); }

/* ── SECTION HEADER ───────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  background: var(--gold-glow);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.section-header p { color: var(--text-muted); font-size: 16px; }

/* ── CATEGORIES ───────────────────────────── */
.categories {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 32px;
}

.category-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 36px;
  cursor: pointer;
  transition: var(--transition);
  min-width: 130px;
}
.cat-card:hover, .cat-card.active {
  border-color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-4px);
}
.cat-icon { font-size: 32px; }
.cat-card span { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.cat-card:hover span, .cat-card.active span { color: var(--gold); }

/* ── FILTER BAR ───────────────────────────── */
.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  border-color: transparent;
}

/* ── PRODUCTS ─────────────────────────────── */
.products-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
}
.card-badge.new { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
.card-badge.sale { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; }

.card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: var(--bg3);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img-wrap img { transform: scale(1.07); }

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.card:hover .card-overlay { opacity: 1; }
.quick-view {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.quick-view:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.card-info { padding: 18px 20px; }

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cat-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-glow);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.rating {
  font-size: 12px;
  color: var(--gold-light);
  font-weight: 600;
}

.card-info h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.card-desc {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-wrap { display: flex; align-items: baseline; gap: 8px; }
.price {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
}
.old-price {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.add-to-cart {
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.add-to-cart:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}
.add-to-cart.added {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
}

.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  grid-column: 1/-1;
}
.no-results div { font-size: 48px; margin-bottom: 16px; }
.no-results p { font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.no-results span { font-size: 14px; }

/* ── OFFER BANNER ─────────────────────────── */
.offer-banner {
  background: linear-gradient(135deg, #1a1205, #2a1d00);
  border-top: 1px solid rgba(245,166,35,0.2);
  border-bottom: 1px solid rgba(245,166,35,0.2);
  position: relative;
  overflow: hidden;
}
.offer-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.offer-tag {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.4);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.offer-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.offer-content p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
}
.offer-content strong {
  background: var(--card-bg);
  border: 1px dashed var(--gold);
  color: var(--gold);
  padding: 4px 14px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  letter-spacing: 0.1em;
}

.offer-decoration { position: absolute; inset: 0; pointer-events: none; }
.offer-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.1);
}
.c1 { width: 400px; height: 400px; top: -200px; left: -100px; }
.c2 { width: 300px; height: 300px; bottom: -150px; right: 100px; }

/* ── TOAST ────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--card-bg);
  border: 1px solid rgba(34,197,94,0.4);
  color: var(--text);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  transform: translateY(100px);
  opacity: 0;
  transition: 0.4s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-icon {
  width: 22px;
  height: 22px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── CART SIDEBAR ─────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -440px;
  width: 420px;
  height: 100vh;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 2001;
  transition: 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open { right: 0; }

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-badge {
  background: var(--gold);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  font-family: var(--font-body);
}
.close-btn {
  width: 36px;
  height: 36px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.close-btn:hover { border-color: var(--gold); color: var(--gold); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 10px;
  color: var(--text-muted);
  padding: 40px 0;
}
.empty-icon { font-size: 48px; margin-bottom: 8px; }
.cart-empty p { font-size: 16px; font-weight: 600; color: var(--text); }
.cart-empty span { font-size: 13px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.cart-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}
.ci-info { flex: 1; }
.ci-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.ci-price { font-size: 14px; color: var(--gold); font-weight: 700; }
.ci-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.qty-num { font-size: 13px; font-weight: 600; color: var(--text); min-width: 20px; text-align: center; }
.ci-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: var(--transition);
}
.ci-remove:hover { color: var(--danger); }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cart-total span { font-size: 15px; color: var(--text-muted); }
.cart-total strong { font-size: 22px; font-weight: 700; color: var(--gold-light); }
.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  border: none;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ── MODAL ────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  padding: 20px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0;
  max-width: 520px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transform: scale(0.9);
  transition: 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.open .modal-box { transform: scale(1); }

.modal-box img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.modal-info { padding: 28px; }
.modal-info h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.modal-info p { color: var(--text-muted); margin-bottom: 16px; }
.modal-price { font-size: 28px; font-weight: 700; color: var(--gold-light); margin-bottom: 20px; }
.modal-cart-btn { width: 100%; justify-content: center; font-size: 16px; padding: 15px; }

/* ── FOOTER ───────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.footer-top {
  max-width: 1300px;
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand h3 em { font-style: normal; color: var(--gold); }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px;
  height: 38px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition);
}
.social-links a:hover { border-color: var(--gold); background: var(--gold-glow); transform: translateY(-2px); }

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 6px; }

.footer-newsletter h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer-newsletter p { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }

.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form input::placeholder { color: var(--text-dim); }
.newsletter-form button {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); transform: translateY(-1px); }

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { color: var(--text-dim); font-size: 13px; }
.payment-icons { display: flex; gap: 12px; font-size: 20px; }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-brand h1 { font-size: 18px; }
  .hero { padding: 60px 20px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { gap: 16px; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .categories, .products-section { padding: 60px 20px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .footer-top { grid-template-columns: 1fr; padding: 40px 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cart-sidebar { width: 100%; right: -100%; }
  .search-dropdown { padding: 12px 20px; }
  .toast { right: 16px; bottom: 16px; left: 16px; }
}

@media (max-width: 480px) {
  .trust-bar { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; }
  .trust-item:nth-child(odd) { border-right: none; }
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 12px; }
}

/* ── SCROLL ANIMATIONS ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}