/* EkmekPro - mobil odakli saha arayuzu. Palet: dataviz referans paleti. */
:root {
  color-scheme: light;
  --surface-1: #fcfcfb;      /* kart yuzeyi */
  --page: #f9f9f7;           /* sayfa zemini */
  --ink-1: #0b0b0b;
  --ink-2: #52514e;
  --ink-3: #898781;
  --hairline: #e1e0d9;
  --border: rgba(11,11,11,0.10);
  --brand: #9a5b17;          /* ekmek kahvesi */
  --brand-ink: #ffffff;
  --series-1: #2a78d6;       /* mavi (fotografli / vurgu) */
  --good: #0ca30c;           /* yesil - onaylandi */
  --good-text: #006300;
  --warn: #fab219;           /* sari - beklemede */
  --serious: #ec835a;
  --critical: #d03b3b;       /* kirmizi - uyusmazlik / acik bakiye */
  --chip-good-bg: rgba(12,163,12,0.12);
  --chip-warn-bg: rgba(250,178,25,0.16);
  --chip-crit-bg: rgba(208,59,59,0.12);
  --chip-blue-bg: rgba(42,120,214,0.12);
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 14px rgba(0,0,0,0.06);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface-1: #1a1a19;
  --page: #0d0d0d;
  --ink-1: #ffffff;
  --ink-2: #c3c2b7;
  --ink-3: #898781;
  --hairline: #2c2c2a;
  --border: rgba(255,255,255,0.10);
  --brand: #c98500;
  --brand-ink: #1a1a19;
  --series-1: #3987e5;
  --good-text: #0ca30c;
  --chip-good-bg: rgba(12,163,12,0.18);
  --chip-warn-bg: rgba(250,178,25,0.18);
  --chip-crit-bg: rgba(230,103,103,0.18);
  --chip-blue-bg: rgba(57,135,229,0.18);
  --shadow: 0 1px 3px rgba(0,0,0,0.5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface-1: #1a1a19; --page: #0d0d0d; --ink-1: #ffffff; --ink-2: #c3c2b7;
    --ink-3: #898781; --hairline: #2c2c2a; --border: rgba(255,255,255,0.10);
    --brand: #c98500; --brand-ink: #1a1a19; --series-1: #3987e5; --good-text: #0ca30c;
    --chip-good-bg: rgba(12,163,12,0.18); --chip-warn-bg: rgba(250,178,25,0.18);
    --chip-crit-bg: rgba(230,103,103,0.18); --chip-blue-bg: rgba(57,135,229,0.18);
    --shadow: 0 1px 3px rgba(0,0,0,0.5);
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--page); color: var(--ink-1);
  font-size: 16px; line-height: 1.45;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
body.no-nav { padding-bottom: 24px; }
#app { max-width: 520px; margin: 0 auto; padding: 12px 14px 8px; }

.splash { text-align: center; padding: 30vh 20px; color: var(--ink-2); }
.splash-logo { line-height: 0; margin-bottom: 10px; }

h1 { font-size: 22px; margin: 8px 0 4px; }
h2 { font-size: 17px; margin: 18px 0 8px; display: flex; align-items: center; gap: 7px; }
.card > h2 svg { flex: none; }
.small { font-size: 13px; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.right { text-align: right; }
.center { text-align: center; }
.mt { margin-top: 14px; }
.row { display: flex; gap: 10px; align-items: center; }
.row .grow { flex: 1; }
.wrap { flex-wrap: wrap; }

/* Ust baslik */
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.topbar .brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.topbar .brand span.loaf { font-size: 24px; }
.badge-offline { background: var(--critical); color: #fff; border-radius: 999px;
  padding: 3px 10px; font-size: 12px; font-weight: 600; }
.badge-queue { background: var(--warn); color: #4a3400; border-radius: 999px;
  padding: 3px 10px; font-size: 12px; font-weight: 700; }

/* Kartlar */
.card { background: var(--surface-1); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow); }
.card h2 { margin-top: 0; }

/* KPI kartlari */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.kpi { background: var(--surface-1); border: 1px solid var(--border); border-radius: 16px;
  padding: 12px 14px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.kpi .kpi-label { font-size: 12px; color: var(--ink-2); font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em; }
.kpi .kpi-value { font-size: 26px; font-weight: 700; margin-top: 2px;
  white-space: nowrap; letter-spacing: -0.01em; }
.kpi .kpi-value.uzun { font-size: 20px; }
.kpi .kpi-value.cokuzun { font-size: 17px; }
.kpi .kpi-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.kpi.sparkli .kpi-sub { padding-right: 76px; }
.kpi.crit { border-color: var(--critical); }
.kpi.crit .kpi-value { color: var(--critical); }
.kpi svg.spark { position: absolute; right: 8px; bottom: 8px; opacity: .9; }
.kpi .oran { font-size: 12px; font-weight: 700; }
.oran.up { color: var(--good-text); }
.oran.down { color: var(--critical); }

/* Durum rozetleri */
.chip { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px;
  padding: 3px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip.ok { background: var(--chip-good-bg); color: var(--good-text); }
.chip.wait { background: var(--chip-warn-bg); color: #7a5600; }
:root[data-theme="dark"] .chip.wait { color: var(--warn); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip.wait { color: var(--warn); } }
.chip.crit { background: var(--chip-crit-bg); color: var(--critical); }
.chip.photo { background: var(--chip-blue-bg); color: var(--series-1); }
.chip.plain { background: var(--hairline); color: var(--ink-2); }
.chip.plain::before { display: none; }

/* Liste kartlari (buyuk dokunma alani) */
.stop { display: flex; align-items: center; gap: 12px; background: var(--surface-1);
  border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px;
  margin-bottom: 8px; box-shadow: var(--shadow); cursor: pointer; min-height: 64px; }
.stop:active { transform: scale(.99); }
.stop .sira { width: 30px; height: 30px; border-radius: 50%; background: var(--hairline);
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; font-size: 14px; }
.stop .info { flex: 1; min-width: 0; }
.stop .name { font-weight: 700; }
.stop .sub { font-size: 12px; color: var(--ink-3); }

/* Butonlar */
button, .btn { font: inherit; border: none; cursor: pointer; border-radius: 12px;
  padding: 13px 18px; font-weight: 700; min-height: 48px;
  background: var(--hairline); color: var(--ink-1); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-good { background: var(--good); color: #fff; }
.btn-crit { background: var(--critical); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--border); }
/* Çerçevesiz metin düğmesi (ör. "hesabım yok - nasıl açarım?") */
.btn-link { background: transparent; border: 0; color: var(--brand); text-decoration: underline;
  font-weight: 600; padding: 10px 4px; }
.btn-block { display: block; width: 100%; }
.btn-sm { min-height: 38px; padding: 8px 12px; font-size: 14px; border-radius: 10px; }
button:disabled { opacity: .5; cursor: default; }

/* Formlar */
label.f { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 10px 0 4px; }
input, select, textarea { font: inherit; width: 100%; padding: 12px; min-height: 48px;
  border-radius: 12px; border: 1px solid var(--hairline); background: var(--surface-1);
  color: var(--ink-1); }
textarea { min-height: 80px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--series-1); outline-offset: 1px; }

/* Sayac (stepper) */
.stepper { display: flex; align-items: center; gap: 6px; flex: none; }
.stepper button { width: 44px; height: 44px; min-height: 44px; padding: 0; font-size: 22px;
  border-radius: 12px; flex: none; }
.stepper input { text-align: center; font-size: 18px; font-weight: 700; width: 56px; flex: none;
  padding: 8px 2px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { display: none; }
.prod-row { display: flex; align-items: center; gap: 6px; padding: 6px 0;
  border-bottom: 1px solid var(--hairline); }
.prod-row:last-child { border-bottom: none; }
.prod-row .pname { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; line-height: 1.2; }
.prod-row .pfiyat { font-size: 12px; color: var(--ink-3); font-weight: 400; }
/* Teslimat formu: "geri alınan" (iade) kutusu her satirda gorunur durur */
.urun-bas { display: flex; align-items: flex-end; gap: 6px; padding: 2px 0 4px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--hairline); }
.urun-bas .grow { flex: 1; min-width: 0; }
.urun-bas .iade-bas { width: 54px; text-align: center; color: var(--critical); line-height: 1.15; }
.urun-bas .adet-bas { width: 140px; text-align: center; }
.urun-bas .fiyat-bas { width: 84px; text-align: center; }
.urun-bas .fiyat-bas.bayat { color: var(--critical); }
.prod-row .fiyat-kutu { width: 84px; flex: none; text-align: right; min-height: 42px;
  padding: 8px; border-radius: 10px; }
.prod-row .fiyat-kutu.bayat { border-color: var(--critical); color: var(--critical); }
.iade-kutu { flex: none; width: 54px; }
.iade-kutu input { width: 54px; text-align: center; font-size: 16px; font-weight: 700;
  min-height: 40px; padding: 6px 2px; border-radius: 10px; -moz-appearance: textfield;
  background: var(--page); }
.iade-kutu input::-webkit-inner-spin-button { display: none; }
.iade-kutu input.dolu { border-color: var(--critical); color: var(--critical);
  background: var(--chip-crit-bg); }
/* Teslimat formunda sayaci biraz daralt ki urun adina yer kalsin */
.urun-kart .stepper button { width: 40px; height: 40px; min-height: 40px; font-size: 20px; }
.urun-kart .stepper input { width: 48px; font-size: 17px; }

/* Odeme cipleri */
.pay-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-chips button { flex: 1; min-width: 68px; font-size: 14px; padding: 12px 4px; }
.pay-chips button.sel { background: var(--brand); color: var(--brand-ink); }

/* Alt navigasyon */
#nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; }
.navbar { max-width: 520px; margin: 0 auto; display: flex;
  background: var(--surface-1); border-top: 1px solid var(--hairline);
  padding-bottom: env(safe-area-inset-bottom); }
.navbar a { flex: 1; text-align: center; padding: 8px 2px 10px; text-decoration: none;
  color: var(--ink-3); font-size: 11px; font-weight: 600; }
.navbar a .ic { display: block; font-size: 22px; line-height: 1.2; }
.navbar a.act { color: var(--brand); }

/* FAB */
#fab button { position: fixed; right: 18px; bottom: calc(84px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%; font-size: 28px; z-index: 41;
  background: var(--brand); color: var(--brand-ink); box-shadow: 0 4px 16px rgba(0,0,0,.25);
  display: flex; align-items: center; justify-content: center; padding: 0; }

/* Modal */
#modal-root .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 50;
  display: flex; align-items: flex-end; justify-content: center; }
#modal-root .sheet { background: var(--page); width: 100%; max-width: 520px;
  border-radius: 20px 20px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  max-height: 92vh; overflow-y: auto; }
#modal-root .sheet { position: relative; }
/* Yapışkan başlık: kaydırsan da kapatma düğmesi hep görünür */
#modal-root .sheet-bas { position: sticky; top: 0; z-index: 3; height: 44px;
  margin: -4px -4px 4px; background: var(--page);
  border-bottom: 1px solid var(--hairline); }
