/* ==========================================================================
   Productpagina – Novadecor
   Design: Akoestisch Wandpaneel (breadcrumbs, gallery, col-info, related)
   ========================================================================== */

/* ========== CSS variables (product page) ========== */
body.page-product {
  --font-inter: 'Inter', system-ui, -apple-system, sans-serif;
  --font-playfair: 'Playfair Display', serif;
  --color-primary: #a87b4b;
  --color-primary-dark: #8a5d35;
  --color-primary-light: #b99d7a;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --green-50: #f0fdf4;
  --green-600: #16a34a;
  --green-700: #15803d;
  --red-50: #fef2f2;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --max-w-7xl: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body.page-product {
  margin: 0;
  background: #fff;
  color: var(--neutral-900);
}

/* Inter alleen op product-inhoud; niet op body (header/nav erft anders breder lettertype). */
body.page-product > .page-product {
  font-family: var(--font-inter);
}

/* ========== Container ==========
   Alleen binnen de hoofd-wrapper (niet header/footer): body heeft óók .page-product,
   anders zou .page-product .container-custom de nav .container-custom overschrijven. */
body.page-product > div.page-product .container-custom {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max-w-7xl);
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  body.page-product > div.page-product .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  body.page-product > div.page-product .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ========== Page wrapper ========== */
.page-product .page-product {
  min-height: 100vh;
  background: #fff;
}
.page-product .product-section {
  background: #fff;
  border-bottom: 1px solid var(--neutral-100);
}
@media (min-width: 1024px) {
  .page-product .product-section {
    padding-top: 1rem;
  }
}

/* ========== Breadcrumbs ========== */
.page-product .breadcrumbs {
  background: #f7f3ee;
  width: 100%;
}
.page-product .breadcrumbs .container-custom {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  width: 100%;
}
.page-product .breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  flex: 1;
  width: 100%;
  row-gap: 0.2rem;
}
.page-product .breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}
.page-product .breadcrumbs a {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  font-size: 0.6875rem;
  color: var(--neutral-600);
  text-decoration: none;
  transition: color 0.2s;
}
@media (min-width: 640px) {
  .page-product .breadcrumbs a { font-size: 0.75rem; }
}
.page-product .breadcrumbs a:hover { color: var(--neutral-900); }
/* Huidige pagina: volledige titel tonen (geen ellipsis) — staat volledig in HTML voor SEO/crawlers */
.page-product .breadcrumbs [aria-current="page"] {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--neutral-900);
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
}
@media (min-width: 640px) {
  .page-product .breadcrumbs [aria-current="page"] {
    font-size: 0.75rem;
  }
}
/* Smalle schermen: productnaam op eigen regel met volle breedte, leesbaarder dan afgeknipt */
@media (max-width: 639px) {
  .page-product .breadcrumbs li:last-child {
    flex-basis: 100%;
    align-items: flex-start;
  }
  .page-product .breadcrumbs li:last-child .breadcrumbs-sep {
    flex-shrink: 0;
    margin-top: 0.15em;
  }
}
.page-product .breadcrumbs-sep {
  width: 10px;
  height: 10px;
  color: var(--neutral-400);
  flex-shrink: 0;
}

/* ========== Main content grid ========== */
.page-product .section-inner {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .page-product .section-inner { padding-top: 2rem; padding-bottom: 3rem; }
}
.page-product .product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px) {
  .page-product .product-grid { gap: 5rem; }
}
.page-product .col-images {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .page-product .col-images { grid-column: span 6; }
}
/* col-info: warme, vriendelijke productkaart */
.page-product .col-info {
  grid-column: 1 / -1;
  align-self: start;
  background: #fcf9f6;
  border: none;
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  box-shadow: none;
}
@media (min-width: 768px) {
  .page-product .col-info {
    grid-column: span 6;
    padding: 1.5rem 1.5rem 1.75rem;
  }
}

/* ========== Image gallery ========== */
.page-product .gallery { display: flex; flex-direction: column; gap: 1rem; }
.page-product .gallery-main {
  position: relative;
  aspect-ratio: 1;
  min-height: 260px;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--neutral-200);
}
@media (min-width: 768px) {
  .page-product .gallery-main {
    min-height: 320px;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
}
.page-product .gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Verberg hoofdfoto tot hij volledig geladen is; voorkomt flits van gebroken/lege afbeelding (Shopify LCP best practice) */
.page-product .gallery-main img#gallery-main-img {
  opacity: 0;
  transition: opacity 0.15s ease-out;
}
.page-product .gallery-main img#gallery-main-img.loaded {
  opacity: 1;
}
/* Uitverkocht-badge rechtsboven op de foto */
.page-product .gallery-soldout-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--red-600);
  border-radius: 0.25rem;
  z-index: 2;
  pointer-events: none;
}
.page-product .gallery-feature-badge {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.page-product .gallery-feature-badge--waterproof {
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.375rem 0.9rem;
  border-radius: 0.375rem;
  background: #3da652;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}
.page-product .gallery-discount-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 9999px;
  background: #111;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem;
  pointer-events: none;
}
/* Author `display` on badges can win over the default `[hidden]` rule — never show an empty discount disc */
.page-product .gallery-discount-badge[hidden] {
  display: none !important;
}
@media (min-width: 768px) {
  .page-product .gallery-feature-badge--waterproof {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  .page-product .gallery-discount-badge {
    top: 0.75rem;
    right: 0.75rem;
    width: 86px;
    height: 86px;
    font-size: 1rem;
  }
}
.page-product .gallery-main {
  touch-action: pan-y;
}
.page-product .gallery-prev,
.page-product .gallery-next {
  display: none;
}
@media (min-width: 768px) {
  .page-product .gallery-prev,
  .page-product .gallery-next {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    cursor: pointer;
    z-index: 2;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .page-product .gallery-prev:hover,
  .page-product .gallery-next:hover {
    background: rgba(0, 0, 0, 0.6);
  }
  .page-product .gallery-prev {
    left: 12px;
  }
  .page-product .gallery-next {
    right: 12px;
  }
  .page-product .gallery-prev svg,
  .page-product .gallery-next svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
  }
}
.page-product .gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #fff;
}
.page-product .gallery-thumbs::-webkit-scrollbar { display: none; }
.page-product .gallery-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid var(--neutral-200);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}
.page-product .gallery-thumb:hover { border-color: var(--neutral-300); }
.page-product .gallery-thumb.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(168, 123, 75, 0.2);
}
.page-product .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .page-product .gallery-thumb { width: 96px; height: 96px; }
}

