/* 2026-12-02: productpagina in de nieuwe stijl van de telefoonwinkels (5/9/10/41).
   Alleen geladen in de proef (PhoneHome::enabled, ?home_v2=1) door catalog/controller/product/product.php, na pdp.css.
   Zelfde vormentaal als homepage + elementenboek: zachte vlakken zonder rand, pill-chips, 22/28 px rond. */

/* ---------- Foto's ---------- */
.page-section--product .product-main__image-wrapper{
  border-radius:var(--ps-radius-lg)!important;overflow:hidden;padding:24px!important;
  background:
    radial-gradient(circle 150px at calc(100% + 30px) -40px,var(--ps-blue-bg2) 99%,transparent 100%),
    radial-gradient(circle 110px at -30px calc(100% + 30px),var(--ps-blue-bg2) 99%,transparent 100%),
    var(--ps-surface)!important;
}
.page-section--product #product-main-image{mix-blend-mode:multiply;border-radius:16px}
.page-section--product .product-main__thumb{border:0;border-radius:16px;background:var(--ps-surface);box-shadow:none;padding:4px}
.page-section--product .product-main__thumb img{mix-blend-mode:multiply;border-radius:12px}
.page-section--product .product-main__thumb:hover{background:var(--ps-surface-hover)}
.page-section--product .product-main__thumb--active{box-shadow:inset 0 0 0 2px var(--ps-primary);background:var(--ps-blue-bg)}
.page-section--product .product-main__thumbs-arrow{border:0;background:var(--ps-surface);border-radius:50%}

/* ---------- Koopblok ---------- */
.page-section--product .product-main__info{background:var(--ps-surface);border:0;border-radius:var(--ps-radius-lg);padding:24px}
.page-section--product .product-option-label{font-size:15px;font-weight:700;color:var(--ps-ink);margin-bottom:10px}

/* Varianten (lengte, kleur, pak) = chips; gekozen = blauw */
.page-section--product .product-pack-tabs{display:flex;flex-wrap:nowrap;gap:8px;background:transparent;border:0;border-radius:0;padding:0;overflow:visible}
.page-section--product .product-pack-tabs.is-adaptive-hidden{overflow:hidden}
/* Altijd één regel: past het niet, dan neemt de keuzelijst het over (pdp.js meet overloop) — Frank 2026-12-02 */
.page-section--product .product-pack-tabs > .product-pack-tab{flex:0 0 auto;white-space:nowrap}
.page-section--product .product-pack-tab{background:var(--ps-white);border:0!important;border-radius:999px;padding:9px 16px;font-size:15px;font-weight:600;color:var(--ps-ink);text-decoration:none;box-shadow:none}
.page-section--product .product-pack-tab:hover{background:var(--ps-blue-bg2);color:var(--ps-ink)}
.page-section--product .product-pack-tab--active,
.page-section--product .product-pack-tab--active:hover{background:var(--ps-primary);color:var(--ps-white)}
.page-section--product .product-pack-select{border:0;border-radius:999px;background-color:var(--ps-white);min-height:46px;padding:0 44px 0 18px;font-size:15px}

/* Staffel: witte kaart zonder rand, gekozen regel blauw vlak */
.page-section--product .price-steps{background:var(--ps-white);border:0;border-radius:var(--ps-radius);padding:6px}
.page-section--product .price-steps li + li{border-top:0}
.page-section--product .price-step{border-radius:16px}
.page-section--product .price-step:has(input[type="radio"]:checked){background:var(--ps-blue-bg)}
.page-section--product .price-step__discount{color:var(--ps-green-ink);font-weight:700}
.page-section--product .price-step__radio input{accent-color:var(--color-primary)}

/* "Is mijn toestel geschikt?" = witte pill met telefoon-icoon */
.page-section--product .product-compat{margin:18px 0 6px}
.page-section--product .product-compat.is-empty .product-compat__trigger{
  display:inline-flex;align-items:center;gap:10px;padding:9px 18px 9px 14px;border-radius:999px;background:var(--ps-white);
  color:var(--ps-primary);font-weight:700;text-decoration:none}
