/**
 * Black Friday homepage layer.
 * Native Elementor owns layout and copy. This file supplies stable responsive
 * campaign treatments plus the live shared product-card integration.
 */

.mariener-bf-home {
	background: var(--mariener-bg);
	color: var(--mariener-ink);
	font-family: var(--mariener-body);
	overflow: clip;
}

.mariener-bf-home .elementor-widget-heading h1,
.mariener-bf-home .elementor-widget-heading h2,
.mariener-bf-home .elementor-widget-heading h3,
.mariener-bf-home .elementor-button {
	font-family: var(--mariener-display);
}

.mariener-bf-home__hero {
	isolation: isolate;
	min-height: clamp(620px, 48vw, 760px);
	overflow: hidden;
	position: relative;
}

.mariener-bf-home__hero::before {
	background: linear-gradient(90deg, rgba(8, 8, 8, 0.97) 0%, rgba(8, 8, 8, 0.82) 31%, rgba(8, 8, 8, 0.18) 68%, rgba(8, 8, 8, 0.02) 100%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.mariener-bf-home__hero > .e-con-inner,
.mariener-bf-home__hero > .elementor-element {
	position: relative;
	z-index: 1;
}

.mariener-bf-home__offer-chip {
	align-items: center;
	aspect-ratio: 1;
	background: var(--mariener-accent);
	border-radius: 50%;
	bottom: 44px;
	display: flex;
	justify-content: center;
	position: absolute;
	right: max(var(--mariener-gutter), calc((100% - var(--mariener-container)) / 2));
	transform: rotate(7deg);
	width: clamp(128px, 11vw, 168px);
	z-index: 3;
}

.mariener-bf-home__story-card {
	isolation: isolate;
	min-height: 640px;
	overflow: hidden;
	position: relative;
}

.mariener-bf-home__story-card::before {
	background: linear-gradient(0deg, rgba(6, 6, 6, 0.9) 0%, rgba(6, 6, 6, 0.08) 62%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.mariener-bf-home__story-card > .e-con-inner,
.mariener-bf-home__story-card > .elementor-element {
	position: relative;
	z-index: 1;
}

.mariener-homepage-products .mariener-product-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(var(--mariener-home-columns, 4), minmax(0, 1fr));
}

.mariener-homepage-products .mariener-product-card {
	background: var(--mariener-surface);
	color: var(--mariener-ink);
	min-width: 0;
}

.mariener-homepage-products .mariener-product-card__media-wrap,
.mariener-homepage-products .mariener-product-card__media {
	background: var(--mariener-secondary);
}

.mariener-homepage-products .mariener-product-card__body {
	background: var(--mariener-surface);
}

.mariener-homepage-products .mariener-product-card__cta {
	border-color: var(--mariener-ink);
	color: var(--mariener-ink) !important;
}

.mariener-homepage-products .mariener-product-card__cta:hover {
	background: var(--mariener-ink);
	color: #fff !important;
}

.mariener-bf-home__goggle-media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.mariener-bf-home__feature-row {
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 1100px) {
	.mariener-homepage-products .mariener-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mariener-bf-home__story-card {
		min-height: 560px;
	}
}

@media (max-width: 767px) {
	.mariener-bf-home__hero {
		background-position: 68% center !important;
		min-height: 720px;
	}

	.mariener-bf-home__hero::before {
		background: linear-gradient(180deg, rgba(8, 8, 8, 0.36) 0%, rgba(8, 8, 8, 0.42) 35%, rgba(8, 8, 8, 0.96) 76%, rgba(8, 8, 8, 1) 100%);
	}

	.mariener-bf-home__offer-chip {
		bottom: 26px;
		right: 16px;
		width: 112px;
	}

	.mariener-homepage-products .mariener-product-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.mariener-bf-home__story-card {
		min-height: 520px;
	}

	.mariener-bf-home__story-card--snow {
		background-position: 69% center !important;
	}
}

