/* Noël 2026 (inc/black-friday-2026.php, opération noel26) : neige, chargée seulement pendant l'opération.
   Flocons crème de la charte en fond des bandes brunes (pas sur la fenêtre d'entrée rouge, où ils gênaient la lecture)
   et, en bas de la bande, un bord de neige en vagues douces et régulières (crème, 44 px), posé juste au-dessus du ruban
   de couleurs. Aucun élément ajouté, aucun script, le texte reste au-dessus. Validé le 1er déc. 2026.
   Flocons immobiles si le visiteur limite les animations. */
body.sr-noel .sr-bande:not(.srbw-pop), body.sr-noel .srh4-hero {
	--sr-neige-bas: 100%;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 44' preserveAspectRatio='none'%3E%3Cpath d='M0 22 Q70 2 140 22 T280 22 V44 H0 Z' fill='%23fdf6ea'/%3E%3C/svg%3E"),
		radial-gradient(circle at 18% 22%, rgba(253, 246, 234, .9) 0 1.6px, transparent 2.3px),
		radial-gradient(circle at 63% 71%, rgba(253, 246, 234, .6) 0 1.1px, transparent 1.7px),
		radial-gradient(circle at 41% 48%, rgba(253, 246, 234, .45) 0 2.4px, transparent 3.1px),
		radial-gradient(circle at 82% 14%, rgba(253, 246, 234, .7) 0 1.3px, transparent 1.9px) !important;
	background-size: 280px 44px, 150px 150px, 95px 95px, 230px 230px, 120px 120px !important;
	background-repeat: repeat-x, repeat, repeat, repeat, repeat !important;
	padding-bottom: 24px;
	animation: sr-neige 26s linear infinite;
}
/* Bande qui contient son ruban de couleurs (catégories, recherche) : la neige se pose au-dessus du ruban (8 px). */
body.sr-noel .sr-bande:not(.srbw-pop):has(> .sr-ruban, > .src3-ruban) { --sr-neige-bas: calc(100% - 8px); padding-bottom: 0; }
@keyframes sr-neige {
	from { background-position: 0 var(--sr-neige-bas), 0 0, 30px 10px, 70px 40px, 10px 60px; }
	to   { background-position: 0 var(--sr-neige-bas), 0 150px, 30px 105px, 70px 270px, 10px 180px; }
}
@media (max-width: 700px) {
	body.sr-noel .sr-bande:not(.srbw-pop), body.sr-noel .srh4-hero { padding-bottom: 16px; background-size: 180px 30px, 150px 150px, 95px 95px, 230px 230px, 120px 120px !important; }
}
@media (prefers-reduced-motion: reduce) {
	body.sr-noel .sr-bande, body.sr-noel .srh4-hero { animation: none; background-position: 0 var(--sr-neige-bas), 0 0, 30px 10px, 70px 40px, 10px 60px !important; }
}
@media print {
	body.sr-noel .sr-bande, body.sr-noel .srh4-hero { background-image: none !important; }
	body.sr-noel .srh3-bande__photo::before, body.sr-noel .srh3-bande__photo::after { display: none; }
}

/* Guirlande autour des photos du premier écran de l'accueil (écran habituel et écran de l'offre) : un fil crème
   discret à 12 px de la photo (outline qui suit l'arrondi) et des ampoules aux couleurs du ruban (semer, arroser,
   attendre, récolter) tracées le long du même rectangle arrondi (pointillés ronds tous les 26 px, angles compris),
   en deux séries qui scintillent à tour de rôle. Le pseudo-élément couvre la photo seulement, pas les pastilles
   dessous : hauteur calculée sur la largeur du conteneur (photo 4/5, ou 2/1 pour l'offre sur mobile).
   Deux pseudo-éléments, aucun élément ajouté ; ampoules fixes si le visiteur limite les animations. */
