.product-page-main {
  min-height: calc(100vh - 82px);
  padding: 28px 6.5% 90px;
  background: #f5f9fc;
}

.product-page-container {
  max-width: 1200px;
  margin: 0 auto;
}

.product-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  color: #788ca0;
  font-size: 12px;
}

.product-breadcrumbs a:hover,
.related-products-heading > a:hover {
  color: #087cc3;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: clamp(26px, 4vw, 52px);
}

.product-media-column {
  position: sticky;
  top: 105px;
}

.product-image-stage {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e0eaf2;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 40%, #fff 0%, #f5faff 54%, #e8f3fa 100%);
}

.product-image-stage.has-gallery {
  touch-action: pan-y;
}

.product-image-stage::after {
  position: absolute;
  right: 12%;
  bottom: 8%;
  left: 12%;
  height: 24px;
  border-radius: 50%;
  background: #0c34501a;
  content: "";
  filter: blur(13px);
}

.product-image-stage img {
  position: relative;
  z-index: 1;
  display: block;
  width: 88%;
  height: 450px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-gallery-controls {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.product-gallery-control {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid #dce8f1;
  border-radius: 50%;
  background: #fff;
  color: #082d5b;
  box-shadow: 0 4px 14px #082d5b1a;
  font-size: 19px;
  cursor: pointer;
  pointer-events: auto;
}

.product-gallery-control:hover {
  border-color: #087cc3;
  color: #087cc3;
}

.product-gallery-count {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  padding: 6px 9px;
  border: 1px solid #dce8f1;
  border-radius: 20px;
  background: #fff;
  color: #526b82;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.product-gallery-thumbnails {
  display: flex;
  gap: 9px;
  margin-top: 12px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}

.product-gallery-thumbnail {
  display: grid;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  place-items: center;
  padding: 5px;
  overflow: hidden;
  border: 1px solid #dce7ef;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  scroll-snap-align: start;
}

.product-gallery-thumbnail.is-active {
  border: 2px solid #087cc3;
  box-shadow: 0 0 0 2px #087cc31a;
}

.product-gallery-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-category-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border: 1px solid #d8e7f1;
  border-radius: 20px;
  background: #fff;
  color: #0876b5;
  font-size: 10px;
  font-weight: 800;
}

.product-image-caption {
  margin: 12px 3px 0;
  color: #8193a5;
  font-size: 11px;
}

.product-summary,
.product-specifications,
.product-features {
  border: 1px solid #e1eaf2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px #082d5b08;
}

.product-summary {
  padding: clamp(24px, 3.2vw, 38px);
}

.product-summary h1 {
  margin: 11px 0 7px;
  color: #08264d;
  font: 800 clamp(30px, 3vw, 42px)/1.12 Manrope, sans-serif;
  letter-spacing: -1.7px;
}

.product-category-line {
  margin: 0;
  color: #6d8297;
  font-size: 14px;
}

.product-price-panel {
  display: grid;
  gap: 6px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid #dceaf3;
  border-radius: 9px;
  background: linear-gradient(110deg, #eff8fd, #f8fcff);
}

.product-price-panel > span {
  color: #71879b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.product-price-panel strong {
  color: #082d5b;
  font: 800 24px/1.2 Manrope, sans-serif;
  font-variant-numeric: tabular-nums;
}

.product-price-panel p {
  margin: 0;
  color: #6d8297;
  font-size: 12px;
  line-height: 1.55;
}

.product-key-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.product-key-fact {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #e5edf3;
  border-radius: 7px;
  background: #fff;
}

.product-key-fact span {
  color: #8293a3;
  font-size: 9px;
  font-weight: 700;
}

.product-key-fact strong {
  color: #18395b;
  font-size: 12px;
  line-height: 1.35;
}

.product-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.product-whatsapp-button,
.product-call-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #082d5b;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.product-whatsapp-button {
  background: #082d5b;
  color: #fff;
}

.product-whatsapp-button:hover {
  transform: translateY(-2px);
  background: #087cc3;
  border-color: #087cc3;
}

.product-whatsapp-button span {
  color: #f3bd45;
  font-size: 16px;
}

.product-call-button {
  background: #fff;
  color: #082d5b;
}

.product-call-button:hover {
  background: #f0f7fb;
}

.product-contact-note {
  margin: 15px 0 0;
  color: #8092a3;
  font-size: 10px;
  line-height: 1.6;
}

.product-information-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: start;
  gap: 22px;
  margin-top: 54px;
}

