/* ── Temporada navideña Balmaseda (verano UY: jardín + luces) ── */

body.theme-navidad {
  --vz-bg: #f3f1eb;
  --vz-surface: #fffcf7;
  --vz-ink: #152019;
  --vz-muted: #5d6a60;
  --vz-line: #d9e0d8;
  --vz-black: #0e1612;
  --vz-accent: #9a7b3c;
  --xmas-forest: #1f3d32;
  --xmas-pine: #2f5a48;
  --xmas-gold: #c9a56a;
  --xmas-gold-soft: #e6d2a8;
  --xmas-berry: #8f3d3d;
  --xmas-night: #0f1a16;
  --accent: #2f5a48;
  --accent-light: #c9a56a;
  --accent-deep: #1f3d32;
  --accent-soft: rgba(47, 90, 72, 0.12);
  --accent-glow: rgba(201, 165, 106, 0.28);
  --header-line: rgba(201, 165, 106, 0.55);
}

body.theme-navidad {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(47, 90, 72, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(201, 165, 106, 0.1), transparent 50%),
    var(--vz-bg) !important;
}

/* Splash */
body.theme-navidad .splash {
  background: linear-gradient(155deg, #0c1411 0%, #163028 48%, #1a2218 100%);
}

body.theme-navidad .splash-glow {
  background: radial-gradient(circle, rgba(201, 165, 106, 0.4) 0%, transparent 70%);
}

body.theme-navidad .splash-text {
  color: var(--xmas-gold-soft);
  letter-spacing: 0.18em;
}

/* Header */
body.theme-navidad .header {
  position: sticky;
  background: linear-gradient(180deg, #fffefb 0%, #f7f4ee 100%) !important;
  border-bottom: 1px solid rgba(47, 90, 72, 0.14) !important;
}

body.theme-navidad .header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--xmas-forest) 0%,
    var(--xmas-gold) 28%,
    var(--xmas-berry) 52%,
    var(--xmas-gold) 74%,
    var(--xmas-forest) 100%
  );
  opacity: 0.9;
  pointer-events: none;
  z-index: 5;
}

body.theme-navidad .header.scrolled {
  background: rgba(255, 253, 248, 0.96) !important;
  box-shadow: 0 1px 0 rgba(47, 90, 72, 0.12) !important;
}

body.theme-navidad .logo-name {
  color: var(--xmas-forest) !important;
}

body.theme-navidad .nav-link:hover,
body.theme-navidad .nav-link.is-active {
  color: var(--xmas-forest) !important;
  background: rgba(47, 90, 72, 0.08) !important;
}

