body.abtn-natale-attivo {
	--abtn-verde: #236431;
	--abtn-bordeaux: #9e1b28;
	--abtn-oro: #d4af37;
}

body.abtn-natale-attivo :is(h1, h2, h3, h4, h5, h6, .wp-block-site-title, .site-title,
	.abtn-festivita__title, .abtn-auguri-laterali, .abtn-auguri-inline) {
	font-family: "Mountains of Christmas", Georgia, serif !important;
	font-weight: 700;
}


.abtn-festivita {
	position: relative;
	z-index: 20;
	box-sizing: border-box;
	width: 100%;
	min-height: 106px;
	padding: 20px 120px 17px;
	overflow: hidden;
	background: linear-gradient(110deg, #173e29, #286a3a 52%, #173e29);
	color: #fff8df;
	text-align: center;
	border-bottom: 3px solid var(--abtn-oro);
	box-shadow: 0 3px 12px #163c2929;
}

.abtn-festivita::before {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 15px;
	content: "";
	background-image: radial-gradient(circle, #ffdb73 0 3px, transparent 4px), radial-gradient(circle, #ed6670 0 3px, transparent 4px), radial-gradient(circle, #a4df9b 0 3px, transparent 4px), radial-gradient(circle, #9ed5ef 0 3px, transparent 4px);
	background-position: 0 7px, 30px 9px, 60px 6px, 90px 9px;
	background-size: 120px 14px;
	background-repeat: repeat-x;
	filter: drop-shadow(0 1px 5px #ffe995);
	animation: abtn-luci 2.2s ease-in-out infinite alternate;
}

.abtn-festivita__inner { position: relative; z-index: 2; }
.abtn-festivita__title {
	display: block;
	margin: 0;
	color: #ffe58f;
	font: 700 clamp(21px, 3.2vw, 29px)/1.15 "Mountains of Christmas", Georgia, serif;
	text-shadow: 0 2px 6px #08210f99;
}
.abtn-festivita__message { margin: 4px 0 0; color: #fff5dc; font-size: 15px; line-height: 1.4; }
.abtn-festivita__art {
	position: absolute;
	z-index: 1;
	bottom: 4px;
	width: 79px;
	height: 73px;
	object-fit: contain;
	filter: drop-shadow(0 2px 2px #091c0f88);
}
.abtn-festivita__tree { left: max(14px, calc(50% - 500px)); }
.abtn-festivita__presepe { right: max(14px, calc(50% - 500px)); width: 92px; }

.abtn-slitta-volo {
	position: fixed;
	z-index: 1001;
	top: 82px;
	left: -405px;
	width: 390px;
	height: 156px;
	object-fit: contain;
	filter: drop-shadow(0 3px 5px #0005);
	pointer-events: none;
	animation: abtn-volo 12s linear 1 forwards;
}

.abtn-neve {
	position: fixed;
	z-index: 1000;
	inset: 0;
	width: 100%;
	height: 100%;
	contain: strict;
	pointer-events: none;
}
.abtn-albero-angolo {
	position: fixed;
	z-index: 998;
	bottom: 3px;
	left: 8px;
	width: 58px;
	height: 72px;
	filter: drop-shadow(0 2px 4px #0004);
	pointer-events: none;
}
.abtn-renna-angolo {
	position: fixed;
	z-index: 998;
	right: 12px;
	bottom: 4px;
	width: 88px;
	height: 104px;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px #0004);
	pointer-events: none;
}
.abtn-renna-angolo .abtn-nose { animation: abtn-naso 1.5s ease-in-out infinite alternate; }
.abtn-renna-angolo .abtn-ear-left { transform-origin: 28px 28px; animation: abtn-orecchio 5s ease-in-out infinite; }
.abtn-renna-angolo .abtn-ear-right { transform-origin: 62px 28px; animation: abtn-orecchio 5s ease-in-out .35s infinite; }

.abtn-auguri-laterali {
	position: fixed;
	z-index: 997;
	color: #23643199;
	font: 700 17px/1.1 "Mountains of Christmas", Georgia, serif;
	text-align: center;
	text-shadow: 0 1px 0 #fff, 0 0 7px #d4af3744;
	white-space: nowrap;
	pointer-events: none;
	animation: abtn-galleggia 5s ease-in-out infinite;
}
.abtn-auguri-laterali small { display: block; margin-top: 3px; color: #9e1b2877; font: 9px/1.2 sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.abtn-auguri-inline {
	margin: 15px auto;
	padding: 8px 12px;
	border-block: 1px dashed #d4af3780;
	background: linear-gradient(90deg, transparent, #fbf0f0d9 25%, #fbf0f0d9 75%, transparent);
	color: var(--abtn-verde);
	font: 700 20px/1.3 "Mountains of Christmas", Georgia, serif;
	text-align: center;
	pointer-events: none;
}
.abtn-auguri-inline span + span { margin-left: 8px; color: var(--abtn-bordeaux); font-size: 14px; }
.abtn-divider {
	width: min(390px, 72vw);
	height: clamp(70px, 13vw, 132px);
	margin: 15px auto;
	background: url("img/slitta-renne-leggera.png") center / contain no-repeat;
	filter: drop-shadow(0 2px 4px #0002);
	animation: abtn-dondola 3s ease-in-out infinite;
	pointer-events: none;
}
.abtn-lights-divider {
	position: relative;
	width: min(760px, 88vw);
	height: 54px;
	margin: 10px auto 18px;
	pointer-events: none;
}
.abtn-lights-divider::before {
	position: absolute;
	left: 5%;
	top: 8px;
	width: 90%;
	height: 32px;
	border-top: 2px solid #24583d;
	border-radius: 50%;
	content: "";
	filter: drop-shadow(0 2px 2px #0002);
}
.abtn-lights-divider::after {
	position: absolute;
	left: 7%;
	top: 11px;
	width: 86%;
	height: 30px;
	content: "";
	background:
		radial-gradient(circle, #ff5656 0 4px, transparent 4.7px) 0 14px / 12.5% 25px repeat-x,
		radial-gradient(circle, #ffe06c 0 4px, transparent 4.7px) 6.25% 7px / 12.5% 25px repeat-x,
		radial-gradient(circle, #75d990 0 4px, transparent 4.7px) 12.5% 3px / 12.5% 25px repeat-x,
		radial-gradient(circle, #fff4d2 0 4px, transparent 4.7px) 18.75% 7px / 12.5% 25px repeat-x;
	filter: drop-shadow(0 0 5px #ffd867);
	animation: abtn-luci 1.6s ease-in-out infinite alternate;
}
.abtn-natale-scene {
	width: min(760px, 94vw);
	height: clamp(190px, 34vw, 440px);
	margin: 14px auto 26px;
	line-height: 0;
	text-align: center;
	filter: drop-shadow(0 5px 9px #392c1b22);
	pointer-events: none;
}
.abtn-natale-scene__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.abtn-gift-mark { display: inline-block; margin-right: 5px; animation: abtn-dondola 3.2s ease-in-out infinite; }

/* Nelle anteprime shop il prodotto resta visibile per metà, come un regalo ancora da scartare. */
.abtn-product-art { position: relative !important; display: block; }
.abtn-product-seasonal-art {
	width: min(460px, 88%);
	height: clamp(90px, 14vw, 150px);
	margin: 8px auto 15px;
	text-align: center;
	line-height: 0;
	filter: drop-shadow(0 3px 5px #34261422);
	pointer-events: none;
}
.abtn-product-seasonal-art img { width: 100%; height: 100%; object-fit: contain; }
.abtn-product-lights {
	position: absolute;
	z-index: 4;
	left: 3%;
	top: 2px;
	width: 94%;
	height: 15px;
	border-top: 1px solid #236431;
	border-radius: 50%;
	background: radial-gradient(ellipse at 10% 12px, #ff5555 0 3px, transparent 4px), radial-gradient(ellipse at 30% 6px, #ffd64f 0 3px, transparent 4px), radial-gradient(ellipse at 50% 2px, #70d18d 0 3px, transparent 4px), radial-gradient(ellipse at 70% 6px, #f8f2dc 0 3px, transparent 4px), radial-gradient(ellipse at 90% 12px, #ff5555 0 3px, transparent 4px);
	filter: drop-shadow(0 0 3px #ffd65a);
	pointer-events: none;
}
.abtn-product-bow { position: absolute; z-index: 4; top: 4px; right: 4px; width: 34px; height: 34px; background: url("img/fiocco.svg") center / contain no-repeat; pointer-events: none; }
.abtn-product-wrap {
	position: absolute;
	z-index: 3;
	inset: 0;
	clip-path: polygon(0 56%, 100% 45%, 100% 100%, 0 100%);
	background:
		linear-gradient(90deg, transparent 43%, #f3d37e 43% 57%, transparent 57%),
		linear-gradient(0deg, transparent 43%, #f3d37e 43% 56%, transparent 56%),
		repeating-linear-gradient(135deg, #8f2335 0 13px, #b63242 13px 26px, #96283a 26px 39px);
	box-shadow: inset 0 5px 12px #51121b70;
	pointer-events: none;
}
.abtn-product-wrap::after {
	position: absolute;
	left: calc(50% - 23px);
	top: 47%;
	width: 46px;
	height: 46px;
	content: "";
	background: url("img/fiocco.svg") center / contain no-repeat;
	filter: drop-shadow(0 2px 3px #360c12a0);
}

@keyframes abtn-luci { to { opacity: .58; } }
@keyframes abtn-volo { 0% { transform: translateX(0) translateY(3px); } 50% { transform: translateX(calc(50vw + 330px)) translateY(-13px); } 100% { transform: translateX(calc(100vw + 660px)) translateY(2px); } }
@keyframes abtn-naso { to { fill: #ff3347; filter: drop-shadow(0 0 7px #ff1a1a); } }
@keyframes abtn-orecchio { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-9deg); } 94% { transform: rotate(5deg); } }
@keyframes abtn-galleggia { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-5px) rotate(1deg); } }
@keyframes abtn-dondola { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(1deg); } }

@media (max-width: 1180px) { .abtn-auguri-laterali { display: none; } }
@media (max-width: 600px) {
	.abtn-festivita { min-height: 94px; padding: 21px 65px 13px; }
	.abtn-festivita__title { font-size: 21px; }
	.abtn-festivita__message { font-size: 12px; }
	.abtn-festivita__art { bottom: 3px; width: 48px; height: 51px; }
	.abtn-festivita__tree { left: 3px; }
	.abtn-festivita__presepe { right: 3px; width: 54px; }
	.abtn-slitta-volo { top: 88px; width: 245px; height: 98px; left: -260px; }
	.abtn-albero-angolo { width: 40px; height: 50px; left: 3px; }
	.abtn-renna-angolo { width: 61px; height: 72px; right: 3px; }
	.abtn-auguri-inline { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
	.abtn-festivita::before, .abtn-slitta-volo, .abtn-auguri-laterali, .abtn-divider,
	.abtn-lights-divider::after,
	.abtn-gift-mark, .abtn-renna-angolo .abtn-nose, .abtn-renna-angolo .abtn-ear-left,
	.abtn-renna-angolo .abtn-ear-right { animation: none !important; }
	.abtn-slitta-volo { display: none; }
}
