/* ============================================================
   yemektariflerimiz — ortak stil dosyası
   Konsept: "Yörelerin Yemek Kitabı" — sıcak, editoryal, kitap
   sayfası hissi veren bir tasarım dili. Parşömen zemin, kiremit
   kırmızısı + zeytin yeşili vurgular, altın detaylar.
   ============================================================ */

:root {
  --bg: #FBF5EA;
  --bg-soft: #F4EBDA;
  --surface: #FFFFFF;
  --surface-2: #FFF8ED;
  --ink: #2B2118;
  --ink-muted: #7A6A58;
  --line: #E7D9C1;
  --accent: #A6402C;
  --accent-ink: #FFFFFF;
  --accent-soft: #F5E2DA;
  --olive: #556B3D;
  --olive-soft: #E7EEDD;
  --gold: #C9992F;
  --gold-soft: #F6EAC8;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 26px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(43, 33, 24, 0.06);
  --shadow-md: 0 14px 34px rgba(43, 33, 24, 0.12);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Noto Serif", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root[data-theme="dark"] {
  --bg: #1B140F;
  --bg-soft: #241B14;
  --surface: #241B14;
  --surface-2: #2C2118;
  --ink: #F3E7D6;
  --ink-muted: #B3A08A;
  --line: rgba(243, 231, 214, 0.12);
  --accent: #E17B57;
  --accent-ink: #1B140F;
  --accent-soft: rgba(225, 123, 87, 0.16);
  --olive: #93B073;
  --olive-soft: rgba(147, 176, 115, 0.14);
  --gold: #E3B94F;
  --gold-soft: rgba(227, 185, 79, 0.14);
  --shadow: none;
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

main { flex: 1 0 auto; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.4em; font-weight: 700; }
p { line-height: 1.7; margin: 0 0 1em; color: var(--ink-muted); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 300;
  transition: width 0.1s ease-out;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 245, 234, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
:root[data-theme="dark"] .nav { background: rgba(27, 20, 15, 0.82); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
}
.logo img { width: 26px; height: 26px; border-radius: 7px; align-self: center; }
.logo-dim { color: var(--accent); font-style: italic; }

.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-right { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  position: relative;
  width: 46px; height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 2px;
}
.theme-toggle-track { position: absolute; inset: 0; }
.theme-toggle-thumb {
  display: block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(0);
  transition: transform 0.25s ease;
}
:root[data-theme="dark"] .theme-toggle-thumb { transform: translateX(20px); background: var(--gold); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(680px 380px at 12% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(600px 340px at 100% 0%, var(--olive-soft), transparent 55%);
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero-inner .search-bar { margin-left: auto; margin-right: auto; }
.hero-inner .hero-actions { justify-content: center; }
.hero-inner .hero-stats { justify-content: center; }
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--accent); font-style: italic; }
.hero p.lead { font-size: 17.5px; max-width: 46ch; margin-left: auto; margin-right: auto; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-md); }
.btn-primary:hover { box-shadow: 0 18px 34px rgba(166, 64, 44, 0.28); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--ink); }
.hero-stat span { font-size: 13px; color: var(--ink-muted); }

/* ---------- Search ---------- */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  box-shadow: var(--shadow);
  max-width: 560px;
  margin-top: 30px;
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.search-bar input::placeholder { color: var(--ink-muted); }
.search-bar button {
  border: none;
  background: var(--accent);
  color: var(--accent-ink);
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Section shell ---------- */
.section { padding: 76px 0; }
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin: 0 auto 40px;
  max-width: 640px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0; }
.section-head p { margin: 0; max-width: 52ch; }
.see-all {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--accent);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.see-all:hover { text-decoration: underline; }

.section-alt { background: var(--bg-soft); }

