/*
 * De Postergigant - Delivery Preview v0.7.54
 * Front-end is bewust leverancier-neutraal.
 */

body.dpg-delivery-preview {
  --dpg-ink: #101828;
  --dpg-muted: #5f6f86;
  --dpg-muted-2: #7c8a9e;
  --dpg-blue: #0786dd;
  --dpg-blue-dark: #056eb8;
  --dpg-blue-soft: #eef7ff;
  --dpg-green: #07874d;
  --dpg-green-soft: #edfbf4;
  --dpg-border: #d9e3ee;
  --dpg-border-soft: #e8eef5;
  --dpg-row-divider: #e7edf5;
  --dpg-surface: #ffffff;
  --dpg-surface-soft: #f7f9fc;
  --dpg-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
  --dpg-radius-lg: 16px;
  --dpg-radius-md: 12px;
  --dpg-radius-sm: 9px;
}

body.dpg-delivery-preview #section-connect-configurator-summary {
  box-sizing: border-box;
  width: 100%;
  margin: 8px 0 0 !important;
  padding: 0;
  color: var(--dpg-ink);
  container-type: inline-size;
  container-name: dpg-summary;
}

body.dpg-delivery-preview:not(.dpg-delivery-summary-active):not(.dpg-delivery-summary-was-active)
  #section-connect-configurator-summary:not(.dpg-psp-is-active) {
  display: none !important;
}


/* Een reeds getoond overzicht blijft tijdens herberekenen zichtbaar. De native
   configurator gebruikt .notready als display:none; DPG toont in plaats daarvan
   de bestaande gegevens gedimd met een duidelijke laadstatus. */
body.dpg-delivery-preview #section-connect-configurator-summary.dpg-psp-is-active.notready,
body.dpg-delivery-preview.dpg-delivery-summary-was-active #section-connect-configurator-summary.notready {
  display: block !important;
}

body.dpg-delivery-preview #section-connect-configurator-summary *,
body.dpg-delivery-preview #section-connect-configurator-summary *::before,
body.dpg-delivery-preview #section-connect-configurator-summary *::after {
  box-sizing: border-box;
}

/* -------------------------
   Bovenste informatiekaarten
   ------------------------- */
body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr) !important;
  align-items: start !important;
  gap: clamp(16px, 2vw, 24px) !important;
  width: 100% !important;
  margin: 0 !important;
}

body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-column {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(20px, 2.2vw, 28px) !important;
  background: var(--dpg-surface) !important;
  border: 1px solid var(--dpg-border) !important;
  border-radius: var(--dpg-radius-lg) !important;
  box-shadow: var(--dpg-shadow) !important;
  position: relative !important;
  overflow: hidden !important;
}

body.dpg-delivery-preview .dpg-psp-heading {
  margin: 0 0 clamp(16px, 2vw, 22px) !important;
  padding: 0 !important;
  color: var(--dpg-ink) !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

body.dpg-delivery-preview .dpg-psp-heading__title {
  display: block;
  color: var(--dpg-ink);
  font-size: clamp(1.25rem, 1.08rem + 0.55cqi, 1.7rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
}

body.dpg-delivery-preview .dpg-psp-heading__eyebrow {
  display: none !important;
}

/* -------------------------
   Samenstelling
   ------------------------- */
body.dpg-delivery-preview .connect-configurator-card {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--dpg-surface-soft) !important;
  border: 1px solid var(--dpg-border) !important;
  border-radius: var(--dpg-radius-md) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.dpg-delivery-preview .connect-options-list {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.dpg-delivery-preview .connect-options-list > div {
  display: grid !important;
  grid-template-columns: minmax(110px, 0.9fr) minmax(0, 1.35fr) !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 11px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dpg-border-soft) !important;
  background: transparent !important;
}

body.dpg-delivery-preview .connect-options-list > div:last-child {
  border-bottom: 0 !important;
}

body.dpg-delivery-preview .connect-options-list dt,
body.dpg-delivery-preview .connect-options-list dd {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  line-height: 1.35 !important;
}

body.dpg-delivery-preview .connect-options-list dt {
  color: var(--dpg-muted) !important;
  font-size: clamp(0.82rem, 0.78rem + 0.12cqi, 0.92rem) !important;
  font-weight: 600 !important;
}

body.dpg-delivery-preview .dpg-psp-mobile-toggle-wrap {
  display: none !important;
}

body.dpg-delivery-preview .dpg-psp-mobile-toggle {
  display: none !important;
}

body.dpg-delivery-preview .connect-options-list dd {
  color: var(--dpg-ink) !important;
  font-size: clamp(0.86rem, 0.82rem + 0.14cqi, 0.98rem) !important;
  font-weight: 700 !important;
  text-align: right !important;
  overflow-wrap: anywhere;
}

body.dpg-delivery-preview #section-connect-configurator-filespecs {
  margin: 16px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.dpg-delivery-preview #section-connect-configurator-filespecs a,
body.dpg-delivery-preview .connect-filespecs-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 38px !important;
  padding: 0 2px !important;
  color: #006dcc !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: clamp(0.84rem, 0.8rem + 0.12cqi, 0.94rem) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

body.dpg-delivery-preview #section-connect-configurator-filespecs a:hover,
body.dpg-delivery-preview .connect-filespecs-link:hover {
  text-decoration: underline !important;
}

body.dpg-delivery-preview .dpg-psp-filespecs-placeholder {
  cursor: default !important;
  opacity: 0.76;
  text-decoration: none !important;
}

body.dpg-delivery-preview .dpg-psp-filespecs-placeholder::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 4px;
  border: 2px solid rgba(0, 109, 204, 0.22);
  border-top-color: #006dcc;
  border-radius: 999px;
  animation: dpg-spin 0.7s linear infinite;
}


body.dpg-delivery-preview .connect-filespecs-popover {
  position: fixed !important;
  inset: 50% auto auto 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: min(92vw, 560px) !important;
  max-width: 560px !important;
  max-height: min(82vh, 680px) !important;
  overflow: auto !important;
  padding: clamp(20px, 2.2vw, 28px) !important;
  background: #fff !important;
  border: 1px solid var(--dpg-border) !important;
  border-radius: var(--dpg-radius-lg) !important;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24) !important;
}

