/* ============================================================
   PLEYIA — Premium Dark Commerce 2025
   Stack: Vanilla CSS | Dark Mode | Glassmorphism | Animations
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Colors - Modern Studio Theme */
  --bg-deep:        #181e29;
  --bg-surface:     rgba(255, 255, 255, 0.92);
  --bg-card:        rgba(255, 255, 255, 0.95);
  --bg-card-hover:  #ffffff;
  --glass-bg:       rgba(255, 255, 255, 0.88);
  --glass-border:   rgba(255, 255, 255, 0.6);
  --glass-hover:    rgba(255, 255, 255, 1);

  --accent:         #4f46e5;
  --accent-2:       #7c3aed;
  --accent-3:       #0284c7;
  --gold:           #f59e0b;
  --red:            #38bdf8;
  --green:          #10b981;

  --text-primary:   #0f172a;
  --text-secondary: #334155;
  --text-muted:     #64748b;
  --text-accent:    #4f46e5;

  --gradient-hero:  linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,41,59,0.75) 100%);
  --gradient-card:  linear-gradient(145deg, rgba(255,255,255,0.9), rgba(248,250,252,0.8));
  --gradient-btn:   linear-gradient(135deg, #4f46e5, #7c3aed);
  --gradient-gold:  linear-gradient(135deg, #f59e0b, #d97706);

  /* Spacing */
  --nav-h: 72px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm:   0 4px 12px rgba(15,23,42,0.06);
  --shadow-md:   0 12px 36px rgba(15,23,42,0.1);
  --shadow-lg:   0 20px 50px rgba(15,23,42,0.16);
  --shadow-glow: 0 0 30px rgba(79,70,229,0.2);
  --shadow-gold: 0 0 25px rgba(245,158,11,0.3);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-med:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: #f1f5f9 url('images/hero-bg-light.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ── AMBIENT OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}

/* ── HEADER STYLE CDISCOUNT ── */
.cd-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Topbar Bleue */
.cd-topbar {
  background: #2563eb; /* Bleu Cdiscount vibrant */
  padding: 10px 0;
}

.cd-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo Pleyia Style Cdiscount */
.cd-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.cd-logo-badge {
  width: 32px;
  height: 32px;
  background: #ffffff;
  color: #2563eb;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
}

.cd-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  font-style: italic;
}

.cd-logo-dot {
  color: #f87171;
  font-size: 20px;
}

/* Barre de recherche Cdiscount */
.cd-search-wrap {
  flex: 1;
  max-width: 650px;
  position: relative;
  display: flex;
  align-items: center;
}

.cd-search-input {
  width: 100%;
  height: 44px;
  padding: 0 54px 0 20px;
  border-radius: 100px;
  border: none;
  font-size: 14px;
  outline: none;
  background: #ffffff;
  color: #0f172a;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.cd-search-input::placeholder {
  color: #64748b;
}

.cd-search-btn {
  position: absolute;
  right: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cd-search-btn:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

/* Actions Droite */
.cd-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cd-action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.cd-action-link:hover {
  opacity: 0.85;
}

/* Multi-language Selector CSS */
.cd-lang-selector {
  position: relative;
}

.cd-lang-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cd-lang-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lang-flag {
  font-size: 16px;
}

.lang-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.cd-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid #e2e8f0;
  min-width: 140px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.cd-lang-selector.open .cd-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cd-lang-selector.open .lang-arrow {
  transform: rotate(180deg);
}

.cd-lang-option {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cd-lang-option:hover {
  background: #f1f5f9;
  color: #2563eb;
}

.cd-lang-option.active {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 800;
}

.cd-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cd-cart-icon-wrap {
  position: relative;
  font-size: 20px;
}

.cd-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #0284c7;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #2563eb;
}

/* Sub-barre Pills */
.cd-subnav {
  background: #1d4ed8;
  padding: 6px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cd-subnav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
}

.cd-btn-menu {
  background: #1e40af;
  color: #ffffff;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.cd-pills-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.cd-pill {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}

.cd-pill:hover {
  background: rgba(255,255,255,0.3);
}

.pill-promos {
  background: rgba(255,255,255,0.25);
  font-weight: 700;
}

/* Bandeau Promo Reposant & Élégant */
.cd-promo-banner {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #38bdf8;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}

.nav-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--glass-bg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 18px;
  transition: all var(--t-fast);
  position: relative;
}

.nav-btn-icon:hover {
  background: var(--glass-hover);
  color: var(--text-primary);
  border-color: rgba(108,99,255,0.4);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background: var(--gradient-btn);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  opacity: 0;
  transform: scale(0);
  transition: all var(--t-fast);
}

.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 145px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFly var(--dur, 8s) var(--delay, 0s) ease-in-out infinite;
}

@keyframes particleFly {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-10vh) translateX(var(--drift, 20px)); opacity: 0; }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 24px;
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.5); opacity: 0.7; }
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.hero-title .line-accent {
  background: linear-gradient(135deg, #6c63ff, #a855f7, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gradient-btn);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 8px 32px rgba(108,99,255,0.4);
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(108,99,255,0.55);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--t-med);
}

