/* Tarif Defteri — tasarımdaki renk ve ölçüler */
:root {
  --ink: #1F1A17;
  --ink-2: #4A3F37;
  --muted: #6B5E52;
  --line: #E7DFD6;
  --line-2: #D6CABD;
  --soft: #F5F1EC;
  --photo: #EFE7DD;
  --accent: #C2410C;
  --accent-dark: #9A3412;
  --ok: #3F6212;
  --danger: #B91C1C;
  --radius: 16px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", var(--font);
  --tabbar-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.01em; }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.ico { flex: 0 0 auto; }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.page { padding-top: 32px; padding-bottom: 56px; }
.page__title { font-size: 36px; margin: 8px 0 24px; }
.center { text-align: center; }
.lead { font-size: 18px; color: var(--ink-2); margin: 0; }
.meta { font-size: 14px; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.badge { background: var(--soft); color: var(--ink-2); border-radius: 6px; padding: 1px 6px; text-transform: none; letter-spacing: 0; }
.empty { color: var(--muted); padding: 24px 0; }
.hint { font-size: 14px; color: var(--muted); margin: 0 0 4px; }

/* ---------- düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none;
  cursor: pointer; white-space: nowrap; background: none; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--ghost:hover { background: var(--soft); color: var(--ink); }
.btn--ghost.is-on { background: var(--soft); border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--lg { min-height: 52px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--add { width: 100%; min-height: 48px; border: 1px dashed var(--accent); color: var(--accent); border-radius: 12px; background: #fff; }
.btn--add:hover { background: #FFF7F2; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0;
  background: transparent; border-radius: 10px; cursor: pointer; color: var(--muted); text-decoration: none; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.icon-btn--soft { width: 38px; height: 38px; background: var(--soft); color: var(--ink); }
.link-btn { border: 0; background: none; padding: 8px 0; color: var(--accent); font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.link-btn--danger { color: var(--danger); }

/* ---------- üst çubuk */
.topbar { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.topbar__in { display: flex; align-items: center; gap: 16px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; }
.logo__mark--lg { width: 64px; height: 64px; border-radius: 18px; }
.logo__text { font-family: var(--display); font-weight: 700; font-size: 22px; }
.topnav { display: flex; gap: 20px; font-weight: 500; font-size: 15px; }
.topnav a { color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.topnav a[aria-current] { border-bottom-color: var(--accent); }
.topbar__actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.avatar-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--soft); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex: 0 0 auto; }
.avatar--sm { width: 32px; height: 32px; font-size: 12px; }
.avatar--lg { width: 64px; height: 64px; font-size: 22px; }

.search { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 999px; padding: 0 16px;
  height: 46px; color: var(--muted); }
.search input { border: 0; background: transparent; font-size: 15px; flex: 1; min-width: 0; outline: none; color: var(--ink); height: 100%; }
.search:focus-within { outline: 3px solid var(--accent); outline-offset: 1px; }
.search--top { flex: 1 1 240px; max-width: 420px; }
.search--page { margin: 16px 0; height: 48px; }

/* ---------- ana sayfa */
.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 48px 0 24px; }
.hero__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px;
  background: var(--soft); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; }