body.dpg-delivery-preview .connect-filespecs-popover::backdrop {
  background: rgba(15, 23, 42, 0.34) !important;
}

body.dpg-delivery-preview .connect-filespecs-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 18px !important;
}

body.dpg-delivery-preview .connect-filespecs-title {
  margin: 0 !important;
  color: var(--dpg-ink) !important;
  font-size: clamp(1.2rem, 1.05rem + 0.4cqi, 1.45rem) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

body.dpg-delivery-preview .connect-filespecs-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #5b6677 !important;
  cursor: pointer !important;
}

body.dpg-delivery-preview .connect-filespecs-list {
  display: grid !important;
  gap: 4px 10px !important;
}

body.dpg-delivery-preview .connect-filespecs-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: start !important;
  padding: 11px 0 !important;
  border-bottom: 1px solid var(--dpg-border-soft) !important;
}

body.dpg-delivery-preview .connect-filespecs-row:last-child {
  border-bottom: 0 !important;
}

body.dpg-delivery-preview .connect-filespecs-label {
  color: var(--dpg-muted) !important;
  font-size: clamp(0.9rem, 0.86rem + 0.1cqi, 1rem) !important;
  line-height: 1.4 !important;
}

body.dpg-delivery-preview .connect-filespecs-value {
  color: var(--dpg-ink) !important;
  font-size: clamp(0.92rem, 0.88rem + 0.1cqi, 1.02rem) !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  text-align: right !important;
}

/* -------------------------
   Leverdata
   ------------------------- */
body.dpg-delivery-preview #section-connect-configurator-deliverymoments {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 404px !important;
  background: transparent !important;
  border: 0 !important;
}

body.dpg-delivery-preview .connect-delivery-moments {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 332px !important;
  background: var(--dpg-surface) !important;
  border: 1px solid var(--dpg-border) !important;
  border-radius: var(--dpg-radius-md) !important;
  overflow: hidden !important;
}

body.dpg-delivery-preview .dpg-psp-delivery-price-note {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 4px 8px !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  background: #f3f7fb !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dpg-border) !important;
  color: var(--dpg-muted) !important;
  font-size: 0.84rem !important;
  line-height: 1.4 !important;
}

body.dpg-delivery-preview .dpg-psp-delivery-price-note strong {
  color: #334155 !important;
  font-weight: 750 !important;
}

body.dpg-delivery-preview .dpg-psp-delivery-price-note span {
  display: inline !important;
  color: var(--dpg-muted) !important;
  font-weight: 500 !important;
}

body.dpg-delivery-preview .connect-delivery-moment {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "badges badges"
    "date price"
    "detail detail" !important;
  column-gap: 18px !important;
  row-gap: 4px !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 15px 18px !important;
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dpg-row-divider) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  cursor: default !important;
  pointer-events: none !important;
  user-select: text !important;
  transform: none !important;
  transition: none !important;
}

body.dpg-delivery-preview .connect-delivery-moment:hover,
body.dpg-delivery-preview .connect-delivery-moment:focus,
body.dpg-delivery-preview .connect-delivery-moment:focus-within,
body.dpg-delivery-preview .connect-delivery-moment:active,
body.dpg-delivery-preview .connect-delivery-moment.dpg-psp-is-fastest,
body.dpg-delivery-preview .connect-delivery-moment.dpg-psp-is-best,
body.dpg-delivery-preview .connect-delivery-moment.dpg-psp-is-fastest.dpg-psp-is-best {
  background: #fff !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  cursor: default !important;
  transform: none !important;
}

body.dpg-delivery-preview .connect-delivery-moment::before,
body.dpg-delivery-preview .connect-delivery-moment::after {
  display: none !important;
  content: none !important;
}

body.dpg-delivery-preview .connect-delivery-moment:last-of-type {
  border-bottom: 0 !important;
}

body.dpg-delivery-preview .connect-delivery-moment input,
body.dpg-delivery-preview .connect-delivery-moment button,
body.dpg-delivery-preview .connect-delivery-moment select,
body.dpg-delivery-preview .connect-delivery-moment a:not(.connect-delivery-date) {
  pointer-events: none !important;
}

body.dpg-delivery-preview .dpg-psp-delivery-badges {
  grid-area: badges !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  min-height: 0 !important;
}

body.dpg-delivery-preview .dpg-psp-delivery-badges:empty {
  display: none !important;
}

body.dpg-delivery-preview .dpg-psp-badge {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-height: 23px !important;
  margin: 0 !important;
  padding: 3px 9px !important;
  border-radius: 999px !important;
  font-size: clamp(0.7rem, 0.67rem + 0.1cqi, 0.79rem) !important;
  line-height: 1.15 !important;
  font-weight: 750 !important;
  white-space: nowrap !important;
}

body.dpg-delivery-preview .dpg-psp-badge--fast {
  color: #0069bd !important;
  background: #e6f4ff !important;
}

body.dpg-delivery-preview .dpg-psp-badge--best {
  color: #087445 !important;
  background: #dff7e9 !important;
}