/* Klik om te vergroten: cursor + zoom-icoon linkerboven (niet over het midden van de foto) */
.page-product .gallery-main--zoomable {
  cursor: zoom-in;
}
.page-product .gallery-main--zoomable::after {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  z-index: 1;
  border-radius: 0.375rem;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.45)' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.125rem 1.125rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.page-product .gallery-main--zoomable:hover::after {
  opacity: 1;
}

/* ========== Lightbox: productfoto vergroten ========== */
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.product-lightbox.visible {
  opacity: 1;
  visibility: visible;
}
.product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}
.product-lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 95vw;
  max-height: 95vh;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-lightbox-img {
  max-width: 100%;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}
.product-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.product-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.product-lightbox-close svg {
  width: 24px;
  height: 24px;
}
.product-lightbox-prev,
.product-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.product-lightbox-prev:hover,
.product-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}
.product-lightbox-prev {
  left: 1rem;
}
.product-lightbox-next {
  right: 1rem;
}
.product-lightbox-prev svg,
.product-lightbox-next svg {
  width: 24px;
  height: 24px;
}

/* Mobiel: pinch-to-zoom op de foto */
.product-lightbox-content {
  touch-action: pinch-zoom;
}

/* ========== Product info ========== */
.page-product .product-info { margin-bottom: 0; }
.page-product .product-title {
  font-family: var(--font-inter);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--neutral-900);
  margin: 0 0 0.75rem 0;
}
@media (min-width: 768px) {
  .page-product .product-title { font-size: 1.5rem; }
}
.page-product .product-usps {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.page-product .product-usps li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--neutral-700);
}
.page-product .product-usps .usp-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-600);
  position: relative;
}
.page-product .product-usps .usp-icon::after {
  content: '';
  position: absolute;
  left: 0.375rem;
  top: 0.25rem;
  width: 0.25rem;
  height: 0.5rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Price */
.page-product .product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.page-product .price-old {
  font-size: 1rem;
  color: var(--neutral-500);
  text-decoration: line-through;
}
.page-product .price-current {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--neutral-900);
}
@media (min-width: 768px) {
  .page-product .price-current { font-size: 2rem; }
}

/* Variant selector (optional) */
.page-product .variant-block { margin-bottom: 1.5rem; }
.page-product .variant-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}
.page-product .variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.page-product .variant-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid var(--neutral-300);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
  cursor: pointer;
  transition: all 0.2s;
}
.page-product .variant-btn:hover { border-color: var(--neutral-400); }
.page-product .variant-btn.selected {
  border-color: #c2410c;
  background: rgba(194, 65, 12, 0.1);
  color: #c2410c;
}
.page-product a.variant-btn--linked-product {
  text-decoration: none;
}
.page-product a.variant-btn--linked-product:hover {
  border-color: var(--neutral-400);
}
.page-product .variant-btn--linked-soldout {
  opacity: 0.65;
}

.page-product .linked-variants {
  margin-bottom: 1.25rem;
}
.page-product .linked-variants-title {
  margin: 0 0 0.625rem 0;
  font-size: 0.9375rem;
  color: var(--neutral-700);
  line-height: 1.4;
}
.page-product .linked-variants-track {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 0 0.25rem;
  scroll-padding-left: 0;
  scroll-padding-right: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.page-product .linked-variants-track::-webkit-scrollbar {
  display: none;
}
.page-product .linked-variants-carousel {
  position: relative;
  padding: 0;
}
.page-product .linked-variants-arrow {
  position: absolute;
  top: 40px;
  transform: translateY(-50%);
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--neutral-200);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--neutral-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.page-product .linked-variants-arrow:hover:not(:disabled) {
  border-color: var(--neutral-400);
  color: var(--neutral-900);
}
.page-product .linked-variants-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.page-product .linked-variants-arrow svg {
  width: 1rem;
  height: 1rem;
}
.page-product .linked-variants-arrow--prev {
  left: 0.15rem;
}
.page-product .linked-variants-arrow--next {
  right: 0.15rem;
}
.page-product .linked-variant-card {
  flex: 0 0 auto;
  width: 96px;
  border: 1px solid var(--neutral-200);
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.375rem;
  text-decoration: none;
  color: var(--neutral-800);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.page-product .linked-variant-card:hover {
  border-color: var(--neutral-400);
  transform: translateY(-1px);
}
.page-product .linked-variant-card.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(168, 123, 75, 0.18);
}
.page-product .linked-variant-card.is-soldout {
  background: #fafafa;
  border-color: #e5e5e5;
  box-shadow: none;
}
.page-product .linked-variant-card.is-soldout:hover {
  transform: none;
  border-color: #d4d4d4;
  box-shadow: none;
}
.page-product .linked-variant-card.is-soldout.is-active {
  border-color: var(--neutral-300);
  box-shadow: none;
}
.page-product .linked-variant-card.is-soldout .linked-variant-thumb img {
  opacity: 0.5;
  filter: grayscale(1);
}
.page-product .linked-variant-card.is-soldout .linked-variant-thumb-fallback {
  opacity: 0.55;
}
.page-product .linked-variant-card.is-soldout .linked-variant-name {
  color: var(--neutral-500);
}
.page-product .linked-variant-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.35rem;
  overflow: hidden;
  background: var(--neutral-100);
}
.page-product .linked-variant-stock-badge {
  position: absolute;
  left: 50%;
  bottom: 0.25rem;
  z-index: 1;
  transform: translateX(-50%);
  padding: 0.125rem 0.375rem;
  font-size: 0.5625rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #525252;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e5e5e5;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}
.page-product .linked-variant-thumb img,
.page-product .linked-variant-thumb .linked-variant-thumb-fallback {
  display: flex;
  width: 100%;
  height: 100%;
}
.page-product .linked-variant-thumb img {
  object-fit: cover;
}
.page-product .linked-variant-thumb-fallback {
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-500);
}
.page-product .linked-variant-name {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.6875rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .page-product .linked-variants-track {
    padding: 0 0 0.25rem;
    scroll-padding-left: 0;
    scroll-padding-right: 0;
  }
  .page-product .linked-variants-arrow--prev {
    left: 0;
  }
  .page-product .linked-variants-arrow--next {
    right: 0;
  }
}
@media (max-width: 480px) {
  .page-product .linked-variants-arrow {
    width: 1.75rem;
    height: 1.75rem;
  }
  .page-product .linked-variants-arrow--prev {
    left: 0;
  }
  .page-product .linked-variants-arrow--next {
    right: 0;
  }
}

