/*
  Tegeloutlet Product Page Enhancer v1.14.0
  Doel: productpagina visueel optillen zonder prijs/calculator/volumekorting-logica te raken.
*/

body.to-product-enhanced{
  --to-ppe-magenta:#c7017f;
  --to-ppe-teal:#00a3a6;
  --to-ppe-black:#000;
  --to-ppe-ink:#111418;
  --to-ppe-muted:#5d6874;
  --to-ppe-soft:#f6f8f9;
  --to-ppe-soft-teal:rgba(0,163,166,.07);
  --to-ppe-soft-magenta:rgba(199,1,127,.06);
  --to-ppe-border:rgba(16,20,24,.10);
  --to-ppe-border-soft:rgba(16,20,24,.075);
  --to-ppe-shadow:0 18px 45px rgba(0,0,0,.075);
  --to-ppe-shadow-soft:0 10px 28px rgba(0,0,0,.055);
  background:
    radial-gradient(circle at 8% 5%, rgba(0,163,166,.055), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(199,1,127,.045), transparent 26rem),
    #fff;
}

body.to-product-enhanced.single-product .content-area{
  margin-top:2rem;
}

body.to-product-enhanced.single-product div.product{
  position:relative;
  padding-top:10px;
}

/* Bovenblok visueel rustiger maken zonder de WooCommerce/custom plugin structuur te vervangen */
body.to-product-enhanced.single-product div.product .woocommerce-product-gallery,
body.to-product-enhanced.single-product div.product .entry-summary{
  position:relative;
}

/* Grote productafbeelding */
body.to-product-enhanced.single-product .woocommerce-product-gallery{
  background:linear-gradient(180deg,#fff,var(--to-ppe-soft));
  border:1px solid var(--to-ppe-border-soft);
  border-radius:22px;
  padding:14px;
  box-shadow:var(--to-ppe-shadow);
  overflow:hidden;
  isolation:isolate;
}

body.to-product-enhanced.single-product .woocommerce-product-gallery:before{
  content:"";
  position:absolute;
  right:-70px;
  top:-70px;
  width:210px;
  height:210px;
  background-image:var(--to-ppe-logo);
  background-repeat:no-repeat;
  background-size:contain;
  opacity:.035;
  transform:rotate(-10deg);
  pointer-events:none;
  z-index:0;
}

body.to-product-enhanced.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{
  position:relative;
  z-index:1;
  margin:0;
}

body.to-product-enhanced.single-product .woocommerce-product-gallery__image,
body.to-product-enhanced.single-product .woocommerce-product-gallery__image a,
body.to-product-enhanced.single-product .woocommerce-product-gallery__image img{
  border-radius:18px !important;
}

body.to-product-enhanced.single-product .woocommerce-product-gallery__image img{
  width:100% !important;
  display:block;
  object-fit:cover;
  box-shadow:none !important;
}

/* Zoom icoon subtieler */
body.to-product-enhanced.single-product .woocommerce-product-gallery__trigger{
  top:18px !important;
  right:18px !important;
  width:38px !important;
  height:38px !important;
  border-radius:999px !important;
  background:#fff !important;
  border:1px solid rgba(0,0,0,.08) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.10) !important;
}

/* Thumbnails */
body.to-product-enhanced.single-product .woocommerce-product-gallery .flex-control-thumbs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:13px 0 0 !important;
  padding:0 !important;
}

body.to-product-enhanced.single-product .woocommerce-product-gallery .flex-control-thumbs li{
  width:auto !important;
  float:none !important;
  margin:0 !important;
  padding:0 !important;
}

body.to-product-enhanced.single-product .woocommerce-product-gallery .flex-control-thumbs img{
  width:64px !important;
  height:64px !important;
  object-fit:cover;
  border-radius:13px !important;
  border:1px solid rgba(0,0,0,.10);
  opacity:.72;
  transition:opacity .16s ease, transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

body.to-product-enhanced.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover,
body.to-product-enhanced.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active{
  opacity:1;
  transform:translateY(-1px);
  border-color:rgba(0,163,166,.45);
  box-shadow:0 8px 18px rgba(0,163,166,.12);
}

/* Summary als rustige kolom, zonder prijs/calculator classes te forceren */
body.to-product-enhanced.single-product div.product .entry-summary{
  background:linear-gradient(180deg,#fff,rgba(246,248,249,.75));
  border:1px solid var(--to-ppe-border-soft);
  border-radius:22px;
  padding:20px;
  box-shadow:var(--to-ppe-shadow-soft);
  overflow:hidden;
}

body.to-product-enhanced.single-product div.product .entry-summary:before{
  content:"";
  display:block;
  height:4px;
  margin:-20px -20px 16px;
  background:linear-gradient(90deg,var(--to-ppe-teal),var(--to-ppe-magenta));
}

body.to-product-enhanced.single-product .product_title{
  font-weight:950;
  letter-spacing:-.045em;
  line-height:1.03;
  margin-bottom:10px !important;
}

body.to-product-enhanced.single-product .woocommerce-product-details__short-description{
  padding:13px 14px;
  margin:12px 0 14px !important;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--to-ppe-border-soft);
  color:#222;
  line-height:1.62;
  box-shadow:0 8px 22px rgba(0,0,0,.035);
}

body.to-product-enhanced.single-product .woocommerce-product-details__short-description p:last-child{
  margin-bottom:0;
}

/* Eigenschappenblok onder gallery iets premiumer */
body.to-product-enhanced.single-product .totb-single-badges{
  border-radius:18px !important;
  border-color:rgba(0,163,166,.13) !important;
  box-shadow:0 12px 30px rgba(0,0,0,.055) !important;
  background:linear-gradient(180deg,#fff,rgba(0,163,166,.025)) !important;
}

/* Tabs/omschrijving */
body.to-product-enhanced.single-product .woocommerce-tabs{
  position:relative;
  clear:both;
  margin-top:30px;
  padding:22px;
  border:1px solid var(--to-ppe-border-soft);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--to-ppe-shadow-soft);
  overflow:hidden;
}

body.to-product-enhanced.single-product .woocommerce-tabs:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,var(--to-ppe-teal),var(--to-ppe-magenta));
}

