:root {
  --clr-bg: #fff5f7;
  --clr-surface: #ffffff;
  --clr-text: #1a1a2e;
  --clr-text-muted: #555;
  --clr-primary: #e6335f;
  --clr-primary-hover: #c41e47;
  --clr-accent: #ff6b8a;
  --clr-highlight: #fff0f3;
  --clr-highlight-border: #e6335f;
  --clr-dim: 0.35;
  --clr-chip-bg: #fff0f3;
  --clr-chip-yes: #d4f5e9;
  --clr-chip-no: #f0f0f0;
  --clr-border: #f0d0d8;
  --clr-hero-bg: linear-gradient(135deg, #e6335f 0%, #ff6b8a 50%, #ff9a5c 100%);
  --clr-hero-text: #ffffff;
  --clr-featured: #ff9a5c;
  --clr-featured-bg: linear-gradient(135deg, #fff5e6, #fff0f3);
  --radius: 14px;
  --shadow: 0 4px 16px rgba(230,51,95,0.08);
  --shadow-lg: 0 8px 32px rgba(230,51,95,0.15);
  --max-w: 1100px;
  --sticky-h: 58px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--sticky-h);
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
  text-align: center;
  color: var(--clr-text);
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}
.btn:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: 2px;
}
.btn:active { transform: scale(0.97); }

/* ===== HERO ===== */
.hero {
  background: var(--clr-hero-bg);
  color: var(--clr-hero-text);
  padding: 56px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero h1 {
  font-size: 1.7rem;
  line-height: 1.25;
  max-width: 700px;
  margin: 0 auto 14px;
  font-weight: 900;
  position: relative;
}
.subhead {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 32px;
  font-weight: 500;
  position: relative;
}
.hero-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 22px;
  position: relative;
}
.btn-hero {
  background: #fff;
  color: var(--clr-primary);
  padding: 13px 10px;
  font-size: 0.95rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn-hero:hover {
  background: #fff0f3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.disclosure {
  font-size: 0.75rem;
  opacity: 0.7;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

/* ===== FILTERS ===== */
.filters {
  background: var(--clr-surface);
  border-bottom: 2px solid var(--clr-border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 90;
}
.filter-buttons {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.filter-buttons::-webkit-scrollbar { display: none; }
.btn-filter {
  background: var(--clr-bg);
  color: var(--clr-text);
  padding: 9px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
  border: 2px solid var(--clr-border);
  border-radius: 50px;
}
.btn-filter:hover {
  border-color: var(--clr-accent);
  color: var(--clr-primary);
  background: #fff0f3;
}
.btn-filter.active {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

/* ===== BRAND GRID ===== */
.brand-grid-section { padding: 44px 0; }
.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  background: var(--clr-surface);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.card.highlighted {
  border-color: var(--clr-highlight-border);
  box-shadow: 0 0 0 3px rgba(230,51,95,0.2), var(--shadow);
}
.card.dimmed { opacity: var(--clr-dim); transform: none; }

/* ===== FEATURED CARD (Olipop) ===== */
.card.featured {
  border: 3px solid var(--clr-primary);
  background: var(--clr-featured-bg);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.card.featured::before {
  content: "Our Pick";
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--clr-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 0 0 8px 8px;
}
.card.featured .btn-shop {
  background: linear-gradient(135deg, #e6335f, #ff6b8a);
  font-size: 1.05rem;
  padding: 15px 20px;
}
.card.featured .btn-shop:hover {
  background: linear-gradient(135deg, #c41e47, #e6335f);
}
.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.card-desc {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  margin-bottom: 12px;
}
.card-ingredients {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}
.card-ingredients li { margin-bottom: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chip {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 50px;
  background: var(--clr-chip-bg);
  color: var(--clr-primary);
}
.chip-yes { background: var(--clr-chip-yes); color: #0d7a4a; }
.chip-no { background: var(--clr-chip-no); color: var(--clr-text-muted); }
.btn-shop {
  margin-top: auto;
  background: var(--clr-primary);
  color: #fff;
  padding: 14px 20px;
  font-size: 1rem;
  width: 100%;
  border-radius: 50px;
}
.btn-shop:hover { background: var(--clr-primary-hover); }

/* ===== COMPARISON TABLE ===== */
.comparison-section {
  padding: 44px 0;
  background: var(--clr-surface);
}
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--clr-border);
}
th {
  background: var(--clr-bg);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--clr-text-muted);
  position: sticky;
  top: 0;
}
tbody tr:hover { background: #fff5f7; }
tbody tr.featured-row {
  background: #fff0f3;
  font-weight: 600;
}
tbody tr.featured-row td:first-child::after {
  content: " ★";
  color: var(--clr-featured);
  font-size: 0.85rem;
}
.table-link {
  color: var(--clr-primary);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.table-link:hover { text-decoration: underline; }
.table-link:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 2px; }
.table-note {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ===== QUICK PICKS ===== */
.quick-picks { padding: 44px 0; }
.picks-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}
.picks-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.95rem;
}
.picks-list li:last-child { border-bottom: none; }
.picks-list a {
  color: var(--clr-primary);
  font-weight: 700;
  text-decoration: none;
}
.picks-list a:hover { text-decoration: underline; }
.picks-list a:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 2px; }

/* ===== FAQ ===== */
.faq {
  padding: 44px 0;
  background: var(--clr-surface);
}
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--clr-border);
}
.faq-item summary {
  padding: 16px 0;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-primary);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 2px; }
.faq-item p {
  padding: 0 0 16px;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

/* ===== STICKY MOBILE BAR ===== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--sticky-h);
  background: var(--clr-surface);
  border-top: 2px solid var(--clr-border);
  display: flex;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(230,51,95,0.1);
}
.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
}
.sticky-compare {
  background: var(--clr-bg);
  color: var(--clr-text);
  border-right: 2px solid var(--clr-border);
}
.sticky-compare:hover { background: #fce4ec; }
.sticky-shop {
  background: linear-gradient(135deg, #e6335f, #ff6b8a);
  color: #fff;
}
.sticky-shop:hover { background: linear-gradient(135deg, #c41e47, #e6335f); }
.sticky-btn:focus-visible { outline: 3px solid var(--clr-accent); outline-offset: -3px; }

/* ===== RESPONSIVE ===== */
@media (min-width: 600px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .card.featured { grid-column: 1 / -1; }
  .hero-buttons { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 2.1rem; }
}

@media (min-width: 900px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .card.featured { grid-column: auto; }
  .hero h1 { font-size: 2.4rem; }
  .container { padding: 0 24px; }
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  .section-title { font-size: 1.6rem; }
}