/* ==========================================================================
   Restoran Adisyon — programa özel stiller (core.css üzerine)
   Deefter görsel dili: nötr açık / koyu kabuk, beyaz kartlar, magenta vurgu, yeşil onay.
   Kasa iskeleti core.css'teki mx- bileşenleridir; burada yalnızca restorana özgü parçalar (rs- öneki) var.
   ========================================================================== */

.renk-nokta { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; }

/* ---------------------------------------------------------------- ortak küçük parçalar */
.rs-zil { position: relative; }
.rs-zil-sayi { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #fbbf24; color: #141a2a; font-size: .62rem; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.rs-say { display: inline-grid; place-items: center; min-width: 1.45rem; height: 1.45rem; padding: 0 .35rem; border-radius: 999px; background: rgba(255, 255, 255, .28); font-size: .72rem; font-weight: 700; line-height: 1; }
.mx-btn-outline .rs-say { background: rgba(var(--ad-purple-rgb), .12); }
.rs-cip { display: inline-flex; align-items: center; gap: .3rem; border: 0; border-radius: 999px; padding: .2rem .6rem; font-size: .72rem; font-weight: 600; background: var(--ad-surface-2); color: var(--ad-text); white-space: nowrap; }
.rs-cip[role=button], button.rs-cip { cursor: pointer; }
.rs-cip[role=button]:hover { background: var(--ad-primary-soft); color: var(--ad-primary); }
.rs-cip.mavi { background: rgba(79, 123, 224, .14); color: var(--ad-info); }
.rs-cip.yesil { background: var(--ad-grad-green); color: var(--ad-on-green); }
.rs-not { color: var(--ad-primary) !important; font-weight: 500; }
.rs-pills { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.rs-pills::-webkit-scrollbar { display: none; }
.rs-pills button { white-space: nowrap; border: 0; border-radius: 999px; padding: .5rem 1rem; min-height: 40px; background: var(--ad-surface); color: var(--ad-purple); font-weight: 600; font-size: .76rem; text-transform: uppercase; letter-spacing: .03em; box-shadow: 0 1px 3px rgba(43, 35, 64, .08); }
.rs-pills button.active { background: var(--ad-grad-pink); color: var(--ad-on-pink); box-shadow: 0 4px 12px rgba(var(--ad-primary-rgb), .3); }
[data-bs-theme="dark"] .rs-pills button:not(.active) { color: var(--ad-text); }

.mx-btn-outline.rs-aktif { background: var(--ad-grad-blue); border-color: transparent; color: var(--ad-on-blue); }
.mx-btn-pay.rs-pasif { opacity: .55; box-shadow: none; pointer-events: none; }
a.mx-btn-pay, a.mx-btn-pink, a.mx-btn-outline { text-decoration: none; }
.rs-cip.yesil-soft { background: rgba(63, 163, 77, .13); color: var(--ad-success); white-space: normal; }
.rs-uyari { background: var(--ad-primary-soft); color: var(--ad-primary-dark); border: 0; }
[data-bs-theme="dark"] .rs-uyari { color: var(--ad-primary); }   /* g#48: sistem rengi */
/* Bootstrap .card sütun yönü .stat kartını dikey dizip ikon/metin hizasını bozuyordu */
.card.stat { flex-direction: row; align-items: center; }
/* Mutfak personelinde geri butonu anlamsız (gidilecek başka ekran yok) */
.rs-geri-yok .sm-top > a.sm-top-btn:first-child { display: none; }
/* Menulux garson ekranı: alt çizgili yazı sekmeleri (BAHÇE · SALON · TERAS) */
.rs-sekmeler { display: flex; gap: 1.4rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ad-border); }
.rs-sekmeler::-webkit-scrollbar { display: none; }
.rs-sekmeler button { border: 0; background: none; padding: .55rem 0 .6rem; font-weight: 600; font-size: .92rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ad-muted); white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.rs-sekmeler button.active { color: var(--ad-primary); border-bottom-color: var(--ad-primary); }

/* kalem durum etiketleri */
.kd { font-size: .62rem; font-weight: 700; padding: .12rem .45rem; border-radius: 6px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.kd-bekliyor { background: var(--ad-primary-soft); color: var(--ad-primary); }
.kd-mutfakta { background: rgba(var(--ad-purple-rgb), .1); color: var(--ad-purple); }
.kd-hazir { background: var(--ad-success); color: #fff; }
.kd-servis { background: rgba(79, 123, 224, .13); color: var(--ad-info); }
.kd-iptal { background: rgba(225, 29, 72, .12); color: var(--ad-danger); }
.kd-ikram { background: rgba(138, 79, 216, .14); color: #7a3fc8; }
[data-bs-theme="dark"] .kd-ikram { color: #cdb2ff; }
.kd-indirim { background: rgba(225, 29, 72, .1); color: var(--ad-danger); }
.kd-odendi { background: rgba(63, 163, 77, .14); color: var(--ad-success); }
[data-bs-theme="dark"] .kd-mutfakta { color: var(--ad-text); }

/* bildirim kartları (hazır ürün, garson çağrısı) */
.rs-bildirim { display: flex; align-items: center; gap: .7rem; border: 0; border-left: 4px solid var(--ad-success); border-radius: 12px; background: var(--ad-surface); box-shadow: var(--ad-shadow); padding: .55rem .7rem; font-size: .84rem; color: var(--ad-text); text-align: left; }
.rs-bildirim > i:first-child { font-size: 1.15rem; color: var(--ad-success); }
.rs-bildirim.cagri { border-left-color: #ffb400; }
.rs-bildirim.cagri > i:first-child { color: #e0a000; animation: zil 1.2s ease-in-out infinite; }
.rs-bld-btn { border: 0; border-radius: 8px; padding: .42rem .8rem; font-weight: 600; font-size: .74rem; background: var(--ad-purple); color: #fff; white-space: nowrap; }
.rs-bld-btn.yesil { background: var(--ad-grad-green); }
@keyframes zil { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-12deg); } 20%, 40% { transform: rotate(12deg); } }
@keyframes eklendi { 0% { box-shadow: 0 0 0 0 rgba(63, 163, 77, .6); } 100% { box-shadow: 0 0 0 12px rgba(63, 163, 77, 0); } }

/* ---------------------------------------------------------------- masalar ekranı */
.rs-masalar .mx-center-head { flex-wrap: wrap; row-gap: .4rem; }
.rs-ozet { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .74rem; color: var(--ad-muted); font-weight: 500; }
.rs-ozet b { color: var(--ad-text); font-weight: 700; }
.rs-ozet span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; background: var(--ad-surface); border: 1px solid var(--ad-border); }
.rs-ozet .l-dolu::before { background: var(--ad-grad-pink); border: 0; }
.rs-ozet .l-hesap::before { background: var(--ad-grad-blue); border: 0; }
.rs-ozet .l-rezerve::before { background: var(--ad-grad-orange); border: 0; }
.rs-bildirimler { display: flex; flex-direction: column; gap: .45rem; padding: 0 1.1rem .6rem; max-height: 32%; overflow-y: auto; flex: 0 0 auto; }
.rs-bildirimler:empty { display: none; }
.rs-masa-alan { flex: 1; min-height: 0; overflow-y: auto; padding: .3rem 1.1rem 1.1rem; }

.mx-masa .m-ust { gap: .3rem; }
/* Kart içeriği akışta: rozet satırı / müşteri etiketi / ad-tutar / garson-saat. Dar ekranda kart uzar, üst üste binmez. */
/* aspect-ratio'lu öğe ızgarada esnemez: satırdaki kartlar eşit boy olsun diye sabit en az yükseklik */
.mx-masa.rs-masa { justify-content: flex-start; padding: .95rem .55rem .45rem; min-width: 0; aspect-ratio: auto; min-height: 9.25rem; }
@media (max-width: 991.98px) { .mx-masa.rs-masa { min-height: 7.4rem; } }
.rs-kucuk .mx-masa.rs-masa { min-height: 6.6rem; }
.mx-masa.rs-masa .m-ust { position: static; width: 100%; min-height: 1.05rem; margin-bottom: auto; }
.mx-masa.rs-masa .m-alt { position: static; width: 100%; margin-top: auto; padding-top: .25rem; gap: .3rem; }
.mx-masa.rs-masa .m-isim { margin-top: .15rem; max-width: 100%; overflow-wrap: anywhere; }
.rs-etiket-satir { width: 100%; display: flex; justify-content: center; margin: .1rem 0 .05rem; min-width: 0; }
.rs-etiket-satir .m-etiket { max-width: 100%; }
.mx-masa .rs-kisi { white-space: nowrap; display: inline-flex; align-items: center; }
.mx-masa .rs-garson { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.mx-masa .rs-zaman { flex: 0 0 auto; white-space: nowrap; }
.mx-masa .rs-zaman i { margin-right: 1px; }
.mx-masa .rs-ust { display: flex; align-items: center; gap: .2rem; min-width: 0; font-weight: 600; }
.mx-masa .rs-ust i { font-size: .72rem; margin-left: 1px; }
.mx-masa .m-isim i { font-size: .82rem; }
.mx-masa .m-alt { align-items: center; gap: .3rem; }
.rs-rz { display: inline-flex; align-items: center; gap: 2px; border-radius: 6px; padding: .06rem .32rem; font-weight: 700; font-size: .62rem; line-height: 1.4; }
.rs-rz.hazir { background: var(--ad-success); color: #fff; }
.rs-rz.yeni { background: rgba(43, 35, 64, .72); color: #fff; }
.rs-rz.cagri { background: #fbbf24; color: #141a2a; cursor: pointer; animation: zil 1.2s ease-in-out infinite; }
.rs-kap { color: var(--ad-muted); }   /* g#48: soluklaştırma okunurluğu düşürüyordu */
.rs-gec { background: var(--ad-on-pink); color: var(--ad-primary); border-radius: 6px; padding: 0 .3rem; font-weight: 700; white-space: nowrap; }
.rs-rez-saat { font-size: .8rem; margin-top: .1rem; }

.rs-isim-satir { grid-template-columns: auto minmax(0, 1fr) auto auto; color: var(--ad-text); }
.rs-isim-satir:hover, .rs-isim-satir:focus { color: var(--ad-text); }
.rs-isim-satir:hover .n { color: var(--ad-primary); }
.rs-isim-satir .mx-num { min-width: 26px; height: 26px; }
.rs-isim-satir .n { font-weight: 600; }
.rs-isim-satir .n i { font-size: .8rem; }
.rs-isim-satir .t { color: var(--ad-muted); font-size: .8rem; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- sipariş (adisyon) ekranı */
.rs-siparis .mx-panel-head { gap: .55rem; }
.rs-siparis .mx-panel-head .ttl { min-width: 0; }
.rs-siparis .mx-pill-btn { max-width: 52%; }
.rs-siparis .mx-pill-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-bilgi { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem .5rem; padding: .5rem 1.1rem; border-bottom: 1px solid var(--ad-border); }
.rs-alt-bilgi { font-size: .74rem; color: var(--ad-muted); min-width: 0; }
.rs-pk-kutu { padding: .6rem 1.1rem; border-bottom: 1px solid var(--ad-border); background: var(--ad-surface-2); font-size: .8rem; }
.rs-pk-bilgi { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.rs-pk-bilgi i { color: var(--ad-primary); }
.rs-seg-sm button { padding: .35rem .65rem; font-size: .72rem; white-space: nowrap; }
.rs-kurye { display: inline-flex; align-items: center; gap: .35rem; height: 38px; padding: 0 .35rem 0 .8rem; border-radius: 10px; background: linear-gradient(135deg, #8a6bd0 0%, var(--ad-purple) 100%); color: #fff; font-weight: 600; font-size: .8rem; cursor: pointer; margin: 0; box-shadow: 0 4px 12px rgba(var(--ad-purple-rgb), .25); }
.rs-kurye select { border: 0; background: transparent; color: #fff; font-weight: 600; font-size: .8rem; outline: none; padding: .3rem .2rem; max-width: 150px; cursor: pointer; }
.rs-kurye option { color: var(--ad-text); background: var(--ad-surface); }

.rs-siparis .mx-line .n { font-weight: 500; }
.rs-cipler { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; margin-top: .3rem; }
.rs-sebep { font-size: .7rem; color: var(--ad-muted); }
.rs-eski { display: block; font-size: .72rem; color: var(--ad-muted); font-weight: 400; text-align: right; }
.mx-line.rs-iptal .q, .mx-line.rs-iptal .p { text-decoration: line-through; opacity: .5; }
.mx-line.rs-iptal .n { opacity: .6; }
.mx-line:focus-visible { outline: 2px solid var(--ad-primary); outline-offset: -2px; }
.mx-line-tools { padding-top: .1rem; }
.mx-line-tools .rs-tehlike { color: var(--ad-danger); }
.mx-line-tools .rs-tehlike:hover { border-color: var(--ad-danger); color: #fff; background: var(--ad-danger); }
.mx-line-tools .rs-yesil { background: var(--ad-grad-green); border-color: transparent; color: var(--ad-on-green); }
.rs-toplamlar { margin-bottom: .55rem; }
.rs-toplamlar:empty { display: none; }
.t-satir { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ad-muted); padding: .06rem 0; }
.t-satir.t-kalan { color: var(--ad-primary); font-weight: 700; font-size: .95rem; }
.rs-siparis .mx-total-row .mx-btn-pay, .rs-siparis .mx-total-row .mx-btn-outline { padding: .8rem 1.2rem; white-space: nowrap; }
.rs-siparis .mx-total { white-space: nowrap; }
.mx-card.eklendi { animation: eklendi .35s ease; }
.mx-card .img .harf, .g-harf { background-image: linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(0, 0, 0, .18)); text-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.mx-card.kapali { cursor: default; }
.mx-card.kapali .img::after { font-size: .8rem; text-align: center; }
.mx-card.kapali .img .harf { color: transparent; text-shadow: none; }
.mx-search input[type=search]::-webkit-search-cancel-button { filter: invert(1); }
.mobil-fis-bar { display: none; }

/* "Diğer" işlemler penceresi */
.rs-islemler { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.rs-islem { display: flex; align-items: center; gap: .65rem; border: 0; border-radius: 12px; background: var(--ad-surface-2); padding: .7rem .8rem; min-height: 58px; font-weight: 600; font-size: .84rem; color: var(--ad-text); text-align: left; line-height: 1.2; }
.rs-islem i { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1.05rem; background: var(--ad-primary-soft); color: var(--ad-primary); }
.rs-islem:hover { background: var(--ad-primary-soft); }
.rs-islem.rs-tehlike { color: var(--ad-danger); }
.rs-islem.rs-tehlike i { background: rgba(225, 29, 72, .12); color: var(--ad-danger); }

/* ---------------------------------------------------------------- kasa pencereleri (Menulux renkleri) */
.pos-body .modal-header { background: linear-gradient(90deg, var(--ad-primary-soft), transparent 75%); border-bottom: 2px solid var(--ad-border); }
.pos-body .modal-title { color: var(--ad-primary); }
[data-bs-theme="dark"] .pos-body .modal-title { color: var(--ad-primary); }
.pos-body .modal .btn-soft { color: var(--ad-purple); border-color: rgba(var(--ad-purple-rgb), .22); }
.pos-body .modal .btn-soft:hover { background: var(--ad-purple); border-color: var(--ad-purple); color: #fff; }
[data-bs-theme="dark"] .pos-body .modal .btn-soft { color: var(--ad-text); }
.pos-body .modal .btn-check:checked + .btn-soft { background: var(--ad-grad-pink); border-color: transparent; color: var(--ad-on-pink); }
.pos-body .modal .nav-pills .nav-link { color: var(--ad-purple); border: 1px solid rgba(var(--ad-purple-rgb), .2); }
.pos-body .modal .nav-pills .nav-link.active { background: var(--ad-grad-pink); border-color: transparent; color: var(--ad-on-pink); }
[data-bs-theme="dark"] .pos-body .modal .nav-pills .nav-link:not(.active) { color: var(--ad-text); }

/* porsiyon / opsiyon seçimi */
.secim-grup { margin-bottom: 1.1rem; border-radius: 12px; }
.secim-grup.eksik { outline: 2px solid var(--ad-danger); outline-offset: 6px; }
.secim-baslik { font-weight: 600; color: var(--ad-purple); margin-bottom: .5rem; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
[data-bs-theme="dark"] .secim-baslik { color: var(--ad-text); }
.secim-btn { border: 2px solid var(--ad-border); border-radius: 12px; padding: .55rem .95rem; background: var(--ad-surface); font-weight: 600; min-height: 50px; color: var(--ad-text); display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.secim-btn small { font-weight: 600; color: var(--ad-primary); font-size: .75rem; }
.secim-btn:hover { border-color: var(--ad-primary); }
.secim-btn.active { border-color: transparent; background: var(--ad-grad-pink); color: var(--ad-on-pink); box-shadow: 0 4px 12px rgba(var(--ad-primary-rgb), .28); }
.secim-btn.active small { color: rgba(255, 255, 255, .9); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ad-border); border-radius: 12px; overflow: hidden; background: var(--ad-surface); flex: 0 0 auto; }
.stepper button { width: 46px; height: 46px; border: 0; background: var(--ad-primary-soft); color: var(--ad-primary); font-size: 1.1rem; }
.stepper button:active { background: var(--ad-primary); color: var(--ad-on-primary); }
.stepper span { min-width: 3rem; text-align: center; font-weight: 700; font-size: 1.1rem; }
.secim-kalem { display: flex; align-items: center; gap: .75rem; padding: .55rem .4rem; border-bottom: 1px solid var(--ad-border); border-radius: 8px; }
.secim-kalem.secili { background: var(--ad-primary-soft); }
.masa-sec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; }
.masa-sec { border: 0; border-radius: 12px; padding: .65rem; background: var(--ad-surface-2); color: var(--ad-text); display: flex; flex-direction: column; min-height: 64px; text-align: left; box-shadow: 0 1px 3px rgba(43, 35, 64, .08); }
.masa-sec.dolu { background: var(--ad-grad-pink); color: var(--ad-on-pink); }
.masa-sec small { color: var(--ad-muted); font-weight: 600; }
.masa-sec.dolu small { color: rgba(255, 255, 255, .88); }
.masa-sec:disabled { opacity: .35; }
.masa-sec:not(:disabled):hover { box-shadow: 0 6px 16px rgba(var(--ad-purple-rgb), .2); }

/* ödeme */
.odeme-ozet { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding: .9rem 1rem; border-radius: 14px; background: var(--ad-surface-2); }
.odeme-kalan { font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--ad-purple); }
[data-bs-theme="dark"] .odeme-kalan { color: var(--ad-text); }
.odeme-sekme { gap: .4rem; flex-wrap: nowrap; overflow-x: auto; }
.odeme-sekme .nav-link { white-space: nowrap; min-height: 44px; }
.hizli-para { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.hizli-para .btn { min-height: 46px; font-weight: 700; }
.para-ustu-kutu { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; border-radius: 12px; background: rgba(63, 163, 77, .1); border: 1px solid rgba(63, 163, 77, .3); }
.para-ustu-kutu span { font-weight: 600; color: var(--ad-muted); }
.para-ustu-kutu b { font-size: 1.8rem; color: var(--ad-success); }
.odeme-footer { gap: .5rem; }
.odeme-footer > button { min-height: 58px; flex: 1 1 180px; }
.rs-onodeme { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; padding: .6rem .8rem; border-radius: 12px; background: rgba(63, 163, 77, .1); border: 1px solid rgba(63, 163, 77, .3); }
.rs-onodeme.d-none { display: none !important; }
.rs-onodeme > i { font-size: 1.3rem; color: var(--ad-success); }

/* ---------------------------------------------------------------- paket servis (take away) */
.rs-paket { display: grid; grid-template-columns: minmax(320px, 400px) minmax(0, 1fr); height: 100%; min-height: 0; }
.rs-pk-sol { display: flex; flex-direction: column; min-height: 0; background: var(--ad-surface); border-right: 1px solid var(--ad-border); }
.rs-pk-sol .mx-tabs { background: var(--ad-purple); }
.rs-pk-sol .mx-tabs button { font-size: .88rem; white-space: nowrap; padding: .9rem .6rem; }
.rs-pk-filtre { display: flex; gap: .35rem; padding: .6rem .8rem; border-bottom: 1px solid var(--ad-border); overflow-x: auto; scrollbar-width: none; flex: 0 0 auto; }
.rs-pk-filtre[hidden] { display: none; }
.rs-pk-filtre button { border: 0; border-radius: 999px; padding: .32rem .8rem; font-size: .74rem; font-weight: 600; background: var(--ad-surface-2); color: var(--ad-muted); white-space: nowrap; }
.rs-pk-filtre button.active { background: var(--ad-primary-soft); color: var(--ad-primary); }
.rs-pk-liste { flex: 1; min-height: 0; overflow-y: auto; }
.rs-pk-kart { display: flex; align-items: center; gap: .75rem; width: 100%; border: 0; border-bottom: 1px solid var(--ad-border); background: var(--ad-surface); padding: .7rem .9rem; text-align: left; color: var(--ad-text); }
.rs-pk-kart:hover { background: var(--ad-surface-2); }
.rs-pk-kart.sec { background: #fdf1cf; }
[data-bs-theme="dark"] .rs-pk-kart.sec { background: rgba(255, 210, 63, .12); }
.rs-pk-kart.bitti { opacity: .8; }
.rs-logo { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--c, var(--ad-primary)); background-image: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(0, 0, 0, .12)); color: var(--ad-on-primary); display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--c, var(--ad-primary)); }
.rs-logo.lg { width: 56px; height: 56px; flex-basis: 56px; font-size: 1.4rem; }
.rs-logo.sm { width: 34px; height: 34px; flex-basis: 34px; font-size: .9rem; box-shadow: none; }
[data-bs-theme="dark"] .rs-logo { box-shadow: 0 0 0 3px var(--ad-surface), 0 0 0 4px var(--c, var(--ad-primary)); }
.rs-pk-orta { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.rs-pk-orta small { font-size: .7rem; color: var(--ad-muted); }
.rs-pk-orta b { font-weight: 600; font-size: .92rem; }
.rs-pk-sagk { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.rs-pk-sagk .tutar { font-size: .8rem; color: var(--ad-muted); font-weight: 600; }
.rs-pk-alt { display: flex; align-items: center; gap: .8rem; background: var(--ad-grad-pink); color: var(--ad-on-pink); padding: .7rem .8rem; flex: 0 0 auto; }
.rs-pk-yeni { border: 0; border-radius: 10px; background: var(--ad-on-pink); color: var(--ad-primary); padding: .65rem 1rem; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); white-space: nowrap; }
.rs-pk-yeni:hover { filter: brightness(1.08); }
.rs-pk-alt .lbl { margin-left: auto; font-weight: 600; text-transform: uppercase; font-size: .8rem; letter-spacing: .05em; }
.rs-pk-toplam { font-size: 1.45rem; font-weight: 700; white-space: nowrap; }
.rs-pk-sag { display: flex; min-height: 0; padding: 1rem; background: var(--ad-bg); }
.rs-pk-detay { flex: 1; display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden; background: var(--ad-surface); border-radius: 16px; box-shadow: var(--ad-shadow); }
.rs-pk-ust { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.2rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--ad-border); }
.rs-pk-kim small { display: block; font-size: .72rem; color: var(--ad-muted); }
.rs-pk-kim .isim { font-weight: 600; font-size: 1.05rem; }
.rs-pk-ilet { display: flex; align-items: flex-start; gap: .45rem; max-width: 280px; font-size: .8rem; color: var(--ad-text); }
.rs-pk-ilet:hover { color: var(--ad-primary); }
.rs-pk-ilet i { color: var(--ad-purple); font-size: 1rem; }
[data-bs-theme="dark"] .rs-pk-ilet i { color: var(--ad-text); }
.rs-pk-ilet.adres span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rs-pk-kapat { margin-left: auto; width: 34px; height: 34px; flex: 0 0 34px; border: 0; border-radius: 50%; background: var(--ad-surface-2); color: var(--ad-text); }
.rs-pk-kapat:hover { background: var(--ad-primary-soft); color: var(--ad-primary); }
.rs-pk-durum { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; padding: .9rem 1.2rem .5rem; }
.rs-pk-mutfak { padding: 0 1.2rem .3rem; font-size: .76rem; color: var(--ad-muted); }
.rs-pk-kalemler { flex: 1; min-height: 110px; padding: 0 1.2rem; overflow-y: auto; }
.rs-pk-kalemler .mx-line { cursor: default; }
.rs-pk-not { padding: .7rem 1.2rem .9rem; font-size: .88rem; }
.rs-pk-not .baslik { color: var(--ad-primary); font-size: .74rem; font-weight: 600; margin-bottom: .15rem; }
.rs-pk-butonlar { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; padding: .9rem 1.2rem; border-top: 1px solid var(--ad-border); }
.rs-tip-sec { display: grid; grid-template-columns: 1fr 1fr; background: var(--ad-surface-2); border-radius: 999px; padding: 4px; }
.rs-tip-sec label { margin: 0; padding: .6rem; border-radius: 999px; text-align: center; font-weight: 600; color: var(--ad-muted); cursor: pointer; }
.rs-tip-sec .btn-check:checked + label { background: var(--ad-grad-pink); color: var(--ad-on-pink); box-shadow: 0 4px 12px rgba(var(--ad-primary-rgb), .3); }

.rs-pk-dokum { padding: .5rem 1.2rem .8rem; border-top: 1px dashed var(--ad-border); }
.rs-pk-dokum .t-satir:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- rezervasyonlar */
.rs-saat { display: inline-block; background: rgba(var(--ad-purple-rgb), .1); color: var(--ad-purple); font-weight: 700; border-radius: 8px; padding: .25rem .55rem; font-size: .95rem; }
[data-bs-theme="dark"] .rs-saat { color: var(--ad-text); }
.rs-rez-not { overflow-wrap: break-word; word-break: normal; min-width: 180px; }
.rs-rez-tablo td { vertical-align: middle; }
.rs-rez-kartlar { display: flex; flex-direction: column; gap: .6rem; }
.rs-rez-kart { background: var(--ad-surface); border-radius: 14px; box-shadow: var(--ad-shadow); padding: .8rem .9rem; }
.rs-rez-kart .rs-rez-not { min-width: 0; }
.rs-tur-sec { max-width: 5.6rem; }

/* ---------------------------------------------------------------- QR menü bulunamadı */
.qm-yok { display: grid; place-items: center; padding: 1.5rem; background: var(--ad-grad); }
.qm-yok-kutu { background: var(--ad-surface); border-radius: 22px; padding: 2rem 1.6rem; max-width: 380px; text-align: center; box-shadow: 0 20px 50px rgba(20, 8, 40, .3); }
.qm-yok-kutu h1 { font-size: 1.2rem; font-weight: 700; color: var(--ad-purple); margin: 1rem 0 .4rem; }
[data-bs-theme="dark"] .qm-yok-kutu h1 { color: var(--ad-text); }
.qm-yok-kutu p { color: var(--ad-muted); margin: 0; font-size: .9rem; }
.qm-yok-ikon { width: 72px; height: 72px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; font-size: 2rem; color: var(--ad-on-pink); background: var(--ad-grad-pink); }

/* ---------------------------------------------------------------- mutfak ekranı (KDS) */
.rs-kds .mx-center-head { flex-wrap: wrap; row-gap: .4rem; }
.rs-kds-alan { flex: 1; min-height: 0; overflow-y: auto; }
.rs-kds-lejant { gap: .9rem; font-size: .72rem; color: var(--ad-muted); font-weight: 600; }
.rs-kds-lejant span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.rs-kds-lejant .l-yeni::before { background: var(--ad-grad-blue); }
.rs-kds-lejant .l-uyari::before { background: var(--ad-grad-orange); }
.rs-kds-lejant .l-gec::before { background: var(--ad-grad-pink); }
.rs-kds-gecmis-btn { border: 0; border-radius: 999px; background: var(--ad-purple); color: var(--ad-bg); font-weight: 600; font-size: .8rem; padding: .5rem 1rem; white-space: nowrap; }
.rs-kds-gecmis-btn:hover { background: var(--ad-purple-dark); }
.rs-kds-ara { padding: .4rem 1.1rem 0; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-muted); font-weight: 600; }
.rs-sayac { background: var(--ad-primary-soft); color: var(--ad-primary); border-radius: 999px; padding: .3rem .8rem; font-weight: 700; font-size: .78rem; white-space: nowrap; box-shadow: 0 2px 8px rgba(20, 8, 40, .15); }
.sm-top .btn.rs-sessiz { background: #fff; color: var(--ad-primary); }
.kds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; padding: .3rem 1.1rem 1.1rem; align-items: start; }
.kds-kart { border-radius: 14px; background: var(--ad-surface); box-shadow: var(--ad-shadow); overflow: hidden; display: flex; flex-direction: column; }
.kds-kart .kb { padding: .65rem .85rem; color: var(--ad-on-blue); background: var(--ad-grad-blue); display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.kds-kart .kb .yer { font-weight: 700; font-size: 1.05rem; }
.kds-kart .kb .yer i { font-size: .85rem; opacity: .85; }
.kds-kart .kb-alt { font-size: .7rem; opacity: .85; }
.kds-kart.uyari .kb { background: var(--ad-grad-orange); }
.kds-kart.gec .kb { background: var(--ad-grad-pink); }
.kds-kart.gec { box-shadow: 0 0 0 2px var(--ad-primary), var(--ad-shadow); }
.kds-kart.tamam { opacity: .8; }
.kds-kart.tamam .kb { background: var(--ad-grad-green); }
.kds-kart.yeni { animation: kdsYeni 1s ease 3; }
@keyframes kdsYeni { 0%, 100% { box-shadow: var(--ad-shadow); } 50% { box-shadow: 0 0 0 6px rgba(var(--ad-primary-rgb), .45); } }
.kds-sure { font-weight: 700; font-size: 1.1rem; background: rgba(255, 255, 255, .2); border-radius: 8px; padding: .1rem .5rem; white-space: nowrap; }
.kds-not { padding: .4rem .85rem; font-size: .82rem; font-weight: 500; background: var(--ad-surface-2); border-bottom: 1px solid var(--ad-border); }
.rs-kds-sip-not span { display: block; color: var(--ad-primary); font-size: .66rem; font-weight: 600; }
.kds-kalem { padding: .6rem .85rem; border-bottom: 1px dashed var(--ad-border); display: flex; gap: .6rem; align-items: flex-start; }
.kds-kalem[role=button] { cursor: pointer; }
.kds-kalem[role=button]:hover { background: var(--ad-primary-soft); }
.kds-kalem .adet { color: var(--ad-primary); font-weight: 700; font-size: 1.1rem; min-width: 2.3rem; }
.kds-kalem .isim { font-weight: 600; font-size: 1rem; line-height: 1.25; }
.kds-kalem .por { color: var(--ad-primary); font-weight: 600; }
.kds-kalem .ops { font-size: .82rem; color: var(--ad-muted); font-weight: 500; }
.kds-kalem .not { font-size: .86rem; color: var(--ad-danger); font-weight: 700; }
.kds-kalem .ist { font-size: .66rem; color: var(--ad-muted); text-transform: uppercase; letter-spacing: .05em; }
.kds-kalem.hazir, .kds-kalem.servis { opacity: .5; }
.kds-kalem.hazir .isim, .kds-kalem.servis .isim { text-decoration: line-through; }
.kds-kalem.iptal { background: rgba(225, 29, 72, .07); }
.kds-kalem.iptal .isim { text-decoration: line-through; color: var(--ad-danger); }
.kds-kalem.isleniyor { opacity: .4; }
.rs-iptal-rozet { background: var(--ad-danger); color: #fff; border-radius: 6px; font-size: .62rem; padding: .1rem .4rem; font-weight: 700; vertical-align: middle; text-decoration: none; display: inline-block; }
.rs-tamam-ikon { color: var(--ad-success); font-size: 1.2rem; }
.kds-kart .kf { padding: .7rem; }
.kds-kart .kf > button { min-height: 50px; }

/* ---------------------------------------------------------------- garson telefonu */
.garson-app { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 96px; background: var(--ad-bg); }
.garson-app > section { max-width: 920px; margin: 0 auto; }
.garson-app section[hidden] { display: none !important; }
.g-ust { padding: .9rem .9rem .3rem; }
.g-uyari { padding: .5rem .9rem 0; display: flex; flex-direction: column; gap: .45rem; }
.g-uyari:empty { display: none; }
.mx-masalar.rs-kucuk { grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: .6rem; padding: .7rem .9rem 1rem; }
.rs-kucuk .mx-masa { aspect-ratio: 1 / 1; padding: .9rem .4rem .45rem; }
.rs-kucuk .mx-masa .m-isim { font-size: .88rem; }
.rs-kucuk .mx-masa .m-tutar, .rs-kucuk .mx-masa .m-durum { font-size: .74rem; }
.g-baslik { display: flex; gap: .7rem; align-items: center; padding: .7rem .9rem; background: var(--ad-surface); border-bottom: 1px solid var(--ad-border); position: sticky; top: 0; z-index: 5; }
.g-baslik .btn-icon { width: 44px; height: 44px; font-size: 1.15rem; flex: 0 0 44px; }
.g-baslik .mx-search { width: auto; margin-left: 0; }
.g-baslik .mx-search input { height: 44px; }
.g-masa-isim { color: var(--ad-primary); font-weight: 700; font-size: 1.1rem; }
.g-toplam { color: var(--ad-purple); font-weight: 700; font-size: 1.25rem; }
[data-bs-theme="dark"] .g-toplam { color: var(--ad-text); }
.g-kalemler { background: var(--ad-surface); padding: 0 .9rem; }
.g-kalemler .empty { background: var(--ad-bg); margin: 0 -.9rem; }
.g-katlar { padding: .7rem .9rem; }
.g-urunler { display: flex; flex-direction: column; gap: .5rem; padding: 0 .9rem .9rem; }
.g-urun { display: flex; width: 100%; align-items: center; gap: .75rem; padding: .55rem .75rem; min-height: 64px; border: 0; border-radius: 12px; background: var(--ad-surface); color: var(--ad-text); text-align: left; box-shadow: 0 1px 3px rgba(43, 35, 64, .07); }
.g-urun:active { background: var(--ad-primary-soft); }
a.g-urun, a.g-urun:hover { color: var(--ad-text); }
.g-urun.eklendi { animation: eklendi .4s ease; }
.g-img { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 10px; object-fit: cover; }
.g-harf { display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.2rem; }
.g-harf.urun-ikon i.on { font-size: 1.55rem; filter: none; }
.g-harf.urun-ikon i.iz, .t-harf.urun-ikon i.iz { display: none; }
.t-harf.urun-ikon i.on { font-size: 1.4rem; filter: none; }
.g-fiyat { color: var(--ad-primary); font-weight: 700; white-space: nowrap; }
.g-ekle { color: var(--ad-primary); font-size: 1.6rem; }
.g-alt-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: .5rem; padding: .6rem; padding-bottom: calc(.6rem + env(safe-area-inset-bottom)); background: var(--ad-surface); border-top: 1px solid var(--ad-border); box-shadow: 0 -6px 20px rgba(43, 35, 64, .08); }
.g-alt-bar > button { flex: 1; min-height: 54px; padding: .6rem .4rem; font-size: .78rem; letter-spacing: .02em; gap: .3rem; white-space: nowrap; }

/* ---------------------------------------------------------------- rezervasyon */
.rez-hafta { display: grid; grid-template-columns: repeat(7, 1fr); gap: .5rem; }
.rez-gun { display: flex; flex-direction: column; align-items: center; padding: .55rem .3rem; border-radius: 12px; border: 1px solid var(--ad-border); background: var(--ad-surface); color: var(--ad-text); line-height: 1.2; }
.rez-gun b { font-size: 1.35rem; }
.rez-gun .small { color: var(--ad-muted); }
.rez-gun.bugun { border-color: var(--ad-primary); }
.rez-gun.active { background: var(--ad-grad-pink); border-color: transparent; color: var(--ad-on-pink); }
.rez-gun.active .small { color: inherit; opacity: .85; }
.qr-kutu svg { width: 220px; height: 220px; background: #fff; padding: 6px; border-radius: 10px; }

/* ---------------------------------------------------------------- herkese açık QR menü */
.qm-body { background: var(--ad-bg); min-height: 100vh; }
.qm-hero { position: relative; overflow: hidden; color: #fff; padding: 1.8rem 1rem 2rem; text-align: center;
  background: radial-gradient(70% 140% at 100% 0%, rgba(var(--ad-primary-rgb), .38), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(var(--ad-primary-rgb), .2), transparent 60%), linear-gradient(135deg, #1b2130 0%, #0d1018 100%); }
.qm-hero::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.qm-hero h1 { font-weight: 700; font-size: 1.6rem; margin: .5rem 0 .3rem; letter-spacing: .01em; }
.qm-logo { width: 86px; height: 86px; border-radius: 22px; background: #fff; object-fit: contain; padding: 6px; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.qm-bilgi { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; font-size: .84rem; opacity: .92; }
.qm-bilgi a { color: #fff; }
.qm-masa { display: inline-block; margin-top: .8rem; background: rgba(255, 255, 255, .18); border-radius: 999px; padding: .35rem .95rem; font-weight: 600; }
.qm-nav { position: sticky; top: 0; z-index: 10; display: flex; gap: .3rem; overflow-x: auto; padding: .55rem .75rem; scrollbar-width: none; background: #11151e; box-shadow: 0 4px 14px rgba(10, 13, 19, .25); }
.qm-nav::-webkit-scrollbar { display: none; }
.qm-nav a { white-space: nowrap; padding: .45rem .95rem; border-radius: 999px; color: #fff; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.qm-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.qm-nav a.active { background: var(--ad-grad-pink); color: var(--ad-on-pink); }
.qm-wrap { max-width: 760px; margin: 0 auto; padding: 1rem .8rem 7rem; }
.qm-ara { position: relative; margin-bottom: .5rem; }
.qm-ara i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ad-muted); }
.qm-ara input { padding-left: 2.6rem; border-radius: 999px; min-height: 46px; border: 1px solid var(--ad-border); background: var(--ad-surface); color: var(--ad-text); }
.qm-ara input::placeholder { color: var(--ad-muted); }
.qm-ara input:focus { background: var(--ad-surface); color: var(--ad-text); border-color: var(--ad-primary); box-shadow: 0 0 0 .2rem rgba(var(--ad-primary-rgb), .14); }
.qm-kat h2 { font-size: 1.1rem; font-weight: 700; color: var(--ad-purple); margin: 1.4rem 0 .7rem; scroll-margin-top: 70px; display: flex; align-items: center; gap: .5rem; text-transform: uppercase; letter-spacing: .03em; }
[data-bs-theme="dark"] .qm-kat h2 { color: var(--ad-text); }
.qm-kat h2 span { width: 6px; height: 22px; border-radius: 3px; display: inline-block; }
.qm-urun { display: flex; gap: .8rem; background: var(--ad-surface); border-radius: 14px; padding: .8rem; margin-bottom: .6rem; box-shadow: var(--ad-shadow); }
.qm-urun h3 { font-size: 1rem; font-weight: 600; margin: 0 0 .2rem; }
.qm-urun p { font-size: .82rem; color: var(--ad-muted); margin: 0 0 .35rem; }
.qm-urun img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; flex: 0 0 96px; background: #fff; }
.qm-temsili { position: relative; flex: 0 0 96px; align-self: flex-start; height: 96px; }
.thumb-temsili { outline: 2px dashed rgba(var(--ad-primary-rgb), .35); outline-offset: 1px; }
.qm-temsili em { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: .58rem; font-weight: 700; letter-spacing: .04em; color: #fff; background: rgba(20, 12, 30, .62); padding: 2px 6px; border-radius: 999px; }
.qm-fiyat { font-weight: 700; color: var(--ad-primary); font-size: 1.05rem; }
.qm-porsiyon { display: flex; flex-wrap: wrap; gap: .35rem; }
.qm-porsiyon span { font-size: .8rem; background: var(--ad-primary-soft); border-radius: 8px; padding: .15rem .55rem; }
.qm-porsiyon b { color: var(--ad-primary); }
.qm-alt-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: .5rem; max-width: 760px; margin: 0 auto; padding: .7rem; padding-bottom: calc(.7rem + env(safe-area-inset-bottom)); background: var(--ad-surface); border-top: 1px solid var(--ad-border); box-shadow: 0 -6px 20px rgba(43, 35, 64, .08); }
.qm-alt-bar > button { flex: 1; min-height: 54px; padding: .7rem .5rem; font-size: .85rem; white-space: nowrap; }
.qm-btn-mor { background: var(--ad-purple); color: #fff; border: 0; border-radius: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .85rem 1.2rem; }
.qm-btn-mor:hover { background: var(--ad-purple-dark); color: #fff; }
.qm-alt-bar button:disabled { opacity: .6; }
.qm-mesaj { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 30; width: max-content; max-width: 92vw; background: var(--ad-grad-green); color: var(--ad-on-green); padding: .7rem 1.1rem; border-radius: 12px; font-weight: 600; text-align: center; box-shadow: var(--ad-shadow); }
.qm-mesaj.hata { background: var(--ad-danger); }

/* ---------------------------------------------------------------- kısa ekranlar (1366×768 kasa terminali) */
@media (min-width: 992px) and (max-height: 860px) {
  .rs-siparis .mx-rail > a, .rs-siparis .mx-rail > button { padding-top: clamp(.35rem, 1.2vh, .7rem); padding-bottom: clamp(.35rem, 1.2vh, .7rem); }
  .rs-siparis .mx-rail > a i, .rs-siparis .mx-rail > button i { font-size: clamp(1rem, 2.6vh, 1.25rem); }
  .pos-body .modal .numpad button { height: 44px; font-size: 1.15rem; }
  .pos-body .modal .form-control-lg { padding-top: .45rem; padding-bottom: .45rem; font-size: 1.1rem; }
  .hizli-para .btn { min-height: 38px; }
  .odeme-footer > button { min-height: 48px; }
  .odeme-kalan { font-size: 2.1rem; }
  .para-ustu-kutu { padding: .45rem .9rem; }
  .para-ustu-kutu b { font-size: 1.45rem; }
}

/* ---------------------------------------------------------------- dar ekranlar */
@media (max-width: 1199.98px) {
  .rs-paket { grid-template-columns: minmax(290px, 340px) minmax(0, 1fr); }
  .rs-pk-sol .mx-tabs button { font-size: .78rem; gap: .35rem; }
  .rs-siparis .mx-total { font-size: 1.5rem; }
  .rs-siparis .mx-total-row .mx-btn-pay, .rs-siparis .mx-total-row .mx-btn-outline { padding: .75rem .9rem; font-size: .85rem; }
}

@media (max-width: 991.98px) {
  /* masalar */
  .rs-masa-alan, .rs-bildirimler { overflow: visible; max-height: none; }
  .rs-masalar .mx-panel .mx-lines { max-height: none; }
  .rs-masalar .mx-masalar { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .6rem; }

  /* sipariş: adisyon paneli alttan açılan katman, altta özet çubuğu */
  .rs-siparis .mx-panel { position: fixed; inset: var(--ad-top-h) 0 0 0; z-index: 1040; border-radius: 18px 18px 0 0; transform: translateY(105%); transition: transform .22s ease; box-shadow: 0 -8px 30px rgba(20, 8, 40, .3); }
  body.fis-acik .rs-siparis .mx-panel { transform: none; }
  .rs-siparis .mx-lines { overflow-y: auto; }
  .rs-siparis .mx-panel-foot { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .rs-siparis .mx-grid { padding-bottom: 96px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .55rem; }
  .rs-siparis .mx-center-head { flex-wrap: wrap; }
  .rs-siparis .mx-search { width: 100%; }
  .mobil-fis-bar { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: .6rem; padding-bottom: calc(.6rem + env(safe-area-inset-bottom)); background: var(--ad-surface); border-top: 1px solid var(--ad-border); box-shadow: 0 -6px 20px rgba(43, 35, 64, .1); }
  .mobil-fis-bar .mx-btn-pink { min-width: 58px; padding: .8rem 1rem; }
  .rs-mobil-ozet { flex: 1; display: flex; align-items: center; gap: .55rem; min-height: 54px; border: 0; border-radius: 10px; padding: 0 1rem; background: var(--ad-purple); color: #fff; font-weight: 600; text-align: left; }
  .rs-mobil-ozet b { font-size: 1.1rem; }

  /* paket: liste tam ekran, detay katman olarak açılır */
  .rs-paket { display: block; height: auto; }
  .rs-pk-sol { min-height: calc(100dvh - var(--ad-top-h)); border-right: 0; }
  .rs-pk-liste { overflow: visible; }
  .rs-pk-alt { position: sticky; bottom: 0; z-index: 5; padding-bottom: calc(.7rem + env(safe-area-inset-bottom)); }
  .rs-pk-sag { display: none; }
  body.pk-detay-acik .rs-pk-sag { display: flex; position: fixed; inset: var(--ad-top-h) 0 0 0; z-index: 1040; padding: .5rem; background: rgba(10, 13, 19, .45); }
  .rs-pk-detay { overflow-y: auto; }
  .rs-pk-kalemler { overflow: visible; flex: 0 0 auto; }
  .rs-pk-butonlar { position: sticky; bottom: 0; background: var(--ad-surface); }
  .rs-pk-butonlar > * { flex: 1 1 auto; }

  /* mutfak */
  .rs-kds-alan { overflow: visible; }
  .kds-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

  /* garson */
  .garson-app { overflow: visible; }
}

@media (max-width: 575.98px) {
  .odeme-kalan { font-size: 2.1rem; }
  .odeme-sekme .nav-link { flex: 1 1 0; justify-content: center; padding-inline: .35rem; font-size: .76rem; }
  .odeme-sekme .nav-link i { display: none; }
  .card.stat { flex-direction: column; align-items: flex-start; gap: .55rem; }
  .rez-hafta { gap: .25rem; }
  .rez-gun b { font-size: 1.1rem; }
  .rs-islemler { grid-template-columns: 1fr; }
  .rs-pk-ust { gap: .6rem .9rem; padding: .9rem 3.2rem .9rem .9rem; position: relative; }
  .rs-pk-kapat { position: absolute; top: .8rem; right: .8rem; }
  .rs-pk-ilet { max-width: 100%; }
  .rs-pk-durum { padding: .8rem .9rem .4rem; }
  .rs-pk-durum .mx-seg { width: 100%; }
  .rs-pk-durum .mx-seg button { flex: 1; justify-content: center; padding: .5rem .4rem; font-size: .72rem; }
  .rs-pk-kalemler, .rs-pk-mutfak, .rs-pk-not { padding-left: .9rem; padding-right: .9rem; }
  .rs-pk-butonlar { padding: .7rem .9rem; }
  .rs-pk-butonlar .mx-btn-pink, .rs-pk-butonlar .mx-btn-pay, .rs-pk-butonlar .mx-btn-outline { padding: .75rem .7rem; font-size: .78rem; }
}