body.sr-noel .srh3 .srh3-bande__photo { position: relative; --sr-g-ecart: 12px; --sr-g-bord: 22px; --sr-g-ratio: 125cqi; }
body.sr-noel .srh3 .srh3-bande__photo .sr-bande__cadre { outline: 1px solid rgba(253, 246, 234, .3); outline-offset: var(--sr-g-ecart); }
body.sr-noel .srh3 .srh3-bande__photo::before,
body.sr-noel .srh3 .srh3-bande__photo::after {
	content: "";
	position: absolute;
	top: calc(-1 * var(--sr-g-bord));
	left: calc(-1 * var(--sr-g-bord));
	right: calc(-1 * var(--sr-g-bord));
	height: calc(var(--sr-g-ratio) + 2 * var(--sr-g-bord));
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	animation: sr-guirlande 2.8s ease-in-out infinite alternate;
}
body.sr-noel .srh3 .srh3-bande__photo::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='30' stroke='%23b7d34a' stroke-opacity='0.28' stroke-width='14' stroke-dasharray='0 104' stroke-dashoffset='0'/%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='30' stroke='%23b7d34a' stroke-opacity='1' stroke-width='8.4' stroke-dasharray='0 104' stroke-dashoffset='0'/%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='30' stroke='%23f0c96a' stroke-opacity='0.28' stroke-width='14' stroke-dasharray='0 104' stroke-dashoffset='-52'/%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='30' stroke='%23f0c96a' stroke-opacity='1' stroke-width='8.4' stroke-dasharray='0 104' stroke-dashoffset='-52'/%3E%3C/g%3E%3C/svg%3E"); }
body.sr-noel .srh3 .srh3-bande__photo::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='30' stroke='%238cc5e8' stroke-opacity='0.28' stroke-width='14' stroke-dasharray='0 104' stroke-dashoffset='-26'/%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='30' stroke='%238cc5e8' stroke-opacity='1' stroke-width='8.4' stroke-dasharray='0 104' stroke-dashoffset='-26'/%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='30' stroke='%23e8424f' stroke-opacity='0.28' stroke-width='14' stroke-dasharray='0 104' stroke-dashoffset='-78'/%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='30' stroke='%23e8424f' stroke-opacity='1' stroke-width='8.4' stroke-dasharray='0 104' stroke-dashoffset='-78'/%3E%3C/g%3E%3C/svg%3E"); animation-delay: -1.4s; }
/* Les pastilles sous la photo de l'écran habituel descendent pour laisser passer la guirlande. */
body.sr-noel .srh3 .srh3-bande__photo .sr-etiquettes { margin-top: calc(var(--sr-g-bord) + 8px); }
/* Mobile : seule la photo de l'offre est affichée (2/1), dans 16 px de marge : guirlande plus serrée (fil à 5 px). */
@media (max-width: 1020px) {
	body.sr-noel .srh3 .srh3-bande__photo { --sr-g-ecart: 5px; --sr-g-bord: 15px; --sr-g-ratio: 50cqi; }
	body.sr-noel .srh3 .srh3-bande__photo::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='23' stroke='%23b7d34a' stroke-opacity='0.28' stroke-width='14' stroke-dasharray='0 104' stroke-dashoffset='0'/%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='23' stroke='%23b7d34a' stroke-opacity='1' stroke-width='8.4' stroke-dasharray='0 104' stroke-dashoffset='0'/%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='23' stroke='%23f0c96a' stroke-opacity='0.28' stroke-width='14' stroke-dasharray='0 104' stroke-dashoffset='-52'/%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='23' stroke='%23f0c96a' stroke-opacity='1' stroke-width='8.4' stroke-dasharray='0 104' stroke-dashoffset='-52'/%3E%3C/g%3E%3C/svg%3E"); }
	body.sr-noel .srh3 .srh3-bande__photo::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='23' stroke='%238cc5e8' stroke-opacity='0.28' stroke-width='14' stroke-dasharray='0 104' stroke-dashoffset='-26'/%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='23' stroke='%238cc5e8' stroke-opacity='1' stroke-width='8.4' stroke-dasharray='0 104' stroke-dashoffset='-26'/%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='23' stroke='%23e8424f' stroke-opacity='0.28' stroke-width='14' stroke-dasharray='0 104' stroke-dashoffset='-78'/%3E%3Crect x='10' y='10' style='width:calc(100% - 20px)%3Bheight:calc(100% - 20px)' rx='23' stroke='%23e8424f' stroke-opacity='1' stroke-width='8.4' stroke-dasharray='0 104' stroke-dashoffset='-78'/%3E%3C/g%3E%3C/svg%3E"); }
}
@keyframes sr-guirlande { from { opacity: .4; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	body.sr-noel .srh3 .srh3-bande__photo::before, body.sr-noel .srh3 .srh3-bande__photo::after { animation: none; opacity: .9; }
}
/* Barre du haut : flocons qui tombent aussi (demande du 1er déc. 2026), plus petits pour une bande de 48 px.
   Sur un calque ::before animé en translation : le fond de la barre est en !important ailleurs (header-v3.css,
   offre.css), ce qui bloque toute animation de background-position sur la barre elle-même. */
html body.sr-noel.sr-charte .sr-topbar.sr-topbar { position: relative; overflow: hidden; }
html body.sr-noel.sr-charte .sr-topbar.sr-topbar > * { position: relative; z-index: 1; }
html body.sr-noel.sr-charte .sr-topbar.sr-topbar::before {
	content: ""; position: absolute; left: 0; right: 0; top: -60px; bottom: 0; z-index: 0; pointer-events: none;
	background-image:
		radial-gradient(circle at 18% 30%, rgba(253, 246, 234, .85) 0 1.3px, transparent 1.9px),
		radial-gradient(circle at 63% 70%, rgba(253, 246, 234, .55) 0 1px, transparent 1.5px),
		radial-gradient(circle at 40% 50%, rgba(253, 246, 234, .4) 0 1.8px, transparent 2.4px);
	background-size: 110px 60px, 70px 30px, 170px 60px;
	animation: sr-neige-barre 9s linear infinite;
}
@keyframes sr-neige-barre { from { transform: translateY(0); } to { transform: translateY(60px); } }
@media (prefers-reduced-motion: reduce) { html body.sr-noel.sr-charte .sr-topbar.sr-topbar::before { animation: none; } }
/* Barre du haut : reste brune pendant Noël (choix du 1er déc. 2026), au lieu du rouge de l'offre (offre.css). */
html.sr-offre-active body.sr-noel.sr-charte .sr-topbar.sr-topbar { background-color: var(--sc-ink, #2a1a12) !important; }
/* Barre brune pendant Noël : les mots en gras reprennent le jaune de NOUVEAU15 (header-v3.css) au lieu du crème souligné prévu pour la barre rouge (offre.css). */
html.sr-offre-active body.sr-noel.sr-charte .sr-topbar.sr-topbar :is(strong, b) { color: var(--sc-attendre, #f0c96a) !important; text-decoration: none; }
