/* =========================================================
   PRODUCTS — Listing and detail layouts
   Typography, buttons, navigation, FAQ, CTA and footer are shared.
   ========================================================= */
#product-suite {
  scroll-margin-top: 112px;
}
.product-detail .product-section {
  padding-block: 64px;
}
.product-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid #56638c;
  border-radius: 20px;
  background: #18214b;
}
.product-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.product-media figcaption {
  padding: 12px 18px;
  color: #e9edf8;
  font-size: 12px;
  line-height: 1.6;
}
.product-listing-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}
.product-category {
  color: #9b390e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.product-listing-card:focus-within {
  outline: 3px solid #b34717;
  outline-offset: 4px;
}
.product-listing-card .product-status {
  align-self: flex-start;
  margin-block: 18px;
}
.product-card .product-value-list {
  padding: 0;
  list-style: none;
}
.product-value-list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--border);
}
.product-value-list li::before {
  position: absolute;
  left: 0;
  content: '\2713';
  color: #ad3900;
  font-weight: 700;
}
.product-detail .product-steps strong {
  display: block;
  margin-bottom: 6px;
}
.page-products .cta-banner[data-cta-category='energy'],
.page-products .cta-banner[data-cta-category='distribution'] {
  background-image:
    linear-gradient(90deg, rgb(17 22 51 / 88%), rgb(24 31 73 / 86%)), var(--cta-category-image);
}
.page-products .cta-banner[data-cta-category='energy'] {
  --cta-category-image: url('../images/products/hvac-commercial-energy.webp');
  --cta-category-mobile-image: var(--cta-category-image);
}
.page-products .cta-banner[data-cta-category='distribution'] {
  --cta-category-image: url('../images/products/wholesale-distribution.webp');
  --cta-category-mobile-image: var(--cta-category-image);
}
@media (max-width: 767px) {
  #product-suite {
    scroll-margin-top: 90px;
  }
  .product-detail .product-section {
    padding-block: 48px;
  }
}
.product-section {
  padding-block: 80px;
}
.product-section--tint {
  background: var(--bg-tint);
}
.product-hero {
  padding-block: 80px;
  color: #fff;
  background: linear-gradient(125deg, #111633, #1f2b6c);
}
.product-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-hero h1 {
  color: #fff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
}
.product-hero p {
  max-width: 680px;
  color: #e9edf8;
  line-height: 1.75;
}
.product-hero .eyebrow {
  color: #ffb58c;
}
.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.product-actions .product-text-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.product-actions .btn-primary {
  background: #d44100;
  border-color: #d44100;
}
.product-status {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 12px;
  border: 1px solid #e9c0a7;
  border-radius: 8px;
  background: #fff2e9;
  color: #8c390d;
  font-size: 13px;
  font-weight: 700;
}
.product-hero .product-status {
  border-color: #ffbb8d;
  background: #fff2e9;
  color: #87330a;
}
.product-heading {
  max-width: 780px;
  margin-bottom: 36px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.product-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: #545b78;
}

.product-card, .product-copy ul li {
  color: #545b78;
}

.source-list ul li {
  color: #545b78;
}
  
.product-card h3 {
  margin-block: 16px 12px;
}
.product-card p {
  margin-bottom: 18px;
}
.product-card .product-card__link {
  margin-top: auto;
  padding-top: 20px;
  font-weight: 700;
  color: #ad3900;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.product-card__index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff0e7;
  color: #a93b05;
  font-weight: 700;
}
.product-listing-card {
  padding: 0;
  overflow: hidden;
}
.product-listing-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 32px;
}
.product-card__visual {
  min-height: 245px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 36px;
  color: #fff;
  background: linear-gradient(125deg, #182044, #25336e);
}
.product-card__visual strong {
  color: #fff;
  font-size: 24px;
}
.product-card__visual span {
  color: #dce4fa;
}
.product-card__visual small {
  color: #ffbb96;
}
.product-workflow {
  margin: 0;
  padding: 32px;
  border: 1px solid #59648d;
  border-radius: 24px;
  background: #18214b;
  box-shadow: var(--shadow-soft);
}
.product-workflow figcaption {
  margin-bottom: 24px;
  color: #ffbb96;
  font-size: 13px;
  line-height: 1.6;
}
.product-workflow ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-workflow li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid #55638b;
  border-radius: 12px;
  color: #fff;
  background: #222e5c;
}
.product-workflow li > span:first-child {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #152044;
  background: #ffb98e;
  font-weight: 700;
}
.product-workflow strong {
  display: block;
  color: #fff;
}
.product-workflow small {
  display: block;
  color: #dce3f6;
}
.product-note {
  margin-block: 28px;
  padding: 24px;
  border-left: 3px solid var(--orange);
  background: #fff4ed;
  color: #4b4051;
}
.product-pilot {
  padding: 40px;
  border-radius: 20px;
  background: #eef2fb;
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.product-gallery figure {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}
.product-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.product-gallery figcaption {
  padding-top: 14px;
  font-size: 14px;
}
.product-copy {
  max-width: 900px;
}
.product-copy > * + * {
  margin-top: 20px;
}
.product-copy ul,
.product-copy ol {
  padding-left: 24px;
}
.product-copy ul,
.product-card ul {
  padding-left: 24px;
  list-style: disc;
}
.product-copy li + li,
.product-card li + li {
  margin-top: 8px;
}
.product-copy table {
  width: 100%;
  border-collapse: collapse;
}
.product-copy td,
.product-copy th {
  padding: 12px;
  border: 1px solid var(--border);
}
.product-steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--border);
}
.product-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 10px;
  background: #fff0e7;
  color: #a13c09;
  font-weight: 700;
}
@media (max-width: 1024px) {
  .product-hero__grid {
    gap: 36px;
  }
  .product-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .product-section,
  .product-hero {
    padding-block: 56px;
  }
  .product-hero__grid,
  .product-grid,
  .product-grid--three,
  .product-grid--four,
  .product-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-card,
  .product-workflow,
  .product-listing-card__content,
  .product-pilot {
    padding: 24px;
  }
  .product-listing-card {
    padding: 0;
  }
  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .product-actions .btn {
    width: 100%;
    text-align: center;
  }
  .product-actions .product-text-link {
    text-align: center;
  }
}
