/* Müşteri QR menüsü – kategoriler → kategori */
body { background: #fbf8f2; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.page { padding-top: 14px; animation: fade .35s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  background: rgba(255, 253, 248, .1); border: 1px solid rgba(255, 253, 248, .22); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-decoration: none; }
.pill .icon { width: 15px; height: 15px; }
.pill.table { background: linear-gradient(180deg, #ecd8aa, #c9a564); color: var(--espresso-900); border: 0; box-shadow: 0 6px 16px -8px rgba(192, 154, 87, .8); }
.pill.sm { padding: 6px 11px; font-size: 12px; }
.pill .live { width: 8px; height: 8px; border-radius: 50%; background: #9fd27a; box-shadow: 0 0 0 0 rgba(159, 210, 122, .7); animation: pulse 2s infinite; }
.pill.closed .live { background: #ef8a7c; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(159, 210, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(159, 210, 122, 0); } }

/* ---- üst çubuk ---- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .9); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid rgba(220, 205, 179, .6); padding-top: env(safe-area-inset-top); }
.tb-row { max-width: 880px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 10px; min-height: 60px; }
.tb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; flex: 1; }
.tb-brand img { width: 40px; height: 40px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--line-strong); }
.tb-brand b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1; color: var(--espresso-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-brand small { display: block; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--gold-600); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-btn { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--surface); border: 1px solid var(--line-strong); color: var(--espresso-900); }
.tb-title { flex: 1; min-width: 0; font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--espresso-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs { max-width: 880px; margin: 0 auto; display: flex; gap: 22px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; position: relative; padding: 6px 0 12px; font-size: 14px; font-weight: 700; color: var(--ink-3); text-decoration: none; transition: color .2s; }
.tabs a.active { color: var(--espresso-900); }
.tabs a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--espresso-900); }

/* ---- ana menü ---- */
.searchbar { background: var(--surface); border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 4px; display: flex; align-items: center; gap: 4px; transition: border-color .2s, box-shadow .2s; }
.searchbar:focus-within { border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(214, 183, 122, .18); }
.searchbar > .icon { margin-left: 12px; color: var(--ink-3); width: 18px; height: 18px; }
.searchbar input { flex: 1; border: 0; outline: none; padding: 11px 6px; font-size: 15px; background: transparent; min-width: 0; }
.searchbar input::-webkit-search-cancel-button { display: none; }
.searchbar button { border: 0; background: var(--cream-200); color: var(--ink-2); width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; margin-right: 4px; }
.h-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 24px 0 12px; }
.h-sec h2 { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--espresso-900); line-height: 1; }
.h-sec span { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }

.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 620px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.cat-tile { position: relative; aspect-ratio: 1 / 1.08; border-radius: 22px; overflow: hidden; display: block; text-decoration: none; color: #fff; background: var(--espresso-800); isolation: isolate;
  box-shadow: 0 10px 26px -16px rgba(43, 26, 18, .6); animation: rise .5s var(--ease) both; }
.cat-tile.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 620px) { .cat-tile.wide { grid-column: span 2; aspect-ratio: auto; } }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile:active { transform: scale(.985); }
.cat-tile .ct-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(230, 207, 159, .35); z-index: -2; }
.cat-tile .ct-ph .icon { width: 40px; height: 40px; }
.ct-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 12, 8, 0) 35%, rgba(20, 12, 8, .82) 100%); }
.ct-txt { position: absolute; left: 14px; right: 50px; bottom: 13px; }
.ct-txt b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 25px; line-height: 1.02; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.cat-tile.wide .ct-txt b { font-size: 34px; }
.ct-txt small { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--gold-300); }
.ct-go { position: absolute; right: 12px; bottom: 13px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.ct-go .icon { width: 16px; height: 16px; }

/* ---- kategori sayfası ---- */
.cat-intro { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 14px; }
.cat-intro .count { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
.cat-intro p { color: var(--ink-2); font-size: 14px; }
.next-cat { display: flex; align-items: center; gap: 14px; margin: 22px 0 8px; padding: 10px 18px 10px 10px; border-radius: 20px; background: var(--espresso-900); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.next-cat:not(:has(img)) { padding-left: 18px; }
.next-cat img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; }
.next-cat span { flex: 1; min-width: 0; }
.next-cat small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-300); }
.next-cat b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.1; }
.next-cat .icon { color: var(--gold-300); }
body[data-view="cat"] .page { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* ürün kartları */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.card-p { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; cursor: pointer; width: 100%;
  box-shadow: 0 1px 2px rgba(43, 26, 18, .05); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; animation: rise .5s var(--ease) both; }
.card-p:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-p:active { transform: scale(.98); }
.card-p .ph { aspect-ratio: 5 / 4; }
.card-p .cbody { padding: 11px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.card-p h3 { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.25; letter-spacing: -.005em; }
.card-p p { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-p .cfoot { margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.cprice b { display: block; font-size: 16.5px; font-weight: 800; color: var(--espresso-900); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.cprice small { display: block; font-size: 11px; font-weight: 700; color: var(--gold-600); margin-top: 1px; }
.add-btn { width: 34px; height: 34px; border-radius: 12px; border: 0; background: var(--espresso-900); color: var(--cream-50); display: grid; place-items: center; flex: none; box-shadow: 0 6px 14px -6px rgba(43, 26, 18, .7); }
.add-btn .icon { width: 18px; height: 18px; }
.qty-badge { position: absolute; top: 8px; right: 8px; z-index: 2; min-width: 28px; height: 28px; border-radius: 99px; background: var(--pistachio-500); color: #fff; font-size: 13px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; gap: 2px; padding: 0 8px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9); }
.qty-badge .icon { width: 13px; height: 13px; stroke-width: 3; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.featured { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.featured::-webkit-scrollbar { display: none; }
.featured .card-p { flex: none; width: 210px; scroll-snap-align: start; }

.ph { position: relative; background: linear-gradient(135deg, #f1e3c8, #e3cfa9); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-p:hover .ph img { transform: scale(1.04); }
.ph .ph-mark { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(78, 50, 36, .35); }
.ph .ph-mark .icon { width: 34px; height: 34px; stroke-width: 1.3; }
.ph .tag { position: absolute; top: 8px; left: 8px; background: rgba(28, 17, 12, .82); color: var(--gold-300); font-size: 10.5px; font-weight: 800; padding: 4px 8px; border-radius: 99px; letter-spacing: .04em; display: inline-flex; gap: 4px; align-items: center; backdrop-filter: blur(4px); }
.ph .tag .icon { width: 11px; height: 11px; }

/* ---- alt menü (üst çubukla aynı dil, ekrana oturan uygulama menüsü) ---- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
.appbar { background: rgba(251, 248, 242, .94); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-top: 1px solid rgba(220, 205, 179, .75); box-shadow: 0 -12px 30px -22px rgba(43, 26, 18, .45); padding-bottom: env(safe-area-inset-bottom); }
.appbar-in { max-width: 560px; margin: 0 auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; padding: 7px 8px 8px; }
.nav-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0 0; border: 0; background: transparent;
  color: var(--ink-3); font-size: 11px; font-weight: 750; text-decoration: none; transition: color .2s; }
.ni-ic { position: relative; width: 28px; height: 28px; display: grid; place-items: center; transition: transform .2s var(--ease); }
.ni-ic .icon { width: 23px; height: 23px; }
.nav-item:active .ni-ic { transform: scale(.9); }
.ni-lbl { white-space: nowrap; }
.nav-item.active { color: var(--espresso-900); }
.nav-item.active::before { content: ''; position: absolute; top: -8px; width: 22px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold-500); }
.nav-item.sent { color: var(--pistachio-700); }
.nav-item.sent .ni-ic::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(111, 148, 71, .45); animation: halo 2s ease-out infinite; }
@keyframes halo { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.ni-ok { position: absolute; right: -6px; bottom: -3px; width: 15px; height: 15px; border-radius: 50%; background: var(--pistachio-500); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px #fbf8f2; }
.ni-ok .icon { width: 9px; height: 9px; stroke-width: 3.4; }
.ni-badge { position: absolute; top: -5px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--espresso-900); color: var(--gold-300);
  font-size: 10.5px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px #fbf8f2; }
.nav-cart { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--espresso-900); font-size: 11px; font-weight: 800; }
.nc-btn { position: relative; width: 58px; height: 58px; margin-top: -30px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-300);
  background: radial-gradient(circle at 30% 25%, #4e3224, #2b1a12 70%); box-shadow: 0 0 0 5px #fbf8f2, 0 0 0 6px rgba(220, 205, 179, .75), 0 14px 24px -10px rgba(28, 17, 12, .7);
  transition: transform .2s var(--ease); }
.nc-btn .icon { width: 25px; height: 25px; }
.nav-cart:active .nc-btn { transform: scale(.93); }
.nc-btn b { position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center;
  background: linear-gradient(180deg, #ecd8aa, #c9a564); color: var(--espresso-900); font-size: 12px; font-weight: 800; box-shadow: 0 0 0 2px #fbf8f2; animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }
.nav-cart.full .nc-btn { background: radial-gradient(circle at 30% 25%, #e9d3a2, #b8914f 75%); color: var(--espresso-900); }

/* ---- garson / hesap baloncuğu ---- */
.pop-back { position: fixed; inset: 0; z-index: 70; background: rgba(28, 17, 12, .12); animation: fadeIn .18s ease both; }
@keyframes fadeIn { from { opacity: 0; } }
.callpop { position: fixed; z-index: 71; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid rgba(220, 205, 179, .8);
  box-shadow: 0 22px 44px -18px rgba(43, 26, 18, .45), 0 4px 12px rgba(43, 26, 18, .06);
  opacity: 0; transform: translateY(8px) scale(.96); transform-origin: var(--arrow) 100%; transition: opacity .18s ease, transform .22s var(--ease); }
.callpop.open { opacity: 1; transform: none; }
.callpop::after { content: ''; position: absolute; bottom: -7px; left: calc(var(--arrow) - 7px); width: 14px; height: 14px; background: #fff; transform: rotate(45deg);
  border-right: 1px solid rgba(220, 205, 179, .8); border-bottom: 1px solid rgba(220, 205, 179, .8); border-radius: 0 0 4px 0; }
.cp-row { display: flex; align-items: center; gap: 12px; }
.cp-ic { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; color: var(--espresso-800);
  background: linear-gradient(160deg, #fbf3e2, #f0e0bf); box-shadow: inset 0 0 0 1px rgba(192, 154, 87, .3); }
.cp-ic .icon { width: 21px; height: 21px; }
.cp-ic.ok { background: var(--pistachio-500); color: #fff; box-shadow: none; animation: pop .4s var(--ease); }
.cp-ic.ok .icon { stroke-width: 3; }
.cp-tx { min-width: 0; }
.cp-tx b { display: block; font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.cp-tx small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.cp-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.cp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border-radius: 14px; font-weight: 800; font-size: 14px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); transition: transform .15s, background .15s; }
.cp-btn:active { transform: scale(.97); }
.cp-btn .icon { width: 18px; height: 18px; color: var(--gold-600); }
.cp-btn.ghost { background: var(--cream-100); border-color: transparent; color: var(--ink-2); }
.cp-btn.primary { background: var(--espresso-900); border-color: var(--espresso-900); color: var(--cream-50); }

/* ---- ürün detayı ---- */
.pd .modal-body { padding: 0; }
.pd-img { aspect-ratio: 16 / 11; max-height: 42dvh; width: 100%; }
.pd-img::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .0) 30%, rgba(28, 17, 12, .25)); pointer-events: none; }
.pd-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 253, 248, .94); display: grid; place-items: center; box-shadow: var(--shadow); }
.pd-content { padding: 18px 20px 8px; }
.pd-kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--gold-600); }
.pd-content h2 { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--espresso-900); line-height: 1.05; margin-top: 4px; }
.pd-content .desc { color: var(--ink-2); margin-top: 8px; font-size: 14.5px; line-height: 1.55; white-space: pre-line; }
.pd-price { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.pd-price b { font-size: 24px; font-weight: 800; color: var(--espresso-900); font-variant-numeric: tabular-nums; }
.pd-price small { color: var(--ink-3); font-weight: 600; font-size: 13px; }
.opt-group { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.opt-group .gh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.opt-group .gh h4 { font-size: 15px; font-weight: 800; }
.opt-group .options { display: flex; flex-direction: column; gap: 8px; }
.opt-group .check .name { flex: 1; font-weight: 600; }
.opt-group .check .add { font-weight: 700; color: var(--ink-2); font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 12px 8px; border-radius: 16px;
  border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile .tn { font-weight: 800; font-size: 14px; color: var(--ink); }
.tile .tp { font-weight: 700; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tile.on { border-color: var(--espresso-900); background: #fffaf0; box-shadow: 0 0 0 3px rgba(214, 183, 122, .28); }
.tile.on .tp { color: var(--espresso-800); }
.tile.on::after { content: ''; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--pistachio-500); }
.tile:has(input:focus-visible) { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.tile.disabled { cursor: default; }
.opt-group.invalid .gh h4 { color: var(--danger); }
.opt-group.invalid .options, .opt-group.invalid .tiles { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); }
.stepper button { width: 42px; height: 42px; border: 0; background: transparent; display: grid; place-items: center; border-radius: 12px; color: var(--espresso-800); }
.stepper button:active { background: var(--cream-200); }
.stepper span { min-width: 30px; text-align: center; font-weight: 800; font-size: 16px; }
.stepper.sm button { width: 32px; height: 32px; }
.stepper.sm span { min-width: 22px; font-size: 14px; }
.pd .modal-foot { align-items: center; justify-content: space-between; flex-wrap: nowrap; }
.pd .modal-foot .btn-primary { flex: 1; justify-content: space-between; }
@media (max-width: 640px) { .pd .modal-foot .stepper { flex: none; } }

/* ---- sepet ---- */
.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line-strong); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .ph { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.cart-line .ci { flex: 1; min-width: 0; }
.cart-line h4 { font-size: 15px; font-weight: 750; }
.cart-line .opts { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.cart-line .lnote { font-size: 12.5px; color: var(--gold-600); margin-top: 3px; font-style: italic; }
.cart-line .cr { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.cart-line .unit { font-size: 12px; color: var(--ink-3); }
.price { font-weight: 800; color: var(--espresso-800); font-size: 16px; font-variant-numeric: tabular-nums; }
.summary { background: var(--cream-100); border-radius: 16px; padding: 14px 16px; margin-top: 16px; }
.summary .r { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: var(--ink-2); }
.summary .r.total { font-size: 18px; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line-strong); margin-top: 6px; padding-top: 10px; }

/* ---- sipariş takibi ---- */
.track { border: 1px solid var(--line); border-radius: 20px; padding: 16px; margin-bottom: 14px; background: var(--surface); }
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.track-head h4 { font-size: 16px; font-weight: 800; }
.steps { list-style: none; margin: 16px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 0; }
.steps li { display: flex; gap: 12px; align-items: flex-start; position: relative; padding-bottom: 14px; color: var(--ink-3); font-weight: 600; font-size: 14px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ''; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps .b { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); flex: none; display: grid; place-items: center; z-index: 1; }
.steps .b .icon { width: 13px; height: 13px; stroke-width: 3; }
.steps li.done { color: var(--ink); }
.steps li.done .b { background: var(--pistachio-500); border-color: var(--pistachio-500); color: #fff; }
.steps li.done::before { background: var(--pistachio-400); }
.steps li.current { color: var(--ink); font-weight: 800; }
.steps li.current .b { border-color: var(--gold-500); box-shadow: 0 0 0 5px rgba(192, 154, 87, .2); animation: glow 1.6s infinite; }
.steps li.current .b::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
@keyframes glow { 50% { box-shadow: 0 0 0 9px rgba(192, 154, 87, .08); } }
.track .items { font-size: 13.5px; color: var(--ink-2); border-top: 1px dashed var(--line-strong); margin-top: 12px; padding-top: 10px; }
.track .items div { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.rejected-box { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--danger-bg); color: var(--danger); font-weight: 650; font-size: 14px; display: flex; gap: 10px; }

.notice { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.notice .icon { color: var(--gold-600); width: 20px; height: 20px; margin-top: 1px; flex: none; }
.notice.warn { background: #fff4e0; border-color: #f0d9ad; }

/* ---- alt bilgi ---- */
footer.site { margin-top: 44px; background: var(--espresso-950); color: rgba(251, 246, 236, .78); text-align: center; padding: 40px 20px calc(40px + env(safe-area-inset-bottom)); position: relative; overflow: hidden; isolation: isolate; font-size: 14px; }
footer.site.has-dock { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
footer.site::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 0%, rgba(214, 183, 122, .18), transparent 70%); }
footer.site .logo { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto; box-shadow: 0 0 0 1px rgba(230, 207, 159, .45); }
footer.site .fname { font-family: var(--font-display); font-size: 30px; color: var(--gold-300); font-weight: 600; margin-top: 12px; line-height: 1.1; }
footer.site .ftag { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(230, 207, 159, .7); margin-top: 6px; font-weight: 700; }
footer.site .finfo { display: grid; gap: 10px; max-width: 380px; margin: 24px auto 0; text-align: left; }
footer.site .finfo > div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(255, 253, 248, .05); border: 1px solid rgba(230, 207, 159, .14); }
footer.site .finfo .icon { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 2px; }
footer.site .finfo b { display: block; color: var(--cream-50); font-size: 13px; font-weight: 800; }
footer.site .finfo a { color: var(--gold-300); font-weight: 700; text-decoration: none; }
footer.site .fbtns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
footer.site .fbtns a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 99px; font-weight: 800; font-size: 13.5px; text-decoration: none; border: 1px solid rgba(230, 207, 159, .3); color: var(--cream-50); }
footer.site .fbtns a.gold { background: linear-gradient(180deg, #e9d3a2, #c4a060); color: var(--espresso-900); border: 0; }
footer.site .fbtns .icon { width: 17px; height: 17px; }
footer.site .copy { margin-top: 24px; font-size: 12px; opacity: .5; }

.success-anim { width: 84px; height: 84px; margin: 6px auto 14px; border-radius: 50%; background: var(--pistachio-100); display: grid; place-items: center; color: var(--pistachio-500); animation: pop .5s var(--ease); }
.success-anim .icon { width: 42px; height: 42px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } }

@media (prefers-reduced-motion: reduce) { .card-p, .nc-btn b { animation: none; } .nav-item.sent .ni-ic::after { animation: none; } .callpop { transition: none; } .ph img { transition: none; } }

/* bildirimler üst çubuğu kapatmasın: alt dock'un üstünde göster */
.toasts { top: auto; right: auto; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom)); flex-direction: column-reverse; }
.nav-cart.full .nc-btn b { background: var(--espresso-900); color: var(--gold-300); }

/* ---- alt menü simgeleri: iki tonlu çizim + animasyonlar ---- */
.nsvg { width: 25px; height: 25px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nsvg * { transform-box: view-box; }
.nsvg .duo { fill: currentColor; stroke: none; opacity: .13; transition: opacity .25s, fill .25s; }
.nav-item.active .nsvg .duo { fill: var(--gold-500); opacity: .5; }
.nav-item.sent .nsvg .duo { opacity: .22; }
.nc-btn .nsvg { width: 27px; height: 27px; }
.nc-btn .nsvg .duo { opacity: .28; }

/* Menü: sayfa çevrilir */
.n-menu .page { transform-origin: 12px 12px; }
.n-menu.tap .page { animation: pageFlip .7s var(--ease); }
@keyframes pageFlip { 0% { transform: scaleX(1); } 45% { transform: scaleX(-1); opacity: .6; } 46% { opacity: 0; } 60% { transform: scaleX(1); opacity: 0; } 100% { opacity: 1; } }

/* Garson: zil sallanır, dalgalar yayılır */
.n-bell .body, .n-bell .clap { transform-origin: 12px 3.5px; }
.n-bell .wave { opacity: 0; }
.n-bell.tap .body { animation: bellRing .9s ease-in-out; }
.n-bell.tap .clap { animation: bellClap .9s ease-in-out; }
.n-bell.tap .wave { animation: bellWave .9s ease-out; }
.nav-item.sent .n-bell .body { animation: bellRing 1s ease-in-out 1.2s 3; }
.nav-item.sent .n-bell .clap { animation: bellClap 1s ease-in-out 1.2s 3; }
.nav-item.sent .n-bell .wave { animation: bellWave 1s ease-out 1.2s 3; }
@keyframes bellRing { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(16deg); } 30% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } }
@keyframes bellClap { 0%, 100% { transform: translateX(0); } 15% { transform: translateX(-1.6px); } 30% { transform: translateX(1.6px); } 45% { transform: translateX(-1px); } 60% { transform: translateX(.8px); } }
@keyframes bellWave { 0% { opacity: 0; transform: scale(.7); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15); } }
.n-bell .wave { transform-origin: 12px 10px; }

/* Sepet: çanta zıplar, sap sallanır */
.n-bag .handle { transform-origin: 12px 10.5px; }
.n-bag.tap { animation: bagHop .6s var(--ease); }
.n-bag.tap .handle { animation: handleSwing .7s ease-in-out; }
.nc-btn.bump { animation: cartPulse .6s var(--ease); }
@keyframes bagHop { 0%, 100% { transform: translateY(0) scale(1); } 30% { transform: translateY(-4px) scale(1.08, .94); } 55% { transform: translateY(0) scale(.96, 1.05); } 75% { transform: translateY(-1px) scale(1.02); } }
@keyframes handleSwing { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-5deg); } }
@keyframes cartPulse { 0% { box-shadow: 0 0 0 5px #fbf8f2, 0 0 0 6px rgba(220, 205, 179, .75), 0 0 0 6px rgba(201, 165, 100, .55); } 100% { box-shadow: 0 0 0 5px #fbf8f2, 0 0 0 6px rgba(220, 205, 179, .75), 0 0 0 22px rgba(201, 165, 100, 0); } }

/* Hesap: fiş satırları yazdırılır */
.n-receipt .ln { stroke-dasharray: 7; stroke-dashoffset: 0; }
.n-receipt.tap { animation: receiptOut .8s var(--ease); }
.n-receipt.tap .ln { animation: printLine .5s ease-out both; }
.n-receipt.tap .ln:nth-of-type(4) { animation-delay: .12s; }
.n-receipt.tap .ln:nth-of-type(5) { animation-delay: .24s; }
.nav-item.sent .n-receipt { animation: receiptOut 1s var(--ease) 1.2s 2; }
@keyframes printLine { from { stroke-dashoffset: 7; } to { stroke-dashoffset: 0; } }
@keyframes receiptOut { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-3px); } }

/* Siparişler: aktif sipariş varken yelkovan döner */
.n-clock .mh, .n-clock .hh { transform-origin: 12px 12px; }
.n-clock .pin { fill: currentColor; stroke: none; }
.nav-item.busy .n-clock .mh { animation: spin 3s linear infinite; }
.nav-item.busy .n-clock .hh { animation: spin 36s linear infinite; }
.nav-item.busy { color: var(--espresso-800); }
.n-clock.tap .mh { animation: spin .8s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { .nsvg, .nsvg *, .nc-btn.bump { animation: none !important; } }
/* bir pencere açıkken bildirimler pencerenin içeriğini kapatmasın */
body:has(.overlay.open) .toasts { top: calc(16px + env(safe-area-inset-top)); bottom: auto; }