body.to-product-enhanced.single-product .woocommerce-tabs ul.tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 18px !important;
  padding:0 !important;
  border:0 !important;
}

body.to-product-enhanced.single-product .woocommerce-tabs ul.tabs:before,
body.to-product-enhanced.single-product .woocommerce-tabs ul.tabs:after,
body.to-product-enhanced.single-product .woocommerce-tabs ul.tabs li:before,
body.to-product-enhanced.single-product .woocommerce-tabs ul.tabs li:after{
  display:none !important;
}

body.to-product-enhanced.single-product .woocommerce-tabs ul.tabs li{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

body.to-product-enhanced.single-product .woocommerce-tabs ul.tabs li a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 13px !important;
  border-radius:999px;
  border:1px solid var(--to-ppe-border);
  background:var(--to-ppe-soft);
  color:var(--to-ppe-ink) !important;
  font-size:13px;
  font-weight:900;
  text-decoration:none !important;
}

body.to-product-enhanced.single-product .woocommerce-tabs ul.tabs li.active a{
  background:var(--to-ppe-soft-teal);
  border-color:rgba(0,163,166,.35);
  color:#006f72 !important;
}

body.to-product-enhanced.single-product .woocommerce-Tabs-panel{
  max-width:100%;
  margin:0 !important;
  padding:0 !important;
  color:#24272b;
  line-height:1.72;
}

body.to-product-enhanced.single-product .woocommerce-Tabs-panel h2:first-child{
  display:none;
}

body.to-product-enhanced.single-product .woocommerce-Tabs-panel p{
  max-width:92ch;
}

body.to-product-enhanced.single-product .woocommerce-Tabs-panel ul{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 18px;
  margin:14px 0 4px 0;
  padding:0;
  list-style:none;
}

body.to-product-enhanced.single-product .woocommerce-Tabs-panel ul li{
  position:relative;
  padding:10px 12px 10px 34px;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  background:linear-gradient(180deg,#fff,var(--to-ppe-soft));
  font-weight:650;
}

body.to-product-enhanced.single-product .woocommerce-Tabs-panel ul li:before{
  content:"";
  position:absolute;
  left:13px;
  top:17px;
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--to-ppe-teal);
  box-shadow:0 0 0 4px rgba(0,163,166,.10);
}

/* Extra headings in product content */
body.to-product-enhanced.single-product .entry-content h2,
body.to-product-enhanced.single-product .entry-content h3{
  letter-spacing:-.025em;
}

/* Suggesties en related/upsells */
body.to-product-enhanced.single-product .up-sells,
body.to-product-enhanced.single-product .related.products{
  clear:both;
  margin-top:28px;
  padding:22px;
  border-radius:22px;
  border:1px solid var(--to-ppe-border-soft);
  background:
    linear-gradient(135deg, rgba(0,163,166,.055), transparent 38%),
    linear-gradient(315deg, rgba(199,1,127,.045), transparent 36%),
    #fff;
  box-shadow:var(--to-ppe-shadow-soft);
  overflow:hidden;
}

body.to-product-enhanced.single-product .up-sells > h2,
body.to-product-enhanced.single-product .related.products > h2{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 22px !important;
  font-size:26px;
  line-height:1.1;
  font-weight:950;
  letter-spacing:-.035em;
}

body.to-product-enhanced.single-product .up-sells > h2:before,
body.to-product-enhanced.single-product .related.products > h2:before{
  content:none !important;
  display:none !important;
}

body.to-product-enhanced.single-product .up-sells > h2,
body.to-product-enhanced.single-product .related.products > h2{
  position:relative;
  padding-left:0;
}

body.to-product-enhanced.single-product .up-sells > h2:after,
body.to-product-enhanced.single-product .related.products > h2:after{
  content:"";
  display:block;
  width:54px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--to-ppe-teal),var(--to-ppe-magenta));
  position:absolute;
  left:0;
  bottom:-8px;
}

body.to-product-enhanced.single-product .up-sells ul.products,
body.to-product-enhanced.single-product .related.products ul.products{
  margin-bottom:0 !important;
}

