/* Hantermann Weihnachtsdeko – everything here is hidden unless the gate script has set
 * .hm-xmas (and .hm-xmas-footer for the garland) on <html>.
 *
 * The garland sits on the top edge of the dark red copyright bar in the UiCore footer
 * (Elementor footer template 165, widget 64201be4). The top of the footer itself is no
 * good spot: on desktop the footer is a sticky "reveal" footer whose top edge stays
 * hidden under the fixed header. The copyright bar is always visible at the bottom.
 */

.hm-xmas-footer #uicore-tb-footer .elementor-element-64201be4 {
	position: relative;
	z-index: 1;
}

.hm-xmas-footer #uicore-tb-footer .elementor-element-64201be4::before {
	content: "";
	position: absolute;
	top: -20px; /* the garland's branch runs along the edge between grey footer and red bar */
	left: 0;
	right: 0;
	height: 90px;
	z-index: 2;
	pointer-events: none;
	background: url("girlande.svg") repeat-x 0 0 / auto 100%;
}

/* Push the copyright text below the hanging baubles. */
.hm-xmas-footer #uicore-tb-footer .elementor-element-64201be4 > .elementor-widget-container {
	padding-top: 78px;
}

@media (max-width: 767px) {
	.hm-xmas-footer #uicore-tb-footer .elementor-element-64201be4::before {
		top: -14px;
		height: 64px;
	}
	.hm-xmas-footer #uicore-tb-footer .elementor-element-64201be4 > .elementor-widget-container {
		padding-top: 60px;
	}
}

@media print {
	.hm-xmas-footer #uicore-tb-footer .elementor-element-64201be4::before {
		display: none;
	}
}

/* ---------------------------------------------------------------- */
/* Holiday banner (homepage, moved above the copyright bar by JS)    */
/* ---------------------------------------------------------------- */

.hm-xmas-banner {
	display: none;
	width: 100%;
	padding: 10px 20px 40px;
	box-sizing: border-box;
}

html.hm-xmas .hm-xmas-banner {
	display: block;
}

.hm-xmas-banner__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.hm-xmas-banner img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

/* ---------------------------------------------------------------- */
/* Holiday notice (cart, checkout, quote page)                      */
/* ---------------------------------------------------------------- */

.hm-xmas-notice {
	display: none;
	margin: 0 0 24px;
	padding: 14px 18px;
	border-left: 4px solid #941e20;
	background: #f8f3ec;
	color: #333;
	font-size: 15px;
	line-height: 1.5;
}

html.hm-xmas .hm-xmas-notice {
	display: block;
}

.hm-xmas-notice p {
	margin: 0;
}

.hm-xmas-notice p + p {
	margin-top: 6px;
}