/* Quantity calculator */
.page-product .quantity-calc { margin-bottom: 1rem; }
@media (min-width: 640px) {
  .page-product .quantity-calc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
  }
  .page-product .quantity-calc .qty-stepper { margin-right: 0; }
  .page-product .quantity-calc .low-stock-alert { margin-left: 0; order: 0; }
  .page-product .quantity-calc .btn-add-cart {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    margin-top: 0.75rem;
  }
}
.page-product .quantity-calc .quantity-calc-berekening {
  margin-bottom: 1rem;
  width: 100%;
}
.page-product .quantity-calc h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0 0 0.5rem 0;
  font-family: var(--font-inter);
}
.page-product .quantity-calc .panel-info {
  font-size: 0.75rem;
  color: var(--neutral-600);
  margin-bottom: 0.5rem;
}
.page-product .quantity-calc .inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.page-product .quantity-calc input[type="text"] {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--neutral-300);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: var(--font-inter);
  box-sizing: border-box;
}
/* Mobiel: 16px voorkomt iOS auto-zoom bij focus op input (Breedte/Hoogte velden) */
@media (max-width: 768px) {
  .page-product .quantity-calc .quantity-calc-berekening input[type="text"] {
    font-size: 16px;
  }
}
.page-product .quantity-calc input:focus {
  outline: none;
  border-color: var(--neutral-400);
  box-shadow: 0 0 0 2px rgba(168, 123, 75, 0.2);
}
.page-product .quantity-calc .surface-info {
  font-size: 0.75rem;
  color: var(--neutral-600);
  margin-bottom: 0.75rem;
}
.page-product .qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--neutral-300);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  vertical-align: middle;
}
.page-product .qty-stepper button {
  padding: 0.5rem 0.75rem;
  border: none;
  background: none;
  color: var(--neutral-700);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.page-product .qty-stepper button:hover:not(:disabled) { background: var(--neutral-100); }
.page-product .qty-stepper button:disabled { opacity: 0.5; cursor: not-allowed; }
.page-product .qty-stepper input {
  width: 3.5rem;
  padding: 0.5rem 0.25rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-left: 1px solid var(--neutral-300);
  border-right: 1px solid var(--neutral-300);
  font-family: var(--font-inter);
  -moz-appearance: textfield;
}
.page-product .qty-stepper input::-webkit-outer-spin-button,
.page-product .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Low stock alert - inline next to stepper */
.page-product .low-stock-alert {
  display: inline-block;
  margin-left: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #92400e;
  background: #fef3c7;
  border-radius: 0.375rem;
  line-height: 1;
  vertical-align: middle;
}

.page-product .btn-add-cart {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: var(--orange-500);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s, transform 0.1s;
}
.page-product .btn-add-cart:hover:not(:disabled) {
  background: var(--orange-600);
  transform: translateY(-1px);
}
.page-product .btn-add-cart:disabled { opacity: 0.5; cursor: not-allowed; }

.page-product .btn-order-sample {
  width: 100%;
  margin-top: 0.625rem;
  padding: 0.875rem 1.25rem;
  background: #fff;
  color: var(--neutral-900);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--neutral-300);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.1s;
}

.page-product .btn-order-sample:hover:not(:disabled) {
  border-color: var(--orange-500);
  background: #fff8f1;
  transform: translateY(-1px);
}

.page-product .btn-order-sample:disabled { opacity: 0.6; cursor: not-allowed; }

/* Payment options */
.page-product .payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.page-product .payment-option {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.page-product .payment-option img { height: 1rem; width: auto; object-fit: contain; flex-shrink: 0; }
.page-product .payment-option span { font-size: 0.6875rem; color: var(--neutral-600); line-height: 1.3; }

/* Availability */
.page-product .availability {
  padding-top: 1rem;
  border-top: 1px solid var(--neutral-200);
}
.page-product .availability-in-stock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--green-50);
  border-radius: 0.5rem;
}
.page-product .availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
  flex-shrink: 0;
}
.page-product .availability-in-stock .label { font-size: 0.875rem; font-weight: 600; color: var(--green-700); }
.page-product .availability-in-stock .delivery { font-size: 0.8125rem; color: var(--neutral-600); }

