.product-detail-page {
  background: #fff;
  color: #111318;
}

.product-detail-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 5vw 110px;
}

.product-breadcrumb {
  margin: 10px 0 36px;
  color: #777;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: 7vw;
  align-items: center;
}

.detail-gallery {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  place-items: center;
  background: #fafaf8;
}

.detail-gallery img {
  display: none;
  width: 100%;
  height: 620px;
  padding: 7%;
  object-fit: contain;
}

.detail-gallery img.active {
  display: block;
}

.detail-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  display: flex;
  gap: 2px;
  transform: translateX(-50%);
}

.detail-dots button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.detail-dots button::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9bdc1;
  content: "";
}

.detail-dots button.active::before {
  width: 24px;
  border-radius: 5px;
  background: #d90012;
}

.detail-dots button:focus-visible,
.detail-contact:focus-visible,
.detail-related-card a:focus-visible {
  outline: 2px solid #d90012;
  outline-offset: 3px;
}

.detail-info .eyebrow {
  color: #d90012;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.detail-info h1 {
  margin: 15px 0 20px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.detail-info h2 {
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 500;
}

.detail-info > p {
  max-width: 470px;
  color: #626970;
  font-size: 17px;
  line-height: 1.65;
}

.detail-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 480px;
  margin: 36px 0 34px;
  gap: 14px 22px;
}

.detail-feature {
  padding-top: 12px;
  border-top: 1px solid #dfe1e4;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.detail-contact {
  display: inline-block;
  padding: 16px 24px;
  background: #d90012;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.detail-section {
  max-width: 920px;
  margin: 125px auto 0;
}

.detail-section-label {
  color: #d90012;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.detail-section h2,
.detail-related h2 {
  margin: 15px 0 28px;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: 0;
}

.detail-specs {
  border-top: 1px solid #111318;
}

.detail-spec-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid #e1e3e5;
  font-size: 15px;
}

.detail-spec-row strong {
  font-weight: 600;
}

.detail-spec-row span {
  color: #5d6369;
  overflow-wrap: anywhere;
}

.buyer-information {
  margin-top: 78px;
  padding-top: 42px;
  border-top: 1px solid #111318;
}

.buyer-information h3 {
  margin: 14px 0 28px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.buyer-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.buyer-points > div {
  padding-top: 14px;
  border-top: 1px solid #dfe1e4;
}

.buyer-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.buyer-points span {
  display: block;
  color: #666d74;
  font-size: 13px;
  line-height: 1.55;
}

.secondary-contact {
  background: #111318;
}

.detail-related {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw 110px;
}

.detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-related-card {
  padding: 25px;
  border: 1px solid #e3e5e7;
  background: #fafaf8;
}

.detail-related-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
}

.detail-related-card h3 {
  margin: 14px 0 5px;
  font-size: 26px;
}

.detail-related-card p {
  margin: 0 0 18px;
  color: #72777c;
  font-size: 12px;
}

.detail-related-card a {
  color: #d90012;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 850px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .detail-gallery,
  .detail-gallery img {
    min-height: 440px;
    height: 440px;
  }

  .detail-info h1 {
    font-size: 48px;
  }

  .detail-section {
    margin-top: 85px;
  }

  .detail-related-grid,
  .buyer-points {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .product-detail-main {
    padding: 20px 5vw 70px;
  }

  .product-breadcrumb {
    margin-bottom: 22px;
  }

  .detail-gallery,
  .detail-gallery img {
    min-height: 330px;
    height: 330px;
  }

  .detail-info h1 {
    font-size: 40px;
  }

  .detail-features,
  .detail-spec-row,
  .detail-related-grid,
  .buyer-points {
    grid-template-columns: 1fr;
  }

  .detail-spec-row {
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-detail-page *,
  .product-detail-page *::before,
  .product-detail-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
