/* ===== Layout widths (desktop 80%, mobile 100%) ===== */
.product-description-section,
.product-faq-section {
  width: 80%;
  margin-right: auto;
  text-align: left;
}

.product-description-section h2[id],
.woocommerce-Reviews-title h2[id],
.product-faq-section h2[id] {
  scroll-margin-top: 52px; /* hoogte van je sticky header */
}


@media (max-width: 1024px) {
  .product-sections-nav,
  .product-description-section,
  .product-faq-section {
    width: 100%;
  }
}

/* ===== TOC / anchor nav ===== */
.product-sections-nav {
  margin: 10px 0 20px;
  border-bottom: 3px solid #1cb9b0;   /* volledige underline over de balk */
}

.product-sections-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0 0 10px;

}

.product-sections-nav li {
  position: relative;
}

.product-sections-nav li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px; /* half van gap */
  top: 5%;
  bottom: 25%;
  width: 1px;
  background-color: #ccc; /* subtiele scheiding */
}

.product-sections-nav a {
  color: #333;
  text-decoration: none;
  line-height: 1.6;
  padding-bottom: 2px;
}

.product-sections-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #1cb9b0;
}


/* ===== Content secties ===== */
.product-description-section .prod-sec { margin: 24px 0; }
.product-description-section h2 { margin: 0 0 10px; font-size: 1.4rem; }
/* Nieuw: description links uitlijnen */
.product-description-section {
  text-align: left;
}

/* ===== FAQ accordion ===== */
.accordion-item { border-bottom: 1px solid #ddd; margin-bottom: 10px; }
.accordion-header {
  background: #f7f7f7;
  cursor: pointer;
  padding: 15px;
  font-weight: bold;
  border-radius: 5px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: background-color .3s;
}
.accordion-header:hover { background: #eaeaea; }
.accordion-icon { font-size: 20px; margin-right: 15px; transition: transform .3s; }
.accordion-active .accordion-icon { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding-left: 15px; }
.accordion-content p { margin: 0 0 15px; }
.accordion-active .accordion-content { max-height: 200px; }

.product-faq-section { margin: 28px 0; }
.product-faq-section h2 { margin: 0 0 12px; font-size: 1.4rem; }

/* Chevrons Main image */
.wd-arrow-inner:after {
  color: black;
  font-size: 26px !important;
  font-weight: 800!important;
}

/* ===== Mobile tweaks ===== */
@media (max-width: 600px){
  .product-sections-nav {
    display: none;
}
p.stock.wd-style-default:is(.available-on-backorder,.in-stock) {
  font-size: 12px;
}
.wd-gallery-thumb .wd-carousel-item {
  max-width: 65px;
  max-height: 65px;
}
}
