/* Shared product-page polish and image viewer sizing */
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.crumb-bar { min-height: 46px; padding: 9px 14px; gap: 9px; border-color: #dce5ef; border-radius: 10px; background: #fff; box-shadow: 0 4px 14px rgba(20,40,75,.045); }
.crumb-bar a { color: #176d68; }
.crumb-bar .back { border-radius: 8px; padding: 7px 13px; background: #f7fafc; }
.crumb-bar .back:hover { background: #e9f6f3; }
.card { border-color: #e4eaf1; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(22,47,89,.055); padding: clamp(18px, 3vw, 28px); margin-bottom: 20px; }
.main-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(20px, 3.5vw, 40px); }
.info h1 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.45; }
.pdesc { color: #5f6f82; font-size: .93rem; line-height: 2; }
.status { gap: 7px; padding: 12px 14px; margin-bottom: 15px; border: 1px solid #e8eef4; border-radius: 11px; background: #f8fafc; }
.price-box { border-color: #dbe9e4; border-radius: 12px; background: #f6fbf8; }
.wa { border-radius: 9px; box-shadow: 0 5px 14px rgba(37,211,102,.2); }
.gallery { gap: 12px; }
.imgbox { border-color: #e3eaf1; border-radius: 13px; background: #fff; padding: 12px; }
.imgbox img { max-height: 280px; background: #f8fafb; border-radius: 8px; }
.view-cap { border-color: #e3eaf1; background: #f6f8fb; color: #536477; }
.thumb { border-color: #e1e8ef; border-radius: 10px; }
.thumb.active { border-color: #138272; }
.trust { gap: 11px; }
.t-item { border-color: #e4eaf1; border-radius: 13px; background: #fff; min-height: 54px; }
.two-col { gap: clamp(22px, 4vw, 44px); }
.dl-big { border: 1px solid #cfdbe8; border-radius: 10px; padding: 11px 20px; color: #193b69; }
.dl-big:hover { border-color: #193b69; }
.tech td { padding: 11px 13px; }
.tech tr:nth-child(odd) { background: #f5f8fb; }
.steps li { border-color: #e3eaf1; border-radius: 12px; background: #fbfcfe; }
.benefit { border-color: #e3eaf1; border-radius: 14px; background: #fbfcfe; }
.rel-card { border-color: #e3eaf1; border-radius: 14px; box-shadow: 0 5px 18px rgba(22,47,89,.04); }
.rel-card img { background: #f8fafb; }
.faq details { border-color: #e2e8f0; border-radius: 10px; }
.faq summary { background: #f6f8fb; }

#lightbox {
  z-index: 10000;
  padding: 56px 18px 24px;
  background: rgba(10,16,24,.82);
  backdrop-filter: blur(4px);
}
#lightbox img {
  max-width: min(720px, 88vw);
  max-height: 72vh;
  padding: 6px;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0,0,0,.38);
}
.lb-close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 10001;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: #fff;
  color: #17243b;
  font-size: 1.65rem;
  line-height: 1;
  box-shadow: 0 5px 18px rgba(0,0,0,.35);
  cursor: pointer;
}
.lb-close:hover { background: #e9f6f3; color: #0f766e; transform: scale(1.05); }

@media (max-width: 860px) {
  .wrap { width: min(100% - 24px, 700px); }
  .main-grid { grid-template-columns: minmax(0,1fr); }
  .gallery { gap: 10px; }
  .imgbox img { max-height: 240px; }
  .trust { gap: 8px; }
  .t-item { padding: 10px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 20px); }
  .crumb-bar { padding: 8px 10px; gap: 6px; font-size: .72rem; }
  .card { padding: 15px; border-radius: 14px; margin-bottom: 14px; }
  .main-grid { gap: 15px; }
  .imgbox { padding: 8px; }
  .imgbox img { max-height: 210px; }
  .thumbs { gap: 7px; }
  .thumb { width: 62px; }
  .trust { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .two-col { gap: 18px; }
  #lightbox { padding: 58px 10px 14px; }
  #lightbox img { max-width: 92vw; max-height: 68vh; }
  .lb-close { top: 10px; right: 10px; width: 42px; height: 42px; }
}

/* Hide the small gallery thumbnail; keep the main product image */
.thumbs { display: none !important; }


/* Enlarge the clicked-image viewer while keeping it within the viewport. */
#lightbox img { max-width: min(840px, 92vw); max-height: 80vh; }
@media (max-width: 520px) {
  #lightbox img { max-width: 94vw; max-height: 74vh; }
}

/* Final sizing for the click-open product image box */
#lightbox img { max-width: min(900px, 94vw); max-height: 82vh; }
@media (max-width: 520px) {
  #lightbox img { max-width: 95vw; max-height: 76vh; }
}

/* Align product pages with the site-wide header and promo strip */
body { padding-top: 0 !important; }



