/* Christmas countdown under the homepage banner (with seconds).
   Loaded only on common/home, hidden after 2026-12-25 00:00 Europe/Vilnius.
   Also tightens the homepage hero so the bar stays above the fold. */
.st-xmas-cd,
.st-xmas-cd * {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}
.st-xmas-cd {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 10px 16px;
	color: #1B2A4A;
	background: linear-gradient(180deg, #E3EEFB 0%, #F4F8FE 100%);
	border-bottom: 1px solid #D0DFEF;
	font-family: Inter, "Open Sans", "Segoe UI", Arial, sans-serif;
}
.st-xmas-cd__flake {
	width: 18px;
	height: 18px;
	color: #3C7DD9;
	flex: 0 0 auto;
}
.st-xmas-cd__label {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1;
	color: #1B2A4A;
	white-space: nowrap;
}
.st-xmas-cd__units {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	flex: 0 0 auto;
}
.st-xmas-cd__unit {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	padding: 4px 8px 5px;
	background: #fff;
	border: 1px solid #C5D7EE;
	border-radius: 6px;
	box-shadow: 2px 3px 8px rgba(27, 42, 74, 0.06);
	line-height: 1;
}
.st-xmas-cd__unit b {
	display: inline-block;
	min-width: 2ch;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	color: #C41E26;
	font-variant-numeric: tabular-nums lining-nums;
	font-feature-settings: "tnum" 1, "lnum" 1;
	font-family: Inter, "Open Sans", "Segoe UI", ui-monospace, Arial, sans-serif;
	letter-spacing: 0;
	line-height: 1;
}
.st-xmas-cd__unit i {
	font-style: normal;
	font-size: 9px;
	font-weight: 600;
	color: #5B6B82;
	margin-top: 1px;
	text-transform: lowercase;
	white-space: nowrap;
}
.st-xmas-cd__colon {
	color: #1B2A4A;
	font-weight: 700;
	font-size: 16px;
	padding: 0 1px 8px;
	line-height: 1;
	flex: 0 0 auto;
}

html.dark-theme .st-xmas-cd {
	color: #E8F0FA;
	background: linear-gradient(180deg, #152033 0%, #1A2740 100%);
	border-bottom-color: #2A3F5E;
}
html.dark-theme .st-xmas-cd__flake {
	color: #8CB6E8;
}
html.dark-theme .st-xmas-cd__label {
	color: #E8F0FA;
}
html.dark-theme .st-xmas-cd__unit {
	background: #22344F;
	border-color: #3A5274;
	box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.25);
}
html.dark-theme .st-xmas-cd__unit b {
	color: #F2C14E;
}
html.dark-theme .st-xmas-cd__unit i {
	color: #A8B8CC;
}
html.dark-theme .st-xmas-cd__colon {
	color: #E8F0FA;
}

@media (max-width: 767px) {
	.st-xmas-cd {
		padding: 8px 10px;
		/* Keep units clear of the fixed gift-coupon tab (~34–42px on the right). */
		padding-right: 52px;
		gap: 8px;
	}
	.st-xmas-cd__label {
		font-size: 13px;
	}
	.st-xmas-cd__unit {
		min-width: 32px;
		padding: 3px 5px 4px;
	}
	.st-xmas-cd__unit b {
		font-size: 15px;
	}
	.st-xmas-cd__flake {
		width: 16px;
		height: 16px;
	}
}

@media print {
	.st-xmas-cd {
		display: none !important;
	}
}

/* Close the leftover 10px + 30px gaps around the homepage hero so the
   countdown sits directly under the banner. This file loads only on home
   while the countdown is active. */
.container-module.megasliderpro {
	margin-top: 0;
	margin-bottom: 0;
}

/* On common short desktops (1366x768) cap the hero height so the countdown
   stays above the fold. Taller viewports keep the native 1945x745 ratio
   (max-height does not apply). object-fit: cover crops a thin strip of
   sky / snow only; text, products and buttons stay in frame. */
@media (min-width: 768px) {
	.megasliderpro.ms-mobile-hero .swiper-slideshow {
		aspect-ratio: 1945 / 745;
		width: 100%;
		height: auto;
		max-height: calc(100vh - 305px);
		overflow: hidden;
	}
	.megasliderpro.ms-mobile-hero .swiper-wrapper,
	.megasliderpro.ms-mobile-hero .swiper-slide.item-ms {
		height: 100% !important;
	}
	.megasliderpro.ms-mobile-hero picture,
	.megasliderpro.ms-mobile-hero .bg-image-slider {
		width: 100%;
		height: 100%;
		display: block;
		object-fit: cover;
		object-position: center 42%;
	}
}
