/**
 * Critical V4 widget locks (pass 9 + home refresh CLS).
 * Hero rail + finder box + plan chrome (promo / fields / dose / CTAs) so
 * deferred /v4-checkout-widget.css and kayak-select cannot shift the card.
 * Pay panels stay in the full file.
 */
.finder.finder-v4 {
  width: min(100%, 980px);
  padding: 0;
  overflow: visible;
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(11, 18, 32, 0.22);
}
.buy-box .finder.finder-v4 {
  width: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  border: 0;
}
@media (max-width: 1023px) {
  .buy-box .finder.finder-v4 {
    max-width: var(--hero-widget-stacked-max, 440px);
    margin-inline: auto;
  }
}

/* Plan footprint before full chrome arrives */
.hero-widget .finder.finder-v4[data-layout="wide"]:not(.is-checkout) {
  min-height: 34rem;
}
@media (min-width: 1024px) {
  .hero-widget .finder.finder-v4[data-layout="wide"]:not(.is-checkout) {
    /* Floor only — settled plan card is ~446px; chrome in this file holds it */
    min-height: 30.5rem;
  }
}
@media (max-width: 1023px) {
  .hero-widget .finder.finder-v4[data-layout="wide"]:not(.is-checkout) {
    min-height: 0;
  }
}
.buy-box .finder.finder-v4[data-layout="narrow"]:not(.is-checkout),
.finder-v4[data-layout="narrow"]:not(.is-checkout) {
  min-height: 0;
}
.buy-box .finder.finder-v4[data-layout="narrow"]:not(.is-checkout):has(.fv4-cta-secondary:not([hidden])),
.buy-box .finder.finder-v4[data-layout="narrow"]:not(.is-checkout):has(.buy-reassure),
.finder-v4[data-layout="narrow"]:not(.is-checkout):has(.fv4-cta-secondary:not([hidden])),
.finder-v4[data-layout="narrow"]:not(.is-checkout):has(.buy-reassure) {
  /* Settled cold PDP (3 summary rows + 4-wk starter + higher + CTA + Learn more) ~631px */
  min-height: 44rem;
}
/* Home/blog: hug refund + quote + stars — do not leave a min-height gap under the cite. */
.home-price-rail .finder.finder-v4[data-layout="narrow"]:not(.is-checkout):has(.fv4-cta-secondary:not([hidden])),
.home-price-rail .finder.finder-v4[data-layout="narrow"]:not(.is-checkout):has(.buy-reassure),
.blog-checkout-rail .finder-v4[data-layout="narrow"]:not(.is-checkout):has(.fv4-cta-secondary:not([hidden])),
.blog-checkout-rail .finder-v4[data-layout="narrow"]:not(.is-checkout):has(.buy-reassure),
.page-partner-example .buy-box .finder.finder-v4[data-layout="narrow"]:not(.is-checkout):has(.fv4-cta-secondary:not([hidden])),
.page-partner-example .buy-box .finder.finder-v4[data-layout="narrow"]:not(.is-checkout):has(.buy-reassure),
.drawer .finder.finder-v4[data-layout="narrow"]:not(.is-checkout):has(.fv4-cta-secondary:not([hidden])),
.drawer .finder.finder-v4[data-layout="narrow"]:not(.is-checkout):has(.buy-reassure) {
  min-height: 0;
}

/* Body columns — without this, wide layout stacks then reflows (CLS) */
.fv4-body {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.55rem 1rem 1.1rem;
  align-items: start;
}
.fv4-left,
.fv4-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.finder-v4[data-layout="narrow"] .fv4-body {
  grid-template-columns: 1fr;
}
@media (max-width: 768px) {
  .fv4-body {
    grid-template-columns: 1fr;
  }
}

/* Checkout panels must stay off-screen until the deferred file paints them */
.fv4-checkout {
  display: none;
}
.finder-v4.is-checkout .fv4-body,
.finder-v4.is-checkout .fv4-stepper {
  display: none;
}
.finder-v4.is-checkout .fv4-checkout {
  display: block;
}