/* Uitverkocht */
.page-product .availability-out-of-stock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--red-50);
  border-radius: 0.5rem;
  width: fit-content;
}
.page-product .availability-out-of-stock .availability-dot {
  background: var(--red-600);
  flex-shrink: 0;
}
.page-product .availability-out-of-stock .label,
.page-product .availability-out-of-stock .delivery {
  font-size: 0.875rem;
  color: var(--red-700);
}
.page-product .availability-out-of-stock .delivery { color: var(--neutral-600); }

/* ========== Sidebar blokken alleen mobiel (chat-contact + usp-block) ========== */
.page-product .product-sidebar-mobile {
  display: block;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--neutral-200);
}
@media (min-width: 768px) {
  .page-product .product-sidebar-mobile {
    display: none;
  }
}

.page-product .product-sidebar-mobile .chat-contact {
  position: relative;
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 18px;
  padding-right: calc(85px + 18px + 12px); /* ruimte voor foto, overlap voorkomen */
  background: #f4f0ea;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background-image: url('https://cdn.shopify.com/s/files/1/0762/6231/0225/files/95af395e-da07-4607-964f-f3290f96f3d3-md.jpg?v=1769877629');
  background-position: right 18px top 18px;
  background-size: 85px;
  background-repeat: no-repeat;
}
.page-product .product-sidebar-mobile .chat-contact .h3 {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0 0 0.5rem 0;
}
.page-product .product-sidebar-mobile .chat-contact p {
  font-size: 0.875rem;
  color: var(--neutral-700);
  margin: 0 0 0.75rem 0;
}
.page-product .product-sidebar-mobile .chat-contact p a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}
.page-product .product-sidebar-mobile .chat-contact p a:hover {
  text-decoration: underline;
}
/* Tawk chat-knop */
.page-product .product-sidebar-mobile .chat-contact .btn-animate-chars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: center;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.625rem 1.25rem;
  font-size: 1em;
  line-height: 1;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  border: 1px solid #D2CDC9;
  cursor: pointer;
  background: transparent;
}
.page-product .product-sidebar-mobile .chat-contact .btn-animate-chars:hover {
  color: rgba(0, 0, 0, 0.8);
}
.page-product .product-sidebar-mobile .chat-contact .btn-animate-chars__bg {
  position: absolute;
  inset: 0;
  background-color: #fff;
  border: 1px solid #D2CDC9;
  border-radius: 100px;
  transition: inset 0.6s cubic-bezier(0.625, 0.05, 0, 1);
  z-index: 0;
}
.page-product .product-sidebar-mobile .chat-contact .btn-animate-chars:hover .btn-animate-chars__bg {
  inset: -2px;
}
.page-product .product-sidebar-mobile .chat-contact .btn-animate-chars__text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}
.page-product .product-sidebar-mobile .chat-contact .btn-animate-chars__text svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.page-product .product-sidebar-mobile .chat-contact .btn-animate-chars__text svg.setleft {
  order: -1;
}

.page-product .product-sidebar-mobile .usp-block {
  padding: 16px;
  background: #f4f0ea;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--neutral-800);
  line-height: 1.5;
  min-width: 0;
}
@media (max-width: 400px) {
  .page-product .product-sidebar-mobile .usp-block {
    padding: 14px;
    font-size: 0.6875rem;
    gap: 6px;
  }
  .page-product .product-sidebar-mobile .usp-block .usp-inner {
    gap: 0.375rem;
    line-height: 1.5;
  }
  .page-product .product-sidebar-mobile .usp-block .usp-inner svg {
    width: 12px;
    height: 12px;
  }
}
.page-product .product-sidebar-mobile .usp-block .usp-inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  min-width: 0;
  text-align: left;
  line-height: 1.45;
}
.page-product .product-sidebar-mobile .usp-block .usp-inner .usp-text {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}
.page-product .product-sidebar-mobile .usp-block .usp-inner svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin: 0;
  fill: var(--green-600);
}
.page-product .product-sidebar-mobile .usp-block .usp-inner svg[viewBox="0 0 94.716 15.801"] {
  width: auto;
  height: 14px;
  fill: var(--orange-500);
}
.page-product .product-sidebar-mobile .usp-block .usp-inner strong {
  font-weight: 700;
}

/* ========== Aanbevolen toevoegingen (plinten-upsell) ========== */
.page-product .plinten-upsell {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--neutral-200);
  font-family: var(--font-inter);
}
.page-product .plinten-upsell > h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0 0 0.375rem 0;
  line-height: 1.3;
}
.page-product .plinten-upsell .sub {
  font-size: 0.8125rem;
  color: var(--neutral-600);
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.page-product .plinten-upsell #plinten-upsell-extra {
  margin-top: 0.5rem;
}
/* Mobiel: witte kaart-achtergrond voor alle upsell-items */
@media (max-width: 639px) {
  .page-product .plinten-upsell #plinten-upsell-extra .plinten-item {
    margin-bottom: 0.375rem;
    background: #fff;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--neutral-200);
    border-radius: 0.375rem;
    border-bottom: 1px solid var(--neutral-200);
  }
  .page-product .plinten-upsell #plinten-upsell-extra .plinten-item:last-child {
    margin-bottom: 0;
  }
  .page-product .plinten-upsell #plinten-upsell-content {
    background: #fff;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--neutral-200);
    border-radius: 0.375rem;
    margin-bottom: 0.375rem;
    border-bottom: 1px solid var(--neutral-200);
  }
  /* Montagelijm: geen .plinten-upsell-body meer — grid op inner (klikbaar blok | knop) */
  .page-product .plinten-upsell #plinten-upsell-content .plinten-item-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
  }
  .page-product .plinten-upsell #plinten-upsell-content .plinten-upsell-hit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
  }
  .page-product .plinten-upsell #plinten-upsell-content .btn-add {
    margin-top: 0;
    align-self: center;
    justify-self: end;
  }
}
@media (min-width: 640px) {
  .page-product .plinten-upsell #plinten-upsell-content,
  .page-product .plinten-upsell #plinten-upsell-extra .plinten-item {
    margin-bottom: 0.5rem;
  }
  .page-product .plinten-upsell #plinten-upsell-extra .plinten-item:last-child {
    margin-bottom: 0;
  }
}

