/* Mix en match (webshop en mandje): voortgangsbalk met een stip per trap. Gedeeld door de balk onderaan de webshop en het blok in het mandje (app.js: mixSpoorHtml). */
.mix-spoor { position: relative; height: 6px; margin: 22px 22px 26px 0; border-radius: 6px; background: rgba(23, 35, 46, .14); }
.mix-spoor > i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 6px; background: var(--teal-soft, #0b6b61); transition: width .4s ease; }
.mix-stap { position: absolute; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid rgba(23, 35, 46, .22); background: #fff; color: var(--ink); font-size: .72rem; line-height: 1; transition: background .3s, color .3s, border-color .3s; }
.mix-stap b { font-weight: 700; }
.mix-stap em { position: absolute; top: 100%; margin-top: 3px; font-style: normal; font-size: .7rem; font-weight: 600; color: var(--ink); opacity: .65; white-space: nowrap; }
.mix-stap.bereikt { background: var(--teal-soft, #0b6b61); border-color: var(--teal-soft, #0b6b61); color: #fff; }
.mix-stap em::after { content: " st."; }
@media (prefers-reduced-motion: reduce) { .mix-spoor > i, .mix-stap { transition: none; } }

/* De balk onderaan de webshop zodra er een poly hanger in het mandje zit */
.mixbalk { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 241, 227, .94); backdrop-filter: blur(10px); border-top: 1px solid rgba(23, 35, 46, .14); box-shadow: 0 -8px 24px -12px rgba(23, 35, 46, .35); }
.mixbalk[hidden] { display: none; }
.mixbalk-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(160px, 1fr) auto; align-items: center; gap: 4px 28px; max-width: var(--measure, 1100px); margin: 0 auto; }
.mixbalk-tekst { display: grid; gap: 1px; min-width: 0; }
.mixbalk-tekst strong { font-size: .98rem; }
.mixbalk-tekst span { font-size: .84rem; color: var(--ash); }
.mixbalk .mix-spoor { margin: 12px 22px 22px 0; }
.mixbalk-knop { white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
body.mixbalk-aan { padding-bottom: 96px; }
@media (max-width: 720px) {
  .mixbalk { padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); }
  .mixbalk-in { grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; }
  .mixbalk-tekst strong { font-size: .86rem; line-height: 1.25; }
  .mixbalk-tekst span { font-size: .76rem; line-height: 1.3; }
  .mixbalk .mix-spoor { grid-column: 1 / -1; grid-row: 2; margin: 14px 18px 10px 4px; }
  .mixbalk .mix-stap { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: .64rem; }
  .mixbalk .mix-stap em { display: none; }
  .mixbalk-knop { padding: 0 14px; font-size: .74rem; }
  body.mixbalk-aan { padding-bottom: 112px; }
}
}

/* Het blok in het mandje */
.mix-mand { margin-top: 24px; padding: 18px 20px 14px; border: 1px solid rgba(14, 143, 129, .35); border-radius: 16px; background: rgba(255, 255, 255, .55); }
.mix-mand h3 { margin: 0 0 6px; font-size: 1.35rem; }
.mix-hoofd { margin: 0; }
.mix-mand .mix-spoor { margin-bottom: 30px; }
.mix-slim { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: rgba(14, 143, 129, .12); color: var(--teal-soft, #0b6b61); font-weight: 600; font-size: .95rem; }
.mix-vraag { margin: 0 0 10px; font-size: .9rem; }
.mix-erbij { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.mix-erbij li { display: grid; grid-template-rows: auto 1fr auto auto; gap: 4px; justify-items: start; min-width: 0; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .7); }
.mix-foto { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: #eef0ea; }
.mix-foto img, .mix-foto svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.mix-naam { font: italic 500 1rem/1.2 var(--serif); }
.mix-plus { min-height: 38px; width: 100%; padding: 0 6px; white-space: nowrap; border: 1px solid rgba(14, 143, 129, .5); border-radius: 999px; background: #fff; color: var(--teal-soft, #0b6b61); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.mix-plus:hover { background: var(--teal-soft, #0b6b61); color: #fff; }
.mix-plus:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (max-width: 720px) {
  .mix-mand { padding: 16px 14px 12px; }
  /* width: 0 + min-width: 100%: de rij vult het blok, maar zijn minimumbreedte (3 × 120px) rekt de kolom niet op */
  .mix-erbij { grid-template-columns: repeat(3, minmax(120px, 1fr)); overflow-x: auto; width: 0; min-width: calc(100% + 28px); margin: 0 -14px; padding: 0 14px 6px; scrollbar-width: none; }
}
