/* ─────────────────────────────────────────────────────────────
   Bayou City Breastfeeding · Recommendations component system
   Drop-in module for the 12 product-recommendation pages.
   Calm, clinical, reference-doc feel. Not consumer e-commerce.
   Pair with `colors_and_type.css`.
   ───────────────────────────────────────────────────────────── */

/* Page chrome (shared) */
.rec-body { font-family: var(--font-sans); color: var(--navy-700);
  background: linear-gradient(180deg, #fbf3ec 0%, #fdf6ef 22%, #fbf1f5 65%, #f3eef2 100%) no-repeat;
  background-attachment: fixed; -webkit-font-smoothing: antialiased; margin: 0; }

.rec-shell { max-width: 860px; margin: 0 auto; padding: clamp(24px,4vw,48px) clamp(20px,4vw,32px) clamp(48px,7vw,80px); }

/* Enable the Case-A footer ombré on every page in this cluster (recommendations.css
   loads ONLY under /recommended-products/, so this scopes itself to those 13 pages).
   The page dissolves into the navy footer; the light .rec-cta card rides above it. */
.footer-ombre-blend { display: block; }

/* Hero (Component 1) */
.rec-hero { padding-top: clamp(20px,3vw,32px); margin-bottom: clamp(28px,4vw,40px); }
.rec-hero__crumbs { font-family: var(--font-accent); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-500); margin: 0 0 22px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rec-hero__crumbs a { color: var(--navy-400); text-decoration: none; font-weight: 600; }
.rec-hero__crumbs a:hover { color: var(--pink-500); }
.rec-hero__crumbs .sep { color: var(--navy-300); }
.rec-hero__mark { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-accent);
  font-weight: 700; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pink-500); margin: 0 0 18px; }
.rec-hero__mark::before { content: ''; width: 26px; height: 1px; background: var(--pink-500); display: inline-block; }
.rec-hero h1 { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem,4.2vw,3.1rem); line-height: 1.08; letter-spacing: -0.022em;
  color: var(--navy-700); margin: 0 0 18px; text-wrap: balance; }
.rec-hero__lede p { font-size: clamp(1.02rem,1.2vw,1.12rem); line-height: 1.68;
  color: var(--navy-500); margin: 0 0 1em; max-width: 64ch; }
.rec-hero__lede p:last-child { margin-bottom: 0; }
.rec-hero__lede a { color: var(--pink-500); text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* Quiet decorative marker beside hero */
.rec-hero__rule { width: 48px; height: 2px; background: var(--pink-300); margin: 0 0 22px; }

/* Intro line — the "not a substitute for an individualized recommendation" scope
   note that used to close the .rec-hero, retained now that the hero is the .hub-band. */
.rec-shell__intro { font-size: clamp(1.02rem,1.2vw,1.12rem); line-height: 1.68; color: var(--navy-500); max-width: 760px; margin: 0 0 clamp(24px,4vw,36px); text-wrap: pretty; }

/* FTC bar (Component 2) — single quiet line, always visible above products */
.rec-ftc { display: flex; align-items: flex-start; gap: 12px; margin: clamp(24px,3.5vw,32px) 0 clamp(28px,4vw,40px);
  padding: 14px 18px; background: rgba(255,255,255,0.7); border: 1px solid rgba(62,80,104,0.10);
  border-left: 3px solid var(--pink-400); border-radius: 6px;
  font-size: 13.5px; line-height: 1.5; color: var(--navy-500); }
.rec-ftc__icon { flex-shrink: 0; width: 16px; height: 16px; margin-top: 1px; color: var(--pink-500); }
.rec-ftc strong { font-family: var(--font-accent); font-weight: 700; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink-500);
  display: block; margin-bottom: 2px; }

/* Section header H2 (Component 3) */
.rec-section { margin: clamp(40px,6vw,64px) 0 0; scroll-margin-top: 24px; }
.rec-section:first-of-type { margin-top: 0; }
.rec-section__eyebrow { font-family: var(--font-accent); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink-500); margin: 0 0 8px; }
.rec-section h2 { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.45rem,2.4vw,1.85rem); line-height: 1.18; letter-spacing: -0.016em;
  color: var(--navy-700); margin: 0 0 10px; text-wrap: balance; }
.rec-section__intro { font-size: 1rem; line-height: 1.65; color: var(--navy-500);
  margin: 6px 0 clamp(20px,2.5vw,28px); max-width: 62ch; }
.rec-section__intro p + p { margin-top: 0.9em; }
.rec-section__rule { width: 32px; height: 1.5px; background: var(--pink-300);
  border: 0; margin: 0 0 18px; }

