
/* rxhome isolated Beauty Engine layer. Mobile-first, no global selectors. */
.rxhome-root {
  --rxh-bg: #f8f6ef;
  --rxh-surface: rgba(255, 255, 255, 0.92);
  --rxh-surface-soft: #f7f9ff;
  --rxh-text: #171b26;
  --rxh-muted: #697386;
  --rxh-blue: #3463e6;
  --rxh-blue-soft: #eaf0ff;
  --rxh-gold: #b78b25;
  --rxh-line: #eadfc9;
  --rxh-shadow: 0 1.25rem 3.5rem rgba(41, 52, 92, 0.12);
  --rxh-radius-sm: 0.875rem;
  --rxh-radius-md: 1.25rem;
  --rxh-radius-lg: 1.75rem;
  --rxh-gap-1: 0.5rem;
  --rxh-gap-2: 0.75rem;
  --rxh-gap-3: 1rem;
  --rxh-gap-4: 1.5rem;
  --rxh-gap-5: 2rem;
  --rxh-page: 100%;
  color: var(--rxh-text);
}

.rxhome-root .rxhome-page {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--rxh-page);
  margin-inline: auto;
  padding-inline: 0;
}

.rxhome-root .rxhome-hero {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-block: 0 clamp(1.25rem, 6vw, 2.5rem);
  text-align: center;
  overflow: hidden;
}

.rxhome-root .rxhome-hero-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: clamp(1.25rem, 5vw, 2.25rem) clamp(1rem, 4.5vw, 1.75rem);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(52, 99, 230, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.82));
  box-shadow: none;
}

.rxhome-root .rxhome-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--rxh-gap-1);
  max-width: 100%;
  padding: 0.45rem 0.85rem;
  border: 0.0625rem solid rgba(52, 99, 230, 0.22);
  border-radius: 999rem;
  color: var(--rxh-blue);
  background: rgba(234, 240, 255, 0.82);
  font-weight: 700;
  line-height: 1.25;
}

.rxhome-root .rxhome-title {
  margin: var(--rxh-gap-3) auto 0;
  max-width: 12em;
  font-size: clamp(2rem, 10vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 850;
}

.rxhome-root .rxhome-title strong,
.rxhome-root .rxhome-title b {
  color: var(--rxh-blue);
}

.rxhome-root .rxhome-subtitle {
  max-width: 28rem;
  margin: var(--rxh-gap-3) auto 0;
  color: var(--rxh-muted);
  font-size: clamp(1rem, 4vw, 1.18rem);
  line-height: 1.65;
}

.rxhome-root .rxhome-search-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: clamp(1.25rem, 6vw, 2rem) auto 0;
}

.rxhome-root .rxhome-search-wrap :where(input, textarea) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 3.75rem;
  border-radius: var(--rxh-radius-md);
  border-color: rgba(183, 139, 37, 0.24);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 0.75rem 2.25rem rgba(41, 52, 92, 0.08);
  font-size: clamp(1rem, 4.2vw, 1.2rem);
}

.rxhome-root .rxhome-cta {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-top: var(--rxh-gap-3);
}

.rxhome-root .rxhome-cta :where(button, a) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 3.75rem;
  border-radius: 999rem;
  border: 0;
  background: linear-gradient(135deg, var(--rxh-blue), var(--rxh-gold));
  color: #fff;
  font-size: clamp(1.05rem, 4.5vw, 1.3rem);
  font-weight: 800;
  box-shadow: 0 1rem 2.5rem rgba(52, 99, 230, 0.24);
}

.rxhome-root .rxhome-feature-row {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: var(--rxh-gap-2);
  width: 100%;
  max-width: 100%;
  margin-top: var(--rxh-gap-4);
}

.rxhome-root .rxhome-feature-pill {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  border: 0.0625rem solid var(--rxh-line);
  border-radius: 999rem;
  background: rgba(255,255,255,0.78);
  color: var(--rxh-text);
  font-weight: 760;
  white-space: normal;
  text-align: center;
}

.rxhome-root .rxhome-social {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: var(--rxh-gap-4) auto 0;
  color: var(--rxh-muted);
  font-size: clamp(0.92rem, 3.8vw, 1.05rem);
  line-height: 1.75;
}

.rxhome-root .rxhome-hot-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rxh-gap-2);
  width: 100%;
  max-width: 100%;
  margin-top: var(--rxh-gap-3);
}

.rxhome-root .rxhome-hot-list :where(button, a, span, div) {
  max-width: 100%;
}

.rxhome-root .rxhome-footnote {
  max-width: 36rem;
  margin: var(--rxh-gap-4) auto 0;
  color: var(--rxh-muted);
  font-size: clamp(0.82rem, 3.4vw, 0.95rem);
  line-height: 1.7;
}

.rxhome-root .rxhome-noise {
  display: none;
}

@media (min-width: 45rem) {
  .rxhome-root {
    --rxh-page: 100%;
  }

  .rxhome-root .rxhome-feature-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rxhome-root .rxhome-hot-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rxhome-root .rxhome-search-wrap,
  .rxhome-root .rxhome-cta {
    max-width: 42rem;
  }
}


/* rxhome full-width refinement: no outer frame, no inserted explanation pills. */
.rxhome-root .rxhome-page,
.rxhome-root .rxhome-hero,
.rxhome-root .rxhome-hero-card {
  border-inline: 0;
}

.rxhome-root .rxhome-hero-card {
  min-height: auto;
}

.rxhome-root .rxhome-search-wrap,
.rxhome-root .rxhome-cta,
.rxhome-root .rxhome-social,
.rxhome-root .rxhome-footnote {
  width: min(100%, 45rem);
  margin-inline: auto;
}

.rxhome-root .rxhome-hot-list {
  width: min(100%, 45rem);
  margin-inline: auto;
}
