/* =================== PAGE WRAPPER =================== */

.nutrition-main {
  min-height: 1px;
}

/* =================== HERO =================== */

.nutrition-hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  color: var(--text);
}

/* NEW: flowing ribbon background instead of bubbles */

.nutrition-hero-bg {
  position: absolute;
  inset: -25% -10% 40% -10%;
  background: linear-gradient(180deg, #f4fbf6 0%, #ffffff 55%);
  z-index: -1;
  overflow: hidden;
}

.nutrition-hero-bg::before,
.nutrition-hero-bg::after {
  content: "";
  position: absolute;
  inset: -40% -40%;
  border-radius: 40%;
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: multiply;
  animation: heroRibbonSlide 26s ease-in-out infinite alternate;
}

.nutrition-hero-bg::before {
  background: linear-gradient(
    120deg,
    rgba(190, 255, 210, 0.9),
    rgba(119, 210, 167, 0.7)
  );
  transform: translateX(-14%) translateY(-4%) rotate(-10deg);
}

.nutrition-hero-bg::after {
  background: linear-gradient(
    120deg,
    rgba(255, 223, 158, 0.85),
    rgba(255, 201, 75, 0.75)
  );
  animation-delay: -10s;
  transform: translateX(10%) translateY(6%) rotate(-18deg);
}

@keyframes heroRibbonSlide {
  0% {
    transform: translateX(-12%) translateY(-6%) rotate(-10deg);
  }
  50% {
    transform: translateX(6%) translateY(2%) rotate(-8deg);
  }
  100% {
    transform: translateX(14%) translateY(8%) rotate(-6deg);
  }
}

.nutrition-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.nutrition-hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.12;
  margin: 0.4rem 0 0.9rem;
}

.hero-subtitle {
  max-width: 30rem;
  color: var(--text-muted);
}

/* hero mini pills */

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.hero-pill {
  display: inline-flex;
  flex-direction: column;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--primary-soft, #ffe0c9);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  min-width: 120px;
}

.hero-pill .pill-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.hero-pill .pill-value {
  font-size: 0.98rem;
  font-weight: 600;
}

/* hero tabs */