/* ---------- Region chapters ---------- */
.regions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.region-card {
  position: relative;
  flex: 1 1 150px;
  max-width: 220px;
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.region-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.region-card h3 { font-size: 19px; margin: 0 0 4px; }
.region-card span.count { font-size: 12.5px; color: var(--ink-muted); }
.region-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0; right: 0;
  height: 4px;
  background: var(--region-color, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.region-card:hover::after { transform: scaleX(1); }

/* ---------- Recipe cards ---------- */
.recipes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.recipes-grid .recipe-card { flex: 1 1 260px; max-width: 340px; }

.subcat-block { margin-bottom: 52px; }
.subcat-block:last-child { margin-bottom: 0; }
.subcat-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.subcat-empty {
  color: var(--ink-muted);
  font-size: 15px;
  padding: 40px 0;
  text-align: center;
}
.recipe-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.recipe-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.recipe-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: var(--recipe-color, var(--olive-soft));
}
.recipe-media .fav {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 15px;
}
:root[data-theme="dark"] .recipe-media .fav { background: rgba(0,0,0,0.5); }
.recipe-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.recipe-region {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--olive);
}
.recipe-card h3 { font-size: 19px; margin: 0; }
.recipe-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: auto;
  padding-top: 8px;
}
.recipe-meta span { display: flex; align-items: center; gap: 5px; }

/* ---------- Feature strip ---------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.feature-card {
  flex: 1 1 240px;
  max-width: 280px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 6px; }
.feature-card p { margin: 0; font-size: 14.5px; }

/* ---------- CTA / newsletter ---------- */
.cta {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent) 0%, #7d2f1f 100%);
  color: #fff;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  box-shadow: var(--shadow-md);
}
.cta h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,0.85); margin: 0 auto; max-width: 46ch; }
.cta .btn-outline { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.5); }
.cta .btn-outline:hover { background: #fff; color: var(--accent); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 54px 0 26px; margin-top: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand p { max-width: 32ch; font-size: 14px; }
.footer h4 { font-size: 14px; margin: 0 0 14px; color: var(--ink); }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: var(--ink-muted); transition: color 0.2s ease; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

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

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 62px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    z-index: 90;
  }
  .nav-links.open { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .cta { flex-direction: column; text-align: left; padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 0 60px; }
  .hero-stats { gap: 20px; }
}

/* ============================================================
   Tarif / Yöre detay sayfaları
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink-muted);
  padding: 18px 0;
}
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

.recipe-hero { padding: 8px 0 0; }

.recipe-header {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 32px;
  align-items: start;
}
.recipe-header-text { order: 1; }
.recipe-header-photo { order: 2; }

.recipe-header-photo-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-md);
}
.recipe-header-photo-inner img { width: 100%; height: 100%; object-fit: cover; }

.photo-credit-badge {
  position: absolute;
  bottom: 6px; right: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity 0.15s ease;
}
.photo-credit-badge:hover,
.photo-credit-badge:focus-visible { opacity: 1; }

.recipe-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}
.recipe-title-row h1 { margin: 0; font-size: clamp(26px, 3.6vw, 38px); }

.recipe-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}
.recipe-meta-row .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink);
}

.pill-action {
  border: none;
  font-family: inherit;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.15s ease, background-color 0.2s ease;
}
.pill-action:hover { transform: translateY(-1px); }
.pill-action:not(.pill-gold) { background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent); }
.pill-action:not(.pill-gold):hover { background: var(--accent); color: var(--accent-ink); }
.pill-action.pill-gold { background: var(--gold-soft); border: 1px solid var(--gold); color: var(--gold); }
.pill-action.pill-gold:hover { background: var(--gold); color: #3a2c14; }
.pill-action.pill-share { background: var(--olive-soft); border: 1px solid var(--olive); color: var(--olive); }
.pill-action.pill-share:hover { background: var(--olive); color: #fff; }

.recipe-lead { font-size: 17px; max-width: 68ch; }

.recipe-columns {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  margin-top: 12px;
}
.recipe-columns h2 { font-size: 21px; margin-bottom: 16px; }

.ingredient-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.ing-check {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface) center/12px no-repeat;
  cursor: pointer;
  margin: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ing-check:checked {
  background-color: var(--olive);
  border-color: var(--olive);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E");
}
.ing-text { cursor: pointer; }

.serving-adjust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 14px;
}
.serving-adjust button {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.serving-adjust button:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
#servCount { font-weight: 700; min-width: 1ch; text-align: center; }

.step-list { counter-reset: step; }
.step-list li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 0 12px;
  position: relative;
}
.step-list li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14.5px;
}
.step-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px; top: 34px; bottom: 0;
  width: 1px;
  background: var(--line);
}
.step-list li p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.45; }

.tips-list { display: grid; gap: 10px; list-style: none; margin-top: 6px; }
.tips-list li {
  padding: 14px 18px;
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

/* Info modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 9, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 540px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 30px 30px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.modal-box .eyebrow { margin-bottom: 6px; }
.modal-box h3 { font-size: 22px; margin-bottom: 14px; }
.modal-box p { font-size: 15px; color: var(--ink); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--accent-soft); color: var(--accent); }

/* Cook mode ("Hadi Başlayalım") */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cook-start-btn { justify-content: center; font-size: 16px; padding: 15px 24px; flex: 1 1 220px; max-width: 320px; }
.cta-row .btn-outline { justify-content: center; padding: 15px 20px; flex: 1 1 180px; max-width: 240px; }