/* Product item (Component 4) — text-first list */
.rec-list { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.rec-item { padding: clamp(20px,2.5vw,26px) 0; border-top: 1px solid rgba(62,80,104,0.12); }
.rec-item:first-child { border-top: none; padding-top: 4px; }
.rec-item__head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; flex-wrap: wrap; }
.rec-item h3 { font-family: var(--font-display); font-weight: 700;
  font-size: 1.18rem; line-height: 1.3; letter-spacing: -0.01em;
  color: var(--navy-700); margin: 0; text-wrap: balance; flex: 1 1 auto; min-width: 0; }
.rec-item__tag { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-family: var(--font-accent); font-weight: 700; font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--navy-400); }
.rec-item__body { font-size: 0.985rem; line-height: 1.65; color: var(--navy-500);
  margin: 0 0 14px; max-width: 64ch; text-wrap: pretty; }
.rec-item__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Retailer link — restrained outline pill */
.rec-link { display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  color: var(--pink-700); text-decoration: none;
  padding: 9px 16px; border: 1.5px solid var(--pink-300); border-radius: var(--radius-pill);
  background: transparent; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.rec-link:hover { background: var(--pink-500); color: var(--white); border-color: var(--pink-500); }
/* QA 2026-06-10 (Suzanne): no trailing arrow glyph on the retailer link buttons. */
.rec-link--hub { border-color: var(--sky-500); color: var(--sky-800); }
.rec-link--hub:hover { background: var(--sky-500); color: var(--white); }

/* Clinical callout (Component 5) — for Nipple Shields */
.rec-callout { display: flex; gap: 16px; padding: 22px 24px; margin: 0 0 clamp(28px,4vw,36px);
  background: rgba(220,240,248,0.55); border: 1px solid rgba(120,190,217,0.30);
  border-left: 4px solid var(--sky-600); border-radius: 8px; }
.rec-callout__icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--sky-700); margin-top: 2px; }
.rec-callout__body { flex: 1 1 auto; min-width: 0; }
.rec-callout__title { font-family: var(--font-accent); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky-800); margin: 0 0 6px; }
.rec-callout p { font-size: 0.985rem; line-height: 1.65; color: var(--navy-700); margin: 0; }

/* Page closing note (quiet, before disclosure) */
.rec-note { margin: clamp(32px,5vw,48px) 0 0; padding: 22px 24px;
  background: rgba(255,255,255,0.6); border-radius: 8px;
  font-size: 0.99rem; line-height: 1.65; color: var(--navy-700); text-wrap: pretty; }
.rec-note__label { font-family: var(--font-accent); font-weight: 700; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-500);
  display: block; margin-bottom: 6px; }

/* Full disclosure block (Component 6) */
.rec-disclosure { margin: clamp(48px,7vw,72px) 0 0; padding-top: 28px;
  border-top: 1px solid rgba(62,80,104,0.15); }
.rec-disclosure__label { font-family: var(--font-accent); font-weight: 700; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-400);
  margin: 0 0 10px; }
.rec-disclosure p { font-size: 13px; line-height: 1.65; color: var(--navy-500);
  margin: 0 0 0.9em; max-width: 66ch; }
.rec-disclosure p:last-child { margin: 0; }

/* CTA section (Component 7) → LIGHT frosted card. The page dissolves into the
   navy footer via the Case-A global ombré blend (enabled for this cluster at
   the foot of this file); this card is the last lifted card over that fade. */
.rec-cta {
  position: relative;
  margin: clamp(48px,7vw,80px) 0 0;
  padding: clamp(40px,5.5vw,60px) clamp(28px,4vw,48px);
  background: var(--card-lift-bg);
  backdrop-filter: var(--card-lift-blur);
  -webkit-backdrop-filter: var(--card-lift-blur);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 50px -28px rgba(41,52,72,0.35);
  text-align: center;
}
.rec-cta__label { font-family: var(--font-accent); font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink-600); margin: 0 0 12px; }
.rec-cta h2 { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem,2.4vw,1.7rem); line-height: 1.25; letter-spacing: -0.014em;
  color: var(--navy-700); margin: 0 0 18px; text-wrap: balance; }
.rec-cta__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--pink-500); color: #fff; padding: 14px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-weight: 700; font-size: 14px; letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none; transition: background .15s ease; }
.rec-cta__btn:hover { background: var(--pink-600); }

/* Index page — category CARD grid (boxes, matching the sitewide frosted-card pattern;
   was a divider-separated list — Suzanne 2026-06-05). Markup unchanged; restyled. */