.btn-outline:hover {
  border-color: rgba(108,99,255,0.5);
  color: var(--text-primary);
  background: rgba(108,99,255,0.08);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  animation: fadeInUp 0.7s 0.4s ease both;
}

.stat-item { text-align: center; }

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Hero Visual Side — CARROUSEL VENTE FLASH GRAND FORMAT CDISCOUNT */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-flash-wrapper {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12), 0 0 30px rgba(79, 70, 229, 0.15);
  overflow: hidden;
}

/* Header Ventes Flash - Bleu Nuit & Violet Élégant */
.flash-header {
  background: linear-gradient(135deg, #312e81, #4338ca);
  color: #ffffff;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flash-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.flash-icon-anim {
  color: #38bdf8;
  font-size: 20px;
  animation: pulse 1s infinite alternate;
}

.flash-timer {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.timer-unit {
  color: #38bdf8;
}

/* Carte Flash Produit en disposition Horizontale Ultra Claire */
.hero-flash-card {
  position: relative;
  padding: 30px 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.flash-badge-discount {
  position: absolute;
  top: 20px;
  right: 24px;
  background: linear-gradient(135deg, #4338ca, #6366f1);
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  padding: 6px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
  z-index: 2;
}

.hero-flash-img-wrap {
  width: 280px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #e2e8f0;
}

.hero-flash-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.hero-flash-card:hover .hero-flash-img-wrap img {
  transform: scale(1.06);
}

.flash-card-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flash-brand {
  font-size: 12px;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.flash-prod-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.flash-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 4px;
}

.flash-price-new {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: #1e1b4b;
}

.flash-price-old {
  font-size: 18px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

/* Barre de stock */
.flash-stock-bar {
  width: 100%;
  max-width: 380px;
  height: 8px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
  margin-top: 4px;
}

.stock-progress {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  border-radius: 100px;
}

.flash-stock-txt {
  font-size: 12px;
  color: #4f46e5;
  font-weight: 700;
}

/* Bouton J'en profite */
.btn-flash-cart {
  width: fit-content;
  padding: 14px 32px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  margin-top: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-flash-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* Contrôles carrousel */
.flash-nav-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.flash-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.flash-nav-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.flash-dots {
  display: flex;
  gap: 8px;
}

.flash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.flash-dot.active {
  width: 24px;
  border-radius: 100px;
  background: #2563eb;
}

.flash-price-old {
  font-size: 14px;
  color: #94a3b8;
  text-decoration: line-through;
}

/* Barre de stock */
.flash-stock-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 100px;
  overflow: hidden;
  margin-top: 8px;
}

.stock-progress {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  border-radius: 100px;
}

.flash-stock-txt {
  font-size: 11px;
  color: #0284c7;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Bouton J'en profite */
.btn-flash-cart {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-flash-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

/* Contrôles carrousel */
.flash-nav-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.flash-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
}

.flash-nav-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.flash-dots {
  display: flex;
  gap: 6px;
}

.flash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.flash-dot.active {
  width: 20px;
  border-radius: 100px;
  background: #2563eb;
}
  box-shadow: var(--shadow-gold);
  --float-dur: 5s;
  --float-delay: 1s;
  --float-y: -10px;
}

.hero-card-badge-float {
  position: absolute;
  top: 20px;
  right: -30px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  --float-dur: 7s;
  --float-delay: 0.5s;
  --float-y: -12px;
}

/* ── SECTION BASE ── */
section {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── CATEGORIES SECTION ── */
.categories-section {
  padding: 100px 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--t-med);
  text-align: center;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity var(--t-med);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108,99,255,0.4);
  box-shadow: var(--shadow-glow);
}

.category-card:hover::before { opacity: 1; }

.category-card.active {
  border-color: rgba(108,99,255,0.6);
  background: rgba(108,99,255,0.1);
  box-shadow: var(--shadow-glow);
}

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(108,99,255,0.3);
  position: relative;
  z-index: 1;
  transition: transform var(--t-med);
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
}

.category-card[data-cat="informatique"] .category-icon {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  box-shadow: 0 8px 24px rgba(6,182,212,0.3);
}

.category-card[data-cat="electromenager"] .category-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 24px rgba(16,185,129,0.3);
}

.category-card[data-cat="vinted"] .category-icon {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 8px 24px rgba(245,158,11,0.3);
}

.category-name {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.category-count {
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* ── TRUST BANNER ── */
.trust-banner {
  padding: 48px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(108,99,255,0.02);
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.trust-item-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-item-text span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── PRODUCTS SECTION ── */
.products-section {
  padding: 100px 0;
}

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
}

.filter-tab:hover {
  border-color: rgba(108,99,255,0.4);
  color: var(--text-primary);
}

.filter-tab.active {
  background: var(--gradient-btn);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(108,99,255,0.4);
}

.products-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.products-count {
  font-size: 13px;
  color: var(--text-muted);
}

.sort-select {
  padding: 8px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  outline: none;
}

.sort-select option { background: var(--bg-card); color: var(--text-primary); }

/* ── PRODUCT GRID ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ── PRODUCT CARD ── */
.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t-med);
  group: true;
  animation: fadeInUp var(--t-slow) both;
  animation-delay: var(--card-delay, 0s);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(108,99,255,0.35);
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.5);
  background: var(--bg-card-hover);
}

/* Image Container */
.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.04));
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform var(--t-slow);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

