:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --line: #dde6f0;
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --brand-soft: #eaf2ff;
  --good: #0f766e;
  --danger: #b91c1c;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  /*....*/
  --derm-bg:            #F8F5F0;  /* cream page background */
  --derm-surface:       #FFFFFF;  /* card surface */
  --derm-surface-soft:  #F0EDE8;  /* image well, chip background */
  --derm-line:          #E5DCD0;  /* card border */
  --derm-line-chip:     #D7C5B0;  /* chip border */
  --derm-rose:          #BF7A7A;  /* primary CTA — dusty rose */
  --derm-rose-hover:    #A86565;
  --derm-rose-shadow:   rgba(191, 122, 122, 0.25);
  --derm-sage:          #8FAF8A;  /* secondary accent — sage badges, ingredient chips */
  --derm-sage-ink:      #4A6B45;
  --derm-ink:           #1a1a2e;  /* primary text on light surfaces */
  --derm-ink-soft:      #5A4A3A;
  --derm-ink-muted:     #7A6A5A;
  --derm-chip-ink:      #5A4A3A;
  --derm-serif:         'Playfair Display', 'Libre Baskerville', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /*background: linear-gradient(180deg, #f8fbff 0%, #edf3f9 100%);*/
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(221, 230, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand-store {
  color: #0d1b3e;
}
.brand-tld {
  color: #5b7fa6;
  font-weight: 700;
}

.state-pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid #bfdbfe;
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.page-shell {
  padding: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.hero-card,
.selection-bar,
.product-card,
.compare-card {
  background: var(--surface);
  border: 1px solid rgba(221, 230, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 20px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-strong);
}

.hero-card h1 {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.selection-bar {
  margin-top: 14px;
  padding: 14px;
  display: grid;
  gap: 12px;
  position: sticky;
  top: 62px;
  z-index: 15;
}

.selection-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.selection-bar h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.selection-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selection-meta span {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.products {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.product-card {
  padding: 18px;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.product-card.active {
  border-color: #93c5fd;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.14);
}

.product-top {
  display: grid;
  gap: 8px;
}

.product-kicker {
  margin: 0 0 6px;
  color: var(--good);
  font-weight: 800;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.price-block {
  display: grid;
  gap: 4px;
}

.price {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.rating {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.product-summary,
.detail-box p,
.compare-card li {
  color: var(--muted);
  line-height: 1.65;
}

.product-summary {
  margin: 14px 0 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  background: var(--brand-soft);
  color: var(--brand-strong);
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.detail-box,
.pros-cons > div,
.compare-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.detail-box {
  margin-top: 14px;
}

.detail-box h3,
.pros-cons h3,
.compare-card h3,
.section-head h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.pros-cons {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.pros-cons ul,
.compare-card ul {
  margin: 0;
  padding-left: 18px;
}

.pro-list li::marker { color: var(--good); }
.con-list li::marker { color: var(--danger); }

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn.small {
  min-height: 40px;
  padding: 10px 12px;
  font-size: 0.88rem;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover { background: var(--brand-strong); }

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--surface-2);
}

.comparison {
  margin-top: 18px;
}

.section-head {
  margin-bottom: 12px;
}

.comparison-cards {
  display: grid;
  gap: 12px;
}

.compare-card strong {
  color: var(--text);
}

@media (min-width: 700px) {
  .topbar {
    padding: 18px 24px;
  }

  .page-shell {
    padding: 24px;
  }

  .hero-card {
    padding: 28px;
  }

  .hero-card h1 {
    font-size: 2.7rem;
  }

  .hero-actions {
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .selection-bar {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 18px 20px;
    top: 74px;
  }

  .product-top {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .price-block {
    text-align: right;
  }

  .pros-cons,
  .comparison-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .comparison-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.btn-amazon {
  background: #ff9900;
  color: #111827;
  border: none;
}

.btn-amazon:hover { background: #e68a00; }

.hero-card-tight {
  padding-bottom: 18px;
}

.hero-subtext {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

.hero-actions-inline {
  grid-template-columns: 1fr 1fr;
}

.quick-picks {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.quick-grid {
  display: grid;
  gap: 12px;
}

.quick-pick {
  background: var(--surface);
  border: 1px solid rgba(221, 230, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  gap: 14px;
}

.quick-pick.featured {
  border-color: #bfdbfe;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
}

.quick-pick h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.price-tag,
.rating-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.86rem;
  font-weight: 700;
}

.quick-summary {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.quick-cta {
  width: 100%;
}

.selection-bar-fast {
  top: 62px;
}

.products-fast {
  margin-top: 14px;
}

.product-card-fast {
  padding: 16px;
}

.product-top-fast {
  gap: 12px;
}

.compact-row {
  margin-top: 12px;
}

.fast-highlights {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.mini-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.mini-box h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.mini-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.card-actions-fast {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quick-pick.compact {
    height: 100%;
  }

  .product-top-fast {
    grid-template-columns: 1.35fr auto;
    align-items: start;
  }

  .fast-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

/* Low intent layout */
.low-intent .page-shell {
  padding: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.low-intent .hero-card {
  padding: 20px;
  margin-bottom: 14px;
}

.low-intent .intro {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.55;
}

.low-intent .products {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.low-intent .product-card {
  padding: 18px;
}

.low-intent .product-card h2 {
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.low-intent .meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.low-intent .price {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 8px 0 12px;
}

.low-intent .desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.low-intent .pros {
  padding-left: 18px;
  margin: 0 0 14px;
}

.low-intent .pros li {
  margin-bottom: 6px;
  line-height: 1.45;
}

.low-intent .compare {
  margin-top: 16px;
  text-align: center;
}

.low-intent .final-cta {
  margin-top: 22px;
  text-align: center;
}

.low-intent .final-cta h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* Product images */
.product-img {
  margin: -18px -18px 16px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: #f8fbff;
}

.product-img img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
  padding: 16px;
}

.quick-pick .product-img {
  margin: -16px -16px 14px;
}

.product-card-fast .product-img {
  margin: -16px -16px 14px;
}

/* Price note — good time to buy callout */
.price-note {
  font-size: 13px;
  font-weight: 500;
  color: #2e7d32;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 14px;
  margin-bottom: 14px;
}

/* Sources reviewed section */
.sources-reviewed {
  margin-top: 24px;
  padding: 18px 20px;
  background: #f8f9fa;
  border-radius: 10px;
}
.sources-reviewed h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a2e;
}
.sources-reviewed ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sources-reviewed li {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}
.sources-reviewed li strong { color: #1a1a2e; }

/* Site footer */
.site-footer {
  margin-top: 48px;
  padding: 24px 16px;
  background: #dce6f0;
  border-top: 2px solid #b8cce0;
  text-align: center;
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.6;
}

.site-footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer a:hover {
  color: var(--text);
}
/*..........*/
body { background: #F8F5F0; }
.page-shell.high-intent-page, .page-shell { background: #F8F5F0; }
.hero-card h1 {letter-spacing: -0.01em;}
h1, .hero-card h1, .product-card h2, .quick-pick h2, .compare-card h3, .section-head h2, .product-card h2, .compare-card h3  { font-family: 'Playfair Display', 'Libre Baskerville', Georgia, serif; font-weight: 500; }
.hero-card { background: linear-gradient(135deg, #F0EDE8 0%, #F8F5F0 100%); border: 1px solid #E5DCD0; }
.product-card { background: #FFFFFF; border-color: #E5DCD0; }
.product-img { background: #F0EDE8; }
.product-img img { mix-blend-mode: multiply; }
.chip { background: #F0EDE8; border-color: #D7C5B0; color: #5A4A3A; }
.btn-primary, .btn-amazon { background: #BF7A7A !important; border-color: #BF7A7A !important; color: #FFFFFF !important; }
.btn-primary:hover, .btn-amazon:hover { background: #A86565 !important; }
/* Full-product-card CTAs — span full card width to match top-pick + also-row treatment */
.card-actions, .card-actions-fast { display: block !important; }
.card-actions .btn-amazon,
.card-actions .btn-primary,
.card-actions-fast .btn-amazon,
.card-actions-fast .btn-primary {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
}
.btn-secondary { background: transparent; border: 1px solid #8FAF8A; color: #4A6B45; }
.editor-attribution { font-family: 'Playfair Display', Georgia, serif; font-style: italic; color: #7A6A5A; font-size: 14px; margin: 4px 0 8px; }
.badge-editor-pick { display: inline-block; background: #8FAF8A; color: #FFFFFF; padding: 3px 9px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-right: 6px; }
.ingredient-chip { display: inline-block; background: #8FAF8A; color: #FFFFFF; padding: 4px 10px; border-radius: 4px; font-size: 12px; margin: 8px 0; }
/* ── Page-level header: prominent page title + dated eyebrow + narrow intro ── */
.page-header {
    padding: 8px 4px 16px;
    margin: 0 0 14px;
    border-bottom: 1px solid #E5DCD0;
}
.page-title {
    font-family: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 1.12;
    letter-spacing: -0.012em;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.page-eyebrow {
    font-size: 11px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #7A6A5A;
    margin: 0 0 12px;
    font-weight: 600;
}
.page-intro {
    font-family: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    color: #5A4A3A;
    font-size: 14.5px;
    line-height: 1.5;
    margin: 0;
    max-width: 58ch;
}
.top-pick-img img, .also-card-img img, .product-img img { mix-blend-mode: multiply; }
.top-pick {
    background: #FFFFFF;
    border: 1px solid #E5DCD0;
    border-radius: 14px;
    padding: 16px;
    margin: 0 0 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.top-pick-badge {
    display: inline-block;
    background: #8FAF8A;
    color: #FFFFFF;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.top-pick-body {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    align-items: start;
}
.top-pick-img {
    width: 100px; height: 100px;
    background: #F0EDE8;
    border-radius: 10px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.top-pick-img img { width: 100%; height: 100%; object-fit: cover; }
.top-pick-copy h2 {
    font-family: 'Playfair Display', 'Libre Baskerville', Georgia, serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.18;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.top-pick-tagline {
    font-size: 13.5px;
    line-height: 1.4;
    color: #444;
    margin: 0 0 10px;
}
.top-pick-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12.5px;
    margin: 0 0 12px;
}
.top-pick-meta .price-tag { font-weight: 700; color: #1a1a2e; font-size: 14px; }
.top-pick-meta .rating-tag { color: #555; }
.top-pick-meta .source-attr { font-style: italic; font-family: 'Playfair Display', Georgia, serif; color: #7A6A5A; font-size: 12.5px; }
.top-pick-cta {
    display: block;
    width: 100%;
    background: #BF7A7A;
    color: #FFFFFF;
    text-align: center;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 6px rgba(191,122,122,0.25);
}
.top-pick-cta:hover { background: #A86565; }
.top-pick-secondary {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #7A6A5A;
    text-decoration: none;
}
.top-pick-secondary:hover { text-decoration: underline; }
/* "Also editor-recommended" compact row */
.also-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 0 18px;
}
.also-card {
    background: #FFFFFF;
    border: 1px solid #E5DCD0;
    border-radius: 12px;
    padding: 12px;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: start;
}
.also-card-img { width: 72px; height: 72px; background: #F0EDE8; border-radius: 8px; overflow: hidden; }
.also-card-img img { width: 100%; height: 100%; object-fit: cover; }
.also-card-kicker { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #7A6A5A; margin: 0 0 4px; font-weight: 600; }
.also-card h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 16px; margin: 0 0 4px; line-height: 1.2; }
.also-card-meta { font-size: 12px; color: #555; margin: 0 0 8px; }
.also-card-meta .source-attr { font-style: italic; color: #7A6A5A; }
.also-card-cta {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #BF7A7A;
    color: #FFFFFF;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.01em;
}
.also-card-cta:hover { background: #A86565; }
/* @media screen */
@media (max-width: 400px) {
    .top-pick-cta {padding: 14px 10px;font-size: 13.5px;}
    .btn-secondary {font-size: 0.8rem;padding: 12px 6px;}
}
@media (min-width: 720px) {
    .page-title { font-size: 36px; }
    .top-pick { padding: 22px 24px; }
    .top-pick-body { grid-template-columns: 180px 1fr; gap: 22px; align-items: center; }
    .top-pick-img { width: 180px; height: 180px; }
    .top-pick-copy h2 { font-size: 26px; }
    .top-pick-tagline { font-size: 15px; }
    .top-pick-cta { width: auto; display: inline-block; padding: 14px 28px; }
    .top-pick-secondary { display: inline-block; margin-left: 16px; }
    .also-row { grid-template-columns: 1fr 1fr; gap: 14px; }
}
