/* ==========================================================================
   Cart & checkout 2026 UI (dev only). Loaded after main.css / style.css.
   Values follow tasks/new_cart_and_checkout/KD-CART-V4.html + KD-CHECKOUT-V5.html.
   Only layout/component rules that the mockups add; theme base styles stay in main.css.
   ========================================================================== */

.kd26 {
  /* Site colours come from nv_site_root_css() (functions.php): the accent is --header-purple-line-color
     (KOOP purple, Interkoop blue); its light tints are derived here, never hardcoded. */
  --kd-p-tint: color-mix(in srgb, var(--header-purple-line-color) 5%, #fff);    /* soft backgrounds */
  --kd-pl: color-mix(in srgb, var(--header-purple-line-color) 12%, #fff);       /* light fills */
  --kd-p-line: color-mix(in srgb, var(--header-purple-line-color) 20%, #fff);   /* borders, tracks */
  --kd-gr: #287d32;      /* mockup dark green (buttons) */
  --kd-mu: #675e55;
  --kd-bo: #e7e2dc;
  --kd-bg: #fbfaf8;
  --kd-radius: 22px;
}
.kd26 body, body.kd26 { margin: 0; background: #f5f5f5; color: var(--text-dark); font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.kd26-root { display: flex; flex-direction: column; background: #fff; min-height: 100vh; font-size: 14px; line-height: 1.5; color: var(--text-dark); }
.kd26-root *, .kd26-root *::before, .kd26-root *::after { box-sizing: border-box; }
:where(.kd26-root) :where(h1, h2, h3, p) { margin: 0; }
:where(.kd26-root) a { color: var(--header-purple-line-color); }
:where(.kd26-root) button { cursor: pointer; font: inherit; }
.kd26-root [hidden] { display: none !important; }
.kd26-root svg { flex-shrink: 0; }
.kd26-root button:focus-visible, .kd26-root a:focus-visible, .kd26-root input:focus-visible, .kd26-root select:focus-visible { outline: 3px solid var(--header-purple-line-color); outline-offset: 3px; }
.kd26-main { flex: 1 0 auto; }  /* footer stays at the bottom, also with an empty cart */
.kd26-container { max-width: 1440px; margin: 0 auto; padding: 30px 32px 42px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.kd26-header { border-bottom: 1px solid var(--kd-bo); box-shadow: 0 3px 9px rgba(51, 43, 33, .035); position: relative; z-index: 5; }
.kd26-uspbar { background: var(--header-purple-line-color); color: #fff; position: relative; overflow: hidden; }
.kd26-uspbar-inner { max-width: 1440px; margin: auto; display: flex; justify-content: space-between; gap: 16px; padding: 10px 32px; transition: transform .4s ease; will-change: transform; }
.kd26-usp { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.kd26-usp > svg { display: block; }
.kd26-usp-kd { display: flex; flex-direction: column; line-height: 1; gap: 1px; }
.kd26-usp-kd > b { font-size: 11px; letter-spacing: 1px; }
.kd26-usp-kd > span { font-size: 8px; font-weight: 600; }
.kd26-hdr { background: #fff; }
.kd26-hdr-inner { max-width: 1440px; margin: auto; padding: 18px 32px; display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 600px) minmax(180px, 1fr); gap: 24px; align-items: center; }
.kd26-logo { display: block; justify-self: start; }
.kd26-logo img { display: block; width: auto !important; max-width: 200px !important; height: 56px !important; max-height: 56px; object-fit: contain; object-position: left center; }
.kd26-search { position: relative; display: flex; align-items: center; width: 100%; max-width: 600px; justify-self: center; margin: 0; }
/* Values read from the mockup's header (the live theme search box). */
.kd26-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #675642; display: flex; width: 20px; height: 20px; }
.kd26-search-icon svg { width: 20px; height: 20px; }
.kd26-search input[type=text] { width: 100%; height: 42px; padding: 0 100px 0 40px; background: #fff; border: 1px solid #ccc; border-radius: 6px; font-family: 'DM Sans', Arial, sans-serif; font-size: 16px; font-weight: 400; color: var(--text-dark); box-shadow: none; }
.kd26-search input[type=text]::placeholder { font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: #aaa49e; opacity: 1; }
.kd26-search input[type=text]:focus { outline: 3px solid var(--header-purple-line-color); outline-offset: 2px; }
.kd26-search-btn { position: absolute; right: 4px; top: 4px; bottom: 4px; height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--green-dark); color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }
.kd26-search-btn svg { display: none; }
.kd26-account { display: inline-flex; align-items: center; gap: 9px; justify-self: end; color: rgb(51, 43, 33); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.kd26-account.is-logged-in { color: var(--text-dark); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.kd26-footer { background: var(--header-purple-line-color); color: #fff; padding: 28px 22px; margin-top: 10px; }
.kd26-footer-inner { max-width: 1376px; margin: auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 28px; align-items: start; }
body.kd26-checkout .kd26-footer-inner { max-width: 1116px; }  /* checkout mockup: 1116px, cart mockup: 1376px */
.kd26-footer-contact h3 { font-size: 22px; line-height: 1.5; font-weight: 700; margin: 0 0 8px; color: #fff; }
.kd26-footer-contact p { font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; color: #fff; }
.kd26-footer-contact a { color: #fff; text-decoration: underline; }
.kd26-footer-phone { display: block; }
.kd26-footer-logos { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; min-width: 0; }
.kd26-footer-card { border: 1px solid #ffffff40; background: #ffffff12; border-radius: 14px; padding: 12px; min-width: 0; }
.kd26-footer-card-head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 12px; }
.kd26-footer-card-head span { font-weight: 700; }
.kd26-footer-card-head small { font-size: 10px; }
.kd26-footer-logo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.kd26-footer-logo { background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 6px; min-width: 0; flex: 1; }
/* Higher specificity than WooCommerce's ".woocommerce-page img { height: auto; max-width: 100% }". */
.kd26 .kd26-footer .kd26-footer-logo img { display: block; width: 100%; max-width: 75px; height: 40px; max-height: none; object-fit: contain; }

/* ── Shared components ──────────────────────────────────────────────────── */
.kd26-card { border: 1px solid var(--kd-bo); border-radius: var(--kd-radius); background: #fff; box-shadow: 0 14px 38px #332b2110; min-width: 0; }
.kd26-title { font-size: 32px; letter-spacing: -.04em; line-height: 1.1; margin: 0 0 20px; padding: 0; }
.kd26-checkout-btn, .kd26-continue { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; border: 0; border-radius: 99px; background: var(--kd-gr); color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; padding: 14px 18px; margin-top: 20px; }
.kd26-checkout-btn:hover, .kd26-continue:hover { background: #206c29; color: #fff; }
.kd26-checkout-btn:visited { color: #fff; }
/* Headings: the theme's h1/h2 rules (serif, regular weight) do not apply to the new pages. */
.kd26-title, .kd26-step-title, .kd26-summary-title, .kd26-crosssell-head h2, .kd26-empty-state h2 { font-family: 'DM Sans', system-ui, sans-serif; font-weight: 800; color: var(--text-dark); }
.kd26-checkout-btn.is-disabled { opacity: .5; pointer-events: none; }
.kd26-continue.secondary { background: #fff; color: var(--header-purple-line-color); border: 1px solid var(--header-purple-line-color); margin-top: 12px; }
.kd26-continue.secondary:hover { background: var(--kd-pl); color: var(--header-purple-line-color); }
.kd26-small-btn { border: 1px solid var(--header-purple-line-color); background: #fff; color: var(--header-purple-line-color); border-radius: 99px; padding: 9px 16px; font-weight: 800; white-space: nowrap; }
.kd26-small-btn:hover { background: var(--kd-pl); }
.kd26-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 9px; border-radius: 7px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.kd26-badge--green { background: #edf4df; color: #7d8d39; }
.kd26-badge--blue { background: #e5f1f7; color: #79a7c0; }
.kd26-pill { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; border: 1px solid #ddd3ca; background: #fff; color: #6e675f; font-size: 10px; white-space: nowrap; }
.kd26-pill--stock { border-color: #58b859; color: #43a644; background: #f9fff8; }
.kd26-pill--stock.out { border-color: #ff5a50; color: #ff372d; background: #fff; }
.kd26-note { margin-top: 14px; padding: 10px 12px; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.kd26-note--warn { background: #fff7e6; border: 1px solid #f3dca8; color: #7a5a12; }
.kd26-note--error { background: #fff3f1; border: 1px solid #efc4bd; color: #ad2b20; }

/* Coupon */
.kd26-coupon { padding: 12px 0 16px; }
.kd26-cart .kd26-summary-card .kd26-coupon { padding: 5px 0 16px; }
.kd26-cart .kd26-summary-card > .kd26-checkout-btn { margin-top: 0; }
.kd26-coupon-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--header-purple-line-color); font-size: 12px; font-weight: 700; padding: 2px 0; }
@media (min-width: 761px) { .kd26-cart .kd26-coupon-toggle { font-size: 14px; } }   /* cart desktop only (mockup) */
.kd26-coupon-toggle svg { width: 13px; height: 13px; transition: transform .15s; }
.kd26-coupon-toggle[aria-expanded=true] svg { transform: rotate(180deg); }
.kd26-coupon-panel { display: flex; gap: 10px; align-items: center; margin-top: 11px; max-width: 390px; }
.kd26-coupon-panel input { height: 42px; min-width: 0; flex: 1; border: 1px solid #cfc8c0; border-radius: 12px; background: var(--kd-bg); padding: 0 12px; font: inherit; }
.kd26-coupon-status { display: block; font-size: 12px; color: var(--kd-mu); margin-top: 8px; }
.kd26-coupon-status:empty { display: none; }

/* Trust card */
.kd26-trust-card { padding: 20px 24px; border-radius: 18px; box-shadow: 0 6px 20px #332b2106; }
.kd26-trust { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kd26-seals { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex: 1 1 auto; min-width: 0; }
.kd26-seal { position: relative; display: flex; align-items: center; height: 36px; min-width: 0; }
.kd26-seal img { display: block; height: 36px; max-height: 36px; width: auto; max-width: 100%; object-fit: contain; }
.kd26-trustpilot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: 36px; padding-left: 10px; border-left: 1px solid var(--kd-bo); line-height: 1; flex: 0 0 auto; }
.kd26-stars { display: flex; gap: 2px; height: 19px; }
.kd26-stars span { display: flex; width: 19px; height: 19px; padding: 2px; background: #00b67a; color: #fff; }
.kd26-stars span:last-child { background: linear-gradient(90deg, #00b67a 50%, #e8e8eb 50%); }
.kd26-stars svg { width: 100%; height: 100%; }
.kd26-review-count { font-size: 11px; line-height: 12px; color: var(--kd-mu); white-space: nowrap; }
.kd26-tip { position: absolute; z-index: 100; left: 50%; top: calc(100% + 9px); transform: translateX(-50%); width: max-content; max-width: 210px; padding: 7px 10px; border-radius: 7px; background: #332b21; color: #fff; font-size: 11px; font-weight: 500; line-height: 1.4; text-align: center; box-shadow: 0 4px 12px #0002; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s; white-space: normal; }
.kd26-tip::before { content: ''; position: absolute; bottom: 100%; left: calc(50% - 5px); border: 5px solid transparent; border-bottom-color: #332b21; }
.kd26-seal:hover .kd26-tip, .kd26-seal:focus .kd26-tip, .kd26-trustpilot:hover .kd26-tip, .kd26-trustpilot:focus .kd26-tip { opacity: 1; visibility: visible; }
.kd26-trustpilot .kd26-tip { left: auto; right: 0; transform: none; }
.kd26-trustpilot .kd26-tip::before { left: auto; right: 30px; }

/* Summary card (cart + checkout) */
.kd26-summary-card { padding: 24px; }
.kd26-cart .kd26-summary-card { font-weight: 700; }  /* Overzicht: bold as in the mockup */
.kd26-summary-title { font-size: 24px; margin-bottom: 14px; letter-spacing: -.02em; }
.kd26-summary-sub { font-size: 12px; color: var(--kd-mu); margin: 4px 0 10px; }
.kd26-summary-sub a { font-weight: 400; text-decoration: underline; }
.kd26-checkout .kd26-summary-card { padding: 20px; }
.kd26-checkout .kd26-summary-title { font-size: 20px; font-weight: 700; margin: 0; letter-spacing: 0; line-height: 1.5; }
.kd26-trust-list { font-size: 13px; color: var(--kd-mu); display: grid; gap: 8px; margin-top: 17px; }
.kd26-trust-list > div { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.kd26-trust-list > div::before { content: '✓'; color: var(--kd-gr); flex: 0 0 14px; width: 14px; font-size: 12px; }
.kd26-trust-list--co { font-size: 12px; }
.kd26-secure { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--kd-bo); font-size: 11px; color: var(--kd-mu); display: flex; align-items: center; gap: 7px; }
.kd26-payment-icons { display: grid; grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr)); gap: 7px; margin-top: 14px; }
.kd26-payment-tile { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; height: 44px; padding: 7px; border: 1px solid var(--kd-bo); border-radius: 9px; background: #fff; }
.kd26 .kd26-payment-tile img { display: block; max-width: 54px; max-height: 26px; width: auto; height: auto; object-fit: contain; }
.kd26 .kd26-payment-tile:first-child img { max-width: 66px; }
.kd26-tip--up { top: auto; bottom: calc(100% + 8px); }
.kd26-tip--up::before { bottom: auto; top: 100%; border-bottom-color: transparent; border-top-color: #332b21; }
.kd26-payment-tile:hover .kd26-tip, .kd26-payment-tile:focus .kd26-tip { opacity: 1; visibility: visible; }
.kd26-payment-tile:first-child .kd26-tip { left: 0; transform: none; }
.kd26-payment-tile:last-child .kd26-tip { left: auto; right: 0; transform: none; }

/* Floating button */
.kd26-floating { position: fixed; z-index: 80; bottom: 14px; left: 50%; transform: translateX(-50%); width: 342px; max-width: calc(100vw - 24px); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.kd26-floating.is-hidden { opacity: 0; transform: translateX(-50%) translateY(10px); }
.kd26-floating-inner { background: #fff; border: 1px solid var(--kd-bo); border-radius: 999px; padding: 5px; box-shadow: 0 12px 30px rgba(51, 43, 33, .18); pointer-events: auto; }
.kd26-floating .kd26-checkout-btn, .kd26-floating .kd26-continue { margin: 0; min-height: 50px; }

/* Popup (KD.extra) */
.kd26-popup-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 9999; align-items: center; justify-content: center; }
.kd26-popup-overlay.is-open { display: flex; }
.kd26-popup { background: #fff; padding: 30px; max-width: 500px; width: 90%; border-radius: 16px; position: relative; box-shadow: 0 5px 20px rgba(0, 0, 0, .2); }
.kd26-popup h3 { margin: 0 0 20px; font-size: 20px; font-weight: 700; }
.kd26-popup p { margin-bottom: 10px; }
.kd26-popup .kdextra-btn { background: var(--header-purple-line-color); color: #fff !important; padding: 10px 25px; border-radius: 99px; font-weight: 700; display: inline-block; margin-top: 15px; text-decoration: none; }
.kd26-popup-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 24px; line-height: 1; color: var(--kd-mu); }

/* ── Cart ───────────────────────────────────────────────────────────────── */
.kd26-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 30px; align-items: start; }
.kd26-cart-products { min-width: 0; }
.kd26-cart-card { padding: 6px 28px 26px; }
.kd26-cart-summary { min-width: 0; position: sticky; top: 20px; display: grid; gap: 14px; }
.kd26-notices:empty { display: none; }
.kd26-notices .woocommerce-message, .kd26-notices .woocommerce-info, .kd26-notices .woocommerce-error, .kd26-notices .wc-block-components-notice-banner, .kd26-notices [role=alert] {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; background: var(--kd-p-tint); border: 1px solid var(--kd-p-line); border-radius: 14px; padding: 11px 14px; margin: 14px 0 0; font-size: 12px; color: var(--text-dark);
}
.kd26-notices .woocommerce-message, .kd26-notices .woocommerce-info, .kd26-notices .woocommerce-error { position: relative; padding-left: 40px; }
.kd26-notices .woocommerce-message::before, .kd26-notices .woocommerce-info::before, .kd26-notices .woocommerce-error::before { left: 14px; top: 50%; transform: translateY(-50%); }
.kd26-notices .kd26-undo-bar, .kd26-notices .woocommerce-message:has(.restore-item) { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; background: var(--kd-p-tint); border: 1px solid var(--kd-p-line); border-radius: 14px; font-size: 12px; color: var(--text-dark); transition: opacity .3s ease; }
.kd26-notices .kd26-undo-bar::before, .kd26-notices .woocommerce-message:has(.restore-item)::before { content: none; display: none; }
.kd26-notices .kd26-undo-bar.is-leaving { opacity: 0; }
.kd26-notices .kd26-undo-btn { margin-left: auto; border: 0; background: none; padding: 0; color: var(--header-purple-line-color); text-decoration: underline; font-weight: 700; white-space: nowrap; }
.kd26-notices .woocommerce-error, .kd26-notices .is-error { background: #fff3f1; border-color: #efc4bd; color: #ad2b20; }
.kd26-notices a, .kd26-notices .restore-item { color: var(--header-purple-line-color); text-decoration: underline; font-weight: 700; }
.kd26-notices .button { background: none; border: 0; padding: 0; color: var(--header-purple-line-color); font-weight: 700; text-decoration: underline; }
.kd26-notices .wc-block-components-notice-banner__content { flex: 1; }
.kd26-notices svg { display: none; }
#kdsp-fsbar { display: none !important; }
body.kd26-hide-belco .belco-activator-frame, body.kd26-hide-belco #belco-container .belco-activator-frame { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transition: opacity .2s ease, visibility .2s; }
.belco-activator-frame { transition: opacity .2s ease, visibility .2s, bottom .18s ease; }
@media (max-width: 760px) {
  body.kd26-floating-on .belco-activator-frame { bottom: 86px !important; }   /* above the floating button */
}
.kd26-delivery-notice { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; padding: 8px 10px; border: 1px solid #cfe3ee; border-radius: 10px; background: #eaf4f9; color: #5f93ae; font-size: 12px; font-weight: 700; line-height: 1.4; }
.kd26-delivery-notice::before { content: 'i'; display: flex; align-items: center; justify-content: center; flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%; background: #79a7c0; color: #fff; font-size: 10px; font-weight: 800; }

.kd26-product { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--kd-bo); align-items: center; }
.kd26-product:last-child { border-bottom: 0; }
.kd26-product-image { display: flex; align-items: center; justify-content: center; width: 112px; height: 124px; border: 1px solid var(--kd-bo); border-radius: 14px; background: #fff; padding: 8px; }
.kd26-product-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kd26-product-name { font-size: 17px; font-weight: 800; color: var(--text-dark); text-decoration: none; line-height: 1.4; }
.kd26-product-name:hover { color: var(--header-purple-line-color); }
.kd26-product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 7px; }
.kd26-product-bottom { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 13px; }
.kd26-qty { display: inline-flex; align-items: center; border: 1px solid var(--kd-bo); border-radius: 12px; overflow: hidden; background: var(--kd-bg); }
.kd26-qty-btn { width: 40px; height: 40px; border: 0; background: transparent; color: var(--text-dark); font-size: 19px; line-height: 1; }
.kd26-qty-btn:hover { background: var(--kd-pl); color: var(--header-purple-line-color); }
.kd26-qty-btn:disabled { opacity: .4; cursor: not-allowed; background: transparent; }
.kd26-qty-input { width: 48px; height: 40px; min-width: 0; border: 0; border-inline: 1px solid var(--kd-bo); border-radius: 0; background: #fff; text-align: center; font-size: 16px; font-weight: 700; color: var(--text-dark); padding: 0 3px; }
.kd26-qty-input:focus { outline: 2px solid var(--header-purple-line-color); outline-offset: -2px; background: var(--kd-pl); }
.product-remove { display: inline-flex; }
.kd26-remove { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--kd-bo); border-radius: 8px; background: var(--kd-bg); color: var(--kd-mu); padding: 0; font-size: 0; }
.kd26-remove svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kd26-remove:hover { color: #ad2b20; border-color: #e9b6af; background: #fff8f6; }
.kd26 .woocommerce a.remove.kd26-remove { display: flex; width: 28px; height: 28px; font-size: 0; line-height: 1; border-radius: 8px; border: 1px solid var(--kd-bo); background: var(--kd-bg); color: var(--kd-mu) !important; font-weight: 400; }
.kd26 .woocommerce a.remove.kd26-remove:hover { color: #ad2b20 !important; border-color: #e9b6af; background: #fff8f6; }
.kd26-cart .kd26-product-name { color: var(--text-dark); }
.kd26-cart .kd26-product-name:hover { color: var(--header-purple-line-color); }
.kd26-medication-limit { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--kd-p-line); border-radius: 10px; background: var(--kd-p-tint); font-size: 12px; line-height: 1.5; }
.kd26-product-price { text-align: right; align-self: center; }
.kd26-unit-price { font-size: 14px; font-weight: 700; color: var(--kd-mu); margin-bottom: 4px; white-space: nowrap; }
.kd26-line-price { font-size: 19px; font-weight: 800; white-space: nowrap; }
.kd26-product.is-kdextra .kd26-product-bottom { margin-top: 9px; }

.kd26-kdextra { margin-top: 4px; padding: 10px 12px; border: 1px solid #d5e5ce; border-radius: 12px; background: #f2f8ef; display: flex; align-items: center; gap: 10px; }
.kd26-kdextra-check { display: flex; align-items: center; gap: 9px; color: var(--text-dark); font-size: 12px; font-weight: 700; line-height: 1.4; flex: 1; min-width: 0; cursor: pointer; margin: 0; }
.kd26-kdextra-check input { margin: 0; accent-color: var(--header-purple-line-color); width: 16px; height: 16px; flex: 0 0 16px; }
.kd26-kdextra-copy strong { color: var(--kd-gr); font-size: 13px; }
.kd26-kdextra-link { flex-shrink: 0; color: var(--header-purple-line-color); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.kd26-kdextra-link:hover { text-decoration: underline; }

/* Totals */
.kd26-totals { font-size: 15px; }
.kd26-total-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; align-items: baseline; }
.kd26-total-row small { color: var(--kd-mu); font-size: 12px; }
.kd26-total-row.total { border-top: 1px solid var(--kd-bo); margin-top: 7px; padding-top: 13px; font-size: 22px; font-weight: 800; }
.kd26-remove-coupon { font-size: 11px; margin-left: 6px; }
.kd26-shipping-label { display: inline-flex; align-items: center; gap: 6px; }
.kd26-info { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border: 1px solid #bcb4ac; border-radius: 50%; background: #fff; color: var(--kd-mu); font-size: 11px; font-weight: 800; line-height: 1; cursor: help; padding: 0; }
.kd26-info:hover, .kd26-info:focus-visible { border-color: var(--header-purple-line-color); color: var(--header-purple-line-color); }
.kd26-shipping-tip { position: absolute; z-index: 20; right: -10px; bottom: calc(100% + 10px); width: 390px; max-width: min(390px, calc(100vw - 40px)); padding: 12px 14px; border-radius: 10px; background: #333; color: #fff; font-size: 11px; font-weight: 500; line-height: 1.55; box-shadow: 0 8px 24px #0003; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; pointer-events: none; text-align: left; }
.kd26-shipping-tip::after { content: ''; position: absolute; right: 12px; top: 100%; border: 7px solid transparent; border-top-color: #333; }
.kd26-info:hover .kd26-shipping-tip, .kd26-info:focus-visible .kd26-shipping-tip { opacity: 1; visibility: visible; transform: translateY(0); }
.kd26-points-label { display: inline-flex; align-items: center; gap: 6px; }
.kd26-points-label::before { content: '★'; color: #ef7f5b; font-size: 11px; line-height: 1; }
.kd26-points-value { color: var(--header-purple-line-color); text-align: right; }
.kd26-points-value small { color: #978e86; font-size: 11px; font-weight: inherit; }
.kd26-progress { border-radius: 15px; padding: 13px 14px 18px; margin: 16px 0; }
.kd26-progress strong { display: block; font-size: 14px; }
.kd26-progress p { font-size: 12px; color: var(--kd-mu); margin-top: 3px; }
.kd26-progress--shipping { border: 1px solid #cbe2c5; background: #f1faf1; }
.kd26-progress--shipping strong { color: var(--kd-gr); }
.kd26-progress--rewards { border: 1px solid var(--kd-p-line); background: var(--kd-p-tint); padding-bottom: 22px; margin: 14px 0 10px; }
.kd26-progress--rewards strong { color: var(--header-purple-line-color); }
.kd26-progress-row { position: relative; margin-top: 15px; padding-right: 22px; }
.kd26-track { height: 7px; background: #dceddd; border-radius: 99px; overflow: hidden; margin-right: -8px; }
.kd26-bar { height: 100%; background: var(--green-dark); border-radius: 99px; transition: width .4s ease; }
.kd26-progress-icon { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #eef4eb; border: 1px solid #d7dfd3; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); color: #2f8a3d; }
.kd26-progress-icon svg { width: 16px; height: 16px; }
.kd26-rewards-track-wrap { position: relative; margin-top: 15px; padding-top: 2px; padding-right: 22px; }
.kd26-track--rewards { background: var(--kd-p-line); }
.kd26-bar--rewards { background: var(--header-purple-line-color); }
.kd26-milestone { position: absolute; top: -10px; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--kd-p-tint); border: 1px solid var(--kd-p-line); color: #ef7f5b; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); font-size: 14px; font-weight: 700; margin-left: 11px; }
.kd26-milestone.active { background: #fff7f4; border-color: #f2c2b4; }
.kd26-login-notice { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--kd-p-line); font-size: 12px; line-height: 1.6; color: var(--text-dark); }
.kd26-login-notice a { font-weight: 800; }

/* Cross-sell */
.kd26-crosssell { margin-top: 28px; }
.kd26-cart-products .kd26-crosssell.is-compact { margin-top: 24px; }
.kd26-crosssell.is-compact .kd26-crosssell-head::before { margin-bottom: 16px; }
.kd26-crosssell.is-compact .kd26-crosssell-card { flex: 0 0 calc((100% - 36px) / 4); min-width: calc((100% - 36px) / 4); }
.kd26-crosssell-head::before { content: ''; display: block; width: 100%; height: 5px; border-radius: 999px; background: #f06f52; margin-bottom: 12px; }
.kd26-crosssell-head { margin-bottom: 12px; }
.kd26-crosssell-head h2 { font-size: 23px; line-height: 1.1; }
.kd26-crosssell-carousel { position: relative; padding: 0 22px; }
.kd26-crosssell-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -22px; padding: 12px 22px 30px; scroll-padding-inline: 22px; mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent); }
.kd26-crosssell-grid::-webkit-scrollbar { display: none; }
.kd26-crosssell-card { position: relative; display: flex; flex-direction: column; flex: 0 0 calc((100% - 60px) / 6); min-width: calc((100% - 60px) / 6); scroll-snap-align: start; border: 1px solid var(--kd-bo); border-radius: 18px; background: #fff; padding: 8px; transition: transform .2s ease, box-shadow .2s ease; }
.kd26-crosssell-card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(51, 43, 33, .14); }
.kd26-crosssell-media { position: relative; height: 196px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 4px; }
.kd26-crosssell-picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.kd26-crosssell-picture img { display: block; max-width: 94%; max-height: 94%; width: auto; height: auto; object-fit: contain; }
.kd26-crosssell-media .price-badge-wrapper { position: absolute; top: 8px; left: 6px; width: 180px; height: 95px; z-index: 2; transform: scale(.62); transform-origin: top left; pointer-events: none; }
.kd26-crosssell-media .adviesprijs-box { position: absolute; top: 0; left: 0; background: #C5DDE8; border-radius: 6px; padding: 8px 10px 9px; min-width: 82px; z-index: 1; }
.kd26-crosssell-media .adviesprijs-label { font-size: 11px; font-weight: 700; color: #453832; text-transform: uppercase; line-height: 1; margin-bottom: 3px; }
.kd26-crosssell-media .adviesprijs-amount { font-size: 16px; font-weight: 700; color: #453832; line-height: 1; }
.kd26-crosssell-media .current-price-box { position: absolute; top: 34px; left: 52px; z-index: 2; display: flex; align-items: flex-start; padding: 7px 12px; white-space: nowrap; background: #E46A3A; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.kd26-crosssell-media .current-price-box.no-adv { top: 0; left: 0; }
.kd26-crosssell-media .sale-euros { font-size: 38px; font-weight: 800; color: #fff; line-height: 1; }
.kd26-crosssell-media .sale-cents { font-size: 18px; font-weight: 800; color: #fff; margin-top: 4px; line-height: 1; }
.kd26-crosssell-heart { position: absolute; top: 10px; right: 10px; z-index: 3; }
.kd26-crosssell-heart .alg-wc-wl-btn-wrapper { position: static !important; padding: 0 !important; margin: 0 !important; }
.kd26-crosssell-heart button, .kd26-crosssell-heart .alg-wc-wl-btn { width: 31px !important; height: 31px !important; padding: 0 !important; margin: 0 !important; border-radius: 50% !important; background: #fff !important; border: 1px solid #e7ddd5 !important; color: #5c5751; display: flex; align-items: center; justify-content: center; }
.kd26-crosssell-title { margin-top: 6px; font-size: 12px; line-height: 1.3; font-weight: 800; color: var(--text-dark); min-height: 32px; }
.kd26-crosssell-meta { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: auto; padding-top: 5px; }
.kd26-crosssell-meta .kd26-pill { font-size: 9px; padding-inline: 6px; }
.kd26-crosssell-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 32px; border-radius: 12px; border: 0; background: #51b24c; color: #fff; font-size: 12px; font-weight: 800; margin-top: 6px; text-decoration: none; }
.kd26-crosssell-btn svg { width: 16px; height: 16px; }
.kd26-crosssell-btn:hover { background: #459c41; color: #fff; }
.kd26-crosssell-btn.loading { opacity: .6; }
.kd26-crosssell-nav { display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e3d7cf; background: #fff; color: #5c5751; box-shadow: 0 8px 18px rgba(51, 43, 33, .12); }
.kd26-crosssell-nav svg { width: 16px; height: 16px; }
.kd26-crosssell-nav.prev { left: -2px; }
.kd26-crosssell-nav.prev svg { transform: rotate(90deg); }
.kd26-crosssell-nav.next { right: -2px; }
.kd26-crosssell-nav.next svg { transform: rotate(-90deg); }
.kd26-empty-state { text-align: center; padding: 55px 20px; }
.kd26-cart--empty .kd26-notices > :first-child { margin: 0 0 14px; }
.kd26-empty-state h2 { font-size: 24px; margin-bottom: 8px; }
.kd26-empty-state p { color: var(--kd-mu); margin-bottom: 18px; }
.kd26-empty-state .kd26-checkout-btn { max-width: 240px; margin: 18px auto 0; }

/* ── Checkout ───────────────────────────────────────────────────────────── */
/* The checkout mockup sets the page body to system-ui (only its header uses DM Sans); match it. */
.kd26-checkout { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, sans-serif; }
.kd26-checkout .kd26-step-title, .kd26-checkout .kd26-summary-title { font-family: inherit; }
.kd26-progress-wrap { margin: 0 14px 26px; }
.kd26-progress-track { height: 8px; border-radius: 10px; background: #dceddd; position: relative; }
.kd26-progress-fill { height: 100%; width: 0; background: var(--green-dark); border-radius: 10px; transition: width .2s; }
.kd26-progress-dots { position: absolute; inset: -6px -4px; display: flex; justify-content: space-between; pointer-events: none; }
.kd26-progress-dot { width: 20px; height: 20px; border: 4px solid #dceddd; border-radius: 50%; background: #fff; }
.kd26-progress-dot.active { border-color: var(--green-dark); }
.kd26-progress-labels { display: flex; justify-content: space-between; align-items: start; gap: 10px; color: var(--kd-mu); font-size: 11px; }
.kd26-progress-step { border: 0; border-radius: 6px; background: none; padding: 20px 4px 8px; margin-top: -8px; min-height: 44px; color: var(--kd-mu); line-height: 1.3; text-align: center; }
.kd26-progress-step:first-child { padding-left: 0; text-align: left; }
.kd26-progress-step:last-child { padding-right: 0; text-align: right; }
.kd26-progress-step.active { color: var(--header-purple-line-color); font-weight: 700; }
.kd26-progress-step:not(:disabled):hover { color: var(--header-purple-line-color); text-decoration: underline; text-underline-offset: 3px; }
.kd26-progress-step:disabled { opacity: .55; cursor: default; }

.kd26-co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; grid-template-rows: max-content 1fr; gap: 24px; align-items: start; grid-template-areas: 'login summary' 'left summary'; }
.kd26-co-layout:not(.has-login) { grid-template-rows: auto; grid-template-areas: 'left summary'; }
.kd26-co-login { grid-area: login; padding: 24px 24px 0; border-bottom: 0; border-radius: var(--kd-radius) var(--kd-radius) 0 0; position: relative; z-index: 1; clip-path: inset(-60px -60px 0 -60px); }
.kd26-co-layout.has-login { row-gap: 0; }
.kd26-co-layout.has-login .kd26-co-left { clip-path: inset(0 -60px -60px -60px); }
.kd26-co-layout.has-login .kd26-co-summary { margin-bottom: 0; }
.kd26-co-layout:not(.has-login) .kd26-co-login { display: contents; }
/* Login card only on step 1; on steps 2/3 the left card becomes a full card again. */
body.body_checkout_step2 .kd26-co-login, body.body_checkout_step3 .kd26-co-login { display: none; }
body.body_checkout_step2 .kd26-co-layout, body.body_checkout_step3 .kd26-co-layout { grid-template-rows: auto; grid-template-areas: 'left summary'; }
body.body_checkout_step2 .kd26-co-layout.has-login .kd26-co-left, body.body_checkout_step3 .kd26-co-layout.has-login .kd26-co-left { border-top: 1px solid var(--kd-bo); border-radius: var(--kd-radius); clip-path: none; }
.kd26-co-form { display: contents; }
.kd26-co-left { grid-area: left; padding: 24px; }
.kd26-co-layout.has-login .kd26-co-left { border-top: 0; border-radius: 0 0 var(--kd-radius) var(--kd-radius); padding-top: 0; }
body.body_checkout_step2 .kd26-co-layout.has-login .kd26-co-left, body.body_checkout_step3 .kd26-co-layout.has-login .kd26-co-left { padding-top: 24px; }
.kd26-co-summary { grid-area: summary; min-width: 0; position: sticky; top: 20px; display: grid; gap: 14px; }
.kd26-panel { min-width: 0; }
.checkout_step2, .checkout_step3 { display: none; }
/* The active step also follows the body class set by checkout_gotostep(): WooCommerce re-renders #payment
   (.checkout_step3) on every update_checkout (e.g. switching payment method), and the fresh element does not
   carry the inline display:block that checkout_gotostep() put on the old one. */
body.body_checkout_step2 .kd26-checkout .checkout_step2,
body.body_checkout_step3 .kd26-checkout .checkout_step3 { display: block; }
.kd26-step-title { font-size: 28px; line-height: 1.2; margin-bottom: 20px; letter-spacing: -.035em; }

.kd26-login-notice { margin: 0 0 20px; padding: 13px 16px; background: var(--kd-p-tint); border: 1px solid var(--kd-p-line); border-radius: 16px; font-size: 13px; border-top: 1px solid var(--kd-p-line); }
.kd26-co-login .kd26-login-notice { margin-top: 0; }
.kd26-login-toggle { border: 0; padding: 0; background: none; color: var(--header-purple-line-color); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.kd26-login-panel { border: 1px solid var(--kd-bo); border-radius: 18px; background: var(--kd-bg); padding: 20px; margin: -6px 0 24px; }
.kd26-login-panel .woocommerce-form-login { display: block !important; }
.kd26-login-panel .form-row { display: flex; flex-direction: column; gap: 4px; margin: 0 0 12px; }
.kd26-login-panel label { font-size: 12px; font-weight: 700; }
.kd26-login-panel input[type=text], .kd26-login-panel input[type=password], .kd26-login-panel input[type=email] { width: 100%; height: 44px; border: 1px solid #cfc8c0; border-radius: 12px; background: #fff; padding: 0 12px; font: inherit; font-size: 16px; }
.kd26-login-panel .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 400; }
.kd26-login-panel button[type=submit] { display: inline-flex; align-items: center; justify-content: center; min-width: 110px; min-height: 46px; padding: 10px 24px; border: 0; border-radius: 99px; background: var(--kd-gr); color: #fff; font-weight: 800; margin-top: 8px; }
.kd26-login-panel .lost_password { display: block; font-size: 12px; margin-top: 9px; }
.kd26-login-panel .show-password-input { display: none; }

/* Billing / shipping fields */
.kd26-type { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.kd26-type legend, .kd26-shipping-address legend, .kd26-ship-group legend, .kd26-payment legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.kd26-type-row { display: flex; gap: 12px; }
.kd26-type-box { flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid var(--kd-bo); border-radius: 15px; padding: 12px; cursor: pointer; background: #fff; margin: 0; font-weight: 400; }
.kd26-type-box:has(:checked) { border-color: #9dcba1; background: #f1faf1; }
.kd26-type-box input { margin: 0; width: 18px; height: 18px; accent-color: var(--kd-gr); }
.kd26-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0; }
.kd26-field, .kd26-field-grid > .form-row { display: flex; flex-direction: column; gap: 4px; margin: 0 !important; padding: 0 !important; width: auto !important; float: none !important; }
/* postcode.eu plugin: the WC postcode field + its house-number field are used (as in the old checkout.css). */
#billing_postcodeEuAutofillNlPostcode_field, #shipping_postcodeEuAutofillNlPostcode_field, .postcode-eu-address-validation-warning { display: none !important; }
#billing_postcodeEuAutofillNlHouseNumberWithAddition_field, #shipping_postcodeEuAutofillNlHouseNumberWithAddition_field { display: flex !important; }
.kd26-field-grid .form-row .postcode-eu-autofill-intl-container, .kd26-field-grid .form-row .postcode-eu-address-validation-error { font-size: 12px; }
.kd26-field.form-row-wide, .kd26-field.kd26-field--wide, .kd26-field.kd26-show.form-row-wide { grid-column: 1 / -1; }
.kd26-field label, .kd26-field-grid > .form-row label { font-size: 12px; font-weight: 700; margin: 0; display: block; }
.kd26-field label .required { color: #ad2b20; text-decoration: none; }
.kd26-field label .optional { display: none; }
.kd26-input { display: block; width: 100%; }
.kd26-field input.input-text, .kd26-field-grid .form-row input.input-text, .kd26-field-grid .form-row input[type=text], .kd26-field select, .kd26-field-grid .form-row select, .kd26-field textarea, .kd26-field .select2-container .select2-selection--single { width: 100% !important; height: 40px; border: 1px solid #cfc8c0; border-radius: 12px; background: var(--kd-bg); padding: 0 12px; font: inherit; font-size: 16px; color: var(--text-dark); box-sizing: border-box; }
.kd26-field .select2-container .select2-selection--single .select2-selection__rendered { line-height: 38px; padding-left: 0; }
.kd26-field .select2-container .select2-selection--single .select2-selection__arrow { height: 38px; }
.kd26-field.woocommerce-invalid input, .kd26-field.woocommerce-invalid select { border-color: #ad2b20; background: #fff8f6; }
.kd26-field.woocommerce-invalid label { color: #ad2b20; }
/* WooCommerce's form rules (.woocommerce form .form-row …) out-rank the ones above: re-assert with more specificity. */
.kd26 .woocommerce form .form-row .input-text, .kd26 .woocommerce form .form-row select, .kd26 .woocommerce form .form-row textarea {
  height: 40px; border: 1px solid #cfc8c0; border-radius: 12px; background: var(--kd-bg); padding: 0 12px; font: inherit; font-size: 16px; color: var(--text-dark); line-height: normal; box-shadow: none; }
.kd26 .woocommerce form .form-row textarea { height: auto; min-height: 80px; padding: 10px 12px; }
.kd26 .woocommerce form .form-row .input-text:focus, .kd26 .woocommerce form .form-row select:focus { border-color: var(--header-purple-line-color); outline: 2px solid var(--kd-pl); outline-offset: 0; }
.kd26 .woocommerce form .form-row.woocommerce-invalid .input-text, .kd26 .woocommerce form .form-row.woocommerce-invalid select { border-color: #ad2b20; background: #fff8f6; }
.kd26 .woocommerce form .form-row.woocommerce-validated .input-text, .kd26 .woocommerce form .form-row.woocommerce-validated select { border-color: #cfc8c0; }
/* Country / state: select2 widget drawn as the same 40px field, text vertically centred. */
.kd26 .woocommerce .select2-container .select2-selection--single { display: flex; align-items: center; height: 40px; margin: 0; border: 1px solid #cfc8c0; border-radius: 12px; background: var(--kd-bg); padding: 0 36px 0 12px; }
.kd26 .woocommerce .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; height: auto; line-height: 1.3; font-size: 16px; color: var(--text-dark); }
.kd26 .woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 38px; top: 0; right: 8px; }
.kd26 .woocommerce form .form-row.woocommerce-validated .select2-container:not(.select2-container--open) .select2-selection { border-color: #cfc8c0; }
.kd26 .woocommerce form .form-row.woocommerce-invalid .select2-container:not(.select2-container--open) .select2-selection { border-color: #ad2b20; }
.kd26 .select2-search--dropdown { display: none; }
.kd26 .select2-container--open .select2-dropdown { border-color: #cfc8c0; border-radius: 12px; overflow: hidden; }

/* Field order + columns as in the mockup: Bedrijfsnaam | BTW, Voornaam | Achternaam, Land | (empty),
   Postcode | Huisnummer, Straat | Plaats, Telefoon | E-mail. Same for the shipping address. */
.kd26-field-grid > .form-row { order: 50; grid-column: auto / span 1; }
#billing_company_field, #shipping_company_field { order: 1; grid-column: 1; }
#woocommerce_eu_vat_number_field, #billing_vat_number_field { order: 2; grid-column: 2; }
#billing_first_name_field, #shipping_first_name_field { order: 3; grid-column: 1; }
#billing_last_name_field, #shipping_last_name_field { order: 4; grid-column: 2; }
#billing_country_field, #shipping_country_field { order: 5; grid-column: 1; }
#billing_postcode_field, #shipping_postcode_field { order: 6; grid-column: 1; }
#billing_postcodeEuAutofillNlHouseNumberWithAddition_field, #shipping_postcodeEuAutofillNlHouseNumberWithAddition_field { order: 7; grid-column: 2; }
#billing_postcodeEuAutofillIntl_field, #shipping_postcodeEuAutofillIntl_field { order: 7; grid-column: 1 / -1; }
#billing_address_1_field, #shipping_address_1_field { order: 8; grid-column: 1; }
#billing_city_field, #shipping_city_field { order: 9; grid-column: 2; }
#billing_state_field, #shipping_state_field { order: 10; grid-column: 1; }
#billing_phone_field, #shipping_phone_field { order: 11; grid-column: 1; }
#billing_email_field { order: 12; grid-column: 2; }
.kdextra-field { order: 13; }
.kd26 .woocommerce form .kd26-field-grid .form-row label { line-height: 1.5; margin: 0; padding: 0; }
.kd26 .woocommerce form .kd26-field-grid .form-row { margin: 0; padding: 0; }
@media (max-width: 760px) { .kd26-field-grid > .form-row, .kd26 .kd26-field-grid > [id$="_field"] { grid-column: 1 / -1 !important; } }

#billing_address_2_field, #shipping_address_2_field { display: none !important; }
#billing_company_field, #shipping_company_field, #woocommerce_eu_vat_number_field, #billing_vat_number_field { display: none !important; }
#billing_company_field.kd26-show, #shipping_company_field.kd26-show, #woocommerce_eu_vat_number_field.kd26-show, #billing_vat_number_field.kd26-show { display: flex !important; }
.custom-validation-error, .custom-validation-error-general { color: #ad2b20; background: #fff3f1; border: 1px solid #efc4bd; border-radius: 12px; padding: 10px 12px; margin: 0 0 14px; font-size: 13px; }
.kd26-checkline { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 15px; background: var(--kd-bg); border: 1px solid var(--kd-bo); font-size: 13px; cursor: pointer; margin: 12px 0 0; font-weight: 400; }
.kd26-checkline input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--kd-gr); flex-shrink: 0; }
.kd26-shipping-fields .shipping_address { margin-top: 12px; }
.kd26-shipping-address { border: 0; padding: 0; margin: 6px 0 0; min-width: 0; }
.kd26-account-fields { margin-top: 12px; }
.kd26-account-fields .create-account { margin-top: 12px; }
.kdextra-field, .kd26-billing .kdextra-field { grid-column: 1 / -1; }
.kd26-checkout .woocommerce-NoticeGroup-checkout { display: none !important; }
.kd26-notices .woocommerce-error li, .kd26-notices .woocommerce-message li { list-style: none; }
.kd26-notices ul { margin: 0; padding: 0; }

/* Shipping overview */
.kd26-ship-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.kd26-ship-overview:has(#kd26-pickup-group[hidden]) #kd26-home-group { grid-column: 1 / -1; }
.kd26-ship-group { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; }
.kd26-ship-group legend { font-size: 14px; color: var(--header-purple-line-color); }
.kd26-ship-group.is-loading::after { content: 'Ophaalpunten worden geladen…'; font-size: 12px; color: var(--kd-mu); }
.kd26-ship-list { display: grid; gap: 8px; }
#kd26-home-more, #kd26-pickup-more { margin-top: 8px; }
.kd26-ship-option { display: grid; grid-template-columns: 16px 28px minmax(0, 1fr) auto; gap: 7px; align-items: center; border: 1px solid var(--kd-bo); border-radius: 14px; padding: 9px 8px; cursor: pointer; background: #fff; min-width: 0; margin: 0; font-weight: 400; width: 100%; }
.kd26-ship-option:has(:checked) { border-color: #8dbb92; background: #f1faf1; box-shadow: 0 0 0 1px #8dbb92; }
.kd26-ship-option input { margin: 0; width: 16px; height: 16px; accent-color: var(--kd-gr); }
.kd26-carrier { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; color: var(--kd-mu); }
.kd26-carrier img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kd26-carrier svg { width: 24px; height: 24px; }
.kd26-ship-copy { min-width: 0; overflow-wrap: anywhere; }
.kd26-ship-copy strong { display: block; font-size: 12px; line-height: 1.35; }
.kd26-ship-copy small { display: block; font-size: 11px; color: var(--kd-mu); line-height: 1.45; margin-top: 2px; }
.kd26-ship-copy small:first-of-type { font-weight: 600; color: var(--text-dark); }
#kd26-pickup-group .kd26-ship-copy small:first-of-type { color: var(--header-purple-line-color); }
#kd26-pickup-group .kd26-ship-copy small + small { color: var(--kd-mu); font-weight: 400; }
.kd26-ship-price { font-size: 12px; white-space: nowrap; }
.kd26-more { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; text-align: left; border: 1px solid var(--kd-bo); border-radius: 12px; padding: 10px 14px; color: var(--header-purple-line-color); background: var(--kd-bg); font-weight: 700; font-size: 13px; margin-top: 12px; }
.kd26-more:hover { background: var(--kd-pl); border-color: var(--header-purple-line-color); }
.kd26-more--map { font-weight: 600; font-size: 12px; }
.kd26-ship-loading, .kd26-ship-error { grid-column: 1 / -1; font-size: 12px; color: var(--kd-mu); }
.kd26-ship-error { color: #ad2b20; background: #fff3f1; border: 1px solid #efc4bd; border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.kd26-postnummer { margin-top: 12px; }
.kd26-postnummer input { width: 100%; height: 40px; border: 1px solid #cfc8c0; border-radius: 12px; background: var(--kd-bg); padding: 0 12px; font: inherit; font-size: 16px; }
.kd26-postnummer small { font-size: 11px; color: var(--kd-mu); }
.kd26-req { color: #ad2b20; }
/* Monta's own block stays in the DOM for its JS, visually hidden. Web personnel pickup box stays visible. */
.kd26 .montapacking-shipping { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; pointer-events: none !important; }
.kd26 .woocommerce-additional-fields > h3 { display: none; }

/* Payment */
.kd26-confirm-email { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 1px solid #cbe2c5; border-radius: 16px; background: #f1faf1; margin-bottom: 24px; }
.kd26-confirm-email p { flex: 1; min-width: 0; font-size: 13px; line-height: 1.6; }
.kd26-confirm-email strong { display: block; overflow-wrap: anywhere; }
.kd26-confirm-email a { text-decoration: none; }
.kd26-confirm-email .kd26-link { flex-shrink: 0; font-size: 12px; text-decoration: underline; }
.kd26-confirm-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; background: #e0f0dc; color: var(--kd-gr); border-radius: 10px; }
.kd26-confirm-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.kd26-payment { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.kd26-payment-options { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kd26-payment-option { border: 1px solid var(--kd-bo); border-radius: 16px; background: #fff; transition: border-color .15s, background .15s; }
.kd26-payment-option:has(input[name=payment_method]:checked) { border-color: var(--header-purple-line-color); background: var(--kd-p-tint); box-shadow: 0 0 0 1px var(--header-purple-line-color); }
.kd26-payment-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) 60px; align-items: center; column-gap: 12px; min-height: 72px; padding: 16px; cursor: pointer; margin: 0; font-weight: 400; }
.kd26-payment-row input { margin: 0; width: 18px; height: 18px; accent-color: var(--header-purple-line-color); }
.kd26-payment-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.kd26-payment-copy strong { font-size: 13px; line-height: 1.4; }
.kd26-payment-fee { font-size: 12px; color: var(--kd-mu); white-space: nowrap; }
.kd26-payment-fee.free { color: var(--kd-gr); }
.kd26-payment-brand { display: flex; align-items: center; justify-content: end; width: 58px; height: 30px; overflow: visible; }
.kd26-payment-brand img { display: block; width: auto; height: auto; max-width: 54px; max-height: 24px; object-fit: contain; }
.kd26-payment-box-wrap { padding: 0 16px; }
.kd26-payment-option .payment_box { border-top: 1px solid var(--kd-bo); padding: 12px 0 16px; font-size: 13px; }
.kd26-payment-option .payment_box p { margin-bottom: 8px; }
.kd26-payment-option .payment_box select, .kd26-payment-option .payment_box input[type=text] { width: 100%; height: 40px; border: 1px solid #cfc8c0; border-radius: 12px; background: var(--kd-bg); padding: 0 12px; font: inherit; }
.payment_method_pay_gateway_billink[style*="pointer-events: none"] { background: #f7f7f7; border-color: #e6e3df; }
#billink-disable-note { display: block; font-size: 12px; line-height: 1.5; color: #9b3529 !important; margin: 0 2px -2px !important; position: static !important; }
.kd26-place-order { margin: 0; }
.kd26 .woocommerce-checkout #payment div.form-row.kd26-place-order { padding: 0; margin: 24px 0 0; }
.kd26 .woocommerce-checkout #payment #place_order { float: none; width: 100%; margin: 0; }
.kd26 .woocommerce-checkout #payment .kd26-place-order .kd26-continue.secondary { margin-top: 14px; }
/* Terms checkbox comes pre-checked and is hidden, as css/checkout.css did on the old checkout (live sites with a terms page). */
.woocommerce-terms-and-conditions-wrapper > p { display: none !important; }
.kd26-place-order .validate-required { margin-bottom: 8px; }
#place_order.kd26-continue { width: 100%; }

/* Pay.nl's paycheckout.css restyles #payment .payment_methods > .wc_payment_method > label (custom
   ::before radio, floated images). Our row wins with higher specificity. */
#payment .payment_methods > .wc_payment_method > label.kd26-payment-row::before,
#payment .payment_methods > .wc_payment_method > label.kd26-payment-row::after { display: none !important; content: none !important; }
#payment .payment_methods > .wc_payment_method > label.kd26-payment-row { display: grid !important; grid-template-columns: 18px minmax(0, 1fr) 60px !important; align-items: center !important; column-gap: 12px !important; padding: 16px !important; margin: 0 !important; width: auto !important; float: none !important; position: static !important; background: transparent !important; border: 0 !important; line-height: 1.4; }
#payment .payment_methods > .wc_payment_method > label.kd26-payment-row > input { grid-column: 1 !important; float: none !important; position: static !important; opacity: 1 !important; width: 18px !important; height: 18px !important; margin: 0 !important; display: block !important; }
#payment .payment_methods > .wc_payment_method > label.kd26-payment-row > .kd26-payment-copy { grid-column: 2 !important; justify-self: start !important; float: none !important; display: flex !important; }
#payment .payment_methods > .wc_payment_method > label.kd26-payment-row > .kd26-payment-brand { grid-column: 3 !important; float: none !important; position: static !important; margin: 0 !important; display: flex !important; justify-content: flex-end !important; }
#payment .payment_methods > .wc_payment_method > label.kd26-payment-row img { float: none !important; position: static !important; margin: 0 !important; max-width: 54px !important; max-height: 22px !important; width: auto !important; height: auto !important; }
#payment .payment_methods > .wc_payment_method > label.kd26-payment-row .kd26-payment-brand--billink img { max-width: 50px !important; max-height: 20px !important; }
#payment .payment_methods > .wc_payment_method > label.kd26-payment-row .kd26-payment-brand--mistercash img { max-width: 48px !important; max-height: 26px !important; }
#payment .payment_methods > .wc_payment_method > label.kd26-payment-row .kd26-payment-brand--overboeking img { max-width: 50px !important; max-height: 20px !important; }
#payment .payment_methods > .wc_payment_method > label.kd26-payment-row .kd26-payment-brand--creditcardsgrouped img { max-width: 40px !important; max-height: 25px !important; }
#payment .payment_methods > .wc_payment_method .kd26-payment-box-wrap { height: auto !important; }
#payment .payment_methods > .wc_payment_method .payment_box { background: transparent !important; margin: 0 !important; }
#payment .payment_methods > .wc_payment_method .payment_box p { font-size: 12px; color: var(--kd-mu); }
#payment .payment_methods > .wc_payment_method:not(:has(input[name=payment_method]:checked)) .kd26-payment-box-wrap { display: none; }

/* Order review (checkout summary): drop WooCommerce's shop_table box and row borders. */
.kd26 .woocommerce table.shop_table.kd26-review { border: 0; border-radius: 0; margin: 0; border-collapse: collapse; }
.kd26 .woocommerce table.shop_table.kd26-review td, .kd26 .woocommerce table.shop_table.kd26-review th,
.kd26 .woocommerce table.shop_table.kd26-review tfoot td, .kd26 .woocommerce table.shop_table.kd26-review tfoot th { border: 0; padding: 0; line-height: 1.5; }
.kd26 .woocommerce table.shop_table.kd26-review tfoot td, .kd26 .woocommerce table.shop_table.kd26-review tfoot th { padding: 6px 0; font-weight: 400; }
.kd26 .woocommerce table.shop_table.kd26-review tfoot th { font-weight: 700; }
.kd26 .woocommerce table.shop_table.kd26-review tfoot tr.cart-subtotal th, .kd26 .woocommerce table.shop_table.kd26-review tfoot tr.cart-subtotal td { padding-top: 20px; }
.kd26 .woocommerce table.shop_table.kd26-review tfoot tr.order-total th, .kd26 .woocommerce table.shop_table.kd26-review tfoot tr.order-total td { border-top: 1px solid var(--kd-bo); padding-top: 12px; font-size: 17px; font-weight: 800; }
.kd26 .woocommerce table.shop_table.kd26-review tfoot tr.order-total td small, .kd26 .woocommerce table.shop_table.kd26-review tfoot tr.order-total .includes_tax { display: block; font-size: 11px; font-weight: 400; color: var(--kd-mu); }
.kd26 .woocommerce table.shop_table.kd26-review tbody td { padding: 0; }

/* Shipping rows replaced by our "carrier · method · price" row: WooCommerce's own row (kept for its
   shipping_method inputs) and Monta's text-only row (printed by the same hook that calculates the Monta rate,
   so it cannot be unhooked). */
.kd26 .woocommerce table.shop_table.kd26-review tr.kd26-ship-native,
.kd26 .woocommerce table.shop_table.kd26-review tr.shipping_monta_eh { display: none; }
.kd26 .woocommerce table.shop_table.kd26-review tfoot td.kd26-ship-summary { text-align: right; }

/* Order review (checkout summary) */
.kd26-review { width: 100%; border-collapse: collapse; margin: 0; font-size: 13px; }
.kd26-review td, .kd26-review th { padding: 0; border: 0; background: none; text-align: left; vertical-align: top; }
.kd26-review tfoot th, .kd26-review tfoot td { padding: 6px 0; font-weight: 400; }
.kd26-review tfoot td { text-align: right; }
.kd26-review tfoot tr.order-total th, .kd26-review tfoot tr.order-total td { border-top: 1px solid var(--kd-bo); padding-top: 12px; margin-top: 6px; font-size: 17px; font-weight: 800; }
.kd26-review tfoot tr.cart-subtotal th { padding-top: 14px; }
.kd26-review tfoot .woocommerce-shipping-totals td { font-weight: 400; text-align: right; }
.kd26-review tfoot .woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.kd26-review tfoot .woocommerce-shipping-methods li { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.kd26-review tfoot .woocommerce-shipping-methods label { margin: 0; font-weight: 400; }
.kd26-review tfoot .woocommerce-shipping-destination { display: none; }
.kd26-review tfoot .rewards-points-row th, .kd26-review tfoot .rewards-points-row td { font-size: 13px; }
.kd26-cart-line { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; border-bottom: 1px solid var(--kd-bo); padding: 14px 0; align-items: start; }
.kd26-cart-line-image img { display: block; width: 44px; height: 52px; object-fit: contain; }
.kd26-cart-name { display: block; font-size: 12px; line-height: 1.4; }
.kd26-cart-qty { display: block; font-size: 12px; color: var(--kd-mu); margin-top: 6px; }
.kd26-cart-line-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.kd26-cart-price { font-size: 12px; font-weight: 800; white-space: nowrap; }
.kd26-review-remove { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--kd-bo); border-radius: 8px; background: var(--kd-bg); color: var(--kd-mu); }
.kd26-review-remove svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kd26-review-remove:hover { color: #ad2b20; border-color: #e9b6af; background: #fff8f6; }

/* ── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .kd26-cart-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
  .kd26-co-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
  .kd26-container { padding-inline: 24px; }
  .kd26-cart-card { padding-inline: 18px; }
  .kd26-product { grid-template-columns: 80px minmax(0, 1fr) auto; gap: 12px; }
  .kd26-product-image { width: 80px; height: 96px; }
  .kd26-product-name { font-size: 15px; }
  .kd26-crosssell-card { flex-basis: calc((100% - 36px) / 4); min-width: calc((100% - 36px) / 4); }
  .kd26-hdr-inner { grid-template-columns: minmax(150px, auto) minmax(0, 1fr) auto; gap: 16px; }
}
@media (max-width: 760px) {
  .kd26-delivery-notice { font-size: 9px; padding: 7px 9px; margin: 12px 0; gap: 7px; }
  .kd26-delivery-notice::before { flex-basis: 14px; width: 14px; height: 14px; font-size: 9px; }
  .kd26-kdextra { padding: 9px 10px; gap: 8px; }
  .kd26-kdextra-check { font-size: 10px; align-items: flex-start; }
  .kd26-kdextra-copy strong { display: block; font-size: 11px; white-space: nowrap; }
  .kd26-kdextra-link { font-size: 9px; }
  .kd26-container { padding: 20px 14px 28px; }
  .kd26-uspbar-inner { max-width: none; margin: 0; padding: 0; gap: 0; justify-content: flex-start; }
  .kd26-uspbar .kd26-usp { flex: 0 0 100%; width: 100%; min-width: 0; height: 36px; justify-content: center; padding: 4px 12px; font-size: 11px; line-height: 1.35; }
  .kd26-hdr-inner { padding: 12px 14px; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 12px 8px; align-items: center; }
  .kd26-logo img { max-width: 80px !important; height: 38px !important; }
  .kd26-search input[type=text] { height: 36px; padding: 0 36px 0 8px; font-size: 14px; }
  .kd26-search-icon { display: none; }
  .kd26-search-btn { width: 28px; min-width: 28px; height: 28px; top: 4px; right: 4px; bottom: auto; padding: 0; }
  .kd26-search-btn span { display: none; }
  .kd26-search-btn svg { display: block; width: 16px; height: 16px; }
  .kd26-account { gap: 4px; font-size: 11px; }
  .kd26-account svg { width: 16px; }
  .kd26-footer { padding: 22px 14px; }
  .kd26-footer-contact { padding-inline: 19px; }
  .kd26-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .kd26-footer-logos { grid-template-columns: minmax(0, 1fr); }
  .kd26-footer-card-head { flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; }
  .kd26-footer-logo { flex: 0 1 85px; }
  .kd26-title { font-size: 24px; }
  .kd26-cart-layout, .kd26-co-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .kd26-co-layout { grid-template-rows: auto; grid-template-areas: 'login' 'left' 'summary'; }
  .kd26-co-layout:not(.has-login) { grid-template-areas: 'left' 'summary'; }
  .kd26-co-layout.has-login .kd26-co-summary { margin-top: 18px; }
  body.body_checkout_step2 .kd26-co-layout, body.body_checkout_step3 .kd26-co-layout { grid-template-areas: 'left' 'summary'; }
  .kd26-cart-summary, .kd26-co-summary { position: static; }
  .kd26-cart-card { padding: 4px 16px 21px; }
  .kd26-summary-card, .kd26-co-left { padding: 18px; }
  .kd26-co-login { padding: 18px 18px 0; }
  .kd26-trust-card { padding: 18px; }
  .kd26-seal, .kd26-seal img { height: 34px; max-height: 34px; }
  .kd26-product { grid-template-columns: 68px minmax(0, 1fr) auto; gap: 11px; padding: 16px 0; align-items: start; }
  .kd26-product-image { width: 68px; height: 82px; border-radius: 11px; }
  .kd26-product-name { font-size: 12px; }
  .kd26-badge { min-height: 22px; padding: 3px 7px; font-size: 9px; border-radius: 6px; }
  .kd26-unit-price { font-size: 10px; }
  .kd26-line-price { font-size: 13px; }
  .kd26-product-bottom { gap: 7px; margin-top: 10px; }
  .kd26-qty-btn { width: 31px; height: 31px; }
  .kd26-qty-input { width: 36px; height: 31px; font-size: 14px; }
  .kd26-summary-title { font-size: 20px; }
  .kd26-totals { font-size: 13px; }
  .kd26-total-row.total { font-size: 18px; }
  .kd26-progress strong { font-size: 12px; }
  .kd26-progress p { font-size: 11px; }
  .kd26-coupon-panel { max-width: none; }
  .kd26-crosssell-carousel { padding: 0; }
  .kd26-crosssell-grid { margin-inline: 0; padding: 6px 0 18px; mask-image: none; }
  .kd26-crosssell-card { flex: 0 0 58%; min-width: 58%; }
  .kd26-crosssell-nav.prev { left: 0; }
  .kd26-crosssell-nav.next { right: 0; }
  .kd26-crosssell-head h2 { font-size: 17px; }
  .kd26-floating { bottom: 10px; }
  .kd26-progress-wrap { margin: 0 8px 22px; }
  .kd26-step-title { font-size: 24px; }
  .kd26-field-grid { grid-template-columns: minmax(0, 1fr); }
  .kd26-type-box { padding: 10px 8px; font-size: 13px; }
  .kd26-ship-overview { grid-template-columns: minmax(0, 1fr); }
  .kd26-ship-overview #kd26-home-group { grid-column: auto; }
  .kd26-payment-row { grid-template-columns: 18px minmax(0, 1fr) 54px; column-gap: 9px; padding: 13px 11px; min-height: 70px; }
  .kd26-payment-brand { width: 52px; height: 28px; }
  .kd26-payment-brand img { max-width: 48px; max-height: 22px; }
  .kd26-confirm-email { padding: 12px; gap: 9px; flex-wrap: wrap; }
  .kd26-confirm-email .kd26-link { margin-left: 41px; }
}
@media (max-width: 350px) {
  .kd26-product { grid-template-columns: 58px minmax(0, 1fr); }
  .kd26-product-image { width: 58px; height: 72px; }
  .kd26-product-price { grid-column: 2; text-align: left; display: flex; gap: 7px; align-items: baseline; }
  .kd26-unit-price { margin: 0; }
  .kd26-coupon-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .kd26-hdr-inner { grid-template-columns: 65px minmax(0, 1fr) auto; column-gap: 5px; }
  .kd26-logo img { max-width: 65px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .kd26-root * { transition: none !important; scroll-behavior: auto !important; }
}
