/* PDP styles (moved from product.tpl) */

/* =========================================================
   FIX 1: Hero “rare stijl” weg (grijs + zwarte border)
   ========================================================= */
.product-main__image-wrapper{
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Hero knop/beeld neutraal */
.product-main__image-btn{
  display:block;
  width:100%;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  cursor: zoom-in;
}
.product-main__image-btn:focus-visible{
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

/* Hero img: geen rand, geen grijze achtergrond */
#product-main-image{
  display:block;
  width:100%;
  height:auto;
  border: 0 !important;
  background: transparent !important;
}

/* =========================================================
   Lightbox (witte modal, nette overlay)
   ========================================================= */
.lightbox[hidden]{display:none !important;}
.lightbox{position:fixed;inset:0;z-index:10000;}
.lightbox__backdrop{
  position:absolute;inset:0;
  background:rgba(17,24,39,.55);         /* nettere “dark” */
  backdrop-filter: blur(2px);
}

/* Dialoog is wit */
.lightbox__dialog{
  position:relative;
  width: min(980px, calc(100% - 24px));
  height: min(82vh, 740px);
  margin: 7vh auto 0;
  background: #fff;                      /* expliciet wit */
  /*border: 1px solid rgba(0,0,0,.10);*/
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  overflow:hidden;
}

/* Figure achtergrond wit (u vroeg dit expliciet) */
.lightbox__figure{
  margin:0;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  overflow:hidden; /* normaal (zoom toggelt naar auto) */
  touch-action: pan-y; /* swipe horizontal + verticale scroll buiten zoom */
}

.lightbox__img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  display:block;
  user-select:none;
  -webkit-user-drag:none;
  cursor: zoom-in;
}

/* Close */
.lightbox__close{
  position:absolute;top:10px;right:12px;
  width:40px;height:40px;
  border:0;background:transparent;
  border-radius: var(--radius-md, 12px);
  font-size:28px;line-height:1;
  cursor:pointer;
  color: rgba(0,0,0,.55);
}
.lightbox__close:hover{background: rgba(0,0,0,.05); color: rgba(0,0,0,.8);}
.lightbox__close:focus-visible{outline:2px solid var(--color-accent); outline-offset:2px;}

/* Nav */
.lightbox__nav{
  position:absolute;top:50%;
  transform:translateY(-50%);
  width:46px;height:46px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.92);
  cursor:pointer;
  font-size:30px;
  line-height:1;
  display:flex;align-items:center;justify-content:center;
  color: rgba(0,0,0,.85);
}
.lightbox__nav:hover{filter:brightness(0.98);}
.lightbox__nav:focus-visible{outline:2px solid var(--color-accent); outline-offset:2px;}
.lightbox__nav--prev{left:12px;}
.lightbox__nav--next{right:12px;}

/* =========================================================
   Zoom state (100% / scrollen)
   ========================================================= */
.lightbox.is-zoom .lightbox__figure{
  overflow:auto;
  cursor: zoom-out;
  touch-action: pan-x pan-y; /* pannen */
}
.lightbox.is-zoom .lightbox__img{
  max-width:none;
  max-height:none;
  cursor: zoom-out;
}

/* Mobiel */
@media (max-width:480px){
  .lightbox__dialog{height:min(72vh, 560px); margin-top: 10vh;}
  .lightbox__nav{width:42px;height:42px;font-size:28px;}
  .lightbox__hint{display:none;}
}

/* LPS product gallery: voorkom dat thumbs over de main image heen vallen */
@media (min-width: 1200px) {

  .product-main__media{
    display: grid !important;
    grid-template-rows: auto auto !important; /* rij 1: image, rij 2: thumbs */
    align-content: start;
  }

  .product-main__image-wrapper{
    grid-row: 1;
    min-height: 0;
  }

  .product-main__thumbs{
    grid-row: 2;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin-top: 12px; /* mag ook een token zijn */
  }
}