.product-information-grid > .product-specifications:only-child {
  grid-column: 1 / -1;
}

.product-specifications,
.product-features {
  padding: clamp(22px, 3vw, 34px);
}

.product-specifications h2,
.product-features h2,
.related-products-heading h2 {
  margin: 8px 0 22px;
  color: #08264d;
  font: 800 clamp(23px, 2.4vw, 30px)/1.2 Manrope, sans-serif;
  letter-spacing: -0.8px;
}

.product-specifications dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #e8eef3;
}

.product-specification {
  display: grid;
  gap: 7px;
  min-height: 68px;
  align-content: center;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid #e8eef3;
}

.product-specification dt {
  color: #8393a2;
  font-size: 10px;
}

.product-specification dd {
  margin: 0;
  color: #18395b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.product-catalogue-note {
  margin: 17px 0 0;
  color: #8192a2;
  font-size: 10px;
  line-height: 1.6;
}

.product-features ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-features li {
  position: relative;
  padding-left: 22px;
  color: #50677d;
  font-size: 13px;
  line-height: 1.5;
}

.product-features li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #0a83bc;
  content: "✓";
  font-weight: 800;
}

.related-products {
  margin-top: 64px;
}

.related-products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.related-products-heading h2 {
  margin-bottom: 0;
}

.related-products-heading > a {
  padding-bottom: 4px;
  color: #082d5b;
  font-size: 12px;
  font-weight: 800;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.related-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px;
  border: 1px solid #e1eaf2;
  border-radius: 10px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.related-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px #082d5b12;
}

.related-product-image {
  display: grid;
  height: 160px;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #edf6fc;
}

.related-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.related-product-category {
  margin-top: 12px;
  color: #0876b5;
  font-size: 9px;
  font-weight: 800;
}

.related-product-card > strong {
  margin-top: 6px;
  color: #08264d;
  font: 700 13px/1.35 Manrope, sans-serif;
}

.related-product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  color: #6b8196;
  font-size: 10px;
  font-weight: 700;
}

.related-product-link span {
  color: #d7a33c;
  font-size: 15px;
}

.product-not-found {
  max-width: 700px;
  margin: 56px auto 80px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid #e1eaf2;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.product-not-found h1 {
  margin: 12px 0;
  color: #08264d;
  font: 800 clamp(26px, 4vw, 38px)/1.2 Manrope, sans-serif;
}

.product-not-found p {
  margin: 0 0 24px;
  color: #6d8297;
  font-size: 14px;
}

.product-error {
  margin: 30px 0;
  color: #a52c2c;
}

@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-media-column {
    position: static;
  }

  .product-image-stage {
    min-height: 440px;
  }

  .product-information-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .product-page-main {
    padding: 20px 5% 65px;
  }

  .product-breadcrumbs {
    gap: 7px;
    margin-bottom: 16px;
    font-size: 10px;
  }

  .product-image-stage {
    min-height: 360px;
  }

  .product-image-stage img {
    height: 320px;
  }

  .product-gallery-thumbnail {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
  }

  .product-summary {
    padding: 22px 18px;
  }

  .product-summary h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .product-key-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-information-grid {
    gap: 14px;
    margin-top: 34px;
  }

  .related-products {
    margin-top: 44px;
  }

  .related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .related-product-image {
    height: 140px;
  }
}

@media (max-width: 420px) {
  .product-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-specifications dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .related-products-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .related-products-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
