/* Productpagina herstel — Mike Quint van Reclame-online.nl. */
.ow-single-product .ow-pdp-return-policy article > p:empty,
.ow-single-product .ow-pdp-return-policy article > br,
.ow-single-product .ow-product-reference > p:empty,
.ow-single-product .ow-pdp-main-image > p:empty,
.ow-single-product .ow-pdp-thumbs > p:empty { display: none; }
.ow-single-product .ow-pdp-return-policy article {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px;
  align-items: start; min-width: 0;
}
.ow-single-product .ow-pdp-return-policy article > span { grid-column: 1; grid-row: 1; }
.ow-single-product .ow-pdp-return-policy article > div { grid-column: 2; grid-row: 1; min-width: 0; width: auto; }
.ow-single-product .ow-pdp-return-policy article p { font-size: 15px; line-height: 1.6; color: #40536a; }
.ow-single-product .ow-pdp-return-policy article p + p { margin-top: 8px; }
.ow-single-product .ow-pdp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.ow-single-product .ow-pdp-main-image { min-height: 0; padding: 24px 48px; }
.ow-single-product .ow-pdp-main-image a { display: grid; place-items: center; height: 460px; }
.ow-single-product .ow-pdp-main-image img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; }
.ow-single-product .ow-pdp-thumbs { display: flex; justify-content: center; gap: 12px; padding: 0 24px 24px; }
.ow-single-product .ow-pdp-thumbs button { width: 88px; height: 88px; flex: 0 0 88px; }
.ow-single-product .ow-pdp-thumbs button img { width: 76px; height: 76px; object-fit: contain; }
.ow-single-product .ow-pdp-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.ow-single-product .ow-pdp-proof article { min-height: 0; padding: 20px 12px; }
.ow-single-product .ow-pdp-summary h1 { font-size: clamp(25px, 2.2vw, 34px); line-height: 1.18; }
.ow-single-product .ow-product-reference { padding: 14px 16px; margin: 16px 0 20px; }
.ow-single-product .ow-product-reference strong { display: block; font-size: 18px; font-weight: 700; }
.ow-single-product .ow-product-reference small { display: block; font-size: 14px; line-height: 1.5; margin-top: 3px; }
.ow-single-product .ow-pdp-description p { font-size: 15px; line-height: 1.6; }
.ow-single-product .ow-pdp-features:empty { display: none; }
.ow-single-product .ow-pdp-all-specs { margin-bottom: 18px; }
.ow-single-product .ow-service-intro { margin: 0; padding: 0 20px 16px; font-size: 14px; line-height: 1.5; color: #40536a; }
.ow-single-product .ow-service-options label { grid-template-columns: 18px 24px minmax(0, 1fr) auto; gap: 10px; padding: 14px 18px; min-height: 0; }
.ow-single-product .ow-service-options small { display: block; font-size: 13px; line-height: 1.45; color: #40536a; }
.ow-single-product .ow-service-options strong { font-size: 14px; }
.ow-single-product .ow-service-notes { margin: 14px 18px 0; }
.ow-single-product .ow-service-notes p { font-size: 13px; line-height: 1.5; color: #40536a; }
.ow-single-product .ow-cart-row { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; }
.ow-single-product .ow-cart-row .ow-wishlist { display: none; }
.ow-single-product .ow-service-form .ow-cart-row button[type="submit"] { background: #087b32; color: #fff; min-height: 48px; }
.ow-single-product .ow-service-form .ow-cart-row button[type="submit"]:hover { background: #056127; }
.ow-single-product .ow-pdp-promises { margin-top: 18px; }
.ow-single-product .ow-pdp-promises li { font-size: 13px; line-height: 1.6; color: #40536a; }
.ow-single-product .ow-pdp-tabs { margin-top: 32px; }
.ow-single-product .ow-product-description { padding: 24px 28px; border: 0; border-top: 1px solid #dfe8f4; border-radius: 0; box-shadow: none; }
.ow-single-product .ow-product-description h2 { margin: 0 0 12px; font-size: 22px; }
.ow-single-product .ow-product-description p { color: #40536a; font-size: 15px; line-height: 1.65; }
.ow-single-product .ow-pdp-spec-table div { grid-template-columns: minmax(100px, .8fr) minmax(0, 1fr); gap: 16px; }
.ow-single-product .ow-pdp-spec-table dd { overflow-wrap: anywhere; }
.ow-single-product #omschrijving, .ow-single-product #verzending { scroll-margin-top: 24px; }

/* Related products / cross-sell section */
.ow-related-products {
  margin-top: 48px;
  padding: 40px 0;
  border-top: 1px solid #e5ebf3;
}
.ow-related-products h2 {
  margin: 0 0 28px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 900;
  color: #071a37;
  text-align: center;
}
.ow-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* Guarantee badge on product cards */
.ow-guarantee-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 10px;
  background: #f0f7f2;
  border: 1px solid #d0e8d6;
  border-radius: 6px;
  color: #087b32;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.ow-guarantee-badge svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  flex-shrink: 0;
}

@media (min-width: 901px) {
  body.single-product .ow-floating-cart { display: none; }
}
@media (max-width: 900px) {
  .ow-single-product .ow-pdp-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ow-single-product .ow-pdp-main-image { padding: 20px 40px; }
  .ow-single-product .ow-pdp-main-image a { height: 360px; }
  .ow-single-product .ow-pdp-main-image img { max-height: 360px; }
  .ow-single-product .ow-pdp-spec-table { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ow-single-product .ow-pdp-spec-table dl { margin: 0; }
  .ow-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ow-single-product .ow-pdp-main-image a { height: 310px; }
  .ow-single-product .ow-pdp-main-image img { max-height: 310px; }
  .ow-single-product .ow-pdp-proof article { padding: 14px 6px; }
  .ow-single-product .ow-pdp-proof article small { display: none; }
  .ow-single-product .ow-pdp-proof article strong { font-size: 12px; }
  .ow-single-product .ow-service-options label { grid-template-columns: 18px 22px minmax(0, 1fr); gap: 10px; padding: 14px; }
  .ow-single-product .ow-service-options em { grid-column: 3; text-align: left; }
  .ow-single-product .ow-service-form .ow-cart-row { grid-template-columns: 52px minmax(0, 1fr) !important; gap: 10px; padding: 14px; }
  .ow-single-product .ow-service-form .ow-cart-row input[type="number"] { width: 52px !important; }
  .ow-single-product .ow-service-heading { padding: 16px 14px; gap: 12px; }
  .ow-single-product .ow-service-intro { padding: 0 14px 14px; }
  .ow-single-product .ow-pdp-return-policy, .ow-single-product .ow-product-description,
  .ow-single-product .ow-pdp-spec-table { padding: 20px 16px; }
  .ow-single-product .ow-pdp-return-policy article { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .ow-single-product .ow-pdp-return-policy article > span { width: 32px; height: 32px; }
  .ow-single-product .ow-pdp-tabs nav { gap: 24px; padding: 0 16px; }
  .ow-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .ow-related-products { margin-top: 32px; padding: 28px 0; }
  .ow-related-products h2 { font-size: 20px; margin-bottom: 20px; }
}

/* ── Lightbox ── */
.ow-lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
}
.ow-lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.88);
}
.ow-lb-img {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
.ow-lb-close {
  position: absolute; top: 16px; right: 20px; z-index: 2;
  background: none; border: none;
  color: #fff; font-size: 36px; line-height: 1;
  cursor: pointer; opacity: 0.7;
  transition: opacity 0.15s;
}
.ow-lb-close:hover { opacity: 1; }
.ow-lb-prev, .ow-lb-next {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1); border: none;
  color: #fff; font-size: 40px; line-height: 1;
  width: 52px; height: 52px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.ow-lb-prev { left: 16px; }
.ow-lb-next { right: 16px; }
.ow-lb-prev:hover, .ow-lb-next:hover { background: rgba(255, 255, 255, 0.2); }
.ow-lb-counter {
  position: absolute; bottom: 20px; left: 50%; z-index: 2;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px; font-weight: 600;
}
@media (max-width: 767px) {
  .ow-lb-prev, .ow-lb-next { width: 40px; height: 40px; font-size: 32px; }
  .ow-lb-prev { left: 8px; }
  .ow-lb-next { right: 8px; }
}
