/* Live Life Happy: winkelwagen en checkout. Eigenaar: agent CATALOGUS.
   Ongelayerd (wint van de Hummingbird-lagen). Waarden uit docs/prototype/Winkelwagen.html; checkout in dezelfde stijl. */

/* ---------- gedeeld ---------- */
.llh-cbox { border: 1px solid #F7E9E2; border-radius: var(--llh-radius); background: #fff; }
.llh-sr2, .cart-summary__line.llh-sr2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; font-size: 14.5px; margin: 0; font-weight: 400; }
.llh-sr2 .cart-summary__value { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.llh-sr2--t, .cart-summary__line.llh-sr2--t {
  border-top: 1px solid var(--llh-line); margin-top: 6px; padding-top: 12px; font-family: var(--llh-font-display);
  font-weight: 400; font-size: 20px; line-height: 1.2;
}
.llh-total__vat { font-size: 12.5px; color: var(--llh-muted); margin-bottom: 8px; }
.llh-total { margin: 0; padding: 0; border: 0; }

/* cs_freeshippingbar: roze balk zoals het ontwerp */
.cs-fsb { --cs-fsb-fill: var(--llh-pink); --cs-fsb-track: var(--llh-line); --cs-fsb-done-fill: var(--llh-ok); --cs-ink: var(--llh-ink); }
.cs-fsb--cart { margin: 0 0 4px; }
.cs-fsb--cart .cs-fsb__text { font-size: 14px; margin: 10px 0 4px; }
.cs-fsb--cart .cs-fsb__track { height: 8px; border-radius: 8px; background: var(--llh-line); overflow: hidden; }
.cs-fsb--cart .cs-fsb__fill { height: 100%; border-radius: 8px; }

/* ---------- winkelwagen ---------- */
.page-cart .columns-container { margin-top: 0; }
.llh-carth1 { font-family: var(--llh-font-display); font-weight: 400; font-size: 32px; line-height: 1.15; margin: 6px 0 18px; color: var(--llh-ink); }
.llh-cg { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.llh-cg__main, .llh-cg__aside { min-width: 0; padding: 0; width: auto; max-width: none; margin: 0; }
.llh-cart { overflow: hidden; }
.llh-cart .cart__list { margin: 0; }
.llh-cart .cart__item { margin: 0; padding: 0; border: 0; }
.llh-cart__empty { padding: 20px 18px; margin: 0; border-bottom: 1px solid var(--llh-line); }
.llh-crow.product-line {
  display: grid; grid-template-columns: 86px minmax(0, 1fr) auto 90px 44px; gap: 16px; align-items: center;
  padding: 16px 18px; border-bottom: 1px solid var(--llh-line); margin: 0;
}
.llh-crow__img { display: block; flex-shrink: 0; }
.llh-crow__img img, .llh-crow .product-line__img { width: 86px; height: 86px; object-fit: contain; border: 1px solid #F7E9E2; border-radius: var(--llh-radius); background: #fff; display: block; }
.llh-crow__d { display: block; min-width: 0; margin: 0; }
.llh-crow__name, .llh-crow .product-line__title { font-weight: 800; color: var(--llh-ink); text-decoration: none; display: block; }
.llh-crow__name:hover { color: var(--llh-link); }
.llh-crow__d small { display: block; color: #7A686B; font-size: 13px; line-height: 1.45; }
.llh-crow__stock--low { color: var(--llh-warn); }
.llh-crow__stock--out { color: var(--llh-bad); font-weight: 800; }
.llh-crow__old { margin-left: 4px; }
.llh-crow__qty.product-line__quantity-button { max-width: none; justify-self: start; }
.llh-crow .llh-qty .llh-qty__btn.btn { width: 40px; height: 40px; }
.llh-crow .spinner-border { margin: 0; }
.llh-crow__t { font-weight: 800; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.llh-crow__x.product-line__actions { display: flex; justify-content: flex-end; grid-column: auto; }
.llh-crow__del {
  border: 0; background: none; width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: #7A686B; font-size: 22px; line-height: 1; text-decoration: none;
}
.llh-crow__del:hover { background: var(--llh-promo); color: var(--llh-link); }
.llh-cfoot-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; gap: 12px; flex-wrap: wrap; }
.llh-cfoot-row__back { color: var(--llh-link); font-weight: 800; min-height: 44px; display: flex; align-items: center; text-decoration: none; }
.llh-cfoot-row__back:hover { text-decoration: underline; color: var(--llh-link); }
.llh-cfoot-row__count { color: var(--llh-muted); font-size: 13px; }
.js-cart-update-alert:empty { display: none; }

.llh-cs { padding: 20px; }
.llh-cs__title { font-family: var(--llh-font-display); font-weight: 400; font-size: 20px; line-height: 1.15; margin: 0 0 10px; color: var(--llh-ink); }
.llh-cs .cart-summary { padding: 0; margin: 0; border: 0; background: none; }
.llh-cs .cart-summary__totals { padding: 0; }
.llh-cs .cart-summary__actions { margin: 0; }
.llh-cs .llh-cs__checkout, .llh-cs .cart-summary__actions .btn {
  width: 100%; margin-top: 6px; min-height: 52px; font-size: 16px; font-weight: 800; border-radius: var(--llh-radius);
  display: inline-flex; align-items: center; justify-content: center;
}
.llh-cs .cs-usps { margin-top: 16px; }
.llh-cs__pay { margin-top: 14px; }

/* kortingscode achter een link */
.llh-coupon { margin: 0; }
.llh-coupon__toggle {
  background: none; border: 0; padding: 0; color: var(--llh-link); font-weight: 800; font-size: 14px; min-height: 44px;
  display: flex; align-items: center; text-align: left; box-shadow: none;
}
.llh-coupon__toggle:hover { text-decoration: underline; }
.llh-coupon__body { padding: 0 0 8px; }
.cart-voucher__form { display: flex; gap: 8px; margin-bottom: 8px; }
.cart-voucher__form .form-control { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--llh-line-2); border-radius: var(--llh-radius); padding: 0 12px; }
.cart-voucher__form .form-control:focus { border-color: var(--llh-pink); box-shadow: 0 0 0 .2rem rgba(250, 121, 143, .2); }
.cart-voucher__form .llh-btn-ghost { padding: 0 16px; }
.cart-voucher__list { list-style: none; margin: 0 0 4px; padding: 0; }
.cart-voucher__list .cart-summary__line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.cart-voucher__value { display: flex; align-items: center; gap: 6px; font-weight: 800; }
.cart-voucher__remove { color: #7A686B; display: inline-flex; }
.cart-voucher__error { font-size: 13px; padding: 8px 12px; border-radius: var(--llh-radius); }
.cart-voucher__highlight { font-size: 13px; color: var(--llh-muted); }
.cart-voucher__highlight .h5 { font-size: 13px; font-weight: 800; margin: 4px 0; }
.cart-voucher__offers { padding-left: 16px; margin: 0 0 8px; }
.cart-voucher__code-value { background: none; border: 0; padding: 0; color: var(--llh-link); font-weight: 800; text-decoration: underline; }

/* ---------- kale checkout-layout ---------- */
.llh-checkout-layout { background: var(--llh-bg); }
.llh-ckhead { background: #fff; border-bottom: 1px solid var(--llh-line); position: static; }
.llh-ckhead__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 84px; }
.llh-ckhead__back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: var(--llh-link); font-weight: 800; font-size: 14.5px; text-decoration: none; min-height: 44px; }
.llh-ckhead__back:hover { color: var(--llh-link); text-decoration: underline; }
.llh-ckhead__logo { display: block; }
.llh-ckhead__logo img { height: 64px; width: auto; display: block; }
.llh-ckhead__secure { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14.5px; color: var(--llh-ink); }
.llh-ckhead__secure .llh-ico { color: var(--llh-ok); }
.llh-checkout-main { padding: 28px 0 48px; min-height: 60vh; }
.llh-cfoot { background: var(--llh-foot); padding: 18px 0; font-size: 13px; color: #7A686B; }
.llh-cfoot__row { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.llh-cfoot .llh-pay { margin: 0; }
.llh-cfoot__powered a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.llh-cfoot__powered a:hover { color: var(--llh-link); }

/* ---------- One Page Checkout ---------- */
.llh-co { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.llh-co__main, .llh-co__aside { min-width: 0; width: auto; max-width: none; padding: 0; margin: 0; }
.llh-co__title { font-family: var(--llh-font-display); font-weight: 400; font-size: 32px; line-height: 1.15; margin: 0 0 18px; color: var(--llh-ink); }
.llh-co h1, .llh-co h2, .llh-co h3, .llh-co .h4, .llh-co .h5 { font-family: var(--llh-font-display); font-weight: 400; color: var(--llh-ink); }

/* secties als kaarten met nummer */
.llh-co #opc-form { padding: 0; margin: 0; }
.llh-co .tab-content { counter-reset: llhstep; }
.llh-co .one-page-checkout__section {
  border: 1px solid #F7E9E2; border-radius: var(--llh-radius); background: #fff; padding: 20px 22px; margin: 0 0 16px;
}
.llh-co .one-page-checkout__section .one-page-checkout__section { border: 0; padding: 0; margin: 0; background: none; }
.llh-co .js-opc-addresses-section .one-page-checkout__section + .one-page-checkout__section { margin-top: 16px; }
.llh-co .one-page-checkout__title {
  display: flex; align-items: center; gap: 10px; font-family: var(--llh-font-display); font-weight: 400; font-size: 22px;
  line-height: 1.2; margin: 0 0 14px; color: var(--llh-ink);
}
.llh-co .one-page-checkout__title::before {
  counter-increment: llhstep; content: counter(llhstep); flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--llh-pink); color: #fff; font-family: var(--llh-font-text); font-weight: 800; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.llh-co .one-page-checkout__section .one-page-checkout__section .one-page-checkout__title::before { display: none; }
.llh-co .one-page-checkout__footer { border: 0; padding: 0; background: none; }
.llh-co .delivery-option .carrier-price, .llh-co [class*="carrier__price"], .llh-co .delivery-option__price { white-space: nowrap; }
.llh-co .form-label, .llh-co label { font-weight: 700; font-size: 14px; color: var(--llh-ink); }
.llh-co .form-control, .llh-co .form-select {
  min-height: 46px; border: 1.5px solid var(--llh-line-2); border-radius: var(--llh-radius); background-color: #fff; font-size: 15px;
}
.llh-co .form-control:focus, .llh-co .form-select:focus { border-color: var(--llh-pink); box-shadow: 0 0 0 .2rem rgba(250, 121, 143, .2); }
.llh-co .form-text, .llh-co .form-control-comment, .llh-co small.text-muted { font-size: 12.5px; color: #7A686B; }
.llh-co .form-check { display: flex; gap: 10px; align-items: flex-start; padding-left: 0; }
.llh-co .form-check-input { float: none; margin: 2px 0 0; width: 18px; height: 18px; flex-shrink: 0; border: 1.5px solid #CDB9BD; }
.llh-co .form-check-input:checked { background-color: var(--llh-btn); border-color: var(--llh-btn); }
.llh-co .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(250, 121, 143, .25); border-color: var(--llh-btn); }
.llh-co .form-check-label { font-weight: 400; }
.llh-co .form-check-label em, .llh-co .form-check-label i { font-size: 12.5px; color: #7A686B; display: block; }
.llh-co a:not(.btn) { color: var(--llh-link); }
.llh-co .btn-outline-primary, .llh-co .btn-secondary, .llh-co .btn-outline-secondary {
  background: #fff; color: var(--llh-ink); border: 1.5px solid var(--llh-line-2); font-weight: 800; border-radius: var(--llh-radius);
}
.llh-co .btn-outline-primary:hover, .llh-co .btn-secondary:hover, .llh-co .btn-outline-secondary:hover { background: var(--llh-promo); color: var(--llh-ink); }
.llh-co .btn-primary { font-weight: 800; border-radius: var(--llh-radius); }
.llh-co .one-page-checkout__submit, .llh-co #opc-pay-button { min-height: 54px; font-size: 17px; font-weight: 800; border-radius: var(--llh-radius); margin-top: 8px; }
.llh-co #opc-pay-button:disabled { background: #E6DCDD; border-color: #E6DCDD; color: #7A686B; opacity: 1; }
.llh-co .js-conditions-to-approve { margin: 4px 0 8px; }

/* vervoerders en betaalmethoden als keuzetegels */
.llh-co .delivery-option, .llh-co .payment-option, .llh-co .opc-carrier, .llh-co .opc-payment-option {
  border: 1.5px solid var(--llh-line-2); border-radius: var(--llh-radius); padding: 12px 14px; margin-bottom: 10px; background: #fff;
}
.llh-co .delivery-option:has(input:checked), .llh-co .payment-option:has(input:checked),
.llh-co .opc-carrier:has(input:checked), .llh-co .opc-payment-option:has(input:checked) { border-color: var(--llh-btn); background: #FFF9FA; }

/* overzicht rechts */
.llh-otoggle { display: none; }
.llh-osum.collapse:not(.show) { display: block; }
.llh-summary { border: 1px solid #F7E9E2; border-radius: var(--llh-radius); background: #fff; padding: 20px; position: sticky; top: 16px; }
.llh-summary__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.llh-summary__title { font-family: var(--llh-font-display); font-weight: 400; font-size: 20px; margin: 0; color: var(--llh-ink); }
.llh-summary__edit { color: var(--llh-link); font-weight: 800; font-size: 14px; }
.llh-summary .cart-summary { padding: 0; border: 0; background: none; margin: 0; }
.llh-summary .cart-summary__top:empty { display: none; }
.llh-osum__list { list-style: none; margin: 0 0 8px; padding: 0 0 8px; border-bottom: 1px solid var(--llh-line); }
.llh-osum__list li { margin: 0; }
.llh-oline { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; }
.llh-oline__img { position: relative; display: block; }
.llh-oline__img img { width: 56px; height: 56px; object-fit: contain; border: 1px solid #F7E9E2; border-radius: var(--llh-radius); background: #fff; display: block; }
.llh-oline__qty {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--llh-pink); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.llh-oline__name { display: block; font-weight: 800; font-size: 14px; line-height: 1.35; }
.llh-oline__attr { display: block; color: #7A686B; font-size: 12.5px; }
.llh-oline__t { font-weight: 800; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.llh-summary .cart-summary__subtotals .cart-summary__line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; }
.llh-summary .cs-usps, .llh-summary__usps .cs-usps { margin-top: 16px; }
.llh-summary .llh-coupon { margin-top: 4px; }

/* ---------- breakpoints ---------- */
@media (max-width: 991.98px) {
  .llh-cg { grid-template-columns: minmax(0, 1fr); }
  .llh-co { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .llh-co__aside { order: -1; }
  .llh-otoggle {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px;
    border: 1px solid #F7E9E2; border-radius: var(--llh-radius); background: var(--llh-promo); color: var(--llh-ink); font-weight: 800; font-size: 14.5px;
  }
  .llh-otoggle__label { display: inline-flex; align-items: center; gap: 8px; color: var(--llh-link); }
  .llh-otoggle__label .llh-ico--down { transition: transform .2s; }
  .llh-otoggle:not(.collapsed) .llh-ico--down { transform: rotate(180deg); }
  .llh-otoggle__hide { display: none; }
  .llh-otoggle:not(.collapsed) .llh-otoggle__show { display: none; }
  .llh-otoggle:not(.collapsed) .llh-otoggle__hide { display: inline; }
  .llh-otoggle__total { font-family: var(--llh-font-display); font-weight: 400; font-size: 18px; }
  .llh-osum.collapse:not(.show) { display: none; }
  .llh-osum { margin-top: 8px; }
  .llh-summary { position: static; }
  .llh-co__title { font-size: 26px; margin-bottom: 12px; }
}
@media (max-width: 767.98px) {
  .llh-carth1 { font-size: 26px; }
  .llh-crow.product-line {
    grid-template-columns: 70px minmax(0, 1fr) 44px; grid-template-areas: "i d x" "i q t"; gap: 8px 12px; padding: 14px;
  }
  .llh-crow__img { grid-area: i; align-self: start; }
  .llh-crow__img img, .llh-crow .product-line__img { width: 70px; height: 70px; }
  .llh-crow__d { grid-area: d; }
  .llh-crow__qty { grid-area: q; justify-self: start; }
  .llh-crow__t { grid-area: t; }
  .llh-crow__x { grid-area: x; align-self: start; }
  .llh-cfoot-row { padding: 12px 14px; }
  .llh-ckhead__row { grid-template-columns: auto 1fr auto; min-height: 64px; gap: 8px; }
  .llh-ckhead__back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .llh-ckhead__back { width: 44px; justify-content: center; }
  .llh-ckhead__logo { justify-self: center; }
  .llh-ckhead__logo img { height: 46px; }
  .llh-ckhead__secure { font-size: 13px; gap: 6px; }
  .llh-cfoot__row { flex-direction: column; text-align: center; }
  .llh-co .one-page-checkout__section { padding: 16px; }
  .llh-co .one-page-checkout__section .one-page-checkout__section { padding: 0; }
}