#modal-root .sheet-bas .grab { width: 44px; height: 4px; border-radius: 2px;
  background: var(--hairline); margin: 8px auto 0; }
#modal-root .sheet-kapat { position: absolute; top: 2px; right: 4px;
  width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 50%;
  font-size: 18px; font-weight: 700; line-height: 1;
  background: var(--hairline); color: var(--ink-2); }
#modal-root .sheet-kapat:active { transform: scale(.94); }
#modal-root .sheet > h2:first-of-type { margin-top: 0; padding-right: 48px; }

/* Toast */
#toast-root { position: fixed; top: 12px; left: 0; right: 0; z-index: 60; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px; }
.toast { background: var(--ink-1); color: var(--page); border-radius: 12px; padding: 10px 16px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow); max-width: 92%;
  animation: tin .2s ease; }
.toast.err { background: var(--critical); color: #fff; }
.toast.ok { background: var(--good); color: #fff; }
@keyframes tin { from { opacity: 0; transform: translateY(-8px); } }

/* Tablolar */
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12px; color: var(--ink-3); font-weight: 600;
  padding: 6px 6px; border-bottom: 1px solid var(--hairline); }
table.t td { padding: 8px 6px; border-bottom: 1px solid var(--hairline);
  font-variant-numeric: tabular-nums; }
table.t td.right, table.t th.right { white-space: nowrap; }
table.t tr:last-child td { border-bottom: none; }

/* Giris */
.login-wrap { padding-top: 5vh; }
.login-hero { display: block; width: 100%; max-width: 320px; margin: 0 auto 6px; }
.login-title { text-align: center; font-size: 26px; font-weight: 800; margin-bottom: 2px; }
.login-sub { text-align: center; color: var(--ink-2); margin-bottom: 20px; }
.login-alt { display: flex; gap: 14px; justify-content: center; margin-top: 16px;
  color: var(--ink-3); font-size: 12px; }
.login-alt span { display: flex; align-items: center; gap: 5px; }

/* Portal / onay (girissiz sayfalar) */
.hero-num { font-size: 40px; font-weight: 800; }
.hero-num.crit { color: var(--critical); }

/* Yazdirma (PDF ekstre) */
@media print {
  body { background: #fff; color: #000; padding: 0; }
  #nav, #fab, .no-print, #toast-root { display: none !important; }
  .card, .kpi { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  #app { max-width: none; }
}

/* Tıklanabilir KPI kartları */
.kpi.tiklanir { cursor: pointer; }
.kpi.tiklanir:active { transform: scale(.985); }
.kpi .kpi-ok { position: absolute; top: 10px; right: 10px; color: var(--ink-3);
  font-size: 20px; line-height: 1; font-weight: 700; }
.kpi.sparkli .kpi-ok { top: 8px; }

/* Uygulamayı kur şeridi */
#pwa-bar { position: fixed; left: 0; right: 0; z-index: 39;
  bottom: calc(76px + env(safe-area-inset-bottom)); pointer-events: none; }
body.no-nav #pwa-bar { bottom: env(safe-area-inset-bottom); }
.pwa-kutu { pointer-events: auto; max-width: 500px; margin: 0 auto 8px;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-1); border: 1px solid var(--brand); border-radius: 14px;
  padding: 10px 12px; box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.pwa-kutu .pwa-ic { display: flex; flex: none; }
.pwa-kutu .grow { flex: 1; min-width: 0; line-height: 1.25; }
.pwa-kutu .small { font-size: 11.5px; }
.pwa-kutu button { flex: none; }
/* Kur şeridi açıkken FAB onun üstüne çıksın, "Kur" düğmesini kapatmasın */
body.pwa-acik #fab button { bottom: calc(148px + env(safe-area-inset-bottom)); }

/* İkonlu düğme: SVG + yazı aynı hizada */
button.ikonlu, a.ikonlu { display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; }
button.ikonlu.btn-block, a.ikonlu.btn-block { display: flex; width: 100%; }
.satir-ic { display: inline-flex; align-items: center; gap: 4px; vertical-align: -2px; }
.card.ikonlu-bas { display: flex; align-items: flex-start; gap: 8px; }

/* Para/sayı + birim aynı satırda kalsın */
.nowrap { white-space: nowrap; }

/* Dikkat çekmesi gereken kart (ör. bitmek üzere olan abonelikler) */
.card.kritik-kart { border-color: var(--warn); }

/* Arama kutusu: ikon + input tek çerçevede */
.ara-kutu { display: flex; align-items: center; gap: 8px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--page); }
.ara-kutu svg { flex: none; color: var(--ink-3); }
.ara-kutu input { border: 0; background: transparent; padding: 11px 0; flex: 1; min-width: 0; }
.ara-kutu input:focus { outline: none; }

/* Rapor fotoğraf galerisi */
.foto-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px; margin-top: 8px; }
.foto-kutu { margin: 0; cursor: pointer; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; background: var(--page); }
.foto-kutu img { display: block; width: 100%; height: 100px; object-fit: cover;
  background: var(--hairline); }
