/* Meals for One page styles — matches SoloSuite theme */

.meals-page {
  min-height: calc(100vh - 70px);
  padding: 3rem 2rem 5rem;
}
.meals-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Page header */
.meals-header { margin-bottom: 3rem; }
.meals-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.meals-subtitle { font-size: 1.05rem; color: var(--ink-light); max-width: 600px; line-height: 1.7; }

/* Section label */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--cream-dark);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.25rem;
}

/* Affiliate section */
.affiliate-section { margin-bottom: 4rem; }
.affiliate-intro {
  font-size: 0.95rem;
  color: var(--ink-light);
  margin-bottom: 1.75rem;
  max-width: 620px;
}
.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.affiliate-card {
  background: var(--cream-dark);
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.affiliate-card-mark { font-size: 2rem; }
.affiliate-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.affiliate-card p { font-size: 0.88rem; color: var(--ink-light); line-height: 1.65; }
.affiliate-highlight {
  background: var(--forest);
  color: var(--cream);
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-block;
}
.affiliate-btn {
  display: inline-block;
  text-align: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: var(--amber);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.15s ease;
  cursor: pointer;
  border: none;
}
.affiliate-btn:hover { background: var(--amber-light); }

/* Divider */
.section-divider {
  border: none;
  border-top: 1px solid var(--cream-dark);
  margin: 3rem 0;
}

/* Recipes section */
.recipes-section { margin-bottom: 4rem; }
.recipes-intro { font-size: 0.95rem; color: var(--ink-light); margin-bottom: 1.75rem; max-width: 600px; }
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.recipe-card {
  background: var(--cream-dark);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.2s ease;
}
.recipe-card:hover { transform: translateY(-2px); }
.recipe-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.recipe-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.recipe-badge {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.recipe-badge--easy { background: #d4e5db; color: var(--forest); }
.recipe-badge--medium { background: #f5e3ce; color: #7a3a10; }
.recipe-badge--hard { background: #ece0f5; color: #6a3a8a; }
.recipe-desc { font-size: 0.87rem; color: var(--ink-light); line-height: 1.6; }
.recipe-meta { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.recipe-meta-item { font-size: 0.78rem; color: var(--ink-faint); display: flex; align-items: center; gap: 0.25rem; }
.recipe-meta-dot { color: var(--cream-dark); }
.recipe-ingredients { font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.25rem; }

/* Tips section */
.tips-section { margin-bottom: 3rem; }
.tips-intro { font-size: 0.95rem; color: var(--ink-light); margin-bottom: 1.75rem; max-width: 600px; }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.tip-card {
  background: var(--cream-dark);
  border-radius: 14px;
  padding: 1.35rem;
  border: 1px solid rgba(0,0,0,0.05);
}
.tip-card-icon { font-size: 1.5rem; margin-bottom: 0.65rem; display: block; }
.tip-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.tip-card p { font-size: 0.85rem; color: var(--ink-light); line-height: 1.6; }

@media (max-width: 640px) {
  .meals-page { padding: 2rem 1.25rem 4rem; }
  .affiliate-grid, .recipes-grid, .tips-grid { grid-template-columns: 1fr; }
}