/* Thème Noël ClickPrint3D (intensité moyenne) — actif si html.theme-xmas */
html.theme-xmas {
  --xmas-red: #e23d4d;
  --xmas-gold: #e0b34a;
  --xmas-green: #2f8f6b;
  --xmas-cream: #fff6e4;
}
/* Ambiance : voiles rouge / or plus marqués, sans masquer le fond sombre */
html.theme-xmas body {
  background-image:
    radial-gradient(ellipse 90% 50% at 5% -15%, rgba(226, 61, 77, .22), transparent 55%),
    radial-gradient(ellipse 80% 45% at 95% -5%, rgba(224, 179, 74, .18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(47, 143, 107, .08), transparent 55%);
}
html.theme-xmas .site-header {
  border-bottom: 1px solid rgba(224, 179, 74, .35);
  box-shadow: 0 1px 0 rgba(226, 61, 77, .2), 0 16px 48px rgba(226, 61, 77, .12);
  background: linear-gradient(180deg, rgba(226, 61, 77, .08), transparent 70%);
}
html.theme-xmas .main-nav a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(226, 61, 77, .28), rgba(224, 179, 74, .18));
  box-shadow: inset 0 0 0 1px rgba(224, 179, 74, .5);
  color: var(--xmas-cream);
}
html.theme-xmas .main-nav a:hover {
  box-shadow: inset 0 0 0 1px rgba(224, 179, 74, .4);
}
/* Boutons : dégradé festif tout en gardant la forme capsule */
html.theme-xmas .btn-primary {
  background: linear-gradient(115deg, #c92a3a 0%, #e23d4d 35%, #d4a017 100%) !important;
  border-color: rgba(224, 179, 74, .55) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 14px 36px -8px rgba(226, 61, 77, .55),
    0 0 0 1px rgba(224, 179, 74, .35);
}
html.theme-xmas .btn-primary:hover {
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .4),
    0 18px 42px -8px rgba(226, 61, 77, .65),
    0 0 0 1px rgba(224, 179, 74, .5);
}
html.theme-xmas .btn-ghost {
  border-color: rgba(224, 179, 74, .4);
  color: var(--xmas-cream);
}
html.theme-xmas .brand::after {
  content: "❄";
  color: var(--xmas-gold);
  font-size: .85em;
  margin-left: .4em;
  vertical-align: baseline;
  opacity: .95;
  text-shadow: 0 0 12px rgba(224, 179, 74, .7), 0 0 2px rgba(226, 61, 77, .5);
}
/* Bandeau message : plus visible */
.xmas-banner {
  display: none;
  position: relative;
  z-index: 40;
  text-align: center;
  font: 650 .95rem/1.45 var(--f-body, system-ui, sans-serif);
  letter-spacing: .01em;
  color: #fffaf0;
  padding: .75rem 1.25rem;
  background:
    linear-gradient(90deg, #b81f2e 0%, #e23d4d 22%, #2f8f6b 50%, #d4a017 78%, #b81f2e 100%);
  background-size: 200% 100%;
  animation: xmas-banner-shine 12s ease-in-out infinite;
  border-bottom: 2px solid rgba(224, 179, 74, .65);
  box-shadow: 0 8px 28px rgba(226, 61, 77, .25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
html.theme-xmas .xmas-banner:not([hidden]) { display: block; }
html.theme-xmas .xmas-banner::before,
html.theme-xmas .xmas-banner::after {
  content: "✦";
  color: var(--xmas-gold);
  margin: 0 .55em;
  opacity: .9;
  text-shadow: 0 0 8px rgba(224, 179, 74, .6);
}
@keyframes xmas-banner-shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
/* Boutique : prix, cartes, panier */
html.theme-xmas .shop-price,
html.theme-xmas [data-price],
html.theme-xmas .price {
  color: var(--xmas-gold);
  text-shadow: 0 0 18px rgba(224, 179, 74, .35);
}
html.theme-xmas .shop-card,
html.theme-xmas .product-card,
html.theme-xmas .card.shop,
html.theme-xmas .shop-tile {
  box-shadow: 0 0 0 1px rgba(224, 179, 74, .22), 0 16px 40px rgba(226, 61, 77, .08);
}
html.theme-xmas .shop-card:hover,
html.theme-xmas .product-card:hover {
  box-shadow: 0 0 0 1px rgba(224, 179, 74, .45), 0 20px 48px rgba(226, 61, 77, .16);
}
html.theme-xmas .cart-count:not([hidden]) {
  background: var(--xmas-red) !important;
  box-shadow: 0 0 12px rgba(226, 61, 77, .7);
}
html.theme-xmas .cta-box,
html.theme-xmas .hero-actions .btn-primary {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 16px 40px -8px rgba(226, 61, 77, .55),
    0 0 0 1px rgba(224, 179, 74, .4);
}
html.theme-xmas .eyebrow,
html.theme-xmas .section-kicker {
  color: var(--xmas-gold);
}
html.theme-xmas h1 em,
html.theme-xmas .hero h1 em {
  background: linear-gradient(115deg, #5ec4ff, #e23d4d 45%, #e0b34a);
  -webkit-background-clip: text;
  background-clip: text;
}
/* Flocons plus présents (calque dédié) */
.xmas-snow {
  display: none;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: hidden;
}
html.theme-xmas .xmas-snow { display: block; }
.xmas-snow span {
  position: absolute;
  top: -10%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 0 6px rgba(255, 255, 255, .55), 0 0 1px rgba(224, 179, 74, .4);
  animation: xmas-fall linear infinite;
  opacity: .72;
}
.xmas-snow span:nth-child(3n) {
  width: 7px; height: 7px;
  background: rgba(255, 248, 220, .92);
  box-shadow: 0 0 8px rgba(224, 179, 74, .55);
  opacity: .8;
}
.xmas-snow span:nth-child(5n) {
  width: 3px; height: 3px;
  opacity: .55;
}
.xmas-snow span:nth-child(1)  { left: 4%;  animation-duration: 11s; animation-delay: 0s; }
.xmas-snow span:nth-child(2)  { left: 9%;  animation-duration: 15s; animation-delay: -2s; }
.xmas-snow span:nth-child(3)  { left: 14%; animation-duration: 10s; animation-delay: -5s; }
.xmas-snow span:nth-child(4)  { left: 20%; animation-duration: 17s; animation-delay: -1s; }
.xmas-snow span:nth-child(5)  { left: 26%; animation-duration: 12s; animation-delay: -7s; }
.xmas-snow span:nth-child(6)  { left: 32%; animation-duration: 14s; animation-delay: -3s; }
.xmas-snow span:nth-child(7)  { left: 38%; animation-duration: 9s;  animation-delay: -8s; }
.xmas-snow span:nth-child(8)  { left: 44%; animation-duration: 16s; animation-delay: -4s; }
.xmas-snow span:nth-child(9)  { left: 50%; animation-duration: 13s; animation-delay: -6s; }
.xmas-snow span:nth-child(10) { left: 56%; animation-duration: 18s; animation-delay: -2.5s; }
.xmas-snow span:nth-child(11) { left: 62%; animation-duration: 11s; animation-delay: -9s; }
.xmas-snow span:nth-child(12) { left: 68%; animation-duration: 15s; animation-delay: -1.5s; }
.xmas-snow span:nth-child(13) { left: 74%; animation-duration: 10s; animation-delay: -5.5s; }
.xmas-snow span:nth-child(14) { left: 80%; animation-duration: 14s; animation-delay: -3.5s; }
.xmas-snow span:nth-child(15) { left: 86%; animation-duration: 12s; animation-delay: -7.5s; }
.xmas-snow span:nth-child(16) { left: 92%; animation-duration: 16s; animation-delay: -0.5s; }
.xmas-snow span:nth-child(17) { left: 7%;  animation-duration: 19s; animation-delay: -11s; }
.xmas-snow span:nth-child(18) { left: 23%; animation-duration: 13s; animation-delay: -10s; }
.xmas-snow span:nth-child(19) { left: 47%; animation-duration: 20s; animation-delay: -4.5s; }
.xmas-snow span:nth-child(20) { left: 71%; animation-duration: 11s; animation-delay: -12s; }
.xmas-snow span:nth-child(21) { left: 88%; animation-duration: 15s; animation-delay: -8.5s; }
.xmas-snow span:nth-child(22) { left: 35%; animation-duration: 17s; animation-delay: -6.5s; }
@keyframes xmas-fall {
  from { transform: translate3d(0, -12vh, 0) rotate(0deg); }
  to   { transform: translate3d(28px, 112vh, 0) rotate(120deg); }
}
@media (prefers-reduced-motion: reduce) {
  .xmas-snow { display: none !important; }
  .xmas-banner { animation: none; }
}
@media (max-width: 720px) {
  .xmas-snow span:nth-child(n+15) { display: none; }
  .xmas-banner { font-size: .86rem; padding: .65rem .9rem; }
  .xmas-banner::before, .xmas-banner::after { margin: 0 .3em; }
}
@media print {
  .xmas-snow, .xmas-banner { display: none !important; }
}
