/* Keuzehulp, concept. Vier stappen, fotokaarten, advies aan het eind. */

.kh-hero { background: #0d0d0d; color: #fff; padding: 46px 0 40px; }
.kh-hero h1 { font-size: clamp(34px, 6vw, 64px); margin: 12px 0 14px; }
.kh-hero .lead { color: rgba(255,255,255,.72); max-width: 520px; }

.kh-sec { padding: 34px 0 80px; }

/* Voortgang */
.kh-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.kh-dots { display: flex; gap: 6px; flex: 1; }
.kh-dot {
  height: 5px; flex: 1; border-radius: 99px;
  background: var(--line); transition: background .25s ease;
}
.kh-dot.done { background: var(--blue); }
.kh-dot.now { background: var(--blue-2); }
.kh-count { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* Vraag */
.kh-q { margin-bottom: 22px; }
.kh-q h2 { font-size: clamp(26px, 4vw, 40px); margin: 8px 0 8px; }
.kh-q p { color: var(--muted); max-width: 560px; }

/* Kaarten */
.kh-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.kh-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.kh-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; }

.kh-card {
  border: 2px solid var(--line); border-radius: 16px; overflow: hidden;
  background: #1a1a1a; cursor: pointer; text-align: left; padding: 0;
  display: flex; flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.kh-card { position: relative; }
.kh-card .kh-badge { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 999px; background: var(--blue); color: #fff; font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.kh-card:hover { transform: translateY(-4px); border-color: rgba(54,125,239,.5); box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.kh-card.on { border-color: var(--blue); box-shadow: 0 14px 30px rgba(54,125,239,.22); }
.kh-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kh-card .kh-body { padding: 13px 15px 16px; }
.kh-card strong { display: block; font-size: 16px; margin-bottom: 3px; }
.kh-card span { color: var(--muted); font-size: 13px; line-height: 1.4; }
/* Levertijd onder de prijs van het advies */
.kh-levertijd { margin: 12px 0 18px; font-size: 14px; line-height: 1.5; color: var(--ink); }
/* Eigenschappen per koptelefoon op stap 4, uit het vergelijkingsvenster */
.kh-card .kh-eig { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.kh-card .kh-eig span { display: block; color: var(--ink); padding-left: 14px; position: relative; }
.kh-card .kh-eig span::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* Aantalkaart: het getal is het beeld. Packshots dragen hier eigen tekst
   ("25x Hifi Headphones") die botst met het label eronder. */
.kh-count-vis {
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 16px;
  background: linear-gradient(160deg, #22262e, #171a21);
  border-bottom: 1px solid var(--line);
}
/* Specifieker dan ".kh-card span", anders wint de grijze labelkleur */
.kh-card .kh-count-vis .kh-num {
  font-family: Oswald, Arial, sans-serif; font-weight: 700; letter-spacing: .01em;
  font-size: 68px; line-height: .95; color: #fff;
}
.kh-card .kh-count-vis .kh-num small { font-size: .42em; margin-left: 1px; }
.kh-people { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; max-width: 152px; }
.kh-people i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(54,125,239,.30); display: block;
}
.kh-card.on .kh-count-vis { background: linear-gradient(160deg, #1c2c4b, #16223a); }
.kh-card.on .kh-people i { background: rgba(54,125,239,.55); }

/* Navigatie onder de vraag */
.kh-nav { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.kh-back {
  background: none; border: 0; cursor: pointer; padding: 8px 2px;
  color: var(--muted); font-weight: 600; font-size: 14px;
}
.kh-back:hover { color: var(--ink); }
.kh-skip { color: var(--muted); font-size: 13px; }

/* Advies */
.kh-result { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.kh-result-pic { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.kh-result-pic img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.kh-result h2 { font-size: clamp(28px, 4vw, 44px); margin: 10px 0 12px; }
.kh-because { color: var(--muted); margin-bottom: 20px; }
.kh-because b { color: var(--ink); }

.kh-lines { list-style: none; border-top: 1px solid var(--line); margin-bottom: 18px; }
.kh-lines li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.kh-lines li span:last-child { font-weight: 700; white-space: nowrap; }
.kh-lines li.sub span { color: var(--muted); font-weight: 500; }

.kh-total { display: flex; justify-content: space-between; align-items: baseline; }
.kh-total-ex { text-align: right; font-size: 13px; color: rgba(255,255,255,.55); margin: 2px 0 20px; }
.kh-total b { font-family: Oswald, sans-serif; font-size: 30px; letter-spacing: .03em; }
.kh-card img.kh-serie-img { object-fit: contain; background: #f6f6f6; padding: 14px; box-sizing: border-box; }
.kh-wait { padding: 24px 0; color: var(--muted); }
.kh-gekozen { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.kh-chip { background: rgba(54,125,239,.14); color: #fff; border: 1px solid rgba(54,125,239,.45); border-radius: 999px; padding: 4px 12px; font: inherit; font-weight: 600; cursor: pointer; }
.kh-chip:hover, .kh-chip:focus-visible { background: rgba(54,125,239,.28); outline: none; }
.kh-sep { opacity: .5; }
.kh-actions { display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center; }
.kh-actions form { margin: 0; }
.kh-adjust { font-weight: 600; font-size: 15px; color: inherit; opacity: .8; }
.kh-adjust:hover, .kh-adjust:focus-visible { opacity: 1; }
.kh-fine { color: var(--muted); font-size: 13px; margin-top: 14px; }
.kh-redo { background: none; border: 0; cursor: pointer; color: var(--blue); font-weight: 700; font-size: 14px; padding: 0; }
.kh-redo:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .kh-grid { grid-template-columns: repeat(2, 1fr); }
  .kh-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .kh-result { grid-template-columns: 1fr; }
  .kh-result-pic { order: -1; }
}
@media (max-width: 480px) {
  .kh-card img,
  .kh-card .kh-count-vis { aspect-ratio: 16 / 10; }
  .kh-card strong { font-size: 15px; }
  .kh-card .kh-count-vis .kh-num { font-size: 52px; }
  .kh-people { max-width: 128px; gap: 3px; }
  .kh-people i { width: 7px; height: 7px; }
}
