/* ============ THE PORT OCCASIONS - design ============ */
:root {
  --bg: #0d0d11;
  --header: #131318;
  --card: #15151b;
  --line: #24242d;
  --text: #e8e8ee;
  --muted: #c9c9d2;
  --faint: #8a8a96;
  --red: #e53935;
  --green: #1da851;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ HEADER ============ */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 19, 24, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-link img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}
.logo-txt {
  line-height: 1.1;
}
.logo-txt b {
  display: block;
  color: var(--white);
  font-size: 16px;
  letter-spacing: 0.5px;
}
.logo-txt span {
  font-size: 10px;
  color: var(--faint);
  font-weight: 600;
  letter-spacing: 1px;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}
.menu-btn svg {
  display: block;
}

/* ============ MENU OVERLAY ============ */
#menuOverlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #0d0d11;
  display: none;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}
#menuOverlay.open {
  display: flex;
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.menu-top img {
  width: 74px;
  height: 74px;
  border-radius: 14px;
}
.close-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1c1c24;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--white);
}
.menu-item b {
  font-size: 24px;
  color: var(--red);
  font-weight: 800;
}
.menu-item span {
  font-size: 22px;
  font-weight: 700;
  flex: 1;
}
.menu-item svg {
  color: #5a5a66;
}
.menu-foot {
  margin-top: auto;
  padding-top: 24px;
}
.menu-foot .info {
  font-size: 12px;
  color: var(--faint);
  margin-bottom: 8px;
}
.menu-foot .wa {
  display: block;
  margin-top: 18px;
  background: var(--green);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  padding: 18px;
  border-radius: 16px;
}
.menu-foot .wa small {
  display: block;
  font-weight: 600;
  font-size: 11px;
  margin-top: 4px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #10101a 0%, #0d0d11 100%);
  padding: 90px 20px 60px;
}
.hero > .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 16, 0.82) 0%,
    rgba(10, 10, 16, 0.5) 50%,
    rgba(10, 10, 16, 0.85) 100%
  );
}
.hero h1,
.hero p {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero .kicker {
  color: var(--red);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 13px;
}
.hero h1 {
  font-size: clamp(34px, 8vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  margin: 12px 0 4px;
}
.hero h1 .red {
  color: var(--red);
}
.hero p {
  color: var(--muted);
  margin: 12px auto 0;
  max-width: 560px;
  font-size: 15px;
}
.btn-red {
  display: inline-block;
  margin-top: 26px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 16px 30px;
  border-radius: 999px;
}
.btn-ghost {
  display: inline-block;
  margin-top: 26px;
  margin-left: 10px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid var(--line);
}
.hero-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.hero-btns .btn-red,
.hero-btns .btn-ghost {
  margin-top: 0;
  margin-left: 0;
  min-width: 240px;
  text-align: center;
}

/* ============ WISSELENDE ADVERTENTIE (homepage) ============ */
.carousel {
  position: relative;
}
.car-tracks {
  position: relative;
  overflow: hidden;
}
.car-slide {
  display: none;
}
.car-slide.act {
  display: block;
  animation: carFade 0.6s ease;
}
@keyframes carFade {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.car-nav {
  position: absolute;
  top: 38%;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 10, 16, 0.55);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.car-nav.prev {
  left: 10px;
}
.car-nav.next {
  right: 10px;
}
.car-nav:hover {
  background: var(--red);
}
.car-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.car-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #33343d;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.car-dot.act {
  background: var(--red);
  width: 22px;
  border-radius: 6px;
}

/* ============ SECTIES ============ */
section {
  padding: 44px 0;
}
.sec-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sec-title .arrow {
  display: flex;
  gap: 8px;
}
.sec-title .arrow button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--red);
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
}
.lead {
  color: var(--muted);
  font-size: 14px;
  max-width: 560px;
  margin-bottom: 26px;
}
.redline {
  width: 120px;
  height: 3px;
  background: var(--red);
  border: none;
  margin: 18px 0 8px;
}