/* Elke rij = mobiel: minimale lijststijl, desktop: lichte kaart */
.page-product .plinten-upsell .plinten-item {
  padding: 0.5rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--neutral-100);
  border-radius: 0;
  transition: background 0.2s;
}
.page-product .plinten-upsell .plinten-item:last-child,
.page-product .plinten-upsell #plinten-upsell-extra .plinten-item:last-child {
  border-bottom: none;
}
.page-product .plinten-upsell .plinten-item:hover {
  background: rgba(0, 0, 0, 0.02);
}
@media (min-width: 640px) {
  .page-product .plinten-upsell .plinten-item {
    padding: 0.625rem 1rem;
    background: #fff;
    border: 1px solid var(--neutral-200);
    border-radius: 0.375rem;
  }
  .page-product .plinten-upsell .plinten-item:last-child,
  .page-product .plinten-upsell #plinten-upsell-extra .plinten-item:last-child {
    border-bottom: 1px solid var(--neutral-200);
  }
  .page-product .plinten-upsell .plinten-item:hover {
    border-color: var(--neutral-300);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
}

/* Mobiel: extra compact – kleine thumb, strakke layout */
.page-product .plinten-upsell .plinten-item-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-product .plinten-upsell .plinten-item img,
.page-product .plinten-upsell #plinten-upsell-content img,
.page-product .plinten-upsell .plinten-upsell-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 0.25rem;
  background: var(--neutral-100);
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .page-product .plinten-upsell .plinten-item-inner {
    gap: 0.625rem;
    align-items: flex-start;
  }
  /* Montagelijm: zelfde verticale lijn als profielen — voorkomt knop onderaan de kaart */
  .page-product .plinten-upsell #plinten-upsell-content .plinten-item-inner {
    align-items: center;
  }
  .page-product .plinten-upsell .plinten-item img,
  .page-product .plinten-upsell #plinten-upsell-content img,
  .page-product .plinten-upsell .plinten-upsell-img {
    width: 56px;
    height: 56px;
    border-radius: 0.375rem;
  }
}

/* Op desktop: alle upsell-kaarten (bovenste + 3 extra) minder hoog */
@media (min-width: 640px) {
  .page-product .plinten-upsell .plinten-item .plinten-upsell-body {
    gap: 0.125rem;
  }
  .page-product .plinten-upsell .plinten-item .btn-add {
    margin-top: 0.125rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }
}
.page-product .plinten-upsell .plinten-upsell-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .page-product .plinten-upsell .plinten-upsell-body {
    gap: 0.375rem;
  }
}

.page-product .plinten-upsell .plinten-upsell-text {
  width: 100%;
  min-width: 0;
}
.page-product .plinten-upsell .plinten-item h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0;
  line-height: 1.3;
  word-wrap: break-word;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 640px) {
  .page-product .plinten-upsell .plinten-item h4 {
    font-size: 0.8125rem;
    -webkit-line-clamp: unset;
  }
}

/* Prijs + kleurkeuze + knop: mobiel 1 lijn compact, desktop onder elkaar */
.page-product .plinten-upsell .plinten-upsell-row-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0.25rem 0 0 0;
  width: 100%;
  min-width: 0;
}
.page-product .plinten-upsell .plinten-upsell-row-actions .plinten-upsell-meta {
  width: auto;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.page-product .plinten-upsell .plinten-upsell-row-actions .btn-add {
  margin-top: 0;
  margin-left: auto;
  padding: 0.375rem 0.5rem;
  font-size: 0.6875rem;
}
@media (min-width: 640px) {
  .page-product .plinten-upsell .plinten-upsell-row-actions {
    flex-direction: column;
    align-items: flex-end;
    margin: 0.375rem 0 0 0;
    gap: 0.25rem;
  }
  .page-product .plinten-upsell .plinten-upsell-row-actions .plinten-upsell-meta {
    width: 100%;
  }
  .page-product .plinten-upsell .plinten-upsell-row-actions .btn-add {
    margin-top: 0.125rem;
    margin-left: 0;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }
}
.page-product .plinten-upsell .plinten-upsell-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0;
}
.page-product .plinten-upsell .plinten-item .price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--neutral-900);
}
@media (min-width: 640px) {
  .page-product .plinten-upsell .plinten-item .price {
    font-size: 1rem;
  }
}