body.dpg-delivery-preview .connect-delivery-date {
  grid-area: date !important;
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--dpg-ink) !important;
  font-size: clamp(0.92rem, 0.87rem + 0.16cqi, 1.04rem) !important;
  line-height: 1.3 !important;
  font-weight: 760 !important;
  text-decoration: none !important;
  cursor: default !important;
  pointer-events: none !important;
  transition: none !important;
}

body.dpg-delivery-preview .connect-delivery-price {
  grid-area: price !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--dpg-ink) !important;
  font-size: clamp(0.95rem, 0.89rem + 0.2cqi, 1.1rem) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

body.dpg-delivery-preview .dpg-psp-is-best .connect-delivery-price {
  color: var(--dpg-green) !important;
}

body.dpg-delivery-preview .dpg-psp-delivery-detail {
  grid-area: detail !important;
  min-width: 0 !important;
  color: var(--dpg-muted) !important;
  font-size: clamp(0.75rem, 0.72rem + 0.1cqi, 0.84rem) !important;
  line-height: 1.35 !important;
  font-weight: 550 !important;
}

body.dpg-delivery-preview .dpg-psp-delivery-surcharge {
  display: none !important;
  grid-area: surcharge !important;
  color: #8a5d16 !important;
  font-size: clamp(0.75rem, 0.72rem + 0.1cqi, 0.84rem) !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

body.dpg-delivery-preview .dpg-psp-delivery-surcharge--standard {
  color: var(--dpg-green) !important;
}

body.dpg-delivery-preview .dpg-psp-delivery-help {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  margin: 10px 0 0 !important;
  padding: 12px 14px !important;
  background: #f4f8fc !important;
  border: 1px solid var(--dpg-border) !important;
  border-radius: var(--dpg-radius-sm) !important;
  color: var(--dpg-muted) !important;
}

body.dpg-delivery-preview .dpg-psp-info-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  margin-top: 1px !important;
  color: #fff !important;
  background: #168df0 !important;
  border-radius: 50% !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

body.dpg-delivery-preview .dpg-psp-delivery-help p {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--dpg-muted) !important;
  font-size: clamp(0.76rem, 0.73rem + 0.1cqi, 0.86rem) !important;
  line-height: 1.45 !important;
}

body.dpg-delivery-preview .dpg-psp-delivery-help strong {
  color: #334155 !important;
}

/* -------------------------
   Bestelstrook over volle breedte
   ------------------------- */
body.dpg-delivery-preview #section-connect-configurator-summary > .connect-configurator-footer,
body.dpg-delivery-preview .dpg-psp-footer-stable {
  width: 100% !important;
  margin: clamp(16px, 2vw, 22px) 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.dpg-delivery-preview .dpg-psp-order-panel {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr) minmax(260px, 1.1fr) !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
  min-height: 118px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--dpg-surface) !important;
  border: 1px solid var(--dpg-border) !important;
  border-radius: var(--dpg-radius-lg) !important;
  box-shadow: var(--dpg-shadow) !important;
  overflow: hidden !important;
}

body.dpg-delivery-preview .dpg-psp-order-state {
  display: none !important;
  grid-column: 1 / -1 !important;
  align-items: center !important;
  gap: 9px !important;
  min-height: 38px !important;
  padding: 8px 18px !important;
  color: #3b5068 !important;
  background: #f2f7fc !important;
  border-bottom: 1px solid var(--dpg-border) !important;
  font-size: 0.86rem !important;
  font-weight: 650 !important;
}

body.dpg-delivery-preview .dpg-psp-recalculating .dpg-psp-order-state,
body.dpg-delivery-preview .dpg-psp-incomplete .dpg-psp-order-state {
  display: flex !important;
}

body.dpg-delivery-preview .dpg-psp-order-state__spinner {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important;
  border: 2px solid #bed9ef !important;
  border-top-color: var(--dpg-blue) !important;
  border-radius: 50% !important;
  animation: dpg-spin 0.8s linear infinite !important;
}

@keyframes dpg-spin { to { transform: rotate(360deg); } }

body.dpg-delivery-preview #section-connect-configurator-price {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  min-height: 116px !important;
  margin: 0 !important;
  padding: 18px 22px !important;
  background: #fff !important;
  border: 0 !important;
  border-right: 1px solid var(--dpg-border-soft) !important;
  box-shadow: none !important;
}

