/* =====================================================================
   plans.html — page-specific styles
   Layout glue only. All visual tokens/components live in css/main.css.
   ===================================================================== */

/* Header secondary actions */
.section-head + .cluster { margin-top: var(--space-2); }

/* Quiz recommendation banner (shown by JS when mealplan.quiz has a plan).
   Visual comes from the design-system .note.note--info; this is layout only. */
.plans-reco {
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.plans-reco__body { flex: 1; min-width: 14rem; }
.plans-reco .btn { flex: none; }

/* Filter toolbar — sticks under the nav so the chips stay reachable */
.plans-toolbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-4);
  margin-bottom: var(--space-8);
  padding-block: var(--space-4);
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.plans-toolbar .cluster { flex: 1; min-width: 0; }
.plans-count { font-size: var(--fs-sm); flex: none; }

/* Plan grid — a touch wider min than the shared grid--auto */
.plans-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

/* Plan card: recommendation flag needs headroom under the featured ring */
.plan-card__body .plan-card__details {
  margin-top: var(--space-3);
}

/* Photo + sample-dish list inside the plan modal */
.plan-modal__media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
}
.plan-modal__section-label { margin-bottom: var(--space-3); }
.plan-modal__tiers { display: flex; flex-direction: column; }
.plan-modal__samples { display: flex; flex-direction: column; gap: var(--space-1); }

/* Closing reassurance block */
.plans-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
  margin-top: var(--space-8);
}
.plans-cta__title { font-size: var(--fs-h3); }
