/* ===========================================================
   JOVIT seasonal layer: Christmas 2026
   Pure decoration, switched on by <html class="season-xmas">.
   Deliberately adds NO copy, NO tint or scrim over photography,
   and NO translucent surfaces: the branch-hero rules still hold.
   Remove the class (or this file) after the season ends.
   =========================================================== */

:root {
  --xmas-green: #0d5c3a;
  --xmas-green-deep: #08402a;
  --xmas-gold: #d4af37;
  --xmas-gold-soft: #e8c96b;
  --xmas-red: #a8232f;
  --xmas-ivory: #fdfaf2;
}

/* A woven ribbon along the very top of the page: green, gold, red.
   Sits above the header, so nothing overlaps the hero photograph. */
.season-xmas body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 9999;
  background: linear-gradient(90deg,
    var(--xmas-green) 0%, var(--xmas-green) 34%,
    var(--xmas-gold) 34%, var(--xmas-gold) 66%,
    var(--xmas-red) 66%, var(--xmas-red) 100%);
  pointer-events: none;
}

/* Nav: gold hairline and a warm hover, still fully transparent over the photo. */
.season-xmas .navbar,
.season-xmas .nav {
  border-bottom: 0;
}
.season-xmas .nav-links a:hover,
.season-xmas .navbar a:hover {
  color: var(--xmas-gold-soft);
}

/* Primary actions get a gold ring rather than a recolour, so brand contrast holds. */
.season-xmas .btn-primary,
.season-xmas .btn-accent,
.season-xmas .btn {
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.55), 0 10px 24px rgba(8, 64, 42, 0.28);
}
.season-xmas .btn-primary:hover,
.season-xmas .btn-accent:hover {
  box-shadow: 0 0 0 2px var(--xmas-gold), 0 12px 28px rgba(8, 64, 42, 0.34);
}

/* Cards: a quiet gold edge on hover, no fills. */
.season-xmas .product-card:hover,
.season-xmas .branch-card:hover,
.season-xmas .card:hover,
.season-xmas .feature-card:hover {
  border-color: rgba(212, 175, 55, 0.7);
}

/* Section headings get a small gold ornament after the text. */
.season-xmas h2.section-title::after,
.season-xmas .section-heading::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 10px;
  vertical-align: middle;
  background: var(--xmas-gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Footer: a faint snowfall texture, drawn in CSS so there is no image to load. */
.season-xmas footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 38% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 62% 28%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 82% 74%, #fff 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 26% 86%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 72% 52%, #fff 50%, transparent 51%);
  background-size: 340px 340px;
}
.season-xmas footer { position: relative; }

/* Badges and pills pick up the seasonal palette without changing their shape. */
.season-xmas .badge,
.season-xmas .pill,
.season-xmas .region-tag {
  border-color: rgba(212, 175, 55, 0.5);
}

/* Prices stay legible but warm slightly toward gold. */
.season-xmas .price,
.season-xmas .product-price {
  color: var(--xmas-gold-soft);
}

/* Respect reduced motion and printing. */
@media (prefers-reduced-motion: reduce) {
  .season-xmas * { animation: none !important; }
}
@media print {
  .season-xmas body::before { display: none; }
}

/* ---- season crown: garland + flowing greeting, reserved so nothing collides ---- */
:root { --xmas-crown: 56px; }   /* 4px margin + 22px garland + 30px greeting strip */
.season-xmas .navbar { top: var(--xmas-crown); }
.season-xmas .hero { padding-top: calc(75px + var(--xmas-crown)); }
.season-xmas .page-hero,
.season-xmas .branch-hero { margin-top: var(--xmas-crown); }
.season-xmas .logo::after { top: -14px; }

/* branch pages fix their nav with higher specificity, so match it */
.season-xmas body.branch-page .navbar { top: var(--xmas-crown); }
.season-xmas body.branch-page .hero { padding-top: calc(var(--nav-h, 72px) + var(--xmas-crown)); }
