/* ══════════════════════════════════════════
   Weekmenu shared styles
   Used by all /recepten/ meal plan pages
   ══════════════════════════════════════════ */

/* ── Breadcrumb ── */
.breadcrumb {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 80px);
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--acc);
  transition: color .15s;
}

.breadcrumb a:hover {
  color: var(--deep);
}

.breadcrumb__sep {
  margin: 0 8px;
  color: var(--border);
}

/* ── Hero ── */
.weekmenu-hero {
  background: var(--deep);
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 80px) clamp(40px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.weekmenu-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(82,183,136,.12) 0%, transparent 70%);
  pointer-events: none;
}

.weekmenu-hero__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 12px;
}

.weekmenu-hero h1 {
  color: var(--cream);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.weekmenu-hero p {
  color: rgba(245,240,232,.55);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Content wrapper ── */
.weekmenu-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px) 64px;
}

/* ── Sections ── */
.weekmenu-section {
  margin-top: 48px;
}

.weekmenu-section h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: 20px;
}

/* ── Condition tags ── */
.condition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.condition-tag {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(82,183,136,.1);
  color: var(--deep);
  border: 1px solid rgba(82,183,136,.2);
  transition: all .2s;
}

a.condition-tag:hover {
  background: var(--acc);
  color: #fff;
}

.weekmenu-section > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 12px;
}

/* ── Focus grid ── */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.focus-card {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.focus-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.focus-card ul {
  list-style: none;
  padding: 0;
}

.focus-card li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  padding: 4px 0 4px 20px;
  position: relative;
}

.focus-card li::before {
  position: absolute;
  left: 0;
  font-size: 12px;
}

.focus-card--good {
  background: rgba(82,183,136,.04);
  border-color: rgba(82,183,136,.2);
}

.focus-card--good h3 { color: var(--mid); }

.focus-card--good li::before {
  content: '\2713';
  color: var(--acc);
}

.focus-card--avoid {
  background: rgba(224,123,76,.04);
  border-color: rgba(224,123,76,.2);
}

.focus-card--avoid h3 { color: #B85C38; }

.focus-card--avoid li::before {
  content: '\2717';
  color: var(--warn);
}

.focus-card a {
  color: var(--acc);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.focus-card a:hover {
  color: var(--deep);
}

/* ── Day tabs ── */
.day-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.day-tab {
  padding: 10px 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}

.day-tab:hover {
  border-color: var(--acc);
  color: var(--deep);
}

.day-tab.active {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}

/* ── Day panels ── */
.day-panel {
  display: none;
}

.day-panel.active {
  display: block;
}

.day-title {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--deep);
}

/* ── Meal grid ── */
.meal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Meal card ── */
.meal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  transition: border-color .2s;
}

.meal-card:hover {
  border-color: var(--acc);
}

.meal-card__type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 6px;
}

.meal-card h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1rem;
  color: var(--deep);
  line-height: 1.3;
  margin-bottom: 8px;
}

.meal-card__meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

/* ── Meal details (expandable) ── */
.meal-details {
  margin-top: 8px;
}

.meal-details summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--acc);
  cursor: pointer;
  transition: color .15s;
  list-style: none;
}

.meal-details summary::-webkit-details-marker {
  display: none;
}

.meal-details summary::before {
  content: '+ ';
}

.meal-details[open] summary::before {
  content: '- ';
}

.meal-details summary:hover {
  color: var(--deep);
}

.meal-details__body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.meal-details__body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.meal-details__body ol {
  padding-left: 20px;
  margin-bottom: 10px;
}

.meal-details__body li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 4px;
}

.meal-card__nutrients {
  font-size: 12px !important;
  color: var(--mid) !important;
  background: rgba(82,183,136,.06);
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 8px;
}

.meal-card__nutrients a {
  color: var(--acc);
  text-decoration: underline;
}

/* ── Shopping list ── */
.shopping-list {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.shopping-list__toggle {
  display: block;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--deep);
  background: rgba(82,183,136,.06);
  cursor: pointer;
  list-style: none;
}

.shopping-list__toggle::-webkit-details-marker {
  display: none;
}

.shopping-list__body {
  padding: 20px;
}

.shopping-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.shopping-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--deep);
  margin-bottom: 8px;
  margin-top: 16px;
}

.shopping-col h4:first-child {
  margin-top: 0;
}

.shopping-col ul {
  list-style: none;
  padding: 0;
}

.shopping-col li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
}

.shopping-col li::before {
  content: '\25A1';
  position: absolute;
  left: 0;
  color: var(--border);
}

/* ── Kennisbank links ── */
.kb-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kb-link {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  transition: all .2s;
}

.kb-link:hover {
  border-color: var(--acc);
  color: var(--deep);
  background: rgba(82,183,136,.06);
}

/* ── Tip boxes ── */
.tip-box {
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.tip-box--info {
  background: var(--info-bg);
  border-left: 3px solid var(--info);
  color: #1E3A5F;
}

.tip-box--warn {
  background: var(--warn-bg);
  border-left: 3px solid var(--warn);
  color: #6B3A1F;
}

/* ── CTA ── */
.weekmenu-cta {
  margin-top: 48px;
  text-align: center;
  padding: 40px 32px;
  background: var(--deep);
  border-radius: 12px;
}

.weekmenu-cta h2 {
  color: var(--cream);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: 12px;
}

.weekmenu-cta p {
  color: rgba(245,240,232,.55);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 24px;
}

.weekmenu-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: all .2s;
  text-decoration: none;
}

.btn--primary {
  background: var(--acc);
  color: var(--deep);
}

.btn--primary:hover {
  background: #6fcf97;
}

.btn--secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,.2);
}

.btn--secondary:hover {
  border-color: rgba(255,255,255,.4);
}

/* ── Disclaimer ── */
.weekmenu-disclaimer {
  margin-top: 40px;
}

.weekmenu-disclaimer p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  padding: 16px 20px;
  background: var(--ivory);
  border-left: 3px solid var(--border);
  border-radius: 0 4px 4px 0;
}

/* ── Phase info (for gut repair) ── */
.phase-info {
  padding: 20px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.phase-info h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.phase-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.phase-info--active {
  background: rgba(82,183,136,.06);
  border-color: rgba(82,183,136,.3);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .meal-grid {
    grid-template-columns: 1fr;
  }

  .shopping-columns {
    grid-template-columns: 1fr;
  }

  .day-tab {
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .weekmenu-content {
    padding: 0 16px 48px;
  }

  .breadcrumb {
    padding: 12px 16px;
  }
}
