/* Product page: header (photo + title), Manuals | Helpful Articles (hidden when both empty and videos exist), Videos, Support */
.product-page {
  max-width: 960px;
  margin: 0 auto 3rem;
  padding: 0 24px;
}

.product-page__back-row {
  margin: 0 0 1.15rem;
}

.product-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.55rem 0.35rem 0.55rem 0;
  min-height: 44px;
  box-sizing: border-box;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  color: var(--color-brand-primary, #1d7cb6);
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.product-page__back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-page__back:focus {
  outline: none;
}

.product-page__back:focus-visible {
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-page__back-icon {
  flex-shrink: 0;
}

.product-page__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.product-page__image {
  display: block;
  max-width: 320px;
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-page__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: rgb(var(--text-color-rgb, 17, 24, 39));
  margin: 0;
}

/* Two vertical sections: Manuals | Helpful Articles */
.product-page__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.product-page__columns[hidden] {
  display: none !important;
}

/* No manuals/articles (but has videos): only header + Videos + Support */
.product-page--videos-only .product-page__videos-section {
  margin-top: 0;
}

/* Both manuals & Helpful Articles empty: single column, hide Helpful Articles block */
.product-page__columns--joint-empty {
  grid-template-columns: 1fr;
}

/* Joint empty: no “Manuals” heading or blue rule — copy stands alone above Videos */
.product-page--joint-empty .product-page__col--manual > .product-page__col-heading {
  display: none;
}

/* Full-width “all resources coming” note; wraps on small screens */
.product-page__empty-both-wrap {
  margin: 0;
  max-width: 100%;
}

.product-page__empty-both {
  margin: 0;
  padding: 0.15rem 0;
  color: var(--color-text-secondary, #6b7280);
  line-height: 1.5;
  white-space: normal;
  font-size: clamp(0.6875rem, 1.1vw + 0.55rem, 1rem);
  display: block;
  max-width: 100%;
}

@media (min-width: 480px) {
  .product-page__empty-both {
    font-size: clamp(0.8125rem, 0.9vw + 0.65rem, 1.0625rem);
  }
}

/* Placeholder when the other column has content but this one does not */
.product-page__empty-column {
  margin: 0;
  color: var(--color-text-secondary, #6b7280);
  line-height: 1.5;
  font-size: 0.9375rem;
}

.product-page__col {
  padding: 0;
}

.product-page__col-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgb(var(--text-color-rgb, 17, 24, 39));
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-brand-primary, #1d7cb6);
}

.product-page-panel {
  padding: 0;
}

.product-page__manual-subheading {
  font-size: 1rem;
  font-weight: 600;
  color: rgb(var(--text-color-rgb, 17, 24, 39));
  margin: 1.25rem 0 0.5rem;
  padding: 0;
}

.product-page__manual-subheading:first-child {
  margin-top: 0;
}

.product-page__manual-list {
  margin: 0 0 0.5rem;
}

#product-page-articles a,
#product-page-manuals a {
  display: inline;
  padding: 0.35rem 0;
  color: var(--color-link, #1d7cb6);
  text-decoration: none;
}

/* Only the link text is clickable; disable theme's full-area overlay */
#product-page-articles a.lt-card__link::after,
#product-page-manuals a.lt-card__link::after {
  display: none;
}

#product-page-articles a:hover,
#product-page-manuals a:hover {
  text-decoration: underline;
}

.product-page-loading {
  color: var(--color-text-secondary, #6b7280);
  margin: 0;
}

/* Videos section: heading + grid of embedded videos */
.product-page__videos-section {
  margin-bottom: 2.5rem;
}

.product-page__videos-section .product-page__col-heading {
  margin-bottom: 1rem;
}

.product-page__videos-inner .product-page__video-placeholder {
  background: rgba(29, 124, 182, 0.08);
  border: 2px dashed rgba(29, 124, 182, 0.3);
  border-radius: 12px;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--color-text-secondary, #6b7280);
}

.product-page__video-placeholder p {
  margin: 0;
  font-size: 1rem;
}

/* Grid of video cards: 2 columns when multiple embeds; single column on phones */
.product-page__video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.25rem;
  align-items: start;
}

@media (max-width: 767px) {
  .product-page__video-grid {
    grid-template-columns: 1fr;
  }
}

.product-page__video-card {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.product-page__video-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgb(var(--text-color-rgb, 17, 24, 39));
  margin: 0;
  padding: 1rem 1.25rem 0.5rem;
}

.product-page__video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.product-page__video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Non-YouTube video: show as link card */
.product-page__video-card--link .product-page__video-card-title {
  padding-bottom: 1rem;
}

.product-page__video-card--link .product-page__video-card-title a {
  color: var(--color-link, #1d7cb6);
  text-decoration: none;
}

.product-page__video-card--link .product-page__video-card-title a:hover {
  text-decoration: underline;
}

/* Support block — high-contrast card below manuals / articles / videos */
.product-page__support {
  margin-top: 3rem;
  background: linear-gradient(145deg, #1873ad 0%, #135a8a 48%, #0f4d73 100%);
  color: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: 2.25rem 1.75rem 2.5rem;
  text-align: center;
  box-shadow:
    0 4px 6px rgba(15, 77, 115, 0.15),
    0 12px 32px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-page__support-inner {
  max-width: 36rem;
  margin: 0 auto;
}

/* Theme often styles h2 dark — force white, large hero-style title */
.product-page .product-page__support .product-page__support-heading {
  color: #ffffff;
  font-size: clamp(2.125rem, 5.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.product-page__support-lead {
  font-size: 1.0625rem;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.product-page__support-phone {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-page__support-phone a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.product-page__support-phone a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

.product-page__support-hours {
  margin: 0;
  padding: 1.35rem 1.25rem 1.4rem;
  text-align: left;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.product-page__support-hours-title {
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.product-page__support-hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.product-page__support-hours-block {
  margin: 0;
}

.product-page__support-hours-label {
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #ffffff;
}

.product-page__support-hours-value {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88);
}

.product-page__support-hours-note {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
}

@media (max-width: 767px) {
  .product-page__columns {
    grid-template-columns: 1fr;
  }
  .product-page {
    padding: 0 16px;
  }
  .product-page__support {
    margin-top: 2.5rem;
    padding: 1.75rem 1.25rem 2rem;
    border-radius: 16px;
  }
  .product-page__support-hours-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

/*
 * Mapped product kit pages only (body.hc-product-page set in product-page.js).
 * Hides HC search, Submit a request, and breadcrumb row so users stay in the custom layout.
 */
body.hc-product-page #section-page-nav-row {
  display: none !important;
}

body.hc-product-page header[data-header] .lt-header__controls .lt-search-wrap,
body.hc-product-page header[data-header] .lt-header__controls .lt-search-wrap-small,
body.hc-product-page header[data-header] .lt-header__controls button.lt-search-button,
body.hc-product-page header[data-header] .lt-header__controls .lt-search-modal,
body.hc-product-page header[data-header] .lt-header__controls .lt-search-modal-overlay,
body.hc-product-page header[data-header] .lt-header__controls .lt-search-modal-panel,
body.hc-product-page header[data-header] .lt-header__controls .lt-search-modal-content {
  display: none !important;
}

body.hc-product-page header[data-header] .lt-header__controls > div:has(.lt-search-modal) {
  display: none !important;
}

/* Space below blue header now that breadcrumbs row is hidden */
body.hc-product-page .product-page {
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  body.hc-product-page .product-page {
    padding-top: 1.75rem;
  }
}
