/* ============================================================================
   NeYemeli katmanlı CSS — 4/4: pages.css
   İçerik: mekan detay kart sistemi, saat/rota/paylaşım modalları, Rotalarım,
   değerlendirme formu, yorum fotoğrafları, işletme paneli (dashboard), üye ve
   kalan sayfa stilleri.
   KURAL: en son yüklenir (en yüksek ezme önceliği). / Layered CSS 4/4: venue
   detail cards, modals, routes page, review form, business panel.
   ============================================================================ */
/* =========================================================
   Restoran detay: kart sistemi (FoodDetail gibi)
   Restaurant detail: card system (like FoodDetail)
   ========================================================= */
.app--restaurant-page .card--detail.rdetail {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.rdetail-panels {
  padding-bottom: 30px;
}

/* Bölümler arası boşluk (kart sistemi) / spacing between section cards */
.rdetail-panel .recipe-card,
.rdetail-panel > .rdetail-infobar {
  margin-bottom: 16px;
}

.rdetail-panel .recipe-card:last-child {
  margin-bottom: 0;
}

/* Başlık ile puan kartları arasına boşluk / spacing under heading before rating cards */
.recipe-card > .ratings {
  margin-top: 14px;
}

/* Genel ortalama rozeti (puanlama başlığının sağında) / overall average badge */
/* Yeşil puan rozeti (hero/topbar rozetiyle aynı) / green rating pill matching hero & topbar */
.rdetail-avg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: #15803d;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.rdetail-avg i {
  color: #fff;
  font-size: 12px;
  opacity: 0.95;
}

/* Ben de Gittim/Tavsiye barı sekmelerin üstünde / cooked-bar above tabs */
.rdetail-cooked {
  /* Yatay boşluk kaldırıldı: butonlar tab içeriğiyle aynı genişlikte (x=16, w=343) /
     horizontal padding removed so buttons match the tab content width */
  padding: 0 0 14px;
}

/* Ara/WhatsApp/Rezervasyon sarmalayıcı — tab genişliğinde, cooked-bar'ın üstünde /
   CTA wrapper — tab width, above the cooked-bar */
.rdetail-ctawrap {
  padding-top: 12px;
}

.rdetail-cooked .cooked-bar {
  margin-bottom: 0;
}

/* Adres & İletişim kartı / address & contact card */
.rdetail-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.rdetail-contact__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.rdetail-contact__row:first-child {
  border-top: none;
}

.rdetail-contact__row i {
  width: 18px;
  text-align: center;
  font-size: 16px;
  color: var(--brand2);
  flex-shrink: 0;
}

.rdetail-contact__row span {
  min-width: 0;
  word-break: break-word;
}

.rdetail-contact__row:hover {
  color: var(--brand2);
}

/* Açılış/Kapanış kartı / hours card (open=green, closed=red) */
.rdetail-hours-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafafa;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s, filter 0.2s;
}

.rdetail-hours-card:hover {
  transform: translateY(-1px);
}

/* Kart nötr (ortalama tutar kartıyla aynı); renk sadece tabela yazısında */
/* Card stays neutral (same as cost card); color only on the sign text */

