/* Productpagina + configurator "Helder". Referentie: redesign/designs/ProductVisitekaartjes.dc.html */

.zp-product__crumbs { padding-block: 20px; }
.zp-product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 64px; }
.zp-product__left { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.zp-product__right { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.zp-product__right h1 { font-size: clamp(34px, 4vw, 46px); line-height: 1.02; }
.zp-product__intro { font-size: 17px; color: var(--zp-text); }
.zp-product__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; font-weight: 700; color: var(--zp-petrol-text); }
.zp-product__checks li { display: inline-flex; align-items: center; gap: 6px; }
.zp-product__checks .zp-icon { width: 16px; height: 16px; stroke-width: 3; }
@media (min-width: 1024px) {
  .zp-product { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; padding-bottom: 88px; }
  .zp-product__left { position: sticky; top: 20px; align-self: start; }
}

/* ---------- Live voorbeeld ---------- */
.zp-preview { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--zp-radius-xl); background: var(--zp-bg-soft); }
.zp-preview__mark { position: absolute; left: 50%; top: 50%; width: 82%; height: 82%; transform: translate(-50%, -50%); }
.zp-preview__mark .zp-logo__m { fill: var(--zp-tint-magenta); }
.zp-preview__mark .zp-logo__p { fill: var(--zp-tint-petrol); }
.zp-preview__badge { position: absolute; right: 18px; top: 18px; z-index: 2; padding: 6px 12px; }
.zp-preview__label { position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 6px 14px; border-radius: var(--zp-radius-pill); background: var(--zp-white); font-size: 13px; font-weight: 700; }
.zp-preview__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zp-preview__stage { position: relative; z-index: 1; display: grid; place-items: center; width: 56%; }
.zp-preview__item { position: relative; width: 100%; overflow: hidden; border-radius: 6px; background: var(--zp-petrol); box-shadow: var(--zp-shadow-float); transform: rotate(-3deg); transition: border-radius .2s ease, aspect-ratio .2s ease; }
.zp-preview__item--magenta { background: var(--zp-magenta); }
.zp-preview__item--ink { background: var(--zp-ink); }
.zp-preview__item.is-tall { width: 64%; }
.zp-preview__item.is-rounded { border-radius: 14px; }
.zp-preview__item.is-round { border-radius: 50%; }
.zp-preview__item.has-design { background: var(--zp-white); }
.zp-preview__back { position: absolute; inset: 8% -6% -8% 6%; border-radius: 6px; background: var(--zp-white); box-shadow: var(--zp-shadow-card); transform: rotate(4deg); }
.zp-preview__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Tabs ---------- */
.zp-ptabs { padding: 0; overflow: hidden; }
.zp-ptabs__list { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-bottom: 1px solid var(--zp-line); }
.zp-ptabs__list button { min-height: 54px; border: 0; border-bottom: 3px solid transparent; background: transparent; font: 700 15px var(--zp-font-body); color: var(--zp-text); }
.zp-ptabs__list button[aria-selected="true"] { border-bottom-color: var(--zp-magenta); color: var(--zp-ink); font-weight: 800; }
.zp-ptabs__list button:hover { color: var(--zp-ink); background: var(--zp-bg-soft); }
.zp-ptabs__panel { display: flex; flex-direction: column; gap: 16px; padding: 24px; color: var(--zp-text); }
.zp-ptabs__panel[hidden] { display: none; }
.zp-ptabs__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--zp-ink); }
.zp-ptabs__points li { display: flex; gap: 10px; align-items: flex-start; }
.zp-ptabs__points .zp-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--zp-petrol); stroke-width: 2.6; }
.zp-ptabs__dl { background: var(--zp-tint-petrol); color: var(--zp-petrol-dark); }
.zp-ptabs__dl:hover { background: var(--zp-line-strong); color: var(--zp-petrol-dark); }
.zp-icon--flip { transform: scaleY(-1); }
.zp-ptabs__faq { border-bottom: 1px solid var(--zp-line); }
.zp-ptabs__faq summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 800; color: var(--zp-ink); }
.zp-ptabs__faq p { padding-bottom: 14px; }
.zp-spectiles { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.zp-spectiles div { padding: 14px; border-radius: var(--zp-radius-md); background: var(--zp-bg-soft); }
.zp-spectiles dt { font-size: 12px; font-weight: 700; color: var(--zp-muted); }
.zp-spectiles dd { margin: 2px 0 0; font: 800 17px/1.25 var(--zp-font-display); color: var(--zp-ink); }
@media (min-width: 640px) { .zp-spectiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Configurator ---------- */
.zp-config { display: flex; flex-direction: column; gap: 26px; margin-top: 12px; }
.zp-config__step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.zp-config__step > legend { padding: 0; }
.zp-config .zp-options { grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); }
.zp-config__qty { max-width: 220px; }

.zp-qtytable { border: 1px solid var(--zp-line); border-radius: var(--zp-radius-md); overflow: hidden; }
.zp-qtytable__head, .zp-qtytable__row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; padding: 0 16px; }
.zp-qtytable__head { min-height: 40px; background: var(--zp-bg-soft); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--zp-muted); }
.zp-qtytable__head span:last-child, .zp-qtytable__total { text-align: right; }
.zp-qtytable__row { min-height: 52px; border-top: 1px solid var(--zp-line); cursor: pointer; font-size: 15px; }
.zp-qtytable__row:hover { background: var(--zp-bg-soft); }
.zp-qtytable__row:has(input:checked) { background: var(--zp-tint-petrol); }
.zp-qtytable__row:has(input:focus-visible) { outline: 3px solid var(--zp-magenta); outline-offset: -3px; }
.zp-qtytable__qty { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.zp-qtytable__qty input { width: 18px; height: 18px; margin: 0; accent-color: var(--zp-petrol-text); }
.zp-qtytable__per { color: var(--zp-text); }
.zp-qtytable__total { font-weight: 800; }

/* ---------- Je ontwerp ---------- */
.zp-config__step .zp-segmented { align-self: flex-start; margin-bottom: 10px; }
.zp-designs { display: flex; flex-direction: column; gap: 12px; }
.zp-designs[hidden] { display: none; }
.zp-designs__later { padding: 14px 16px; border-radius: var(--zp-radius-md); background: var(--zp-bg-soft); color: var(--zp-text); font-size: 15px; }
.zp-designs__later[hidden] { display: none; }
.zp-dcard { padding: 16px; border: 2px solid var(--zp-line); border-radius: 20px; background: var(--zp-white); }
.zp-dcard__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-family: var(--zp-font-display); font-size: 17px; }