body.dpg-delivery-preview .dpg-psp-clean-price {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.dpg-delivery-preview .dpg-psp-clean-price__eyebrow,
body.dpg-delivery-preview .dpg-psp-shipping-card__label {
  color: var(--dpg-muted) !important;
  font-size: clamp(0.76rem, 0.73rem + 0.1cqi, 0.86rem) !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

body.dpg-delivery-preview .dpg-psp-clean-price__values {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  width: 100% !important;
}

body.dpg-delivery-preview .dpg-psp-clean-price__row {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 5px 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.dpg-delivery-preview .dpg-psp-clean-price__row--primary {
  margin-top: 1px !important;
}

body.dpg-delivery-preview .dpg-psp-clean-price__row--primary .dpg-psp-clean-price__amount,
body.dpg-delivery-preview .dpg-psp-clean-price__row--primary .woocommerce-Price-amount {
  color: var(--dpg-ink) !important;
  font-size: clamp(1.35rem, 1.18rem + 0.55cqi, 1.85rem) !important;
  line-height: 1.1 !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
}

body.dpg-delivery-preview .dpg-psp-clean-price__regular {
  color: var(--dpg-muted-2) !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  text-decoration-thickness: 1.5px !important;
}

body.dpg-delivery-preview .dpg-psp-clean-price__row--secondary .dpg-psp-clean-price__amount,
body.dpg-delivery-preview .dpg-psp-clean-price__row--secondary .woocommerce-Price-amount {
  color: #45566d !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
}

body.dpg-delivery-preview .dpg-psp-clean-price__vat {
  color: var(--dpg-muted) !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

body.dpg-delivery-preview .dpg-psp-discount-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  margin-top: 6px !important;
  padding: 3px 9px !important;
  color: #087445 !important;
  background: #e8f9ef !important;
  border: 1px solid #c9eed9 !important;
  border-radius: 999px !important;
  font-size: 0.74rem !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
}

body.dpg-delivery-preview #dpg-psp-shipping-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 5px !important;
  min-width: 0 !important;
  min-height: 116px !important;
  margin: 0 !important;
  padding: 18px 22px !important;
  background: #fafcff !important;
  border: 0 !important;
  border-right: 1px solid var(--dpg-border-soft) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.dpg-delivery-preview .dpg-psp-shipping-card__head {
  margin: 0 !important;
  padding: 0 !important;
}

body.dpg-delivery-preview .dpg-psp-shipping-card__price,
body.dpg-delivery-preview .dpg-psp-shipping-card__price .woocommerce-Price-amount {
  color: var(--dpg-ink) !important;
  font-size: clamp(1.05rem, 0.98rem + 0.22cqi, 1.26rem) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}

body.dpg-delivery-preview .dpg-psp-shipping-card__fallback {
  max-width: 240px !important;
  color: var(--dpg-muted) !important;
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

body.dpg-delivery-preview .dpg-psp-shipping-card__loading {
  display: flex !important;
  gap: 4px !important;
  min-height: 24px !important;
  align-items: center !important;
}

body.dpg-delivery-preview .dpg-psp-shipping-card__loading span {
  width: 5px !important;
  height: 5px !important;
  background: #8faed0 !important;
  border-radius: 50% !important;
  animation: dpg-pulse 1s ease-in-out infinite !important;
}

body.dpg-delivery-preview .dpg-psp-shipping-card__loading span:nth-child(2) { animation-delay: .12s !important; }
body.dpg-delivery-preview .dpg-psp-shipping-card__loading span:nth-child(3) { animation-delay: .24s !important; }
@keyframes dpg-pulse { 0%,100%{opacity:.35;transform:translateY(0)} 50%{opacity:1;transform:translateY(-2px)} }

/* De Design Studio blijft technisch actief maar de Delivery Preview is de enige
   publieke presentatie van de aanleverroute op ondersteunde productpagina's. */
body.dpg-delivery-preview .dpg-ds-product-flow {
  display: none !important;
}

body.dpg-delivery-preview .dpg-file-delivery {
  display: grid !important;
  gap: 9px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 3px !important;
}


body.dpg-delivery-preview .dpg-file-delivery[hidden],
body.dpg-delivery-preview .dpg-file-delivery__status[hidden],
body.dpg-delivery-preview .dpg-file-delivery__design-file[hidden],
body.dpg-delivery-preview .dpg-file-delivery__design-thumb[hidden] {
  display: none !important;
}

body.dpg-delivery-preview .dpg-file-delivery__status {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}

body.dpg-delivery-preview .dpg-file-delivery.is-ready .dpg-file-delivery__status {
  padding: 9px 11px !important;
  border: 1px solid #b8ead2 !important;
  border-radius: 8px !important;
  background: #effbf5 !important;
}

body.dpg-delivery-preview .dpg-file-delivery__eyebrow {
  color: var(--dpg-muted) !important;
  font-size: 0.76rem !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
}

body.dpg-delivery-preview .dpg-file-delivery__title {
  color: var(--dpg-ink) !important;
  font-size: 0.92rem !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

body.dpg-delivery-preview .dpg-file-delivery.is-ready .dpg-file-delivery__title {
  color: #087f55 !important;
}

body.dpg-delivery-preview .dpg-file-delivery.is-mismatch .dpg-file-delivery__title {
  color: #9a5a00 !important;
}

body.dpg-delivery-preview .dpg-file-delivery__copy {
  color: #586b82 !important;
  font-size: 0.78rem !important;
  line-height: 1.38 !important;
}

body.dpg-delivery-preview .dpg-file-delivery__design-file {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  gap: 9px !important;
  align-items: center !important;
  min-width: 0 !important;
  margin-top: 7px !important;
  padding-top: 8px !important;
  border-top: 1px solid #d5f3e4 !important;
}

body.dpg-delivery-preview .dpg-file-delivery__design-thumb {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px !important;
  height: 42px !important;
  overflow: hidden !important;
  border: 1px solid #b8ead2 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
}

body.dpg-delivery-preview .dpg-file-delivery__design-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

body.dpg-delivery-preview .dpg-file-delivery__design-meta {
  display: grid !important;
  gap: 1px !important;
  min-width: 0 !important;
}

body.dpg-delivery-preview .dpg-file-delivery__design-label {
  color: #087f55 !important;
  font-size: 0.68rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

body.dpg-delivery-preview .dpg-file-delivery__design-meta strong {
  display: block !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
  color: #12314d !important;
  font-size: 0.8rem !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

body.dpg-delivery-preview .dpg-file-delivery__design-meta small {
  display: block !important;
  min-width: 0 !important;
  color: #586b82 !important;
  font-size: 0.72rem !important;
  line-height: 1.3 !important;
}

body.dpg-delivery-preview .dpg-file-delivery__controls {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px 12px !important;
}

body.dpg-delivery-preview .dpg-file-delivery__text-action {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0572bf !important;
  font-size: 0.78rem !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

body.dpg-delivery-preview .dpg-file-delivery__text-action:hover,
body.dpg-delivery-preview .dpg-file-delivery__text-action:focus-visible {
  color: #045b99 !important;
  text-decoration: underline !important;
}

body.dpg-delivery-preview .dpg-file-delivery__text-action[hidden] {
  display: none !important;
}

body.dpg-delivery-preview .dpg-psp-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-content: center !important;
  gap: 9px !important;
  min-width: 0 !important;
  min-height: 116px !important;
  margin: 0 !important;
  padding: 18px 22px !important;
  background: #fff !important;
}

body.dpg-delivery-preview .dpg-psp-actions--dual {
  grid-template-columns: 1fr !important;
}

body.dpg-delivery-preview #section-add-to-cart {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.dpg-delivery-preview .dpg-online-design-action[hidden] {
  display: none !important;
}

body.dpg-delivery-preview #connect-addtocart {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 11px 16px !important;
  border-radius: 10px !important;
  font-size: clamp(0.9rem, 0.86rem + 0.13cqi, 1rem) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease !important;
}

body.dpg-delivery-preview .dpg-online-design-action {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 8px 13px !important;
  border-radius: 9px !important;
  font-size: 0.82rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease !important;
}

body.dpg-delivery-preview #connect-addtocart {
  color: #fff !important;
  background: linear-gradient(180deg, #25afea 0%, #169fdc 100%) !important;
  border: 1px solid #078ccc !important;
  box-shadow: 0 5px 12px rgba(0, 142, 209, 0.18) !important;
}

body.dpg-delivery-preview #connect-addtocart:hover:not(:disabled):not(.is-dpg-locked) {
  background: linear-gradient(180deg, #1aa5e3 0%, #0e92cd 100%) !important;
  box-shadow: 0 7px 16px rgba(0, 126, 191, 0.24) !important;
  transform: translateY(-1px) !important;
}

body.dpg-delivery-preview #connect-addtocart:active:not(:disabled):not(.is-dpg-locked) {
  transform: translateY(0) !important;
  box-shadow: 0 3px 7px rgba(0, 126, 191, 0.18) !important;
}

body.dpg-delivery-preview .dpg-online-design-action {
  color: #0572bf !important;
  background: #f5fbff !important;
  border: 1.5px solid #8ecbed !important;
  box-shadow: none !important;
}

body.dpg-delivery-preview .dpg-online-design-action:hover:not(.is-dpg-locked) {
  color: #045f9f !important;
  background: #eaf7ff !important;
  border-color: #5bb4e6 !important;
  transform: translateY(-1px) !important;
}

body.dpg-delivery-preview #connect-addtocart:focus-visible {
  outline: 3px solid rgba(22, 141, 240, 0.25) !important;
  outline-offset: 2px !important;
}

body.dpg-delivery-preview .dpg-online-design-action.is-dpg-starting {
  cursor: progress !important;
  opacity: .78 !important;
}

body.dpg-delivery-preview .dpg-online-design-action:focus-visible {
  outline: 3px solid rgba(22, 141, 240, 0.25) !important;
  outline-offset: 2px !important;
}

body.dpg-delivery-preview #connect-addtocart.is-dpg-locked,
body.dpg-delivery-preview #connect-addtocart:disabled,
body.dpg-delivery-preview .dpg-online-design-action.is-dpg-locked {
  color: #728196 !important;
  background: #e8edf3 !important;
  border-color: #d5dee8 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
  pointer-events: auto !important;
}

/* -------------------------
   Loading placeholders
   ------------------------- */
body.dpg-delivery-preview .dpg-psp-options-placeholder,
body.dpg-delivery-preview .dpg-psp-price-placeholder {
  display: none;
}

body.dpg-delivery-preview .dpg-psp-delivery-placeholder {
  display: block !important;
}

body.dpg-delivery-preview .dpg-psp-recalculating .dpg-psp-options-placeholder,
body.dpg-delivery-preview .dpg-psp-recalculating .dpg-psp-price-placeholder {
  display: none !important;
}

/* Houd de leverdatum-placeholder beschikbaar wanneer de configurator de echte
   leverdatumsectie tijdens een herberekening tijdelijk uit de DOM haalt. */
body.dpg-delivery-preview .dpg-psp-recalculating:not(.dpg-psp-has-delivery) .dpg-psp-delivery-placeholder {
  display: block !important;
}

body.dpg-delivery-preview .dpg-psp-recalculating .connect-configurator-card,
body.dpg-delivery-preview .dpg-psp-recalculating #section-connect-configurator-deliverymoments,
body.dpg-delivery-preview .dpg-psp-recalculating #section-connect-configurator-price {
  opacity: .48 !important;
  transition: opacity .14s ease !important;
}

body.dpg-delivery-preview .dpg-psp-recalculating #section-connect-configurator-deliverymoments {
  min-height: 404px !important;
}

body.dpg-delivery-preview .dpg-psp-options-placeholder,
body.dpg-delivery-preview .dpg-psp-delivery-placeholder {
  padding: 0 !important;
  min-height: 332px !important;
  background: var(--dpg-surface) !important;
  border: 1px solid var(--dpg-border) !important;
  border-radius: var(--dpg-radius-md) !important;
  overflow: hidden !important;
}

body.dpg-delivery-preview .dpg-psp-options-placeholder {
  min-height: 0 !important;
  padding: 14px !important;
  background: var(--dpg-surface-soft) !important;
  overflow: visible !important;
}

body.dpg-delivery-preview .dpg-psp-options-placeholder__row,
body.dpg-delivery-preview .dpg-psp-delivery-placeholder__row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: 72px !important;
  padding: 13px 18px !important;
  border-bottom: 1px solid var(--dpg-row-divider) !important;
}