/* ============ AUTO-KAARTEN ============ */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.card {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid var(--line);
  transition: transform 0.15s;
}
.card:hover {
  transform: translateY(-3px);
}
.card .ph {
  position: relative;
  aspect-ratio: 16/10;
  background: #1a1a22;
}
.card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card .ph .st {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--white);
}
.card .ph .pr {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  padding: 8px 15px;
  border-radius: 10px;
}
.card .bd {
  padding: 16px 18px 14px;
}
.card h3 {
  font-size: 21px;
  font-weight: 800;
}
.card .sub {
  font-size: 15px;
  color: var(--faint);
  margin: 3px 0 12px;
  font-weight: 600;
}
.card .specs {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  padding: 9px 0;
}
.iconrow {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  padding: 13px 18px 15px;
  background: #101016;
}
.iconrow div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.iconrow svg {
  color: var(--red);
  flex: none;
}

/* statussen */
.st-tekoop {
  background: var(--red);
}
.st-gereserveerd {
  background: #3a8fe8;
}
.st-verkocht {
  background: #1e5fd9;
}

/* ============ DIENSTEN ============ */
.tiles {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .tiles {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  text-decoration: none;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.55);
}
.tile b {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 800;
}
.tile span {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 14px;
  font-weight: 600;
}
.tile .tb {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  background: var(--white);
  color: #111116;
  font-weight: 800;
  font-size: 12px;
  padding: 11px 20px;
  border-radius: 999px;
}

/* ============ REVIEWS ============ */
.rev {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
.rev .score {
  font-size: 72px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.rev .stars {
  color: var(--red);
  font-size: 20px;
  letter-spacing: 3px;
}
.rev p {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}
.rev .btn-out {
  border: 2px solid var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 14px 24px;
  border-radius: 999px;
}

/* ============ WHATSAPP CTA ============ */
.wa-cta {
  background: var(--green);
  border-radius: 18px;
  padding: 26px;
  text-align: center;
  color: var(--white);
  text-decoration: none;
  display: block;
}
.wa-cta b {
  font-size: 20px;
  font-weight: 800;
  display: block;
}
.wa-cta small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
}

/* ============ FOOTER ============ */
footer {
  background: var(--header);
  padding: 40px 0 50px;
  margin-top: 30px;
}
footer b {
  font-size: 16px;
  color: var(--white);
}
footer .sub {
  font-size: 10px;
  color: var(--faint);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
footer .li {
  font-size: 12px;
  color: var(--faint);
  margin-bottom: 8px;
  font-weight: 600;
}

/* ============ ALGEMENE PAGINAS ============ */
.page-head {
  padding: 50px 20px 10px;
}
.page-head h1 {
  font-size: 30px;
  font-weight: 800;
}
.page-head .crumb {
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.back-btn:hover {
  color: var(--white);
}

/* ============ DETAILPAGINA ============ */
.gallery {
  position: relative;
}
.gallery .main {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 18px;
  background: #1a1a22;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.gallery .thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}
.gallery .thumbs img {
  width: 84px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.7;
}
.gallery .thumbs img.on {
  border-color: var(--red);
  opacity: 1;
}
.gallery .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
}
.gallery .nav.prev {
  left: 12px;
}
.gallery .nav.next {
  right: 12px;
}

.detail h1 {
  font-size: 26px;
  font-weight: 800;
  margin-top: 18px;
}
.detail .sub {
  color: var(--faint);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 4px;
}
.price-row .pr {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}
.price-row .st {
  font-size: 12px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--white);
}

.specgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.specgrid .box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
}
.specgrid .box small {
  display: block;
  font-size: 9px;
  color: var(--faint);
  font-weight: 700;
}
.specgrid .box b {
  font-size: 13px;
  font-weight: 700;
}

.opties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.opties .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid #33333e;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  padding: 8px 14px;
  color: var(--muted);
}
.opties .chip svg {
  color: var(--green);
}

.detail .oms {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.detail .oms b {
  color: var(--red);
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cta-row {
  display: flex;
  gap: 10px;
  margin: 22px 0;
}
.cta-row .wa-big {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  padding: 18px;
  border-radius: 16px;
}
.cta-row .bel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--card);
  color: var(--red);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 18px;
  border-radius: 16px;
  border: 2px solid var(--red);
}
.cta-row .disabled {
  filter: grayscale(0.7);
  opacity: 0.65;
  pointer-events: none;
}

