.product-page {
  background: #fbfaf5;
}

.product-page .site-header .brand,
.product-page .site-header .site-nav a {
  text-decoration: none;
}

.product-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 74px;
  overflow: hidden;
  color: #fffdf7;
  background-position: center;
  background-size: cover;
}

.thread-hero {
  background-image: linear-gradient(90deg, rgba(10, 18, 16, 0.9) 0%, rgba(10, 18, 16, 0.7) 48%, rgba(10, 18, 16, 0.16) 100%), url("thread-stock.jpg");
}

.machine-hero {
  background-image: linear-gradient(90deg, rgba(10, 18, 16, 0.9) 0%, rgba(10, 18, 16, 0.68) 48%, rgba(10, 18, 16, 0.12) 100%), url("hero-machine.jpg");
}

.product-hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  margin-bottom: 22px;
  color: #dce7e3;
  font-size: 14px;
}

.breadcrumb a {
  color: #9ee0d2;
  text-decoration: none;
}

.product-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #fffdf7;
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: 0;
}

.product-hero-copy {
  max-width: 700px;
  margin-bottom: 28px;
  color: #e3ece9;
  font-size: 19px;
  line-height: 1.75;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-summary {
  padding: 34px 0;
  color: #fffdf7;
  background: var(--graphite);
}

.product-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.product-summary-grid div {
  min-height: 116px;
  padding: 24px;
  background: var(--graphite);
}

.product-summary-grid strong,
.product-summary-grid span {
  display: block;
}

.product-summary-grid strong {
  margin-bottom: 8px;
  color: #fffdf7;
  font-size: 17px;
}

.product-summary-grid span {
  color: #aebfba;
  line-height: 1.55;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.product-detail-media {
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 22, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.product-detail-media img,
.product-detail-media video {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: block;
  object-fit: cover;
}

.product-detail-copy p {
  color: var(--muted-ink);
  font-size: 17px;
  line-height: 1.75;
}

.product-detail-copy .check-list {
  margin-top: 24px;
}

.product-page .process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-page .process-step {
  min-height: 210px;
}

.product-cta {
  padding: 72px 0;
  color: #fffdf7;
  background: linear-gradient(110deg, #111816 0%, #17312c 65%, #713a28 100%);
}

.product-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
}

.product-cta h2 {
  margin-bottom: 12px;
  color: #fffdf7;
}

.product-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: #bfd0cb;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .product-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-layout,
  .product-cta-layout {
    grid-template-columns: 1fr;
  }

  .product-page .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .product-hero {
    min-height: 660px;
    padding: 126px 0 54px;
    background-position: 64% center;
  }

  .product-hero-content {
    width: min(100% - 32px, 1180px);
  }

  .product-hero h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .product-hero-copy {
    font-size: 17px;
  }

  .product-hero-actions {
    flex-direction: column;
  }

  .product-summary-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-media,
  .product-detail-media img,
  .product-detail-media video {
    min-height: 290px;
  }
}