/* Staffel: unavailable duidelijker */
              .price-step--unavailable{
                opacity:.55;
              }
              .price-step--unavailable .price-step__label{
                text-decoration: line-through;
                text-decoration-thickness: 1.4px;
              }
              /* Meta-kolom strak uitlijnen (discount rechts, status verschijnt pas op hover) */
              .price-step__meta{
                display:flex;
                align-items:center;
                justify-content:flex-end;
                gap: 14px;
              }
              .price-step__discount{
                min-width: 44px; /* voorkomt "schuiven" door verschillende %-lengtes */
                text-align:right;
              }
              /* Niet op voorraad hint: alleen bij hover/focus, zonder layout te verschuiven */
              .price-step__label{ position:relative; display:inline-flex; align-items:center; }
              .price-step__hint{
                display:none;
                position:absolute;
                left: calc(100% + 10px);
                top: 50%;
                transform: translateY(-50%);
                font-weight: 600;
                font-size: .85em;
                color: var(--color-text-muted, #6b7280);
                white-space: nowrap;
              }
              .price-step--unavailable:hover .price-step__hint,
              .price-step--unavailable:focus-within .price-step__hint{
                display:inline;
              }
              /* Meer staffels: prominent maar strak (binnen het witte vlak, links uitgelijnd) */
              .price-step--more{ background: transparent; }
              .price-step--more .price-step__meta,
              .price-step--more .price-step__price{ display:none; }
              .price-steps__more{
                padding: 0;
                border: 0;
                background: transparent;
                color: var(--color-accent);
                font: inherit;
                font-weight: 700;
                cursor: pointer;

                /* Geen underline in ruststand */
                text-decoration: none;
                text-underline-offset: 3px;
              }
              .price-steps__more:hover,
              .price-steps__more:focus-visible{
                color: var(--color-text-main); /* zwart bij hover/focus */
                text-decoration: underline;    /* underline alleen bij hover/focus */
                text-decoration-thickness: 2px;
              }
              .price-steps__more:focus-visible{
                outline: 2px solid var(--color-accent);
                outline-offset: 2px;
                border-radius: 6px;
              }

/* =========================================================
   COMPAT – nieuwe huisstijl (tokens)
   Gebaseerd op uw :root tokens en componentstijl. :contentReference[oaicite:1]{index=1}
   ========================================================= */

/* ===== Trigger (mockup) ===== */
.product-compat{
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-1);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: 1.45;
  color: var(--color-text-soft);
  margin-top: var(--space-3);
}

.product-compat__prefix{
  color: var(--color-text-soft);
  font-weight: var(--font-weight-medium);
}

.product-compat__model{
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
}

.product-compat__suffix{
  color: var(--color-text-soft);
}


.product-compat__trigger{
  display:inline-flex;
  align-items:center;
  gap: var(--space-1);
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 2px 0px;
  transition: background .15s ease, color .15s ease;
}
.product-compat__trigger:hover{
  background: var(--color-bg-soft);
}
.product-compat__trigger:focus-visible{
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* In empty-state: verberg "Wijzig printer" en maak vraagzin duidelijk klikbaar */
.product-compat.is-empty #compat-change{ display:none; }
.product-compat.is-empty .product-compat__prefix{
  color: var(--color-accent);
  font-weight: var(--font-weight-semibold);
}



.product-compat__change{
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px 8px;
  border-radius: var(--radius-pill);

  color: var(--color-accent);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;

  transition: background .15s ease, color .15s ease, transform .10s ease;
}

.product-compat__change:hover{
  background: var(--color-bg-soft);
  color: var(--color-neutral-strong);
}

.product-compat__change:active{
  transform: translateY(1px);
}

.product-compat__change:focus{
  outline: none;
}

.product-compat__change:focus-visible{
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.product-compat__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.product-compat__icon i{
  font-size: 16px;
  color: currentColor;
  opacity: .9;
}

/* States op de trigger-link (#compat-trigger) */
#compat-trigger.compat-ok{
  color: var(--color-accent);
}

/* Link altijd actie-kleur (ook bij compat-no) */
.product-compat__change{
  color: var(--color-accent);
}

/* Niet geschikt: alleen de tekst rood */
.product-compat.compat-no .product-compat__prefix,
.product-compat.compat-no .product-compat__model{
  color: var(--color-danger);
}

/* (optioneel) geschikt: alleen de tekst groen/subtiel */
.product-compat.compat-ok .product-compat__prefix,
.product-compat.compat-ok .product-compat__model{
  color: var(--color-text-main); /* of evt. var(--color-primary-dark) als u dat wilt */
}

/* Als er nog géén keuze is gemaakt: alleen triggertekst tonen */
.product-compat.is-empty .product-compat__model{ display:none; }
.product-compat.is-empty .product-compat__suffix{ display:none; }

/* ===== Modal overlay ===== */
.compat-modal{
  position:fixed;
  inset:0;
  z-index:9999;
}

.compat-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
}