/* Knop: altijd compact (zo breed als tekst), rechts uitgelijnd – oranje */
.page-product .plinten-upsell #plinten-upsell-content .btn-add {
  align-self: center;
  margin-top: 0;
}
.page-product .plinten-upsell .plinten-item .btn-add {
  margin-top: 0.25rem;
  width: auto;
  align-self: flex-end;
  padding: 0.5rem 0.875rem;
  background: var(--orange-500);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.page-product .plinten-upsell .plinten-item .btn-add:hover {
  background: var(--orange-600);
}
@media (min-width: 640px) {
  .page-product .plinten-upsell .plinten-upsell-row-actions .btn-add {
    margin-top: 0.25rem;
  }
}

/* Profiel-rijen: compacte foto (grootte via bovenstaande responsive regels) */
.page-product .plinten-upsell .plinten-upsell-img-wrap {
  flex-shrink: 0;
}
.page-product .plinten-upsell .plinten-upsell-img {
  object-fit: cover;
  background: var(--neutral-100);
  display: block;
  transition: opacity 0.2s ease;
}
.page-product .plinten-upsell .plinten-upsell-swatches {
  margin: 0;
}
.page-product .plinten-upsell .plinten-upsell-select {
  min-width: 0;
  max-width: 5.5rem;
  height: 1.75rem;
  padding: 0 1.5rem 0 0.4rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--neutral-800);
  background: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  border: 1px solid var(--neutral-200);
  border-radius: 0.25rem;
  cursor: pointer;
  font-family: var(--font-inter);
  appearance: none;
  line-height: 1.25;
}
.page-product .plinten-upsell .plinten-upsell-select:hover,
.page-product .plinten-upsell .plinten-upsell-select:focus {
  border-color: var(--neutral-400);
  outline: none;
}
@media (min-width: 640px) {
  .page-product .plinten-upsell .plinten-upsell-select {
    max-width: 7rem;
    height: 2rem;
    padding: 0 1.75rem 0 0.5rem;
    font-size: 0.8125rem;
  }
}

/* Alleen brede desktop (PC): lagere upsell-kaarten — tablet/mobiel ongewijzigd */
@media (min-width: 1024px) {
  .page-product .plinten-upsell .sub {
    margin-bottom: 0.75rem;
  }
  .page-product .plinten-upsell #plinten-upsell-extra {
    margin-top: 0.375rem;
  }
  .page-product .plinten-upsell #plinten-upsell-content,
  .page-product .plinten-upsell #plinten-upsell-extra .plinten-item {
    margin-bottom: 0.375rem;
    padding: 0.4375rem 0.75rem;
  }
  .page-product .plinten-upsell .plinten-item-inner {
    gap: 0.5rem;
    align-items: center;
  }
  .page-product .plinten-upsell .plinten-item img,
  .page-product .plinten-upsell #plinten-upsell-content img,
  .page-product .plinten-upsell .plinten-upsell-img {
    width: 48px;
    height: 48px;
  }
  .page-product .plinten-upsell .plinten-upsell-body {
    gap: 0.125rem;
  }
  /* Profielrijen: prijs + kleur + knop op één band i.p.v. kolom → veel minder hoogte */
  .page-product .plinten-upsell .plinten-upsell-row-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.125rem;
    column-gap: 0.625rem;
  }
  .page-product .plinten-upsell .plinten-upsell-row-actions .plinten-upsell-meta {
    width: auto;
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
  }
  .page-product .plinten-upsell .plinten-upsell-row-actions .btn-add {
    margin-top: 0;
    margin-left: 0;
    align-self: center;
    padding: 0.3125rem 0.625rem;
    font-size: 0.6875rem;
  }
  .page-product .plinten-upsell #plinten-upsell-content .btn-add,
  .page-product .plinten-upsell .plinten-item .btn-add {
    padding: 0.3125rem 0.625rem;
    font-size: 0.6875rem;
  }
  .page-product .plinten-upsell .plinten-upsell-select {
    height: 1.75rem;
    font-size: 0.75rem;
    max-width: 6.25rem;
    padding: 0 1.5rem 0 0.4rem;
  }
  /* Montagelijm: HTML heeft .plinten-item-inner + .plinten-upsell-hit + knop (geen .plinten-upsell-body) */
  .page-product .plinten-upsell #plinten-upsell-content .plinten-item-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.75rem;
  }
  .page-product .plinten-upsell #plinten-upsell-content .plinten-upsell-hit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    grid-column: 1;
  }
  .page-product .plinten-upsell #plinten-upsell-content .plinten-upsell-text {
    min-width: 0;
  }
  .page-product .plinten-upsell #plinten-upsell-content .plinten-upsell-text h4 {
    line-height: 1.2;
  }
  .page-product .plinten-upsell #plinten-upsell-content .plinten-upsell-lijm-meta {
    margin-top: 0.0625rem;
    margin-bottom: 0;
  }
  .page-product .plinten-upsell #plinten-upsell-content .btn-add {
    grid-column: 2;
    margin-top: 0;
    align-self: center;
    justify-self: end;
  }
}

/* Product description */
.page-product .product-description {
  border-top: 1px solid var(--neutral-200);
  padding-top: 1rem;
  margin-top: 1.5rem;
}
.page-product .product-description .content {
  font-size: 0.875rem;
  color: var(--neutral-700);
  line-height: 1.6;
  max-height: 200px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease;
}
.page-product .product-description .content.expanded {
  max-height: none;
}
.page-product .product-description .content h3 { font-size: 1rem; font-weight: 600; margin: 1rem 0 0.75rem 0; }
.page-product .product-description .content p { margin: 0 0 0.75rem 0; }
.page-product .product-description .content ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 0.75rem 0; }

/* Shopify / rich text: tabellen (Tailwind-classes uit theme werken hier niet) */
.page-product .product-description-body .overflow-x-auto {
  margin: 0.75rem 0 1rem;
  padding: 0;
  max-width: 100%;
  border: 1px solid var(--neutral-200);
  border-radius: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}