/* Yuvarlak yeşil/kırmızı rozet + beyaz tabela görseli + yazı */
/* Round green/red badge + white sign image + label */
.rdetail-hours-card__badge {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rdetail-hours-card.is-open .rdetail-hours-card__badge {
  background: #16a34a;
}

.rdetail-hours-card.is-closed .rdetail-hours-card__badge {
  background: #dc2626;
}

.rdetail-hours-card__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Açık/Kapalı yazısı tam tabelanın üzerinde / label centered on the sign board */
.rdetail-hours-card__sign {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(52% + 1px); /* 1px yukarı / 1px up */
  transform: translateY(-50%);
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.rdetail-hours-card.is-open .rdetail-hours-card__sign {
  color: #15803d;
}

.rdetail-hours-card.is-closed .rdetail-hours-card__sign {
  color: #b91c1c;
}

.rdetail-hours-card__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rdetail-hours-card__arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.rdetail-hours-card__label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.rdetail-hours-card__val {
  font-size: 15px;
  font-weight: 800;
}

/* Ortalama tutar kartı / average cost card */
.rdetail-cost-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafafa;
}

.rdetail-cost-card__icon {
  /* Saat kartındaki yeşil yuvarlakla uyumlu: turuncu daire + beyaz ikon /
     matches the green circle: orange disc + white icon */
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.rdetail-cost-card__label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Değer + alt açıklama tek satırda, taban hizalı / value + sub on one baseline-aligned row */
.rdetail-cost-card__valrow {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.rdetail-cost-card__val {
  font-size: 18px;
  font-weight: 900;
}

.rdetail-cost-card__sub {
  font-size: 12px;
  color: var(--muted);
}

/* ---- Mekanda Mutlaka Tadılmalı / must-try signature dishes ---- */
.rdetail-musttry__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--brand2);
  font-size: 12px;
  font-weight: 800;
}

.rdetail-musttry__note {
  margin: 4px 0 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.rdetail-musttry {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rdetail-musttry__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

/* İmza lezzet görseli (varsa) / signature dish thumbnail when available */
.rdetail-musttry__img {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}

/* Numaralı sıra rozeti (1, 2, 3...) / numbered rank badge */
.rdetail-musttry__rank {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand2);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rdetail-musttry__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rdetail-musttry__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.rdetail-musttry__desc {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rdetail-musttry__price {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand2);
}

/* Özellikler — biraz daha büyük / features — a bit larger */
.rdetail-features--lg {
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 0;
}

.rdetail-features--lg .rdetail-feature-tag {
  font-size: 13px;
  padding: 9px 14px 9px 12px;
}

.rdetail-features--lg .rdetail-feature-tag > i {
  font-size: 15px;
}

/* Rotaya ekle ikonu (bookmark'ın solunda) / route-add icon */
.food-card__actions-right-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.rdetail-route-add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s;
}

.rdetail-route-add i {
  font-size: 17px;
}

.rdetail-route-add:hover {
  color: var(--brand2);
}

.rdetail-route-add.is-added {
  color: #16a34a;
}

/* Etiket her durumda butonun rengini izlesin (eklendi=yeşil, hover=turuncu) —
   .food-card__actions-left span kuralının ezmesini engeller /
   label follows the button color in every state (added=green, hover=orange) */
.rdetail-route-add .rdetail-route-add__label {
  white-space: nowrap;
  color: inherit;
}

/* =========================================================
   Saatler & Rota popup'ları / hours & route modals
   ========================================================= */
.hoursmodal__card,
.routemodal__card {
  text-align: left;
  padding: 0;
  overflow: hidden;
  width: min(420px, 100%);
}

.hoursmodal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.hoursmodal__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
}

.hoursmodal__list {
  padding: 6px 16px 16px;
}

.hoursmodal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.hoursmodal__row:last-child {
  border-bottom: none;
}

.hoursmodal__row.is-today {
  font-weight: 800;
}

.hoursmodal__row.is-today .hoursmodal__day {
  color: var(--brand2);
}

.hoursmodal__time {
  font-weight: 700;
}

.hoursmodal__row.is-closed .hoursmodal__time {
  color: #b91c1c;
}

/* Rota popup / route modal */
.routemodal__new {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.routemodal__input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
}

.routemodal__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.routemodal__create {
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.routemodal__list {
  padding: 12px 16px 16px;
  max-height: 50vh;
  overflow-y: auto;
}

.routemodal__empty {
  margin: 0;
  padding: 12px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.routemodal__row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.routemodal__row:last-child {
  margin-bottom: 0;
}

.routemodal__row:hover {
  border-color: var(--brand);
}

.routemodal__row.is-added {
  background: #f0fdf4;
  border-color: #16a34a;
}

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

.routemodal__row-name {
  font-size: 15px;
  font-weight: 800;
}

.routemodal__row-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.routemodal__row-icon {
  font-size: 16px;
  color: var(--brand2);
}

.routemodal__row.is-added .routemodal__row-icon {
  color: #16a34a;
}

/* =========================================================
   Rotalarım sayfası / My Routes page
   ========================================================= */
.routes-new {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
}

.routes-new__input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  background: var(--card);
}

.routes-new__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.routes-new__btn {
  flex-shrink: 0;
  align-self: center;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  border-radius: 12px;
  padding: 11px 16px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.routes-new__btn:hover {
  filter: brightness(1.04);
}

/* Rotayı düzenle butonu / edit route button */
.route-item__edit {
  flex-shrink: 0;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

.route-item__edit:hover {
  color: var(--brand2);
  background: #fff7ed;
}

/* Rota oluştur/düzenle modal formu / route create-edit modal form */
.routeform__card {
  text-align: left;
  padding: 0;
  overflow: hidden;
  width: min(420px, 100%);
}

.routeform__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.routeform__input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
}

.routeform__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.routeform__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  padding: 13px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.routeform__save:hover {
  filter: brightness(1.04);
}

.route-item {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
}

/* Rota paylaşımı: yayında rozeti + aksiyonlar + popüler kart / route sharing */
.route-pub {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #0d9488;
  background: rgba(13, 148, 136, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
}
.route-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 0 10px;
  /* Tek çizgi: ayraç ilk durağın border-top'undan gelir / single divider comes from first stop's border-top */
  border-bottom: none;
}
.routeact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.routeact i {
  font-size: 13px;
}
.routeact:hover {
  border-color: var(--brand2);
}
.routeact.is-on {
  background: #0d9488;
  border-color: #0d9488;
  color: #fff;
}
.routeact--like.is-on {
  background: #fff;
  border-color: #e11d48;
  color: #e11d48;
}
.routeact--likes {
  border: none;
  background: none;
  color: var(--muted);
  cursor: default;
  padding-left: 0;
}
/* Popüler rota kartında yazar avatarı / author avatar on popular route card */
.route-item__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ---- Alternatif Tarifler (üye gönderimi) / member alternative recipes ---- */
.altrecipes__note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}
.altrecipe__title {
  font-weight: 800;
  font-size: 15px;
  margin: 8px 0 4px;
}
/* Üye tarifi / onay bekliyor rozeti (kartın sağ üstünde) / member-recipe badge */
.altrecipe__badge {
  flex-shrink: 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}
.altrecipe__badge--pending {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

/* Rota alt sekmeleri ile başlık/buton satırı arasına nefes boşluğu / breathing space above route tabs */
.routetabs {
  margin-top: 14px;
}

/* ---- Rota görünürlük rozeti (3 durum) / route visibility badge ---- */
.route-vis {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
}
.route-vis--public { background: rgba(13, 148, 136, 0.12); color: #0d9488; }
.route-vis--unlisted { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.route-vis--private { background: rgba(100, 116, 139, 0.16); color: #475569; }

/* Durum seçim modalı / visibility chooser modal */
.routevis__list { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.routevis__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.routevis__opt:hover { border-color: var(--brand2); }
.routevis__opt.is-on { border-color: var(--brand2); background: rgba(234, 88, 12, 0.06); }
.routevis__opt-ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text); flex-shrink: 0;
}
.routevis__opt-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.routevis__opt-label { font-weight: 800; font-size: 14px; }
.routevis__opt-desc { font-size: 12px; color: var(--muted); }
.routevis__opt-check { color: var(--brand2); opacity: 0; flex-shrink: 0; }
.routevis__opt.is-on .routevis__opt-check { opacity: 1; }

/* ---- Boş durum kartı (rota vb.) / empty-state card ---- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  /* Başlık bloğuyla arasında dolu listedeki (.list) ile aynı boşluk kalsın; aksi halde
     kart başlığa yapışıyordu / same gap as a populated list, otherwise it touches the heading */
  margin-top: 12px;
  padding: 32px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.empty-state__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.10);
  color: var(--brand2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 6px;
}
.empty-state__text { margin: 0; font-weight: 800; font-size: 16px; }
.empty-state__sub { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 380px; }
.empty-state__cta {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: var(--brand2);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

/* Rota durağında sağ ok: tıklayınca mekana gider ipucu / chevron hint on route stops */
.route-place__link { position: relative; }
.route-place__arrow {
  margin-left: auto;
  padding-left: 8px;
  color: var(--muted);
  font-size: 13px;
  flex-shrink: 0;
}

/* ---- Paylaşım popup penceresi / share popup ---- */
.sharepop__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 6px 2px 14px;
}
@media (max-width: 380px) {
  .sharepop__grid { grid-template-columns: repeat(3, 1fr); }
}
.sharepop__opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.sharepop__ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}
.sharepop__opt--wa .sharepop__ic { background: #25d366; }
.sharepop__opt--x .sharepop__ic { background: #0f0f0f; }
.sharepop__opt--fb .sharepop__ic { background: #1877f2; }
.sharepop__opt--tg .sharepop__ic { background: #229ed9; }
.sharepop__opt--copy .sharepop__ic { background: #64748b; }
.sharepop__url {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--muted);
}
.sharepop__url input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  outline: none;
}

.route-item__head {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.route-item__head::-webkit-details-marker {
  display: none;
}

.route-item__info {
  flex: 1;
  min-width: 0;
}

.route-item__name {
  font-size: 16px;
  font-weight: 800;
}

.route-item__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.route-item__del {
  flex-shrink: 0;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

.route-item__del:hover {
  color: #dc2626;
  background: #fef2f2;
}

.route-item__chev {
  color: var(--muted);
  font-size: 13px;
  transition: transform 0.2s;
}

.route-item[open] .route-item__chev {
  transform: rotate(180deg);
}

.route-item__body {
  padding: 0 16px 12px;
}

.route-place {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.route-place__link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.route-place__icon {
  color: var(--brand2);
  flex-shrink: 0;
}

.route-place__name {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.route-place__city {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.route-place__remove {
  flex-shrink: 0;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  font-size: 14px;
}

.route-place__remove:hover {
  color: #dc2626;
  background: #fef2f2;
}

/* Sürükle tutamacı / drag handle */
.route-place__drag {
  flex-shrink: 0;
  color: var(--muted);
  cursor: grab;
  padding: 4px 2px;
  font-size: 14px;
}
.route-place__drag:active { cursor: grabbing; }
.route-place.is-dragging {
  opacity: 0.5;
  background: rgba(234, 88, 12, 0.06);
  border-radius: 8px;
}
/* 3-nokta menü butonu / kebab menu button */
.route-place__menu {
  flex-shrink: 0;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 16px;
}
.route-place__menu:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.05);
}
/* Mekan seçenekleri menüsü (action sheet) / place options sheet */
.placemenu__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0 2px;
}
.placemenu__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.placemenu__btn i { width: 20px; text-align: center; color: var(--muted); }
.placemenu__btn:hover { border-color: var(--brand2); }
.placemenu__btn--danger { color: #dc2626; }
.placemenu__btn--danger i { color: #dc2626; }

.route-empty {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* =========================================================
   Yorum ekle popup'ı + Faydalı / add-comment modal + helpful
   ========================================================= */
.commentmodal__card {
  text-align: left;
  padding: 0;
  overflow: hidden;
  width: min(440px, 100%);
}

.commentmodal__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

.commentmodal__rate {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 6 alanlı değerlendirme formu satırları / six-dimension rating form rows */
.reviewform__rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reviewform__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reviewform__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Form içinde yıldız satırının alt boşluğunu sıfırla / no extra bottom gap inside the form */
.reviewform__row .comment-compose__stars {
  margin-bottom: 0;
}

.commentmodal__rate-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.commentmodal__input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  resize: vertical;
}

.commentmodal__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

/* Yorum fotoğraf ekleme: önizleme şeridi + buton / comment photo picker */
.commentmodal__photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.commentmodal__photos:empty { margin: 0; }
.commentmodal__thumb { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.commentmodal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.commentmodal__thumb-x { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border: none; border-radius: 50%;
  background: rgba(0, 0, 0, 0.6); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 11px; padding: 0; }
.commentmodal__thumb-x:hover { background: rgba(220, 38, 38, 0.9); }
.commentmodal__photobtn { display: inline-flex; align-items: center; gap: 7px; margin: 10px 0 0; padding: 9px 14px;
  border: 1px dashed var(--line); border-radius: 10px; background: #fff; color: var(--text-soft, #64748b); font: inherit; font-size: 13px; cursor: pointer; }
.commentmodal__photobtn:hover { border-color: var(--brand); color: var(--brand); }

/* Fotoğraf kırpma penceresi / photo crop modal */
.cropmodal__stage { max-height: 58vh; margin: 14px 16px; background: #0f172a; border-radius: 10px; overflow: hidden; }
.cropmodal__stage img { display: block; max-width: 100%; }
.cropmodal__actions { display: flex; gap: 10px; align-items: center; padding: 0 16px 16px; }
.cropmodal__actions .commentmodal__photobtn { margin: 0; }
.cropmodal__actions .routeform__save { margin: 0; flex: 1; }

/* "Faydalı" seçiliyken yeşil / helpful active = green */
.comment-helpful.is-on {
  color: #16a34a;
}

/* Yorum yanıtları (tek seviye, girintili) / comment replies (one level, indented) */
/* ---- İşletme paneli (dashboard): sol navigasyon + içerik / business panel: sidebar + content ---- */
/* Portal sayfalarında 1000px kabuk sınırı kalkar: navigasyon SOLA dayalı, içerik kalan
   alanda ORTADA / portal pages drop the app-shell cap so the sidebar hugs the left edge
   and the content column centers itself in the remaining space */
.content:has(> .bizpanel) { max-width: none; }
.bizpanel { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.bizpanel__main { width: 100%; max-width: 860px; margin: 0 auto; min-width: 0; }
.bizpanel__side { position: sticky; top: 86px; background: #fff; border: 1px solid var(--line, #e2e8f0); border-radius: 16px; padding: 14px; }
.bizpanel__venue { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; padding: 4px 6px 12px; border-bottom: 1px solid #f1f5f9; margin-bottom: 10px; flex-wrap: wrap; }
.bizpanel__group { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #94a3b8; text-transform: uppercase; padding: 10px 8px 4px; }
.bizpanel__link { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 10px; color: #334155; text-decoration: none; font-weight: 600; font-size: 14px; }
.bizpanel__link i { width: 18px; text-align: center; color: #94a3b8; }
.bizpanel__link:hover { background: #f8fafc; }
.bizpanel__link.is-active { background: var(--accent, #ea580c); color: #fff; }
.bizpanel__link.is-active i { color: #fff; }
.bizpanel__link--sub { padding-left: 26px; font-weight: 500; font-size: 13px; }
.bizpanel__logout { width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 0; border-radius: 10px; background: none; color: #b91c1c; font-weight: 600; font-size: 14px; cursor: pointer; }
.bizpanel__logout:hover { background: #fee2e2; }
/* İstatistik kartları (Genel Bakış) / dashboard stat cards */
.bizstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.bizstat { border: 1px solid var(--line, #e2e8f0); border-radius: 14px; padding: 14px 16px; background: #fff; }
.bizstat__num { font-size: 26px; font-weight: 800; color: var(--text, #0f172a); }
.bizstat__label { font-size: 13px; color: #64748b; margin-top: 2px; }
.bizstat i { color: var(--accent, #ea580c); }
/* Panel kartlarında başlık ile içerik yapışmasın: alt boşluk (komşu boşluklarla çakışır,
   zaten boşluklu yerlerde katlanmaz) / breathing room under card headings in the panel;
   collapses with existing sibling margins so nothing doubles */
.bizpanel .recipe-card .h2 { margin-bottom: 14px; }

/* Menü butonu + karartı yalnız mobilde var / menu button & backdrop are mobile-only */
.bizpanel__menubtn { display: none; }
.bizpanel__backdrop { display: none; }

/* Sağ üst göz ikonu: sitedeki mekan sayfası (her boyutta görünür) /
   top-right eye icon linking to the public venue page (all sizes) */
.bizpanel__viewbtn {
  position: fixed;
  top: 0;
  right: 8px;
  z-index: 30;                 /* topbar (z20) üstünde / above the fixed topbar */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: var(--rest-topbar-h, 77px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 22px;
}
.bizpanel__viewbtn:hover { color: #fff; }

/* Mobil: geri oku yerine menü butonu; yan menü gizli, butona basınca soldan çekmece açılır /
   mobile: the back arrow gives way to a menu button; the sidebar hides and opens as a drawer */
@media (max-width: 900px) {
  .bizpanel { grid-template-columns: 1fr; gap: 14px; }
  .bizpanel__main { max-width: none; }
  .app--bizpanel .topbar__back { display: none; }
  .bizpanel__menubtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 8px;
    z-index: 30;                 /* topbar (z20) üstünde / above the fixed topbar */
    width: 48px;
    /* Bar yüksekliğini kapla → ikon dikeyde ortalanır (56px logo + 2×10 padding + 1 border) /
       span the topbar height so the icon centers vertically */
    height: var(--rest-topbar-h, 77px);
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 24px;
    cursor: pointer;
  }
  .bizpanel__side { display: none; }
  .bizpanel.is-nav-open .bizpanel__side {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 85vw);
    z-index: 80;
    margin: 0;
    border-radius: 0 16px 16px 0;
    overflow-y: auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.35);
  }
  .bizpanel.is-nav-open .bizpanel__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(15, 23, 42, 0.5);
  }
}

/* Mavi işletme rozeti: profil işletme tarafından yönetiliyor / blue business-managed badge */
.bizbadge { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; background: #2563eb; color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; margin-left: 8px; white-space: nowrap; }
.bizbadge .fa-circle-check { font-size: 13px; }

/* Üstteki aksiyon satırından (Yanıtla/Faydalı) nefes alsın diye üst boşluk 20px / extra top gap from the action row */
.comment-replies { margin: 20px 0 2px 28px; border-left: 2px solid var(--line); padding-left: 14px; display: flex; flex-direction: column; gap: 12px; }
.comment-reply { display: flex; gap: 10px; }
.comment-reply__avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: 0 0 34px; }
.comment-reply__body { flex: 1; min-width: 0; }
.comment-reply__who { font-weight: 600; font-size: 14px; color: var(--text); }
.comment-reply__handle { color: var(--muted); font-weight: 500; font-size: 13px; }
.comment-reply__text { margin: 2px 0 3px; font-size: 14px; color: var(--text); }
.comment-reply__date { font-size: 12px; color: var(--muted); }
.comment-foot--reply { margin-top: 6px; }
/* Onay bekliyor rozeti (yalnız ekleyene görünür) / pending badge (author-only) */
.comment-pending { display: inline-flex; align-items: center; gap: 5px; background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.reviewrich.is-pending { border-left: 3px solid #fb923c; padding-left: 12px; }
.reviewrich.is-pending, .comment-reply.is-pending { opacity: .95; }
.comment-reply .reviewrich__photos { margin: 6px 0 2px; }
.comment-reply .reviewrich__photo { width: 72px; height: 72px; }

/* Genel değerlendirme ortalaması rozeti (yeşil pill) / overall review average badge */
.reviewavg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: #15803d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.reviewavg-badge i {
  font-size: 11px;
}

.reviewavg-badge b {
  font-size: 14px;
  font-weight: 900;
}

/* Değerlendirme: puan kartı + detay oku (Takip et yerine) / review rating pill + chevron */
.reviewrich__ratebtn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.reviewrich__ratechev {
  color: var(--muted);
  font-size: 12px;
  transition: transform 0.2s;
}

.reviewrich__ratebtn.is-open .reviewrich__ratechev {
  transform: rotate(180deg);
}

/* Alt puanlar paneli (Hız/Servis/Lezzet/Hijyen/Ambiyans) / sub-ratings panel */
.reviewrich__ratings {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 0;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.reviewrich__rrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.reviewrich__rlabel {
  font-weight: 700;
  color: var(--text);
}

.reviewrich__rstars {
  letter-spacing: 1px;
}

.reviewrich__rstars i {
  font-size: 12px;
}

/* Yorum Ekle butonu siyah / black "Add comment" button */
.comment-add-btn {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.comment-add-btn:hover {
  background: #1e293b;
  color: #fff;
  border-color: #1e293b;
}

/* ============================================================
   RestaurantDetail — yeni bölümler / new sections
   ============================================================ */

/* Hızlı bilgi şeridi: fiyat · mesafe · rozetler / quick-info strip */
.rdetail-quickbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.rdetail-quick {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; background: #f1f5f9;
  color: var(--text); font-size: 13px; font-weight: 700; white-space: nowrap;
}
.rdetail-quick i { color: var(--brand2); font-size: 12px; }
/* Puan (yeşil) + mutfak (koyu) chip'leri / rating (green) + cuisine (dark) chips */
.rdetail-quick--rating { background: #15803d; color: #fff; }
.rdetail-quick--rating i { color: #fff; }
.rdetail-quick__rcount { font-weight: 700; font-size: 11px; opacity: 0.82; } /* pildeki oy sayısı / review count in pill */
.rdetail-quick--cuisine { background: #0f172a; color: #fff; }
.rdetail-quick--cuisine i { color: #fff; }
/* Hakkında kartındaki mutfak pilleri satırı (max 5) / cuisine pill row inside About card (max 5) */
.rdetail-cuisines { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
/* Fiyat pili: turuncu zemin · aktif ₺ beyaz · son ₺ sönük (turuncuya yakın) /
   price pill: orange bg · active ₺ white · trailing ₺ dimmed */
.rdetail-quick--price { gap: 1px; background: var(--brand2); }
.rdetail-quick--price b { color: #fff; font-size: 15px; letter-spacing: 1px; }
.rdetail-quick__muted { color: rgba(255, 255, 255, 0.45); font-size: 15px; letter-spacing: 1px; }

/* Rozetler / badges */
.rdetail-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap;
}
.rdetail-badge i { font-size: 12px; }
.rdetail-badge--rec { background: #fff7ed; color: #c2410c; }
.rdetail-badge--pop { background: #ecfdf5; color: #047857; }
.rdetail-badge--editor { background: #eef2ff; color: #4338ca; }

/* Birincil eylem çubuğu: Ara · WhatsApp · Rezervasyon / primary CTA row */
.rdetail-cta { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.rdetail-cta__btn {
  flex: 1 1 0; min-width: 84px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 6px; border-radius: 12px; border: 1.5px solid transparent;
  font-size: 13px; font-weight: 800; white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.rdetail-cta__btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.rdetail-cta__btn i { font-size: 18px; }
.rdetail-cta__btn--call { background: #0f172a; color: #fff; }            /* Ara → koyu antrasit */
.rdetail-cta__btn--wa { background: #0f172a; color: #fff; }              /* WhatsApp → koyu antrasit, ikon beyaz */
.rdetail-cta__btn--reserve { background: #0f172a; color: #fff; }         /* Rezervasyon → koyu antrasit */
.rdetail-cta__btn--order { background: var(--brand2); color: #fff; margin-top: 12px; width: 100%; } /* Online sipariş → turuncu */

/* Saat kartı "X dk sonra kapanıyor" / closing-soon warning */
.rdetail-hours-card__soon {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 2px;
  font-size: 12px; font-weight: 800; color: #c2410c;
}

/* Yoğunluk (popular times) / busy times */
.rdetail-pop__now { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; }
.rdetail-pop__now i { font-size: 9px; }
.rdetail-pop__now--busy { color: #dc2626; }
.rdetail-pop__now--normal { color: #d97706; }
.rdetail-pop__now--calm { color: #16a34a; }
.rdetail-pop__bars { display: flex; align-items: flex-end; gap: 4px; height: 90px; margin-top: 6px; }
.rdetail-pop__bar { flex: 1; min-width: 0; background: #e2e8f0; border-radius: 4px 4px 0 0; transition: background 0.2s; }
.rdetail-pop__bar.is-now { background: var(--brand2); }
.rdetail-pop__axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--muted); }
.rdetail-pop__note { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

/* Kampanyalar / campaigns */
.rdetail-campaign__item { display: flex; align-items: center; gap: 12px; padding: 10px 0 2px; }
.rdetail-campaign__tag {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px;
  background: var(--brand2); color: #fff; font-size: 15px; font-weight: 900;
}
.rdetail-campaign__title { font-size: 14px; font-weight: 700; color: var(--text); }
.rdetail-campaign__desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
/* Kampanya görseli / campaign image thumb */
.rdetail-campaign__img { flex-shrink: 0; width: 72px; height: 72px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }

/* Site geneli arama sayfası (/ara) / site-wide search page */
.searchpage__form { margin: 4px 0 18px; }
.searchpage__group { margin: 22px 0 10px; display: flex; align-items: center; gap: 8px; }
.searchpage__list { display: flex; flex-direction: column; gap: 8px; }
.searchhit {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  background: var(--card, #fff); border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.searchhit:hover { border-color: var(--brand2); box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.searchhit__img { flex-shrink: 0; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.searchhit__img.ney-ph { display: flex; align-items: center; justify-content: center; background: #f1f5f9; color: #94a3b8; font-size: 18px; }
.searchhit__txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.searchhit__name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.searchhit__sub { font-size: 12px; color: var(--muted); }
.searchhit__arrow { margin-left: auto; color: var(--muted); font-size: 12px; }

/* Benzer mekanlar / similar restaurants */
.rdetail-sim { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rdetail-sim__card { text-decoration: none; color: inherit; }
.rdetail-sim__img { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #e2e8f0; }
.rdetail-sim__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rdetail-sim__rating {
  position: absolute; left: 8px; bottom: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 999px; background: #15803d; color: #fff; font-size: 12px; font-weight: 900;
}
.rdetail-sim__name { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--text); }
.rdetail-sim__cuisine { font-size: 12px; color: var(--muted); }

/* Puan dağılımı histogramı / rating distribution */
.rdetail-hist { display: flex; flex-direction: column; gap: 7px; }
.rdetail-hist__row { display: flex; align-items: center; gap: 10px; }
.rdetail-hist__star { flex-shrink: 0; width: 34px; font-size: 13px; font-weight: 800; color: var(--text); }
.rdetail-hist__star i { color: #f5b50a; font-size: 11px; }
.rdetail-hist__bar { flex: 1; height: 9px; border-radius: 999px; background: #eef2f6; overflow: hidden; }
.rdetail-hist__fill { display: block; height: 100%; background: var(--brand2); border-radius: 999px; }
.rdetail-hist__count { flex-shrink: 0; width: 38px; text-align: right; font-size: 12px; font-weight: 700; color: var(--muted); }

/* Kategori çipleri — fotoğraf filtresi + Soru&Cevap filtresi (ortak) / category chips (photos + Q&A) */
.rdetail-photocats,
.rdetail-qacats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
.rdetail-photocats::-webkit-scrollbar,
.rdetail-qacats::-webkit-scrollbar { display: none; }
.rdetail-photocat,
.rdetail-qacat {
  flex: 0 0 auto; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 14px; font-weight: 700; color: var(--text); cursor: pointer; white-space: nowrap;
}
.rdetail-photocat span,
.rdetail-qacat span { color: var(--muted); font-weight: 600; }
.rdetail-photocat.is-on,
.rdetail-qacat.is-on { background: var(--brand2); color: #fff; border-color: var(--brand2); }
.rdetail-photocat.is-on span,
.rdetail-qacat.is-on span { color: rgba(255, 255, 255, 0.85); }

/* Yorum sıralama/filtre / review sort-filter */
.rdetail-revfilter { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
.rdetail-revfilter::-webkit-scrollbar { display: none; }
.rdetail-revfilter__btn {
  flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer;
}
.rdetail-revfilter__btn.is-on { background: var(--brand2); color: #fff; border-color: var(--brand2); }

/* Yorum fotoğrafları / review photos */
.reviewrich__photos { display: flex; gap: 8px; margin: 8px 0 2px; flex-wrap: wrap; }
.reviewrich__photo { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; cursor: pointer; }

/* Soru & Cevap / Q&A (üye sorar, işletme yanıtlar — avatarlı) */
.rdetail-qa__intro { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.rdetail-qa { display: flex; flex-direction: column; gap: 12px; }
.rdetail-qa__item { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
/* Avatar + ad satırı (hem üye hem işletme) / avatar + name row */
.rdetail-qa__head { display: flex; align-items: center; gap: 10px; }
.rdetail-qa__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #e2e8f0; }
.rdetail-qa__avatar--biz { border: 2px solid #0f172a; } /* işletme logosu siyah halkayla / venue logo with black ring */
.rdetail-qa__who { min-width: 0; }
.rdetail-qa__name { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--text); }
.rdetail-qa__meta { font-size: 12px; color: var(--muted); }
.rdetail-qa__bizbadge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 800; color: #15803d; background: #dcfce7; padding: 2px 8px; border-radius: 999px;
}
/* Soru metni / question text */
.rdetail-qa__q { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4; }
/* Yanıt kutusu (işletme) — siyah çizgi + gri arkaplan / answer box (venue) — black line + gray bg */
.rdetail-qa__a { margin-top: 12px; padding: 12px; background: #f1f5f9; border-left: 3px solid #0f172a; border-radius: 0 12px 12px 0; }
.rdetail-qa__atext { margin: 8px 0 0; font-size: 13px; color: var(--text); line-height: 1.45; }
/* Soru/yanıt altı "Faydalı" satırı / helpful row under question/answer */
.rdetail-qa__foot { margin-top: 8px; display: flex; }
/* Yanıtsız soru / pending */
.rdetail-qa__pending {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 12px 0 0; font-size: 13px; color: var(--muted); font-style: italic;
}

/* Dijital kategorili menü / categorized digital menu */
.rdetail-menu__cat { margin-top: 14px; }
.rdetail-menu__cat:first-child { margin-top: 8px; }
.rdetail-menu__cattitle {
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--brand2); margin-bottom: 8px;
}
.rdetail-menu__item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px dashed var(--line);
}
.rdetail-menu__name { font-size: 14px; font-weight: 700; color: var(--text); }
.rdetail-menu__desc { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.rdetail-menu__price { flex-shrink: 0; font-size: 14px; font-weight: 800; color: var(--brand2); }

/* Tavsiye sonrası paylaş prompt'u / share-after-recommend prompt */
.sharep__card { text-align: center; max-width: 360px; padding: 22px 20px; }
.sharep__icon {
  width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%;
  background: #ecfdf5; color: #16a34a; display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.sharep__title { margin: 0 0 4px; font-size: 18px; font-weight: 900; }
.sharep__text { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.sharep__channels { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.sharep__ch {
  display: flex; flex-direction: column; align-items: center; gap: 5px; width: 60px;
  border: none; background: none; cursor: pointer; font-size: 11px; font-weight: 700; color: var(--text);
}
.sharep__ch i { font-size: 26px; }
.sharep__skip { border: none; background: none; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; padding: 4px 8px; }

/* Rezervasyon formu / reservation form rows */
.reserveform__row { display: flex; align-items: center; gap: 12px; }
.reserveform__label {
  flex: 0 0 92px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--text);
}
.reserveform__label i { color: var(--brand2); width: 14px; }
.reserveform__input {
  flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 14px; font-family: inherit; background: #fff; color: var(--text);
}

/* ---- Üyelik / Giriş ekranları / auth (login & register) screens ---- */
.authpage {
  /* Üst boşluk sabit (fixed) topbar'ı boşaltır / top padding clears the fixed topbar */
  min-height: 100dvh; display: flex; align-items: center; justify-content: center;
  padding: 100px 16px 28px; background: linear-gradient(160deg, #fff7ed 0%, var(--bg) 55%);
}
.authcard {
  width: 100%; max-width: 430px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 26px 28px;
}
.authcard__title { margin: 0 0 4px; font-size: 22px; font-weight: 700; text-align: center; }
.authcard__sub { margin: 0 0 22px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.5; }
.authalert {
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 16px; padding: 11px 13px;
  border-radius: 12px; font-size: 13px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
}
.authalert i { margin-top: 1px; }
.authfield { margin-bottom: 14px; }
.authrow2 { display: flex; gap: 12px; }
.authrow2 > .authfield { flex: 1; min-width: 0; }
.authfield__label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.authpass { position: relative; }
.authfield__input {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--text); font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.authpass .authfield__input { padding-right: 44px; }
.authfield__input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(249, 115, 22, .15); }
.authpass__toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none;
  color: var(--muted); cursor: pointer; padding: 8px; font-size: 15px; line-height: 1;
}
.authfield__err { display: block; margin-top: 5px; font-size: 12px; color: #dc2626; }
.authbtn {
  width: 100%; height: 48px; border: 0; border-radius: 12px; cursor: pointer; margin-top: 6px;
  background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff;
  font-size: 16px; font-weight: 600; font-family: inherit; transition: filter .15s;
}
.authbtn:hover { filter: brightness(1.05); }
.authalt { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.authalt a { color: var(--brand); font-weight: 600; text-decoration: none; }
.authalt a:hover { text-decoration: underline; }

/* ---- Popup auth modal (cookmodal tabanlı) / popup auth modal ---- */
.authmodal__card {
  width: 100%; max-width: 420px; max-height: 92vh; overflow-y: auto;
  padding: 28px 24px 24px; text-align: left; position: relative;
}
.authmodal__badge {
  display: flex; align-items: center; justify-content: center; width: fit-content;
  margin: 4px auto 16px; padding: 11px 20px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand2)); box-shadow: 0 6px 16px rgba(249, 115, 22, .25);
}
.authmodal__badge img { height: 26px; display: block; }
.authmodal__title { margin: 0 0 4px; font-size: 21px; font-weight: 700; text-align: center; }
.authmodal__sub { margin: 0 0 20px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.5; }
/* Modal içinde gönder butonu yüklenirken / submit spinner state */
.authbtn[disabled] { opacity: .6; cursor: default; }

/* ---- Hesabım sayfaları (siyah toolbar: sol menü, sağ user) / member account pages ---- */
.member-page #btnSearchToggle { display: none; }            /* sağda yalnız user icon / only user icon on the right */
.member-content { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
.member-title { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.member-sub { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.member-ok {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 11px 14px;
  border-radius: 12px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; font-size: 14px;
}
.member-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.member-prof { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.member-prof__av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.member-prof__av--ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; font-weight: 700; font-size: 26px;
}
.member-prof__name { font-size: 18px; font-weight: 700; }
.member-prof__mail { color: var(--muted); font-size: 14px; }
.member-prof__nick { color: var(--brand); font-size: 13px; font-weight: 600; }
.member-list { display: flex; flex-direction: column; gap: 12px; }
.member-item {
  display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px; text-decoration: none; color: inherit; transition: border-color .15s;
}
.member-item:hover { border-color: var(--brand); }
.member-item__img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; background: #eef2f7; }
.member-item__ph {
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 20px;
}
.member-item__body { min-width: 0; flex: 1; }
.member-item__title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.member-item__meta { color: var(--muted); font-size: 13px; margin-top: 3px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.member-item__text { color: var(--text); font-size: 14px; margin-top: 6px; line-height: 1.5; }
.member-item__chev { color: var(--line); flex: 0 0 auto; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.fav-card {
  display: block; text-decoration: none; color: inherit; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .15s;
}
.fav-card:hover { border-color: var(--brand); }
.fav-card__img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #eef2f7; display: block; }
.fav-card__body { padding: 10px 12px; }
.fav-card__title { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Favorilerim sekmeleri (Favori Mekanlar / Favori Yemekler) / favorites tabs */
.fav-tabs { display: flex; gap: 14px; margin-bottom: 20px; }
.fav-tab {
  flex: 1; padding: 14px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  color: var(--text); font-weight: 600; font-size: 15px; font-family: inherit; cursor: pointer; transition: all .15s;
}
.fav-tab:hover { border-color: #94a3b8; }
.fav-tab--active { background: #0f172a; color: #fff; border-color: #0f172a; }
.fav-tab--active:hover { border-color: #0f172a; }

.member-empty { text-align: center; padding: 54px 20px; color: var(--muted); }
.member-empty i { font-size: 42px; color: var(--line); margin-bottom: 12px; display: block; }
.member-empty a { color: var(--brand); font-weight: 600; text-decoration: none; }
.member-rating { color: #f59e0b; font-size: 13px; }
.member-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.st-ok { background: #ecfdf5; color: #047857; }
.st-wait { background: #fffbeb; color: #b45309; }
.st-no { background: #fef2f2; color: #b91c1c; }
.st-info { background: #eff6ff; color: #1d4ed8; }
/* Aksiyon butonları (yorum sil / favori kaldır) / member action buttons */
.member-del {
  position: absolute; top: 12px; right: 12px; border: 0; background: none; color: var(--muted);
  cursor: pointer; padding: 6px; font-size: 15px; border-radius: 8px; line-height: 1;
}
.member-del:hover { color: #dc2626; background: #fef2f2; }
.fav-card { position: relative; }
.fav-remove {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 13px; z-index: 2;
}
.fav-remove:hover { background: rgba(220, 38, 38, .92); }
/* Avatar değiştir / avatar editor */
.member-avatar-wrap { position: relative; width: 64px; height: 64px; flex: 0 0 auto; }
.member-avatar-wrap .member-prof__av { width: 64px; height: 64px; }
.member-avatar-edit {
  position: absolute; bottom: -2px; right: -2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 11px; border: 2px solid var(--card);
}
.member-avatar-edit:hover { background: var(--brand2); }

/* Avatar yer tutucu (baş harf) — kullanıcı drawer'ında / initial-badge avatar fallback */
.userdrawer__avatar--ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff; font-weight: 700; font-size: 20px;
}

/* ============================================================
   SEO ön-render alanı / server-rendered SEO content
   Detay sayfalarının içeriği sunucuda basılır; arama motorları ve
   JavaScript kapalıyken görünür. app.js yüklenince bu düğüm
   temizlenip etkileşimli sürüm render edilir.
   ============================================================ */
.seo-prerender {
  padding: 16px 18px 28px;
  color: var(--text);
  line-height: 1.65;
}
.seo-prerender h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}
.seo-prerender h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 8px;
}
.seo-prerender h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 14px 0 6px;
}
.seo-prerender p { margin: 0 0 10px; }
.seo-prerender ul,
.seo-prerender ol { margin: 0 0 12px; padding-left: 22px; }
.seo-prerender li { margin-bottom: 4px; }


/* ============================================================
   Şehir seçim penceresi (Mekanlar / Lezzetler) /
   city picker sheet used by the venue & food list pages
   ============================================================ */

/* Başlığın sağındaki tetikleyici / trigger pill next to the page title */
.citypick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.citypick:hover { border-color: var(--brand2); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.citypick > .fa-location-dot { color: var(--brand2); }
.citypick__caret { font-size: 11px; color: var(--muted); }

/* 3 kolon rahat sığsın diye pencere geniş / wider sheet so three columns fit */
.modal__sheet--wide { width: min(1040px, 100%); }

/* Seçili il / currently selected city */
.citybtn.is-active {
  border-color: var(--brand2);
  background: #fff7ed;
  color: #9a3412;
}

.citybtn:hover { border-color: var(--brand2); }
.citybtn[hidden] { display: none; }
