/* Nederlandse teksten die de originele CSS via content: toevoegt */
#sorting_filter:before { content: 'Sorteer:'; }
.sold_car::before { content: 'VERKOCHT'; }

/* Volledige wagenkaart klikbaar: de fotolink krijgt een onzichtbare laag over de hele kaart */
.car_item { position: relative; cursor: pointer; }
.car_item .card_link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
/* Andere links in de kaart (naam, Meer info) blijven er bovenop en gaan naar dezelfde wagen */
.car_item a:not(.card_link) { position: relative; z-index: 2; }

/* Wagenpagina op mobiel: prijs op een eigen regel, de contactknoppen onder elkaar over de volle breedte */
@media (max-width: 575px) {
  .car_info_top .car_item_foot { flex-wrap: wrap; }
  .car_info_top .car_item_foot .car_price { width: 100%; margin-bottom: 14px; white-space: nowrap; }
  .car_info_top .car_item_foot .sold_badge { margin-bottom: 14px; }
  .car_info_top .car_contact_btns { display: flex; flex-direction: column; width: 100%; gap: 10px; }
  .car_info_top .car_contact_btns .btn { width: 100%; margin: 0; text-align: center; }
}

/* Car-Pass: badge op de wagenkaarten (boven de klikbare laag, maar laat klikken door) */
.carpass_badge {
  position: absolute; top: 12px; left: 12px; z-index: 3; pointer-events: none;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  background: #fff; color: #111; font-family: Montserrat, sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: .5px; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.carpass_badge i, .carpass_pill i { color: #1f9d4c; font-size: 14px; }

/* Car-Pass op de wagenpagina */
.carpass_pill {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 18px; padding: 6px 12px; align-self: center;
  background: #fff; color: #111; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 12px; text-transform: uppercase;
}
.carpass_box {
  display: flex; margin-bottom: 4px; align-items: center; gap: 18px; margin-top: 22px; padding: 18px 20px;
  background: #0d0d0d; border: 1px solid #333; border-left: 4px solid #1f9d4c;
}
.carpass_icon {
  flex: 0 0 44px; height: 44px; border-radius: 50%; background: #1f9d4c; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.carpass_text { flex: 1; color: #bdbdbd; }
.carpass_text strong { display: block; color: #fff; font-family: Montserrat, sans-serif; font-size: 17px; }
.carpass_box .btn { margin: 0; white-space: nowrap; }
@media (max-width: 575px) {
  .carpass_box { flex-wrap: wrap; }
  .carpass_box .btn { width: 100%; text-align: center; }
  .carpass_pill { margin: 10px 0 0; }
}

/* Uitrusting op de wagenpagina */
.equipment_grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.equipment_grid h5 { color: #fff; font-family: Montserrat, sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.equipment_grid ul { list-style: none; padding: 0; margin: 0; }
.equipment_grid li { list-style: none !important; display: block; position: relative; padding: 4px 0 4px 20px; color: #d6d6d6; font-size: 14px; }
.equipment_grid li::before { content: '\f00c'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; left: 0; top: 5px; color: #DC0303; font-size: 11px; }

/* Wagenkaarten overal even groot: vaste hoogte voor de naam, specificaties op één regel, onderkant onderaan */
.car_item_box { display: flex; }
.car_item { display: flex; flex-direction: column; height: 100%; }
.car_item .car_info { flex: 1; display: flex; flex-direction: column; }
.car_item .car_item_foot { margin-top: auto; }
.owl-carousel .owl-stage { display: flex; }
.owl-carousel .owl-item { display: flex; }
.owl-carousel .owl-item > .item { display: flex; width: 100%; }

/* Naam: altijd 2 regels, te lang wordt afgekort met ... */
.car_item .car_name { line-height: 30px; height: 60px; min-height: 0; overflow: hidden; margin-bottom: 6px; }
.car_item_box .car_name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.car_item .car_name b.d-block { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Specificaties: drie kolommen op één regel */
.car_item .car_features { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; column-gap: 22px; margin-bottom: 0; }
.car_item .car_features li { margin: 5px 0; min-width: 0; }
.car_item .car_features span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car_brand_logo--empty { visibility: hidden; }

/* Homepage: doorlopende reviewsectie */
.rv_band { background: #111; padding: 70px 0 60px; }
.rv_head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.rv_head .title { text-align: left; margin: 0; }
.rv_head .title::before { left: 0; margin-left: 0; }
.rv_card { background: #1b1b1b; padding: 26px; margin: 0; height: 100%; display: flex; flex-direction: column; border-top: 3px solid #DC0303; }
.rv_carousel .owl-stage { display: flex; }
.rv_carousel .owl-item { display: flex; }
.rv_carousel .owl-item > .rv_card { width: 100%; }
.rv_card_top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.rv_card_stars { color: #f5c518; letter-spacing: 2px; font-size: 16px; }
.rv_source { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #8a8a8a; }
.rv_source--google { color: #8ab4f8; }
.rv_card blockquote { flex: 1; color: #e2e2e2; font-size: 15px; line-height: 1.7; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv_card figcaption strong { color: #fff; font-family: Montserrat, sans-serif; display: block; }
.rv_card figcaption span { color: #8a8a8a; font-size: 13px; }
.rv_carousel .owl-nav { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.rv_carousel .owl-nav button.owl-prev, .rv_carousel .owl-nav button.owl-next {
  width: 42px; height: 42px; background: #1d1d1d !important; color: #fff !important; border: 1px solid #333 !important; }
.rv_carousel .owl-nav button:hover { border-color: #DC0303 !important; }
.rv_carousel .owl-nav button.disabled { opacity: .35; }
.rv_carousel .owl-dots { display: none; }

/* Homepage: twee foto's naast elkaar onder de reviews */
.photo_grid { display: grid; grid-template-columns: 1fr 1fr; }
.photo_grid img { display: block; width: 100%; height: 500px; object-fit: cover; }
@media (max-width: 767px) {
  .rv_band { padding: 50px 0 40px; }
  .rv_head { flex-direction: column; align-items: flex-start; }
  .photo_grid img { height: 240px; }
}
