.fh-product-hero {
  min-height: auto;
  padding-top: calc(var(--fh-nav-height) + 1rem);
  padding-bottom: 1.5rem;
}
.fh-early-tester-banner {
  padding: .5rem .75rem;
  border: 1px solid var(--fh-border);
  border-radius: .6rem;
  background: var(--fh-card-bg);
  color: var(--fh-text);
  font-size: .85rem;
  line-height: 1.7;
  text-align: center;
}
#screening-survey { scroll-margin-top: calc(var(--fh-nav-height) + 1rem); }
.fh-survey-option { min-height: 48px; white-space: normal; line-height: 1.7; }
.fh-survey-option:focus-visible { outline: 3px solid var(--fh-primary); outline-offset: 3px; }
.fh-survey-option[data-selected="true"] { border-width: 2px; font-weight: 700; opacity: 1; }
.fh-survey-status { min-height: 3.4em; scroll-margin-bottom: 9rem; }
.fh-product-hero .fh-product-intro { align-items: start !important; }
.fh-product-hero .fh-hero-title { font-size: clamp(2rem, 2.8vw, 2.65rem); line-height: 1.3; }
.fh-product-hero .fh-hero-sub { font-size: 1rem; line-height: 1.7; margin-top: .65rem !important; }
.fh-product-hero .btn-lg { font-size: 1rem; min-height: 44px; }
.fh-product-intro > .col-lg-6:first-child > .mb-4 { margin-bottom: .8rem !important; }
.fh-product-intro > .col-lg-6:first-child > .mb-3 { margin-bottom: .6rem !important; }
.fh-product-hero .fh-hero-points .mb-2 { margin-bottom: .25rem !important; }
.fh-product-showcase { min-width: 0; }
.fh-product-showcase > .fh-register-card { padding: 0 !important; background: transparent; border: 0; box-shadow: none; }
.fh-product-image {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid #dbe2ee;
  border-radius: .7rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(19, 65, 168, .1);
}
.fh-product-image img { display: block; width: 100%; height: auto; object-fit: contain; }
.fh-product-image:focus-visible, .fh-product-zoom-scroll:focus-visible {
  outline: 3px solid var(--fh-primary);
  outline-offset: 4px;
}
.fh-product-enlarge {
  position: absolute;
  bottom: .35rem;
  inset-inline-end: .35rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid #dbe2ee;
  border-radius: .4rem;
  background: #fff;
  color: #1341a8;
  font-size: .85rem;
  transition: background-color .15s ease;
}
.fh-product-image:hover .fh-product-enlarge { background: #eff6ff; }
.fh-product-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  margin: -.75rem 1rem 0;
  padding: .85rem;
  background: var(--fh-card-bg);
  border: 1px solid var(--fh-border);
  border-radius: 1rem;
  box-shadow: var(--fh-shadow-lg);
  align-items: start;
}
.fh-product-panel {
  margin: 0;
  min-width: 0;
  scroll-margin-top: calc(var(--fh-nav-height) + 1rem);
}
.fh-product-panel .fh-product-image { box-shadow: none; border-radius: .5rem; }
.fh-product-panel figcaption { min-height: 2.8rem; margin-bottom: .5rem; color: var(--fh-text-muted); font-size: .75rem; line-height: 1.8; }
.fh-product-panel-featured { grid-column: 1 / -1; }
.fh-product-panel-featured figcaption { min-height: 0; color: var(--fh-text); font-weight: 600; }
.fh-product-panel-featured .fh-product-image { border-color: rgba(26, 86, 219, .4); box-shadow: 0 4px 14px rgba(19, 65, 168, .08); }
.fh-product-dialog {
  width: min(96vw, 1680px);
  max-width: 96vw;
  max-height: 94dvh;
  padding: 1rem;
  border: 1px solid var(--fh-border);
  border-radius: 1rem;
  background: var(--fh-card-bg);
  color: var(--fh-text);
}
.fh-product-dialog::backdrop { background: rgba(15, 23, 42, .7); }
.fh-product-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.fh-product-dialog-heading h2 { font-size: 1rem; margin: 0; line-height: 1.7; }
.fh-product-zoom-scroll { overflow: auto; max-height: 70dvh; border: 1px solid var(--fh-border); background: #fff; direction: ltr; }
.fh-product-zoom-scroll img { display: block; max-width: none; height: auto; }
body:has(.fh-product-dialog[open]) { overflow: hidden; }
@media (min-width: 992px) {
  .fh-product-ranking { max-width: min(100%, clamp(28rem, 65svh, 40rem)); margin-inline: auto; }
  .fh-product-details {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    grid-template-areas: "cv score" "cv explanation";
    gap: .65rem;
    margin: .65rem .25rem 0;
    padding: .65rem;
  }
  .fh-product-panel-featured { grid-area: cv; align-self: center; }
  #hero-panel-score { grid-area: score; }
  #hero-panel-explanation { grid-area: explanation; }
  .fh-product-panel figcaption { min-height: 0; margin-bottom: .3rem; line-height: 1.5; }
  .fh-product-showcase > .fh-register-card > .mb-3 { margin-bottom: .6rem !important; }
}
@media (min-width: 1200px) {
  .fh-product-intro > .col-lg-6:first-child { width: 43%; }
  .fh-product-showcase { width: 57%; }
}
@media (max-width: 991px) {
  .fh-product-intro { --bs-gutter-y: 1.25rem; }
  .fh-product-showcase { margin-top: 1.25rem; }
}
@media (max-width: 767px) {
  .fh-product-details { grid-template-columns: minmax(0, 1fr); margin: 1rem 0 0; padding: .65rem; }
  .fh-product-panel figcaption { min-height: 0; }
}
@media (max-width: 575px) {
  .fh-product-hero { padding-top: calc(var(--fh-nav-height) + .75rem); padding-bottom: 1rem; }
  .fh-product-hero .fh-hero-title { font-size: clamp(1.75rem, 7vw, 2rem); }
  .fh-product-hero .fh-hero-sub { font-size: .95rem; line-height: 1.6; }
  .fh-product-hero .fh-hero-points { line-height: 1.5; }
  .fh-product-intro > .col-lg-6:first-child > .gap-3 { gap: .5rem !important; }
  .fh-product-hero .btn-lg { padding-inline: 1rem !important; }
  .fh-product-dialog { padding: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fh-product-hero *, .fh-product-hero *::before, .fh-product-hero *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html:has(.fh-product-hero) { scroll-behavior: auto !important; }
}
