/* Product pages */
.product-hero {
  padding: 7.5rem 0 4rem;
  background: var(--green-dark);
  color: var(--white);
}

.product-hero h1 {
  font: 600 clamp(2.2rem, 5vw, 3.4rem)/1.05 var(--serif);
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: -1px;
}

.product-hero .underline-note {
  color: #9ccc7a;
}

.product-hero .underline-note:after {
  background: rgba(156, 204, 122, .5);
}

.product-lead {
  font-size: 1.08rem;
  color: #d8e2db;
  max-width: 620px;
  margin: 0 0 2rem;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-fact {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  padding: 1rem 1.2rem;
}

.product-fact strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9ccc7a;
  margin-bottom: .35rem;
}

.product-fact span {
  color: #fff;
  font-size: .95rem;
  line-height: 1.35;
}

.product-section {
  padding: 4rem 0;
}

.product-section.alt {
  background: #f1f2e9;
  border-top: 1px solid #e3e6de;
  border-bottom: 1px solid #e3e6de;
}

.product-body {
  max-width: 820px;
  margin: 0 auto;
}

.product-body h2 {
  font: 600 clamp(1.6rem, 3vw, 2.1rem)/1.1 var(--serif);
  color: var(--ink);
  margin-bottom: 1rem;
}

.product-body h3 {
  font: 600 1.15rem/1.2 var(--serif);
  color: var(--green-dark);
  margin: 1.6rem 0 .5rem;
}

.product-body p,
.product-body li {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
}

.product-overview-grid {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.product-overview-grid > div:first-child {
  flex: 1;
}

.product-overview-grid .product-image {
  flex: 1.1;
}

.product-image {
  text-align: center;
}

.product-image img {
  max-width: 100%;
  max-height: 520px;
  width: auto;
  margin: 0 auto;
  border-radius: 6px;
}

.product-benefits {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.product-benefits li {
  padding: 1.1rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.product-benefits li strong {
  display: block;
  color: var(--ink);
  margin-bottom: .35rem;
  font-size: .98rem;
}

.product-benefits li span {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: .72rem 1.1rem;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  color: var(--muted);
  font-weight: 600;
  width: 38%;
  background: #f6f7f2;
}

.spec-table td {
  color: var(--ink);
}

.steps {
  list-style: none;
  padding: 0;
  margin: .8rem 0 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: .9rem;
}

.steps li:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--green);
  color: #13240e;
  font-size: .8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.steps strong {
  color: var(--ink);
}

.limitations {
  padding-left: 1.2rem;
  margin: .6rem 0 0;
}

.limitations li {
  margin-bottom: .55rem;
}

.product-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.related-card {
  display: block;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: #83cb27;
  box-shadow: 0 10px 24px rgba(9, 35, 31, .1);
}

.related-card strong {
  display: block;
  font: 600 1.05rem/1.2 var(--serif);
  color: var(--ink);
  margin-bottom: .3rem;
}

.related-card span {
  font-size: .85rem;
  color: var(--muted);
}

.product-cta {
  background: var(--green-dark);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.product-cta h2 {
  color: #fff;
  font: 600 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--serif);
  margin-bottom: .6rem;
}

.product-cta p {
  color: #d8e2db;
  max-width: 560px;
  margin: 0 auto 1.6rem;
}

@media (max-width: 768px) {
  .product-facts { grid-template-columns: 1fr 1fr; }
  .product-benefits { grid-template-columns: 1fr; }
  .product-overview-grid {
  flex-direction: column-reverse;
  align-items: stretch;
}
.product-overview-grid > div:first-child,
.product-overview-grid .product-image {
  flex: auto;
}
  .product-related { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .product-facts { grid-template-columns: 1fr; }
  .product-hero { padding: 6.5rem 0 3rem; }
}
/* Hero with background image (MultiSeal Pro) */
.product-hero.has-bg {
  position: relative;
  background-size: cover;
  background-position: center;
}

.product-hero.has-bg:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 40, 33, .94) 0%, rgba(8, 40, 33, .82) 45%, rgba(8, 40, 33, .55) 100%);
}

.product-hero.has-bg .container {
  position: relative;
  z-index: 2;
}
/* Per-product hero background images */
.bg-paveclean {
  background-image: url('../assets/img/paveclean-hero.webp');
}
.bg-turfclean {
  background-image: url('../assets/img/turfclean-hero.webp');
}
.bg-stonelock {
  background-image: url('../assets/img/stonelock-hero.webp');
}
.bg-multiseal {
  background-image: url('../assets/img/multiseal-hero.webp');
}

/* Technical specification - fixed (parallax) background */
.product-section.specs-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.product-section.specs-bg:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 40, 33, .72);
}

.product-section.specs-bg .container {
  position: relative;
  z-index: 2;
}

.product-section.specs-bg h2 {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
}

/* iOS doesn't support fixed background - fall back to scroll */
@media (max-width: 900px) {
  .product-section.specs-bg {
    background-attachment: scroll;
  }
}
/* Coverage & guidance - marble background with colour overlay */
.marble-1 {
  background-image: url('../assets/img/marble-1.webp');
}
.marble-2 {
  background-image: url('../assets/img/marble-2.webp');
}
.marble-3 {
  background-image: url('../assets/img/marble-3.webp');
}
.marble-4 {
  background-image: url('../assets/img/marble-4.webp');
}

.product-section.coverage-bg {
  position: relative;
  background-size: cover;
  background-position: center;
}

.product-section.coverage-bg:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 40, 33, .6);
}

.product-section.coverage-bg .container {
  position: relative;
  z-index: 2;
}

.product-section.coverage-bg h2,
.product-section.coverage-bg h3 {
  color: #fff;
}

.product-section.coverage-bg p {
  color: #d4dfda;
}