.zp-dcard__scstatus {
  flex: 1;
  text-align: right;
  font-family: var(--zp-font-body);
  font-size: 13px;
  color: var(--zp-muted);
}

.zp-dcard__scstatus.is-ok {
  color: var(--zp-petrol-text);
  font-weight: 700;
}
.zp-dcard__actions { display: flex; gap: 6px; align-items: center; font-family: var(--zp-font-body); font-size: 14px; font-weight: 800; }
.zp-dcard__fit, .zp-dcard__remove { display: inline-flex; align-items: center; min-height: var(--zp-touch); padding: 0 8px; }
.zp-dcard__remove { border: 0; background: transparent; color: var(--zp-muted); font: inherit; text-decoration: underline; }
.zp-dcard__remove:hover { color: var(--zp-magenta-dark); }
.zp-dcard__sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: end; }
.zp-dcard__sides.is-many { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.zp-dbox { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.zp-dbox__drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; max-height: 260px; overflow: hidden; border: 2px dashed var(--zp-line-strong); border-radius: 6px;
  background: var(--zp-bg-soft); color: var(--zp-petrol-text); text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.zp-dbox__drop:hover, .zp-dbox__drop.is-drag { border-color: var(--zp-petrol); background: var(--zp-tint-petrol); }
.zp-dbox__drop:focus-within { outline: 3px solid var(--zp-magenta); outline-offset: 2px; }
.zp-dbox__drop.is-filled { border: 0; background: var(--zp-white); box-shadow: var(--zp-shadow-card); }
.zp-dbox__drop .zp-icon { width: 20px; height: 20px; }
.zp-dbox__cta { padding: 0 8px; font-size: 13px; font-weight: 800; line-height: 1.3; }
.zp-dbox__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.zp-dbox__meta { display: flex; align-items: center; gap: 8px; min-height: 28px; font-size: 13px; }
.zp-dbox__label { font-weight: 800; }
.zp-dbox__status { margin-left: auto; font-weight: 700; color: var(--zp-muted); }
.zp-dbox__status.is-ok { color: var(--zp-petrol-text); }
.zp-dbox__status.is-warn { color: var(--zp-warn-text); }
.zp-dbox__remove { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--zp-bg-soft); color: var(--zp-ink); }
.zp-dbox__remove:hover { background: var(--zp-tint-magenta); color: var(--zp-magenta-dark); }
.zp-dbox__remove .zp-icon { width: 16px; height: 16px; }
.zp-designs__add { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 12px; padding: 8px 16px; border: 2px dashed var(--zp-line-strong); border-radius: var(--zp-radius-md); background: var(--zp-white); color: var(--zp-petrol-text); font: 800 15px var(--zp-font-body); }
.zp-designs__add:hover { border-color: var(--zp-petrol); background: var(--zp-tint-petrol); }
.zp-designs__add[hidden] { display: none; }
.zp-designs__add .zp-icon { width: 18px; height: 18px; }
.zp-designs__hint { margin-top: 8px; font-size: 13px; color: var(--zp-muted); }
/* Je ontwerp: vakken zijn alleen preview (links naar Inpassen) */
a.zp-dbox__preview { text-decoration: none; }
.zp-dbox__preview:not(.is-filled) .zp-dbox__cta { color: var(--zp-muted); font-weight: 700; }
.zp-dcard__go { margin-top: 14px; }
.zp-designs__service { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: var(--zp-radius-md); background: var(--zp-bg-soft); font-size: 15px; }
.zp-designs__service p { margin: 0; flex: 1 1 240px; }

/* ---------- Prijsblok ---------- */
.zp-priceblock { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; padding: 24px; border-radius: var(--zp-radius-lg); background: var(--zp-ink); color: var(--zp-white); }
.zp-priceblock__summary { font-size: 14px; color: var(--zp-line); }
.zp-priceblock__design { font-size: 14px; font-weight: 700; color: var(--zp-line); }
.zp-priceblock__design:empty { display: none; }
.zp-priceblock__design.is-ok { color: var(--zp-tint-petrol); }
.zp-priceblock__design.is-warn { color: var(--zp-warn-bg); }
.zp-priceblock__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px; }
.zp-priceblock__row > div { display: flex; flex-direction: column; }
.zp-priceblock__multi { font-size: 14px; font-weight: 700; color: var(--zp-line); }
.zp-priceblock__multi[hidden] { display: none; }
.zp-priceblock__total { font: 900 44px/1.05 var(--zp-font-display); letter-spacing: -.02em; }
.zp-priceblock__per { font-size: 13px; color: var(--zp-line); }
.zp-priceblock__lead { font-size: 13px; font-weight: 700; color: var(--zp-tint-petrol); }
.zp-priceblock .zp-btn--order[disabled] { background: var(--zp-disabled-bg); }
.zp-priceblock__gate, .zp-priceblock__note { font-size: 13px; text-align: center; color: var(--zp-line); }
.zp-priceblock__gate { font-weight: 700; color: var(--zp-warn-bg); }
.zp-priceblock__gate[hidden] { display: none; }
.zp-priceblock .zp-notice[hidden] { display: none; }