/* ===== Modal dialog ===== */
.compat-modal__dialog{
  position:relative;
  max-width: 640px;
  width: calc(100% - 32px);
  margin: 10vh auto;
  background: var(--color-surface);
  /*border: 1px solid var(--color-border-subtle);*/
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
  z-index:1;
}

@media (max-width:480px){
  .compat-modal__dialog{
    margin: 8vh auto;
    padding: var(--space-4);
    border-radius: var(--radius-md);
  }
}

.compat-modal__close{
  position:absolute;
  top: 10px;
  right: 12px;

  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;

  border-radius: var(--radius-md);
  line-height: 1;
  font-size: 28px;
  color: var(--color-text-subtle);

  transition: background .15s ease, color .15s ease, transform .10s ease;
}

.compat-modal__close:hover{
  background: var(--color-bg-soft);
  color: var(--color-text-main);
}

.compat-modal__close:active{ transform: translateY(1px); }

.compat-modal__close:focus-visible{
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ===== Typografie ===== */
.compat-title{
  margin: 0 0 var(--space-2);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
}

.compat-label{
  display:block !important;
  margin: var(--space-6) 0 var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-soft);
}

/* ===== Input ===== */
.compat-inputwrap{ position:relative; }

.compat-input{
  box-sizing:border-box;
  width:100%;
  height: 44px;
  padding: 0 14px !important;

  border: 1px solid var(--color-border-subtle) !important;
  border-radius: var(--radius-pill) !important;
  background: var(--color-surface);
  color: var(--color-text-main) !important;

  font-size: var(--font-size-base);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.compat-input::placeholder{
  color: var(--color-text-subtle);
}

.compat-input:focus{
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 1px var(--color-accent);
}

/* ===== Autocomplete list ===== */
.compat-list{
  position:absolute;
  left:0; right:0;
  top: calc(100% + 6px);

  max-height: 280px;
  overflow:auto;

  margin:0;
  padding: 6px;

  border-radius: var(--radius-md);
  background: var(--color-surface);
  list-style:none;
  display:none;

  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  z-index:5;
}

.compat-list.open{ display:block; }

.compat-item{
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor:pointer;
  display:flex;
  gap: 8px;
  align-items:center;

  font-size: var(--font-size-base);
  line-height: 1.25;
  color: var(--color-text-main);

  transition: background .12s ease;
}

.compat-item:hover,
.compat-item.active{
  background: var(--color-bg-soft);
}

.compat-item__brand{
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
}

.compat-item__model{
  color: var(--color-text-soft);
}

/* ===== Result banners ===== */
.compat-result{
  margin-top: var(--space-3);
}

.compat-result .ok,
.compat-result .no,
.compat-result .err{
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base) !important;
  margin-bottom: var(--space-2);
  border: 1px solid transparent;
}

.compat-result .ok{
  background: rgba(34,197,94,.10);        /* primary soft */
  border-color: rgba(34,197,94,.20);
  color: var(--color-primary-dark);
}

.compat-result .no{
  background: rgba(239,68,68,.10);        /* danger soft */
  border-color: rgba(239,68,68,.18);
  color: var(--color-danger);
}

.compat-result .err{
  background: #fff8e6;                    /* warm warning (geen token in uw set) */
  border-color: rgba(122,91,10,.18);
  color: #7a5b0a;
}

/* ===== CTA buttons in modal ===== */
.compat-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: var(--space-2);

  width:100%;
  min-height: 46px;
  padding: 10px 16px;

  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor:pointer;

  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  letter-spacing: .01em;

  background: var(--color-primary);
  color: var(--color-text-invert);

  transition: background .15s ease, transform .10s ease;
  margin-top: var(--space-1);
}

.compat-cta:hover{
  background: var(--color-primary-dark);
}

.compat-cta:active{
  transform: translateY(1px);
}

.compat-cta:focus-visible{
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Alternatieve CTA (browse juiste categorie) */
.compat-cta--alt{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: var(--space-2);

  width:100%;
  min-height: 46px;
  padding: 10px 16px;

  border-radius: var(--radius-pill);
  cursor:pointer;

  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);

  background: var(--color-accent);
  color: var(--color-text-invert) !important;

  border: 1px solid transparent;
  transition: filter .15s ease, transform .10s ease;
  margin-top: var(--space-2);
  text-decoration: none;
}

