/* Décorations de fêtes (chargé uniquement quand une décoration est activée dans l'administration). */

/* Les cartes laissent dépasser la guirlande ; leur image garde les coins arrondis du haut. */
html.sz-decor .sh .sh-card.product-card,
html.sz-decor .cr .cr-card {
  position: relative;
  overflow: visible;
}
html.sz-decor .sh .sh-card-media { border-radius: 25px 25px 0 0; }
html.sz-decor .cr .cr-media { border-radius: 25px 25px 0 0; }

/* La barre de menu porte aussi la guirlande : un peu plus d'air au-dessus et sur les côtés. */
html.sz-decor body .topbar {
  margin-top: 28px;
  top: 20px;
  width: min(1180px, 89vw);
}

/* Le logo (écureuil déguisé) se décale pour ne pas passer sous la guirlande du menu. */
html.sz-decor body .topbar-logo { margin-left: 14px; }

/* Cartes légèrement réduites et espacées pour que les guirlandes respirent. */
html.sz-decor .sh .sh-grid.products-grid,
html.sz-decor .cr .cr-grid {
  gap: 50px 46px;
  padding: 22px 24px 10px;
}
@media (max-width: 680px) {
  html.sz-decor .sh .sh-grid.products-grid,
  html.sz-decor .cr .cr-grid {
    gap: 44px;
    padding: 18px 18px 10px;
  }
}

/* ---------- accueil et bandeau de contact ---------- */
html.sz-decor .hm-card,
html.sz-decor .hm-product,
html.sz-decor .hm-stats,
html.sz-decor .hm-more-text,
html.sz-decor .hm-panel,
html.sz-decor .hm-compare,
html.sz-decor .hm-cta-band,
html.sz-decor .ft-cta {
  position: relative;
  overflow: visible;
}
html.sz-decor .hm-card::after { display: none; }
html.sz-decor .hm-product img { border-radius: 23px 23px 0 0; }
html.sz-decor .hm-stats { padding: 6px; }
html.sz-decor .hm-stats > :first-child { border-radius: 25px 0 0 25px; }
html.sz-decor .hm-stats > :last-child { border-radius: 0 25px 25px 0; }

/* Sur écrans étroits (grille de chiffres sur plusieurs lignes), les traits intérieurs dépasseraient des coins arrondis. */
@media (max-width: 1080px) {
  html.sz-decor .hm-stats > * { border: 0; border-radius: 18px; }
}

/* De l'air autour des blocs décorés, légèrement réduits. */
html.sz-decor .hm-bento,
html.sz-decor .hm-products,
html.sz-decor .hm-duo { gap: 48px 44px; padding: 24px 22px 14px; }
html.sz-decor .hm-hero-visual { margin-right: 0; padding: 20px; }
html.sz-decor .hm-more-text { margin: 24px 20px !important; }
html.sz-decor .hm-stats { margin: 54px 22px 40px; }
html.sz-decor .hm-compare { margin: 44px 22px 20px; }
html.sz-decor .hm-cta-band { margin: 76px 22px 28px; }
html.sz-decor .ft-cta { margin: 28px 22px; }

@media (max-width: 680px) {
  html.sz-decor .hm-bento,
  html.sz-decor .hm-products,
  html.sz-decor .hm-duo { gap: 44px; padding: 22px 16px 12px; }
  html.sz-decor .hm-hero-visual { padding: 18px 14px; }
  html.sz-decor .hm-more-text,
  html.sz-decor .hm-stats,
  html.sz-decor .hm-compare,
  html.sz-decor .hm-cta-band,
  html.sz-decor .ft-cta { margin-left: 16px !important; margin-right: 16px !important; }
}

