/* Adiso – ortak stiller (firma ekranı ve yönetim paneli) */
:root {
  color-scheme: light;
  --bg: #F4EFEA;
  --card: #FFFFFF;
  --card-2: #FFFCFA;
  --text: #221714;
  --text-2: #4A3F3A;
  --muted: #6E625C;
  --muted-2: #5E524C;
  --line: #E8DED7;
  --line-2: #F0E8E2;
  --line-3: #D9CCC3;
  --primary: #B3261E;
  --primary-dark: #8E1B16;
  --accent: #F2B134;
  --ok: #1A7F37;
  --warn: #9A5B00;
  --danger: #B3261E;
  --soft: #FBE6E3;
  --sand: #F4EFEA;
  --note-bg: #FFF4D6;
  --note-fg: #6B4E00;
  --radius: 14px;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-num: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.45 var(--font); background: var(--bg); color: var(--text); }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0 0 .6rem; }
h3 { font-size: 1.05rem; font-weight: 700; }
h4 { font-size: .92rem; margin-top: 1rem; }
button { font-family: inherit; -webkit-tap-highlight-color: transparent; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.error { color: var(--danger); margin: .5rem 0 0; }
code, .code { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }
.code { background: var(--soft); padding: .6rem .8rem; border-radius: 8px; word-break: break-all; margin: .5rem 0; }
.num-font { font-family: var(--font-num); }

input, select, textarea {
  font: inherit; color: inherit; background: var(--card);
  border: 1px solid var(--line-3); border-radius: 10px; padding: .55rem .7rem; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: -1px; }
label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; color: var(--muted-2); font-weight: 600; }
label > input, label > select, label > div, label > textarea { color: var(--text); font-weight: 400; }
label.check { flex-direction: row; align-items: center; gap: .5rem; }
label.check input { width: auto; }

.btn {
  font: inherit; font-weight: 600; border: 1px solid var(--line); background: var(--card); color: var(--text);
  padding: .55rem .95rem; border-radius: 10px; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--primary); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); }
.btn.outline { border: 1.5px solid var(--text); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--danger); }
.btn.small { padding: .3rem .6rem; font-size: .85rem; }
.btn.big { padding: .75rem 1.4rem; font-weight: 700; }
.btn:disabled { opacity: .5; cursor: default; }

.row { display: flex; align-items: center; }
.row.gap { gap: .6rem; }
.row.wrap { flex-wrap: wrap; }
.row.end { justify-content: flex-end; margin-top: .8rem; }
.row label { flex-direction: row; align-items: center; gap: .4rem; }
.row label input, .row label select { width: auto; }
.grow { flex: 1; }

/* Giriş */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { background: var(--card); padding: 2rem; border-radius: 20px; width: 100%; max-width: 380px;
  display: flex; flex-direction: column; gap: .9rem; box-shadow: 0 10px 34px rgba(34, 23, 20, .08); }
.login-card h1 { margin: 0; font-size: 1.4rem; }
.login-card input { height: 48px; font-size: 1.05rem; }
.login-card .btn { height: 50px; font-size: 1.05rem; }
.login-logo { line-height: 0; margin: 0 0 .6rem !important; text-align: center; }
.login-logo img { height: 56px; width: auto; }
.login-card > p.muted { text-align: center; }
.login-card p { margin: 0; }
.brand-logo { height: 30px; width: auto; display: block; flex-shrink: 0; }
.brand-sep { width: 1px; height: 26px; background: var(--line); margin: 0 .35rem; }
.logo-dark { display: none !important; }

/* Uygulama iskeleti: ekranı tam kaplar, sipariş ekranı kaydırılmaz */
#app:not([hidden]) { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
#app > main { flex: 1; min-height: 0; overflow: auto; }

/* Üst çubuk: koyu, markalı */
.topbar { flex-shrink: 0; z-index: 10; display: flex; align-items: center; gap: 16px; height: 68px; padding: 0 18px 0 16px;
  background: linear-gradient(180deg, #2A1C18 0%, #1D1310 100%); color: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 6px 18px rgba(34, 23, 20, .12); position: relative; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; padding-right: 6px; }
.brand strong { font-family: var(--font-num); font-size: 20px; font-weight: 800; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; color: #fff; }
.firm-initial { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center;
  font-family: var(--font-num); font-size: 21px; font-weight: 800; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); display: inline-block; flex-shrink: 0; }
.dot.on { background: #2FBF5B; box-shadow: 0 0 0 3px rgba(47, 191, 91, .18); }
.tabs { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0; }
.tab { font: inherit; font-size: 14.5px; font-weight: 600; background: none; border: none; height: 46px; padding: 0 14px; border-radius: 12px; cursor: pointer;
  color: rgba(255, 255, 255, .72); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; position: relative; transition: background .15s, color .15s; }
.tab:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.tab svg { opacity: .85; flex-shrink: 0; }
.tab.active { background: #fff; color: var(--text); font-weight: 800; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.tab.active svg { opacity: 1; color: var(--primary); }
.tab-yeni { color: #fff; background: rgba(179, 38, 30, .9); font-weight: 800; }
.tab-yeni:hover { background: var(--primary); }
.tab-yeni.active { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(179, 38, 30, .45); }
.tab-yeni.active svg { color: #fff; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.hdr-nabiz { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06); color: #fff; font: inherit; cursor: pointer; line-height: 1.1; }
.hdr-nabiz:hover { background: rgba(255, 255, 255, .1); }
.hn-etiket { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.hdr-nabiz b { font-family: var(--font-num); font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.hn-alt { font-size: 11.5px; color: rgba(255, 255, 255, .65); white-space: nowrap; }
.hn-alt .up { color: #7EE2A0; font-weight: 700; }
.hn-alt .down { color: #FFB4AA; font-weight: 700; }
.clock { text-align: right; line-height: 1.12; margin: 0 4px 0 6px; }
.clock b { display: block; font-family: var(--font-num); font-weight: 800; font-size: 21px; color: #fff; }
.clock span { font-size: 11.5px; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.icon-btn { width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .85); display: grid; place-items: center; cursor: pointer; padding: 0; flex-shrink: 0; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.icon-btn.active { background: #fff; color: var(--primary); border-color: #fff; }
.firm-logo { height: 42px; width: auto; max-width: 110px; object-fit: contain; border-radius: 11px; flex-shrink: 0; background: #fff; }

main { padding: 1rem; }
main > .panel:not(#tab-desk):not(#tab-products) { max-width: 1400px; margin: 0 auto; }
main.full { padding: 0; overflow: hidden; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid2 > .card { margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .8rem; }
.form-grid .span2 { grid-column: span 2; }

/* Arama kutusu */
.search-box { position: relative; }
.dropdown { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px rgba(34, 23, 20, .14); z-index: 20; max-height: 380px; overflow: auto; }
.dropdown button { display: block; width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: none;
  padding: .7rem .9rem; cursor: pointer; border-bottom: 1px solid var(--line-2); min-height: 52px; }
.dropdown button:hover, .dropdown button:active { background: var(--soft); }

.cust-note { background: var(--note-bg); color: var(--note-fg); padding: .5rem .75rem; border-radius: 10px; font-size: 14px; }
.badge { display: inline-block; padding: .1rem .55rem; border-radius: 99px; font-size: .78rem; background: var(--soft); color: var(--primary-dark); }
.badge.warn { background: #FFF1D6; color: var(--warn); }
.badge.ok { background: #E3F5E8; color: var(--ok); }
.badge.danger { background: #FDE3E1; color: var(--primary-dark); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: .5rem 0; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: .5rem; align-items: center; }
.list li:last-child { border-bottom: none; }
.empty { color: var(--muted); padding: 1rem 0; text-align: center; }

/* Tablolar */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .8rem; padding: .55rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: .55rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }
.table tr.cancel td { opacity: .5; text-decoration: line-through; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: var(--soft); }
.table input, .table select { padding: .35rem .5rem; }
.table + .table { margin-top: 1rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.stat b { display: block; font-size: 1.7rem; font-family: var(--font-num); font-weight: 800; }
.stat span { color: var(--muted); font-size: .85rem; }
.stat-inline { font-weight: 700; }

/* Gelen arama */
.popups { position: fixed; top: 72px; right: 16px; z-index: 50; display: flex; flex-direction: column; gap: .6rem; width: min(400px, calc(100vw - 32px)); }
.popup { background: var(--card); border: 2px solid var(--primary); border-radius: 18px; padding: 1rem 1.1rem; box-shadow: 0 14px 36px rgba(34, 23, 20, .22); animation: slide .25s ease-out; }
.popup.unknown { border-color: var(--accent); }
.popup .ph { font-size: .8rem; color: var(--primary); font-weight: 700; letter-spacing: .04em; }
.popup .nm { font-family: var(--font-num); font-size: 1.35rem; font-weight: 800; margin: .15rem 0; }
.popup .ad { font-size: .92rem; }
.popup .lo { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.popup .row { margin-top: .7rem; }
.popup .btn { min-height: 44px; padding: 0 1rem; }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

.toasts { position: fixed; top: 72px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: .4rem; align-items: center; }
.toast { background: var(--text); color: #fff; padding: .7rem 1.1rem; border-radius: 12px; font-size: .95rem; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.toast.success { background: var(--ok); }
.toast.error { background: var(--danger); }

dialog { border: none; border-radius: 20px; padding: 1.4rem; width: min(560px, calc(100vw - 32px)); background: var(--card); color: var(--text); }
dialog::backdrop { background: rgba(34, 23, 20, .45); }
dialog h3 { font-family: var(--font-num); font-size: 1.3rem; font-weight: 800; }
.addr-row { display: grid; grid-template-columns: 90px 1fr auto auto; gap: .4rem; align-items: center; margin-bottom: .4rem; }
.addr-row label { flex-direction: row; align-items: center; gap: .25rem; font-size: .8rem; }
.addr-row label input { width: auto; }

body:not(.is-admin) .admin-only { display: none !important; }

/* Lisans uyarı şeridi */
.license-bar { flex-shrink: 0; z-index: 11; padding: .5rem 1rem; text-align: center; font-weight: 600; font-size: .92rem;
  background: #FFF1D6; color: #7A4A00; border-bottom: 1px solid #F2C46B; }
.license-bar.danger { background: #FDE3E1; color: #8E1B16; border-bottom-color: #F0A8A2; }
.license-bar:not([hidden]) ~ .popups { top: 110px; }
.info-list { display: grid; grid-template-columns: 9rem 1fr; gap: .4rem .8rem; margin: 0 0 .8rem; font-size: .92rem; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; }
.kod { font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .03em; }

/* ════════════════════════════════════════════════════════════════════════
   Dokunmatik ekranlar (sipariş ve ürünler)
   ════════════════════════════════════════════════════════════════════════ */
.touch { user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.touch input, .touch textarea { user-select: text; -webkit-user-select: text; }
.touch button { cursor: pointer; }
.touch button:active:not(:disabled) { transform: scale(.97); }

/* Sipariş ekranı: [müşteri + sepet + ödeme] [kategori şeridi] [ürünler] */
#tab-desk { height: 100%; }
.desk { height: 100%; display: grid; grid-template-columns: 420px 128px minmax(0, 1fr); }
.desk-left { background: var(--card); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.desk-right { padding: 16px 20px 0; display: flex; flex-direction: column; gap: 12px; min-height: 0; min-width: 0; position: relative; }

/* Adımlar */
.step { padding: 11px 18px 12px; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.step-cart { flex: 1; min-height: 0; padding-bottom: 8px; }
.step-pay { border-bottom: none; background: var(--card-2); border-top: 1px solid var(--line); gap: 10px; }
.step-h { display: flex; align-items: center; gap: 8px; min-height: 26px; }
.step-h .num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800;
  border: 1.5px solid var(--line-3); color: var(--muted); flex-shrink: 0; transition: all .2s; }
.step-h b { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.step-h .aside { flex: 1; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step.active .num { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 4px var(--soft); }
.step.active .step-h b { color: var(--text); }
.step.done .num { background: var(--ok); border-color: var(--ok); color: #fff; font-size: 0; }
.step.done .num::after { content: ''; width: 9px; height: 5px; border: 2.2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }

/* Bekleyen siparişler */
.parked { display: flex; gap: 6px; padding: 10px 14px; overflow-x: auto; background: #FFF7E6; border-bottom: 1px solid #F2DC9B; flex-shrink: 0; scrollbar-width: none; }
.park-chip { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid #EBCB7A; background: #fff; color: var(--note-fg); font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.park-chip small { font-weight: 600; opacity: .75; }
.park-chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: nabiz 1.6s ease-in-out infinite; }
@keyframes nabiz { 50% { opacity: .3; } }

/* Müşteri */
.cust-area { display: flex; flex-direction: column; gap: 7px; }
.cust-line { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.cust-line.live { color: var(--primary); }
.cust-line.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: nabiz 1.2s ease-in-out infinite; }
.cust-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cust-title h1 { margin: 0; font-family: var(--font-num); font-size: 23px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.cust-title .row { gap: 6px; flex-shrink: 0; }
.mini-btn { height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--muted-2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.cust-addr { font-size: 14.5px; color: var(--text-2); line-height: 1.35; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 3px 10px; border-radius: 99px; background: var(--sand); font-size: 12.5px; color: var(--text-2); }
.chip.hot { background: var(--soft); color: var(--primary-dark); font-weight: 600; }
.chip.ok { background: #E3F5E8; color: var(--ok); font-weight: 600; }
.chip.vip { background: #FFF1D6; color: #8A5A00; font-weight: 700; }
.addr-chip { height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 600; color: var(--muted-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr-chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.cust-note { background: var(--note-bg); color: var(--note-fg); padding: 7px 11px; border-radius: 10px; font-size: 13.5px; }
.repeat-btn { display: flex; align-items: center; gap: 10px; height: 46px; border: 1.5px solid var(--text); border-radius: 12px; background: var(--card); color: var(--text); font-size: 14.5px; font-weight: 700; padding: 0 14px; text-align: left; min-width: 0; }
.repeat-btn span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; color: var(--muted-2); }
.find-row { display: flex; gap: 8px; position: relative; }
.find-row input { height: 50px; font-size: 16px; border-radius: 12px; padding-left: 14px; }
.find-row .btn { height: 50px; border-radius: 12px; font-weight: 700; flex-shrink: 0; }
.calls-mini { display: flex; flex-direction: column; gap: 6px; }
.call-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 50px; padding: 6px 8px 6px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-align: left; color: inherit; width: 100%; }
.call-item b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.call-item span { font-size: 12px; color: var(--muted); }
.call-item em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--primary-dark); background: var(--soft); padding: 7px 11px; border-radius: 9px; }
.call-item em.new { color: var(--note-fg); background: var(--note-bg); }
.walkin { font-size: 13px; color: var(--muted); margin: 0; }
.unknown-card { border: 2px dashed #EBCB7A; background: #FFFBF1; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.unknown-card .ph { font-family: var(--font-num); font-size: 24px; font-weight: 800; }
.unknown-card .row { gap: 8px; }
.unknown-card .btn { height: 46px; border-radius: 12px; font-weight: 700; }

/* Sepet */
.cart-list { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; margin: 0 -18px; padding: 0 18px; }
.cart-empty { height: 100%; min-height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: #8A7D76; font-size: 14.5px; }
.cart-empty svg { color: var(--line-3); }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 78px; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line-2); animation: gir .18s ease-out; }
@keyframes gir { from { opacity: 0; transform: translateY(-4px); } }
.cart-line .nm { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-line .un { font-size: 12.5px; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); font-size: 22px; font-weight: 600; line-height: 1; padding: 0; }
.stepper b { min-width: 30px; text-align: center; font-family: var(--font-num); font-size: 19px; font-weight: 800; }
.cart-line .tt { text-align: right; font-family: var(--font-num); font-size: 16px; font-weight: 700; white-space: nowrap; }
.tag-btn { height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); color: var(--muted-2); font-size: 12.5px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.note-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 0; flex-shrink: 0; }
.note-chip { height: 36px; padding: 0 12px; border-radius: 99px; border: 1px dashed var(--line-3); background: transparent; color: var(--muted-2); font-size: 13px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.note-chip[aria-pressed="true"] { border: 1px solid #EBCB7A; border-style: solid; background: var(--note-bg); color: var(--note-fg); }
.note-chip.pen { border-style: solid; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }

/* Ödeme ve kaydet */
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px; background: var(--sand); border-radius: 14px; }
.seg button { height: 46px; border-radius: 11px; font-size: 15.5px; font-weight: 700; border: none; background: transparent; color: var(--muted-2); transition: background .15s; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(34, 23, 20, .12), 0 0 0 1px var(--line); }
.foot-btns { display: grid; grid-template-columns: 64px 64px minmax(0, 1fr); gap: 8px; }
.btn-side { height: 64px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--muted-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 700; padding: 0; }
.btn-side:disabled { opacity: .4; }
.btn-save { height: 64px; border: none; border-radius: 14px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 18px; white-space: nowrap;
  font-size: 18px; font-weight: 800; box-shadow: 0 6px 16px rgba(179, 38, 30, .28); transition: background .2s, box-shadow .2s; }
.btn-save b { font-family: var(--font-num); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.btn-save:disabled { background: var(--line); color: var(--muted); box-shadow: none; justify-content: center; }
.btn-save:disabled b { display: none; }

/* Kategori şeridi */
.cat-rail { background: var(--card); border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: none; min-height: 0; }
.cat-tile { flex: 1 1 0; min-height: 64px; max-height: 96px; border-radius: 16px; border: none; background: transparent; color: var(--text-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 6px 4px; text-align: center; position: relative; transition: background .15s; }
.cat-tile .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--c-acik); color: var(--c); transition: all .15s; }
.cat-tile .tx { font-size: 12.5px; font-weight: 700; line-height: 1.15; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cat-tile .n { position: absolute; top: 6px; right: 8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.cat-tile[aria-selected="true"] { background: var(--c-acik); color: var(--text); }
.cat-tile[aria-selected="true"] .ic { background: var(--c); color: #fff; box-shadow: 0 4px 10px rgba(34, 23, 20, .18); }
.cat-tile[aria-selected="true"]::before { content: ''; position: absolute; left: -10px; top: 18%; bottom: 18%; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }

/* Ürünler */
.prod-head { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.prod-head h2 { flex: 1; margin: 0; font-family: var(--font-num); font-size: 22px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-head h2 small { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.psearch { flex-direction: row; align-items: center; gap: 8px; width: 260px; height: 44px; padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--muted); font-weight: 400; }
.psearch:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--soft); }
.psearch input { border: none; padding: 0; height: 100%; font-size: 15px; background: transparent; outline: none; }
.psearch kbd { font: 600 12px var(--font); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.pgrid-wrap { flex: 1; min-height: 0; overflow: auto; margin: 0 -20px; padding: 2px 20px 90px; overscroll-behavior: contain; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; align-content: start; }
.pcard { position: relative; padding: 0; border: none; border-radius: 18px; background: var(--card); text-align: left; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 0 0 1px #EDE4DD, 0 2px 6px rgba(34, 23, 20, .05); color: var(--text); transition: box-shadow .15s, transform .08s; }
.pcard.in { box-shadow: 0 0 0 3px var(--primary), 0 8px 18px rgba(179, 38, 30, .16); }
.pcard .ph { aspect-ratio: 1 / 1; flex-shrink: 0; display: grid; place-items: center; background: var(--c-acik); color: var(--c); overflow: hidden; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.pcard .ph .ini { display: grid; place-items: center; opacity: .5; }
.pcard .ph .ini svg { stroke-width: 1.6; }
.pcard .bd { padding: 9px 12px 11px; display: flex; flex-direction: column; gap: 2px; }
.pcard .bd b { font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .bd span { font-family: var(--font-num); font-size: 18px; font-weight: 800; }
.pcard .bd i { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--c); }
.pcard .qb { position: absolute; top: 9px; right: 9px; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 18px; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-family: var(--font-num); font-size: 18px; font-weight: 800; box-shadow: 0 3px 8px rgba(179, 38, 30, .35); }
.pminus { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; background: var(--card); color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary), 0 3px 8px rgba(179, 38, 30, .2); display: grid; place-items: center; font-size: 28px; font-weight: 700; line-height: 1; padding-bottom: 3px; }
.pminus:active { background: var(--primary); color: #fff; transform: scale(.94); }
.pcard.bump .qb { animation: bump .22s ease-out; }
.pcard.first { box-shadow: 0 0 0 2px var(--text); }
@keyframes bump { 0% { transform: scale(1); } 45% { transform: scale(1.28); } 100% { transform: scale(1); } }
.pgrid-empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--muted); font-size: 15.5px; }
.pgrid-empty .btn { margin-top: 12px; height: 48px; }

/* Alt bildirim */
.snack { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 20px;
  border-radius: 16px; background: var(--text); color: #fff; font-size: 15.5px; box-shadow: 0 10px 24px rgba(34, 23, 20, .28); max-width: calc(100% - 40px); z-index: 5; animation: yuksel .2s ease-out; }
@keyframes yuksel { from { opacity: 0; transform: translate(-50%, 8px); } }
.snack span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snack button { height: 44px; padding: 0 18px; border: none; border-radius: 12px; background: #3A2C28; color: #FFD9A0; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.snack.ok { background: var(--ok); padding: 15px 22px; font-weight: 700; font-size: 16.5px; box-shadow: 0 10px 24px rgba(26, 127, 55, .3); }
.snack.warn { background: #7A4A00; padding: 15px 22px; font-weight: 700; }

/* Durum çubuğu */
.statusbar { flex-shrink: 0; height: 40px; display: flex; align-items: center; gap: 20px; padding: 0 8px 0 18px; background: var(--card); border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted-2); white-space: nowrap; overflow: hidden; }
.sb-item { display: flex; align-items: center; gap: 7px; }
.sb-item.warn { color: var(--warn); font-weight: 700; }
.sb-item.bad { color: var(--primary); font-weight: 700; }
.sb-grow { flex: 1; }
.sb-btn { border: none; background: none; color: inherit; font: inherit; padding: 0 6px; height: 30px; cursor: pointer; border-radius: 8px; }
.sb-btn:hover { background: var(--sand); }
.sb-brand { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px; margin-left: 4px; border-radius: 10px; background: var(--sand); color: var(--muted-2); }
.sb-brand img { height: 22px; width: auto; }
.sb-slogan { font-size: 12.5px; font-weight: 600; color: var(--muted); }
#sb-support:not(:empty) { font-weight: 700; color: var(--text-2); padding-left: 10px; border-left: 1px solid var(--line-3); }
#sb-keys { color: #A69A93; font-size: 12.5px; }

/* Sipariş ayrıntısı penceresi (adres ve not) */
.big-field textarea, .big-field input { font-size: 17px; min-height: 50px; border-radius: 12px; }
.big-field textarea { min-height: 84px; resize: vertical; }
.dlg-actions { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; margin-top: 1rem; }
.dlg-actions button { height: 56px; border-radius: 14px; font-size: 16px; font-weight: 700; }

/* ── Ürünler ekranı ── */
#tab-products { height: 100%; }
.prod-layout { height: 100%; display: grid; grid-template-columns: 300px minmax(0, 1fr) 380px; }
.cat-side { background: var(--card); border-right: 1px solid var(--line); padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.side-head h2, .prod-main h2, .edit-side h2 { margin: 0; font-family: var(--font-num); font-size: 20px; font-weight: 800; }
.side-head .btn, .prod-main .head .btn { height: 44px; border-radius: 12px; font-weight: 700; }
.cat-list { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 10px; margin: 0 -4px; padding: 2px 4px; }
.cat-row { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 0 8px 0 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); text-align: left; width: 100%; }
.cat-row .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--c-acik); color: var(--c); }
.cat-row .tx { flex: 1; min-width: 0; }
.cat-row .tx b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15.5px; line-height: 1.2; overflow: hidden; }
.cat-row .tx span { font-size: 13px; color: var(--muted); }
.cat-row.sel { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 6px 16px rgba(34, 23, 20, .16); }
.cat-row.sel .ic { background: rgba(255, 255, 255, .2); color: #fff; }
.cat-row.sel .tx span { color: rgba(255, 255, 255, .85); }
.cat-row.off:not(.sel) { border-style: dashed; background: #FBF8F5; }
.cat-row.off:not(.sel) .tx b { color: var(--muted); }
.cat-tools { display: flex; gap: 4px; }
.cat-tools { gap: 0; flex-shrink: 0; }
.cat-tools button { width: 32px; height: 44px; border: none; border-radius: 10px; display: grid; place-items: center; color: inherit; background: transparent; opacity: .8; padding: 0; }
.cat-tools button:active { background: rgba(0, 0, 0, .1); }
.cat-tools button:disabled { opacity: .25; }
.cat-row { cursor: pointer; }
.side-note { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }

.prod-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: 0; }
.prod-main .head { display: flex; align-items: center; gap: 12px; }
.prod-main .head h2 { flex: 1; }
.prod-main .head h2 small { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--muted); }
.prod-main .hint { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.ecard-grid { flex: 1; min-height: 0; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; align-content: start; margin: -4px; padding: 4px; }
.ecard { border-radius: 18px; background: var(--card); overflow: hidden; box-shadow: 0 0 0 1px #EDE4DD; padding: 0; border: none; text-align: left; color: var(--text); display: flex; flex-direction: column; }
.ecard.sel { box-shadow: 0 0 0 3px var(--c); }
.ecard.off { opacity: .55; }
.ecard .ph { aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--c-acik); color: var(--c); position: relative; overflow: hidden; }
.ecard .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ecard .ph .ini { display: grid; place-items: center; opacity: .55; margin-top: -10px; }
.ecard .ph .ini svg, .photo-box .ini svg { stroke-width: 1.6; }
.ecard .ph small { position: absolute; bottom: 7px; font-size: 12px; opacity: .85; }
.ecard .ph .off-tag { position: absolute; top: 8px; left: 8px; background: var(--text); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.ecard .bd { padding: 9px 12px 11px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ecard .bd b { font-size: 15px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ecard .bd span { font-family: var(--font-num); font-weight: 800; white-space: nowrap; }

.edit-side { background: var(--card); border-left: 1px solid var(--line); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow: auto; }
.edit-empty { margin: auto 0; text-align: center; color: var(--muted); font-size: 15px; padding: 20px; }
.photo-row { display: flex; gap: 14px; align-items: flex-end; }
.photo-box { width: 156px; height: 156px; flex-shrink: 0; border-radius: 18px; background: var(--c-acik); color: var(--c); display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.photo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-box .ini { display: grid; place-items: center; opacity: .55; }
.photo-acts { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.photo-acts .b1 { height: 46px; border: 1.5px solid var(--text); border-radius: 12px; background: var(--card); color: var(--text); font-size: 15px; font-weight: 700; }
.photo-acts .b2 { height: 40px; border: none; border-radius: 12px; background: transparent; color: var(--primary-dark); font-size: 14px; font-weight: 600; }
.photo-acts small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.edit-side label input { height: 50px; padding: 0 14px; border-radius: 12px; font-size: 17px; }
.edit-side input[name=price] { font-family: var(--font-num); font-weight: 700; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button { height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); font-size: 15px; font-weight: 600; }
.pick button[aria-checked="true"] { background: var(--c); border-color: var(--c); color: #fff; font-weight: 700; }
.fld-title { font-size: 14px; color: var(--muted-2); font-weight: 600; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.switch-row b { display: block; font-size: 15px; }
.switch-row small { font-size: 13px; color: var(--muted); }
.switch { width: 60px; height: 34px; border: none; border-radius: 17px; background: #CFC4BC; position: relative; padding: 0; flex-shrink: 0; transition: background .15s; }
.switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch[aria-checked="true"] { background: var(--ok); }
.switch[aria-checked="true"]::after { left: 30px; }
.edit-foot { margin-top: auto; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding-top: 6px; }
.edit-foot button { height: 58px; border-radius: 14px; font-size: 16px; font-weight: 700; }
.edit-foot .del { grid-column: 1 / -1; height: 44px; background: transparent; border: none; color: var(--primary-dark); font-size: 14px; font-weight: 600; }

/* Kategori penceresi */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button { width: 48px; height: 48px; border-radius: 14px; border: 3px solid transparent; background: var(--sw); padding: 0; box-shadow: inset 0 0 0 3px #fff; }
.swatches button[aria-checked="true"] { border-color: var(--text); }
.icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.icons button { height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--muted-2); display: grid; place-items: center; padding: 0; }
.icons button[aria-checked="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.cat-preview { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 14px; border-radius: 16px; background: var(--c); color: #fff; font-size: 18px; font-weight: 700; }
.cat-preview .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.dlg-grid { display: flex; flex-direction: column; gap: 14px; }

/* ── Sekme rozeti ── */
.tab { position: relative; }
.tab-badge { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px; border-radius: 10px; box-shadow: 0 0 0 2px #1D1310;
  background: var(--primary); color: #fff; font-size: 11.5px; font-weight: 800; vertical-align: 1px; animation: nabiz 1.6s ease-in-out infinite; }

/* ── Aktif siparişler panosu ── */
#tab-pano { height: 100%; display: flex; flex-direction: column; padding: 14px 16px 0; gap: 12px; }
.pano-head { display: flex; align-items: baseline; gap: 14px; }
.pano-head h2 { margin: 0; font-family: var(--font-num); font-size: 22px; font-weight: 800; }
.pano-ozet { color: var(--muted-2); font-size: 14px; }
.pano-ipucu { color: var(--muted); font-size: 13px; }
.pano { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .8fr); gap: 12px; }
.pano-sutun { display: flex; flex-direction: column; min-height: 0; background: rgba(255, 255, 255, .5); border-radius: 18px; border: 1px solid var(--line); }
.pano-sutun > header { display: flex; align-items: center; gap: 8px; padding: 12px 14px 10px; }
.pano-sutun > header::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--pc); }
.pano-sutun > header b { font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.pano-sutun > header span { margin-left: auto; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.pano-kartlar { flex: 1; min-height: 0; overflow: auto; padding: 0 10px 12px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.pano-bos { text-align: center; color: var(--muted); font-size: 13.5px; margin: 24px 0; }
.pkart { background: var(--card); border-radius: 16px; padding: 12px 14px; box-shadow: 0 0 0 1px var(--line), 0 2px 8px rgba(34, 23, 20, .05); border-left: 5px solid var(--pc);
  display: flex; flex-direction: column; gap: 6px; cursor: pointer; animation: gir .2s ease-out; }
.pkart.web { box-shadow: 0 0 0 2px #1D6FB8, 0 4px 14px rgba(29, 111, 184, .18); }
.pk-ust { display: flex; align-items: center; gap: 8px; }
.pk-no { font-family: var(--font-num); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.pk-kaynak { font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 7px; background: var(--sand); color: var(--muted-2); letter-spacing: .02em; }
.pk-kaynak.k-web { background: #E6F0FA; color: #1D6FB8; }
.pk-kaynak.k-gel_al { background: #E3F3E7; color: var(--ok); }
.pk-sure { font-family: var(--font-num); font-weight: 800; font-size: 15px; color: var(--muted-2); }
.pkart.gec .pk-sure { color: #9A5B00; }
.pkart.cok .pk-sure { color: #fff; background: var(--primary); padding: 2px 8px; border-radius: 8px; }
.pk-musteri { font-weight: 700; font-size: 15.5px; }
.pk-musteri small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.pk-adres { font-size: 13px; color: var(--text-2); line-height: 1.35; }
.pk-kalem { list-style: none; margin: 2px 0; padding: 8px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); display: flex; flex-direction: column; gap: 3px; font-size: 14.5px; }
.pk-kalem b { font-family: var(--font-num); display: inline-block; min-width: 28px; }
.pk-not { background: var(--note-bg); color: var(--note-fg); font-size: 13px; padding: 5px 9px; border-radius: 8px; font-weight: 600; }
.pk-alt { display: flex; align-items: baseline; gap: 8px; }
.pk-tutar { font-family: var(--font-num); font-size: 17px; font-weight: 800; }
.pk-odeme, .pk-asama { font-size: 12px; color: var(--muted); }
.pk-dugmeler { display: flex; gap: 6px; margin-top: 2px; }
.pk-ileri { flex: 1; height: 46px; border: none; border-radius: 12px; background: var(--text); color: #fff; font-size: 15px; font-weight: 800; }
.pano-sutun.yeni .pk-ileri { background: var(--primary); }
.pk-ikon { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--muted-2); display: grid; place-items: center; padding: 0; flex-shrink: 0; }
.pk-ikon.iptal:active { color: var(--primary); }
.pano-sutun.teslim .pkart { opacity: .8; padding: 10px 12px; }
.pano-sutun.teslim .pk-kalem, .pano-sutun.teslim .pk-adres, .pano-sutun.teslim .pk-not { display: none; }
.web-popup { border-color: #1D6FB8; }
.web-popup .ph { color: #1D6FB8; }

/* ── Fırsatlar ── */
#tab-firsat { display: flex; flex-direction: column; gap: 16px; }
.firsat-sonuc { background: var(--text); color: #fff; border-radius: 20px; padding: 18px 22px; }
.fs-baslik { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; font-weight: 700; margin-bottom: 10px; }
.fs-kutular { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fs-kutular div { display: flex; flex-direction: column; }
.fs-kutular b { font-family: var(--font-num); font-size: 34px; font-weight: 800; line-height: 1.05; }
.fs-kutular span { font-size: 13px; opacity: .75; }
.fs-kutular .vurgu b { color: #FFD27A; }
.fs-bos { margin: 0; font-size: 15px; opacity: .85; max-width: 760px; line-height: 1.5; }
.firsat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.firsat-kutu { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.fk-head { display: flex; align-items: flex-start; gap: 12px; }
.fk-head > div:first-child { flex: 1; }
.fk-head h3 { margin: 0 0 2px; font-family: var(--font-num); font-size: 19px; font-weight: 800; }
.fk-head p { margin: 0; font-size: 13.5px; color: var(--muted); }
.seg.mini { grid-template-columns: repeat(3, auto); padding: 3px; }
.seg.mini button { height: 34px; padding: 0 12px; font-size: 13px; }
.sablon textarea { font-size: 14.5px; line-height: 1.45; border-radius: 12px; resize: vertical; }
.fk-list { display: flex; flex-direction: column; max-height: 52vh; overflow: auto; margin: 0 -6px; padding: 0 6px; }
.fk-satir { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.fk-satir:last-child { border-bottom: none; }
.fk-bilgi { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fk-bilgi b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fk-bilgi span { font-size: 12.5px; color: var(--muted); }
.fk-bilgi em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); }
.fk-satir.gitti { opacity: .6; }
.fk-dugme { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.fk-ara, .fk-ac { height: 42px; min-width: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); color: var(--muted-2); display: grid; place-items: center; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.fk-wa { height: 42px; padding: 0 14px; border: none; border-radius: 11px; background: #1FA855; color: #fff; font-weight: 800; font-size: 13.5px; }
.fk-bos { color: var(--muted); font-size: 14px; text-align: center; margin: 18px 0; }
.fk-next { height: 56px; }

/* ── İşletme ayarları: online sipariş ve yazıcı ── */
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: .3rem; }
.card-head h3 { margin: 0; }
.prefix-input { display: flex; align-items: stretch; border: 1px solid var(--line-3); border-radius: 10px; overflow: hidden; background: var(--card); }
.prefix-input span { display: flex; align-items: center; padding: 0 4px 0 10px; background: var(--sand); color: var(--muted); font-size: 13px; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.prefix-input input { border: none; border-radius: 0; font-weight: 700; }
.web-link { display: flex; gap: 14px; align-items: center; background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.wl-sol { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.wl-sol a { font-weight: 700; color: var(--primary-dark); word-break: break-all; }
.wl-sol .row { flex-wrap: wrap; }
.wl-durum { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 8px; background: var(--line); color: var(--muted-2); }
.wl-durum.on { background: #E3F5E8; color: var(--ok); }
.wl-qr { flex-shrink: 0; line-height: 0; padding: 6px; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.wl-qr img, .wl-qr canvas, .wl-qr svg { width: 120px; height: 120px; display: block; }
.radio-list { display: flex; flex-direction: column; gap: 4px; margin: .6rem 0; }
.radio { flex-direction: row; align-items: center; gap: .6rem; font-size: 15px; color: var(--text); font-weight: 500; min-height: 40px; }
.radio input { width: 20px; height: 20px; accent-color: var(--primary); }
.check { font-size: 14.5px; color: var(--text); font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }

/* ── Kaynak rozeti ve açılır menü (ortak) ── */
.kaynak-rozet { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 8px; border-radius: 8px; background: var(--ka); color: var(--kr);
  font-size: 12.5px; font-weight: 800; white-space: nowrap; letter-spacing: .01em; }
.kaynak-rozet.dolu { background: var(--kr); color: #fff; }
.acilir { position: fixed; z-index: 80; min-width: 210px; background: var(--card); border-radius: 14px; padding: 6px; box-shadow: 0 16px 40px rgba(34, 23, 20, .22), 0 0 0 1px var(--line);
  display: flex; flex-direction: column; animation: gir .12s ease-out; }
.acilir button { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px; border: none; background: none; border-radius: 10px; font: 600 15px var(--font); color: var(--text); text-align: left; cursor: pointer; }
.acilir button:hover { background: var(--sand); }
.touch .acilir button:active, .acilir button:active { transform: none; background: var(--line); }
.acilir button.on { background: var(--sand); font-weight: 800; }
.acilir button i { width: 11px; height: 11px; border-radius: 50%; background: var(--mr); flex-shrink: 0; }
.acilir button b { margin-left: auto; color: var(--ok); }

/* ── Tüm Siparişlerim ── */
#tab-orders { display: flex; flex-direction: column; gap: 14px; }
.ol-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ol-head h2 { margin: 0; font-family: var(--font-num); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.seg.ol-tarih { display: inline-grid; grid-template-columns: repeat(5, auto); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.seg.ol-tarih button { height: 40px; padding: 0 14px; font-size: 14px; }
.seg.ol-tarih button[aria-pressed="true"] { background: var(--text); color: #fff; box-shadow: none; }
.ol-ozel { display: flex; align-items: center; gap: 6px; }
.ol-ozel input { height: 42px; width: auto; }
.ol-ara { width: 300px; }
.ol-ozet { display: flex; align-items: stretch; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ol-ozet > div { flex: 1; padding: 14px 20px; display: flex; flex-direction: column; border-right: 1px solid var(--line-2); }
.ol-ozet > div:last-child { border-right: none; }
.ol-ozet b { font-family: var(--font-num); font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ol-ozet span { font-size: 13px; color: var(--muted); }
.ol-ozet .kirmizi b { color: var(--primary); }
.ol-ozet .ol-aralik { flex: 1.2; justify-content: center; align-items: flex-end; font-weight: 700; color: var(--muted-2); font-size: 14px; background: var(--card-2); }
.ol-filtre { display: flex; flex-direction: column; gap: 8px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-row:empty { display: none; }
.fchip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card);
  font: 700 13.5px var(--font); color: var(--text-2); cursor: pointer; }
.fchip i { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--sand); display: grid; place-items: center; font-size: 12px; }
.fchip .nokta { width: 9px; height: 9px; border-radius: 50%; background: var(--dr); }
.fchip[data-bos] { opacity: .45; }
.fchip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.fchip[aria-pressed="true"] i { background: rgba(255, 255, 255, .18); }
.dchip[aria-pressed="true"] { background: var(--dr); border-color: var(--dr); }
.dchip[aria-pressed="true"] .nokta { background: #fff; }
.kchip svg { color: var(--kr); }
.kchip[aria-pressed="true"] { background: var(--kr); border-color: var(--kr); }
.kchip[aria-pressed="true"] svg { color: #fff; }
.ol-liste { display: flex; flex-direction: column; gap: 8px; padding-bottom: 20px; }
.ol-satir { display: grid; grid-template-columns: 78px 150px minmax(0, 1.3fr) minmax(0, 1.4fr) 130px 170px 104px; align-items: center; gap: 14px;
  background: var(--card); border-radius: 16px; padding: 12px 14px 12px 18px; box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.ol-satir::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--dr); }
.ol-satir.iptal { opacity: .6; }
.ol-satir.iptal .ol-tutar b, .ol-satir.iptal .ol-kalem { text-decoration: line-through; }
.ol-no { display: flex; flex-direction: column; line-height: 1.15; }
.ol-no b { font-family: var(--font-num); font-size: 21px; font-weight: 800; }
.ol-no span { font-size: 13px; color: var(--muted-2); font-weight: 600; }
.ol-no small { font-size: 11.5px; color: var(--muted); }
.ol-musteri { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.ol-musteri b, .ol-musteri .link { font-size: 15.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.ol-musteri span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ol-musteri em { font-style: normal; font-size: 12px; color: var(--note-fg); background: var(--note-bg); border-radius: 6px; padding: 1px 7px; align-self: flex-start; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.link { border: none; background: none; padding: 0; font: inherit; color: var(--text); cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.ol-kalem { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.kalem-chip { font-size: 13px; padding: 3px 9px; border-radius: 8px; background: var(--sand); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.kalem-chip b { font-family: var(--font-num); }
.kalem-chip.daha { font-weight: 700; color: var(--muted-2); }
.ol-tutar { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ol-tutar b { font-family: var(--font-num); font-size: 19px; font-weight: 800; white-space: nowrap; }
.ol-odeme { border: none; background: none; font: 600 12.5px var(--font); color: var(--muted-2); padding: 3px 6px; border-radius: 7px; cursor: pointer; }
.ol-odeme:hover { background: var(--sand); }
.durum-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 12px; border: none; background: var(--dr); color: #fff;
  font: 800 14px var(--font); padding: 0 12px; cursor: pointer; box-shadow: 0 3px 10px color-mix(in srgb, var(--dr) 30%, transparent); white-space: nowrap; }
.durum-pill .nokta { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.durum-pill .ok { opacity: .8; font-size: 11px; }
.ol-aksiyon { display: flex; gap: 6px; justify-content: flex-end; }
.ol-bos { text-align: center; color: var(--muted); padding: 60px 0; font-size: 16px; background: var(--card); border-radius: 16px; border: 1px dashed var(--line-3); }

/* ── Raporlar ── */
#tab-reports { display: flex; flex-direction: column; gap: 16px; padding-bottom: 20px; }
.rp-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rp-head h2 { margin: 0; font-family: var(--font-num); font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.rp-head p { margin: 2px 0 0; font-size: 14px; }
.seg.ol-tarih#rp-aralik { grid-template-columns: repeat(6, auto); }
.rp-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.kpi:first-child { background: var(--text); color: #fff; border-color: var(--text); }
.kpi:first-child .ke, .kpi:first-child .ka { color: rgba(255, 255, 255, .65); }
.kpi:first-child .kd small { color: rgba(255, 255, 255, .55); }
.kpi:first-child .kd.iyi { color: #7EE2A0; } .kpi:first-child .kd.kotu { color: #FFB4AA; }
.ke { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.kpi b { font-family: var(--font-num); font-size: 36px; font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.kd { font-size: 13.5px; font-weight: 800; }
.kd small { font-weight: 500; color: var(--muted); }
.kd.iyi { color: var(--ok); } .kd.kotu { color: var(--primary); } .kd.notr { color: var(--muted); font-weight: 500; }
.ka { font-size: 12.5px; color: var(--muted); }
.rp-ogret { background: linear-gradient(135deg, #FFF7E6 0%, #FDEBDC 100%); border: 1px solid #F2DC9B; border-radius: 22px; padding: 16px 18px 18px; }
.og-baslik { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #7A4A00; margin-bottom: 12px; }
.og-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--font-num); font-size: 16px; text-transform: none; }
.og-kartlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.og-kart { display: flex; gap: 12px; background: rgba(255, 255, 255, .8); border-radius: 16px; padding: 14px; }
.og-ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; background: var(--text); color: #FFD27A; display: grid; place-items: center; font-size: 18px; font-weight: 800; }
.og-kart b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.og-kart p { margin: 0 0 8px; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.og-kart p:last-child { margin-bottom: 0; }
.rp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rp-kart { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; min-width: 0; }
.rp-kart.genis { grid-column: span 2; }
.rp-kart header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.rp-kart h3 { margin: 0; font-family: var(--font-num); font-size: 18px; font-weight: 800; flex: 1; }
.rp-kart.genis .rp-grafik { min-height: 300px; }
.rp-grafik svg { display: block; width: 100%; height: auto; overflow: visible; }
.rp-grafik .gc { stroke: var(--line-2); stroke-width: 1; }
.rp-grafik .gc.taban { stroke: var(--line-3); }
.rp-grafik .ge { font: 500 11.5px var(--font); fill: var(--muted); }
.rp-grafik .gd { font: 800 12.5px var(--font-num); fill: var(--text); }
.rp-grafik .gs.on .sut { filter: brightness(.82); }
.rp-grafik .gs { cursor: pointer; }
.rp-ipucu { position: fixed; z-index: 70; background: var(--text); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 10px; pointer-events: none; white-space: nowrap; box-shadow: 0 8px 20px rgba(34, 23, 20, .25); }
.cubuk-liste { display: flex; flex-direction: column; gap: 12px; }
.cu-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cu-ad { font-weight: 700; font-size: 14.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cu-ust b { font-family: var(--font-num); font-size: 15.5px; white-space: nowrap; }
.cu-iz { height: 8px; border-radius: 4px; background: var(--sand); margin: 6px 0 4px; overflow: hidden; }
.cu-iz span { display: block; height: 100%; border-radius: 4px; }
.cu-alt { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.rp-musteri { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rp-musteri li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.rp-musteri li:last-child { border-bottom: none; }
.rp-musteri .sira { width: 26px; height: 26px; border-radius: 8px; background: var(--sand); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.rp-musteri li:first-child .sira { background: #FFD27A; }
.rp-musteri .link { font-weight: 700; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-musteri .muted { font-size: 12.5px; }
.rp-musteri b { font-family: var(--font-num); }
.rp-bos { color: var(--muted); font-size: 14px; margin: 10px 0; }

.pm-ara { width: 170px; height: 44px; }
.prod-main .head h2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#sb-saat { display: none; font-family: var(--font-num); font-weight: 800; color: var(--text); }
#btn-toplu { height: 44px; border-radius: 12px; font-weight: 700; }
.toplu-onizleme { max-height: 34vh; overflow: auto; border: 1px solid var(--line); border-radius: 14px; padding: 6px 12px; background: var(--card-2); }
.toplu-onizleme table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.toplu-onizleme td { padding: 6px 4px; border-bottom: 1px solid var(--line-2); }
.toplu-onizleme tr:last-child td { border-bottom: none; }
.toplu-onizleme .eski { color: var(--muted); text-decoration: line-through; text-align: right; white-space: nowrap; }
.toplu-onizleme .yeni { font-family: var(--font-num); font-weight: 800; text-align: right; white-space: nowrap; }
.toplu-onizleme .yeni.up { color: var(--ok); } .toplu-onizleme .yeni.down { color: var(--primary); }

.patron-link { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.patron-link .wl-qr img, .patron-link .wl-qr canvas, .patron-link .wl-qr svg { width: 100px; height: 100px; }

/* Başlık sığdırma: saat alt çubuğa iner, sekmeler sıkılaşır */
@media (max-width: 1500px) {
  .topbar .clock { display: none; }
  #sb-saat { display: flex; }
  .tab { padding: 0 11px; gap: 7px; font-size: 14px; }
  .brand strong { max-width: 170px; }
}
@media (max-width: 1340px) {
  .tab:not(.tab-yeni):not(.active) span { display: none; }
}

/* Dar ekranlar (tablet dikey, telefon) */
@media (max-width: 1180px) {
  .desk { grid-template-columns: 370px 104px minmax(0, 1fr); }
  .pgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .psearch { width: 200px; }
  .prod-layout { grid-template-columns: 240px minmax(0, 1fr) 340px; }
  .clock, #sb-keys, .sb-slogan { display: none; }
  .ol-satir { grid-template-columns: 70px 130px minmax(0, 1fr) 120px 150px 50px; }
  .ol-kalem { display: none; }
  .rp-grid { grid-template-columns: 1fr 1fr; }
  .rp-kpi { grid-template-columns: 1fr 1fr; }
  .ol-aksiyon [data-act="tekrar"] { display: none; }
  .tab:not(.tab-yeni):not(.active) span { display: none; }
  .tab { padding: 0 12px; }
}
@media (max-width: 900px) {
  .grid2 { grid-template-columns: 1fr; }
  main { padding: .75rem; }
  .topbar { height: auto; flex-wrap: wrap; padding: 8px 12px; }
  .tabs { order: 3; flex-basis: 100%; margin-left: 0; }
  main.full { overflow: auto; }
  .desk, .prod-layout { height: auto; grid-template-columns: 1fr; }
  .desk-left { order: 3; }
  .cat-rail { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .cat-tile { flex: 0 0 96px; }
  .cat-tile[aria-selected="true"]::before { display: none; }
  .statusbar #sb-call, .statusbar #sb-license { display: none; }
  .pano { display: flex; overflow-x: auto; }
  .pano-sutun { flex: 0 0 82vw; }
  .firsat-grid, .fs-kutular { grid-template-columns: 1fr 1fr; }
  .firsat-grid { grid-template-columns: 1fr; }
  .cart-list { max-height: 50vh; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid-wrap { overflow: visible; padding-bottom: 20px; }
  .ecard-grid { overflow: visible; }
}
@media (max-width: 520px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: auto; }
  .addr-row { grid-template-columns: 1fr; }
  .brand strong { max-width: 140px; }
}

/* Lisans uzatma */
.renew-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 99px; border: none;
  background: var(--text); color: #fff; font: 700 13px var(--font); cursor: pointer; white-space: nowrap; box-shadow: 0 2px 6px rgba(34, 23, 20, .18); vertical-align: middle; }
.renew-btn:hover { background: #3A2C28; }
.renew-btn.wide { height: 50px; font-size: 16px; border-radius: 12px; width: 100%; background: var(--primary); box-shadow: 0 6px 16px rgba(179, 38, 30, .28); }
.license-bar { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.license-bar .renew-btn { height: 30px; }
#sb-license.warn { background: #FFF1D6; border-radius: 8px; padding: 0 10px; }
#sb-license.warn::after { content: 'Uzat →'; margin-left: 6px; text-decoration: underline; text-underline-offset: 2px; }
.renew-dialog { width: min(460px, calc(100vw - 32px)); padding: 26px; }
.renew-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.renew-head h3 { margin: 0; font-size: 1.45rem; }
.renew-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.renew-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--soft); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.renew-card { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 16px; background: var(--card-2); }
.renew-card .bilgi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.renew-card .k { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; letter-spacing: .05em; }
.renew-card .v { display: block; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.renew-card .gun { flex-shrink: 0; min-width: 96px; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-left: 16px; border-left: 1px solid var(--line); }
.renew-card .gun b { font-family: var(--font-num); font-size: 44px; font-weight: 800; line-height: 1; color: var(--warn); }
.renew-card .gun.bitti b { color: var(--primary); font-size: 24px; }
.renew-card .gun span { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.renew-note { font-size: 13.5px; color: var(--muted-2); margin: 14px 2px; line-height: 1.45; }
.renew-tel { text-align: center; padding: 12px; border-radius: 14px; background: var(--sand); margin-bottom: 12px; }
.renew-tel span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.renew-tel b { font-family: var(--font-num); font-size: 28px; font-weight: 800; letter-spacing: .01em; }
.renew-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.renew-actions a { height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 16px; text-decoration: none; }
.renew-call { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(179, 38, 30, .25); }
.renew-wa { background: #1FA855; color: #fff; box-shadow: 0 6px 16px rgba(31, 168, 85, .25); }
.renew-close { display: block; margin: 12px auto 0; border: none; background: none; color: var(--muted-2); font: 600 14px var(--font); height: 40px; padding: 0 16px; cursor: pointer; }

/* Koyu başlıkta beyaz logo ve açık renkli düğmeler (yönetim paneli) */
.topbar .logo-light { display: none !important; }
.topbar .logo-dark { display: block !important; }
.topbar .brand-sep { background: rgba(255, 255, 255, .2); }
.topbar .top-actions .btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.topbar .top-actions .btn:hover { background: rgba(255, 255, 255, .12); }
.topbar .top-actions .muted { color: rgba(255, 255, 255, .6); }

/* ── Sipariş türü: Paket / Gel-Al / Masa ─────────────────────────────────── */
.tur-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); flex-shrink: 0; background: var(--card-2); }
.tur-seg.iki { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tur-seg button { --tr: #3A2C28; --ta: #EFE9E4; display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 8px; border-radius: 13px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--muted-2); font: 800 16px var(--font); min-width: 0; transition: background .15s, border-color .15s, color .15s, transform .1s; }
.tur-seg button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tur-seg button:active { transform: scale(.97); }
.tur-seg [data-tur="gel_al"] { --tr: #1A7F37; --ta: #E3F3E7; }
.tur-seg [data-tur="masa"] { --tr: #7B3FA0; --ta: #F1E8F6; }
.tur-seg button[aria-pressed="true"] { background: var(--ta); border-color: var(--tr); color: var(--tr); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tr) 14%, transparent); }
.tur-seg #tur-masa.secili { background: var(--tr); color: #fff; }
.tur-seg #tur-masa.secili span { font-family: var(--font-num); font-size: 17px; }

/* Masa seçici */
.masa-dialog { width: min(880px, calc(100vw - 32px)); max-height: min(720px, calc(100vh - 40px)); padding: 0; display: flex; flex-direction: column; }
.masa-dialog:not([open]) { display: none; }
.md-ust { display: flex; align-items: center; gap: 12px; padding: 18px 20px 12px; border-bottom: 1px solid var(--line-2); }
.md-ust h3 { margin: 0; }
.md-kapat { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 26px; line-height: 1; color: var(--muted-2); }
.md-icerik { padding: 6px 20px 22px; overflow: auto; }
.md-bolum { margin: 16px 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.md-masalar { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-top: 12px; }
.md-bolum + .md-masalar { margin-top: 0; }
.md-masa { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 104px; padding: 10px 6px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--text); transition: transform .1s, border-color .15s; }
.md-masa:active { transform: scale(.96); }
.md-masa small { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.md-masa b { font: 800 34px/1.05 var(--font-num); letter-spacing: -.02em; }
.md-masa b.uzun { font-size: 18px; line-height: 1.2; text-align: center; word-break: break-word; }
.md-durum { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--ok); }
.md-masa.dolu { background: #FFF6E5; border-color: #EBCB7A; }
.md-masa.dolu .md-durum { color: var(--warn); }
.md-masa.secili { border-color: #7B3FA0; box-shadow: 0 0 0 3px #E4D3EF; }
.md-bos { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 40px 10px 30px; }
.md-bos-ic { width: 76px; height: 76px; border-radius: 50%; background: #F1E8F6; color: #7B3FA0; display: grid; place-items: center; margin-bottom: 6px; }
.md-bos .btn { margin-top: 10px; }

/* Panoda masa */
.pk-masa { display: flex; align-items: center; gap: 8px; color: #7B3FA0; }
.pk-masa b { font: 800 22px/1.1 var(--font-num); letter-spacing: -.01em; }

/* Ayarlar: masalar */
.masa-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; margin-top: 10px; }
.masa-form input { height: 42px; margin: 0; }
.mf-baslik { font-weight: 800; font-size: 13.5px; min-width: 76px; }
.mf-onek { width: 110px; }
.mf-no { width: 64px; text-align: center; }
.mf-ad { flex: 1 1 200px; min-width: 150px; }
.mf-bolum { flex: 1 1 200px; min-width: 150px; }
.masa-liste { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.ml-bolum { font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ml-bolum span { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--sand); color: var(--muted-2); text-align: center; margin-left: 4px; letter-spacing: 0; }
.ml-masalar { display: flex; flex-wrap: wrap; gap: 6px; }
.ml-masa { position: relative; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-weight: 700; font-size: 14px; }
.ml-masa:hover { border-color: #7B3FA0; color: #7B3FA0; }
.ml-masa i { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--card); }
.ml-bos { padding: 18px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-3); border-radius: 14px; }
.uyari-kutu { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--note-bg); color: var(--note-fg); font-weight: 600; font-size: 14px; }
@media (max-width: 1340px) { .tur-seg button { height: 48px; font-size: 15px; gap: 6px; } .tur-seg svg { width: 19px; height: 19px; } }
/* Sepet dolunca son aramalardan yalnızca en yenisi görünür; sepete yer kalır */
#step-cust.sepetli .call-item:nth-child(n+2) { display: none; }
@media (max-height: 820px) { .tur-seg { padding: 8px 14px; } .tur-seg button { height: 44px; } }

/* ══ İşletme ayarları ═══════════════════════════════════════════════════════ */
.ayarlar { --ay-isletme: #B3261E; --ay-isletme-a: #FBE8E5; --ay-web: #1D6FB8; --ay-web-a: #E6F0FA; --ay-masa: #7B3FA0; --ay-masa-a: #F1E8F6;
  --ay-yazici: #9A6412; --ay-yazici-a: #FBF0DA; --ay-patron: #1A7F37; --ay-patron-a: #E3F3E7; --ay-guvenlik: #4E5D6C; --ay-guvenlik-a: #EBEFF3; padding-bottom: 28px; }
.ayarlar .ay-isletme { --r: var(--ay-isletme); --a: var(--ay-isletme-a); }
.ayarlar .ay-web { --r: var(--ay-web); --a: var(--ay-web-a); }
.ayarlar .ay-masa { --r: var(--ay-masa); --a: var(--ay-masa-a); }
.ayarlar .ay-yazici { --r: var(--ay-yazici); --a: var(--ay-yazici-a); }
.ayarlar .ay-patron { --r: var(--ay-patron); --a: var(--ay-patron-a); }
.ayarlar .ay-guvenlik { --r: var(--ay-guvenlik); --a: var(--ay-guvenlik-a); }

/* Üst kart */
.ay-hero { position: relative; overflow: hidden; border-radius: 26px; padding: 26px 28px 22px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(179, 38, 30, .38) 0%, rgba(179, 38, 30, 0) 55%), linear-gradient(160deg, #2E1F1A 0%, #1D1310 100%);
  box-shadow: 0 14px 34px rgba(34, 23, 20, .22); }
.ay-hero::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .035); pointer-events: none; }
.ay-hero-ust { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.ay-kimlik { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 280px; }
.ay-logo { width: 78px; height: 78px; border-radius: 22px; background: #fff; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.ay-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.ay-logo span { font: 800 38px var(--font-num); color: var(--primary); }
.ay-etiket { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.ay-kimlik h1 { margin: 2px 0 6px; font: 800 34px/1.05 var(--font-num); letter-spacing: -.025em; }
.ay-alt { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.ay-alt b { color: #fff; font-family: var(--font-num); letter-spacing: .03em; }
.ay-alt i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.ay-lisans { display: grid; grid-template-columns: auto auto; grid-template-areas: "ust ust" "gun btn" "tarih btn"; align-items: center; gap: 2px 22px;
  padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(4px); }
.al-ust { grid-area: ust; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.al-nokta { width: 8px; height: 8px; border-radius: 50%; background: #5BD27F; box-shadow: 0 0 0 4px rgba(91, 210, 127, .18); }
.ay-lisans.uyari .al-nokta { background: var(--accent); box-shadow: 0 0 0 4px rgba(242, 177, 52, .2); }
.ay-lisans.kritik .al-nokta { background: #FF6B5E; box-shadow: 0 0 0 4px rgba(255, 107, 94, .22); animation: nabiz 1.4s ease-in-out infinite; }
.al-gun { grid-area: gun; display: flex; align-items: baseline; gap: 8px; }
.al-gun b { font: 800 36px/1.1 var(--font-num); letter-spacing: -.02em; }
.al-gun span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.ay-lisans.uyari .al-gun b { color: var(--accent); }
.ay-lisans.kritik .al-gun b { color: #FF8A7F; }
.al-tarih { grid-area: tarih; font-size: 13px; color: rgba(255, 255, 255, .6); }
.ay-lisans .renew-btn { grid-area: btn; height: 44px; padding: 0 18px; font-size: 14px; background: #fff; color: var(--text); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.ay-lisans .renew-btn:hover { background: #FBE8E5; }
.ay-lisans.uyari .renew-btn, .ay-lisans.kritik .renew-btn { background: var(--primary); color: #fff; }

.ay-ozet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; position: relative; z-index: 1; }
.ay-kutu { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05);
  color: #fff; text-align: left; font: inherit; cursor: pointer; transition: background .15s, transform .15s, border-color .15s; min-width: 0; }
.ay-kutu:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.ak-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--a); color: var(--r); flex-shrink: 0; }
.ak-yazi { display: flex; flex-direction: column; min-width: 0; }
.ak-yazi small { font-size: 12px; color: rgba(255, 255, 255, .6); font-weight: 600; }
.ak-yazi b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 7px; }
.ao-nokta { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .4); flex-shrink: 0; }
.ao-nokta.on { background: #5BD27F; box-shadow: 0 0 0 3px rgba(91, 210, 127, .2); }

/* Gövde: sol menü + bölümler */
.ay-govde { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 22px; margin-top: 22px; align-items: start; }
.ay-nav { position: sticky; top: 0; display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.ay-nav button { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 10px; border: none; border-radius: 13px; background: transparent; color: var(--muted-2);
  font: 700 15px var(--font); text-align: left; cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; }
.ay-nav button > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--a); color: var(--r); flex-shrink: 0; transition: background .15s, color .15s; }
.ay-nav button > span svg { width: 18px; height: 18px; }
.ay-nav button:hover { background: var(--sand); color: var(--text); }
.ay-nav button.on { background: var(--text); color: #fff; box-shadow: 0 6px 14px rgba(34, 23, 20, .18); }
.ay-nav button.on > span { background: var(--r); color: #fff; }

.ay-icerik { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ay-bolum { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 26px 24px; scroll-margin-top: 16px; }
.ay-bh { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.ay-bi { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--a); color: var(--r); flex-shrink: 0; }
.ay-bi svg { width: 24px; height: 24px; }
.ay-bt { flex: 1; min-width: 0; }
.ay-bt h2 { margin: 2px 0 3px; font: 800 21px/1.2 var(--font-num); letter-spacing: -.015em; display: flex; align-items: center; gap: 8px; }
.ay-bt p { margin: 0; font-size: 14px; color: var(--muted); }
.ay-bh .switch { margin-top: 6px; }
.ay-sayi:not(:empty) { font: 800 13px var(--font); min-width: 26px; height: 24px; padding: 0 8px; border-radius: 12px; background: var(--ay-masa-a); color: var(--ay-masa); display: inline-grid; place-items: center; }
.ay-rozet { font: 700 12px var(--font); padding: 3px 9px; border-radius: 8px; background: var(--sand); color: var(--muted-2); letter-spacing: 0; }
.ay-alt-baslik { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line-2); font-weight: 800; font-size: 15.5px; }
.ay-alt-baslik span { font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 8px; }
.ay-bolum .form-grid { margin-top: 12px; }
.ay-bolum .form-grid label { font-weight: 700; font-size: 13.5px; color: var(--text-2); }

.ay-bilgi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ay-bilgi > div { padding: 12px 14px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); min-width: 0; }
.ay-bilgi dt { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ay-bilgi dd { margin: 3px 0 0; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ay-bilgi dd.kod { font-family: var(--font-num); letter-spacing: .04em; }

#web-card .web-link { margin-bottom: 4px; }
#web-card .wl-qr svg { width: 132px; height: 132px; }

/* Fiş yazıcısı: seçim kartları */
.fis-secim { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fis-kart { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 12px 14px; border-radius: 18px; border: 1.5px solid var(--line);
  background: var(--card); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s; font-weight: 500; color: var(--text); }
.fis-kart:hover { border-color: var(--line-3); }
.fis-kart:active { transform: scale(.985); }
.fis-kart input { position: absolute; opacity: 0; pointer-events: none; }
.fis-kart b { font-size: 15.5px; margin-top: 10px; }
.fis-kart small { font-size: 13px; color: var(--muted); }
.fis-kart:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 4px var(--soft); }
.fis-kart:has(input:checked)::after { content: '✓'; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.fis-kart:has(input:focus-visible) { outline: 3px solid var(--ay-web); outline-offset: 2px; }
.fk-resim { align-self: stretch; height: 104px; border-radius: 12px; background: var(--sand); display: flex; align-items: center; justify-content: center; gap: 0; }
.fk-resim i { position: relative; width: 50px; height: 70px; background: #fff; border-radius: 3px 3px 0 0; box-shadow: 0 3px 8px rgba(34, 23, 20, .12);
  background-image: repeating-linear-gradient(180deg, transparent 0 22px, #E3D8D0 22px 24px, transparent 24px 30px); background-size: 34px 100%; background-repeat: no-repeat; background-position: center 0;
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 5px) no-repeat, conic-gradient(from 135deg at top, #000 90deg, #0000 0) bottom/10px 5px repeat-x;
  mask: linear-gradient(#000 0 0) top/100% calc(100% - 5px) no-repeat, conic-gradient(from 135deg at top, #000 90deg, #0000 0) bottom/10px 5px repeat-x; }
.fk-resim em { position: absolute; top: 6px; left: 0; right: 0; text-align: center; font: 800 6.5px var(--font); letter-spacing: .12em; color: var(--text); font-style: normal; }
.fk-resim.iki i:first-child { transform: rotate(-6deg) translateX(8px); z-index: 1; }
.fk-resim.iki i:last-child { transform: rotate(5deg) translateX(-8px) translateY(4px); }
.fk-resim.kapali i { opacity: .45; }
.fk-resim.kapali::after { content: ''; position: absolute; width: 74px; height: 3px; border-radius: 2px; background: var(--muted); transform: rotate(-35deg); }
.fk-resim.kapali { position: relative; }
.fis-kart:has(input:checked) .fk-resim { background: var(--soft); }

.switch-kutu { appearance: none; -webkit-appearance: none; width: 60px; height: 34px; border-radius: 17px; background: #CFC4BC; position: relative; margin: 0; flex-shrink: 0; cursor: pointer; transition: background .15s; }
.switch-kutu::after { content: ''; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch-kutu:checked { background: var(--ok); }
.switch-kutu:checked::after { left: 30px; }
#printer-card .switch-row { margin-top: 16px; padding: 14px 0; }
.ay-ipucu { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); }
.ay-ipucu span { font-size: 13px; color: var(--muted); }
.ay-ipucu .btn { flex-shrink: 0; }

/* Patron ekranı */
#ay-patron .patron-link { margin: 0; padding: 18px 20px; gap: 24px; background: linear-gradient(135deg, var(--ay-patron-a), #fff 70%); border-color: #CDEBD5; border-radius: 18px; }
#ay-patron .patron-link .wl-qr { padding: 8px; border-radius: 14px; }
#ay-patron .patron-link .wl-qr svg { width: 150px; height: 150px; }
.ay-adimlar { margin: 0; padding: 0; list-style: none; counter-reset: a; display: flex; flex-direction: column; gap: 9px; }
.ay-adimlar li { counter-increment: a; display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.ay-adimlar li::before { content: counter(a); width: 26px; height: 26px; border-radius: 50%; background: var(--ay-patron); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
#ay-patron .wl-sol a { margin-top: 4px; color: var(--ay-patron); }

/* Güvenlik */
.ay-oturum { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line-2); }
.ay-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--text); color: #fff; display: grid; place-items: center; font: 800 17px var(--font-num); flex-shrink: 0; }
.ay-oturum small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.ay-oturum b { font-size: 16.5px; }

@media (max-width: 1180px) {
  .ay-govde { grid-template-columns: 1fr; }
  .ay-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; z-index: 5; box-shadow: 0 6px 16px rgba(34, 23, 20, .08); }
  .ay-nav button { flex-shrink: 0; height: 44px; font-size: 14px; }
  .ay-bilgi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ay-hero { padding: 20px; border-radius: 20px; }
  .ay-kimlik h1 { font-size: 26px; }
  .ay-lisans { width: 100%; }
  .ay-ozet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fis-secim { grid-template-columns: 1fr; }
  .ay-bolum { padding: 18px; }
  .ay-ipucu, #ay-patron .patron-link { flex-direction: column; align-items: flex-start; }
}

/* ── Ayarlar: formlar ─────────────────────────────────────────────────────── */
.ay-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-top: 14px; }
.ay-form .span2 { grid-column: 1 / -1; }
.ay-alan { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: inherit; color: inherit; font-weight: inherit; }
.aa-etiket { font-size: 13px; font-weight: 800; color: var(--text-2); }
.aa-etiket em { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 4px; }
.aa-ipucu { font-size: 12.5px; color: var(--muted); }
.ayarlar .ay-alan input, .ayarlar .ay-alan select { height: 48px; width: 100%; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--card-2);
  font: 500 15.5px var(--font); color: var(--text); transition: border-color .15s, box-shadow .15s, background .15s; }
.ayarlar .ay-alan select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--card-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E625C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.ayarlar .ay-alan input:hover, .ayarlar .ay-alan select:hover { border-color: var(--line-3); }
.ayarlar .ay-alan input:focus, .ayarlar .ay-alan select:focus { outline: none; border-color: var(--primary); background-color: #fff; box-shadow: 0 0 0 4px var(--soft); }
.ayarlar .ay-alan input::placeholder { color: #B3A79F; }
.ayarlar .ay-alan select:disabled { opacity: .55; cursor: default; }
.ek-input { position: relative; }
.ek-input > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font: 800 16px var(--font-num); font-style: normal; display: grid; place-items: center; pointer-events: none; }
.ayarlar .ek-input input { padding-left: 42px; }
.ek-input:focus-within > i { color: var(--primary); }
.ayarlar .prefix-input { height: 48px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--card-2); transition: border-color .15s, box-shadow .15s; }
.ayarlar .prefix-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--soft); background: #fff; }
.ayarlar .prefix-input span { background: transparent; border-right: 1px solid var(--line); padding: 0 12px 0 14px; font-size: 13.5px; }
.ayarlar .prefix-input input { height: 100%; border: none; background: transparent; box-shadow: none; font-weight: 800; }
.ayarlar .prefix-input input:focus { box-shadow: none; background: transparent; }
.ay-form-alt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line-2); margin-top: 2px; }
.ay-form-alt .btn { height: 46px; padding: 0 22px; border-radius: 13px; font-weight: 800; font-size: 15px; }
.ayarlar .ay-alt-baslik { font-size: 16px; }

/* ── Online sipariş: form + telefon önizlemesi ───────────────────────────── */
.web-duzen { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 28px; align-items: start; }
.web-sol { min-width: 0; }
.web-sol .ay-form { margin-top: 0; }
.web-sol .web-link { margin-bottom: 18px; padding: 14px 16px; border-radius: 16px; border: 1px solid #CFE0F2; background: linear-gradient(135deg, var(--ay-web-a), #fff 75%); }
.web-sol .web-link .wl-qr svg { width: 104px; height: 104px; }
.web-sol .web-link a { color: var(--ay-web); font-size: 15.5px; }
.web-sol .web-link .btn.small { height: 34px; padding: 0 12px; border-radius: 10px; font-weight: 700; background: #fff; }
.web-onizleme { display: flex; flex-direction: column; align-items: center; gap: 10px; position: sticky; top: 90px; }
.wo-telefon { width: 262px; padding: 9px; border-radius: 40px; background: linear-gradient(160deg, #3A2C28, #1D1310); box-shadow: 0 18px 40px rgba(34, 23, 20, .28), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wo-cerceve { position: relative; height: 500px; border-radius: 32px; background: #F7F2EE; overflow: hidden; display: flex; flex-direction: column; }
.wo-adres { margin: 12px 14px 6px; padding: 5px 10px; border-radius: 10px; background: #fff; font-size: 10px; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 0 0 1px var(--line); }
.wo-ekran { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 4px 12px 12px; gap: 9px; font-size: 12px; }
.wo-bar { display: flex; align-items: center; gap: 9px; }
.wo-logo { width: 36px; height: 36px; border-radius: 11px; background: #fff; display: grid; place-items: center; overflow: hidden; font: 800 17px var(--font-num); color: var(--primary); box-shadow: 0 0 0 1px var(--line); flex-shrink: 0; }
.wo-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.wo-bar b { display: block; font: 800 14.5px/1.15 var(--font-num); }
.wo-bar small { font-size: 10.5px; font-weight: 700; color: var(--muted); }
.wo-bar small.on { color: var(--ok); }
.wo-duyuru { padding: 8px 10px; border-radius: 11px; background: var(--primary); color: #fff; font-weight: 700; font-size: 11.5px; line-height: 1.3; }
.wo-katlar { display: flex; gap: 5px; overflow: hidden; }
.wo-katlar span { flex-shrink: 0; padding: 5px 9px; border-radius: 99px; background: #fff; font-size: 10.5px; font-weight: 700; color: var(--muted-2); box-shadow: 0 0 0 1px var(--line); }
.wo-katlar span.on { background: var(--text); color: #fff; box-shadow: none; }
.wo-urunler { display: flex; flex-direction: column; gap: 7px; flex: 1; min-height: 0; overflow: hidden; }
.wo-urun { display: flex; align-items: center; gap: 9px; padding: 7px; border-radius: 13px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.wo-gorsel { width: 46px; height: 46px; border-radius: 10px; background: var(--soft); overflow: hidden; flex-shrink: 0; }
.wo-gorsel img { width: 100%; height: 100%; object-fit: cover; }
.wo-ad { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wo-ad b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wo-ad small { font: 800 12px var(--font-num); color: var(--primary); }
.wo-urun i { width: 26px; height: 26px; border-radius: 8px; background: var(--primary); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 16px; }
.wo-alt { display: flex; flex-direction: column; gap: 5px; }
.wo-alt small { text-align: center; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.wo-sepet { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 14px; border-radius: 13px; background: var(--text); color: #fff; font-weight: 700; font-size: 12px; }
.wo-sepet b { font: 800 14px var(--font-num); }
.wo-kapali { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center;
  background: rgba(247, 242, 238, .78); backdrop-filter: blur(3px) grayscale(.7); -webkit-backdrop-filter: blur(3px) grayscale(.7); }
.wo-kapali b { padding: 6px 14px; border-radius: 99px; background: var(--text); color: #fff; font-size: 13px; }
.wo-kapali span { font-size: 12px; color: var(--muted-2); max-width: 190px; }
.wo-etiket { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ── Masalar: ekleme kutusu ve masa kutucukları ─────────────────────────── */
.masa-ekle { padding: 16px 18px 16px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--line); }
.me-sekme { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--sand); }
.me-sekme button { height: 36px; padding: 0 16px; border: none; border-radius: 9px; background: transparent; font: 700 14px var(--font); color: var(--muted-2); cursor: pointer; }
.me-sekme button[aria-selected="true"] { background: #fff; color: var(--ay-masa); box-shadow: 0 1px 3px rgba(34, 23, 20, .12); }
.ayarlar .masa-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 14px; padding: 0; background: none; border: none; border-radius: 0; }
.ayarlar .masa-form[hidden] { display: none; }
.ayarlar .masa-form .mf-onek { width: 140px; flex: none; }
.ayarlar .masa-form .mf-no { width: 92px; flex: none; }
.ayarlar .masa-form .mf-no input { text-align: center; font: 800 17px var(--font-num); }
.ayarlar .masa-form .mf-bolum { flex: 1 1 200px; min-width: 170px; }
.ayarlar .masa-form .mf-ad { flex: 1 1 220px; min-width: 180px; }
.mf-ok { height: 48px; display: grid; place-items: center; color: var(--muted); font-weight: 800; }
.mf-btn { height: 48px; padding: 0 22px; border-radius: 13px; font-weight: 800; background: var(--ay-masa) !important; border-color: var(--ay-masa) !important; white-space: nowrap; }
.mf-btn:hover { filter: brightness(1.08); }
.ayarlar .masa-form input:focus { border-color: var(--ay-masa); box-shadow: 0 0 0 4px var(--ay-masa-a); }
.me-onizleme { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-3); }
.me-cipler { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.me-cipler span { padding: 4px 10px; border-radius: 8px; background: var(--ay-masa-a); color: var(--ay-masa); font-size: 12.5px; font-weight: 700; }
.me-cipler span.var { background: var(--sand); color: var(--muted); text-decoration: line-through; }
.me-cipler em { font-style: normal; color: var(--muted); font-weight: 800; }
.me-sonuc { font-size: 13px; color: var(--muted-2); }
.me-sonuc b { color: var(--ay-masa); font-size: 15px; }
.me-hata { font-size: 13px; font-weight: 700; color: var(--danger); }
.ayarlar .masa-liste { margin-top: 20px; gap: 18px; }
.ayarlar .ml-bolum { margin-bottom: 10px; }
.ayarlar .ml-masalar { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.ayarlar .ml-masa { position: relative; height: 76px; padding: 6px 4px; border-radius: 15px; border: 1.5px solid var(--line); background: var(--card); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0; cursor: pointer; transition: border-color .15s, transform .1s, box-shadow .15s; }
.ayarlar .ml-masa small { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ayarlar .ml-masa b { font: 800 24px/1.1 var(--font-num); color: var(--text); }
.ayarlar .ml-masa b.uzun { font-size: 13.5px; line-height: 1.2; text-align: center; word-break: break-word; }
.ayarlar .ml-masa:hover { border-color: var(--ay-masa); box-shadow: 0 0 0 3px var(--ay-masa-a); color: inherit; }
.ayarlar .ml-masa:active { transform: scale(.96); }
.ayarlar .ml-masa i { top: 7px; right: 7px; left: auto; width: 9px; height: 9px; border: none; }
.ayarlar .ml-masa.dolu { background: #FFF8EA; border-color: #F0D9A4; }
.ml-kalem { position: absolute; bottom: 6px; right: 7px; color: var(--ay-masa); opacity: 0; transition: opacity .15s; }
.ayarlar .ml-masa:hover .ml-kalem { opacity: 1; }
.ayarlar .ml-bos { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px; }
.ayarlar .ml-bos > span { width: 58px; height: 58px; border-radius: 50%; background: var(--ay-masa-a); color: var(--ay-masa); display: grid; place-items: center; margin-bottom: 6px; }
.ayarlar .ml-bos > b:first-of-type { color: var(--text); font-size: 15px; }

@media (max-width: 1280px) { .web-duzen { grid-template-columns: minmax(0, 1fr) 240px; } .wo-telefon { width: 240px; } .wo-cerceve { height: 470px; } }
@media (max-width: 1050px) { .web-duzen { grid-template-columns: 1fr; } .web-onizleme { position: static; } }
@media (max-width: 700px) { .ay-form { grid-template-columns: 1fr; } .ayarlar .masa-form .mf-onek, .ayarlar .masa-form .mf-bolum { width: 100%; flex: 1 1 100%; } }
.web-sol .web-link a.btn { color: var(--text); text-decoration: none; font-size: .85rem; display: inline-flex; align-items: center; }

/* ── Ödeme penceresi ─────────────────────────────────────────────────────── */
.odeme-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; }
.odeme-dialog[open] { display: flex; flex-direction: column; }
.od-ust { display: flex; align-items: center; gap: 16px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line-2); }
.od-baslik { flex: 1; min-width: 0; }
.od-baslik h3 { margin: 0; }
.od-baslik span { font-size: 13.5px; color: var(--muted); }
.od-toplam { text-align: right; }
.od-toplam small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.od-toplam b { font: 800 30px/1.05 var(--font-num); letter-spacing: -.02em; }
.od-govde { padding: 6px 20px 16px; overflow: auto; }
.od-bb { margin: 14px 0 9px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.od-bb span { margin-left: 6px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.od-tekler { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.od-tek { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 88px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card);
  color: var(--text); font: 700 14px var(--font); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.od-tek span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--muted-2); }
.od-tek:hover { border-color: var(--line-3); }
.od-tek:active { transform: scale(.96); }
.od-tek.on { border-color: var(--ok); background: #F1FAF3; box-shadow: 0 0 0 3px #D6F0DD; }
.od-tek.on span { background: var(--ok); color: #fff; }
.od-bol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.od-bol > span { font-size: 13.5px; font-weight: 700; color: var(--muted-2); margin-right: 4px; }
.od-bol button { height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font: 700 14px var(--font); color: var(--text); cursor: pointer; }
.od-bol button:hover { border-color: var(--text); }
.od-satirlar { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.od-satirlar:empty { display: none; }
.od-satir { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); }
.od-no { width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; flex-shrink: 0; }
.od-tipler { display: flex; gap: 3px; padding: 3px; border-radius: 11px; background: var(--sand); flex-shrink: 0; }
.od-tipler button { display: flex; align-items: center; gap: 5px; height: 36px; padding: 0 9px; border: none; border-radius: 8px; background: transparent; color: var(--muted-2); font: 700 12.5px var(--font); cursor: pointer; }
.od-tipler button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(34, 23, 20, .14); }
.od-tipler button:not([aria-pressed="true"]) span { display: none; }
.od-tutar { flex: 1; min-width: 110px; }
.odeme-dialog .ek-input input, .odeme-dialog .ay-alan input { width: 100%; height: 46px; padding: 0 12px 0 34px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font: 800 18px var(--font-num); color: var(--text); }
.odeme-dialog .ek-input > i { left: 12px; }
.odeme-dialog input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--soft); }
.od-sil { width: 38px; height: 38px; border-radius: 10px; border: none; background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; flex-shrink: 0; }
.od-sil:hover { background: var(--soft); color: var(--primary); }
.od-ekle { margin-top: 10px; height: 42px; width: 100%; border-radius: 12px; border: 1.5px dashed var(--line-3); background: transparent; font: 700 14px var(--font); color: var(--text-2); cursor: pointer; }
.od-ekle:hover { border-color: var(--text); color: var(--text); }
.od-paraustu { display: flex; align-items: flex-end; gap: 14px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: #F1FAF3; border: 1px solid #D6F0DD; }
.od-paraustu[hidden] { display: none; }
.od-paraustu .ay-alan { flex: 1; }
.od-pu { text-align: right; min-width: 130px; }
.od-pu small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.od-pu b { font: 800 26px/1.2 var(--font-num); color: var(--ok); }
.od-pu b.eksik { color: var(--danger); }
.od-alt { display: flex; align-items: center; gap: 14px; padding: 14px 20px 18px; border-top: 1px solid var(--line-2); background: var(--card-2); border-radius: 0 0 20px 20px; }
.od-kalan { flex: 1; font-size: 15px; color: var(--muted-2); }
.od-kalan b { font-family: var(--font-num); font-size: 18px; }
.od-kalan.eksik { color: var(--danger); font-weight: 700; }
.od-kalan.tamam { color: var(--ok); font-weight: 800; }
.od-alt .btn { height: 50px; padding: 0 24px; border-radius: 14px; font-weight: 800; font-size: 15.5px; }
.od-alt .btn[hidden] { display: none; }

/* Panoda ödeme düğmesi ve kilit */
.pk-odeme-btn { border: 1px solid var(--line); background: var(--card); border-radius: 8px; height: 28px; padding: 0 9px; font: 700 12px var(--font); color: var(--text-2); cursor: pointer; white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.pk-odeme-btn:hover { border-color: var(--text); }
.pk-odeme.kilit, .ol-odeme.kilit { display: inline-flex; align-items: center; gap: 4px; cursor: default; }
.ol-odeme.kilit:hover { background: none; }
.durum-pill.kilitli { cursor: default; opacity: .92; }
.durum-pill.kilitli svg { opacity: .8; }
#pay-seg.dort { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#pay-seg #pay-parcali { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }
#pay-seg.dort button { font-size: 14.5px; }

/* Teslimi geri alma çubuğu */
.teslim-geri { position: fixed; left: 50%; bottom: 58px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px;
  border-radius: 14px; background: var(--text); color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: 0 10px 28px rgba(0, 0, 0, .3); overflow: hidden; animation: yukari .2s ease-out; }
.teslim-geri button { height: 38px; padding: 0 16px; border: none; border-radius: 10px; background: var(--accent); color: var(--text); font: 800 14px var(--font); cursor: pointer; }
.teslim-geri i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--accent); animation: geri-sure 5s linear forwards; }
@keyframes geri-sure { from { width: 100%; } to { width: 0; } }
@keyframes yukari { from { opacity: 0; transform: translate(-50%, 10px); } }
@media (max-width: 700px) { .od-tekler { grid-template-columns: repeat(3, minmax(0, 1fr)); } .od-satir { flex-wrap: wrap; } .od-tipler { order: 3; width: 100%; overflow-x: auto; } }

/* ── Rol: yönetici gerektiren öğeler personelde gizlenir ─────────────────── */
body:not(.is-admin) [data-yonetim] { display: none !important; }
body:not(.is-admin) .ay-ozet { grid-template-columns: minmax(0, 1fr); max-width: 340px; }
.ayarlar .ay-kullanici { --r: #0F766E; --a: #DFF2EF; }
.ay-sayi.kul:not(:empty) { background: #DFF2EF; color: #0F766E; }
.ay-bh-btn { margin-left: auto; height: 44px; padding: 0 18px; border-radius: 13px; font-weight: 800; white-space: nowrap; align-self: center; }
.rol-aciklama { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.rol-aciklama div { padding: 12px 14px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 3px; }
.rol-aciklama b { font-size: 14px; }
.rol-aciklama span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.kul-liste { display: flex; flex-direction: column; gap: 8px; }
.kul-satir { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); cursor: pointer; text-align: left; width: 100%; font: inherit; color: inherit; transition: border-color .15s; }
.kul-satir:hover { border-color: #0F766E; }
.kul-satir.pasif { opacity: .55; }
.kul-satir.sahip { cursor: default; }
.kul-satir.sahip:hover { border-color: var(--line); }
.kul-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 16px var(--font-num); color: #fff; background: var(--kr, #4E5D6C); flex-shrink: 0; }
.kul-ad { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kul-ad b { font-size: 15.5px; }
.kul-ad small { font-size: 12.5px; color: var(--muted); }
.rol-rozet { padding: 4px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 800; background: var(--ka, var(--sand)); color: var(--kr, var(--muted-2)); white-space: nowrap; }
.kul-durum { font-size: 12.5px; color: var(--muted); min-width: 120px; text-align: right; }
.rol-sec { display: flex; width: 100%; }
.rol-sec button { flex: 1; }
.rol-sec button[aria-selected="true"] { color: #0F766E; }
.kul-parola { display: flex; gap: 8px; }
.kul-parola input { flex: 1; font-family: var(--font-num) !important; font-weight: 700 !important; letter-spacing: .04em; }
.kul-parola .btn { height: 48px; border-radius: 13px; }
#kul-form .ay-alan { margin: 0; }
@media (max-width: 900px) { .rol-aciklama { grid-template-columns: 1fr; } .kul-durum { display: none; } }
.kimlik-dlg { width: min(440px, calc(100vw - 32px)); }
.kimlik-kutu { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 18px; }
.kimlik-kutu div { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }
.kimlik-kutu span { font-size: 13px; color: var(--muted); }
.kimlik-kutu b { font: 800 18px var(--font-num); letter-spacing: .04em; }

/* ── Ürün seçenekleri ─────────────────────────────────────────────────────── */
.sec-rozet { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 2px 8px; border-radius: 7px; background: rgba(255, 255, 255, .92); color: var(--muted-2); font-size: 10.5px; font-weight: 800; letter-spacing: .03em; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pcard.tukendi { opacity: .55; filter: grayscale(.85); }
.tk-bant { position: absolute; top: 34%; left: -6px; right: -6px; z-index: 3; text-align: center; padding: 6px 0; background: var(--text); color: #fff; font: 800 14px var(--font); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-8deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }
.secenek-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; }
.secenek-dialog[open] { display: flex; flex-direction: column; }
.sd-ust { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.sd-gorsel { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: var(--soft); display: grid; place-items: center; color: var(--primary); flex-shrink: 0; }
.sd-gorsel img { width: 100%; height: 100%; object-fit: cover; }
.sd-baslik { flex: 1; min-width: 0; }
.sd-baslik h3 { margin: 0 0 2px; }
.sd-baslik span { font: 800 16px var(--font-num); color: var(--primary); }
.sd-govde { padding: 6px 18px 12px; overflow: auto; }
.sd-grup { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.sd-grup:last-child { border-bottom: none; }
.sd-gb { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.sd-gb b { font-size: 16px; }
.sd-gb span { font-size: 12.5px; color: var(--muted); }
.sd-secenekler { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-secenekler button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card);
  font: 700 15px var(--font); color: var(--text); cursor: pointer; transition: border-color .12s, background .12s; }
.sd-secenekler button em { font-style: normal; font: 800 13px var(--font-num); color: var(--primary); }
.sd-secenekler i { width: 20px; height: 20px; border: 2px solid var(--line-3); display: grid; place-items: center; font-style: normal; font-size: 12px; color: transparent; flex-shrink: 0; }
.sd-secenekler i.radyo { border-radius: 50%; }
.sd-secenekler i.kutu, .sd-secenekler i.carpi { border-radius: 6px; }
.sd-secenekler button[aria-pressed="true"] { border-color: var(--primary); background: #FFF6F5; }
.sd-secenekler button[aria-pressed="true"] i.radyo { border-color: var(--primary); box-shadow: inset 0 0 0 4px #fff; background: var(--primary); }
.sd-secenekler button[aria-pressed="true"] i.kutu { border-color: var(--primary); background: var(--primary); color: #fff; }
.sd-secenekler.cikar button[aria-pressed="true"] { border-color: var(--text); background: var(--sand); }
.sd-secenekler.cikar button[aria-pressed="true"] span { text-decoration: line-through; }
.sd-secenekler.cikar button[aria-pressed="true"] i { border-color: var(--text); background: var(--text); color: #fff; }
.sd-alt { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line-2); background: var(--card-2); border-radius: 0 0 20px 20px; }
.sd-adet { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; background: var(--sand); }
.sd-adet button { width: 46px; height: 46px; border: none; border-radius: 11px; background: #fff; font-size: 22px; font-weight: 700; cursor: pointer; }
.sd-adet b { min-width: 36px; text-align: center; font: 800 20px var(--font-num); }
.sd-ekle { flex: 1; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-radius: 14px; font-size: 16px; font-weight: 800; }
.sd-ekle b { font: 800 20px var(--font-num); }
.sd-ekle:disabled { justify-content: center; }
.sd-ekle:disabled b { display: none; }
.sec-yazi { font-size: 12px; color: var(--primary-dark); font-weight: 600; line-height: 1.3; }
.pk-kalem small { display: block; font-size: 12px; color: var(--muted-2); padding-left: 22px; }
.pk-kalem small.cikar { color: var(--primary-dark); font-weight: 700; }
.kalem-chip i { font-style: normal; color: var(--primary); }
.ikram-et { display: inline-block; padding: 1px 6px; border-radius: 6px; background: #E3F3E7; color: var(--ok); font-size: 11px; font-weight: 800; vertical-align: middle; }
.ikram-btn { border: none; background: none; padding: 0; font: 700 12px var(--font); color: var(--ok); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.cart-line .tt.ikram s { color: var(--muted); font-weight: 600; }

/* ── İndirim ──────────────────────────────────────────────────────────────── */
.ind-btn { height: 30px; padding: 0 12px; border-radius: 9px; border: 1.5px dashed var(--line-3); background: transparent; font: 700 13px var(--font); color: var(--muted-2); cursor: pointer; white-space: nowrap; }
.ind-btn:hover { border-color: var(--ok); color: var(--ok); }
.ind-btn.on { border-style: solid; border-color: var(--ok); background: #E3F3E7; color: var(--ok); }
.indirim-dialog { width: min(560px, calc(100vw - 32px)); padding: 0; }
.indirim-dialog[open] { display: flex; flex-direction: column; }
.indirim-dialog .od-govde { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; }
.ind-tip { display: flex; width: 100%; }
.ind-tip button { flex: 1; }
.ind-hizli, .ind-neden { display: flex; flex-wrap: wrap; gap: 6px; }
.ind-hizli button, .ind-neden button { height: 40px; padding: 0 14px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--card); font: 700 14px var(--font); color: var(--text); cursor: pointer; }
.ind-hizli button[aria-pressed="true"], .ind-neden button[aria-pressed="true"] { border-color: var(--ok); background: #E3F3E7; color: var(--ok); }
.indirim-dialog .ay-alan input { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px 0 34px; font: 700 16px var(--font); background: #fff; }
.indirim-dialog .ay-alan > input { padding-left: 12px; font-weight: 500; font-size: 15px; }
.indirim-dialog .od-kalan b { color: var(--ok); }
.od-ind { height: 44px; border-radius: 12px; font-weight: 700; }
.pk-indirim { font-size: 12px; font-weight: 700; color: var(--ok); }

/* ── Seçenek düzenleyici ──────────────────────────────────────────────────── */
.sec-ozet { padding: 12px 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 6px; }
.so-ust { display: flex; align-items: center; justify-content: space-between; }
.so-grup { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line-2); }
.so-grup b { font-size: 13.5px; }
.so-grup span { font-size: 12.5px; color: var(--muted); }
.switch.sw-tk[aria-checked="true"] { background: var(--primary); }
.sec-i { font-style: normal; color: var(--primary); font-weight: 700; }
.tk-i { font-style: normal; color: var(--text); background: var(--sand); padding: 0 5px; border-radius: 5px; font-weight: 800; }
.se-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; }
.se-dialog[open] { display: flex; flex-direction: column; }
.se-dialog .od-govde { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; }
#se-gruplar { display: flex; flex-direction: column; gap: 12px; }
.se-grup { padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card-2); display: flex; flex-direction: column; gap: 8px; }
.se-gust { display: flex; align-items: center; gap: 8px; }
.se-gad { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; font: 800 16px var(--font); background: #fff; }
.se-tip { display: flex; gap: 3px; padding: 3px; border-radius: 11px; background: var(--sand); }
.se-tip button { height: 36px; padding: 0 11px; border: none; border-radius: 8px; background: transparent; font: 700 13px var(--font); color: var(--muted-2); cursor: pointer; white-space: nowrap; }
.se-tip button[aria-pressed="true"] { background: #fff; color: var(--primary); box-shadow: 0 1px 3px rgba(34, 23, 20, .14); }
.se-sil { width: 36px; height: 36px; border: none; border-radius: 10px; background: transparent; font-size: 22px; color: var(--muted); cursor: pointer; flex-shrink: 0; }
.se-sil:hover { background: var(--soft); color: var(--primary); }
.se-aciklama { margin: 0; font-size: 12.5px; color: var(--muted); }
.se-satirlar { display: flex; flex-direction: column; gap: 6px; }
.se-satir { display: flex; align-items: center; gap: 8px; }
.se-satir > input { flex: 1; min-width: 0; height: 42px; border: 1.5px solid var(--line); border-radius: 11px; padding: 0 12px; font: 600 15px var(--font); background: #fff; }
.se-ek { width: 130px; flex-shrink: 0; }
.se-ek input { width: 100%; height: 42px; border: 1.5px solid var(--line); border-radius: 11px; padding: 0 10px 0 38px; font: 800 15px var(--font-num); background: #fff; }
.se-ek > i { font-size: 13px !important; }
.se-ucretsiz { width: 130px; flex-shrink: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.se-galt { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.se-encok { flex-direction: row; align-items: center; gap: 6px; font-size: 13px; }
.se-encok input { width: 54px; height: 34px; text-align: center; border: 1.5px solid var(--line); border-radius: 9px; }
.se-hazir { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.se-hazir span { font-size: 13px; font-weight: 700; color: var(--muted-2); }
.se-bos { padding: 18px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-3); border-radius: 14px; }
.se-kat { font-size: 13.5px; }
.se-dialog input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--soft); }

/* ── Masa QR ─────────────────────────────────────────────────────────────── */
.qr-satir { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 14px; border-radius: 18px; border: 1px solid #E0CFEA; background: linear-gradient(135deg, #F1E8F6, #fff 70%); }
.qr-ic { width: 46px; height: 46px; border-radius: 14px; background: #7B3FA0; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.qr-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.qr-yazi b { font-size: 15.5px; }
.qr-yazi span { font-size: 13px; color: var(--muted-2); }
.qr-satir .btn { height: 42px; border-radius: 12px; font-weight: 700; white-space: nowrap; }
.qr-rozet { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #7B3FA0; color: #fff; font: 800 10.5px var(--font); letter-spacing: .06em; }
.cagrilar { position: fixed; top: 80px; right: 16px; z-index: 70; display: flex; flex-direction: column; gap: 10px; width: 320px; }
.cagri { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px; background: #7B3FA0; color: #fff; box-shadow: 0 14px 34px rgba(60, 20, 80, .35); animation: cagri-gel .3s ease-out, cagri-nabiz 1.6s ease-in-out .3s 4; }
.cagri.hesap { background: var(--ok); box-shadow: 0 14px 34px rgba(20, 80, 40, .35); }
.cg-ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font: 800 22px var(--font-num); flex-shrink: 0; }
.cg-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
.cg-yazi b { font: 800 20px/1.1 var(--font-num); }
.cg-yazi small { opacity: .75; font-size: 12px; }
.cagri button { height: 40px; padding: 0 14px; border-radius: 11px; border: none; background: #fff; color: var(--text); font: 800 14px var(--font); cursor: pointer; }
@keyframes cagri-gel { from { opacity: 0; transform: translateX(30px); } }
@keyframes cagri-nabiz { 50% { transform: scale(1.03); } }
.cagrilar { top: auto; bottom: 56px; right: auto; left: 16px; }
.cart-line .un { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-kurye { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 9px; border: 1px solid #CFE0F2; background: #E6F0FA; color: #1D6FB8; font: 700 13px var(--font); cursor: pointer; }
.pk-kurye.yok { border-style: dashed; background: transparent; }
.pk-kurye:disabled { cursor: default; opacity: .8; }

/* ── Gün sonu kasa ────────────────────────────────────────────────────────── */
.kasa-btn { width: auto !important; padding: 0 12px !important; gap: 7px; display: inline-flex; align-items: center; font: 700 13.5px var(--font); }
.kasa-btn[hidden] { display: none !important; }
@media (max-width: 1500px) { .kasa-btn span { display: none; } }
.kasa-dialog { width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; }
.kasa-dialog[open] { display: flex; flex-direction: column; }
.ks-sekme { margin-right: 6px; }
.ks-uyari { padding: 12px 14px; border-radius: 14px; background: var(--note-bg); color: var(--note-fg); font-size: 14px; margin: 12px 0 4px; }
.ks-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.ks-kpi > div { padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; }
.ks-kpi > div.koyu { background: var(--text); color: #fff; border-color: var(--text); }
.ks-kpi small { font-size: 12px; font-weight: 700; color: var(--muted); }
.ks-kpi .koyu small, .ks-kpi .koyu span { color: rgba(255, 255, 255, .65); }
.ks-kpi b { font: 800 24px/1.2 var(--font-num); letter-spacing: -.01em; }
.ks-kpi span { font-size: 12px; color: var(--muted); }
.ks-iki { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ks-odemeler { display: flex; flex-direction: column; gap: 6px; }
.ks-od { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "a b" "c b"; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line-2); }
.ks-od span { grid-area: a; font-weight: 700; }
.ks-od small { grid-area: c; font-size: 12px; color: var(--muted); }
.ks-od b { grid-area: b; font: 800 17px var(--font-num); }
.ks-od.nakit { background: #F1FAF3; border-color: #D6F0DD; }
.ks-tablo { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ks-tablo th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.ks-tablo td { padding: 8px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.ks-tablo td small { color: var(--muted); }
.ks-tablo td.eksik { color: var(--danger); font-weight: 800; }
.ks-tablo td.fazla { color: var(--warn); font-weight: 800; }
.ks-tablo td.ok { color: var(--ok); font-weight: 800; }
.ks-tablo.gecmis { margin-top: 12px; }
.ks-kaynak { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-kaynak > span { display: inline-flex; align-items: center; gap: 6px; }
.ks-sayim { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: end; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); }
.ks-sayim .ks-not { grid-column: 1 / -1; }
.kasa-dialog .ay-alan input { width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 13px; padding: 0 12px 0 34px; font: 800 20px var(--font-num); background: #fff; }
.kasa-dialog .ks-not input { padding-left: 12px; font: 500 15px var(--font); height: 46px; }
.ks-fark { min-width: 170px; text-align: right; }
.ks-fark small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.ks-fark b { font: 800 28px/1.2 var(--font-num); }
.ks-fark.tamam b, .ks-fark.tamam small { color: var(--ok); }
.ks-fark.eksik b, .ks-fark.eksik small { color: var(--danger); }
.ks-fark.fazla b, .ks-fark.fazla small { color: var(--warn); }
#ks-alt[hidden] { display: none; }
@media (max-width: 800px) { .ks-kpi { grid-template-columns: 1fr 1fr; } .ks-iki { grid-template-columns: 1fr; } }
.pk-hazir { padding: 3px 8px; border-radius: 8px; background: #E3F3E7; color: var(--ok); font-size: 12px; font-weight: 800; white-space: nowrap; }
.mutfak-link { margin: 14px 0; }
.mutfak-link .wl-qr svg { width: 96px; height: 96px; }
.mutfak-link a.btn { text-decoration: none; color: var(--text); }
.pk-ikon.wa { color: #1A7F37; display: grid; place-items: center; text-decoration: none; }
.pk-ikon.wa:hover { background: #E3F3E7; border-color: #BFE5CA; }
.pk-ileri { white-space: nowrap; }
.pk-dugmeler .pk-ikon { width: 42px; }
/* Hazır notlar: yana taşmak yerine alt satıra geçer; "Not / adres" hep görünür */
.note-row { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0 0; row-gap: 6px; }
.note-chip { height: 32px; padding: 0 11px; font-size: 12.5px; }
.note-chip.pen { border: 1.5px solid var(--text); color: var(--text); font-weight: 700; max-width: 100%; }
.note-chip.pen[aria-pressed="true"] { border-color: #EBCB7A; }
.note-row { flex-wrap: nowrap; align-items: center; gap: 8px; }
.note-row .note-chip.pen { flex-shrink: 0; max-width: 46%; }
.nr-kay { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.nr-kay::-webkit-scrollbar { display: none; }
.nr-kay.devam { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.nr-kay.bas.devam { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 78%, transparent); }
.nr-kay.bas:not(.devam) { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%); mask-image: linear-gradient(90deg, transparent, #000 12%); }

/* ── İleri saatli sipariş ve ürün notu ───────────────────────────────────── */
.zaman-btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; margin-right: 6px; border-radius: 9px; border: 1.5px dashed var(--line-3); background: transparent; font: 700 13px var(--font); color: var(--muted-2); cursor: pointer; white-space: nowrap; }
.zaman-btn:hover { border-color: #1D6FB8; color: #1D6FB8; }
.zaman-btn.on { border-style: solid; border-color: #1D6FB8; background: #E6F0FA; color: #1D6FB8; }
.zaman-dialog { width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; }
.zaman-dialog[open] { display: flex; flex-direction: column; }
.zaman-dialog .od-govde { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
.zd-hemen { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card-2); cursor: pointer; text-align: left; }
.zd-hemen b { font-size: 16px; }
.zd-hemen span { font-size: 13px; color: var(--muted); }
.zd-hemen:hover { border-color: var(--text); }
.zd-gun { display: flex; width: 100%; }
.zd-gun button { flex: 1; }
.zd-gun button[aria-selected="true"] { color: #1D6FB8; }
.zd-saatler { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; max-height: 250px; overflow: auto; }
.zd-saatler button { height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font: 800 16px var(--font-num); cursor: pointer; }
.zd-saatler button:hover { border-color: #1D6FB8; }
.zd-saatler button[aria-pressed="true"] { border-color: #1D6FB8; background: #1D6FB8; color: #fff; }
.zd-elle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zaman-dialog .ay-alan input { height: 46px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; font: 600 15px var(--font); background: #fff; }
.zd-bilgi { margin: 0; font-size: 13px; color: var(--muted-2); }
.zd-bilgi:empty { display: none; }
.planli-serit { display: flex; align-items: stretch; gap: 8px; margin: 0 0 12px; padding: 8px; border-radius: 16px; background: #E6F0FA; border: 1px solid #CFE0F2; overflow-x: auto; }
.ps-baslik { display: flex; align-items: center; gap: 6px; padding: 0 8px; font-size: 13px; font-weight: 800; color: #1D6FB8; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.ps-kart { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 170px; padding: 8px 12px; border-radius: 12px; border: 1px solid #CFE0F2; background: #fff; cursor: pointer; text-align: left; }
.ps-kart b { font: 800 16px var(--font-num); color: #1D6FB8; }
.ps-kart span { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.ps-kart small { font-size: 12px; color: var(--muted); }
.ps-kart:hover { border-color: #1D6FB8; }
.pk-planli { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 10px; border-radius: 9px; background: #1D6FB8; color: #fff; font-weight: 800; font-size: 13.5px; }
.pk-sure.plan { background: #E6F0FA; color: #1D6FB8; }
.pk-sure.plan-gec { background: var(--primary); color: #fff; }
.ol-planli { display: block; font-style: normal; font-size: 11.5px; font-weight: 800; color: #1D6FB8; white-space: nowrap; }
.kalem-not { border: none; background: none; padding: 0; font: 700 12px var(--font); color: #1D6FB8; cursor: pointer; }
.kalem-not.var { display: block; margin: 1px 0; padding: 2px 8px; border-radius: 7px; background: #E6F0FA; font-size: 12.5px; text-align: left; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kalem-not-dialog { width: min(560px, calc(100vw - 32px)); padding: 0; }
.kalem-not-dialog[open] { display: flex; flex-direction: column; }
.kalem-not-dialog .od-govde { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
.kn-hizli { display: flex; flex-wrap: wrap; gap: 6px; }
.kn-hizli button { height: 42px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font: 700 14.5px var(--font); cursor: pointer; }
.kn-hizli button[aria-pressed="true"] { border-color: #1D6FB8; background: #E6F0FA; color: #1D6FB8; }
.kalem-not-dialog .ay-alan input { height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; font: 600 16px var(--font); background: #fff; }
.kn-kac { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); }
.kn-kac[hidden] { display: none; }
.pk-sure { white-space: nowrap; }

/* ── Fotoğraf yerleştirme ─────────────────────────────────────────────────── */
.kirp-dialog { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; }
.kirp-dialog[open] { display: flex; flex-direction: column; }
.kirp-govde { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; padding: 16px 20px 6px; overflow: auto; }
.kirp-alan { position: relative; width: min(100%, 420px); aspect-ratio: 1 / 1; justify-self: center; border-radius: 16px; overflow: hidden; touch-action: none; cursor: grab;
  background: repeating-conic-gradient(#EFE9E4 0 25%, #fff 0 50%) 0 0 / 20px 20px; box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(34, 23, 20, .12); }
.kirp-alan:active { cursor: grabbing; }
.kirp-alan canvas { display: block; }
.kirp-izgara { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9);
  background: linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .55) 33.33%, transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255, 255, 255, .55) 66.66%, transparent calc(66.66% + .5px)),
    linear-gradient(0deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .55) 33.33%, transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255, 255, 255, .55) 66.66%, transparent calc(66.66% + .5px)); }
.kirp-yan { display: flex; flex-direction: column; gap: 8px; }
.kirp-kart { width: 150px; border-radius: 16px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(34, 23, 20, .08); }
.kirp-kart canvas { width: 150px; height: 150px; display: block; }
.kk-alt { padding: 7px 10px 9px; display: flex; flex-direction: column; }
.kk-alt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kk-alt span { font: 800 13px var(--font-num); }
.kirp-web { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.kirp-web canvas { width: 56px; height: 56px; border-radius: 11px; flex-shrink: 0; }
.kirp-web b { display: block; font-size: 13px; }
.kirp-web small { font-size: 11.5px; color: var(--muted); }
.kirp-renk { display: flex; gap: 8px; }
.kirp-renk button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line-3); background: var(--r); cursor: pointer; }
.kirp-renk button[aria-pressed="true"] { border-color: var(--primary); box-shadow: 0 0 0 3px var(--soft); }
.kirp-araclar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 20px 14px; }
.kirp-araclar input[type=range] { flex: 1; min-width: 140px; accent-color: var(--primary); height: 30px; }
.ka-yuvarlak { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); font-size: 22px; font-weight: 700; cursor: pointer; }
.ka-ayrac { width: 1px; height: 28px; background: var(--line); margin: 0 4px; }
.kirp-araclar .btn { height: 42px; border-radius: 12px; font-weight: 700; }
.kirp-araclar .btn.on { border-color: var(--primary); color: var(--primary); background: #FFF6F5; }
.b-yer { background: #E6F0FA !important; color: #1D6FB8 !important; }
@media (max-width: 700px) { .kirp-govde { grid-template-columns: 1fr; } .kirp-yan { flex-direction: row; flex-wrap: wrap; align-items: center; } .ka-ayrac { display: none; } }
.b-yer { border-color: #9CC3EA !important; }
.tel-yok { color: var(--warn); font-weight: 700; }
.kurye-bildir { bottom: 112px; }
.kb-wa { height: 38px; padding: 0 14px; border-radius: 10px; background: #25A244; color: #fff; font: 800 14px var(--font); display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
.kurye-bildir button { background: transparent !important; color: #fff !important; font-size: 22px !important; padding: 0 6px !important; }
.pk-kurye-satir { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pk-kurye-ara { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 9px; background: #1A7F37; color: #fff; font: 800 13px var(--font); text-decoration: none; white-space: nowrap; }
.pk-kurye-ara:hover { background: #146B2D; }
.ol-kurye { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; height: 26px; padding: 0 9px; border-radius: 8px; border: 1px solid #CFE0F2; background: #E6F0FA; color: #1D6FB8; font: 700 12px var(--font); cursor: pointer; align-self: flex-start; }
.ol-kurye.yok { border-style: dashed; background: transparent; }
.ol-kurye:disabled { cursor: default; }

/* ── Bilgisayardan arama ─────────────────────────────────────────────────── */
.ayarlar .ay-arama { --r: #1A7F37; --a: #E3F3E7; }
.arama-durum { padding: 10px 14px; border-radius: 12px; background: var(--sand); color: var(--muted-2); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.arama-durum.on { background: #E3F3E7; color: var(--ok); }
.arama-adim { margin: 0 0 6px; padding: 0; list-style: none; counter-reset: a; display: flex; flex-direction: column; gap: 8px; }
.arama-adim li { counter-increment: a; display: flex; gap: 10px; font-size: 14px; color: var(--text-2); }
.arama-adim li::before { content: counter(a); width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; flex-shrink: 0; }
.arama-adim code { background: var(--sand); padding: 1px 6px; border-radius: 6px; font-size: 13px; }
.mini-btn.ara { display: inline-flex; align-items: center; gap: 5px; background: #E3F3E7; color: var(--ok); border-color: #BFE5CA; text-decoration: none; font-weight: 800; }
.pk-ara, .ol-ara { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 700; text-decoration: none; font-size: 12.5px; }
.pk-ara:hover, .ol-ara:hover { text-decoration: underline; }
.pk-ara svg, .ol-ara svg { width: 12px; height: 12px; }
.pk-kurye-ara, .pk-musteri-ara { height: 34px; padding: 0 12px; font-size: 13.5px; }
.pk-musteri-ara { display: inline-flex; align-items: center; gap: 6px; border-radius: 9px; background: #1D6FB8; color: #fff; font: 800 13.5px var(--font); text-decoration: none; white-space: nowrap; }
.pk-musteri-ara:hover { background: #185D9B; }
.pk-kurye-ara svg, .pk-musteri-ara svg { width: 14px; height: 14px; }

/* ══ Sade sipariş paneli (2026-09-29) ══════════════════════════════════════ */
.tur-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line-2); background: var(--card-2); flex-shrink: 0; }
.tur-bar .tur-seg { flex: 1; min-width: 0; padding: 3px; gap: 2px; border: none; background: var(--sand); border-radius: 12px; }
.tur-bar .tur-seg button { height: 38px; border-radius: 9px; border: none; background: transparent; box-shadow: none; font-size: 14px; gap: 6px; color: var(--muted-2); }
.tur-bar .tur-seg button svg { width: 17px; height: 17px; }
.tur-bar .tur-seg button[aria-pressed="true"] { background: var(--card); color: var(--tr); box-shadow: 0 1px 2px rgba(34, 23, 20, .12), 0 0 0 1px var(--line); }
.tur-bar .tur-seg #tur-masa.secili { background: var(--tr); color: #fff; }
.tur-bar .tur-seg #tur-masa.secili span { font-size: 15px; }
.park-btn { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 9px; border-radius: 10px; border: 1px solid #EBCB7A; background: #FFF7E6; color: var(--note-fg); font: 700 13px var(--font); white-space: nowrap; flex-shrink: 0; cursor: pointer; }
.park-btn b { min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 12px; }
.park-btn[hidden] { display: none; }

/* Başlıklar ve adım numaraları yok; bölümler yalnızca ince çizgiyle ayrılır */
#step-cust > .step-h, #step-cart > .step-h { display: none; }
#step-cust:has(.find-row, .unknown-card) > .step-h { display: none; }
.desk-left .step { padding: 12px 16px; gap: 8px; }
.desk-left .step-cart { padding-top: 2px; padding-bottom: 4px; }
.desk-left .step-pay { gap: 8px; padding-top: 8px; }

/* Müşteri: iki satır */
.mk { display: flex; flex-direction: column; gap: 3px; }
.mk-ust { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mk-ust h1 { margin: 0; font-family: var(--font-num); font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mk-rozet { flex-shrink: 0; padding: 2px 7px; border-radius: 6px; font-size: 11.5px; font-weight: 700; }
.mk-rozet.ok { background: #E3F5E8; color: var(--ok); }
.mk-rozet.vip { background: #FFF1D6; color: #8A5A00; }
.mk-iks { margin-left: auto; display: flex; gap: 2px; flex-shrink: 0; }
.mk-ik { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: none; border-radius: 10px; background: transparent; color: var(--muted-2); cursor: pointer; }
.mk-ik:hover { background: var(--sand); color: var(--text); }
.mk-ik.ara { color: var(--ok); font-size: 0; }
.mk-ik.ara svg { width: 18px; height: 18px; }
.mk-alt { font-size: 13.5px; color: var(--text-2); line-height: 1.35; }
.mk-canli { color: var(--primary); }
.mk-canli::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); margin-right: 5px; vertical-align: 1px; animation: nabiz 1.2s ease-in-out infinite; }
.mk-bilgi { font-size: 12.5px; color: var(--muted); }
.mk-sicak { color: var(--primary-dark); font-weight: 700; margin-right: 6px; }
.mk + .cust-note { margin-top: 6px; }

/* Sepet satırı: ad ve fiyat tek satır, not altında tam */
.desk-left .cart-line { grid-template-columns: minmax(0, 1fr) auto 64px; gap: 8px; padding: 8px 0; }
.cl-ad { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; padding: 4px 0; border: none; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.cl-ad .nm { display: flex; align-items: center; gap: 5px; max-width: 100%; font-size: 15px; font-weight: 600; }
.cl-ad .nm em { color: var(--line-3); display: inline-flex; flex-shrink: 0; }
.cl-ad:hover .nm em { color: var(--muted-2); }
.cl-alt { font-size: 12.5px; line-height: 1.35; color: var(--muted-2); }
.cl-alt i { font-style: normal; margin: 0 4px; color: var(--line-3); }
.cl-sec { color: var(--muted-2); }
.cl-not { color: var(--note-fg); font-weight: 700; }
.desk-left .stepper { gap: 2px; }
.desk-left .stepper button { width: 36px; height: 36px; border-radius: 10px; font-size: 19px; }
.desk-left .stepper b { min-width: 24px; font-size: 16px; }
.desk-left .cart-line .tt { font-size: 15px; }

/* Not · teslim saati · indirim: tek ince satır */
.meta-row { display: flex; align-items: center; gap: 4px; min-width: 0; }
.meta-row[hidden] { display: none; }
.meta-not { display: inline-flex; align-items: center; gap: 6px; flex: 1; min-width: 0; height: 32px; padding: 0 8px; margin-left: -8px; border: none; border-radius: 9px; background: transparent; font: 600 13.5px var(--font); color: var(--muted-2); cursor: pointer; text-align: left; }
.meta-not span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta-not svg { flex-shrink: 0; }
.meta-not:hover { background: var(--sand); color: var(--text); }
.meta-not.on { color: var(--note-fg); font-weight: 700; }
.meta-row .zaman-btn, .meta-row .ind-btn { height: 32px; margin: 0; padding: 0 9px; border: none; border-radius: 9px; background: transparent; font-size: 13px; color: var(--muted-2); }
.meta-row .zaman-btn:hover, .meta-row .ind-btn:hover { background: var(--sand); }
.meta-row .zaman-btn.on { background: #E6F0FA; color: #1D6FB8; border: none; }
.meta-row .ind-btn.on { background: #E3F5E8; color: var(--ok); border: none; }

/* Ödeme ve kaydet */
.desk-left .seg { padding: 3px; gap: 2px; border-radius: 12px; }
.desk-left .seg button { height: 40px; border-radius: 9px; font-size: 14.5px; }
.desk-left .foot-btns { grid-template-columns: 48px 48px minmax(0, 1fr); gap: 6px; }
.desk-left .btn-side { height: 54px; border-radius: 12px; }
.desk-left .btn-save { height: 54px; border-radius: 12px; }
.desk-left .btn-save b { font-size: 20px; }

/* Detay penceresindeki hazır notlar */
.dt-hazir { display: flex; flex-wrap: wrap; gap: 6px; }
.dt-hazir:empty { display: none; }

/* ══ Geniş ekranda 4 sütun: müşteri · kategoriler · ürünler · sepet (2026-09-30) ══
   Dar ekranda (1500 px altı) eski 3 sütunlu düzen kalır. */
@media (min-width: 1500px) {
  .desk { grid-template-columns: minmax(300px, 24fr) minmax(104px, 7fr) minmax(0, 41fr) minmax(360px, 28fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "tur kat urun sepet" "mus kat urun sepet" "mus kat urun odeme"; }
  .desk-left { display: contents; }
  .desk .tur-bar { grid-area: tur; background: var(--card-2); border-right: 1px solid var(--line); }
  .desk #step-cust { grid-area: mus; background: var(--card); border-right: 1px solid var(--line); border-bottom: none; overflow-y: auto; min-height: 0; padding: 16px 18px; gap: 12px; }
  .desk .cat-rail { grid-area: kat; }
  .desk .desk-right { grid-area: urun; }
  .desk #step-cart { grid-area: sepet; background: var(--card); border-left: 1px solid var(--line); border-bottom: none; padding-top: 14px; }
  .desk #step-cart > .step-h { display: flex; }
  .desk #step-cart > .step-h .num { display: none; }
  .desk .step-pay { grid-area: odeme; border-left: 1px solid var(--line); }
  /* Müşteri sütunu geniş: ad büyük, son aramalar hep görünür */
  .desk .mk-ust h1 { font-size: 22px; white-space: normal; }
  .desk .mk-alt { font-size: 14.5px; }
  .desk #step-cust.sepetli .call-item:nth-child(n+2) { display: flex; }
  .desk .cust-area { gap: 10px; }
}
/* Müşterinin son siparişleri: yalnızca geniş ekranda (müşteri sütununda) */
.mk-gecmis { display: none; }
@media (min-width: 1500px) {
  .desk .mk-gecmis { display: flex; flex-direction: column; margin-top: 4px; border-top: 1px solid var(--line-2); }
  .desk #btn-repeat { display: none; }
  .mk-gb { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 0 4px; }
  .mk-gs { padding: 9px 0; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 3px; }
  .mk-gs-ust { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted-2); }
  .mk-gs-ust b { font-family: var(--font-num); color: var(--text); }
  .mk-gs-alt { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
  .mk-gs-alt span { flex: 1; min-width: 0; }
  .mk-tekrar { flex-shrink: 0; height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); font: 700 13px var(--font); color: var(--primary); cursor: pointer; }
  .mk-tekrar:hover { background: var(--soft); }
}
/* Sepet listesi kenar boşluğu, bölüm iç boşluğuyla (16px) eşit: yatay kaydırma çubuğu çıkmasın */
.desk-left .cart-list { margin: 0 -16px; padding: 0 16px; }

/* ══ Pano: tam genişlik, özet, filtre, kurye durumu, gecikme, toplu gönderme (2026-09-30) ══ */
main > #tab-pano.panel { max-width: none !important; }
#tab-pano { gap: 10px; }
.pano-head { align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.pano-ozet { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; }
.po { display: inline-flex; align-items: baseline; gap: 5px; height: 30px; padding: 0 11px; border-radius: 15px; background: var(--card); border: 1px solid var(--line); color: var(--muted-2); align-items: center; font: 600 13.5px var(--font); white-space: nowrap; }
.po b { font-family: var(--font-num); font-weight: 800; color: var(--text); }
.po.sakin { color: var(--muted); }
button.po { cursor: pointer; }
.po.kirmizi { background: #FDECEA; border-color: #F3C3BE; color: var(--primary-dark); }
.po.kirmizi b { color: var(--primary); }
.po.kirmizi.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.po.kirmizi.on b { color: #fff; }
.pano-arac { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pano-filtre { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--sand); }
.pano-filtre button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: none; border-radius: 9px; background: transparent; font: 700 13.5px var(--font); color: var(--muted-2); cursor: pointer; }
.pano-filtre button span { font: 800 12px var(--font-num); color: var(--muted); }
.pano-filtre button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(34, 23, 20, .12), 0 0 0 1px var(--line); }
.pano-kuryeler { display: flex; gap: 6px; flex-wrap: wrap; }
.pano-kuryeler:empty { display: none; }
.pk-kc { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font: 700 13.5px var(--font); color: var(--text); cursor: pointer; white-space: nowrap; }
.pk-kc::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pk-kc small { font-weight: 600; font-size: 12px; color: var(--muted-2); }
.pk-kc.disarida { border-color: #CFE0F2; background: #F2F7FC; }
.pk-kc.disarida::before { background: #1D6FB8; }
.pk-kc.disarida small { color: #1D6FB8; }
.pk-kc.on { box-shadow: 0 0 0 2px #1D6FB8; }
.pano-ara { display: flex; flex-direction: row; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--muted); width: 240px; }
.pano-ara input { flex: 1; min-width: 0; box-shadow: none; border: none; outline: none; background: transparent; font: 500 14px var(--font); color: var(--text); width: 100%; height: 100%; padding: 0; }
.pano-ara:focus-within { border-color: var(--text); }
.pano-hedef-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); font: 700 13px var(--font); color: var(--muted-2); cursor: pointer; }
.pano-hedef-btn:hover { color: var(--text); border-color: var(--text); }
body:not(.is-admin) .pano-hedef-btn { display: none; }

/* Sütunlar: Teslim dar, istenirse tamamen daralır */
.pano { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .62fr); }
.pano.teslim-kapali { grid-template-columns: repeat(3, minmax(0, 1fr)) 58px; }
.pano-sutun.bos { background: transparent; border-style: dashed; }
.pano-sutun.bos .pano-bos { margin: 18px 0; }
.pano-sutun > header .toplu-btn { height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); font: 700 12.5px var(--font); color: var(--text-2); cursor: pointer; text-transform: none; letter-spacing: 0; }
.pano-sutun > header .toplu-btn:hover { border-color: var(--text); }
.pano-sutun > header .ts-kapat { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: none; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; margin-left: auto; }
.pano-sutun > header .ts-kapat + span { margin-left: 0; }
.pano-sutun > header .ts-kapat:hover { background: var(--sand); color: var(--text); }
.pano-sutun.kapali { padding: 0; }
.ts-ac { height: 100%; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; border: none; background: transparent; cursor: pointer; color: var(--muted-2); }
.ts-ac span { min-width: 28px; height: 24px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font: 800 13px var(--font-num); color: var(--text); }
.ts-ac b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); }
.ts-ac:hover { color: var(--text); }

/* Gecikme: turuncu → kırmızı */
.pkart.gec { background: #FFF8EC; box-shadow: 0 0 0 1px #F0D29A, 0 2px 8px rgba(154, 91, 0, .10); }
.pkart.cok { background: #FDF0EE; box-shadow: 0 0 0 2px #E7A29B, 0 4px 14px rgba(179, 38, 30, .14); }
.pk-asama.gec { color: #9A5B00; font-weight: 800; }
.pk-asama.cok { color: var(--primary); font-weight: 800; }
@keyframes parla { 0%, 100% { outline-color: transparent; } 30%, 70% { outline-color: #1D6FB8; } }
.pkart.parla { outline: 3px solid transparent; outline-offset: 2px; animation: parla 1.6s ease-in-out 2; }

/* Toplu gönderme */
.pano.toplu .pkart:not(.secilebilir) { opacity: .45; }
.pkart.secilebilir { position: relative; cursor: pointer; }
.pk-sec { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 9px; border: 2px solid var(--line-3); background: var(--card); display: grid; place-items: center; color: transparent; z-index: 1; }
.pkart.secili { box-shadow: 0 0 0 3px #1D6FB8, 0 6px 18px rgba(29, 111, 184, .2); }
.pkart.secili .pk-sec { background: #1D6FB8; border-color: #1D6FB8; color: #fff; }
.pkart.secilebilir .pk-ust .pk-sure { margin-right: 36px; }
.toplu-bar { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; margin: 0 -16px; padding: 12px 16px; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(34, 23, 20, .08); font-size: 15px; }
.toplu-bar[hidden] { display: none; }
.toplu-bar b { font: 800 18px var(--font-num); color: #1D6FB8; }
.toplu-bar .btn.primary { background: #1D6FB8; border-color: #1D6FB8; }

.hedef-satirlar { display: flex; flex-direction: column; gap: 10px; }
.hedef-satirlar label { display: flex; flex-direction: row; text-align: left; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.hedef-satirlar small { font-weight: 500; color: var(--muted); font-size: 12.5px; flex: 1; }
.hedef-satirlar span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted-2); font-weight: 600; }
.hedef-satirlar input { width: 76px; height: 42px; text-align: center; font: 800 17px var(--font-num); }
@media (max-width: 1180px) { .pano-ara { width: 180px; } }

.pano-sutun.teslim > header b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.pk-masa-degis { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 9px; border: 1px solid #E2D2EC; background: #F7F0FB; color: #7B3FA0; font: 700 12.5px var(--font); cursor: pointer; white-space: nowrap; }
.pk-masa-degis:hover { border-color: #7B3FA0; }

/* Tüm ekranlar tam genişlik (sağda solda boşluk kalmaz) */
main > .panel { max-width: none !important; }

/* ══ Müşteriler: kartlı liste + müşteri dosyası (2026-09-30) ══ */
#tab-customers.mu { display: flex; flex-direction: column; gap: 14px; }
.mu-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mu-baslik { display: flex; align-items: baseline; gap: 12px; margin-right: auto; }
.mu-baslik h2 { margin: 0; font: 800 26px var(--font-num); letter-spacing: -.02em; }
.mu-baslik span { color: var(--muted-2); font-size: 14px; }
.mu-ara { display: flex; flex-direction: row; align-items: center; gap: 8px; width: min(440px, 100%); height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--muted); box-shadow: 0 1px 2px rgba(34, 23, 20, .04); }
.mu-ara:focus-within { border-color: var(--text); box-shadow: 0 0 0 3px var(--soft); }
.mu-ara input { flex: 1; min-width: 0; height: 100%; border: none; outline: none; box-shadow: none; background: transparent; padding: 0; font: 500 15px var(--font); color: var(--text); }
.mu-yeni { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 14px; font-size: 15px; }
.mu-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mu-k { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); text-align: left; cursor: pointer; transition: transform .12s, box-shadow .15s; --kc: #5C4A42; --kb: #EFE9E4; }
.mu-k:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(34, 23, 20, .08); }
.mu-k.yeni { --kc: #1D6FB8; --kb: #E6F0FA; } .mu-k.sadik { --kc: #8A5A00; --kb: #FFF1D6; } .mu-k.kacan { --kc: #B3261E; --kb: #FCE8E6; }
.mu-k.on { border-color: var(--kc); box-shadow: 0 0 0 2px var(--kc) inset; }
.mu-k-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--kb); color: var(--kc); flex-shrink: 0; }
.mu-k-m { display: flex; flex-direction: column; min-width: 0; }
.mu-k-m b { font: 800 28px/1 var(--font-num); letter-spacing: -.02em; color: var(--text); }
.mu-k-m span { font-weight: 800; font-size: 14px; margin-top: 4px; color: var(--kc); }
.mu-k-m small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mu-arac { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mu-seg { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--sand); }
.mu-seg button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border: none; border-radius: 9px; background: transparent; font: 700 14px var(--font); color: var(--muted-2); cursor: pointer; }
.mu-seg button span { font: 800 12px var(--font-num); color: var(--muted); }
.mu-seg button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(34, 23, 20, .12), 0 0 0 1px var(--line); }
.mu-sira { display: flex; flex-direction: row; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted-2); font-weight: 600; }
.mu-sira select { height: 38px; border-radius: 10px; padding: 0 30px 0 12px; font: 700 14px var(--font); width: auto; }
.mu-govde { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 16px; align-items: start; }
.mu-liste { display: flex; flex-direction: column; gap: 6px; }
.mu-satir { display: grid; grid-template-columns: 44px minmax(0, 1fr) 84px 110px 120px 40px; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.mu-satir:hover { border-color: var(--line-3); box-shadow: 0 6px 18px rgba(34, 23, 20, .06); }
.mu-satir.secili { border-color: var(--text); box-shadow: 0 0 0 1px var(--text), 0 8px 22px rgba(34, 23, 20, .10); }
.mu-av { border-radius: 50%; display: inline-grid; place-items: center; background: var(--ab); color: var(--af); font-family: var(--font-num); font-weight: 800; letter-spacing: -.02em; flex-shrink: 0; }
.mu-s-ad { min-width: 0; }
.mu-s-ust { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mu-s-ust b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mu-s-alt { font-size: 13px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.mu-rz { flex-shrink: 0; padding: 2px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.mu-rz.sadik { background: #FFF1D6; color: #8A5A00; } .mu-rz.yeni { background: #E6F0FA; color: #1D6FB8; } .mu-rz.kacan { background: #FCE8E6; color: #B3261E; }
.mu-s-sayi { display: flex; flex-direction: column; align-items: flex-end; }
.mu-s-sayi b { font: 800 16px var(--font-num); white-space: nowrap; }
.mu-s-sayi small { font-size: 11.5px; color: var(--muted); }
.mu-s-sayi.son b { font-family: var(--font); font-size: 14px; font-weight: 700; }
.mu-s-ara { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #E3F3E7; color: var(--ok); text-decoration: none; }
.mu-s-ara:hover { background: var(--ok); color: #fff; }
.mu-bos { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 60px 20px; text-align: center; color: var(--line-3); background: var(--card); border: 1px dashed var(--line-3); border-radius: 18px; }
.mu-bos b { color: var(--text); font-size: 16px; }
/* Müşteri dosyası */
.mu-detay { position: sticky; top: 0; max-height: calc(100vh - 150px); overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 10px 30px rgba(34, 23, 20, .06); }
.mu-detay:empty { display: none; }
.mu-detay.yukleniyor { opacity: .6; }
.md-ust2 { display: flex; align-items: center; gap: 14px; }
.md-kim { flex: 1; min-width: 0; }
.md-kim h3 { margin: 0; font: 800 22px/1.15 var(--font-num); letter-spacing: -.01em; overflow-wrap: anywhere; }
.md-alt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 5px; font-size: 12.5px; color: var(--muted); }
.mu-ikon { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--muted-2); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.mu-ikon:hover { color: var(--text); border-color: var(--text); }
.md-eylem { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.md-eylem .md-siparis { grid-column: 1 / -1; height: 52px; font-size: 16px; }
.md-eylem .btn { height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 13px; font-size: 15px; text-decoration: none; }
.md-ara { background: #E3F3E7; border-color: #BFE5CA; color: var(--ok); }
.md-wa { background: #fff; border-color: #BFE5CA; color: #1A7F37; }
.md-kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.md-kpi div { padding: 12px 14px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); display: flex; flex-direction: column; }
.md-kpi b { font: 800 20px var(--font-num); letter-spacing: -.01em; }
.md-kpi span { font-size: 12px; color: var(--muted); }
.md-not { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--note-bg); color: var(--note-fg); font-size: 14px; font-weight: 600; }
.md-not svg { flex-shrink: 0; margin-top: 2px; }
.md-blok h4 { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.md-sat { display: flex; gap: 9px; align-items: flex-start; padding: 5px 0; font-size: 14px; color: var(--text-2); }
.md-sat svg { flex-shrink: 0; margin-top: 2px; color: var(--muted); }
.md-fav { display: flex; flex-wrap: wrap; gap: 6px; }
.md-fav span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 10px; background: var(--sand); font-size: 13.5px; font-weight: 600; }
.md-fav b { font: 800 12px var(--font-num); color: var(--primary); }
.md-sip { padding: 10px 0; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.md-sip:last-child { border-bottom: none; }
.md-sip-ust { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted-2); }
.md-sip-ust b { margin-left: auto; font: 800 15px var(--font-num); color: var(--text); }
.md-durum { padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; color: var(--dr); background: color-mix(in srgb, var(--dr) 12%, transparent); }
.md-sip-alt { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.md-sip-alt span { flex: 1; min-width: 0; }
.md-tekrar { flex-shrink: 0; height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); font: 700 13px var(--font); color: var(--primary); cursor: pointer; }
.md-tekrar:hover { background: var(--soft); }
.md-yok { margin: 0; font-size: 14px; }
@media (max-width: 1400px) { .mu-govde { grid-template-columns: minmax(0, 1fr) 380px; } .mu-satir { grid-template-columns: 40px minmax(0, 1fr) 70px 96px 40px; } .mu-s-sayi.son { display: none; } }
@media (max-width: 1100px) { .mu-govde { grid-template-columns: 1fr; } .mu-detay { display: none; } .mu-kpi { grid-template-columns: 1fr 1fr; } }

/* ══ Pano: tahmin, yoğunluk, öneri, sürükle bırak, sıkı görünüm ══ */
.pano-tahmin { display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; border-radius: 14px; background: var(--text); color: #fff; }
.pt-e { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-right: 2px; }
.pt-d { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pt-d b { font: 800 15px var(--font-num); }
.pano-yogun { display: flex; align-items: center; gap: 8px; }
.py-bar { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.py-bar i { width: 7px; border-radius: 3px 3px 1px 1px; background: #D9CDC6; }
.py-bar i.bos { background: var(--line); }
.py-bar i.simdi { background: var(--primary); }
.py-e { display: flex; flex-direction: column; font-size: 11px; color: var(--muted); line-height: 1.1; }
.py-e b { font: 800 16px var(--font-num); color: var(--text); }
.pano-oneri { display: flex; gap: 8px; flex-wrap: wrap; }
.pano-oneri[hidden] { display: none; }
.po-oneri { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px 6px 14px; border-radius: 14px; border: 1px solid #CFE0F2; background: #F2F7FC; color: #0F4C85; font: 500 14px var(--font); cursor: pointer; text-align: left; }
.po-oneri svg { color: #1D6FB8; flex-shrink: 0; }
.po-oneri em { font-style: normal; font-weight: 800; padding: 7px 12px; border-radius: 10px; background: #1D6FB8; color: #fff; white-space: nowrap; }
.po-oneri:hover { border-color: #1D6FB8; }
.pkart[draggable="true"] { cursor: grab; }
.pkart.surukleniyor { opacity: .45; transform: rotate(-1deg); }
.pano-sutun.birak { border: 2px dashed var(--pc); background: color-mix(in srgb, var(--pc) 7%, transparent); }
.pk-ozet { display: none; }
/* Sıkı görünüm: adres, kalem listesi ve notlar tek satıra iner */
.pano.sik .pkart { padding: 9px 12px; gap: 5px; }
.pano.sik .pk-no { font-size: 18px; }
.pano.sik .pk-kalem, .pano.sik .pk-adres, .pano.sik .pk-planli { display: none; }
.pano.sik .pk-ozet { display: block; font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 4px 0; border-top: 1px dashed var(--line); }
.pano.sik .pk-not { padding: 3px 8px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pano.sik .pk-ileri, .pano.sik .pk-ikon { height: 38px; }
.pano.sik .pk-ikon { width: 38px; }
.pano.sik .pk-musteri { font-size: 14.5px; }
.pano-hedef-btn.on { background: var(--text); color: #fff; border-color: var(--text); }
@media (max-width: 1500px) { .pano-yogun { display: none; } }
@media (max-width: 1250px) { .pt-e { display: none; } }

/* ══ Sipariş ekranı: sol müşteri, sağ sipariş ve ödeme (2026-09-30) ══ */
.mb-bas, .mb-yeni, .mb-alt-b, .mk-av, .mk-kpi, .mk-fav, .od-toplam, .pay-ic { display: none; }
.call-item .mu-av { display: none; }
@media (min-width: 1500px) {
  /* Sipariş türü ve bekleyenler sağa, siparişin başına */
  .desk { grid-template-areas: "mus kat urun tur" "mus kat urun sepet" "mus kat urun odeme"; }
  .desk .tur-bar { border-right: none; border-left: 1px solid var(--line); background: var(--card); padding: 12px 16px 8px; }
  .desk .tur-bar .tur-seg button { height: 44px; font-size: 15px; }
  .desk .tur-bar .park-btn { height: 50px; }
  /* ── Sol: müşteri ── */
  .desk #step-cust { background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%); padding: 20px 20px 24px; gap: 14px; }
  .desk .cust-area { gap: 14px; }
  .mb-bas { display: flex; align-items: center; gap: 12px; }
  .mb-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); color: var(--primary); flex-shrink: 0; }
  .mb-bas b { display: block; font: 800 20px var(--font-num); letter-spacing: -.01em; }
  .mb-bas small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
  .mb-bas.mb-secili { margin-bottom: 4px; }
  .mb-bas.mb-secili .mb-ic { width: 32px; height: 32px; border-radius: 10px; }
  .mb-bas.mb-secili b { font-size: 12px; font-family: var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .desk .find-row input { height: 54px; font-size: 16px; border-radius: 14px; padding-left: 16px; box-shadow: 0 1px 2px rgba(34, 23, 20, .05); }
  .desk #btn-new-customer { display: none; }
  .mb-yeni { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 18px; border: none; cursor: pointer; text-align: left; color: #fff;
    background: linear-gradient(135deg, #B3261E 0%, #7E1B15 100%); box-shadow: 0 10px 24px rgba(179, 38, 30, .28); transition: transform .12s, box-shadow .15s; }
  .mb-yeni:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(179, 38, 30, .34); }
  .mb-yeni:active { transform: scale(.99); }
  .mb-yeni-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); flex-shrink: 0; }
  .mb-yeni-y { flex: 1; min-width: 0; }
  .mb-yeni-y b { display: block; font-size: 17px; font-weight: 800; }
  .mb-yeni-y small { display: block; font-size: 12.5px; opacity: .82; margin-top: 2px; }
  .mb-alt-b { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 -4px; }
  .desk .calls-mini { gap: 8px; }
  .desk .call-item { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; min-height: 60px; padding: 8px 10px 8px 12px; border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
  .desk .call-item:hover { box-shadow: 0 0 0 1px var(--line-3), 0 6px 16px rgba(34, 23, 20, .06); }
  .desk .call-item .mu-av { display: inline-grid; }
  .desk .walkin { padding: 18px; border-radius: 16px; border: 1px dashed var(--line-3); text-align: center; }
  /* Seçili müşteri */
  .desk .mk { gap: 6px; }
  .mk-av { display: block; flex-shrink: 0; }
  .desk .mk-ust { gap: 12px; align-items: center; }
  .desk .mk-ust h1 { font-size: 23px; white-space: normal; overflow-wrap: anywhere; line-height: 1.15; }
  .desk .mk-iks { gap: 4px; }
  .desk .mk-ik { width: 42px; height: 42px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
  .desk .mk-ik.ara { background: #E3F3E7; box-shadow: 0 0 0 1px #BFE5CA; }
  .desk .mk-alt { font-size: 14.5px; line-height: 1.45; padding: 10px 12px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line-2); }
  .desk .mk-bilgi { font-size: 12.5px; }
  .mk-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .mk-kpi div { padding: 10px 12px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line-2); display: flex; flex-direction: column; min-width: 0; }
  .mk-kpi b { font: 800 17px var(--font-num); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mk-kpi span { font-size: 11.5px; color: var(--muted); }
  .mk-fav { display: block; }
  .mk-fav .mk-gb { padding: 4px 0 8px; }
  .mk-fav-l { display: flex; flex-wrap: wrap; gap: 6px; }
  .mk-fav-l button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); font: 700 13.5px var(--font); color: var(--text); cursor: pointer; }
  .mk-fav-l button svg { color: var(--primary); }
  .mk-fav-l button:hover { border-color: var(--primary); background: var(--soft); }
  .mk-fav-l button:active { transform: scale(.97); }
  .desk .mk-gb { font-size: 12px; }
  /* ── Sağ: sipariş ve ödeme ── */
  .desk #step-cart { padding: 12px 18px 6px; }
  .desk #step-cart > .step-h b { font-size: 12px; }
  .desk .step-pay { padding: 12px 18px 18px; gap: 10px; background: var(--card-2); box-shadow: 0 -8px 24px rgba(34, 23, 20, .05); }
  .od-toplam { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 2px 2px 4px; }
  .od-toplam:empty { display: none; }
  .odt-sol { font-size: 13px; color: var(--muted-2); padding-bottom: 4px; }
  .odt-sol em { font-style: normal; color: var(--ok); font-weight: 700; }
  .odt-sag { display: flex; flex-direction: column; align-items: flex-end; }
  .odt-sag small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .odt-sag b { font: 800 32px/1 var(--font-num); letter-spacing: -.02em; }
  .desk .seg { gap: 6px; padding: 0; background: transparent; }
  .desk .seg button { height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; color: var(--muted-2); }
  .desk .seg button .pay-ic { display: block; }
  .desk .seg button[aria-pressed="true"] { background: var(--text); color: #fff; box-shadow: 0 6px 16px rgba(34, 23, 20, .22); }
  .desk .foot-btns { grid-template-columns: 1fr 1fr; grid-template-areas: "park temiz" "kaydet kaydet"; gap: 8px; }
  .desk #btn-park { grid-area: park; } .desk #btn-clear-cart { grid-area: temiz; } .desk #btn-save-order { grid-area: kaydet; }
  .desk .btn-side { height: 44px; flex-direction: row; gap: 8px; border-radius: 12px; font-size: 13.5px; }
  .desk .btn-side::after { content: attr(aria-label); }
  .desk .btn-save { height: 76px; border-radius: 18px; justify-content: center; font-size: 21px; font-weight: 800; letter-spacing: .01em; gap: 12px;
    background: linear-gradient(135deg, #C62D24 0%, #9A1F18 100%); box-shadow: 0 12px 28px rgba(179, 38, 30, .32); }
  .desk .btn-save::after { content: '→'; font-size: 24px; }
  .desk .btn-save b { display: none; }
  .desk .btn-save:disabled { background: var(--line); box-shadow: none; }
  .desk .btn-save:disabled::after { content: ''; }
  .desk .btn-save:not(:disabled):active { transform: scale(.99); }
}
/* Sağ sütun daha ferah: ödeme düğmeleri yatay, Beklet/Temizle Kaydet'in yanına */
@media (min-width: 1500px) {
  .desk .seg button { height: 50px; flex-direction: row; gap: 8px; font-size: 14.5px; }
  .desk .foot-btns { grid-template-columns: 64px 64px minmax(0, 1fr); grid-template-areas: "park temiz kaydet"; }
  .desk .btn-side { height: 76px; flex-direction: column; gap: 4px; font-size: 11.5px; border-radius: 16px; }
  .desk .desk-left .cart-line { padding: 6px 0; }
  .desk .desk-left .stepper button { width: 34px; height: 34px; }
  .desk .step-pay { gap: 8px; }
  .desk .od-toplam { padding: 0 2px; }
}

/* ══ Raporlar: yeni bölümler ══ */
.rp-head { flex-wrap: wrap; gap: 12px; }
.seg.ol-tarih#rp-aralik { grid-template-columns: repeat(8, auto); }
.rp-disa { display: flex; gap: 6px; }
.rp-disa .btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; border-radius: 11px; font-size: 13.5px; }
.rp-ozel { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.rp-ozel[hidden] { display: none; }
.rp-ozel label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--muted-2); }
.rp-ozel input { height: 42px; width: 170px; }
.rp-ozel .btn { height: 42px; }
.isi { display: grid; grid-template-columns: 38px repeat(var(--sut), minmax(0, 1fr)); gap: 4px; align-items: center; }
.isi-s { font-size: 11px; color: var(--muted); text-align: center; }
.isi-g { font-size: 12px; font-weight: 700; color: var(--muted-2); }
.isi i { height: 30px; border-radius: 6px; background: color-mix(in srgb, #B3261E calc(var(--o) * 100%), #F3EEEA); display: grid; place-items: center; font: 800 11px var(--font-num); font-style: normal; color: #fff; }
.ts-k { padding: 10px 0; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 3px; }
.ts-k:last-child { border-bottom: none; }
.ts-k span { font-size: 13px; font-weight: 700; color: var(--tc); }
.ts-k b { font: 800 24px var(--font-num); }
.ts-k small { font-size: 12px; color: var(--muted); }
.rp-tablo { width: 100%; border-collapse: collapse; font-size: 14px; }
.rp-tablo th { text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); }
.rp-tablo td { padding: 9px 8px; border-bottom: 1px solid var(--line-2); }
.rp-tablo tr:last-child td { border-bottom: none; }
.rp-tum-kap { max-height: 460px; overflow: auto; }
.rp-tum-ara { height: 36px; width: 200px; border-radius: 10px; }
.pay-cubuk { display: inline-block; width: 70px; height: 6px; border-radius: 3px; background: var(--line-2); margin-right: 8px; vertical-align: middle; overflow: hidden; }
.pay-cubuk i { display: block; height: 100%; background: #B3261E; }
.kp-l { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kp-l div { padding: 12px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); display: flex; flex-direction: column; }
.kp-l span { font-size: 12px; font-weight: 700; color: var(--muted-2); }
.kp-l b { font: 800 19px var(--font-num); }
.kp-l small { font-size: 11.5px; color: var(--muted); }
.kp-l .kirmizi b { color: var(--primary); }
.kp-neden { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.kp-neden div { display: flex; justify-content: space-between; font-size: 13.5px; padding: 4px 0; border-bottom: 1px dashed var(--line-2); }
@media print {
  header.topbar, .statusbar, .rp-disa, #rp-aralik, .rp-ozel, .og-kart .btn, #toasts, #call-popups { display: none !important; }
  main, #main { overflow: visible !important; height: auto !important; }
  .panel:not(#tab-reports) { display: none !important; }
  .rp-kart { break-inside: avoid; }
  .rp-tum-kap { max-height: none; }
}
.rp-grid > .rp-kart:has(#rp-tum) { grid-column: 1 / -1; }

/* ══ 2026-09-30 akşam: dokunmatik / fare modu ve sipariş ekranı rötuşları ══ */
/* Mod düğmesi (üst çubuk) */
.mod-btn { width: auto !important; padding: 0 12px !important; gap: 7px; display: inline-flex !important; align-items: center; font: 700 13px var(--font); }
.mod-btn span { white-space: nowrap; }
@media (max-width: 1500px) { .mod-btn span { display: none; } .mod-btn { padding: 0 !important; width: 44px !important; justify-content: center; } }

/* Kaydet tek başına, tam genişlik (Beklet ve Temizle sepet başlığında) */
.foot-btns, .desk .foot-btns { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: none !important; }
.desk #btn-save-order { grid-area: auto !important; }
.btn-save { justify-content: center; gap: 12px; }
.btn-save::after { content: '→'; font-size: 22px; font-weight: 800; }
.btn-save:disabled::after { content: ''; }
.btn-save b { margin-left: 4px; opacity: .9; }
@media (min-width: 1500px) { .desk .btn-save b { display: none; } }

/* Sepet başlığı: "SEPET 3 ürün" + Beklet / Temizle */
#step-cart.done > .step-h { display: flex !important; }
#step-cart > .step-h .num { display: none; }
#step-cart > .step-h b { font-size: 12px; }
.sh-dug { display: flex; gap: 6px; margin-left: auto; }
#step-cart:not(.done) .sh-dug { display: none; }
.sh-dug .btn-side { height: 36px !important; width: auto !important; flex-direction: row !important; gap: 6px !important; padding: 0 12px !important; border-radius: 10px !important; font-size: 13px !important; background: var(--card); }
.sh-dug .btn-side::after { content: attr(aria-label); }
.sh-dug .btn-side svg { width: 17px; height: 17px; }
.sh-dug #btn-clear-cart:hover { color: var(--primary); border-color: #F3C3BE; }

/* Yeni müşteri: kırmızı değil, sakin krem kart */
@media (min-width: 1500px) {
  .mb-yeni { color: var(--text); background: #FFF9EF; border: 1.5px dashed #E6CF9F; box-shadow: none; }
  .mb-yeni:hover { background: #FFF3DC; border-color: #D8B46A; box-shadow: 0 6px 18px rgba(138, 90, 0, .10); transform: none; }
  .mb-yeni-ic { background: #fff; color: #8A5A00; box-shadow: 0 0 0 1px #EBD9B0; }
  .mb-yeni-y b { color: #5C3D00; }
  .mb-yeni-y small { color: #8A6A2E; opacity: 1; }
  .mb-yeni > svg:last-child { color: #B08A3E; transition: transform .15s; }
  .mb-yeni:hover > svg:last-child { transform: translateX(3px); }
  /* Son arayanlar: etiket her zaman sağda (sepet doluyken de) */
  .desk #step-cust.sepetli .call-item:nth-child(n+2) { display: grid; }
  .desk .call-item em { justify-self: end; }
}

/* Ürün kartı: ad iki satır, eksi düğmesi fotoğrafın sol üstünde */
.pcard .bd b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.4em; }
.pcard .ph { aspect-ratio: 5 / 4; }
.pminus { top: 9px; left: 9px; right: auto; bottom: auto; width: 40px; height: 40px; box-shadow: 0 2px 8px rgba(34, 23, 20, .18); }

/* Sepet satırı: küçük fotoğraf */
.cl-ad { flex-direction: row !important; align-items: center !important; gap: 10px !important; }
.cl-yazi { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cl-foto { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; overflow: hidden; background: var(--sand); }
.cl-foto:empty { background: var(--sand) center / 18px no-repeat; }
.cl-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.desk-left .cart-line { transition: transform .16s ease-out, background .15s; touch-action: pan-y; }
.cart-line.kayiyor { transition: none; }
.cart-line.silinecek { background: #FDECEA; }
.cart-line.gidiyor { opacity: 0; }

/* ── 👆 Dokunmatik mod ── */
body.mod-dokun .desk-left .stepper button { width: 46px !important; height: 46px !important; border-radius: 13px; font-size: 22px; }
body.mod-dokun .desk-left .stepper b { min-width: 30px; font-size: 18px; }
body.mod-dokun .desk-left .cart-line { padding: 10px 0 !important; }
body.mod-dokun .cl-foto { width: 46px; height: 46px; }
body.mod-dokun .cl-ad .nm { font-size: 16px; }
body.mod-dokun .desk .seg button, body.mod-dokun .desk-left .seg button { height: 56px !important; }
body.mod-dokun .btn-save, body.mod-dokun .desk .btn-save { height: 78px !important; font-size: 21px; }
body.mod-dokun .pgrid { grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); }
body.mod-dokun .pminus { width: 46px; height: 46px; }
body.mod-dokun .sh-dug .btn-side { height: 44px !important; padding: 0 14px !important; }
body.mod-dokun .pk-ileri, body.mod-dokun .pk-ikon { height: 52px; }
body.mod-dokun .meta-not, body.mod-dokun .meta-row .zaman-btn, body.mod-dokun .meta-row .ind-btn { height: 40px; }
body.mod-dokun .cl-ad .nm em { display: none; }
body.mod-dokun .desk-left .cart-list::after { content: 'Satırı sola kaydırın: sil · Ada dokunun: not, ikram'; display: block; padding: 10px 0 4px; font-size: 11.5px; color: var(--muted); text-align: center; }
body.mod-dokun .desk-left .cart-list:has(.cart-empty)::after { display: none; }

/* ── 🖱 Fare modu ── */
body.mod-fare .desk-left .stepper button { width: 30px !important; height: 30px !important; border-radius: 8px; font-size: 17px; }
body.mod-fare .desk-left .stepper b { min-width: 22px; font-size: 15px; }
body.mod-fare .desk-left .cart-line { padding: 5px 0 !important; }
body.mod-fare .cl-foto { width: 32px; height: 32px; border-radius: 8px; }
body.mod-fare .desk .seg button { height: 44px !important; }
body.mod-fare .desk .btn-save { height: 60px !important; font-size: 19px; }
body.mod-fare .pgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
body.mod-fare .pcard .ph { aspect-ratio: 4 / 3; }
body.mod-fare .pcard .bd { padding: 7px 10px 9px; }
body.mod-fare .pcard .bd span { font-size: 16px; }
body.mod-fare .pcard:hover { box-shadow: 0 0 0 2px var(--line-3), 0 10px 22px rgba(34, 23, 20, .10); }
body.mod-fare .pcard.in:hover { box-shadow: 0 0 0 3px var(--primary), 0 10px 22px rgba(179, 38, 30, .18); }
body.mod-fare .pminus { width: 34px; height: 34px; font-size: 20px; }
body.mod-fare .cl-ad .nm em { opacity: 0; transition: opacity .12s; }
body.mod-fare .cart-line:hover .cl-ad .nm em { opacity: 1; }
body.mod-fare .cart-line:hover { background: var(--card-2); }
/* Kısayol ipuçları */
body.mod-fare .btn-save:not(:disabled)::before { content: 'F9'; order: 3; font: 800 11px var(--font); padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, .18); letter-spacing: .04em; }
body.mod-fare .find-row { position: relative; }
body.mod-fare .find-row::after { content: 'F2'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 800 11px var(--font); padding: 3px 7px; border-radius: 6px; background: var(--sand); color: var(--muted-2); pointer-events: none; }
body.mod-fare .desk .find-row:has(#btn-new-customer:not([hidden])) #desk-search { padding-right: 48px; }
@media (max-width: 1499px) { .cl-foto { display: none; } .desk-left .cl-ad .nm { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }

/* ══ Dokunmatik düğmesi ve iki mod arasında belirgin fark ══ */
.mod-btn { border: 1px solid rgba(255, 255, 255, .18) !important; color: rgba(255, 255, 255, .72) !important; background: transparent !important; }
.mod-btn.on { background: #fff !important; color: var(--text) !important; border-color: #fff !important; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.mod-btn:not(.on) svg { opacity: .7; }

/* ───────── 👆 DOKUNMATİK AÇIK: her şey parmak için büyük ───────── */
@media (min-width: 1500px) {
  body.mod-dokun .desk { grid-template-columns: minmax(330px, 25fr) minmax(128px, 8fr) minmax(0, 39fr) minmax(390px, 28fr); }
}
/* Sol: müşteri */
body.mod-dokun .desk .find-row input { height: 62px !important; font-size: 18px !important; border-radius: 16px !important; }
body.mod-dokun .mb-yeni { padding: 18px 18px !important; border-radius: 20px !important; }
body.mod-dokun .mb-yeni-ic { width: 56px !important; height: 56px !important; border-radius: 16px !important; }
body.mod-dokun .mb-yeni-y b { font-size: 19px !important; }
body.mod-dokun .mb-yeni-y small { font-size: 13.5px !important; }
body.mod-dokun .desk .call-item { min-height: 74px !important; grid-template-columns: 48px minmax(0, 1fr) auto !important; gap: 14px !important; padding: 10px 12px 10px 14px !important; border-radius: 18px !important; }
body.mod-dokun .desk .call-item .mu-av { width: 48px !important; height: 48px !important; font-size: 17px !important; }
body.mod-dokun .desk .call-item b { font-size: 17.5px !important; }
body.mod-dokun .desk .call-item span { font-size: 13.5px; }
body.mod-dokun .desk .call-item em { font-size: 15px !important; padding: 12px 16px !important; border-radius: 12px !important; }
body.mod-dokun .desk .mk-ik { width: 52px !important; height: 52px !important; border-radius: 15px !important; }
body.mod-dokun .desk .mk-ik svg { width: 22px; height: 22px; }
body.mod-dokun .desk .mk-ust h1 { font-size: 26px !important; }
body.mod-dokun .desk .mk-alt { font-size: 16px !important; padding: 12px 14px !important; }
body.mod-dokun .mk-kpi b { font-size: 20px !important; }
body.mod-dokun .mk-fav-l button { height: 50px !important; padding: 0 16px !important; font-size: 15.5px !important; border-radius: 14px !important; }
body.mod-dokun .desk .mk-tekrar, body.mod-dokun .md-tekrar { height: 44px !important; padding: 0 16px !important; font-size: 14.5px !important; }
body.mod-dokun .desk .mk-gs-alt { font-size: 15.5px; }
body.mod-dokun .addr-chip { height: 46px; padding: 0 16px; font-size: 15px; border-radius: 13px; }
/* Orta: kategoriler ve ürünler */
body.mod-dokun .cat-tile { min-height: 92px !important; max-height: 120px !important; border-radius: 18px; }
body.mod-dokun .cat-tile .ic { width: 50px !important; height: 50px !important; border-radius: 15px; }
body.mod-dokun .cat-tile .tx { font-size: 14px !important; }
body.mod-dokun .pgrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; gap: 16px !important; }
body.mod-dokun .pcard { border-radius: 22px; }
body.mod-dokun .pcard .bd { padding: 12px 14px 14px !important; }
body.mod-dokun .pcard .bd b { font-size: 17px !important; }
body.mod-dokun .pcard .bd span { font-size: 21px !important; }
body.mod-dokun .pcard .qb { min-width: 44px; height: 44px; border-radius: 22px; font-size: 19px; }
body.mod-dokun .pcard:active { transform: scale(.97); }
body.mod-dokun .prod-head input, body.mod-dokun #urun-ara { height: 52px; font-size: 16px; }
/* Sağ: sipariş */
body.mod-dokun .tur-bar .tur-seg button { height: 54px !important; font-size: 16.5px !important; }
body.mod-dokun .tur-bar .park-btn { height: 60px !important; }
body.mod-dokun .cl-ad .nm { font-size: 17px !important; }
body.mod-dokun .cl-alt { font-size: 14px; }
body.mod-dokun .desk-left .cart-line .tt { font-size: 17px !important; }
body.mod-dokun .desk .seg button, body.mod-dokun .desk-left .seg button { height: 62px !important; font-size: 16px !important; }
body.mod-dokun .btn-save, body.mod-dokun .desk .btn-save { height: 86px !important; font-size: 23px !important; border-radius: 20px !important; }
body.mod-dokun .odt-sag b { font-size: 36px !important; }
body.mod-dokun .sh-dug .btn-side { height: 48px !important; font-size: 14.5px !important; padding: 0 16px !important; }
/* Pano */
body.mod-dokun .pano-filtre button, body.mod-dokun .pk-kc { height: 44px; font-size: 15px; }
body.mod-dokun .pk-ileri { height: 58px !important; font-size: 17px !important; }
body.mod-dokun .pk-ikon { width: 52px !important; height: 58px !important; }
body.mod-dokun .pk-no { font-size: 25px; }
body.mod-dokun .pk-musteri { font-size: 17px; }
body.mod-dokun .pk-kalem { font-size: 16px; }
body.mod-dokun .pk-kurye, body.mod-dokun .pk-odeme-btn { height: 40px; font-size: 14px; }
body.mod-dokun .pk-kurye-ara, body.mod-dokun .pk-musteri-ara { height: 44px !important; padding: 0 14px !important; }
/* Üst çubuk sekmeleri */
body.mod-dokun .topbar .tab { height: 48px; font-size: 15.5px; }

/* ───────── 🖱 DOKUNMATİK KAPALI: fare için sıkı ve bilgi yoğun ───────── */
@media (min-width: 1500px) {
  body.mod-fare .desk { grid-template-columns: minmax(280px, 21fr) minmax(92px, 6fr) minmax(0, 48fr) minmax(340px, 25fr); }
}
/* Sol: müşteri — sade liste */
body.mod-fare .desk #step-cust { padding: 14px 16px !important; gap: 10px !important; }
body.mod-fare .mb-bas b { font-size: 17px !important; }
body.mod-fare .mb-bas small { display: none !important; }
body.mod-fare .mb-ic { width: 32px !important; height: 32px !important; border-radius: 10px !important; }
body.mod-fare .desk .find-row input { height: 42px !important; font-size: 14.5px !important; border-radius: 11px !important; }
body.mod-fare .mb-yeni { padding: 8px 12px !important; border-radius: 12px !important; gap: 10px !important; }
body.mod-fare .mb-yeni-ic { width: 30px !important; height: 30px !important; border-radius: 9px !important; }
body.mod-fare .mb-yeni-ic svg { width: 17px; height: 17px; }
body.mod-fare .mb-yeni-y b { font-size: 14.5px !important; }
body.mod-fare .mb-yeni-y small { display: none !important; }
body.mod-fare .desk .calls-mini { gap: 0 !important; background: var(--card); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
body.mod-fare .desk .call-item { min-height: 46px !important; grid-template-columns: 28px minmax(0, 1fr) auto !important; gap: 10px !important; padding: 6px 10px !important; border-radius: 0 !important; box-shadow: none !important; border-bottom: 1px solid var(--line-2) !important; }
body.mod-fare .desk .call-item:last-child { border-bottom: none !important; }
body.mod-fare .desk .call-item:hover { background: var(--card-2); }
body.mod-fare .desk .call-item .mu-av { width: 28px !important; height: 28px !important; font-size: 11px !important; }
body.mod-fare .desk .call-item b { font-size: 14px !important; }
body.mod-fare .desk .call-item span { font-size: 12px; }
body.mod-fare .desk .call-item em { font-size: 12px !important; padding: 4px 9px !important; opacity: 0; transition: opacity .12s; }
body.mod-fare .desk .call-item:hover em { opacity: 1; }
body.mod-fare .desk .mk-ik { width: 34px !important; height: 34px !important; border-radius: 10px !important; }
body.mod-fare .desk .mk-ik svg { width: 16px; height: 16px; }
body.mod-fare .desk .mk-av .mu-av { width: 40px !important; height: 40px !important; font-size: 15px !important; }
body.mod-fare .desk .mk-ust h1 { font-size: 20px !important; }
body.mod-fare .desk .mk-alt { font-size: 13.5px !important; padding: 8px 10px !important; }
body.mod-fare .mk-kpi div { padding: 7px 10px !important; }
body.mod-fare .mk-kpi b { font-size: 15px !important; }
body.mod-fare .mk-fav-l button { height: 30px !important; padding: 0 10px !important; font-size: 12.5px !important; border-radius: 8px !important; }
body.mod-fare .desk .mk-tekrar { height: 28px !important; padding: 0 10px !important; font-size: 12px !important; opacity: .0; transition: opacity .12s; }
body.mod-fare .desk .mk-gs:hover .mk-tekrar { opacity: 1; }
body.mod-fare .desk .mk-gs-alt { font-size: 13px; }
body.mod-fare .desk .mk-gs { padding: 6px 0; }
/* Orta: kategoriler yatay satır, ürünler küçük */
body.mod-fare .cat-rail { padding: 10px 6px !important; gap: 4px !important; }
body.mod-fare .cat-tile { flex: 0 0 auto !important; min-height: 54px !important; max-height: none !important; border-radius: 12px; gap: 4px; }
body.mod-fare .cat-tile .ic { width: 30px !important; height: 30px !important; border-radius: 9px; }
body.mod-fare .cat-tile .ic svg { width: 17px; height: 17px; }
body.mod-fare .cat-tile .tx { font-size: 11.5px !important; }
body.mod-fare .cat-tile:hover { background: var(--sand); }
body.mod-fare .pgrid { grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)) !important; gap: 10px !important; }
body.mod-fare .pcard { border-radius: 14px; }
body.mod-fare .pcard .ph { aspect-ratio: 16 / 11 !important; }
body.mod-fare .pcard .bd { padding: 6px 9px 8px !important; }
body.mod-fare .pcard .bd b { font-size: 13.5px !important; min-height: 2.4em; }
body.mod-fare .pcard .bd span { font-size: 15px !important; }
body.mod-fare .pcard .qb { min-width: 28px; height: 28px; font-size: 14px; top: 6px; right: 6px; }
body.mod-fare .pminus { width: 28px !important; height: 28px !important; font-size: 17px !important; top: 6px !important; left: 6px !important; opacity: 0; transition: opacity .12s; }
body.mod-fare .pcard:hover .pminus { opacity: 1; }
/* Sağ: sipariş */
body.mod-fare .tur-bar .tur-seg button { height: 36px !important; font-size: 13.5px !important; }
body.mod-fare .tur-bar .park-btn { height: 40px !important; }
body.mod-fare .cl-ad .nm { font-size: 14px !important; }
body.mod-fare .cl-alt { font-size: 12px; }
body.mod-fare .desk-left .cart-line .tt { font-size: 14px !important; }
body.mod-fare .desk-left .stepper { opacity: .55; transition: opacity .12s; }
body.mod-fare .desk-left .cart-line:hover .stepper { opacity: 1; }
body.mod-fare .sh-dug .btn-side { height: 30px !important; font-size: 12px !important; padding: 0 9px !important; }
body.mod-fare .desk .seg button { height: 40px !important; font-size: 13.5px !important; }
body.mod-fare .desk .btn-save { height: 54px !important; font-size: 17px !important; border-radius: 14px !important; }
body.mod-fare .odt-sag b { font-size: 26px !important; }
/* Pano: sıkı */
body.mod-fare .pk-ileri { height: 38px !important; font-size: 14px !important; }
body.mod-fare .pk-ikon { width: 38px !important; height: 38px !important; }
body.mod-fare .pkart { padding: 10px 12px; }
body.mod-fare .pk-no { font-size: 19px; }
/* Eksi düğmesi yeniden sağ altta, fiyatın hizasında (ad iki satır olduğu için üstüne binmez) */
.pminus { top: auto !important; left: auto !important; right: 10px !important; bottom: 10px !important; opacity: 1 !important; }
body.mod-fare .pminus { right: 8px !important; bottom: 7px !important; }
body.mod-dokun .pminus { right: 12px !important; bottom: 12px !important; }
.pcard .bd b { padding-right: 0; }
.pcard.in .bd span { padding-right: 52px; }
body.mod-fare .pminus, body.mod-dokun .pminus { top: auto !important; left: auto !important; opacity: 1 !important; }

/* Sepete uçan ürün */
.ucan-urun { position: fixed; z-index: 90; border-radius: 18px; overflow: hidden; pointer-events: none; display: grid; place-items: center; font: 800 18px var(--font-num); color: var(--primary);
  box-shadow: 0 10px 26px rgba(34, 23, 20, .28), 0 0 0 3px #fff; will-change: transform, opacity; }
.ucan-urun img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes zipla { 0% { transform: scale(1); } 35% { transform: scale(1.06); } 70% { transform: scale(.98); } 100% { transform: scale(1); } }
@keyframes satir-parla { 0% { background: color-mix(in srgb, var(--primary) 12%, transparent); } 100% { background: transparent; } }
.cart-line.zipla { animation: satir-parla .9s ease-out; }
.cart-line.zipla .cl-foto, .cart-line.zipla .stepper b { animation: zipla .35s ease-out; }
#cart-count.zipla { display: inline-block; animation: zipla .35s ease-out; color: var(--primary); }
/* Dar ekranda son arayanlarda rozet yok: iki sütun */
@media (max-width: 1499px) {
  body.mod-dokun .desk .call-item, body.mod-fare .desk .call-item { grid-template-columns: minmax(0, 1fr) auto !important; }
  body.mod-fare .desk .call-item em { opacity: 1; }
}
/* Daha çarpıcı uçuş */
.ucan-urun { border-radius: 22px; box-shadow: 0 18px 40px rgba(34, 23, 20, .35), 0 0 0 4px #fff; }
.ucan-urun.iz { box-shadow: 0 0 0 3px rgba(255, 255, 255, .6); filter: blur(1px) saturate(1.2); }
.varis-halka { position: fixed; z-index: 91; width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--primary); pointer-events: none; box-shadow: 0 0 18px rgba(179, 38, 30, .45); }
.varis-kivilcim { position: fixed; z-index: 91; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; }
.varis-tutar { position: fixed; z-index: 92; width: 90px; text-align: right; font: 800 18px var(--font-num); color: var(--ok); pointer-events: none; text-shadow: 0 2px 0 #fff, 0 0 12px #fff; }
.odt-sag.zipla b { display: inline-block; animation: zipla .4s ease-out; color: var(--primary); transition: color .6s; }

/* ══ 2026-09-30 gece: büyük güncelleme ══ */
/* Ayarlar: banner kaybolmasın (yapışık, kayınca küçülür) · logoda beyaz çerçeve yok */
#tab-settings .ay-hero { position: sticky; top: -16px; z-index: 8; transition: border-radius .2s, box-shadow .2s; }
#tab-settings .ay-hero.kucuk { padding: 12px 20px; border-radius: 0 0 20px 20px; box-shadow: 0 10px 30px rgba(34, 23, 20, .25); }
#tab-settings .ay-hero.kucuk .ay-ozet, #tab-settings .ay-hero.kucuk .ay-alt, #tab-settings .ay-hero.kucuk .ay-etiket { display: none; }
#tab-settings .ay-hero.kucuk .ay-logo { width: 46px; height: 46px; border-radius: 14px; }
#tab-settings .ay-hero.kucuk h1 { font-size: 22px; }
#tab-settings .ay-hero.kucuk .ay-lisans { transform: scale(.85); transform-origin: right center; }
#tab-settings .ay-nav { top: 150px; }
.ay-logo { background: rgba(255, 255, 255, .08) !important; box-shadow: none !important; border: 1px solid rgba(255, 255, 255, .14); }
.ay-logo:has(img) { background: transparent !important; border: none; }
.ay-logo img { padding: 0 !important; object-fit: cover !important; border-radius: inherit; }
.ay-logo span { color: #fff !important; }
/* Fare modunda görseller kırpılmasın */
body.mod-fare .pcard .ph { aspect-ratio: 1 / 1 !important; }
/* Müşteriyi aramak: tek bakışta belli */
.mk-ara-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 14px; background: #1A7F37; color: #fff !important; font: 800 16px var(--font); text-decoration: none; box-shadow: 0 8px 18px rgba(26, 127, 55, .25); letter-spacing: .01em; }
.mk-ara-btn svg { width: 19px; height: 19px; }
.mk-ara-btn:hover { background: #156B2E; }
.mk-ara-btn:active { transform: scale(.98); }
.mk-ara-btn.canli { background: var(--soft); color: var(--primary-dark) !important; box-shadow: none; justify-content: space-between; padding: 0 16px; }
.mk-ara-btn.canli .mk-canli { font-size: 14px; }
body.mod-dokun .mk-ara-btn { height: 58px; font-size: 18px; }
body.mod-fare .mk-ara-btn { height: 40px; font-size: 14.5px; box-shadow: none; }
@media (max-width: 1499px) { .mk-ara-btn { height: 40px; font-size: 14px; } }
.pano-filtre-bilgi { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px; background: #FFF7E6; border: 1px solid #F2DC9B; color: var(--note-fg); font-size: 14px; }
.pano-filtre-bilgi[hidden] { display: none; }
.pano-filtre-bilgi button { margin-left: auto; height: 34px; padding: 0 14px; border-radius: 9px; border: none; background: var(--note-fg); color: #fff; font: 700 13px var(--font); cursor: pointer; }
.pano-iskelet { height: 150px; border-radius: 16px; background: linear-gradient(90deg, var(--card) 0%, var(--card-2) 50%, var(--card) 100%); background-size: 200% 100%; animation: iskelet 1.2s linear infinite; box-shadow: 0 0 0 1px var(--line); }
@keyframes iskelet { to { background-position: -200% 0; } }

/* Onay penceresi */
.onay-dlg { width: min(460px, calc(100vw - 32px)); border: none; border-radius: 26px; padding: 28px 26px 22px; background: var(--card); box-shadow: 0 30px 80px rgba(34, 23, 20, .35); text-align: center; animation: od-gir .22s cubic-bezier(.2,.9,.3,1.2); }
.onay-dlg::backdrop { background: rgba(34, 23, 20, .45); backdrop-filter: blur(3px); }
.onay-dlg.kapaniyor { animation: od-cik .16s ease-in forwards; }
@keyframes od-gir { from { transform: translateY(14px) scale(.94); opacity: 0; } }
@keyframes od-cik { to { transform: scale(.96); opacity: 0; } }
.od-ic { width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center; background: #FFF4E0; color: #B7791F; }
.onay-dlg.tehlike .od-ic { background: #FDECEA; color: var(--primary); animation: od-salla .5s .15s; }
.onay-dlg.ok .od-ic { background: #E3F3E7; color: var(--ok); }
@keyframes od-salla { 20%, 60% { transform: rotate(-8deg); } 40%, 80% { transform: rotate(8deg); } }
.onay-dlg h3 { margin: 0 0 6px; font: 800 22px/1.25 var(--font-num); letter-spacing: -.01em; }
.onay-dlg p { margin: 0; color: var(--muted-2); font-size: 15px; line-height: 1.5; }
.od-neden { margin-top: 18px; text-align: left; }
.od-neden > span { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.od-neden > div { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.od-neden button { height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font: 700 14px var(--font); color: var(--text-2); cursor: pointer; }
.od-neden button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.od-neden input { width: 100%; height: 44px; border-radius: 12px; }
.od-dug { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; margin-top: 22px; }
.od-dug button { height: 56px; border-radius: 16px; font: 800 16px var(--font); cursor: pointer; border: none; }
.od-hayir { background: var(--sand); color: var(--text); }
.od-evet { background: var(--text); color: #fff; }
.onay-dlg.tehlike .od-evet { background: var(--primary); box-shadow: 0 10px 22px rgba(179, 38, 30, .3); }
.onay-dlg.ok .od-evet { background: var(--ok); }
/* Tablet Modu düğmesi: anahtar görünümlü */
.mod-btn .mod-anahtar { width: 30px; height: 18px; border-radius: 9px; background: rgba(255, 255, 255, .22); position: relative; flex-shrink: 0; transition: background .2s; }
.mod-btn .mod-anahtar::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.mod-btn.on .mod-anahtar { background: var(--ok); }
.mod-btn.on .mod-anahtar::after { transform: translateX(12px); }
@media (max-width: 1500px) { .mod-btn .mod-anahtar { display: none; } }
/* Mod duyurusu */
.mod-duyuru { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(34, 23, 20, .55); backdrop-filter: blur(6px); animation: mdd-gir .25s ease-out; pointer-events: none; }
.mod-duyuru.gidiyor { animation: mdd-cik .45s ease-in forwards; }
@keyframes mdd-gir { from { opacity: 0; } }
@keyframes mdd-cik { to { opacity: 0; } }
.md-kutu { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 36px 56px; border-radius: 34px; background: var(--card); box-shadow: 0 40px 100px rgba(0, 0, 0, .4); animation: mdk-gir .5s cubic-bezier(.2, 1.4, .4, 1); text-align: center; }
@keyframes mdk-gir { from { transform: scale(.6) rotate(-4deg); opacity: 0; } }
.md-cihaz { position: relative; color: var(--primary); animation: md-dön .7s .1s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes md-dön { from { transform: rotate(-90deg); } }
.md-parmak { position: absolute; right: -22px; bottom: -8px; color: var(--text); animation: md-dokun .8s .35s ease-in-out 2; }
@keyframes md-dokun { 50% { transform: translate(-6px, -8px) scale(.9); } }
.md-kutu b { font: 900 44px/1 var(--font-num); letter-spacing: .06em; color: var(--text); margin-top: 6px; }
.mod-duyuru.kapali .md-kutu b { font-size: 30px; letter-spacing: 0; }
.md-kutu span { color: var(--muted-2); font-size: 15px; }

/* Çok satanlar: rozet ve ara sıra zarif kıpırtı */
.pcard .ph { position: relative; }
.cs-rozet { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px 0 7px; border-radius: 12px;
  background: linear-gradient(135deg, #F6C453, #E08A1E); color: #4A2A00; font: 800 11.5px var(--font); letter-spacing: .01em; box-shadow: 0 3px 10px rgba(224, 138, 30, .35); }
.cs-rozet svg { flex-shrink: 0; }
body.mod-fare .cs-rozet { height: 20px; font-size: 10.5px; left: 6px; bottom: 6px; }
.pcard.cok-satan { animation: cs-kipir 9s var(--cs-gecikme, 0s) infinite; }
.pcard.cok-satan .cs-rozet { animation: cs-parla 9s var(--cs-gecikme, 0s) infinite; }
@keyframes cs-kipir { 0%, 90%, 100% { transform: none; } 92% { transform: rotate(-1.4deg) scale(1.015); } 94% { transform: rotate(1.2deg) scale(1.015); } 96% { transform: rotate(-.6deg); } 98% { transform: none; } }
@keyframes cs-parla { 0%, 89%, 100% { filter: none; } 93% { filter: brightness(1.2) drop-shadow(0 0 6px rgba(246, 196, 83, .9)); } }
/* Boş sepette Kaydet: "önce ürün" */
.btn-save.bos { background: var(--line) !important; color: var(--muted) !important; box-shadow: none !important; cursor: pointer; }
.btn-save.bos::after, .btn-save.bos::before { content: '' !important; display: none; }
.btn-save.hayir { animation: hayir .45s; }
@keyframes hayir { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.pcard.buradayim { animation: buradayim 1.2s var(--by, 0s) cubic-bezier(.3, 1.6, .5, 1) !important; box-shadow: 0 0 0 3px #F6C453, 0 14px 30px rgba(224, 138, 30, .35) !important; z-index: 2; }
@keyframes buradayim { 0% { transform: none; } 18% { transform: translateY(-12px) scale(1.05); } 36% { transform: translateY(0) scale(.98); } 52% { transform: translateY(-5px) scale(1.02); } 70%, 100% { transform: none; } }
/* Varolan ürüne +1 */
.ucan-arti { position: absolute; top: -10px; right: -10px; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 17px; background: var(--primary); color: #fff; font: 900 16px/34px var(--font-num); text-align: center; box-shadow: 0 0 0 3px #fff; animation: arti-yanip .3s ease-in-out infinite alternate; }
.ucan-urun { overflow: visible !important; }
.ucan-urun img { border-radius: inherit; }
@keyframes arti-yanip { to { transform: scale(1.18); background: #E0452E; } }
.cart-line.arti .stepper b { color: var(--primary); animation: arti-sayi .9s ease-out; }
@keyframes arti-sayi { 0%, 40% { transform: scale(1.5); } 100% { transform: none; } }
.pcard .qb.yanip { animation: qb-yanip .9s ease-out; }
@keyframes qb-yanip { 0%, 50% { transform: scale(1.35); box-shadow: 0 0 0 6px rgba(179, 38, 30, .25); } 25%, 75% { transform: scale(1); } 100% { transform: none; box-shadow: none; } }
/* Temizle belirgin */
.sh-dug #btn-clear-cart { border-color: #F3C3BE !important; color: var(--primary) !important; background: #FFF6F5 !important; }
.sh-dug #btn-clear-cart:hover { background: var(--primary) !important; color: #fff !important; }

/* ══ Pano: mantıklı gruplama ══ */
#tab-pano .pano-head { display: flex; align-items: stretch; gap: 14px; flex-wrap: wrap; }
.ph-sol { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; flex: 1; min-width: 0; }
.ph-sol h2 { margin: 0; white-space: nowrap; }
.ph-sag { display: flex; align-items: center; gap: 10px; }
/* Özet: tek kart, bölmeli */
#tab-pano .pano-ozet { display: flex; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px; flex-wrap: wrap; }
#tab-pano .pano-ozet:has(.sakin) { background: transparent; border: none; }
#tab-pano .po { height: 44px; border: none; border-radius: 12px; background: transparent; padding: 0 14px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; font-size: 11.5px; line-height: 1.1; color: var(--muted); }
#tab-pano .po b { font-size: 18px; line-height: 1.1; order: -1; }
#tab-pano .po + .po { box-shadow: -1px 0 0 var(--line-2); border-radius: 0 12px 12px 0; }
#tab-pano .po.kirmizi { background: #FDECEA; box-shadow: none; border-radius: 12px; margin: 0 2px; color: var(--primary-dark); }
#tab-pano .po.kirmizi.on { background: var(--primary); color: #fff; }
.pano-tahmin { height: 54px; border-radius: 16px; }
.pano-yogun { height: 54px; padding: 0 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
/* Araç çubuğu */
.pano-arac { padding: 8px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); gap: 14px !important; }
.pa-grup { display: flex; align-items: center; gap: 8px; }
.pa-e { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-left: 6px; }
.pa-kurye:has(.pano-kuryeler:empty) { display: none; }
.pa-grup + .pa-grup { padding-left: 14px; border-left: 1px solid var(--line-2); }
.pa-araclar { display: flex; gap: 6px; }
.pano-arac .pano-ara { background: var(--card-2); }
/* Tablet: kartı parmakla atma */
body.mod-dokun .pkart { touch-action: pan-y; }
.pkart.atiliyor { transition: none; z-index: 5; position: relative; }
.pkart.atiliyor::after { position: absolute; top: 50%; transform: translateY(-50%); padding: 10px 16px; border-radius: 14px; font: 800 16px var(--font); color: #fff; opacity: .0; transition: opacity .12s; pointer-events: none; white-space: nowrap; }
.pkart.atiliyor.sag::after { content: attr(data-ileri) '  →'; left: 16px; background: var(--ok); }
.pkart.atiliyor.sol::after { content: '←  ' attr(data-geri); right: 16px; background: #5C4A42; }
.pkart.atiliyor.sag:not([data-ileri=""])::after, .pkart.atiliyor.sol:not([data-geri=""])::after { opacity: .55; }
.pkart.atiliyor.hazir::after { opacity: 1 !important; }
.pkart.atiliyor.hazir.sag { box-shadow: 0 0 0 3px var(--ok), 0 18px 40px rgba(26, 127, 55, .25); }
.pkart.atiliyor.hazir.sol { box-shadow: 0 0 0 3px #5C4A42, 0 18px 40px rgba(34, 23, 20, .25); }
body.mod-dokun #tab-pano .pano-ipucu-atma { display: block; }

/* ══ Müşteri: tür ve fotoğraf ══ */
.mf-ust { display: flex; align-items: center; gap: 16px; }
.mf-foto { width: 84px; height: 84px; border-radius: 50%; border: 2px dashed var(--line-3); background: var(--card-2); display: grid; place-items: center; overflow: hidden; cursor: pointer; flex-shrink: 0; color: var(--muted); padding: 0; }
.mf-foto:hover { border-color: var(--primary); color: var(--primary); }
.mf-foto img { width: 100%; height: 100%; object-fit: cover; }
.mf-foto span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; }
.mf-foto:has(img:not([hidden])) { border: 3px solid #fff; box-shadow: 0 6px 18px rgba(34, 23, 20, .18); }
.mf-sag { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mf-tur { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--sand); }
.mf-tur[hidden] { display: none; }
.mf-tur button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: none; border-radius: 11px; background: transparent; font: 700 15px var(--font); color: var(--muted-2); cursor: pointer; }
.mf-tur button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(34, 23, 20, .14), 0 0 0 1px var(--line); }
.mf-tur button[data-mt="firma"][aria-pressed="true"] { color: #1D6FB8; }
.mf-foto-sil { border: none; background: none; color: var(--primary); font: 700 12.5px var(--font); cursor: pointer; padding: 0; }
.mf-foto-sil[hidden] { display: none; }
.mu-av.foto { overflow: hidden; background: #fff !important; box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(34, 23, 20, .15); }
.mu-av.foto img { width: 100%; height: 100%; object-fit: cover; }
.mu-av.firma { border-radius: 30%; background: #E6F0FA !important; color: #1D6FB8 !important; }
.mu-rz.firma { background: #E6F0FA; color: #1D6FB8; }
/* Müşteri dosyası: kapak */
.mu-detay { position: sticky; overflow: auto; padding-top: 0 !important; }
.md-kapak { height: 92px; margin: 0 -22px -48px; background: radial-gradient(120% 140% at 0% 0%, var(--kf) 0%, transparent 55%), linear-gradient(135deg, var(--kb), color-mix(in srgb, var(--kf) 35%, var(--kb))); opacity: .9; flex-shrink: 0; }
.md-ust2 { position: relative; align-items: flex-end !important; }
.md-av-kap { position: relative; flex-shrink: 0; }
.md-av-kap .mu-av { box-shadow: 0 0 0 4px var(--card), 0 10px 24px rgba(34, 23, 20, .18); }
.md-kamera { position: absolute; right: -2px; bottom: -2px; width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--card); background: var(--text); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.md-kamera:hover { background: var(--primary); }
.md-kim { padding-bottom: 4px; }

/* ══ Raporlar: yorum, hedef, kıvılcım, menü karnesi, müşteri tipleri ══ */
.rp-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 26px; border-radius: 24px; color: #fff;
  background: radial-gradient(120% 160% at 100% 0%, rgba(232, 163, 61, .35) 0%, transparent 45%), radial-gradient(90% 120% at 0% 100%, rgba(179, 38, 30, .55) 0%, transparent 60%), #2A1C18; box-shadow: 0 18px 40px rgba(34, 23, 20, .22); }
.rh-marka { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.rh-metin { margin: 10px 0 0; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .92); max-width: 980px; }
.rh-metin b { color: #fff; }
.rh-metin b.iyi { color: #7EE2A0; } .rh-metin b.kotu { color: #FFB4AA; }
.rh-yarin { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.rh-yarin .rh-e { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #F6C453; }
.rh-yarin b { font: 800 17px var(--font-num); }
.rh-yarin span:last-child { font-size: 12.5px; color: rgba(255, 255, 255, .65); }
.rh-sag { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rh-hedef { position: relative; width: 140px; height: 140px; cursor: default; }
.rh-hedef[data-hedef] { cursor: pointer; }
.rh-hedef svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rh-iz { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 10; }
.rh-dolu { fill: none; stroke: #F6C453; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.rh-dolu.tamam { stroke: #7EE2A0; }
.rh-ic { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.rh-ic b { font: 800 30px var(--font-num); }
.rh-ic span { font-size: 11.5px; color: rgba(255, 255, 255, .65); max-width: 100px; }
.rh-kalan { font-size: 13px; color: rgba(255, 255, 255, .75); }
.rh-kalan b { color: #fff; } .rh-kalan.tamam { color: #7EE2A0; font-weight: 800; }
.kivilcim { width: 100%; height: 38px; margin-top: 8px; display: block; }
.kv-alan { fill: color-mix(in srgb, var(--primary) 12%, transparent); stroke: none; }
.kv-cizgi { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.kv-nokta { fill: var(--primary); stroke: var(--card); stroke-width: 2; }
.kpi:first-child .kv-alan { fill: rgba(246, 196, 83, .16); } .kpi:first-child .kv-cizgi { stroke: #F6C453; } .kpi:first-child .kv-nokta { fill: #F6C453; stroke: var(--text); }
.karne { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start; }
.karne svg { width: 100%; height: auto; display: block; }
.kb { opacity: .5; } .kb.yildiz { fill: #FFF4D6; } .kb.at { fill: #E9F4EC; } .kb.bulmaca { fill: #EAF1FA; } .kb.zayif { fill: #F6EDEA; }
.kc { stroke: var(--line-3); stroke-dasharray: 4 4; }
.kbe { font: 800 12px var(--font); } .kbe.yildiz { fill: #8A5A00; } .kbe.at { fill: #1A7F37; } .kbe.bulmaca { fill: #1D6FB8; } .kbe.zayif { fill: #8A4A3A; }
.kn circle { stroke: var(--card); stroke-width: 2; opacity: .9; cursor: default; transition: transform .15s; }
.kn.yildiz circle { fill: #E08A1E; } .kn.at circle { fill: #1A7F37; } .kn.bulmaca circle { fill: #1D6FB8; } .kn.zayif circle { fill: #B38A7F; }
.kn:hover circle { opacity: 1; stroke: var(--text); }
.kne { font: 700 11.5px var(--font); fill: var(--text-2); paint-order: stroke; stroke: var(--card); stroke-width: 3px; }
.karne-yan { display: flex; flex-direction: column; gap: 8px; }
.ky { padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card-2); }
.ky b { display: flex; justify-content: space-between; font-size: 14px; } .ky b span { font-family: var(--font-num); }
.ky.yildiz b { color: #8A5A00; } .ky.at b { color: #1A7F37; } .ky.bulmaca b { color: #1D6FB8; } .ky.zayif b { color: #8A4A3A; }
.ky p { margin: 3px 0; font-size: 12.5px; color: var(--muted-2); line-height: 1.4; }
.ky small { font-size: 12px; color: var(--text-2); font-weight: 600; }
.tip-bar { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden; margin: 4px 0 14px; }
.tip-bar i { display: block; height: 100%; }
.tip-l { display: flex; flex-direction: column; gap: 10px; }
.tip-s { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.tip-n { width: 12px; height: 12px; border-radius: 4px; }
.tip-s b { display: block; font-size: 14.5px; } .tip-s small { font-size: 12px; color: var(--muted); }
.tip-t { text-align: right; } .tip-t b { font-family: var(--font-num); }
@media (max-width: 1100px) { .rp-hero { grid-template-columns: 1fr; } .karne { grid-template-columns: 1fr; } }
@media print { .rp-hero { color: #000; background: #fff !important; box-shadow: none; border: 1px solid #ccc; } }

/* ══ Gün sonu: sahne, küpür sayacı, kutlama ══ */
.kasa-dialog { width: min(960px, calc(100vw - 32px)); border-radius: 28px; overflow: hidden; }
.ks-sahne { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: end; margin: 14px 0 4px; padding: 22px 24px; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 160% at 100% 0%, rgba(246, 196, 83, .32) 0%, transparent 45%), radial-gradient(90% 120% at 0% 100%, rgba(179, 38, 30, .5) 0%, transparent 60%), #2A1C18; }
.kss-sol { display: flex; flex-direction: column; gap: 4px; }
.kss-e { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.kss-ciro { font: 900 54px/1 var(--font-num); letter-spacing: -.03em; }
.kss-alt { font-size: 14px; color: rgba(255, 255, 255, .75); }
.kss-alt em { font-style: normal; font-weight: 800; } .kss-alt em.iyi { color: #7EE2A0; } .kss-alt em.kotu { color: #FFB4AA; }
.kss-yildiz { margin-top: 8px; display: inline-flex; align-self: flex-start; gap: 6px; padding: 6px 12px; border-radius: 12px; background: rgba(246, 196, 83, .16); color: #F6C453; font-size: 13.5px; }
.kss-yildiz b { color: #fff; }
.kss-grafik { display: flex; flex-direction: column; gap: 4px; }
.kss-grafik .kivilcim { height: 70px; }
.kss-grafik .kv-alan { fill: rgba(246, 196, 83, .18); } .kss-grafik .kv-cizgi { stroke: #F6C453; stroke-width: 2.5; } .kss-grafik .kv-nokta { fill: #F6C453; stroke: #2A1C18; }
.kss-grafik span { font-size: 11px; color: rgba(255, 255, 255, .5); text-align: right; }
.ks-kartlar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ks-k { padding: 12px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.ks-k small { font-size: 12px; font-weight: 700; color: var(--muted); }
.ks-k b { font: 800 26px/1.15 var(--font-num); }
.ks-k span { font-size: 12px; color: var(--muted); }
.ks-k.nakit { background: #F1FAF3; border-color: #CDEBD5; } .ks-k.nakit b { color: var(--ok); }
.ks-k.kirmizi b { color: var(--primary); }
.ks-bolum { margin-top: 18px; }
.ks-odbar { display: flex; gap: 3px; height: 16px; border-radius: 8px; overflow: hidden; margin: 8px 0 10px; }
.ks-odbar i { display: block; min-width: 3px; }
.ks-odl { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.ks-odl > div { display: grid; grid-template-columns: 10px 1fr auto; grid-template-areas: "n a b" "n c b"; column-gap: 8px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line-2); }
.ks-nokta { grid-area: n; width: 10px; height: 10px; border-radius: 3px; }
.ks-odl span:nth-child(2) { grid-area: a; font-weight: 700; font-size: 14px; } .ks-odl small { grid-area: c; font-size: 11.5px; color: var(--muted); } .ks-odl b { grid-area: b; font: 800 16px var(--font-num); }
.ks-kuryeler { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin-top: 8px; }
.ks-kurye { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.ks-kurye div { flex: 1; min-width: 0; } .ks-kurye b { display: block; } .ks-kurye small { font-size: 12px; color: var(--muted); }
.ks-kurye em { font: 800 17px var(--font-num); font-style: normal; color: var(--ok); }
.ks-sayim2 { padding: 16px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--line); }
.ks-kupurler { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 10px 0 14px; }
.ks-kupur { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 58px; border-radius: 14px; background: #EAF5EC; border: 1px solid #CDEBD5; overflow: hidden; }
.ks-kupur.bozuk { background: #FFF6E5; border-color: #F2DC9B; }
.ks-kupur.dolu { box-shadow: 0 0 0 2px var(--ok); }
.ks-kupur.bozuk.dolu { box-shadow: 0 0 0 2px #B7791F; }
.ks-kupur button { height: 100%; border: none; background: transparent; font: 800 22px var(--font); color: var(--text-2); cursor: pointer; }
.ks-kupur button:active { background: rgba(0, 0, 0, .06); }
.kp-d { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.kp-d b { font: 800 17px var(--font-num); } .kp-d small { font-size: 11px; color: var(--muted-2); white-space: nowrap; }
.ks-sonuc { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.ks-not { display: block; margin-top: 10px; }
.ks-kutla { background: radial-gradient(circle at 50% 40%, rgba(42, 28, 24, .7), rgba(10, 6, 5, .85)) !important; overflow: hidden; }
.ks-kutla .md-kutu { background: #2A1C18; color: #fff; }
.ks-kutla .md-kutu b { color: #fff; font-size: 40px; letter-spacing: 0; }
.ks-kutla .md-kutu span { color: rgba(255, 255, 255, .75); } .ks-kutla strong { color: #F6C453; }
.kk-ay { color: #F6C453; animation: md-dön .9s cubic-bezier(.3, 1.3, .5, 1); }
.kk-yildiz { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #F6C453; box-shadow: 0 0 8px #F6C453; opacity: 0; animation: kk-parla 1.6s ease-in-out infinite; }
@keyframes kk-parla { 50% { opacity: 1; transform: scale(1.8); } }
@media (max-width: 800px) { .ks-sahne { grid-template-columns: 1fr; } .ks-kartlar { grid-template-columns: 1fr; } }

/* ══ Fırsat radarı ══ */
.firsat-radar { margin-top: 16px; padding: 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.fr-e { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.fr-ust h3 { margin: 2px 0 0; font: 800 22px var(--font-num); } .fr-ust p { margin: 2px 0 0; color: var(--muted-2); font-size: 14px; }
.fr-gruplar { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 16px 0; }
.fr-gruplar button { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--card-2); text-align: left; cursor: pointer; color: var(--text); font: inherit; }
.fr-gruplar button[aria-selected="true"] { background: var(--text); border-color: var(--text); color: #fff; box-shadow: 0 10px 22px rgba(34, 23, 20, .2); }
.fr-gruplar button.bos:not([aria-selected="true"]) { opacity: .55; }
.fr-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--primary); font: 900 18px var(--font-num); }
.fr-gruplar button[aria-selected="true"] .fr-ic { background: rgba(255, 255, 255, .14); color: #F6C453; }
.fr-y b { display: block; font-size: 14px; } .fr-y small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.fr-gruplar button[aria-selected="true"] .fr-y small { color: rgba(255, 255, 255, .6); }
.fr-gruplar em { font: 800 20px var(--font-num); font-style: normal; }
.fr-govde { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 18px; align-items: start; }
.fr-sol { display: flex; flex-direction: column; gap: 12px; }
.fr-sol .sablon { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.fr-sol textarea { width: 100%; }
.fr-onizleme { padding: 16px; border-radius: 16px; background-color: #E9DFD4; background-image: radial-gradient(#d6c9bb 1.2px, transparent 1.2px); background-size: 20px 20px; }
.wa-balon { position: relative; max-width: 92%; margin-left: auto; padding: 8px 10px 20px; border-radius: 10px 0 10px 10px; background: #DCF8C6; font-size: 14px; line-height: 1.45; color: #1f2d1f; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); white-space: pre-wrap; }
.wa-balon small { position: absolute; right: 8px; bottom: 3px; font-size: 10.5px; color: #5e7a5e; }
.fr-liste { max-height: 520px; overflow: auto; }
@media (max-width: 1000px) { .fr-govde { grid-template-columns: 1fr; } }

.ucan-arti { background: #1A7F37 !important; min-width: 44px !important; height: 44px !important; border-radius: 22px !important; font-size: 22px !important; line-height: 44px !important; top: -16px !important; right: -16px !important; }
@keyframes arti-yanip { to { transform: scale(1.25); background: #2FB356; } }
.cart-line.arti { animation: arti-satir 1s ease-out; }
@keyframes arti-satir { 0%, 30% { background: rgba(26,127,55,.16); box-shadow: inset 4px 0 0 #1A7F37; } 100% { background: transparent; box-shadow: none; } }
.cart-line.arti .stepper b { color: #1A7F37 !important; }

/* Adet değişimi: şık +1 / −1 hapı */
.adet-bagir { --ab: #1A7F37; --ab2: #34C265; position: fixed; z-index: 9999; width: 0; height: 0; pointer-events: none; }
.adet-bagir.eksi { --ab: #B3261E; --ab2: #E5533F; }
.adet-bagir .ab-hap { position: absolute; left: 0; top: 0; translate: -50% -50%; display: flex; align-items: center; gap: 12px; padding: 7px 18px 7px 7px; white-space: nowrap;
  border-radius: 999px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--ab) 45%, transparent), 0 18px 40px -10px color-mix(in srgb, var(--ab) 60%, transparent), 0 4px 12px rgba(34, 23, 20, .12); }
.adet-bagir .ab-sayi { display: grid; place-items: center; min-width: 58px; height: 58px; padding: 0 10px; border-radius: 29px; color: #fff;
  background: linear-gradient(145deg, var(--ab2), var(--ab)); font: 900 28px/1 var(--font-num); letter-spacing: -.5px; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -3px 6px rgba(0, 0, 0, .12); }
.adet-bagir .ab-yazi { display: flex; flex-direction: column; line-height: 1.1; }
.adet-bagir .ab-yazi b { font: 800 17px var(--font); color: var(--ab); }
.adet-bagir .ab-yazi small { font: 600 12px var(--font); color: var(--text-2, #6b5f59); letter-spacing: .02em; }
.adet-bagir.kucuk .ab-hap { padding: 4px; gap: 0; }
.adet-bagir.kucuk .ab-sayi { min-width: 38px; height: 38px; border-radius: 19px; font-size: 18px; }
.adet-bagir .ab-halka { position: absolute; left: 0; top: 0; width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--ab); opacity: 0; }
.adet-bagir.kucuk .ab-halka { width: 44px; height: 44px; }

/* ═══════════ Yeni Sipariş · görsel tur ═══════════ */
/* Arayan müşteri: avatarın etrafında atan yeşil halka */
.mk-av { position: relative; }
.mk-av.ariyor::before, .mk-av.ariyor::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2.5px solid #1A7F37; animation: arayan-halka 1.6s cubic-bezier(.2,.7,.3,1) infinite; pointer-events: none; }
.mk-av.ariyor::after { animation-delay: .8s; }
@keyframes arayan-halka { from { transform: scale(1); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
.mk-av.ariyor .mu-av { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #1A7F37; }

/* Rozetler */
.mk-rozetler { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.mk-rz { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px 0 8px; border-radius: 13px; font: 800 12.5px var(--font); letter-spacing: .01em;
  background: #F4EEE9; color: #5E504A; box-shadow: inset 0 0 0 1px rgba(34,23,20,.06); }
.mk-rz svg { flex-shrink: 0; }
.mk-rz.vip { background: linear-gradient(135deg, #FFF3D6, #FBE3A6); color: #8A5A00; box-shadow: inset 0 0 0 1px rgba(183,121,31,.3); }
.mk-rz.dost { background: #FDECEC; color: #A3262A; }
.mk-rz.firma { background: #E7F0FA; color: #1D5E9E; }
.mk-rz.yeni { background: #E8F6EC; color: #1A7F37; }
.mk-rz.sik { background: #F1E9F8; color: #6B3596; }
.mk-rz.bugun { background: #EAF4F3; color: #0F7A6C; }
.mk-rz.uzak { background: #FFF1E6; color: #B4561B; }

/* Her zamanki kartı */
.mk-hz { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 10px; padding: 12px 14px; text-align: left; cursor: pointer; font: inherit; color: inherit;
  border: 0; border-radius: 16px; background: linear-gradient(135deg, #FFFAF1, #FFF3E0); box-shadow: inset 0 0 0 1.5px #F0D9B0, 0 6px 16px -8px rgba(183,121,31,.35);
  transition: transform .15s, box-shadow .15s; position: relative; overflow: hidden; }
.mk-hz::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.7) 50%, transparent 60%); transform: translateX(-100%); animation: hz-isil 3.5s ease-in-out 1s infinite; pointer-events: none; }
@keyframes hz-isil { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.mk-hz:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px #E7C68A, 0 10px 22px -8px rgba(183,121,31,.45); }
.mk-hz:active { transform: scale(.985); }
.mk-hz-ust { display: flex; align-items: baseline; gap: 8px; }
.mk-hz-ust b { font: 800 15px var(--font); color: #8A5A00; }
.mk-hz-ust small { font-size: 12px; color: #9C8A6E; font-weight: 600; }
.mk-hz-ust em { margin-left: auto; font: 800 16px var(--font-num); font-style: normal; color: var(--text); }
.mk-hz-kalem { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-hz-k { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 3px; border-radius: 16px; background: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 1px 2px rgba(34,23,20,.08); }
.mk-hz-k img, .mk-hz-k i { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mk-hz-k i { display: grid; place-items: center; background: #F4EEE9; font: 800 10px var(--font); font-style: normal; color: #8A7D76; }
.mk-hz-k.fazla { padding: 0 10px; color: var(--muted); }
.mk-hz-alt { display: inline-flex; align-items: center; gap: 6px; font: 800 13px var(--font); color: #B7791F; }

/* Adres kartı */
.mk-adres { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 10px 10px 12px; border-radius: 14px; background: #F7F3EF; box-shadow: inset 0 0 0 1px var(--line-2); }
.mk-adres-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #fff; color: var(--primary); flex-shrink: 0; box-shadow: 0 1px 3px rgba(34,23,20,.1); }
.mk-adres-y { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.mk-adres-y b { font: 800 14px var(--font); }
.mk-adres-y span { font-size: 13px; color: var(--text-2, #5E504A); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mk-harita { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px; border-radius: 10px; background: #fff; color: #1D6FB8; font: 800 12.5px var(--font); text-decoration: none; flex-shrink: 0; box-shadow: inset 0 0 0 1px #D5E3F2; }
.mk-harita:hover { background: #EEF5FC; }

/* Boş sol: hat dinleniyor + bugün */
.mb-bugun { margin: 12px 0 4px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, #F3F8F4, #EEF5F0); box-shadow: inset 0 0 0 1px #DCEBE0; }
.mbb-dinle { display: flex; align-items: center; gap: 10px; font: 700 13px var(--font); color: #2F6B43; }
.mbb-dinle i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #1A7F37; flex-shrink: 0; }
.mbb-dinle i::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #1A7F37; animation: arayan-halka 2s ease-out infinite; }
.mbb-say { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.mbb-say div { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(34,23,20,.05); }
.mbb-say b { font: 800 22px/1 var(--font-num); color: var(--text); }
.mbb-say span { font-size: 11.5px; font-weight: 700; color: var(--muted); margin-top: 3px; }

/* Kategori: sayaç zıplar, ürün alanı kategori rengine bürünür */
.cat-tile .n.zipla { animation: kat-zipla .55s cubic-bezier(.3,1.6,.5,1); }
.cat-tile .n.azal { animation: kat-azal .4s ease-out; }
@keyframes kat-zipla { 0% { transform: scale(.4); } 50% { transform: scale(1.45) translateY(-3px); } 100% { transform: none; } }
@keyframes kat-azal { 0% { transform: scale(1.2); background: #8A7D76; } 100% { transform: none; } }
#tab-desk .desk-right { background-color: color-mix(in srgb, var(--kat-zemin, transparent) 38%, transparent); transition: background-color .6s ease; border-radius: 22px 22px 0 0; }

/* Ürün kartı: sepetteyse alt kenarda dolan çizgi; fareyle üzerine gelince fotoğraf yavaşça döner */
.pcard .pc-dolu { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: color-mix(in srgb, var(--primary) 16%, transparent); z-index: 2; }
.pcard .pc-dolu::after { content: ''; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--d)); background: linear-gradient(90deg, var(--primary), #E5533F); transition: transform .4s cubic-bezier(.3,1.4,.5,1); border-radius: 0 3px 3px 0; }
body.mod-fare .pcard .ph img { transition: transform .9s cubic-bezier(.22,1,.36,1); }
body.mod-fare .pcard:hover .ph img { transform: scale(1.08) rotate(8deg); }

/* Basılı tut: hızlı adet çarkı */
.ha-perde { position: fixed; inset: 0; z-index: 9000; background: rgba(29,19,16,.28); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); animation: ha-perde .18s ease-out; touch-action: none; }
@keyframes ha-perde { from { opacity: 0; } }
.ha-merkez { position: absolute; translate: -50% -50%; display: grid; place-items: center; }
.ha-halka { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,.05) 70%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); animation: ha-halka .35s cubic-bezier(.2,1.2,.4,1); }
@keyframes ha-halka { from { transform: scale(.4); opacity: 0; } }
.ha-ad { position: relative; display: flex; flex-direction: column; align-items: center; padding: 10px 16px; border-radius: 16px; background: #1D1310; color: #fff; font: 800 15px var(--font); white-space: nowrap; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.ha-ad small { font: 600 11.5px var(--font); color: rgba(255,255,255,.65); }
.ha-n { position: absolute; translate: -50% -50%; width: 66px; height: 66px; border: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer;
  background: #fff; color: var(--text); box-shadow: 0 10px 24px -6px rgba(0,0,0,.35), inset 0 0 0 1.5px rgba(179,38,30,.15); animation: ha-n .38s cubic-bezier(.2,1.5,.4,1) backwards; animation-delay: var(--g); transition: transform .12s, background .12s, color .12s; }
.ha-n b { font: 900 26px/1 var(--font-num); }
.ha-n small { font: 700 10.5px var(--font); color: var(--muted); margin-top: 2px; }
.ha-n:hover, .ha-n.uzerinde { transform: scale(1.2); background: linear-gradient(145deg, #E5533F, var(--primary)); color: #fff; }
.ha-n:hover small, .ha-n.uzerinde small { color: rgba(255,255,255,.85); }
@keyframes ha-n { from { transform: scale(0); opacity: 0; } }
.ha-tk { position: absolute; translate: -50% 0; height: 40px; padding: 0 18px; border: 0; border-radius: 20px; cursor: pointer; background: #fff; color: var(--primary); font: 800 14px var(--font); box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); animation: ha-n .3s .15s backwards; }
.ha-tk.ac { color: #1A7F37; }
.ha-tk:hover, .ha-tk.uzerinde { background: var(--primary); color: #fff; }
.ha-tk.ac:hover, .ha-tk.ac.uzerinde { background: #1A7F37; color: #fff; }

/* Yanına ne gider? şeridi */
.oneri-serit { position: absolute; right: 20px; top: 64px; z-index: 30; display: flex; align-items: center; gap: 12px; max-width: min(480px, calc(100% - 40px)); padding: 8px 8px 8px 8px; border-radius: 20px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c, #B3261E) 30%, transparent), 0 18px 40px -12px rgba(34,23,20,.35); overflow: hidden;
  animation: os-gir .45s cubic-bezier(.2,1.2,.4,1); }
.oneri-serit.gidiyor { animation: os-cik .26s ease-in forwards; }
@keyframes os-gir { from { transform: translateX(40px) scale(.9); opacity: 0; } }
@keyframes os-cik { to { transform: translateX(40px); opacity: 0; } }
.os-foto { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; background: var(--c-acik, #F4EEE9); color: var(--c); }
.os-foto img { width: 100%; height: 100%; object-fit: cover; }
.os-yazi { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.os-yazi small { font: 600 12px var(--font); color: var(--muted); }
.os-yazi b { font: 800 16px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-ekle { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 16px 0 12px; border: 0; border-radius: 14px; cursor: pointer; flex-shrink: 0; background: linear-gradient(145deg, #34C265, #1A7F37); color: #fff; font: 800 15px var(--font-num); box-shadow: 0 6px 14px -4px rgba(26,127,55,.55); }
.os-ekle:hover { filter: brightness(1.06); }
.os-kapat { width: 32px; height: 32px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; flex-shrink: 0; }
.os-sure { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: color-mix(in srgb, var(--c, #B3261E) 60%, transparent); transform-origin: left; animation: os-sure 8s linear forwards; }
@keyframes os-sure { to { transform: scaleX(0); } }

/* Sepet: gerçek adisyon fişi */
.cart-list.fis { flex: 0 1 auto; margin: 6px 0 0; padding: 0 14px; border-radius: 10px 10px 0 0; background: #FFFDF8;
  background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(179,38,30,.025) 27px 28px);
  box-shadow: 0 1px 0 rgba(34,23,20,.04), 0 10px 26px -14px rgba(34,23,20,.3), inset 0 0 0 1px rgba(34,23,20,.06); }
.cart-list.fis::before { content: attr(data-fis); display: block; padding: 10px 0 9px; margin-bottom: 2px; text-align: center; font: 700 11px/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: .16em; color: #8A7D76; border-bottom: 1.5px dashed #DDD2C8; }
.cart-list.fis::after { content: ''; display: block; height: 12px; margin: 0 -14px; background: radial-gradient(circle at 6px 12px, var(--bg, #F4EFEA) 6px, transparent 6.5px) 0 0 / 12px 12px repeat-x; }
.cart-list.fis .cart-line { border-bottom: 1.5px dashed #EDE4DB; }
.cart-list.fis .cart-line:last-child { border-bottom: 0; }
.cart-list.fis .cart-line .nm { font-feature-settings: 'tnum'; }

/* Boş sepet: pizza tahtası ve kısayollar */
.cart-empty.yeni { gap: 4px; padding: 12px 0; color: var(--muted); }
.cart-empty.yeni .ce-tahta { width: 150px; height: auto; margin-bottom: 4px; animation: tahta-sal 5s ease-in-out infinite; transform-origin: 45% 50%; }
@keyframes tahta-sal { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-3px); } }
.cart-empty.yeni b { font: 800 17px var(--font); color: var(--text); }
.cart-empty.yeni > span { font-size: 13px; }
.ce-hizli { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 340px; margin-top: 14px; }
.ce-hizli small { font: 800 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; }
.ce-hizli button { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 0; border-radius: 14px; background: #fff; cursor: pointer; font: inherit; text-align: left; box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(34,23,20,.05); transition: transform .12s, box-shadow .12s; }
.ce-hizli button:hover { transform: translateX(3px); box-shadow: inset 0 0 0 1.5px var(--primary), 0 4px 10px -4px rgba(179,38,30,.3); }
.ceh-f { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #F4EEE9; flex-shrink: 0; }
.ceh-f img { width: 100%; height: 100%; object-fit: cover; }
.ceh-a { flex: 1; min-width: 0; font: 800 14px var(--font); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ce-hizli em { font: 800 14px var(--font-num); font-style: normal; color: var(--primary); }

/* Toplam eşik parıltısı */
.od-toplam b.esik, #od-toplam b.esik { animation: esik-isil 1.4s ease-out; }
@keyframes esik-isil { 0% { color: inherit; text-shadow: none; } 25% { color: #B7791F; text-shadow: 0 0 18px rgba(232,163,61,.8); transform: scale(1.08); } 100% { text-shadow: none; } }
.esik-et { position: fixed; z-index: 9999; pointer-events: none; padding: 5px 12px; border-radius: 12px; background: linear-gradient(135deg, #F6C75F, #E8A33D); color: #3D2600; font: 800 12.5px var(--font); white-space: nowrap; box-shadow: 0 6px 16px -4px rgba(183,121,31,.6); }
.esik-yildiz { position: fixed; z-index: 9999; width: 10px; height: 10px; pointer-events: none; background: #F2B53B; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

/* Kaydet anı: uçan fiş ve ortada sipariş numarası */
.ucan-fis { position: fixed; z-index: 9998; pointer-events: none; overflow: hidden; padding: 10px 14px; border-radius: 6px; background: #FFFDF8; box-shadow: 0 24px 50px -12px rgba(34,23,20,.45), inset 0 0 0 1px rgba(34,23,20,.08); font-size: 13px; }
.uf-bas { text-align: center; font: 700 11px ui-monospace, Consolas, monospace; letter-spacing: .16em; color: #8A7D76; padding-bottom: 7px; border-bottom: 1.5px dashed #DDD2C8; margin-bottom: 4px; }
.uf-s, .uf-top { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px dashed #EDE4DB; font-weight: 700; }
.uf-top { border: 0; font: 800 16px var(--font-num); padding-top: 8px; }
.kutla-no { position: fixed; inset: 0; z-index: 9999; pointer-events: none; display: grid; place-items: center; }
.kn-kart { display: flex; align-items: center; gap: 18px; padding: 18px 28px 18px 20px; border-radius: 26px; background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1.5px rgba(26,127,55,.25), 0 30px 70px -18px rgba(26,127,55,.5), 0 8px 20px rgba(34,23,20,.12); }
.kn-tik { color: #1A7F37; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #E8F6EC; }
.kn-daire { stroke-dasharray: 151; stroke-dashoffset: 151; animation: kn-ciz .5s .1s ease-out forwards; }
.kn-cizgi { stroke-dasharray: 40; stroke-dashoffset: 40; animation: kn-ciz .35s .45s ease-out forwards; }
@keyframes kn-ciz { to { stroke-dashoffset: 0; } }
.kn-y { display: flex; flex-direction: column; line-height: 1.1; }
.kn-y small { font: 800 12px var(--font); letter-spacing: .1em; text-transform: uppercase; color: #1A7F37; }
.kn-y b { font: 900 54px/1 var(--font-num); letter-spacing: -.03em; color: var(--text); }
.kn-y em { font: 700 14px var(--font); font-style: normal; color: var(--muted); margin-top: 4px; }
.tab.fis-geldi { animation: fis-geldi .8s cubic-bezier(.3,1.6,.5,1); }
.tab.fis-geldi .tab-badge { animation: kat-zipla .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes fis-geldi { 0% { transform: none; } 30% { transform: scale(1.12); background: rgba(26,127,55,.35); } 100% { transform: none; } }

/* +1 / −1 daha yüksek sesle: büyük hap, kart parlaması */
.desk #btn-repeat.mk-hz { display: flex; }
.adet-bagir .ab-hap { padding: 9px 24px 9px 9px; gap: 14px; }
.adet-bagir .ab-sayi { min-width: 86px; height: 86px; border-radius: 43px; font-size: 42px; letter-spacing: -1px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -4px 8px rgba(0,0,0,.14), 0 0 0 5px color-mix(in srgb, var(--ab) 18%, transparent), 0 0 34px color-mix(in srgb, var(--ab2) 70%, transparent); }
.adet-bagir .ab-yazi b { font-size: 22px; }
.adet-bagir .ab-yazi small { font-size: 13.5px; }
.adet-bagir .ab-halka { width: 110px; height: 110px; border-width: 3px; }
.adet-bagir.kucuk .ab-hap { padding: 5px; }
.adet-bagir.kucuk .ab-sayi { min-width: 54px; height: 54px; border-radius: 27px; font-size: 26px; }
.adet-bagir.kucuk .ab-halka { width: 64px; height: 64px; }
.pcard.flas-arti { animation: flas-arti .7s ease-out; }
.pcard.flas-eksi { animation: flas-eksi .7s ease-out; }
@keyframes flas-arti { 0% { box-shadow: 0 0 0 0 rgba(26,127,55,.9); } 30% { box-shadow: 0 0 0 6px #1A7F37, 0 0 40px 10px rgba(52,194,101,.55); transform: scale(1.03); } 100% { transform: none; } }
@keyframes flas-eksi { 0% { box-shadow: 0 0 0 0 rgba(179,38,30,.9); } 30% { box-shadow: 0 0 0 6px #B3261E, 0 0 40px 10px rgba(229,83,63,.5); transform: scale(.97); } 100% { transform: none; } }
.esik-et { margin-top: -26px; }

/* Çok satan bağırır */
.pcard.cok-satan.cs-bagir { animation: cs-bagir 1.2s cubic-bezier(.3,1.5,.5,1); z-index: 3; }
.pcard.cok-satan.cs-bagir .cs-rozet { animation: cs-rozet-bagir 1.2s ease-out; }
@keyframes cs-bagir {
  0% { transform: none; box-shadow: none; }
  15% { transform: translateY(-14px) scale(1.06) rotate(-2.5deg); box-shadow: 0 0 0 4px #F2B53B, 0 22px 40px -10px rgba(232,163,61,.7); }
  30% { transform: translateY(-4px) scale(1.04) rotate(2.5deg); }
  45% { transform: translateY(-9px) scale(1.05) rotate(-1.5deg); box-shadow: 0 0 0 4px #F2B53B, 0 18px 34px -10px rgba(232,163,61,.6); }
  62% { transform: translateY(0) scale(1.02) rotate(1deg); }
  80% { transform: none; }
  100% { transform: none; box-shadow: none; }
}
@keyframes cs-rozet-bagir { 0%, 100% { transform: none; } 20%, 50% { transform: scale(1.25); filter: brightness(1.15) drop-shadow(0 0 8px rgba(242,181,59,.9)); } }
.cs-balon { position: fixed; z-index: 8000; pointer-events: none; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 18px; white-space: nowrap;
  background: linear-gradient(135deg, #FFE08A, #F2B53B); color: #3D2600; box-shadow: 0 14px 30px -8px rgba(183,121,31,.6), inset 0 1px 0 rgba(255,255,255,.6); }
.cs-balon::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; translate: -50% 0; rotate: 45deg; background: #F5BF4B; border-radius: 0 0 4px 0; }
.cs-balon b { display: block; font: 900 16px/1.1 var(--font); }
.cs-balon small { display: block; font: 700 12px var(--font); opacity: .75; }
.csb-ates { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #E0452E; flex-shrink: 0; animation: csb-ates .5s ease-in-out infinite alternate; }
@keyframes csb-ates { to { transform: scale(1.12) rotate(-6deg); } }

/* Daha belirgin uçuş: parlak çerçeve, derin gölge, güçlü iniş */
.ucan-urun:not(.iz) { box-shadow: 0 0 0 4px #fff, 0 0 0 7px color-mix(in srgb, var(--primary) 45%, transparent), 0 28px 50px -10px rgba(34,23,20,.5), 0 0 40px rgba(232,163,61,.45); }
.ucan-urun.iz { filter: blur(1.5px) saturate(1.2); }
.varis-halka { width: 72px; height: 72px; border-width: 4px; }
.cart-line.zipla { animation: satir-inis .9s cubic-bezier(.3,1.4,.5,1); }
@keyframes satir-inis { 0% { transform: scale(1); background: transparent; } 18% { transform: scale(1.035) translateX(-4px); background: rgba(26,127,55,.14); box-shadow: inset 4px 0 0 #1A7F37; } 40% { transform: scale(.99); } 100% { transform: none; background: transparent; box-shadow: none; } }
.cart-line.zipla .cl-foto { animation: foto-inis .55s cubic-bezier(.3,1.8,.5,1); }
@keyframes foto-inis { 0% { transform: scale(.6) rotate(-12deg); } 60% { transform: scale(1.3) rotate(4deg); } 100% { transform: none; } }

/* Eksiltince ters uçuş */
.ucan-urun.geri:not(.iz) { box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(179,38,30,.45), 0 22px 40px -10px rgba(34,23,20,.45); }
.ucan-urun.geri.iz { filter: grayscale(.6) blur(1px); }
.ucan-arti.eksi { background: #B3261E !important; }
.varis-halka.eksi { width: 72px; height: 72px; border-color: #B3261E; }
.ucan-arti.eksi { animation: eksi-yanip .3s ease-in-out infinite alternate !important; }
@keyframes eksi-yanip { to { transform: scale(1.25); background: #E5533F; } }

/* Sepette: Ürün kaldırıldı · Geri al */
.cart-kaldirildi { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 8px 10px 6px; margin: 4px 0; border-radius: 12px; overflow: hidden;
  background: repeating-linear-gradient(-45deg, #FDF1EF 0 8px, #FBE8E5 8px 16px); box-shadow: inset 0 0 0 1.5px #F2C9C3; }
.cart-kaldirildi.yeni { animation: ck-gir .45s cubic-bezier(.2,1.3,.4,1); }
@keyframes ck-gir { from { transform: scale(.9) translateX(-12px); opacity: 0; } }
.ck-foto { position: relative; width: 38px; height: 38px; border-radius: 10px; overflow: hidden; background: #F4EEE9; flex-shrink: 0; }
.ck-foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) opacity(.55); }
.ck-foto i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(179,38,30,.72); }
.ck-y { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.ck-y b { font: 800 14.5px var(--font); color: #8A7D76; text-decoration: line-through; text-decoration-color: #B3261E; text-decoration-thickness: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-y small { font: 800 12px var(--font); color: #B3261E; letter-spacing: .02em; }
.ck-geri { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 11px; border: 0; border-radius: 11px; cursor: pointer; flex-shrink: 0;
  background: #fff; color: var(--text); font: 800 13.5px var(--font); box-shadow: 0 1px 3px rgba(34,23,20,.12), inset 0 0 0 1px var(--line-2); }
.ck-geri:hover { background: #1D1310; color: #fff; }
.ck-sure { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #B3261E; transform-origin: left; animation: ck-sure 3.2s linear forwards; }
@keyframes ck-sure { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.cart-list:not(.fis) .cart-kaldirildi { margin: 0 0 8px; }

/* Boş sepet · şık */
.cart-empty.yeni2 { height: auto; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 0 14px; text-align: center; }
.ce-sahne { position: relative; width: 210px; height: 140px; margin-bottom: 6px; }
.ce-sahne .ce-tahta { width: 100%; height: 100%; animation: tahta-sal2 6s ease-in-out infinite; transform-origin: 38% 50%; filter: drop-shadow(0 10px 14px rgba(120,70,30,.18)); }
@keyframes tahta-sal2 { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-5px); } }
.ce-un { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px rgba(255,255,255,.9), 0 0 0 1px rgba(201,142,82,.15); opacity: 0; animation: un-uc 4.5s ease-in-out infinite; }
.ce-un.u1 { left: 30%; top: 45%; } .ce-un.u2 { left: 48%; top: 30%; animation-delay: 1.1s; } .ce-un.u3 { left: 58%; top: 55%; animation-delay: 2.3s; width: 4px; height: 4px; } .ce-un.u4 { left: 38%; top: 62%; animation-delay: 3.2s; width: 3px; height: 3px; }
@keyframes un-uc { 0% { transform: translate(0,0) scale(.6); opacity: 0; } 20% { opacity: .95; } 100% { transform: translate(14px,-70px) scale(1.2); opacity: 0; } }
.ce-bas { font: 800 21px/1.2 var(--font); letter-spacing: -.01em; color: var(--text); }
.ce-alt { display: inline-flex; align-items: center; gap: 8px; font: 600 13.5px var(--font); color: var(--muted); }
.ce-alt i { width: 4px; height: 4px; border-radius: 50%; background: #D5C8BE; }
.ce-hizli2 { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 380px; margin-top: 18px; text-align: left; }
.ce-hizli2 > small { display: flex; align-items: center; gap: 8px; font: 800 11px var(--font); letter-spacing: .1em; text-transform: uppercase; color: #B7791F; }
.ce-hizli2 > small::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #EBD8B8, transparent); }
.ce-hizli2 button { display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 7px; border: 0; border-radius: 18px; background: #fff; cursor: pointer; font: inherit; text-align: left;
  box-shadow: 0 1px 2px rgba(34,23,20,.06), 0 6px 18px -10px rgba(34,23,20,.25), inset 0 0 0 1px rgba(34,23,20,.05);
  transition: transform .18s cubic-bezier(.3,1.4,.5,1), box-shadow .18s; animation: ceh-gir .5s cubic-bezier(.2,1.2,.4,1) backwards; animation-delay: var(--g); }
@keyframes ceh-gir { from { transform: translateY(12px); opacity: 0; } }
.ce-hizli2 button:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 0 0 2px #F2B53B, 0 14px 28px -12px rgba(183,121,31,.55); }
.ce-hizli2 button:active { transform: scale(.98); }
.ce-hizli2 .ceh-f { position: relative; width: 56px; height: 56px; border-radius: 14px; overflow: visible; background: #F4EEE9; display: grid; place-items: center; flex-shrink: 0; }
.ce-hizli2 .ceh-f img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.ceh-s { position: absolute; top: -6px; left: -6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 900 11.5px var(--font-num); font-style: normal; color: #fff; box-shadow: 0 0 0 2.5px #fff, 0 3px 6px rgba(0,0,0,.2); }
.ceh-s.s1 { background: linear-gradient(145deg, #F6CF5E, #D99A1E); color: #4A2E00; }
.ceh-s.s2 { background: linear-gradient(145deg, #E3E6EA, #A9AFB8); color: #2E3339; }
.ceh-s.s3 { background: linear-gradient(145deg, #E8A87A, #B8683A); }
.ceh-y { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.ceh-y b { font: 800 15.5px var(--font); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ceh-y small { font: 600 12px var(--font); color: var(--muted); margin-top: 2px; }
.ceh-t { font: 800 15.5px var(--font-num); color: var(--text); flex-shrink: 0; }
.ceh-ekle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; flex-shrink: 0; background: linear-gradient(145deg, #E5533F, var(--primary)); color: #fff; box-shadow: 0 6px 12px -4px rgba(179,38,30,.5); transition: transform .15s; }
.ce-hizli2 button:hover .ceh-ekle { transform: rotate(90deg) scale(1.08); }
body.mod-dokun .ce-hizli2 .ceh-f { width: 64px; height: 64px; }
body.mod-dokun .ceh-ekle { width: 48px; height: 48px; }

/* Ürün kaldırıldı bağırır */
.adet-bagir.kaldir .ab-sayi { background: linear-gradient(145deg, #3A2A26, #1D1310); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 0 5px rgba(179,38,30,.35), 0 0 34px rgba(179,38,30,.55); }
.adet-bagir.kaldir .ab-sayi svg { color: #FF6B57; }
.adet-bagir.kaldir .ab-yazi b { color: #B3261E; }
.adet-bagir.kaldir .ab-halka { border-color: #1D1310; }
.cart-kaldirildi.yeni { animation: ck-gir2 .7s cubic-bezier(.3,1.2,.4,1); }
@keyframes ck-gir2 { 0% { transform: scale(1.04); background: #B3261E; box-shadow: 0 0 0 4px rgba(179,38,30,.35); } 25% { transform: translateX(-8px) scale(1); } 40% { transform: translateX(7px); } 55% { transform: translateX(-5px); } 70% { transform: translateX(3px); } 100% { transform: none; } }

/* ═══ Oyun göstergesi (üst çubuk) ═══ */
.oyun-hud { display: flex; align-items: center; gap: 8px; margin-right: 4px; }
.oyun-hud[hidden] { display: none; }
.oh-seri, .oh-boss { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px 0 6px; border: 0; border-radius: 14px; cursor: pointer; font: inherit; color: #fff;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .15s; }
.oh-seri:hover, .oh-boss:hover { background: rgba(255,255,255,.12); }
.ohs-ates { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(255,255,255,.08); color: #8A7D76; transition: color .3s, background .3s; }
.oh-seri.sicak .ohs-ates { color: #FFB23E; background: radial-gradient(circle at 50% 70%, rgba(255,120,40,.45), rgba(255,120,40,.08)); animation: seri-ates .6s ease-in-out infinite alternate; }
@keyframes seri-ates { to { transform: scale(1.12) rotate(-6deg); filter: drop-shadow(0 0 6px rgba(255,150,40,.9)); } }
.ohs-y { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.ohs-y b { font: 900 18px var(--font-num); }
.ohs-y small { font: 700 11px var(--font); color: rgba(255,255,255,.6); white-space: nowrap; }
.oh-seri.puan-geldi { animation: puan-geldi .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes puan-geldi { 40% { transform: scale(1.12); background: rgba(242,181,59,.35); } }
.oh-boss { min-width: 210px; padding-right: 14px; }
.oh-boss.bos { opacity: .7; }
.oh-boss[hidden] { display: none; }
.ohb-yuz { width: 40px; height: 40px; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.ohb-yuz svg { overflow: visible; }
.bz-kabuk { fill: #D9963F; } .bz-ic { fill: #F2C14E; } .bz-sucuk { fill: #C2321F; }
.ohb-yuz .bz-gozler, .ohb-yuz .bz-agiz { display: none; }
.ohb-yuz.ofke .ofke, .ohb-yuz.korku .korku, .ohb-yuz.yenik .yenik { display: inline; }
.ohb-yuz.ofke { animation: boss-nefes 2.4s ease-in-out infinite; }
.ohb-yuz.korku { animation: boss-titre .18s linear infinite; }
.ohb-yuz.yenik { transform: rotate(-14deg); filter: grayscale(.5) drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
@keyframes boss-nefes { 50% { transform: scale(1.06) translateY(-1px); } }
@keyframes boss-titre { 25% { transform: translateX(-1px) rotate(-2deg); } 75% { transform: translateX(1px) rotate(2deg); } }
.oh-boss.vurus .ohb-yuz { animation: boss-vurus .5s cubic-bezier(.3,1.5,.5,1); }
@keyframes boss-vurus { 0% { transform: none; } 20% { transform: translateX(-6px) rotate(-14deg) scale(.88); filter: brightness(2.2) drop-shadow(0 0 8px #fff); } 50% { transform: translateX(4px) rotate(8deg); } 100% { transform: none; } }
.ohb-bilgi { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.ohb-ust { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ohb-ust b { font: 800 11px var(--font); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); white-space: nowrap; }
.ohb-ust em { font: 800 12.5px var(--font-num); font-style: normal; color: #FFD27A; white-space: nowrap; }
.ohb-can { position: relative; height: 10px; border-radius: 5px; background: rgba(0,0,0,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); overflow: hidden; }
.ohb-can i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; }
.ohb-iz { background: #FFE08A; transition: width .9s ease-out; }
.ohb-dolu { background: linear-gradient(180deg, #FF6B57, #C2321F); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); transition: width .25s ease-out; }
.ohb-dolu::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(0,0,0,.18) 18px 19.5px); }
.boss-hasar { position: fixed; z-index: 9500; pointer-events: none; font: 900 26px var(--font-num); color: #FFE08A; -webkit-text-stroke: 1.5px #7A1A10; paint-order: stroke; text-shadow: 0 4px 12px rgba(122,26,16,.6); white-space: nowrap; }
.boss-pat { position: fixed; z-index: 9500; width: 70px; height: 70px; pointer-events: none; background: #FFE08A; clip-path: polygon(50% 0, 60% 35%, 98% 20%, 68% 50%, 100% 80%, 60% 65%, 50% 100%, 40% 65%, 0 80%, 32% 50%, 2% 20%, 40% 35%); mix-blend-mode: screen; }

/* Kombo ve puan */
.kombo-pop { position: fixed; left: 50%; top: calc(50% - 170px); z-index: 10000; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 8px; white-space: nowrap; }
.kp-kombo { font: 900 64px/1 var(--font-num); letter-spacing: -.02em; background: linear-gradient(180deg, #FFE08A 10%, #F2A12E 55%, #D9541E 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #7A1A10) drop-shadow(0 10px 20px rgba(217,84,30,.5)); }
.kombo-pop.ates .kp-kombo { animation: kombo-ates .25s ease-in-out infinite alternate; }
@keyframes kombo-ates { to { transform: scale(1.06) rotate(-2deg); } }
.kp-alt { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 16px; background: rgba(29,19,16,.92); color: #fff; box-shadow: 0 14px 30px -8px rgba(0,0,0,.45); }
.kp-alt em { display: inline-flex; align-items: center; gap: 5px; font: 800 15px var(--font); font-style: normal; color: #FFD27A; }
.kp-alt i { font: 700 13px var(--font); font-style: normal; color: rgba(255,255,255,.55); }
.kp-alt strong { font: 900 17px var(--font-num); color: #7CE29A; }
.kp-seri { padding: 6px 14px; border-radius: 14px; background: linear-gradient(135deg, #FF8A3D, #D9341E); color: #fff; font: 900 15px var(--font); box-shadow: 0 8px 20px -6px rgba(217,52,30,.6); }
.puan-yildiz { position: fixed; z-index: 10001; width: 22px; height: 22px; pointer-events: none; background: #FFD27A; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); filter: drop-shadow(0 0 6px #F2B53B); }

/* Zafer ekranı */
.zafer { position: fixed; inset: 0; z-index: 12000; display: grid; place-items: center; overflow: hidden; cursor: pointer;
  background: radial-gradient(circle at 50% 45%, rgba(255,210,122,.35), rgba(29,19,16,.88) 60%); animation: zf-gir .4s ease-out; }
.zafer.gidiyor { animation: zf-cik .4s ease-in forwards; }
@keyframes zf-gir { from { opacity: 0; } } @keyframes zf-cik { to { opacity: 0; } }
.zf-icerik { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: #fff; }
.zf-boss svg { width: 150px; height: 150px; animation: zf-boss 1.2s cubic-bezier(.3,1.4,.5,1) both; }
.zf-boss .bz-gozler, .zf-boss .bz-agiz { display: none; } .zf-boss .yenik { display: inline; }
@keyframes zf-boss { 0% { transform: scale(1.3) rotate(0); } 30% { transform: scale(.8) rotate(-30deg); filter: brightness(2); } 100% { transform: scale(1) rotate(-20deg) translateY(10px); filter: grayscale(.4); } }
.zf-bas { font: 900 clamp(48px, 7vw, 96px)/1 var(--font-num); letter-spacing: -.02em; background: linear-gradient(180deg, #FFF3C4, #F2B53B 60%, #D9541E); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 #7A1A10) drop-shadow(0 16px 30px rgba(0,0,0,.5)); animation: zf-bas .7s .3s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes zf-bas { from { transform: scale(.3); opacity: 0; } }
.zf-alt { font: 800 20px var(--font); color: #FFE08A; animation: zf-bas .5s .6s both; }
.zafer small { font: 600 14px var(--font); color: rgba(255,255,255,.6); margin-top: 6px; }
.konfeti { position: absolute; z-index: 1; border-radius: 2px; }

/* Yoğunluk modu */
.oh-yogun { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px 0 10px; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, #E5533F, #B3261E); box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 0 20px rgba(229,83,63,.55); animation: yogun-chip 1.2s ease-in-out infinite; }
.oh-yogun[hidden] { display: none; }
.oh-yogun i { width: 10px; height: 10px; border-radius: 50%; background: #FFE08A; box-shadow: 0 0 10px #FFE08A; animation: yogun-nokta .6s ease-in-out infinite alternate; }
.oh-yogun b { font: 900 13px var(--font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.oh-yogun small { font: 800 12px var(--font-num); opacity: .85; white-space: nowrap; }
@keyframes yogun-chip { 50% { box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 0 32px rgba(229,83,63,.85); } }
@keyframes yogun-nokta { to { transform: scale(.6); opacity: .6; } }
body.mod-firtina .oh-yogun { background: linear-gradient(135deg, #FF8A3D, #D9341E 50%, #7A1A10); animation-duration: .7s; }
.yogun-cerceve { position: fixed; inset: 0; z-index: 7000; pointer-events: none; opacity: 0; transition: opacity .8s; box-shadow: inset 0 0 0 3px rgba(229,83,63,.55), inset 0 0 90px rgba(229,83,63,.35); }
body.mod-yogun .yogun-cerceve { opacity: 1; animation: yogun-nabiz 2.4s ease-in-out infinite; }
body.mod-firtina .yogun-cerceve { box-shadow: inset 0 0 0 4px rgba(255,138,61,.75), inset 0 0 140px rgba(217,52,30,.5); animation-duration: 1.1s; }
@keyframes yogun-nabiz { 50% { opacity: .45; } }
.yogun-duyuru { position: fixed; left: 50%; top: 80px; z-index: 11000; display: flex; align-items: center; gap: 14px; padding: 12px 24px 12px 12px; border-radius: 20px; color: #fff; pointer-events: none;
  background: linear-gradient(135deg, #E5533F, #B3261E); box-shadow: 0 20px 50px -12px rgba(179,38,30,.7), 0 0 0 2px rgba(255,255,255,.2); }
.yogun-duyuru.firtina { background: linear-gradient(135deg, #FF8A3D, #D9341E 55%, #7A1A10); }
.yd-ates { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: rgba(255,255,255,.18); color: #FFE08A; animation: seri-ates .4s ease-in-out infinite alternate; }
.yogun-duyuru b { display: block; font: 900 20px var(--font); letter-spacing: .04em; }
.yogun-duyuru small { display: block; font: 700 13.5px var(--font); opacity: .85; }

@media (max-width: 1500px) { .oh-boss { min-width: 0; } .ohb-bilgi { width: 120px; flex: none; } .ohs-y small { display: none; } }
@media (max-width: 1280px) { .ohb-bilgi { display: none; } .oh-boss { padding-right: 6px; } .oh-yogun small { display: none; } }

/* Üst çubuk sığsın: canavar "Bugün" kutusunu içine alır, saat gizlenir, yoğunluk rozeti çubuğun altına iner */
body.oyun-acik.boss-ciro #hdr-nabiz { display: none !important; }
@media (max-width: 2100px) { body.oyun-acik .top-actions .clock { display: none; } }
.oh-yogun { position: fixed; top: 74px; left: 50%; transform: translateX(-50%); z-index: 7500; height: 34px; border-radius: 0 0 14px 14px; padding: 0 16px 0 12px; }
.ohb-ust b { text-transform: none; letter-spacing: 0; font: 800 12.5px var(--font); color: #fff; }
.oh-seri { padding-right: 10px; }
.oh-boss { min-width: 0 !important; max-width: 250px; }
.ohb-bilgi { width: 170px; flex: none; }
.ohb-ust b { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 2100px) { .ohs-y small { display: none; } .oh-seri { padding-right: 12px; } }
@media (max-width: 1750px) { .ohb-ust b { display: none; } .ohb-bilgi { width: 96px; } .ohb-ust { justify-content: flex-end; } }

/* Fiş yazıcısı: otomatik yazdırma anahtarı */
.yz-ana { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; cursor: pointer; background: #F7F3EF; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background .25s, box-shadow .25s; }
.yz-ana.acik { background: linear-gradient(135deg, #F1F8F3, #E5F3E9); box-shadow: inset 0 0 0 1.5px #BFE0C8, 0 10px 24px -14px rgba(26,127,55,.45); }
.yz-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff; color: #8A7D76; flex-shrink: 0; box-shadow: 0 2px 6px rgba(34,23,20,.08); transition: color .25s; overflow: hidden; }
.yz-ana.acik .yz-ic { color: #1A7F37; }
.yz-ana.acik .yz-kagit { animation: yz-kagit 2.6s ease-in-out infinite; }
@keyframes yz-kagit { 0%, 20% { transform: translateY(-6px); } 60%, 100% { transform: translateY(2px); } }
.yz-y { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.yz-y b { font: 800 16.5px var(--font); }
.yz-y small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.yz-ana.acik .yz-y small { color: #2F6B43; font-weight: 600; }
.yz-alt { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.yz-bb { font: 800 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.yz-bb span { text-transform: none; letter-spacing: 0; font-weight: 600; margin-left: 6px; }
.fis-secim.iki { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
.switch-row.pasif { opacity: .5; pointer-events: none; }

/* ═══ Şık değer penceresi (hedef, deneme araması) ═══ */
.deger-dlg { width: min(520px, calc(100vw - 32px)); }
.deger-dlg.altin .od-ic { background: linear-gradient(145deg, #FFF3D6, #FBE3A6); color: #B7791F; }
.deger-dlg.yesil .od-ic { background: #E3F3E7; color: var(--ok, #1A7F37); }
.deger-dlg p b { color: var(--text); }
.dg-giris { display: flex; align-items: center; gap: 10px; margin: 18px 0 4px; padding: 0 20px; height: 72px; border-radius: 20px; background: #F7F3EF; box-shadow: inset 0 0 0 2px var(--line-2); transition: box-shadow .15s, background .15s; cursor: text; }
.dg-giris:focus-within { background: #fff; box-shadow: inset 0 0 0 2.5px #E8A33D, 0 0 0 6px rgba(232,163,61,.15); }
.deger-dlg.yesil .dg-giris:focus-within { box-shadow: inset 0 0 0 2.5px #1A7F37, 0 0 0 6px rgba(26,127,55,.12); }
.dg-giris i { font: 800 30px var(--font-num); font-style: normal; color: #B7791F; }
.deger-dlg.yesil .dg-giris i { color: #1A7F37; }
.dg-giris input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 900 36px var(--font-num); letter-spacing: -.01em; color: var(--text); text-align: left; padding: 0; box-shadow: none; }
.dg-giris input::placeholder { color: #CFC4BA; }
.dg-oneri { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.dg-oneri button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border: 0; border-radius: 14px; background: #fff; cursor: pointer; font: inherit; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .12s, box-shadow .12s, background .12s; }
.dg-oneri button:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px #E8C78A; }
.dg-oneri button[aria-pressed="true"] { background: #FFF6E2; box-shadow: inset 0 0 0 2px #E8A33D; }
.dg-oneri b { font: 800 15px var(--font-num); color: var(--text); white-space: nowrap; }
.dg-oneri small { font: 600 11.5px var(--font); color: var(--muted); }
.deger-dlg .od-dug { margin-top: 20px; }
.deger-dlg.altin .od-evet { background: linear-gradient(145deg, #F2B53B, #D98A1E); color: #3D2600; }
.deger-dlg.yesil .od-evet { background: #1A7F37; }

/* ═══ Ödeme penceresi · yeni tasarım ═══ */
.odeme-dialog .od-toplam b { font-size: 34px; }
.od-mod { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 18px; border-radius: 18px; background: #F2ECE6; box-shadow: inset 0 1px 2px rgba(34,23,20,.06); }
.od-mod[hidden] { display: none; }
.od-mod button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 9px; height: 52px; border: 0; border-radius: 14px; background: transparent; cursor: pointer; font: 800 16px var(--font); color: #8A7D76; transition: color .2s; }
.od-mod button[aria-selected="true"] { color: var(--text); }
.od-mod-kay { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(34,23,20,.12); transition: transform .3s cubic-bezier(.3,1.3,.5,1); }
.odeme-dialog.parcali-mod .od-mod-kay { transform: translateX(100%); }
.od-tek-alan[hidden], .od-parcali[hidden] { display: none; }
.od-tek-alan, .od-parcali { animation: od-alan .3s ease-out; }
@keyframes od-alan { from { opacity: 0; transform: translateY(6px); } }
.od-tek.on { box-shadow: inset 0 0 0 2.5px var(--k), 0 8px 20px -10px var(--k) !important; }
.od-tek.on span { background: var(--k) !important; color: #fff !important; }
.od-parcali { display: flex; flex-direction: column; gap: 14px; }
.od-bol { display: flex !important; flex-direction: column; gap: 10px; align-items: stretch !important; }
.ob-bas { font: 800 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ob-l { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ob-l button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 9px; border: 0; border-radius: 16px; background: #fff; cursor: pointer; font: inherit; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .15s cubic-bezier(.3,1.5,.5,1), box-shadow .15s; }
.ob-l button:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--line-3); }
.ob-l button[aria-pressed="true"] { background: #1D1310; color: #fff; box-shadow: 0 8px 18px -8px rgba(29,19,16,.6); }
.ob-kisi { display: flex; height: 16px; }
.ob-kisi i { width: 14px; height: 14px; margin-left: -4px; border-radius: 50%; background: #D5C8BE; box-shadow: 0 0 0 2px #fff; }
.ob-kisi i:first-child { margin-left: 0; }
.ob-l button[aria-pressed="true"] .ob-kisi i { background: #F2B53B; box-shadow: 0 0 0 2px #1D1310; }
.ob-l b { font: 900 22px/1 var(--font-num); }
.ob-l small { font: 700 11.5px var(--font-num); color: var(--muted); }
.ob-l button[aria-pressed="true"] small { color: rgba(255,255,255,.65); }
.od-cubuk:empty { display: none; }
.oc-bar { display: flex; gap: 3px; height: 14px; padding: 3px; border-radius: 10px; background: repeating-linear-gradient(-45deg, #F4EEE9 0 6px, #EDE5DD 6px 12px); box-shadow: inset 0 0 0 1px var(--line-2); }
.oc-bar i { height: 100%; border-radius: 6px; transition: width .35s cubic-bezier(.3,1.2,.5,1); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.oc-yazi { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; font: 600 13px var(--font); color: var(--muted); }
.oc-yazi b { color: var(--text); font-family: var(--font-num); }
.oc-yazi em { font-style: normal; font-weight: 800; color: #B4561B; }
.oc-yazi em b { color: inherit; }
.oc-yazi em.tamam { color: #1A7F37; }
.oc-yazi em.fazla { color: #B3261E; }
.od-satirlar { display: flex; flex-direction: column; gap: 10px; }
.od-satir { display: grid !important; grid-template-columns: auto minmax(0, 1fr) 150px auto; align-items: center; gap: 12px !important; padding: 10px 10px 10px 10px !important; border-radius: 18px !important; background: #fff !important;
  box-shadow: inset 4px 0 0 var(--k), inset 0 0 0 1.5px var(--line-2), 0 4px 12px -8px rgba(34,23,20,.25) !important; animation: od-alan .3s ease-out; }
.od-no { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 15px; background: color-mix(in srgb, var(--k) 12%, #fff); color: var(--k); line-height: 1; }
.od-no b { font: 900 20px var(--font-num); }
.od-no small { font: 800 10px var(--font); letter-spacing: .04em; opacity: .8; }
.od-tipler { display: flex !important; flex-wrap: wrap; gap: 6px !important; padding: 0 !important; background: none !important; }
.od-tipler button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 11px !important; border: 0; border-radius: 12px !important; background: #F7F3EF !important; color: #8A7D76 !important; cursor: pointer; font: 700 13px var(--font) !important; box-shadow: none !important; transition: background .15s, color .15s; }
.od-tipler button span { display: none; }
.od-tipler button[aria-pressed="true"] { background: var(--k) !important; color: #fff !important; box-shadow: 0 6px 14px -6px var(--k) !important; }
.od-tipler button[aria-pressed="true"] span { display: inline; }
.od-tipler button:hover:not([aria-pressed="true"]) { color: var(--k) !important; background: color-mix(in srgb, var(--k) 10%, #fff) !important; }
.od-tutar { height: 50px; border-radius: 14px !important; }
.od-tutar input { font: 900 22px var(--font-num) !important; }
.od-sil { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 12px; background: transparent; color: #B0A49B; cursor: pointer; }
.od-sil:hover { background: #FDECEC; color: #B3261E; }
.od-ekle { display: flex !important; align-items: center; justify-content: center; gap: 8px; height: 50px; border: 0 !important; border-radius: 16px !important; background: #F7F3EF !important; color: var(--text) !important; font: 800 14.5px var(--font) !important; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background .15s; }
.od-ekle:hover { background: #EFE8E1 !important; }
@media (max-width: 760px) { .od-satir { grid-template-columns: auto minmax(0, 1fr) auto; } .od-tutar { grid-column: 2 / 4; } .ob-l { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* düzeltmeler: genel label / buton stillerini ez */
.ob-l button { height: auto !important; min-height: 78px; padding: 10px 4px 9px !important; }
.ob-l button b { display: block; margin-top: 2px; }
.ob-l button small { display: block; }
label.dg-giris { flex-direction: row !important; align-items: center !important; }
.dg-giris input { width: auto !important; border: 0 !important; background: transparent !important; box-shadow: none !important; height: 100% !important; font: 900 36px var(--font-num) !important; }
label.yz-ana { flex-direction: row !important; align-items: center !important; text-align: left !important; }
label.yz-ana .yz-y { align-items: flex-start; }

/* ═══════════ Stok ve reçete ═══════════ */
#tab-products:not([hidden]) { display: flex; flex-direction: column; height: 100%; min-height: 0; }
#tab-products .prod-layout { flex: 1; min-height: 0; height: auto; }
#tab-products .prod-layout[hidden] { display: none; }
.pr-ust { flex-shrink: 0; padding: 12px 20px 10px; }
.pr-sekme { position: relative; display: inline-grid; grid-template-columns: repeat(3, 150px); padding: 5px; border-radius: 18px; background: #EFE8E1; box-shadow: inset 0 1px 2px rgba(34,23,20,.06); }
.pr-sekme button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 0; border-radius: 14px; background: transparent; cursor: pointer; font: 800 15px var(--font); color: #8A7D76; transition: color .2s; }
.pr-sekme button[aria-selected="true"] { color: var(--text); }
.pr-kay { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: 150px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(34,23,20,.12); transition: transform .3s cubic-bezier(.3,1.3,.5,1); }
.pr-sekme[data-secili="stok"] .pr-kay { transform: translateX(150px); }
.pr-sekme[data-secili="recete"] .pr-kay { transform: translateX(300px); }
.pr-rozet { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--primary); color: #fff; font: 800 11px/20px var(--font-num); font-style: normal; text-align: center; }
.pr-rozet[hidden] { display: none; }
.stok-badge { background: var(--primary) !important; }
.stk-alan, .rc-alan { flex: 1; min-height: 0; overflow: auto; padding: 4px 20px 24px; }
.stk-alan[hidden], .rc-alan[hidden] { display: none; }
.stk-bos { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 260px; text-align: center; color: var(--muted); }
.stk-bos b { color: var(--text); font-size: 17px; }
.stk-yukleniyor { width: 26px; height: 26px; border-radius: 50%; border: 3px solid #E7DED6; border-top-color: var(--primary); animation: dondur .8s linear infinite; display: inline-block; }
@keyframes dondur { to { transform: rotate(360deg); } }

/* Üst: KPI + büyük eylem düğmeleri */
.stk-ust { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: stretch; margin-bottom: 14px; }
.stk-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stk-kpi > div { display: flex; flex-direction: column; justify-content: center; padding: 14px 16px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.stk-kpi small { font: 700 12px var(--font); color: var(--muted); }
.stk-kpi b { font: 900 26px/1.1 var(--font-num); margin-top: 3px; }
.stk-kpi .kirmizi b { color: var(--primary); }
.stk-kpi .kirmizi { box-shadow: inset 0 0 0 1.5px #F2C9C3; background: #FFF6F4; }
.stk-aks { display: flex; gap: 10px; }
.stk-ak { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1px; width: 132px; padding: 12px 14px; border: 0; border-radius: 18px; cursor: pointer; font: inherit; color: #fff; text-align: left;
  box-shadow: 0 10px 22px -12px rgba(34,23,20,.5); transition: transform .15s cubic-bezier(.3,1.5,.5,1), box-shadow .15s; }
.stk-ak:hover { transform: translateY(-2px); }
.stk-ak:active { transform: scale(.97); }
.stk-ak span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(255,255,255,.18); margin-bottom: 8px; }
.stk-ak b { font: 800 16px var(--font); }
.stk-ak small { font: 600 12px var(--font); opacity: .8; }
.stk-ak.gel { background: linear-gradient(145deg, #34C265, #1A7F37); }
.stk-ak.uret { background: linear-gradient(145deg, #E8A33D, #B7791F); }
.stk-ak.fire { background: linear-gradient(145deg, #E5533F, #B3261E); }
.stk-ak.say { background: linear-gradient(145deg, #4A3A35, #1D1310); }
.stk-arac { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; }
.stk-filtre { display: flex; gap: 6px; }
.stk-filtre button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--card); cursor: pointer; font: 700 14px var(--font); color: var(--muted-2, #6b5f59); box-shadow: inset 0 0 0 1px var(--line-2); }
.stk-filtre button i { font-style: normal; font: 800 12px var(--font-num); padding: 1px 7px; border-radius: 8px; background: #F2ECE6; }
.stk-filtre button[aria-pressed="true"] { background: #1D1310; color: #fff; box-shadow: none; }
.stk-filtre button[aria-pressed="true"] i { background: rgba(255,255,255,.18); }

/* Malzeme kartları */
.stk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.stk-kart { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 12px; border: 0; border-radius: 20px; background: var(--card); cursor: pointer; font: inherit; text-align: left; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 4px 14px -10px rgba(34,23,20,.25); transition: transform .15s, box-shadow .15s; --r: #1A7F37; }
.stk-kart:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--line-3), 0 12px 24px -14px rgba(34,23,20,.35); }
.stk-kart.azaliyor { --r: #E8A33D; }
.stk-kart.kritik, .stk-kart.bitti { --r: #B3261E; background: #FFF8F6; box-shadow: inset 0 0 0 1.5px #F2C9C3; }
.stk-kart.bitti .sk-miktar { color: var(--primary); }
.sk-ust { display: flex; align-items: center; gap: 8px; }
.sk-ust b { font: 800 15.5px var(--font); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-yari { font: 800 10.5px var(--font); font-style: normal; letter-spacing: .04em; text-transform: uppercase; padding: 3px 7px; border-radius: 7px; background: #FFF3D6; color: #8A5A00; }
.sk-miktar { font: 900 26px/1.1 var(--font-num); letter-spacing: -.01em; }
.sk-cubuk { position: relative; height: 8px; border-radius: 4px; background: #F1EBE5; }
.sk-cubuk i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--r); transition: width .5s cubic-bezier(.3,1.2,.5,1); }
.sk-cubuk em { position: absolute; top: -3px; bottom: -3px; width: 2px; border-radius: 1px; background: #B3261E; opacity: .55; }
.sk-alt { display: flex; justify-content: space-between; gap: 8px; font: 600 12px var(--font); color: var(--muted); }
.sk-gun { font-weight: 800; color: var(--r); }
.stk-kart.iyi .sk-gun { color: var(--muted); }
.sk-fiyat { font: 700 12px var(--font-num); color: #A0938A; }
.stk-kart.kritik::after { content: 'KRİTİK'; position: absolute; top: -8px; right: 14px; padding: 3px 8px; border-radius: 8px; background: var(--primary); color: #fff; font: 900 10px var(--font); letter-spacing: .06em; animation: kritik-nabiz 1.6s ease-in-out infinite; }
.stk-kart.bitti::after { content: 'BİTTİ'; position: absolute; top: -8px; right: 14px; padding: 3px 8px; border-radius: 8px; background: #1D1310; color: #fff; font: 900 10px var(--font); letter-spacing: .06em; }
@keyframes kritik-nabiz { 50% { box-shadow: 0 0 0 5px rgba(179,38,30,.15); } }
.stk-bos-k { color: var(--muted); padding: 30px 0; }

/* Ortak stok penceresi */
.stk-dlg { width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 26px; background: var(--card); box-shadow: 0 30px 80px rgba(34,23,20,.35); animation: od-gir .22s cubic-bezier(.2,.9,.3,1.2); overflow: auto; }
.stk-dlg::backdrop { background: rgba(29,19,16,.45); backdrop-filter: blur(3px); }
.stk-dlg.sd-sayim { width: min(760px, calc(100vw - 32px)); }
.sd-bas { display: flex; align-items: center; gap: 14px; padding: 20px 22px 16px; border-bottom: 1px solid var(--line-2); --c: #1D1310; }
.sd-bas.gel { --c: #1A7F37; } .sd-bas.fire { --c: #B3261E; } .sd-bas.uret, .sd-bas.zam { --c: #B7791F; } .sd-bas.mal { --c: #1D6FB8; }
.sd-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); flex-shrink: 0; }
.sd-bas > div { flex: 1; min-width: 0; }
.sd-bas h3 { margin: 0; font: 800 20px var(--font); }
.sd-bas p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.sd-govde { display: flex; flex-direction: column; gap: 14px; padding: 18px 22px 20px; }
label.sd-alan, .sd-alan { display: flex; flex-direction: column; gap: 7px; }
.sd-alan > span { font: 800 13px var(--font); color: var(--text); }
.sd-alan > span small { font-weight: 600; color: var(--muted); margin-left: 4px; }
.sd-alan > input, .sd-alan .ek-input input, .stk-sec { height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card-2, #FBF8F5); padding: 0 14px; font: 700 16px var(--font); color: var(--text); width: 100%; }
.sd-alan .ek-input input { padding-left: 40px; }
.stk-sec { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A7D76' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.sd-iki { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stk-mk { display: flex; align-items: center; gap: 0; height: 54px; border-radius: 15px; background: var(--card-2, #FBF8F5); box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; }
.stk-mk:focus-within { box-shadow: inset 0 0 0 2px var(--primary), 0 0 0 4px var(--soft); background: #fff; }
.stk-mk input { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 14px !important; font: 900 22px var(--font-num) !important; color: var(--text); outline: 0; }
.stk-birim { display: flex; gap: 3px; padding: 4px; flex-shrink: 0; }
.stk-birim button { height: 44px; min-width: 46px; padding: 0 10px; border: 0; border-radius: 11px; background: transparent; cursor: pointer; font: 800 13px var(--font); color: #8A7D76; }
.stk-birim button[aria-pressed="true"] { background: #1D1310; color: #fff; }
.sd-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.sd-seg button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 52px; padding: 6px 8px; border: 0; border-radius: 14px; background: #F7F3EF; cursor: pointer; font: 800 14px var(--font); color: var(--muted-2, #6b5f59); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.sd-seg button small { font: 600 11px var(--font); color: var(--muted); }
.sd-seg button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: inset 0 0 0 2px #1D1310; }
.sd-cip { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-cip button { height: 38px; padding: 0 14px; border: 0; border-radius: 12px; background: #F7F3EF; cursor: pointer; font: 700 13.5px var(--font); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.sd-cip button[aria-pressed="true"] { background: #B3261E; color: #fff; box-shadow: none; }
.sd-not { font: 600 13.5px var(--font); color: var(--muted); min-height: 1em; }
.sd-not b { color: var(--text); }
.sd-not .artti { color: var(--primary); } .sd-not .dustu { color: #1A7F37; } .sd-not .uyari { color: #B4561B; }
.sd-alt { display: flex; align-items: center; gap: 8px; padding-top: 6px; }
.sd-alt .btn { height: 50px; padding: 0 22px; border-radius: 14px; font-size: 15px; }
.sd-sil { color: var(--primary) !important; }
.sd-yari[hidden], .sd-alan[hidden], .sd-fiyat-alan[hidden] { display: none !important; }
.sd-yari { display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: 18px; background: #FFFAF1; box-shadow: inset 0 0 0 1.5px #F0D9B0; }
.sd-rc { display: flex; flex-direction: column; gap: 8px; }
.sd-rc-s { display: grid; grid-template-columns: minmax(0, 1fr) 140px auto; gap: 8px; align-items: center; }
.sd-rc-s .ek-input input { padding: 0 44px 0 14px !important; }
.sd-rc-s .ek-input > i, .rc-mk .ek-input > i { left: auto; right: 12px; font-size: 13px; }
.sd-rc-ekle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border: 0; border-radius: 13px; background: #fff; cursor: pointer; font: 800 14px var(--font); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.sd-ipucu { margin: 0; font-size: 13px; color: var(--muted); }
.sd-gecmis { border-top: 1px solid var(--line-2); padding-top: 12px; }
.sd-gb { font: 800 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
#sd-hareket { display: flex; flex-direction: column; max-height: 240px; overflow: auto; }
.sd-h { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); align-items: center; }
.sd-h b { grid-row: 1 / 3; grid-column: 3; font: 800 14px var(--font-num); }
.sd-h.arti b { color: #1A7F37; }
.sd-h small { grid-column: 2; font-size: 11.5px; color: var(--muted); }
.sdh-tur { grid-row: 1 / 3; font: 800 11.5px var(--font); padding: 4px 8px; border-radius: 8px; background: #F2ECE6; text-align: center; }
.sdh-tur.satis { background: #EEF2F8; color: #1D5E9E; } .sdh-tur.alim { background: #E8F6EC; color: #1A7F37; } .sdh-tur.fire { background: #FDECEC; color: #B3261E; } .sdh-tur.sayim { background: #F1E9F8; color: #6B3596; } .sdh-tur.uretim { background: #FFF3D6; color: #8A5A00; } .sdh-tur.iptal { background: #EAF4F3; color: #0F7A6C; }
.sdh-ac { font: 700 13px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Sayım */
.say-liste { display: flex; flex-direction: column; gap: 8px; max-height: min(58vh, 560px); overflow: auto; padding: 2px; }
.say-s { display: grid; grid-template-columns: minmax(0, 1fr) 260px 120px; gap: 12px; align-items: center; padding: 8px 10px 8px 14px; border-radius: 16px; background: var(--card-2, #FBF8F5); box-shadow: inset 0 0 0 1px var(--line-2); }
.say-s.eksik { background: #FFF6F4; box-shadow: inset 4px 0 0 #B3261E, inset 0 0 0 1px #F2C9C3; }
.say-s.fazla { background: #F3FAF5; box-shadow: inset 4px 0 0 #1A7F37, inset 0 0 0 1px #CFE8D7; }
.say-ad { display: flex; flex-direction: column; min-width: 0; }
.say-ad b { font: 800 15px var(--font); }
.say-ad small { font-size: 12px; color: var(--muted); }
.say-s .stk-mk { height: 48px; }
.say-s .stk-mk input { font-size: 18px !important; }
.say-s .stk-birim button { height: 38px; min-width: 40px; }
.say-fark { display: flex; flex-direction: column; align-items: flex-end; font: 800 14px var(--font-num); }
.say-s.eksik .say-fark em { color: var(--primary); font-style: normal; } .say-s.fazla .say-fark em { color: #1A7F37; font-style: normal; }
.say-fark em.tamam { color: #1A7F37; font-style: normal; }
.say-fark small { font-size: 11.5px; color: var(--muted); }
.say-ozet { font: 600 13.5px var(--font); color: var(--muted); }
.say-ozet b.eksi { color: var(--primary); }
.say-sonuc { display: flex; flex-direction: column; gap: 6px; }
.ss-top { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; border-radius: 16px; background: #F3FAF5; }
.ss-top.eksi { background: #FFF6F4; }
.ss-top small { font: 700 13px var(--font); color: var(--muted); }
.ss-top b { font: 900 26px var(--font-num); }
.ss-top.eksi b { color: var(--primary); }
.ss-s { display: grid; grid-template-columns: minmax(0, 1fr) auto 90px; gap: 10px; padding: 8px 4px; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.ss-s em { font-style: normal; font-weight: 800; text-align: right; color: #1A7F37; }
.ss-s em.eksi { color: var(--primary); }
/* Zam uyarısı */
.zam-liste { display: flex; flex-direction: column; gap: 6px; }
.zam-s { display: grid; grid-template-columns: minmax(0, 1fr) 70px 180px 90px; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--card-2, #FBF8F5); font-size: 13.5px; }
.zam-m { color: var(--muted); }
.zam-o { text-align: right; font-weight: 700; }
.zam-o.dustu b { color: var(--primary); } .zam-o.artti b { color: #1A7F37; }

/* Reçeteler */
.rc-duzen { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
.rc-sol { position: sticky; top: 0; display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 210px); }
.rc-ozet { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rc-ozet > div { padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.rc-ozet small { display: block; font: 700 12px var(--font); color: var(--muted); }
.rc-ozet b { font: 900 24px var(--font-num); }
.rc-ozet b span { font-size: 15px; color: var(--muted); }
.rc-ozet b.iyi { color: #1A7F37; } .rc-ozet b.orta { color: #B7791F; } .rc-ozet b.dusuk { color: var(--primary); }
.rc-eksik { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #FFF4E8; color: #B4561B; font: 700 13px var(--font); }
.rc-liste { overflow: auto; display: flex; flex-direction: column; gap: 4px; padding: 2px; }
.rc-kat { font: 800 11.5px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 4px 4px; }
.rc-u { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border: 0; border-radius: 14px; background: transparent; cursor: pointer; font: inherit; text-align: left; color: var(--text); }
.rc-u:hover { background: var(--card); }
.rc-u.on { background: #fff; box-shadow: inset 0 0 0 2px #1D1310, 0 6px 16px -10px rgba(34,23,20,.4); }
.rc-foto, .rc-bfoto { width: 42px; height: 42px; border-radius: 12px; overflow: hidden; background: #F4EEE9; flex-shrink: 0; }
.rc-foto img, .rc-bfoto img { width: 100%; height: 100%; object-fit: cover; }
.rc-ad { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.rc-ad b { font: 800 14.5px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-ad small { font-size: 12px; color: var(--muted); }
.rc-oran { font: 900 13px var(--font-num); font-style: normal; padding: 4px 8px; border-radius: 9px; }
.rc-oran.iyi { background: #E8F6EC; color: #1A7F37; } .rc-oran.orta { background: #FFF3D6; color: #8A5A00; } .rc-oran.dusuk { background: #FDECEC; color: var(--primary); }
.rc-oran.yok { background: #F2ECE6; color: var(--muted); width: 28px; text-align: center; }
.rc-sag { min-height: 400px; padding: 20px 22px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px -20px rgba(34,23,20,.3); }
.rc-bas { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.rc-bfoto { width: 60px; height: 60px; border-radius: 16px; }
.rc-bas > div:not(.rc-halka) { flex: 1; min-width: 0; }
.rc-bas h3 { margin: 0; font: 800 22px var(--font); }
.rc-bas p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.rc-halka { --o: 0; --r: #8A7D76; position: relative; width: 88px; height: 88px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
  background: radial-gradient(closest-side, var(--card) 76%, transparent 77%), conic-gradient(var(--r) calc(var(--o) * 1%), #EFE8E1 0); transition: background .3s; }
.rc-halka.iyi { --r: #1A7F37; } .rc-halka.orta { --r: #E8A33D; } .rc-halka.dusuk { --r: #B3261E; }
.rc-halka b { font: 900 20px var(--font-num); color: var(--r); }
.rc-halka small { font: 700 10.5px var(--font); color: var(--muted); }
.rc-kalemler { display: flex; flex-direction: column; gap: 8px; }
.rc-k { display: grid; grid-template-columns: minmax(0, 1fr) 210px 80px auto; gap: 10px; align-items: center; padding: 6px; border-radius: 16px; background: var(--card-2, #FBF8F5); }
.rc-k .stk-sec { height: 46px; }
.rc-mk { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 4px; align-items: center; }
.rc-mk > button { height: 40px; border: 0; border-radius: 11px; background: #fff; cursor: pointer; font: 800 20px var(--font); box-shadow: inset 0 0 0 1px var(--line-2); }
.rc-mk .ek-input input { height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 0 34px 0 10px; font: 800 16px var(--font-num); width: 100%; text-align: center; }
.rc-kt { font: 800 14px var(--font-num); text-align: right; color: var(--muted-2, #6b5f59); }
.rc-ekle { margin-top: 10px; width: 100%; }
.rc-ipucu { padding: 14px; text-align: center; }
.rc-alt { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.rc-hesap { display: flex; gap: 18px; flex: 1; font-size: 14px; color: var(--muted); }
.rc-hesap b { font: 900 18px var(--font-num); color: var(--text); margin-left: 4px; }
.rc-alt .btn { height: 50px; padding: 0 22px; border-radius: 14px; }
.rc-sec { margin-top: 22px; padding: 16px; border-radius: 18px; background: #FFFAF1; box-shadow: inset 0 0 0 1.5px #F0D9B0; display: flex; flex-direction: column; gap: 8px; }
.rc-sec-bas b { display: block; font: 800 15px var(--font); }
.rc-sec-bas small { color: #9C8A6E; font-size: 12.5px; }
.rc-so { display: grid; grid-template-columns: 150px minmax(0, 1fr) 90px; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; background: #fff; }
.rc-so-ad { display: flex; flex-direction: column; }
.rc-so-ad small { font: 700 11px var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.rc-so-ad b { font: 800 14.5px var(--font); }
.rc-so-e { display: flex; align-items: center; gap: 8px; font: 600 13.5px var(--font); color: var(--muted-2, #6b5f59); flex-wrap: wrap; }
.rc-so-e .stk-sec { height: 40px; width: auto; min-width: 160px; font-size: 14px; }
.rc-carpan, .rc-ek { width: 90px; }
.rc-carpan input, .rc-ek input { height: 40px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--card-2, #FBF8F5); font: 800 15px var(--font-num); padding: 0 8px 0 26px; width: 100%; }
.rc-ek input { padding-left: 10px; }
.rc-carpan > i { left: 10px !important; font-size: 13px !important; }
.rc-so-durum { font: 700 12px var(--font); font-style: normal; color: #1A7F37; opacity: 0; transition: opacity .3s; text-align: right; }
.rc-so-durum.on { opacity: 1; }

/* Kurulum sihirbazı */
.sihirbaz { max-width: 1080px; margin: 0 auto; padding: 6px 0 20px; }
.sh-ust { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 24px; border-radius: 24px; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(242,181,59,.35), transparent 50%), linear-gradient(135deg, #3A2620, #1D1310); box-shadow: 0 20px 40px -24px rgba(29,19,16,.8); }
.sh-marka { display: flex; align-items: center; gap: 14px; }
.sh-logo { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.12); color: #FFD27A; }
.sh-marka h2 { margin: 0; font: 800 22px var(--font); }
.sh-marka p { margin: 2px 0 0; font-size: 13.5px; color: rgba(255,255,255,.7); }
.sh-adim { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.sh-adim li { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 12px; font: 700 13px var(--font); color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.sh-adim li i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.12); font: 800 12px var(--font-num); font-style: normal; }
.sh-adim li.simdi { color: #fff; background: rgba(255,255,255,.14); }
.sh-adim li.simdi i { background: #F2B53B; color: #3D2600; }
.sh-adim li.bitti i { background: #34C265; color: #fff; }
.sh-govde { padding: 24px 4px 8px; animation: od-alan .35s ease-out; }
.sh-govde h3 { margin: 0; font: 800 24px var(--font); }
.sh-acik { margin: 6px 0 18px; color: var(--muted); font-size: 14.5px; max-width: 720px; }
.sh-turler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sh-tur { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; border: 0; border-radius: 20px; background: var(--card); cursor: pointer; font: inherit; text-align: left; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .15s, box-shadow .15s; }
.sh-tur:hover { transform: translateY(-2px); }
.sh-tur.on { box-shadow: inset 0 0 0 2.5px #1D1310, 0 14px 30px -16px rgba(29,19,16,.5); }
.sh-emoji { font-size: 34px; margin-bottom: 6px; }
.sh-tur b { font: 800 17px var(--font); }
.sh-tur small { font-size: 13px; color: var(--muted); }
.sh-bilgi { margin-top: 18px; padding: 14px 18px; border-radius: 16px; background: #F3FAF5; color: #2F6B43; font: 600 14px var(--font); }
.sh-bilgi b { font-size: 16px; }
.sh-rc { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; }
.sh-rk { padding: 12px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); transition: opacity .2s; }
.sh-rk.kapali { opacity: .45; }
.sh-rk-bas { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sh-rk-bas b { flex: 1; font: 800 15px var(--font); }
.sh-dahil { display: flex !important; flex-direction: row !important; align-items: center; gap: 6px; font: 700 12px var(--font); cursor: pointer; }
.sh-dahil input { width: 18px; height: 18px; accent-color: #1A7F37; }
.sh-rk-l { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-km { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 4px 0 10px; border-radius: 11px; background: var(--card-2, #FBF8F5); box-shadow: inset 0 0 0 1px var(--line-2); font: 700 12.5px var(--font); }
.sh-km b { font: 800 12.5px var(--font-num); min-width: 54px; text-align: center; }
.sh-km button { width: 26px; height: 26px; border: 0; border-radius: 8px; background: #fff; cursor: pointer; font: 800 15px var(--font); box-shadow: inset 0 0 0 1px var(--line-2); }
.sh-sf { display: flex; flex-direction: column; gap: 8px; }
.sh-sf-s { display: grid; grid-template-columns: minmax(0, 1fr) 300px 180px; gap: 12px; align-items: center; padding: 8px 10px 8px 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.sh-sf-ad { display: flex; flex-direction: column; }
.sh-sf-ad b { font: 800 15px var(--font); }
.sh-sf-ad small { font-size: 12px; color: var(--muted); }
.sh-sf-s .stk-mk { height: 48px; }
.sh-sf-s .stk-mk input { font-size: 18px !important; }
.sh-sf-s .stk-birim button { height: 38px; min-width: 40px; }
.sh-fiyat { display: flex; align-items: center; }
.sh-fiyat input { height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card-2, #FBF8F5); padding: 0 50px 0 34px; font: 800 16px var(--font-num); width: 100%; }
.sh-fiyat em { position: absolute; right: 12px; font: 700 12px var(--font); font-style: normal; color: var(--muted); }
.sh-son { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 30px; }
.sh-son-ic { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #E8F6EC; color: #1A7F37; margin-bottom: 14px; animation: zf-bas .6s cubic-bezier(.2,1.5,.4,1) both; }
.sh-son-l { display: flex; gap: 12px; margin: 18px 0 6px; }
.sh-son-l div { display: flex; flex-direction: column; align-items: center; min-width: 120px; padding: 14px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.sh-son-l b { font: 900 32px var(--font-num); }
.sh-son-l small { font: 700 12.5px var(--font); color: var(--muted); }
.sh-alt { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.sh-alt .btn { height: 54px; padding: 0 28px; border-radius: 16px; font-size: 16px; }
@media (max-width: 1200px) { .stk-ust { grid-template-columns: 1fr; } .rc-duzen { grid-template-columns: 1fr; } .rc-sol { position: static; max-height: none; } .sh-turler { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .stk-kpi { grid-template-columns: repeat(2, 1fr); } .stk-aks { flex-wrap: wrap; } .stk-ak { flex: 1 1 45%; width: auto; } .sd-iki, .sd-rc-s { grid-template-columns: 1fr; } .say-s, .sh-sf-s { grid-template-columns: 1fr; } .rc-k { grid-template-columns: 1fr 1fr; } .pr-sekme { grid-template-columns: repeat(3, 110px); } .pr-kay { width: 110px; } .pr-sekme[data-secili="stok"] .pr-kay { transform: translateX(110px); } .pr-sekme[data-secili="recete"] .pr-kay { transform: translateX(220px); } }
.stok-badge { min-width: 10px !important; width: 10px; height: 10px !important; padding: 0 !important; font-size: 0 !important; margin-left: 4px; box-shadow: 0 0 0 2px #1D1310, 0 0 8px rgba(229,83,63,.8) !important; animation: kritik-nabiz 1.6s ease-in-out infinite; }
.stk-kart.sayilmadi { background: repeating-linear-gradient(-45deg, var(--card) 0 10px, #FAF6F2 10px 20px); --r: #B0A49B; }
.stk-kart.sayilmadi .sk-miktar { color: #C9BDB3; }
.stk-kart.sayilmadi .sk-gun { color: #1D6FB8; }
.stk-kart.izlenmez { background: #FFFAF1; box-shadow: inset 0 0 0 1.5px #F0D9B0; }
.sk-recete { font: 700 13px/1.4 var(--font); color: #8A5A00; min-height: 54px; }
.stk-uyari { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0 0 12px; padding: 14px 18px; border: 0; border-radius: 18px; cursor: pointer; font: inherit; text-align: left; color: #fff;
  background: linear-gradient(135deg, #2A5D9F, #1D3F73); box-shadow: 0 12px 26px -16px rgba(29,63,115,.8); }
.stk-uyari > span:first-child { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.15); flex-shrink: 0; }
.stk-uyari > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.stk-uyari b { font: 800 16px var(--font); }
.stk-uyari small { font-size: 13px; opacity: .8; }
.stk-uyari em { font: 800 14px var(--font); font-style: normal; padding: 10px 16px; border-radius: 12px; background: #fff; color: #1D3F73; white-space: nowrap; }
.rc-bas .rc-halka { width: 88px !important; height: 88px !important; aspect-ratio: 1; flex: 0 0 88px; }
.rc-bas > div:not(.rc-halka) { flex: 1; min-width: 0; }
.sh-km-sil { width: 22px !important; height: 22px !important; margin-left: 2px; border-radius: 7px !important; background: transparent !important; box-shadow: none !important; color: #B0A49B; font-size: 16px !important; }
.sh-km-sil:hover { background: #FDECEC !important; color: var(--primary); }
.sh-km-ekle { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border: 1.5px dashed #D5C8BE; border-radius: 11px; background: transparent; cursor: pointer; font: 800 12.5px var(--font); color: var(--text); }
.sh-km-ekle:hover { border-color: #1A7F37; color: #1A7F37; background: #F3FAF5; }
.sh-ekle-f { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; padding: 8px; border-radius: 12px; background: #F3FAF5; box-shadow: inset 0 0 0 1.5px #CFE8D7; }
.sh-ekle-f input { flex: 1 1 140px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; padding: 0 10px; font: 700 14px var(--font); }
.sh-ekle-f .sh-ekle-q { flex: 0 0 110px; font-family: var(--font-num); }
.sh-ekle-f .btn { height: 38px; padding: 0 16px; border-radius: 10px; }
.sh-ekle-b { display: flex; gap: 3px; padding: 3px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.sh-ekle-b[hidden] { display: none; }
.sh-ekle-b button { height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font: 800 12px var(--font); color: #8A7D76; }
.sh-ekle-b button[aria-pressed="true"] { background: #1D1310; color: #fff; }

/* Ayarlar · Stok ve reçete */
.ayarlar .ay-stok { --r: #1D6FB8; --a: #E7F0FA; }
.sa-hazir { padding: 14px 16px; border-radius: 14px; background: #FFF4E8; color: #B4561B; font: 600 14px var(--font); }
.sa-ana .sa-ic { color: #8A7D76; }
.sa-ana .sa-ok { opacity: 0; transition: opacity .3s; }
.sa-ana.acik { background: linear-gradient(135deg, #EEF5FC, #E3EEF9); box-shadow: inset 0 0 0 1.5px #C5DAF0, 0 10px 24px -14px rgba(29,111,184,.45); }
.sa-ana.acik .sa-ic { color: #1D6FB8; }
.sa-ana.acik .sa-ok { opacity: 1; }
.sa-ana.acik .yz-y small { color: #1D5E9E; }
.sa-kontrol { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; transition: opacity .25s; }
.sa-kontrol.pasif { opacity: .45; pointer-events: none; }
.sa-sec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sa-sec button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; border: 0; border-radius: 18px; background: var(--card); cursor: pointer; font: inherit; text-align: left; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .15s, box-shadow .15s; --k: #8A7D76; }
.sa-sec button[data-sk="uyar"] { --k: #B7791F; } .sa-sec button[data-sk="engelle"] { --k: #B3261E; }
.sa-sec button:hover { transform: translateY(-2px); }
.sa-sec button[aria-checked="true"] { box-shadow: inset 0 0 0 2.5px var(--k), 0 12px 26px -16px var(--k); background: color-mix(in srgb, var(--k) 6%, #fff); }
.sa-sec-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--k) 12%, #fff); color: var(--k); margin-bottom: 4px; }
.sa-sec b { font: 800 16px var(--font); }
.sa-sec small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.sa-sec em { position: absolute; top: 12px; right: 12px; font: 800 10.5px var(--font); font-style: normal; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 8px; background: #FFF3D6; color: #8A5A00; }
.sa-sec button[aria-checked="true"]::after { content: '✓'; position: absolute; bottom: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--k); color: #fff; font: 900 13px var(--font); }
.sa-not { margin: 0; padding: 10px 14px; border-radius: 12px; font: 600 13.5px/1.45 var(--font); background: #F7F3EF; color: var(--muted-2, #6b5f59); }
.sa-not:empty { display: none; }
.sa-not.engelle { background: #FFF6F4; color: #A3262A; }
.sa-not.uyar { background: #FFFAF1; color: #8A5A00; }
.sa-alt { display: flex; gap: 8px; margin-top: 14px; }
.tab-products-pr-ust[hidden], .pr-ust[hidden] { display: none !important; }
/* Ürün kartı: malzeme az */
.az-rozet { position: absolute; z-index: 3; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px 0 6px; border-radius: 11px; background: #FFF3D6; color: #8A5A00; font: 800 11px var(--font); box-shadow: 0 0 0 2px #fff; }
/* Alışveriş */
.stk-ak.alis { position: relative; background: linear-gradient(145deg, #3B8DD6, #1D5E9E); }
.stk-ak-n { position: absolute; top: 10px; right: 10px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: #fff; color: #1D5E9E; font: 900 12px/24px var(--font-num); font-style: normal; text-align: center; }
.stk-dlg.sd-alisveris { width: min(780px, calc(100vw - 32px)); }
.al-grup { display: flex; flex-direction: column; gap: 6px; }
.al-grup + .al-grup { margin-top: 10px; }
.al-ted { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.al-ted b { font: 800 13px var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.al-wa { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 10px; background: #E8F6EC; color: #1A7F37; cursor: pointer; font: 800 12.5px var(--font); }
.al-s { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 80px auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 16px; background: var(--card-2, #FBF8F5); box-shadow: inset 0 0 0 1px var(--line-2); }
.al-s.bitti { box-shadow: inset 4px 0 0 #B3261E, inset 0 0 0 1px #F2C9C3; background: #FFF8F6; }
.al-s.kapali { opacity: .45; }
.al-cb { display: flex !important; flex-direction: row !important; }
.al-cb input { width: 20px; height: 20px; accent-color: #1A7F37; }
.al-ad { display: flex; flex-direction: column; min-width: 0; }
.al-ad b { font: 800 15px var(--font); }
.al-ad small { font-size: 12px; color: var(--muted); }
.al-s.bitti .al-ad small { color: var(--primary); font-weight: 800; }
.al-mk { display: flex; align-items: center; gap: 4px; }
.al-mk button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: #fff; cursor: pointer; font: 800 18px var(--font); box-shadow: inset 0 0 0 1px var(--line-2); }
.al-mk b { min-width: 40px; text-align: center; font: 900 17px var(--font-num); }
.al-mk em { font: 700 12.5px var(--font); font-style: normal; color: var(--muted); min-width: 44px; }
.al-tt { font: 700 13px var(--font-num); color: var(--muted); text-align: right; }
.al-geldi { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: #fff; cursor: pointer; font: 800 12.5px var(--font); color: #1A7F37; box-shadow: inset 0 0 0 1.5px #CFE8D7; }
.al-geldi:hover { background: #1A7F37; color: #fff; }
.al-bos { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 0; color: var(--muted); text-align: center; }
.al-bos svg { color: #1A7F37; }
.al-bos b { font: 800 18px var(--font); color: var(--text); }
.al-wa-tum { background: #1A7F37 !important; }
@media (max-width: 760px) { .sa-sec { grid-template-columns: 1fr; } .al-s { grid-template-columns: auto minmax(0, 1fr) auto; } .al-tt { display: none; } }
/* Raporlar · Stok ve maliyet */
.rs-ust { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.rs-kar { padding: 16px 18px; border-radius: 18px; background: var(--card-2, #FBF8F5); box-shadow: inset 0 0 0 1px var(--line-2); }
.rs-kar-ust { display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; }
.rs-kar-ust span { display: flex; flex-direction: column; }
.rs-kar-ust small { font: 700 12px var(--font); color: var(--muted); }
.rs-kar-ust b { font: 900 24px var(--font-num); }
.rs-eksi b { color: #B4561B; }
.rs-esit b { color: #1A7F37; font-size: 30px; }
.rs-bar { display: flex; height: 16px; margin-top: 14px; border-radius: 8px; overflow: hidden; background: #EFE8E1; }
.rs-bar i.m { background: repeating-linear-gradient(-45deg, #E8A33D 0 6px, #D9902A 6px 12px); }
.rs-bar i.k { background: linear-gradient(90deg, #34C265, #1A7F37); }
.rs-bar-y { display: flex; justify-content: space-between; margin-top: 6px; font: 700 12.5px var(--font); color: var(--muted); }
.rs-bar-y .iyi b { color: #1A7F37; } .rs-bar-y .orta b { color: #B7791F; } .rs-bar-y .dusuk b { color: var(--primary); }
.rs-not { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #FFF4E8; color: #B4561B; font: 600 13px var(--font); }
.rs-not .link { font-weight: 800; }
.rs-kpi { display: grid; gap: 10px; }
.rs-kpi > div { display: flex; flex-direction: column; justify-content: center; padding: 14px 16px; border-radius: 18px; background: var(--card-2, #FBF8F5); box-shadow: inset 0 0 0 1px var(--line-2); }
.rs-kpi .kirmizi { background: #FFF6F4; box-shadow: inset 0 0 0 1.5px #F2C9C3; }
.rs-kpi small { font: 700 12px var(--font); color: var(--muted); }
.rs-kpi b { font: 900 24px var(--font-num); }
.rs-kpi .kirmizi b { color: var(--primary); }
.rs-kpi span { font-size: 12px; color: var(--muted); }
.rs-alt { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 18px; }
.rs-blok h4 { margin: 0 0 8px; font: 800 14px var(--font); }
.rs-tk, .rs-ur, .rs-ky { display: flex; flex-direction: column; }
.rs-tk-s { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px 70px; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; }
.rs-tk-s span { font: 800 13.5px var(--font-num); }
.rs-tk-s em { font: 800 12px var(--font); font-style: normal; color: var(--muted); text-align: right; }
.rs-tk-s em.artti { color: #B4561B; } .rs-tk-s em.dustu { color: #1A7F37; }
.rs-tk-s small { text-align: right; color: var(--muted); font-family: var(--font-num); }
.rs-ip { margin: 6px 0 0; font-size: 11.5px; color: var(--muted); }
.rs-ur-s { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto auto 80px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; }
.rs-ur-s .sira { font: 900 12px var(--font-num); color: var(--muted); }
.rs-ur-s strong { text-align: right; font-family: var(--font-num); }
.rs-ky-s { display: grid; grid-template-columns: minmax(0, 1fr) auto 80px; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; }
.rs-ky-s span { color: var(--muted); font-size: 12.5px; }
.rs-ky-s em { font-style: normal; font-weight: 800; color: var(--primary); text-align: right; font-family: var(--font-num); }
@media (max-width: 1000px) { .rs-ust { grid-template-columns: 1fr; } }

/* ═══ Kampanyalar ═══ */
.ayarlar .ay-kampanya { --r: #B7791F; --a: #FFF3D6; }
/* Sepet: hediye satırı, şerit, ipucu */
.cart-line.kmp-hediye { background: linear-gradient(90deg, rgba(26,127,55,.07), transparent); border-bottom-style: dashed; }
.cart-line.kmp-hediye .cl-ad { display: flex; align-items: center; gap: 10px; cursor: default; }
.cart-line.kmp-hediye .cl-foto { position: relative; }
.cart-line.kmp-hediye .cl-foto i { position: absolute; right: -6px; bottom: -6px; font-size: 14px; font-style: normal; }
.cart-line.kmp-hediye .nm { color: #1A7F37; }
.cart-line.kmp-hediye .cl-sec { color: #1A7F37; font-weight: 700; }
.kmp-adet { font: 800 16px var(--font-num); text-align: center; color: #1A7F37; }
.cart-line.kmp-hediye .tt { color: #1A7F37; font-weight: 800; }
.cart-line.kmp-hediye .tt s { color: #B0A49B; font-weight: 600; font-size: 12px; margin-right: 4px; }
.kmp-serit { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; }
.kms-k { display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 9px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #34C265, #1A7F37); box-shadow: 0 8px 18px -10px rgba(26,127,55,.7); }
.kms-k i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: rgba(255,255,255,.2); font-style: normal; }
.kms-k b { flex: 1; font: 800 14.5px var(--font); }
.kms-k em { font: 900 16px var(--font-num); font-style: normal; }
.kmp-serit.yeni .kms-k { animation: kmp-gir .7s cubic-bezier(.2,1.4,.4,1); }
@keyframes kmp-gir { 0% { transform: scale(.85) translateY(8px); opacity: 0; } 40% { transform: scale(1.04); opacity: 1; filter: brightness(1.2); } 100% { transform: none; } }
.kmp-ipucu { display: flex; align-items: center; gap: 8px; margin: 6px 0 2px; padding: 8px 12px; border-radius: 12px; background: #FFF6E2; color: #8A5A00; font: 700 13px var(--font); box-shadow: inset 0 0 0 1px #F0D9B0; animation: kmp-ipucu 2.4s ease-in-out infinite; }
@keyframes kmp-ipucu { 50% { box-shadow: inset 0 0 0 1px #F0D9B0, 0 0 0 4px rgba(242,181,59,.18); } }
.odt-sol em.kmp { color: #1A7F37; font-style: normal; font-weight: 800; }
.kmp-btn { height: 30px; padding: 0 12px; border-radius: 9px; border: 1.5px dashed #E8C78A; background: transparent; font: 700 13px var(--font); color: #8A5A00; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.kmp-btn[hidden] { display: none; }
.kmp-btn.on { border-style: solid; border-color: #1A7F37; background: #E3F3E7; color: #1A7F37; }
.sd-bas.kmp { --c: #B7791F; }
.kmp-sec { display: flex; flex-direction: column; gap: 8px; }
.kmp-sec-k { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 56px 14px 16px; border: 0; border-radius: 16px; background: var(--card-2, #FBF8F5); cursor: pointer; font: inherit; text-align: left; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.kmp-sec-k b { font: 800 15.5px var(--font); }
.kmp-sec-k small { font-size: 13px; color: var(--muted); }
.kmp-sec-k em { font: 700 12px var(--font); font-style: normal; color: #B4561B; }
.kmp-sec-k i { position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; font: 900 16px var(--font); font-style: normal; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.kmp-sec-k.on { background: #F3FAF5; box-shadow: inset 0 0 0 2px #1A7F37; }
.kmp-sec-k.on i { background: #1A7F37; color: #fff; box-shadow: none; }
.kmp-sec-k:disabled { opacity: .5; cursor: not-allowed; }
/* Ayarlar: kampanya kartları */
.kmp-liste { display: flex; flex-direction: column; gap: 10px; }
.kmp-kart { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--card); cursor: pointer; box-shadow: inset 4px 0 0 var(--k), inset 0 0 0 1px var(--line-2); transition: transform .15s, box-shadow .15s; }
.kmp-kart:hover { transform: translateY(-1px); box-shadow: inset 4px 0 0 var(--k), inset 0 0 0 1.5px var(--line-3), 0 10px 22px -16px rgba(34,23,20,.4); }
.kmp-kart.kapali, .kmp-kart.bitti { opacity: .6; }
.kmk-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; flex-shrink: 0; color: var(--k); background: color-mix(in srgb, var(--k) 12%, #fff); }
.kmk-y { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.kmk-ust { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kmk-ust b { font: 800 16px var(--font); }
.kmk-durum { font: 800 11px var(--font); font-style: normal; padding: 3px 8px; border-radius: 8px; background: #F2ECE6; color: var(--muted); }
.kmk-durum.canli { background: #E8F6EC; color: #1A7F37; }
.kmk-durum.canli::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #1A7F37; vertical-align: middle; animation: yogun-nokta .8s ease-in-out infinite alternate; }
.kmk-durum.bekliyor { background: #FFF3D6; color: #8A5A00; }
.kmk-durum.bitti, .kmk-durum.kapali { background: #F2ECE6; color: #8A7D76; }
.kmk-kupon { font: 800 12px var(--font-num); padding: 3px 8px; border-radius: 7px; background: #1D1310; color: #FFD27A; letter-spacing: .06em; }
.kmk-etiket { font: 700 11.5px var(--font); color: #1D6FB8; }
.kmk-ozet { font: 600 13.5px var(--font); color: var(--text-2, #5E504A); }
.kmk-alt { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.kmk-alt b { color: #1A7F37; }
.kmp-bos { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 16px; text-align: center; border-radius: 20px; background: #FFFAF1; box-shadow: inset 0 0 0 1.5px dashed #F0D9B0; }
.kmp-bos > span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: #FFF3D6; color: #B7791F; }
.kmp-bos b { font: 800 18px var(--font); }
.kmp-bos small { max-width: 460px; color: var(--muted); font-size: 13.5px; }
/* Düzenleyici */
.stk-dlg.kmp-duzen { width: min(760px, calc(100vw - 32px)); }
.kmp-turler { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kmp-kademe { display: flex; flex-direction: column; gap: 8px; }
.kk-satir { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto minmax(0, 120px) 34px; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 14px; background: color-mix(in srgb, #0F766E calc(4% + var(--i) * 3%), #fff); border: 1px solid color-mix(in srgb, #0F766E 18%, transparent); }
.kk-no, .kp-no { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 800 13px var(--font-num); background: #0F766E; color: #fff; }
.kk-ok { color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.kk-sil { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; }
.kk-sil:hover { color: #B3261E; border-color: #F1B8B3; }
.kk-ekle { align-self: flex-start; height: 38px; padding: 0 14px; border-radius: 11px; border: 1.5px dashed var(--line-3); background: transparent; font: 700 13.5px var(--font); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.kk-ekle small { color: var(--muted); font-weight: 600; }
.kk-ekle:hover { border-color: var(--text); }
.kmp-parcalar { display: flex; flex-direction: column; gap: 10px; }
.kp-parca { padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--card-2, #FBF8F5); }
.kp-parca .kp-no { background: #B7791F; }
.kp-bas { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.kp-bas b { font: 800 14.5px var(--font); }
.kp-bas small { color: var(--muted); font-size: 12.5px; }
.kp-adet { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted-2); }
.kp-adet input { width: 56px; height: 34px; text-align: center; border-radius: 10px; border: 1px solid var(--line-2); font: 800 15px var(--font-num); }
.kk-satir .ek-input input { min-width: 0; }
@media (max-width: 560px) { .kk-satir { grid-template-columns: 26px minmax(0, 1.5fr) minmax(0, 1fr) 32px; gap: 6px; padding: 8px; } .kk-ok { display: none; }
  .kk-satir .ek-input > i { left: 10px; } .kk-satir .ek-input input { padding-left: 28px !important; padding-right: 6px !important; font-size: 16px; } }
.kmp-turler button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border: 0; border-radius: 16px; background: var(--card-2, #FBF8F5); cursor: pointer; font: inherit; text-align: left; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .12s; }
.kmp-turler button:hover { transform: translateY(-2px); }
.kmp-turler button span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 6px; color: var(--k); background: color-mix(in srgb, var(--k) 12%, #fff); }
.kmp-turler b { font: 800 13.5px var(--font); }
.kmp-turler small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.kmp-turler button[aria-pressed="true"] { background: color-mix(in srgb, var(--k) 7%, #fff); box-shadow: inset 0 0 0 2.5px var(--k); }
.kmp-odul { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 18px; background: #FFFAF1; box-shadow: inset 0 0 0 1.5px #F0D9B0; }
.kmp-kosul { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.kmp-kb { font: 800 12px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kmp-seg button { min-height: 44px; }
.kmp-seg[data-seg="gunler"] { grid-auto-columns: minmax(0, 1fr); }
.kmp-not { font-size: 12px; color: var(--muted); }
.kmp-hizli { display: flex; gap: 6px; }
.kmp-hizli button { height: 30px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; font: 700 12.5px var(--font); color: #1D6FB8; box-shadow: inset 0 0 0 1px #D5E3F2; }
.kmp-sc { display: flex; flex-direction: column; gap: 8px; }
.kmp-sc-l { display: flex; flex-wrap: wrap; gap: 6px; }
.kmp-sc-l button { height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: #fff; cursor: pointer; font: 700 13px var(--font); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.kmp-sc-l button[aria-pressed="true"] { background: #1D1310; color: #fff; box-shadow: none; }
.kmp-sc-u summary { cursor: pointer; font: 700 12.5px var(--font); color: #1D6FB8; padding: 4px 0; }
.kmp-sc-u .kmp-sc-l { max-height: 180px; overflow: auto; padding-top: 6px; }
.kmp-sc-not { font-size: 12px; color: var(--muted); }
.kmp-sc-not:empty { display: none; }
label.kmp-cb { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--card-2, #FBF8F5); cursor: pointer; }
.kmp-cb input { width: 20px; height: 20px; margin-top: 2px; accent-color: #1A7F37; }
.kmp-cb span { display: flex; flex-direction: column; }
.kmp-cb b { font: 800 14px var(--font); color: var(--text); }
.kmp-cb small { font-size: 12.5px; color: var(--muted); }
.kmp-duzen input[type=date], .kmp-duzen input[type=time], .kmp-duzen .sd-alan > input { height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card-2, #FBF8F5); padding: 0 14px; font: 700 15px var(--font); }
@media (max-width: 760px) { .kmp-turler { grid-template-columns: repeat(2, 1fr); } }
/* Rapor: kampanyalar */
.rk-ust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.rk-ust > div { padding: 12px 14px; border-radius: 16px; background: var(--card-2, #FBF8F5); box-shadow: inset 0 0 0 1px var(--line-2); }
.rk-ust small { display: block; font: 700 12px var(--font); color: var(--muted); }
.rk-ust b { font: 900 22px var(--font-num); }
.rk-ust b.eksi { color: #B4561B; }
.rk-l { display: flex; flex-direction: column; }
.rk-s { display: grid; grid-template-columns: 32px minmax(120px, 1fr) minmax(80px, 2fr) 60px 80px 100px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; }
.rk-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--k); background: color-mix(in srgb, var(--k) 12%, #fff); }
.rk-bar { height: 8px; border-radius: 4px; background: #F1EBE5; overflow: hidden; }
.rk-bar i { display: block; height: 100%; border-radius: 4px; background: var(--k); }
.rk-n { font-weight: 800; text-align: right; }
.rk-v { font-weight: 800; color: #B4561B; text-align: right; font-family: var(--font-num); }
.rk-c { color: var(--muted); text-align: right; font-family: var(--font-num); }
@media (max-width: 900px) { .rk-ust { grid-template-columns: repeat(2, 1fr); } .rk-s { grid-template-columns: 32px 1fr 60px 80px; } .rk-bar, .rk-c { display: none; } }

/* ═══ Salon: görsel masa planı ═════════════════════════════════════════════ */
#tab-salon { --plum: #7B3FA0; --plum-d: #4F2569; --zemin: #F7F0E8; padding: 16px 18px 24px; }
@media (max-width: 640px) { #tab-salon { padding: 12px 10px 20px; } }
.sl-ust { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 12px; }
.sl-baslik { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.sl-baslik h2 { margin: 0; font: 800 26px/1.1 var(--font-num); letter-spacing: -.02em; }
.sl-ozet { display: flex; flex-wrap: wrap; gap: 6px; }
.slo { display: inline-flex; align-items: baseline; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--muted); font-weight: 600; }
.slo b { font: 800 14px var(--font-num); color: var(--text); }
.slo.bos b { color: var(--ok); } .slo.dolu b { color: var(--plum); }
.slo.hazir { background: #FFF4D6; box-shadow: inset 0 0 0 1px #F0D49A; color: #7A5200; } .slo.hazir b { color: #9A5B00; }
.slo.cagri { background: #E5533F; box-shadow: none; color: #fff; animation: slo-nabiz 1.4s ease-in-out infinite; } .slo.cagri b { color: #fff; }
@keyframes slo-nabiz { 50% { box-shadow: 0 0 0 5px rgba(229, 83, 63, .2); } }
.sl-bolumler { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #EBE2DA; }
.sl-bolumler button { position: relative; display: inline-flex; align-items: baseline; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: 11px; background: none; font: 700 14px var(--font); color: var(--text-2); cursor: pointer; }
.sl-bolumler button small { font: 700 11.5px var(--font-num); color: var(--muted); }
.sl-bolumler button[aria-selected="true"] { background: var(--card); color: var(--text); box-shadow: 0 2px 8px -3px rgba(60, 30, 20, .3); }
.sl-bolumler .slb-yeni { color: var(--plum); border: 1.5px dashed #CDB6DE; }
.slb-cagri { position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: #E5533F; box-shadow: 0 0 0 2px #fff; }
.sl-lejant { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.sl-lejant span { display: inline-flex; align-items: center; gap: 5px; }
.sl-lejant i { width: 12px; height: 12px; border-radius: 4px; }
.lj-bos { background: #fff; box-shadow: inset 0 0 0 1.5px #D9CCC3; } .lj-dolu { background: linear-gradient(150deg, #9156B8, #5E2E7E); }
.lj-hazir { background: #F2B53B; } .lj-cagri { background: #E5533F; border-radius: 50% !important; }
.sl-duzen-btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; border-radius: 12px; }
@media (max-width: 1100px) { .sl-lejant { display: none; } }

.sl-govde { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
#tab-salon.panel-acik .sl-govde { grid-template-columns: minmax(0, 1fr) 370px; }
.sl-sahne-kap { container-type: inline-size; position: relative; padding: 22px; border-radius: 26px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .7), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 calc(10cqw - 1px), rgba(140, 100, 70, .07) calc(10cqw - 1px) 10cqw),
    linear-gradient(180deg, #F8F2EB, #F1E7DD);
  box-shadow: inset 0 0 0 1px #E6D9CD, inset 0 2px 18px rgba(120, 80, 50, .08), 0 18px 40px -28px rgba(60, 30, 20, .45); }
.sl-sahne { position: relative; width: 100%; min-height: 220px; transition: height .25s ease; }
#tab-salon.duzen .sl-sahne-kap { background-color: #FBF8F4; background-image: radial-gradient(circle, rgba(80, 60, 50, .2) 1px, transparent 1.4px); background-size: 2cqw 2cqw; box-shadow: inset 0 0 0 2px #1D6FB8, 0 18px 40px -28px rgba(29, 111, 184, .5); }

/* Masa */
.sl-masa { position: absolute; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1cqw); width: calc(var(--w) * 1cqw); height: calc(var(--h) * 1cqw);
  padding: 0; border: 0; background: none; color: var(--text); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), opacity .2s; z-index: 2; }
.sl-masa.dolu { touch-action: none; }
.sl-yuz { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; border-radius: 1.4cqw; overflow: hidden;
  background: linear-gradient(160deg, #FFFFFF 0%, #FBF6F1 60%, #F3EAE2 100%);
  box-shadow: 0 .55cqw 1.3cqw -.45cqw rgba(70, 40, 25, .32), inset 0 0 0 1.5px rgba(120, 90, 70, .14), inset 0 -.35cqw 0 rgba(120, 90, 70, .06);
  transition: box-shadow .25s, background .25s; }
.sl-masa.s-y .sl-yuz { border-radius: 50%; }
.sl-ad { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.sl-ad small { font-size: max(8px, calc(min(var(--w), var(--h)) * .095cqw)); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin-bottom: .15cqw; }
.sl-ad b { font: 800 max(13px, min(calc(var(--w) * .3cqw), calc(var(--h) * .36cqw)))/1 var(--font-num); letter-spacing: -.03em; }
.sl-ad b.uzun { font-size: max(10px, min(calc(var(--w) * .13cqw), calc(var(--h) * .2cqw))); letter-spacing: 0; text-align: center; padding: 0 .4cqw; }
.sl-tutar { margin-top: .35cqw; font: 800 max(10px, calc(min(var(--w), var(--h)) * .14cqw))/1 var(--font-num); }
.sl-sure { margin-top: .25cqw; padding: .12cqw .6cqw; border-radius: 99px; font-size: max(9px, calc(min(var(--w), var(--h)) * .1cqw)); font-weight: 700; opacity: .85; white-space: nowrap; }
.sl-masa.kucuk .sl-ad small, .sl-masa.kucuk .sl-sure { display: none; }
.sl-masa.bos .sl-yuz::after { content: ''; position: absolute; top: max(5px, .9cqw); right: max(5px, .9cqw); width: max(7px, .75cqw); height: max(7px, .75cqw); border-radius: 50%; background: #34A853; box-shadow: 0 0 0 max(2px, .25cqw) rgba(52, 168, 83, .22); }
.sl-masa.s-y.bos .sl-yuz::after { top: 16%; right: 16%; }
.sl-masa.dolu .sl-yuz { color: #fff; background: radial-gradient(120% 90% at 30% 15%, #A066C6 0%, #7B3FA0 45%, #55276F 100%);
  box-shadow: 0 .8cqw 1.8cqw -.6cqw rgba(85, 39, 111, .65), inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 .3cqw .6cqw rgba(255, 255, 255, .12); }
.sl-masa.dolu .sl-sure { background: rgba(255, 255, 255, .16); }
.sl-masa.dolu.uzun .sl-sure { background: #F2B53B; color: #3D2600; opacity: 1; }
.sl-masa.hazir .sl-yuz { animation: sl-hazir 1.5s ease-in-out infinite; }
@keyframes sl-hazir { 0%, 100% { box-shadow: 0 0 0 .3cqw #F2B53B, 0 .8cqw 1.8cqw -.6cqw rgba(85, 39, 111, .6); } 50% { box-shadow: 0 0 0 .75cqw rgba(242, 181, 59, .55), 0 .8cqw 1.8cqw -.6cqw rgba(85, 39, 111, .6); } }
.sl-masa:hover { transform: translateY(-.25cqw); }
.sl-masa:focus-visible { outline: none; }
.sl-masa:focus-visible .sl-yuz { box-shadow: 0 0 0 3px #1D6FB8; }
.sl-masa.secili { transform: translateY(-.35cqw) scale(1.04); z-index: 5; }
.sl-masa.secili .sl-yuz { box-shadow: 0 0 0 .4cqw #1D1310, 0 0 0 .8cqw rgba(29, 19, 16, .12), 0 1.4cqw 2.4cqw -.8cqw rgba(40, 20, 10, .55); }
.sl-masa.c-garson::before, .sl-masa.c-hesap::before { content: ''; position: absolute; inset: -.6cqw; border-radius: 2cqw; border: .35cqw solid #E5533F; animation: sl-cagri 1.4s ease-out infinite; pointer-events: none; }
.sl-masa.s-y.c-garson::before, .sl-masa.s-y.c-hesap::before { border-radius: 50%; }
.sl-masa.c-hesap::before { border-color: #F2B53B; }
@keyframes sl-cagri { 0% { transform: scale(.94); opacity: 1; } 100% { transform: scale(1.22); opacity: 0; } }
.sl-rozet { position: absolute; top: -1.1cqw; right: -1.1cqw; z-index: 3; display: grid; place-items: center; min-width: max(24px, 3cqw); height: max(24px, 3cqw); padding: 0 6px; border-radius: 99px;
  background: #E5533F; color: #fff; font: 800 max(13px, 1.4cqw) var(--font-num); box-shadow: 0 0 0 max(2px, .3cqw) #fff, 0 4px 10px rgba(229, 83, 63, .5); animation: sl-zil 1.2s ease-in-out infinite; }
.sl-rozet.hesap { background: #F2B53B; color: #3D2600; box-shadow: 0 0 0 max(2px, .3cqw) #fff, 0 4px 10px rgba(183, 121, 31, .5); }
.sl-rozet.hz { background: #F2B53B; color: #3D2600; font-size: max(9px, .95cqw); letter-spacing: .06em; animation: none; }
@keyframes sl-zil { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
.sl-masa.geldi { animation: sl-geldi .9s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes sl-geldi { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.sl-masa.tasinan .sl-yuz { box-shadow: 0 0 0 .4cqw #1D6FB8, 0 0 0 1cqw rgba(29, 111, 184, .18); }
#tab-salon:has(.sl-serit.tasi:not([hidden])) .sl-masa:not(.tasinan)::after, .sl-sahne.suruk .sl-masa:not(.kalkti):not(.sl-hayalet)::after { content: ''; position: absolute; inset: -.5cqw; border-radius: 1.8cqw; border: 2px dashed rgba(29, 111, 184, .55); pointer-events: none; animation: sl-hedef-ipucu 1.4s ease-in-out infinite; }
#tab-salon:has(.sl-serit.tasi:not([hidden])) .sl-masa.s-y:not(.tasinan)::after, .sl-sahne.suruk .sl-masa.s-y::after { border-radius: 50%; }
@keyframes sl-hedef-ipucu { 50% { opacity: .35; } }
.sl-masa.kalkti { opacity: .3; }
.sl-hayalet { z-index: 40 !important; pointer-events: none; transition: none !important; animation: none !important; filter: drop-shadow(0 18px 24px rgba(40, 20, 10, .45)); }
.sl-masa.hedef { transform: scale(1.1); z-index: 6; }
.sl-masa.hedef .sl-yuz { box-shadow: 0 0 0 .5cqw #1A7F37, 0 0 0 1.3cqw rgba(26, 127, 55, .2); }
.sl-masa.hedef.birlesir .sl-yuz { box-shadow: 0 0 0 .5cqw #F2B53B, 0 0 0 1.3cqw rgba(242, 181, 59, .3); }

/* Sandalyeler */
.sl-sd { position: absolute; width: max(10px, 2.5cqw); height: max(5px, 1.05cqw); border-radius: max(3px, .55cqw) max(3px, .55cqw) max(2px, .3cqw) max(2px, .3cqw); transform: translate(-50%, -50%) rotate(var(--r));
  background: linear-gradient(180deg, #E3D6CC, #CDBDB0); box-shadow: 0 .15cqw .3cqw rgba(60, 30, 20, .18); pointer-events: none; transition: background .25s; }
.sl-masa.dolu .sl-sd { background: linear-gradient(180deg, #D7C2E6, #B897CF); }

/* Dükkân öğeleri */
.sl-oge { position: absolute; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1cqw); width: calc(var(--w) * 1cqw); height: calc(var(--h) * 1cqw); z-index: 1; pointer-events: none; }
.so-ad { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .5cqw; padding: 0 .6cqw; font: 800 max(9px, min(1.4cqw, calc(var(--h) * .3cqw), calc(var(--w) * .1cqw)))/1.15 var(--font); letter-spacing: .06em; text-transform: uppercase; text-align: center; overflow: hidden; }
.so-ad svg { flex-shrink: 0; }
.sl-oge.dik .so-ad { writing-mode: vertical-rl; font-size: max(10px, min(1.5cqw, calc(var(--w) * .34cqw))); }
.sl-oge.dik .so-ad svg { transform: rotate(90deg); }
.t-duvar { background: linear-gradient(180deg, #4A3C36, #2E2420); border-radius: .3cqw; box-shadow: 0 .3cqw .6cqw rgba(40, 20, 10, .25); }
.t-pencere { background: linear-gradient(180deg, #E4F2FC, #B9DCF3); border-radius: .2cqw; box-shadow: inset 0 0 0 max(1.5px, .2cqw) #fff, 0 0 0 max(1px, .15cqw) #8DBBDD; }
.t-kapi { border-left: max(3px, .45cqw) solid #8A5A2B; }
.so-kanat { position: absolute; inset: 0; border-top-right-radius: 100%; border-top: max(1.5px, .2cqw) dashed rgba(138, 90, 43, .6); border-right: max(1.5px, .2cqw) dashed rgba(138, 90, 43, .6); background: radial-gradient(circle at 0 100%, rgba(242, 181, 59, .1), transparent 70%); }
.t-bar { background: linear-gradient(180deg, #9A6634 0%, #7A4C22 55%, #5E3816 100%); border-radius: .9cqw; color: #FCEBD5; box-shadow: 0 .6cqw 1.2cqw -.4cqw rgba(60, 30, 10, .5), inset 0 .25cqw 0 rgba(255, 255, 255, .15); }
.t-mutfak { background: repeating-linear-gradient(45deg, #EEE7E0 0 .9cqw, #E5DCD3 .9cqw 1.8cqw); border-radius: 1.1cqw; color: #6E625C; box-shadow: inset 0 0 0 max(1.5px, .2cqw) #CDBFB4; }
.t-kasa { background: linear-gradient(160deg, #3A2E2A, #1D1310); border-radius: .8cqw; color: #F2B53B; box-shadow: 0 .5cqw 1cqw -.3cqw rgba(30, 15, 10, .5); }
.t-wc { background: #EAF3FB; border-radius: .9cqw; color: #1D6FB8; box-shadow: inset 0 0 0 max(1.5px, .2cqw) #B9D3EE; }
.t-bitki { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9AD68F 0%, #4E9F4A 45%, #2C6B2B 100%); box-shadow: 0 .4cqw .8cqw rgba(30, 70, 30, .3); }
.t-bitki::after { content: ''; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, .35), transparent 60%); }
.t-yazi { color: #8A7D76; }
.t-yazi .so-ad { letter-spacing: .14em; }

/* Düzenleme modu */
#tab-salon.duzen .sl-masa, #tab-salon.duzen .sl-oge { pointer-events: auto; cursor: grab; touch-action: none; }
#tab-salon.duzen .sl-masa:hover { transform: none; }
#tab-salon.duzen .sl-masa.secili { transform: none; }
#tab-salon.duzen .secili { z-index: 8; }
#tab-salon.duzen .sl-masa.secili .sl-yuz, #tab-salon.duzen .sl-oge.secili { outline: 2px dashed #1D6FB8; outline-offset: max(4px, .6cqw); }
#tab-salon.duzen .sl-masa.secili .sl-yuz { box-shadow: 0 .55cqw 1.3cqw -.45cqw rgba(70, 40, 25, .32), inset 0 0 0 1.5px rgba(120, 90, 70, .14); overflow: visible; }
#tab-salon.duzen .tutuldu { cursor: grabbing; transition: none; filter: drop-shadow(0 14px 18px rgba(40, 20, 10, .3)); z-index: 9; }
#tab-salon.duzen .sl-rozet, #tab-salon.duzen .sl-masa::before { display: none; }
.sl-boyut { position: absolute; right: max(-12px, -1.4cqw); bottom: max(-12px, -1.4cqw); z-index: 4; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2.5px solid #1D6FB8; cursor: nwse-resize; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); touch-action: none; }
.sl-boyut::after { content: ''; position: absolute; inset: 5px; border-right: 2px solid #1D6FB8; border-bottom: 2px solid #1D6FB8; border-radius: 0 0 3px 0; }

.sl-arac { position: sticky; top: 8px; z-index: 20; margin-bottom: 12px; padding: 10px 12px; border-radius: 20px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px rgba(29, 111, 184, .45); display: flex; flex-direction: column; gap: 10px; }
.sa-paleta { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sa-e { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 4px; }
.sa-oge { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-2); font: 700 13.5px var(--font); color: var(--text-2); cursor: pointer; transition: transform .1s, border-color .15s; }
.sa-oge:hover { border-color: #1D6FB8; color: #1D6FB8; }
.sa-oge:active { transform: scale(.95); }
.sa-oge.masa { background: #F1E8F6; border-color: #DCC6EA; color: #5E2E7E; }
.sa-alt { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.sa-secim { flex: 1; min-width: 260px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.sa-ipucu { font-size: 13px; color: var(--muted); }
.sa-ad { display: inline-flex; align-items: center; gap: 6px; font: 800 15px var(--font); padding-right: 4px; }
.sa-grup { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: #EEF3F8; }
.sa-grup button { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px; border: 0; border-radius: 9px; background: none; font: 700 13px var(--font); color: var(--text-2); cursor: pointer; }
.sa-grup button[aria-pressed="true"] { background: #1D6FB8; color: #fff; }
.sa-adim { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 12px; background: #EEF3F8; font-size: 13px; font-weight: 700; color: var(--text-2); }
.sa-adim button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: #fff; font: 800 17px var(--font); cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.sa-adim b { min-width: 22px; text-align: center; font: 800 15px var(--font-num); }
.sa-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); font: 700 13px var(--font); color: var(--text-2); cursor: pointer; }
.sa-btn:hover { border-color: #1D6FB8; }
.sa-btn.tehlike { color: var(--danger); }
.sa-btn.tehlike:hover { border-color: var(--danger); background: var(--soft); }
.sa-sec { display: inline-flex; flex: none; width: auto; flex-direction: row; align-items: center; gap: 6px; font-size: 12.5px; }
.sa-sec select { width: auto; height: 38px; padding: 0 30px 0 10px; border-radius: 11px; font-weight: 700; }
.sa-son { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.sa-son .btn { height: 42px; border-radius: 12px; display: inline-flex; align-items: center; gap: 6px; }

.sl-serit { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 10px 12px 10px 14px; border-radius: 16px; background: #1D6FB8; color: #fff; box-shadow: 0 12px 26px -14px rgba(29, 111, 184, .8); animation: cagri-gel .25s ease-out; }
.sl-serit .ss-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255, 255, 255, .18); }
.sl-serit span:nth-child(2) { flex: 1; font-size: 15px; }
.sl-serit em { display: block; font-style: normal; font-size: 13px; opacity: .85; }
.sl-serit button { height: 38px; padding: 0 16px; border: 0; border-radius: 11px; background: #fff; color: #1D6FB8; font: 800 14px var(--font); cursor: pointer; }

.sl-yuk { display: flex; justify-content: center; gap: 8px; padding: 90px 0; }
.sl-yuk i { width: 12px; height: 12px; border-radius: 50%; background: #CDB6DE; animation: sl-yuk 1s ease-in-out infinite; }
.sl-yuk i:nth-child(2) { animation-delay: .15s; } .sl-yuk i:nth-child(3) { animation-delay: .3s; }
@keyframes sl-yuk { 50% { transform: translateY(-10px); background: #7B3FA0; } }
.sl-bos-sahne { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 70px 20px; color: var(--muted); }
.sl-bos-sahne b { font-size: 19px; color: var(--text); }
.sbs-ic { width: 90px; height: 90px; border-radius: 28px; display: grid; place-items: center; background: #F1E8F6; color: #7B3FA0; margin-bottom: 6px; transform: rotate(-6deg); }
.sl-bos-sahne .btn { margin-top: 10px; height: 46px; }

/* Masa paneli */
.sl-panel { position: sticky; top: 12px; max-height: calc(100vh - 150px); overflow: auto; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 22px 46px -28px rgba(60, 30, 20, .5); animation: sp-gel .28s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes sp-gel { from { opacity: 0; transform: translateX(16px); } }
.sp-ust { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 16px 14px 14px 18px; background: linear-gradient(150deg, #8A4DB0, #55276F); color: #fff; }
.sp-ad { flex: 1; display: flex; flex-direction: column; }
.sp-ad b { font: 800 24px/1.05 var(--font-num); letter-spacing: -.02em; }
.sp-ad small { font-size: 12.5px; opacity: .8; font-weight: 600; }
.sp-durum { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 99px; background: rgba(255, 255, 255, .18); font: 800 13px var(--font-num); }
.sp-durum.bos { background: #34A853; }
.sp-kapat { width: 36px; height: 36px; border-radius: 11px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.sp-cagri { display: flex; align-items: center; gap: 10px; margin: 12px 12px 0; padding: 10px 10px 10px 12px; border-radius: 16px; background: #FDECE9; color: #8E2A1C; }
.sp-cagri.hesap { background: #FFF4D6; color: #6B4E00; }
.spc-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #E5533F; color: #fff; font: 800 18px var(--font-num); flex-shrink: 0; animation: sl-zil 1.2s ease-in-out infinite; }
.sp-cagri.hesap .spc-ic { background: #F2B53B; color: #3D2600; }
.sp-cagri > div { flex: 1; display: flex; flex-direction: column; }
.sp-cagri b { font-size: 14.5px; } .sp-cagri small { font-size: 12px; opacity: .8; }
.sp-cagri button { height: 38px; padding: 0 14px; border: 0; border-radius: 11px; background: #fff; font: 800 13.5px var(--font); color: inherit; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.sp-siparisler { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.sp-sip { border-radius: 16px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); padding: 10px 12px; }
.sp-sip-ust { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.sp-sip-ust b { font: 800 15px var(--font-num); }
.sp-sip-ust small { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 600; }
.sp-d { padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 800; background: #EEE7E1; color: var(--text-2); }
.sp-d.d-yeni { background: #FDECE9; color: #B3261E; } .sp-d.d-hazirlaniyor { background: #FFF4D6; color: #8A5A00; } .sp-d.d-yolda { background: #E8F6EC; color: #1A7F37; }
.sp-d.hazir { background: #F2B53B; color: #3D2600; animation: slo-nabiz 1.4s ease-in-out infinite; }
.sp-sip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sp-sip li { display: flex; align-items: baseline; gap: 7px; font-size: 14px; }
.sp-sip li b { font: 800 13.5px var(--font-num); color: var(--plum); min-width: 24px; }
.sp-sip li span { flex: 1; } .sp-sip li small { display: block; font-size: 12px; color: var(--muted); }
.sp-sip li em { font-style: normal; font: 700 13.5px var(--font-num); color: var(--text-2); }
.sp-servis { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 40px; margin-top: 8px; border: 0; border-radius: 12px; background: #F2B53B; color: #3D2600; font: 800 14px var(--font); cursor: pointer; }
.sp-toplam { margin: 0 12px; padding: 12px 14px; border-radius: 16px; background: #F7F1FA; display: flex; flex-direction: column; gap: 4px; }
.sp-toplam > div { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-2); }
.sp-toplam .ind { color: var(--ok); font-weight: 700; } .sp-toplam .od { color: #1D6FB8; font-weight: 700; }
.sp-toplam .spt-ana { align-items: baseline; margin-top: 2px; color: var(--text); font-weight: 700; }
.spt-ana b { font: 800 28px/1 var(--font-num); letter-spacing: -.02em; color: var(--plum-d); }
.sp-dug { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font: 700 14px var(--font); color: var(--text); cursor: pointer; transition: transform .1s, border-color .15s; }
.sp-btn:hover { border-color: var(--plum); }
.sp-btn:active { transform: scale(.97); }
.sp-btn.ana { grid-column: 1 / -1; min-height: 56px; border: 0; background: linear-gradient(150deg, #8A4DB0, #5E2E7E); color: #fff; font-size: 16px; font-weight: 800; box-shadow: 0 10px 22px -12px rgba(94, 46, 126, .8); }
.sp-bos { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 18px 18px; text-align: center; color: var(--muted); font-size: 14px; }
.sp-bos b { font-size: 18px; color: var(--text); }
.sp-bos-ic { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; background: #E8F6EC; color: var(--ok); margin-bottom: 4px; }
.sp-bos .sp-btn { width: 100%; margin-top: 12px; }
@media (max-width: 980px) {
  #tab-salon.panel-acik .sl-govde { grid-template-columns: minmax(0, 1fr); }
  .sl-panel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60; max-height: 74vh; border-radius: 24px 24px 0 0; animation: sp-alt .3s cubic-bezier(.3, 1.2, .5, 1); box-shadow: 0 -20px 50px -10px rgba(40, 20, 10, .4); }
  @keyframes sp-alt { from { transform: translateY(40%); opacity: 0; } }
  .sl-sahne-kap { padding: 14px; border-radius: 20px; }
}
.salon-badge { background: #E5533F !important; color: #fff !important; animation: slo-nabiz 1.4s ease-in-out infinite; }
.cagri { cursor: pointer; }

/* ═══ Adisyon: hesap ve bölme ═════════════════════════════════════════════ */
.adisyon-dialog { width: min(780px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 26px; overflow: hidden; display: none; flex-direction: column; box-shadow: 0 40px 90px -30px rgba(40, 20, 10, .6); }
.adisyon-dialog[open] { display: flex; animation: cagri-gel .25s ease-out; }
.adisyon-dialog::backdrop { background: rgba(29, 19, 16, .5); backdrop-filter: blur(3px); }
.ad-ust { display: flex; align-items: center; gap: 14px; padding: 18px 16px 18px 22px; background: radial-gradient(120% 140% at 0% 0%, #A066C6, #5E2E7E 60%, #3F1A55); color: #fff; }
.ad-bas { flex: 1; display: flex; flex-direction: column; }
.ad-masa { font: 800 28px/1.05 var(--font-num); letter-spacing: -.02em; }
.ad-alt { font-size: 13px; opacity: .8; font-weight: 600; }
.ad-toplam { display: flex; flex-direction: column; align-items: flex-end; }
.ad-toplam small { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.ad-toplam b { font: 800 30px/1 var(--font-num); letter-spacing: -.02em; }
.ad-toplam s { font-size: 15px; opacity: .6; margin-right: 4px; }
.ad-ust .md-kapat { color: #fff; background: rgba(255, 255, 255, .16); border-radius: 12px; width: 40px; height: 40px; border: 0; font-size: 24px; cursor: pointer; }
.ad-mod { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 16px; background: #F7F1FA; border-bottom: 1px solid #EADFF1; }
.ad-mod button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid transparent; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 1px 3px rgba(60, 30, 80, .08); }
.ad-mod button b { font-size: 15px; color: var(--text); } .ad-mod button small { font-size: 12px; color: var(--muted); font-weight: 600; }
.ad-mod button[aria-selected="true"] { border-color: var(--plum, #7B3FA0); background: #fff; box-shadow: 0 8px 18px -10px rgba(94, 46, 126, .55); }
.ad-mod button[aria-selected="true"] b { color: #5E2E7E; }
.ad-mod button:disabled { opacity: .45; cursor: not-allowed; }
.ad-icerik { flex: 1; overflow: auto; padding: 16px; background: var(--card-2); }
.ad-ayak { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: #fff; }
.ad-ayak .btn { height: 48px; border-radius: 14px; display: inline-flex; align-items: center; gap: 7px; }
.ad-kapat-btn { min-width: 250px; justify-content: center; font-size: 15.5px; background: linear-gradient(150deg, #1E9443, #146B2E) !important; border: 0 !important; box-shadow: 0 10px 22px -12px rgba(20, 107, 46, .8); }
.ad-kapat-btn b { font: 800 17px var(--font-num); padding-left: 6px; margin-left: 4px; border-left: 1px solid rgba(255, 255, 255, .35); }
.ad-durum { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.ad-durum b { font-family: var(--font-num); }
.ad-durum.uyari { color: #9A5B00; background: #FFF4D6; padding: 6px 12px; border-radius: 10px; }
.ad-durum.tamam { color: var(--ok); }
.ad-fis { max-width: 520px; margin: 0 auto; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -24px rgba(60, 30, 20, .5);
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 0 / 16px 100% repeat-x; mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) -8px 0 / 16px 100% repeat-x; padding-bottom: 24px; }
.af-s { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.af-s b { font: 800 14px var(--font-num); color: var(--plum, #7B3FA0); min-width: 30px; }
.af-s span { flex: 1; } .af-s small { display: block; font-size: 12.5px; color: var(--muted); }
.af-s em { font-style: normal; font: 700 15px var(--font-num); }
.af-s.ikram em { color: var(--ok); }
.af-ara { display: flex; justify-content: space-between; padding-top: 8px; font-size: 14px; color: var(--text-2); }
.af-ara.ind { color: var(--ok); font-weight: 700; padding-top: 2px; }
.af-top { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 2px solid var(--text); font-weight: 800; }
.af-top b { font: 800 26px var(--font-num); }
.ad-not { text-align: center; color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
.ae-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ae-sayac { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.ae-adim { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.ae-adim button { width: 48px; height: 48px; border: 0; border-radius: 12px; background: #F1E8F6; color: #5E2E7E; font: 800 24px var(--font); cursor: pointer; }
.ae-adim button:disabled { opacity: .35; cursor: default; }
.ae-adim b { min-width: 48px; text-align: center; font: 800 28px var(--font-num); }
.ae-kb { display: flex; flex-direction: column; align-items: flex-end; }
.ae-kb small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ae-kb b { font: 800 30px/1 var(--font-num); color: #5E2E7E; }
.ae-cubuk { display: flex; gap: 4px; margin-bottom: 14px; }
.ae-cubuk i { flex: 1; height: 10px; border-radius: 99px; background: color-mix(in srgb, var(--k) 22%, #fff); transition: background .3s; }
.ae-cubuk i.dolu { background: var(--k); }
.ad-kisiler { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 10px; }
.ad-kisiler.kucuk { margin-top: 14px; }
.ad-kisi { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), inset 4px 0 0 var(--k); }
.ak-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--k); color: #fff; font: 800 16px var(--font-num); flex-shrink: 0; }
.ak-bilgi { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ak-bilgi b { font-size: 14.5px; cursor: text; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-bilgi small { font-size: 12px; color: var(--muted); font-weight: 600; }
.ak-tutar { font: 800 18px var(--font-num); }
.ak-ode { height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--k); color: #fff; font: 800 14px var(--font); cursor: pointer; box-shadow: 0 6px 14px -8px var(--k); }
.ak-ode:disabled { opacity: .35; cursor: default; }
.ak-geri { height: 34px; padding: 0 10px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 700 12.5px var(--font); cursor: pointer; text-decoration: underline; }
.ad-kisi.odendi { background: color-mix(in srgb, var(--k) 8%, #fff); }
.ad-kisi.odendi .ak-tutar { color: var(--ok); }
.au-kisiler { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.au-k { flex-shrink: 0; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 16px; border: 2px solid transparent; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: transform .12s; }
.au-k span { grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: color-mix(in srgb, var(--k) 16%, #fff); color: var(--k); font: 800 15px var(--font-num); }
.au-k b { font-size: 14px; } .au-k small { font: 800 13px var(--font-num); color: var(--muted); }
.au-k.aktif { border-color: var(--k); box-shadow: 0 10px 20px -12px var(--k); transform: translateY(-2px); }
.au-k.aktif span { background: var(--k); color: #fff; }
.au-k.odendi { opacity: .6; }
.au-ekle { flex-shrink: 0; padding: 0 16px; border-radius: 16px; border: 2px dashed var(--line-3); background: none; font: 800 14px var(--font); color: var(--muted); cursor: pointer; }
.au-ipucu { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; padding: 8px 12px; border-radius: 12px; background: #fff; font-size: 13.5px; color: var(--text-2); box-shadow: 0 0 0 1px var(--line-2); }
.au-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.au-u { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 40px 8px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-align: left; cursor: pointer; transition: transform .1s, border-color .15s, background .15s; }
.au-u:active { transform: scale(.97); }
.au-nokta { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px dashed var(--line-3); flex-shrink: 0; font: 800 14px var(--font-num); color: #fff; }
.au-ad { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.25; } .au-ad small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.au-u em { font-style: normal; font: 800 14px var(--font-num); }
.au-u.sahipli { border-color: var(--k); background: color-mix(in srgb, var(--k) 7%, #fff); }
.au-u.sahipli .au-nokta { border: 0; background: var(--k); }
.au-u.ortak { border-color: #8A7D76; background: repeating-linear-gradient(135deg, #fff 0 8px, #F6F1EC 8px 16px); }
.au-u.ortak .au-nokta { border: 0; background: #4A3F3A; font-size: 17px; }
.au-u.kilit { opacity: .5; cursor: not-allowed; }
.au-u.kilit::after { content: '✓ ödendi'; position: absolute; top: 4px; right: 40px; font-size: 10.5px; font-weight: 800; color: var(--ok); }
.au-ortak { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #F1ECE7; color: var(--text-2); font: 800 16px var(--font); font-style: normal; }
.au-ortak:hover { background: #4A3F3A; color: #fff; }
@media (max-width: 640px) {
  .ad-mod { grid-template-columns: repeat(3, 1fr); padding: 10px; } .ad-mod button { padding: 8px 10px; } .ad-mod small { display: none; }
  .ad-kapat-btn { min-width: 0; flex: 1 1 100%; }
  .ad-masa { font-size: 23px; } .ad-toplam b { font-size: 24px; }
}

/* Masa kapandı kutlaması */
.masa-kapandi { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(29, 19, 16, .35); animation: cagri-gel .2s ease-out; overflow: hidden; }
.masa-kapandi.gidiyor { opacity: 0; transition: opacity .35s; }
.mk-kart { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 40px; border-radius: 30px; background: #fff; box-shadow: 0 40px 80px -30px rgba(20, 60, 30, .6); animation: sl-geldi .6s cubic-bezier(.3, 1.6, .5, 1); text-align: center; }
.mk-kart b { font: 800 28px var(--font-num); letter-spacing: -.02em; }
.mk-kart > span:last-child { color: var(--muted); font-weight: 600; }
.mk-ic { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: linear-gradient(150deg, #34A853, #146B2E); color: #fff; margin-bottom: 6px; box-shadow: 0 0 0 10px rgba(52, 168, 83, .15); }
.deger-dlg.mor .od-ic { background: linear-gradient(145deg, #F1E8F6, #E0CCEC); color: #7B3FA0; }
.deger-dlg.mor .od-evet { background: linear-gradient(145deg, #8A4DB0, #5E2E7E); color: #fff; }
main > #tab-salon.panel { max-width: 1680px; }
/* Masa seçme penceresi: plan görünümü */
.masa-dialog:has(.md-sahne-kap) { width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); }
.md-arac { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 18px; border-bottom: 1px solid var(--line-2); }
.md-arac:empty { display: none; }
.md-gorunum { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: #EBE2DA; }
.md-gorunum button { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: none; font: 700 13px var(--font); color: var(--text-2); cursor: pointer; }
.md-gorunum button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 2px 6px -2px rgba(60, 30, 20, .3); }
.md-duzen { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font: 700 13px var(--font); color: #5E2E7E; cursor: pointer; }
.md-duzen:hover { border-color: #7B3FA0; }
.md-sahne-kap { margin: 4px; padding: 16px; border-radius: 20px; }
.md-sahne .sl-masa.secili .sl-yuz { box-shadow: 0 0 0 .4cqw #7B3FA0, 0 0 0 .9cqw rgba(123, 63, 160, .2), 0 1.2cqw 2cqw -.8cqw rgba(40, 20, 10, .5); }
.sl-sure.bos-yazi { color: var(--ok); opacity: 1; }

/* ═══ Fiş istasyonları, müşteri ekranı, vitrin ═══════════════════════════ */
.ayarlar .ay-ist { --r: #B3261E; --a: #FBE6E3; }
.ayarlar .ay-ekr { --r: #1D6FB8; --a: #E6F0FA; }
.ayarlar .ay-tv { --r: #7B3FA0; --a: #F1E8F6; }
.ist-bos { display: flex; align-items: center; gap: 22px; padding: 18px; border-radius: 18px; background: var(--card-2); border: 1.5px dashed var(--line-3); }
.ib-fis { position: relative; width: 120px; height: 104px; flex-shrink: 0; }
.ib-fis i { position: absolute; left: 14px; top: 8px; width: 56px; height: 84px; border-radius: 4px 4px 0 0; background: #fff; box-shadow: 0 4px 12px rgba(34, 23, 20, .14); transform: rotate(-7deg); display: flex; flex-direction: column; gap: 6px; padding: 18px 8px 0; }
.ib-fis i.bar { left: 56px; top: 14px; transform: rotate(6deg); }
.ib-fis em { position: absolute; top: 6px; left: 0; right: 0; text-align: center; font: 800 7px var(--font); letter-spacing: .14em; font-style: normal; }
.ib-fis i.bar em { color: #1D6FB8; }
.ib-fis b { height: 4px; border-radius: 2px; background: #E8DED7; }
.ib-yazi { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.ib-yazi > b { font-size: 16px; color: var(--text); }
.ib-dug { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ist-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.ist-kart { padding: 12px 14px 14px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line), inset 4px 0 0 var(--ik); }
.ik-ust { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ik-no { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--ik); color: #fff; font: 800 14px var(--font-num); flex-shrink: 0; }
.ik-ad { flex: 1; height: 40px; font-weight: 800; font-size: 16px; }
.ik-var { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--sand); padding: 3px 8px; border-radius: 99px; }
.ik-sil { width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-size: 22px; cursor: pointer; }
.ik-sil:hover { background: var(--soft); color: var(--danger); }
.ik-katlar { display: flex; flex-wrap: wrap; gap: 6px; }
.ik-k { height: 34px; padding: 0 12px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); font: 700 13px var(--font); color: var(--text-2); cursor: pointer; transition: background .15s, border-color .15s; }
.ik-k.on { background: var(--ik); border-color: var(--ik); color: #fff; }
.ik-k.baska { opacity: .45; border-style: dashed; }
.ist-ekle { min-height: 120px; border-radius: 18px; border: 2px dashed var(--line-3); background: none; font: 800 15px var(--font); color: var(--muted); cursor: pointer; }
.ist-ekle:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.ist-not { margin: 10px 2px 0; font-size: 13px; color: var(--muted); }
.fk-resim i.bolumlu { height: 82px; }
.fk-resim i.bolumlu u { position: absolute; top: 44px; left: 0; right: 0; text-align: center; font: 800 6.5px var(--font); letter-spacing: .12em; text-decoration: none; border-top: 1px dashed #000; padding-top: 3px; margin: 0 6px; }
.ist-kaydet { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.ik-durum { margin-right: auto; font-size: 13px; font-weight: 700; color: #9A5B00; }
.yz-ist { margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); }
.yz-ist-l { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; }
.yi-k { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); font: 700 14px var(--font); cursor: pointer; }
.yi-k i { width: 10px; height: 10px; border-radius: 50%; background: var(--ik, var(--muted)); }
.yi-k.on { background: #1D1310; border-color: #1D1310; color: #fff; }
/* Müşteri ekranı */
.ekr-cihaz { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 16px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--line); }
.ec-gorsel { display: flex; align-items: center; gap: 10px; }
.ec-gorsel > span { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 84px; padding: 12px 0; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--text-2); }
.ec-gorsel small { font-size: 11.5px; font-weight: 800; max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-musteri.on { background: #E6F0FA; color: #1D6FB8; box-shadow: 0 0 0 2px #1D6FB8; }
.ec-ok { width: 40px; height: 2px; background: repeating-linear-gradient(90deg, #1D6FB8 0 6px, transparent 6px 10px); animation: ec-akis 1s linear infinite; background-size: 20px 2px; }
@keyframes ec-akis { to { background-position: 20px 0; } }
.ec-sag { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 10px; }
.ec-dug { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ec-dug .btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; }
.ec-yansit { flex-direction: row; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text); }
.ekr-liste { margin-top: 12px; }
.ekr-satir { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line-2); margin-top: 6px; }
.ekr-satir span { flex: 1; display: flex; flex-direction: column; } .ekr-satir small { color: var(--muted); font-size: 12.5px; }
.ekr-satir.benim { box-shadow: 0 0 0 1.5px #1D6FB8; }
.ekr-nokta { width: 10px; height: 10px; border-radius: 50%; background: var(--line-3); }
.ekr-nokta.on { background: #34A853; box-shadow: 0 0 0 4px rgba(52, 168, 83, .2); }
.sd-bas.ekr .sd-ic { background: #E6F0FA; color: #1D6FB8; }
.ekb-govde { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 18px 22px 22px; align-items: center; }
.ekb-url { font-family: ui-monospace, Consolas, monospace; color: #1D6FB8; }
.ekb-kod { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; border-radius: 20px; background: #1D1310; color: #fff; }
.ekb-rakam { font: 800 44px/1 var(--font-num); letter-spacing: .08em; }
.ekb-sure { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.ekb-qr { background: #fff; border-radius: 12px; padding: 4px; }
.ekb-qr svg, .ekb-qr canvas, .ekb-qr img { display: block; width: 150px; height: 150px; }
@media (max-width: 640px) { .ekb-govde { grid-template-columns: 1fr; } }
/* Vitrin */
.vtr-liste { display: flex; flex-direction: column; gap: 10px; }
.vtr-kart { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.vk-onizleme { position: relative; width: 132px; height: 76px; border-radius: 10px; padding: 18px 8px 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #15100E; box-shadow: 0 0 0 4px #2A201C, 0 8px 16px -8px rgba(0,0,0,.5); flex-shrink: 0; }
.vk-onizleme.t-acik { background: #F6EFE7; box-shadow: 0 0 0 4px #2A201C; }
.vk-onizleme i { border-radius: 4px; background: linear-gradient(160deg, #F2B53B, #B3261E); opacity: .85; }
.vk-onizleme.g-liste { grid-template-columns: 1fr 1fr; }
.vk-onizleme.g-liste i { height: 5px; background: #F2B53B; align-self: center; }
.vk-onizleme span { position: absolute; top: 5px; left: 8px; font: 800 8px var(--font); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.vk-onizleme.t-acik span { color: #8A7D76; }
.vk-bilgi { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; }
.vk-bilgi b { font-size: 16px; } .vk-bilgi small { color: var(--muted); font-size: 13px; }
.vk-kat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vk-dug { display: flex; flex-wrap: wrap; gap: 6px; }
.vk-dug .btn { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.vb-tv { width: 130px; height: 84px; flex-shrink: 0; border-radius: 10px; background: #15100E; box-shadow: 0 0 0 5px #2A201C; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px; }
.vb-tv i { border-radius: 5px; background: linear-gradient(160deg, #F2B53B, #B3261E); animation: vb 3s ease-in-out infinite; }
.vb-tv i:nth-child(2) { animation-delay: .4s; } .vb-tv i:nth-child(3) { animation-delay: .8s; } .vb-tv i:nth-child(4) { animation-delay: 1.2s; }
@keyframes vb { 50% { opacity: .4; } }
.vtr-dlg { width: min(680px, calc(100vw - 32px)); }
.vtr-form { display: flex; flex-direction: column; gap: 16px; padding: 18px 22px 22px; }
.vtr-form .sd-alan > span { font-weight: 800; font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.vtr-katlar { display: flex; flex-wrap: wrap; gap: 6px; }
.vtr-katlar button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); font: 700 13.5px var(--font); cursor: pointer; }
.vtr-katlar button[aria-pressed="true"] { background: #7B3FA0; border-color: #7B3FA0; color: #fff; }
.vtr-katlar i { width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #7B3FA0; display: grid; place-items: center; font: 800 11px var(--font-num); font-style: normal; }
.vtr-iki { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.v-seg { display: flex; gap: 3px; padding: 3px; border-radius: 12px; background: #EBE2DA; }
.v-seg button { flex: 1; height: 40px; border: 0; border-radius: 9px; background: none; font: 700 13.5px var(--font); color: var(--text-2); cursor: pointer; }
.v-seg button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 2px 6px -2px rgba(60, 30, 20, .3); }
.vtr-form input[type=range] { padding: 0; border: 0; accent-color: #7B3FA0; }
.vtr-anahtarlar { display: flex; flex-direction: column; gap: 6px; }
.vtr-anahtarlar .switch-row { flex-direction: row; }
.vtr-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vtr-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px; text-align: center; }
.vtr-qr code { font-size: 13px; word-break: break-all; }
@media (max-width: 600px) { .vtr-iki { grid-template-columns: 1fr; } }
/* Üst menü sığmazsa: önce seçili olmayan sekmeler, gerekirse hepsi yalnızca simge olur */
.tabs .tab.kisa > span, .tabs.dar2 .tab:not(.tab-yeni) > span { display: none; }
.tabs .tab.kisa, .tabs.dar2 .tab:not(.tab-yeni) { padding: 0 12px; }

/* ═══ Günün özeti ve ciro haritası ═══════════════════════════════════════ */
.rp-ozet-btn { display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(135deg, #2A1A15, #1D1310); color: #FFE08A; border-color: #1D1310; }
.rp-ozet-btn:hover { border-color: #F2B53B; }
.goz-dlg { width: min(520px, calc(100vw - 24px)); }
.goz-bas .sd-ic { background: #1D1310; color: #F2B53B; }
.goz-govde { padding: 14px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.goz-gun { display: flex; align-items: center; justify-content: center; gap: 12px; }
.goz-gun b { min-width: 200px; text-align: center; font-size: 15px; }
.goz-gun button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 22px; cursor: pointer; }
.goz-gun button:disabled { opacity: .35; cursor: default; }
.goz-onizleme { border-radius: 20px; overflow: hidden; background: #1D1310; aspect-ratio: 1080 / 1350; display: grid; place-items: center; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); }
.goz-onizleme img { width: 100%; height: 100%; display: block; animation: od-gir .35s ease-out; }
.goz-dug { display: flex; flex-wrap: wrap; gap: 8px; }
.goz-dug .btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; }
.rp-harita-kart header { align-items: center; }
.canli-rozet { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: #FDECE9; color: #B3261E; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.canli-rozet i { width: 8px; height: 8px; border-radius: 50%; background: #E5533F; animation: slo-nabiz 1.4s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(229, 83, 63, .5); }
.rp-harita-ic { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; }
.rp-harita { height: 420px; border-radius: 18px; overflow: hidden; background: #EDE6DF; box-shadow: inset 0 0 0 1px var(--line); z-index: 0; }
.rp-harita .hrt-doseme { filter: grayscale(.55) sepia(.18) brightness(1.04) contrast(.92); }
.rp-harita-liste { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow: auto; }
.hl-s { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); text-align: left; cursor: pointer; }
.hl-s:hover { border-color: #E5533F; }
.hl-sira { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: #FDECE9; color: #B3261E; font: 800 13px var(--font-num); }
.hl-ad { min-width: 0; } .hl-ad b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hl-ad small { color: var(--muted); font-size: 12px; }
.hl-c { position: relative; display: flex; flex-direction: column; align-items: flex-end; min-width: 92px; padding-bottom: 5px; }
.hl-c b { font: 800 14px var(--font-num); } .hl-c small { color: var(--muted); font-size: 11.5px; }
.hl-c i { position: absolute; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: #E5533F; }
.hl-not { margin: 6px 2px; color: var(--muted); font-size: 12.5px; }
.hrt-nokta { position: relative; }
.hrt-nokta .hn-ic { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FF8A6B, #E5533F 55%, #B3261E); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 8px 18px -6px rgba(179, 38, 30, .7); color: #fff; font: 800 13px var(--font-num); opacity: .92; }
.hrt-nokta .hn-halka { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(229, 83, 63, .5); animation: hn-halka 2.6s ease-out infinite; }
@keyframes hn-halka { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.hrt-nokta.nabiz .hn-ic { animation: hn-nabiz 1.2s ease-out 3; }
.hrt-nokta.nabiz .hn-halka { border-color: #F2B53B; border-width: 4px; animation: hn-halka .8s ease-out 5; }
@keyframes hn-nabiz { 0% { transform: scale(1); } 30% { transform: scale(1.35); background: #F2B53B; } 100% { transform: scale(1); } }
@media (max-width: 900px) { .rp-harita-ic { grid-template-columns: 1fr; } .rp-harita { height: 320px; } }
@media print { .rp-harita-kart { display: none; } }
/* Üst çubuk: firma alanı daha kompakt, sekmelere yer kalsın */
.topbar .brand { gap: 8px; padding-right: 2px; }
.topbar .brand strong { font-size: 17px; max-width: 150px; }
.topbar .firm-logo { height: 34px; max-width: 80px; border-radius: 9px; }
.topbar .firm-initial { width: 34px; height: 34px; border-radius: 10px; font-size: 17px; }
.topbar .tab { padding: 0 11px; gap: 7px; }
/* Oyun göstergeleri kompakt: seri ve hedef canavarı daha az yer kaplar */
.oyun-hud { gap: 4px; margin-right: 2px; }
.oh-seri, .oh-boss { height: 40px; gap: 6px; padding: 0 8px 0 4px; border-radius: 12px; }
.ohs-ates { width: 28px; height: 28px; border-radius: 9px; }
.ohs-ates svg { width: 15px; height: 15px; }
.ohs-y b { font-size: 15px; }
.oh-seri { padding-right: 9px; }
.oh-boss { max-width: 150px; padding-right: 9px; }
.ohb-yuz { width: 30px; height: 30px; }
.ohb-yuz svg { width: 30px; height: 30px; }
.ohb-bilgi { width: 74px; gap: 4px; }
.ohb-ust b { display: none; }
.ohb-ust { justify-content: flex-end; }
.ohb-ust em { font-size: 11px; }
.ohb-can { height: 6px; }
@media (max-width: 1500px) { .ohb-bilgi { width: 56px; } }
@media (max-width: 1280px) { .ohb-bilgi { display: none; } }

/* ═══ Canlı kurye takibi ═══════════════════════════════════════════════════ */
.pk-harita { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 12px; border: 1.5px solid #1D6FB8; background: #E6F0FA; color: #1D6FB8; font: 800 13px var(--font); cursor: pointer; }
.kul-kurye-qr { display: inline-flex; align-items: center; gap: 7px; }
.kqr-dlg { width: min(560px, calc(100vw - 24px)); }
.kqr-bas .sd-ic, .khr-bas .sd-ic { background: #E6F0FA; color: #1D6FB8; }
.kqr-govde { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 18px 22px 22px; align-items: start; }
.kqr-qr { padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.kqr-qr svg, .kqr-qr canvas, .kqr-qr img { display: block; width: 200px; height: 200px; }
.kqr-alt { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 560px) { .kqr-govde { grid-template-columns: 1fr; justify-items: center; } }
.khr-dlg { width: min(1100px, calc(100vw - 24px)); }
.khr-govde { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; padding: 14px 18px 18px; }
.khr-harita { height: min(560px, 62vh); border-radius: 18px; overflow: hidden; background: #EDE6DF; z-index: 0; }
.khr-harita .hrt-doseme { filter: grayscale(.45) sepia(.12) brightness(1.03); }
.khr-liste { display: flex; flex-direction: column; gap: 8px; max-height: min(560px, 62vh); overflow: auto; }
.khr-k { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 14px; background: var(--card-2); box-shadow: 0 0 0 1px var(--line-2); }
.khr-ad { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 4px; border: 0; background: none; text-align: left; cursor: pointer; }
.khr-ad:disabled { cursor: default; }
.khr-ad i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-3); flex-shrink: 0; }
.khr-k.canli .khr-ad i { background: #34A853; box-shadow: 0 0 0 4px rgba(52, 168, 83, .2); }
.khr-ad span { display: flex; flex-direction: column; min-width: 0; } .khr-ad b { font-size: 14.5px; } .khr-ad small { color: var(--muted); font-size: 12px; }
.kurye-isaret { position: relative; }
.kurye-isaret .km-ic { position: absolute; inset: 2px; border-radius: 50%; display: grid; place-items: center; background: #8A7D76; color: #fff; box-shadow: 0 0 0 3px #fff, 0 8px 14px -6px rgba(0,0,0,.5); }
.kurye-isaret .km-ic.canli { background: #1A7F37; }
.kurye-isaret .km-ic.yolda { background: #1D6FB8; animation: km-nabiz 1.8s ease-out infinite; }
@keyframes km-nabiz { 0% { box-shadow: 0 0 0 3px #fff, 0 0 0 3px rgba(29,111,184,.5); } 100% { box-shadow: 0 0 0 3px #fff, 0 0 0 16px rgba(29,111,184,0); } }
.kurye-isaret .km-ad { position: absolute; left: 50%; top: 42px; transform: translateX(-50%); padding: 2px 8px; border-radius: 99px; background: #1D1310; color: #fff; font: 800 11.5px var(--font); white-space: nowrap; }
@media (max-width: 820px) { .khr-govde { grid-template-columns: 1fr; } }

/* ── Sesle sipariş ─────────────────────────────────────────────────────── */
.ses-btn { flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--primary); cursor: pointer; position: relative; transition: background .15s, color .15s, transform .1s; }
.ses-btn:hover { background: var(--soft); }
.ses-btn:active { transform: scale(.94); }
.ses-btn.dinliyor { background: var(--primary); color: #fff; border-color: var(--primary); }
.ses-btn.dinliyor::after, .sx-mik::after, .ses-mini.dinliyor::after { content: ''; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--primary); opacity: 0; pointer-events: none; }
.ses-btn.dinliyor::after, .ses-panel.dinliyor .sx-mik::after, .ses-mini.dinliyor::after { animation: sesHalka 1.3s ease-out infinite; }
@keyframes sesHalka { 0% { opacity: .7; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.35); } }

.ses-panel { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: min(460px, calc(100vw - 32px)); max-height: min(78vh, 720px); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(34, 23, 20, .22), 0 2px 8px rgba(34, 23, 20, .08); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .18s, transform .22s cubic-bezier(.2, .9, .3, 1.2); }
.ses-panel.acik { opacity: 1; transform: none; }
.sx-ust { display: flex; align-items: center; gap: 12px; padding: 14px 14px 10px; }
.sx-mik { position: relative; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: none; display: grid; place-items: center; background: var(--soft); color: var(--primary); cursor: pointer; }
.ses-panel.dinliyor .sx-mik { background: var(--primary); color: #fff; }
.sx-durum { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sx-durum b { font: 800 17px var(--font-num); }
.sx-durum small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-x { width: 36px; height: 36px; border: none; background: none; color: var(--muted); border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.sx-x:hover { background: var(--line-2); color: var(--text); }
#sx-metin { margin: 0 14px; width: calc(100% - 28px); box-sizing: border-box; resize: none; min-height: 52px; max-height: 110px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2); font: 500 15px/1.4 var(--font); color: var(--text); }
#sx-metin:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--soft); }
.ses-panel.dinliyor #sx-metin { border-style: dashed; }
.sx-govde { flex: 1; min-height: 0; overflow: auto; padding: 10px 14px 4px; display: flex; flex-direction: column; gap: 8px; }
.sx-musteri { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #E6F0FA; color: #1D4F80; }
.sx-musteri > svg { flex-shrink: 0; margin-top: 2px; }
.sx-musteri div { display: flex; flex-direction: column; gap: 1px; font-size: 14px; min-width: 0; }
.sx-musteri b { font-size: 15px; color: #123456; }
.sx-musteri .sxm-not { font-style: italic; }
.sx-liste { display: flex; flex-direction: column; gap: 8px; }
.sx-bos { margin: 6px 0; color: var(--muted); text-align: center; font-size: 14px; }
.sx-kalem { border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 10px; background: var(--card); animation: spGir .25s var(--g, 0ms) both cubic-bezier(.2, .9, .3, 1.2); }
@keyframes spGir { from { opacity: 0; transform: translateY(6px); } }
.sx-kalem.hata { border-color: #E9B44C; background: #FFFBEF; }
.sx-kalem.yok { border-style: dashed; background: var(--card-2); }
.sx-kalem.yok .sxk-sec span { color: var(--muted); }
.sx-kalem.sil { border-color: #F0C2BD; background: #FFF6F5; }
.sx-kalem.sil .sxk-ad b { color: var(--danger); }
.sx-kalem.tukendi { opacity: .65; }
.sx-kalem.salla { animation: spSalla .4s; }
@keyframes spSalla { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.sx-kalem.bilgi { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; padding: 9px 12px; }
.sxk-ust { display: flex; align-items: center; gap: 10px; }
.sxk-adet { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.sxk-adet button { width: 30px; height: 32px; border: none; background: var(--card-2); font: 700 17px var(--font); color: var(--text-2); cursor: pointer; }
.sxk-adet button:hover { background: var(--soft); color: var(--primary); }
.sxk-adet b { min-width: 28px; text-align: center; font: 800 16px var(--font-num); }
.sxk-ad { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sxk-ad b { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sxk-ad small { color: var(--muted); font-size: 12.5px; }
.sxk-ad .sxk-uyari { color: var(--danger); font-weight: 600; }
.sxk-fiyat { font: 700 15px var(--font-num); white-space: nowrap; }
.sxk-x { width: 30px; height: 30px; border: none; background: none; color: var(--muted); border-radius: 8px; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.sxk-x:hover { background: var(--soft); color: var(--danger); }
.sxk-sec { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.sxk-sec span { width: 100%; font-size: 12.5px; font-weight: 600; color: var(--warn); }
.sxk-sec button { border: 1px solid var(--line-3); background: var(--card); border-radius: 999px; padding: 6px 12px; font: 600 13.5px var(--font); color: var(--text); cursor: pointer; }
.sxk-sec button:hover { border-color: var(--primary); color: var(--primary); background: var(--soft); }
.sxk-sec button small { color: var(--muted); font-weight: 500; }
.sxk-not { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.sx-alt { display: flex; align-items: center; gap: 10px; padding: 10px 14px 14px; border-top: 1px solid var(--line-2); margin-top: 6px; }
.sx-surekli { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--muted-2); font: 700 13px var(--font); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.sx-surekli[aria-pressed="true"] { background: color-mix(in srgb, var(--primary) 10%, #fff); border-color: color-mix(in srgb, var(--primary) 40%, transparent); color: var(--primary); }
.sx-surekli[aria-pressed="true"] svg { animation: sxDon 6s linear infinite; }
.ses-panel:not(.dinliyor) .sx-surekli svg { animation: none; }
@keyframes sxDon { to { transform: rotate(360deg); } }
.sx-gecmis { display: flex; gap: 6px; align-items: center; padding: 0 14px 4px; overflow-x: auto; scrollbar-width: none; flex: none; }
.sx-gecmis::-webkit-scrollbar { display: none; }
.sxg-bas { flex: none; display: inline-flex; align-items: center; gap: 4px; font: 800 11.5px var(--font); color: #1A7F37; }
.sxg-ogesi { flex: none; padding: 4px 10px; border-radius: 99px; background: #E3F3E7; color: #14532D; font: 700 12.5px var(--font); white-space: nowrap; }
.sxg-ogesi.yeni { animation: sxYeni .5s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes sxYeni { from { transform: scale(.6); opacity: 0; } }
.ses-panel.eklendi { animation: sxEklendi .6s ease-out; }
@keyframes sxEklendi { 0% { box-shadow: 0 0 0 0 rgba(26, 127, 55, .45), 0 18px 50px rgba(34, 23, 20, .22); } 100% { box-shadow: 0 0 0 14px rgba(26, 127, 55, 0), 0 18px 50px rgba(34, 23, 20, .22); } }
.sx-toplam { flex: 1; text-align: right; font: 800 17px var(--font-num); }
#sx-ekle { display: inline-flex; align-items: center; gap: 8px; }
#sx-ekle kbd { font: 600 11px var(--font); border: 1px solid rgba(255, 255, 255, .5); border-radius: 5px; padding: 0 5px; opacity: .85; }
#sx-ekle.bekliyor { background: var(--warn); border-color: var(--warn); }
@media (max-width: 640px) {
  .ses-panel { right: 8px; left: 8px; bottom: 8px; width: auto; }
}

#customer-form { position: relative; }
.ses-mini { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--primary); font: 600 13px var(--font); cursor: pointer; }
.ses-mini:hover { background: var(--soft); }
.ses-mini.dinliyor { background: var(--primary); color: #fff; border-color: var(--primary); }
.sm-canli { margin: -4px 0 10px; padding: 8px 12px; border-radius: 10px; background: var(--soft); color: var(--primary-dark); font-size: 14px; font-style: italic; }

/* ── Ekran düzeni: Sade (tüp & su bayii) ───────────────────────────────── */
.ed-sec { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.ed-sec button[data-ed="tam"] { --k: #7B3FA0; } .ed-sec button[data-ed="sade"] { --k: #1D6FB8; }
.ed-sec em { position: absolute; top: 12px; right: 12px; font: 700 11px var(--font); font-style: normal; padding: 2px 8px; border-radius: 99px; background: #E6F0FA; color: #1D4F80; }
.ornek-kart { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(135deg, #EEF5FC, #F7FAFD); box-shadow: inset 0 0 0 1.5px #CFE0F2; }
.ornek-kart .ok-y { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 3px; }
.ornek-kart .ok-y small { color: var(--muted); font-size: 13px; }
.ornek-kart .ok-dug { display: flex; gap: 8px; }
body.sade #tab-salon-btn, body.sade #tur-masa,
body.sade [data-git="masa-card"], body.sade #masa-card,
body.sade [data-git="ay-istasyon"], body.sade #ay-istasyon, body.sade #yz-ist,
body.sade [data-git="ay-ekran"], body.sade #ay-ekran,
body.sade [data-git="ay-vitrin"], body.sade #ay-vitrin,
body.sade [data-git="ay-stok"], body.sade #ay-stok,
body.sade #tab-products .pr-ust, body.sade #stk-alan, body.sade #rc-alan, body.sade #rp-stok-kart,
body.sade #stok-badge { display: none !important; }
@media (max-width: 640px) { .ed-sec { grid-template-columns: 1fr; } }
/* Sade ekran: fotoğrafsız ürünler kısa, büyük yazılı düğme olur */
body.sade .pgrid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
body.sade .pcard:not(:has(.ph img)) .ph { aspect-ratio: auto; height: 58px; justify-items: start; padding-left: 14px; }
body.sade .pcard:not(:has(.ph img)) .ph .ini svg { width: 34px; height: 34px; }
body.sade .pcard .bd b { font-size: 16.5px; min-height: 2.4em; }
body.sade .pcard .bd span { font-size: 20px; }
body.sade .sec-rozet { display: none; }
.ed-sec small { padding-right: 26px; }

/* ── Müşteri ekstresi ──────────────────────────────────────────────────── */
.md-eylem .md-ekstre { grid-column: 1 / -1; }
.md-cari { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 10px; padding: 12px 14px; border: 0; border-radius: 16px; cursor: pointer; font: inherit; text-align: left; background: #EEF6F0; color: #14532D; box-shadow: inset 0 0 0 1.5px #CBE5D3; transition: transform .15s; }
.md-cari:hover { transform: translateY(-1px); }
.md-cari.borclu { background: linear-gradient(135deg, #FFF6E5, #FFEFD2); color: #7A4A00; box-shadow: inset 0 0 0 1.5px #F0D29A; }
.md-cari.alacak { background: #EAF2FB; color: #1D4F80; box-shadow: inset 0 0 0 1.5px #C9DDF2; }
.md-cari .mc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.7); flex-shrink: 0; }
.md-cari .mc-y { flex: 1; display: flex; flex-direction: column; line-height: 1.15; }
.md-cari .mc-y small { font-size: 12.5px; font-weight: 600; opacity: .8; }
.md-cari .mc-y b { font: 800 22px var(--font-num); letter-spacing: -.01em; }
.md-cari .mc-git { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-size: 14px; }

.ekstre-dlg { width: min(1120px, calc(100vw - 32px)); height: min(92vh, 980px); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 24px; background: #EFE8E1; overflow: hidden; display: none; flex-direction: column; box-shadow: 0 40px 90px -30px rgba(34, 23, 20, .55); }
.ekstre-dlg[open] { display: flex; animation: ekGel .28s cubic-bezier(.2, .9, .3, 1.1); }
@keyframes ekGel { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.ekstre-dlg::backdrop { background: rgba(34, 23, 20, .45); backdrop-filter: blur(3px); }
.eks-bar { display: flex; align-items: center; gap: 16px; padding: 16px 18px 12px 24px; background: var(--card); border-bottom: 1px solid var(--line-2); }
.eks-bar-y { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.eks-bar-y b { font: 800 20px var(--font-num); }
.eks-bar-y small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eks-eylem { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.eks-eylem .btn { height: 42px; display: inline-flex; align-items: center; gap: 7px; border-radius: 12px; }
.eks-x { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 12px; background: var(--line-2); color: var(--text-2); cursor: pointer; }
.eks-x:hover { background: var(--line); }
.eks-filtre { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 24px; background: var(--card); border-bottom: 1px solid var(--line-2); }
.eks-cip { display: flex; gap: 4px; padding: 4px; border-radius: 13px; background: var(--line-2); }
.eks-cip button { height: 34px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; font: 600 13.5px var(--font); color: var(--text-2); cursor: pointer; }
.eks-cip button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(34, 23, 20, .12); }
.eks-tarih { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.eks-tarih input { height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font: 500 13.5px var(--font); background: var(--card-2); }
.eks-yalniz { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.eks-govde { flex: 1; min-height: 0; overflow: auto; padding: 26px 28px 40px; }
.eks-yuk { height: 520px; border-radius: 6px; background: linear-gradient(90deg, #fff 0%, #F7F3EF 50%, #fff 100%); background-size: 200% 100%; animation: ekYuk 1.2s linear infinite; }
@keyframes ekYuk { to { background-position: -200% 0; } }

/* Kâğıt: ekranda ve baskıda aynı görünüm */
.eks-kagit { max-width: 900px; margin: 0 auto; padding: 40px 44px 30px; background: #fff; border-radius: 6px; box-shadow: 0 1px 2px rgba(34, 23, 20, .06), 0 18px 40px -22px rgba(34, 23, 20, .35); color: #221714; font-size: 13.5px; }
.ek-bas { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 22px; border-bottom: 2px solid #221714; }
.ek-firma { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ek-firma img, .ek-harf { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; flex-shrink: 0; }
.ek-harf { display: grid; place-items: center; background: #221714; color: #fff; font: 800 26px var(--font-num); }
.ek-firma div { display: flex; flex-direction: column; min-width: 0; }
.ek-firma b { font: 800 20px var(--font-num); letter-spacing: -.01em; }
.ek-firma small { color: #6E625C; font-size: 12.5px; max-width: 380px; }
.ek-baslik { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.ek-baslik span { font: 800 11px var(--font); letter-spacing: .18em; color: #B3261E; }
.ek-baslik b { font: 800 17px var(--font-num); margin-top: 2px; white-space: nowrap; }
.ek-baslik small { color: #6E625C; font-size: 12px; }
.ek-musteri { display: flex; justify-content: space-between; gap: 20px; margin: 22px 0 18px; }
.ek-musteri > div:first-child { display: flex; flex-direction: column; gap: 1px; }
.ek-musteri small { color: #8A7D76; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ek-musteri b { font: 800 19px var(--font-num); }
.ek-musteri span { color: #4A3F3A; font-size: 13px; }
.ek-genel { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding: 10px 16px; border-radius: 12px; background: #EEF6F0; color: #14532D; min-width: 170px; }
.ek-genel.borc { background: #FFF4E0; color: #7A4A00; }
.ek-genel small { color: inherit; opacity: .75; }
.ek-genel b { font: 800 24px var(--font-num); letter-spacing: -.01em; }
.ek-genel span { color: inherit; font-size: 12px; font-weight: 600; }
.ek-ozet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.ek-ozet > div { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: #F7F3EF; overflow: hidden; }
.ek-ozet small { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A7D76; }
.ek-ozet b { font: 800 21px var(--font-num); letter-spacing: -.01em; }
.ek-ozet span { font-size: 12px; color: #6E625C; }
.ek-ozet .yesil, .ek-tablo .yesil { color: #1A7F37; }
.ek-kalan { background: #221714 !important; color: #fff; }
.ek-kalan small, .ek-kalan span { color: rgba(255,255,255,.7) !important; }
.ek-kalan.borc b { color: #FFC266; }
.ek-kalan.sifir b { color: #8BE0A4; }
.ek-kalan.alacak b { color: #9CC8F5; }
.ek-bar { display: block; height: 4px; margin-top: 8px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.ek-bar i { display: block; height: 100%; background: #8BE0A4; border-radius: 2px; }
.ek-tablo { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ek-tablo th { padding: 9px 10px; text-align: left; font: 700 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: #8A7D76; border-bottom: 1.5px solid #221714; }
.ek-tablo td { padding: 11px 10px; vertical-align: top; border-bottom: 1px solid #EFE8E1; }
.ek-tablo td:first-child { white-space: nowrap; }
.ek-tablo td:first-child b { display: block; font-weight: 700; }
.ek-tablo td:first-child small { color: #8A7D76; font-size: 11.5px; }
.ek-tablo .sag { text-align: right; white-space: nowrap; }
.ek-tablo .muted { color: #B0A49D; }
.ek-tablo .ek-bk { font-weight: 800; position: relative; }
.ek-tablo tbody tr:hover td { background: #FCFAF8; }
.ek-ac { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; max-width: 360px; }
.ek-no { font: 800 13px var(--font-num); color: #221714; }
.ek-kalem { color: #4A3F3A; }
.ek-ac small { width: 100%; color: #8A7D76; font-size: 11.5px; }
.ek-rozet { padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 800; }
.ek-rozet.th { background: #E3F3E7; color: #1A7F37; }
.ek-od { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 99px; font-size: 12px; font-weight: 700; background: #F4EFEA; color: #4A3F3A; white-space: nowrap; }
.ek-od.od-veresiye { background: #FFF1D6; color: #8A5A00; }
.ek-od.od-kart { background: #E6F0FA; color: #1D4F80; }
.ek-od.od-nakit { background: #E3F3E7; color: #1A6B33; }
.ek-od.od-havale { background: #DFF2EF; color: #0F665C; }
.ek-od.od-parcali { background: #F1E8F6; color: #6A2F8E; }
.ek-tablo tr.ek-ver td:first-child { box-shadow: inset 3px 0 0 #F2B134; }
.ek-tablo tr.ek-th td:first-child { box-shadow: inset 3px 0 0 #1A7F37; }
.ek-tablo tr.ek-devir td { background: #F7F3EF; font-weight: 600; color: #4A3F3A; }
.ek-tablo tfoot td { padding: 13px 10px; border-top: 2px solid #221714; border-bottom: 0; font-weight: 800; font-size: 14px; }
.ek-bos { text-align: center; color: #8A7D76; padding: 40px 10px !important; }
.ek-sil { position: absolute; right: -26px; top: 9px; width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: #B0A49D; cursor: pointer; opacity: 0; }
.ek-tablo tr:hover .ek-sil { opacity: 1; }
.ek-sil:hover { background: #FBE6E3; color: #B3261E; }
.ek-uyari { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: #FFF4D6; color: #6B4E00; font-size: 12.5px; }
.ek-alt { margin-top: 28px; padding-top: 14px; border-top: 1px solid #EFE8E1; color: #8A7D76; font-size: 11.5px; text-align: center; }

/* Tahsilat paneli */
.eks-tahsilat { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(34, 23, 20, .32); animation: ekSol .18s; }
.eks-tahsilat[hidden] { display: none; }
@keyframes ekSol { from { opacity: 0; } }
.et-kart { width: min(440px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 22px; background: var(--card); box-shadow: 0 30px 60px -20px rgba(34, 23, 20, .5); animation: ekGel .25s cubic-bezier(.2, .9, .3, 1.2); }
.et-ust { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px; }
.et-ust b { font: 800 19px var(--font-num); }
.et-ust small { grid-row: 2; color: var(--muted); font-size: 13px; }
.et-ust .eks-x { grid-row: 1 / 3; grid-column: 2; }
.et-tutar { display: flex; align-items: center; gap: 6px; padding: 0 16px; height: 72px; border-radius: 18px; background: var(--card-2); box-shadow: inset 0 0 0 2px var(--line); }
.et-tutar:focus-within { box-shadow: inset 0 0 0 2px #1A7F37; }
.et-tutar span { font: 800 26px var(--font-num); color: var(--muted); }
.et-tutar input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font: 800 34px var(--font-num); letter-spacing: -.02em; color: var(--text); }
.et-hizli { display: flex; gap: 6px; flex-wrap: wrap; }
.et-hizli button { height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); font: 600 13px var(--font); cursor: pointer; }
.et-hizli button:hover { border-color: #1A7F37; color: #1A7F37; }
.et-tip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.et-tip button { height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 14px; background: var(--card-2); box-shadow: inset 0 0 0 1.5px var(--line); font: 700 13px var(--font); color: var(--text-2); cursor: pointer; }
.et-tip button[aria-pressed="true"] { background: #EEF6F0; color: #14532D; box-shadow: inset 0 0 0 2px #1A7F37; }
.et-satir { display: grid; grid-template-columns: 1fr 150px; gap: 8px; }
.et-satir input { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; font: 500 14px var(--font); background: var(--card-2); }
.et-kaydet { height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; border-radius: 15px; background: #1A7F37; border-color: #1A7F37; }
.eks-iframe { position: fixed; right: 0; bottom: 0; width: 0; height: 0; border: 0; visibility: hidden; }
@media screen and (max-width: 760px) {
  .ekstre-dlg { width: 100vw; height: 100dvh; border-radius: 0; }
  .eks-bar { flex-wrap: wrap; padding: 12px 16px; }
  .eks-eylem .btn { height: 38px; padding: 0 10px; font-size: 13px; }
  .eks-filtre { padding: 10px 16px; }
  .eks-yalniz { margin-left: 0; }
  .eks-govde { padding: 12px 8px 30px; }
  .eks-kagit { padding: 22px 16px; }
  .ek-bas, .ek-musteri { flex-direction: column; align-items: stretch; }
  .ek-baslik, .ek-genel { align-items: flex-start; text-align: left; }
  .ek-ozet { grid-template-columns: 1fr 1fr; }
  .ek-tablo thead { display: none; }
  .ek-tablo tr { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 10px; padding: 10px 4px; border-bottom: 1px solid #EFE8E1; }
  .ek-tablo td { padding: 0; border: 0; }
  .ek-tablo td:nth-child(2) { grid-column: 2 / 4; }
}

/* Baskı (iframe içinde): yalnız kâğıt */
body.eks-yazdir { background: #fff; margin: 0; }
body.eks-yazdir .eks-kagit { max-width: none; margin: 0; padding: 0; box-shadow: none; border-radius: 0; }
body.eks-yazdir .ek-sil { display: none; }
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  body.eks-yazdir { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.eks-yazdir .ek-tablo tr { break-inside: avoid; }
  body.eks-yazdir .ek-tablo thead { display: table-header-group; }
}
.eks-filtre label.eks-tarih, .eks-filtre label.eks-yalniz { flex-direction: row; font-weight: 600; }
.eks-tarih input { width: 150px; }
.et-kart label.et-tutar { flex-direction: row; }
.et-kart .btn.primary.et-kaydet { background: #1A7F37; border-color: #1A7F37; color: #fff; }
.et-kart .btn.primary.et-kaydet:hover { background: #156B2E; }

/* ── Günlük hedef göstergesi: kap temaları (tüp, damacana, bardak, tabak) ── */
.hk-govde { fill: rgba(255, 255, 255, .9); }
.hk-cizgi { fill: none; stroke: rgba(42, 26, 20, .35); stroke-width: 1.4; }
.hk-dolu { fill: var(--hk, #3A9BEA); transition: y .9s cubic-bezier(.3, 1.3, .5, 1), transform .9s cubic-bezier(.3, 1.3, .5, 1); }
.hk-parilti { fill: rgba(255, 255, 255, .45); }
.hk-kol { stroke: #CFC6BF; }
.hk-vana, .hk-ayak { fill: #B9AEA6; }
.hk-kapak { fill: #1D6FB8; }
.hk-bogum { stroke: rgba(29, 111, 184, .25); }
.hk-buhar { stroke: rgba(255, 255, 255, .55); }
.hk-agiz-kenar { fill: none; stroke: rgba(42, 26, 20, .3); stroke-width: 1.2; }
[data-tema="damacana"] .hk-govde, [data-hg="damacana"] .hk-govde { fill: rgba(222, 239, 252, .95); }
.hk-dalga { animation: hkDalga 2.6s linear infinite; }
@keyframes hkDalga { from { translate: 0 0; } to { translate: -16px 0; } }
.ohb-yuz.kap.ofke { animation: hkNefes 3s ease-in-out infinite; }
.ohb-yuz.kap.korku { animation: hkZipla 1s ease-in-out infinite; }
.ohb-yuz.kap.yenik { transform: none; filter: drop-shadow(0 0 6px rgba(255, 224, 138, .7)) drop-shadow(0 2px 4px rgba(0,0,0,.35)); animation: hkZafer 1.6s ease-in-out infinite; }
.ohb-yuz.kap .hk-pirilti { animation: hkPir 1.2s ease-in-out infinite alternate; transform-origin: center; }
@keyframes hkNefes { 50% { transform: translateY(-1.5px); } }
@keyframes hkZipla { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-4px) rotate(-3deg); } 60% { transform: translateY(-2px) rotate(3deg); } }
@keyframes hkZafer { 50% { transform: scale(1.08) rotate(-4deg); } }
@keyframes hkPir { to { opacity: .3; } }
.oh-boss.kap .ohb-dolu { background: linear-gradient(180deg, color-mix(in srgb, var(--hk) 80%, #fff), var(--hk)); }
.oh-boss.kap .ohb-dolu::after { background: none; }
.oh-boss.kap .ohb-iz { background: color-mix(in srgb, var(--hk) 40%, transparent); }
.oh-boss.kap.vurus .ohb-yuz { animation: hkVurus .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hkVurus { 30% { transform: translateY(-6px) scale(1.12); } }
.ohb-ust em { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.oh-boss.bos .ohb-ust { justify-content: flex-start; }

/* Ayarlar: gösterge simgesi */
.hg-satir { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.hg-tema { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.hg-tema button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 96px; padding: 12px 6px 10px; border: 0; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 700 13px var(--font); color: var(--text-2); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.hg-tema button:hover { transform: translateY(-2px); }
.hg-tema button[aria-checked="true"] { box-shadow: inset 0 0 0 2.5px var(--hk), 0 10px 22px -14px var(--hk); color: var(--text); }
.hg-tema em { position: absolute; top: 6px; right: 6px; font: 700 9.5px var(--font); font-style: normal; padding: 1px 6px; border-radius: 99px; background: var(--line-2); color: var(--muted); }
.hg-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: #2A1E1A; }
.hg-ic svg { width: 40px; height: 40px; overflow: visible; }
.hg-ic .bz-gozler, .hg-ic .bz-agiz { display: none; }
.hg-ic .ofke { display: inline; }
.hg-satir label.hg-goster { flex-direction: row; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.ohb-ust em small { font: inherit; }
@media (max-width: 1750px) { .ohb-ust em small { display: none; } }

/* ── Boş kap (depozito) ────────────────────────────────────────────────── */
.mk-rz.bos { background: #E6F0FA; color: #1D4F80; }
.mk-rz.borc { background: #FFF1D6; color: #8A5A00; }
.bos-satir { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; padding: 9px 10px; border-radius: 14px; background: #EEF5FC; box-shadow: inset 0 0 0 1px #D3E4F5; }
.bos-satir[hidden] { display: none; }
.bs-bas { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; color: #1D4F80; }
.bs-kap { display: inline-flex; align-items: center; gap: 6px; padding: 3px; border-radius: 12px; background: #fff; }
.bs-kap button { width: 30px; height: 30px; border: 0; border-radius: 9px; background: #EEF5FC; color: #1D4F80; font: 800 17px var(--font); cursor: pointer; }
.bs-kap > b { min-width: 18px; text-align: center; font: 800 16px var(--font-num); }
.bs-kap > span { display: flex; flex-direction: column; padding-right: 8px; font-size: 13px; font-weight: 700; line-height: 1.15; }
.bs-kap em { font-style: normal; font-size: 11.5px; font-weight: 600; color: #8A5A00; }
.bs-kap em.fazla { color: #1A7F37; }
.abo-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 1px dashed var(--line-3); border-radius: 10px; background: transparent; font: 600 13px var(--font); color: var(--text-2); cursor: pointer; }
.abo-btn::before { content: '↻'; margin-right: 5px; font-weight: 800; color: #7B3FA0; }
.abo-btn:hover { border-color: #7B3FA0; color: #7B3FA0; }
.md-bos { display: flex; flex-direction: column; gap: 8px; }
.mdb-kap { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); }
.mdb-kap.var { background: #EEF5FC; border-color: #D3E4F5; }
.mdb-say { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #fff; font: 900 20px var(--font-num); color: #1D4F80; }
.mdb-y { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mdb-y small { color: var(--muted); font-size: 12px; }
.mdb-duz { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.mdb-duz:hover { background: var(--line-2); color: var(--text); }
.md-h4-btn { float: right; border: 0; background: none; color: var(--primary); font: 700 12.5px var(--font); cursor: pointer; text-transform: none; letter-spacing: 0; }
.md-abo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #F6F0FA; border: 1px solid #E6D8EF; margin-bottom: 8px; }
.md-abo.pasif { opacity: .6; filter: grayscale(.5); }
.mda-ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: #fff; color: #7B3FA0; flex-shrink: 0; }
.mda-y { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mda-y small { color: var(--text-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mda-y em { font-style: normal; font-size: 12px; font-weight: 700; color: #7B3FA0; }
.acilir-mini { position: fixed; z-index: 90; min-width: 190px; padding: 6px; border-radius: 14px; background: var(--card); box-shadow: 0 16px 40px -12px rgba(34,23,20,.35), 0 0 0 1px var(--line-2); display: flex; flex-direction: column; animation: ekSol .15s; }
.acilir-mini button { height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: none; text-align: left; font: 600 14px var(--font); cursor: pointer; color: var(--text); }
.acilir-mini button:hover { background: var(--line-2); }
.acilir-mini button.tehlike { color: var(--danger); }
/* Ekstre: boş sütunu */
.ek-boss { white-space: nowrap; font-weight: 800; }
.ek-boss span { display: inline-block; min-width: 26px; padding: 1px 6px; border-radius: 6px; font-size: 12px; margin-left: 3px; text-align: center; }
.ek-boss .ver { background: #E6F0FA; color: #1D4F80; }
.ek-boss .al { background: #E3F3E7; color: #1A6B33; }
.ek-rozet.bs { background: #E6F0FA; color: #1D4F80; }
.ek-rozet.dz { background: #F1E8F6; color: #6A2F8E; }
.ek-tablo tr.ek-bosr td:first-child { box-shadow: inset 3px 0 0 #1D6FB8; }
.ek-sag { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.ek-dep { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 8px 14px; border-radius: 12px; background: #EEF5FC; color: #1D4F80; }
.ek-dep small { color: inherit; opacity: .75; }
.ek-dep span { font-size: 13px; font-weight: 600; } .ek-dep b { font-size: 15px; }

/* ── Abonelik penceresi ────────────────────────────────────────────────── */
.abo-dlg { width: min(520px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 24px; background: var(--card); box-shadow: 0 40px 80px -30px rgba(34,23,20,.55); }
.abo-dlg::backdrop { background: rgba(34,23,20,.42); backdrop-filter: blur(2px); }
.abo-dlg[open] { animation: ekGel .25s cubic-bezier(.2,.9,.3,1.1); }
.abo-kart { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.abo-ust { display: flex; align-items: center; gap: 12px; }
.abo-ust div { display: flex; flex-direction: column; }
.abo-ust b { font: 800 19px var(--font-num); }
.abo-ust small { color: var(--muted); }
.abo-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #F1E8F6; color: #7B3FA0; }
.abo-kalem { display: flex; flex-wrap: wrap; gap: 6px; }
.abo-kalem span { padding: 5px 10px; border-radius: 99px; background: var(--line-2); font-size: 13px; font-weight: 600; }
.abo-kalem em { color: var(--danger); font-size: 13px; }
.abo-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 13px; background: var(--line-2); }
.abo-seg button { height: 38px; border: 0; border-radius: 10px; background: transparent; font: 600 14px var(--font); color: var(--text-2); cursor: pointer; }
.abo-seg button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(34,23,20,.12); }
.abo-gun { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.abo-gun button { height: 48px; border: 0; border-radius: 13px; background: var(--card-2); box-shadow: inset 0 0 0 1.5px var(--line); font: 800 14px var(--font); color: var(--text-2); cursor: pointer; }
.abo-gun button[aria-pressed="true"] { background: #7B3FA0; color: #fff; box-shadow: 0 8px 18px -10px #7B3FA0; }
.abo-aralik { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px; }
.abo-aralik button { width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--line-2); font: 800 22px var(--font); cursor: pointer; }
.abo-aralik b { font: 900 34px var(--font-num); min-width: 50px; text-align: center; }
.abo-aralik span { color: var(--muted); font-weight: 600; }
.abo-satir { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.abo-kart label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.abo-kart input, .abo-kart select { height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 11px; font: 500 14px var(--font); background: var(--card-2); color: var(--text); }
.abo-ozet { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #F6F0FA; color: #5B2A7A; font-size: 13.5px; }
.abo-ozet svg { flex-shrink: 0; margin-top: 1px; }
.abo-alt { display: flex; justify-content: flex-end; gap: 8px; }
.abo-alt .btn { height: 46px; padding: 0 18px; }
.abo-alt .btn.primary { background: #7B3FA0; border-color: #7B3FA0; }

/* ── Bugün ajandası (Yeni Sipariş boş ekranı) ─────────────────────────── */
.bg-ajanda { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.bg-bolum { border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); padding: 10px; }
.bg-bolum header { display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; margin: 0 2px 6px; }
.bg-bolum header b { font-size: 14px; }
.bg-bolum header em { justify-self: start; font-style: normal; min-width: 22px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: 10px; font: 800 12px var(--font-num); color: #fff; background: var(--bgk, #B3261E); }
.bg-bolum header small { grid-column: 2 / 4; color: var(--muted); font-size: 11.5px; }
.bg-ic { grid-row: 1 / 3; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--bgk, #B3261E) 12%, #fff); color: var(--bgk, #B3261E); }
.bg-bolum.geri { --bgk: #C2410C; }
.bg-bolum.bitmek { --bgk: #1D6FB8; }
.bg-bolum.abo { --bgk: #7B3FA0; }
.bg-satir { display: flex; align-items: center; gap: 6px; padding: 7px 6px 7px 10px; border-radius: 12px; cursor: pointer; transition: background .15s, opacity .2s, transform .2s; }
.bg-satir:hover { background: var(--line-2); }
.bg-satir.gidiyor { opacity: 0; transform: translateX(20px); }
.bg-satir.tamam { opacity: .6; }
.bg-y { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.bg-y b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bg-y small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bg-d { width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0; border: 0; border-radius: 10px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); cursor: pointer; text-decoration: none; }
.bg-d.ara { color: #1A7F37; } .bg-d.wa { color: #128C4A; }
.bg-d:hover { background: var(--card); box-shadow: inset 0 0 0 1.5px currentColor; }
.bg-durum { font: 800 12.5px var(--font-num); color: #7B3FA0; padding: 0 6px; }
.bg-daha { display: block; padding: 4px 10px 2px; color: var(--muted); font-size: 12px; }

/* ── Günün filmi ───────────────────────────────────────────────────────── */
.stk-dlg.flm-dlg { width: min(980px, calc(100vw - 24px)); }
.flm-ic { background: linear-gradient(135deg, #1D2A4A, #0B1222) !important; color: #8FB4FF !important; }
.flm-govde { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 6px 4px 4px; }
.flm-sahne { position: relative; height: min(72vh, 760px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #070B14; box-shadow: 0 24px 50px -24px rgba(7, 11, 20, .8), inset 0 0 0 1px rgba(255,255,255,.06); }
.flm-sahne canvas { width: 100%; height: 100%; display: block; }
.flm-yuk { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: rgba(255,255,255,.7); font-size: 14px; background: #070B14; }
.flm-yuk[hidden] { display: none; }
.flm-kayit { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: rgba(7,11,20,.7); color: #fff; font-size: 13px; backdrop-filter: blur(6px); }
.flm-kayit[hidden] { display: none; }
.flm-kayit svg { width: 28px; height: 28px; transform: rotate(-90deg); }
.flm-kayit circle { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 4; }
.flm-kayit .flm-kd { stroke: #FF4D4D; stroke-dasharray: 106.8; stroke-dashoffset: 106.8; stroke-linecap: round; }
.flm-kayit b::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #FF4D4D; animation: hkPir .6s ease-in-out infinite alternate; }
.flm-yan { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.flm-yan .btn { height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; font-size: 15px; }
.flm-kaydet { background: linear-gradient(135deg, #1D2A4A, #0B1222) !important; border-color: #0B1222 !important; color: #fff !important; }
.flm-kaydet svg { color: #FF4D4D; fill: #FF4D4D; }
.flm-ozet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.flm-ozet div { padding: 12px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); display: flex; flex-direction: column; }
.flm-ozet b { font: 800 19px var(--font-num); }
.flm-ozet span { font-size: 12px; color: var(--muted); }
.flm-hazir { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flm-hazir[hidden] { display: none; }
.flm-not { margin: 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .flm-govde { grid-template-columns: 1fr; } .flm-sahne { height: auto; width: 100%; } }

/* ── Müşteri galaksisi ─────────────────────────────────────────────────── */
.mu-galaksi { display: inline-flex; align-items: center; gap: 7px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #1B1640, #0B0E24); color: #E6E9FF; border-color: #1B1640; }
.mu-galaksi:hover { background: linear-gradient(135deg, #2A2163, #121538); color: #fff; }
.glx-dlg { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #04050C; color: #E6E9FF; overflow: hidden; }
.glx-dlg[open] { animation: glxGel .5s ease-out; }
@keyframes glxGel { from { opacity: 0; transform: scale(1.04); } }
.glx-dlg::backdrop { background: #000; }
#glx-tuval { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.glx-ust { position: absolute; top: 20px; left: 24px; right: 90px; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
.glx-bas { display: flex; flex-direction: column; }
.glx-bas b { font: 800 26px var(--font-num); letter-spacing: -.01em; color: #fff; }
.glx-bas small { color: #9AA6C8; font-size: 14px; }
.glx-seg { display: flex; flex-wrap: wrap; gap: 6px; pointer-events: auto; }
.glx-seg button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 0; border-radius: 99px; background: rgba(255,255,255,.07); color: #D7DEF5; font: 600 13px var(--font); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.glx-seg button i { width: 9px; height: 9px; border-radius: 50%; background: var(--sr); box-shadow: 0 0 8px var(--sr); }
.glx-seg button b { font: 800 12px var(--font-num); color: #fff; opacity: .8; }
.glx-seg button[aria-pressed="false"] { opacity: .38; }
.glx-x { position: absolute; top: 18px; right: 20px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 14px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.glx-x:hover { background: rgba(255,255,255,.16); }
.glx-ipucu { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 8px 16px; border-radius: 99px; background: rgba(255,255,255,.06); color: #9AA6C8; font-size: 13px; white-space: nowrap; pointer-events: none; }
.glx-ipucu b { color: #D7DEF5; }
.glx-etiket { position: fixed; z-index: 3; display: flex; flex-direction: column; padding: 8px 12px; border-radius: 12px; background: rgba(12,14,32,.9); box-shadow: 0 8px 24px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; font-size: 13px; }
.glx-etiket[hidden] { display: none; }
.glx-etiket span { font-size: 12px; font-weight: 700; }
.glx-kart { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: min(360px, calc(100vw - 48px)); padding: 22px; border-radius: 24px; background: rgba(14,16,38,.82); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 16px; animation: glkGel .3s cubic-bezier(.2,.9,.3,1.1); }
.glx-kart[hidden] { display: none; }
@keyframes glkGel { from { opacity: 0; transform: translate(20px, -50%); } }
.glx-kx { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font-size: 20px; cursor: pointer; }
.glk-ust { display: flex; align-items: center; gap: 14px; }
.glk-ust > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.glk-ust b { font: 800 20px var(--font-num); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glk-seg { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--sr); }
.glk-seg i { width: 9px; height: 9px; border-radius: 50%; background: var(--sr); box-shadow: 0 0 10px var(--sr); }
.glk-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.glk-kpi div { padding: 10px; border-radius: 14px; background: rgba(255,255,255,.06); display: flex; flex-direction: column; }
.glk-kpi b { font: 800 17px var(--font-num); color: #fff; }
.glk-kpi small { color: #9AA6C8; font-size: 11.5px; }
.glk-not { margin: 0; color: #C4CCE6; font-size: 14px; line-height: 1.45; }
.glk-dug { display: flex; flex-direction: column; gap: 8px; }
.glk-dug .btn { height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 13px; background: rgba(255,255,255,.08); border: 0; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.glk-dug .btn:hover { background: rgba(255,255,255,.14); }
.glk-dug .btn.primary { background: var(--sr); color: #120E1F; box-shadow: 0 10px 24px -10px var(--sr); }
@media (max-width: 760px) { .glx-kart { top: auto; bottom: 16px; transform: none; right: 12px; left: 12px; width: auto; } .glx-ipucu { display: none; } }
.glk-kpi b { white-space: nowrap; font-size: 16px; }

/* ── Müşteri anı kartı ─────────────────────────────────────────────────── */
.ani-liste { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 4px; }
.ani { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #FFF6E3; box-shadow: inset 0 0 0 1px #F3DDAA; animation: aniGel .45s var(--g, 0ms) both cubic-bezier(.2, .9, .3, 1.3); }
@keyframes aniGel { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.ani-ic { font-size: 24px; line-height: 1; flex-shrink: 0; }
.ani-dogum .ani-ic { animation: aniZipla 1.4s ease-in-out infinite; }
@keyframes aniZipla { 0%, 100% { transform: none; } 30% { transform: translateY(-4px) rotate(-8deg); } 60% { transform: translateY(-2px) rotate(6deg); } }
.ani-y { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.ani-y b { font-size: 14.5px; color: #3A2A00; }
.ani-y small { font-size: 12.5px; color: #7A5A12; }
.ani-dogum { background: linear-gradient(120deg, #FFE9F2, #FFF3D6); box-shadow: inset 0 0 0 1px #F7C7DA; }
.ani-dogum .ani-y b { color: #8A1F4C; } .ani-dogum .ani-y small { color: #9A4A6A; }
.ani-kilometre, .ani-yildonumu { background: linear-gradient(120deg, #FFF3C4, #FFE7A8); box-shadow: inset 0 0 0 1px #EBCB6A; }
.ani-donus { background: #EAF4FF; box-shadow: inset 0 0 0 1px #C6DDF5; } .ani-donus .ani-y b { color: #123E6B; } .ani-donus .ani-y small { color: #3A6290; }
.ani-iptal { background: #FFEDEA; box-shadow: inset 0 0 0 1px #F5C6BE; } .ani-iptal .ani-y b { color: #8E1B16; } .ani-iptal .ani-y small { color: #A0453E; }
.ani-not { background: #F3EEFF; box-shadow: inset 0 0 0 1px #DCCFF7; } .ani-not .ani-y b { color: #3E2A78; } .ani-not .ani-y small { color: #6A58A0; }
.ani-ilk { background: #EAF8EE; box-shadow: inset 0 0 0 1px #C3E6CD; } .ani-ilk .ani-y b { color: #14532D; } .ani-ilk .ani-y small { color: #3B7A50; }
.ani-x { width: 32px; height: 32px; border: 0; border-radius: 10px; background: rgba(255,255,255,.75); color: #3E2A78; font-weight: 900; cursor: pointer; }
.ani-x:hover { background: #fff; }
.ani-ekle { align-self: flex-start; border: 0; background: none; padding: 2px 4px; font: 600 12.5px var(--font); color: var(--muted); cursor: pointer; }
.ani-ekle:hover { color: var(--text); text-decoration: underline; }
.mf-ani { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.mf-dg { display: flex; gap: 6px; }
.mf-dg select { min-width: 74px; }
@media (max-width: 640px) { .mf-ani { grid-template-columns: 1fr; } }
.pk-foto { border: 0; background: #EEF8F1; border-radius: 8px; padding: 2px 6px; margin-right: 6px; cursor: pointer; font-size: 14px; }
.tf-buyuk { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: 16px; background: #111; }

/* ── Yarının tahmini ───────────────────────────────────────────────────── */
.tahmin-kart { position: relative; display: grid; grid-template-columns: 220px 1fr 1.25fr; gap: 22px; align-items: stretch; margin: 0 0 18px; padding: 22px 24px 30px; border-radius: 24px; background: linear-gradient(120deg, #13213F 0%, #1D3462 55%, #2A4A7E 100%); color: #EAF1FF; box-shadow: 0 24px 50px -28px rgba(19,33,63,.8); overflow: hidden; }
.tahmin-kart[hidden] { display: none; }
.tahmin-kart::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,102,.28), transparent 70%); pointer-events: none; }
.tk-sol { display: flex; flex-direction: column; gap: 8px; padding-right: 18px; border-right: 1px solid rgba(255,255,255,.12); }
.tk-gun { font: 800 13px var(--font); letter-spacing: .08em; text-transform: uppercase; color: #A9C0EC; }
.tk-hava { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.tk-hava i { grid-row: 1 / 3; font-size: 52px; font-style: normal; line-height: 1; filter: drop-shadow(0 6px 14px rgba(0,0,0,.3)); animation: hkNefes 4s ease-in-out infinite; }
.tk-hava b { font: 900 44px var(--font-num); letter-spacing: -.03em; line-height: 1; }
.tk-hava small { color: #C3D3F2; font-size: 12.5px; }
.tk-hava.yok small { color: #A9C0EC; }
.tk-orta { display: flex; flex-direction: column; gap: 4px; }
.tk-ust { font-size: 13px; color: #A9C0EC; font-weight: 600; }
.tk-sayi { font: 900 58px var(--font-num); letter-spacing: -.03em; line-height: 1; color: #fff; }
.tk-aralik { color: #C3D3F2; font-size: 14px; }
.tk-etki { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tk-etki span { padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.1); }
.tk-etki .art { color: #9EF0B8; } .tk-etki .az { color: #FFC0B0; } .tk-etki .abo { color: #E2C7FF; }
.tk-sag { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tk-saat { flex: 1; min-height: 90px; display: flex; align-items: flex-end; gap: 4px; }
.tk-saat span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.tk-saat i { width: 100%; border-radius: 5px 5px 2px 2px; background: rgba(169,192,236,.35); }
.tk-saat span.yog i { background: linear-gradient(180deg, #FFD666, #FF9F43); box-shadow: 0 0 14px rgba(255,190,80,.45); }
.tk-saat small { height: 12px; font-size: 10.5px; color: #A9C0EC; }
.tk-oneri { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: #D7E3FA; }
.tk-oneri b { color: #fff; }
.tk-dipnot { position: absolute; left: 24px; bottom: 9px; font-size: 11px; color: rgba(195,211,242,.6); }
@media (max-width: 1100px) { .tahmin-kart { grid-template-columns: 1fr 1fr; } .tk-sag { grid-column: 1 / -1; } .tk-sol { border-right: 0; } }
@media (max-width: 640px) { .tahmin-kart { grid-template-columns: 1fr; } }
.bg-tahmin { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 14px; background: linear-gradient(120deg, #13213F, #2A4A7E); color: #fff; text-align: left; cursor: pointer; font: inherit; }
.bg-tahmin .bgt-ic { font-size: 26px; }
.bg-tahmin span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.bg-tahmin b { font-size: 14.5px; } .bg-tahmin small { color: #C3D3F2; font-size: 12px; }
.vtr-yaris-not { display: none; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.vtr-form.yaris .vtr-yaris-not { display: block; }
.vtr-form.yaris > .sd-alan:has(.vtr-katlar), .vtr-form.yaris .vtr-iki, .vtr-form.yaris label.sd-alan:has([name=sure]), .vtr-form.yaris .vtr-anahtarlar { display: none; }
.vk-onizleme.vk-yaris { display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 0%, #1B2450, #070912); color: #FFD166; font-weight: 800; }
.vk-onizleme.vk-yaris span { position: static; background: none; color: inherit; }

/* ── Adiso Wrapped paylaşım penceresi ── */
.wr-dlg { width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; }
.wr-pen { position: relative; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.wr-kapat { position: absolute; top: 28px; right: 28px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; font-size: 22px; cursor: pointer; }
.wr-onizle { display: flex; flex-direction: column; gap: 6px; padding: 26px 20px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 15% 0%, #F107A3, transparent 60%), radial-gradient(circle at 100% 100%, #FFAF7B, transparent 55%), linear-gradient(160deg, #3A1C71, #7B2FF7); }
.wr-onizle span { font-size: 44px; line-height: 1; }
.wr-onizle b { font-size: 22px; line-height: 1.2; font-weight: 900; }
.wr-onizle small { font-size: 13.5px; opacity: .85; }
.wr-link { display: flex; gap: 8px; }
.wr-link input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--border, #ddd); border-radius: 12px; font: 13px ui-monospace, monospace; background: var(--bg, #fafafa); color: inherit; }
.wr-dugmeler { display: flex; gap: 8px; }
.wr-dugmeler .btn { flex: 1; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: inherit; justify-content: center; height: 46px; }
.wr-dugmeler .wr-wa { flex: 2; background: #1FAF5A; border-color: #1FAF5A; color: #fff; }

/* ══ Yemek platformları ══════════════════════════════════════════════════ */
.ayarlar .ay-ent { --r: #6D3FD0; --a: #EFE8FC; }
/* Üst çubuk rozetleri */
.ent-rozetler { display: flex; align-items: center; gap: 6px; }
.ent-rz { position: relative; width: 60px; height: 40px; padding: 0; border: 0; border-radius: 11px; overflow: hidden; cursor: pointer; background: var(--pr);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .14); transition: transform .12s, opacity .2s, filter .2s; }
.ent-rz img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ent-rz i { position: absolute; right: 4px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #2BD46B; box-shadow: 0 0 0 2px #fff; }
.ent-rz.acik i { animation: ent-nabiz 2.4s ease-in-out infinite; }
@keyframes ent-nabiz { 50% { box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(43, 212, 107, .35); } }
.ent-rz.kapali { filter: grayscale(1); opacity: .7; }
.ent-rz.kapali i { background: #9A8F89; }
.ent-rz.sorun i { background: #FF3B30; animation: ent-nabiz 1s infinite; }
.ent-rz em { position: absolute; left: 0; right: 0; bottom: 0; font: 800 10px/14px var(--font); font-style: normal; color: #fff; background: rgba(0, 0, 0, .62); text-align: center; }
.ent-rz:hover { transform: translateY(-1px); }
.ent-rz:active { transform: scale(.95); }

/* Pano: onay bekleyen platform siparişi */
.pkart.platform-bekliyor { border-color: var(--pr); box-shadow: 0 0 0 2px var(--pr), 0 10px 24px -10px var(--pr); animation: pk-titre 2.2s ease-in-out infinite; }
@keyframes pk-titre { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-.6deg); } 94% { transform: rotate(.6deg); } }
.pk-kabul { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; margin: 10px 0 2px; padding: 8px; border-radius: 14px;
  background: color-mix(in srgb, var(--pr) 10%, #fff); border: 1px solid color-mix(in srgb, var(--pr) 35%, #fff); }
.pk-kabul img { width: 44px; height: 34px; border-radius: 8px; object-fit: contain; background: var(--pr); }
.pkk-yazi { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.pkk-yazi b { font-size: 13.5px; color: var(--pr); }
.pkk-yazi small { font-size: 12px; color: var(--muted); }
.pkk-yazi [data-kabul-son] { font: 800 13px var(--font-num); color: var(--text); font-variant-numeric: tabular-nums; }
.pk-kabul.acil .pkk-yazi [data-kabul-son] { color: #D12B1F; }
.pkk-red, .pkk-kabul { height: 42px; border: 0; border-radius: 11px; font: 800 14px var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; }
.pkk-red { background: #fff; color: #B3261E; box-shadow: inset 0 0 0 1.5px #EBC7C3; }
.pkk-kabul { background: #1A7F37; color: #fff; flex-direction: row; }
.pkk-kabul small { font: 700 11px var(--font); opacity: .85; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .18); }
@media (max-width: 1500px) { .pk-kabul { grid-template-columns: 40px minmax(0, 1fr) auto; } .pkk-red { grid-column: 1 / 3; } .pkk-kabul { grid-column: 3; } .pk-kabul .pkk-red { justify-content: center; } }

/* Yeni platform siparişi bildirimi */
.platform-popup { border-color: var(--pr); padding: 0; overflow: hidden; width: 380px; max-width: calc(100vw - 24px); }
.pp-bas { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--pr); color: #fff; }
.pp-bas img { width: 64px; height: 44px; border-radius: 10px; object-fit: contain; background: var(--pr); box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.pp-bas div { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.2; }
.pp-bas small { font: 800 11px var(--font); letter-spacing: .12em; opacity: .85; }
.pp-bas b { font: 800 19px var(--font-num); }
.pp-sure { font: 800 20px var(--font-num); font-variant-numeric: tabular-nums; padding: 6px 10px; border-radius: 10px; background: rgba(0, 0, 0, .22); }
.platform-popup.acil .pp-sure { background: #fff; color: #D12B1F; animation: ent-nabiz 1s infinite; }
.pp-oto { font: 800 12px var(--font); padding: 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .22); }
.pp-musteri { display: flex; flex-direction: column; padding: 10px 14px 0; font-size: 14px; }
.pp-musteri span { color: var(--muted); font-size: 13px; }
.pp-kalem { list-style: none; margin: 8px 14px 0; padding: 8px 0 0; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 3px; font-size: 14px; max-height: 150px; overflow: auto; }
.pp-kalem small { color: var(--muted); }
.pp-esl { font-style: normal; font: 800 10.5px var(--font); color: #9A5B00; background: #FFF1D0; padding: 1px 6px; border-radius: 6px; }
.pp-dug { display: flex; gap: 8px; padding: 12px 14px 14px; }
.pp-dug > * { flex: 1; }
.pp-red, .pp-kabul { height: 50px; border: 0; border-radius: 13px; font: 800 16px var(--font); cursor: pointer; }
.pp-red { background: #fff; color: #B3261E; box-shadow: inset 0 0 0 1.5px #EBC7C3; flex: .7; }
.pp-kabul { background: #1A7F37; color: #fff; box-shadow: 0 8px 18px -8px #1A7F37; }

/* Ayarlar › Yemek platformları */
.ent-bilgi, .ent-uyari { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #F3EFFC; color: #3E2A7A; font-size: 14px; margin-bottom: 16px; }
.ent-bilgi svg { flex-shrink: 0; margin-top: 1px; }
.ent-uyari { background: var(--note-bg); color: var(--note-fg); }
.ent-kartlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.ent-kart { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 20px; background: var(--card-2); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.ent-kart::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--pr); opacity: .25; }
.ent-kart.bagli::before { opacity: 1; }
.ent-kart.bagli { box-shadow: 0 12px 30px -18px var(--pr); }
.ent-kart:not(.bagli) .ek-logo img { filter: saturate(.55); opacity: .8; }
.ek-logo { border-radius: 16px; overflow: hidden; background: var(--pr); aspect-ratio: 1.2; align-self: start; box-shadow: 0 8px 20px -10px var(--pr); }
.ek-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ek-govde { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ek-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ek-ust b { font: 800 17px var(--font-num); }
.ek-d { display: inline-flex; align-items: center; gap: 6px; font: 700 12px var(--font); padding: 3px 9px; border-radius: 99px; }
.ek-d::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ek-d.acik { color: #1A7F37; background: #E3F3E7; }
.ek-d.kapali { color: #6E625C; background: #EFE9E4; }
.ek-d.sorun { color: #B3261E; background: #FBE6E3; }
.ek-d.bos { color: #8A7F79; background: #F2EEEA; }
.ek-ist { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, .9fr); gap: 6px; }
.ek-ist div { display: flex; flex-direction: column; padding: 7px 9px; border-radius: 11px; background: #fff; border: 1px solid var(--line-2); min-width: 0; }
.ek-ist b { font: 800 14px var(--font-num); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ek-ist small { font-size: 11px; color: var(--muted); }
.ek-alt { display: flex; flex-wrap: wrap; gap: 6px; }
.ek-alt .btn { display: inline-flex; align-items: center; gap: 6px; }
.ent-ayarlar { display: grid; gap: 2px; margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ent-ayar { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--card-2); }
.ent-ayar + .ent-ayar { border-top: 1px solid var(--line-2); }
.ea-yazi { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ea-yazi small { color: var(--muted); font-size: 13px; }
.ent-seg { display: flex; grid-template-columns: none; flex-wrap: wrap; }
.ent-seg button { border: 0; background: transparent; padding: 8px 12px; border-radius: 10px; font: 700 13.5px var(--font); cursor: pointer; color: var(--muted-2); }
.ent-seg button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(34, 23, 20, .12); }
.ent-esl { margin-top: 22px; }
.ent-ipucu { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); background: #FFF8E6; border-radius: 14px; padding: 10px 12px; margin: 8px 0 12px; }
.ent-ipucu svg { flex-shrink: 0; color: #B07A00; }
.ent-ipucu code { background: #fff; padding: 1px 5px; border-radius: 5px; }
.ent-esl-liste { display: flex; flex-direction: column; gap: 8px; }
.ee-satir { display: grid; grid-template-columns: minmax(180px, 1.2fr) auto minmax(150px, 1fr) auto auto auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-2); }
.ee-satir:has([data-ee-sec]:not([hidden])) { grid-template-columns: minmax(180px, 1.2fr) auto minmax(150px, 1fr) minmax(120px, .8fr) auto auto; }
.ee-sol { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ee-sol div { display: flex; flex-direction: column; min-width: 0; }
.ee-sol b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ee-sol small { color: var(--muted); font-size: 12px; }
.ee-pl { display: flex; }
.ee-pl img { width: 34px; height: 26px; border-radius: 6px; object-fit: contain; background: #888; box-shadow: 0 0 0 2px #fff; }
.ee-pl img + img { margin-left: -8px; }
.ee-ok { color: var(--muted); font-weight: 800; }
.ee-satir select { height: 40px; border-radius: 10px; border: 1px solid var(--line-3); padding: 0 10px; font: 600 14px var(--font); background: #fff; min-width: 0; }
.ee-sil { width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
.ee-sil:hover { background: var(--soft); color: var(--danger); }
.ent-esl-bos { padding: 14px; border-radius: 14px; background: #E9F6EC; color: #1A7F37; font-weight: 700; }
.ent-kayitli { margin-top: 12px; }
.ent-kayitli summary { cursor: pointer; font-weight: 700; color: var(--muted-2); }
.ek-sat { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.ek-sat span:first-child { flex: 1; color: var(--muted); }
@media (max-width: 900px) {
  .ee-satir, .ee-satir:has([data-ee-sec]:not([hidden])) { grid-template-columns: 1fr auto; }
  .ee-ok { display: none; } .ee-satir select, .ee-satir [data-ee-kaydet] { grid-column: 1 / -1; } .ee-sil { grid-row: 1; grid-column: 2; }
  .ent-ayar { flex-wrap: wrap; }
}
@media (max-width: 520px) { .ent-kart { grid-template-columns: 1fr; } .ek-logo { aspect-ratio: 2.4; } }
/* Ürün stok kodu */
.stok-kodu-alan small { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 4px; }
.stok-kodu-alan input { font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase; }
.se-kod { width: 110px; height: 40px; border: 1px solid var(--line-3); border-radius: 10px; padding: 0 8px; font: 600 13px ui-monospace, Consolas, monospace; text-transform: uppercase; }

.ek-ust .ek-sw { margin-left: auto; transform: scale(.82); transform-origin: right center; }
.ek-sat .ek-pl { width: 28px; height: 20px; border-radius: 5px; object-fit: contain; background: #888; vertical-align: middle; margin-right: 8px; }

/* ══ Ayarlar › Sesler ══ */
.ayarlar .ay-ses { --r: #0E7C86; --a: #E2F4F5; }
.ses-temalar { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.ses-tema { --t: #2E6FD8; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 18px; border: 2px solid var(--line); background: var(--card-2); cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .1s; outline: none; }
.ses-tema[data-ses-tema="marimba"] { --t: #B5651D; }
.ses-tema[data-ses-tema="modern"] { --t: #7B3FD0; }
.ses-tema:hover, .ses-tema:focus-visible { border-color: color-mix(in srgb, var(--t) 50%, var(--line)); }
.ses-tema.secili { border-color: var(--t); box-shadow: 0 12px 28px -16px var(--t); background: color-mix(in srgb, var(--t) 6%, var(--card)); }
.st-ust { display: flex; align-items: center; gap: 12px; }
.st-ust > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.st-ust b { font: 800 17px var(--font-num); color: var(--t); }
.st-ust small { font-size: 12.5px; color: var(--muted); }
.st-dalga { width: 46px; height: 46px; border-radius: 14px; background: var(--t); display: flex; align-items: center; justify-content: center; gap: 3px; flex-shrink: 0; }
.st-dalga i { width: 4px; border-radius: 2px; background: #fff; height: 10px; }
.st-dalga i:nth-child(2) { height: 20px; } .st-dalga i:nth-child(3) { height: 28px; } .st-dalga i:nth-child(4) { height: 18px; } .st-dalga i:nth-child(5) { height: 12px; }
.ses-tema.secili .st-dalga i { animation: st-dalga 1.1s ease-in-out infinite; }
.ses-tema.secili .st-dalga i:nth-child(2) { animation-delay: .1s; } .ses-tema.secili .st-dalga i:nth-child(3) { animation-delay: .2s; } .ses-tema.secili .st-dalga i:nth-child(4) { animation-delay: .3s; } .ses-tema.secili .st-dalga i:nth-child(5) { animation-delay: .4s; }
@keyframes st-dalga { 50% { transform: scaleY(.45); } }
.st-tik { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-3); color: transparent; flex-shrink: 0; }
.ses-tema.secili .st-tik { background: var(--t); border-color: var(--t); color: #fff; }
.st-dene { display: flex; flex-wrap: wrap; gap: 6px; }
.st-dene button { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font: 700 12.5px var(--font); color: var(--text-2); cursor: pointer; }
.st-dene button:hover { border-color: var(--t); color: var(--t); }
.st-dene button svg { color: var(--t); }
.ses-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card-2); }
.ses-seviye { display: flex; flex-direction: row; align-items: center; gap: 12px; flex: 1 1 320px; font-weight: 700; }
.ses-seviye input { flex: 1; accent-color: #0E7C86; height: 28px; }
.ses-seviye b { min-width: 44px; text-align: right; font-family: var(--font-num); }
.ses-acik { display: flex; align-items: center; gap: 12px; }
.ses-acik span { display: flex; flex-direction: column; }
.ses-acik small { font-size: 12.5px; color: var(--muted); }
.ses-not { margin: 10px 2px 0; }

/* Ayarlar sol menü: ekrana sığmazsa kendi içinde kayar (sayfanın sonuna inmeye gerek yok) */
@media (min-width: 1181px) {
  #tab-settings .ay-nav { max-height: calc(100dvh - 300px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-3) transparent; }
  #tab-settings .ay-nav button { flex-shrink: 0; }
  #tab-settings .ay-nav::-webkit-scrollbar { width: 6px; }
  #tab-settings .ay-nav::-webkit-scrollbar-thumb { background: var(--line-3); border-radius: 3px; }
}
@media (min-width: 1181px) and (max-height: 900px) { #tab-settings .ay-nav button { height: 42px; } #tab-settings .ay-nav button > span { width: 30px; height: 30px; } }

/* ══ Hazır kampanyalar ══ */
.kmp-bh-dug { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.kmp-hazir-btn { background: linear-gradient(135deg, #FFF4D6, #FBE6E3); border-color: #F2D29B; color: #6B3F00; font-weight: 800; }
.kmp-bos-dug { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.stk-dlg.kmp-galeri { width: min(1040px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; display: flex; flex-direction: column; }
.stk-dlg.kmp-galeri[open] { display: flex; }
.kmp-galeri-bas { padding: 20px 22px 6px; }
.kmp-galeri-bas .sd-ic { font-size: 26px; background: linear-gradient(135deg, #FFE7A3, #FFB4A8); }
.kg-setler { display: flex; gap: 6px; padding: 8px 22px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.kg-setler button { height: 38px; padding: 0 16px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font: 800 14px var(--font); color: var(--muted-2); cursor: pointer; }
.kg-setler button[aria-selected="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.kg-govde { overflow: auto; overscroll-behavior: contain; padding: 4px 0 18px; position: relative; }
.kg-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; padding: 12px 22px 8px; }
.kg-gnav { display: flex; gap: 6px; padding: 6px 22px 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.kg-gnav::-webkit-scrollbar { display: none; }
.kg-gnav button { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font: 700 13.5px var(--font); color: var(--text); cursor: pointer; transition: background .15s, border-color .15s; }
.kg-gnav button:hover { background: var(--card-2); border-color: var(--line-3); }
.kg-gnav em, .kg-grup h4 em { font-style: normal; font: 800 11px var(--font-num); min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; background: var(--card-2); color: var(--muted-2); }
.kg-grup { padding-top: 10px; }
.kg-grup + .kg-grup { border-top: 1px dashed var(--line); margin-top: 6px; }
.kg-grup header { display: flex; align-items: center; gap: 12px; padding: 8px 22px 0; }
.kg-g-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; background: var(--card-2); flex: none; }
.kg-grup h4 { margin: 0; display: flex; align-items: center; gap: 8px; font: 800 16px var(--font); }
.kg-grup header small { color: var(--muted); font-size: 12.5px; }
.kg-grup[data-grup="anlik"] .kg-g-ic { background: linear-gradient(135deg, #FFE7A3, #FFC56B); }
.kg-grup[data-grup="anlik"] .kg-kart { background: linear-gradient(160deg, #FFFBEF 0%, var(--card-2) 60%); }
.kg-anlik { align-self: flex-start; margin-bottom: 2px; font: 800 10.5px var(--font); letter-spacing: .02em; color: #8A5A00; background: #FFF1C7; border: 1px solid #F5D98A; padding: 2px 8px; border-radius: 99px; }
.kmp-galeri-bas, .kg-setler, .kg-gnav { flex: none; }
.kg-kart { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 20px; gap: 12px; align-items: start; text-align: left; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--card-2); cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .2s, transform .12s; }
.kg-kart::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: 18px 0 0 18px; background: var(--k); }
.kg-kart:hover { border-color: var(--k); box-shadow: 0 12px 28px -18px var(--k); transform: translateY(-1px); }
.kg-kart.eksik { opacity: .72; }
.kg-emoji { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: color-mix(in srgb, var(--k) 12%, #fff); }
.kg-yazi { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kg-yazi b { font: 800 16px var(--font-num); }
.kg-yazi small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.kg-ozet { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 4px; padding: 4px 9px; border-radius: 8px; background: color-mix(in srgb, var(--k) 10%, #fff); color: var(--k); font: 700 12.5px var(--font); }
.kg-ornek { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 6px; padding: 8px 10px; border-radius: 11px; background: #fff; border: 1px dashed var(--line-3); font-size: 12.5px; }
.kg-ornek span { flex: 1 1 100%; color: var(--muted); }
.kg-ornek b { font: 800 14px var(--font-num); }
.kg-ornek em { font-style: normal; color: #1A7F37; font-weight: 800; }
.kg-uyari { margin-top: 6px; font-size: 12.5px; color: #9A5B00; font-weight: 600; }
.kg-var { align-self: flex-start; margin-top: 4px; font: 800 11.5px var(--font); color: #1A7F37; background: #E3F3E7; padding: 2px 8px; border-radius: 99px; }
.kg-ok { color: var(--muted); align-self: center; }
.kmp-baslat { margin: 4px 0 0; padding: 12px 14px; border-radius: 14px; background: #F2FAF4; border: 1px solid #CBE8D3; }

/* ── Sesli asistan ayarı ── */
#asistan-icerik { margin-top: 16px; }
.as-kart { border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: linear-gradient(150deg, #FFF8F1 0%, var(--card) 55%); display: flex; flex-direction: column; gap: 14px; }
.as-ust { display: flex; align-items: center; gap: 14px; }
.as-ust b { display: block; font: 800 17px var(--font); }
.as-ust small { color: var(--muted); font-size: 13px; }
.as-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #B3261E, #E8622C); box-shadow: 0 10px 22px -12px #B3261E; flex: none; }
.as-seg { display: grid; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.as-seg button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line); background: #fff; font: 800 14px var(--font); color: var(--text); cursor: pointer; text-align: left; }
.as-seg button small { font: 600 11.5px var(--font); color: var(--muted); }
.as-seg button[aria-pressed="true"] { border-color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); background: color-mix(in srgb, var(--primary) 6%, #fff); }
.as-alt { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.as-ses { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; font: 700 12.5px var(--font); color: var(--muted-2); }
.as-alt .btn { height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.as-not { margin: 0; }
@media (max-width: 560px) { .as-seg { grid-template-columns: 1fr; } }
.sx-kalem.bilgi.tur { background: #F2F6FF; border-color: #CFDCF5; color: #1D3F7A; }
.sx-kalem.bilgi.hz { background: #FFF7E6; border-color: #F2D9A6; color: #6B4A00; }

/* ── Sesli sipariş: öğrenme ── */
.sxk-ara { height: 32px; max-width: 100%; border-radius: 9px; border: 1px dashed var(--line-3); background: #fff; font: 600 13px var(--font); padding: 0 8px; color: var(--text); cursor: pointer; }
.sxk-ogren { font-style: normal; color: #1A7F37; font-weight: 700; white-space: nowrap; }
.sxk-degis { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 4px; vertical-align: -3px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; opacity: .55; }
.sxk-degis:hover { opacity: 1; background: var(--line-2); color: var(--text); }
#sozluk-icerik { margin-top: 16px; }
.sz-kart { border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: var(--card); display: flex; flex-direction: column; gap: 14px; }
.as-ic.sz { background: linear-gradient(135deg, #1D6FB8, #3BA3E0); box-shadow: 0 10px 22px -12px #1D6FB8; }
.sz-ekle { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.sz-ekle input { height: 44px; border-radius: 12px; border: 1px solid var(--line-2); padding: 0 12px; font: 600 15px var(--font); }
.sz-ok { color: var(--muted); font-weight: 800; }
.sz-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.sz-oge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 99px; background: #EEF5FC; border: 1px solid #D3E4F5; font-size: 13.5px; }
.sz-oge i { font-style: normal; color: #1D4F80; }
.sz-oge b { font-weight: 800; }
.sz-oge button { width: 24px; height: 24px; border-radius: 50%; border: 0; background: #fff; color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; }
.sz-oge button:hover { color: #B3261E; }
.sz-bos { margin: 0; }
@media (max-width: 640px) { .sz-ekle { grid-template-columns: 1fr; } .sz-ekle .sz-ok { display: none; } }
#pgrid-wrap.salla { animation: spSalla .4s; }

/* ── Ücretsiz deneme çubuğu ve paket seçimi (v16) ── */
.license-bar.deneme { background: linear-gradient(90deg, #FFF4E6, #FDEBDD); color: #6B3A10; border-bottom-color: #F3C9A4; gap: 12px 18px; }
.license-bar.deneme.danger { background: linear-gradient(90deg, #FDE3E1, #FBD3CF); color: #8E1B16; }
.license-bar .db-ic { font-size: 18px; }
.db-olcu { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.db-olcu i { width: 90px; height: 8px; border-radius: 99px; background: rgba(0, 0, 0, .1); overflow: hidden; position: relative; }
.db-olcu i::after { content: ''; position: absolute; inset: 0; width: calc(var(--o) * 100%); border-radius: inherit; background: currentColor; opacity: .75; }
.db-olcu em { font-style: normal; font-size: .88rem; }
.renew-paketler { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.rp-donem { display: inline-flex; align-self: center; padding: 4px; border-radius: 99px; background: var(--card-2); border: 1px solid var(--line); }
.rp-donem button { border: 0; background: none; padding: 7px 16px; border-radius: 99px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.rp-donem button small { font-size: 11px; color: #1A7F37; }
.rp-donem button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.rp-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.rp-paket { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); color: inherit; font: inherit; cursor: pointer; position: relative; }
.rp-paket b { font-size: 16px; display: flex; gap: 6px; align-items: center; }
.rp-paket b span { font-size: 10.5px; padding: 2px 7px; border-radius: 99px; background: var(--primary); color: #fff; }
.rp-paket small { color: var(--muted); font-size: 12.5px; }
.rp-paket em { font-style: normal; font-weight: 800; font-size: 20px; margin-top: 4px; }
.rp-paket em i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.rp-paket u { text-decoration: none; font-size: 12px; color: #1A7F37; font-weight: 700; }
.rp-paket.one { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); }
.rp-paket.secili { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
.rp-paket.mevcut::after { content: 'Şu anki'; position: absolute; top: 8px; right: 10px; font-size: 10.5px; font-weight: 800; color: var(--muted); }
body.demo-giris #login-screen { opacity: .4; pointer-events: none; }

/* ── Lisansım ── */
.lisans-dialog { width: min(560px, calc(100vw - 24px)); padding: 24px; }
.lis-bas { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.lis-bas h3 { margin: 0; font-size: 1.45rem; }
.lis-bas p { margin: 2px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.lis-kapat { margin-left: auto; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); }
.lis-icerik { display: flex; flex-direction: column; gap: 14px; }
.lis-yukleniyor { color: var(--muted); text-align: center; padding: 30px 0; }
.lis-kart { display: flex; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--card-2); }
.lis-gun { text-align: center; min-width: 76px; }
.lis-gun b { display: block; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.lis-gun span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.lis-kart.iyi .lis-gun b { color: #1A7F37; } .lis-kart.yakin .lis-gun b { color: #9A6412; } .lis-kart.az .lis-gun b, .lis-kart.bitti .lis-gun b { color: #B3261E; }
.lis-sure { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.lis-rozet { align-self: flex-start; font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: #E3F3E7; color: #1A7F37; }
.lis-rozet.yakin { background: #FBF0DA; color: #9A6412; } .lis-rozet.az, .lis-rozet.bitti { background: #FBE8E5; color: #B3261E; }
.lis-cubuk { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.lis-cubuk i { display: block; height: 100%; width: calc(var(--o) * 100%); border-radius: inherit; background: currentColor; color: #1A7F37; }
.lis-kart.yakin .lis-cubuk i { color: #C98A1A; } .lis-kart.az .lis-cubuk i { color: #B3261E; }
.lis-tarih { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.lis-bilgi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.lis-bilgi div { padding: 10px 14px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line); }
.lis-bilgi dt { font-size: 12px; color: var(--muted); font-weight: 700; }
.lis-bilgi dd { margin: 2px 0 0; font-weight: 800; }
.lis-h { margin: 6px 0 -4px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.lis-olculer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lis-olcu { padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.lis-olcu span { font-size: 12px; color: var(--muted); font-weight: 700; }
.lis-olcu b { font-size: 17px; }
.lis-olcu small { font-size: 12px; color: #1A7F37; font-weight: 700; }
.lis-olcu i { height: 6px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; }
.lis-olcu i::after { content: ''; position: absolute; inset: 0; width: calc(var(--o) * 100%); background: #1A7F37; border-radius: inherit; }
.lis-olcu.yakin i::after { background: #C98A1A; } .lis-olcu.dolu i::after { background: #B3261E; }
.lis-ozellik { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 14px; }
.lis-ozellik li { display: flex; gap: 8px; align-items: flex-start; }
.lis-ozellik li span { font-weight: 800; color: #1A7F37; width: 14px; flex-shrink: 0; }
.lis-ozellik li.yok { color: var(--muted); } .lis-ozellik li.yok span { color: var(--muted); }
.lis-ipucu { font-size: 13px; color: var(--muted); margin: 0; }
.lis-gecmis { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow: auto; }
.lis-g { display: flex; gap: 12px; align-items: center; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; }
.lis-g > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lis-g small { color: var(--muted); font-size: 12px; }
.lis-g span { color: var(--muted); font-weight: 600; white-space: nowrap; }
.lis-g em { font-style: normal; font-weight: 800; white-space: nowrap; }
.lis-g i { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--line); color: var(--muted); }
.lis-g.aktif i { background: #E3F3E7; color: #1A7F37; }
.lis-dug { margin-top: 18px; }
.lis-ac-btn { margin-top: 12px; }
@media (max-width: 560px) { .lis-olculer, .lis-ozellik, .lis-bilgi { grid-template-columns: 1fr; } .lis-g { flex-wrap: wrap; } }
