/* ==========================================================================
   BURHAN BALIKÇILIK — qr-app.css
   Ana sitenin CSS'inden BAĞIMSIZ, mobil öncelikli QR menü uygulaması.
   Yapı: mavi gradyan başlık, arama kutusu, kategori pilleri, ürün satırları,
   alt sabit sekme çubuğu (Menü / Ara / WhatsApp), ürün detay sayfası,
   sepet ve sipariş bilgileri sayfaları.
   ========================================================================== */
:root {
  --blue: #1373C4; --blue-dark: #0B5FA5; --navy: #0C2E4A;
  --green: #22A75B; --wa: #25D366; --red: #D9363E;
  --bg: #F2F5F9; --card: #FFFFFF; --ink: #16283A; --ink-2: #55677A; --ink-3: #9AA8B4;
  --line: #E3E9F0; --chip: #E9EDF2;
  --shadow: 0 2px 12px rgba(15, 40, 70, .08);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }
.qa-app { max-width: 720px; margin: 0 auto; min-height: 100vh; background: var(--bg); padding-bottom: 96px; position: relative; }
@media (min-width: 760px) { body { background: #DDE4EC; } .qa-app { box-shadow: 0 0 40px rgba(12, 46, 74, .12); } }

/* ---- Başlık ---- */
.qa-head {
  background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff; text-align: center; padding: 10px 16px 24px;
}
.qa-head__langrow { display: flex; justify-content: flex-end; padding-top: 2px; }
.qa-head__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; }
.qa-head__side { display: flex; align-items: center; }
.qa-head__side--end { justify-content: flex-end; }
.qa-lang { display: flex; gap: 6px; direction: ltr; }
.qa-lang button {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .02em; opacity: .85;
}
.qa-lang svg { width: 18px; height: 12px; border-radius: 2px; flex: none; }
.qa-lang button.is-active { background: #fff; color: var(--navy); border-color: #fff; opacity: 1; }
.qa-icon-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #fff; background: none; border: 0; border-radius: 50%; }
.qa-icon-btn svg { width: 24px; height: 24px; }
.qa-head__plate { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 16px; padding: 6px 14px; box-shadow: 0 4px 14px rgba(6,26,42,.22); }
.qa-head__plate--hub { padding: 8px 18px; border-radius: 18px; }
.qa-head__logo { height: 44px; width: auto; max-width: 100%; object-fit: contain; display: block; }
.qa-head__plate--hub .qa-head__logo { height: 56px; }
.qa-head h1 { margin: 6px 0 4px; font-size: 21px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 9px; letter-spacing: 0; }
.qa-head h1 svg { width: 24px; height: 24px; flex: none; }
.qa-head p { margin: 0 auto; font-size: 12.5px; line-height: 1.55; opacity: .92; max-width: 540px; }
.qa-cart-btn { position: relative; background: rgba(255,255,255,.16); }
.qa-badge-count {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Arama + pill filtre ---- */
.qa-search { position: relative; margin: 16px 16px 6px; }
.qa-search input {
  width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  padding-block: 0; padding-inline: 48px 18px; font: inherit; font-size: 14.5px; color: var(--ink);
}
.qa-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(19,115,196,.14); }
.qa-search svg { position: absolute; inset-inline-start: 17px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--blue); pointer-events: none; }
/* ---- Resimli kategori kartları (anasayfadaki slider kartları gibi) ---- */
.qa-cats {
  display: flex; gap: 12px; overflow-x: auto; padding: 14px 16px 22px; scrollbar-width: none;
  scroll-snap-type: x proximity; scroll-padding-inline: 16px;
}
.qa-cats::-webkit-scrollbar { display: none; }
.qa-cat {
  flex: none; position: relative; width: 112px; height: 140px; padding: 0; border: 0; border-radius: 20px;
  overflow: hidden; background: linear-gradient(160deg, #2678AC, #123F63); color: #fff; text-align: start;
  scroll-snap-align: start; transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 12px rgba(12, 46, 74, .14);
}
.qa-cat--all { background: linear-gradient(160deg, #1A4E78, #0C2E4A); }
.qa-cat__img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); }
.qa-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.qa-cat__img svg { width: 30px; height: 30px; margin-bottom: 22px; }
.qa-cat::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 38%, rgba(6, 26, 42, .88) 100%); }
.qa-cat__name { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; font-size: 12.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qa-cat.is-active { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--blue), 0 8px 18px rgba(19,115,196,.35); transform: translateY(-2px); }

