/* Product content and prices remain in the page HTML. */
.product-hero {
  --product-hero-image: url("/assets/images/product-heroes/tovarnyy.webp");
}

.product-hero[data-product-category="tyazhelyy"] {
  --product-hero-image: url("/assets/images/product-heroes/tyazhelyy.webp");
}

.product-hero[data-product-category="toshchiy"] {
  --product-hero-image: url("/assets/images/product-heroes/toshchiy.webp");
}

.product-hero[data-product-category="keramzitobeton"] {
  --product-hero-image: url("/assets/images/product-heroes/keramzitobeton.webp");
}

.product-hero[data-product-category="fibrobeton"] {
  --product-hero-image: url("/assets/images/product-heroes/fibrobeton.webp");
}

.product-hero[data-product-category="peskobeton"] {
  --product-hero-image: url("/assets/images/product-heroes/peskobeton.webp");
}

.product-hero[data-product-category="suhoy"] {
  --product-hero-image: url("/assets/images/product-heroes/suhoy.webp");
}

.product-hero[data-product-category="cps"] {
  --product-hero-image: url("/assets/images/product-heroes/cps.webp");
}

.product-hero[data-product-category="rastvor-montazhnyy"] {
  --product-hero-image: url("/assets/images/product-heroes/rastvor-montazhnyy.webp");
}

.product-hero[data-product-category="rastvor-kladochnyy"] {
  --product-hero-image: url("/assets/images/product-heroes/rastvor-kladochnyy.webp");
}

.product-hero[data-product-category="rastvor-tsementnyy"] {
  --product-hero-image: url("/assets/images/product-heroes/rastvor-tsementnyy.webp");
}

.product-hero .hero-showcase {
  min-height: 0;
  background:
    linear-gradient(90deg, rgba(18, 25, 31, 0.94) 0%, rgba(18, 25, 31, 0.84) 38%, rgba(18, 25, 31, 0.4) 66%, rgba(18, 25, 31, 0.14) 100%),
    var(--product-hero-image) center/cover no-repeat;
}

.product-hero .hero-showcase-inner {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
}

.product-hero .hero-showcase-inner--single .hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 850px;
  padding: 38px 44px 40px;
  align-items: flex-start;
}

.product-hero h1 {
  max-width: min(100%, 750px);
  margin: 18px 0 14px;
  font-size: clamp(32px, 3.9vw, 58px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.product-hero .product-hero-summary {
  max-width: 640px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}

.product-hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.product-hero-specs > li {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.product-hero-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(100%, 590px);
}

.product-hero-price {
  flex: 1 1 220px;
  min-width: 0;
  padding: 17px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(15, 23, 30, 0.54);
  backdrop-filter: blur(7px);
}

.product-hero-price:only-child {
  max-width: 290px;
}

.product-hero-price > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.4;
}

.product-hero-price > strong {
  display: block;
  color: #fff;
  font-size: clamp(23px, 2.1vw, 30px);
  line-height: 1.25;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.product-hero .product-hero-price-note {
  margin: 10px 0 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.5;
}

.product-hero-actions {
  margin-top: 0;
}

.product-hero-actions .button {
  min-height: 50px;
}

@media (max-width: 1000px) {
  .product-hero .hero-showcase-inner--single .hero-copy {
    max-width: 760px;
    padding: 32px;
  }

  .product-hero .hero-showcase {
    background-position: center, 60% center;
  }
}

@media (max-width: 600px) {
  .product-hero .hero-showcase {
    border-radius: 22px;
    background:
      linear-gradient(90deg, rgba(18, 25, 31, 0.93), rgba(18, 25, 31, 0.7)),
      var(--product-hero-image) 70% center/cover no-repeat;
  }

  .product-hero .hero-showcase-inner--single .hero-copy {
    padding: 26px 20px 28px;
  }

  .product-hero h1 {
    margin-top: 16px;
    font-size: clamp(24px, 7.5vw, 39px);
  }

  .product-hero-specs {
    gap: 6px;
    margin-bottom: 18px;
  }

  .product-hero-specs > li {
    padding: 7px 9px;
    font-size: 12px;
  }

  .product-hero-prices {
    gap: 8px;
  }

  .product-hero-price {
    flex-basis: 140px;
    padding: 13px 12px;
    border-radius: 12px;
  }

  .product-hero-price > span {
    font-size: 12px;
  }

  .product-hero-price > strong {
    font-size: clamp(19px, 4.8vw, 23px);
  }

  .product-hero-actions {
    width: 100%;
  }

  .product-hero-actions .button {
    width: 100%;
    text-align: center;
  }
}