.page-product .product-description-body table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.5;
  font-family: var(--font-inter);
}
.page-product .product-description-body th,
.page-product .product-description-body td {
  padding: 0.65rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--neutral-200);
  color: var(--neutral-800);
}
.page-product .product-description-body thead th {
  font-weight: 600;
  color: var(--neutral-900);
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-300);
  white-space: nowrap;
}
.page-product .product-description-body tbody tr:last-child td {
  border-bottom: none;
}
.page-product .product-description-body tbody td:first-child {
  color: var(--neutral-600);
  font-weight: 500;
  width: 36%;
  max-width: 11rem;
}
.page-product .product-description .btn-more {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-inter);
}
.page-product .product-description .btn-more:hover { color: var(--color-primary-dark); }

/* Related products section */
/* ========== FAQ + Contact Section ========== */
.page-product .faq-section {
  background: #fff;
  border-top: 1px solid var(--neutral-100);
  border-bottom: 1px solid var(--neutral-100);
}
.page-product .faq-section .container-custom {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .page-product .faq-section .container-custom { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}
@media (min-width: 1024px) {
  .page-product .faq-section .container-custom { padding-top: 3rem; padding-bottom: 3rem; }
}
.page-product .product-faq-title {
  font-family: var(--font-inter);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .page-product .product-faq-title { font-size: 1.5rem; margin-bottom: 2rem; }
}
@media (min-width: 1024px) {
  .page-product .product-faq-title { font-size: 1.875rem; margin-bottom: 2.5rem; }
}

/* 2-koloms layout: FAQ links, Contact rechts (desktop) */
.page-product .faq-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .page-product .faq-contact-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}
@media (min-width: 1280px) {
  .page-product .faq-contact-grid {
    gap: 4rem;
  }
}

/* FAQ lijst */
.page-product .faq-section .faq-list {
  max-width: 100%;
}
.page-product .faq-section .faq-item {
  border-color: var(--neutral-200);
}
.page-product .faq-section .faq-item[open] {
  border-color: var(--neutral-300);
}
.page-product .faq-section .faq-question {
  font-size: 0.9375rem;
  color: var(--neutral-900);
}
@media (min-width: 768px) {
  .page-product .faq-section .faq-question { font-size: 1rem; }
}
.page-product .faq-section .faq-answer {
  color: var(--neutral-700);
}
.page-product .faq-section .faq-answer a {
  color: var(--color-primary);
  text-decoration: underline;
}
.page-product .faq-section .faq-answer a:hover {
  color: var(--color-primary-dark);
}

/* Contact formulier — gewone blokstroom; geen flex-hoogtespel (voorkomt overlap knop/reCAPTCHA en intern scrollen) */
.page-product .product-contact-form {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  padding: 1.25rem;
  overflow: visible;
}
@media (min-width: 768px) {
  .page-product .product-contact-form {
    padding: 1.5rem;
  }
}
.page-product .product-contact-title {
  font-family: var(--font-inter);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0 0 0.375rem 0;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .page-product .product-contact-title { font-size: 1.25rem; }
}
.page-product .product-contact-lead {
  font-size: 0.8125rem;
  color: var(--neutral-600);
  margin: 0 0 0.875rem 0;
  line-height: 1.4;
}

/* Formulier styling — verticale stack zonder flex-grow op het hele formulier */
.page-product .product-form {
  margin-bottom: 0;
}
.page-product .product-form-group {
  margin-bottom: 0.75rem;
}
.page-product .product-form-group:last-of-type {
  margin-bottom: 0;
}
/* Ruimte onder reCAPTCHA: iframe is hoger dan de placeholder-div */
.page-product .product-contact-form .g-recaptcha {
  margin-bottom: 0.75rem;
}
.page-product .product-form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 0.375rem;
}
.page-product .product-form-group input,
.page-product .product-form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.5625rem 0.75rem;
  font-size: 0.875rem;
  font-family: var(--font-inter);
  color: var(--neutral-900);
  background: #fff;
  border: 1px solid var(--neutral-300);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Voorkom automatisch inzoomen op mobiele apparaten door minimaal 16px font-size */
@media (max-width: 767px) {
  .page-product .product-form-group input,
  .page-product .product-form-group textarea,
  .page-product .product-form-group select {
    font-size: 16px;
  }
  
  .page-product .qty-stepper input {
    font-size: 16px;
  }
}
.page-product .product-form-group input:focus,
.page-product .product-form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(168, 123, 75, 0.1);
}
.page-product .product-form-group input::placeholder,
.page-product .product-form-group textarea::placeholder {
  color: var(--neutral-400);
}
.page-product .product-form-group textarea {
  resize: none;
  min-height: 70px;
  max-height: 70px;
}

/* Tekenteller voor textarea */
.page-product .product-form-char-count {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: var(--neutral-500);
  line-height: 1.4;
}

.page-product .product-form-char-count-text {
  display: inline;
}

.page-product .product-form-char-count-current {
  display: inline;
  color: var(--neutral-600);
}

.page-product .product-form-char-count-current strong {
  font-weight: 600;
  color: var(--neutral-700);
}

/* Wanneer minimum is bereikt */
.page-product .product-form-group textarea:valid + .product-form-char-count .product-form-char-count-current {
  color: var(--green-600);
}

.page-product .product-form-group textarea:valid + .product-form-char-count .product-form-char-count-current strong {
  color: var(--green-700);
}

/* Wanneer nog niet genoeg tekens */
.page-product .product-form-group textarea:invalid:not(:placeholder-shown):not(:focus) + .product-form-char-count {
  color: #dc2626;
}