body.to-product-enhanced.single-product .up-sells ul.products li.product,
body.to-product-enhanced.single-product .related.products ul.products li.product{
  border-radius:17px !important;
  border-color:rgba(16,20,24,.09) !important;
  box-shadow:0 10px 26px rgba(0,0,0,.055) !important;
  overflow:hidden !important;
}

body.to-product-enhanced.single-product .up-sells ul.products li.product:hover,
body.to-product-enhanced.single-product .related.products ul.products li.product:hover{
  border-color:rgba(0,163,166,.34) !important;
  box-shadow:0 16px 34px rgba(0,0,0,.085) !important;
}

body.to-product-enhanced.single-product .up-sells ul.products li.product img,
body.to-product-enhanced.single-product .related.products ul.products li.product img{
  border-radius:0 !important;
}

/* Winkels/contactblokken onderaan optisch scheiden indien aanwezig */
body.to-product-enhanced.single-product .to-store-card,
body.to-product-enhanced.single-product [class*="winkel"]:where(section,div){
  scroll-margin-top:120px;
}

/* Mobile */
@media (max-width:1024px){
  body.to-product-enhanced.single-product div.product .entry-summary{
    padding:18px;
  }
  body.to-product-enhanced.single-product div.product .entry-summary:before{
    margin:-18px -18px 14px;
  }
  body.to-product-enhanced.single-product .woocommerce-tabs,
  body.to-product-enhanced.single-product .up-sells,
  body.to-product-enhanced.single-product .related.products{
    padding:18px;
  }
}

@media (max-width:768px){
  body.to-product-enhanced.single-product .content-area{
    margin-top:1.2rem;
    margin-bottom:1.25rem;
  }

  body.to-product-enhanced.single-product .woocommerce-product-gallery{
    padding:10px;
    border-radius:18px;
    box-shadow:0 10px 28px rgba(0,0,0,.06);
  }

  body.to-product-enhanced.single-product .woocommerce-product-gallery__image,
  body.to-product-enhanced.single-product .woocommerce-product-gallery__image a,
  body.to-product-enhanced.single-product .woocommerce-product-gallery__image img{
    border-radius:15px !important;
  }

  body.to-product-enhanced.single-product .woocommerce-product-gallery .flex-control-thumbs{
    gap:8px;
    margin-top:10px !important;
  }

  body.to-product-enhanced.single-product .woocommerce-product-gallery .flex-control-thumbs img{
    width:54px !important;
    height:54px !important;
    border-radius:11px !important;
  }

  body.to-product-enhanced.single-product div.product .entry-summary{
    margin-top:16px;
    border-radius:18px;
    padding:16px;
  }

  body.to-product-enhanced.single-product div.product .entry-summary:before{
    margin:-16px -16px 13px;
  }

  body.to-product-enhanced.single-product .woocommerce-product-details__short-description{
    padding:12px;
    border-radius:14px;
  }

  body.to-product-enhanced.single-product .woocommerce-tabs,
  body.to-product-enhanced.single-product .up-sells,
  body.to-product-enhanced.single-product .related.products{
    margin-top:20px;
    padding:15px;
    border-radius:18px;
  }

  body.to-product-enhanced.single-product .woocommerce-tabs ul.tabs{
    gap:7px;
    margin-bottom:14px !important;
  }

  body.to-product-enhanced.single-product .woocommerce-tabs ul.tabs li a{
    min-height:32px;
    padding:0 11px !important;
    font-size:12px;
  }

  body.to-product-enhanced.single-product .woocommerce-Tabs-panel ul{
    grid-template-columns:1fr;
    gap:8px;
  }

  body.to-product-enhanced.single-product .up-sells > h2,
  body.to-product-enhanced.single-product .related.products > h2{
    font-size:22px;
    margin-bottom:20px !important;
  }
}

@media (max-width:480px){
  body.to-product-enhanced.single-product .woocommerce-product-gallery .flex-control-thumbs img{
    width:48px !important;
    height:48px !important;
  }
}


/* v1.2: extra ademruimte bovenaan */
body.to-product-enhanced.single-product .content-area{
  margin-top:2.75rem;
}

/* v1.2: WooCommerce PhotoSwipe moet boven de sticky header zitten */
body.to-product-enhanced .pswp,
body.to-product-enhanced .pswp--open{
  z-index:2147483000 !important;
  top:0 !important;
}
body.to-product-enhanced .pswp__bg,
body.to-product-enhanced .pswp__scroll-wrap{
  top:0 !important;
}
body.to-product-enhanced.to-ppe-pswp-active #masthead,
body.to-product-enhanced.to-ppe-pswp-active .site-header,
body.to-product-enhanced.to-ppe-pswp-active .kadence-sticky-header,
body.to-product-enhanced.to-ppe-pswp-active .site-main-header-wrap,
body.to-product-enhanced.to-ppe-pswp-active .site-top-header-wrap,
body.to-product-enhanced.to-ppe-pswp-active .site-bottom-header-wrap{
  z-index:10 !important;
}

