/* Retail product presentation, scoped to the webshop. */
.product-detail-page {
  --retail-ink: var(--text, #334155);
  --retail-heading: var(--heading, #0f172a);
  --retail-muted: var(--text-muted, #5f6e84);
  --retail-line: #dfe3e5;
  --retail-surface: #f4f5f5;
  --retail-accent: var(--cta-bg, #1D4E89);
  --retail-accent-hover: var(--cta-bg-hover, #173F70);
  --retail-accent-ink: var(--cta-text, #fff);
  --retail-accent-text: var(--cta-bg, #1D4E89);
  --retail-focus: var(--cta-bg, #1D4E89);
  background: #fff;
  color: var(--retail-ink);
}
.product-detail-page main#product-root { max-width: none; width: 100%; padding: 0; margin: 0; }
.product-detail-page #product-root > .product-page,
.product-detail-page #product-root > .seo-static-content { padding: calc(var(--header-height, 80px) + 20px) 0 40px; background: #fff; }
.product-detail-page .product-page > .container,
.product-detail-page .seo-static-content { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 20px; }
.product-detail-page .product-breadcrumb { margin: 0 0 16px; padding: 0; gap: 12px; font-size: 12px; color: var(--retail-muted); flex-wrap: wrap; }
.product-detail-page .product-breadcrumb a { color: inherit; }
.product-detail-page .product-breadcrumb__current { color: var(--retail-muted); font-weight: 400; }
.retail-service-note { border-left: 3px solid var(--retail-accent); padding: 14px 18px; margin-bottom: 24px; background: var(--retail-surface); font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.product-detail-page .product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 0; }
.product-detail-page .product-gallery { position: static; top: auto; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.product-detail-page .product-gallery__main,
.product-detail-page .product-gallery--static > picture { position: relative; display: block; border: 1px solid var(--retail-line); border-radius: 8px; box-shadow: none; background: #fff; aspect-ratio: 1; width: 100%; margin: 0; overflow: hidden; }
.product-detail-page .product-gallery__main > picture { display: block; width: 100%; height: 100%; }
.product-detail-page .product-gallery__main img,
.product-detail-page .product-gallery--static > picture > img { display: block; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center; padding: 0; border-radius: 0; transform: none; transition: none; }
.product-detail-page .product-gallery__main:hover > img { transform: none; }
.product-detail-page .product-gallery__zoom,
.gallery-next { position: absolute; border: 0; border-radius: 50%; background: #fff; color: var(--retail-ink); width: 44px; height: 44px; padding: 12px; box-shadow: 0 1px 5px #0001; cursor: pointer; }
.product-detail-page .product-gallery__zoom { top: 16px; right: 16px; bottom: auto; }
.gallery-next { right: 16px; top: calc(50% - 22px); }
.gallery-next svg { width: 20px; height: 20px; }
.gallery-counter { position: absolute; bottom: 16px; right: 16px; border-radius: 6px; padding: 5px 10px; background: #fff; font-size: 12px; }
.product-detail-page .product-gallery__thumbs { gap: 8px; margin: 0; padding: 2px; }
.product-detail-page .product-gallery__thumb { width: 64px; height: 64px; aspect-ratio: 1; border: 1px solid transparent; border-radius: 6px; background: #fff; }
.product-detail-page .product-gallery__thumb--active { border-color: var(--retail-accent-text); box-shadow: inset 0 0 0 1px var(--retail-accent-text); }
.product-detail-page .product-gallery__thumb:hover { transform: none; border-color: var(--retail-accent-text); }
.product-detail-page .product-gallery__thumb img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; padding: 0; }
.gallery-caption { font-size: 11px; color: var(--retail-muted); line-height: 1.5; margin: 0; }
.product-detail-page .product-info { min-width: 0; display: flex; gap: 0; color: var(--retail-ink); }
.product-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.product-heading > div { min-width: 0; }
.product-series { color: var(--retail-muted); font-size: 12px; text-decoration: underline; display: inline-block; margin-bottom: 8px; }
.product-detail-page .product-title { font-family: var(--font); font-size: 24px; font-weight: 800; line-height: 1.25; letter-spacing: -.03em; color: var(--retail-heading); margin: 0 0 4px; text-transform: none; }
.product-variant { color: var(--retail-muted); font-size: 15px; line-height: 1.5; margin: 0; }
.retail-save { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--retail-ink); cursor: pointer; padding: 11px; }
.retail-save:hover { background: var(--retail-surface); }
.retail-save svg { width: 24px; height: 24px; }
.retail-save[aria-pressed="true"] path { fill: var(--retail-accent); stroke: var(--retail-accent); }
.product-detail-page .product-price-section { margin: 16px 0 8px; padding: 0; background: #fff; border: 0; border-radius: 0; box-shadow: none; gap: 6px; }
.product-detail-page .product-price-section::before { display: none; }
.retail-price-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.retail-price-badge { padding: 4px 8px; border-radius: 6px; background: var(--retail-accent); color: var(--retail-accent-ink); font-size: 11px; font-weight: 700; }
.product-detail-page .product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.product-detail-page .product-price__vanaf { font-size: 12px; color: var(--retail-muted); font-weight: 700; }
.product-detail-page .product-price__current { color: var(--retail-heading); display: inline-flex; align-items: baseline; gap: 3px; font-size: 42px; font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.retail-money { display: inline-flex; align-items: baseline; gap: 2px; }
.retail-money__currency { font-size: .55em; align-self: flex-start; margin-top: .14em; letter-spacing: 0; }
.retail-money__amount { font-variant-numeric: lining-nums tabular-nums; }
.retail-money__suffix { font-size: .6em; letter-spacing: -.02em; }
.product-detail-page .product-price__vat { font-size: 12px; color: var(--retail-muted); line-height: 1.5; }
.product-detail-page .product-sku { font-family: var(--font); font-size: 11px; color: var(--retail-muted); margin: 0 0 12px; line-height: 1.5; letter-spacing: 0; }
.product-option-section { padding: 16px 0; border-top: 1px solid var(--retail-line); }
.product-detail-page .product-info h2 { font-size: 15px; font-weight: 800; line-height: 1.4; margin: 0 0 8px; color: var(--retail-heading); }
.product-option-section > p { font-size: 13px; color: var(--retail-muted); margin: 0 0 8px; line-height: 1.6; }
.product-detail-page .color-options { display: flex; gap: 16px; margin: 8px 0 0; }
.product-detail-page .color-option { width: 42px; height: 42px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--retail-line); padding: 0; }
.product-detail-page .color-option--active { box-shadow: 0 0 0 2px var(--retail-accent-text); }
.product-detail-page .color-option::after { display: none; }
.option-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.option-section-heading a { font-size: 11px; text-decoration: underline; color: var(--retail-muted); }
.product-detail-page .product-dimensions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: 0; margin: 0; border: 0; background: none; }
.product-detail-page .dimension-input-group { min-width: 0; width: auto; display: flex; flex-direction: column; gap: 4px; }
.product-detail-page .dimension-input-group label,
.product-detail-page .option-group label { display: block; font-size: 12px; font-weight: 600; margin: 0; }
.product-detail-page .dimension-input-group input,
.product-detail-page .option-group select { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #8a9499; border-radius: 6px; padding: 10px 12px; background: #fff; font: inherit; font-size: 16px; color: var(--retail-ink); }
.product-detail-page .dimension-input-group input[aria-invalid="true"] { border-color: #b91c1c; }
.product-detail-page .dimension-input-group span { font-size: 11px; color: var(--retail-muted); }
#dimension-errors { color: #b91c1c; font-size: 12px; margin-top: 12px; }
#dimension-errors[hidden] { display: none; }
#dimension-area { font-size: 11px; color: var(--retail-muted); margin: 8px 0; line-height: 1.5; }
.product-opening { margin: 8px 0; }
.product-detail-page .option-group { margin-top: 8px; }
.product-detail-page .option-group label { margin-bottom: 4px; }
.product-option-section > :last-child { margin-bottom: 0; }
.retail-fulfilment { padding: 16px 0; border-top: 1px solid var(--retail-line); }
.retail-fulfilment details { border: 1px solid var(--retail-line); border-radius: 6px; background: var(--retail-surface); }
.retail-fulfilment summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; padding: 12px; }
.retail-fulfilment summary::-webkit-details-marker { display: none; }
.retail-fulfilment strong { font-size: 13px; display: block; margin-bottom: 4px; }
.retail-fulfilment small { font-size: 12px; display: block; color: var(--retail-muted); }
.retail-fulfilment svg { width: 20px; height: 20px; flex-shrink: 0; }
.retail-fulfilment details[open] summary svg { transform: rotate(90deg); }
.retail-fulfilment p { padding: 0 12px 12px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--retail-muted); }
.product-detail-page .product-actions { padding: 0; margin: 0; border: 0; gap: 8px; }
.product-detail-page .product-actions__primary { display: flex; flex-direction: column; gap: 8px; }
.product-detail-page .product-actions__primary .btn { width: 100%; flex: auto; min-height: 54px; border-radius: 6px; padding: 14px 24px; font-size: 14px; font-weight: 700; box-shadow: none; transform: none; }
.product-detail-page .product-actions__primary .btn--primary { background: var(--retail-accent); color: var(--retail-accent-ink); gap: 14px; }
.product-detail-page .product-actions__primary .btn--primary::before,
.product-detail-page .product-cta-bar .btn::before { background: none; }
.product-detail-page .product-actions__primary .btn--secondary { background: #fff; color: var(--retail-ink); border: 1px solid var(--retail-line); }
.product-detail-page .product-actions__primary .btn--primary > span { font-size: 22px; line-height: 1; }
.product-detail-page .product-actions__primary svg { width: 18px; height: 18px; margin-left: 8px; }
.retail-quote-note { font-size: 11px; text-align: center; margin: 0; line-height: 1.5; color: var(--retail-muted); }
.product-detail-page .product-actions__secondary { margin-top: 0; justify-content: center; }
.product-detail-page .btn--compare { font-size: 12px; color: var(--retail-muted); padding: 10px; background: #fff; border: 1px solid var(--retail-line); border-radius: 6px; box-shadow: none; }
.product-detail-page .product-tabs { margin: 24px 0 32px; border: 0; }
.product-detail-page .product-tabs__nav { gap: 24px; padding: 0; margin: 0; border-bottom: 1px solid var(--retail-line); background: #fff; border-radius: 0; }
.product-detail-page .product-tabs__btn { color: var(--retail-muted); font-size: 13px; font-weight: 700; padding: 16px 0; border: 0; border-radius: 0; background: transparent; white-space: nowrap; }
.product-detail-page .product-tabs__btn--active { color: var(--retail-accent-text); background: transparent; box-shadow: inset 0 -3px var(--retail-accent-text); }
.product-detail-page .product-tabs__btn::after { display: none; }
.product-detail-page .product-tabs__content { padding: 20px 0 0; background: #fff; border: 0; }
.product-detail-page .product-tabs__panel[hidden] { display: none; }
.product-detail-page .product-tabs__panel { animation: none; }
.product-detail-page .product-tabs__panel h2 { font-size: 24px; margin: 0 0 12px; color: var(--retail-heading); }
.product-detail-page .product-tabs__panel p { font-size: 14px; line-height: 1.6; max-width: 75ch; margin: 0 0 12px; }
.product-detail-page .product-tabs__panel p:last-child { margin-bottom: 0; }
.product-overview { display: grid; align-items: start; gap: 20px; }
.product-detail-page .product-overview ul { padding: 16px 24px; margin: 0; background: var(--retail-surface); border-radius: 6px; list-style: disc; font-size: 14px; line-height: 1.6; }
.product-detail-page .product-overview li + li { margin-top: 4px; }
.product-detail-page .product-tabs__panel .retail-eyebrow { font-size: 12px; line-height: 1.5; color: var(--retail-muted); margin: 0 0 8px; }
.product-detail-page .specs-grid-full { display: grid; grid-template-columns: minmax(0,1fr); gap: 0 40px; }
.product-detail-page .spec-card { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--retail-line); border-radius: 0; background: #fff; box-shadow: none; transform: none; }
.product-detail-page .spec-card::before { display: none; }
.product-detail-page .spec-card__label, .product-detail-page .spec-card__value { font-size: 14px; }
.product-detail-page .spec-card__value { text-align: right; }
.retail-measurements { max-width: 600px; margin: 16px 0; }
.retail-measurements > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--retail-line); font-size: 14px; }
.retail-measurements dd { margin: 0; font-weight: 700; }
.retail-text-link { display: inline-flex; gap: 8px; align-items: center; text-decoration: underline; color: var(--retail-accent-text); }
.retail-text-link svg { width: 20px; height: 20px; }
.product-detail-page .product-faq { margin-top: 0; }
.product-detail-page .faq-item { border: 0; border-bottom: 1px solid var(--retail-line); border-radius: 0; background: #fff; box-shadow: none; }
.product-detail-page .faq-item__question { padding: 16px 0; font-size: 14px; }
.product-detail-page .faq-item__question:hover,
.product-detail-page .faq-item--open .faq-item__question { color: var(--retail-accent-text); background: var(--retail-surface); }
.product-detail-page .faq-item__question svg { width: 20px; height: 20px; flex-shrink: 0; }
.product-detail-page .faq-item--open .faq-item__question svg { transform: rotate(90deg); }
.product-detail-page .faq-item__answer-content { padding: 0 0 16px; font-size: 14px; line-height: 1.6; }
.product-detail-page .related-products { margin: 0; padding: 0; }
.related-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.product-detail-page .related-products__title { font-size: 24px; margin: 0; }
.related-heading a { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--retail-accent-text); text-decoration: underline; }
.related-heading svg { width: 18px; height: 18px; }
.product-detail-page .related-products__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 16px; overflow: visible; }
.product-detail-page .related-card { min-width: 0; border: 1px solid var(--retail-line); border-radius: 8px; box-shadow: none; transform: none; background: #fff; overflow: hidden; transition: border-color .18s ease; }
.product-detail-page .related-card:hover { border-color: var(--retail-accent-text); transform: none; box-shadow: none; }
.product-detail-page .related-card__image { background: #fff; aspect-ratio: 1; padding: 0; }
.product-detail-page .related-card__image img,
.product-detail-page .related-card:hover .related-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; padding: 0; transform: none; transition: none; }
.product-detail-page .related-card__content { padding: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.product-detail-page .related-card__title { font-size: 14px; color: var(--retail-heading); margin: 0; }
.product-detail-page .related-card__content p { font-size: 12px; margin: 0; color: var(--retail-muted); }
.related-card__offer { background: transparent; border: 0; border-radius: 0; padding: 0; width: 100%; margin-top: 10px; }
.product-detail-page .related-card__price { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; white-space: nowrap; color: var(--retail-heading); font-size: 22px; font-weight: 800; margin-top: 0; line-height: 1.2; }
.product-detail-page .related-card__content small { font-size: 10px; color: var(--retail-muted); font-weight: 400; }
.related-card__action { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; margin-top: 16px; border-radius: 6px; background: var(--retail-accent); color: var(--retail-accent-ink); padding: 10px 12px; font-size: 11px; font-weight: 700; }
.related-card__action svg { width: 16px; height: 16px; flex-shrink: 0; }
.product-detail-page .product-cta-bar { background: #fff; border-top: 1px solid var(--retail-line); box-shadow: none; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); gap: 16px; }
.product-detail-page .product-cta-bar__price { color: var(--retail-ink); padding: 0; background: transparent; }
.product-detail-page .product-cta-bar__price > span,
.product-detail-page .product-cta-bar__price-vat { font-size: 10px; }
.product-detail-page .product-cta-bar__price-value { font-size: 20px; color: var(--retail-heading); }
.product-detail-page .product-cta-bar .btn { border-radius: 6px; min-height: 48px; font-size: 14px; padding: 12px 18px; background: var(--retail-accent); color: var(--retail-accent-ink); box-shadow: none; }
.product-detail-page .retail-navigation .nav__cta { border-radius: 6px; background: var(--retail-accent); color: var(--retail-accent-ink); }
.product-detail-page .product-actions__primary .btn--primary:hover,
.product-detail-page .product-cta-bar .btn:hover,
.product-detail-page .related-card:hover .related-card__action,
.product-detail-page .retail-navigation .nav__cta:hover { background: var(--retail-accent-hover); }
.product-detail-page .compare-bar { bottom: 100px; }
.retail-lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 64px 50px; border: 0; background: #fff; color: var(--retail-ink); }
.retail-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.retail-lightbox::backdrop { background: #0008; }
.retail-lightbox__image { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.retail-lightbox button { position: absolute; border: 0; border-radius: 50%; width: 44px; height: 44px; background: var(--retail-surface); cursor: pointer; font: inherit; font-size: 28px; color: var(--retail-ink); padding: 10px; }
.retail-lightbox button svg { width: 24px; height: 24px; }
.retail-lightbox__close { top: 16px; right: 16px; }
.retail-lightbox__previous { left: 8px; top: calc(50% - 22px); transform: rotate(180deg); }
.retail-lightbox__next { right: 8px; top: calc(50% - 22px); }
#lightbox-counter { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 13px; }
.product-detail-page :is(button, a, input, select):focus-visible { outline: 2px solid var(--retail-focus); outline-offset: 4px; }
@media (min-width: 768px) {
  .product-detail-page .product-page > .container,
  .product-detail-page .seo-static-content { padding-inline: 32px; }
  .product-detail-page .product-title { font-size: 26px; }
  .product-detail-page .specs-grid-full { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-overview { grid-template-columns: 2fr 1fr; gap: 32px; }
  .product-detail-page .related-products__grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
  .product-detail-page .related-card__content { padding: 16px; }
  .product-detail-page .related-card__price { font-size: 28px; }
  .related-card__action { font-size: 12px; }
}
@media (min-width: 1024px) {
  .product-detail-page .product-page > .container,
  .product-detail-page .seo-static-content { padding-inline: 48px; }
  .product-detail-page .product-layout { grid-template-columns: minmax(0,1.55fr) minmax(320px,1fr); gap: 48px; }
  .product-detail-page .product-gallery { position: sticky; top: calc(var(--header-height,80px) + 24px); grid-template-columns: 64px minmax(0,1fr); gap: 16px; }
  .product-detail-page .product-gallery__main,
  .product-detail-page .product-gallery--static > picture { grid-column: 2; grid-row: 1; }
  .product-detail-page .product-gallery__thumbs { grid-column: 1; grid-row: 1; flex-direction: column; overflow: visible; }
  .gallery-caption { grid-column: 2; }
  .product-detail-page .product-title { font-size: 22px; }
  .product-detail-page .product-tabs__nav { gap: 40px; }
  .product-detail-page .product-tabs__btn { font-size: 15px; }
  .product-detail-page .product-cta-bar { display: none; }
  .product-detail-page .compare-bar { bottom: 24px; }
}

.product-detail-page .product-gallery--static { display: grid; }
@media (max-width: 767px) {
  .product-detail-page .product-price__current { font-size: 38px; }
  .product-detail-page .compare-floating-bar { bottom: calc(100px + env(safe-area-inset-bottom)); }
  body.product-detail-page #slimkozijn-chat-widget { --chat-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
  .product-detail-page .footer { padding-bottom: 120px; }
}

.product-detail-page .compare-floating-bar:not(.compare-floating-bar--visible) { display: none; }

@media (prefers-reduced-motion: reduce) {
  .product-detail-page .related-card { transition: none; }
}

.product-detail-page .product-price__current.price-is-invalid { font-size: 24px; letter-spacing: 0; }
.product-detail-page .product-cta-bar__price-value.price-is-invalid { font-size: 12px; line-height: 1.35; white-space: normal; overflow-wrap: normal; }
