/* Christmas decorations (inc/holiday.php). Loaded only while they are switched on. Everything is decorative:
   no layout shift (absolute / fixed elements), no clicks caught. */

/* ---------------------------------------------------------------- greeting strip */
.xm-strip{position:relative;background:#b3121f;background-image:radial-gradient(circle at 12px 12px,rgba(255,255,255,.18) 1.5px,transparent 2px);background-size:24px 24px;color:#ffffff;font:600 14px/1.35 Gilroy, Manrope, sans-serif}
.xm-strip-in{display:flex;align-items:center;justify-content:center;gap:12px;min-height:38px;padding-block:6px}
.xm-strip p{margin:0;text-align:center}
.xm-strip-ico{font-size:18px;line-height:1}
.xm-snow-btn{flex:none;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border:0;border-radius:30px;background:rgba(255,255,255,.18);color:#ffffff;font:700 12px/1 Gilroy, Manrope, sans-serif;cursor:pointer}
.xm-snow-btn:hover{background:rgba(255,255,255,.3)}
.xm-snow-btn[aria-pressed="false"]{background:#ffffff;color:#b3121f}
.xm-x{flex:none;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:#ffffff;font:400 22px/1 Arial, sans-serif;cursor:pointer}
.xm-x:hover{background:rgba(255,255,255,.2)}
.kb-xmas-closed .xm-strip{display:none}
@media (max-width:760px){
	.xm-strip{font-size:13px}
	.xm-strip-in{justify-content:flex-start;gap:8px}
	.xm-strip-ico{display:none}
	.xm-snow-btn span{display:none}
}

/* ---------------------------------------------------------------- falling snow */
.xm-snow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}
.xm-snow--back{z-index:-1}   /* under the page: only on the page background, never over blocks */
.xm-snow--front{z-index:45;clip-path:inset(100% 0 0 0)} /* over the dark footer zone only (clip set by holiday.js) */

/* ---------------------------------------------------------------- garland under the black bar */
.kb-xmas .sh-cats{position:relative}
.xm-garland{position:absolute;left:0;right:0;top:100%;height:22px;overflow:hidden;pointer-events:none;z-index:1;
	background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='12'%3E%3Cpath d='M0 1 Q28 15 56 1' fill='none' stroke='%23222' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x 0 0}
.xm-garland i{position:absolute;top:6px;width:8px;height:12px;margin-left:-4px;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;background:var(--c);box-shadow:0 0 6px 2px var(--c);animation:xm-blink 1.6s ease-in-out infinite;animation-delay:var(--d)}
.xm-garland i::before{content:"";position:absolute;left:2px;top:-3px;width:4px;height:4px;border-radius:1px;background:#555}
@keyframes xm-blink{0%,100%{opacity:1}50%{opacity:.35;box-shadow:none}}

/* ---------------------------------------------------------------- snow on "Katalog" and on the footer */
.kb-xmas .sh-cats a.all{position:relative}
.kb-xmas .sh-cats a.all::before{content:"";position:absolute;left:6px;right:6px;top:-4px;height:9px;border-radius:9px 9px 5px 5px;background:#ffffff;box-shadow:inset 0 -2px 0 rgba(0,0,0,.08)}
.kb-xmas .sh-cats a.all::after{content:"";position:absolute;left:18px;top:3px;width:7px;height:7px;border-radius:0 0 50% 50%;background:#ffffff}
.xm-drift{position:relative}
.xm-drift::before{content:"";position:absolute;left:0;right:0;top:-1px;height:16px;pointer-events:none;
	background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' preserveAspectRatio='none'%3E%3Cpath d='M0 0H120V6C110 6 106 14 96 13 86 12 84 5 72 6 60 7 58 15 46 14 34 13 32 4 20 5 10 6 8 12 0 10Z' fill='%23fff'/%3E%3C/svg%3E") repeat-x 0 0/120px 16px}

/* ---------------------------------------------------------------- Santa hat on the logo */
.kb-xmas .sh-logo{position:relative}
.xm-hat{position:absolute;left:-12px;top:-4px;width:38px;height:33px;transform:rotate(-22deg);pointer-events:none;filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}
.xm-hat svg{display:block;width:100%;height:100%}
@media (max-width:760px){.xm-hat{left:-8px;top:-4px;width:26px;height:23px}}

@media (prefers-reduced-motion:reduce){
	.xm-snow{display:none}
	.xm-garland i{animation:none}
	.xm-snow-btn{display:none!important}
}
@media print{.xm-strip,.xm-snow,.xm-garland,.xm-hat,.xm-drift::before{display:none!important}}