/* ============ CHIPTUNING ============ */
.steps {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.steps .step {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--faint);
}
.steps .step .dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--line);
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.steps .step.on {
  color: var(--white);
}
.steps .step.on .dot {
  border-color: var(--red);
  color: var(--white);
}
.steps .step.done .dot {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

select,
input,
textarea {
  width: 100%;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 15px;
  margin-top: 6px;
}
label {
  font-size: 12px;
  font-weight: 700;
  color: var(--faint);
  letter-spacing: 0.5px;
}
.field {
  margin-bottom: 16px;
}

.result-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin-top: 10px;
}
.result-box .van {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}
.result-box .naar {
  font-size: 30px;
  font-weight: 800;
  color: var(--red);
}
.result-box .diff {
  display: inline-block;
  margin-top: 8px;
  background: rgba(229, 57, 53, 0.15);
  color: #ff6b66;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
}
.result-box .prijs {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}
.result-box .prijs b {
  color: var(--white);
  font-size: 18px;
}
.note {
  font-size: 11px;
  color: var(--faint);
  margin-top: 12px;
}

/* ============ CONTACT ============ */
.contact-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
}
.contact-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(229, 57, 53, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex: none;
}
.contact-card b {
  display: block;
  font-size: 14px;
}
.contact-card span {
  font-size: 12px;
  color: var(--faint);
}
.mapframe {
  width: 100%;
  height: 260px;
  border: none;
  border-radius: 18px;
  margin-top: 18px;
  filter: grayscale(30%);
}

/* ============ BEHEER ============ */
.pin-screen {
  max-width: 360px;
  margin: 60px auto;
  text-align: center;
}
.pin-screen input {
  text-align: center;
  letter-spacing: 8px;
  font-size: 22px;
}
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  background: var(--red);
  color: var(--white);
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  padding: 14px 22px;
  border-radius: 12px;
}
.btn.gray {
  background: #2a2a33;
}
.btn.green {
  background: var(--green);
}
.btn.small {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 9px;
}
.admin-list .acard {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
}
.admin-list img {
  width: 74px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
}
.admin-list .ai {
  flex: 1;
}
.admin-list .ai b {
  font-size: 14px;
  display: block;
}
.admin-list .ai small {
  color: var(--faint);
  font-size: 11px;
}
.admin-list .acts {
  display: flex;
  gap: 6px;
}
.hidden {
  display: none !important;
}
.form-grid {
  display: grid;
  gap: 10px;
}
@media (min-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.form-grid .full {
  grid-column: 1 / -1;
}
.kenteken-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.kenteken-row input {
  flex: 1;
}
.rdw-msg {
  font-size: 12px;
  color: var(--green);
  margin-top: 6px;
  font-weight: 700;
}
.rdw-msg.err {
  color: var(--red);
}
.topbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* ============ MISC ============ */
.badge-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.empty {
  color: var(--faint);
  text-align: center;
  padding: 40px 0;
  font-size: 14px;
}
img.ph {
  background: #1a1a22;
}

/* zwevende WhatsApp-knop */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s;
}
.wa-float:hover {
  transform: scale(1.08);
}

/* ============ TEKSTEN-EDITOR (beheer) ============ */
.tk-lijst {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 18px;
}
.tk-groep {
  background: #131318;
  border: 1px solid #23232c;
  border-radius: 14px;
  padding: 16px;
}
.tk-groep h3 {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 12px;
}
.tk-veld {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.tk-veld label {
  font-size: 11px;
  font-weight: 700;
  color: var(--faint);
  letter-spacing: 0.4px;
}
.tk-veld input {
  width: 100%;
  background: #0d0d11;
  border: 1px solid #2a2a34;
  border-radius: 8px;
  color: var(--white);
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
}
.tk-veld textarea {
  width: 100%;
  background: #0d0d11;
  border: 1px solid #2a2a34;
  border-radius: 8px;
  color: var(--white);
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}
.tk-veld input:focus,
.tk-veld textarea:focus {
  outline: none;
  border-color: var(--red);
}

/* ============ WEBSHOP ============ */
.shop-grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
@media (min-width: 720px) {
  .shop-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.shop-card {
  background: #131318;
  border: 1px solid #23232c;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shop-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.sc-in {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sc-in b {
  font-size: 17px;
  font-weight: 800;
}
.sc-prijs {
  color: var(--red);
  font-weight: 800;
  font-size: 19px;
  margin: 6px 0 8px;
}
.sc-in p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 14px;
}
.btn-green-sc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 13px 18px;
  border-radius: 999px;
}

