/* Christmas mode baubles. Markup: assets/js/christmas-baubles.js
   They hang in front of the hero banner (or the page content on other pages);
   clicks pass through. */
.yz-baubles-host { position: relative; }
.yz-baubles-host > .yh-carousel { z-index: 1; }

.yz-baubles {
	position: absolute;
	z-index: 2;
	height: 360px;
	overflow: hidden;
	pointer-events: none;
}

.yz-bauble {
	position: absolute;
	top: 0;
	left: calc(90px + var(--x));
	width: var(--size);
	transform-origin: 50% 0;
	animation: yz-swing var(--yz-swing-time) ease-in-out infinite alternate;
}

/* String from the header edge to the bauble's ring. */
.yz-bauble::before {
	content: "";
	display: block;
	width: 1.5px;
	height: var(--drop);
	margin: 0 auto;
	background: #9ca3af;
}

.yz-bauble svg {
	display: block;
	width: 100%;
	height: auto;
	margin-top: -2px;
	filter: drop-shadow(0 4px 6px rgba(31, 41, 55, 0.18));
}

.yz-baubles--gentle { --yz-swing: 5deg; --yz-swing-time: 2.4s; }
.yz-baubles--lively { --yz-swing: 13deg; --yz-swing-time: 1.1s; }
.yz-bauble:nth-child(2) { animation-duration: calc(var(--yz-swing-time) * 1.25); }
.yz-bauble:nth-child(3) { animation-duration: calc(var(--yz-swing-time) * 0.85); }

@keyframes yz-swing {
	from { transform: rotate(calc(var(--yz-swing) * -1)); }
	to { transform: rotate(var(--yz-swing)); }
}

/* Other pages: over the content, under the sticky header and its menus. */
.yz-baubles--page { z-index: 20; }

@media (max-width: 767px) {
	.yz-baubles { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.yz-bauble { animation: none; }
}

/* Christmas music mute / play button (assets/js/christmas-music.js),
   stacked above the WhatsApp button. */
.yz-music-toggle {
	position: fixed;
	right: 27px;
	bottom: 92px;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--yozita-color-border, #d1d5db);
	border-radius: 50%;
	background: #fff;
	color: var(--yozita-color-muted, #4b5563);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	transition: transform 0.2s ease, color 0.2s ease;
}
.yz-music-toggle.is-playing { color: var(--yozita-color-brand, #ec0c24); }
.yz-music-toggle:hover { transform: scale(1.08); }
.yz-music-toggle:focus-visible { outline: 3px solid var(--yozita-color-focus, #1f2937); outline-offset: 3px; }
.yz-music-toggle svg { width: 20px; height: 20px; }
@media (max-width: 600px) {
	.yz-music-toggle { right: 18px; bottom: 76px; }
}
@media print {
	.yz-music-toggle { display: none; }
}