.compat-cta--alt:hover{
  filter: brightness(1.05);
  color: var(--color-text-invert) !important;
}

.compat-cta--alt:active{
  transform: translateY(1px);
}

/* =========================================================
   Geschikt voor deze printers – volledige styling
   (vervangt ALLE eerdere compat-device CSS)
   ========================================================= */

/* Altijd echt verbergen */
[hidden] {
  display: none !important;
}

/* ===== Wrapper (mockup aside) ===== */
.product-printers {
  margin-top: var(--space-6);
}

.product-printers__title {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
  margin-bottom: var(--space-2);
}

.product-printers__body {
  margin-top: var(--space-2);
}

/* ===== Zoekveld + teller ===== */
.compat-device-searchwrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-2) 0 var(--space-5);
}

.compat-device-inputwrap {
  position: relative;
  flex: 1 1 auto;
}

.compat-device-search {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 14px !important;
  border: 1px solid var(--color-border-subtle) !important;
  border-radius: var(--radius-pill) !important;
  background: var(--color-surface);
  color: var(--color-text-main) !important;
  font-size: var(--font-size-base);
  box-sizing: border-box;
  outline: none;
}

.compat-device-search::placeholder {
  color: var(--color-text-subtle);
}

.compat-device-search:focus {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 1px var(--color-accent);
}

.compat-device-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-subtle);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compat-device-icon svg {
  width: 100%;
  height: 100%;
}

.compat-device-count {
  font-size: var(--font-size-sm);
  color: var(--color-text-subtle);
  white-space: nowrap;
}

/* ===== Lijst ===== */
.compat-device-ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-2) var(--space-4);
}

.compat-device-li {
  margin: 0;
}

/* ===== Merkgroepen ===== */
.compat-device-brand-li {
  grid-column: 1 / -1;
  margin-top: var(--space-4);
}

.compat-device-brand-li:first-child {
  margin-top: 0;
}

.compat-device-brand {
  display: block;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  /*color: var(--color-text-subtle);*/
  margin-bottom: var(--space-1);
  padding-left: 6px;
}

.compat-device-model-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-1) var(--space-4);
}

.compat-device-link {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  color: var(--color-text-main);
  text-decoration: none !important;
  line-height: 1.45;
  transition: background .15s ease, color .15s ease;
}

.compat-device-link:hover {
  background: var(--color-bg-soft);
  color: var(--color-neutral-strong);
}

/* ===== Geen resultaten ===== */
.compat-device-noresult {
  margin-top: var(--space-3);
  font-size: var(--font-size-base);
  color: var(--color-danger);
}

/* ===== Toon meer / minder knop (subtiel) ===== */
.compat-device-more {
  margin-top: var(--space-3);
  padding: 6px 10px;

  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-soft);

  color: var(--color-text-soft);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);

  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.compat-device-more:hover {
  background: var(--color-bg-subtle);
  color: var(--color-text-main);
}

.compat-device-more:active {
  transform: none;
}

.compat-device-more:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.compat-device-more[hidden] {
  display: none;
}

#compat-block.compat--hidden { display: none !important; }


/* =========================================
   PDP ACCORDION + CONTENT BLOCKS
   Complete version - v5
   ========================================= */


/* =========================================
   PRODUCTTITEL META
   ========================================= */

.page-title-meta {
  display: flex;
  align-items: baseline;
  gap: var(--space-1_5);
  margin-top: var(--space-2);
  font-size: var(--font-size-md);
  line-height: 1.4;
  color: var(--color-text-muted);
}

.page-title-meta__label {
  font-weight: var(--font-weight-medium);
}

.page-title-meta__value {
  font-weight: var(--font-weight-regular);
  color: var(--color-text-main);
}

.product-details {
  margin-top: var(--space-7);
  font-family: var(--font-sans);
  color: var(--color-text-main);
}

.product-accordion {
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  margin: 0 0 var(--space-4);
  overflow: hidden;
}

.product-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 58px;
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  list-style: none;
  background: var(--color-bg-softer);
  border-bottom: 0;
}

.product-accordion__summary::-webkit-details-marker {
  display: none;
}

