/* Winkelmand, checkout en orderbevestiging "Helder". Referentie: redesign/designs/Besteloverzicht.dc.html */

.zp-co { display: flex; flex-direction: column; gap: 24px; padding-block: 24px 64px; }
.zp-co h1 { font-size: clamp(34px, 4.4vw, 48px); }
.zp-co__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.zp-co__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.zp-co__side { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) {
  .zp-co { padding-block: 28px 80px; }
  .zp-co__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .zp-co__side { position: sticky; top: 20px; }
}
.zp-co__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px; }
.zp-co__back { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; }
.zp-co__back .zp-icon { width: 18px; height: 18px; }

/* ---------- Orderregels ---------- */
.zp-co__lines { padding: 8px 24px; }
.zp-line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 16px; padding-block: 20px; border-top: 1px solid var(--zp-line); }
.zp-line:first-child { border-top: 0; }
.zp-line__thumb { position: relative; grid-row: span 2; width: 72px; height: 72px; overflow: hidden; border-radius: var(--zp-radius-md); background: var(--zp-tint-petrol); }
.zp-line__thumb .zp-art { transform: translate(-50%, -50%) rotate(var(--r)) scale(.38); }
.zp-line__thumb--design { display: grid; place-items: center; padding: 10px; }
.zp-line__thumb--design img { width: 100%; height: 100%; object-fit: contain; }
.zp-line__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.zp-line__name { font: 800 20px/1.2 var(--zp-font-display); letter-spacing: -.01em; }
.zp-line__specs { font-size: 14px; color: var(--zp-muted); }
.zp-line__qtytext { font-size: 15px; font-weight: 700; }
.zp-line__note { font-size: 13px; color: var(--zp-text); }
.zp-line__price { grid-column: 2; font: 800 20px var(--zp-font-display); }
.zp-line__qty { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.zp-line__qty .zp-select, .zp-line__qty .zp-input { width: auto; min-height: var(--zp-touch); font-size: 14px; }
.zp-line__qty .zp-input { width: 100px; }
.zp-line__qty.is-auto .zp-line__update { display: none; }
.zp-line__rush { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; color: var(--zp-text); }
@media (min-width: 640px) {
  .zp-line { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 4px 20px; align-items: center; }
  .zp-line__thumb { grid-row: auto; width: 96px; height: 96px; }
  .zp-line__thumb .zp-art { transform: translate(-50%, -50%) rotate(var(--r)) scale(.5); }
  .zp-line__price { grid-column: auto; align-self: center; }
}

/* ---------- Formulieren ---------- */
.zp-co__form { display: flex; flex-direction: column; gap: 20px; }
.zp-co__section { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.zp-co__section h2 { font-size: 26px; }
.zp-co__sectionhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.zp-co__sectionhead p { font-size: 14px; }
.zp-co__fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.zp-co__fields--new { display: none; }
.zp-co__section:has([data-zp-newaddress]:checked) .zp-co__fields--new { display: grid; }
@media (min-width: 640px) { .zp-co__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .zp-co__wide { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .zp-co__section { padding: 28px; } }
.zp-co__note { font-size: 14px; color: var(--zp-muted); }
.zp-co__password { display: none; max-width: 360px; }
.zp-co__section:has(.zp-co__account input:checked) .zp-co__password { display: flex; }
.zp-co__guest summary { min-height: var(--zp-touch); display: flex; align-items: center; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--zp-petrol-text); }
.zp-co__guest .zp-field { max-width: 360px; }

.zp-co__choices { display: flex; flex-direction: column; gap: 10px; }
.zp-choice { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px; border: 2px solid var(--zp-line); border-radius: var(--zp-radius-md); background: var(--zp-white); cursor: pointer; }
.zp-choice:hover { border-color: var(--zp-petrol); }
.zp-choice:has(input:checked) { border-color: var(--zp-petrol-text); background: var(--zp-tint-petrol); }
.zp-choice:has(input:focus-visible) { outline: 3px solid var(--zp-magenta); outline-offset: 2px; }
.zp-choice input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--zp-petrol-text); }
.zp-choice__text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.zp-choice__text strong { font-size: 16px; }
.zp-choice__text small { font-size: 13px; color: var(--zp-text); }
.zp-choice__price { font-weight: 800; white-space: nowrap; }

/* ---------- Samenvatting ---------- */
.zp-summary { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.zp-summary h2 { font-size: 24px; }
.zp-summary__rows { margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.zp-summary__rows div { display: flex; justify-content: space-between; gap: 12px; }
.zp-summary__rows dd { margin: 0; white-space: nowrap; }
.zp-summary__free { font-weight: 800; color: var(--zp-petrol-text); }
.zp-summary__ship { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: var(--zp-radius-md); background: var(--zp-tint-petrol); font-size: 13px; font-weight: 800; }
.zp-summary__bar { display: block; height: 6px; overflow: hidden; border-radius: 3px; background: var(--zp-white); }
.zp-summary__bar span { display: block; height: 100%; border-radius: 3px; background: var(--zp-petrol); }
.zp-summary__code { display: flex; gap: 8px; }
.zp-summary__code .zp-input { flex: 1; min-width: 0; min-height: var(--zp-touch); }
.zp-summary__code.is-applied { justify-content: space-between; align-items: center; font-size: 14px; }
.zp-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--zp-line); }
.zp-summary__total span { font: 800 20px var(--zp-font-display); }
.zp-summary__total strong { font: 900 34px var(--zp-font-display); letter-spacing: -.02em; }
.zp-summary__vat { margin-top: -10px; text-align: right; font-size: 13px; color: var(--zp-muted); }
.zp-summary__note { font-size: 13px; text-align: center; color: var(--zp-text); }
.zp-co__trust { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px 24px; font-size: 14px; font-weight: 600; }
.zp-co__trust li { display: flex; align-items: center; gap: 10px; }
.zp-co__trust li::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--zp-magenta); }

/* ---------- Orderbevestiging ---------- */
.zp-confirm { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border-radius: var(--zp-radius-lg); background: var(--zp-petrol-deep); color: var(--zp-white); }
.zp-confirm h1 { color: var(--zp-white); }
.zp-confirm .zp-dot { color: var(--zp-magenta-light); }
.zp-confirm p { font-size: 17px; color: var(--zp-footer-text); }
.zp-confirm strong { color: var(--zp-white); }
.zp-confirm__icon { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--zp-white); color: var(--zp-petrol-deep); }
.zp-confirm__icon .zp-icon { width: 28px; height: 28px; stroke-width: 3; }
.zp-confirm .zp-cluster { margin-top: 6px; }
.zp-confirm .zp-btn--ghost { background: transparent; color: var(--zp-white); border-color: var(--zp-footer-line); }
.zp-confirm .zp-btn--ghost:hover { border-color: var(--zp-white); color: var(--zp-white); }
.zp-next { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.zp-next h2 { font-size: 24px; }
@media (min-width: 640px) { .zp-confirm { padding: 40px; } }
