/* Ordvia — azulejo teması (Bootstrap 5.3 üstüne) */
:root {
  --azul: #1d4e9e;
  --azul-escuro: #0f2f66;
  --azul-claro: #e7eef9;
  --creme: #fbf6ec;
  --papel: #fffdf8;
  --terra: #c4573a;
  --terra-escuro: #a3442b;
  --mostarda: #e2a72e;
  --texto: #1f2430;
  --suave: #5b6170;
  --linha: #e8e0cf;
  --ok: #2f8f5b;
  --raio: 16px;
  --sombra: 0 6px 24px rgba(15, 47, 102, .08);
  --header-h: 64px;
  --bottom-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --azulejo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Crect width='80' height='80' fill='%23fbf6ec'/%3E%3Cg fill='none' stroke='%231d4e9e' stroke-width='2'%3E%3Ccircle cx='40' cy='40' r='14'/%3E%3Cpath d='M40 4 Q52 22 40 26 Q28 22 40 4Z M40 76 Q52 58 40 54 Q28 58 40 76Z M4 40 Q22 28 26 40 Q22 52 4 40Z M76 40 Q58 28 54 40 Q58 52 76 40Z'/%3E%3Cpath d='M0 0 Q14 6 12 12 Q6 14 0 0Z M80 0 Q66 6 68 12 Q74 14 80 0Z M0 80 Q14 74 12 68 Q6 66 0 80Z M80 80 Q66 74 68 68 Q74 66 80 80Z'/%3E%3C/g%3E%3Ccircle cx='40' cy='40' r='5' fill='%23e2a72e'/%3E%3C/svg%3E");

  --bs-primary: var(--azul);
  --bs-primary-rgb: 29, 78, 158;
  --bs-body-font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--texto);
  --bs-body-bg: var(--papel);
  --bs-border-color: var(--linha);
  --bs-link-color: var(--azul);
  --bs-link-hover-color: var(--azul-escuro);
}