body.dpg-delivery-preview .dpg-psp-options-placeholder__row {
  min-height: 0 !important;
  padding: 9px 0 !important;
  border-bottom: 0 !important;
}

body.dpg-delivery-preview .dpg-psp-options-placeholder__row:last-child,
body.dpg-delivery-preview .dpg-psp-delivery-placeholder__row:last-child {
  border-bottom: 0 !important;
}

body.dpg-delivery-preview .dpg-psp-options-placeholder i,
body.dpg-delivery-preview .dpg-psp-options-placeholder b,
body.dpg-delivery-preview .dpg-psp-delivery-placeholder i,
body.dpg-delivery-preview .dpg-psp-delivery-placeholder b,
body.dpg-delivery-preview .dpg-psp-price-placeholder__line {
  display: block !important;
  height: 11px !important;
  background: linear-gradient(90deg, #e9eef4 25%, #f5f7fa 50%, #e9eef4 75%) !important;
  background-size: 200% 100% !important;
  border-radius: 999px !important;
  animation: dpg-shimmer 1.2s infinite linear !important;
}

body.dpg-delivery-preview .dpg-psp-options-placeholder i,
body.dpg-delivery-preview .dpg-psp-delivery-placeholder i { width: 34% !important; }
body.dpg-delivery-preview .dpg-psp-options-placeholder b,
body.dpg-delivery-preview .dpg-psp-delivery-placeholder b { width: 28% !important; }
body.dpg-delivery-preview .dpg-psp-delivery-placeholder__intro,
body.dpg-delivery-preview .dpg-psp-price-placeholder__eyebrow {
  display: block !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  color: var(--dpg-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 650 !important;
}

body.dpg-delivery-preview .dpg-psp-delivery-price-note--placeholder {
  border-bottom: 1px solid var(--dpg-border) !important;
}

body.dpg-delivery-preview .dpg-psp-price-placeholder {
  min-height: 116px !important;
  padding: 18px 22px !important;
  border-right: 1px solid var(--dpg-border-soft) !important;
}
body.dpg-delivery-preview .dpg-psp-price-placeholder__line--large { width: 48% !important; height: 20px !important; margin-bottom: 9px !important; }
body.dpg-delivery-preview .dpg-psp-price-placeholder__line--small { width: 34% !important; }

@keyframes dpg-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Verberg placeholders zodra echte inhoud beschikbaar is. */
body.dpg-delivery-preview .dpg-psp-has-options .dpg-psp-options-placeholder,
body.dpg-delivery-preview .dpg-psp-has-delivery .dpg-psp-delivery-placeholder,
body.dpg-delivery-preview .dpg-psp-has-price .dpg-psp-price-placeholder {
  display: none !important;
}

/* Reserveer de volledige rechterkolom tijdens laden/herberekenen. De oude
   sectie-min-height werkte niet wanneer de configurator die sectie tijdelijk
   volledig verwijderde; daardoor versprong de bestelstrook alsnog. */
body.dpg-delivery-preview #section-connect-configurator-summary
  .connect-configurator-column:nth-child(2).dpg-psp-delivery-column-loading {
  min-height: var(--dpg-psp-delivery-lock-height, 552px) !important;
}

/* -------------------------
   Responsive op componentbreedte
   ------------------------- */
@container dpg-summary (max-width: 820px) {
  body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-columns {
    grid-template-columns: 1fr !important;
  }

  body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-column:first-child {
    order: 2 !important;
  }

  body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-column:nth-child(2) {
    order: 1 !important;
  }

  body.dpg-delivery-preview .dpg-psp-order-panel {
    grid-template-columns: 1fr 1fr !important;
  }

  body.dpg-delivery-preview #section-connect-configurator-price {
    border-right: 1px solid var(--dpg-border-soft) !important;
    border-bottom: 1px solid var(--dpg-border-soft) !important;
  }

  body.dpg-delivery-preview #dpg-psp-shipping-card {
    border-right: 0 !important;
    border-bottom: 1px solid var(--dpg-border-soft) !important;
  }

  body.dpg-delivery-preview .dpg-psp-actions {
    grid-column: 1 / -1 !important;
    min-height: auto !important;
  }
}

