.campmarine-promocija.cm-steamy-xmas {
	--steamy-star-core: #ffffec;
	--steamy-star-mid: #fff295;
	--steamy-star-tip: #efd243;
	--steamy-star-halo: #ffe254;
	--steamy-star-shape: polygon(
		50% 1%, 55% 38%, 69.1% 30.9%, 62% 45%,
		92% 50%, 62% 55%, 69.1% 69.1%, 55% 62%,
		50% 99%, 45% 62%, 30.9% 69.1%, 38% 55%,
		8% 50%, 38% 45%, 30.9% 30.9%, 45% 38%
	);
	display: grid;
	grid-template-rows: 1fr auto;
	container-type: inline-size;
	background: #3b0d13;
	color: #fff4e0;
}

.cm-steamy-xmas__stage {
	position: relative;
	isolation: isolate;
	min-height: clamp(229px, 49cqw, 300px);
	overflow: hidden;
	background: #5a1019;
}

.cm-steamy-xmas .cm-steamy-xmas__scene {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: 55% 51%;
}

.cm-steamy-xmas__stage::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgb(41 5 10 / .49), transparent 62%);
	content: "";
	pointer-events: none;
}

.cm-steamy-xmas .cm-steamy-xmas__product {
	position: absolute;
	inset-inline-end: 6%;
	inset-block-end: 10%;
	z-index: 2;
	width: 48%;
	height: auto;
	margin: 0;
	filter: drop-shadow(0 13px 10px rgb(22 3 6 / .65));
}

.cm-steamy-xmas__copy {
	position: absolute;
	inset-inline-start: 5.2%;
	inset-block-start: 45%;
	z-index: 3;
	width: 48%;
	transform: translateY(-45%);
}

.campmarine-promocije .cm-steamy-xmas .cm-steamy-xmas__eyebrow {
	max-width: 24ch;
	margin: 0 0 8px;
	color: #ffe3a2;
	font: 760 clamp(10px, 2cqw, 12px)/1.3 system-ui, sans-serif;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.campmarine-promocije .cm-steamy-xmas h2 {
	max-width: none;
	margin: 0;
	color: #fff4e0;
	font: 850 clamp(28px, 7.6cqw, 47px)/.99 system-ui, sans-serif;
	letter-spacing: -.062em;
	text-wrap: nowrap;
}

.cm-steamy-xmas h2 span {
	display: block;
	margin-bottom: 4px;
	color: var(--steamy-star-mid);
	font-size: 1.14em;
	text-shadow: 0 0 10px rgb(255 226 84 / .22);
	animation: cm-steamy-title-shine 5.4s ease-in-out infinite;
}

.cm-steamy-xmas__discount {
	position: absolute;
	inset-inline-end: 10%;
	inset-block-start: 12%;
	z-index: 4;
	color: var(--steamy-star-core);
	font: 900 clamp(28px, 7.8cqw, 48px)/1 system-ui, sans-serif;
	letter-spacing: -.077em;
	text-shadow: 0 1px 5px #361016, 0 0 12px rgb(255 226 84 / .62);
	white-space: nowrap;
	transform: rotate(-35deg);
	animation: cm-steamy-discount-shine 4.7s ease-in-out -1.5s infinite;
}

.cm-steamy-xmas__comet {
	--comet-travel-x: min(17cqw, 98px);
	--comet-travel-y: min(12cqw, 64px);
	position: absolute;
	inset-inline-start: 48%;
	inset-block-start: 17%;
	z-index: 3;
	width: clamp(24px, 6cqw, 36px);
	aspect-ratio: 1;
	opacity: .68;
	filter: drop-shadow(0 0 3px var(--steamy-star-tip)) drop-shadow(0 0 9px var(--steamy-star-halo));
	animation: cm-steamy-comet-flight 5.2s ease-in-out -.6s infinite;
	pointer-events: none;
}

.cm-steamy-xmas__comet::before {
	position: absolute;
	inset-block-start: 48%;
	inset-inline-end: 49%;
	width: clamp(44px, 14cqw, 82px);
	height: 3px;
	border-radius: 100%;
	background: linear-gradient(90deg, transparent, var(--steamy-star-tip) 68%, var(--steamy-star-core));
	content: "";
	transform: rotate(38deg);
	transform-origin: right center;
}

.cm-steamy-xmas__comet::after,
.cm-steamy-xmas__spark::after {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle, var(--steamy-star-core) 8%, var(--steamy-star-mid) 41%, var(--steamy-star-tip) 72%);
	clip-path: var(--steamy-star-shape);
	content: "";
}