/* Promo / temporada */
body.theme-navidad .promo-banner {
  background: linear-gradient(105deg, #163028 0%, #1f3d32 55%, #2a2418 100%);
  border-bottom: 1px solid rgba(201, 165, 106, 0.25);
}

body.theme-navidad .promo-banner-text,
body.theme-navidad .promo-banner-text strong {
  color: #f4efe4;
}

body.theme-navidad .promo-banner-badge {
  background: var(--xmas-gold);
  color: #152019;
}

body.theme-navidad .promo-banner-cta {
  background: transparent;
  border: 1px solid rgba(230, 210, 168, 0.55);
  color: var(--xmas-gold-soft);
}

body.theme-navidad .promo-banner-cta:hover {
  background: rgba(201, 165, 106, 0.15);
  color: #fff;
}

/* Hero noche de jardín */
body.theme-navidad .hero--atelier {
  background:
    radial-gradient(ellipse 55% 55% at 82% 38%, rgba(201, 165, 106, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 45% at 18% 70%, rgba(47, 90, 72, 0.45), transparent 55%),
    linear-gradient(148deg, #0c1512 0%, #163028 40%, #1a1610 100%);
}

body.theme-navidad .hero-glow--warm {
  background: rgba(201, 165, 106, 0.32);
}

body.theme-navidad .hero-glow--soft {
  background: rgba(31, 61, 50, 0.55);
}

body.theme-navidad .hero-stage-shade {
  background:
    linear-gradient(105deg, rgba(10, 18, 15, 0.94) 0%, rgba(12, 22, 18, 0.78) 36%, rgba(12, 18, 15, 0.18) 68%, rgba(12, 16, 14, 0.5) 100%),
    linear-gradient(to top, rgba(8, 14, 12, 0.75) 0%, transparent 42%);
}

body.theme-navidad .hero-kicker {
  color: var(--xmas-gold-soft);
}

body.theme-navidad .hero-kicker::before {
  background: linear-gradient(90deg, var(--xmas-gold), transparent);
}

body.theme-navidad .hero--atelier .hero-brand {
  color: #f8f3e9;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.4);
}

body.theme-navidad .hero-stage-label {
  color: rgba(230, 210, 168, 0.92);
}

body.theme-navidad .hero-stage-dot.active {
  background: var(--xmas-gold);
}

body.theme-navidad .hero-stage-slide-badge {
  background: var(--xmas-berry);
}

body.theme-navidad .btn-hero-primary {
  background: linear-gradient(135deg, #d4b57a 0%, #b8914c 100%);
  color: #122019;
  box-shadow: 0 10px 28px rgba(184, 145, 76, 0.32);
}

body.theme-navidad .btn-hero-primary:hover {
  box-shadow: 0 14px 32px rgba(184, 145, 76, 0.42);
  color: #122019;
}

body.theme-navidad .btn-hero-ghost {
  border-color: rgba(230, 210, 168, 0.45);
  color: #f4efe4;
}

body.theme-navidad .btn-hero-ghost:hover {
  background: rgba(201, 165, 106, 0.12);
  border-color: rgba(230, 210, 168, 0.7);
}

/* Luces flotantes del hero */
.xmas-lights {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.xmas-lights span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--xmas-gold-soft, #e6d2a8);
  box-shadow: 0 0 10px rgba(230, 210, 168, 0.75);
  opacity: 0.35;
  animation: xmas-twinkle 3.6s ease-in-out infinite;
}

.xmas-lights span:nth-child(1) { top: 12%; left: 18%; animation-delay: 0s; }
.xmas-lights span:nth-child(2) { top: 22%; left: 62%; animation-delay: 0.4s; width: 4px; height: 4px; }
.xmas-lights span:nth-child(3) { top: 38%; left: 44%; animation-delay: 0.9s; }
.xmas-lights span:nth-child(4) { top: 58%; left: 72%; animation-delay: 1.2s; width: 3px; height: 3px; }
.xmas-lights span:nth-child(5) { top: 70%; left: 28%; animation-delay: 1.6s; }
.xmas-lights span:nth-child(6) { top: 16%; left: 84%; animation-delay: 2s; width: 4px; height: 4px; }
.xmas-lights span:nth-child(7) { top: 48%; left: 12%; animation-delay: 2.4s; }
.xmas-lights span:nth-child(8) { top: 78%; left: 55%; animation-delay: 2.8s; width: 3px; height: 3px; }
.xmas-lights span:nth-child(9) { top: 32%; left: 90%; animation-delay: 1.1s; }
.xmas-lights span:nth-child(10) { top: 64%; left: 8%; animation-delay: 0.6s; width: 4px; height: 4px; }

@keyframes xmas-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.85); }
  50% { opacity: 0.85; transform: scale(1.15); }
}

/* Guirnalda sutil bajo el hero */
body.theme-navidad .hero--atelier::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--xmas-forest) 12%,
    var(--xmas-gold) 28%,
    var(--xmas-berry) 50%,
    var(--xmas-gold) 72%,
    var(--xmas-forest) 88%,
    transparent 100%
  );
  opacity: 0.75;
}

/* Secciones */
body.theme-navidad .section-label {
  color: var(--xmas-pine) !important;
}

