/* Sofra by Mom — sıcak krem zemin, fotoğraf odaklı kartlar, logodan gelen nar kırmızısı. */
:root {
  --bg: #FBF6EE;
  --card: #FFFFFF;
  --pill: #F1E8DC;
  --line: #ECE2D5;
  --red: #A3160F;
  --red-dark: #7F100A;
  --red-soft: #FBEDEA;
  --gold: #9C6612;
  --ink: #231613;
  --muted: #6F625B;
  --veg: #3F6B2A;
  --focus: #1F6FEB;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(35, 22, 19, .06), 0 10px 24px -18px rgba(35, 22, 19, .45);
  --dock-h: 64px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--sans); }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }
.h1 { font: 800 2rem/1.1 var(--serif); margin: 0; }
.h2 { font: 800 1.7rem/1.15 var(--serif); margin: 0; letter-spacing: -.01em; }
.h3 { font: 700 1.2rem/1.2 var(--serif); margin: 0; }

/* ——— Header ——— */
.header { background: var(--bg); padding-bottom: 12px; }
.header__top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding-top: 10px; padding-bottom: 8px; }
.header__logo { justify-self: center; }
.header__logo img { width: 158px; height: auto; }
.header__actions { display: flex; justify-content: flex-end; gap: 8px; }
.topnav { display: none; }
.iconbtn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 50%; cursor: pointer;
}
.iconbtn svg { width: 26px; height: 26px; }
.iconbtn:hover { background: var(--pill); }
.iconbtn--cart { display: none; }
.badge {
  position: absolute; top: 0; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform .2s;
}
.badge.has-items { transform: scale(1); }