.cm-steamy-xmas__spark {
	position: absolute;
	inset-inline-start: 41%;
	inset-block-end: 20%;
	z-index: 3;
	width: clamp(12px, 3cqw, 18px);
	aspect-ratio: 1;
	opacity: .8;
	filter: drop-shadow(0 0 6px var(--steamy-star-halo));
	animation: cm-steamy-small-shine 4.9s ease-in-out -1.8s infinite;
	pointer-events: none;
}

.cm-steamy-xmas__spark + .cm-steamy-xmas__spark {
	inset-inline-start: auto;
	inset-inline-end: 4%;
	inset-block-end: 33%;
	width: clamp(14px, 3.5cqw, 21px);
	animation-delay: -3.1s;
}

.cm-steamy-xmas__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	padding: 10px clamp(14px, 4.2cqw, 25px);
	background: #3b0d13;
	border-top: 1px solid rgb(255 226 84 / .25);
}

.campmarine-promocije .cm-steamy-xmas .cm-steamy-xmas__button {
	background: #ffe291;
	color: #3d1616;
}

.campmarine-promocije .cm-steamy-xmas .cm-steamy-xmas__button:hover {
	background: #fff0b7;
	color: #3d1616;
}

.campmarine-promocije .cm-steamy-xmas .cm-steamy-xmas__qualifier {
	margin: 0;
	color: #ffebbf;
	font: 600 .77rem/1.35 system-ui, sans-serif;
}

.campmarine-promocije .cm-steamy-xmas .cm-steamy-xmas__audio-button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-inline-start: auto;
	padding: 6px 10px;
	border: 1px solid rgb(255 226 145 / .52);
	border-radius: 6px;
	background: transparent;
	color: #ffe291;
	font: 700 .77rem/1.25 system-ui, sans-serif;
	white-space: nowrap;
	cursor: pointer;
}

.campmarine-promocije .cm-steamy-xmas .cm-steamy-xmas__audio-button[hidden] {
	display: none;
}

.campmarine-promocije .cm-steamy-xmas .cm-steamy-xmas__audio-button:not(:disabled):hover {
	background: rgb(255 226 145 / .16);
}

.campmarine-promocije .cm-steamy-xmas .cm-steamy-xmas__audio-button:focus-visible {
	outline: 2px solid #fff4e0;
	outline-offset: 3px;
}

.campmarine-promocije .cm-steamy-xmas .cm-steamy-xmas__audio-button:disabled {
	opacity: .68;
	cursor: default;
}

.cm-steamy-xmas__music-note {
	font-size: 15px;
}

@keyframes cm-steamy-title-shine {
	0%, 100% { text-shadow: 0 0 8px rgb(255 226 84 / .2); }
	50% { text-shadow: 0 0 5px rgb(255 242 149 / .65), 0 0 22px rgb(255 226 84 / .66); }
}

@keyframes cm-steamy-discount-shine {
	0%, 100% { opacity: .84; text-shadow: 0 1px 5px #361016, 0 0 7px rgb(255 226 84 / .42); }
	52% { opacity: 1; text-shadow: 0 1px 5px #361016, 0 0 9px #ffe254, 0 0 21px rgb(255 226 84 / .83); }
}

@keyframes cm-steamy-comet-flight {
	0% { opacity: .16; transform: translate(0, 0) scale(.8); }
	28% { opacity: .78; }
	51% { opacity: 1; transform: translate(var(--comet-travel-x), var(--comet-travel-y)) scale(1.09); }
	75%, 100% { opacity: 0; transform: translate(calc(var(--comet-travel-x) * 1.35), calc(var(--comet-travel-y) * 1.35)) scale(.82); }
}

@keyframes cm-steamy-small-shine {
	0%, 100% { opacity: .32; transform: scale(.88); }
	52% { opacity: 1; transform: scale(1.12); }
}

@container (max-width: 386px) {
	.cm-steamy-xmas .cm-steamy-xmas__product {
		inset-inline-end: 5%;
		inset-block-end: 8%;
		width: 53%;
	}

	.cm-steamy-xmas__copy {
		inset-block-start: 38%;
	}

	.cm-steamy-xmas__discount {
		inset-inline-end: 8%;
		inset-block-start: 15%;
	}

	.campmarine-promocije .cm-steamy-xmas .cm-steamy-xmas__eyebrow {
		max-width: 18ch;
	}

	.campmarine-promocije .cm-steamy-xmas .cm-steamy-xmas__qualifier {
		order: 1;
		flex-basis: 100%;
	}
}

@container (max-width: 319px) {
	.campmarine-promocije .cm-steamy-xmas .cm-steamy-xmas__audio-button {
		margin-inline-start: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cm-steamy-xmas h2 span,
	.cm-steamy-xmas__comet,
	.cm-steamy-xmas__discount,
	.cm-steamy-xmas__spark {
		animation: none;
	}
}
