/* ============================================
   PRODUCT-DETAIL.CSS
   Fully self-contained — does not depend on
   home.css. Reusable for every VODO / Mediola /
   DocExa sub-product detail page.
   ============================================ */

main {
  padding-top: 0;
}

/* main {
  padding-top: var(--header-height); for no TOP PAGINATION  
} */

/* ---------- shared eyebrow / accent (page-local) ---------- */
.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(14, 159, 110, 0.08);
  border: 1px solid rgba(14, 159, 110, 0.18);
  color: var(--teal-dark);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.accent-teal {
  color: var(--teal-light);
}

/* ---------- shared placeholder panel ---------- */
.placeholder-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-height: 360px;
  border: 1px solid var(--card-bd);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  color: var(--text-muted);
  padding: 30px;
}

.placeholder-panel__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-2);
}

.placeholder-panel__note {
  font-size: 0.8rem;
  max-width: 260px;
}

.placeholder-panel--dark {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
}
.placeholder-panel--dark .placeholder-panel__title {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- HERO (always dark) ---------- */
.product-hero {
  background: linear-gradient(150deg, #04211b, #0a2a22 55%, #04211b);
  color: #fff;
  padding: 70px 0 60px;
}

.product-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.product-hero__kicker {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.product-hero__kicker-dash {
  color: var(--teal-light);
  margin: 0 4px;
}

.product-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.product-hero__tagline {
  color: var(--teal-light);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.product-hero__desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 480px;
  /* text-align: justify; */
}

@media (max-width: 880px) {
  .product-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- CONTENT SECTIONS (flat, matching background) ---------- */
.product-section,
.product-section--tint {
  padding: 100px 0;
  background: var(--bg-2);
}

.product-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.product-section__inner--reverse .product-section__copy {
  order: 2;
}

.product-section__copy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.product-section__copy p {
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.75;
  max-width: 480px;
  /* text-align: justify; */
}

@media (max-width: 880px) {
  .product-section__inner,
  .product-section__inner--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-section__inner--reverse .product-section__copy {
    order: 0;
  }
}

/* ---------- BUSINESS IMPACT CHECKLIST (single column list) ---------- */
.product-impact-grid {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  border: 1px solid var(--card-bd);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.product-impact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  font-size: 0.94rem;
  color: var(--text);
  border-bottom: 1px solid var(--divider);
}

.product-impact-item:last-child {
  border-bottom: none;
}

.product-impact-item svg {
  flex-shrink: 0;
  color: var(--teal);
  background: rgba(14, 159, 110, 0.1);
  border-radius: 50%;
  padding: 5px;
  box-sizing: content-box;
}

/* ---------- CLOSING BANNER (always dark) ---------- */
.product-closing {
  background: linear-gradient(150deg, #04211b, #0a2a22 55%, #04211b);
  padding: 100px 0;
  text-align: center;
}

.product-closing h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.45;
  color: #fff;
}

/* ---------- PAGINATION (top + bottom, identical style) ---------- */
.product-pagination {
  background: var(--bg-2);
  border-top: 1px solid var(--divider);
}

.product-pagination--top {
  border-top: none;
  border-bottom: 1px solid var(--divider);
  margin-top: 70px;
}

.product-pagination__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.product-pagination__count {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.product-pagination__next-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #fff;
  border: none;
}

.product-pagination__next-btn:hover {
  background: var(--orange-deep);
}

.product-pagination__prev-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* ---------- REAL MEDIA (replaces placeholder once you have assets) ---------- */
.product-media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.product-media-frame img,
.product-media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .product-pagination__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .product-pagination__count {
    order: -1;
    text-align: center;
  }

  .product-pagination__prev-btn,
  .product-pagination__next-btn {
    justify-content: center;
  }
}