/* Gräper Aanbod: kleuren en vormen overgenomen van de Cadar-weergave op graperautomotive.nl (gemeten 30 nov 2026). */
.ga-aanbod, .ga-detail {
	--ga-achter: #2a2a2a;
	--ga-vlak: #1f1f1f;
	--ga-tekst: #ffffff;
	--ga-zacht: #b9b9b9;
	--ga-lijn: rgba(255, 255, 255, .14);
	--ga-breed: 1240px;
	background: var(--ga-achter);
	color: var(--ga-tekst);
	box-sizing: border-box;
}
.ga-aanbod *, .ga-detail * { box-sizing: border-box; }
.ga-aanbod a, .ga-detail a { color: inherit; }

/* Knoppen */
.ga-knop {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
	padding: 12px 24px; background: #000; color: #fff !important; border: 2px solid #fff; border-radius: 0;
	font: 700 14px/1.2 Montserrat, Arial, sans-serif; text-transform: uppercase; letter-spacing: .03em;
	text-decoration: none !important; cursor: pointer; text-align: center;
}
.ga-knop:hover, .ga-knop:focus-visible { background: #fff; color: #000 !important; }
.ga-knop--vol { background: #fff; color: #000 !important; }
.ga-knop--vol:hover, .ga-knop--vol:focus-visible { background: #000; color: #fff !important; }
.ga-aanbod :focus-visible, .ga-detail :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Overzicht ---------- */
.ga-aanbod { padding: 24px 16px 48px; }
.ga-aanbod > * { max-width: var(--ga-breed); margin-left: auto; margin-right: auto; }
.ga-balk { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ga-aantal { margin: 0; color: var(--ga-zacht); white-space: nowrap; }
.ga-sorteer select {
	min-height: 44px; padding: 0 36px 0 12px; border: 2px solid #fff; border-radius: 5px; background-color: #fff;
	color: #3a3a3a; font: inherit; font-size: 16px; max-width: 100%;
}
.ga-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ga-filter a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; background: #fff; color: #2a2a2a !important;
	text-transform: uppercase; text-decoration: none; font-weight: 500; font-size: 16px;
}
.ga-filter a.is-actief { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px #fff; font-weight: 700; }
.ga-filter--klein a { min-height: 34px; font-size: 14px; padding: 0 12px; }
.ga-leeg { color: var(--ga-zacht); padding: 32px 0; }

.ga-raster { list-style: none; margin: 24px auto 0; padding: 0; display: grid; gap: 32px 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ga-kaart { margin: 0; }
.ga-kaart a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.ga-kaart__foto { display: block; aspect-ratio: 4 / 3; background: var(--ga-vlak); overflow: hidden; margin-bottom: 6px; }
.ga-kaart__foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ga-kaart a:hover .ga-kaart__foto img { transform: scale(1.03); }
.ga-kaart__titel { font-family: Onest, sans-serif; font-size: 22px; font-weight: 500; line-height: 1.25; color: #fff; }
.ga-kaart__sub { color: var(--ga-zacht); font-size: 15px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ga-kaart__data { display: flex; flex-wrap: wrap; gap: 4px 14px; color: #fff; font-size: 15px; border-top: 1px solid var(--ga-lijn); padding-top: 8px; margin-top: 2px; }
.ga-kaart__prijs { font-size: 18px; font-weight: 700; color: #fff; }

@media (max-width: 1024px) { .ga-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.ga-raster { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.ga-filter { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.ga-filter a { flex: 0 0 auto; }
}

/* ---------- Detail ---------- */
.ga-detail { padding: 24px 16px 56px; }
.ga-detail > * { max-width: var(--ga-breed); margin-left: auto; margin-right: auto; }
.ga-terug { display: inline-block; color: var(--ga-zacht) !important; text-decoration: none; margin-bottom: 8px; padding: 6px 0; }
.ga-terug:hover { color: #fff !important; }
.ga-detail__titel { font-family: Onest, sans-serif; color: #fff; font-size: clamp(24px, 4vw, 34px); font-weight: 600; line-height: 1.2; margin: 0 0 20px; }
.ga-verkocht { background: #fff; color: #000; padding: 14px 16px; font-weight: 700; }
.ga-verkocht a { color: #000 !important; }

.ga-detail__boven { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.ga-galerij { position: relative; min-width: 0; }
.ga-galerij__strook { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--ga-vlak); }
.ga-galerij__strook::-webkit-scrollbar { display: none; }
.ga-galerij__foto { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; }
.ga-galerij__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Foto, pijlen en teller in één vak: pijlen staan altijd in het midden van de foto. */
.ga-galerij__beeld { position: relative; }
/* Knoppen los van de thema-opmaak (Inspiro geeft knoppen padding, hoofdletters en letterafstand; gemeten 30 nov). */
.ga-aanbod button, .ga-detail button { letter-spacing: 0; text-transform: none; box-shadow: none; }
.ga-galerij__pijl {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; min-height: 0;
	background: rgba(0, 0, 0, .55); color: #fff; line-height: 0; cursor: pointer;
	transition: background-color .15s ease;
}
.ga-galerij__pijl:hover, .ga-galerij__pijl:focus-visible { background: rgba(0, 0, 0, .8); color: #fff; }
.ga-galerij__pijl svg { display: block; width: 24px; height: 24px; }
.ga-galerij__pijl--vorige { left: 12px; }
.ga-galerij__pijl--volgende { right: 12px; }
.ga-galerij__teller { position: absolute; top: 10px; right: 10px; margin: 0; padding: 2px 10px; background: rgba(0, 0, 0, .6); font-size: 14px; }
.ga-galerij__duimen { display: flex; gap: 6px; overflow-x: auto; margin-top: 6px; height: 78px; scrollbar-width: thin; }
.ga-galerij__duimen button { flex: 0 0 96px; height: 72px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .6; }
.ga-galerij__duimen button.is-actief, .ga-galerij__duimen button:hover { opacity: 1; border-color: #fff; }
.ga-galerij__duimen img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ga-kern { background: var(--ga-vlak); padding: 20px; }
.ga-kern dl { margin: 0 0 20px; }
.ga-kern dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ga-lijn); }
.ga-kern dt { color: var(--ga-zacht); text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.ga-kern dd { margin: 0; text-align: right; font-weight: 700; }
.ga-kern dl > div:first-child dd { font-size: 22px; }
.ga-knoppen { display: grid; gap: 10px; }

.ga-detail__onder { margin-top: 40px; display: grid; gap: 40px; }
.ga-blok h2 { color: #fff; font-family: Onest, sans-serif; font-size: 24px; font-weight: 600; margin: 0 0 16px; }
.ga-blok h3 { color: var(--ga-zacht); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; margin: 20px 0 8px; }
.ga-tekst { color: #e6e6e6; line-height: 1.65; max-width: 820px; }
.ga-tekst p { margin: 0 0 14px; }
.ga-tabel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.ga-tabel > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ga-lijn); }
.ga-tabel dt { color: var(--ga-zacht); }
.ga-tabel dd { margin: 0; text-align: right; }
.ga-opties ul { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 32px; }
.ga-opties li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--ga-lijn); color: #e6e6e6; }
.ga-opties.is-ingeklapt { max-height: 520px; overflow: hidden; position: relative; }
.ga-opties.is-ingeklapt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--ga-achter) 70%); pointer-events: none; }
.ga-opties__meer { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 1; }
.ga-opties:not(.is-ingeklapt) .ga-opties__meer { display: none; }

@media (max-width: 900px) {
	.ga-detail__boven { grid-template-columns: 1fr; }
	.ga-galerij { margin-left: -16px; margin-right: -16px; }
	.ga-galerij__duimen { padding: 0 16px; }
	.ga-tabel { grid-template-columns: 1fr; }
}

/* Thema-opsommingstekens uitzetten (Inspiro zet bolletjes voor li) */
.ga-raster > li, .ga-opties li { list-style: none; }
.ga-raster > li::before, .ga-raster > li::marker { content: none; display: none; }
.ga-kaart.is-verkocht .ga-kaart__prijs { color: var(--ga-zacht); text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }

/* SEO-inleiding en RDW-link (1.4.0) */
.ga-inleiding { color: #fff; font-size: 17px; line-height: 1.6; margin: 0 0 18px; }
.ga-inleiding a, .ga-rdw { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.ga-rdw { margin-left: 8px; font-size: 14px; color: var(--ga-zacht) !important; }