.page-section--product .product-compat.is-empty .product-compat__trigger::before{
  content:"";width:18px;height:18px;flex:0 0 18px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='3'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='3'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E") center/contain no-repeat}
.page-section--product .product-compat.is-empty .product-compat__trigger:hover{background:var(--ps-blue-bg2);text-decoration:none}

/* Aantal + knop */
.page-section--product .qty-stepper{background:var(--ps-white);border:0;border-radius:999px}
.page-section--product .product-main__headline{color:var(--ps-ink)}


/* ---------- Hoofdstukken ---------- */
.page-section--product .pdp-chapter-nav{gap:8px;margin-top:8px}
.page-section--product .pdp-chapter-nav__link{border:0;background:var(--ps-surface);font-size:15px;font-weight:700;min-height:40px;padding:8px 18px;color:var(--ps-ink)}
.page-section--product .pdp-chapter-nav__link:hover,
.page-section--product .pdp-chapter-nav__link:focus-visible{background:var(--ps-blue-bg2);border:0}
.page-section--product .pdp-chapter{border-top:0;padding:36px 0 0}
.page-section--product .pdp-chapter-nav + .pdp-chapter{padding-top:24px}
.page-section--product .pdp-chapter__title{font-size:22px;font-weight:800;color:var(--ps-ink)}

/* Specificaties: groepen als zachte kaart, regels met witte scheiding */
.page-section--product .product-specs{border:0;background:transparent}
.page-section--product .product-specs__group{background:var(--ps-surface);border:0;border-radius:var(--ps-radius);padding:6px 22px 10px;margin-bottom:14px}
.page-section--product .product-specs__group-title{padding-top:14px}
.page-section--product .product-specs__row{background:transparent;border-bottom:1px solid var(--ps-white)!important;border-top:0}
.page-section--product .product-specs__row:last-child{border-bottom:0!important}
.page-section--product .product-specs__row:hover{background:transparent}

/* Specificaties: geen lijnen boven de regels */
.page-section--product .product-specs__rows{border-top:0}
.page-section--product .product-specs__group-title{font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ps-muted);margin-bottom:4px}

/* Geschikte toestellen: zacht vlak, zoekveld als witte pill */
.page-section--product .compat-device-list,
.page-section--product #pdp-geschikt-voor .product-printers{background:var(--ps-surface);border:0;border-radius:var(--ps-radius);padding:20px 22px}
.page-section--product .compat-device-search{border:0;border-radius:999px;background:var(--ps-white);min-height:46px}
.page-section--product .compat-device-search:focus{box-shadow:0 0 0 2px var(--ps-primary)}
.page-section--product .compat-device-link{color:var(--ps-primary)}
.page-section--product .compat-device-more{color:var(--ps-ink);font-weight:700}

/* Ingeklapte lijst: vervagen naar de vlakkleur i.p.v. wit */
.page-section--product #pdp-geschikt-voor .pdp-clamp.is-clamped::after{background:linear-gradient(to bottom,hsl(216 60% 97% / 0),var(--ps-surface))}

.page-section--product .product-rail__title,
.page-section--product #pdp-bundel .product-rail__title{font-size:22px;font-weight:800;color:var(--ps-ink)}

/* ---------- Actieblokken (2+1, bundelkorting boven en onder) ----------
   Eén vorm voor elke actie: oranje vlak met cirkel rechtsboven, geen rand of strepen,
   wit icoonrondje, oranje label. Toevoegen aan winkelwagen = groene knop, overige acties = witte knop. */
.page-section--product{
  --act-bg:var(--ps-orange-bg2);--act-mid:var(--ps-orange-mid);--act-ink:hsl(24 75% 36%);
}
.page-section--product .pdp-gift,
.page-section--product .bt-offer--pdp,
#pdp-bundel .bt{
  position:relative;overflow:hidden;border:0!important;border-radius:var(--ps-radius);
  background:radial-gradient(circle 70px at calc(100% + 18px) -22px,var(--act-mid) 99%,transparent 100%),var(--act-bg)!important;
}
/* 2+1 */
.page-section--product .pdp-gift{padding:16px 18px;gap:14px;margin-top:16px}
.page-section--product .pdp-gift__icon{width:44px;height:44px;background:var(--ps-white);color:var(--act-ink);font-size:19px}
.page-section--product .pdp-gift__pill{background:var(--act-ink);color:var(--ps-white)}
.page-section--product .pdp-gift__title{color:var(--ps-ink)}
.page-section--product .pdp-gift__more,.page-section--product .pdp-gift__terms{color:var(--ps-ink);opacity:.8}
.page-section--product .pdp-gift__terms summary{color:var(--ps-ink)}
.page-section--product .pdp-gift__btn{position:relative;border:0;background:var(--ps-white);color:var(--ps-ink);border-radius:999px;font-weight:700;padding:10px 18px}
.page-section--product .pdp-gift__btn:hover{background:var(--ps-ink);color:var(--ps-white)}

