/* Glow Kit Drop — quiz results cards, email signup, list confirmation pages. Mobile-first; uses tokens from styles.css. */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Results ---------- */
.rx-wrap { max-width: 60rem; }
.rx-wrap .quiz-result { margin-top: 1.5rem; border-top: 0; padding-top: 0; }
.rx-head { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.2rem; box-shadow: var(--shadow); }
.rx-head .eyebrow { margin-bottom: .35rem; }
.quiz-result .rx-head h3 { font-size: clamp(1.6rem, 5vw, 2.1rem); margin-bottom: .45rem; }
.rx-summary { font-size: 1rem; margin: 0 0 .9rem; max-width: 46rem; }
.rx-badges { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.rx-badges li { display: inline-flex; align-items: center; gap: .35rem; background: var(--accent-soft); color: #1f4d41; border: 1px solid #cfe3dc; border-radius: 999px; padding: .28rem .7rem; font-size: .82rem; font-weight: 650; }
.rx-badges li::before { content: ""; width: .5rem; height: .28rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-1px); }
.rx-when { margin: 0; display: grid; gap: .45rem; font-size: .9rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.rx-when-row { display: grid; grid-template-columns: 4.6rem 1fr; gap: .6rem; align-items: baseline; }
.rx-when dt { font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.rx-when dd { margin: 0; }
.quiz-result .notice { margin-top: 1rem; }
.rx-disclosure { font-size: .82rem; color: var(--muted); margin: 1rem .2rem .9rem; }

.rx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.rx-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1rem 1.15rem; box-shadow: var(--shadow); }
.rx-step.is-optional { background: #fdfcfa; }
.rx-step-head { display: flex; align-items: center; gap: .75rem; }
.rx-icon { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.rx-icon svg { width: 1.45rem; height: 1.45rem; }
.rx-step-titles { min-width: 0; }
.rx-step-meta { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rx-step-title { margin: 0; font-family: var(--sans); font-size: 1.12rem; font-weight: 750; line-height: 1.3; }
.rx-step-sub { font-weight: 500; color: var(--muted); }
.rx-tag { margin-left: auto; flex: none; font-size: .74rem; font-weight: 650; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .6rem; background: var(--bg); }
.rx-note { margin: .8rem 0 0; font-size: .86rem; color: var(--muted); background: var(--bg); border-left: 3px solid var(--line); border-radius: 8px; padding: .5rem .75rem; }

/* Hero: the Recommended Pick (visually dominant) */
.rx-hero { margin-top: .9rem; border: 2px solid var(--accent); border-radius: 16px; padding: 1rem 1rem 1.1rem; background: linear-gradient(180deg, #eef6f2 0%, #ffffff 70%); }
.rx-hero-label { display: inline-flex; align-items: center; gap: .35rem; margin: 0; background: var(--accent); color: #fff; border-radius: 999px; padding: .22rem .7rem; font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.rx-hero-label::before { content: "\2605"; font-size: .8rem; letter-spacing: 0; }
.rx-hero-top { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-top: .6rem; }
.rx-hero-name { margin: 0; font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.2; }
.rx-price { margin: 0; font-size: 1.35rem; font-weight: 750; white-space: nowrap; color: var(--ink); }
.rx-why { margin: .45rem 0 .7rem; font-size: .95rem; }
.rx-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.rx-chips li { background: #fff; border: 1px solid #b9d6cc; color: #1f4d41; border-radius: 999px; padding: .18rem .6rem; font-size: .78rem; font-weight: 600; }
.rx-buy { margin-top: .95rem; width: 100%; min-height: 48px; }

/* Secondary: Amazon alternatives (compact, quieter) */
.rx-alts { margin-top: .9rem; }
.rx-alts-label { margin: 0 0 .45rem; font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rx-alts-aff { font-weight: 500; letter-spacing: 0; text-transform: none; }
.rx-alt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; grid-template-columns: 1fr; }
.rx-alt { display: flex; flex-direction: column; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: .7rem .8rem .8rem; }
.rx-alt-name { margin: 0; font-size: .9rem; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.rx-alt-size { margin: .05rem 0 0; font-size: .76rem; color: var(--muted); }
.rx-alt-why { margin: .3rem 0 .6rem; font-size: .82rem; color: var(--muted); flex-grow: 1; }
.rx-alt .rx-amz { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: .45rem 1rem; border: 1.5px solid var(--accent); border-radius: 999px; background: transparent; color: var(--accent-ink); font-size: .85rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.rx-alt .rx-amz:hover { background: var(--accent-soft); color: var(--accent-ink); }

/* Bundle CTA: sticks to the bottom of the screen while scrolling through the steps */
.rx-bundle { position: sticky; bottom: .6rem; z-index: 5; margin: 1.1rem 0 0; display: grid; grid-template-columns: 1fr; gap: .55rem; background: #1f4d41; color: #fff; border-radius: 16px; padding: .8rem .9rem .85rem; box-shadow: 0 10px 28px rgba(26, 26, 26, .2); }
.rx-bundle[hidden] { display: none; }
.rx-bundle-info { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.rx-bundle-count { margin: 0; font-size: .86rem; font-weight: 650; color: #e3f0eb; }
.rx-bundle-total { margin: 0; font-size: 1.45rem; font-weight: 750; color: #fff; line-height: 1.1; }
.rx-bundle-btn { background: #fff; color: #1f4d41; border-color: #fff; min-height: 48px; width: 100%; }
.rx-bundle-btn:hover { background: #eef6f2; border-color: #eef6f2; color: #1f4d41; }
.rx-bundle :focus-visible { outline-color: #fff; }
.rx-bundle-items { margin: 0; font-size: .76rem; color: #d3e7df; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 639px) { .rx-bundle { gap: .45rem; padding: .65rem .8rem .7rem; } .rx-bundle-items { -webkit-line-clamp: 1; font-size: .72rem; } .rx-bundle-total { font-size: 1.3rem; } }

/* Email signup on the results page */
.rx-signup { margin: 1.5rem 0 0; background: var(--accent-soft); border: 1px solid #cfe3dc; border-radius: var(--radius-lg); padding: 1.25rem 1.1rem; }
.rx-signup h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: 0 0 .35rem; }
.rx-signup > p { margin: 0 0 .8rem; font-size: .95rem; }
.rx-signup-label { display: block; font-size: .85rem; font-weight: 650; margin-bottom: .3rem; }
.rx-signup-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.rx-signup-row input { flex: 1 1 14rem; min-width: 0; min-height: 48px; padding: .7rem 1rem; border: 1.5px solid #9fc2b6; border-radius: 999px; font: inherit; color: var(--ink); background: #fff; }
.rx-signup-row .btn { flex: 1 1 auto; }
.rx-consent { display: flex; gap: .55rem; align-items: flex-start; font-size: .88rem; margin-top: .7rem; cursor: pointer; }
.rx-consent input { margin-top: .22rem; width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--accent); }
.rx-signup .form-status { margin: .7rem 0 0; font-weight: 600; min-height: 1.4em; color: #1f4d41; }
.rx-signup .form-status.is-error, .support-form .form-status.is-error { color: #9b2c1f; }
.capture .form-status.is-error { color: #fff3dc; }
.rx-fine { margin: .4rem 0 0; font-size: .8rem; color: var(--muted); }

/* Collapsible notes */
.rx-more { margin-top: 1.25rem; }
.rx-details summary { min-height: 44px; align-items: center; }
.rx-start, .rx-avoid { margin: .6rem 0 0; padding-left: 1.2rem; font-size: .92rem; color: var(--muted); }
.rx-start li, .rx-avoid li { margin-bottom: .45rem; }

@media (min-width: 640px) {
  .rx-head { padding: 1.6rem 1.6rem 1.4rem; }
  .rx-step { padding: 1.3rem 1.35rem 1.35rem; }
  .rx-hero { padding: 1.15rem 1.25rem 1.2rem; }
  .rx-buy { width: auto; }
  .rx-alt-list { grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
  .rx-bundle { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 1.1rem; padding: .85rem 1rem .85rem 1.25rem; }
  .rx-bundle-info { display: block; }
  .rx-bundle-btn { width: auto; grid-column: 3; grid-row: 1; }
  .rx-bundle-items { grid-column: 2; grid-row: 1; -webkit-line-clamp: 2; }
  .rx-signup { padding: 1.5rem 1.6rem; }
  .rx-signup-row .btn { flex: 0 0 auto; }
}
@media (min-width: 900px) {
  .rx-hero-name { font-size: 1.45rem; }
}

/* ---------- List confirmation / unsubscribe pages ---------- */
.list-page { padding: 3rem 0 4rem; }
.list-page-brand { margin: 0 0 1rem; }
.list-page-brand a { display: inline-block; }
.list-page-brand img { height: 36px; width: auto; }
.list-page-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; box-shadow: var(--shadow); }
.list-page-card h1 { font-size: clamp(1.7rem, 5vw, 2.2rem); }