.nutrition-box { text-align: left; }
.nutrition-note { font-size: 13px; color: var(--ink-muted); margin-bottom: 16px; }
.nutrition-label { border: 3px solid var(--ink); border-radius: 4px; padding: 4px 16px; }
.nutrition-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.nutrition-row:last-child { border-bottom: none; }
.nutrition-row-main {
  border-bottom: 6px solid var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  padding: 8px 0 14px;
}
.nutrition-row-main strong { font-size: 22px; }
.nutrition-total { margin-top: 14px; font-size: 13.5px; color: var(--ink-muted); font-weight: 700; }
#nutritionOpen { font-size: 16px; }

.cook-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 6, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 600;
  padding: 20px;
}
.cook-overlay.open { display: flex; }
.cook-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px 36px 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  text-align: center;
}
.cook-box h3 { font-size: 24px; margin-bottom: 10px; }
.cook-box p { font-size: 15px; }
.cook-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cook-close:hover { background: var(--accent-soft); color: var(--accent); }

.cook-ing-list { text-align: left; margin: 20px 0 26px; max-height: 40vh; overflow-y: auto; }

#cookMise .btn, #cookDone .btn { width: 100%; justify-content: center; }

.cook-progress {
  height: 5px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin: 8px 0 18px;
}
.cook-progress-bar { height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width 0.25s ease; }
.cook-step-count { font-size: 13px; color: var(--ink-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.cook-step-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  margin: 22px 0 30px;
  min-height: 4.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cook-nav { display: flex; gap: 12px; }
.cook-nav .btn { flex: 1; justify-content: center; }

.cook-timer {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px;
  margin: 0 0 22px;
}
.cook-timer-adjust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cook-timer-adjust button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
}
.cook-timer-adjust button:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
#cookTimerDisplay { font-family: var(--font-display); font-size: 30px; font-weight: 700; min-width: 4ch; color: var(--ink); }
.cook-timer-controls { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cook-timer-controls .btn { padding: 9px 18px; font-size: 13.5px; }
.cook-timer-controls .btn[hidden] { display: none; }
.cook-timer.ringing { animation: cookTimerPulse 0.8s ease infinite; }
@keyframes cookTimerPulse {
  0%, 100% { background: var(--bg-soft); }
  50% { background: var(--accent-soft); }
}
.cook-done-emoji { font-size: 52px; display: block; margin-bottom: 8px; }

@media (max-width: 480px) {
  .cook-box { padding: 30px 22px 24px; }
}

/* Region hub header */
.region-hero {
  padding: 50px 0 20px;
  text-align: center;
}
.region-hero h1 { font-size: clamp(30px, 4.5vw, 46px); }
.region-hero p { max-width: 60ch; margin: 0 auto; font-size: 16px; }

.empty-state {
  text-align: center;
  padding: 70px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.empty-state .emoji { font-size: 40px; display: block; margin-bottom: 12px; }

.related-recipes { margin-top: 20px; }

@media (max-width: 760px) {
  .recipe-columns { grid-template-columns: 1fr; gap: 34px; }
  .recipe-header { grid-template-columns: 1fr; gap: 18px; }
  .recipe-header-photo { order: -1; max-width: 220px; margin: 0 auto; }
  .recipe-header-text { order: 1; }
  .recipe-title-row { margin-top: 16px; }
}