.foto-kutu figcaption { padding: 6px 8px; font-size: 12px; font-weight: 600; line-height: 1.25; }
.foto-kutu figcaption .small { display: block; font-weight: 400; color: var(--ink-3); font-size: 11px; }
.foto-kutu:active { transform: scale(.98); }

/* İşlem kaydı / uyuşmazlık satırları */
.islem { display: flex; align-items: center; gap: 10px; padding: 9px 0;
  border-bottom: 1px solid var(--hairline); cursor: pointer; }
.islem:last-child { border-bottom: none; }
.islem:active { opacity: .7; }
.islem .islem-ic { flex: none; width: 24px; text-align: center; font-size: 15px; }
.islem .grow { flex: 1; min-width: 0; line-height: 1.35; }

/* Kart içi küçük başlık */
.kart-basi { font-weight: 700; font-size: 15px; margin-bottom: 2px; }

/* ================== TABLET (tezgah tabletten kullanilir) ==================
   Mobil tasarim taban; asagisi yalnizca genis ekranda EK alan kazandirir,
   telefon gorunumu hic degismez. */
@media (min-width: 700px) {
  #app { max-width: 900px; padding: 16px 20px 10px; }
  .kpi-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .kpi .kpi-value { font-size: 28px; }
  /* Dokunma hedefleri tablette de parmakla rahat kullanilsin */
  button, .btn { min-height: 52px; }
  .btn-sm { min-height: 42px; }
  .stepper button { width: 52px; height: 52px; min-height: 52px; }
  .stepper input { width: 68px; font-size: 20px; }
  .iade-kutu, .iade-kutu input { width: 64px; }
  .iade-kutu input { min-height: 46px; font-size: 18px; }
  .urun-bas .adet-bas { width: 178px; }
  .urun-bas .iade-bas { width: 64px; }
  .stop { min-height: 72px; }
  .navbar { max-width: 900px; margin: 0 auto; }
  .navbar a { font-size: 13px; padding: 10px 2px 12px; }
  /* Sayfa ortasinda acilan sayfa (bottom sheet yerine) */
  #modal-root .scrim { align-items: center; }
  #modal-root .sheet { max-width: 760px; border-radius: 20px; max-height: 88vh; }
  #fab button { right: 28px; width: 64px; height: 64px; }
}
/* Masaustu: genis ac, ama satir uzunlugu okunur kalsin */
@media (min-width: 1040px) {
  #app { max-width: 1180px; }
  .navbar { max-width: 1180px; }
  #modal-root .sheet { max-width: 840px; }
}
@media (min-width: 1400px) {
  #app { max-width: 1320px; }
  .navbar { max-width: 1320px; }
}
/* Fare ile kullanilan genis ekranda dokunma hedefleri biraz kucultulebilir */
@media (min-width: 1040px) and (pointer: fine) {
  button, .btn { min-height: 46px; }
  .stop { min-height: 62px; }
}

