/* ════════════════════════════════════════════════
   EdenKush CBD — 🎄 Thème Noël
   Chargé uniquement en mode Christmas
   ════════════════════════════════════════════════ */

body.ek-christmas {
  --ek-bg-primary:    #050d05;
  --ek-bg-secondary:  #070f07;
  --ek-bg-card:       #0c170c;
  --ek-accent-gold:   #ffd700;
  --ek-accent-purple: #cc0000;
  --ek-accent-neon:   #00e676;
  --ek-border:        rgba(255, 215, 0, 0.2);
  --ek-glow-gold:     0 0 20px rgba(255, 215, 0, 0.5);
}

/* Announcement bar : rouge noël */
body.ek-christmas #ek-announcement {
  background: linear-gradient(90deg, #8b0000, #cc0000, #8b0000) !important;
  background-size: 200% 100%;
  animation: slideGrad 3s linear infinite;
}

/* Header border : rouge-or */
body.ek-christmas #ek-header {
  border-bottom-color: rgba(204, 0, 0, 0.4);
}

/* Guirlande lumineuse en haut de page */
body.ek-christmas #ek-header::before {
  content: '🎄🔴🟢🔴🟢🎄🔴🟢🔴🟢🎄🔴🟢🔴🟢🎄🔴🟢🔴🟢🎄🔴🟢🔴🟢🎄';
  display: block;
  text-align: center;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.2rem 0;
  letter-spacing: 0.5rem;
  overflow: hidden;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

/* Hero : ambiance hivernal */
body.ek-christmas #ek-hero .ek-hero-bg {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 100, 0, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(204, 0, 0, 0.15) 0%, transparent 40%),
    var(--ek-bg-primary) !important;
}

/* Cards : accent rouge au hover */
body.ek-christmas .ek-product-card:hover,
body.ek-christmas .ek-product-card.is-featured {
  border-color: var(--ek-accent-purple);
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.4), 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Promo banner : vert sapin */
body.ek-christmas .ek-promo-banner {
  background: linear-gradient(135deg, #006400 0%, #003200 40%, var(--ek-bg-secondary) 100%);
  border-color: rgba(0, 200, 100, 0.3);
}

/* Boutons primaires : rouge noël */
body.ek-christmas .ek-btn-primary {
  background: linear-gradient(135deg, #cc0000, #8b0000);
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.4);
}
body.ek-christmas .ek-btn-primary:hover {
  box-shadow: 0 0 30px rgba(204, 0, 0, 0.7);
}

/* Section title underline : rouge */
body.ek-christmas .ek-section-title::after {
  background: linear-gradient(90deg, #cc0000, #006400);
}

/* Category cards : flocon badge */
body.ek-christmas .ek-category-card::after {
  content: '❄️';
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.5rem;
  z-index: 3;
  animation: snowSpin 4s ease-in-out infinite;
}

@keyframes snowSpin {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%       { transform: scale(1.2) rotate(20deg); }
}

/* Footer : ambiance hivernal */
body.ek-christmas #ek-footer {
  background: #050d05;
  border-top-color: rgba(204, 0, 0, 0.3);
}

body.ek-christmas .ek-footer-title {
  color: #ffd700;
}

/* Trust bar : séparateur festif */
body.ek-christmas .ek-trust-bar {
  border-color: rgba(204, 0, 0, 0.2);
}

/* Trust icons : or fête */
body.ek-christmas .ek-trust-icon {
  color: #ffd700;
}

/* Divider festif */
body.ek-christmas .ek-divider {
  background: linear-gradient(90deg, transparent, #cc0000, #ffd700, #006400, #ffd700, #cc0000, transparent);
}
body.ek-christmas .ek-divider::after {
  content: '🎄';
  background: var(--ek-bg-primary);
}

/* Footer bottom age warning */
body.ek-christmas .ek-age-warning {
  border-color: rgba(204, 0, 0, 0.4);
  color: #cc0000;
}

/* Age gate : thème noël */
body.ek-christmas #ek-agegate .ek-agegate-box {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 30px rgba(204, 0, 0, 0.3), 0 40px 80px rgba(0, 0, 0, 0.8);
}

/* Newsletter : décoration */
body.ek-christmas .ek-newsletter {
  background: linear-gradient(135deg, #050d05, rgba(0, 100, 0, 0.2));
  border-color: rgba(0, 200, 100, 0.2);
}

/* Neige overlay */
body.ek-christmas .ek-snow {
  display: block;
}

.ek-snow {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.ek-snowflake {
  position: absolute;
  top: -30px;
  color: rgba(255, 255, 255, 0.7);
  animation: snowfall linear infinite;
  user-select: none;
}

@keyframes snowfall {
  0% {
    transform: translateY(-30px) translateX(0) rotate(0deg);
    opacity: 0;
  }
  5% { opacity: 0.8; }
  95% { opacity: 0.6; }
  100% {
    transform: translateY(110vh) translateX(50px) rotate(720deg);
    opacity: 0;
  }
}

/* Badge promo : cadeau */
body.ek-christmas .ek-badge-promo::before {
  content: '🎁 ';
}

/* Input focus : vert sapin */
body.ek-christmas .ek-input:focus {
  border-color: #00e676;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
}

/* Carte produit featured : or fête */
body.ek-christmas .ek-product-card.is-featured {
  border-color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Announcement bar texte */
body.ek-christmas #ek-announcement::before {
  content: '🎄 ';
}
body.ek-christmas #ek-announcement::after {
  content: ' 🎁';
}