/* Bundelkorting in het koopblok */
.page-section--product .bt-offer--pdp{padding:16px 18px;margin-top:16px}
.page-section--product .bt-offer--pdp .bt-offer__item{gap:14px}
.page-section--product .bt-offer--pdp .bt-offer__media img{width:56px;height:56px;border:0;border-radius:14px;background:var(--ps-white);padding:4px;object-fit:contain}
.page-section--product .bt-offer--pdp .bt-offer__title{color:var(--ps-ink);font-weight:800}
.page-section--product .bt-offer--pdp .bt-offer__new{color:var(--ps-ink);font-weight:800}
.page-section--product .bt-offer--pdp .bt-offer__old{color:var(--ps-muted)}
.page-section--product .bt-offer--pdp .bt-offer__name{color:var(--ps-ink);opacity:.8}
.page-section--product .bt-offer--pdp .bt-offer__btn{position:relative;border:0;background:var(--color-primary);color:var(--ps-white);font-weight:700;font-size:15px;padding:10px 18px}
.page-section--product .bt-offer--pdp .bt-offer__btn:hover{background:var(--color-primary-dark);color:var(--ps-white)}
.page-section--product .bt-offer--pdp .bt-offer__nav{border-top:0;margin-top:10px;padding-top:0}
.page-section--product .bt-offer--pdp .bt-offer__count{color:var(--ps-ink)}
.page-section--product .bt-offer--pdp .bt-offer__nav-btn{position:relative;overflow:hidden;text-indent:-999px;white-space:nowrap;width:34px;height:34px;padding:0;border:0;background:var(--ps-white);color:var(--ps-ink);font-size:0}
.page-section--product .bt-offer--pdp .bt-offer__nav-btn::before{content:"";position:absolute;inset:0;margin:auto;width:16px;height:16px;background:currentColor;-webkit-mask:var(--ps-chev) center/contain no-repeat;mask:var(--ps-chev) center/contain no-repeat}
.page-section--product .bt-offer--pdp .bt-offer__nav-btn:first-child::before{transform:scaleX(-1)}
.page-section--product .bt-offer--pdp .bt-offer__nav-btn:hover{background:var(--ps-ink);color:var(--ps-white);border:0}

/* Bundelkorting onderaan: één oranje vlak, producten als witte kaarten, prijs + groene knop rechts */
#pdp-bundel .bt{padding:14px;gap:14px}
#pdp-bundel .bt + .bt{margin-top:14px}
#pdp-bundel .bt__card{background:var(--ps-white);border:0;border-radius:18px;box-shadow:none}
#pdp-bundel .bt__card:hover{background:var(--ps-white);border:0}
#pdp-bundel .bt__thumb{background:var(--ps-surface);border:0;border-radius:14px}
#pdp-bundel .bt__thumb img{mix-blend-mode:multiply}
#pdp-bundel .bt__title{color:var(--ps-ink)}
#pdp-bundel .bt__plus{background:var(--act-ink);color:var(--ps-white)}
#pdp-bundel .bt__right{position:relative;background:transparent;border:0;box-shadow:none;padding:8px 10px}
#pdp-bundel .bt__label{color:var(--ps-ink);opacity:.8}
#pdp-bundel .bt__new{color:var(--ps-ink);font-weight:800}
#pdp-bundel .bt__old{color:var(--ps-muted)}
#pdp-bundel .bt__right-save{background:var(--act-ink);color:var(--ps-white)}
#pdp-bundel .bt__btn{border:0;background:var(--color-primary);color:var(--ps-white);border-radius:999px}
#pdp-bundel .bt__btn:hover{background:var(--color-primary-dark)}
/* Bundelproducten altijd onder elkaar (Frank 2026-12-02), plusje overlapt de naad tussen twee kaarten */
#pdp-bundel .bt .bt__products{flex-direction:column;flex-wrap:nowrap;gap:0}
#pdp-bundel .bt .bt__card{flex:0 0 auto;width:100%;padding:10px 14px}
#pdp-bundel .bt .bt__thumb{width:64px;height:64px;flex:0 0 64px}
#pdp-bundel .bt .bt__sep{position:relative;z-index:1;height:10px;align-self:center;display:flex;align-items:center;justify-content:center}
#pdp-bundel .bt .bt__plus{position:absolute;width:28px;height:28px;box-shadow:0 0 0 4px var(--act-bg)}

