/* 2026-12-02: winkelwagen in de nieuwe stijl van de telefoonwinkels (5/9/10/41).
   Alleen geladen in de proef (PhoneHome::enabled) door catalog/controller/checkout/cart.php. Alleen CSS, template ongewijzigd. */

/* Kopregel (Product / Aantal / Totaal): geen kader, rustige kolomkop */
.page-section--checkout-cart .cart-head{background:transparent;border:0;border-radius:0;padding:0 16px 8px}
.page-section--checkout-cart .cart-head > *{font-size:13px;font-weight:600;color:var(--ps-muted)}

/* Productregels: zacht vlak zonder rand, foto op een wit binnenvlak (zoals de productkaarten) */
.page-section--checkout-cart .cart-list{gap:10px}
.page-section--checkout-cart .cart-item-row{background:var(--ps-surface);border:0;border-radius:var(--ps-radius);padding:12px 16px 12px 12px;box-shadow:none}
.page-section--checkout-cart .cart-item-row__img{background:var(--ps-white);border:0;border-radius:16px;object-fit:contain;padding:4px}
.page-section--checkout-cart .cart-item-row__name,
.page-section--checkout-cart .cart-item-row__name a{font-weight:700;color:var(--ps-ink);text-decoration:none}
.page-section--checkout-cart .cart-item-row__name a:hover{color:var(--ps-primary)}
.page-section--checkout-cart .cart-item-row__total-price{font-weight:800;color:var(--ps-ink)}

/* Aantal: witte pill zonder rand */
.page-section--checkout-cart .cart-qty-stepper{background:var(--ps-white);border:0;border-radius:999px}
.page-section--checkout-cart .cart-qty-stepper__input{background:transparent;border:0;box-shadow:none}
.page-section--checkout-cart .cart-qty-stepper__btn{border-radius:50%}
.page-section--checkout-cart .cart-qty-stepper__btn:not(:disabled):hover{background:var(--ps-blue-bg2)}

/* Verwijderen: wit rondje met getekend kruisje (rood bij aanwijzen = verwijderen) */
.page-section--checkout-cart .cart-item-row__remove{position:relative;display:inline-block;width:36px;height:36px;border:0;border-radius:50%;background:var(--ps-white);color:var(--ps-muted);
  font-size:0;text-indent:-999px;overflow:hidden;white-space:nowrap;text-decoration:none;transition:background .15s ease,color .15s ease}
.page-section--checkout-cart .cart-item-row__remove::before{content:"";position:absolute;inset:0;margin:auto;width:16px;height:16px;background:currentColor;
  -webkit-mask: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") center/contain no-repeat;
  mask: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") center/contain no-repeat}
.page-section--checkout-cart .cart-item-row__remove > *{display:none}
@media (hover:hover){.page-section--checkout-cart .cart-item-row__remove:hover{background:var(--ps-sale);color:var(--ps-white)}}

/* Gratis artikel (2+1 e.d.): label in de kleur van het actieblok */
.page-section--checkout-cart .cadeau{float:none!important;display:inline-flex!important;margin:0 0 0 8px!important;vertical-align:2px;line-height:1.4;text-transform:uppercase;background:hsl(24 75% 36%)!important;color:var(--ps-white)!important;border:0!important;border-radius:999px!important;padding:3px 10px!important;font-size:12px;font-weight:700;letter-spacing:.02em}

/* Te weinig voorraad: geen rode rand, maar een warm vlak */
.page-section--checkout-cart .cart-item-row.not-enough-stock{background:var(--ps-orange-bg);border:0;box-shadow:none}
.page-section--checkout-cart .cart-item-row__alternative{background:var(--ps-white);border:0;border-radius:16px}

/* Overzicht rechts: zacht vlak, geen lijnen behalve een witte scheiding boven het totaal */
.page-section--checkout-cart .cart-summary{background:var(--ps-surface);border:0;border-radius:var(--ps-radius-lg);padding:22px;box-shadow:none}
.page-section--checkout-cart .cart-summary__rows{border-bottom:0}
.page-section--checkout-cart .cart-summary__row--grand{border-top:2px solid var(--ps-white);padding-top:12px;margin-top:4px}
.page-section--checkout-cart .cart-summary__row--grand .cart-summary__k,
.page-section--checkout-cart .cart-summary__row--grand .cart-summary__v{font-size:17px;font-weight:800;color:var(--ps-ink)}
.page-section--checkout-cart .cart-summary__btn{border-radius:999px;min-height:52px;font-size:16px;font-weight:700}
.page-section--checkout-cart .cart-summary .pdp-usps{border-top:0}

/* Mobiel */
@media (max-width:640px){
  .page-section--checkout-cart .cart-item-row{padding:12px}
  .page-section--checkout-cart .cart-summary{padding:18px}
}

/* Overzicht rechts op gelijke hoogte met de eerste productregel (kopregel ~28px + marge) */
@media (min-width:981px){
  .page-section--checkout-cart .cart-aside{padding-top:39px}
}

/* 2026-12-03: melding loyaliteitskorting boven de productregels in de huisstijl: zacht vlak zoals de productregels,
   groen rondje met cadeau-icoon als eigen kolom (geen absoluut icoon meer dat over de tekst viel) */
.page-section--checkout-cart .cart-main .cart-loyalty-notice{display:flex;align-items:center;gap:14px;margin:0 0 10px;padding:12px 16px 12px 12px;
  background:var(--ps-surface);border:0;border-radius:var(--ps-radius);color:var(--ps-ink);font-size:15px;line-height:1.45;box-shadow:none}
.page-section--checkout-cart .cart-main .cart-loyalty-notice::before{content:"";position:static;flex:0 0 44px;width:44px;height:44px;border-radius:50%;
  -webkit-mask:none;mask:none;
  background:var(--ps-green-bg2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='hsl(148,70%25,32%25)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M7.5 8a2.5 2.5 0 0 1 0-5C10 3 12 8 12 8s2-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E") center/22px no-repeat}
@media (max-width:640px){
  .page-section--checkout-cart .cart-main .cart-loyalty-notice{gap:12px;padding:12px}
  .page-section--checkout-cart .cart-main .cart-loyalty-notice::before{flex-basis:38px;width:38px;height:38px;background-size:19px}
}