.product-accordion__title {
  margin: 0;
  font-size: var(--font-size-lg);
  line-height: 1.3;
  font-weight: var(--font-weight-semibold);
  color: var(--color-header-dark);
}

.product-accordion__icon {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.product-accordion[open] .product-accordion__icon {
  transform: rotate(-135deg);
}

.product-accordion__panel {
  padding: var(--space-5);
  background: var(--color-surface);
}

/* =========================================
   OMSCHRIJVING
   ========================================= */

.product-accordion__description,
.product-description-flow {
  width: 100%;
  font-size: var(--font-size-md);
  line-height: 1.65;
  color: var(--color-text-main);
}

.product-accordion__description h1,
.product-accordion__description h2,
.product-accordion__description h3,
.product-accordion__description h4,
.product-description-flow h1,
.product-description-flow h2,
.product-description-flow h3,
.product-description-flow h4 {
  margin: var(--space-5) 0 var(--space-3);
  font-size: var(--font-size-lg);
  line-height: 1.35;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
}

.product-accordion__description > :first-child,
.product-description-flow > :first-child {
  margin-top: 0;
}

.product-accordion__description > :last-child,
.product-description-flow > :last-child {
  margin-bottom: 0;
}

.product-accordion__description p,
.product-description-flow p {
  margin: 0 0 var(--space-4);
}

.product-accordion__description ul,
.product-accordion__description ol,
.product-description-flow ul,
.product-description-flow ol {
  margin: 0 0 var(--space-4) var(--space-5);
  padding: 0;
}

/* =========================================
   PRODUCTSPECIFICATIES
   ========================================= */

.product-specs {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.product-specs__group {
  margin: 0 0 var(--space-7);
  padding: 0;
  border: 0;
  background: transparent;
}

.product-specs__group:last-child {
  margin-bottom: 0;
}

.product-specs__group-title {
  margin: 0 0 var(--space-3);
  padding: 0;
  font-size: var(--font-size-md);
  line-height: 1.35;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-main);
}

.product-specs__rows {
  display: block !important;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border-subtle);
}

.product-specs__row {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin: 0 !important;
  padding: var(--space-3) 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--color-border-subtle) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: var(--color-surface);
  box-sizing: border-box;
  float: none !important;
  clear: both !important;
}

.product-specs__row:hover {
  background: var(--color-bg-softer);
}

.product-specs__row:last-child {
  border-bottom: 0 !important;
}

.product-specs__name,
.product-specs__label {
  margin: 0;
  padding: 0;
  font-size: var(--font-size-base);
  line-height: 1.4;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
}

.product-specs__value {
  margin: 0;
  padding: 0;
  /*font-size: var(--font-size-md);*/
  line-height: 1.4;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-main);
}

/* Oude tabel-styling neutraliseren binnen productspecificaties */

.product-specs table,
.product-accordion .attribute,
.product-accordion .attribute table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 0;
  background: transparent;
}

.product-specs td,
.product-specs th,
.product-accordion .attribute td,
.product-accordion .attribute th {
  padding: var(--space-3) 0;
  border: 0;
  border-bottom: 1px solid var(--color-border-subtle);
  font-size: var(--font-size-md);
  line-height: 1.4;
  vertical-align: middle;
  font-weight: var(--font-weight-regular);
}

.product-specs tr:hover,
.product-accordion .attribute tr:hover {
  background: var(--color-bg-softer);
}

.product-specs tr:last-child td,
.product-specs tr:last-child th,
.product-accordion .attribute tr:last-child td,
.product-accordion .attribute tr:last-child th {
  border-bottom: 0;
}

/* =========================================
   GESCHIKT VOOR DEZE PRINTERS
   ========================================= */

