/* ==========================================================================
   V20 — hero.css
   Cloned from v20.nl hero-split. Mobile-first.
   - <=1023px: big image hidden, Bestsellers full width.
   - <=768px:  product cards stack vertically (image on top).
   - >=1024px: split row (image 60% / Bestsellers 40%).
   ========================================================================== */

.hero-split {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 1400px;
	margin-inline: auto;
	background-color: var(--v20-dark);
}

/* ---- Left (image) — hidden below 1024px ---- */
.hero-left {
	display: none;
}

.hero-left__media {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 400px;
	overflow: hidden;
}

.hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(22, 24, 29, .95), rgba(22, 24, 29, .3));
}

.hero-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 3rem;
}

.hero-content__inner {
	max-width: 750px;
}

.hero-badge {
	align-self: flex-start;
	display: inline-block;
	margin-bottom: 1rem;
	padding: .5rem 1rem;
	background: rgba(0, 0, 0, .5);
	border: 1px solid rgba(255, 255, 255, .85);
	color: #fff;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.hero-title {
	margin: 0 0 .5rem;
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	line-height: .9;
	font-size: clamp(2.5rem, 5.5vw, 4.5rem);
}

.hero-title__accent {
	color: var(--v20-neon);
}

.hero-lead {
	max-width: 500px;
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, .75);
	font-size: 1.25rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 30px;
	font-size: 1.05rem;
	font-weight: 700;
	border: 1px solid transparent;
	border-radius: 0;
	transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.hero-btn--neon {
	background-color: var(--v20-neon);
	color: #000;
	text-transform: uppercase;
}

.hero-btn--neon:hover {
	color: #000;
	background-color: #fff;
	box-shadow: 0 0 15px var(--v20-neon);
}

.hero-btn--outline {
	background: transparent;
	color: #fff;
	border-color: #f8f9fa;
	padding-inline: 1.5rem;
}

.hero-btn--outline:hover {
	color: #000;
	background: #f8f9fa;
}

/* ---- Right (Bestsellers) ---- */
.hero-right {
	width: 100%;
	padding: 2rem 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: linear-gradient(180deg, var(--v20-dark) 0%, #0e1013 100%);
}

.bestsellers__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 1.5rem;
	padding-inline: .5rem;
}

.bestsellers__title {
	margin: 0;
	color: #fff;
	font-weight: 700;
	font-size: 1.28rem;
	text-transform: uppercase;
}

.bestsellers__divider {
	display: block;
	width: 88px;
	height: 2px;
	margin: .4rem 0;
	background: var(--v20-neon);
	border-radius: 2px;
	box-shadow: 0 0 8px var(--v20-neon);
	transition: width .3s ease;
}

.bestsellers__head:hover .bestsellers__divider {
	width: 144px;
}

.bestsellers__sub {
	margin: 0;
	color: rgba(255, 255, 255, .5);
	font-size: .9rem;
}

.bestsellers__all {
	color: #fff;
	font-size: 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	white-space: nowrap;
	margin-right: 15px;
	transition: color .2s ease, transform .2s ease;
}

.bestsellers__all:hover {
	color: var(--v20-neon);
	transform: translateX(-7px);
}

.bestsellers__all svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
	transform: scaleX(-1);   /* point the arrow the opposite way (left) */
}

.bestsellers__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* ---- Product side card ---- */
.side-card {
	display: flex;
	align-items: center;
	padding: 1rem;
	background: var(--v20-card-bg);
	border: 1px solid var(--v20-border);
	border-radius: 12px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
	transition: transform .2s, border-color .2s, background-color .2s;
	color: inherit;
}

.side-card:hover {
	border-color: var(--v20-neon);
	background: #2a2e35;
	transform: translateX(-5px);
}

.side-card__media {
	flex-shrink: 0;
	width: 90px;
	height: 70px;
	background: #fff;
	border: 1px solid rgba(108, 117, 125, .25);
	border-radius: 6px;
	overflow: hidden;
}

.side-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.side-card__body {
	flex-grow: 1;
	margin-left: 1rem;
}

.side-card__title {
	margin: 0 0 .25rem;
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: .90rem;
	line-height: 1.3;
}

.side-card__meta {
	display: flex;
	gap: .5rem;
	color: rgba(255, 255, 255, .5);
	font-size: .8rem;
}