@container dpg-summary (max-width: 560px) {
  body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-column {
    padding: 18px !important;
    border-radius: 14px !important;
  }

  body.dpg-delivery-preview .dpg-psp-heading {
    margin-bottom: 14px !important;
  }

  body.dpg-delivery-preview .dpg-psp-heading__title {
    font-size: clamp(1.18rem, 1.05rem + 0.42cqi, 1.4rem) !important;
  }

  body.dpg-delivery-preview .connect-options-list > div {
    grid-template-columns: minmax(92px, .84fr) minmax(0, 1.16fr) !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    gap: 10px !important;
  }

  body.dpg-delivery-preview .connect-options-list dt {
    font-size: 0.8rem !important;
  }

  body.dpg-delivery-preview .connect-options-list dd {
    font-size: 0.87rem !important;
  }

  body.dpg-delivery-preview .connect-options-list > div.dpg-psp-mobile-extra {
    display: none !important;
  }

  body.dpg-delivery-preview #section-connect-configurator-summary.dpg-psp-mobile-expanded .connect-options-list > div.dpg-psp-mobile-extra {
    display: grid !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-toggle-wrap {
    display: block !important;
    margin: 12px 0 0 !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 38px !important;
    padding: 0 !important;
    color: #006dcc !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-toggle::after {
    content: '▾';
    font-size: 0.9rem;
    line-height: 1;
  }

  body.dpg-delivery-preview #section-connect-configurator-summary.dpg-psp-mobile-expanded .dpg-psp-mobile-toggle::after {
    content: '▴';
  }

  body.dpg-delivery-preview .dpg-psp-delivery-price-note {
    display: block !important;
    padding: 12px 14px !important;
  }

  body.dpg-delivery-preview .dpg-psp-delivery-price-note strong,
  body.dpg-delivery-preview .dpg-psp-delivery-price-note span {
    display: block !important;
  }

  body.dpg-delivery-preview .dpg-psp-delivery-price-note span {
    margin-top: 3px !important;
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }

  body.dpg-delivery-preview .connect-delivery-moment {
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 76px !important;
    padding: 13px 14px !important;
    column-gap: 10px !important;
  }

  body.dpg-delivery-preview #section-connect-configurator-deliverymoments,
  body.dpg-delivery-preview .dpg-psp-recalculating #section-connect-configurator-deliverymoments {
    min-height: 408px !important;
  }

  body.dpg-delivery-preview .connect-delivery-moments,
  body.dpg-delivery-preview .dpg-psp-delivery-placeholder {
    min-height: 352px !important;
  }

  body.dpg-delivery-preview .connect-delivery-price {
    font-size: 1rem !important;
  }

  body.dpg-delivery-preview .dpg-psp-delivery-detail {
    font-size: 0.78rem !important;
  }

  body.dpg-delivery-preview .dpg-psp-order-panel {
    grid-template-columns: 1fr !important;
  }

  body.dpg-delivery-preview #section-connect-configurator-price,
  body.dpg-delivery-preview #dpg-psp-shipping-card,
  body.dpg-delivery-preview .dpg-psp-actions {
    min-height: auto !important;
    padding: 16px 18px !important;
    border-right: 0 !important;
  }

  body.dpg-delivery-preview .dpg-psp-actions {
    order: 1 !important;
    border-bottom: 1px solid var(--dpg-border-soft) !important;
  }

  body.dpg-delivery-preview #section-connect-configurator-price {
    order: 2 !important;
    border-bottom: 1px solid var(--dpg-border-soft) !important;
  }

  body.dpg-delivery-preview #dpg-psp-shipping-card {
    order: 3 !important;
    border-bottom: 0 !important;
    background: #fbfcfe !important;
  }

  body.dpg-delivery-preview .dpg-psp-actions--dual {
    grid-template-columns: 1fr !important;
  }

  body.dpg-delivery-preview .dpg-online-design-action {
    width: 100% !important;
  }

  body.dpg-delivery-preview .dpg-file-delivery {
    order: 1 !important;
  }

  body.dpg-delivery-preview .dpg-file-delivery__controls {
    align-items: stretch !important;
  }

  body.dpg-delivery-preview #section-add-to-cart {
    order: 2 !important;
  }

  body.dpg-delivery-preview .dpg-psp-clean-price__eyebrow,
  body.dpg-delivery-preview .dpg-psp-shipping-card__label {
    font-size: 0.8rem !important;
  }
}