.chip:hover { background: #ECE4DA; color: var(--ink); }
.chip--on, .chip--on:hover { background: var(--ink); color: #fff; }
.chip--more { background: #fff; border: 1px solid var(--line-2); }
.feature { flex: 1 1 460px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.feature:hover { color: var(--ink); }
.feature__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; margin-bottom: 8px; }
.feature__title { font-family: var(--display); font-size: 28px; font-weight: 700; }
.feature--empty { align-items: flex-start; gap: 12px; }
.ph { display: flex; align-items: center; justify-content: center; background: var(--photo); color: var(--muted); }

.section { padding: 32px 0 56px; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0 24px; }
.section__head h2 { margin: 0; font-size: 30px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 24px; }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.card:hover { color: var(--ink); }
.card:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.card__body { display: flex; flex-direction: column; gap: 4px; }
.card__title { font-size: 19px; font-weight: 600; line-height: 1.3; }
.pager { display: flex; gap: 12px; justify-content: center; margin-top: 40px; }

.band { background: var(--soft); }
.band__in { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; justify-content: space-between; padding-top: 44px; padding-bottom: 44px; }
.band__text { flex: 1 1 420px; }
.band h2 { margin: 0 0 8px; font-size: 28px; }
.band p { margin: 0; color: var(--ink-2); max-width: 600px; }
.band .ios-hint { margin-top: 10px; }
.install-card { background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 12px 12px 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; margin-bottom: 8px; }
.install-card span { flex: 1; }

.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cat { background: var(--soft); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; min-height: 96px; justify-content: flex-end; }
.cat:hover { background: #ECE4DA; color: var(--ink); }
.cat__name { font-family: var(--display); font-weight: 700; font-size: 20px; }

/* ---------- tarif sayfası */
.recipe__cover { position: relative; }
.recipe__img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 24px; }
.recipe__wrap { display: flex; flex-direction: column; gap: 28px; padding-top: 24px; padding-bottom: 64px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.recipe { display: flex; flex-direction: column; }
.recipe__head { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; }
.recipe__titles { flex: 1 1 480px; display: flex; flex-direction: column; gap: 12px; }
.recipe__titles h1 { margin: 0; font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.02em; }
.byline { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--ink-2); }
.recipe__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.recipe__actions form { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0; }
.facts div { background: var(--soft); border-radius: var(--radius); padding: 14px 18px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font-size: 20px; font-weight: 600; }
.recipe__body { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.ingredients { flex: 1 1 380px; border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; position: sticky; top: 92px; }
.steps { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.sec-title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.sec-title h2 { margin: 0; font-size: 28px; }
.num { width: 32px; height: 32px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { border-top: 1px solid var(--photo); }
.checklist label { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 6px 0; font-size: 16px; cursor: pointer; }
.checklist input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: 0 0 auto; }
.checklist .qty { flex: 0 0 132px; font-weight: 600; }
.checklist input:checked ~ span { color: var(--muted); text-decoration: line-through; }
.steplist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.steplist li { display: flex; gap: 18px; }
.steplist__no { flex: 0 0 64px; font-family: var(--display); font-weight: 700; color: var(--accent); padding-top: 3px; }
.steplist__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.steplist__body p { margin: 0; font-size: 17px; line-height: 1.65; white-space: pre-line; }
.steplist__img { width: 260px; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.tip { background: var(--soft); border-radius: var(--radius); padding: 18px 22px; }
.tip p { margin: 6px 0 0; color: var(--ink-2); white-space: pre-line; }
.fab { position: absolute; top: 16px; width: 44px; height: 44px; border-radius: 999px; background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.fab--left { left: 16px; }

.notice { display: flex; gap: 10px; align-items: flex-start; background: var(--soft); border-radius: 14px; padding: 14px 16px; margin: 0; font-size: 14px; color: var(--ink-2); }
.notice .ico { margin-top: 2px; }
.notice--ok { background: #EEF5E6; color: #2F4A0E; margin-bottom: 20px; }
.errors { background: #FDECEC; color: #7F1D1D; border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; }
.errors ul { margin: 6px 0 0; padding-left: 20px; }

/* ---------- yönetim: kategoriler */
.page--narrow { max-width: 760px; }
.backlink { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.page--narrow .lead { font-size: 16px; margin-bottom: 24px; }
.catadd { margin-bottom: 28px; }
.catadd__row { display: flex; gap: 10px; }
.catadd__row input[type=text] { flex: 1; height: 48px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; font-size: 16px; min-width: 0; }
.catadd__row input[type=text]:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.catadmin { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line-2); }
.catadmin__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 90px; }
.catadmin__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.catadmin__name { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.catadmin__tools { display: flex; gap: 6px; }
.catadmin__tools form { display: flex; gap: 6px; }
.catadmin__edit { grid-column: 1 / -1; }
.catadmin__edit summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14px; list-style: none; padding: 4px 0; }
.catadmin__edit summary::-webkit-details-marker { display: none; }
.catadmin__edit[open] summary { margin-bottom: 8px; }
.iconbtn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.iconbtn:hover:not(:disabled) { background: var(--soft); }
.iconbtn:disabled { opacity: .35; cursor: default; }
.iconbtn--danger { color: #B91C1C; }
.adminlink { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; margin-bottom: 28px;
  border: 1px solid var(--line-2); border-radius: 14px; text-decoration: none; color: var(--ink); }
.adminlink:hover { background: var(--soft); }
.adminlink strong { display: block; font-size: 16px; }

/* ---------- formlar */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=number],
.field select, .field textarea, .ing-row input, .ing-row select, .step-card textarea {
  height: 48px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; font-size: 16px; background: #fff; width: 100%; min-width: 0; }
.field textarea, .step-card textarea { height: auto; padding: 10px 14px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .ing-row input:focus, .ing-row select:focus, .step-card textarea:focus {
  border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.recipe-form { display: flex; flex-direction: column; gap: 22px; }
.form-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.form-head h1 { margin: 0; font-size: 28px; }
.form-head span { width: 44px; }
.form-sec { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.ing-head, .ing-row { display: grid; grid-template-columns: 76px 140px minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.ing-head { font-size: 12px; font-weight: 600; color: var(--muted); }
.ing-row { margin-bottom: 8px; }
.ing-row input, .ing-row select { height: 46px; padding: 0 10px; font-size: 15px; }
.ing-row select { padding: 0 6px; }
.step-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.step-card__head { display: flex; justify-content: space-between; align-items: center; }
.step-card__no { font-weight: 700; color: var(--accent); }
.step-card__tools { display: flex; gap: 4px; }
.step-photo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.step-photo__img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input, .dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone { position: relative; min-height: 180px; border: 2px dashed var(--line-2); border-radius: var(--radius); background: #FBF8F5;
  display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; cursor: pointer; }
.dropzone:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.dropzone__empty { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink-2); padding: 20px; }
.dropzone__empty .ico { color: var(--accent); }
.dropzone__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dropzone__change { display: none; position: absolute; right: 12px; bottom: 12px; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; align-items: center; gap: 6px; }
.dropzone.has-img { border-style: solid; }
.dropzone.has-img .dropzone__empty { display: none; }
.dropzone.has-img .dropzone__change { display: inline-flex; }
.form-actions { display: flex; gap: 10px; border-top: 1px solid var(--line); padding-top: 22px; }
.form-actions .btn { flex: 1; }
.form-actions .btn--accent { flex: 1.4; }
.delete-form { margin-top: 28px; text-align: center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin: 1px 0 0; flex: 0 0 auto; }

/* ---------- giriş */
.auth { max-width: 440px; padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }
.auth__head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.auth__head h1 { margin: 0; font-size: 28px; }
.auth__head p { margin: 0; color: var(--ink-2); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 999px; padding: 4px; }
.seg a { min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.seg a[aria-current] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.auth__form { display: flex; flex-direction: column; gap: 16px; }

.profile { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.profile__text { flex: 1; display: flex; flex-direction: column; }
.profile h1 { margin: 0; font-size: 28px; }

.prose h2 { font-size: 22px; margin-top: 28px; }
.prose li { margin-bottom: 6px; }

/* ---------- alt kısım */
.footer { border-top: 1px solid var(--line); }
.footer__in { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: var(--muted); }
.tabbar { display: none; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(24px + var(--tabbar-h)); background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 12px; font-size: 14px; z-index: 50; max-width: calc(100% - 32px); }

.show-sm { display: none !important; }

/* ---------- telefon */
@media (max-width: 767px) {
  :root { --tabbar-h: 72px; }
  .wrap { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .show-sm { display: flex !important; }
  .show-sm[hidden] { display: none !important; }
  .topnav, .search--top { display: none; }
  .topbar__in { padding-top: 10px; padding-bottom: 10px; padding-top: max(10px, env(safe-area-inset-top)); }
  .logo__mark { width: 36px; height: 36px; border-radius: 11px; }
  .logo__text { font-size: 20px; }
  .avatar-link__text { display: none; }
  .topbar__actions { gap: 8px; }
  .btn--sm-m { min-height: 40px; padding: 0 12px; font-size: 14px; }
  .avatar { width: 44px; height: 44px; }
  .hero { padding: 12px 0 8px; gap: 20px; }
  .hero__text, .feature { flex-basis: 100%; min-width: 0; }
  .hero__text { gap: 12px; }
  .hero h1 { font-size: 30px; }
  .hero .lead { font-size: 15px; }
  .hero .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .feature__img { border-radius: 18px; aspect-ratio: 16 / 10; }
  .feature__title { font-size: 24px; }
  .section { padding: 16px 0 32px; }
  .section__head h2 { font-size: 22px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .card { flex-direction: row; align-items: center; gap: 14px; }
  .card__img { width: 88px; height: 88px; flex: 0 0 auto; aspect-ratio: auto; border-radius: 14px; }
  .card__img.ph .ico { width: 22px; height: 22px; }
  .card__title { font-size: 16px; }
  .page { padding-top: 12px; }
  .page__title { font-size: 26px; margin: 8px 0 16px; }
  .band__in { padding-top: 28px; padding-bottom: 28px; }
  .band h2 { font-size: 22px; }

  .page-recipe .topbar { display: none; }
  .recipe__cover { order: -3; margin: -18px -16px 0; }
  .recipe__img { border-radius: 0; aspect-ratio: 4 / 3; }
  .recipe__wrap { gap: 20px; padding-top: 18px; }
  .recipe__titles h1 { font-size: 30px; }
  .recipe__titles .lead { font-size: 16px; }
  .recipe__head { gap: 14px; }
  .recipe__actions .btn { min-height: 42px; }
  .facts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
  .facts dt { font-size: 12px; }
  .facts div { padding: 10px; border-radius: 14px; }
  .facts dd { font-size: 15px; }
  .ingredients { border: 0; padding: 0; position: static; }
  .sec-title h2 { font-size: 22px; }
  .num { width: 28px; height: 28px; font-size: 14px; }
  .checklist label { font-size: 15px; gap: 12px; }
  .checklist .qty { flex-basis: 112px; }
  .steplist { gap: 18px; }
  .steplist li { flex-direction: column; gap: 4px; }
  .steplist__no { flex: none; font-size: 13px; padding: 0; }
  .steplist__body p { font-size: 16px; }

  .row3 { gap: 8px; }
  .row3 .field__label { font-size: 13px; }
  .ing-head, .ing-row { grid-template-columns: 58px 104px minmax(0, 1fr) 36px; gap: 6px; }
  .ing-row .icon-btn { width: 36px; }
  .ing-row select { font-size: 14px; }
  .form-head h1 { font-size: 20px; }
  .auth { padding-top: 24px; }

  .tabbar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: #fff; border-top: 1px solid var(--line); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 48px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 500; }
  .tabbar a[aria-current] { color: var(--accent); font-weight: 600; }
  .tabbar .tabbar__add { justify-self: center; width: 56px; height: 56px; border-radius: 999px; background: var(--accent); color: #fff; margin-top: -20px; box-shadow: 0 4px 12px rgba(194, 65, 12, .35); }
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .footer { display: none; }
}

/* ---------- yazdırma */
@media print {
  .topbar, .tabbar, .footer, .recipe__actions, .crumbs, .fab, .js-cook, .hint, .notice, .band { display: none !important; }
  body { padding: 0; }
  .recipe__img { max-height: 260px; border-radius: 0; }
  .ingredients { position: static; border: 0; padding: 0; }
  .checklist input { display: none; }
  a { color: inherit; text-decoration: none; }
}