/* Product Actions (on hover) */
.product-actions {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: all var(--t-med);
  white-space: nowrap;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.prod-action-btn {
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--t-fast);
}

.prod-action-btn.btn-cart {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 16px rgba(108,99,255,0.4);
}

.prod-action-btn.btn-cart:hover { transform: scale(1.05); }

.prod-action-btn.btn-view {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.prod-action-btn.btn-view:hover { background: rgba(255,255,255,0.15); }

/* Wishlist */
.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--t-fast);
  opacity: 0;
  transform: scale(0.8);
}

.product-card:hover .product-wishlist {
  opacity: 1;
  transform: scale(1);
}

.product-wishlist:hover { background: rgba(236,72,153,0.2); }
.product-wishlist.active { color: #ec4899; background: rgba(236,72,153,0.15); opacity: 1; transform: scale(1); }

/* Badges */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new {
  background: var(--gradient-btn);
  color: #fff;
}

.badge-promo {
  background: var(--gradient-gold);
  color: #fff;
}

.badge-stock {
  background: rgba(16,185,129,0.2);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--green);
}

/* Product Info */
.product-info {
  padding: 16px;
}

.product-category-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stars */
.product-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star { color: var(--gold); font-size: 12px; }
.star.empty { color: var(--text-muted); }

.stars-count {
  font-size: 12px;
  color: var(--text-muted);
}

/* Price */
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-current {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #1e3a8a; /* Bleu marine très sombre ultra lisible */
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: initial;
}

.price-old {
  font-size: 13px;
  color: #64748b; /* Gris ardoise lisible */
  text-decoration: line-through;
  font-weight: 600;
}

.price-save {
  font-size: 11px;
  font-weight: 800;
  color: #15803d; /* Vert forêt très lisible */
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 6px;
}
  background: rgba(16,185,129,0.1);
  padding: 2px 7px;
  border-radius: 100px;
}

.quick-add-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
  transition: all var(--t-fast);
  box-shadow: 0 4px 12px rgba(108,99,255,0.4);
}

.quick-add-btn:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(108,99,255,0.6);
}

/* ── PROMO BANNER ── */
.promo-section {
  padding: 0 0 100px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.promo-card {
  border-radius: var(--radius-xl);
  padding: 48px;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--glass-border);
}

.promo-card-1 {
  background: linear-gradient(135deg, #1a1040 0%, #0d0826 100%);
}

.promo-card-2 {
  background: linear-gradient(135deg, #0a1a2e 0%, #051220 100%);
}

.promo-card-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.promo-card-1 .promo-card-bg {
  background: radial-gradient(ellipse 60% 60% at 80% 20%, rgba(108,99,255,0.25), transparent 70%);
}

.promo-card-2 .promo-card-bg {
  background: radial-gradient(ellipse 60% 60% at 20% 80%, rgba(245,158,11,0.2), transparent 70%);
}

.promo-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-accent);
  margin-bottom: 12px;
  position: relative;
}