/* Fallback voor browsers zonder container queries. */
@media (max-width: 700px) {
  body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-columns {
    grid-template-columns: 1fr !important;
  }

  body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-column:first-child {
    order: 2 !important;
  }

  body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-column:nth-child(2) {
    order: 1 !important;
  }
}

@media (max-width: 480px) {
  body.dpg-delivery-preview #section-connect-configurator-summary
    .connect-configurator-column:nth-child(2).dpg-psp-delivery-column-loading {
    min-height: 0 !important;
  }

  body.dpg-delivery-preview .connect-delivery-moment {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "badges"
      "date"
      "detail"
      "price" !important;
    row-gap: 6px !important;
    min-height: auto !important;
  }

  body.dpg-delivery-preview #section-connect-configurator-deliverymoments,
  body.dpg-delivery-preview .dpg-psp-recalculating #section-connect-configurator-deliverymoments,
  body.dpg-delivery-preview .connect-delivery-moments,
  body.dpg-delivery-preview .dpg-psp-delivery-placeholder {
    min-height: 0 !important;
  }

  body.dpg-delivery-preview .connect-delivery-price {
    justify-self: start !important;
    text-align: left !important;
    font-size: 1.05rem !important;
  }

  body.dpg-delivery-preview .dpg-psp-delivery-badges {
    gap: 5px !important;
  }

  body.dpg-delivery-preview .dpg-psp-badge {
    white-space: normal !important;
  }

  body.dpg-delivery-preview .dpg-psp-delivery-price-note {
    font-size: 0.78rem !important;
  }
}


@media (max-width: 640px) {
  body.dpg-delivery-preview .connect-filespecs-popover {
    width: min(94vw, 560px) !important;
    max-height: 86vh !important;
    padding: 18px !important;
  }

  body.dpg-delivery-preview .connect-filespecs-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  body.dpg-delivery-preview .connect-filespecs-value {
    text-align: left !important;
  }
}


/* -------------------------
   Mobiele sticky bestelactie v0.7.3
   ------------------------- */
body.dpg-delivery-preview .dpg-psp-mobile-sticky {
  display: none;
}