/* ============ FAQ ============ */
.faq-lijst {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.faq-item {
  background: #131318;
  border: 1px solid #23232c;
  border-radius: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  padding: 16px;
  cursor: pointer;
  text-align: left;
}
.faq-q svg {
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-q.open svg {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  padding: 0 16px 16px;
}

/* ============ DOWNLOADS ============ */
.dl-lijst {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.dl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #131318;
  border: 1px solid #23232c;
  border-radius: 14px;
  padding: 16px;
}
.dl-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #1d1d26;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dl-txt {
  flex: 1;
  min-width: 0;
}
.dl-txt b {
  font-size: 15px;
  font-weight: 800;
  display: block;
}
.dl-txt span {
  color: var(--muted);
  font-size: 13px;
}
.dl-item .btn-red {
  margin-top: 0;
  white-space: nowrap;
}
.dl-binnenkort {
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ============ PAGINA-BANNER & EIGEN PAGINA ============ */
.page-banner {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  margin-bottom: 18px;
}
.eigen-inhoud {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  white-space: normal;
}

/* ============ BEHEER: FOTO-LIJST & BIJSNIJDEN ============ */
#bfFotosLijst {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.foto-item {
  position: relative;
  width: 150px;
  background: #12121a;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: visible;
}
.foto-item.hoofd {
  border-color: var(--red);
}
.foto-item img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
  border-radius: 10px 10px 0 0;
}
.foto-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 9px;
  border-radius: 999px;
  z-index: 2;
}
.foto-hoofd {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--card);
  color: var(--red);
  cursor: pointer;
  font-size: 15px;
  z-index: 2;
}
.foto-knoppen {
  display: flex;
  gap: 4px;
  padding: 5px;
}
.foto-knoppen button {
  flex: 1;
  border: none;
  border-radius: 7px;
  background: #1d1d28;
  color: var(--white);
  font-size: 15px;
  line-height: 1;
  min-height: 38px;
  cursor: pointer;
}
.foto-knoppen button:disabled {
  opacity: 0.25;
  cursor: default;
}
.foto-knoppen button.del {
  background: #7a2030;
}
.foto-item.hoofd {
  border-color: var(--red);
}
.foto-item img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  display: block;
  border-radius: 10px 10px 0 0;
}
.foto-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 999px;
  z-index: 2;
}
.foto-hoofd {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--card);
  color: var(--red);
  cursor: pointer;
  font-size: 13px;
  z-index: 2;
}
.foto-knoppen {
  display: flex;
  gap: 4px;
  padding: 5px;
}
.foto-knoppen button {
  flex: 1;
  border: none;
  border-radius: 7px;
  background: #1d1d28;
  color: var(--white);
  font-size: 12px;
  line-height: 1;
  padding: 7px 0;
  cursor: pointer;
}
.foto-knoppen button:disabled {
  opacity: 0.25;
  cursor: default;
}
.foto-knoppen button.del {
  background: #7a2030;
}
/* bijsnijd-venster */
.crop-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.crop-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  max-width: 860px;
  width: 100%;
  max-height: 94vh;
  overflow: auto;
}
.crop-box h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 12px;
}
.crop-area {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  min-height: 200px;
  background: #0d0d13;
  display: flex;
  align-items: center;
  justify-content: center;
}
.crop-area img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}
.crop-sel {
  position: absolute;
  border: 2px solid var(--red);
  box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.55);
  cursor: move;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box;
}
.crop-handle {
  position: absolute;
  background: var(--red);
  border: 2px solid var(--white);
  border-radius: 4px;
  touch-action: none;
  z-index: 3;
}
.crop-h-nw,
.crop-h-se {
  width: 24px;
  height: 24px;
  cursor: nwse-resize;
}
.crop-h-ne,
.crop-h-sw {
  width: 24px;
  height: 24px;
  cursor: nesw-resize;
}
.crop-h-n,
.crop-h-s {
  width: 30px;
  height: 20px;
  cursor: ns-resize;
}
.crop-h-e,
.crop-h-w {
  width: 20px;
  height: 30px;
  cursor: ew-resize;
}
.crop-h-nw {
  top: -9px;
  left: -9px;
}
.crop-h-n {
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
}
.crop-h-ne {
  top: -9px;
  right: -9px;
}
.crop-h-e {
  top: 50%;
  right: -9px;
  transform: translateY(-50%);
}
.crop-h-se {
  bottom: -9px;
  right: -9px;
}
.crop-h-s {
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
}
.crop-h-sw {
  bottom: -9px;
  left: -9px;
}
.crop-h-w {
  top: 50%;
  left: -9px;
  transform: translateY(-50%);
}
.crop-acties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}
@media (max-width: 480px) {
  .crop-acties {
    justify-content: stretch;
  }
  .crop-acties .btn {
    flex: 1 1 100%;
    text-align: center;
  }
  .crop-box {
    padding: 14px;
  }
}