/* v1.2: product-USP's subtiel bovenaan de beschrijving zetten */
body.to-product-enhanced.single-product .to-ppe-usp-strip{
  margin:0 0 18px !important;
  padding:13px 14px !important;
  border-radius:16px !important;
  border:1px solid rgba(0,163,166,.16) !important;
  background:linear-gradient(135deg, rgba(0,163,166,.055), rgba(255,255,255,.96) 46%, rgba(199,1,127,.025)) !important;
  box-shadow:0 8px 22px rgba(0,0,0,.035) !important;
}
body.to-product-enhanced.single-product .to-ppe-usp-title{
  display:block !important;
  margin:0 0 10px !important;
  font-size:12px !important;
  line-height:1 !important;
  font-weight:950 !important;
  letter-spacing:.045em !important;
  text-transform:uppercase !important;
  color:#008e91 !important;
}

/* Reset de oude grote kaarten voor gewone lijsten in de beschrijving */
body.to-product-enhanced.single-product .woocommerce-Tabs-panel ul:not(.to-ppe-usp-list){
  display:block !important;
  grid-template-columns:none !important;
  gap:0 !important;
  margin:12px 0 14px 1.15em !important;
  padding:0 !important;
  list-style:disc !important;
}
body.to-product-enhanced.single-product .woocommerce-Tabs-panel ul:not(.to-ppe-usp-list) li{
  display:list-item !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  font-weight:inherit !important;
  margin:4px 0 !important;
}
body.to-product-enhanced.single-product .woocommerce-Tabs-panel ul:not(.to-ppe-usp-list) li:before{
  display:none !important;
}

body.to-product-enhanced.single-product .woocommerce-Tabs-panel .to-ppe-usp-list{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
body.to-product-enhanced.single-product .woocommerce-Tabs-panel .to-ppe-usp-list li{
  position:relative !important;
  padding:9px 11px 9px 28px !important;
  border:1px solid rgba(0,0,0,.07) !important;
  border-radius:12px !important;
  background:rgba(255,255,255,.88) !important;
  font-size:13.5px !important;
  line-height:1.35 !important;
  font-weight:800 !important;
  color:#1c2024 !important;
  margin:0 !important;
}
body.to-product-enhanced.single-product .woocommerce-Tabs-panel .to-ppe-usp-list li:before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  left:11px !important;
  top:15px !important;
  width:6px !important;
  height:6px !important;
  border-radius:999px !important;
  background:var(--to-ppe-teal) !important;
  box-shadow:0 0 0 3px rgba(0,163,166,.10) !important;
}
@media (max-width:768px){
  body.to-product-enhanced.single-product .content-area{ margin-top:1.5rem; }
  body.to-product-enhanced.single-product .woocommerce-Tabs-panel .to-ppe-usp-list{
    grid-template-columns:1fr !important;
  }
  body.to-product-enhanced.single-product .to-ppe-usp-strip{
    margin-bottom:14px !important;
    padding:12px !important;
  }
}


/* v1.3: PhotoSwipe visueel premiumer maken */
body.to-product-enhanced.single-product .pswp{
  font-family:Objectivity, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}