/* Pano: genis ekranda kartlar yan yana, telefonda alt alta */
.pano { display: grid; grid-template-columns: 1fr; gap: 0 12px; align-items: start; }
@media (min-width: 760px) { .pano { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1240px) { .pano { grid-template-columns: 1fr 1fr 1fr; } }
.pano > .card { margin-bottom: 12px; }

/* Urun secim izgarasi: tablette/masaustunde tek dokunusla satis */
.urun-izgara { display: grid; grid-template-columns: 1fr; gap: 8px; }
.urun-izgara .stop { margin-bottom: 0; }
@media (min-width: 560px) { .urun-izgara { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .urun-izgara { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1240px) { .urun-izgara { grid-template-columns: repeat(4, 1fr); } }

/* Genis tablolar dar telefonda sayfayi tasirmasin; kendi icinde yatay kaysin */
.tablo-kaydir { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tablo-kaydir > table.t { min-width: 430px; }

/* ================== TEZGAH SATIS IZGARASI (kasa gibi) ==================
   Telefonda 2, tablette 3-4, masaustunde 5 sutun; hepsi parmakla rahat. */
.satis-bas { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; }
.satis-bas.bayat { color: var(--critical); }
.satis-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
@media (min-width: 700px) { .satis-izgara { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .satis-izgara { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1400px) { .satis-izgara { grid-template-columns: repeat(5, 1fr); } }

.satis-kutu { display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  min-height: 112px; padding: 14px; border-radius: 16px; text-align: left;
  background: var(--surface-1); border: 2px solid var(--border);
  box-shadow: var(--shadow); }
@media (min-width: 700px) { .satis-kutu { min-height: 132px; padding: 16px; } }
.satis-kutu:active { transform: scale(.97); border-color: var(--brand); }
.satis-kutu .sk-ad { font-size: 17px; font-weight: 800; line-height: 1.15; }
.satis-kutu .sk-fiyat { font-size: 20px; font-weight: 800; color: var(--brand); margin-top: auto; }
.satis-kutu .sk-stok { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.satis-kutu.bayat { border-color: var(--critical); background: var(--chip-crit-bg); }
.satis-kutu.bayat .sk-fiyat { color: var(--critical); }
.satis-kutu.kapali { opacity: .4; }

/* Hizli satis penceresi: buyuk adet ve buyuk odeme dugmeleri */
.satis-baslik { padding-bottom: 8px; border-bottom: 1px solid var(--hairline); margin-bottom: 12px; }
.satis-baslik.bayat h2 { color: var(--critical); }
.adet-alan { display: flex; align-items: center; gap: 12px; justify-content: center; }
.adet-buyuk { width: 76px; height: 76px; min-height: 76px; font-size: 34px; border-radius: 18px;
  flex: none; background: var(--hairline); }
.adet-alan input { width: 120px; flex: none; text-align: center; font-size: 40px;
  font-weight: 800; min-height: 76px; border-radius: 18px; -moz-appearance: textfield; }
.adet-alan input::-webkit-inner-spin-button { display: none; }
.hizli-adet { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 10px; }
.hizli-adet button { min-height: 44px; padding: 0; font-size: 16px; border-radius: 12px;
  background: transparent; border: 1px solid var(--border); }
.tutar-satir { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 10px; }
.tutar-satir .grow { flex: 1; }
.tutar-satir #hs-tutar { font-size: 30px; font-weight: 800; }
.odeme-buyuk { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.odeme-buyuk button { min-height: 76px; font-size: 20px; border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.odeme-buyuk button span { font-size: 18px; }
