/* ══════════════════════════════════════════════════════════════
   UX katmanı — üyelik, giriş, ilan sihirbazı, başarı sayfası,
   ana sayfa "nasıl çalışır" bölümü
   ══════════════════════════════════════════════════════════════ */

/* ─── Ortak ─────────────────────────────────────────────────── */
.btn-lg { border-radius: 12px; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(0,102,204,.15); }

/* ─── Doğrulama bandı ───────────────────────────────────────── */
.verify-banner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
  border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; font-size: 14px;
}
.verify-banner > i { font-size: 18px; }
.verify-banner span { flex: 1 1 240px; }
.verify-banner button { border: 0; background: none; color: inherit; font-size: 18px; line-height: 1; padding: 0 2px; }

/* ─── Üye ol / giriş ────────────────────────────────────────── */
.auth-wrap { display: flex; justify-content: center; padding: 8px 0 24px; }
.auth-card {
  width: 100%; max-width: 440px; background: #fff; border-radius: 20px;
  padding: 32px 28px; box-shadow: 0 10px 40px rgba(15,23,42,.08); border: 1px solid #eef2f7;
}
.auth-icon {
  width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 28px;
  background: var(--primary-light); color: var(--primary);
}
.auth-icon-success { background: #dcfce7; color: #16a34a; }
.auth-title { font-size: 24px; font-weight: 800; margin: 0 0 6px; color: #0f172a; }
.auth-sub { color: var(--text-muted); font-size: 14px; margin: 0; }
.auth-perks {
  list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
  font-size: 13px; color: #334155;
}
.auth-perks i { color: #16a34a; margin-right: 4px; }
.auth-card .form-floating > .form-control { border-radius: 12px; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: #94a3b8; font-size: 13px; margin: 22px 0 16px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }

.btn-pass-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; color: #64748b; font-size: 18px; padding: 6px; z-index: 5;
}
.btn-pass-toggle-label { top: auto; bottom: 30px; transform: none; right: 18px; }
.pass-meter { height: 4px; border-radius: 4px; background: #e2e8f0; overflow: hidden; }
.pass-meter span { display: block; height: 100%; width: 0; transition: width .25s, background .25s; }

/* ─── İlan sihirbazı ────────────────────────────────────────── */
.wiz-page { max-width: 1180px; margin: 0 auto; }
.wiz-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.wiz-title { font-size: 26px; font-weight: 800; margin: 0; color: #0f172a; }
.wiz-sub { color: var(--text-muted); font-size: 14px; }
.wiz-plan { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #475569;
  background: #fff; border: 1px solid #e2e8f0; padding: 6px 10px; border-radius: 10px; }

.wiz-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 18px; counter-reset: s; }
.wiz-steps li {
  flex: 1; display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px;
  color: #64748b; font-weight: 600; font-size: 14px; position: relative; overflow: hidden;
}
.wiz-steps li span {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; display: grid; place-items: center;
  background: #f1f5f9; font-size: 13px;
}
.wiz-steps li em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wiz-steps li.active { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 3px rgba(0,102,204,.1); }
.wiz-steps li.active span { background: var(--primary); color: #fff; }
.wiz-steps li.done { color: #16a34a; }
.wiz-steps li.done span { background: #dcfce7; color: #16a34a; font-size: 0; }
.wiz-steps li.done span::before { content: '\F26E'; font-family: 'bootstrap-icons'; font-size: 16px; }

.js-wizard .wiz-panel { display: none; }
.js-wizard .wiz-panel.active { display: block; animation: wizIn .25s ease; }
@keyframes wizIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
form:not(.js-wizard) #wizNext, form:not(.js-wizard) #wizPrev { display: none; }

.wiz-card {
  background: #fff; border: 1px solid #e8edf3; border-radius: 16px;
  padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.wiz-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.wiz-card-head h2 { font-size: 17px; font-weight: 700; margin: 0; color: #0f172a; }
.wiz-card-head h2 i { color: var(--primary); margin-right: 8px; }
.wiz-hint { font-size: 12.5px; color: #64748b; }

/* Fotoğraf */
.photo-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  border: 2px dashed #cbd5e1; border-radius: 14px; padding: 28px 16px; cursor: pointer;
  background: #f8fafc; color: #475569; transition: all .15s; margin: 0;
}
.photo-drop i { font-size: 34px; color: var(--primary); }
.photo-drop strong { color: #0f172a; }
.photo-drop span { font-size: 13px; }
.photo-drop:hover, .photo-drop.drag { border-color: var(--primary); background: var(--primary-light); }
.photo-drop.busy { opacity: .6; pointer-events: none; }
.photo-drop.compact { flex-direction: row; padding: 12px; gap: 10px; }
.photo-drop.compact i { font-size: 22px; }
.photo-drop.compact span { display: none; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.photo-grid:empty { display: none; }
.photo-item { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #f1f5f9; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.photo-item.cover { border-color: var(--primary); }
.photo-cover { position: absolute; left: 0; right: 0; bottom: 0; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; text-align: center; padding: 2px; }
.photo-del {
  position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0;
  background: rgba(15,23,42,.7); color: #fff; font-size: 12px; display: grid; place-items: center;
}

/* Kategori kartları */
.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.chip-card { margin: 0; cursor: pointer; }
.chip-card input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.chip-card span {
  display: flex; align-items: center; gap: 8px; height: 100%;
  border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; color: #334155;
  transition: all .12s; background: #fff;
}
.chip-card span i { font-size: 18px; color: #64748b; }
.chip-card:hover span { border-color: #93c5fd; }
.chip-card input:checked + span { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.chip-card input:checked + span i { color: var(--primary); }
.chip-card input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Segment buton */
.seg { display: inline-flex; background: #f1f5f9; border-radius: 12px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg label { margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 9px; font-weight: 600; font-size: 14px; color: #475569; transition: all .12s; }
.seg input:checked + span { background: #fff; color: var(--primary); box-shadow: 0 1px 4px rgba(15,23,42,.12); }
.seg-sm span { padding: 7px 14px; font-size: 13.5px; }

.wiz-field-error { display: none; color: var(--danger); font-size: 13px; margin-top: 6px; }
.wiz-field-error.show { display: block; }
.price-group { max-width: 320px; }
.price-group .form-control { font-weight: 700; }

/* Hızlı ifadeler */
.quick-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.qchip { border: 1px solid #e2e8f0; background: #f8fafc; color: #334155; border-radius: 999px; padding: 4px 11px; font-size: 12.5px; }
.qchip:hover { border-color: var(--primary); color: var(--primary); }
.qchip.used { background: #dcfce7; border-color: #86efac; color: #166534; }

/* Ek bilgiler */
.wiz-more summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; color: #0f172a; }
.wiz-more summary::-webkit-details-marker { display: none; }
.wiz-more summary i { color: var(--primary); margin-right: 8px; }
.wiz-more summary::after { content: '\F282'; font-family: 'bootstrap-icons'; float: right; transition: transform .2s; color: #64748b; }
.wiz-more[open] summary::after { transform: rotate(180deg); }

/* Gezinme */
.wiz-nav {
  display: flex; align-items: center; gap: 10px; position: sticky; bottom: 0; z-index: 20;
  background: rgba(241,245,249,.92); backdrop-filter: blur(8px); padding: 12px 0; margin-top: 4px;
}
.wiz-quality { flex: 1; flex-direction: column; gap: 4px; padding: 0 8px; }
.wiz-quality small { color: #64748b; font-size: 12px; }
.wiz-quality-bar { height: 6px; background: #e2e8f0; border-radius: 6px; overflow: hidden; }
.wiz-quality-bar span { display: block; height: 100%; width: 20%; background: #f59e0b; transition: width .3s; }
.wiz-quality-bar span[data-level="mid"] { background: #3b82f6; }
.wiz-quality-bar span[data-level="high"] { background: #16a34a; }

/* Önizleme kartı */
.wiz-sticky { position: sticky; top: 165px; }
.lp-card { border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; background: #fff; }
.lp-img { aspect-ratio: 4/3; background: #f1f5f9; display: grid; place-items: center; position: relative; }
.lp-img img { width: 100%; height: 100%; object-fit: cover; }
.lp-img > i { font-size: 42px; color: #cbd5e1; }
.lp-badge { position: absolute; top: 10px; left: 10px; background: rgba(15,23,42,.75); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.lp-body { padding: 12px 14px; }
.lp-title { font-weight: 700; color: #0f172a; line-height: 1.3; margin-bottom: 4px; word-break: break-word; }
.lp-meta { font-size: 12.5px; color: #64748b; margin-bottom: 8px; }
.lp-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lp-price { font-weight: 800; color: var(--primary); font-size: 17px; }
.lp-city { font-size: 12.5px; color: #64748b; }
.wiz-tips h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.wiz-tips h3 i { color: #f59e0b; margin-right: 6px; }
.wiz-tips ul { list-style: none; padding: 0; margin: 0; font-size: 13.5px; color: #475569; }
.wiz-tips li { padding: 4px 0; }
.wiz-tips li i { margin-right: 8px; color: #cbd5e1; }
.wiz-tips li.ok { color: #166534; }
.wiz-tips li.ok i { color: #16a34a; }
.wiz-store-cta { display: flex; gap: 12px; align-items: center; text-decoration: none; color: #0f172a; border-color: #fed7aa; background: #fff7ed; }
.wiz-store-cta > i { font-size: 26px; color: var(--secondary); }
.wiz-store-cta strong { display: block; font-size: 14px; }
.wiz-store-cta span { font-size: 12.5px; color: #78716c; }
.wiz-store-cta:hover { color: #0f172a; border-color: var(--secondary); }

.wiz-toast {
  position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 2000; transition: all .25s;
}
.wiz-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 767px) {
  .wiz-title { font-size: 21px; }
  .wiz-card { padding: 16px; border-radius: 14px; }
  .wiz-steps li { padding: 8px; gap: 6px; font-size: 12.5px; justify-content: center; }
  .wiz-steps li span { width: 24px; height: 24px; flex-basis: 24px; }
  .chip-grid { grid-template-columns: repeat(2, 1fr); }
  .seg { display: flex; }
  .seg label { flex: 1; }
  .seg span { justify-content: center; padding: 9px 8px; }
  .price-group { max-width: none; }
  .wiz-nav { bottom: calc(var(--bottom-nav-h, 0px) + var(--safe-bottom, 0px)); margin-left: -4px; margin-right: -4px; padding: 10px 4px; }
}

/* ─── Başarı sayfası ────────────────────────────────────────── */
.success-wrap { display: flex; justify-content: center; padding: 10px 0 30px; }
.success-card { max-width: 560px; width: 100%; background: #fff; border-radius: 20px; padding: 34px 28px; text-align: center; box-shadow: 0 10px 40px rgba(15,23,42,.08); }
.success-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.success-burst {
  width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: #16a34a; color: #fff; font-size: 40px; box-shadow: 0 0 0 10px #dcfce7; animation: pop .45s cubic-bezier(.2,1.6,.4,1);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-listing { display: flex; gap: 14px; align-items: center; text-align: left; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px; margin: 20px 0; }
.success-listing img, .success-noimg { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; flex: 0 0 76px; background: #f1f5f9; display: grid; place-items: center; color: #cbd5e1; font-size: 28px; }
.success-listing strong { display: block; line-height: 1.3; }
.success-listing span { display: block; font-size: 13px; color: #64748b; margin-top: 2px; }
.success-listing .badge { display: inline-block; margin-top: 6px; }
.success-share { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-bottom: 20px; font-size: 14px; color: #64748b; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; text-decoration: none; border: 1px solid #e2e8f0; background: #fff; color: #0f172a; }
.share-wa { background: #25d366; border-color: #25d366; color: #fff; }
.share-fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-btn:hover { filter: brightness(.95); color: inherit; }
.share-wa:hover, .share-fb:hover { color: #fff; }
.success-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.success-links { display: flex; justify-content: center; gap: 20px; margin-top: 18px; font-size: 14px; }
.success-links a { text-decoration: none; }

/* ─── Ana sayfa: nasıl çalışır ──────────────────────────────── */
.howto { background: #fff; border-radius: 20px; padding: 28px; border: 1px solid #e8edf3; }
.howto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 18px; }
.howto-step { display: flex; gap: 14px; align-items: flex-start; }
.howto-num { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: var(--primary-light); color: var(--primary); }
.howto-step h3 { font-size: 15.5px; font-weight: 700; margin: 2px 0 4px; }
.howto-step p { font-size: 13.5px; color: #64748b; margin: 0; }
.howto-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top: 1px solid #f1f5f9; }
.trust-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: #475569; }
.trust-row i { color: #16a34a; margin-right: 4px; }
.wiz-card .form-label { display: block; }

/* ─── Arama / kategori açılış sayfaları ─────────────────────── */
.search-h1 { font-size: 24px; font-weight: 800; color: #0f172a; margin: 0 0 6px; }
.search-intro { color: #475569; font-size: 14.5px; max-width: 860px; margin-bottom: 10px; }
.seo-links { display: flex; flex-wrap: wrap; gap: 6px; }
.seo-links a { font-size: 13px; background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; padding: 4px 12px; text-decoration: none; color: #334155; }
.seo-links a:hover { border-color: var(--primary); color: var(--primary); }
.seo-links span { color: #94a3b8; margin-left: 2px; }
@media (max-width: 767px) { .search-h1 { font-size: 20px; } }

/* ─── SSS ──────────────────────────────────────────────────── */
.faq { background: #fff; border-radius: 20px; padding: 28px; border: 1px solid #e8edf3; }
.faq details { border-bottom: 1px solid #f1f5f9; padding: 12px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 700; color: #0f172a; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--primary); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 8px 0 0; color: #475569; font-size: 14.5px; }
.seo-cities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.seo-cities a { font-size: 13px; color: #475569; text-decoration: none; border: 1px solid #e2e8f0; border-radius: 8px; padding: 3px 10px; background: #fff; }
.seo-cities a:hover { color: var(--primary); border-color: var(--primary); }

/* ─── Çerez bandı ───────────────────────────────────────────── */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 3000; max-width: 760px; margin: 0 auto;
  background: #0f172a; color: #e2e8f0; border-radius: 14px; padding: 14px 16px; box-shadow: 0 10px 40px rgba(0,0,0,.3);
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13.5px;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar strong { color: #fff; display: block; }
.cookie-bar a { color: #93c5fd; }
.cookie-text { flex: 1 1 280px; }
.cookie-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.cookie-bar .btn-outline-secondary { color: #cbd5e1; border-color: #475569; }
body.app-mode .cookie-bar { bottom: calc(var(--bottom-nav-h, 64px) + 12px); }

/* ─── Ayar kartları (hesap, bildirim, gizlilik) ─────────────── */
.set-card { background: #fff; border: 1px solid #e8edf3; border-radius: 16px; overflow: hidden; margin-bottom: 16px; }
.set-card--hint { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fffbeb; border-color: #fde68a; }
.set-card--hint > i { font-size: 22px; color: #b45309; }
.set-card--hint strong { display: block; font-size: 14px; }
.set-card--hint span { font-size: 12.5px; color: #78716c; }
.set-card--hint > div { flex: 1; }
.set-head { padding: 14px 16px 6px; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #64748b; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-top: 1px solid #f1f5f9; margin: 0; cursor: pointer; color: inherit; text-decoration: none; }
.set-row:first-child { border-top: 0; }
.set-row > div:first-child { display: flex; align-items: center; gap: 12px; min-width: 0; }
.set-row > div:first-child > i { font-size: 20px; color: var(--primary); width: 26px; text-align: center; flex-shrink: 0; }
.set-row strong { display: block; font-size: 14.5px; color: #0f172a; }
.set-row span { display: block; font-size: 12.5px; color: #64748b; }
.set-row--main { background: #f8fafc; }
.set-link:hover { background: #f8fafc; color: inherit; }
.set-link > .bi-chevron-right { color: #94a3b8; }
.set-quiet { display: flex; align-items: center; gap: 8px; padding: 0 16px 14px 54px; }
.set-quiet .form-select { max-width: 110px; }
.form-switch .form-check-input { width: 2.6em; height: 1.4em; cursor: pointer; }

/* ─── Statik sayfalar ──────────────────────────────────────── */
.static-page { background: #fff; border-radius: 18px; border: 1px solid #e8edf3; padding: 32px; line-height: 1.75; }
.static-page h1 { font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 12px; }
.static-page h2 { font-size: 18px; font-weight: 700; color: var(--primary); margin: 24px 0 8px; }
.static-page ul, .static-page ol { padding-left: 20px; }
.static-intro .lead { font-weight: 600; color: var(--brand-orange, #ff6b00); }
.static-updated { color: #94a3b8; font-size: 12.5px; margin: 24px 0 0; }
.faq--plain { padding: 0; border: 0; }
.faq-item { border-bottom: 1px solid #f1f5f9; padding: 12px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; color: #0f172a; }
.faq-item p { margin: 8px 0 0; color: #475569; }
@media (max-width: 767px) { .static-page { padding: 20px; } .static-page h1 { font-size: 22px; } }
.footer-legal { row-gap: 4px !important; }

/* ══ Mobil uygulama (Capacitor) arayüzü ══════════════════════ */
body.in-app { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; overscroll-behavior-y: none; }
body.in-app input, body.in-app textarea, body.in-app [contenteditable] { -webkit-touch-callout: default; }
/* Market kuralı: uygulama içinde dijital ürün satın alma bağlantıları gizlenir */
body.in-app a[href^="/uyelik-paketleri"], body.in-app a[href^="/pricing"], body.in-app a[href^="/account/boost"],
body.in-app a[href^="/account/membership"], body.in-app a[href^="/payment/"], body.in-app .plan-upgrade-cta { display: none !important; }
body.in-app .footer { display: none; }
body.in-app .cookie-bar { bottom: calc(var(--bottom-nav-h, 64px) + env(safe-area-inset-bottom, 0px) + 12px); }
.app-drawer-version { text-align: center; color: #94a3b8; font-size: 11.5px; padding: 18px 0 calc(18px + env(safe-area-inset-bottom, 0px)); }

.opv-toast {
  position: fixed; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 5000;
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px); box-shadow: 0 12px 32px rgba(15,23,42,.22);
  transform: translateY(-140%); transition: transform .32s cubic-bezier(.2,.9,.3,1.2);
}
.opv-toast.show { transform: none; }
.opv-toast-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #e8f2ff; color: #0b5bd3; font-size: 18px; flex-shrink: 0; }
.opv-toast-tx { min-width: 0; }
.opv-toast-tx strong { display: block; font-size: 14px; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opv-toast-tx span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: #475569; }

.opv-sheet { position: fixed; inset: 0; z-index: 5100; background: rgba(15,23,42,0); display: flex; align-items: flex-end; transition: background .25s; }
.opv-sheet.show { background: rgba(15,23,42,.45); }
.opv-sheet-card { background: #fff; width: 100%; border-radius: 22px 22px 0 0; padding: 26px 22px calc(18px + env(safe-area-inset-bottom, 0px)); text-align: center; transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.9,.3,1); }
.opv-sheet.show .opv-sheet-card { transform: none; }
.opv-sheet-ic { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 14px; display: grid; place-items: center; font-size: 30px; color: #fff; background: linear-gradient(135deg, #1d7ff2, #083a8f); box-shadow: 0 8px 20px rgba(11,91,211,.3); }
.opv-sheet h3 { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.opv-sheet p { color: #64748b; font-size: 14.5px; margin: 0 0 18px; }
.opv-sheet--block { background: rgba(15,23,42,.7) !important; }

.opv-offline { position: fixed; left: 0; right: 0; top: 0; z-index: 5200; padding: calc(env(safe-area-inset-top, 0px) + 6px) 12px 6px; background: #0f172a; color: #fff; text-align: center; font-size: 13px; }
.opv-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 5300; background: linear-gradient(90deg, #ff6b00, #ff9a2e); box-shadow: 0 0 8px rgba(255,107,0,.6); opacity: 0; }
.opv-progress.go { opacity: 1; width: 85%; transition: width 6s cubic-bezier(.1,.7,.2,1); }
.opv-ptr { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 50px); left: 50%; transform: translate(-50%, 0); z-index: 4000; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(15,23,42,.18); display: grid; place-items: center; color: #94a3b8; font-size: 18px; opacity: 0; pointer-events: none; }
.opv-ptr.ready { color: #0b5bd3; }
.opv-ptr.spin i { animation: opvspin .7s linear infinite; }
@keyframes opvspin { to { transform: rotate(360deg); } }

/* Web: uygulamayı indir bandı */
.get-app { position: fixed; left: 10px; right: 10px; bottom: calc(var(--bottom-nav-h, 0px) + 10px); z-index: 3500; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px 12px; box-shadow: 0 10px 30px rgba(15,23,42,.18); }
.get-app[hidden] { display: none; }
.get-app > div { flex: 1; min-width: 0; }
.get-app strong { display: block; font-size: 14px; }
.get-app span { font-size: 12px; color: #64748b; }
.get-app > button { border: 0; background: none; font-size: 22px; color: #94a3b8; line-height: 1; }
body.app-mode .get-app { bottom: calc(var(--bottom-nav-h, 64px) + 14px); }
/* Menü başlığındaki misafir butonları (mavi zemin üzerinde görünür olsun) */
.app-drawer-guest .btn-primary { background: #fff; border-color: #fff; color: #0b5bd3; font-weight: 700; }
.app-drawer-guest .btn-outline-primary { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; font-weight: 600; }
.app-drawer-guest .btn-outline-primary:hover { background: rgba(255,255,255,.12); color: #fff; }
/* iOS: 16px altı yazılı alanlara odaklanınca sayfa yakınlaşmasın */
@media (max-width: 767px) {
  input.form-control, select.form-select, textarea.form-control, .form-floating > .form-control,
  input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], select, textarea { font-size: 16px !important; }
}
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
body.kb-open .app-bottom-nav, body.kb-open .get-app, body.kb-open .cookie-bar { display: none !important; }
body.kb-open .wiz-nav { bottom: 0 !important; }

/* Ana sayfa: hero öncesi header'ın açtığı boş <main> boşluk bırakmasın (flash/banner yoksa) */
main.py-4:has(+ section.hero):not(:has(.container > *)) { padding: 0 !important; }

/* İlan detayı: Favoriye Ekle butonu (yumuşak pembe, favorideyken dolu) */
.listing-fav.btn-outline-danger { display: inline-flex; align-items: center; justify-content: center; gap: 2px; background: #FFF1F2; border: 1px solid #FECDD3; color: #E11D48; white-space: nowrap; }
.listing-fav.btn-outline-danger:hover, .listing-fav.btn-outline-danger:focus-visible { background: #FFE4E6; border-color: #FDA4AF; color: #BE123C; }
.listing-fav.btn-outline-danger:active { transform: scale(.98); }
.listing-fav.btn-outline-danger.active { background: #E11D48; border-color: #E11D48; color: #fff; box-shadow: 0 6px 16px -6px rgba(225, 29, 72, .55); }
.listing-fav.btn-outline-danger.active i { color: #fff; }