/* Guirlandes électriques : trois calques de lumière qui scintillent chacun à leur rythme. */
.sz-glow {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  animation: sz-twinkle 2.8s ease-in-out infinite;
}
.sz-glow-2 { animation-duration: 3.6s; animation-delay: -1.3s; }
.sz-glow-3 { animation-duration: 2.2s; animation-delay: -0.7s; }
@keyframes sz-twinkle {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.18; }
  60% { opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .sz-glow { animation: none; opacity: 0.85; }
}

.sz-garland {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.sz-snow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9000;
}

@media print {
  .sz-snow, .sz-garland, .sz-glow { display: none !important; }
}

/* ---------- Nouvel An ---------- */
.sz-fireworks { mix-blend-mode: screen; z-index: 8999; }
.sz-ny-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 9px 14px;
  color: #2b1d00;
  background: linear-gradient(100deg, #8a6411, #e7bd4f 22%, #fff1b8 38%, #d3a335 55%, #f6d97c 74%, #8a6411);
}
.sz-ny-banner i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -90px;
  width: 70px;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: sz-shine 3.6s linear infinite;
}
@keyframes sz-shine {
  0% { left: -90px; }
  60%, 100% { left: 105%; }
}
@media (prefers-reduced-motion: reduce) {
  .sz-ny-banner i { display: none; }
}
@media print {
  .sz-ny-banner { display: none; }
}

/* ---------- Pâques : bandeau pastel et pelouse en bas de l'écran ---------- */
.sz-ny-banner.sz-pq-banner {
  color: #35240a;
  background: linear-gradient(100deg, #f7c9d8, #fde9a9 30%, #fff7d6 50%, #c8eab9 72%, #bfe0f5);
}
/* Sous le bandeau cookies et la bulle d'aide, et les clics passent au travers. */
.sz-lawn {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  z-index: 8998;
}
/* La fin de page reste lisible au-dessus de l'herbe. */
html.sz-decor-paques body { padding-bottom: 52px; }
@media (max-width: 699px) {
  html.sz-decor-paques body { padding-bottom: 32px; }
}
@media print {
  .sz-lawn { display: none !important; }
}

/* ---------- Nouvel An chinois : bandeau rouge liseré d'or ---------- */
.sz-ny-banner.sz-cn-banner {
  color: #ffe9a8;
  text-shadow: 0 1px 3px #2a0000;
  border-top: 2px solid #d9a93a;
  border-bottom: 2px solid #d9a93a;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 45%, rgba(0, 0, 0, 0.28)),
    linear-gradient(100deg, #450404, #9d0e0e 28%, #cf241a 50%, #9d0e0e 72%, #450404);
}

/* ---------- 14 Juillet : bandeau tricolore, place pour la guirlande de bal et scène de nuit en bas de page ---------- */
.sz-ny-banner.sz-fr-banner {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.8);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 45%, rgba(0, 0, 0, 0.25)),
    linear-gradient(100deg, #00216b, #0a46b8 26%, #8d9bbd 38%, #a9aebd 50%, #bd9a9a 62%, #d3202c 74%, #7e0a12);
}
html.sz-decor-14-juillet main { padding-top: 56px; }
@media (max-width: 699px) {
  html.sz-decor-14-juillet main { padding-top: 42px; }
}
.sz-fr-glow { filter: blur(11px); }
.sz-fr-scene { display: block; width: 100%; margin-top: 20px; pointer-events: none; }
@media print {
  .sz-fr-scene { display: none; }
}

/* ---------- Halloween : ciel derrière le contenu et scène de nuit en bas de page ---------- */
.sz-hw-sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.sz-hw-scene {
  display: block;
  width: 100%;
  margin-top: 20px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
@media print {
  .sz-hw-sky, .sz-hw-scene { display: none; }
}

/* ---------- Saint-Valentin (même bandeau que le Nouvel An, en rouge) ---------- */
.sz-ny-banner.sz-sv-banner {
  color: #fff;
  background: linear-gradient(100deg, #4d0618, #9c0f33 28%, #d93a60 50%, #9c0f33 72%, #4d0618);
}