.nutrition-tabs {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tab-pill {
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.tab-pill.active {
  background: linear-gradient(90deg, #33b249, #8fdc82);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(51, 178, 73, 0.38);
}

.tab-pill:hover {
  transform: translateY(-1px);
}

/* tab content */

.tab-panels {
  margin-top: 0.9rem;
  max-width: 34rem;
}

.tab-panel {
  display: none;
  font-size: 0.98rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* hero media */

.nutrition-hero-media {
  display: flex;
  justify-content: flex-end;
}

.nutrition-hero-card {
  position: relative;
  background: #ffffff;
  border-radius: 1.7rem;
  padding: 1.4rem 1.4rem 1.3rem;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.hero-bowl-glow {
  position: absolute;
  inset: -20% -15% 40%;
  background: radial-gradient(circle, rgba(190, 255, 210, 0.8) 0, transparent 60%);
  z-index: -1;
}

.nutrition-hero-image {
  display: block;
  width: 100%;
  border-radius: 1.3rem;
  transform: translateY(0);
  transition: transform 0.35s ease;
}

.nutrition-hero-card:hover .nutrition-hero-image {
  transform: translateY(-4px) scale(1.02);
}

/* hero chips */

.hero-chip {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.hero-chip span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.hero-chip strong {
  font-size: 0.82rem;
}

.hero-chip-kcal {
  top: 1.3rem;
  right: 1.2rem;
}

.hero-chip-fibre {
  bottom: 3.2rem;
  left: 1.4rem;
}

/* NEW: mini stat strip under image */

.hero-mini-stats {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.7rem;
  margin-bottom: 0.1rem;
}

.hero-mini-stat {
  flex: 1;
  background: #f7fbff;
  border-radius: 0.8rem;
  padding: 0.3rem 0.45rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.mini-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.mini-value {
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-footnote {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =================== KEY NUTRIENTS =================== */
/* =================== KEY NUTRIENTS =================== */

/* =================== KEY NUTRIENTS =================== */
/* new, eye-catchy background just for this section */

.key-nutrients {
  position: relative;
  padding: 3.6rem 0 4rem;
  background:
    radial-gradient(circle at 10% -10%, rgba(166, 243, 208, 0.55) 0, transparent 60%),
    radial-gradient(circle at 95% 110%, rgba(191, 219, 254, 0.55) 0, transparent 60%),
    linear-gradient(180deg, #f3fff7 0%, #f1f6ff 55%, #ffffff 100%);
  overflow: hidden;
}

/* big soft halo behind the bowl/cards */
.key-nutrients::before,
.key-nutrients::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.85;
}

/* circular aura in the middle */
.key-nutrients::before {
  width: 520px;
  height: 520px;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at 50% 35%,
    rgba(255, 255, 255, 0.98) 0,
    rgba(224, 252, 234, 0.95) 38%,
    rgba(219, 234, 254, 0.95) 72%,
    transparent 82%
  );
}

/* soft diagonal band behind the top highlight card */
.key-nutrients::after {
  width: 140%;
  height: 260px;
  left: -20%;
  top: 12%;
  border-radius: 999px;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.95),
    rgba(222, 247, 236, 0.95),
    rgba(219, 234, 254, 0.95)
  );
}

/* make sure content sits above the glows */
.key-nutrients > .container {
  position: relative;
  z-index: 1;
}


.section-header {
  margin-bottom: 2.2rem;
}

.section-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #33b249;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.section-header h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.section-header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.6rem;
  width: 3.1rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #33b249, #8fdc82);
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transform: translateY(2px);
}

.section-icon svg {
  width: 18px;
  height: 18px;
  fill: #33b249;
}

.section-intro {
  max-width: 32rem;
  color: var(--text-muted);
}

/* existing focus strip – slightly retuned text */
.nutrients-focus {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(51, 178, 73, 0.15);
  margin-bottom: 1.7rem;
}

.nutrients-focus-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #ffffff 0, #bff5cf 45%, #33b249 100%);
}

.nutrients-focus-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.nutrients-focus-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #33b249;
  font-weight: 700;
  margin: 0 0 0.15rem;
}

.nutrients-focus-copy h3 {
  margin: 0;
}

.nutrients-focus-copy p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* NEW: bowl + cards layout */

.bowl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 2.4rem;
  align-items: center;
}

/* left side bowl diagram */

.nutri-bowl-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 2.6rem;
}

.nutri-bowl {
  position: relative;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 20%, #ffffff 0, #fef9e7 40%, #ffe0c9 80%);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.18);
  overflow: visible;
}

.nutri-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.nutri-layer-cereal {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #ffcf63 0, #ffb347 55%, transparent 75%);
}

.nutri-layer-fibre {
  width: 138px;
  height: 138px;
  background: radial-gradient(circle, #a5e6b8 0, #33b249 55%, transparent 75%);
  opacity: 0.94;
}

.nutri-layer-vit {
  width: 96px;
  height: 96px;
  background: radial-gradient(circle, #c7d0ff 0, #5c6cff 55%, transparent 75%);
  opacity: 0.96;
}

.nutri-center-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f9fafb;
  text-shadow: 0 1px 4px rgba(15, 23, 42, 0.5);
}

.nutri-center-label span {
  display: block;
}

/* floating chips */

.nutri-orbit {
  position: absolute;
}

.nutri-orbit-top {
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
}

.nutri-orbit-left {
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
}

.nutri-orbit-right {
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
}

.nutri-orbit-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  font-size: 1.1rem;
}

/* legend under bowl */

.nutri-legend {
  position: absolute;
  left: 50%;
  bottom: -1.9rem;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 0.6rem;
  font-size: 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
}

.nutri-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nutri-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.nutri-legend-dot-cereal {
  background: #ffcf63;
}

.nutri-legend-dot-fibre {
  background: #4ade80;
}

.nutri-legend-dot-vit {
  background: #818cf8;
}

/* optional real photo under bowl */

.nutri-photo {
  margin-top: 2.3rem;
  text-align: center;
  max-width: 260px;
}

.nutri-photo img {
  width: 100%;
  border-radius: 1.1rem;
  display: block;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.nutri-photo figcaption {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* right side info cards */

.nutri-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nutri-info-card {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 1.3rem;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.nutri-info-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #e9fff2 0, transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.nutri-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.nutri-info-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.nutri-info-icon-grain {
  background: linear-gradient(135deg, #ffb347, #ffcc33);
}

.nutri-info-icon-fibre {
  background: linear-gradient(135deg, #33b249, #8fdc82);
}

.nutri-info-icon-vit {
  background: linear-gradient(135deg, #5c6cff, #b192ff);
}

.nutri-info-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.nutri-info-body p {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nutri-info-body ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

.nutri-info-body li {
  margin-bottom: 0.25rem;
}

.nutri-footnote {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =================== RESPONSIVE TWEAKS FOR THIS SECTION =================== */

@media (max-width: 960px) {
  .bowl-layout {
    grid-template-columns: 1fr;
  }

  .nutri-bowl-wrap {
    padding-bottom: 2.3rem;
  }

  .nutri-photo {
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  .section-header h2 {
    font-size: 1.3rem;
  }

  .nutrients-focus {
    grid-template-columns: 1fr;
  }
}


/* =================== FIBRE SPOTLIGHT =================== */
/* =================== FIBRE SPOTLIGHT =================== */

.fibre-spotlight {
  position: relative;
  padding: 3.4rem 0 3.8rem;
  background:
    radial-gradient(circle at 0 0, rgba(255, 237, 213, 0.9) 0, transparent 50%),
    radial-gradient(circle at 100% 0, rgba(204, 251, 241, 0.8) 0, transparent 50%),
    linear-gradient(180deg, #fff7e5 0%, #ffffff 72%);
  overflow: hidden;
}

/* soft glow blobs */
.fibre-spotlight::before,
.fibre-spotlight::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.6;
  pointer-events: none;
}

.fibre-spotlight::before {
  width: 320px;
  height: 320px;
  left: -120px;
  top: 40%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0, transparent 65%);
}

.fibre-spotlight::after {
  width: 260px;
  height: 260px;
  right: -80px;
  top: 8%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.35) 0, transparent 65%);
}

.fibre-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2.6rem;
  align-items: flex-start;
  z-index: 1;
}

/* left main card */

.section-header-fibre {
  margin-bottom: 1.4rem;
}

.fibre-main-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.6rem;
  padding: 1.3rem 1.4rem 1.2rem;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(253, 186, 116, 0.35);
}

.fibre-text p {
  color: var(--text-muted);
}

.fibre-list {
  margin: 1rem 0 1.3rem;
  padding-left: 1.1rem;
}

.fibre-list li {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

/* bars inside the card (same structure, just styled a bit more) */

.fibre-bars {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.3rem;
}

.fibre-bar {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.fibre-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
}

.fibre-bar-value {
  font-weight: 600;
}

.fibre-bar-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.fibre-bar-fill {
  height: 100%;
  border-radius: inherit;
  transform-origin: left center;
  width: 0;
  transition: width 0.9s ease-out;
}

.fibre-bar-fill-cereal {
  background: linear-gradient(90deg, #ffb347, #ffcc33);
}

.fibre-bar-fill-toppings {
  background: linear-gradient(90deg, #33b249, #8fdc82);
}

/* widths when animated (used by your JS observer) */
.fibre-bars.animate .fibre-bar-fill-cereal {
  width: 45%;
}

.fibre-bars.animate .fibre-bar-fill-toppings {
  width: 80%;
}

/* right column cards */

.fibre-side {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.fibre-tip-card,
.fibre-reminder-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.3rem;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  font-size: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

/* subtle gradient corner highlight */
.fibre-tip-card::after,
.fibre-reminder-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 250, 250, 0.9) 0, transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.fibre-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.fibre-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: #fef3c7;
}

.fibre-card-icon-boost {
  background: linear-gradient(135deg, #f97316, #fdba74);
  color: #fff7ed;
}

.fibre-card-icon-reminder {
  background: linear-gradient(135deg, #38bdf8, #a5f3fc);
}

.fibre-tip-card h3,
.fibre-reminder-card h3 {
  margin: 0;
}

.fibre-tip-card ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0;
}

.fibre-tip-card li {
  margin-bottom: 0.3rem;
}

.fibre-reminder-card p {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
}

/* =================== RESPONSIVE (keeps your original breakpoints) =================== */

@media (max-width: 960px) {
  .fibre-inner {
    grid-template-columns: 1fr;
  }
}


/* =================== BUILD YOUR BOWL =================== */

/* =================== BUILD YOUR BOWL =================== */
.build-bowl {
  padding: 3.4rem 0 3.8rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(183, 154, 255, 0.28), transparent 60%),
    radial-gradient(circle at 90% 80%, rgba(255, 182, 193, 0.25), transparent 55%),
    linear-gradient(180deg, #ebe5ff 0%, #f7f2ff 70%);
}



.build-bowl-inner .section-header h2::after {
  background: linear-gradient(90deg, #5c6cff, #b192ff);
}

/* inner shell so this part has its own background */
.build-shell {
  margin-top: 1.8rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.8rem;
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(92, 108, 255, 0.15);
}

.build-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.6rem;
  align-items: stretch;
}

.control-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.build-buttons {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.build-pill {
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.86rem;
  cursor: pointer;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.build-pill.active {
  background: linear-gradient(90deg, #5c6cff, #b192ff);
  color: #ffffff;
  transform: translateY(-1px);
}

.build-summary {
  margin-top: 1rem;
}

.build-portion {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.build-portion span {
  font-weight: 700;
}

.build-tip {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.build-tags {
  margin-top: 0.75rem;
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.build-tags li {
  font-size: 0.82rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(92, 108, 255, 0.08);
  color: #3a4280;
}

/* NEW: stepper */

.build-steps {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-left: 2px dashed rgba(92, 108, 255, 0.3);
  padding-left: 0.8rem;
}

.step-pill {
  border: none;
  background: transparent;
  padding: 0.4rem 0.6rem;
  border-radius: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.step-index {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  background: #eef2ff;
  color: #4338ca;
  flex-shrink: 0;
}

.step-text {
  text-align: left;
  font-size: 0.86rem;
  line-height: 1.2;
}

.step-sub {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.step-pill.active {
  background: rgba(92, 108, 255, 0.08);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.step-pill.active .step-index {
  background: linear-gradient(135deg, #5c6cff, #b192ff);
  color: #ffffff;
}

.step-description {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
/* icons + copy inside each step */
.step-pill {
  align-items: center;
  padding: 0.45rem 0.7rem;
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: #ffffff;
}

.step-icon-milk {
  background: linear-gradient(135deg, #60a5fa, #93c5fd);
}

.step-icon-cereal {
  background: linear-gradient(135deg, #fbbf24, #f97316);
}

.step-icon-fruit {
  background: linear-gradient(135deg, #fb7185, #f97373);
}

.step-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.step-title {
  font-size: 0.86rem;
  font-weight: 600;
}

.step-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* illustration card on the right */
.step-visual {
  width: 100%;
  margin-bottom: 0.8rem;
  border-radius: 1.3rem;
  overflow: hidden;
  background: #fef6ee;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* bowl visual */

.build-visual {
  display: flex;
  justify-content: flex-end;
}
.bowl-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 1.8rem 1.6rem 1.6rem;

  /* ★ Bowl shape instead of rectangle */
  background: linear-gradient(145deg, #fff0dc, #ffe4c2);
  border-radius: 60px;

  /* ★ Inner “bowl” shadow + outer shadow */
  box-shadow:
    inset 0 10px 22px rgba(255, 255, 255, 0.65),
    inset 0 -12px 28px rgba(0, 0, 0, 0.05),
    0 20px 46px rgba(0, 0, 0, 0.18);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bowl-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 10px 24px rgba(255, 255, 255, 0.7),
    inset 0 -14px 30px rgba(0, 0, 0, 0.07),
    0 26px 54px rgba(0, 0, 0, 0.22);
}

/* glow behind the bowl */
.bowl-hero-circle {
  position: absolute;
  inset: -30% -25% 40%;
  background: radial-gradient(circle, rgba(255, 210, 150, 0.45), transparent 70%);
  z-index: -1;
}



.bowl-stack {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.35rem;
}

.bowl-layer {
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  opacity: 0.9;
}

.bowl-layer-milk {
  background: linear-gradient(90deg, #e0f0ff, #b9d9ff);
  color: #234265;
}

.bowl-layer-cereal {
  background: linear-gradient(90deg, #ffb347, #ffcc33);
}

.bowl-layer-fruit {
  background: linear-gradient(90deg, #ff7eb3, #ff758c);
}

/* glow bump when profile changes (existing animation) */
.bowl-layer.bump {
  animation: bowlGlow 0.45s ease-out;
}

@keyframes bowlGlow {
  0% {
    box-shadow: 0 0 0 rgba(92, 108, 255, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(92, 108, 255, 0.35);
  }
  100% {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  }
}

/* NEW: highlight active step on bowl */

.bowl-layer.inactive {
  opacity: 0.4;
  transform: scale(0.96);
}

.bowl-layer.active {
  opacity: 1;
  transform: translateY(-1px) scale(1.07);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.bowl-note {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* =================== RESPONSIVE =================== */

@media (max-width: 960px) {
  .build-layout {
    grid-template-columns: 1fr;
  }

  .build-visual {
    justify-content: flex-start;
    margin-top: 1.5rem;
  }
}


/* =================== FAQ =================== */
/* ============== NUTRITION FAQ ============== */

.nutrition-faq {
  position: relative;
  padding: 3.6rem 0 4.2rem;
  overflow: hidden;
 
}

/* colourful band behind the section */
.nutrition-faq-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(205, 168, 255, 0.55) 0, transparent 55%),
    radial-gradient(circle at 100% 10%, rgba(255, 195, 160, 0.6) 0, transparent 60%),
    linear-gradient(180deg, #fff6ff 0%, #ffeeda 48%, #fff8ec 100%);
  z-index: -2;
}

.nutrition-faq-header {
  max-width: 40rem;
  margin: 0 auto 1.8rem;
}

.faq-kicker {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.faq-subtitle {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* shell that holds the list on a soft “card” */
.faq-shell {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
}

.faq-shell::before {
  content: "";
  position: absolute;
  inset: 10% 4% -15%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(22px);
  z-index: -1;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* each question card */
.faq-item {
  border-radius: 999px;
  background: #fdfdff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(244, 93, 47, 0.12);
  overflow: hidden;
  transition: box-shadow 0.22s ease, transform 0.22s ease,
              border-color 0.22s ease, border-radius 0.22s ease;
}

.faq-item.open {
  border-radius: 1.4rem;
  box-shadow: 0 24px 58px rgba(229, 112, 58, 0.28);
  border-color: rgba(244, 93, 47, 0.35);
}

/* question button */
.faq-question {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.9rem 1.4rem 0.9rem 1.6rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.faq-q-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ff7b5c;
  flex-shrink: 0;
}

.faq-q-text {
  flex: 1;
  font-weight: 500;
}

/* plus / minus icon */
.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #f45d2f;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* vertical bar for the plus */
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-icon::after {
  opacity: 0; /* becomes minus */
}

/* answer panel */
.faq-answer {
  max-height: 0;
  padding: 0 1.6rem;
  overflow: hidden;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: max-height 0.26s ease, padding-bottom 0.26s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px; /* enough for 2–3 lines */
  padding-bottom: 0.9rem;
}

/* hover states */
@media (prefers-reduced-motion: no-preference) {
  .faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  }
}

/* responsive */
@media (max-width: 640px) {
  .faq-item {
    border-radius: 1.2rem;
  }

  .faq-question {
    padding: 0.85rem 1.1rem 0.85rem 1.2rem;
  }

  .faq-answer {
    padding: 0 1.2rem;
  }
}

/* =================== REVEAL ANIMATION (for this page) =================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================== RESPONSIVE =================== */

@media (max-width: 960px) {
  .nutrition-hero-inner {
    grid-template-columns: 1fr;
  }

  .nutrition-hero-media {
    justify-content: center;
  }

  .nutrition-hero-card {
    max-width: 360px;
  }

  .nutrients-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fibre-inner {
    grid-template-columns: 1fr;
  }

  .build-layout {
    grid-template-columns: 1fr;
  }

  .build-visual {
    justify-content: flex-start;
  }
  
  .section nutrition-faq{
    margin-top: -10px;
  }
}

@media (max-width: 640px) {
  .nutrition-hero {
    padding-top: 3.2rem;
  }

  .nutrition-hero-inner {
    gap: 2.2rem;
  }

  .nutrition-hero-text h1 {
    font-size: 2.2rem;
  }

  .nutrients-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .nutrients-focus {
    grid-template-columns: 1fr;
  }

  .faq-question,
  .faq-answer {
    padding-left: 2.4rem;
  }

  .faq-item::before {
    left: 1rem;
  }
}


.info-graphic {
    width: 100%;
    padding: 66px 84px;
    background: #e8f3ff;
    display: flex;
    justify-content: left;
    align-items: center;
    position: relative;
}

.center-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: white;
    border: 10px solid #0073ff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-family: Arial, sans-serif;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.center-circle h2 {
    font-size: 26px;
    color: #0048a8;
    margin: 0;
    line-height: 1.3;
}

.center-circle span {
    color: #ff9900;
}

.info-list {
    margin-left: 50px;
    cursor: pointer;
}

.item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 22px 0;
    position: relative;
}

.item::before {
    content: "";
    width: 40px;
    height: 2px;
    background: #007bff;
    position: absolute;
    left: -45px;
    top: 50%;
}

.number {
    width: 55px;
    height: 55px;
    background: #009cff;
    color: white;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.item p {
    background: #009cff;
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    margin: 0;
    max-width: 260px;
}

.fibre-img {
    position: relative;
    right: -150px;
    bottom: 20px;
    width: 499px;
    height: 441px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    animation: floatImg 4s ease-in-out infinite;
    opacity: 0.9;
}

/* Soft floating animation */
@keyframes floatImg {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Make it responsive */
@media (max-width: 768px) {
    .fibre-img {
        position: static;
        display: block;
        margin: 30px auto 0;
        width: 180px;
        animation: none;
    }

    .info-graphic {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .info-list {
        margin-left: 0;
        margin-top: 30px;
    }

    .item::before {
        display: none;
    }
}
/* LIST WRAPPER */
.info-list {
    margin-left: 60px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* EACH ITEM */
.item {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    padding-left: 40px;
}

/* CUTE CONNECTING LINE */
.item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, #ffc23c, #ff9f2f);
    border-radius: 10px;
}

/* NUMBER CIRCLE */
.number {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ffb72b, #ff9238);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    font-family: 'Poppins', sans-serif;
}

/* TEXT BUBBLE */
.item p {
    background: #ffffff;
    color: #333;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 5px solid #ffc23c;
    max-width: 260px;
}
/* ITEM CONTAINER ANIMATION */
.item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 22px 0;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.6s ease forwards;
}

/* Delay each item naturally */
.item:nth-child(1) { animation-delay: .1s; }
.item:nth-child(2) { animation-delay: .2s; }
.item:nth-child(3) { animation-delay: .3s; }
.item:nth-child(4) { animation-delay: .4s; }
.item:nth-child(5) { animation-delay: .5s; }

/* LINE CONNECTOR */
.item::before {
    content: "";
    width: 40px;
    height: 2px;
    background: #007bff;
    position: absolute;
    left: -45px;
    top: 50%;
    transition: 0.3s ease;
}

/* NUMBER CIRCLE */
.number {
    width: 55px;
    height: 55px;
    background: #009cff;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    font-weight: bold;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 124, 255, 0.25);
}

/* TEXT BOX */
.item p {
    background: #009cff;
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    margin: 0;
    max-width: 260px;
    transition: 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 124, 255, 0.15);
}

/* HOVER EFFECTS */
.item:hover .number {
    transform: scale(1.15);
    background: #005fcc;
}

.item:hover p {
    transform: translateX(5px);
    background: #006ee6;
}

.item:hover::before {
    width: 55px;
    background: #005fcc;
}

/* KEYFRAMES */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-25px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.center-circle {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: white;
    border: 12px solid #0073ff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-family: Arial, sans-serif;
    position: relative;
    z-index: 10;

    /* Animation */
    animation: popIn 0.9s ease-out forwards;
    transform: scale(0.6);
}

.center-circle h2 {
    font-size: 28px;
    color: #0048a8;
    margin: 0;
    line-height: 1.3;
    font-weight: bold;
}

.center-circle span {
    color: #ff9900;
}

/* Pop-in animation */
@keyframes popIn {
    0% { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
/* INITIAL STATE (hidden) */
.center-circle,
.item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

/* WHEN VISIBLE */
.animate {
    opacity: 1;
    transform: translateY(0);
}

/* CENTER CIRCLE POP EFFECT */
.center-circle.animate {
    transform: scale(1) translateY(0);
}

.center-circle {
    transform: scale(0.8); /* small until scrolled into view */
}

/* OPTIONAL SLIDE-IN FROM LEFT FOR ITEMS */
.item.animate {
    transform: translateX(0);
}

.item {
    transform: translateX(-40px);
}





.bowl-builder {
    padding: 60px 40px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.bowl-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.cat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}

.cat-btn img.cat-icon {
    width: 280px;
    height: 280px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: .3s;
}

.cat-btn:hover img.cat-icon {
    transform: scale(1.08);
}

/* ------------ BOWL SECTIONS ------------ */

.bowl-section {
    display: none;
    animation: fadeIn .5s ease forwards;
    margin-top: 30px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 25px;
}

/* ------------ STEPS WRAPPER ------------ */

.steps {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ------------ EACH STEP ------------ */

.step {
    text-align: center;
    width: 200px;
}

.step img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 12px;
}

/* Step number bubble */


.step h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.step p {
    font-size: 15px;
    color: #333;
}

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* BACK BUTTON */
.back-btn {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: #ffb72b;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

.back-btn:hover {
    background: #e69500;
    color: white;
}


/* =========================== */
/*      TABLET RESPONSIVE      */
/* =========================== */
@media (max-width: 960px) {

  .bowl-categories {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0rem;
    margin-top: -46px;
  }

  .cat-btn {
    width: 140px;
    padding: -19.3rem;
    margin-top: -25px;
  }
.cat-btn span{
  margin-top: -50px;
}
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 0rem;
  }

  .step img {
    width: 75px;
  }

  .step h4 {
    font-size: 1rem;
  }

  .step p {
    font-size: 0.9rem;
    margin-top: -10px;
  }
}


/* =========================== */
/*       MOBILE RESPONSIVE     */
/* =========================== */
@media (max-width: 640px) {

  .bowl-builder h1 {
    font-size: 2.2rem;
    margin-top: -24px;
  }

  .bowl-categories {
    flex-direction: column;
    align-items: center;
    gap: 0rem;
  }

  .cat-btn {
    width: 180px;
  }

  .cat-btn img {
    width: 60px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    margin-top: 1.8rem;
  }

  .step img {
    width: 200px;
  }

  .step h4 {
    font-size: 1.1rem;
  }

  .step p {
    font-size: 0.9rem;
  }

  .back-btn {
    width: 100%;
    max-width: 280px;
  }
}
/* MOBILE: extra breathing room for text in nutrition hero & FAQ */
@media (max-width: 640px) {
  /* give the hero text column comfortable side padding */
  .nutrition-hero-text {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* reduce the hero overall vertical padding and ensure content doesn't hug edges */
  .nutrition-hero {
    padding-top: 1.8rem !important;
    padding-bottom: 1.2rem !important;
  }

  /* make subtitle and pills narrower so lines wrap nicely */
  .hero-subtitle,
  .hero-pills,
  .tab-panels,
  .tab-panel,
  .section-header,
  .section-intro {
    max-width: 94% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
  }

  /* FAQ shell: keep it inset from the sides on phones */
  .faq-shell {
    max-width: 94% !important;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
  }

  /* slightly larger gap between FAQ cards so they feel separated */
  .faq-list { gap: 1rem !important; }

  /* reduce the inner padding of question so text aligns nicely with the plus icon */
  .faq-question {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* ensure hero card (image) doesn't push text over the edge */
  .nutrition-hero-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 92% !important;
  }
}
/* MOBILE: improve spacing for the hero subtitle / lead line */
@media (max-width: 640px) {
  /* target the hero subtitle and the FAQ subtitle if present */
  .hero-subtitle,
  .faq-subtitle,
  .section-header p,
  .nutrition-hero-text p {
    max-width: 86% !important;       /* narrower so it wraps nicely */
    margin: 0.45rem -0.5rem 0.95rem !important; /* vertical spacing */
    text-align: left !important;   /* center under the heading */
    line-height: 1.45 !important;    /* more readable line height */
    font-size: 0.95rem !important;   /* slightly larger on phones */
    color: var(--text-muted) !important;
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
  }

  /* if the subtitle contains very short copy, prevent it from appearing too narrow */
  .hero-subtitle:only-child,
  .faq-subtitle:only-child {
    max-width: 92% !important;
  }
}
/* ===========================
   NUTRITION HERO — MOBILE VIEW
   =========================== */

/* ============================
   NUTRITION HERO — FIXED MOBILE UI
   ============================ */
@media (max-width: 768px) {

  .nutrition-hero-inner {
    padding: 0 1.4rem;
  }

  .nutrition-hero-text {
    text-align: left;
  }

  .nutrition-hero-text h1 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.96rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  /* ---- FIX PILLS LAYOUT → GRID OF 2 COLUMNS ---- */
  .hero-pills {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    margin-bottom: 25px;
    margin-left: 5px;
  }

  .hero-pill {
    background: #ffffffee;
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  }

  .pill-label {
    font-size: 0.75rem;
    color: #555;
  }

  .pill-value {
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 2px;
  }

  /* ---- FIX TABS LAYOUT → CLEAN & EVEN BUTTONS ---- */
  .nutrition-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 20px;
  }

  .tab-pill {
    flex: 1 1 calc(50% - 10px);
    padding: 10px 0;
    text-align: center;
    font-size: 0.85rem;
    border-radius: 20px;
    background: #ffffffee;
  }

  .tab-pill.active {
    background: #7ac943;
    color: white;
    font-weight: 600;
  }

  /* ---- CONTENT BELOW ---- */
  .tab-panels {
    background: white;
    padding: 16px 14px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  .tab-panels p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #333;
  }
}


/* EXTRA SMALL PHONES */
@media (max-width: 480px) {
  .nutrition-hero-text h1 {
    font-size: 1.55rem;
  }
}