/* ============ EXPORT-PAGINA ============ */
.exp-checks {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.exp-check {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.exp-check svg {
  flex-shrink: 0;
}

/* ============ BADGES & STATUS OP DE FOTO ============ */
.gallery-foto {
  position: relative;
}
.foto-st {
  position: absolute;
  top: 14px;
  left: -8px;
  transform: rotate(-6deg);
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 1.5px;
  padding: 12px 30px;
  border-radius: 6px;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.foto-st.st-verkocht {
  background: #1e5fd9;
}
.foto-st.st-gereserveerd {
  background: #3a8fe8;
}
.foto-st.st-nieuw {
  background: #0b2a6b;
}
.foto-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  z-index: 5;
}
.foto-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.4px;
  padding: 6px 11px;
  border-radius: 8px;
  color: var(--white);
  background: #111;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.foto-badge.b-1e-eigenaar {
  background: linear-gradient(135deg, #d4af37, #f7e08b);
  color: #222;
}
.foto-badge.b-rdw-erkend {
  background: #e8750a;
}
.foto-badge.b-dealer-onderhouden {
  background: var(--white);
  color: #0b5cff;
  border: 2px solid #0b5cff;
}
.foto-badge.b-nap {
  background: #111;
  color: var(--white);
  border: 2px solid #22c55e;
}
/* kleinere versie op de voorraadkaart */
.card .foto-st {
  top: 10px;
  left: -6px;
  font-size: 11px;
  padding: 6px 14px;
  letter-spacing: 0.5px;
}
.card .foto-badges {
  top: auto;
  bottom: 8px;
  right: 8px;
  gap: 3px;
}
.card .foto-badge {
  font-size: 8px;
  padding: 3px 6px;
  border-radius: 5px;
}

/* ============ BADGE-SELECTIE IN BEHEER ============ */
.badge-kies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge-knop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.badge-knop.aan {
  border-color: var(--red);
  background: rgba(229, 57, 53, 0.12);
  color: var(--red);
}
.badge-knop input {
  accent-color: var(--red);
}
.optie-eigen {
  display: flex;
  gap: 8px;
  margin: 10px 0 8px;
}
.optie-eigen input {
  flex: 1;
  min-width: 0;
}
.optie-x {
  background: none;
  border: none;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}

/* ============ BADGES ALS CHIPS ONDER DE FOTO ============ */
.badge-rij {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.badge-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #111;
  color: var(--white);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.badge-chip.b-1e-eigenaar {
  background: linear-gradient(135deg, #d4af37, #f7e08b);
  color: #222;
  border-color: #d4af37;
}
.badge-chip.b-rdw-erkend {
  background: #e8750a;
  border-color: #e8750a;
}
.badge-chip.b-dealer-onderhouden {
  background: var(--white);
  color: #0b5cff;
  border: 2px solid #0b5cff;
}
.badge-chip.b-nap {
  background: #111;
  border: 2px solid #22c55e;
}
.badge-chip.b-onderhoudshistorie {
  background: #5b21b6;
  border-color: #5b21b6;
}
.badge-chip.b-nieuw-binnen {
  background: #0fb5ae;
  border-color: #0fb5ae;
}
.card .badge-rij {
  margin: 0 0 10px;
}
.card .badge-chip {
  font-size: 9px;
  padding: 4px 9px;
}