/* ---------- Sticky balk mobiel ---------- */
.zp-stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px var(--zp-gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--zp-white); border-top: 1px solid var(--zp-line); box-shadow: var(--zp-shadow-card); }
.zp-stickybar[hidden] { display: none; }
.zp-stickybar__price { display: flex; flex-direction: column; line-height: 1.15; }
.zp-stickybar__price strong { font: 900 24px var(--zp-font-display); }
.zp-stickybar__price small { font-size: 12px; color: var(--zp-muted); }
.zp-stickybar .zp-btn { min-height: 48px; }
@media (min-width: 1024px) { .zp-stickybar { display: none !important; } }

/* ---------- Reviews + gerelateerd ---------- */
.zp-product__reviews { display: flex; flex-direction: column; gap: 12px; padding-bottom: 64px; }
.zp-product__reviewgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; margin-top: 8px; }
.zp-product__reviewgrid figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.zp-product__reviewgrid blockquote { margin: 0; color: var(--zp-text); }
.zp-product__reviewgrid figcaption { font-size: 14px; font-weight: 700; color: var(--zp-muted); }
.zp-product__stars { color: var(--zp-magenta); letter-spacing: 2px; }
.zp-product__related h2 { margin-bottom: 28px; }
.zp-minicards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.zp-minicard { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 20px; background: var(--zp-white); color: var(--zp-ink); text-decoration: none; transition: box-shadow .2s ease; }
.zp-minicard:hover { box-shadow: var(--zp-shadow-card); color: var(--zp-ink); }
.zp-minicard__media { position: relative; flex: none; width: 88px; height: 88px; overflow: hidden; border-radius: 14px; background: var(--zp-tint-petrol); }
.zp-minicard__media .zp-art { transform: translate(-50%, -50%) rotate(var(--r)) scale(.42); }
.zp-minicard__text { display: flex; flex-direction: column; gap: 2px; }
.zp-minicard__text strong { font: 800 18px var(--zp-font-display); }
.zp-minicard__text span { font-size: 14px; color: var(--zp-muted); }

body.zp-has-stickybar { padding-bottom: 76px; }
@media (min-width: 1024px) { body.zp-has-stickybar { padding-bottom: 0; } }
