.product-hero {
  position: relative;
  color: #ffffff;
  background-image: url("../images/hero-protective-coating.jpg");
  background-position: center;
  background-size: cover;
}

.product-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(21, 24, 29, 0.72);
}

.product-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 930px;
  min-height: 430px;
  padding: 46px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 700;
}

.breadcrumb a {
  color: #ffffff;
}

.breadcrumb span::before,
.breadcrumb a + a::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.42);
}

.product-hero .section-eyebrow {
  color: var(--color-warning);
}

.product-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1;
}

.product-hero p:not(.section-eyebrow) {
  max-width: 800px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
}

.product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.product-content-section,
.product-range-section {
  background: #ffffff;
}

.product-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 42px;
}

.product-content-main {
  max-width: 850px;
}

.product-content-main h2,
.aside-card h2,
.product-range-section h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
}

.product-content-main h2 {
  margin-top: 34px;
}

.product-content-main h2:first-of-type {
  margin-top: 0;
}

.product-content-main p,
.aside-card p,
.product-range-section p,
.product-card p {
  margin: 14px 0 0;
  color: var(--color-muted);
}

.product-content-main a {
  color: var(--color-accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.product-content-main strong {
  color: var(--color-ink);
}

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

.buying-grid article {
  min-height: 210px;
  padding: 22px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.buying-grid span,
.product-card > span {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.buying-grid h3,
.product-card h3 {
  margin: 36px 0 10px;
  font-size: 1.12rem;
  line-height: 1.22;
}

.buying-grid p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.93rem;
}

.product-aside {
  position: sticky;
  top: 140px;
  display: grid;
  gap: 16px;
}

.product-aside img {
  width: 100%;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.aside-card,
.aside-links {
  padding: 22px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.aside-card h2 {
  font-size: 1.5rem;
}

.aside-card .button {
  width: 100%;
  margin-top: 20px;
}

.aside-links {
  display: grid;
  gap: 10px;
}

.aside-links a {
  color: var(--color-ink-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.aside-links a:hover,
.aside-links a:focus {
  color: var(--color-accent);
}

.product-range-section {
  border-top: 1px solid var(--color-line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(21, 24, 29, 0.04);
}

.product-card h3 a:hover,
.product-card h3 a:focus {
  color: var(--color-accent);
}

.product-card .text-link {
  margin-top: auto;
  padding-top: 22px;
}

.product-card.is-observed {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .product-content-layout {
    grid-template-columns: 1fr;
  }

  .product-aside {
    position: static;
  }

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

@media (max-width: 760px) {
  .product-hero__inner {
    min-height: auto;
    padding: 44px 0;
  }

  .breadcrumb {
    margin-bottom: 24px;
  }

  .product-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

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