.rec-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin: clamp(28px,4vw,36px) 0 0; list-style: none; padding: 0; }
.rec-index__item { padding: 0; border-top: none; }
.rec-index__link { display: flex; flex-direction: column; gap: 8px; height: 100%;
  text-decoration: none; color: inherit;
  background: var(--card-lift-bg); backdrop-filter: var(--card-lift-blur); -webkit-backdrop-filter: var(--card-lift-blur);
  border: 1px solid rgba(62,80,104,0.10); border-radius: var(--radius-xl);
  padding: 24px 26px; box-shadow: var(--shadow-card-lift);
  transition: transform .15s ease, box-shadow .15s ease; }
.rec-index__link:hover { transform: translateY(-2px); box-shadow: 0 1px 3px rgba(31,45,64,0.06), 0 18px 36px rgba(31,45,64,0.14); }
.rec-index__link:hover .rec-index__title { color: var(--pink-500); }
.rec-index__title { order: 0; font-family: var(--font-display); font-weight: 700;
  font-size: 1.18rem; letter-spacing: -0.01em; color: var(--navy-700);
  margin: 0; transition: color .15s ease; }
.rec-index__desc { order: 1; margin: 0; font-size: 0.97rem; line-height: 1.6; color: var(--navy-500); flex: 1; }
.rec-index__arrow { order: 2; margin-top: auto; font-family: var(--font-accent); font-size: 13px;
  color: var(--pink-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

/* Sub-section nav (for multi-section pages like Pumps) */
.rec-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 clamp(20px,3vw,28px); }
.rec-jump a { display: inline-flex; align-items: center;
  font-family: var(--font-accent); font-weight: 700; font-size: 11px; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--navy-500); text-decoration: none;
  padding: 7px 14px; background: rgba(255,255,255,0.7); border: 1px solid rgba(62,80,104,0.14);
  border-radius: var(--radius-pill); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.rec-jump a:hover { background: var(--pink-50); color: var(--pink-700); border-color: var(--pink-200); }

/* Top nav (shared site chrome — simplified for recommendations) */
.rec-nav { background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(62,80,104,0.08); position: sticky; top: 0; z-index: 50; }
.rec-nav__inner { max-width: 1180px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 24px; }
.rec-nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.rec-nav__logo img { width: 36px; height: 36px; }
.rec-nav__brand { font-family: var(--font-accent); font-weight: 800; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--pink-500); line-height: 1.1; }
.rec-nav__brand small { display: block; font-family: var(--font-sans); font-weight: 500;
  font-size: 10px; letter-spacing: 0.06em; color: var(--navy-400); text-transform: uppercase; margin-top: 2px; }
.rec-nav__links { margin-left: auto; display: flex; align-items: center; gap: 22px;
  font-family: var(--font-sans); font-weight: 600; font-size: 13px; }
.rec-nav__links a { color: var(--navy-500); text-decoration: none; }
.rec-nav__links a[aria-current="page"] { color: var(--pink-500); }
.rec-nav__cta { background: var(--pink-500); color: #fff !important; padding: 9px 18px;
  border-radius: var(--radius-pill); font-size: 12px; }
@media (max-width: 720px) { .rec-nav__links a:not(.rec-nav__cta) { display: none; } }

/* Sitewide footer affiliate disclosure (Component 8) — small line for footer */
.rec-footer-disclosure { font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,0.55);
  max-width: 720px; margin: 12px auto 0; padding: 14px 24px 0; text-align: center;
  border-top: 1px solid rgba(255,255,255,0.10); }

/* Mobile pass — 380px target */
@media (max-width: 560px) {
  .rec-shell { padding: 28px 18px 56px; }
  .rec-item__head { gap: 8px; }
  .rec-link { font-size: 12.5px; padding: 8px 14px; }
  .rec-index { grid-template-columns: 1fr; }
}

/* QA 2026-06-10 (Suzanne): center the category-page sections on desktop; keep
   the natural left alignment on mobile. Scoped via :has(.rec-hero) so it applies
   ONLY to the 11 category pages (the hub uses .hub-band, not .rec-hero, and is
   left unchanged). Legal/FTC disclosures stay left-aligned for readability. */
@media (min-width: 768px) {
  .rec-shell:has(.rec-hero) { text-align: center; }
  .rec-shell:has(.rec-hero) .rec-ftc,
  .rec-shell:has(.rec-hero) .rec-disclosure { text-align: left; }
  .rec-shell:has(.rec-hero) .rec-hero__lede p,
  .rec-shell:has(.rec-hero) .rec-section__intro,
  .rec-shell:has(.rec-hero) .rec-item__body { margin-left: auto; margin-right: auto; }
  .rec-shell:has(.rec-hero) .rec-jump,
  .rec-shell:has(.rec-hero) .rec-item__links { justify-content: center; }
}