.promo-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 12px;
  position: relative;
}

.promo-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  position: relative;
}

.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-accent);
  transition: gap var(--t-fast);
  position: relative;
}

.promo-link:hover { gap: 12px; }

/* ── PRODUCT MODAL ── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open,
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  position: fixed !important;
  top: 100px !important;
  left: 50% !important;
  transform: translateX(-50%) scale(0.95) !important;
  z-index: 99999 !important;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.3);
  margin: 0 auto;
}

.modal-container.active {
  opacity: 1 !important;
  pointer-events: all !important;
  transform: translateX(-50%) scale(1) !important;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--t-med);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px 24px 0;
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.modal-close:hover {
  background: rgba(239,68,68,0.2);
  color: var(--red);
  border-color: rgba(239,68,68,0.3);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 16px 32px 32px;
}

.modal-img-side {
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  border: 1px solid var(--glass-border);
  padding: 20px;
}

.modal-img-side img {
  max-height: 300px;
  object-fit: contain;
}

.modal-info-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.modal-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.modal-price {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-price-old {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.modal-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-height: 160px;
  overflow-y: auto;
  padding-right: 8px;
}

.modal-desc::-webkit-scrollbar { width: 4px; }
.modal-desc::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 2px; }

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.modal-btn-cart {
  flex: 1;
  padding: 14px;
  background: var(--gradient-btn);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--t-med);
  box-shadow: 0 8px 24px rgba(108,99,255,0.4);
}

.modal-btn-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(108,99,255,0.55);
}

.modal-btn-ebay {
  padding: 14px 20px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.modal-btn-ebay:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── CART DRAWER ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index: 1900;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med);
}

.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--glass-border);
  z-index: 1901;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-med);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}

.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.cart-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.cart-close-btn:hover { background: var(--glass-hover); color: var(--text-primary); }

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
}

.cart-empty-icon { font-size: 64px; }
.cart-empty p { font-size: 15px; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  position: relative;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  object-fit: contain;
  padding: 6px;
  flex-shrink: 0;
}

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

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-accent);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.qty-btn:hover { background: var(--glass-hover); color: var(--text-primary); }

.qty-value {
  font-size: 14px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

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

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-card);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cart-total-label { font-size: 14px; color: var(--text-secondary); }
.cart-total-value {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-savings {
  font-size: 12px;
  color: var(--green);
  margin-bottom: 20px;
}

.btn-checkout {
  width: 100%;
  padding: 16px;
  background: var(--gradient-btn);
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--t-med);
  box-shadow: 0 8px 32px rgba(108,99,255,0.4);
  margin-bottom: 12px;
}

.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(108,99,255,0.55); }

.btn-continue {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.btn-continue:hover { background: var(--glass-bg); color: var(--text-primary); }

/* ── TOAST NOTIFICATION ── */
.toast-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  backdrop-filter: blur(12px);
  pointer-events: all;
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  min-width: 280px;
  max-width: 360px;
}

.toast.hide {
  animation: toastOut 0.3s ease both;
}

@keyframes toastIn {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(120%); opacity: 0; }
}

.toast-icon { font-size: 20px; flex-shrink: 0; }
.toast-success { border-left: 3px solid var(--green); }
.toast-info    { border-left: 3px solid var(--accent); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 60px 0 32px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.social-btn:hover {
  background: rgba(108,99,255,0.15);
  border-color: rgba(108,99,255,0.4);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer-col ul li a:hover { color: var(--text-primary); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-badges {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-badge {
  padding: 4px 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── LOAD MORE ── */
.load-more-wrap {
  text-align: center;
  margin-top: 48px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--t-med);
}

.btn-load-more:hover {
  border-color: rgba(108,99,255,0.5);
  background: rgba(108,99,255,0.08);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ── MOBILE HAMBURGER ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--t-fast);
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px;
  }
  .hero-visual { display: none; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .promo-grid { grid-template-columns: 1fr; }
  .modal-body { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .nav-search { display: none; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-items { gap: 32px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-drawer { width: 100vw; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .toast-container { left: 16px; right: 16px; bottom: 16px; }
  .toast { min-width: unset; }
}

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