.product-printers,
.product-compat,
.compat-list {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.product-printers__list,
.product-compat__list,
.compat-list__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-printers__list a,
.product-compat__list a,
.compat-list__items a {
  font-size: var(--font-size-md);
  line-height: 1.45;
  color: var(--color-accent);
  text-decoration: none;
}



/* PDP specificaties: Standaard / Uitgebreid – segmented toggle */
.product-specs-mode {
  margin-bottom: var(--space-4, 16px);
}

.product-specs-mode::before {
  content: attr(aria-label);
  display: block;
  margin-bottom: 6px;
  color: var(--color-text-soft, #4b5563);
  font-size: var(--font-size-xs, 12px);
  font-weight: var(--font-weight-medium, 500);
}

.product-specs-mode__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.product-specs-mode__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0;
  padding: 7px 15px;
  border: 1px solid var(--color-border-soft, #d1d5db);
  background: var(--color-bg-softer, #f9fafb);
  color: var(--color-text-soft, #4b5563);
  font-size: var(--font-size-sm, 13px);
  font-weight: var(--font-weight-medium, 500);
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.product-specs-mode__input--standard + .product-specs-mode__button {
  border-radius: var(--radius-pill, 999px) 0 0 var(--radius-pill, 999px);
}

.product-specs-mode__input--extended + .product-specs-mode__button {
  border-left: 0;
  border-radius: 0 var(--radius-pill, 999px) var(--radius-pill, 999px) 0;
}

.product-specs-mode__button:hover {
  background: var(--color-bg-soft, #f5f7fa);
  color: var(--color-text-main, #111827);
}

.product-specs-mode__input:focus-visible + .product-specs-mode__button {
  outline: 2px solid var(--color-accent, #2563eb);
  outline-offset: 2px;
  position: relative;
  z-index: 2;
}

.product-specs-mode__input:checked + .product-specs-mode__button {
  background: var(--color-neutral-strong, #111827);
  border-color: var(--color-neutral-strong, #111827);
  color: var(--color-text-invert, #ffffff);
  box-shadow: 0 1px 2px rgba(17,24,39,.14);
  position: relative;
  z-index: 1;
}

.product-specs-panels {
  margin-top: var(--space-4, 16px);
}

.product-specs-panel {
  display: none;
}

.product-specs-mode__input--standard:checked ~ .product-specs-panels .product-specs-panel--standard,
.product-specs-mode__input--extended:checked ~ .product-specs-panels .product-specs-panel--extended {
  display: block;
}

/* PDP specificaties toggle v4: compacter en minder formulierachtig */
.product-specs-mode {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  margin: -2px 0 var(--space-5, 20px);
}

.product-specs-mode::before {
  content: none;
}

.product-specs-mode__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.product-specs-mode__button {
  min-width: 92px;
  min-height: 30px;
  padding: 5px 13px;
  border: 1px solid var(--color-border-soft, #d1d5db);
  background: #ffffff;
  color: var(--color-text-soft, #4b5563);
  font-size: 12px;
  font-weight: var(--font-weight-semibold, 600);
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  text-align: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.product-specs-mode__input--standard + .product-specs-mode__button {
  border-radius: var(--radius-pill, 999px) 0 0 var(--radius-pill, 999px);
}

.product-specs-mode__input--extended + .product-specs-mode__button {
  margin-left: -1px;
  border-left: 1px solid var(--color-border-soft, #d1d5db);
  border-radius: 0 var(--radius-pill, 999px) var(--radius-pill, 999px) 0;
}

.product-specs-mode__button:hover {
  background: var(--color-bg-softer, #f9fafb);
  color: var(--color-text-main, #111827);
}

.product-specs-mode__input:checked + .product-specs-mode__button {
  background: var(--color-header-dark, #374151);
  border-color: var(--color-header-dark, #374151);
  color: var(--color-text-invert, #ffffff);
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.product-specs-mode__input:focus-visible + .product-specs-mode__button {
  outline: 2px solid var(--color-accent, #2563eb);
  outline-offset: 2px;
  position: relative;
  z-index: 2;
}

.product-specs-panels {
  flex: 0 0 100%;
  width: 100%;
  margin-top: var(--space-3, 12px);
}

@media (max-width: 640px) {
  .product-specs-mode {
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: var(--space-4, 16px);
  }

  .product-specs-mode__button {
    flex: 1 1 0;
    min-width: 0;
  }
}


/* =========================================
   MOBIEL
   ========================================= */

@media (max-width: 767px) {
  .product-details {
    margin-top: var(--space-5);
  }

  .product-accordion {
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
  }

  .product-accordion__summary {
    min-height: 54px;
    padding: var(--space-3) var(--space-4);
  }

  .product-accordion__title {
    font-size: var(--font-size-base);
  }

  .product-accordion__panel {
    padding: var(--space-4);
  }

  .product-specs__group {
    margin-bottom: var(--space-6);
  }

  .product-specs__group-title {
    margin-bottom: var(--space-2);
    font-size: var(--font-size-md);
  }

  .product-specs__row {
    grid-template-columns: 1fr !important;
    gap: var(--space-1);
    min-height: 0;
    padding: var(--space-3) 0 !important;
  }

  .product-specs__name,
  .product-specs__label,
  .product-specs__value {
    font-size: var(--font-size-base);
  }

  .product-printers__list,
  .product-compat__list,
  .compat-list__items {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

/* Attribute help icon / tooltip */
.product-specs__label {
  position: relative;
}

.product-specs__help-wrap {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  vertical-align: middle;
}

.product-specs__help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #fff;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  cursor: help;
}

.product-specs__help:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Originele popover blijft in de DOM, maar wordt niet direct als tooltip gebruikt */
.product-specs__help-popover {
  display: none;
}

/* JS maakt deze globale popover aan */
.product-specs-help-floating {
  position: fixed;
  z-index: 999999;
  display: none;
  width: 280px;
  max-width: calc(100vw - 32px);
  padding: 10px 12px;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  color: #222;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
  pointer-events: none;
}

.product-specs-help-floating.is-visible {
  display: block;
}

@media (max-width: 640px) {
  .product-specs-help-floating {
    left: 12px !important;
    right: 12px !important;
    top: 12px !important;
    bottom: auto !important;
    width: auto;
    max-width: none;
    max-height: 50vh;
    overflow-y: auto;
    transform: none;
    padding: 13px 15px;
    border-radius: 8px;
    pointer-events: auto;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  }
}


/* Fix: voorkom scrollsprong bij wisselen Standaard / Uitgebreid */
.product-specs,
.product-specs-mode,
.product-specs-panels,
.product-specs-panel {
  overflow-anchor: none;
}

/* Fix: voorkom dat browser automatisch scrollt bij openen <details> accordion */
.product-accordion,
.product-accordion__panel,
.product-accordion__summary {
  overflow-anchor: none;
}

/* =========================================
   FAQ ACCORDEON IN ACCORDEON
   ========================================= */

/* Buitenste FAQ accordeon: zelfde stijl als andere blokken, geen aanpassing nodig */

/* Binnenste FAQ items: lichter, minder druk */
.product-accordion--faq {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border-subtle);
  border-radius: 0;
  margin: 0;
  overflow: visible;
}

.product-accordion--faq:last-child {
  border-bottom: none;
}

.product-accordion--faq .product-accordion__summary {
  min-height: 44px;
  padding: var(--space-3) var(--space-2);
  background: transparent;
  border-bottom: 0;
}

.product-accordion--faq[open] .product-accordion__summary {
  border-bottom: none;
}

.product-accordion--faq .product-accordion__title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-main);
}

.product-accordion--faq .product-accordion__icon--faq {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-color: var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.product-accordion--faq[open] .product-accordion__icon--faq {
  transform: rotate(-135deg);
}

.product-accordion--faq .product-accordion__panel {
  padding: 0 var(--space-2) var(--space-3) var(--space-2);
  background: transparent;
  font-size: var(--font-size-md);
  line-height: 1.6;
  color: var(--color-text-main);
}

.product-accordion--faq .product-accordion__panel a {
  color: var(--color-accent);
  text-decoration: underline;
}

.pdp-faq {
  padding: var(--space-2) 0;
}

/* =========================================================
   Verzendlabels: gekoppelde vervoerders in description-accordion
   ========================================================= */
.pdp-carriers{
  margin-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
}

.pdp-carriers__title{
  padding: 0 0 var(--space-1);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1.35;
  color: var(--color-text-main);
}

.pdp-carriers__list{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.pdp-carrier-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text-main);
  text-decoration: none !important;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .10s ease;
}

.pdp-carrier-pill:hover{
  border-color: var(--color-accent);
  background: var(--color-bg-soft);
  color: var(--color-text-main);
  transform: translateY(-1px);
}

.pdp-carrier-pill:active{
  transform: translateY(0);
}

.pdp-carrier-pill:focus-visible{
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.pdp-carrier-pill__logo{
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-bg-soft);
}

.pdp-carrier-pill__logo img{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 116%;
  height: 116%;
  max-width: none;
  object-fit: cover;
  transform: translate(-50%, -50%);
  display: block;
}

.pdp-carrier-pill__name{
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce){
  .pdp-carrier-pill{
    transition: none;
  }
  .pdp-carrier-pill:hover,
  .pdp-carrier-pill:active{
    transform: none;
  }
}