/* ---- Ürün satırları ---- */
.qa-list { padding: 4px 16px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.qa-item {
  background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; gap: 10px;
  align-items: stretch; cursor: pointer; min-width: 0;
}
.qa-item__img {
  width: 100%; aspect-ratio: 1 / 1; flex: none; border-radius: 13px; background: #E6ECF3; color: var(--ink-3);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.qa-item__img img { width: 100%; height: 100%; object-fit: cover; }
.qa-item__img svg { width: 28px; height: 28px; }
.qa-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 0 4px 4px; }
.qa-tag { align-self: flex-start; background: var(--blue); color: #fff; font-size: 10.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.qa-item__name { font-size: 14.5px; overflow-wrap: anywhere; font-weight: 600; line-height: 1.3; color: #2b3540; }
.qa-item__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.qa-price { font-size: 16px; font-weight: 700; color: var(--blue); }
.qa-price.tbd { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.qa-btn { border: 0; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; padding: 8px 13px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.qa-btn svg { width: 15px; height: 15px; }
.qa-btn--detail { background: var(--blue); }
.qa-btn--add { background: var(--green); }
.qa-btn--add[disabled] { background: var(--chip); color: var(--ink-3); cursor: not-allowed; }
.qa-empty { text-align: center; color: var(--ink-3); padding: 48px 20px; font-size: 14px; }

/* ---- Alt sekme çubuğu ---- */
.qa-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; justify-content: center; pointer-events: none; }
.qa-tabbar__in {
  pointer-events: auto; width: 100%; max-width: 720px; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(12,46,74,.07); display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 9px 0 calc(9px + env(safe-area-inset-bottom, 0px));
}
.qa-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; color: #6E7B88; }
.qa-tabbar a svg { width: 25px; height: 25px; }
.qa-tabbar a.is-active { color: var(--blue); }

/* ---- Sabit, küçük "Anasayfa" butonu ---- */
.qa-home {
  position: fixed; z-index: 55; inset-inline-start: max(12px, calc((100vw - 720px) / 2 + 12px)); bottom: 84px;
  display: flex; align-items: center; gap: 6px; padding: 8px 13px 8px 10px; border-radius: 999px;
  background: rgba(12,46,74,.86); color: #fff; font-size: 11.5px; font-weight: 600;
  backdrop-filter: blur(6px); box-shadow: 0 3px 12px rgba(0,0,0,.18);
}
.qa-home svg { width: 15px; height: 15px; }

/* ---- Hub (menü seçim) ---- */
.qa-hub { padding: 22px 16px 76px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qa-hub-card {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 20px 16px 18px;
  display: flex; flex-direction: column; gap: 10px; border: 1px solid transparent;
  transition: transform .15s ease, border-color .15s ease;
}
.qa-hub-card:active, .qa-hub-card:hover { transform: translateY(-2px); border-color: var(--blue); }
.qa-hub-card__icon { width: 54px; height: 54px; border-radius: 16px; background: #E7F1FB; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.qa-hub-card__icon svg { width: 28px; height: 28px; }
.qa-hub-card h3 { margin: 4px 0 0; font-size: 15.5px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.qa-hub-card p { margin: 0; font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.qa-hub-card .go { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 5px; }
.qa-hub-card .go svg { width: 13px; height: 13px; }

/* ---- Sipariş kartı: büyük, göz alıcı ana çağrı ---- */
.qa-hub-hero {
  grid-column: 1 / -1; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px;
  padding: 26px 22px 22px; border-radius: 26px; color: #fff;
  background: linear-gradient(135deg, #1373C4 0%, #0B4E86 55%, #0C2E4A 100%);
  box-shadow: 0 16px 34px rgba(11, 95, 165, .38); border: 1px solid rgba(255,255,255,.18);
  transition: transform .15s ease;
}
.qa-hub-hero:active { transform: scale(.985); }
.qa-hub-hero::before, .qa-hub-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none; }
.qa-hub-hero::before { width: 190px; height: 190px; inset-inline-end: -50px; top: -70px; }
.qa-hub-hero::after { width: 120px; height: 120px; inset-inline-end: 60px; bottom: -60px; }
.qa-hub-hero__badge { align-self: flex-start; position: relative; z-index: 1; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); padding: 5px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.qa-hub-hero__row { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.qa-hub-hero__icon { flex: none; width: 76px; height: 76px; border-radius: 22px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; }
.qa-hub-hero__icon svg { width: 40px; height: 40px; }
.qa-hub-hero__txt h3 { margin: 0 0 6px; font-size: 25px; font-weight: 800; line-height: 1.15; color: #fff; }
.qa-hub-hero__txt p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #D6E4F0; }
.qa-hub-hero__cta {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px;
  border-radius: 16px; background: var(--green); color: #fff; font-size: 17px; font-weight: 800;
  animation: qa-pulse 2.2s ease-out infinite;
}
.qa-hub-hero__cta svg { width: 22px; height: 22px; }
@keyframes qa-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,167,91,.55); } 70% { box-shadow: 0 0 0 14px rgba(34,167,91,0); } 100% { box-shadow: 0 0 0 0 rgba(34,167,91,0); } }
@media (prefers-reduced-motion: reduce) { .qa-hub-hero__cta { animation: none; } }

/* ---- Ürün detay ---- */
.qd-round--back { inset-inline-start: 14px; } .qd-round--share { inset-inline-end: 14px; }
.qd-mini__img svg { width: 24px; height: 24px; } .qd-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.qd-bar .b-call { background: var(--blue-dark); } .qd-bar .b-wa { background: var(--wa); } .qd-bar .b-add { background: var(--green); flex: 2; }

/* ---- Sepet / Checkout ---- */
.qc-wrap { padding: 16px; }
.qc-line { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 12px; display: flex; gap: 13px; margin-bottom: 12px; }
.qc-line__img { width: 78px; height: 78px; flex: none; border-radius: 12px; background: #E6ECF3; color: var(--ink-3); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.qc-line__img svg { width: 24px; height: 24px; } .qc-line__img img { width: 100%; height: 100%; object-fit: cover; }
.qc-line__body { flex: 1; min-width: 0; }
.qc-line__name { font-size: 15.5px; font-weight: 600; color: #2b3540; line-height: 1.3; }
.qc-line__unit { font-size: 13px; font-weight: 600; color: var(--blue); margin: 3px 0 9px; }
.qc-ctrl { display: flex; align-items: center; gap: 12px; }
.qc-step { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--blue); background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; }
.qc-step svg { width: 15px; height: 15px; }
.qc-qty { font-size: 15px; font-weight: 700; min-width: 18px; text-align: center; }
.qc-del { margin-left: 4px; display: inline-flex; align-items: center; gap: 5px; background: #FDECEC; color: var(--red); border: 0; border-radius: 10px; padding: 8px 12px; font-size: 12.5px; font-weight: 600; }
.qc-del svg { width: 14px; height: 14px; }
.qc-line__total { font-size: 15.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.qc-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 18px 16px; margin-bottom: 14px; }
.qc-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding: 7px 0; gap: 12px; }
.qc-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 17px; font-weight: 700; color: var(--ink); }
.qc-sec-title { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.qc-sec-title svg { width: 20px; height: 20px; color: var(--blue); }
.qc-field { margin-bottom: 16px; } .qc-field:last-child { margin-bottom: 0; }
.qc-field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.qc-field label i { color: var(--red); font-style: normal; }
.qc-field input, .qc-field textarea { width: 100%; border: 1px solid #D5DDE6; border-radius: 14px; padding: 13px 15px; font: inherit; font-size: 14.5px; color: var(--ink); background: #fff; resize: vertical; }
.qc-field select { width: 100%; border: 1px solid #D5DDE6; border-radius: 14px; padding: 13px 15px; font: inherit; font-size: 14.5px; color: var(--ink); background: #fff; }
.qc-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(19,115,196,.13); }
.qc-field.has-error select { border-color: var(--red); }
.qc-static { border: 1px solid #E3E9F0; background: #F4F7FA; border-radius: 14px; padding: 13px 15px; font-size: 14.5px; color: var(--ink-2, #44546A); font-weight: 600; }
.qc-warn { display: flex; gap: 9px; align-items: flex-start; background: #FFF6E0; border: 1px solid #F3D88A; color: #7A5600; border-radius: 12px; padding: 11px 13px; font-size: 13px; line-height: 1.45; margin-bottom: 16px; }
.qc-warn svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.qc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .qc-two .qc-field { margin-bottom: 16px; }
.qc-field input:focus, .qc-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(19,115,196,.13); }
.qc-field.has-error input, .qc-field.has-error textarea { border-color: var(--red); }
.qc-field .err { display: none; color: var(--red); font-size: 12px; margin-top: 5px; }
.qc-field.has-error .err { display: block; }
.qc-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; justify-content: center; pointer-events: none; }
.qc-cta__in { pointer-events: auto; width: 100%; max-width: 720px; background: #fff; box-shadow: 0 -4px 18px rgba(12,46,74,.09); padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
.qc-cta__in button, .qc-cta__in a { width: 100%; height: 54px; border: 0; border-radius: 16px; background: var(--blue-dark); color: #fff; font-size: 15.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.qc-cta__in svg { width: 19px; height: 19px; }
.qc-empty { text-align: center; padding: 70px 24px; color: var(--ink-3); }
.qc-empty svg { width: 56px; height: 56px; margin: 0 auto 14px; }
.qc-done { text-align: center; padding: 48px 22px 20px; }
.qc-done__ok { width: 76px; height: 76px; border-radius: 50%; background: #E3F5EA; color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.qc-done__ok svg { width: 38px; height: 38px; }
.qc-done h2 { margin: 0 0 8px; font-size: 22px; color: var(--navy); }
.qc-done p { margin: 0 auto 6px; font-size: 14px; color: var(--ink-2); max-width: 340px; }
.qc-demo-note { margin: 16px 16px 0; background: #FFF6E0; border: 1px solid #F3DFA4; color: #7A5B08; border-radius: 14px; padding: 12px 14px; font-size: 12.5px; line-height: 1.55; }
.qa-toast { position: fixed; left: 50%; bottom: 140px; transform: translateX(-50%); background: rgba(12,46,74,.94); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 13px; z-index: 100; }

@media (max-width: 380px) {
  .qa-item__name { font-size: 13.5px; }
  .qa-list { padding-inline: 12px; gap: 10px; }
  .qa-hub { grid-template-columns: 1fr; }
}

/* ---- RTL (Arapça) ---- */
[dir="rtl"] .qa-back svg { transform: scaleX(-1); }
[dir="rtl"] .qc-line__total, [dir="rtl"] .qc-del { margin-inline-start: auto; }
[dir="rtl"] .qd-warn, [dir="rtl"] .qc-demo-note { text-align: right; }

/* ---- Revize: görünüm seçici, fiyat rozeti, 3'lü görünüm ---- */
.qa-searchrow { display: flex; align-items: center; gap: 10px; padding-inline-end: 16px; }
.qa-searchrow .qa-search { flex: 1; min-width: 0; margin-inline-end: 0; }
.qa-searchrow { padding-top: 0; } .qa-searchrow .qa-view { margin-top: 10px; }
.qa-view { flex: none; display: inline-flex; background: #fff; border-radius: 14px; padding: 4px; gap: 2px; box-shadow: var(--shadow); }
.qa-view button { width: 38px; height: 38px; border: 0; border-radius: 10px; background: none; color: var(--ink-3); display: flex; align-items: center; justify-content: center; }
.qa-view button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.qa-view button.is-active { background: var(--blue); color: #fff; }
.qa-item__img { position: relative; }
.qa-item__price { position: absolute; inset-inline-end: 8px; bottom: 8px; background: #fff; color: var(--blue); font-weight: 800; font-size: 15px; line-height: 1; padding: 7px 11px; border-radius: 11px; box-shadow: 0 3px 10px rgba(6,26,42,.28); }
.qa-item__price.tbd { font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.qa-item__foot .qa-btn { width: 100%; justify-content: center; }
.qa-list.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-inline: 10px; }
.qa-list.cols-3 .qa-item { padding: 5px; gap: 6px; border-radius: 14px; }
.qa-list.cols-3 .qa-item__img { border-radius: 10px; }
.qa-list.cols-3 .qa-item__price { font-size: 11px; padding: 5px 7px; border-radius: 8px; inset-inline-end: 5px; bottom: 5px; }
.qa-list.cols-3 .qa-item__name { font-size: 12px; line-height: 1.25; }
.qa-list.cols-3 .qa-item__body { padding: 0 3px 3px; }
.qa-list.cols-3 .qa-btn { padding: 7px 4px; font-size: 11px; }
.qa-list.cols-3 .qa-btn--add span, .qa-list.cols-3 .qa-btn--detail { display: none; }
.qa-list.cols-3 .qa-btn--add svg { width: 17px; height: 17px; }
.qa-list.cols-3 .qa-item__foot:has(.qa-btn--detail) { display: none; }
.qa-item__price { max-width: calc(100% - 12px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qa-list.cols-3 .qa-item__price.tbd { font-size: 9px; padding: 4px 6px; }

/* ---- Kompakt kart: tek ekranda 4 ürün; detay sayfası yok ---- */
.qa-item { cursor: default; gap: 7px; padding: 7px 7px 9px; }
.qa-item__img { aspect-ratio: 4 / 3; }
.qa-item__name { font-size: 14px; line-height: 1.25; padding: 0 3px; font-weight: 600; }
.qa-item__add { position: absolute; inset-inline-start: 7px; bottom: 7px; height: 34px; min-width: 34px; padding: 0 11px; border: 0; border-radius: 11px; background: var(--green); color: #fff; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; box-shadow: 0 3px 10px rgba(6,26,42,.28); }
.qa-item__add svg { width: 16px; height: 16px; }
.qa-item__add:disabled { background: #AEB9C5; }
.qa-item__add.is-done { background: var(--blue); }
.qa-item__price { inset-inline-end: 7px; bottom: 7px; font-size: 14px; padding: 6px 10px; }
.qa-list { gap: 10px; }
.qa-list.cols-3 .qa-item { padding: 5px 5px 7px; gap: 5px; }
.qa-list.cols-3 .qa-item__img { aspect-ratio: 1 / 1; }
.qa-list.cols-3 .qa-item__add { height: 28px; min-width: 28px; padding: 0; justify-content: center; border-radius: 9px; inset-inline-start: 5px; bottom: 5px; width: 28px; }
.qa-list.cols-3 .qa-item__add span { display: none; }
.qa-list.cols-3 .qa-item__add svg { width: 15px; height: 15px; }
.qa-list.cols-3 .qa-item__price { font-size: 11px; padding: 5px 6px; inset-inline-end: 5px; bottom: 5px; }
.qa-list.cols-3 .qa-item__name { font-size: 11.5px; padding: 0 2px; }
.qa-item__add { width: 36px; height: 36px; padding: 0; justify-content: center; }
.qa-item__add span { display: none; }
.qa-item__add svg { width: 18px; height: 18px; }

/* ---- Revize 3: ana sitedeki menü kartı görünümü (kare görsel, köşeli çerçeve), büyük isim, pop-up ---- */
.qa-item { background: #fff; border: 1px solid #DDE6EE; border-radius: 0; box-shadow: none; padding: 0; gap: 0; overflow: hidden; cursor: pointer; transition: border-color .15s ease; }
.qa-item:hover, .qa-item:focus-visible { border-color: var(--blue); outline: none; }
.qa-item__img { aspect-ratio: 1 / 1; border-radius: 0; }
.qa-item__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qa-item__name { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--navy); padding: 11px 12px 13px; flex: 1; }
.qa-item__price, .qa-item__add { border-radius: 8px; }
.qa-list { gap: 12px; }
.qa-list.cols-3 { gap: 8px; }
.qa-list.cols-3 .qa-item { padding: 0; }
.qa-list.cols-3 .qa-item__img { aspect-ratio: 1 / 1; border-radius: 0; }
.qa-list.cols-3 .qa-item__name { font-size: 13px; padding: 8px 8px 10px; }
.qa-list.cols-3 .qa-item__price, .qa-list.cols-3 .qa-item__add { border-radius: 7px; }

.qm { position: fixed; inset: 0; z-index: 200; background: rgba(6,26,42,.72); display: flex; align-items: center; justify-content: center; padding: 18px; animation: qmfade .16s ease; }
@keyframes qmfade { from { opacity: 0; } to { opacity: 1; } }
.qm__box { position: relative; width: min(100%, 520px); max-height: 100%; background: #fff; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.qm__img { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 68vh; background: #E6ECF3; display: flex; align-items: center; justify-content: center; color: var(--ink-3); }
.qm__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qm__img svg { width: 48px; height: 48px; }
.qm__info { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px 18px; }
.qm__name { font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.qm__price { flex: none; background: var(--blue); color: #fff; font-size: 20px; font-weight: 800; padding: 8px 14px; border-radius: 9px; }
.qm__price.tbd { font-size: 13px; font-weight: 700; background: #E6ECF3; color: var(--ink-3); }
.qm__close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.qm__close svg { width: 20px; height: 20px; }
body.qm-open { overflow: hidden; }

/* ---- v7: yazılı "Sipariş Ver" butonu, daha kompakt kartlar/kategoriler ---- */
.qa-cats { gap: 10px; padding: 10px 14px 14px; }
.qa-cat { width: 92px; height: 108px; border-radius: 16px; }
.qa-cat__name { font-size: 11.5px; left: 8px; right: 8px; bottom: 8px; }
.qa-list { gap: 10px; }
.qa-item__img { aspect-ratio: 4 / 3; }
.qa-item__name { font-size: 15px; padding: 8px 10px 8px; line-height: 1.25; }
.qa-item__foot { padding: 0 10px 10px; }
.qa-item__order { width: 100%; height: 36px; border: 0; border-radius: 8px; background: var(--green); color: #fff; font: inherit; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; }
.qa-item__order svg { width: 17px; height: 17px; flex: none; }
.qa-item__order:disabled { background: #AEB9C5; cursor: default; }
.qa-item__order.is-done { background: var(--blue); }
.qa-list.cols-3 .qa-item__img { aspect-ratio: 1 / 1; }
.qa-list.cols-3 .qa-item__name { font-size: 12.5px; padding: 6px 6px 6px; }
.qa-list.cols-3 .qa-item__foot { padding: 0 6px 7px; }
.qa-list.cols-3 .qa-item__order { height: 30px; font-size: 11.5px; gap: 4px; border-radius: 7px; }
.qa-list.cols-3 .qa-item__order svg { display: none; }
.qm__act { padding: 0 18px 18px; }
.qm__order { width: 100%; height: 50px; border: 0; border-radius: 10px; background: var(--green); color: #fff; font: inherit; font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; }
.qm__order svg { width: 20px; height: 20px; }
.qm__order:disabled { background: #AEB9C5; }
.qm__order.is-done { background: var(--blue); }
.qm__img { max-height: 56vh; }
.qm__info { padding: 14px 18px 14px; }

/* v7b: mobilde tek ekranda 4 ürün */
.qa-cats { padding: 8px 14px 10px; }
.qa-cat { width: 88px; height: 98px; }
.qa-item__img { aspect-ratio: 3 / 2; }
.qa-item__name { padding: 7px 10px 6px; font-size: 15px; }
.qa-item__foot { padding: 0 10px 9px; }
.qa-item__order { height: 34px; }
.qa-list.cols-3 .qa-item__img { aspect-ratio: 1 / 1; }

/* ---- v8: Alo seçim ekranı, eski/yeni fiyat, birim, getirme ücreti ---- */
.qa-choose { padding: 16px; display: grid; gap: 12px; }
.qa-choose__sub { margin: 4px 2px 2px; color: var(--ink-2); font-size: 14px; text-align: center; }
.qa-choose-card { flex-direction: row; align-items: center; gap: 14px; padding: 16px; text-align: start; display: grid; grid-template-columns: 54px 1fr; grid-template-areas: "i h" "i p" "i g"; column-gap: 14px; row-gap: 2px; }
.qa-choose-card .qa-hub-card__icon { grid-area: i; align-self: center; }
.qa-choose-card h3 { grid-area: h; margin: 0; font-size: 17px; }
.qa-choose-card p { grid-area: p; font-size: 13px; }
.qa-choose-card .go { grid-area: g; margin-top: 4px; }
.qa-old { display: block; color: var(--ink-3); font-weight: 500; font-size: .72em; text-decoration: line-through; line-height: 1.1; margin-bottom: 2px; }
.qa-item__price small, .qm__price small { font-size: .62em; font-weight: 600; color: var(--ink-3); }
.qa-item__price.has-old { padding-top: 4px; padding-bottom: 5px; text-align: end; }
.qm__price .qa-old { color: rgba(255,255,255,.75); }
.qm__price small { color: rgba(255,255,255,.8); }
.qm__desc { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--ink-2); }
.qc-line__menu { font-size: 11.5px; color: var(--ink-3); margin: 1px 0 2px; }
.qc-feenote { margin: 10px 4px 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; text-align: center; }
.qc-line .qa-old { display: inline; margin: 0; }
.qc-qty { white-space: nowrap; min-width: 46px; text-align: center; }

/* Sabit sepet butonu + ekleme bildirimi */
.qa-fab { position: fixed; z-index: 56; inset-inline-end: max(12px, calc((100vw - 720px) / 2 + 12px)); bottom: 84px; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #1BA35A; color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.28); }
.qa-fab svg { width: 24px; height: 24px; }
.qa-fab .qa-badge-count { position: absolute; top: -4px; inset-inline-end: -4px; }
.qa-fab.is-bump, .qa-cart-btn.is-bump { animation: qa-bump .35s ease; }
@keyframes qa-bump { 40% { transform: scale(1.18); } }
.qa-toast { animation: qa-toastin .18s ease; }
@keyframes qa-toastin { from { opacity: 0; transform: translate(-50%, 8px); } }

/* mahalle bazlı minimum tutar / getirme ücreti */
.qc-warn--bad { background: #FDECEA; border-color: #F1B5AE; color: #8F2B20; margin-top: 10px; }
.qc-warn--bad a { color: #8F2B20; font-weight: 700; text-decoration: underline; display: inline-block; margin-top: 4px; }
.qc-warn--ok { background: #EAF6EE; border-color: #B7DEC4; color: #14603A; margin-top: 10px; }
.qc-zones { margin: 12px 0 0; background: #fff; border: 1px solid var(--line, #E3EAF2); border-radius: 12px; padding: 4px 14px; font-size: 13px; }
.qc-zones summary { cursor: pointer; font-weight: 700; padding: 10px 0; color: var(--blue, #1C86BE); }
.qc-zones__w { overflow-x: auto; padding-bottom: 8px; }
.qc-zones table { width: 100%; border-collapse: collapse; }
.qc-zones th, .qc-zones td { padding: 6px 6px; font-size: 12.5px; text-align: right; white-space: nowrap; border-bottom: 1px solid #EEF2F7; }
.qc-zones th:first-child, .qc-zones td:first-child { text-align: start; }
.qc-zones tr.zh td { background: #F3F7FB; font-weight: 800; text-align: start; }
.qc-zones th { white-space: normal; font-size: 11.5px; line-height: 1.2; vertical-align: bottom; }
.qc-zones td:first-child { white-space: normal; }
.qc-zones th, .qc-zones td { padding: 6px 4px; }