body.to-product-enhanced.single-product .pswp__bg{
  background:
    radial-gradient(circle at 16% 10%, rgba(0,163,166,.22), transparent 34rem),
    radial-gradient(circle at 88% 16%, rgba(199,1,127,.20), transparent 32rem),
    rgba(2,3,5,.92) !important;
  opacity:1 !important;
}
body.to-product-enhanced.single-product .pswp__top-bar{
  top:18px !important;
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%) !important;
  width:auto !important;
  min-width:190px !important;
  height:46px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.94) !important;
  border:1px solid rgba(255,255,255,.30) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.28) !important;
  backdrop-filter:blur(10px) saturate(1.2) !important;
}
body.to-product-enhanced.single-product .pswp__counter{
  position:static !important;
  height:auto !important;
  min-width:58px !important;
  padding:0 12px !important;
  color:#111 !important;
  font-size:13px !important;
  font-weight:900 !important;
  line-height:1 !important;
  opacity:1 !important;
}
body.to-product-enhanced.single-product .pswp__button{
  opacity:1 !important;
  border-radius:999px !important;
  transition:transform .15s ease, background .15s ease, opacity .15s ease !important;
}
body.to-product-enhanced.single-product .pswp__button:hover{
  transform:translateY(-1px) !important;
}
body.to-product-enhanced.single-product .pswp__button--close{
  background-color:rgba(199,1,127,.96) !important;
  background-position:0 -44px !important;
  box-shadow:0 12px 26px rgba(199,1,127,.25) !important;
}
body.to-product-enhanced.single-product .pswp__button--zoom,
body.to-product-enhanced.single-product .pswp__button--share,
body.to-product-enhanced.single-product .pswp__button--fs{
  display:none !important;
}
body.to-product-enhanced.single-product .pswp__button--arrow--left,
body.to-product-enhanced.single-product .pswp__button--arrow--right{
  width:54px !important;
  height:54px !important;
  margin-top:-27px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.94) !important;
  border:1px solid rgba(255,255,255,.28) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.28) !important;
  backdrop-filter:blur(10px) saturate(1.2) !important;
}
body.to-product-enhanced.single-product .pswp__button--arrow--left{ left:24px !important; }
body.to-product-enhanced.single-product .pswp__button--arrow--right{ right:24px !important; }
body.to-product-enhanced.single-product .pswp__button--arrow--left:before,
body.to-product-enhanced.single-product .pswp__button--arrow--right:before{
  top:16px !important;
  width:18px !important;
  height:18px !important;
  border:solid #111 !important;
  border-width:0 3px 3px 0 !important;
  background:none !important;
  opacity:1 !important;
}
body.to-product-enhanced.single-product .pswp__button--arrow--left:before{
  left:21px !important;
  transform:rotate(135deg) !important;
}
body.to-product-enhanced.single-product .pswp__button--arrow--right:before{
  right:21px !important;
  transform:rotate(-45deg) !important;
}
body.to-product-enhanced.single-product .pswp__caption{
  min-height:0 !important;
}
body.to-product-enhanced.single-product .pswp__caption__center{
  max-width:820px !important;
  margin:0 auto 20px !important;
  padding:10px 16px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.92) !important;
  color:#111 !important;
  text-align:center !important;
  font-size:13px !important;
  font-weight:850 !important;
  box-shadow:0 12px 30px rgba(0,0,0,.20) !important;
}
body.to-product-enhanced.single-product .pswp__img{
  border-radius:18px !important;
  box-shadow:0 24px 70px rgba(0,0,0,.42) !important;
}
@media (max-width:768px){
  body.to-product-enhanced.single-product .pswp__top-bar{
    top:12px !important;
    height:42px !important;
    min-width:158px !important;
  }
  body.to-product-enhanced.single-product .pswp__counter{ font-size:12px !important; }
  body.to-product-enhanced.single-product .pswp__button--arrow--left,
  body.to-product-enhanced.single-product .pswp__button--arrow--right{
    width:44px !important;
    height:44px !important;
    margin-top:-22px !important;
  }
  body.to-product-enhanced.single-product .pswp__button--arrow--left{ left:10px !important; }
  body.to-product-enhanced.single-product .pswp__button--arrow--right{ right:10px !important; }
  body.to-product-enhanced.single-product .pswp__button--arrow--left:before{ left:17px !important; top:13px !important; }
  body.to-product-enhanced.single-product .pswp__button--arrow--right:before{ right:17px !important; top:13px !important; }
  body.to-product-enhanced.single-product .pswp__caption__center{
    margin-bottom:12px !important;
    max-width:calc(100vw - 28px) !important;
  }
}

/* v1.3: voordelen/USP-strip nog subtieler */
body.to-product-enhanced.single-product .to-ppe-usp-strip{
  margin:0 0 18px !important;
  padding:12px !important;
  border-radius:15px !important;
  background:rgba(0,163,166,.035) !important;
  border:1px solid rgba(0,163,166,.13) !important;
  box-shadow:none !important;
}
body.to-product-enhanced.single-product .to-ppe-usp-title{
  margin-bottom:9px !important;
  color:#007f82 !important;
  font-size:11px !important;
}
body.to-product-enhanced.single-product .woocommerce-Tabs-panel .to-ppe-usp-list{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:7px !important;
}
body.to-product-enhanced.single-product .woocommerce-Tabs-panel .to-ppe-usp-list li{
  display:inline-flex !important;
  align-items:center !important;
  width:auto !important;
  max-width:100% !important;
  min-height:30px !important;
  padding:7px 10px 7px 24px !important;
  border-radius:999px !important;
  background:#fff !important;
  border:1px solid rgba(0,0,0,.075) !important;
  font-size:12.5px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}
body.to-product-enhanced.single-product .woocommerce-Tabs-panel .to-ppe-usp-list li:before{
  left:10px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:5px !important;
  height:5px !important;
  box-shadow:0 0 0 3px rgba(0,163,166,.09) !important;
}


/* v1.4: PhotoSwipe top controls cleaner: no large white pill */
body.to-product-enhanced.single-product .pswp__top-bar{
  top:18px !important;
  left:0 !important;
  right:0 !important;
  transform:none !important;
  width:100% !important;
  min-width:0 !important;
  height:0 !important;
  display:block !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  overflow:visible !important;
}
body.to-product-enhanced.single-product .pswp__counter{
  position:fixed !important;
  top:18px !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  height:34px !important;
  min-width:0 !important;
  padding:0 13px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.92) !important;
  border:1px solid rgba(255,255,255,.35) !important;
  color:#111 !important;
  box-shadow:0 10px 26px rgba(0,0,0,.22) !important;
}
body.to-product-enhanced.single-product .pswp__button--close{
  position:fixed !important;
  top:14px !important;
  right:22px !important;
  width:42px !important;
  height:42px !important;
  background-color:rgba(199,1,127,.96) !important;
  background-position:0 -44px !important;
  border:1px solid rgba(255,255,255,.30) !important;
  box-shadow:0 12px 28px rgba(0,0,0,.24) !important;
}
body.to-product-enhanced.single-product .pswp__button--close:hover{
  background-color:#c7017f !important;
  transform:translateY(-1px) scale(1.02) !important;
}

