/* ==========================================================================
   V20 — section-arrivals.css
   "Nieuw Binnen / Latest Arrivals" model-card grid.
   1 col / 2 col (>=768) / 4 col (>=992). Also defines the shared
   .section-head used by later homepage sections.
   ========================================================================== */

.home-arrivals {
	background-color: var(--v20-dark);
	border-top: 1px solid rgba(255, 255, 255, .05);
	padding-block: 3rem;
}

/* ---- Shared section header ---- */
.section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

/* Inset the eyebrow/divider/title block and the CTA from the edges
   (match the Bestsellers header's .5rem inset on both sides). */
.section-head__left {
	padding-left: .5rem;
}

/* Icon sits to the left of the eyebrow/divider/title block. */
.section-head__left,
.news-head__left {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

/* Icon now sits to the left of the "Bekijk alles" button. */
.section-head__right {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.section-icon {
	flex-shrink: 0;
	display: inline-flex;
	line-height: 0;
	color: var(--v20-neon);
}

.section-icon svg {
	width: 52px;
	height: 52px;
	fill: currentColor;
}

.section-head .section-more {
	padding-right: .5rem;
}

.section-eyebrow {
	margin: 0 0 .25rem;
	color: var(--v20-neon);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: .9rem;
}

.section-divider {
	display: block;
	width: 88px;
	height: 2px;
	margin: .4rem 0;
	background: #fff;
	border-radius: 2px;
	box-shadow: 0 0 8px rgba(255, 255, 255, .5);
	transition: width .3s ease;
}

.section-head:hover .section-divider {
	width: 144px;
}

.section-title {
	margin: 0;
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.1;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-title .text-neon,
.section-title__accent {
	color: var(--v20-neon);
}

.section-more {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: #9ca3af;
	font-size: 1.17rem;
	white-space: nowrap;
	transition: color .2s ease, transform .2s ease;
}

.section-more:hover {
	color: #fff;
	transform: translateX(-7px);
}

/* The bottom CTA is mobile-only (moved below the 4th card). */
.section-more--bottom {
	display: none;
}

@media (max-width: 767px) {
	.section-more--head {
		display: none;
	}

	.section-more--bottom {
		display: flex;
		width: fit-content;
		margin: 1.5rem auto 0;
	}

	/* Keep "Latest Arrivals" on a single line now the CTA is gone. */
	.home-arrivals .section-title {
		white-space: nowrap;
	}
}

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

/* ---- Card grid ---- */
.arrivals-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.model-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--v20-card-bg);
	border: 1px solid var(--v20-border);
	border-radius: 12px;
	overflow: hidden;
	color: inherit;
	transition: transform .3s ease, border-color .3s ease, background-color .3s ease;
}

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

.model-card__badge {
	position: absolute;
	top: 0;
	left: 0;
	margin: 1rem;
	z-index: 2;
	padding: .35em .65em;
	background: var(--v20-neon);
	color: #000;
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
}

.model-card__media {
	position: relative;
	background: #fff;
}

.model-card__img {
	width: 100%;
	margin-top: 30px;
	min-height: 280px;
	object-fit: cover;
	transform: scale(0.75);
	overflow: visible;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: transform .3s ease;
}

.model-card:hover .model-card__img {
	transform: scale(0.90);
}

/* Mobile: drop the cover crop and scale the product image up a touch. */
@media (max-width: 768px) {
	.model-card__img {
		background-size: auto;
		transform: scale(0.85);
	}
}

.model-card__body {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	padding: 1rem;
	color: #fff;
}

/* Spec row sits above the category|brand meta (order 1 pushes meta last). */
.model-card__meta {
	order: 1;
}

.model-card__title {
	margin: 0;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1rem;
	line-height: 1.3;
	/* Clamp to 2 lines; overflow gets an ellipsis. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;   /* reserve 2 lines so cards align */
}

/* Display-only 2nd title line (e.g. "Mini Fatbike") — same color as the title. */
.model-card__subtitle {
	color: inherit;
}

.model-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: .5rem;
}

/* Spec row (⚡ motor | actieradius) reused from the hero side-card.
   Match the "V20 Mini | QM Wheels" meta font style (size + colour). */
.model-card__specs {
	margin-top: .7rem;
	font-size: .875rem;
	color: #9ca3af;
}

.model-card__specs .side-card__spec {
	color: #9ca3af;
}

.model-card__tags {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	min-width: 0;
	overflow: hidden;
}

.model-card__cat {
	color: #9ca3af;
	font-size: .875rem;
	text-transform: uppercase;
	white-space: nowrap;
}

.model-card__sep {
	flex-shrink: 0;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .4);   /* bullet between category and brand */
}

/* No divider between the spec values inside the model card. */
.model-card__specs .side-card__range {
	padding-left: 0;
	border-left: 0;
}

.model-card__brand {
	color: #9ca3af;
	font-size: .875rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---- Breakpoints ---- */
@media (min-width: 768px) {
	.arrivals-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.arrivals-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