/* Home first-paint: blog-style narrow “See your price” card (440 both widths). */
.hero-inner {
  --hero-widget-stacked-max: 440px;
  --hero-widget-desktop-max: 440px;
  --hero-widget-max: var(--hero-widget-stacked-max);
  width: min(var(--page-max, 1200px), calc(100% - (2 * var(--page-gutter, 1.5rem))));
  margin: 0 auto;
  padding: 3rem 0 2.75rem;
}
.hero-widget .home-price-rail {
  width: 100%;
  max-width: var(--hero-widget-max);
  padding: 0;
  border: 1px solid var(--line, #dce3ee);
  border-radius: 12px;
  background: var(--paper, #fff);
  box-shadow: 0 16px 40px rgba(11, 18, 32, 0.22);
}
.hero-widget .rail-price-head {
  background: var(--sky, #f2f6fc);
  border-bottom: 1px solid var(--line, #dce3ee);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.hero-widget .home-price-rail .finder.finder-v4 {
  border-radius: 12px;
}
body.sheet-open .hero-widget .home-price-rail .finder.finder-v4 {
  border-radius: 0;
}
.hero-widget .rail-price-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.65rem;
  padding: 0.7rem 1rem 0.15rem;
}
.hero-widget .rail-label {
  margin: 0;
  padding: 0;
  font-family: var(--font-display, "Gilroy", "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink, #0b1220);
  line-height: 1.2;
  background: transparent;
  flex: 1 1 auto;
  min-width: 0;
}
.hero-widget .rail-price-head [data-view-pricing-host] {
  flex: 0 1 auto;
  min-width: 0;
}
.hero-widget .rail-price-head .fv4-view-pricing {
  width: auto;
}
.hero-widget .rail-note {
  display: none;
}
.hero-widget .fv4-promo,
.hero-widget .finder-v4[data-layout="narrow"] .fv4-promo {
  text-align: left;
  padding: 0.15rem 1rem 0.7rem;
  font-weight: 550;
  white-space: nowrap;
  background: transparent;
  border-bottom: 0;
}
.hero-widget .finder.finder-v4,
.hero-widget .finder.finder-v4[data-layout="narrow"],
.hero-widget .finder.finder-v4[data-layout="wide"] {
  width: 100%;
  max-width: none;
  box-shadow: none;
  border: 0;
}
.hero-widget .home-price-rail .finder.finder-v4,
.hero-widget .home-price-rail .finder.finder-v4[data-layout="narrow"] {
  border-radius: 12px;
}
body.sheet-open .hero-widget .home-price-rail .finder.finder-v4,
body.sheet-open .hero-widget .home-price-rail .finder.finder-v4[data-layout="narrow"] {
  border-radius: 0;
}
/* Home leftover only. Do not use .hero-plan-teaser here — PDP #pdp-plan-teaser
   shares that class and must show ≤1023. */
#hero-plan-teaser { display: none !important; }
/* Split hero only when wide AND tall enough — tablet landscape stays stacked. */
@media (min-width: 1024px) and (min-height: 900px) {
  .hero-inner {
    --hero-widget-max: var(--hero-widget-desktop-max);
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--hero-widget-desktop-max);
    column-gap: clamp(1.25rem, 2.2vw, 4.5rem);
    align-items: start;
    padding: 3.25rem 0 3.75rem;
  }
}
@media (max-width: 1023px), (max-height: 899px) {
  .hero { padding: 0; }
  .hero-inner {
    padding: 1.15rem 0 1.15rem;
  }
}
@media (max-width: 480px) {
  .hero-inner {
    padding: 0.85rem 0 0.95rem;
  }
}
@media (max-width: 320px) {
  .hero-inner {
    padding: 0.4rem 0 0.65rem;
  }
}

/* Typical-month bar — above-fold on the home hero dose tile */
.fv4-dose-card {
  --fv4-card-pad-y: 1rem;
  --fv4-card-pad-x: 1.1rem;
  overflow: hidden;
  border: 1px solid #c9ccd1;
  border-radius: 10px;
  padding: var(--fv4-card-pad-y) var(--fv4-card-pad-x);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  box-sizing: border-box;
}
.fv4-month-bar {
  display: block;
  flex-shrink: 0;
  margin: calc(-1 * var(--fv4-card-pad-y)) calc(-1 * var(--fv4-card-pad-x)) 0.2rem;
  padding: 0.42rem 0.85rem;
  background: #0b1220;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: center;
}
.fv4-dose-card.is-selected .fv4-month-bar {
  background: #2060f0;
}

/* Promo + stepper — padding arrives with the deferred file otherwise */
.fv4-promo {
  padding: 0.65rem 1rem;
  background: var(--sky, #f2f6fc);
  border-bottom: 1px solid var(--line, #dce3ee);
  text-align: center;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink-soft, #5c6b80);
  box-sizing: border-box;
}
.fv4-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #9aa6b8;
  box-sizing: border-box;
  pointer-events: none;
}
.fv4-stepper [data-step] {
  cursor: default;
}

/* Field tiles match settled kayak-select closed chrome (blurb lives in the menu) */
.fv4-field {
  min-width: 0;
  border: 1px solid var(--line, #dce3ee);
  border-radius: var(--radius, 8px);
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  background: #fbfcfe;
  box-sizing: border-box;
}
.fv4-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft, #5c6b80);
  margin: 0 0 0.1rem;
  line-height: 1.2;
}
.fv4-field select {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  min-height: 1.35rem;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.25;
  color: var(--ink, #0b1220);
}
.finder-v4[data-layout="wide"] .fv4-type-blurb {
  display: none;
}

/* Local trial 2026-08-17 (Darius): hide Dose type on first paint. */
.finder-v4:not([data-hide-dose-type="false"]) [data-stage="type"] {
  display: none !important;
}
.hero-plan-teaser-row[data-hero-edit="type"],
.hero-plan-teaser-row:has(#hero-teaser-type),
.hero-plan-teaser-row:has(#pdp-teaser-type) {
  display: none !important;
}

/* Local mock 2026-08-17: Duration pills first-paint (keep .fv4-mg descender fix). */
.finder-v4[data-duration-pills] [data-summary="plan"] {
  display: none !important;
}
.finder-v4[data-duration-pills] [data-editor="plan"] {
  display: block !important;
}
.fv4-sr-only,
.fv4-plan-select-sr,
.fv4-plan-pills-field > label[for],
.fv4-plan-pills-field select,
.fv4-field:has(.fv4-plan-pills) > label[for],
.fv4-field:has(.fv4-plan-pills) select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.fv4-plan-pills-field,
.fv4-field:has(.fv4-plan-pills) {
  position: relative;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.fv4-plan-pills-field:focus-within,
.fv4-field:has(.fv4-plan-pills):focus-within {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.fv4-plan-pills-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft, #5c6b80);
  margin: 0 0 0.26rem;
  line-height: 1.2;
}
.fv4-plan-pills {
  display: flex;
  align-items: stretch;
  gap: 0.28rem;
  min-width: 0;
  overflow: visible;
}
.fv4-plan-pills:has(.fv4-plan-pill.is-recommended:not([hidden])) {
  padding-bottom: 1rem;
}
.fv4-plan-pill {
  flex: 1 1 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  min-height: 2.05rem;
  padding: 0.22rem 0.18rem;
  border: 1px solid var(--line, #dce3ee);
  border-radius: 999px;
  background: #eef1f6;
  color: var(--ink-soft, #5c6b80);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.15;
  cursor: pointer;
  box-sizing: border-box;
  overflow: visible;
}
.fv4-plan-pill[hidden] {
  display: none !important;
}
.fv4-plan-pill.is-selected {
  border-color: var(--blue, #2060f0);
  background: var(--blue, #2060f0);
  color: #fff;
  box-shadow: none;
}
.fv4-plan-pill-weeks {
  white-space: nowrap;
}
.fv4-plan-pill-mark {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.22rem);
  transform: translateX(-50%);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--ink-soft, #5c6b80);
  opacity: 0.78;
  pointer-events: none;
  z-index: 1;
}
.fv4-plan-pill.is-selected .fv4-plan-pill-mark {
  color: var(--blue, #2060f0);
  opacity: 1;
  font-weight: 750;
}
.fv4-plan-pill:not(.is-recommended) .fv4-plan-pill-mark,
.fv4-plan-pill-mark[hidden] {
  display: none;
}
.hero-plan-teaser-plan {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.08rem 0;
}

.fv4-dose-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 1.25rem;
}
.fv4-dose-head strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.fv4-status-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.125rem;
}
.fv4-radio {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #8c9196;
  box-sizing: border-box;
}
.fv4-meter {
  width: 72px;
  height: 10px;
  border-radius: 999px;
  background: #e6ebf0;
  border: 1px solid #d5dde6;
  overflow: hidden;
  box-sizing: border-box;
}
.fv4-meter-fill {
  display: block;
  height: 100%;
  width: var(--fv4-strength, 33%);
}
.fv4-dose-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.625rem;
  align-items: center;
  width: 100%;
}
.fv4-mg {
  margin: -0.14em 0 0;
  padding-bottom: 0.18em;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
  flex-shrink: 0;
  overflow: visible;
}
.fv4-schedule {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  color: #6b7380;
}
.fv4-schedule.is-stacked {
  display: flex;
  flex-direction: column;
}
/* Narrow home/blog: keep dose-card height stable when the viewport squeezes
   (do not let schedule lines or works-out wrap into extra rows). */
.finder-v4[data-layout="narrow"] .fv4-price-col {
  min-width: 0;
}
.finder-v4[data-layout="narrow"] .fv4-dose-id {
  min-width: 0;
}
.finder-v4[data-layout="narrow"] .fv4-mg {
  white-space: nowrap;
  overflow: visible;
  text-overflow: unset;
  max-width: 100%;
}
.finder-v4[data-layout="narrow"] .fv4-schedule.is-stacked .fv4-sched-line {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.finder-v4[data-layout="narrow"] .fv4-schedule:not(.is-stacked) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.finder-v4[data-layout="narrow"] .fv4-afford.fv4-works-out {
  flex-wrap: nowrap;
}
.fv4-price .amt {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.05;
}
.fv4-price .sub {
  display: block;
  font-size: 0.625rem;
  line-height: 1.2;
}
.fv4-plan-save {
  display: block;
  margin: 0;
  max-width: 100%;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue, #2060f0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .fv4-plan-save { font-size: 0.56rem; }
  .finder-v4[data-layout="narrow"] .fv4-plan-save-vs { display: none; }
}
.fm-state-field .fv4-dd-value,
.hero-plan-teaser-row[data-hero-edit="state"] .hero-plan-teaser-value {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.fm-state-strip { display: none; }
html[data-fm-stateui="strip"] .fm-state-strip {
  display: inline;
  white-space: nowrap;
}
html[data-fm-stateui="strip"] .hero-plan-teaser-promo,
html[data-fm-stateui="strip"] .fv4-promo {
  line-height: 1.35;
}
html[data-fm-stateui="off"] .fm-state-field,
html[data-fm-stateui="off"] .hero-plan-teaser-row[data-hero-edit="state"],
html[data-fm-stateui="strip"] .fm-state-field,
html[data-fm-stateui="strip"] .hero-plan-teaser-row[data-hero-edit="state"] {
  display: none !important;
}
.fm-state-ctl {
  display: inline-flex;
  align-items: baseline;
  max-width: 12.5em;
  margin: 0;
  padding: 0 0.06em;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 800;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
  text-decoration: none;
  border-radius: 0.28em;
  vertical-align: baseline;
}
.fm-state-ctl-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fm-state-ctl::after {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 0.34em;
  height: 0.34em;
  margin: 0 0 0.1em 0.22em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  vertical-align: middle;
}
html[data-fm-stateui="strip"] .fm-state-ctl {
  max-width: none;
  color: var(--blue, #2060F0);
  font-weight: 750;
  background: #fff;
  padding: 0.04em 0.32em 0.06em;
  box-shadow: 0 0 0 1px rgba(32, 96, 240, 0.22);
}
html[data-fm-stateui="strip"] .fm-state-ctl .fm-state-ctl-label {
  overflow: visible;
  text-overflow: unset;
}
html[data-fm-stateui="strip"] .fm-state-ctl:hover,
html[data-fm-stateui="strip"] .fm-state-ctl:focus-visible {
  color: var(--blue-deep, #1648BE);
}
html[data-fm-stateui="strip"] .fm-state-ctl:focus-visible {
  outline: 2px solid var(--blue-bright, #3b7cff);
  outline-offset: 2px;
}
html[data-fm-stateui="strip"][data-fm-state]:not([data-fm-state=""]) .fm-state-ctl {
  max-width: 11.5em;
  background: none;
  box-shadow: none;
  padding: 0 0.04em;
  font-weight: 700;
  color: var(--blue, #2060F0);
  text-decoration: none;
}
html[data-fm-stateui="strip"][data-fm-state]:not([data-fm-state=""]) .fm-state-ctl .fm-state-ctl-label {
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1.4px;
}
html[data-fm-stateui="strip"][data-fm-state]:not([data-fm-state=""]) .fm-state-ctl:hover,
html[data-fm-stateui="strip"][data-fm-state]:not([data-fm-state=""]) .fm-state-ctl:focus-visible {
  color: var(--blue-deep, #1648BE);
}
.fv4-compare {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0 0;
  border-top: 1px solid #eef1f5;
  width: 100%;
  box-sizing: border-box;
}
.finder-v4[data-show-compare="true"] .fv4-compare,
.fv4-dose-card[data-show-compare="true"] .fv4-compare {
  display: flex;
}
.fv4-afford.fv4-works-out {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.22rem 0.45rem;
  margin: 0;
  width: fit-content;
  max-width: 100%;
}
.fv4-whisper {
  min-height: calc(1.12rem * 1.05);
  font-size: 0.72rem;
  line-height: 1;
}
.fv4-num {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.05;
}

.fv4-higher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  width: 100%;
  padding: 0.82rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius, 8px);
  background: #fbfcfe;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.86rem;
  line-height: 1.3;
  text-align: left;
}
/* PDP lock: “See higher doses” underlined, not bold. Do not revert. */
.fv4-higher-q .fv4-higher-see {
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.fv4-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.fv4-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  width: 100%;
  max-width: 16.5rem;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 10px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.2;
}
.buy-bolt {
  gap: 0.4rem;
}
.buy-bolt .buy-bolt-icon,
.buy-bolt svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  display: block;
}
.fv4-cta-secondary {
  display: none;
  margin: 0;
  padding: 0.15rem 0;
  border: 0;
  background: none;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 16.5rem;
  width: 100%;
  text-align: center;
}
.finder-v4[data-checkout-mode="instant"] .fv4-cta-secondary:not([hidden]) {
  display: block;
}
.finder-v4 .buy-reassure {
  width: 100%;
  max-width: 16.5rem;
  margin: 0.2rem auto 0;
  text-align: center;
}
.buy-box .finder-v4 .buy-reassure {
  max-width: none;
}
.finder-v4 .buy-reassure-refund {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.3;
  font-weight: 550;
  color: var(--ink-soft, #5c6b80);
}
.finder-v4 .buy-reassure .trust-origin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.38rem auto 0;
  padding: 0.32rem 0.72rem 0.32rem 0.48rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #1a2332;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1;
  white-space: nowrap;
}
.finder-v4 .buy-reassure .trust-origin-flag {
  display: block;
  width: 1rem;
  height: 0.56rem;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.08);
  flex-shrink: 0;
}
@media (max-width: 1023px) {
  .finder-v4 .buy-reassure {
    max-width: none;
  }
}
.finder-v4 .buy-reassure-quote {
  margin: 0.28rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 500;
  font-style: italic;
  color: var(--ink, #0b1220);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-height: calc(1.35em * 2);
  overflow-wrap: anywhere;
  transition: opacity 0.18s ease;
}
.finder-v4 .buy-reassure-quote.is-swap {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .finder-v4 .buy-reassure-quote {
    transition: none;
  }
}
.finder-v4 .buy-reassure-cite {
  width: 100%;
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.28rem;
  font-size: 0.68rem;
  font-weight: 550;
  color: var(--ink-soft, #5c6b80);
}
.finder-v4 .buy-reassure-cite a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* PDP progressive: first paint matches cold-boot summaries + hidden editors */
.finder-v4[data-progressive="true"] .fv4-stage[hidden],
.fv4-summary[hidden],
.fv4-field[hidden] {
  display: none !important;
}
.fv4-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line, #dce3ee);
  border-radius: var(--radius, 10px);
  background: #fbfcfe;
  box-sizing: border-box;
  text-align: left;
  font-family: inherit;
}
.fv4-summary-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.fv4-summary:has(> .fv4-dd-med-pill) {
  justify-content: flex-start;
  gap: 0.45rem;
  padding-right: 0.75rem;
}
.fv4-summary:has(> .fv4-dd-med-pill) .fv4-summary-copy {
  flex: 1 1 auto;
  min-width: max-content;
}
.fv4-summary:has(> .fv4-dd-med-pill) .fv4-summary-chevron {
  margin-left: 0;
}
.fv4-summary:has(> .fv4-dd-med-pill) .fv4-summary-value {
  font-size: 0.88rem;
}
.fv4-dd-med-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0.18rem 0.48rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #e8edf4;
  color: var(--ink, #0b1220);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
}
.fv4-dd-med-pill[data-med="semaglutide"] {
  background: #e8f4ed;
  color: #1a6b4a;
  border-color: #b8d9c4;
}
.fv4-dd-med-pill[data-med="tirzepatide"] {
  background: #f6f0dc;
  color: #7a5a12;
  border-color: #dfcf9a;
}
.fv4-dd-med-pill[hidden] {
  display: none !important;
}
.fv4-summary-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink-soft, #5c6b80);
}
.fv4-summary-value {
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.25;
}
.fv4-summary-chevron {
  flex: 0 0 auto;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid var(--ink-soft, #5c6b80);
  border-bottom: 2px solid var(--ink-soft, #5c6b80);
  transform: rotate(45deg);
}
.finder-v4[data-progressive="true"] .fv4-cta {
  max-width: none;
}

/* PDP mobile sticky — hidden while the in-page #plan-picker is in view.
   Do not paint the bar or reserve bottom pad on first frame. */
@media (max-width: 1023px) {
  .page-pdp .sticky-cta-main {
    display: flex;
    align-items: center;
    min-height: 3.4rem;
    padding: 0.65rem 0.75rem;
    box-sizing: border-box;
  }
  .page-pdp .sticky-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    width: 100%;
    box-sizing: border-box;
  }
}
@media (min-width: 1024px) {
  .page-pdp .sticky-cta,
  .page-pdp .sticky-cta.is-visible {
    display: none !important;
  }
  .page-pdp {
    padding-bottom: 0;
  }
}

/* View pricing — one swapping label, switch flush right */
.fv4-dose-head [data-view-pricing-host] {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.fv4-view-pricing {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.fv4-view-pricing-state {
  margin-left: auto;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #8a93a0;
  white-space: nowrap;
}
.fv4-switch {
  position: relative;
  flex-shrink: 0;
  width: 2.75rem;
  height: 1.55rem;
  border: 0;
  border-radius: 999px;
  background: #c5ccd6;
  cursor: pointer;
  padding: 0;
}
.fv4-switch-knob {
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff;
}
.fv4-view-pricing.is-asking .fv4-view-pricing-state {
  color: var(--coral, #e85d4c);
  font-weight: 650;
}
.fv4-view-pricing.is-asking .fv4-switch {
  background: var(--coral, #e85d4c);
}
.fv4-view-pricing.is-asking .fv4-switch-knob {
  transform: translateX(1.2rem);
}
/* S4 P0: hide header nav Buy now when shop-rules block ship (e.g. PR).
   First-paint backup for fm-shop-land BUY_NOW_HIDE_SELECTOR before JS runs. */
html[data-fm-ship="no"] .fv4-cta,
html[data-fm-ship="no"] .hero-plan-teaser-buy,
html[data-fm-ship="no"] .sticky-cta-btn.buy-bolt,
html[data-fm-ship="no"] #sticky-buy,
html[data-fm-ship="no"] #hero-teaser-buy,
html[data-fm-ship="no"] #pdp-teaser-buy,
html[data-fm-ship="no"] .nav-cta,
html[data-fm-ship="no"] .nav-drawer-cta,
html[data-fm-ship="no"] header.nav a[href="#finder"] {
  display: none !important;
}