@media (max-width: 640px) {
  body.dpg-delivery-preview .dpg-psp-mobile-sticky {
    position: fixed !important;
    z-index: 99990 !important;
    left: max(10px, env(safe-area-inset-left)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    display: grid !important;
    grid-template-columns: minmax(0, .78fr) minmax(150px, 1.22fr) !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 10px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    border: 1px solid var(--dpg-border) !important;
    border-radius: 15px !important;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transform: translateY(calc(100% + 28px)) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform .2s ease, opacity .2s ease, visibility .2s ease !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-sticky.is-visible {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-sticky__price {
    min-width: 0 !important;
    padding: 2px 2px 2px 4px !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-sticky__label {
    display: block !important;
    margin: 0 0 2px !important;
    color: var(--dpg-muted) !important;
    font-size: .7rem !important;
    line-height: 1.2 !important;
    font-weight: 650 !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-sticky__amount {
    display: block !important;
    overflow: hidden !important;
    color: var(--dpg-ink) !important;
    font-size: 1.02rem !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-sticky__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    min-width: 0 !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-sticky__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    font-size: .88rem !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-sticky__button[hidden] {
    display: none !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-sticky__button--design {
    color: var(--dpg-blue) !important;
    background: #fff !important;
    border: 1px solid rgba(7, 134, 221, .34) !important;
    box-shadow: none !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-sticky__button--cart {
    color: #fff !important;
    background: var(--dpg-blue) !important;
    border: 1px solid var(--dpg-blue) !important;
    box-shadow: 0 6px 16px rgba(7, 134, 221, .24) !important;
  }

  body.dpg-delivery-preview .dpg-psp-mobile-sticky__button[disabled],
  body.dpg-delivery-preview .dpg-psp-mobile-sticky__button[aria-disabled="true"] {
    color: #7c8999 !important;
    background: #e9eef4 !important;
    border-color: #e0e6ed !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
  }
}


/* Interne bron uit dezelfde leverdatumresponse; nooit visueel tonen. */
body.dpg-delivery-preview .dpg-psp-shipping-source {
  display: none !important;
}

/* Het configuratorblok sloot visueel te ruim af richting de productinformatie. */
@media (min-width: 821px) {
  body.dpg-delivery-preview .connect-configurator-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.dpg-delivery-preview #section-connect-configurator-summary {
    margin-bottom: -20px !important;
  }
}

/* v0.7.27: houd het leverdatumvak visueel stabiel tijdens een echte configuratorherberekening. */
body.dpg-delivery-preview .dpg-psp-section-updating {
  position: relative !important;
  overflow: hidden !important;
}

body.dpg-delivery-preview .dpg-psp-section-updating::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 20 !important;
  pointer-events: none !important;
  background: rgba(248, 251, 254, .72) !important;
  border-radius: inherit !important;
}

body.dpg-delivery-preview .dpg-psp-section-updating::before {
  content: "" !important;
  position: absolute !important;
  z-index: 21 !important;
  top: 18px !important;
  left: 18px !important;
  width: 15px !important;
  height: 15px !important;
  border: 2px solid #d6e8f7 !important;
  border-top-color: #23aee5 !important;
  border-radius: 50% !important;
  animation: dpg-psp-loading-spin .7s linear infinite !important;
  pointer-events: none !important;
}

@keyframes dpg-psp-loading-spin {
  to { transform: rotate(360deg); }
}


/* -------------------------
   v0.7.54 - harde stabiliteitslaag
   ------------------------- */
body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-column:nth-child(2) {
  min-height: 552px !important;
}
@media (max-width: 700px) {
  body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-column:nth-child(2) {
    min-height: 0 !important;
  }
}

/* De DOM zelf bepaalt of de skeleton zichtbaar moet zijn. Dit voorkomt dat een
   achterlopende JS-class de placeholder onterecht verborgen houdt. */
body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-column:nth-child(2):not(:has(.connect-delivery-moment)) .dpg-psp-delivery-placeholder {
  display: block !important;
}
body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-column:nth-child(2):has(.connect-delivery-moment) .dpg-psp-delivery-placeholder {
  display: none !important;
}
body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-column:nth-child(2):has(.dpg-psp-delivery-placeholder):not(:has(.connect-delivery-moment)) #section-connect-configurator-deliverymoments {
  display: none !important;
}


/* Verfijning v0.7.54: subtielere scheiding en beter gelijke laad-/eindhoogte. */
body.dpg-delivery-preview #section-connect-configurator-summary .connect-configurator-column:nth-child(2) {
  display: flex !important;
  flex-direction: column !important;
}
body.dpg-delivery-preview #section-connect-configurator-deliverymoments {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}
body.dpg-delivery-preview .connect-delivery-moments,
body.dpg-delivery-preview .dpg-psp-delivery-placeholder {
  flex: 0 0 auto !important;
}
body.dpg-delivery-preview .dpg-psp-delivery-help {
  min-height: 48px !important;
}
body.dpg-delivery-preview .connect-delivery-moment:last-of-type,
body.dpg-delivery-preview .dpg-psp-delivery-placeholder__row:last-child {
  border-bottom: 0 !important;
}


/* v0.7.54 - voorkom een kleine hoogteflits in de samenstellingskolom. */
body.dpg-delivery-preview #section-connect-configurator-summary
  .connect-configurator-column:first-child.dpg-psp-composition-column-loading {
  min-height: var(--dpg-psp-composition-lock-height, auto) !important;
}


/* v0.7.54 - WooCommerce vervolgactie rustig onder de hoofdknop. */
body.dpg-delivery-preview .dpg-psp-actions .added_to_cart.wc-forward,
body.dpg-delivery-preview .dpg-psp-actions a.added_to_cart,
body.dpg-delivery-preview #section-add-to-cart .added_to_cart.wc-forward {
  display: block !important;
  width: 100% !important;
  margin: 9px 0 0 !important;
  padding: 0 !important;
  color: #0572bf !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 0.82rem !important;
  line-height: 1.3 !important;
  font-weight: 750 !important;
  text-align: center !important;
  text-decoration: none !important;
}
body.dpg-delivery-preview .dpg-psp-actions .added_to_cart.wc-forward:hover,
body.dpg-delivery-preview #section-add-to-cart .added_to_cart.wc-forward:hover {
  color: #045b99 !important;
  text-decoration: underline !important;
}
