:root {
  --bg: #f5efe6;
  --kart: #fffdf9;
  --yazi: #1f1a14;
  --soluk: #6b6157;
  --cizgi: #e7ddcf;
  --ana: #1f4d3a;
  --ana-acik: #e3eee8;
  --vurgu: #c4553b;
  --vurgu-acik: #fbe9e3;
  --sari: #b7791f;
  --sari-acik: #fdf3dc;
  --golge: 0 1px 2px rgba(31, 26, 20, .06), 0 6px 20px rgba(31, 26, 20, .06);
  --r: 16px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--yazi); font-family: var(--sans);
  font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -.01em; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
.gizli { display: none !important; }

.dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 600;
  background: var(--ana); color: #fff; transition: transform .1s, opacity .2s;
}
.dugme:active { transform: scale(.97); }
.dugme:disabled { opacity: .45; cursor: default; }
.dugme.ikincil { background: var(--kart); color: var(--yazi); border: 1px solid var(--cizgi); }
.dugme.vurgu { background: var(--vurgu); }
.dugme.tam { width: 100%; }
.dugme.kucuk { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }

.kart { background: var(--kart); border: 1px solid var(--cizgi); border-radius: var(--r); box-shadow: var(--golge); }

.cip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--cizgi); background: var(--kart); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.cip.secili { background: var(--ana); border-color: var(--ana); color: #fff; }
.cip.uyari { background: var(--vurgu-acik); border-color: #f0c5b8; color: var(--vurgu); }

.rozet { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.rozet.yeni { background: var(--sari-acik); color: var(--sari); }
.rozet.hazirlaniyor { background: #e6eefb; color: #2b5cab; }
.rozet.hazir { background: #1f4d3a; color: #fff; }
.rozet.servis { background: var(--ana-acik); color: var(--ana); }
.rozet.iptal { background: #eee; color: #777; text-decoration: line-through; }

/* alt pencere */
.perde { position: fixed; inset: 0; background: rgba(20, 16, 12, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.pencere {
  background: var(--bg); width: 100%; max-width: 560px; max-height: 88vh; overflow: auto;
  border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  animation: yuksel .22s ease-out;
}
@media (min-width: 700px) { .perde { align-items: center; } .pencere { border-radius: 22px; } }
@keyframes yuksel { from { transform: translateY(30px); opacity: 0; } }
.pencere-bas { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.kapat { width: 36px; height: 36px; border-radius: 50%; background: var(--kart); border: 1px solid var(--cizgi); font-size: 18px; }

.bildirim {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 80;
  background: var(--yazi); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 500;
  box-shadow: var(--golge); max-width: calc(100% - 32px); text-align: center; animation: yuksel .2s;
}
.bos { text-align: center; color: var(--soluk); padding: 36px 16px; }
.para { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ikon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