.page-product .product-form-group textarea:invalid:not(:placeholder-shown):not(:focus) + .product-form-char-count .product-form-char-count-current strong {
  color: #dc2626;
}

/* Submit button */
.page-product .product-form-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.25rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-inter);
  color: #fff;
  background: var(--green-600);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.page-product .product-form-btn:hover {
  background: var(--green-700);
}
.page-product .product-form-btn:active {
  transform: translateY(1px);
}
.page-product .product-form-btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.page-product .product-form-note {
  font-size: 0.6875rem;
  color: var(--neutral-500);
  margin: 0.375rem 0 0 0;
}

.page-product .product-form-recaptcha-error {
  margin: 0 0 0.625rem 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #b91c1c;
  line-height: 1.4;
}

/* Form messages (success/error) */
.page-product .product-form-message {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  font-size: 0.8125rem;
}
.page-product .product-form-message svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.page-product .product-form-message strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.page-product .product-form-message p {
  margin: 0;
  line-height: 1.5;
}
.page-product .product-form-success {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid #bbf7d0;
}
.page-product .product-form-success svg {
  stroke: var(--green-600);
}
.page-product .product-form-error {
  background: var(--red-50);
  color: var(--red-700);
  border: 1px solid #fecaca;
}
.page-product .product-form-error svg {
  stroke: var(--red-600);
}

/* ========== Related Products Section ========== */
.page-product .related-section {
  background: #fff;
  border-top: 1px solid var(--neutral-200);
}
.page-product .related-section .container-custom {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .page-product .related-section .container-custom { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}
@media (min-width: 1024px) {
  .page-product .related-section .container-custom { padding-top: 3rem; padding-bottom: 3rem; }
}
.page-product .related-section h2 {
  font-family: var(--font-inter);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .page-product .related-section h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
}
@media (min-width: 1024px) {
  .page-product .related-section h2 { font-size: 1.875rem; margin-bottom: 1.5rem; }
}

/* Loading/empty states span full width */
.page-product .related-grid > .related-loading,
.page-product .related-grid > .related-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.page-product .related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  align-items: stretch;
  width: 100%;
}
@media (min-width: 640px) {
  .page-product .related-grid { gap: 0.75rem; }
}
@media (min-width: 768px) {
  .page-product .related-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1280px) {
  .page-product .related-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
}

.page-product .related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 0.375rem;
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.page-product .related-card:hover {
  border-color: var(--neutral-300);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.page-product .related-card a { text-decoration: none; color: inherit; }
.page-product .related-card > a:first-of-type {
  display: block;
  flex-shrink: 0;
}

.page-product .related-card .img-wrap {
  position: relative;
  display: block;
  flex-shrink: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--neutral-100);
}
.page-product .related-card .img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-product .related-card .badge {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  background: var(--red-600);
  color: #fff;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 10px;
  font-weight: 600;
}

.page-product .related-card .body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.5rem 0.625rem;
}
@media (min-width: 768px) {
  .page-product .related-card .body { padding: 0.625rem 0.625rem 0.75rem; }
}

.page-product .related-card h3 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .page-product .related-card h3 { font-size: 0.8125rem; margin-bottom: 0.375rem; }
}

.page-product .related-card .price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
}
.page-product .related-card .price { font-size: 0.875rem; font-weight: 700; color: var(--red-600); }
.page-product .related-card .price-old { font-size: 10px; color: var(--neutral-500); text-decoration: line-through; }

.page-product .related-card .delivery {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 10px;
  color: var(--green-600);
  margin-bottom: 0.375rem;
}
.page-product .related-card .delivery-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--green-600);
  border-radius: 50%;
}

.page-product .related-card .btn-cart {
  width: 100%;
  margin-top: auto;
  padding: 0.5rem 0.75rem;
  background: var(--green-600);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.page-product .related-card .btn-cart:hover { background: #15803d; }

/* Extra small screens: forceer FAQ + contact volledig binnen viewport */
@media (max-width: 520px) {
  .page-product .faq-section .container-custom {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  /* Geen `display:block`: dan vervalt `gap` tussen kolommen — FAQ en formulier zitten tegen elkaar */
  .page-product .faq-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
  }
  .page-product .faq-contact-grid > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .page-product .product-contact-form {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1rem;
    overflow: visible;
  }
  .page-product .product-form,
  .page-product .product-form-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .page-product .product-form-group input,
  .page-product .product-form-group textarea {
    width: 100%;
    max-width: 100%;
  }
}

/* reCAPTCHA responsive op extra kleine schermen */
@media (max-width: 390px) {
  .page-product .product-contact-form .g-recaptcha {
    transform: scale(0.9);
    transform-origin: left top;
    width: 304px;
    height: 71px;
  }
}
@media (max-width: 350px) {
  .page-product .product-contact-form .g-recaptcha {
    transform: scale(0.84);
    width: 304px;
    height: 66px;
  }
}

/* ========== Toast melding: toegevoegd aan winkelwagen (upsells) ========== */
.page-product .upsell-toast {
  position: fixed;
  top: calc(var(--header-height, 120px) + 1rem);
  right: 1.25rem;
  transform: translateX(100px);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--neutral-900);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  max-width: calc(100vw - 2rem);
}
.page-product .upsell-toast.visible {
  transform: translateX(0);
  opacity: 1;
}
.page-product .upsell-toast .upsell-toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--green-600);
}

/* Visibility: description left only on desktop (768px+), right only on mobile */
.page-product .hidden-lg { display: none; }
.page-product .description-mobile { display: block; }
@media (min-width: 768px) {
  .page-product .hidden-lg { display: block; }
  .page-product .description-mobile { display: none; }