/* ---------- Mobiel ---------- */
@media (max-width:768px){
  .page-section--product .product-main__info{padding:18px;border-radius:var(--ps-radius)}
  .page-section--product .product-main__image-wrapper{border-radius:var(--ps-radius)!important;padding:14px!important}
  .page-section--product .product-rail__title,.page-section--product #pdp-bundel .product-rail__title{font-size:20px}
  .page-section--product .pdp-chapter__title{font-size:20px}
  .page-section--product .product-specs__group{padding:4px 16px 8px}
  .page-section--product .compat-device-list,
  .page-section--product #pdp-geschikt-voor .product-printers{padding:16px}
  .page-section--product .pdp-gift,.page-section--product .bt-offer--pdp{padding:14px}
  .page-section--product .pdp-gift__btn,.page-section--product .bt-offer--pdp .bt-offer__btn{width:100%}
}

/* ---------- Vergrote foto (lightbox) en pijlen bij de miniaturen: getekende chevron en kruisje, zoals de railknoppen ---------- */
.lightbox__nav,.lightbox__close,.page-section--product .product-main__thumbs-arrow{position:absolute;overflow:hidden;padding:0;border:0!important;border-radius:50%!important;background:var(--ps-surface)!important;color:var(--ps-ink)!important;box-shadow:none!important;text-indent:-999px;white-space:nowrap;font-size:0!important;line-height:0;cursor:pointer;transition:background .15s ease,color .15s ease}
.lightbox__nav{width:48px;height:48px}
.lightbox__close{width:44px;height:44px;top:14px;right:14px}
.lightbox__nav::before,.lightbox__close::before,.page-section--product .product-main__thumbs-arrow::before{content:"";position:absolute;inset:0;margin:auto;width:22px;height:22px;background:currentColor;
  -webkit-mask:var(--ps-chev) center/contain no-repeat;mask:var(--ps-chev) center/contain no-repeat}
.lightbox__nav--prev::before,.page-section--product .product-main__thumbs-arrow--prev::before{transform:scaleX(-1)}
.page-section--product .product-main__thumbs-arrow::before{width:18px;height:18px}
.lightbox__close::before{width:20px;height:20px;
  --ps-x:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask:var(--ps-x) center/contain no-repeat;mask:var(--ps-x) center/contain no-repeat}
@media (hover:hover){
  .lightbox__nav:hover,.lightbox__close:hover,.page-section--product .product-main__thumbs-arrow:hover{background:var(--ps-primary)!important;color:var(--ps-white)!important;filter:none}
}
.lightbox__nav:focus-visible,.lightbox__close:focus-visible{outline:0;box-shadow:0 0 0 3px var(--ps-ring)!important}
@media (max-width:480px){.lightbox__nav{width:42px;height:42px}}

/* ---------- "Makkelijk meebestellen" (addon-group): zoals de staffeltabel: wit vlak, geen rand, rijen rond, aangevinkt = lichtblauw ---------- */
.page-section--product .addon-group{background:var(--ps-white);border:0;border-radius:var(--ps-radius);padding:6px;overflow:visible}
.page-section--product .addon-group > li + li{border-top:0;margin-top:2px}
.page-section--product .addon-row{border-radius:16px;padding:8px 10px}
.page-section--product .addon-row:hover{background:var(--ps-surface)}
.page-section--product .addon-row:has(input:checked){background:var(--ps-blue-bg)}
.page-section--product .addon-row__check input{width:20px;height:20px;accent-color:var(--color-primary);cursor:pointer}
.page-section--product .addon-row__thumb{border:0;border-radius:12px;background:var(--ps-surface)}
.page-section--product .addon-row__thumb img{mix-blend-mode:multiply}
.page-section--product .addon-row__name,.page-section--product .addon-row__name a{font-weight:700;color:var(--ps-ink);text-decoration:none}
.page-section--product .addon-row__meta{color:var(--ps-muted)}
.page-section--product .addon-row__price{font-weight:700;color:var(--ps-ink)}