html { scroll-padding-top: calc(var(--header-h) + 12px); -webkit-tap-highlight-color: transparent; }
body { line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { text-decoration: none; }
h1, h2, h3, .h1, .h2, .h3, .h4, .brand { font-family: Fraunces, Georgia, serif; line-height: 1.15; }
.container.narrow { max-width: 820px; }
.text-azul { color: var(--azul) !important; }
.bg-azul { background: var(--azul) !important; }
.bg-creme { background: var(--creme); }
.link-terra { color: var(--terra); font-weight: 600; }
.link-terra:hover { color: var(--terra-escuro); }

/* Butonlar */
.btn { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; font-weight: 600; padding: .6rem 1.15rem; }
.btn-sm { padding: .4rem .85rem; font-size: .85rem; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }
.btn-azul { background: var(--azul); color: #fff; border: 0; }
.btn-azul:hover, .btn-azul:focus-visible { background: var(--azul-escuro); color: #fff; }
.btn-terra { background: var(--terra); color: #fff; border: 0; }
.btn-terra:hover, .btn-terra:focus-visible { background: var(--terra-escuro); color: #fff; }
.btn-outline-azul { border: 1.5px solid var(--azul); color: var(--azul); background: transparent; }
.btn-outline-azul:hover, .btn-check:checked + .btn-outline-azul { background: var(--azul); color: #fff; border-color: var(--azul); }
.btn-icon { width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 1.15rem; color: var(--azul); }
.form-control, .form-select { border-color: var(--linha); border-radius: 12px; }
.form-control:focus, .form-select:focus { border-color: var(--azul); box-shadow: 0 0 0 .2rem rgba(29, 78, 158, .15); }
.form-check-input:checked { background-color: var(--azul); border-color: var(--azul); }

/* Azulejo şerit */
.azulejo-strip { height: 14px; background: var(--azulejo); background-size: 14px; border-block: 2px solid var(--azul); }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.45rem; color: var(--azul); }
.brand:hover { color: var(--azul-escuro); }
.brand-tile { width: 32px; height: 32px; border-radius: 8px; background: var(--azulejo); background-size: 32px; border: 2px solid var(--azul); flex: none; }
.brand-light { color: #fff; }

/* Header */
.site-header { background: rgba(255, 253, 248, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); padding-top: env(safe-area-inset-top, 0); }
.site-header nav { height: var(--header-h); }
.main-links { gap: 1.6rem; font-weight: 500; }
.main-links a { color: var(--suave); }
.main-links a:hover { color: var(--azul); }
.lang-switch { display: flex; border: 1px solid var(--linha); border-radius: 999px; overflow: hidden; font-size: .78rem; font-weight: 700; }
.lang-switch a { padding: .35rem .6rem; color: var(--suave); }
.lang-switch a.active { background: var(--azul); color: #fff; }

/* Mobil alt menü (webview / app hissi) */
.bottom-nav {
  position: fixed; inset: auto 0 0 0; z-index: 1030; display: flex;
  height: calc(var(--bottom-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(255, 253, 248, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--linha); box-shadow: 0 -4px 20px rgba(15, 47, 102, .06);
}
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--suave); font-size: .7rem; font-weight: 600; }
.bottom-nav a i { font-size: 1.2rem; }
.bottom-nav a.active { color: var(--azul); }
.bottom-nav a.active i { color: var(--terra); }
@media (max-width: 991.98px) {
  body:not(.auth-body):not(.panel-body) { padding-bottom: calc(var(--bottom-h) + var(--safe-b)); }
}

/* Hero */
.hero { position: relative; background: var(--creme); overflow: hidden; padding: 4.5rem 0 5rem; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--azulejo); background-size: 80px; opacity: .12; }
.hero > .container { position: relative; }
.eyebrow { display: inline-flex; gap: .5rem; align-items: center; background: #fff; border: 1px solid var(--linha); padding: .35rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--terra); margin-bottom: 1.1rem; }
.hero-title { font-size: clamp(2.1rem, 5vw, 3.6rem); color: var(--azul-escuro); font-weight: 700; }
.hero-title em { color: var(--terra); }
.hero-lead { font-size: 1.1rem; color: var(--suave); max-width: 520px; margin: 1.1rem 0 1.6rem; }

.search-box { display: flex; background: #fff; border-radius: 999px; box-shadow: var(--sombra); border: 1px solid var(--linha); padding: 6px; max-width: 620px; }
.sb-field { flex: 1; display: flex; align-items: center; gap: .6rem; padding: 0 1rem; min-width: 0; margin: 0; }
.sb-field + .sb-field { border-left: 1px solid var(--linha); }
.sb-field i { color: var(--azul); }
.sb-field input { border: 0; outline: 0; width: 100%; padding: .75rem 0; background: transparent; font-size: 16px; /* iOS zoom engeli */ }
.search-box .btn { flex: none; }

.hero-art { position: relative; height: 440px; }
.ha-photo { position: absolute; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px rgba(15, 47, 102, .18); border: 6px solid #fff; }
.ha-photo img { width: 100%; height: 100%; object-fit: cover; }
.ha-1 { width: 62%; height: 72%; top: 0; right: 0; }
.ha-2 { width: 50%; height: 52%; bottom: 0; left: 4%; }
.ha-tile { position: absolute; width: 110px; height: 110px; right: 42%; top: 40%; border-radius: 18px; background: var(--azulejo); background-size: 55px; border: 4px solid var(--azul); transform: rotate(8deg); }
.ha-seal { position: absolute; right: 4%; bottom: 6%; display: flex; gap: .75rem; align-items: center; background: #fff; border-radius: 14px; padding: .75rem 1rem; box-shadow: var(--sombra); }
.ha-seal > i { font-size: 1.6rem; color: var(--terra); }
.ha-seal b { display: block; font-family: Fraunces, serif; color: var(--azul); }
.ha-seal span { font-size: .8rem; color: var(--suave); }

/* Çipler */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--linha); font-size: .88rem; font-weight: 500; color: var(--texto); white-space: nowrap; transition: .15s; }
.chip i { color: var(--azul); }
.chip small { color: var(--suave); font-weight: 400; }
.chip:hover { border-color: var(--azul); color: var(--azul); }
.chip.active { background: var(--azul); border-color: var(--azul); color: #fff; }
.chip.active i, .chip.active small { color: #fff; }
.chip-sm { padding: .3rem .7rem; font-size: .8rem; }

/* İstatistik */
.stats-band { background: var(--azul); color: #fff; padding: 1.5rem 0; }
.stats-band b { display: block; font-family: Fraunces, serif; font-size: 1.9rem; color: var(--mostarda); }
.stats-band span { font-size: .85rem; opacity: .85; }

/* Bölümler */
.section { padding: 4.5rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.75rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: var(--azul-escuro); margin: 0; }
.section-head p { color: var(--suave); margin: .4rem 0 0; }

/* Kategori kartı */
.cat-card { display: block; height: 100%; background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.2rem .75rem; text-align: center; color: var(--texto); transition: .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--sombra); border-color: var(--azul); color: var(--texto); }
.cat-icon { width: 54px; height: 54px; margin: 0 auto .75rem; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--azul-claro); color: var(--azul); }
.cat-card b { display: block; font-size: .95rem; }
.cat-card small { color: var(--suave); font-size: .78rem; }

/* Şehir mozaiği */
.city-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 210px; gap: 1rem; }
.city-tile { position: relative; border-radius: var(--raio); overflow: hidden; color: #fff; }
.city-tile.is-big { grid-row: span 2; }
.city-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.city-tile:hover img { transform: scale(1.05); }
.city-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(15, 47, 102, .85)); }
.city-tile div { position: absolute; left: 1.1rem; bottom: 1rem; z-index: 1; }
.city-tile h3 { font-size: 1.5rem; margin: 0; }
.city-tile span { font-size: .85rem; opacity: .9; }

/* Mekan kartı */
.venue-card { display: block; height: 100%; background: #fff; border-radius: var(--raio); overflow: hidden; border: 1px solid var(--linha); color: var(--texto); transition: .2s; }
.venue-card:hover { box-shadow: var(--sombra); transform: translateY(-3px); color: var(--texto); }
.vc-img { position: relative; aspect-ratio: 4 / 3; background: var(--creme); }
.vc-img img { width: 100%; height: 100%; object-fit: cover; }
.vc-badge { position: absolute; top: .7rem; left: .7rem; display: inline-flex; gap: .35rem; align-items: center; background: #fff; color: var(--azul); font-size: .75rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; }
.vc-status { position: absolute; top: .7rem; right: .7rem; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; color: #fff; }
.vc-status.is-open { background: var(--ok); }
.vc-status.is-closed { background: rgba(31, 36, 48, .7); }
.vc-body { padding: .9rem 1rem 1rem; }
.vc-body h3 { font-size: 1.12rem; margin: 0 0 .3rem; }
.vc-meta { display: flex; flex-wrap: wrap; gap: .25rem .75rem; font-size: .8rem; color: var(--suave); }
.vc-meta i { margin-right: .3rem; color: var(--azul); }
.vc-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .65rem; }
.tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; padding: .2rem .55rem; border-radius: 6px; background: var(--azul-claro); color: var(--azul); font-weight: 600; }
.tag-terra { background: #fdf0e3; color: var(--terra); }
.tag-ok { background: #e3f4ea; color: var(--ok); }
.tag-off { background: #eee; color: var(--suave); }

/* Mobilde yatay kaydırma listesi */
@media (max-width: 991.98px) {
  .h-scroll { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-inline: calc(var(--bs-gutter-x) * -.5 - 4px); padding-inline: 4px; padding-bottom: 4px; }
  .h-scroll::-webkit-scrollbar { display: none; }
  .h-scroll > .col { flex: 0 0 74%; max-width: 300px; scroll-snap-align: start; }
}
.chip-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip-scroll::-webkit-scrollbar { display: none; }

/* Mutfaklar */
.cuisine-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.cuisine-grid a { padding: .7rem 1.2rem; border-radius: 12px; background: #fff; border: 1px solid var(--linha); font-weight: 500; color: var(--texto); }
.cuisine-grid a:hover { background: var(--azul); color: #fff; border-color: var(--azul); }

/* Nasıl çalışır */
.step-card { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.6rem; height: 100%; }
.step-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--azulejo); background-size: 48px; border: 2px solid var(--azul); margin-bottom: 1rem; position: relative; }
.step-icon i { background: #fff; color: var(--azul); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }
.step-card h3 { font-size: 1.2rem; }
.step-card p { color: var(--suave); margin: 0; }

/* SSS */
.faq .accordion-item { border: 1px solid var(--linha); border-radius: 12px !important; margin-bottom: .75rem; overflow: hidden; }
.faq .accordion-button { font-weight: 600; font-family: Inter, sans-serif; font-size: 1rem; }
.faq .accordion-button:not(.collapsed) { background: var(--azul-claro); color: var(--azul-escuro); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { color: var(--suave); }

/* Liste sayfası */
.page-hero { position: relative; background: var(--creme); padding: 1.5rem 0 2rem; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--azulejo); background-size: 80px; opacity: .08; }
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); color: var(--azul-escuro); margin: .5rem 0; }
.lead-sm { color: var(--suave); max-width: 720px; margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; padding: 0; margin: 0; font-size: .82rem; color: var(--suave); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .5; }
.crumbs a { color: var(--suave); }
.crumbs a:hover { color: var(--azul); }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--suave); }
.empty-state > i { font-size: 2.6rem; color: var(--azul); margin-bottom: 1rem; display: block; }
.pagination { --bs-pagination-color: var(--azul); --bs-pagination-active-bg: var(--azul); --bs-pagination-active-border-color: var(--azul); --bs-pagination-border-radius: 10px; }
.related h2 { color: var(--azul-escuro); margin-bottom: 1rem; }

/* Mekan sayfası */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: .6rem; margin-top: 1rem; border-radius: 20px; overflow: hidden; }
.gallery .g-item { display: block; background: var(--creme); overflow: hidden; }
.gallery .g-main { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery .g-item:hover img { transform: scale(1.03); }
.gallery.is-single { grid-template-columns: 1fr; grid-template-rows: 380px; }
.venue-page { padding-top: 1.75rem; }
.venue-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--azul-escuro); margin: .2rem 0 .5rem; }
.venue-address { color: var(--suave); margin: 0; }
.venue-address i { color: var(--terra); margin-right: .4rem; }
.claim-link { display: inline-flex; gap: .4rem; align-items: center; margin-top: .6rem; font-size: .85rem; font-weight: 600; color: var(--terra); }
.action-bar { display: flex; gap: .6rem; margin: 1.4rem 0; overflow-x: auto; scrollbar-width: none; }
.action-bar::-webkit-scrollbar { display: none; }
.action { flex: 1 0 auto; min-width: 84px; display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .8rem .6rem; border-radius: 14px; border: 1px solid var(--linha); background: #fff; color: var(--azul); font-size: .8rem; font-weight: 600; }
.action i { font-size: 1.15rem; }
.action:hover { border-color: var(--azul); color: var(--azul-escuro); }
.action-primary { background: var(--terra); border-color: var(--terra); color: #fff; }
.action-primary:hover { background: var(--terra-escuro); color: #fff; }
.venue-block { padding: 1.5rem 0; border-top: 1px solid var(--linha); }
.venue-block h2 { font-size: 1.4rem; color: var(--azul-escuro); margin-bottom: 1rem; }
.hours-table { width: 100%; max-width: 420px; }
.hours-table th, .hours-table td { padding: .45rem 0; border-bottom: 1px dashed var(--linha); }
.hours-table th { font-weight: 500; width: 50%; vertical-align: top; }
.hours-table td { text-align: right; white-space: nowrap; }
.hours-table tr.is-today { color: var(--azul); font-weight: 700; }
.hours-table tr.is-today th { font-weight: 700; }
.venue-map { height: 300px; border-radius: var(--raio); overflow: hidden; border: 1px solid var(--linha); z-index: 0; }
.side-sticky { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 1rem; }
.side-card { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.3rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; font-size: .92rem; }
.contact-list li { display: flex; gap: .75rem; align-items: start; }
.contact-list i { color: var(--azul); width: 18px; margin-top: .2rem; text-align: center; }
.contact-list a { color: var(--texto); word-break: break-word; }
.contact-list a:hover { color: var(--azul); }
.claim-card { display: flex; gap: 1rem; align-items: start; background: var(--creme); border: 1px dashed var(--terra); border-radius: var(--raio); padding: 1.1rem; }
.claim-tile { width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--azulejo); background-size: 46px; border: 2px solid var(--azul); }

/* Menü */
.menu-hero { background: var(--azul-escuro); color: #fff; padding: 2rem 0; }
.menu-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: .6rem 0 .3rem; }
.menu-hero .back-link { color: rgba(255, 255, 255, .8); }
.menu-tabs { position: sticky; top: var(--header-h); z-index: 10; background: var(--papel); border-bottom: 1px solid var(--linha); padding: .7rem 0; }
.menu-section { margin-bottom: 2rem; }
.menu-section-title { font-size: 1.15rem; color: var(--terra); margin: 1rem 0 .4rem; font-family: Inter, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px dashed var(--linha); }
.menu-list b { display: block; }
.menu-list small { display: block; color: var(--suave); }
.menu-list .price { font-weight: 700; color: var(--azul); white-space: nowrap; }
.back-link { display: inline-flex; gap: .5rem; align-items: center; color: var(--suave); font-weight: 500; font-size: .9rem; }

/* Footer */
.site-footer { background: #0b2350; color: #cfd8ea; padding: 3.5rem 0 1.5rem; font-size: .9rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #cfd8ea; }
.site-footer a:hover { color: var(--mostarda); }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* Uygulama (webview) modu: tarayıcıya özgü kısımları sadeleştir */
.is-app .site-footer .row, .is-app .lang-switch { display: none !important; }
.is-app .site-footer { padding-top: 1rem; }
.is-app .footer-base { margin-top: 0; border: 0; }

/* Auth */
.auth-body { background: var(--creme); min-height: 100vh; }
.auth-body::before { content: ""; position: fixed; inset: 0; background: var(--azulejo); background-size: 80px; opacity: .1; pointer-events: none; }
.auth-wrap { position: relative; max-width: 560px; margin: 0 auto; padding: calc(2rem + env(safe-area-inset-top, 0)) 16px calc(2rem + var(--safe-b)); display: flex; flex-direction: column; align-items: center; }
.auth-card { width: 100%; background: #fff; border: 1px solid var(--linha); border-radius: 22px; padding: 2rem; box-shadow: var(--sombra); }
.auth-title { font-size: 1.7rem; color: var(--azul-escuro); margin-bottom: .4rem; }
.auth-sub { color: var(--suave); margin-bottom: 1.4rem; }
.auth-foot { margin-top: 1.2rem; font-size: .85rem; color: var(--suave); }
.auth-foot a { color: var(--suave); }
.form-section { font-family: Inter, sans-serif; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--terra); margin: .5rem 0 0; }
.claim-venue { display: flex; gap: .9rem; align-items: center; padding: .75rem; border: 1px solid var(--linha); border-radius: 14px; margin-bottom: 1.4rem; background: var(--creme); }
.claim-venue img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.claim-venue b { display: block; }
.claim-venue small { color: var(--suave); }
.masked-email { display: flex; gap: .6rem; align-items: center; justify-content: center; padding: .9rem; border-radius: 12px; background: var(--azul-claro); color: var(--azul-escuro); font-weight: 600; margin-bottom: 1.2rem; word-break: break-all; }
.code-input { text-align: center; font-size: 1.8rem; letter-spacing: .6em; font-weight: 700; padding-left: .6em; }
.success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e3f4ea; color: var(--ok); font-size: 1.6rem; }
.success-icon.is-muted { background: var(--azul-claro); color: var(--azul); }

/* Panel */
.panel-body { background: #f6f3ec; }
.panel-top { position: sticky; top: 0; z-index: 1030; display: flex; align-items: center; gap: .5rem; height: calc(60px + env(safe-area-inset-top, 0)); padding: env(safe-area-inset-top, 0) 1rem 0; background: #fff; border-bottom: 1px solid var(--linha); }
.panel-top .brand { font-size: 1.25rem; }
.panel-venue-name { margin-left: .75rem; padding-left: .75rem; border-left: 1px solid var(--linha); font-weight: 600; color: var(--suave); }
.panel-shell { display: flex; min-height: calc(100vh - 60px); }
.panel-side { width: 250px; flex: none; background: #fff; border-right: 1px solid var(--linha); }
@media (min-width: 992px) { .panel-side .offcanvas-body { position: sticky; top: 60px; padding: 1.25rem .9rem; display: flex; } }
.side-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--suave); padding: 0 .75rem; margin-bottom: .4rem; }
.side-link { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: 10px; color: var(--texto); font-weight: 500; font-size: .93rem; }
.side-link > i:first-child { width: 18px; text-align: center; color: var(--azul); }
.side-link:hover { background: var(--azul-claro); color: var(--azul-escuro); }
.side-link.active { background: var(--azul); color: #fff; }
.side-link.active > i { color: #fff; }
.side-link.is-locked { color: var(--suave); }
.side-link.is-locked > i:first-child { color: var(--mostarda); }
.panel-main { flex: 1; min-width: 0; padding: 1.5rem; padding-bottom: calc(1.5rem + var(--safe-b)); max-width: 1100px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.panel-head h1 { font-size: 1.7rem; color: var(--azul-escuro); margin: 0; }
.panel-card { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.3rem; margin-bottom: 1rem; }
.stat-card { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.1rem; display: grid; gap: .1rem; }
.stat-card i { color: var(--terra); font-size: 1.1rem; margin-bottom: .3rem; }
.stat-card b { font-family: Fraunces, serif; font-size: 1.5rem; color: var(--azul-escuro); }
.stat-card span { font-size: .8rem; color: var(--suave); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.checklist li { display: flex; align-items: center; gap: .7rem; padding: .55rem .4rem; border-radius: 8px; }
.checklist li:hover { background: var(--creme); }
.checklist li > i:first-child { color: var(--linha); }
.checklist li.is-done > i:first-child { color: var(--ok); }
.checklist li.is-done a { color: var(--suave); text-decoration: line-through; }
.checklist a { color: var(--texto); font-weight: 500; }
.premium-teaser { background: linear-gradient(135deg, #fff8e8, #fff); border-color: var(--mostarda); }
.badge-premium { display: inline-flex; gap: .35rem; align-items: center; background: var(--mostarda); color: #fff; padding: .2rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.panel-venue { display: flex; gap: 1rem; align-items: center; padding: 1rem; background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); color: var(--texto); }
.panel-venue:hover { border-color: var(--azul); color: var(--texto); }
.panel-venue img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.panel-venue b { display: block; }
.panel-venue small { color: var(--suave); }
.panel-savebar { position: sticky; bottom: 0; padding: .9rem 0 calc(.9rem + var(--safe-b)); background: linear-gradient(transparent, #f6f3ec 35%); display: flex; justify-content: flex-end; }
.hours-edit { display: grid; gap: .5rem; }
.he-row { display: grid; grid-template-columns: 110px 1fr 1fr auto; gap: .5rem .75rem; align-items: center; padding: .35rem 0; border-bottom: 1px dashed var(--linha); }
.he-row:last-child { border-bottom: 0; }
.he-slot { display: flex; align-items: center; gap: .35rem; }
.he-slot .form-control { min-width: 0; }
.pin-map { height: 300px; border-radius: 12px; border: 1px solid var(--linha); z-index: 0; }
@media (max-width: 767.98px) {
  .he-row { grid-template-columns: 1fr auto; }
  .he-row b { grid-column: 1; }
  .he-row .form-check { grid-column: 2; grid-row: 1; }
  .he-row .he-slot { grid-column: 1 / -1; }
}
.upload-zone { text-align: center; border: 2px dashed var(--linha); border-radius: var(--raio); padding: 1.5rem; }
.upload-zone > i { font-size: 2rem; color: var(--azul); margin-bottom: .5rem; }
.photo-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 2px solid transparent; }
.photo-tile.is-cover { border-color: var(--mostarda); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.cover-badge { position: absolute; left: .5rem; top: .5rem; background: var(--mostarda); color: #fff; font-size: .72rem; font-weight: 700; padding: .15rem .5rem; border-radius: 999px; display: inline-flex; gap: .3rem; align-items: center; }
.photo-actions { position: absolute; right: .5rem; bottom: .5rem; display: flex; gap: .35rem; }
.photo-actions .btn { width: 34px; height: 34px; padding: 0; justify-content: center; }
.panel-menu-list li { align-items: center; }
.qr-frame { display: inline-block; padding: 1rem; background: #fff; border-radius: 16px; border: 6px solid var(--azul); }
.qr-frame img, .qr-frame canvas { display: block; }
.plan-card .plan-name { font-family: Fraunces, serif; font-weight: 700; font-size: 1.3rem; color: var(--azul); }
.plan-card .plan-price { color: var(--suave); }
.plan-card.is-premium { border-color: var(--mostarda); background: linear-gradient(135deg, #fff8e8, #fff); }
.plan-card.is-premium .plan-name { color: var(--terra); }
.plan-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.plan-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--ok); margin-right: .6rem; }
.module-card { display: flex; gap: 1rem; align-items: start; }
.module-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #fff8e8; color: var(--mostarda); font-size: 1.1rem; }

@media print {
  body * { visibility: hidden; }
  #qr-print, #qr-print * { visibility: visible; }
  #qr-print { position: absolute; inset: 0; border: 0; }
}

/* Tablet / mobil */
@media (max-width: 991.98px) {
  .hero { padding: 2.5rem 0 3rem; }
  .section { padding: 3rem 0; }
  .panel-side { width: 280px; }
  .panel-main { padding: 1rem; }
}
@media (max-width: 767.98px) {
  .city-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .city-tile.is-big { grid-column: span 2; grid-row: auto; height: 200px; }
  .city-tile h3 { font-size: 1.2rem; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .5rem; border-radius: 0; margin-inline: -12px; padding-inline: 12px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .g-item { flex: 0 0 86%; height: 240px; border-radius: 16px; scroll-snap-align: center; }
  .gallery.is-single .g-item { flex-basis: 100%; }
  .side-sticky { position: static; }
  .section-head { flex-direction: column; align-items: start; }
}
@media (max-width: 575.98px) {
  .container { --bs-gutter-x: 2rem; } /* 16px kenar boşluğu */
  .search-box { flex-direction: column; border-radius: 20px; }
  .sb-field + .sb-field { border-left: 0; border-top: 1px solid var(--linha); }
  .search-box .btn { justify-content: center; margin-top: 4px; }
  .auth-card { padding: 1.4rem; border-radius: 18px; }
  .stats-band b { font-size: 1.5rem; }
  .menu-list li { gap: .6rem; }
}

/* Mobilde kompakt kategori kutuları (4'lü) */
@media (max-width: 767.98px) {
  .cat-card { padding: .7rem .2rem; border-radius: 12px; }
  .cat-icon { width: 42px; height: 42px; font-size: 1.05rem; margin-bottom: .4rem; border-radius: 11px; }
  .cat-card b { font-size: .74rem; font-family: Inter, sans-serif; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cat-card small { display: none; }
}

/* Öne çıkan şehir sayısına göre mozaik */
.city-mosaic.n1 { grid-template-columns: 1fr; }
.city-mosaic.n2 { grid-template-columns: 1fr 1fr; }
.city-mosaic.n2 .is-big, .city-mosaic.n1 .is-big { grid-row: span 1; }
.city-mosaic.n3 { grid-template-columns: 2fr 1fr; }
.city-mosaic.n4 { grid-template-columns: 2fr 1fr 1fr; }
.city-mosaic.n4 > :last-child { grid-column: span 2; }
@media (max-width: 767.98px) {
  .city-mosaic.n3 > :not(.is-big), .city-mosaic.n4 > :last-child { grid-column: auto; }
}

/* Çerez barı */
.cookie-bar {
  position: fixed; z-index: 1040; left: 16px; right: 16px; bottom: calc(16px + var(--safe-b));
  max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: .9rem;
  background: #fff; border: 1px solid var(--linha); border-left: 4px solid var(--azul); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 47, 102, .18); padding: .85rem 1rem; font-size: .88rem;
}
.cookie-bar p { margin: 0; flex: 1; color: var(--suave); }
.cookie-bar a { color: var(--azul); font-weight: 600; }
.cookie-bar .cb-icon { color: var(--terra); font-size: 1.4rem; flex: none; }
.cookie-bar .cb-actions { display: flex; gap: .5rem; flex: none; }
.cookie-bar.is-hiding { opacity: 0; transform: translateY(12px); transition: .25s; }
@media (max-width: 991.98px) {
  body:not(.auth-body):not(.panel-body) .cookie-bar { bottom: calc(var(--bottom-h) + var(--safe-b) + 10px); }
}
@media (max-width: 575.98px) {
  .cookie-bar { flex-wrap: wrap; left: 10px; right: 10px; }
  .cookie-bar .cb-icon { display: none; }
  .cookie-bar .cb-actions { width: 100%; }
  .cookie-bar .cb-actions .btn { flex: 1; justify-content: center; }
}

/* Yasal sayfalar */
.legal-body { line-height: 1.7; }
.legal-body h2 { font-size: 1.35rem; color: var(--azul-escuro); margin: 2rem 0 .75rem; }
.legal-body h3 { font-size: 1.05rem; font-family: Inter, sans-serif; font-weight: 700; margin: 1.25rem 0 .5rem; }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin-bottom: .35rem; }
.legal-updated { color: var(--suave); font-size: .85rem; }
.legal-table { font-size: .88rem; }
.legal-table th { white-space: nowrap; }

/* Liste filtreleri (kategori / mutfak) */
.filter-row { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.filter-label { flex: none; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--suave); min-width: 92px; }
.filter-row .chip-row { min-width: 0; flex: 1; }
@media (max-width: 575.98px) {
  .filter-row { flex-direction: column; align-items: stretch; gap: .35rem; }
}

/* Galeri: "+N foto" rozeti ve imleç */
.gallery .g-item { position: relative; cursor: zoom-in; }
.gallery .g-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: rgba(15, 47, 102, .55); color: #fff; font-weight: 700; font-size: 1.3rem; }
.glightbox-clean .gdesc-inner { padding: 10px 16px; }
.glightbox-clean .gslide-description { background: var(--azul-escuro) !important; }
.glightbox-mobile .glightbox-container .gslide-description { background: linear-gradient(transparent, rgba(0,0,0,.75)) !important; }
.glightbox-clean .gslide-desc { color: #fff; font-family: Inter, sans-serif; font-size: .85rem; text-align: center; }

/* Panel: menü düzenleme ikon butonları, QR renk seçici */
.btn-icon-sm { width: 30px; height: 30px; padding: 0; justify-content: center; border-radius: 8px; color: var(--suave); }
.btn-icon-sm:hover { background: var(--azul-claro); color: var(--azul); }
.panel-menu-list .item-edit { background: var(--creme); border-radius: 10px; padding: .5rem .75rem .75rem; margin-top: .5rem; }
.qr-frame #qrcode svg, .qr-frame #qrcode canvas { display: block; max-width: 100%; height: auto; }
.qr-swatch { width: 30px; height: 30px; border-radius: 50%; background: var(--sw); cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--linha); }
.btn-check:checked + .qr-swatch { box-shadow: 0 0 0 2px var(--azul); }