/* v1.4: voorlopig geen automatische pluspuntenstrip tonen */
body.to-product-enhanced.single-product .to-ppe-usp-strip{
  display:none !important;
}

/* v1.4: beschrijving mag de beschikbare breedte beter gebruiken */
body.to-product-enhanced.single-product .woocommerce-Tabs-panel{
  width:100% !important;
}
body.to-product-enhanced.single-product .woocommerce-Tabs-panel p{
  max-width:118ch !important;
}
body.to-product-enhanced.single-product .woocommerce-tabs .panel,
body.to-product-enhanced.single-product .woocommerce-Tabs-panel--description{
  max-width:none !important;
}

/* v1.4: mobiel minder ruimte verliezen aan zijkanten */
@media (max-width:768px){
  body.to-product-enhanced.single-product .content-container.site-container,
  body.to-product-enhanced.single-product .site-container,
  body.to-product-enhanced.single-product .entry-content-wrap{
    padding-left:10px !important;
    padding-right:10px !important;
  }
  body.to-product-enhanced.single-product .woocommerce-product-gallery,
  body.to-product-enhanced.single-product div.product .entry-summary,
  body.to-product-enhanced.single-product .woocommerce-tabs,
  body.to-product-enhanced.single-product .up-sells,
  body.to-product-enhanced.single-product .related.products{
    padding-left:10px !important;
    padding-right:10px !important;
    border-radius:16px !important;
  }
  body.to-product-enhanced.single-product div.product .entry-summary:before{
    margin-left:-10px !important;
    margin-right:-10px !important;
  }
  body.to-product-enhanced.single-product .woocommerce-tabs{
    margin-left:0 !important;
    margin-right:0 !important;
  }
  body.to-product-enhanced.single-product .woocommerce-Tabs-panel p{
    max-width:100% !important;
  }
  body.to-product-enhanced.single-product .pswp__counter{
    top:12px !important;
    height:30px !important;
    font-size:11.5px !important;
    padding:0 10px !important;
  }
  body.to-product-enhanced.single-product .pswp__button--close{
    top:8px !important;
    right:10px !important;
    width:38px !important;
    height:38px !important;
  }
}
@media (max-width:480px){
  body.to-product-enhanced.single-product .content-container.site-container,
  body.to-product-enhanced.single-product .site-container,
  body.to-product-enhanced.single-product .entry-content-wrap{
    padding-left:8px !important;
    padding-right:8px !important;
  }
  body.to-product-enhanced.single-product .woocommerce-product-gallery,
  body.to-product-enhanced.single-product div.product .entry-summary,
  body.to-product-enhanced.single-product .woocommerce-tabs,
  body.to-product-enhanced.single-product .up-sells,
  body.to-product-enhanced.single-product .related.products{
    padding-left:8px !important;
    padding-right:8px !important;
  }
  body.to-product-enhanced.single-product div.product .entry-summary:before{
    margin-left:-8px !important;
    margin-right:-8px !important;
  }
}

/* v1.7: reeksproducten gebruiken exact dezelfde productkaart-opmaak als vergelijkbare tegels.
   Alleen de commerciële cartknoppen worden in dit reeksblok verborgen, zodat klanten rustig kunnen doorklikken. */
body.to-product-enhanced.single-product.to-product-has-serie .up-sells{
  border-color:var(--to-ppe-border-soft) !important;
  background:
    linear-gradient(135deg, rgba(0,163,166,.055), transparent 38%),
    linear-gradient(315deg, rgba(199,1,127,.045), transparent 36%),
    #fff !important;
  box-shadow:var(--to-ppe-shadow-soft) !important;
}

body.to-product-enhanced.single-product.to-product-has-serie .to-ppe-series-subtitle,
body.to-product-enhanced.single-product.to-product-has-serie .to-ppe-series-pill{
  display:none !important;
}

body.to-product-enhanced.single-product.to-product-has-serie .up-sells > h2{
  margin:0 0 22px !important;
  padding:0 !important;
}

body.to-product-enhanced.single-product.to-product-has-serie .up-sells > h2:after{
  content:"" !important;
  display:block !important;
  width:54px !important;
  height:3px !important;
  border-radius:999px !important;
  background:linear-gradient(90deg,var(--to-ppe-teal),var(--to-ppe-magenta)) !important;
  position:absolute !important;
  left:0 !important;
  bottom:-8px !important;
}

body.to-product-enhanced.single-product.to-product-has-serie .up-sells ul.products li.product .button,
body.to-product-enhanced.single-product.to-product-has-serie .up-sells ul.products li.product .add_to_cart_button,
body.to-product-enhanced.single-product.to-product-has-serie .up-sells ul.products li.product a.button,
body.to-product-enhanced.single-product.to-product-has-serie .up-sells ul.products li.product .added_to_cart{
  display:none !important;
}

/* v1.7: hover-zoom uit, maar focusknop/lightbox behouden */
body.to-product-enhanced.single-product .woocommerce-product-gallery__trigger{
  display:block !important;
}
body.to-product-enhanced.single-product .woocommerce-product-gallery .zoomImg{
  display:none !important;
}

