/* ============================================
   Products page — full-bleed image + centered panel
   ============================================ */

.products-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #0a0a0a;
  color: #fff;
}

.products-page .site-footer {
  position: relative;
  z-index: 5;
}

/* Full-viewport stage with background photo */
.products-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.products-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  line-height: 0;
}

.products-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(1.08);
}

.products-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 35%, rgba(0, 0, 0, 0.35) 70%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, transparent 40%, transparent 60%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

.products-hero__header {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  background: transparent;
}

.products-page .claims-header--banner {
  background: transparent;
  box-shadow: none;
}

/* Center the products panel on the image */
.products-hero__stage {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    clamp(16px, 3vh, 32px)
    clamp(16px, 3vw, 40px)
    clamp(24px, 4vh, 48px);
  box-sizing: border-box;
  min-height: 0;
}

.products-hero__panel {
  width: min(720px, 100%);
  max-height: min(78vh, 820px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(16px, 2.5vw, 28px);
  border-radius: 20px;
  background: rgba(8, 12, 10, 0.88);
  border: 1px solid rgba(105, 240, 174, 0.28);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
}

.products-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-light, #69f0ae);
}

.products-hero__title {
  margin: 0 0 8px;
  font-family: var(--font-serif), Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.products-hero__lead {
  margin: 0 0 18px;
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.products-hero__tabs {
  text-align: left;
}

/* Always-open products tabs on this page */
.products-page .products-tabs--always-open,
.products-page .products-tabs--section {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.products-page .products-tabs__bar {
  margin: 0 0 14px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  justify-content: center;
  flex-wrap: wrap;
}

.products-page .products-tabs--section .products-tabs__tab {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.products-page .products-tabs--section .products-tabs__tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 150, 65, 0.96) 0%, rgba(0, 108, 46, 0.98) 100%);
  border-color: transparent;
}

.products-page .products-tabs__panels {
  background: transparent;
}

.products-page .products-tabs__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 640px) {
  .products-page .products-tabs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.products-page .products-tabs__cta {
  display: inline-flex;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .products-hero__panel {
    max-height: min(82vh, 900px);
    padding: 14px 12px 16px;
  }

  .products-page .products-tabs__bar {
    justify-content: flex-start;
  }
}