.locbar {
  display: flex; align-items: stretch; gap: 6px; padding: 5px; border-radius: 18px;
  background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.locbar__where {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 4px 6px;
  border: 0; background: none; text-align: left; cursor: pointer; border-radius: 12px;
}
.locbar__pin { width: 24px; height: 24px; color: var(--red); flex: none; }
.locbar__text { display: grid; min-width: 0; line-height: 1.2; }
.locbar__text small { font-size: 12px; color: var(--muted); }
.locbar__text strong { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.locbar__chev { width: 18px; height: 18px; margin-left: auto; color: var(--muted); flex: none; }
.seg { display: flex; gap: 4px; padding-left: 6px; border-left: 1px solid var(--line); }
.seg__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; min-height: 44px; border-radius: 12px;
  border: 0; background: var(--pill); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s;
}
.seg__btn svg { width: 20px; height: 20px; }
.seg__btn.is-on { background: var(--red); color: #fff; }
@media (max-width: 440px) {
  .seg__btn { padding: 0 10px; font-size: 13.5px; gap: 5px; }
  .seg__btn svg { width: 18px; height: 18px; }
  .locbar__chev { display: none; }
  .locbar__where { gap: 6px; padding: 4px; }
}
@media (max-width: 370px) { .seg__btn svg { display: none; } }

/* ——— Hero ——— */
.hero { position: relative; height: clamp(300px, 78vw, 440px); overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: center 65%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(251, 246, 238, .88) 20%, rgba(251, 246, 238, 0) 52%),
              linear-gradient(to top, rgba(251, 246, 238, .9) 0%, rgba(251, 246, 238, 0) 14%);
}
.hero__text { position: relative; z-index: 1; text-align: center; padding: 6px 16px 0; }
.hero__title { margin: 0; font: 800 clamp(2rem, 8.4vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.015em; }
.hero__sub { margin: 6px 0 0; font-size: clamp(1rem, 4vw, 1.2rem); color: #4A3B35; }
.hero--art .hero__media { background: radial-gradient(90% 70% at 50% 100%, #F2DDBF 0%, var(--bg) 70%); }
.sini {
  position: absolute; left: 50%; bottom: -22%; width: min(92vw, 560px); aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle at 36% 30%, #F4CE7E 0%, #D9A441 22%, #B67A17 55%, #8A5710 82%, #6E440B 100%);
  box-shadow: 0 30px 50px -20px rgba(60, 30, 5, .55), inset 0 0 0 6px rgba(255, 230, 170, .35);
}
.sini__plate {
  --a: calc(var(--i) * 360deg / var(--n) - 90deg);
  position: absolute; left: 50%; top: 50%; width: 34%;
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(115%) rotate(calc(-1 * var(--a)));
}
@media (min-width: 900px) {
  .hero { max-width: var(--wrap); margin: 0 auto; border-radius: 28px; height: 440px; width: calc(100% - 32px); }
  .hero::after { background: linear-gradient(to bottom, var(--bg) 0%, rgba(251, 246, 238, .85) 18%, rgba(251, 246, 238, 0) 45%); }
  .hero__text { padding-top: 18px; }
}

/* ——— Günler ——— */
.days { margin: 4px -16px 0; }
.days__list { list-style: none; margin: 0; padding: 4px 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.days__list::-webkit-scrollbar { display: none; }
.days__list li { flex: none; scroll-snap-align: start; }
.day {
  display: grid; place-items: center; min-width: 92px; min-height: 44px; padding: 6px 18px; border-radius: 999px;
  background: var(--pill); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.1; transition: background-color .2s;
}
.day small { font-size: 11px; font-weight: 500; color: var(--muted); }
.day:hover { background: #E9DDCD; }
.day--closed, .day--none { color: var(--muted); }
.day.is-on { background: var(--red); color: #fff; }
.day.is-on small { color: rgba(255, 255, 255, .8); }

/* ——— Menü ——— */
.menu { padding: 22px 0 40px; }
.menu__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 2px; color: var(--red); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link svg { width: 18px; height: 18px; }
.cutoff { display: flex; align-items: center; gap: 6px; margin: 6px 0 16px; color: var(--muted); font-size: 14px; }
.cutoff svg { width: 17px; height: 17px; flex: none; }
.cutoff--closed { color: var(--red); font-weight: 600; }

.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.format {
  display: grid; gap: 1px; padding: 10px 14px; border-radius: 14px; text-decoration: none;
  background: var(--card); border: 1.5px solid var(--line); transition: border-color .2s, background-color .2s;
}
.format strong { font-size: 15px; }
.format span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.format.is-on { border-color: var(--red); background: var(--red-soft); }
.format.is-on strong { color: var(--red); }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
/* Geniş ekranda 3 sütun: fotoğraflar daha büyük görünsün */
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }

.card { display: flex; flex-direction: column; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #F1E9DF; }
.card__media {
  position: relative; aspect-ratio: 5 / 3; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #FFF8EF 0%, color-mix(in srgb, var(--tint, #B8541E) 16%, #F7EBDD) 75%);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .plate-art { height: 86%; width: auto; filter: drop-shadow(0 8px 10px rgba(58, 29, 18, .18)); }
.card__media .box-art { width: 78%; }
.chip {
  position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.chip--veg { color: var(--veg); }
.chip--low { top: auto; bottom: 8px; color: var(--red); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 10px 12px 12px; }
.card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.card__name { margin: 0; font: 700 1.02rem/1.22 var(--serif); }
.card__spice { font-size: .8rem; letter-spacing: -2px; }
.card__price { color: var(--red); font-weight: 700; font-size: 1rem; white-space: nowrap; }
.card__local { margin: 1px 0 0; font-size: 12.5px; font-style: italic; color: var(--gold); }
.card__desc { margin: 5px 0 0; font-size: 13.5px; line-height: 1.38; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__allergens { display: flex; gap: 5px; align-items: flex-start; margin: 8px 0 0; font-size: 11.5px; line-height: 1.3; color: #81726A; }
.card__allergens svg { width: 14px; height: 14px; flex: none; color: var(--gold); }
.card__actions { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; }
.card__note { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 10px 0; }
.card.is-out .card__media { filter: grayscale(.7); opacity: .7; }

.stepper { display: flex; align-items: center; background: var(--pill); border-radius: 999px; flex: none; }
.stepper button { width: 30px; height: 40px; border: 0; background: none; font-size: 18px; font-weight: 600; cursor: pointer; border-radius: 999px; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 16px; text-align: center; font-weight: 600; font-size: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 0; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .12s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--red:disabled { background: #D9CCC3; cursor: not-allowed; }
.btn--outline { background: var(--card); color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.btn--outline:hover { background: var(--red-soft); }
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--add { flex: 1; padding: 0 10px; min-width: 0; }
.btn.is-bumped { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.08); } }
@media (max-width: 380px) { .btn--add svg { display: none; } .stepper button { width: 26px; } }

.empty { padding: 20px; border-radius: 16px; background: var(--pill); }

/* ——— Paket ——— */
.pack { background: #2B1712; color: #FFF6EE; border-radius: 20px; padding: 18px; margin-bottom: 16px; }
.pack__head { display: flex; justify-content: space-between; gap: 12px; }
.pack__title { margin: 0; font: 700 1.3rem/1.2 var(--serif); }
.pack__sub { margin: 4px 0 0; font-size: 14px; opacity: .8; max-width: 44ch; }
.pack__price { margin: 0; text-align: right; display: grid; align-content: start; }
.pack__price strong { font-size: 1.35rem; }
.pack__price small { opacity: .7; font-size: 12px; white-space: nowrap; }
.pack__slots { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; }
.slot { position: relative; color: #E6D3C3; }
.slot__label { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 600; opacity: .75; }
.slot__filled { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; }
.slot__filled img { aspect-ratio: 10 / 7; object-fit: cover; border-radius: 14px; width: 100%; }
.slot__filled > span { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; text-align: center; line-height: 1.2; }
.slot__filled .box-art, .slot__filled img { animation: drop .3s cubic-bezier(.2, .8, .2, 1); }
.slot__x { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: #FFF6EE; color: #2B1712; display: grid; place-items: center; font-size: 14px; font-style: normal; font-weight: 700; }
@keyframes drop { from { transform: translateY(-8px) scale(1.05); opacity: 0; } }

/* ——— Hikâye / sayfalar / alt bilgi ——— */
.story { padding: 44px 0; background: #F5EBDD; text-align: center; }
.story__inner { max-width: 640px; }
.story__logo { margin: 0 auto 10px; width: 110px; height: auto; }
.story p { margin: 10px auto 0; font-size: 1.05rem; line-height: 1.65; color: #4A3B35; max-width: 56ch; }
.page { padding: 16px 16px 48px; }
.page__lede { color: var(--muted); max-width: 56ch; margin: 8px 0 22px; }
.page--empty { min-height: 45vh; display: grid; align-content: center; justify-items: start; }
.week { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.week__day { background: var(--card); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
.week__day.is-muted { background: #F8F4EF; }
.week__day.is-muted .week__date, .week__day.is-muted .week__state { color: #6F645E; }
.week__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.week__date { font: 500 .85rem var(--sans); color: var(--muted); margin-left: 4px; }
.week__state { font-size: 13px; font-weight: 600; color: var(--muted); }
.week__dishes { list-style: none; margin: 12px -14px 0; padding: 0 14px 4px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.week__dishes li { flex: none; width: 92px; text-align: center; }
.week__thumb { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; overflow: hidden;
  background: color-mix(in srgb, var(--tint) 15%, #F7EBDD); }
.week__thumb img { width: 100%; height: 100%; object-fit: cover; }
.week__thumb svg { width: 92%; }
.week__name { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.25; font-weight: 600; }
.week__pack { margin: 10px 0 0; font-size: 13px; color: var(--gold); font-weight: 600; }
.footer { background: #2B1712; color: #E7D8CC; padding: 32px 0 calc(var(--dock-h) + 110px); font-size: 14px; }
.footer__grid { display: grid; gap: 18px; }
.footer__h { margin: 0 0 4px; font: 700 1.05rem var(--serif); color: #FFF6EE; }
.footer p { margin: 0; }

/* ——— Alt dok: sepet çubuğu + sekme çubuğu ——— */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; }
.cartbar {
  display: flex; align-items: center; gap: 12px; margin: 0 10px 8px; padding: 8px 8px 8px 12px;
  background: var(--card); border-radius: 20px; box-shadow: 0 10px 30px -10px rgba(35, 22, 19, .45); border: 1px solid var(--line);
  animation: rise .28s cubic-bezier(.2, .8, .2, 1);
}
.cartbar[hidden] { display: none; }
.cartbar__icon { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--pill); }
.cartbar__icon svg { width: 24px; height: 24px; }
.cartbar__icon .badge { top: -6px; right: -6px; }
.cartbar__sum { display: grid; line-height: 1.15; }
.cartbar__sum strong { font-size: 1.1rem; }
.cartbar__sum small { color: var(--muted); font-size: 12.5px; }
.cartbar .btn { margin-left: auto; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.tabbar {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabbar a { display: grid; justify-items: center; gap: 2px; padding: 8px 0 7px; min-height: var(--dock-h); font-size: 12px; font-weight: 600; color: #7E726C; text-decoration: none; }
.tabbar svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--red); }

.toast {
  position: fixed; left: 50%; top: 14px; z-index: 60; translate: -50% -16px; opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 999px; background: #2B1712; color: #fff;
  font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .2s, translate .2s;
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ——— Masaüstü ——— */
@media (min-width: 900px) {
  .wrap { padding: 0 24px; }
  .header__top { grid-template-columns: auto 1fr auto; gap: 24px; }
  .header__spacer { display: none; }
  .header__logo { justify-self: start; }
  .header__logo img { width: 170px; }
  .topnav { display: flex; justify-content: center; gap: 6px; }
  .topnav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--muted); }
  .topnav a:hover { background: var(--pill); color: var(--ink); }
  .topnav a[aria-current="page"] { color: var(--red); background: var(--red-soft); }
  .iconbtn--cart { display: grid; }
  .locbar { max-width: 640px; margin: 0 auto; }
  .days { margin: 18px 0 0; }
  .days__list { padding: 4px 0; justify-content: center; }
  .h2 { font-size: 2rem; }
  .tabbar { display: none; }
  .cartbar { max-width: 520px; margin: 0 auto 18px; }
  .footer { padding-bottom: 110px; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .week { grid-template-columns: 1fr 1fr; }
  .page { padding-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ——— Takvim ——— */
.cal { margin-top: 16px; padding: 14px 12px 8px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid #F1E9DF; }
.cal__head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 6px; }
.cal__title { margin: 0; font: 700 1.15rem/1.2 var(--serif); }
.cal__nav { display: flex; gap: 4px; }
.cal__arrow { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.cal__arrow svg { width: 20px; height: 20px; }
.cal__arrow:hover { background: var(--pill); }
.cal__arrow.is-off { opacity: .25; }
.cal__table { width: 100%; border-collapse: separate; border-spacing: 0 2px; table-layout: fixed; }
.cal__table th { font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 0; }
.cal__table td { text-align: center; padding: 0; }
/* Katlama yalnızca JavaScript çalışıyorsa: JS yoksa tüm ay görünür ve her gün seçilebilir. */
.js .cal:not(.is-expanded) .cal__week:not(.is-current) { display: none; }
.no-js .cal__toggle { display: none; }
.cal { scroll-margin-top: 12px; }
.cal__day {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color .15s;
}
.cal__day--open::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.cal__day--open:hover { background: var(--red-soft); }
.cal__day--closed { color: #786E69; text-decoration: line-through; }
.cal__day--none, .cal__day--past { color: #7B736E; font-weight: 500; }
a.cal__day--none:hover, a.cal__day--closed:hover { background: var(--pill); }
.cal__day.is-outside:not(.is-selected) { opacity: .55; }
.js .cal:not(.is-expanded) .cal__day.is-outside:not(.is-selected) { opacity: 1; }
.cal__day.is-today:not(.is-selected) { box-shadow: inset 0 0 0 1.5px var(--line); }
.cal__day.is-selected { background: var(--red); color: #fff; }
.cal__day.is-selected::after { background: #fff; }
.cal__foot { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 0; border-top: 1px solid var(--line); margin-top: 6px; }
.cal__legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.cal__legend .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.cal__toggle { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 8px; border: 0; background: none; color: var(--red); font-weight: 600; font-size: 14px; cursor: pointer; }
.cal__toggle svg { width: 18px; height: 18px; transition: transform .2s; }
.cal.is-expanded .cal__toggle svg { transform: rotate(180deg); }
@media (min-width: 900px) { .cal { max-width: 460px; margin: 20px auto 0; } }
.pack__out { margin: 0; font-weight: 600; opacity: .8; }

/* ——— Sepet / checkout / durum ——— */
.narrow { max-width: 680px; }
.back { display: inline-flex; align-items: center; gap: 2px; margin-bottom: 8px; color: var(--muted); font-weight: 600; text-decoration: none; min-height: 40px; }
.back svg { width: 18px; height: 18px; }
.notice { padding: 12px 14px; border-radius: 14px; background: var(--pill); font-weight: 500; }
.notice--error { background: var(--red-soft); color: var(--red-dark); }
.notice--info { background: #EAF1F8; color: #214A6B; }
.notice--success { background: #E7F0DF; color: var(--veg); }
.lines { list-style: none; margin: 0 0 16px; padding: 0; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__art { position: relative; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tint) 16%, #F7EBDD); color: #8B5A2B; }
.line__art img { width: 100%; height: 100%; object-fit: cover; }
.line__art svg { width: 88%; }
.line__packn { position: absolute; font: 800 1.3rem var(--serif); }
.line__name { margin: 0; font-weight: 700; }
.line__meta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.line__price { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.stepper svg { width: 16px; height: 16px; margin: auto; }
.totals { margin: 0; }
.totals p, .totals div { display: flex; justify-content: space-between; margin: 0; padding: 4px 0; }
.totals dt, .totals dd { margin: 0; }
.totals dd { font-weight: 600; }
.totals__hint { color: var(--muted); font-size: 13px; }
.totals__grand { border-top: 1px solid var(--line); margin-top: 6px !important; padding-top: 10px !important; font-size: 1.15rem; font-weight: 800; }
.totals__grand dd { font-weight: 800; }
.btn--lg { min-height: 54px; font-size: 16.5px; margin-top: 8px; }
.btn--ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); margin-top: 10px; }
.btn--ghost-dark:hover { background: var(--pill); }
.checkout { display: grid; gap: 14px; }
.block { margin: 0; padding: 16px; border: 0; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); }
.block > legend { float: left; width: 100%; margin-bottom: 10px; padding: 0; }
/* Başlıktan sonraki TÜM öğeler alt satıra (yalnızca ilki değil: gizli bir grup önce gelebilir) */
.block > legend ~ * { clear: both; }
.block .h3 { margin-bottom: 10px; }
.opt { font: 400 .85rem var(--sans); color: var(--muted); }
.choice2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick, .slot-pick, .tip { position: relative; cursor: pointer; }
.pick input, .slot-pick input, .tip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: grid; gap: 2px; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); min-height: 64px; }
.pick small { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.pick input:checked + span, .slot-pick input:checked + span, .tip input:checked + span { border-color: var(--red); background: var(--red-soft); color: var(--red-dark); }
.pick input:focus-visible + span, .slot-pick input:focus-visible + span, .tip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.slot-pick span { display: grid; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14.5px; }
.slot-pick small { font-weight: 500; font-size: 12px; color: var(--muted); }
.slot-pick.is-full { cursor: not-allowed; }
.slot-pick.is-full span { opacity: .45; text-decoration: line-through; }
.field { display: grid; gap: 4px; margin-bottom: 12px; align-content: start; }
.field:last-child { margin-bottom: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 16px var(--sans); color: var(--ink);
  background: #FFFDFA; border: 1.5px solid var(--line); border-radius: 12px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field__err { margin: 0; color: var(--red); font-size: 13.5px; font-weight: 600; }
.field__hint { margin: 0; color: var(--muted); font-size: 13.5px; }
.field__hint.is-bad { color: var(--red); font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.tip span { display: grid; place-items: center; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14.5px; }
.sumlines { list-style: none; margin: 0 0 10px; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.sumlines li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.sumlines small { display: block; color: var(--muted); font-size: 12.5px; }
.fineprint { color: var(--muted); font-size: 13px; text-align: center; margin: 4px 0 0; }
.status-hero { text-align: center; padding: 24px 12px 8px; }
.status-hero p { color: var(--muted); max-width: 44ch; margin: 8px auto 0; }
.status-hero__check { width: 64px; height: 64px; margin: 0 auto 12px; color: var(--veg); }
.status-hero--warn .h2 { color: var(--red-dark); }
.spinner { display: block; width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; border: 4px solid var(--pill); border-top-color: var(--red); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.timeline { list-style: none; display: flex; justify-content: space-between; margin: 20px 0; padding: 0; counter-reset: s; }
.timeline li { flex: 1; position: relative; text-align: center; font-size: 12px; font-weight: 600; color: #786E69; padding-top: 26px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--pill); border: 3px solid var(--bg); box-shadow: 0 0 0 1.5px var(--line); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.timeline li:first-child::after { display: none; }
.timeline li.is-done { color: var(--ink); }
.timeline li.is-done::before { background: var(--veg); box-shadow: 0 0 0 1.5px var(--veg); }
.timeline li.is-done::after { background: var(--veg); }
.kv { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv strong { text-align: right; font-weight: 600; }
.page > .block { margin-bottom: 14px; }
.olist { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.olist a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); text-decoration: none; }
.olist span { display: grid; gap: 2px; }
.olist small { color: var(--muted); font-size: 13px; }
.olist__right { text-align: right; justify-items: end; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--pill); }
.pill--confirmed, .pill--preparing, .pill--ready, .pill--out_for_delivery { background: #E7F0DF; color: var(--veg); }
.pill--needs_review { background: var(--red-soft); color: var(--red); }
.stack { display: grid; gap: 4px; }

.empty--day { display: grid; gap: 6px; justify-items: start; }
.empty--day p { margin: 0; }

/* ——— Patch 05: favoriler, puanlar, hesap, kupon, bildirimler ——— */
.fav { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--muted); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.fav svg { width: 22px; height: 22px; fill: none; }
.fav.is-on { color: var(--red); }
.fav.is-on svg { fill: currentColor; }
.chip--low { right: auto; }
.card__local { display: flex; justify-content: space-between; gap: 6px; }
.card__rating { font-style: normal; font-weight: 700; color: var(--gold); white-space: nowrap; }
.card__rating small { font-weight: 500; color: var(--muted); }
.center { text-align: center; }
.stack-form { display: grid; gap: 12px; }
.check--top { align-items: flex-start; }
.check--top input { margin-top: 2px; flex: none; }
.check--top span { display: grid; gap: 4px; font-weight: 600; }
.check--top small { font-weight: 400; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.consent { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.coupon { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.coupon input { min-height: 48px; padding: 10px 14px; font: 600 16px var(--sans); letter-spacing: .04em; text-transform: uppercase;
  border: 1.5px solid var(--line); border-radius: 12px; background: #FFFDFA; }
.coupon .btn { margin: 0; }
.totals__discount dd { color: var(--veg); }
.field select { width: 100%; min-height: 48px; padding: 10px 12px; font: 16px var(--sans); border: 1.5px solid var(--line); border-radius: 12px; background: #FFFDFA; }
.addr { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.addr p { margin: 0; }
.addr__actions { display: flex; flex-direction: column; align-items: flex-end; }
.addr-add { margin-top: 10px; }
.addr-add summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; }
.addr-add[open] summary { margin-bottom: 10px; }
.favlist { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; overflow-x: auto; }
.favlist li { flex: none; width: 92px; text-align: center; }
.olist--flat { margin: 0; }
.olist--flat a { box-shadow: none; padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.btn--text { background: none; color: var(--muted); font-weight: 600; min-height: 40px; padding: 0 8px; }
.rev { border: 0; margin: 0; padding: 0 0 12px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.rev textarea { width: 100%; padding: 10px 12px; font: 15px var(--sans); border: 1.5px solid var(--line); border-radius: 12px; background: #FFFDFA; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 30px; line-height: 1; color: #DCCFC4; cursor: pointer; padding: 2px; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--gold); }
.stars input:focus-visible + label { outline: 3px solid var(--focus); border-radius: 6px; }
.rating-text { color: var(--gold); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red); flex: none; margin: 0; }
.block__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.block__head .h1 { margin: 0; }
.check.check--top { align-items: flex-start; }
.check.check--top input { margin-top: 3px; }
/* ——— Patch 06: uygulamayı yükle ——— */
.install { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.install img { border-radius: 14px; }
.install .h3 { margin: 0 0 2px; }
.install p { margin: 0 0 8px; }
.install .btn { margin-top: 2px; }
.install__ios svg { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; }
.offline { text-align: center; justify-items: center; min-height: 80vh; }
.offline img { margin: 0 auto 12px; width: 200px; height: auto; }
/* ——— Patch 07: push ——— */
.pushbox { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; }
.pushbox .h3 { margin: 0 0 2px; }
.pushbox p { margin: 0; }
.pushbox .btn.is-on { background: #E7F0DF; color: var(--veg); }
.pushbox__note { grid-column: 1 / -1; }
.muted { color: var(--muted); font-size: 14px; }
/* ——— Patch 08 ——— */
.footer__legal { margin-top: 18px; font-size: 13px; color: #BFAEA3; }
.footer__legal a { color: inherit; }
.legal h2 { margin: 22px 0 6px; }
.legal p, .legal li { line-height: 1.6; color: #3A2C27; }
.legal ul { padding-left: 20px; }
.cashdue { text-align: center; margin: 12px 0 0; }
.cancelbox { margin-top: 8px; }
.cancelbox .btn--text { color: var(--red-dark); }
/* ——— Set menüler ——— */
.card__with { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--gold); line-height: 1.3; }
.week__with { display: block; font-size: 11px; color: var(--muted); line-height: 1.2; margin-top: 2px; }

/* ——— Fotoğraf büyütme ——— */
.card__media { aspect-ratio: 4 / 3; }
.card__zoom { position: absolute; inset: 0; z-index: 1; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.card__zoom:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 16px 16px 0 0; }
.card__media .chip, .card__media .fav { z-index: 2; }
.card__zoomhint { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--ink); pointer-events: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.card__zoomhint svg { width: 17px; height: 17px; }
.chip--low { bottom: 8px; right: auto; }
.card__media img, .card__media .plate-art, .card__media .box-art { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) and (pointer: fine) {
  .card { transition: transform .2s, box-shadow .2s; }
  .card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(35, 22, 19, .06), 0 18px 34px -18px rgba(35, 22, 19, .5); }
  .card:hover .card__media img { transform: scale(1.12); }
  .card:hover .card__media .plate-art, .card:hover .card__media .box-art { transform: scale(1.1); }
  .card__zoomhint { opacity: 0; transition: opacity .2s; }
  .card:hover .card__zoomhint { opacity: 1; }
}
html.has-dialog { overflow: hidden; }
.zoom { width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 22px;
  background: var(--card); color: var(--ink); overflow: auto; box-shadow: 0 30px 60px -20px rgba(35, 22, 19, .55); }
.zoom::backdrop { background: rgba(35, 22, 19, .55); backdrop-filter: blur(3px); }
.zoom[open] { animation: zoom-in .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes zoom-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.zoom__media { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #FFF8EF 0%, color-mix(in srgb, var(--tint, #B8541E) 16%, #F7EBDD) 75%); }
.zoom__media img { width: 100%; height: 100%; object-fit: cover; }
.zoom__media svg { height: 84%; width: auto; filter: drop-shadow(0 12px 16px rgba(58, 29, 18, .2)); }
.zoom__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--ink); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.zoom__close svg { width: 20px; height: 20px; }
.zoom__body { padding: 16px 18px 20px; display: grid; gap: 8px; }
.zoom__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.zoom__name { margin: 0; font: 700 1.4rem/1.2 var(--serif); }
.zoom__price { color: var(--red); font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.zoom__desc { margin: 0; color: #4A3B35; line-height: 1.55; }
.zoom .card__with, .zoom .card__allergens { margin: 0; }
.zoom .btn { margin-top: 6px; }
@media (max-width: 600px) {  /* telefonda alttan açılan kart */
  .zoom { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .zoom[open] { animation: sheet-up .25s cubic-bezier(.2, .8, .2, 1); }
  .zoom__body { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.card__price { text-align: right; }
.card__unit { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
/* ——— Footer: ortalı ——— */
.footer { text-align: center; }
.footer__grid { justify-items: center; max-width: 900px; }
.footer__grid > div { max-width: 32ch; }
.footer a { color: #FFF6EE; text-underline-offset: 3px; }
.footer__legal { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 246, 238, .12); font-size: 13px; color: #BFAEA3; }
.footer__legal a { color: inherit; }
/* Uzun ad fiyatı sıkıştırmasın: fiyat sütunu sabit, ad kırılır */
.card__head { align-items: flex-start; }
.card__name { min-width: 0; overflow-wrap: anywhere; }
.card__price { flex: none; white-space: nowrap; }
.card__unit { font-size: 10.5px; }
/* Dar kartta ad sığmazsa fiyat alt satıra iner; ad kelime ortasından bölünmez */
.card__head { flex-wrap: wrap; row-gap: 2px; }
.card__name { flex: 1 1 7.5em; overflow-wrap: normal; hyphens: manual; }
.card__price { display: flex; align-items: baseline; gap: 5px; text-align: left; }
.card__unit { display: inline; }
.card__price { flex-wrap: wrap; column-gap: 5px; row-gap: 0; max-width: 100%; }
/* Footer bağlantıları: parmakla rahat dokunulsun (en az 24px, Lighthouse target-size) */
.footer a { display: inline-block; padding: 6px 2px; }
.footer__legal a { padding: 8px 4px; }
