/* ================================================================
   NuhGo — Ortak Tasarım Sistemi
   Web + Mobil uyumlu, modern, glassmorphism dokunuşlu
   ================================================================ */
:root {
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-soft: #e7f7ed;
  --brand-dark: #14532d;
  --brand-dark-2: #166534;
  --emerald: #10b981;
  --blue: #2563eb;
  --amber: #f59e0b;
  --red: #ef4444;
  --red-border: rgba(239, 68, 68, .30);
  --red-tint:   rgba(239, 68, 68, .03);
  --warn-bg:   #fffbeb;  --warn-text:   #92400e;  --warn-line: #f59e0b;
  --info-bg:   #ecfdf5;  --info-text:   #047857;  --info-line: #10b981;
  --danger-bg: #fef2f2;  --danger-text: #b91c1c;  --danger-line: #ef4444;
  --emerald-text: #047857;
  --amber-text:   #b45309;
  --bg: #f8faf9;
  --bg-muted: #f8fafc;
  --card: #ffffff;
  --text: #0f291e;
  --muted: #475569;
  --border: #e2e8f0;
  --shadow: 0 1px 2px rgba(15, 41, 30, 0.05), 0 2px 8px rgba(15, 41, 30, 0.06);
  --shadow-lg: 0 4px 12px rgba(15, 41, 30, 0.08), 0 12px 28px rgba(15, 41, 30, 0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 66px;
  --nav-h: 66px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html {
  overflow-x: hidden;
  max-width: 100%;
}
html, body { min-height: 100%; width: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #cfd3de; border-radius: 8px; }

/* ---------- Yapı ---------- */
.app { max-width: 1200px; margin: 0 auto; min-height: 100vh; }
.container { padding: 16px; }
.section { margin-bottom: 24px; }
.section-title { font-size: 19px !important; font-weight: 900 !important; margin: 24px 4px 14px; display: flex; align-items: center; gap: 8px; color: var(--text); scroll-margin-top: calc(var(--header-h, 66px) + 14px); }
.grid-biz, #bizGrid, #catGrid, #chips { scroll-margin-top: calc(var(--header-h, 66px) + 14px); }
.section-title span:not(.muted) { color: var(--text); font-weight: 900; }
html.dark-mode .section-title, body.dark-mode .section-title, html.dark-mode .section-title span:not(.muted), body.dark-mode .section-title span:not(.muted) { color: #ffffff !important; }
.row { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; }
.grow { flex: 1; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---------- Üst Duyuru & Hava Durumu Çubukları Safe Area ---------- */
#topAnnouncementBar {
  padding-top: calc(8px + env(safe-area-inset-top, 0px)) !important;
  padding-bottom: 8px !important;
}

#topAnnouncementBar[style*="display: none"] + #weatherBar,
#topAnnouncementBar[style*="display:none"] + #weatherBar,
#topAnnouncementBar.hidden + #weatherBar {
  padding-top: calc(8px + env(safe-area-inset-top, 0px)) !important;
}

#topAnnouncementBar:not([style*="display: none"]):not([style*="display:none"]):not(.hidden) ~ .header,
#weatherBar:not([style*="display: none"]):not([style*="display:none"]):not(.hidden) ~ .header {
  padding-top: 8px !important;
  min-height: var(--header-h) !important;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  min-height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
  padding-bottom: 8px;
  background: #14532d !important;
  color: #ffffff !important;
  display: flex; align-items: center; gap: 12px;
  padding-left: 16px; padding-right: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
  box-sizing: border-box;
}
.header .logo { font-weight: 900; font-size: 19px; display: flex; align-items: center; gap: 8px; white-space: nowrap; color: #ffffff !important; }
.header .logo .badge { background: #ffffff; border-radius: 8px; padding: 4px 6px; font-size: 13px; color: #ffffff; display: inline-flex; align-items: center; justify-content: center; }
.header .logo .badge img { width: 18px; height: 18px; object-fit: contain; display: block; }
.header .loc { display: flex; flex-direction: column; line-height: 1.15; cursor: pointer; min-width: 0; color: #ffffff !important; }
.header .loc small { font-size: 11px; color: rgba(255,255,255,0.85) !important; }
.header .loc b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; color: #ffffff !important; }
.header .spacer { flex: 1; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--bg-muted, #f1f5f9); color: var(--text, #0f291e);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  position: relative; transition: .2s;
  border: 1px solid var(--border, #e2e8f0);
}
.icon-btn:hover { background: var(--border, #cbd5e1); }
.header .icon-btn {
  background: rgba(255,255,255,.18) !important; color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
}
.header .icon-btn:hover { background: rgba(255,255,255,.3) !important; }

/* Kurye Çağır Üst Menü Butonu */
.hdr-courier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  height: 42px;
  background: var(--primary, #16a34a);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius, 12px);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.hdr-courier i, .hdr-courier span {
  color: #ffffff !important;
}
.hdr-courier:hover {
  background: var(--primary-dark, #15803d);
  transform: translateY(-1px);
}
.hdr-courier:active {
  transform: scale(0.97);
}

/* Dil Seçici (Lang Picker) */
.lang-picker {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.lang-picker select {
  height: 42px;
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--radius, 12px);
  padding: 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}
.lang-picker select option {
  background: var(--card, #ffffff);
  color: var(--text, #0f291e);
}
html.dark-mode .lang-picker select {
  background: #1e293b !important;
  color: #ffffff !important;
  border-color: #334155 !important;
}
html.dark-mode .lang-picker select option {
  background: #1e293b;
  color: #f8fafc;
}

@media (max-width: 600px) {
  .header {
    gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .hdr-courier {
    padding: 7px 10px;
    font-size: 12px;
    height: 38px;
  }
  .hdr-courier span {
    font-size: 12px;
  }
  .lang-picker select {
    height: 38px;
    padding: 0 4px;
    font-size: 11.5px;
  }
}
@media (max-width: 400px) {
  .hdr-courier span {
    display: none;
  }
  .hdr-courier {
    padding: 7px 10px;
    width: 38px;
    justify-content: center;
  }
}

.d-head .icon-btn {
  background: var(--bg-muted, #f1f5f9) !important; color: var(--text, #0f291e) !important;
  border: 1px solid var(--border, #cbd5e1) !important;
}
html.dark-mode .d-head .icon-btn, body.dark-mode .d-head .icon-btn {
  background: #1e293b !important; color: #f8fafc !important; border-color: #334155 !important;
}
.icon-btn .count {
  position: absolute; top: -6px; right: -6px;
  background: #ef4444; color: #ffffff; font-size: 11px; font-weight: 800;
  min-width: 20px; height: 20px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* ---------- Kategori chip ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  white-space: nowrap; padding: 9px 16px; border-radius: 10px;
  background: var(--card); border: 1.5px solid var(--border); color: var(--text);
  font-weight: 600; font-size: 14px; transition: .15s; display: flex; align-items: center; gap: 6px;
}
.chip.active { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }

/* ---------- Kartlar ---------- */
.grid { display: grid; gap: 14px; }
.grid-biz { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-prod { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }

.biz-card { cursor: pointer; transition: transform .15s, box-shadow .15s; border: 1px solid var(--border); }
.biz-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.biz-card .top { height: 110px; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; font-size: 38px; position: relative; }
.biz-card .top .closed { position: absolute; inset: 0; background: rgba(0,0,0,.55); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-weight: 700; gap: 4px; padding: 8px; line-height: 1.3; }
.biz-card .body { padding: 12px 14px; }
.biz-card .name { font-weight: 800; font-size: 16px; min-height: 22px; line-height: 1.35; }
.biz-card .desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; min-height: 18px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.biz-card .meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); margin-top: 6px; flex-wrap: wrap; }
.biz-card .meta .star { color: var(--amber-text); font-weight: 700; }

.prod-card { border: 1px solid var(--border); padding: 12px; display: flex; flex-direction: column; }
.prod-card .emoji { font-size: 32px; text-align: center; margin: 4px 0 8px; }
.prod-card .prod-img { width: 100%; height: 110px; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.img-upload { display:flex; align-items:center; gap:12px; }
.img-upload .preview { width:64px; height:64px; border-radius:10px; object-fit:cover; background:var(--primary-soft); display:flex; align-items:center; justify-content:center; font-size:28px; }
.prod-card .name { font-weight: 700; font-size: 14px; min-height: 38px; }
.prod-card .desc { font-size: 11.5px; color: var(--muted); margin: 2px 0 6px; min-height: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.prod-card .price { font-weight: 800; color: var(--primary); font-size: 16px; }
.prod-card.out { opacity: .55; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 32px; height: 32px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.stepper .qty { font-weight: 700; min-width: 20px; text-align: center; }
/* Sayaç asla ezilmesin: kart dar olduğunda (160px'lik ızgara) uzun fiyat metni
   "+" düğmesini kırpıyordu. Sayaç sabit kalır, sığmazsa alt satıra iner. */
.stepper, .stepper button { flex-shrink: 0; }
.prod-card .between { gap: 8px; flex-wrap: wrap; row-gap: 10px; }
.prod-card .price { min-width: 0; }
.prod-card .price small { white-space: nowrap; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 15px;
  background: var(--primary); color: #fff; transition: .15s; width: 100%;
}
.btn:hover { background: var(--primary-dark); }
.btn:active { transform: scale(.98); }
.btn:disabled { background: #cbd0da; cursor: not-allowed; }
.btn.ghost { background: var(--card); color: var(--text); border: 1.5px solid var(--border); }
.btn.dark { background: var(--brand-dark); }
.btn.green { background: var(--primary-dark); }
.btn.blue { background: var(--blue); }
.btn.red { background: var(--red); }
.btn.sm { padding: 8px 12px; font-size: 13px; width: auto; }
.btn.auto { width: auto; }

/* ---------- Form ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.input, .select, textarea.input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--border); background: #fff; color: var(--text); outline: none; transition: .15s;
}
.input:focus, .select:focus, textarea.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
textarea.input { resize: vertical; min-height: 70px; }

/* ---------- Bottom nav (mobil & masaüstü) ---------- */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #ffffff !important; border-top: 1.5px solid #e2e8f0 !important;
  display: flex; max-width: 1200px; margin: 0 auto;
  box-shadow: 0 -4px 25px rgba(0,0,0,.08);
}
.bottom-nav button {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: #64748b !important; font-size: 11px; font-weight: 700; position: relative;
}
.bottom-nav button i { font-size: 20px; color: #64748b !important; }
.bottom-nav button.active { color: #16a34a !important; font-weight: 800; }
.bottom-nav button.active i { color: #16a34a !important; }
.bottom-nav button .count { position: absolute; top: 6px; right: 50%; transform: translateX(18px); background: #ef4444; color: #fff; font-size: 10px; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.with-nav { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 16px); }

@media (min-width: 781px) {
  .bottom-nav { display: none !important; }
  .with-nav { padding-bottom: 0 !important; }
}

/* ---------- Drawer / Modal ---------- */
.overlay { position: fixed; inset: 0; background: rgba(10,12,25,.65); backdrop-filter: blur(4px); z-index: 9000 !important; opacity: 0; pointer-events: none; transition: .25s; }
.overlay.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--bg); z-index: 9500 !important; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.drawer.show { transform: translateX(0); }
.drawer .d-head { padding: calc(18px + env(safe-area-inset-top, 0px)) 18px 18px; background: var(--card); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.drawer .d-head h3 { font-size: 18px; font-weight: 800; }
.drawer .d-body { flex: 1; overflow-y: auto; padding: 16px; }
.drawer .d-foot { padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--card); border-top: 1px solid var(--border); }

.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%) scale(.96);
  width: min(460px, 92%); max-height: 90vh; overflow-y: auto;
  background: var(--card); border-radius: 14px; z-index: 9900 !important; padding: 24px;
  opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow-lg);
}
.modal.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.modal h2 { font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.modal .close { position: absolute; top: 16px; right: 16px; font-size: 20px; color: var(--muted); cursor: pointer; z-index: 2; }

/* ---------- Ürün Detay Modalı & Malzeme Çipleri ---------- */
.prod-modal-img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; background: var(--border); }
.prod-modal-title { font-size: 20px; font-weight: 800; color: var(--text); line-height: 1.3; }
.prod-modal-price { font-size: 20px; font-weight: 900; color: var(--primary); }
.prod-modal-desc { font-size: 13.5px; color: var(--muted); margin-top: 6px; margin-bottom: 16px; line-height: 1.4; }
.ingredients-sec { margin-bottom: 16px; padding: 14px; background: var(--bg-muted, #f8fafc); border-radius: 12px; border: 1px solid var(--border); }
html.dark-mode .ingredients-sec { background: var(--border); }
.ingredients-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.ingredients-head h4 { font-size: 14px; font-weight: 800; margin: 0; color: var(--text); }
.ingredients-head small { font-size: 12px; color: var(--muted); font-style: italic; }
.ingredients-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ing-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; user-select: none; transition: all .15s ease; border: 1px solid var(--primary-soft); background: var(--primary-soft); color: var(--brand-dark-2); }
html.dark-mode .ing-chip { border-color: var(--brand-dark-2); background: var(--brand-dark); color: var(--primary-soft); }
.ing-chip.removed { border-color: var(--border); background: var(--card); color: var(--muted); opacity: 0.55; text-decoration: line-through; }
.ing-chip .chip-icon { font-size: 11px; }

/* ---------- Ürün Seçenek Grupları (option_groups) ---------- */
.option-groups-sec { margin-bottom: 16px; display: flex; flex-direction: column; gap: 14px; }
.option-group { padding: 14px; background: var(--bg-muted, #f8fafc); border-radius: 12px; border: 1px solid var(--border); }
html.dark-mode .option-group { background: var(--border); }
.option-group-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.option-group-head h4 { font-size: 14px; font-weight: 800; color: var(--text); margin: 0; }
.option-group-head .opt-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.opt-tag.req { background: var(--red-tint); color: var(--danger-text); border: 1px solid var(--red-border); }
.opt-tag.opt { background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(22,163,74,0.2); }
.option-items { display: flex; flex-direction: column; gap: 8px; }
.opt-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--border); cursor: pointer; transition: border-color .15s; }
.opt-row:hover { border-color: var(--primary); }
.opt-row-left { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.opt-row-left input { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.opt-row-price { font-size: 13px; font-weight: 700; color: var(--primary); }

/* ---------- Yanında İyi Gider / Tavsiye Şeridi ---------- */
.rec-sec { margin-bottom: 16px; padding-top: 10px; border-top: 1px dashed var(--border); }
.rec-head { font-size: 13.5px; font-weight: 800; color: var(--text); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.rec-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.rec-card { flex: 0 0 130px; padding: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.rec-card img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.rec-card .rec-emoji { font-size: 26px; }
.rec-card .rec-name { font-size: 12px; font-weight: 700; color: var(--text); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 32px; line-height: 1.3; }
.rec-card .rec-price { font-size: 12px; font-weight: 800; color: var(--primary); }
.rec-card .rec-add-btn { width: 100%; margin-top: 4px; padding: 5px 8px; font-size: 11.5px; font-weight: 700; border-radius: 8px; background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(22,163,74,0.2); transition: background .15s; }
.rec-card .rec-add-btn:hover { background: var(--primary); color: #fff; }

/* ---------- Seçenek Grupları Yönetici Düzeni (Merchant & Admin) ---------- */
.og-mgr-wrap { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.og-card { background: var(--bg-muted, #f8fafc); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
html.dark-mode .og-card { background: var(--border); }
.og-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.og-title-area { display: flex; flex-direction: column; gap: 4px; }
.og-title { font-size: 15px; font-weight: 800; color: var(--text); }
.og-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.og-actions { display: flex; gap: 6px; }
.og-options-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding-left: 10px; border-left: 2px solid var(--border); }
.og-option-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; font-size: 13px; }
.og-option-info { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.og-option-price { font-weight: 700; color: var(--primary); }

/* ---------- Market Vitrini (Kategori Kenar Çubuğu, Banner Karuseli, Şeritler) ---------- */
.biz-market-layout { display: flex; gap: 20px; align-items: flex-start; margin-top: 16px; }
.biz-sidebar { width: 220px; flex-shrink: 0; position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 10px); background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 8px; max-height: calc(100vh - 100px - env(safe-area-inset-top, 0px)); overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.biz-sidebar-title { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; margin-bottom: 2px; }
.biz-sidebar-item { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--text); cursor: pointer; transition: all .15s ease; user-select: none; }
.biz-sidebar-item:hover { background: var(--bg-muted, #f8fafc); color: var(--primary); }
html.dark-mode .biz-sidebar-item:hover { background: var(--border); }
.biz-sidebar-item.active { background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.biz-sidebar-item .cnt { font-size: 11px; font-weight: 700; opacity: 0.75; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,0.05); }
html.dark-mode .biz-sidebar-item .cnt { background: rgba(255,255,255,0.1); }

.biz-main-content { flex: 1; min-width: 0; }

.biz-carousel { position: relative; width: 100%; aspect-ratio: 3 / 1; border-radius: 12px; overflow: hidden; margin-bottom: 20px; background: #0f172a; border: 1px solid var(--border); }
.biz-carousel-track { display: flex; height: 100%; transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1); }
.biz-carousel-slide { flex: 0 0 100%; width: 100%; height: 100%; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.biz-carousel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 1; }
.biz-carousel-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.biz-carousel-info { position: relative; z-index: 2; padding: 16px 20px; color: #fff; width: 100%; }
.biz-carousel-title { font-size: 18px; font-weight: 800; line-height: 1.2; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.biz-carousel-sub { font-size: 13px; opacity: 0.9; margin-top: 2px; }
.biz-carousel-tier { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 800; }
.biz-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 13px; color: var(--text); z-index: 3; opacity: 0.9; transition: opacity .15s, transform .15s; }
.biz-carousel-arrow:hover { opacity: 1; transform: translateY(-50%) scale(1.08); }
.biz-carousel-arrow.prev { left: 12px; }
.biz-carousel-arrow.next { right: 12px; }
.biz-carousel-dots { position: absolute; bottom: 10px; right: 16px; display: flex; gap: 6px; z-index: 3; }
.biz-carousel-dot { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.45); cursor: pointer; transition: all .25s ease; }
.biz-carousel-dot.active { width: 22px; background: #fff; }

/* Yatay Ürün Şeritleri (Sana Özel & Fırsatlar) */
.biz-strip-sec { margin-bottom: 24px; }
.biz-strip-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.biz-strip-title { font-size: 17px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 8px; margin: 0; }
.biz-strip-link { font-size: 13px; font-weight: 700; color: var(--primary); text-decoration: none; cursor: pointer; }
.biz-strip-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.biz-strip-scroll .prod-card { flex: 0 0 160px; max-width: 160px; }

@media (max-width: 780px) {
  .biz-market-layout { flex-direction: column; }
  .biz-sidebar { display: none !important; }
  .biz-cats-mobile { display: flex !important; }
}

@media (min-width: 781px) {
  .biz-cats-mobile { display: none !important; }
}

/* ---------- Product Detail Modal & Option Groups Enhancements ---------- */
/* position VERME — .modal'in position:fixed'ini ezer ve pencere sayfanin en altina
   dusup gorunmez olur (perde fixed oldugu icin ekran kararir ama pencere yoktur).
   .modal zaten fixed, yani icindeki absolute cocuklar icin konumlandirma baglami mevcut. */
.prod-detail-modal { max-width: 540px; padding: 0 !important; overflow-y: auto; overflow-x: hidden; border-radius: 16px !important; display: flex; flex-direction: column; }
.prod-modal-header-img { position: relative; width: 100%; height: 320px; background: var(--bg-muted, #f8fafc); overflow: hidden; flex-shrink: 0; }
.prod-modal-header-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-modal-body { padding: 18px 20px 32px 20px; flex: 1 0 auto; }

.prod-detail-modal .modal-close-btn {
  position: absolute; top: 14px; right: 14px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: #0f172a;
  border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; z-index: 20; transition: transform .15s, background .15s;
}
.prod-detail-modal .modal-close-btn:hover { transform: scale(1.06); background: #ffffff; }
html.dark-mode .prod-detail-modal .modal-close-btn {
  background: rgba(30, 41, 59, 0.92); color: #f8fafc; border-color: rgba(255,255,255,0.12);
}

.og-toggle-btn, .rec-toggle-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; margin-top: 8px; min-height: 44px; background: var(--bg-muted, #f8fafc); border: 1px dashed var(--border); border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--primary); cursor: pointer; transition: background .15s; }
.og-toggle-btn:hover, .rec-toggle-btn:hover { background: var(--primary-soft); }
html.dark-mode .og-toggle-btn, html.dark-mode .rec-toggle-btn { background: var(--border); }

.option-group { margin-bottom: 16px; padding: 14px 16px; background: var(--card); border: 1.5px solid var(--border); border-radius: 12px; }
html.dark-mode .option-group { background: #1e293b; border-color: #334155; }
.option-group-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; gap: 10px; }
.option-group-head h4 { font-size: 15px; font-weight: 800; color: var(--text); margin: 0; line-height: 1.3; }
.option-group-sub { font-size: 12px; color: var(--muted); margin-top: 3px; font-weight: 500; }

.opt-tag { font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.opt-tag.req { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
html.dark-mode .opt-tag.req { background: rgba(220,38,38,0.2); color: #f87171; border-color: rgba(220,38,38,0.4); }
.opt-tag.opt { background: var(--bg-muted, #f1f5f9); color: var(--muted); border: 1px solid var(--border); }
html.dark-mode .opt-tag.opt { background: rgba(255,255,255,0.08); color: #cbd5e1; border-color: var(--border); }

.opt-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; min-height: 44px; background: var(--card); border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; transition: all .15s ease; margin-bottom: 8px; user-select: none; }
.opt-row:hover { border-color: var(--primary); background: var(--primary-soft); }
.opt-row:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
html.dark-mode .opt-row:has(input:checked) { border-color: var(--primary); background: rgba(22,163,74,0.15); }
.opt-row-left { display: flex; align-items: center; gap: 12px; }
.opt-row-left input { width: 20px; height: 20px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }
.opt-row-price { font-weight: 800; color: var(--primary); font-size: 13.5px; }

.modal-stepper { display: flex; align-items: center; gap: 8px; background: var(--bg-muted, #f1f5f9); padding: 4px; border-radius: 12px; border: 1px solid var(--border); }
html.dark-mode .modal-stepper { background: #0f172a; }
.modal-stepper button { width: 44px; height: 44px; border-radius: 10px; background: var(--card); color: var(--primary); font-size: 18px; font-weight: 800; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all .15s ease; cursor: pointer; flex-shrink: 0; }
.modal-stepper button:hover { background: var(--primary-soft); border-color: var(--primary); }
.modal-stepper .qty { font-size: 16px; font-weight: 800; min-width: 32px; text-align: center; color: var(--text); }

.rec-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.rec-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; min-height: 44px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; cursor: pointer; transition: background .15s; }
.rec-row:hover { background: var(--bg-muted, #f8fafc); border-color: var(--primary); }
html.dark-mode .rec-row:hover { background: var(--border); }
.rec-row-left { display: flex; align-items: center; gap: 12px; }
.rec-row-left .rec-img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.rec-row-left .rec-emoji { font-size: 24px; width: 44px; text-align: center; }
.rec-row-name { font-size: 13.5px; font-weight: 700; color: var(--text); }
.rec-row-right { display: flex; align-items: center; gap: 12px; }
.rec-row-price { font-size: 13px; text-align: right; }
.rec-row-checkbox { width: 20px; height: 20px; accent-color: var(--primary); cursor: pointer; }

.prod-modal-footer { position: sticky; bottom: 0; left: 0; right: 0; background: var(--card); border-top: 1.5px solid var(--border); padding: 14px 20px; display: flex; align-items: center; gap: 14px; z-index: 50; border-radius: 0 0 16px 16px; box-shadow: 0 -6px 20px rgba(0,0,0,0.1); backdrop-filter: blur(12px); margin-top: auto; }

@media (max-width: 640px) {
  .modal.prod-detail-modal { top: auto; bottom: 0; left: 0; right: 0; transform: translateY(100%); width: 100%; max-height: 88vh; border-radius: 20px 20px 0 0; padding: 0 !important; }
  .modal.prod-detail-modal.show { transform: translateY(0); }
  .biz-carousel { aspect-ratio: 3 / 1; height: auto; }
  .biz-carousel-title { font-size: 15px; }
}


/* Floating AI Chatbot & Feedback buttons hide when cart drawer or modal is open */
body.cart-open #ai-chatbot-widget,
body.cart-open .feedback-fab,
body.cart-open #feedback-fab,
body.cart-open #bizFloatingCatFab,
body.modal-open #ai-chatbot-widget,
body.modal-open .feedback-fab,
body.modal-open #feedback-fab,
body.modal-open #bizFloatingCatFab,
body.chatbot-open #bizFloatingCatFab,
.chatbot-box:not(.hidden) ~ #bizFloatingCatFab,
.drawer.show ~ #ai-chatbot-widget,
.drawer.show ~ .feedback-fab,
.drawer.show ~ #feedback-fab,
.drawer.show ~ #bizFloatingCatFab,
.overlay.show ~ #ai-chatbot-widget,
.overlay.show ~ .feedback-fab,
.overlay.show ~ #feedback-fab,
.overlay.show ~ #bizFloatingCatFab {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---------- Sepet satırı ---------- */
.cart-item { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--card); border-radius: 14px; margin-bottom: 10px; }
.cart-item.cart-item-warn { border: 1.5px solid var(--red, #ef4444); background: rgba(239, 68, 68, 0.08); border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.cart-item-warn-msg { font-size: 12px; color: var(--red, #ef4444); font-weight: 700; margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.edit-cart-opts-btn { background: none; border: none; padding: 0; font-size: 12px; font-weight: 700; color: var(--primary); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.edit-cart-opts-btn.warn { color: var(--red, #ef4444); }
.cart-item .emoji { font-size: 30px; }
.cart-item .info { flex: 1; }
.cart-item .info .n { font-weight: 700; font-size: 14px; }
.cart-item .info .p { color: var(--primary); font-weight: 700; font-size: 13px; }

/* ---------- Sipariş durumu ---------- */
.steps { display: flex; justify-content: space-between; position: relative; margin: 20px 0; }
.steps::before { content: ''; position: absolute; top: 16px; left: 8%; right: 8%; height: 3px; background: var(--border); }
.steps .step { display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 1; flex: 1; }
.steps .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--card); border: 3px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--muted); }
.steps .step.done .dot { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.steps .step.active .dot { background: var(--primary); border-color: var(--primary); color: #fff; animation: pulse 1.4s infinite; }
.steps .step small { font-size: 10.5px; text-align: center; color: var(--muted); font-weight: 600; }
.steps .step.done small, .steps .step.active small { color: var(--text); }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(255,107,53,.5);} 50%{ box-shadow: 0 0 0 8px rgba(255,107,53,0);} }

/* ---------- Harita ---------- */
.map { width: 100%; height: 320px; border-radius: var(--radius); overflow: hidden; z-index: 1; }
.map-lg { height: 60vh; }
.courier-pin { font-size: 30px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }

/* ---------- Badge / etiket ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.tag.pending { background: #fef3c7; color: #92400e; }
.tag.accepted, .tag.preparing { background: #dbeafe; color: #1e40af; }
.tag.ready { background: #ede9fe; color: #6d28d9; }
.tag.on_the_way { background: #ffedd5; color: #c2410c; }
.tag.delivered { background: #d1fae5; color: #065f46; }
.tag.cancelled { background: #fee2e2; color: #991b1b; }
.tag.iptal { background: #fee2e2 !important; color: #991b1b !important; border: 1px solid #ef4444 !important; }
.tag.iade  { background: #dbeafe !important; color: #1e40af !important; border: 1px solid #3b82f6 !important; }
html.dark-mode .tag.iptal { background: #7f1d1d !important; color: #fee2e2 !important; border-color: #dc2626 !important; }
html.dark-mode .tag.iade  { background: #1e3a8a !important; color: #dbeafe !important; border-color: #3b82f6 !important; }

.type-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 800; }
.type-tag.order { background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(22,163,74,0.25); }
.type-tag.courier { background: var(--bg-muted, #f1f5f9); color: var(--muted, #475569); border: 1px solid var(--border, #cbd5e1); }
html.dark-mode .type-tag.courier { background: rgba(255,255,255,0.08); color: #cbd5e1; border-color: var(--border); }



/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 16px); left: 50%; transform: translateX(-50%); z-index: 10000; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: 90%; }
.toast { background: var(--brand-dark); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); animation: toastIn .3s; }
.toast.ok { background: var(--primary-dark); } .toast.err { background: var(--red); }
.toast.warn { background: var(--amber, #f59e0b); color: #fff; } .toast.info { background: var(--blue, #2563eb); color: #fff; }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } }

/* ---------- Payment Status Cards ---------- */
.pay-pending-card { border: 1px solid var(--primary) !important; }
html.dark-mode .pay-pending-card { border: 1px solid var(--primary) !important; }

.pay-review-card { border: 1px solid var(--amber, #f59e0b) !important; }
.pay-review-card b { color: #b45309; }
html.dark-mode .pay-review-card { border: 1px solid var(--amber, #f59e0b) !important; }
html.dark-mode .pay-review-card b { color: #fbbf24; }

/* ---------- Empty / loading ---------- */
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty .em { font-size: 56px; margin-bottom: 12px; }
.skeleton { background: linear-gradient(90deg,#eee,#f5f5f5,#eee); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.spinner { width: 34px; height: 34px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; margin: 30px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Panel (işletme/kurye) ---------- */
.panel-head { background: var(--brand-dark); color:#fff; padding: 20px 18px; }
.panel-head .muted { color: rgba(255,255,255,0.9) !important; opacity: 1 !important; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 12px; }
.stat { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.stat .v { font-size: 26px; font-weight: 900; color: var(--primary); }
.stat .l { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Admin Dashboard High-End Styling */
.admin-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 20px; }
.admin-kpi-card { background: var(--card); border-radius: 12px; padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.admin-kpi-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.admin-kpi-card .kpi-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.admin-kpi-card .kpi-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.admin-kpi-card .kpi-val { font-size: 28px; font-weight: 900; color: var(--text); line-height: 1.1; }
.admin-kpi-card .kpi-lbl { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 4px; }

.fin-panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 16px; margin-bottom: 20px; }
.fin-card { background: var(--card); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.fin-card-head { font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.fin-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.fin-row:last-child { border-bottom: none; }
.fin-row .label { color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.fin-row .val { font-weight: 800; color: var(--text); }
.tabs { display: flex; gap: 6px; background: var(--card); padding: 6px; border-radius: 14px; box-shadow: var(--shadow); margin: 16px 0; }
.tabs button { flex: 1; padding: 10px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); }
.tabs button.active { background: var(--brand-dark); color: #fff; }
@media (max-width: 780px) {
  .tabs { flex-wrap: wrap; }
  .tabs button { flex: 1 1 22%; padding: 10px 6px; font-size: 13px; white-space: nowrap; }
}

.order-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; border-left: 4px solid var(--primary); }
.order-card .oc-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.order-card .oc-items { font-size: 13px; color: var(--muted); margin: 8px 0; }
.divider { height: 1px; background: var(--border); margin: 12px 0; }

/* ============================================================
   SPLASH (açılış) & ONBOARDING (tanıtım)
   ============================================================ */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--brand-dark);
  color: #fff; transition: opacity .4s ease, visibility .4s;
}
.splash.hide { opacity: 0; visibility: hidden; }
.splash .s-logo {
  font-size: 64px; line-height: 1;
  animation: splashPop .4s cubic-bezier(.2,.7,.3,1);
  display: flex; align-items: center; justify-content: center;
}
.splash .s-logo img { width: 56px; height: 56px; object-fit: contain; display: block; background: #ffffff; padding: 8px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.splash .s-name { font-size: 24px; font-weight: 800; letter-spacing: .3px; }
.splash .s-tag { font-size: 14px; opacity: .8; margin-top: -10px; }
.splash .s-bar { width: 140px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; margin-top: 8px; }
.splash .s-bar span { display: block; height: 100%; width: 40%; background: #fff; border-radius: 4px; animation: splashBar 1.1s ease-in-out infinite; }
@keyframes splashPop { from { transform: scale(.85); opacity: 0; } }
@keyframes splashBar { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

.onboarding {
  position: fixed; inset: 0; z-index: 9500; background: var(--card);
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: .3s;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.onboarding.show { opacity: 1; visibility: visible; }
.onboarding .ob-slides { flex: 1; display: flex; overflow: hidden; }
.onboarding .ob-slide {
  min-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 32px; gap: 14px; transition: transform .35s ease;
}
.onboarding .ob-emoji { font-size: 68px; }
.onboarding .ob-slide h2 { font-size: 26px; font-weight: 900; color: var(--text); }
.onboarding .ob-slide p { color: var(--muted); max-width: 320px; font-size: 15px; }
.onboarding .ob-foot { padding: 24px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.onboarding .ob-dots { display: flex; gap: 8px; }
.onboarding .ob-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); transition: .2s; }
.onboarding .ob-dots i.on { background: var(--primary); width: 26px; border-radius: 6px; }
.onboarding .ob-skip { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: 20px; color: var(--muted); font-weight: 600; font-size: 14px; z-index: 2; }

/* ============================================================
   MÜŞTERİ MAĞAZASI (body.shop) — FreshDirect tarzı ferah tema
   ============================================================ */
/* MÜŞTERİ MAĞAZASI (body.shop) — FreshDirect / Getir tarzı net ve ferah tema */
body.shop { background: #f8faf9; }
body.shop .header {
  background: #ffffff !important;
  backdrop-filter: blur(12px);
  color: #0f291e !important;
  box-shadow: 0 2px 16px rgba(15,41,30,.08);
  border-bottom: 1.5px solid #e2e8f0;
}
body.shop .header .logo { color: var(--primary, #16a34a) !important; font-weight: 900; }
body.shop .header .logo .badge { background: #ffffff; font-weight: 800; }
body.shop .header .loc small { color: #64748b !important; opacity: 1; font-weight: 700; }
body.shop .header .loc b { color: #0f291e !important; font-weight: 800; }
body.shop .header .icon-btn { background: var(--primary-soft, #e7f7ed) !important; color: var(--primary, #16a34a) !important; border: 1px solid var(--border, #c8ecd5) !important; }
body.shop .header .icon-btn:hover { opacity: 0.85; }

body.shop .header .hdr-courier {
  background: var(--primary-soft, #e7f7ed) !important;
  color: var(--primary, #16a34a) !important;
  border: 1px solid var(--border, #c8ecd5) !important;
  box-shadow: none !important;
}
body.shop .header .hdr-courier i,
body.shop .header .hdr-courier span {
  color: var(--primary, #16a34a) !important;
  font-weight: 800 !important;
}
body.shop .header .hdr-courier:hover {
  background: var(--primary, #16a34a) !important;
}
body.shop .header .hdr-courier:hover i,
body.shop .header .hdr-courier:hover span {
  color: #ffffff !important;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #eaf6ee 0%, #d4f2de 100%);
  border-radius: 20px;
  padding: 34px 32px;
  overflow: hidden;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e2efe6;
  min-height: 230px;
}
.hero .h-left { z-index: 2; max-width: 540px; position: relative; }
.hero h1 {
  font-size: clamp(26px, 3.8vw, 36px);
  font-weight: 900; line-height: 1.15; letter-spacing: -.5px;
  color: var(--brand-dark, #14532d) !important;
}
.hero h1 .accent { color: var(--primary, #16a34a) !important; }
.hero p { color: #2f6f4e !important; margin: 12px 0 20px; font-size: 15px; font-weight: 600; max-width: 440px; }
.hero:has([data-fit="full_poster"]) {
  min-height: 0 !important;
}
.hero .h-art {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 52%; height: 100%;
  z-index: 1; pointer-events: none;
  border-radius: 0 20px 20px 0;
  overflow: hidden;
}
.hero .h-art img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: var(--focal-x, 50%) var(--focal-y, 50%);
  border-radius: 0 20px 20px 0;
  mix-blend-mode: normal;
  mask-image: linear-gradient(to right, transparent 0%, black 22%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 22%);
  transition: transform 0.4s ease;
}
.hero:hover .h-art img { transform: scale(1.02); }
.hero .h-art[data-fit="full_poster"] {
  position: relative !important; width: 100% !important; height: auto !important; aspect-ratio: 1200 / 400; border-radius: 20px !important;
  mask-image: none !important; -webkit-mask-image: none !important; z-index: 1 !important;
}
.hero .h-art[data-fit="full_poster"] img {
  width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: var(--focal-x, 50%) var(--focal-y, 50%) !important;
  border-radius: 20px !important; mask-image: none !important; -webkit-mask-image: none !important; padding: 0 !important;
}
.hero .h-art[data-fit="cover"],
.hero .h-art[data-fit="studio"] {
  position: absolute !important; right: 0 !important; top: 0 !important; bottom: 0 !important; left: auto !important;
  width: 52% !important; height: 100% !important; border-radius: 0 20px 20px 0 !important;
  z-index: 1 !important;
}
.hero .h-art[data-fit="cover"] img,
.hero .h-art[data-fit="studio"] img {
  width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: var(--focal-x, 50%) var(--focal-y, 50%) !important;
  border-radius: 0 20px 20px 0 !important;
  mask-image: linear-gradient(to right, transparent 0%, black 22%) !important;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 22%) !important;
  padding: 0 !important;
}
.hero .h-art[data-fit="contain"] { mask-image: none !important; -webkit-mask-image: none !important; }
.hero .h-art[data-fit="contain"] img { object-fit: contain !important; object-position: center center !important; mask-image: none !important; -webkit-mask-image: none !important; padding: 6px; }
.hero .h-art[data-fit="mascot"] { mask-image: none !important; -webkit-mask-image: none !important; }
.hero .h-art[data-fit="mascot"] img { object-fit: contain !important; object-position: center center !important; mask-image: none !important; -webkit-mask-image: none !important; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.18)); padding: 8px; }
.hero .btn { width: auto; padding: 13px 26px; border-radius: 10px; font-size: 15px; background: #16a34a; color: #fff; }
.hero .btn.ghost { background: #ffffff !important; color: var(--primary, #16a34a) !important; border: 1.5px solid var(--primary, #16a34a) !important; box-shadow: none !important; }
.hero .btn.ghost:hover { background: #f0fdf4 !important; }
html.dark-mode .hero .btn.ghost { background: var(--card, #1e293b) !important; color: #4ade80 !important; border-color: #16a34a !important; }
html.dark-mode .hero .btn.ghost:hover { background: rgba(22, 163, 74, 0.2) !important; }


/* Kategori Başlığı */
.section-title {
  font-size: 20px; font-weight: 900; margin: 24px 4px 14px;
  display: flex; align-items: center; gap: 8px;
  color: var(--text) !important;
}

/* Pastel kategori kutuları */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.cat-tile {
  border-radius: 10px; padding: 16px 14px 14px; cursor: pointer;
  transition: transform .15s, box-shadow .15s; position: relative; min-height: 118px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(0,0,0,0.06);
}
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.cat-tile .em { font-size: 30px; }
.cat-tile .em-img { width: 42px; height: 42px; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.cat-tile .em-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-tile .lbl { font-weight: 800; font-size: 14px; color: #0f291e !important; }
.cat-tile .sub { font-size: 11.5px; color: #334155 !important; font-weight: 700; opacity: 1; }
.cat-c0 { background: #eafaf0; } .cat-c1 { background: #fff4d6; }
.cat-c2 { background: #e6f0ff; } .cat-c3 { background: #ffe9e0; }
.cat-c4 { background: #f0e9ff; } .cat-c5 { background: #e0f7f4; }
.cat-c6 { background: #fdeaf3; }

/* Mağaza Çipleri (Filtreler) */
/* ============================================================
   MAIN SEARCH BAR (Mobil & Masaüstü Web Uyumlu Arama Çubuğu)
   ============================================================ */
.main-search-bar {
  position: relative;
  margin: 12px 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.main-search-bar .search-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}
.main-search-bar .search-input-wrap i.s-ico {
  position: absolute;
  left: 18px;
  color: var(--muted, #64748b);
  font-size: 17px;
  pointer-events: none;
  z-index: 2;
}
.main-search-bar input.search-input {
  width: 100%;
  padding: 14px 18px 14px 50px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  background: var(--card, #ffffff);
  border: 1.5px solid var(--border, #e2e8f0);
  color: var(--text, #0f291e);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.main-search-bar input.search-input:focus {
  border-color: var(--primary, #16a34a);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.15);
}
.main-search-bar .s-filter-btn {
  background: var(--primary, #16a34a) !important;
  color: #ffffff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  transition: transform 0.15s, background 0.15s;
}
.main-search-bar .s-filter-btn:hover {
  background: #15803d;
  transform: translateY(-1px);
}
html.dark-mode .main-search-bar input.search-input {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

.chip {
  white-space: nowrap; padding: 9px 16px; border-radius: 10px;
  background: #ffffff !important; border: 1.5px solid #cbd5e1 !important; color: #0f172a !important;
  font-weight: 700; font-size: 14px; transition: .15s; display: flex; align-items: center; gap: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.chip:hover { border-color: var(--primary, #16a34a) !important; color: var(--primary, #16a34a) !important; }
body.shop .chip.active { background: var(--primary, #16a34a) !important; color: #ffffff !important; border-color: var(--primary, #16a34a) !important; font-weight: 800; }
/* Admin mahalle seçici (nb-chip): yukarıdaki !important kuralı yüzünden JS'in uyguladığı
   inline seçili-renk görünmüyordu (mahalle seçimi "görünmez" kalıyordu) — .selected sınıfı
   daha yüksek özgüllükle (2 sınıf) üzerine yazar. */
.nb-chip.selected { background: #16a34a !important; color: #ffffff !important; border-color: #16a34a !important; font-weight: 800; }

/* Rozet stilleri */
.badge-active { background: #16a34a; color: #ffffff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 12px; }
.badge-delivery { background: #e7f7ed; color: #15803d; border: 1px solid #bbf7d0; font-size: 12px; font-weight: 700; border-radius: 8px; padding: 2px 7px; display: inline-flex; align-items: center; gap: 4px; }
.badge-min-order { background: #f1f5f9; color: #475569; font-size: 12px; font-weight: 600; border-radius: 8px; padding: 2px 7px; display: inline-flex; align-items: center; gap: 4px; }
.badge-discount { background: #ef4444; color: #ffffff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; }

@media (max-width: 640px) {
  .header .logo span.full { display: none; }
  .header { gap: 8px; padding: 0 12px; }
  .header .icon-btn { width: 38px; height: 38px; font-size: 16px; }
  .header .loc b { max-width: 110px; }
  /* Alt menüde zaten var — mobilde header'da tekrar etme */
  body.shop #ordersBtn, body.shop #profileBtn { display: none; }
  .map-lg { height: 45vh; }
  .hero { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; }
  .hero p { margin-inline: auto; }
  .hero .h-art { margin-top: 16px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-tile { min-height: 108px; padding: 12px 10px; }
  .cat-tile .lbl { font-size: 12.5px; }
  .cat-tile .sub { font-size: 10px; }
}

/* ================================================================
   Gelişmiş Modern UI: Glassmorphism, i18n, Toast, Voice & AI Chatbot
   ================================================================ */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px 0 rgba(20, 48, 38, 0.08);
}

/* Toast Bildirim Sistemi */
.toast-msg {
  pointer-events: auto; min-width: 260px; max-width: 360px; padding: 14px 18px; z-index: 10000;
  border-radius: 16px; background: rgba(20, 48, 38, 0.92); color: #fff;
  font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex; align-items: center; gap: 10px; backdrop-filter: blur(10px);
  animation: slideInRight 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.toast-msg.success { background: rgba(22, 163, 74, 0.95); }
.toast-msg.error { background: rgba(225, 29, 72, 0.95); }
.toast-msg.info { background: rgba(37, 99, 235, 0.95); }
@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* i18n Dil Seçici */
.lang-picker {
  position: relative; display: inline-block;
}
.lang-picker select {
  background: rgba(255, 255, 255, 0.15); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 10px; border-radius: 12px; font-size: 13px; font-weight: 700; cursor: pointer; outline: none;
}
body.shop .lang-picker select {
  background: var(--primary-soft); color: var(--primary-dark); border-color: transparent;
}

/* Sesli Arama & AI Chatbot Widget */
.voice-search-btn {
  background: var(--primary);
  color: white; border: none; border-radius: 10px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: var(--shadow); cursor: pointer; transition: all 0.2s ease;
}
.voice-search-btn.listening {
  animation: pulseMic 1.2s infinite; background: var(--red);
}
@keyframes pulseMic {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

#ai-chatbot-widget {
  position: fixed; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 16px); right: 20px; z-index: 900;
}
.chatbot-toggle-btn {
  width: 52px; height: 52px; border-radius: 12px; background: var(--primary, #15803d);
  color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); cursor: pointer; transition: transform 0.15s;
}
.chatbot-toggle-btn:hover { transform: scale(1.05); }
.chatbot-box {
  width: 320px; height: 420px; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px);
  border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden; margin-bottom: 12px;
  animation: floatUp 0.2s ease forwards;
}
@keyframes floatUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.chatbot-header {
  background: var(--brand-dark); color: #fff;
  padding: 14px 16px; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center;
}
.chatbot-messages {
  flex: 1; padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px;
}
.chatbot-msg { padding: 10px 14px; border-radius: 16px; max-width: 82%; line-height: 1.4; }
.chatbot-msg.bot { background: var(--primary-soft); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.chatbot-msg.user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chatbot-input-row { display: flex; padding: 10px; border-top: 1px solid var(--border); gap: 8px; background: #fff; }
.chatbot-input-row input { flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; outline: none; }
.chatbot-quick-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px 0; }
.qa-chip {
  border: 1px solid var(--primary); color: var(--primary); background: #fff;
  border-radius: 20px; padding: 5px 10px; font-size: 11.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background 0.15s;
}
.qa-chip:hover { background: var(--primary-soft); }
.qa-chip.support { border-color: var(--brand-dark); color: var(--brand-dark); }

/* ================================================================
   Dark Mode – Karanlık Mod Desteği
   ================================================================ */
/* Karanlık tema TEK mekanizmadan yönetilir: <html>/<body> üzerindeki .dark-mode sınıfı.
   Bu blok eskiden @media (prefers-color-scheme: dark) idi; işletim sistemi karanlık moddayken
   --text açık renge dönüyor ama body.shop arka planı beyaz kaldığı için başlıklar okunmaz
   hale geliyordu (aydınlık zeminde açık gri yazı). İşletim sistemi tercihi artık ilk açılışta
   index.html'deki tema betiği tarafından .dark-mode sınıfına çevriliyor. */

html.dark-mode body, body.dark-mode { background: var(--bg); color: var(--text); }
html.dark-mode .input, html.dark-mode .select, html.dark-mode textarea.input { background: #1e293b; color: var(--text); border-color: var(--border); }
html.dark-mode .input:focus, html.dark-mode .select:focus, html.dark-mode textarea.input:focus { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25); }
html.dark-mode .modal-box { background: var(--card); }
html.dark-mode .biz-card { border-color: var(--border); }
html.dark-mode .prod-card { border-color: var(--border); }
html.dark-mode .chip { background: var(--card); border-color: var(--border); color: var(--text); }
html.dark-mode .btn.ghost { background: var(--card); color: var(--text); border-color: var(--border); }
html.dark-mode .chatbot-box { background: rgba(26, 31, 46, 0.96); border-color: var(--border); }
html.dark-mode .chatbot-input-row { background: #1a1f2e; border-color: var(--border); }
html.dark-mode .chatbot-input-row input { background: #0f1419; color: var(--text); border-color: var(--border); }
html.dark-mode .chatbot-msg.bot { background: rgba(22, 163, 74, 0.15); }
html.dark-mode .qa-chip { background: #1a1f2e; }

/* ================================================================
   Girdiler & Form Elemanları (Aydınlık & Karanlık Uyumlu)
   ================================================================ */
.input, .select, textarea.input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid #cbd5e1; background: #ffffff; color: #0f172a !important; outline: none; transition: .15s;
}
.input::placeholder, textarea.input::placeholder { color: #64748b !important; opacity: 1; }
/* NOT: .input bu dosyada iki kez tanımlı (bkz. satır 155). Bu ikinci blok sonra geldiği
   için kazanıyor. Eskiden burada odak rengi elle #0d9488 (turkuaz) yazılıydı; butonlar
   yeşilken odak halkaları turkuaz çıkıyordu. Marka rengi artık değişkenden okunuyor. */
.input:focus, .select:focus, textarea.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2); }

/* ================================================================
   KARANLIK MOD (DARK MODE) - A'DAN Z'YE KUSURSUZ OKUNURLUK
   ================================================================ */
html.dark-mode, body.dark-mode {
  --bg: #0f172a;
  --card: #1e293b;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --border: #334155;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --primary-soft: rgba(22, 163, 74, 0.15);
  --red-border: rgba(239, 68, 68, .35);
  --red-tint:   rgba(239, 68, 68, .10);
  --warn-bg:   rgba(245, 158, 11, .12); --warn-text:   #fcd34d; --warn-line: #f59e0b;
  --info-bg:   rgba(16, 185, 129, .12); --info-text:   #6ee7b7; --info-line: #10b981;
  --danger-bg: rgba(239, 68, 68, .12);  --danger-text: #fca5a5; --danger-line: #ef4444;
  --emerald-text: #6ee7b7;
  --amber-text:   #fcd34d;
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

html.dark-mode body {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

/* Modal & Çekmece (Sepet) Dark Mode Fix */
html.dark-mode .modal,
html.dark-mode .modal-box,
html.dark-mode .drawer,
html.dark-mode .d-head,
html.dark-mode .d-body,
html.dark-mode .d-foot {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

html.dark-mode .modal h2,
html.dark-mode .modal h3,
html.dark-mode .modal label,
html.dark-mode .modal b,
html.dark-mode .modal span,
html.dark-mode .modal div,
html.dark-mode .modal p,
html.dark-mode .d-head h3,
html.dark-mode .d-foot b,
html.dark-mode .d-foot div,
html.dark-mode .d-foot span,
html.dark-mode .d-foot p,
html.dark-mode .d-foot small {
  color: #f8fafc !important;
}

/* Form Girdileri (Input, Select, Textarea) Dark Mode Fix */
html.dark-mode input,
html.dark-mode select,
html.dark-mode textarea,
html.dark-mode .input,
html.dark-mode .select {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border-color: #475569 !important;
}

html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder,
html.dark-mode .input::placeholder {
  color: #94a3b8 !important;
  opacity: 1;
}

html.dark-mode select option {
  background-color: #0f172a !important;
  color: #ffffff !important;
}

/* Sepet Kalemleri (Cart Item) Dark Mode Fix */
html.dark-mode .cart-item {
  background-color: #0f172a !important;
  border: 1px solid #334155 !important;
}

html.dark-mode .cart-item .info .n {
  color: #ffffff !important;
  font-weight: 700;
}

html.dark-mode .cart-item .info .p {
  color: #4ade80 !important;
  font-weight: 800;
}

/* Toplam Tutarlar (Sepet ve Modal Altı) Dark Mode Fix */
html.dark-mode .d-foot .total-row,
html.dark-mode .d-foot .row,
html.dark-mode .d-foot small,
html.dark-mode .d-foot span,
html.dark-mode .d-foot b {
  color: #f8fafc !important;
}

html.dark-mode .d-foot .muted,
html.dark-mode .modal .muted {
  color: #cbd5e1 !important;
}

/* Kupon Kodu Input */
html.dark-mode #couponInput,
html.dark-mode input[placeholder*="KUPON"] {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border-color: #475569 !important;
}

/* Header & Nav */
html.dark-mode .header {
  background: #1e293b !important;
  color: #f8fafc !important;
  border-bottom: 1.5px solid #334155 !important;
}

html.dark-mode .header .logo { color: #4ade80 !important; }
html.dark-mode .header .loc b { color: #ffffff !important; }
html.dark-mode .header .loc small { color: #cbd5e1 !important; }
html.dark-mode .header .icon-btn { background: #334155 !important; color: #4ade80 !important; border-color: #475569 !important; }

html.dark-mode .hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  border: 1px solid #334155 !important;
}
html.dark-mode .hero h1 { color: #ffffff !important; }
html.dark-mode .hero p { color: #cbd5e1 !important; }

html.dark-mode .section-title { color: #ffffff !important; }

html.dark-mode .cat-tile {
  background: #1e293b !important;
  border: 1.5px solid #334155 !important;
}
html.dark-mode .cat-tile .lbl { color: #ffffff !important; }
html.dark-mode .cat-tile .sub { color: #cbd5e1 !important; opacity: 1 !important; }

html.dark-mode .chip {
  background: #1e293b !important;
  color: #f8fafc !important;
  border: 1.5px solid #334155 !important;
}
html.dark-mode .chip.active {
  background: var(--primary, #16a34a) !important;
  color: #ffffff !important;
  border-color: var(--primary, #16a34a) !important;
}

html.dark-mode .biz-card,
html.dark-mode .prod-card {
  background: #1e293b !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}
html.dark-mode .biz-card .name,
html.dark-mode .prod-card .name { color: #ffffff !important; }
html.dark-mode .biz-card .meta,
html.dark-mode .prod-card .desc { color: #cbd5e1 !important; }

html.dark-mode .bottom-nav {
  background: #1e293b !important;
  border-top: 1.5px solid #334155 !important;
}
html.dark-mode .bottom-nav button { color: #cbd5e1 !important; }
html.dark-mode .bottom-nav button i { color: #cbd5e1 !important; }
html.dark-mode .bottom-nav button.active,
html.dark-mode .bottom-nav button.active i { color: #4ade80 !important; }

/* ================================================================
   Toast Bildirimleri
   ================================================================ */
#toast-container {
  position: fixed; top: calc(80px + env(safe-area-inset-top, 0px)); right: 16px; z-index: 10000;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 380px; width: calc(100vw - 32px);
  pointer-events: none;
}
/* DİKKAT: Bu bölüm yalnızca notification.js'in soket bildirimlerine (#toast-container)
   aittir. Kural adı `.toast`, api.js'in `.toast-wrap > .toast` bildirimleriyle aynı —
   scope'suz bırakılırsa (dosyada sonra geldiği için) onları da opacity:0 yapıp
   TÜM panellerde "Kaydedildi ✓" gibi geri bildirimleri görünmez kılıyordu. */
#toast-container .toast {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  pointer-events: all; cursor: default;
  transform: translateX(120%); opacity: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}
body.dark-mode #toast-container .toast { background: rgba(26, 31, 46, 0.95); border-color: var(--border); }
#toast-container .toast.toast-enter { transform: translateX(0); opacity: 1; }
#toast-container .toast.toast-exit { transform: translateX(120%); opacity: 0; }
#toast-container .toast-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
#toast-container .toast-info .toast-icon { color: #3b82f6; }
#toast-container .toast-success .toast-icon { color: #16a34a; }
#toast-container .toast-warning .toast-icon { color: #f59e0b; }
#toast-container .toast-error .toast-icon { color: #ef4444; }
#toast-container .toast-order .toast-icon { color: #8b5cf6; }
#toast-container .toast-body { flex: 1; min-width: 0; }
#toast-container .toast .toast-msg { display: block; font-weight: 600; font-size: 14px; line-height: 1.4; }
#toast-container .toast-time { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
#toast-container .toast-close {
  background: none; border: none; color: var(--muted); font-size: 20px;
  cursor: pointer; padding: 0; line-height: 1; flex-shrink: 0;
}
#toast-container .toast-close:hover { color: var(--text); }

/* ================================================================
   Feedback Widget
   ================================================================ */
.feedback-fab {
  position: fixed; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 76px); right: 20px; z-index: 800;
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--primary);
  color: #fff; font-size: 22px; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
  transition: bottom 0.25s ease, transform 0.2s, box-shadow 0.2s;
}
.feedback-fab:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45); }
.feedback-fab.active { transform: rotate(45deg) scale(1.08); }

.feedback-modal { display: none; position: fixed; inset: 0; z-index: 850; }
.feedback-modal.open { display: block; }
.feedback-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
.feedback-panel {
  position: absolute; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 36px); right: 20px;
  width: 340px; max-width: calc(100vw - 40px); max-height: 80vh;
  background: var(--card); border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  overflow-y: auto; animation: floatUp 0.3s ease forwards;
}
body.dark-mode .feedback-panel { background: #1a1f2e; }
.feedback-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px 12px; border-bottom: 1px solid var(--border);
}
.feedback-header h3 { font-size: 17px; font-weight: 800; }
.feedback-close {
  background: none; border: none; font-size: 24px; color: var(--muted);
  cursor: pointer; padding: 0; line-height: 1;
}
.feedback-close:hover { color: var(--text); }
.feedback-form { padding: 16px 20px 20px; }

/* Yıldız Rating */
.star-rating { display: flex; gap: 6px; }
.star-rating .star {
  font-size: 28px; color: #d1d5db; cursor: pointer;
  transition: color 0.15s, transform 0.15s; background: none; border: none; padding: 0;
}
.star-rating .star.active { color: #f59e0b; }
.star-rating .star:hover { transform: scale(1.2); color: #fbbf24; }

.feedback-result {
  margin-top: 12px; padding: 10px 14px; border-radius: 12px;
  font-size: 14px; font-weight: 600; text-align: center;
}
.feedback-result.success { background: #dcfce7; color: #166534; }
.feedback-result.error { background: #fee2e2; color: #991b1b; }
body.dark-mode .feedback-result.success { background: rgba(22, 163, 74, 0.15); color: #4ade80; }
body.dark-mode .feedback-result.error { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* ================================================================
   Erişilebilirlik (Accessibility)
   ================================================================ */
/* Focus outline */
*:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
/* Skip link */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--primary); color: #fff; padding: 10px 18px;
  border-radius: 0 0 12px 12px; font-weight: 700; z-index: 10001;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* High contrast */
@media (prefers-contrast: high) {
  :root {
    --border: #000;
    --muted: #333;
  }
  .btn { border: 2px solid #000; }
  .card { border: 2px solid #000; }
}

/* ================================================================
   Micro-Animasyonlar
   ================================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.animate-fade { animation: fadeIn 0.3s ease; }
.animate-slide { animation: slideUp 0.4s ease; }
.animate-pulse { animation: pulse 2s infinite; }

/* PDF Export & Print Kuralları */
@media print {
  .splash { display: none !important; }
  .bottom-nav, #cartFloatBtn, .toast, .floating-ai-btn { display: none !important; }
  body { background: #ffffff !important; }
  .header { position: relative !important; box-shadow: none !important; }
}

/* ================================================================
   FLAŞ İNDİRİM & KAMPANYALAR (GETİR / YEMEKSEPETİ STİLİ)
   ================================================================ */
.flash-hero-card {
  background: var(--brand-dark);
  border-radius: 20px;
  padding: 22px 24px;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(20, 83, 45, 0.25);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.flash-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.flash-badge-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.flash-logo-badge {
  background: #ff1744;
  color: #fff;
  font-weight: 900;
  font-size: 24px;
  padding: 6px 16px;
  border-radius: 12px;
  font-style: italic;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(255, 23, 68, 0.4);
  transform: skewX(-8deg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.flash-timer-box {
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-family: 'Inter', monospace;
  font-weight: 900;
  font-size: 20px;
  padding: 8px 16px;
  border-radius: 12px;
  letter-spacing: 2px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.flash-tiers-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.flash-tier-badge {
  background: #ffffff;
  color: #111111;
  border-radius: 12px;
  padding: 8px 14px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 130px;
}
.flash-tier-top {
  background: #ef4444;
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 3px;
  white-space: nowrap;
}
.flash-tier-bottom {
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}
.flash-notice {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 14px;
  line-height: 1.4;
  opacity: 0.95;
}

/* Slider Carousel */
.carousel-relative {
  position: relative;
}
.carousel-track-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 4px 16px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track-container::-webkit-scrollbar {
  display: none;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  opacity: 0.85;
  transition: all 0.2s ease;
  border: 2px solid #ffffff;
}
.carousel-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn.prev { left: -16px; }
.carousel-btn.next { right: -16px; }

/* Section Titles for Flash & Campaigns */
.flash-section-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
}

/* Restoran & Kampanya Flaş Kartı */
.flash-biz-card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  flex: 0 0 260px;
  max-width: 260px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  color: var(--text);
}
.flash-biz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.flash-biz-thumb {
  height: 140px;
  width: 100%;
  object-fit: cover;
  position: relative;
  background: #f1f5f9;
}
.flash-biz-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 4px;
}
.flash-biz-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.flash-biz-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.rating-tag {
  background: #16a34a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}
.flash-biz-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.flash-biz-info {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.flash-biz-body b {
  color: var(--text);
}
html.dark-mode .flash-biz-body b,
body.dark-mode .flash-biz-body b {
  color: #ffffff !important;
}

/* Promosyon Banner */
.promo-bar-banner {
  background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
  border-radius: 16px;
  padding: 16px 24px;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.promo-bar-banner:hover {
  transform: scale(1.01);
}

/* Filtre & Kampanyalar İkili Düzen */
.home-dual-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 860px) {
  .home-dual-grid {
    grid-template-columns: 1fr;
  }
}
.filter-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
  color: var(--text);
}
.filter-option:hover {
  background: var(--bg);
}
.filter-option.active {
  background: var(--primary-soft);
  color: var(--primary);
}

/* ================================================================
   FOOTER STYLES (HIGH CONTRAST & LEGIBLE)
   ================================================================ */
.app-footer {
  padding: 28px 16px 100px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
  font-size: 13px;
  color: #334155 !important;
}
.app-footer .footer-brand {
  font-weight: 900;
  color: #0f172a !important;
  font-size: 17px;
  margin-bottom: 12px;
}
.app-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.app-footer .footer-links a {
  color: #334155 !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(51, 65, 85, 0.3);
  transition: color 0.15s, text-decoration-color 0.15s;
}
.app-footer .footer-links a:hover {
  color: #0f172a !important;
  text-decoration-color: #0f172a;
}
.app-footer .footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 22px;
  color: #475569 !important;
}
/* ================================================================
   ULTRA-PREMIUM FOOTER
   ================================================================ */
.app-footer {
  background: linear-gradient(135deg, #0b1320 0%, #111c2e 60%, #0f172a 100%) !important;
  color: #94a3b8 !important;
  padding: 48px 0 24px !important;
  margin-top: 50px !important;
  border-top: 3.5px solid var(--primary, #16a34a) !important;
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  /* Dokunma hedefi: footer bağlantıları 17-20px yüksekliğindeydi, parmakla
     isabet ettirmek zordu. Görsel boyut aynı kalır, tıklama alanı büyür. */
  .footer-col a { display: inline-block; padding: 7px 0; }
}

.footer-col .footer-heading {
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
  position: relative;
  display: inline-block;
}

.footer-col .footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--primary, #16a34a);
  border-radius: 2px;
}

.brand-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.brand-col .logo-icon {
  font-size: 24px;
  background: #ffffff;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.brand-col .logo-icon img { width: 28px; height: 28px; object-fit: contain; display: block; }

.brand-col .logo-text {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff !important;
  letter-spacing: -0.5px;
}

.footer-slogan {
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbd5e1 !important;
  margin-bottom: 18px;
  max-width: 300px;
}

.app-download-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.app-badge-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: 10px;
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.2s ease;
}

.app-badge-btn:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  transform: translateY(-2px);
}

.app-badge-btn i { font-size: 20px; color: #4ade80; }
.app-badge-btn small { display: block; font-size: 9px; color: #94a3b8; font-weight: 700; letter-spacing: 0.5px; }
.app-badge-btn b { display: block; font-size: 13px; font-weight: 800; line-height: 1.1; }

.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-menu li a {
  color: #cbd5e1 !important;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-menu li a:hover {
  color: #4ade80 !important;
  transform: translateX(4px);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.contact-card .icon {
  font-size: 18px;
  color: #4ade80;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card .icon.whatsapp { color: #25d366; background: rgba(37, 211, 102, 0.15); }
.contact-card small { display: block; font-size: 11px; color: #94a3b8; }
.contact-card a { color: #ffffff !important; font-size: 14px; font-weight: 800; text-decoration: none; }
.contact-card a:hover { color: #4ade80 !important; }

.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: all 0.2s ease; text-decoration: none;
}

.social-links a:hover {
  background: var(--primary, #16a34a); color: #ffffff !important; transform: translateY(-2px);
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #94a3b8;
}

.footer-payments { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ssl-tag {
  font-size: 12.5px; color: var(--primary, #4ade80) !important; font-weight: 800; display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-soft, rgba(34, 197, 94, 0.15)); padding: 6px 12px; border-radius: 8px; border: 1.5px solid var(--primary, #22c55e);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.pay-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ffffff !important; color: #0f172a !important;
  padding: 5px 10px; border-radius: 8px; font-weight: 900; font-size: 13px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); border: 1px solid #ffffff;
  letter-spacing: -0.2px; user-select: none; transition: transform 0.15s ease;
}
.pay-badge:hover { transform: translateY(-2px); }

/* Visa Badge */
.pay-badge.visa-badge { color: #1434CB !important; font-style: italic; font-size: 14px; font-weight: 900; }
.pay-badge.visa-badge i { font-size: 18px; color: #1434CB !important; }

/* Mastercard Badge */
.pay-badge.master-badge { color: #0f172a !important; font-size: 12px; font-weight: 800; }
.mc-circles { display: inline-flex; position: relative; width: 22px; height: 14px; align-items: center; }
.mc-red { width: 14px; height: 14px; border-radius: 50%; background: #EB001B; display: inline-block; }
.mc-yellow { width: 14px; height: 14px; border-radius: 50%; background: #F79E1B; display: inline-block; margin-left: -7px; opacity: 0.95; }

/* Troy Badge */
.pay-badge.troy-badge { color: #004F9E !important; font-weight: 900; border-bottom: 2px solid #E30613; }

/* PayTR Badge (ödeme altyapısı iyzico'dan PayTR'ye geçti, 2026-09-09) */
.pay-badge.paytr-badge { color: #1B75BB !important; }
.pay-badge.paytr-badge b { color: #1B75BB !important; font-weight: 900; font-size: 14px; letter-spacing: 0.3px; }

/* ================================================================
   SİPARİŞLERİM KARTLARI (ORDER CARDS) — HIGH CONTRAST LIGHT & DARK
   ================================================================ */
.order-card {
  background: var(--card) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
  border-color: #16a34a !important;
}

.oc-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--border) !important;
}

.oc-head b {
  font-size: 17px !important;
  font-weight: 900 !important;
  color: var(--text) !important;
  display: block;
  margin-bottom: 4px;
}

.oc-head .muted {
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.oc-items {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  line-height: 1.5 !important;
  margin-bottom: 14px !important;
  background: rgba(22, 163, 74, 0.05);
  padding: 10px 14px;
  border-radius: 10px;
  border-left: 4px solid #16a34a;
}

.tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
}

.tag.created, .tag.pending { background: #fef3c7 !important; color: #92400e !important; border: 1px solid #f59e0b !important; }
.tag.preparing, .tag.accepted { background: #e0f2fe !important; color: #0369a1 !important; border: 1px solid #0284c7 !important; }
.tag.on_the_way { background: #dcfce7 !important; color: #15803d !important; border: 1px solid #22c55e !important; }
.tag.delivered { background: #d1fae5 !important; color: #065f46 !important; border: 1px solid #10b981 !important; }
.tag.cancelled { background: #fee2e2 !important; color: #991b1b !important; border: 1px solid #ef4444 !important; }
/* Nötr rozet: "Çevrimdışı", puan kırılımı etiketleri. Diğer .tag.X varyantları
   sabit renk çifti kullanıyor ve her biri ayrıca bir karanlık mod kuralı istiyor;
   burada tema değişkenleri kullanılıyor, o yüzden ikinci bir kurala gerek yok.
   Kural OLMADAN `class="tag muted"` yalnız .muted'in rengini alıyor, arka planı
   ve kenarlığı hiç gelmiyordu — yanındaki "Çevrimiçi" rozetiyle tutmuyordu. */
.tag.muted { background: var(--bg-muted) !important; color: var(--muted) !important; border: 1px solid var(--border) !important; box-shadow: none !important; }

html.dark-mode .order-card, body.dark-mode .order-card {
  background: #1e293b !important;
  border: 1.5px solid #334155 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

html.dark-mode .oc-head b, body.dark-mode .oc-head b { color: #ffffff !important; }
html.dark-mode .oc-head .muted, body.dark-mode .oc-head .muted { color: #cbd5e1 !important; }
html.dark-mode .oc-items, body.dark-mode .oc-items { background: #0f172a !important; color: #f8fafc !important; border-left-color: #4ade80 !important; }
html.dark-mode .tag.created, html.dark-mode .tag.pending { background: #78350f !important; color: #fef3c7 !important; border-color: #b45309 !important; }
html.dark-mode .tag.preparing, html.dark-mode .tag.accepted { background: #075985 !important; color: #e0f2fe !important; border-color: #0284c7 !important; }
html.dark-mode .tag.on_the_way { background: #14532d !important; color: #dcfce7 !important; border-color: #22c55e !important; }
html.dark-mode .tag.delivered { background: #064e3b !important; color: #d1fae5 !important; border-color: #10b981 !important; }
html.dark-mode .tag.cancelled { background: #7f1d1d !important; color: #fee2e2 !important; border-color: #dc2626 !important; }

/* İşletme sipariş kartı — ödeme yöntemi rozeti (2026-09-06). Durum etiketinin
   yanında durur; online = marka yeşili (para çekildi), kapıda = nötr gri
   (tahsilatı kurye yapar), iade = soluk gri. */
.tag.odeme-online { background: var(--primary-soft) !important; color: var(--brand-dark) !important; border: 1px solid var(--primary) !important; }
.tag.odeme-kapida { background: #f1f5f9 !important; color: #334155 !important; border: 1px solid #cbd5e1 !important; }
.tag.odeme-iade   { background: #e2e8f0 !important; color: #475569 !important; border: 1px solid #94a3b8 !important; }
html.dark-mode .tag.odeme-online { background: #14532d !important; color: #dcfce7 !important; border-color: #22c55e !important; }

/* Admin listeleri — online ödemenin sağlayıcısı (PayTR / iyzico), 2026-09-08.
   Nötr gri, marka rengi değil; .tag.muted'in renklerini alır, yalnız küçülür.
   Tema değişkenleri kullandığı için ayrı karanlık mod kuralı gerekmez. */
.tag.saglayici { padding: 2px 7px !important; font-size: 10.5px !important; font-weight: 700 !important; box-shadow: none !important; vertical-align: middle; }
html.dark-mode .tag.odeme-kapida { background: #1e293b !important; color: #e2e8f0 !important; border-color: #475569 !important; }
html.dark-mode .tag.odeme-iade   { background: #334155 !important; color: #cbd5e1 !important; border-color: #64748b !important; }

/* ================================================================
   MOBIL TEMA v2 — Getir/Yemeksepeti tarzi sade beyaz mobil arayuz:
   konum basligi, arama cubugu, hizli kategoriler, yesil hero,
   flas indirim karti, yatay vitrin satirlari, FAB'li alt menu
   ================================================================ */

/* ---- Header: konum bloğu (pin + iki satır + ok) ---- */
.header .loc { flex-direction: row; align-items: center; gap: 9px; }
.header .loc .loc-pin {
  width: 40px; height: 40px; border-radius: 13px; flex-shrink: 0;
  background: var(--primary-soft, #e7f7ed); color: var(--primary, #16a34a);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.header .loc .loc-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.header .loc .loc-caret { font-size: 11px; opacity: .75; }

/* ---- Header: Kurye Çağır pill butonu (mobil) ---- */
.hdr-courier {
  display: none; align-items: center; gap: 7px; flex-shrink: 0;
  background: #ffffff; color: #16a34a; font-weight: 800; font-size: 13.5px;
  border: 1.5px solid #e2ece6; border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 2px 10px rgba(15, 41, 30, .07);
}
.hdr-courier i { font-size: 15px; }
.hdr-courier:active { transform: scale(.97); }

/* ---- Alt menü: ortadaki yuvarlak FAB = Sepetim ---- */
/* Daha önce alt menüde hem FAB hem ayrı bir "Sepetim" sekmesi vardı (iki sepet girişi);
   sepet FAB'a taşındı, sayaç rozeti de yuvarlağın köşesinde gösteriliyor. */
.bottom-nav .nav-fab { display: flex; }
.bottom-nav .nav-fab .fab { position: relative; }
.bottom-nav .nav-fab .fab {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary);
  color: #ffffff !important; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(22, 163, 74, .35); margin-top: -20px;
  border: 4px solid #ffffff;
}
.bottom-nav .nav-fab .fab i { color: #ffffff !important; font-size: 22px; }
.bottom-nav .nav-fab:active .fab { transform: scale(.94); }
/* Sepet sayacı: yuvarlağın sağ üst köşesinde */
.bottom-nav .nav-fab .count {
  position: absolute; top: -3px; right: -3px; transform: none;
  background: #ef4444; color: #fff; font-size: 11px; font-weight: 800;
  min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #ffffff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

/* ---- Mobil arama çubuğu ---- */
.m-searchbar { display: none; align-items: center; gap: 10px; background: #ffffff;
  border: 1.5px solid #eceff1; border-radius: 18px; padding: 4px 6px 4px 16px;
  box-shadow: 0 3px 14px rgba(15, 41, 30, .06); margin-bottom: 14px; }
.m-searchbar .s-ico { color: #94a3b8; font-size: 16px; }
.m-searchbar input { flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  padding: 14px 0; font-size: 14.5px; font-weight: 600; color: #0f291e; }
.m-searchbar input::placeholder { color: #9aa5b1; font-weight: 500; }
.m-searchbar .s-filter { width: 44px; height: 44px; border-radius: 14px; background: #f5f8f6;
  color: #16a34a; font-size: 16px; display: flex; align-items: center; justify-content: center;
  border-left: 1px solid #eef2f0; }
.m-search-results { margin-bottom: 14px; }

/* ---- Hızlı kategori şeridi ---- */
.quick-cats { display: none; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.qc-tile { background: #ffffff; border: 1.5px solid #eef2f0; border-radius: 18px; min-width: 0;
  padding: 13px 3px 11px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: 0 3px 12px rgba(15, 41, 30, .05); transition: .15s; }
.qc-tile .qc-ico { font-size: 22px; color: #16a34a; line-height: 1; }
.qc-tile .qc-lbl { font-size: 11px; font-weight: 800; color: #0f291e; white-space: nowrap;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.qc-tile.active { border-color: #16a34a; background: #f2fbf5; }
.qc-tile:active { transform: scale(.96); }

/* ---- Hero güven rozetleri ---- */
.hero-feats { display: none; gap: 8px; margin-top: 16px; }
.hero-feats span { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 6px; background: #ffffff;
  border-radius: 14px; padding: 8px 7px; box-shadow: 0 2px 10px rgba(15, 41, 30, .07); }
.hero-feats span i { color: var(--primary, #16a34a); font-size: 14px; flex-shrink: 0; }
.hero-feats span b { font-size: 9px; font-weight: 800; color: #0f291e; line-height: 1.25; min-width: 0; }

/* ---- Vitrin satırları (yatay kaydırma) ---- */
#homeShowcase { display: block; }
.showcase-row { margin: 24px 0 12px; }
.showcase-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.showcase-head h3 { font-size: 18px; font-weight: 900; color: #0f291e; }
.showcase-head .see-all { color: var(--primary, #16a34a); font-size: 13.5px; font-weight: 800; display: flex; align-items: center; gap: 5px; cursor: pointer; border: none; background: none; }
.showcase-head .see-all i { font-size: 11px; }
.showcase-track { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 10px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.showcase-track::-webkit-scrollbar { display: none; }

.m-biz-card { flex: 0 0 165px; max-width: 165px; background: #ffffff; border-radius: 18px;
  border: 1.5px solid #eef2f0; overflow: hidden; scroll-snap-align: start; cursor: pointer;
  box-shadow: 0 3px 14px rgba(15, 41, 30, .06); transition: transform .15s, box-shadow .15s; }
.m-biz-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(15,41,30,.12); }
.m-biz-card:active { transform: scale(.97); }
.m-biz-card .m-thumb { position: relative; height: 105px; background: #eef4f0 center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; }
.m-biz-card .m-thumb-em { font-size: 36px; }
.m-biz-card .m-fav { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.94); color: #94a3b8; font-size: 14px; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.14); border: none; cursor: pointer; transition: .15s; }
.m-biz-card .m-fav.on { color: #ef4444; }
.m-biz-card .m-closed { position: absolute; inset: 0; background: rgba(0,0,0,.5); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.m-biz-card .m-body { padding: 11px 12px 14px; }
.m-biz-card .m-name { font-size: 14px; font-weight: 800; color: #0f291e;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-biz-card .m-meta { display: flex; align-items: center; gap: 7px; margin-top: 6px;
  font-size: 12px; font-weight: 700; color: #64748b; }
.m-biz-card .m-meta .m-star { color: #0f291e; display: inline-flex; align-items: center; gap: 3px; font-weight: 800; }
.m-biz-card .m-meta .m-star i { color: #eab308; font-size: 11px; }
.m-biz-card .m-meta .m-price { color: #0f291e; margin-left: auto; font-weight: 800; }
.m-biz-card .m-tag { display: inline-block; margin-top: 9px; background: var(--primary-soft, #e8f8ee); color: var(--primary, #15803d);
  font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 8px; }

/* ---- Flaş indirim kartı (beyaz kart + etiketli geri sayım) ---- */
.flash-hero-card {
  background: #ffffff !important;
  color: #0f291e;
  border: 1.5px solid #eef2f0;
  box-shadow: 0 4px 18px rgba(15, 41, 30, .07);
  padding: 16px 18px;
}
.flash-hero-header { align-items: center; }
.flash-badge-title { flex-direction: column; align-items: flex-start; gap: 9px; flex: 1; min-width: 190px; }
.flash-logo-badge {
  font-size: 13px; font-style: normal; letter-spacing: .2px; padding: 6px 13px;
  border-radius: 11px; transform: none; box-shadow: 0 3px 10px rgba(20, 131, 60, .28);
}
.flash-hero-copy b { display: block; font-size: 14.5px; font-weight: 900; color: #0f291e; }
.flash-hero-copy span { display: block; font-size: 12.5px; font-weight: 600; color: #2f6f4e; margin-top: 3px; }
.flash-timer-box {
  background: #f4f8f5; color: #0f291e; border: 1.5px solid #e6efe9;
  border-radius: 16px; padding: 10px 14px; letter-spacing: 0; box-shadow: none; gap: 8px;
}
.flash-timer-box .cd-unit { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 34px; }
.flash-timer-box .cd-unit b { font-size: 22px; font-weight: 900; line-height: 1; color: #0f291e; }
.flash-timer-box .cd-unit small { font-size: 9.5px; font-weight: 700; color: #64748b; }
.flash-timer-box .cd-sep { font-size: 20px; font-weight: 900; color: #0f291e; font-style: normal; margin-top: -8px; }
.flash-tiers-row { margin-top: 14px; }
.flash-notice { color: #64748b !important; }

/* ================================================================
   <= 780px — mobil düzen
   ================================================================ */
@media (max-width: 780px) {
  :root { --header-h: 74px; --nav-h: 68px; }

  body.shop .header {
    background: var(--card);
    box-shadow: none; border-bottom: 1px solid var(--border);
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
    padding-bottom: 8px;
    padding-left: 14px; padding-right: 14px; gap: 10px;
  }
  /* Sade mobil başlık: Geri/İleri + Konum + Kurye Çağır */
  body.shop .header .logo,
  body.shop #voiceSearchBtn,
  body.shop #ordersBtn,
  body.shop #profileBtn,
  body.shop #cartBtn { display: none !important; }
  .header .icon-btn { width: 36px; height: 36px; font-size: 15px; border-radius: 10px; flex-shrink: 0; }
  body.shop .header .icon-btn {
    background: var(--card); border: 1px solid var(--border); color: var(--text); }
  .header #bizName, .header #adminName { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
  .header .spacer { display: none; }
  .header .loc { flex: 1; min-width: 0; }
  .header .loc .loc-txt { flex: 1; }
  /* Dil seçici mobilde Profil sayfasına taşındı — başlık sade kalsın */
  body.shop #langPickerContainer { display: none; }
  body.shop .header .hdr-courier {
    background: var(--primary-soft, #e7f7ed) !important;
    color: var(--primary, #16a34a) !important;
    border: 1.5px solid var(--border, #c8ecd5) !important;
    padding: 7px 11px;
    font-size: 12.5px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  body.shop .header .hdr-courier i,
  body.shop .header .hdr-courier span {
    color: var(--primary, #16a34a) !important;
    font-weight: 800 !important;
  }
  .header .loc small { font-size: 11.5px; color: #7c8b83 !important; font-weight: 700; }
  .header .loc b { font-size: 15px; font-weight: 900; max-width: 100%; }

  .container { padding: 14px 16px; }
  .section-title { font-size: 17px !important; margin: 20px 2px 12px; }

  /* Mobil bileşenleri aç, masaüstü karşılıklarını gizle */
  .m-searchbar { display: flex; }
  .quick-cats { display: grid; }
  .hero-feats { display: flex; }
  #homeShowcase { display: block; }
  .hero-search, .desktop-cats, #courierCallCta, #heroCourierBtn { display: none !important; }

  /* Hero */
  .hero {
    display: block; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #f3fbf6 0%, #dcf2e4 100%);
    border: 1px solid #e3efe7; border-radius: 20px;
    padding: 0; text-align: left; margin-bottom: 16px;
  }
  .hero-slide-item { padding: 16px 14px 18px !important; border-radius: 20px; }
  /* Tam afiş kenardan kenara gider. Yukarıdaki iç boşluk YAZILI slayt için:
     başlık ve butonlar kenara yapışmasın diye. Afişte karşılığı yok — zemin
     renginde ince bir çerçeve olarak görünüyordu. Sınıf `customer.js`'te
     basılıyor; `:has()` kullanılmadı, eski WebView'lerde kural tamamen
     düşerdi ve çerçeve geri gelirdi. */
  .hero-slide-item.hero-slide-poster { padding: 0 !important; }
  .hero .h-left { max-width: 60% !important; z-index: 2; position: relative; }
  .hero h1 { font-size: 18px !important; line-height: 1.25 !important; letter-spacing: -.3px; max-width: 100% !important; color: #14532d !important; margin-bottom: 4px !important; }
  .hero p { font-size: 11px !important; font-weight: 600; max-width: 100% !important; margin: 4px 0 8px !important; line-height: 1.3 !important; color: #2d5a44 !important; }
  .hero .hero-cta-row { max-width: 100% !important; margin: 0 0 6px !important; gap: 6px !important; flex-direction: row !important; flex-wrap: wrap !important; }
  .hero .btn { padding: 8px 12px !important; font-size: 12px !important; border-radius: 10px !important; box-shadow: 0 3px 10px rgba(20,131,60,.18) !important; }
  .hero-feats { margin-top: 6px !important; gap: 4px !important; max-width: 100% !important; }
  .hero-feats span { padding: 5px 4px !important; border-radius: 8px !important; gap: 4px !important; }
  .hero-feats span i { font-size: 11px !important; }
  .hero-feats span b { font-size: 8px !important; line-height: 1.1 !important; }
  .hero .h-art {
    position: absolute; right: 0; top: 0; bottom: 0; width: 44%; height: 100%;
    margin: 0; border-radius: 0 20px 20px 0; background: none; overflow: hidden; pointer-events: none; z-index: 1;
  }
  .hero .h-art img {
    width: 100%; height: 100%; object-fit: cover; object-position: var(--focal-x, 50%) var(--focal-y, 50%);
    border-radius: 0 20px 20px 0; mix-blend-mode: normal;
  }
  .hero .h-art[data-fit="full_poster"] {
    position: relative !important; width: 100% !important; height: auto !important; aspect-ratio: 800 / 450 !important; border-radius: 20px !important;
    mask-image: none !important; -webkit-mask-image: none !important; z-index: 1 !important;
  }
  .hero .h-art[data-fit="full_poster"] img {
    width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: var(--focal-x, 50%) var(--focal-y, 50%) !important;
    border-radius: 20px !important; mask-image: none !important; -webkit-mask-image: none !important; padding: 0 !important;
  }
  .hero .h-art[data-fit="cover"],
  .hero .h-art[data-fit="studio"] {
    position: absolute !important; right: 0 !important; top: 0 !important; bottom: 0 !important; left: auto !important;
    width: 44% !important; height: 100% !important; border-radius: 0 20px 20px 0 !important;
    z-index: 1 !important;
  }
  .hero .h-art[data-fit="cover"] img,
  .hero .h-art[data-fit="studio"] img {
    width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: var(--focal-x, 50%) var(--focal-y, 50%) !important;
    border-radius: 0 20px 20px 0 !important;
    mask-image: linear-gradient(to right, transparent 0%, black 22%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 22%) !important;
    padding: 0 !important;
  }
  .hero .h-art[data-fit="mascot"] { mask-image: none !important; -webkit-mask-image: none !important; }
  .hero .h-art[data-fit="mascot"] img {
    object-fit: contain !important;
    object-position: center center !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.18)) !important;
    padding: 6px !important;
  }

  /* Flaş indirim */
  .flash-hero-card { padding: 15px 16px; border-radius: 20px; }
  .flash-hero-header { gap: 12px; flex-wrap: nowrap; }
  .flash-badge-title { min-width: 0; }
  .flash-hero-copy b { font-size: 13.5px; }
  .flash-hero-copy span { font-size: 11.5px; }
  .flash-timer-box { padding: 9px 11px; gap: 6px; }
  .flash-timer-box .cd-unit b { font-size: 20px; }
  .flash-notice { font-size: 10.5px; margin-top: 12px; }
  .flash-tier-badge { min-width: 112px; padding: 7px 10px; }

  /* Kampanya & Vitrin karuselleri: mobilde uyumlu boyutlar */
  .carousel-btn { display: none !important; }
  .carousel-track-container { overflow-x: auto; scroll-snap-type: x proximity; padding-right: 56px !important; }
  #flashBizTrack .flash-biz-card { flex: 0 0 150px !important; max-width: 150px !important; border-radius: 14px !important; }
  #campBannerTrack { padding-right: 56px !important; }
  #campBannerTrack .flash-biz-card { flex: 0 0 280px !important; max-width: 280px !important; border-radius: 14px !important; }
  #campBannerTrack .flash-biz-thumb { height: 110px !important; }
  #campBannerTrack .camp-title { font-size: 13.5px !important; line-height: 1.3 !important; white-space: normal !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; word-break: break-word !important; }
  #campBannerTrack .camp-sub { font-size: 11.5px !important; line-height: 1.35 !important; white-space: normal !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; word-break: break-word !important; }
  .flash-biz-thumb { height: 78px !important; }
  .flash-biz-body { padding: 7px 8px !important; }
  .flash-biz-name { font-size: 12px !important; line-height: 1.2 !important; }
  .flash-biz-info { font-size: 10px !important; gap: 3px !important; margin-top: 2px !important; }
  .rating-tag { font-size: 10px !important; padding: 1.5px 5px !important; border-radius: 5px !important; }
  .flash-biz-badge { font-size: 9px !important; padding: 2px 5px !important; top: 4px !important; left: 4px !important; border-radius: 6px !important; }
  .fav-heart { width: 26px !important; height: 26px !important; font-size: 12px !important; top: 4px !important; right: 4px !important; }

  /* Vitrin kartları (Popüler Restoranlar & Marketler) */
  .m-biz-card { flex: 0 0 138px !important; max-width: 138px !important; border-radius: 14px !important; }
  .m-biz-card .m-thumb { height: 78px !important; }
  .m-biz-card .m-body { padding: 7px 8px 10px !important; }
  .m-biz-card .m-name { font-size: 12px !important; }
  .m-biz-card .m-meta { font-size: 10.5px !important; gap: 4px !important; margin-top: 3px !important; }
  .m-biz-card .m-fav { width: 26px !important; height: 26px !important; font-size: 12px !important; top: 4px !important; right: 4px !important; }
  .m-biz-card .m-tag { font-size: 9.5px !important; padding: 2px 6px !important; margin-top: 5px !important; border-radius: 6px !important; }

  /* Ürün kartı görselleri */
  .prod-card .prod-img { height: 75px !important; }
  .grid-prod { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important; gap: 10px !important; }

  /* Mobilde yüzen butonları alt navigasyonun üstüne çakışmayacak şekilde konumlandır */
  #ai-chatbot-widget { bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 26px) !important; right: 14px !important; }
  /* Kategoriler düğmesi SOL alta: sağ taraf sohbet/AI baloncuklarının; üçü aynı
     köşeye yığılınca düğme baloncuğun altında kalıyordu (2026-09-04). */
  .biz-floating-cat-fab { bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 26px) !important; left: 14px !important; right: auto !important;
    padding: 10px 14px !important; font-size: 13px !important; box-shadow: 0 6px 18px rgba(20, 83, 45, 0.35) !important; }
  .biz-floating-cat-fab:hover { transform: none !important; }
  .feedback-fab { bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 86px) !important; right: 14px !important; }

  /* Mobilde karusel ok düğmelerini gizle (dokunmatik kaydırma doğal çalışır) */
  .carousel-btn,
  .biz-carousel-arrow { display: none !important; }

  /* Alt menü */
  .bottom-nav { border-top: 1px solid #eef2f0 !important; box-shadow: 0 -6px 22px rgba(15,41,30,.07); }
  .bottom-nav button { font-size: 10.5px; gap: 4px; }
  .bottom-nav button i { font-size: 19px; }
  .bottom-nav button.active, .bottom-nav button.active i { color: var(--primary) !important; }
  .bottom-nav .nav-fab { display: flex; }
  .with-nav { padding-bottom: calc(var(--nav-h) + 22px); }
}

/* ================================================================
   KARANLIK VE AYDINLIK MOD TAM UYUM SİSTEMİ (DARK & LIGHT MODE)
   ================================================================ */
html.dark-mode, body.dark-mode {
  --bg: #0f172a !important;
  --bg-muted: #0f172a !important;
  --card: #1e293b !important;
  --text: #f8fafc !important;
  --muted: #94a3b8 !important;
  --border: #334155 !important;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

/* Ürün Detay & Sekme Karanlık Mod Düzeltmeleri */
html.dark-mode .prod-tab-pane,
html.dark-mode .ingredients-sec,
html.dark-mode .option-group,
html.dark-mode .og-card,
html.dark-mode .modal-stepper,
html.dark-mode .biz-cat-sheet-card,
html.dark-mode .del-info-box {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}
html.dark-mode .prod-tab-pane div,
html.dark-mode .prod-tab-pane span,
html.dark-mode .prod-tab-pane b {
  color: #f8fafc !important;
}
html.dark-mode .prod-tab-pane code {
  background: #1e293b !important;
  color: #4ade80 !important;
  border: 1px solid #334155 !important;
  padding: 2px 6px;
  border-radius: 6px;
}
html.dark-mode .prod-info-tabs {
  border-bottom-color: #334155 !important;
}
html.dark-mode .prod-tab-btn {
  color: #94a3b8 !important;
}
html.dark-mode .prod-tab-btn.active {
  color: #4ade80 !important;
  border-bottom-color: #4ade80 !important;
}
html.dark-mode .og-toggle-btn,
html.dark-mode .rec-toggle-btn {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #4ade80 !important;
}
html.dark-mode .opt-tag.opt {
  background: #1e293b !important;
  color: #94a3b8 !important;
  border-color: #334155 !important;
}

/* Karanlık Mod Genel Eleman Kontrast Düzeltmeleri */
html.dark-mode body, body.dark-mode { background: #0f172a !important; color: #f8fafc !important; }
html.dark-mode .card, body.dark-mode .card,
html.dark-mode .modal-content, body.dark-mode .modal-content,
html.dark-mode .m-searchbar, body.dark-mode .m-searchbar,
html.dark-mode .qc-tile, body.dark-mode .qc-tile,
html.dark-mode .m-biz-card, body.dark-mode .m-biz-card,
html.dark-mode .flash-hero-card, body.dark-mode .flash-hero-card,
html.dark-mode .hdr-courier, body.dark-mode .hdr-courier {
  background: #1e293b !important; border-color: #334155 !important; color: #f8fafc !important;
}

html.dark-mode h1, html.dark-mode h2, html.dark-mode h3, html.dark-mode h4, html.dark-mode h5, html.dark-mode h6,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6,
html.dark-mode .showcase-head h3, body.dark-mode .showcase-head h3 { color: #ffffff !important; }

html.dark-mode p, body.dark-mode p { color: #cbd5e1 !important; }
html.dark-mode .muted, body.dark-mode .muted, html.dark-mode small, body.dark-mode small { color: #94a3b8 !important; }

/* Giriş / Form Elemanları (Inputs, Selects, Textareas) */
html.dark-mode input, html.dark-mode select, html.dark-mode textarea,
body.dark-mode input, body.dark-mode select, body.dark-mode textarea,
html.dark-mode .input, body.dark-mode .input, html.dark-mode .select, body.dark-mode .select {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #ffffff !important;
}
html.dark-mode input::placeholder, body.dark-mode input::placeholder { color: #64748b !important; }

/* Butonlar & Çipler */
html.dark-mode .chip, body.dark-mode .chip { background: #1e293b !important; border-color: #334155 !important; color: #f8fafc !important; }
html.dark-mode .chip.active, body.dark-mode .chip.active { background: var(--primary, #16a34a) !important; border-color: var(--primary, #16a34a) !important; color: #ffffff !important; }
html.dark-mode .btn.ghost, body.dark-mode .btn.ghost { background: transparent !important; border-color: #334155 !important; color: #f8fafc !important; }

/* Kart Başlıkları ve İsimler */
html.dark-mode .biz-card .name, body.dark-mode .biz-card .name,
html.dark-mode .prod-card .name, body.dark-mode .prod-card .name,
html.dark-mode .flash-biz-name, body.dark-mode .flash-biz-name,
html.dark-mode .m-biz-card .m-name, body.dark-mode .m-biz-card .m-name,
html.dark-mode .qc-tile .qc-lbl, body.dark-mode .qc-tile .qc-lbl { color: #ffffff !important; }

/* Metin ve Açıklamalar */
html.dark-mode .biz-card .desc, body.dark-mode .biz-card .desc,
html.dark-mode .prod-card .desc, body.dark-mode .prod-card .desc,
html.dark-mode .flash-biz-info, body.dark-mode .flash-biz-info { color: #cbd5e1 !important; }

/* Fiyatlar */
html.dark-mode .price, body.dark-mode .price,
html.dark-mode .prod-card .price, body.dark-mode .prod-card .price,
html.dark-mode .m-biz-card .m-meta .m-price, body.dark-mode .m-biz-card .m-meta .m-price { color: #4ade80 !important; }

/* Üst Başlık (Header) */
html.dark-mode .header, body.dark-mode .header { background: #064e3b !important; border-bottom: 1px solid #14532d !important; color: #ffffff !important; }
html.dark-mode .hdr-courier, body.dark-mode .hdr-courier { color: #4ade80 !important; }

/* Alt Menü (Bottom Navigation) */
html.dark-mode .bottom-nav, body.dark-mode .bottom-nav { background: #1e293b !important; border-top: 1px solid #334155 !important; }
html.dark-mode .bottom-nav button, body.dark-mode .bottom-nav button { color: #94a3b8 !important; }
html.dark-mode .bottom-nav button.active, body.dark-mode .bottom-nav button.active,
html.dark-mode .bottom-nav button.active i, body.dark-mode .bottom-nav button.active i { color: #4ade80 !important; }

/* Modal Pencereleri */
html.dark-mode .modal, body.dark-mode .modal { background: rgba(0, 0, 0, 0.75) !important; }
html.dark-mode .modal-body, body.dark-mode .modal-body,
html.dark-mode .modal > div, body.dark-mode .modal > div { background: #1e293b !important; color: #f8fafc !important; }

/* Footer */
html.dark-mode .app-footer, body.dark-mode .app-footer { background: #0b1329 !important; border-top: 1px solid #1e293b !important; color: #94a3b8 !important; }
html.dark-mode .footer-title, body.dark-mode .footer-title { color: #ffffff !important; }
html.dark-mode .footer-links a, body.dark-mode .footer-links a { color: #cbd5e1 !important; }
html.dark-mode .footer-links a:hover, body.dark-mode .footer-links a:hover { color: #4ade80 !important; }

@media (max-width: 780px) {
  html.dark-mode body.shop, body.dark-mode.shop { background: #0f172a; }
  html.dark-mode body.shop .header { background: #1e293b !important; border-bottom-color: #334155; }
  html.dark-mode .hero { background: linear-gradient(135deg, #064e3b, #022c22) !important; border-color: #064e3b; }
}

/* ================================================================
   AYDINLIK MOD EXPLICIT KONTROL (LIGHT MODE OVERRIDES)
   ================================================================ */
html.light-mode, body.light-mode {
  --bg: #f8faf9 !important;
  --card: #ffffff !important;
  --text: #0f291e !important;
  --muted: #475569 !important;
  --border: #e2e8f0 !important;
  background-color: #f8faf9 !important;
  color: #0f291e !important;
}

html.light-mode body, body.light-mode { background: #f8faf9 !important; color: #0f291e !important; }
html.light-mode .card, body.light-mode .card,
html.light-mode .m-searchbar, body.light-mode .m-searchbar,
html.light-mode .qc-tile, body.light-mode .qc-tile,
html.light-mode .m-biz-card, body.light-mode .m-biz-card,
html.light-mode .flash-hero-card, body.light-mode .flash-hero-card {
  background: #ffffff !important; border-color: #e2e8f0 !important; color: #0f291e !important;
}

html.light-mode h1, html.light-mode h2, html.light-mode h3, html.light-mode h4, html.light-mode h5, html.light-mode h6,
body.light-mode h1, body.light-mode h2, body.light-mode h3, body.light-mode h4, body.light-mode h5, body.light-mode h6,
html.light-mode .showcase-head h3, body.light-mode .showcase-head h3,
html.light-mode .biz-card .name, body.light-mode .biz-card .name,
html.light-mode .prod-card .name, body.light-mode .prod-card .name,
html.light-mode .flash-biz-name, body.light-mode .flash-biz-name,
html.light-mode .m-biz-card .m-name, body.light-mode .m-biz-card .m-name,
html.light-mode .qc-tile .qc-lbl, body.light-mode .qc-tile .qc-lbl {
  color: #0f172a !important;
}

html.light-mode p, body.light-mode p,
html.light-mode .biz-card .desc, body.light-mode .biz-card .desc,
html.light-mode .prod-card .desc, body.light-mode .prod-card .desc,
html.light-mode .flash-biz-info, body.light-mode .flash-biz-info {
  color: #475569 !important;
}

html.light-mode input, html.light-mode select, html.light-mode textarea,
body.light-mode input, body.light-mode select, body.light-mode textarea,
html.light-mode .input, body.light-mode .input, html.light-mode .select, body.light-mode .select {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

@media (max-width: 780px) {
  html.light-mode body.shop, body.light-mode.shop { background: #ffffff !important; }
  html.light-mode body.shop .header { background: #ffffff !important; border-bottom-color: #f1f5f3 !important; }
  html.light-mode .hero { background: linear-gradient(135deg, #f3fbf6 0%, #dcf2e4 100%) !important; border-color: #e3efe7 !important; }
}

/* Karanlık modda okunmayan kalıntılar: bu bileşenlerin metin/zemin renkleri sabit
   (açık tema için) yazıldığından koyu kart üzerinde koyu yazı kalıyordu. */
html.dark-mode .flash-hero-copy b, body.dark-mode .flash-hero-copy b { color: #ffffff !important; }
html.dark-mode .flash-hero-copy span, body.dark-mode .flash-hero-copy span { color: #4ade80 !important; }
html.dark-mode .hero-feats span, body.dark-mode .hero-feats span { background: #1e293b !important; }
html.dark-mode .hero-feats span b, body.dark-mode .hero-feats span b { color: #ffffff !important; }
html.dark-mode .flash-timer-box, body.dark-mode .flash-timer-box { background: #0f172a !important; border-color: #334155 !important; }
html.dark-mode .flash-timer-box .cd-unit b, body.dark-mode .flash-timer-box .cd-unit b,
html.dark-mode .flash-timer-box .cd-sep, body.dark-mode .flash-timer-box .cd-sep { color: #ffffff !important; }
html.dark-mode .flash-timer-box .cd-unit small, body.dark-mode .flash-timer-box .cd-unit small { color: #94a3b8 !important; }
html.dark-mode .m-biz-card .m-tag, body.dark-mode .m-biz-card .m-tag { background: #0f172a !important; color: #cbd5e1 !important; }
html.dark-mode .showcase-head h3, body.dark-mode .showcase-head h3 { color: #ffffff !important; }
html.dark-mode .qc-tile .qc-lbl, body.dark-mode .qc-tile .qc-lbl { color: #ffffff !important; }
html.dark-mode .m-searchbar input, body.dark-mode .m-searchbar input { color: #f8fafc !important; }
html.dark-mode .m-searchbar .s-filter, body.dark-mode .m-searchbar .s-filter { background: #0f172a !important; }

/* Tarayıcının kendi çizdiği öğeler (input arka planı, kaydırma çubuğu, seçim rengi)
   tema sınıfını bilmiyordu; color-scheme ile onları da aynı temaya bağlıyoruz. */
html.dark-mode { color-scheme: dark; }
html.light-mode { color-scheme: light; }
html.dark-mode .m-searchbar input, body.dark-mode .m-searchbar input { background: transparent !important; }

/* ---------- İşletme detay kapağı (fotoğraflı) ---------- */
.biz-hero { position: relative; overflow: hidden; background: var(--brand-dark); color: #fff; padding: 20px; }
.biz-hero .bh-inner { position: relative; z-index: 2; }
/* Fotoğrafın açık bölgelerinde de yazı okunsun */
.biz-hero.has-cover .bh-inner { text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.biz-hero.has-cover .bh-inner .btn { text-shadow: none; background: rgba(0, 0, 0, .38); border-color: rgba(255, 255, 255, .5); color: #fff; }
.biz-hero .bh-photo {
  position: absolute; inset: 0; z-index: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
/* Fotoğraf üzerindeki beyaz yazı her görselde okunsun diye koyu gradient perde */
.biz-hero.has-cover::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6, 32, 20, .62) 0%, rgba(6, 32, 20, .82) 55%, rgba(6, 32, 20, .94) 100%);
}
.biz-hero.has-cover { padding-top: 78px; }
.biz-hero .bh-logo {
  width: 66px; height: 66px; border-radius: 18px; flex-shrink: 0; overflow: hidden;
  background: #ffffff; display: flex; align-items: center; justify-content: center;
  font-size: 34px; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); border: 2px solid rgba(255, 255, 255, .85);
}
.biz-hero .bh-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 780px) {
  .biz-hero.has-cover { padding-top: 62px; }
  .biz-hero .bh-logo { width: 56px; height: 56px; border-radius: 15px; font-size: 28px; }
}

/* ---------- İşletme sayfası menü araç çubuğu (arama + kategoriler) ---------- */
.biz-toolbar {
  position: sticky;
  top: calc(var(--header-h, 66px) + env(safe-area-inset-top, 0px));
  z-index: 35;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 0 -16px 4px;
  padding: 10px 16px 8px;
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
  max-width: 100vw;
  overflow-x: hidden;
}
.biz-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1.5px solid var(--border); border-radius: 14px;
  padding: 2px 6px 2px 14px; box-shadow: 0 2px 10px rgba(15, 41, 30, .05);
}
.biz-search .s-ico { color: #94a3b8; font-size: 15px; }
.biz-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  padding: 12px 0; font-size: 14.5px; font-weight: 600; color: inherit;
}
.biz-search input::-webkit-search-cancel-button { display: none; }
.biz-search button {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: var(--primary-soft); color: var(--primary); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

.biz-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding: 4px 2px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.biz-cats::-webkit-scrollbar { display: none; }

.biz-cats .chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #1e293b);
  background: var(--card, #ffffff);
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.biz-cats .chip i {
  font-size: 13.5px;
  color: var(--muted, #64748b);
  transition: transform 0.2s ease, color 0.2s ease;
}
.biz-cats .chip .c-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 6px;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: var(--radius, 12px);
  background: rgba(0, 0, 0, 0.06);
  color: var(--text, #334155);
  margin-left: 2px;
  transition: all 0.2s ease;
}
.biz-cats .chip:hover {
  border-color: rgba(22, 163, 74, 0.4);
  background: rgba(22, 163, 74, 0.03);
  transform: translateY(-1px);
}
.biz-cats .chip.active {
  background: var(--primary, #16a34a) !important;
  color: #ffffff !important;
  border-color: var(--primary, #16a34a) !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3) !important;
}
.biz-cats .chip.active i {
  color: #ffffff !important;
  transform: scale(1.1);
}
.biz-cats .chip.active .c-n {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Fırsatlar Özel Çip Tasarımı */
.biz-cats .chip-deals {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(254, 243, 199, 0.6);
  color: #b45309;
}
.biz-cats .chip-deals.active {
  background: #f59e0b !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
}
.biz-cats .chip-deals.active i {
  color: #ffffff !important;
}

html.dark-mode .biz-toolbar, body.dark-mode .biz-toolbar { background: rgba(15, 23, 42, 0.94) !important; border-bottom-color: #334155 !important; }
html.dark-mode .biz-search, body.dark-mode .biz-search { background: #1e293b !important; border-color: #334155 !important; }
html.dark-mode .biz-search input, body.dark-mode .biz-search input { color: #f8fafc !important; }
html.dark-mode .biz-cats .chip, body.dark-mode .biz-cats .chip { background: #1e293b !important; border-color: #334155 !important; color: #f8fafc !important; }
html.dark-mode .biz-cats .chip i, body.dark-mode .biz-cats .chip i { color: #94a3b8 !important; }
html.dark-mode .biz-cats .chip .c-n, body.dark-mode .biz-cats .chip .c-n { background: rgba(255, 255, 255, 0.12) !important; color: #cbd5e1 !important; }

/* Sabit "Tüm Kategoriler" Butonu (Sticky Pin on scroll) */
.biz-cats .chip-grid-trigger {
  position: sticky;
  left: 0;
  z-index: 20;
  background: var(--card, #ffffff) !important;
  border-color: rgba(22, 163, 74, 0.4) !important;
  box-shadow: 6px 0 14px rgba(0, 0, 0, 0.09) !important;
  flex-shrink: 0;
}

html.dark-mode .biz-cats .chip-grid-trigger, body.dark-mode .biz-cats .chip-grid-trigger {
  background: #1e293b !important;
  border-color: rgba(22, 163, 74, 0.5) !important;
  box-shadow: 6px 0 14px rgba(0, 0, 0, 0.35) !important;
}

/* Yüzen Mobil Kategori Butonu (FAB Widget) */
.biz-floating-cat-fab {
  position: fixed;
  bottom: calc(var(--nav-h, 0px) + env(safe-area-inset-bottom, 0px) + 140px);
  right: 20px;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--brand-dark, #14532d);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius, 12px);
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(20, 83, 45, 0.45);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.biz-floating-cat-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(20, 83, 45, 0.55);
}
.biz-floating-cat-fab:active {
  transform: translateY(0) scale(0.97);
}

.biz-cat-sheet-card:hover {
  border-color: var(--primary, #16a34a) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

html.dark-mode .biz-cat-sheet-card, body.dark-mode .biz-cat-sheet-card {
  background: #1e293b !important;
  border-color: #334155 !important;
}

@media (max-width: 780px) {
  .biz-toolbar { top: calc(var(--header-h) - 1px); padding: 10px 16px 8px; margin: 0 -16px 4px; max-width: 100vw; }
  .biz-search input { padding: 11px 0; font-size: 14px; }
  .biz-cats .chip { padding: 8px 13px; font-size: 13px; }
  .biz-sidebar { display: none !important; }
  .biz-market-layout { display: block !important; width: 100% !important; margin-top: 10px !important; }
  .biz-main-content { width: 100% !important; }
  .biz-carousel-arrow { display: none !important; }
}

/* ============================================================
   ADRES HARİTASI (Yeni Adres modalı) — sabit merkez pin, harita altta kayar
   ============================================================ */
.addr-map-wrap {
  position: relative; width: 100%; height: 210px; border-radius: 16px; overflow: hidden;
  border: 1.5px solid var(--border); background: #e9eef2;
}
.addr-map { position: absolute; inset: 0; }
/* Sabit merkez pin — harita kaydıkça pin ekranın ortasında kalır (Getir mantığı) */
.addr-map-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  pointer-events: none; z-index: 5; font-size: 30px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, .35); animation: addrPinDrop .35s ease-out;
}
/* !important şart: karanlık temanın genel ikon rengi kuralı pini beyaza çeviriyor */
.addr-map-center, .addr-map-center i { color: #dc2626 !important; }
.addr-map-center::after {
  content: ''; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%);
  width: 12px; height: 5px; border-radius: 50%; background: rgba(0, 0, 0, .3);
}
@keyframes addrPinDrop { from { transform: translate(-50%, -160%); opacity: 0; } to { transform: translate(-50%, -100%); opacity: 1; } }
.addr-map-gps {
  position: absolute; right: 10px; top: 10px; z-index: 6; width: 38px; height: 38px;
  border-radius: 12px; border: 1.5px solid rgba(0, 0, 0, .08); background: #ffffff; color: #16a34a;
  font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.addr-map-gps:hover { background: #f0fdfa; }
.addr-map-gps:disabled { opacity: .7; cursor: default; }
/* Üst-solda duruyor: alt şeritteki Google atıf metnini kapatmamalı */
.addr-map-chip {
  position: absolute; left: 10px; right: 58px; top: 10px; z-index: 6;
  background: rgba(255, 255, 255, .96); border: 1.5px solid #bbf7d0; border-radius: 12px;
  padding: 8px 12px; font-size: 12.5px; font-weight: 800; color: #14532d;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.addr-map-chip i { color: #16a34a; margin-right: 5px; }
/* Google Maps yüklenemediyse harita alanını tamamen gizle, form yine çalışsın */
.addr-map-wrap.no-map { height: auto; border: 0; background: transparent; }
.addr-map-wrap.no-map .addr-map,
.addr-map-wrap.no-map .addr-map-center,
.addr-map-wrap.no-map .addr-map-gps { display: none; }
.addr-map-wrap.no-map .addr-map-chip {
  position: static; background: #fef3c7; border-color: #fde68a; color: #92400e; white-space: normal;
}
html.dark-mode .addr-map-chip, body.dark-mode .addr-map-chip {
  background: rgba(15, 23, 42, .95); border-color: #166534; color: #bbf7d0;
}
html.dark-mode .addr-map-gps, body.dark-mode .addr-map-gps {
  background: #1e293b; border-color: #334155; color: #4ade80;
}
@media (max-width: 780px) { .addr-map-wrap { height: 190px; } }

/* Ürün kartında "günün fırsatı" rozeti */
.prod-card { position: relative; }
.prod-card .deal-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: #ef4444; color: #fff; font-size: 10.5px; font-weight: 900;
  padding: 4px 7px; border-radius: 8px; letter-spacing: .3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

/* ---- Sayfalama (kazanç geçmişi, geçmiş siparişler, ürün listesi) ---- */
.pager {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border);
}
.pager-btn {
  min-width: 34px; height: 34px; padding: 0 9px; border-radius: 9px;
  border: 1.5px solid var(--border); background: var(--card); color: var(--text);
  font-weight: 700; font-size: 13.5px; cursor: pointer; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.pager-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pager-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager-btn:disabled { opacity: .4; cursor: default; }
.pager-gap { color: var(--muted); padding: 0 2px; }
.pager-info { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
@media (max-width: 480px) {
  .pager-info { margin-left: 0; width: 100%; text-align: center; margin-top: 4px; }
}

/* ---- Filtre paneli ---- */
.f-group { margin-bottom: 16px; }
.f-group > label {
  display: block; font-size: 12.5px; font-weight: 800; color: var(--muted);
  margin-bottom: 8px; letter-spacing: .2px;
}
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.f-chip {
  padding: 9px 14px; border-radius: 11px; border: 1.5px solid var(--border);
  background: var(--card); color: var(--text); font-size: 13.5px; font-weight: 700;
  cursor: pointer; line-height: 1;
}
.f-chip:hover { border-color: var(--primary); }
.f-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
/* Arama çubuğundaki filtre düğmesi: açık filtre varsa vurgula + sayaç */
.m-searchbar .s-filter { position: relative; }
.m-searchbar .s-filter.has-filters { background: var(--primary); color: #fff; }
.m-searchbar .s-filter .f-count {
  position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px;
  border-radius: 9px; background: #ef4444; color: #fff; font-size: 10.5px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff; padding: 0 3px;
}

/* ---- Konum seçme yönergesi + seçili konum kutusu ----
   Önceden bu kutular satır içi açık renk zeminle yazılmıştı; karanlık temada
   zemin ezilip metin rengi kaldığı için yazı okunmuyordu. Artık iki tema da tanımlı. */
.map-hint {
  display: flex; gap: 11px; align-items: flex-start;
  background: #eff6ff; border: 1.5px solid #bfdbfe; border-radius: 14px;
  padding: 11px 13px; margin-bottom: 12px;
}
.map-hint > i { color: #2563eb; font-size: 17px; margin-top: 2px; flex-shrink: 0; }
.map-hint b { display: block; font-size: 13px; color: #1e3a8a; margin-bottom: 2px; }
.map-hint span { display: block; font-size: 12px; line-height: 1.45; color: #1e40af; }
.map-hint span b { display: inline; font-size: inherit; color: inherit; }

.sel-loc-box {
  display: flex; align-items: center; gap: 12px;
  background: #e7f7ed; border: 1.5px solid #bbf7d0; border-radius: 14px;
  padding: 12px 14px; margin-bottom: 14px;
}
.sel-loc-box > i { color: #16a34a; font-size: 22px; flex-shrink: 0; }
.sel-loc-box small { font-size: 11px; color: #15803d; font-weight: 700; display: block; }
.sel-loc-box b { font-size: 13.5px; color: #0f172a; }

html.dark-mode .map-hint, body.dark-mode .map-hint {
  background: #172554; border-color: #1e40af;
}
html.dark-mode .map-hint b, body.dark-mode .map-hint b { color: #dbeafe; }
html.dark-mode .map-hint span, body.dark-mode .map-hint span { color: #bfdbfe; }
html.dark-mode .map-hint > i, body.dark-mode .map-hint > i { color: #60a5fa; }

html.dark-mode .sel-loc-box, body.dark-mode .sel-loc-box {
  background: #042f2e; border-color: #115e59;
}
html.dark-mode .sel-loc-box small, body.dark-mode .sel-loc-box small { color: #86efac; }
html.dark-mode .sel-loc-box b, body.dark-mode .sel-loc-box b { color: #f0fdfa; }
html.dark-mode .sel-loc-box > i, body.dark-mode .sel-loc-box > i { color: #4ade80; }

/* ================================================================
   Modern Konum Seç & Restoranları Keşfet Modalı (v2 UI System)
   ================================================================ */
.loc-modal-v2 {
  border-radius: 22px;
  overflow: hidden;
  margin: -16px;
  background: var(--card);
  color: var(--text);
}
.loc-modal-header {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.loc-modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.loc-modal-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #16a34a 0%, #064e3b 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}
.loc-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}
.loc-modal-subtitle {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.loc-modal-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.loc-modal-body {
  padding: 18px;
}
.loc-saved-sec {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.loc-saved-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.loc-saved-head b {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text);
}
.loc-saved-head .tag {
  background: rgba(22, 163, 74, 0.15);
  color: #16a34a;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}
.loc-chips-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}
.loc-chip-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 13px;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.loc-chip-btn.active {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}
html.dark-mode .loc-chip-btn.active,
body.dark-mode .loc-chip-btn.active {
  color: #34d399 !important;
}
.loc-chip-btn.add-btn {
  border: 1.5px dashed var(--border);
  background: transparent;
  color: var(--muted);
}
.loc-chip-btn.add-btn:hover {
  border-color: #16a34a;
  color: #16a34a;
}
.loc-search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.loc-search-box {
  flex: 1;
  position: relative;
}
.loc-search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
}
.loc-search-input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  outline: none;
}
.loc-search-input:focus {
  border-color: #16a34a;
}
.loc-gps-btn {
  background: linear-gradient(135deg, #16a34a 0%, #064e3b 100%);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 12.5px;
  padding: 0 14px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  transition: transform 0.15s;
}
.loc-gps-btn:active {
  transform: scale(0.97);
}
.loc-map-frame {
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
  border: 1.5px solid var(--border);
}
html.dark-mode .loc-map-frame .leaflet-tile-pane,
body.dark-mode .loc-map-frame .leaflet-tile-pane {
  filter: brightness(0.85) invert(100%) hue-rotate(180deg) contrast(120%) saturate(140%);
}
.loc-selected-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.loc-selected-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.loc-selected-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.15);
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.loc-selected-text {
  flex: 1;
  min-width: 0;
}
.loc-selected-text small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.loc-selected-text b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-top: 2px;
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
}
.loc-edit-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.loc-edit-btn:hover {
  background: var(--card);
  border-color: #16a34a;
  color: #16a34a;
}
.loc-field-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 16px;
}
.loc-field-box label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.loc-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.loc-select-wrap i {
  position: absolute;
  left: 8px;
  color: #16a34a;
  font-size: 14px;
  pointer-events: none;
}
.loc-select-input {
  width: 100%;
  padding: 6px 8px 6px 30px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 800;
  outline: none;
  cursor: pointer;
}
.loc-submit-cta {
  width: 100%;
  background: linear-gradient(135deg, #16a34a 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.loc-submit-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45);
}
.loc-submit-cta:active {
  transform: translateY(0);
}
.biz-map-badge {
  background: #d97706;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Hızlı Adres Kaydetme Alanı */
.loc-quick-save-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.loc-quick-save-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 8px;
}
.loc-quick-save-title b {
  font-weight: 700;
}
.loc-quick-save-btns {
  display: flex;
  gap: 8px;
}
.loc-save-tag-btn {
  flex: 1;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.loc-save-tag-btn:hover {
  border-color: #16a34a;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
}
.loc-save-tag-btn:active {
  transform: scale(0.97);
}


/* ================================================================
   SİPARİŞ ONAY MODALI (checkout)
   Karanlık modda .modal içindeki div/span/b'ye zorlanan beyaz renk
   (html.dark-mode .modal div => 0,2,2) bu kuralları ezmesin diye
   dark override'lar .modal ile birlikte yazıldı (0,3,1 > 0,2,2).
   ================================================================ */
.co-head { display: flex; gap: 11px; align-items: center; margin: 2px 0 16px; }
.co-emoji {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  background: var(--primary-soft); display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.co-biz { font-weight: 800; font-size: 15.5px; line-height: 1.2; }
.co-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.co-sec { border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.co-sec-t {
  display: flex; align-items: center; gap: 7px; margin-bottom: 9px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.co-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; padding: 4px 0; }
.co-line .q { color: var(--muted); font-weight: 800; margin-right: 3px; }
.co-items { max-height: 170px; overflow-y: auto; }
.co-addr-t { font-size: 14px; font-weight: 600; line-height: 1.45; }
.co-chg { margin-left: auto; background: none; border: none; padding: 0; cursor: pointer;
  font-size: 12px; font-weight: 800; color: var(--primary); text-transform: none; letter-spacing: 0; }

.co-safe { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 11.5px; color: var(--muted); }
.co-brands { margin-left: auto; display: flex; gap: 9px; align-items: center; font-size: 21px; }
.co-visa { color: #1A1F71; }
.co-mc { position: relative; display: inline-flex; width: 1.5em; height: 1em; align-items: center; }
.co-mc .a { position: absolute; left: 0; font-size: .62em; color: #EB001B; }
.co-mc .b { position: absolute; left: .42em; font-size: .62em; color: #F79E1B; opacity: .9; }
.co-paytr { font-size: 13.5px; font-weight: 800; color: #1B75BB; }

.co-tot { border-top: 1.5px dashed var(--border); margin-top: 16px; padding-top: 12px; }
.co-tot .co-line { padding: 3px 0; }
.co-tot .co-line > span { color: var(--muted); }
.co-free, .co-disc, .co-disc > span, .co-disc > b { color: var(--emerald-text); font-weight: 800; }
.co-grand {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 11px; border-top: 1.5px solid var(--border); font-size: 19px; font-weight: 900;
}
.co-grand .v { color: var(--primary); }

html.dark-mode .modal .co-sec,
html.dark-mode .modal .co-tot,
html.dark-mode .modal .co-grand { border-color: #334155 !important; }
html.dark-mode .modal .co-emoji { background: #1e293b !important; }
html.dark-mode .modal .co-sec-t,
html.dark-mode .modal .co-sub,
html.dark-mode .modal .co-line .q,
html.dark-mode .modal .co-tot .co-line > span,
html.dark-mode .modal .co-safe { color: #cbd5e1 !important; }
html.dark-mode .modal .co-grand .v,
html.dark-mode .modal .co-chg { color: #4ade80 !important; }
html.dark-mode .modal .co-free,
html.dark-mode .modal .co-disc,
html.dark-mode .modal .co-disc > span,
html.dark-mode .modal .co-disc > b { color: #4ade80 !important; }
html.dark-mode .modal .co-visa { color: #8ea3ff !important; }
html.dark-mode .modal .co-paytr { color: #7db8e8 !important; }

/* Hesap Silme Modalı & Kartı (C7) */
.delete-account-card {
  border: 1px solid var(--red-border);
  background: var(--red-tint);
}

/* ================================================================
   Telefon Giriş Grubu (+90 Sabit Önek)
   ================================================================ */
.phone-input-group {
  display: flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius, 12px);
  background: #ffffff;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.phone-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}
.phone-input-group .phone-prefix {
  padding: 12px 0 12px 14px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text, #0f291e);
  user-select: none;
  background: transparent;
  flex-shrink: 0;
}
.phone-input-group input.input {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-left: 8px !important;
  border-radius: 0 !important;
  flex: 1;
  width: 100%;
  min-width: 0;
}

html.dark-mode .phone-input-group {
  background: #1e293b;
  border-color: var(--border, #334155);
}
html.dark-mode .phone-input-group .phone-prefix {
  color: var(--text, #f8fafc);
}
html.dark-mode .del-info-box {
  background: #0f172a !important;
  border-color: #334155 !important;
}

/* ================================================================
   Şikâyet (Report) UI Stilleri (App Store Guideline 1.2)
   ================================================================ */
.btn-report-flag {
  background: none;
  border: none;
  color: var(--muted, #64748b);
  font-size: 11px;
  cursor: pointer;
  padding: 2px 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.7;
  transition: opacity 0.15s, color 0.15s;
  border-radius: 4px;
}
.btn-report-flag:hover {
  opacity: 1;
  color: var(--text, #0f291e);
}
.report-reason-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}
.report-reason-label:hover {
  border-color: var(--primary, #16a34a);
  background: var(--primary-soft, #f0fdf4);
}
.report-reason-label input[type="radio"] {
  accent-color: var(--primary, #16a34a);
  width: 16px;
  height: 16px;
  margin: 0;
}
html.dark-mode .report-reason-label {
  border-color: #334155;
  background: #1e293b;
  color: #f8fafc;
}
html.dark-mode .report-reason-label:hover {
  border-color: var(--primary, #16a34a);
  background: rgba(22, 163, 74, 0.15);
}
.tag.danger, .badge.danger {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border: 1px solid #fca5a5 !important;
}
html.dark-mode .tag.danger, html.dark-mode .badge.danger {
  background: #7f1d1d !important;
  color: #fecaca !important;
  border-color: #991b1b !important;
}
.tag.sm {
  font-size: 11px !important;
  padding: 2px 6px !important;
}
.tag.warn {
  background: #fef3c7 !important;
  color: #b45309 !important;
  border: 1px solid #f59e0b !important;
}
html.dark-mode .tag.warn {
  background: #78350f !important;
  color: #fef3c7 !important;
  border-color: #b45309 !important;
}
.deal-badge.warn {
  background: #d97706 !important;
  color: #ffffff !important;
}
html.dark-mode .deal-badge.warn {
  background: #b45309 !important;
  color: #ffffff !important;
}
.tag.blue {
  background: #dbeafe !important;
  color: #1e40af !important;
  border: 1px solid #93c5fd !important;
}
html.dark-mode .tag.blue {
  background: #1e3a8a !important;
  color: #dbeafe !important;
  border-color: #3b82f6 !important;
}
.tag.green {
  background: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #86efac !important;
}
html.dark-mode .tag.green {
  background: #14532d !important;
  color: #dcfce7 !important;
  border-color: #22c55e !important;
}
.coupon-card {
  padding: 16px;
  border-radius: 12px;
  border: 1.5px solid var(--primary-soft, #dcfce7);
  background: var(--card, #fff);
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}
.coupon-card.disabled-coupon {
  border-color: var(--border);
  opacity: 0.65;
  filter: grayscale(0.3);
  cursor: default;
}
html.dark-mode .coupon-card {
  border-color: rgba(22, 163, 74, 0.25);
}
html.dark-mode .coupon-card.disabled-coupon {
  border-color: var(--border);
}

/* ---------- Hero Banner Carousel ---------- */
.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-soft, #f0fdf4);
  color: var(--primary, #16a34a);
  border: 1px solid rgba(22, 163, 74, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.hero-slide-badge[data-badge-style="red"] {
  background: #dc2626 !important;
  color: #ffffff !important;
  border: 1px solid #ef4444 !important;
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.35);
}
.hero-slide-badge[data-badge-style="yellow"] {
  background: #facc15 !important;
  color: #713f12 !important;
  border: 1px solid #eab308 !important;
  box-shadow: 0 3px 10px rgba(250, 204, 21, 0.35);
}
.hero-slide-badge[data-badge-style="purple"] {
  background: #9333ea !important;
  color: #ffffff !important;
  border: 1px solid #a855f7 !important;
  box-shadow: 0 3px 10px rgba(147, 51, 234, 0.35);
}
.hero-slide-badge[data-badge-style="blue"] {
  background: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid #3b82f6 !important;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
}
.hero-slide-badge[data-badge-style="dark"] {
  background: #0f172a !important;
  color: #f8fafc !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.35);
}
html.dark-mode .hero-slide-badge {
  background: rgba(22, 163, 74, 0.15);
  color: #4ade80;
  border-color: rgba(22, 163, 74, 0.35);
}
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border, #e2e8f0);
  color: var(--text, #0f291e);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.hero-nav-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}
.hero-nav-arrow.prev { left: 12px; }
.hero-nav-arrow.next { right: 12px; }

html.dark-mode .hero-nav-arrow {
  background: rgba(30, 41, 59, 0.9);
  border-color: #334155;
  color: #f8fafc;
}
.hero-dots-wrap {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
  background: rgba(0,0,0,0.15);
  padding: 4px 8px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot.active {
  width: 22px;
  background: var(--primary, #16a34a);
}

/* Dark Mode Hero Slide Support */
html.dark-mode .hero-slide-item {
  background: #0f172a !important;
}
html.dark-mode .hero-slide-item h1 {
  color: #f8fafc !important;
}
html.dark-mode .hero-slide-item p {
  color: #94a3b8 !important;
}

/* Gece Modu & Nöbetçi Eczane Kartı (Aydınlık & Karanlık mod bağışıklığı) */
.night-banner-card,
html.light-mode .night-banner-card,
html.dark-mode .night-banner-card,
body.light-mode .night-banner-card,
body.dark-mode .night-banner-card {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #10b981 !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25) !important;
}

.night-banner-card .nb-title,
html.light-mode .night-banner-card .nb-title,
html.dark-mode .night-banner-card .nb-title {
  color: #34d399 !important;
}

.night-banner-card .nb-sub,
html.light-mode .night-banner-card .nb-sub,
html.dark-mode .night-banner-card .nb-sub {
  color: #e2e8f0 !important;
}

.night-banner-card .nb-chip,
html.light-mode .night-banner-card .nb-chip,
html.dark-mode .night-banner-card .nb-chip {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

.night-banner-card .nb-chip:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

/* ================================================================
   Ürün Galerisi UI Stilleri (Kapak + 4 Ek Fotoğraf)
   ================================================================ */
.extra-images-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
}
@media (max-width: 480px) {
  .extra-images-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.extra-img-slot {
  aspect-ratio: 1;
  border: 1.5px dashed var(--border, #cbd5e1);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: var(--bg-muted, #f8fafc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background-color 0.2s;
}
.extra-img-slot.filled {
  border-style: solid;
  border-color: var(--border, #cbd5e1);
  background: #0f172a;
}
.extra-img-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.extra-img-actions {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  gap: 4px;
  z-index: 2;
}
.extra-img-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: none;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.15s;
}
.extra-img-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}
.extra-img-btn.del:hover {
  background: #dc2626;
}
.extra-img-add-btn {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--primary, #16a34a);
  font-weight: 700;
  font-size: 12.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}
.extra-img-add-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  color: var(--muted, #64748b);
}

/* Müşteri Detay Modalı - Kaydırmalı Galeri */
.prod-modal-gallery {
  position: relative;
  width: 100%;
  height: 320px;
  background: var(--bg-muted, #f8fafc);
  border-top-left-radius: var(--radius, 12px);
  border-top-right-radius: var(--radius, 12px);
  overflow: hidden;
  flex-shrink: 0;
}
.prod-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.prod-gallery-track::-webkit-scrollbar {
  display: none;
}
.prod-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 320px;
  scroll-snap-align: start;
  position: relative;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.15s ease, transform 0.15s ease;
  font-size: 15px;
}
.prod-gallery-nav:hover {
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-50%) scale(1.08);
}
.prod-gallery-nav.prev {
  left: 12px;
}
.prod-gallery-nav.next {
  right: 12px;
}
.prod-gallery-counter {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.5px;
  z-index: 15;
}
.prod-gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 15;
  background: rgba(15, 23, 42, 0.45);
  padding: 4px 8px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.prod-gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.prod-gallery-dot.active {
  width: 18px;
  border-radius: 4px;
  background: var(--primary, #16a34a);
}

@media (max-width: 480px) {
  .prod-modal-header-img,
  .prod-modal-gallery,
  .prod-gallery-slide {
    height: 300px;
  }
}

html.dark-mode .extra-img-slot {
  background: #1e293b;
  border-color: #334155;
}

/* ============================================================
   İşletme Takip Sistemi Stilleri
   ============================================================ */
.btn-follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid var(--primary, #16a34a);
  background: transparent;
  color: var(--primary, #16a34a);
}
.btn-follow:hover {
  background: rgba(22, 163, 74, 0.08);
}
.btn-follow.following {
  border-color: var(--border, #cbd5e1);
  background: var(--bg-muted, #f1f5f9);
  color: var(--muted, #64748b);
}
.btn-follow.following:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
}

html.dark-mode .btn-follow {
  border-color: var(--primary, #16a34a);
  color: var(--primary, #16a34a);
}
html.dark-mode .btn-follow.following {
  border-color: #334155;
  background: #1e293b;
  color: #94a3b8;
}
html.dark-mode .btn-follow.following:hover {
  border-color: #ef4444;
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
}

/* ============================================================
   Kayıtlı Kartlarım & 3DS Ödeme Ekranı Stilleri
   ============================================================ */
.threeds-katman {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg, #f8faf9);
  display: flex;
  flex-direction: column;
}
.threeds-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--card, #ffffff);
  border-bottom: 1px solid var(--border, #e2e8f0);
  font-weight: 700;
  font-size: 14.5px;
}
.threeds-cerceve {
  width: 100%;
  height: 100%;
  flex: 1;
  border: none;
  background: #ffffff;
}

html.dark-mode .threeds-katman {
  background: #0f172a;
}
html.dark-mode .threeds-header {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

.saved-card-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  background: var(--card, #ffffff);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.saved-card-item:hover {
  border-color: var(--primary, #16a34a);
}
.saved-card-item.selected {
  border-color: var(--primary, #16a34a);
  background: var(--primary-soft, rgba(22, 163, 74, 0.06));
}
.saved-card-brand {
  width: 40px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-muted, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
html.dark-mode .saved-card-item {
  background: #1e293b;
  border-color: #334155;
}
html.dark-mode .saved-card-item:hover,
html.dark-mode .saved-card-item.selected {
  border-color: var(--primary, #16a34a);
  background: rgba(22, 163, 74, 0.12);
}
html.dark-mode .saved-card-brand {
  background: #0f172a;
}

/* ============================================================
   Gömülü iyzico Ödeme Formu Modalı Stilleri
   ============================================================ */
.modal.embedded-checkout-modal {
  width: min(520px, 94%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 20px;
}
#iyzipay-checkout-form {
  width: 100%;
  min-height: 250px;
  max-width: 100%;
  overflow-x: hidden;
}
html.dark-mode .modal.embedded-checkout-modal {
  background: #1e293b;
  color: #f8fafc;
}

/* Sepette Gömülü Kart Formu Banner Stilleri */
.in-cart-form-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-muted, #f8fafc);
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 12px;
}
html.dark-mode .in-cart-form-banner {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}





/* ================================================================
   Ana sayfa vitrini (2026-09-04) — fotoğraflı kategori kartları, canlı
   sayaçlar, "Yeni Açılanlar". Kurumsal/Sade: gradyan yok, tek yeşil.
   Bölüm sırası admin panelinden (settings.home_sections) yönetilir.
   ================================================================ */
#homeSections { display: flex; flex-direction: column; }
.home-sec { margin-top: 16px; }
.home-sec[hidden] { display: none !important; }

/* Kategori kartları: fotoğraf + altta beyaz etiket şeridi */
/* auto-fit: 4 kategori varsa 4 kart tam genişliği paylaşır, 6 varsa 6 — sağda boş hücre kalmaz */
.cat-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.cat-tile.has-img { padding: 0; min-height: 138px; overflow: hidden; justify-content: flex-end;
  border: 1px solid var(--border); background: #eef4f0; }
.cat-tile.has-img .cat-img { position: absolute; inset: 0; background: #eef4f0 center/cover no-repeat; transition: transform .25s ease; }
.cat-tile.has-img:hover .cat-img { transform: scale(1.04); }
.cat-tile.has-img .cat-txt { position: relative; z-index: 1; padding: 9px 12px 10px; background: rgba(255,255,255,.95);
  border-top: 1px solid rgba(15,41,30,.06); }
.cat-tile .cat-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--primary-soft, #e8f8ee); color: var(--primary, #16a34a);
  display: flex; align-items: center; justify-content: center; font-size: 20px; }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }

/* Canlı sayaçlar — sıfırsa şerit hiç çizilmez (sahte sayı yok) */
.home-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius, 12px);
  padding: 12px 14px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.home-stat i { width: 36px; height: 36px; border-radius: 10px; background: var(--primary-soft, #e8f8ee); color: var(--primary, #16a34a);
  display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.home-stat b { font-size: 20px; font-weight: 900; line-height: 1; color: var(--text); display: block; }
.home-stat small { font-size: 11.5px; font-weight: 700; color: var(--muted); display: block; margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .home-stats { gap: 8px; }
  .home-stat { padding: 10px 8px; gap: 7px; }
  .home-stat i { width: 30px; height: 30px; font-size: 13px; border-radius: 8px; }
  .home-stat b { font-size: 16px; }
  .home-stat small { font-size: 10px; }
}

/* Vitrin kartı: "Yeni" rozeti ve fotoğrafsız işletme için simge zemini */
.m-biz-card .m-new { position: absolute; top: 8px; left: 8px; background: var(--primary, #16a34a); color: #fff;
  font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 8px; }
.m-biz-card .m-meta .m-newtxt { color: var(--primary, #16a34a); font-weight: 800; }

/* Karanlık mod */
html.dark-mode .cat-tile.has-img { background: #1e293b !important; border-color: #334155 !important; }
html.dark-mode .cat-tile.has-img .cat-txt { background: rgba(30,41,59,.95); border-top-color: #334155; }
html.dark-mode .home-stat { background: #1e293b !important; border-color: #334155 !important; }
html.dark-mode .home-stat b { color: #ffffff; }
/* Vitrin kartı meta satırı açık temada koyu yeşil sabitti; karanlıkta puan görünmüyordu */
html.dark-mode .m-biz-card .m-name, html.dark-mode .m-biz-card .m-meta .m-star, html.dark-mode .m-biz-card .m-meta .m-price { color: #f8fafc !important; }
html.dark-mode .m-biz-card .m-meta { color: #94a3b8; }
html.dark-mode .cat-tile .cat-ico { background: rgba(22,163,74,.18); color: #4ade80; }

/* Mobil hızlı kategori şeridi: fotoğraflı kutu (simge yerine) */
.qc-tile .qc-img { width: 52px; height: 52px; border-radius: 12px; background: #eef4f0 center/cover no-repeat;
  display: block; border: 1px solid rgba(15,41,30,.08); }
.qc-tile:has(.qc-img) { padding-top: 9px; padding-bottom: 9px; gap: 6px; }
.qc-tile.active .qc-img { box-shadow: 0 0 0 2px var(--primary, #16a34a); }
html.dark-mode .qc-tile .qc-img { background-color: #0f172a; border-color: #334155; }

/* ================================================================
   Sezon teması (2026-09-04) — html[data-season=yilbasi|ramazan|bayram|kis]
   Admin'den tek seçim, build'siz. Yalnız simge + etiket; marka rengi ve
   düzen değişmez, animasyon yok.
   ================================================================ */
html[data-season] .header .logo::after,
html[data-season] .season-ico::before,
html[data-season] .hero::after {
  font-family: "Font Awesome 6 Free"; font-weight: 900; font-style: normal;
  color: var(--primary, #16a34a);
}
html[data-season="yilbasi"] .header .logo::after, html[data-season="yilbasi"] .season-ico::before, html[data-season="yilbasi"] .hero::after { content: "\f06b"; } /* gift */
html[data-season="ramazan"] .header .logo::after, html[data-season="ramazan"] .season-ico::before, html[data-season="ramazan"] .hero::after { content: "\f186"; } /* moon */
html[data-season="bayram"] .header .logo::after, html[data-season="bayram"] .season-ico::before, html[data-season="bayram"] .hero::after { content: "\f699"; } /* star-and-crescent */
html[data-season="kis"] .header .logo::after, html[data-season="kis"] .season-ico::before, html[data-season="kis"] .hero::after { content: "\f2dc"; } /* snowflake */
html[data-season] .header .logo::after { margin-left: 6px; font-size: 14px; }
html[data-season] .season-ico::before { margin-right: 8px; font-size: 16px; }
/* Hero köşe etiketi: küçük yuvarlak rozet, afişin üstüne binmez */
html[data-season] .hero { position: relative; }
html[data-season] .hero::after {
  position: absolute; top: 10px; right: 12px; z-index: 5;
  width: 34px; height: 34px; border-radius: 10px; font-size: 15px;
  background: rgba(255,255,255,.92); border: 1px solid rgba(15,41,30,.08);
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
html.dark-mode[data-season] .hero::after { background: rgba(30,41,59,.92); border-color: #334155; color: #4ade80; }

/* Sezon rafı ürün kartı */
.season-prod { flex: 0 0 165px; max-width: 165px; cursor: pointer; scroll-snap-align: start;
  border: 1.5px solid #eef2f0; transition: transform .15s, box-shadow .15s; }
.season-prod:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(15,41,30,.12); }
.season-prod .sp-thumb { position: relative; height: 110px; background: #eef4f0 center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; font-size: 36px; }
.season-prod .sp-body { padding: 10px 12px 12px; }
.season-prod .sp-name { display: block; font-size: 13.5px; font-weight: 800; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.season-prod .sp-biz { display: block; font-size: 11.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.season-prod .sp-price { margin-top: 6px; font-size: 15px; font-weight: 900; color: var(--primary, #16a34a); }
html.dark-mode .season-prod { background: #1e293b !important; border-color: #334155 !important; }
html.dark-mode .season-prod .sp-thumb { background-color: #0f172a; }

/* ================================================================
   İşletme kartı rozetleri (2026-09-04) — fotoğrafın sol üstünde, en çok 3
   (mobil vitrin kartında 2). Metin sunucudan, işletme yalnız tonu seçer.
   ================================================================ */
.biz-badges { position: absolute; top: 8px; left: 8px; right: 50px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 2; pointer-events: none; }
.biz-badge { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 4px 9px; border-radius: 8px;
  font-size: 11px; font-weight: 800; line-height: 1.2; color: #ffffff; background: #dc2626;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.biz-badge i { font-size: 10px; flex-shrink: 0; }
.biz-badges.ton-green .biz-badge { background: var(--brand-dark, #14532d); }
.biz-badges.ton-dark .biz-badge { background: #0f172a; }
.m-biz-card .biz-badges { right: 44px; }
.m-biz-card .biz-badge { font-size: 10px; padding: 3px 7px; }
@media (max-width: 640px) {
  .biz-card .biz-badges .biz-badge:nth-child(n+3) { display: none; }
}

/* Vitrin kartı (165px) sıkışıklığı (2026-09-04): rozetler kalbin ALTINA tam
   genişlikte, "Min. 120₺" ikinci satıra tek parça — başlık kırılmasın. */
.m-biz-card .biz-badges { top: 44px; left: 8px; right: 8px; }
.m-biz-card .biz-badge { font-size: 10px; padding: 3px 7px; max-width: 100%; }
.m-biz-card .m-meta { flex-wrap: wrap; row-gap: 3px; }
.m-biz-card .m-meta .m-time { white-space: nowrap; }
.m-biz-card .m-meta .m-price { flex-basis: 100%; margin-left: 0; white-space: nowrap; font-size: 11.5px; color: var(--muted); }