/* v1.8: compacte reeksselector boven de beschrijving */
body.to-product-enhanced.single-product .to-ppe-compact-series{
  clear:both !important;
  margin:24px 0 18px !important;
  padding:18px !important;
  border:1px solid var(--to-ppe-border-soft) !important;
  border-radius:18px !important;
  background:
    linear-gradient(135deg, rgba(0,163,166,.055), transparent 42%),
    linear-gradient(315deg, rgba(199,1,127,.045), transparent 38%),
    #fff !important;
  box-shadow:var(--to-ppe-shadow-soft) !important;
  overflow:hidden !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  margin:0 0 14px !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-head h2{
  margin:0 !important;
  padding:0 !important;
  font-size:18px !important;
  line-height:1.15 !important;
  letter-spacing:-.02em !important;
  color:var(--to-ppe-ink) !important;
  font-weight:800 !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-head span{
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  min-height:24px !important;
  padding:4px 10px !important;
  border:1px solid rgba(0,163,166,.18) !important;
  border-radius:999px !important;
  background:rgba(0,163,166,.075) !important;
  color:#007b7d !important;
  font-size:12px !important;
  font-weight:800 !important;
  text-transform:lowercase !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-row{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:10px !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-item{
  position:relative !important;
  display:grid !important;
  grid-template-columns:58px minmax(0, 1fr) !important;
  gap:10px !important;
  align-items:center !important;
  min-height:72px !important;
  padding:7px 9px 7px 7px !important;
  border:1px solid var(--to-ppe-border-soft) !important;
  border-radius:14px !important;
  background:rgba(255,255,255,.86) !important;
  color:var(--to-ppe-ink) !important;
  text-decoration:none !important;
  box-shadow:0 6px 18px rgba(0,0,0,.035) !important;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
  overflow:hidden !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-item:hover{
  transform:translateY(-1px) !important;
  border-color:rgba(0,163,166,.30) !important;
  background:#fff !important;
  box-shadow:0 10px 24px rgba(0,0,0,.065) !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-item.is-current{
  border-color:rgba(199,1,127,.38) !important;
  box-shadow:inset 0 0 0 1px rgba(199,1,127,.16), 0 8px 22px rgba(199,1,127,.06) !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-image{
  display:block !important;
  width:58px !important;
  height:58px !important;
  border-radius:12px !important;
  overflow:hidden !important;
  background:#f3f5f5 !important;
  border:1px solid rgba(255,255,255,.95) !important;
  box-shadow:0 4px 12px rgba(0,0,0,.09) !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-image img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  margin:0 !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-text{
  display:block !important;
  min-width:0 !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-text strong{
  display:block !important;
  margin:0 0 5px !important;
  color:var(--to-ppe-ink) !important;
  font-size:12.5px !important;
  line-height:1.18 !important;
  font-weight:850 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-meta{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:4px !important;
  min-width:0 !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-meta em{
  display:inline-flex !important;
  align-items:center !important;
  max-width:100% !important;
  min-height:18px !important;
  padding:2px 6px !important;
  border:1px solid var(--to-ppe-border-soft) !important;
  border-radius:999px !important;
  background:#fff !important;
  color:var(--to-ppe-muted) !important;
  font-size:10px !important;
  line-height:1 !important;
  font-style:normal !important;
  font-weight:750 !important;
  white-space:nowrap !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-meta em:first-child{
  color:#007b7d !important;
  border-color:rgba(0,163,166,.18) !important;
  background:rgba(0,163,166,.055) !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-meta .to-ppe-current-label{
  color:#b00070 !important;
  border-color:rgba(199,1,127,.18) !important;
  background:rgba(199,1,127,.055) !important;
}

@media (max-width:980px){
  body.to-product-enhanced.single-product .to-ppe-compact-series-row{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width:720px){
  body.to-product-enhanced.single-product .to-ppe-compact-series{
    margin:18px 0 14px !important;
    padding:14px !important;
  }
  body.to-product-enhanced.single-product .to-ppe-compact-series-head{
    align-items:flex-start !important;
    flex-direction:column !important;
    gap:8px !important;
  }
  body.to-product-enhanced.single-product .to-ppe-compact-series-row{
    display:flex !important;
    gap:9px !important;
    overflow-x:auto !important;
    padding:2px 2px 8px !important;
    scroll-snap-type:x mandatory !important;
    -webkit-overflow-scrolling:touch !important;
  }
  body.to-product-enhanced.single-product .to-ppe-compact-series-item{
    flex:0 0 245px !important;
    scroll-snap-align:start !important;
  }
}

/* v1.9: de compacte reeksselector is nu de enige reeksweergave.
   Het grote upsell/reeksblok onderaan wordt verborgen om dubbele content te vermijden. */
body.to-product-enhanced.single-product.to-product-has-serie .up-sells{
  display:none !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series{
  margin:22px 0 18px !important;
  padding:18px !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-head{
  margin:0 0 13px !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-head span{
  display:none !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-head h2{
  font-size:17px !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-row{
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:12px !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-item{
  grid-template-columns:104px minmax(0, 1fr) !important;
  min-height:94px !important;
  padding:8px 10px 8px 8px !important;
  border-radius:16px !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-image{
  width:104px !important;
  height:78px !important;
  border-radius:13px !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-text strong{
  font-size:13px !important;
  line-height:1.22 !important;
  margin-bottom:7px !important;
  white-space:normal !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-meta em{
  min-height:19px !important;
  padding:3px 7px !important;
  font-size:10.5px !important;
}

@media (max-width:980px){
  body.to-product-enhanced.single-product .to-ppe-compact-series-row{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width:720px){
  body.to-product-enhanced.single-product .to-ppe-compact-series-item{
    flex:0 0 295px !important;
    grid-template-columns:106px minmax(0, 1fr) !important;
  }
  body.to-product-enhanced.single-product .to-ppe-compact-series-image{
    width:106px !important;
    height:80px !important;
  }
}


/* v1.11: mobiel geen horizontale scroll meer voor reeksselector.
   Klanten zien meteen meerdere opties in een overzichtelijke 2-koloms grid. */
@media (max-width:720px){
  body.to-product-enhanced.single-product .to-ppe-compact-series{
    padding:12px !important;
  }

  body.to-product-enhanced.single-product .to-ppe-compact-series-row{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:10px !important;
    overflow:visible !important;
    padding:0 !important;
    scroll-snap-type:none !important;
  }

  body.to-product-enhanced.single-product .to-ppe-compact-series-item{
    display:flex !important;
    flex:initial !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:7px !important;
    min-height:0 !important;
    padding:7px !important;
    border-radius:15px !important;
    scroll-snap-align:none !important;
  }

  body.to-product-enhanced.single-product .to-ppe-compact-series-image{
    width:100% !important;
    height:96px !important;
    border-radius:12px !important;
  }

  body.to-product-enhanced.single-product .to-ppe-compact-series-text strong{
    font-size:11.5px !important;
    line-height:1.18 !important;
    margin-bottom:5px !important;
    -webkit-line-clamp:2 !important;
  }

  body.to-product-enhanced.single-product .to-ppe-compact-series-meta{
    gap:3px !important;
  }

  body.to-product-enhanced.single-product .to-ppe-compact-series-meta em{
    min-height:17px !important;
    padding:2px 5px !important;
    font-size:9.5px !important;
  }
}

@media (max-width:380px){
  body.to-product-enhanced.single-product .to-ppe-compact-series-row{
    gap:8px !important;
  }

  body.to-product-enhanced.single-product .to-ppe-compact-series-image{
    height:86px !important;
  }

  body.to-product-enhanced.single-product .to-ppe-compact-series-text strong{
    font-size:11px !important;
  }
}


/* v1.12: toon Mat/Glanzend in de compacte reeksselector */
body.to-product-enhanced.single-product .to-ppe-compact-series-meta .to-ppe-finish-label{
  color:#363b42 !important;
  border-color:rgba(16,20,24,.12) !important;
  background:rgba(16,20,24,.035) !important;
}


/* v1.13: mobiele PhotoSwipe sluitknop betrouwbaarder klikbaar maken */
body.to-product-enhanced.single-product .pswp__button--close{
  z-index:2147483647 !important;
  pointer-events:auto !important;
  touch-action:manipulation !important;
  -webkit-tap-highlight-color:transparent !important;
}

@media (max-width:768px){
  body.to-product-enhanced.single-product .pswp__button--close{
    top:max(10px, env(safe-area-inset-top)) !important;
    right:max(10px, env(safe-area-inset-right)) !important;
    width:44px !important;
    height:44px !important;
  }
}

/* v1.13: toon 2 cm dikte in de compacte reeksselector */
body.to-product-enhanced.single-product .to-ppe-compact-series-meta .to-ppe-thickness-label{
  color:#007b7d !important;
  border-color:rgba(0,163,166,.18) !important;
  background:rgba(0,163,166,.055) !important;
}


/* v1.14: attributen in compacte reeksselector neutraal houden.
   Kleur/formaat/afwerking/2cm moeten informatief zijn, niet allemaal eigen accentkleuren krijgen. */
body.to-product-enhanced.single-product .to-ppe-compact-series-meta em,
body.to-product-enhanced.single-product .to-ppe-compact-series-meta em:first-child,
body.to-product-enhanced.single-product .to-ppe-compact-series-meta .to-ppe-finish-label,
body.to-product-enhanced.single-product .to-ppe-compact-series-meta .to-ppe-thickness-label,
body.to-product-enhanced.single-product .to-ppe-compact-series-meta .to-ppe-current-label{
  color:#333941 !important;
  border-color:rgba(16,20,24,.12) !important;
  background:#f7f8f9 !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-meta .to-ppe-current-label{
  font-weight:850 !important;
  background:#f1f2f3 !important;
  border-color:rgba(16,20,24,.18) !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-item.is-current{
  border-color:rgba(16,20,24,.22) !important;
  box-shadow:inset 0 0 0 1px rgba(16,20,24,.08), 0 8px 22px rgba(0,0,0,.045) !important;
}

body.to-product-enhanced.single-product .to-ppe-compact-series-item:hover{
  border-color:rgba(16,20,24,.22) !important;
}