/* When reusing the model-card spec styling here, keep the tight hero spacing. */
.side-card__meta.model-card__specs {
	margin-top: 0;
}

.side-card__spec {
	display: flex;
	align-items: center;
	gap: .25rem;
}

.side-card__spec svg {
	width: .9em;
	height: .9em;
	fill: #ffc107;               /* text-warning */
}

.side-card__range {
	padding-left: .5rem;
	border-left: 1px solid rgba(108, 117, 125, .5);
}

.side-card__price {
	margin-left: .5rem;
	text-align: right;
}

.side-card__old {
	color: rgba(255, 255, 255, .5);
	font-size: .75rem;
	text-decoration: line-through;
}

.price-tag {
	color: var(--v20-neon);
	font-family: monospace;
	font-weight: 700;
	font-size: 1.1rem;
}

.side-card__chevron {
	margin-left: 1rem;
	color: rgba(255, 255, 255, .5);
	opacity: .5;
	display: inline-flex;
}

.side-card__chevron svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ---- Trust badges ---- */
.hero-trust {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .5rem;
	margin-top: 2rem;
	border-top: 1px solid rgba(108, 117, 125, .1);
	text-align: center;
}

/* Inline badges (between the side-cards) show on mobile only. */
.hero-trust__inline {
	display: none;
	text-align: center;
}

/* Mobile: weave badges 1 & 2 between the side-cards; keep only the
   shipping badge in the bottom row (full width). */
@media (max-width: 576px) {
	.hero-trust__inline {
		display: block;
		/* list gap (1rem) alone = 1rem up & down,
		   matching the gap above the 3rd badge (.hero-trust margin-top). */
		margin-block: 0;
	}

	.hero-trust {
		grid-template-columns: 1fr;
		margin-top: 1rem;
	}

	.hero-trust .trust-badge--stock,
	.hero-trust .trust-badge--warranty {
		display: none;
	}

	/* Icon + title side by side (instead of stacked). */
	.trust-badge {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: .5rem;
	}
}

.trust-badge {
	padding: 1rem;
	background: var(--v20-card-bg);   /* match the side-card background */
	border: 1px solid rgba(108, 117, 125, .1);
	border-radius: var(--radius);
}

.trust-badge svg {
	display: block;
	margin: 0 auto .25rem;
	width: 1.7rem;
	height: 1.7rem;
}

.trust-badge--stock svg { fill: #198754; margin-bottom: 12px; }
.trust-badge--warranty svg { fill: #0d6efd; margin-bottom: 12px; }
.trust-badge--shipping svg { fill: #0dcaf0; margin-bottom: 12px; }

/* Mobile side-by-side: reset the stacked-icon margins. Declared AFTER the
   base svg rules above so it wins the cascade at <=576px. */
@media (max-width: 576px) {
	.trust-badge svg,
	.trust-badge--stock svg,
	.trust-badge--warranty svg,
	.trust-badge--shipping svg {
		margin: 0;
	}
}

.trust-badge small {
	color: #fff;
	text-transform: uppercase;
	font-size: 0.8rem;
}

/* ==========================================================================
   >=769px — product cards go horizontal (this is the base card layout;
   below 769px the mobile stack rules above already apply via defaults).
   ========================================================================== */
@media (max-width: 768px) {
	.side-card {
		flex-wrap: wrap;
	}

	.side-card__media {
		width: 100%;
		height: auto;
		margin-bottom: 1rem;
	}

	.side-card__media img {
		height: auto;
		object-fit: contain;
	}

	.side-card__body {
		margin-left: 0;
		width: 100%;
	}

	.side-card__price {
		margin-left: 0;
		margin-top: .5rem;
		width: 100%;
		text-align: left;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.side-card__chevron {
		display: none;
	}
}

/* ==========================================================================
   >=1024px — split row
   ========================================================================== */
@media (min-width: 1024px) {
	.hero-split {
		flex-direction: row;
	}

	.hero-left {
		display: block;
		position: relative;
		width: 60%;
	}

	.hero-left__media {
		position: absolute;
		inset: 0;
		min-height: auto;
	}

	.hero-right {
		width: 40%;
		padding: 3rem 2rem;
	}
}