body.theme-navidad .section-label::before {
  background: var(--xmas-gold) !important;
}

body.theme-navidad .home-section h2,
body.theme-navidad .section-head h2 {
  color: var(--xmas-forest);
}

body.theme-navidad .btn-primary {
  background: var(--xmas-forest) !important;
  color: #f8f3e9 !important;
  border-color: var(--xmas-forest) !important;
}

body.theme-navidad .btn-primary:hover {
  background: #275040 !important;
}

body.theme-navidad .category-tab.active,
body.theme-navidad .category-tabs button.is-active {
  background: var(--xmas-forest) !important;
  color: #fff !important;
  border-color: var(--xmas-forest) !important;
}

body.theme-navidad .product-card:hover,
body.theme-navidad .category-card:hover {
  border-color: rgba(47, 90, 72, 0.35);
}

body.theme-navidad .cta-whatsapp {
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(201, 165, 106, 0.2), transparent 50%),
    linear-gradient(145deg, #0e1814 0%, #1a3228 55%, #14241d 100%) !important;
  color: #f7f2e8;
}

body.theme-navidad .cta-whatsapp .section-label {
  color: var(--xmas-gold-soft) !important;
}

body.theme-navidad .cta-whatsapp .section-label::before {
  background: var(--xmas-gold) !important;
}

body.theme-navidad .cta-whatsapp h2 {
  color: #fffef8 !important;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.15;
}

body.theme-navidad .cta-whatsapp p {
  color: rgba(247, 242, 232, 0.78) !important;
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
  font-size: 1.05rem;
}

body.theme-navidad .cta-whatsapp .btn-whatsapp {
  background: #25d366 !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28);
}

body.theme-navidad .cta-whatsapp-note {
  margin: -0.35rem auto 1.25rem !important;
  font-size: 0.88rem !important;
  color: rgba(230, 210, 168, 0.85) !important;
  letter-spacing: 0.02em;
}

body.theme-navidad .footer-season {
  margin-top: 0.65rem;
  color: var(--xmas-gold-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Footer */
body.theme-navidad .footer {
  background: #101a16 !important;
  border-top: 3px solid var(--xmas-gold);
}

body.theme-navidad .footer a:hover {
  color: var(--xmas-gold-soft);
}

/* Campaign sections */
body.theme-navidad .offers-section {
  background:
    linear-gradient(180deg, rgba(31, 61, 50, 0.06) 0%, transparent 40%),
    var(--vz-bg);
}

body.theme-navidad .gift-chips {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(31, 61, 50, 0.06);
  border: 1px solid rgba(31, 61, 50, 0.1);
}

body.theme-navidad .gift-chips-label {
  color: #1f3d32;
}

body.theme-navidad .brand-local-section {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(180, 40, 40, 0.06), transparent 55%),
    linear-gradient(180deg, #f7f1e8 0%, #efe6d8 100%);
}

body.theme-navidad .gift-guide-section {
  background: linear-gradient(180deg, #fffef9 0%, var(--vz-bg) 100%);
}

body.theme-navidad .gift-bucket.is-active {
  background: var(--xmas-forest);
  color: #fffef8;
  border-color: var(--xmas-forest);
}

body.theme-navidad .xmas-cat-tile::after {
  background: linear-gradient(to top, rgba(15, 26, 22, 0.88) 0%, transparent 58%);
}

body.theme-navidad .xmas-cat-tile span {
  font-family: var(--font-display, Fraunces, Georgia, serif);
  letter-spacing: -0.01em;
}

body.theme-navidad .local-card {
  border: 1px solid rgba(201, 165, 106, 0.35);
}

body.theme-navidad .promo-popup {
  border-color: rgba(201, 165, 106, 0.45);
}

body.theme-navidad .hero-campaign-photo img {
  filter: saturate(0.95) contrast(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .xmas-lights span {
    animation: none;
    opacity: 0.45;
  }
}
