/* APP THEME START */
/* Inlined app-mobile.css */
/* APP THEME START */
/**
 * Mobile-first UI Theme (CepteSat)
 * - Scoped to `.mobile` body and `.app-shell` wrapper
 * - Design tokens via CSS variables
 */

:root{
  /* Colors */
  --app-bg: #f6f7fb;
  --app-surface: #ffffff;
  --app-surface-2: #f2f4f8;
  --app-text: #0b1220;
  --app-text-2: #5b6476;
  --app-border: rgba(17, 24, 39, .10);

  --app-primary: #ef4444;
  --app-primary-2: #dc2626;
  --app-success: #16a34a;
  --app-warn: #f59e0b;

  /* Typography */
  --app-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --app-fs-1: 12px;
  --app-fs-2: 14px;
  --app-fs-3: 16px;
  --app-fs-4: 18px;
  --app-fs-5: 22px;

  /* Radius */
  --app-r-1: 10px;
  --app-r-2: 14px;
  --app-r-3: 18px;
  --app-r-pill: 999px;

  /* Shadow */
  --app-shadow-1: 0 6px 20px rgba(17, 24, 39, .08);
  --app-shadow-2: 0 14px 40px rgba(17, 24, 39, .12);

  /* Spacing scale */
  --app-s-0: 0px;
  --app-s-1: 4px;
  --app-s-2: 8px;
  --app-s-3: 12px;
  --app-s-4: 16px;
  --app-s-5: 20px;
  --app-s-6: 24px;

  /* Layout */
  --app-topbar-h: 56px;
  --app-bottomnav-h: 68px;

  /* Motion */
  --app-ease: cubic-bezier(.2,.8,.2,1);
  --app-press-scale: .985;
}

/* ---------- Base shell ---------- */
body.mobile{
  font-family: var(--app-font);
  background: var(--app-bg);
  color: var(--app-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 0; /* override legacy bottom bar padding */
}

body.mobile.app-shell{
  min-height: 100svh;
  background: var(--app-bg);
}

body.mobile .app-content{
  /* keep content clear from fixed bottom nav */
  padding-bottom: calc(var(--app-bottomnav-h) + env(safe-area-inset-bottom, 0px) + var(--app-s-4));
}

/* Make default container feel "native" (no hard max-width on mobile if theme expects full width) */
body.mobile .container{
  max-width: 100%;
}

/* ---------- Sticky header (existing .topbar + new .app-topbar) ---------- */
body.mobile .app-topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 251, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--app-border);
  padding-top: env(safe-area-inset-top, 0px);
}

body.mobile .app-topbar .topbar-inner{
  height: var(--app-topbar-h);
}

/* Compact header buttons */
body.mobile .app-topbar .icon-btn{
  border-radius: var(--app-r-2);
}

/* City badge -> chip feel */
body.mobile .app-topbar .city-badge{
  border-radius: var(--app-r-pill);
  background: rgba(255,255,255,.85);
  border: 1px solid var(--app-border);
  padding: 8px 10px;
  gap: 6px;
}

/* ---------- Bottom nav (existing .bottombar + new .app-bottomnav) ---------- */
body.mobile .app-bottomnav{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--app-border);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.mobile .app-bottomnav .bb-item{
  border-radius: var(--app-r-2);
  transition: transform 120ms var(--app-ease), background-color 120ms var(--app-ease), color 120ms var(--app-ease);
}

body.mobile .app-bottomnav .bb-item.app-is-active{
  color: var(--app-primary);
}

body.mobile .app-bottomnav .bb-item.app-pressed{
  transform: scale(var(--app-press-scale));
  background: rgba(239, 68, 68, .08);
}

/* Badge: make it more "app" */
body.mobile .app-bottomnav .bb-badge{
  border-radius: var(--app-r-pill);
  box-shadow: var(--app-shadow-1);
}

/* ---------- Cards (Listing) ---------- */
body.mobile .app-card{
  border-radius: var(--app-r-3);
  overflow: hidden;
  background: var(--app-surface);
  box-shadow: var(--app-shadow-1);
  border: 1px solid rgba(17, 24, 39, .06);
}

body.mobile .app-card .card-link{
  color: inherit;
}

body.mobile .app-card .card-media{
  position: relative;
}

body.mobile .app-card .card-media img{
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--app-surface-2);
}

body.mobile .app-card .fav-btn{
  border-radius: var(--app-r-pill);
  box-shadow: var(--app-shadow-1);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17, 24, 39, .08);
}

body.mobile .app-card .card-body{
  padding: var(--app-s-3) var(--app-s-3) var(--app-s-4);
}

body.mobile .app-card .price{
  display: flex;
  align-items: baseline;
  gap: 8px;
}

body.mobile .app-card .new-price{
  font-size: var(--app-fs-4);
  font-weight: 900;
  letter-spacing: -.01em;
}

body.mobile .app-card .old-price{
  font-size: var(--app-fs-2);
  color: var(--app-text-2);
  text-decoration: line-through;
}

body.mobile .app-card .meta{
  margin-top: 6px;
  font-size: var(--app-fs-2);
  color: var(--app-text);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.mobile .app-card .meta-row{
  margin-top: 8px;
  font-size: var(--app-fs-1);
  color: var(--app-text-2);
}

body.mobile .app-card.app-pressed{
  transform: scale(var(--app-press-scale));
}

body.mobile .app-card{
  transition: transform 140ms var(--app-ease);
}

/* ---------- Listing grid spacing ---------- */
body.mobile.app-shell .grid{
  gap: 6px; /* mobilde kart arası boşluk minimum */
}

@media (max-width: 520px){
  .app-shell .grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 1px;
    padding-right: 1px;
  }
  .app-shell .section-title{
    padding-left: var(--app-s-3);
    padding-right: var(--app-s-3);
  }
}

/* Kart iç boşlukları: daha sıkı */
body.mobile .app-card .card-body{padding:8px 8px 10px}
body.mobile .app-card .meta{margin-top:4px}
body.mobile .app-card .meta-row{margin-top:6px}

/* Alt menü: sadece ikon */
body.mobile .app-bottomnav .bb-text{display:none !important}
body.mobile .app-bottomnav .bb-item{gap:0}

/* ---------- Sections / titles ---------- */
body.mobile.app-shell .section-title h2{
  font-size: var(--app-fs-4);
  letter-spacing: -.01em;
}

/* ---------- Chips (filter) ---------- */
body.mobile .app-chipbar{
  display: flex;
  gap: var(--app-s-2);
  padding: var(--app-s-3);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
body.mobile .app-chipbar::-webkit-scrollbar{ display:none; }

body.mobile .app-chip{
  flex: 0 0 auto;
  border-radius: var(--app-r-pill);
  border: 1px solid var(--app-border);
  background: rgba(255,255,255,.9);
  padding: 10px 12px;
  font-size: var(--app-fs-2);
  color: var(--app-text);
  line-height: 1;
  transition: transform 120ms var(--app-ease), background-color 120ms var(--app-ease), color 120ms var(--app-ease);
}
body.mobile .app-chip[aria-pressed="true"],
body.mobile .app-chip.is-active{
  background: rgba(239, 68, 68, .12);
  border-color: rgba(239, 68, 68, .28);
  color: var(--app-primary-2);
}

body.mobile .app-chip.app-pressed{
  transform: scale(var(--app-press-scale));
}

/* ---------- Touch feedback (generic) ---------- */
body.mobile .app-tappable{
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body.mobile .app-pressed{
  transform: scale(var(--app-press-scale));
}

/* ---------- Forms: slightly more native ---------- */
body.mobile .input,
body.mobile select.input{
  border-radius: var(--app-r-2);
}

body.mobile .form{
  padding: var(--app-s-3);
}
body.mobile .form .row,
body.mobile .form .row1{
  gap: var(--app-s-3);
}

/* ---------- Detail page improvements (keep existing markup) ---------- */
body.mobile .detail{
  border-radius: var(--app-r-3);
  box-shadow: var(--app-shadow-1);
  border: 1px solid rgba(17, 24, 39, .06);
}

body.mobile .detail-body{
  padding: var(--app-s-4);
}

/* Keep bottom CTA buttons above nav */
body.mobile .detail-actions,
body.mobile .sticky-actions{
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--app-s-4));
}

/* APP THEME END */


/* ---------- Modern listing cards ---------- */
body.mobile .app-card{
  border-radius: var(--app-r-3);
  box-shadow: var(--app-shadow-1);
  overflow: hidden;
}

body.mobile .app-card .card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 12px 6px 12px;
  gap: 12px;
}

body.mobile .app-card .seller{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}

body.mobile .app-card .seller-avatar{
  width: 32px;
  height: 32px;
  border-radius: 12px;
  font-size: 13px;
}

body.mobile .app-card .seller-name{
  font-weight: 700;
  font-size: 13px;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

body.mobile .status-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display:inline-block;
  background: #9CA3AF;
  box-shadow: 0 0 0 3px rgba(156,163,175,.18);
}

body.mobile .status-dot.online{
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34,197,94,.18);
}

body.mobile .card-media{
  border-radius: 0;
}

body.mobile .app-card .card-body{
  padding: 10px 12px 12px 12px;
}

body.mobile .app-card .card-title{
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.mobile .app-card .card-price{
  margin-top: 4px;
  font-weight: 800;
  font-size: 15px;
}

body.mobile .app-card .card-badges{
  margin-top: 8px;
  display:flex;
  gap: 6px;
  flex-wrap: wrap;
}

body.mobile .app-card .pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,122,0,.22);
  background: linear-gradient(135deg, rgba(255,122,0,.92), rgba(255,154,61,.86));
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

body.mobile .app-card .pill-type{
  border-color: rgba(255,122,0,.22);
  background: linear-gradient(135deg, rgba(255,122,0,.88), rgba(255,154,61,.80));
}

body.mobile .app-card .pill-more{
  border-color: rgba(255,122,0,.20);
  background: linear-gradient(135deg, rgba(255,122,0,.82), rgba(255,154,61,.76));
}

/* Upload/tag pills (ilan yükleme & düzenleme) */
body.mobile .tag-pills{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
body.mobile .tag-pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,122,0,.22);
  background: rgba(255,122,0,.08);
  color: #1f2937;
  font-weight: 800;
  font-size: 12px;
}
body.mobile .tag-pill input{
  width: 16px;
  height: 16px;
}

/* End inlined app-mobile.css */
/* APP THEME END */

:root{
  --primary:#ff6a00;          /* marka rengi */
  --primary-700:#c2410c;
  --bg:#f4f5f7;
  --text:#111827;
  --muted:#6b7280;
  --card:#ffffff;
  --line:#e5e7eb;
  --shadow:0 6px 18px rgba(16,24,40,.08);
  --shadow-2:0 16px 46px rgba(16,24,40,.12);
  --radius:14px;
  --radius-lg:18px;

  /* Geriye dönük uyumluluk */
  --red: var(--primary);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  padding-bottom:68px; /* mobile bottom bar */
}

body.desktop{padding-bottom:0}
body.desktop .bottombar{display:none}
a{color:inherit;text-decoration:none}
.container{max-width:1040px;margin:0 auto;padding:2px}

/* -----------------------
   Topbar
------------------------*/
.topbar{
  position:sticky;top:0;z-index:50;
  background:#fff;
  border-bottom:1px solid rgba(229,231,235,.85);
}
.topbar-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:10px;
  padding:10px 12px;
}
.topbar-left,.topbar-right{display:flex;align-items:center;gap:10px}
.brand{font-weight:900;font-size:20px;letter-spacing:.2px;display:flex;align-items:center;gap:8px}
.brand-red{color:var(--primary)}
.brand-black{color:#111827}
.brand-logo{height:28px;max-width:150px;object-fit:contain;display:block}

.city-badge{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12px;color:#374151;
  border:1px solid var(--line);
  background:#fff;
  padding:7px 10px;border-radius:999px;
}
.city-badge .city{font-weight:700}
.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
}
.icon-btn:active{transform:scale(.98)}
.icon{width:20px;height:20px;display:block}
.icon.sm{width:18px;height:18px}

.topbar.back .topbar-inner{
  display:grid;
  grid-template-columns:44px 1fr auto;
}
.topbar.back .topbar-center{
  text-align:center;font-weight:800;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  padding:0 6px;
  color:var(--primary-700);
}
.topbar.back .icon-btn{width:40px;height:40px;border-radius:14px;
  border:1px solid rgba(229,231,235,.9);;
  color:var(--primary-700);
}

/* Wizard topbar (İlan Ver) */
.topbar.wizard{border-top:3px solid var(--primary)}
.topbar.wizard .topbar-inner{
  display:grid;
  grid-template-columns:44px 1fr auto;
}
.topbar.wizard .topbar-center{
  text-align:center;
  font-weight:950;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  color:#111827;
}
.topbar-step{
  font-size:12px;
  font-weight:850;
  color:var(--muted);
  padding-right:2px;
  white-space:nowrap;
}

/* Profile topbar (Hesabım) */
.topbar.profile{border-top:0}
.topbar.profile .topbar-inner{gap:12px}
.profile-left{gap:10px}
.topbar-avatar{
  width:34px;height:34px;
  border-radius:999px;
  border:2px solid rgba(255,106,0,.75);
  overflow:hidden;
  background:rgba(255,106,0,.12);
  color:var(--primary-700);
  font-weight:950;
  display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;
}
.topbar-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.topbar-profile-name{font-weight:950;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* -----------------------
   Alerts
------------------------*/
.alert{padding:10px 12px;border-radius:12px;margin:10px 0;font-size:14px}
.alert.success{background:#ecfdf5;border:1px solid #a7f3d0}
.alert.error{background:#fef2f2;border:1px solid #fecaca}

/* -----------------------
   Section titles
------------------------*/
.section-title{
  display:flex;align-items:flex-end;justify-content:space-between;
  margin:14px 0 10px;
}
.section-title h2{
  margin:0;
  font-size:16px;
  font-weight:900;
  letter-spacing:.1px;
}
.section-title h2:after{
  content:"";
  display:block;
  width:38px;height:3px;border-radius:99px;
  margin-top:6px;
  background:var(--primary);
}
.section-title a{color:var(--primary);font-size:13px;font-weight:700}

/* -----------------------
   Categories
------------------------*/
.categories{
  display:flex;gap:14px;overflow:auto;
  padding:10px 2px 8px;
  margin:4px 0 8px;
  -webkit-overflow-scrolling:touch;
}
.categories::-webkit-scrollbar{display:none}
.cat{
  min-width:74px;
  background:transparent;
  border:0;
  padding:0;
  text-align:center;
  font-size:11px;
  color:#111827;
}
.cat-icon{
  width:46px;height:46px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(229,231,235,.85);
  box-shadow:0 8px 20px rgba(16,24,40,.08);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 6px;
  font-size:22px;
  line-height:1;
}
.cat-label{
  display:block;
  max-width:86px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* -----------------------
   Grid / cards
------------------------*/
.grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
}
@media (min-width: 900px){
  .grid{grid-template-columns:repeat(4, 1fr);}
}

.card{
  background:var(--card);
  border:1px solid rgba(229,231,235,.92);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow);
  position:relative;
}
.card img{
  width:100%;
  height:140px;
  object-fit:cover;
  display:block;
  background:#eee;
}
.badge{
  position:absolute;top:10px;left:10px;
  background:rgba(255,106,0,.95);
  color:#fff;
  font-size:11px;
  padding:5px 9px;
  border-radius:999px;
  font-weight:800;

  z-index:3;
}
.badge.blue{background:rgba(37,99,235,.92)}
.badge.green{background:rgba(16,185,129,.92)}
.heart{
  position:absolute;top:10px;right:10px;
  width:36px;height:36px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(229,231,235,.95);
  box-shadow:0 8px 22px rgba(16,24,40,.10);
}
.heart .icon{width:18px;height:18px}
.card-body{padding:10px 10px 12px}
.price{color:var(--primary);font-weight:950;font-size:15px}
.meta{color:var(--muted);font-size:12px;margin-top:4px;line-height:1.35}
.dot{margin:0 6px;color:#c1c7d0}
.meta-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.meta-ico{width:14px;height:14px;display:inline-block;vertical-align:-2px;opacity:.8}

/* -----------------------
   Bottom bar
------------------------*/
.bottombar{
  position:fixed;left:0;right:0;bottom:0;z-index:20;
  height:58px;
  background:rgba(255,255,255,.98);
  border-top:1px solid rgba(229,231,235,.92);
  display:flex;justify-content:space-around;align-items:center;
  padding:6px 8px calc(6px + env(safe-area-inset-bottom));
  backdrop-filter:saturate(140%) blur(10px);
}
.bb-item{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  color:#374151;
  min-width:56px;
}
.bb-item .bb-text{font-size:10.5px;color:#6b7280;font-weight:650}
.bb-ico{width:20px;height:20px;display:block}
.bb-primary{
  transform:translateY(-8px);
  width:50px;height:50px;
  border-radius:16px;
  background:var(--primary);
  color:#fff;
  box-shadow:0 14px 26px rgba(255,106,0,.24);
}
.bb-primary .bb-ico{width:22px;height:22px}
.bb-primary .bb-text{color:#fff}

/* Icon-only alt menü (metin gizli) */
.bottombar .bb-text{display:none}
.bottombar .bb-item{gap:0}

/* -----------------------
   Forms
------------------------*/
.form{
  background:#fff;
  border:1px solid rgba(229,231,235,.92);
  border-radius:var(--radius-lg);
  padding:14px;
  box-shadow:var(--shadow);
}
.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(229,231,235,.92);
  outline:none;
  font-size:14px;
  background:#fff;
}
.input:focus{border-color:rgba(255,106,0,.55);box-shadow:0 0 0 4px rgba(255,106,0,.12)}
.row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.row1{display:grid;grid-template-columns:1fr;gap:10px}
.btn{
  border:0;border-radius:14px;padding:12px 14px;
  background:#111827;color:#fff;font-weight:800;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
}
.btn:active{transform:scale(.99)}
.btn.red{background:var(--primary)}
.btn.gray{background:#6b7280}
.btn.outline{background:#fff;color:#111827;border:1px solid rgba(229,231,235,.92)}

/* -----------------------
   Detail page
------------------------*/
.detail{
  background:#fff;
  border:1px solid rgba(229,231,235,.92);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.detail .detail-body{padding:14px}
.price-lg{color:var(--primary);font-weight:950;font-size:28px;line-height:1}
.detail-title{margin:8px 0 6px;font-size:18px;font-weight:950;line-height:1.25}
.detail-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.crumbs{
  background:#fff7ed;
  border:1px solid rgba(251,191,36,.25);
  color:#9a3412;
  padding:10px 12px;
  border-radius:14px;
  font-size:12px;
  overflow:auto;white-space:nowrap;
}
.crumbs a{color:inherit;font-weight:750}
.section-h{
  margin:0 0 10px;
  font-size:15px;
  font-weight:950;
}
.section-h:after{
  content:"";
  display:block;
  width:38px;height:3px;border-radius:99px;
  margin-top:6px;
  background:var(--primary);
}
.hr{height:1px;background:rgba(229,231,235,.92);margin:12px 0}
.small{font-size:12px;color:var(--muted)}
.contactbar{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.btn.contact{justify-content:center}

/* -----------------------
   Carousel (shared)
------------------------*/
.carousel{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-lg);
  border:1px solid rgba(229,231,235,.92);
  background:#fff;
  touch-action:pan-y;
}
.carousel-track{display:flex;transition:transform .4s ease}
.carousel-slide{min-width:100%;position:relative}
.carousel-slide img{
  width:100%;
  height:170px;

  display:block;
}
.carousel-dots{
  position:absolute;left:0;right:0;bottom:10px;
  display:flex;gap:7px;justify-content:center;
}
.carousel-dot{
  width:7px;height:7px;border-radius:999px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(0,0,0,.10);
}
.carousel-dot.active{background:#fff}
.carousel-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  width:0px;height:0px;border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:#ffffffcc;
  backdrop-filter:blur(10px);
  display:flex;align-items:center;justify-content:center;
}


/* Hero carousel size */
.hero-carousel .carousel-slide img{height:140px}
@media(min-width:768px){
  .hero-carousel .carousel-slide img{height:280px}
}

/* Listing detail gallery carousel */
.gallery-carousel{
  border-radius:0;
  border:0;
  background:#0b1220;
}
.gallery-carousel .carousel-slide{
  background:#0b1220;
}
.gallery-carousel .carousel-slide img{
  height:320px;
  object-fit:contain;
  background:#0b1220;
}
@media(max-width:420px){
  .gallery-carousel .carousel-slide img{height:280px}
}

/* Legacy (if still used somewhere) */
.slider{
  display:flex;overflow:auto;gap:12px;
  scroll-snap-type:x mandatory;
  padding:10px 0 6px;
}
.slide{
  min-width:88%;
  scroll-snap-align:start;
  background:#fff;border:1px solid rgba(229,231,235,.92);
  border-radius:var(--radius-lg);box-shadow:var(--shadow);
  padding:14px;
  display:flex;align-items:center;justify-content:space-between;
}
@media(min-width:900px){ .slide{min-width:48%} }


/* Seller card */
.seller-card{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid rgba(229,231,235,.92);border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(16,24,40,.08)}
.seller-avatar{width:44px;height:44px;border-radius:16px;background:rgba(255,106,0,.12);color:var(--primary-700);display:flex;align-items:center;justify-content:center;font-weight:950;font-size:18px}
.seller-name{font-weight:950;color:#111827}

/* -----------------------
   Listing wizard (İlan Ver)
------------------------*/
/* Wizard sayfalarında alttaki sabit bar son alanları kapatmasın */
body.wizard-page{padding-bottom:160px}
body.wizard-page .container{max-width:620px;padding-bottom:0}

.wizard{margin:0}
.wizard-sheet{
  background:#fff;
  border:1px solid rgba(229,231,235,.92);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:14px;
  /* Sabit wizard bar + safe-area ile "Yayınla" kısmı kapanmasın */
  padding-bottom:140px;
  min-height:calc(100vh - 190px);
}
.wiz-title{
  margin:6px 0 14px;
  font-size:18px;
  font-weight:950;
  text-align:center;
}
.wiz-subtitle{
  margin:-8px 0 12px;
  text-align:center;
  font-size:13px;
  color:var(--muted);
  font-weight:750;
}
.wiz-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,106,0,.25);
  background:#fff7ed;
  color:var(--primary-700);
  font-weight:900;
  font-size:12px;
  margin:0 auto 10px;
}

.wiz-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.wiz-cat{
  border:1px solid rgba(229,231,235,.92);
  background:#fff;
  border-radius:18px;
  box-shadow:0 12px 28px rgba(16,24,40,.10);
  padding:16px 12px;
  min-height:110px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
}
.wiz-cat:active{transform:scale(.99)}
.wiz-cat.active{
  border-color:rgba(255,106,0,.65);
  box-shadow:0 0 0 4px rgba(255,106,0,.14), 0 18px 40px rgba(16,24,40,.10);
}
.wiz-cat-icon{
  width:58px;height:58px;
  border-radius:18px;
  background:rgba(255,106,0,.10);
  border:1px solid rgba(255,106,0,.18);
  display:flex;align-items:center;justify-content:center;
  font-size:30px;
  overflow:hidden;
}
.wiz-cat-icon img{width:100%;height:100%;object-fit:cover;display:block}
.wiz-cat-name{font-weight:900;color:#111827;font-size:14px;text-align:center}

.wiz-list{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.wiz-list-item{
  text-align:left;
  border:1px solid rgba(229,231,235,.92);
  background:#fff;
  border-radius:16px;
  padding:14px 14px;
  font-weight:900;
  color:#111827;
  box-shadow:0 12px 26px rgba(16,24,40,.08);
}
.wiz-list-item:active{transform:scale(.99)}
.wiz-list-item.active{border-color:rgba(255,106,0,.65);background:#fff7ed}

.upload-note{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px 12px;
  border:1px solid rgba(37,99,235,.35);
  background:#eff6ff;
  border-radius:16px;
  color:#1e3a8a;
  font-size:12px;
  line-height:1.35;
}
.upload-ico{width:18px;height:18px;flex:0 0 auto;margin-top:2px}
.upload-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.upload-actions .btn{width:100%}
.upload-preview{
  border:1px solid rgba(229,231,235,.92);
  background:#fff;
  border-radius:16px;
  padding:10px;
}
.upload-count{font-size:12px;color:var(--muted);font-weight:750;margin-bottom:8px}
.upload-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.upload-item{position:relative;border-radius:12px;overflow:hidden;border:1px solid rgba(229,231,235,.92);background:#f3f4f6}
.upload-item img{width:100%;height:68px;object-fit:cover;display:block}
.upload-item .u-actions{position:absolute;left:6px;right:6px;bottom:6px;display:flex;gap:6px}
.upload-item .u-btn{flex:1;display:inline-flex;align-items:center;justify-content:center;padding:4px 6px;border-radius:10px;border:0;font-size:10px;font-weight:950;cursor:pointer;background:rgba(17,24,39,.78);color:#fff}
.upload-item .u-btn.red{background:rgba(220,38,38,.88)}
.upload-item .u-badge{position:absolute;left:6px;top:6px;background:rgba(255,106,0,.92);color:#fff;font-weight:950;font-size:10px;padding:3px 6px;border-radius:999px}

.wizard-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:60;
  height:72px;
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:#fff;
  border-top:1px solid rgba(229,231,235,.92);
}
.wiz-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border-radius:14px;
  padding:10px 12px;
  font-weight:950;
  border:1px solid rgba(229,231,235,.92);
  background:#fff;
  color:#111827;
  cursor:pointer;
}
.wiz-btn .icon{width:18px;height:18px}
.wiz-btn.next{
  background:var(--primary);
  color:#fff;
  border-color:rgba(255,106,0,.55);
  box-shadow:0 18px 34px rgba(255,106,0,.26);
}
.wiz-btn.next.publish{padding:10px 14px}
.wiz-dots{display:flex;align-items:center;justify-content:center;gap:7px;flex:1}
.wiz-dot{width:8px;height:8px;border-radius:999px;background:#d1d5db}
.wiz-dot.active{background:var(--primary)}

@media(max-width:380px){
  .upload-grid{grid-template-columns:repeat(4,1fr)}
}

/* -----------------------
   Profile (Hesabım)
------------------------*/
.profile-tabs{
  display:flex;gap:20px;overflow:auto;
  padding:10px 2px 8px;
  margin:4px 0 12px;
  border-bottom:1px solid rgba(229,231,235,.92);
}
.profile-tabs::-webkit-scrollbar{display:none}
.profile-tab{
  padding:8px 2px;
  font-weight:900;
  color:var(--muted);
  white-space:nowrap;
  position:relative;
}
.profile-tab.active{color:var(--primary)}
.profile-tab.active:after{
  content:"";
  position:absolute;left:0;right:0;bottom:-9px;
  height:3px;border-radius:99px;
  background:var(--primary);
}

.profile-card{
  background:#fff;
  border:1px solid rgba(229,231,235,.92);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:14px;
}

.profile-complete{
  background:#fff;
  border:1px solid rgba(229,231,235,.92);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:14px;
  margin:0 0 14px;
}
.profile-complete-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.profile-complete-title{font-weight:950;color:#111827}
.profile-complete-percent{font-weight:950;color:var(--primary)}
.profile-bar{height:10px;border-radius:999px;background:#e5e7eb;overflow:hidden;margin:10px 0 8px}
.profile-bar > span{display:block;height:100%;width:0;background:var(--primary);border-radius:999px}
.profile-missing{margin:6px 0 0;color:#6b7280;font-size:12px;line-height:1.4}
.badge-verified{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#ecfdf5;border:1px solid rgba(16,185,129,.35);color:#047857;font-weight:900;font-size:12px}
.profile-head{display:flex;align-items:center;gap:12px}
.profile-avatar-lg{
  width:78px;height:78px;
  border-radius:999px;
  border:3px solid rgba(255,106,0,.85);
  overflow:hidden;
  background:rgba(255,106,0,.12);
  display:flex;align-items:center;justify-content:center;
  color:var(--primary-700);
  font-weight:950;
  font-size:28px;
  position:relative;
  flex:0 0 auto;
}
.profile-avatar-lg img{width:100%;height:100%;object-fit:cover;display:block}
.profile-online{
  position:absolute;right:6px;bottom:6px;
  width:12px;height:12px;
  border-radius:999px;
  background:#22c55e;
  border:2px solid #fff;
}
.profile-name{font-weight:950;font-size:20px;margin:0}

.profile-stats{
  display:flex;justify-content:space-around;gap:10px;
  padding:12px 0;
  margin:12px 0;
  border-top:1px solid rgba(229,231,235,.92);
  border-bottom:1px solid rgba(229,231,235,.92);
}
.profile-stat{text-align:center}
.profile-stat .num{font-weight:950;font-size:20px;color:var(--primary)}
.profile-stat .lab{font-size:12px;color:var(--muted);font-weight:850}

.profile-info{display:grid;gap:10px}
.profile-info-row{display:flex;align-items:center;gap:10px;color:#374151;font-size:13px}
.profile-info-ico{width:18px;height:18px;color:var(--primary)}

.profile-verify-title{margin:14px 0 8px;font-weight:950}
.profile-verify-icons{display:flex;gap:12px}
.verify-pill{
  width:46px;height:46px;
  border-radius:999px;
  background:rgba(255,106,0,.14);
  border:1px solid rgba(255,106,0,.25);
  display:flex;align-items:center;justify-content:center;
  color:var(--primary-700);
}
.verify-pill .icon{width:22px;height:22px}

.profile-share-btn{
  width:100%;
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,106,0,.25);
  background:#fff7ed;
  color:var(--primary-700);
  font-weight:950;
  display:flex;align-items:center;justify-content:center;gap:8px;
}
.profile-share-btn:active{transform:scale(.99)}

/* Profile settings avatar block */
.avatar-edit{display:flex;align-items:center;gap:12px}
.avatar-preview{
  width:76px;height:76px;
  border-radius:999px;
  border:3px solid rgba(255,106,0,.85);
  overflow:hidden;
  background:rgba(255,106,0,.12);
  display:flex;align-items:center;justify-content:center;
  color:var(--primary-700);
  font-weight:950;
  font-size:26px;
  flex:0 0 auto;
}
.avatar-preview img{width:100%;height:100%;object-fit:cover;display:block}
.avatar-actions{display:flex;flex-direction:column;gap:8px;flex:1}


/* v4 marketplace additions */
.old-price{color:#9ca3af;text-decoration:line-through;margin-right:8px;font-weight:700}
.new-price{color:#111827;font-weight:900}
.price-lg .old-price{font-size:16px}
.price-lg .new-price{font-size:22px}

.btn.sm{padding:8px 10px;border-radius:14px;font-size:13px}
.btn.w100{width:100%}

.tabs{display:flex;gap:10px;margin:10px 0}
.tab{flex:1;text-align:center;padding:12px 10px;border-radius:16px;background:#fff;border:1px solid #e5e7eb;color:#111827;font-weight:900;text-decoration:none}
.tab.active{background:#111827;color:#fff;border-color:#111827}
.chip-row{display:flex;gap:8px;overflow:auto;padding:6px 0 10px}
.chip{border:1px solid #e5e7eb;background:#fff;color:#111827;border-radius:999px;padding:10px 12px;font-weight:800;white-space:nowrap}
.chip.active{background:#111827;color:#fff;border-color:#111827}
.pill{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 8px;border-radius:999px;background:#ef4444;color:#fff;font-weight:900;font-size:12px}

.list{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.row{display:flex;gap:12px;padding:12px;border:1px solid #e5e7eb;background:#fff;border-radius:18px;text-decoration:none;color:inherit}
.row:hover{border-color:#d1d5db}
.avatar{width:42px;height:42px;border-radius:14px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 auto;overflow:hidden}
.avatar img{width:100%;height:100%;object-fit:cover}
.row-body{flex:1;min-width:0}
.row-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.row-title{font-weight:950}
.row-time{font-size:12px;color:#6b7280;font-weight:800}
.row-sub{font-size:13px;color:#6b7280;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.row-sub .preview{color:#111827;opacity:.9}
.row-right{display:flex;align-items:center}
.dot{opacity:.6}

.status{padding:6px 10px;border-radius:999px;font-weight:900;font-size:12px;border:1px solid #e5e7eb}
.status.pending{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.status.accepted{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.status.rejected{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.status.cancelled{background:#f3f4f6;border-color:#e5e7eb;color:#374151}

.offer-actions{display:flex;gap:10px;margin-top:10px}
.offer-card{border:1px solid #e5e7eb;border-radius:18px;padding:12px;background:#fff}
.offer-title{font-weight:950;margin-bottom:4px}
.offer-quick{display:flex;gap:10px;margin:12px 0}
.offer-quick .chip{flex:1;text-align:center}

.profile-card{border:1px solid #e5e7eb;background:#fff;border-radius:22px;padding:14px}
.profile-top{display:flex;gap:12px;align-items:center}
.profile-avatar{width:56px;height:56px;border-radius:20px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:950;overflow:hidden}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-meta{flex:1;min-width:0}
.profile-name{font-weight:950;font-size:18px}
.profile-actions{display:flex;gap:10px;flex-wrap:wrap}
.profile-stats{display:flex;gap:10px;margin-top:12px}
.stat{flex:1;background:#f9fafb;border-radius:18px;padding:10px;text-align:center;border:1px solid #e5e7eb}
.stat-num{font-weight:950;font-size:18px}
.stat-lbl{font-size:12px;color:#6b7280;font-weight:800}

/* Bottom sheet */
body.sheet-open{overflow:hidden}
.sheet{position:fixed;inset:0;z-index:120;display:none}
.sheet.open{display:block}
.sheet-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.35)}
.sheet-panel{position:absolute;left:0;right:0;bottom:0;background:#fff;border-radius:26px 26px 0 0;border:1px solid rgba(0,0,0,.08);box-shadow:0 -12px 40px rgba(0,0,0,.18);max-height:85vh;display:flex;flex-direction:column}
.sheet-h{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e5e7eb}
.sheet-title{font-weight:950}
.sheet-body{padding:14px;overflow:auto}

.city-list{display:flex;flex-direction:column;gap:10px}
.city-item{padding:12px;border-radius:16px;border:1px solid #e5e7eb;background:#fff;font-weight:900;text-align:left}

/* Chat */
.chat{height:calc(100vh - 120px);display:flex;flex-direction:column}
.chat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;margin:10px;border:1px solid #e5e7eb;background:#fff;border-radius:18px}
.chat-sub{font-weight:900;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-actions{display:flex;gap:8px}
.chat-messages{flex:1;overflow:auto;padding:0 12px 8px}
.msg{display:flex;flex-direction:column;margin:8px 0;max-width:82%}
.msg.mine{margin-left:auto;align-items:flex-end}
.msg.theirs{margin-right:auto;align-items:flex-start}
.msg.system{margin-left:auto;margin-right:auto;max-width:94%;align-items:center}
.bubble{padding:12px 14px;border-radius:18px;border:1px solid #e5e7eb;background:#fff;line-height:1.35;font-weight:700}
.msg.mine .bubble{background:#111827;color:#fff;border-color:#111827}
.msg.system .bubble{background:#f3f4f6;border-color:#e5e7eb;color:#374151;border-radius:999px}
.time{font-size:11px;color:#6b7280;margin-top:4px;font-weight:800}
.chat-templates{display:flex;gap:8px;overflow:auto;padding:8px 12px}
.chat-compose{display:flex;gap:10px;padding:10px 12px;border-top:1px solid #e5e7eb;background:#fff;position:sticky;bottom:0}
.chat-compose textarea{flex:1;min-height:44px;max-height:120px;resize:none}

.seller-card{display:flex;gap:12px;align-items:center;border:1px solid #e5e7eb;background:#fff;border-radius:22px;padding:14px}
.seller-avatar{width:52px;height:52px;border-radius:18px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:950;overflow:hidden;text-decoration:none}
.seller-avatar img{width:100%;height:100%;object-fit:cover}
.seller-info{flex:1;min-width:0}
.seller-name{font-weight:950;color:#111827;text-decoration:none;display:inline-block}
.seller-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}

/* Toast notifications */
.toast-stack{position:fixed;top:78px;left:12px;right:12px;z-index:9999;display:flex;flex-direction:column;gap:10px;pointer-events:none;}
.toast{pointer-events:auto;display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.18);backdrop-filter:saturate(140%) blur(10px);-webkit-backdrop-filter:saturate(140%) blur(10px);background:rgba(255,255,255,.92);border:1px solid rgba(0,0,0,.06);}
.toast .t-ico{width:20px;height:20px;flex:0 0 20px;opacity:.9;margin-top:1px}
.toast .t-body{flex:1;font-weight:750;line-height:1.3}
.toast .t-sub{display:block;margin-top:2px;font-weight:650;opacity:.8;font-size:12px}
.toast.success{border-color:rgba(16,185,129,.28)}
.toast.error{border-color:rgba(239,68,68,.28)}
.toast.info{border-color:rgba(59,130,246,.26)}

/* Toast (v6) */
.toast{opacity:0;transform:translateY(-6px);transition:opacity .18s ease, transform .18s ease;}
.toast.show{opacity:1;transform:translateY(0);}
.toast .toast-msg{flex:1;font-weight:750;line-height:1.3}
.toast .toast-x{border:0;background:transparent;font-size:18px;line-height:1;opacity:.6;cursor:pointer;padding:0 2px}
.toast .toast-x:active{transform:scale(.96)}
/* Notification badge */
.icon-btn{position:relative}
.icon-badge{position:absolute;top:6px;right:6px;min-width:18px;height:18px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;padding:0 6px;background:#ef4444;color:#fff;line-height:1;box-shadow:0 6px 18px rgba(239,68,68,.3);}
.icon-badge.hide{display:none}

/* Listing card extras */
.card-link{display:block;color:inherit;text-decoration:none}
.card-media{position:relative;}
.fav-btn{position:absolute;top:10px;right:10px;border:0;background:rgba(255,255,255,.92);border:1px solid rgba(0,0,0,.07);box-shadow:0 10px 24px rgba(0,0,0,.12);border-radius:999px;padding:8px 10px;display:flex;align-items:center;gap:6px;cursor:pointer;}
.fav-btn .icon{width:20px;height:20px}
.fav-btn[data-liked="1"]{background:rgba(255,255,255,.96)}
.fav-btn[data-liked="1"] .icon path{stroke:#ef4444}
.fav-count{font-size:12px;font-weight:900;opacity:.9}

.card-stats{margin-top:10px;display:flex;gap:10px;justify-content:space-between}
.card-stats .st{flex:1;background:rgba(0,0,0,.03);border:1px solid rgba(0,0,0,.05);border-radius:14px;padding:8px 10px;display:flex;flex-direction:column;align-items:flex-start;}
.card-stats .st b{font-size:14px}
.card-stats .st span{font-size:11px;font-weight:800;opacity:.75;margin-top:1px}

.card-actions{margin-top:10px;display:flex;gap:10px;flex-wrap:wrap}
.btn.sm{padding:10px 12px;font-size:13px;border-radius:14px}
.pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:10px 12px;font-size:12px;font-weight:900;background:rgba(0,0,0,.05);border:1px solid rgba(0,0,0,.06)}

.card-expired{opacity:.92}
.card-expired .badge{background:rgba(239,68,68,.1);color:#ef4444;border-color:rgba(239,68,68,.25)}


.bb-badge{position:absolute;top:4px;right:16px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;line-height:18px;text-align:center;font-weight:800;}
.bb-badge.hide{display:none;}
.bb-item{position:relative;}

.pill.warn{background:#fff7ed;color:#9a3412;border:1px solid #fdba74;}


/* Ad slots */
.ad-slot{margin:12px 0;overflow:hidden;border-radius:14px}
.ad-slot iframe,.ad-slot img{max-width:100%;height:auto}
.ad-slot ins{display:block;width:100%}

/* Bildirimler (modern) */
.empty-state{padding:18px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;text-align:center}
.empty-state .empty-ico{font-size:32px;line-height:1;margin-bottom:8px}
.empty-state .empty-title{font-weight:900;margin-bottom:6px}

.notif-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;border:1px solid #e5e7eb;border-radius:18px;background:#f9fafb;margin-bottom:12px}
.notif-actions-right{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.chk-line{display:flex;align-items:center;gap:8px;font-weight:900;color:#111827}
.chk-line input{width:18px;height:18px}

.notif-list{display:flex;flex-direction:column;gap:10px}
.notif-item{display:flex;gap:12px;padding:12px;border:1px solid #e5e7eb;border-radius:18px;background:#fff}
.notif-left{padding-top:2px}
.notif-check{width:18px;height:18px}
.notif-body{flex:1;min-width:0}
.notif-title{font-weight:900;margin-bottom:2px}
.notif-text{color:#374151;font-size:14px;line-height:1.35}
.notif-meta{margin-top:6px;font-size:12px;color:#6b7280;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.notif-meta .dot{opacity:.7}
.notif-meta a{color:#111827;text-decoration:underline}
.notif-right{display:flex;align-items:flex-start}


/* =========================
   Popup Search (mobile)
========================= */
.search-sheet .sheet-panel-top{
  top:12px;
  bottom:auto;
  margin:0 auto;
  width:min(720px, calc(100% - 24px));
  border-radius:18px;
  max-height:82vh;
}
.searchsheet-head{padding:12px 12px 8px}
.searchbox{
  display:flex;align-items:center;
  background:#fff;
  border:1px solid rgba(229,231,235,.95);
  border-radius:18px;
  padding:10px 10px;
  box-shadow:0 10px 30px rgba(16,24,40,.12);
  gap:10px;
}
.searchbox .sb-ico{width:22px;height:22px;color:#9ca3af;flex:0 0 auto}
.sb-input{
  border:0;outline:0;background:transparent;
  flex:1;
  font-size:14px;
}
.sb-clear,.sb-go{
  border:0;background:transparent;
  width:34px;height:34px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
}
.sb-go{background:#f97316;color:#fff}
.searchsheet-body{
  padding:6px 12px 14px;
  overflow:auto;
}
.sres{
  display:flex;flex-direction:column;
  gap:10px;
  padding:6px 0 10px;
}
.sitem{
  display:block;
  padding:10px 10px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(229,231,235,.9);
}
.sitem:hover{background:#fafafa}
.stitle{font-weight:950;color:#111827}
.smeta{font-size:12px;color:#6b7280;margin-top:2px}

/* =========================
   Category cover images
========================= */
.cat-icon img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.mobile .cat{min-width:68px}
.mobile .cat-icon{width:40px;height:40px;border-radius:14px;font-size:18px}
.mobile .cat-label{max-width:78px}

/* =========================
   Featured horizontal slider
========================= */
.hscroll{
  display:flex;
  gap:4px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  padding:2px 2px 10px;
}
.hscroll::-webkit-scrollbar{display:none}
.hscroll > .card{flex:0 0 48%; scroll-snap-align:start}
@media (min-width: 520px){
  .hscroll > .card{flex-basis:46%}
}
@media (min-width: 900px){
  .hscroll > .card{flex-basis:30%}
}

/* =========================================================
   HESABIM > BANA TAB (2 SÜTUN / PROFESYONEL KUTUCUK)
   - Mevcut yapıyı bozmadan sadece "bana" tab içinde override
   - Hem .list/.row yapısında hem de .grid/.card yapısında çalışır
========================================================= */

/* 1) Eğer içerik .list ise: list'i grid'e çevir */
#bana .list,
.tab-pane#bana .list,
[data-tab="bana"] .list{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:10px; /* mevcutla uyum */
}

/* Mobilde tek sütun */
@media (max-width: 576px){
  #bana .list,
  .tab-pane#bana .list,
  [data-tab="bana"] .list{
    grid-template-columns:1fr;
  }
}

/* Grid item: row/kutu görünümü daha kompakt */
#bana .list > .row,
.tab-pane#bana .list > .row,
[data-tab="bana"] .list > .row{
  margin:0;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(229,231,235,.92);
  background:#fff;
  box-shadow:var(--shadow);
}

/* Avatar ve tipografi kompakt */
#bana .list > .row .avatar,
.tab-pane#bana .list > .row .avatar,
[data-tab="bana"] .list > .row .avatar{
  width:40px;height:40px;border-radius:14px;
}
#bana .list > .row .row-title,
.tab-pane#bana .list > .row .row-title,
[data-tab="bana"] .list > .row .row-title{
  font-size:14px;
}
#bana .list > .row .row-sub,
.tab-pane#bana .list > .row .row-sub,
[data-tab="bana"] .list > .row .row-sub{
  font-size:12px;
}

/* 2) Eğer içerik .grid/.card ise: 2 sütun + daha küçük kart */
#bana .grid,
.tab-pane#bana .grid,
[data-tab="bana"] .grid{
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 576px){
  #bana .grid,
  .tab-pane#bana .grid,
  [data-tab="bana"] .grid{
    grid-template-columns:1fr;
  }
}
#bana .card img,
.tab-pane#bana .card img,
[data-tab="bana"] .card img{
  height:120px;
}
#bana .card-body,
.tab-pane#bana .card-body,
[data-tab="bana"] .card-body{
  padding:10px 10px 12px;
}
#bana .price,
.tab-pane#bana .price,
[data-tab="bana"] .price{
  font-size:14px;
}
#bana .meta,
.tab-pane#bana .meta,
[data-tab="bana"] .meta{
  font-size:11.5px;
}


/* === Account (Hesabım) tweaks === */


/* Tab: Bana Özel - butonları 2 sütun, daha kompakt */
.page-account.tab-bana .detail{border-radius:20px}
.page-account.tab-bana .row1{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}
.page-account.tab-bana .row1 > .btn{
  width:100%;
  padding:12px 10px;
  border-radius:16px;
  font-size:13px;
  font-weight:850;
  letter-spacing:.2px;
  min-height:44px;
  justify-content:center;
}
.page-account.tab-bana .row1 > .btn.red{
  grid-column:1 / -1;         /* İlk buton (İlan Ver) tam genişlik */
  min-height:48px;
  font-size:14px;
}
.page-account.tab-bana .row1 > .btn.outline{
  background:#fff;
  border:1px solid rgba(229,231,235,.95);
  box-shadow:0 1px 0 rgba(17,24,39,.03);
}
.page-account.tab-bana .row1 > .btn.outline:active{
  transform:scale(.99);
}

/* Tab: Ürünlerim - ilan kartları 2 sütun + daha “app” görünümü */
.page-account.tab-urunlerim .grid{
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
.page-account.tab-urunlerim .app-card{
  border-radius:18px;
  overflow:hidden;
}
.page-account.tab-urunlerim .app-card-media img{
  height:120px;
}
.page-account.tab-urunlerim .card-body{
  padding:10px 12px;
}
.page-account.tab-urunlerim .card-title{
  font-size:13px;
  line-height:1.25;
  margin:0 0 6px 0;
}
.page-account.tab-urunlerim .card-stats{
  gap:8px;
}
.page-account.tab-urunlerim .card-stats .st b{font-size:13px}
.page-account.tab-urunlerim .card-stats .st span{font-size:11px}

/* Tab: Öne Çıkar - kart hissi + detaylar renkli pill */
.page-account.tab-onecikar .row1{display:grid;grid-template-columns:repeat(2, minmax(0,1fr));gap:12px}
.page-account.tab-onecikar .row1 > .detail{margin:0;border-radius:18px;box-shadow:0 8px 22px rgba(17,24,39,.06)}
.page-account.tab-onecikar .feat-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.page-account.tab-onecikar .feat-meta .pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:850;
  border:1px solid rgba(229,231,235,.9);
  background:#fff;
}
.page-account.tab-onecikar .feat-meta .pill.price{
  border-color:rgba(255,106,0,.25);
  background:rgba(255,106,0,.10);
  color:#b54700;
}
.page-account.tab-onecikar .feat-meta .pill.info{
  border-color:rgba(59,130,246,.25);
  background:rgba(59,130,246,.10);
  color:#1d4ed8;
}
.page-account.tab-onecikar .feat-meta .pill.success{
  border-color:rgba(34,197,94,.25);
  background:rgba(34,197,94,.10);
  color:#15803d;
}
.page-account.tab-onecikar .feat-meta .pill.warn{
  border-color:rgba(239,68,68,.25);
  background:rgba(239,68,68,.10);
  color:#b91c1c;
}

/* Mobilde de 2 sütun kalsın (özellikle Bana Özel & Ürünlerim & Öne Çıkar) */
@media (max-width: 576px){
  .page-account.tab-bana .row1{grid-template-columns:repeat(2, minmax(0,1fr))}
  .page-account.tab-urunlerim .grid{grid-template-columns:repeat(2, minmax(0,1fr))}
  .page-account.tab-onecikar .row1{grid-template-columns:repeat(2, minmax(0,1fr))}
}

/* Alt menü (footer/bottombar): aşağı kaydırınca gizle, yukarı çıkınca göster */
.bottombar{
  will-change:transform;
  transition:transform .22s ease, opacity .22s ease;
}
.bottombar.bb-hide{
  transform:translateY(115%);
  opacity:0;
}


/* -------------------------------------------------------------------------
   Listing Detail - Mobile App Style (ilanlar/detay.php)
   ------------------------------------------------------------------------- */
body.listing-detail-page{padding-bottom:92px}
body.listing-detail-page .detail{margin-top:10px}
body.listing-detail-page .detail-body{padding:14px}
body.listing-detail-page .section-h{margin-top:14px;margin-bottom:10px}
body.listing-detail-page .row{gap:10px}
body.listing-detail-page .btn{border-radius:16px}
body.listing-detail-page .btn.contact{padding:12px 14px}
body.listing-detail-page .seller-card{border-radius:18px}
body.listing-detail-page .gallery-carousel img{border-radius:18px}

.detail-actionbar{position:fixed;left:0;right:0;bottom:0;z-index:110;background:rgba(255,255,255,.92);backdrop-filter:saturate(140%) blur(10px);border-top:1px solid rgba(229,231,235,.92);padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
.detail-actionbar-inner{max-width:640px;margin:0 auto;display:flex;gap:10px}
.detail-actionbar-inner .btn{flex:1;height:44px;display:flex;align-items:center;justify-content:center;font-weight:950}

@media (min-width: 900px){
  body.listing-detail-page{padding-bottom:0}
  .detail-actionbar{display:none}
}


.detail-badges{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.pill.pill-type{background:rgba(239,68,68,.10);border:1px solid rgba(239,68,68,.22);color:#b91c1c}

/* -----------------------
   SEO footer blocks
------------------------*/
.seo-footer{
  margin:16px 12px 84px;
  background:#fff;
  border:1px solid rgba(229,231,235,.92);
  border-radius:18px;
  box-shadow: var(--shadow);
}
.seo-footer-inner{
  display:grid;
  gap:12px;
  padding:14px;
}
@media (min-width: 900px){
  .seo-footer{margin:20px auto 24px;max-width:1100px}
  .seo-footer-inner{grid-template-columns:repeat(3, minmax(0,1fr));gap:16px}
}
.seo-footer-col h3{
  margin:0 0 8px 0;
  font-size:13px;
  letter-spacing:.2px;
}
.seo-footer-col ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.seo-footer-col li{margin:0}
.seo-footer-col a{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  background:#f3f4f6;
  color:#111827;
  text-decoration:none;
  font-size:12px;
  font-weight:650;
}
.seo-footer-col a:hover{ text-decoration:underline; }


/* Inlined app-theme.css */
/* App-like his (safe tweaks)
   - Bu dosya modül bazlı override için var.
   - Mevcut tema düzenini bozmaz; sadece mobil UX iyileştirir.
*/

:root{
  --safe-top: env(safe-area-inset-top);
  --safe-right: env(safe-area-inset-right);
  --safe-bottom: env(safe-area-inset-bottom);
  --safe-left: env(safe-area-inset-left);
}

html, body { height: 100%; }

body{
  padding-top: var(--safe-top);
  padding-right: var(--safe-right);
  padding-bottom: var(--safe-bottom);
  padding-left: var(--safe-left);
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

a, button, input, textarea, select{
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* iOS'da input odaklanınca zoom olmasın */
input, textarea, select { font-size: 16px; }

/* Daha uygulama gibi scroll hissi */
html { scroll-behavior: smooth; }
body { overscroll-behavior-y: contain; }

/* Animasyon istemeyen kullanıcılar */
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
/* End inlined app-theme.css */


/* Inlined <style> blocks moved from templates */

/* Source: giris.php */
.auth-wrap{
    /* sayfa genelini bozmamak için body reset yok */
    min-height: 100vh;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding: 18px 14px 28px;
  }

  .auth-card{
    width: 100%;
    max-width: 460px;
    border-radius: 18px;
    padding: 18px 16px 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
    background: #fff;
  }

  .auth-top{
    text-align:center;
    padding: 6px 6px 10px;
  }

  .auth-icon{
    width: 42px;
    height: 42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .auth-title{
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 6px;
    letter-spacing: -0.2px;
    font-weight: 800;
  }

  .auth-subtitle{
    margin: 0 0 6px;
    font-size: 13px;
    opacity: .75;
  }

  .row1{ display:grid; gap: 12px; }

  .field{
    position: relative;
    display:flex;
    align-items:center;
    height: 50px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    overflow:hidden;
  }
  .field .ico{
    width: 44px;
    height: 50px;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity: .55;
    flex: 0 0 44px;
  }
  .field input{
    border: 0;
    outline: none;
    height: 50px;
    width: 100%;
    font-size: 16px;
    padding: 0 12px 0 0;
    background: transparent;
  }

  .pass-toggle{
    width: 44px;
    height: 50px;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: .65;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .pass-toggle:active{ transform: scale(.98); }

  .row-inline{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    font-size: 13px;
    margin-top: 2px;
  }

  .remember{
    display:flex;
    align-items:center;
    gap:8px;
    user-select:none;
  }
  .remember input{
    width:18px;
    height:18px;
  }

  .btn-primary{
    height: 48px;
    border-radius: 12px;
    border: 0;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    cursor:pointer;
  }

  .btn-outline{
    height: 48px;
    border-radius: 12px;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    border: 1px solid rgba(0,0,0,.14);
    background: transparent;
  }

  .safe-note{
    text-align:center;
    font-size: 11.5px;
    opacity: .65;
    margin-top: 10px;
    line-height: 1.35;
  }

  /* Eğer projende .btn.red gibi sınıflar varsa bozmamak için burada override etmiyoruz.
     Butonların rengi projenin mevcut CSS’inden gelsin. */
  .auth-help-fab{
    position:fixed;
    top:auto;
    right:auto;
    bottom: calc(110px + env(safe-area-inset-bottom));
    left:14px;
    width:44px;
    height:44px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#ef4444;
    color:#fff;
    box-shadow:0 12px 20px rgba(0,0,0,.18);
    text-decoration:none;
    z-index:60;
  }
  .auth-help-fab svg{
    width:20px;
    height:20px;
  }

  .auth-code-fab{
    position:fixed;
    top:auto;
    right:auto;
    bottom: calc(162px + env(safe-area-inset-bottom));
    left:14px;
    width:44px;
    height:44px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#111827;
    color:#fff;
    box-shadow:0 12px 20px rgba(0,0,0,.18);
    text-decoration:none;
    z-index:60;
  }
  .auth-code-fab svg{ width:20px; height:20px; }

/* Source: kayit.php */
.auth-wrap{
    /* sayfa genelini bozmamak için body reset yok */
    min-height: 100vh;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding: 18px 14px 28px;
  }

  .auth-card{
    width: 100%;
    max-width: 460px;
    border-radius: 18px;
    padding: 18px 16px 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
    background: #fff;
  }

  .auth-top{
    text-align:center;
    padding: 6px 6px 10px;
  }

  .auth-icon{
    width: 42px;
    height: 42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .auth-title{
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 6px;
    letter-spacing: -0.2px;
    font-weight: 800;
  }

  .auth-subtitle{
    margin: 0 0 6px;
    font-size: 13px;
    opacity: .75;
  }

  .row1{ display:grid; gap: 12px; }

  .field{
    position: relative;
    display:flex;
    align-items:center;
    height: 50px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    overflow:hidden;
  }

  .field .ico{
    width: 44px;
    height: 50px;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity: .55;
    flex: 0 0 44px;
  }

  .field input{
    border: 0;
    outline: none;
    height: 50px;
    width: 100%;
    font-size: 16px;
    padding: 0 12px 0 0;
    background: transparent;
  }

  .pass-toggle{
    width: 44px;
    height: 50px;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: .65;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .pass-toggle:active{ transform: scale(.98); }

  .btn-primary{
    height: 48px;
    border-radius: 12px;
    border: 0;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    cursor:pointer;
  }

  .btn-outline{
    height: 48px;
    border-radius: 12px;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    border: 1px solid rgba(0,0,0,.14);
    background: transparent;
  }

  .safe-note{
    text-align:center;
    font-size: 11.5px;
    opacity: .65;
    margin-top: 10px;
    line-height: 1.35;
  }
  .auth-help-fab{
    position:fixed;
    top:auto;
    right:auto;
    bottom: calc(110px + env(safe-area-inset-bottom));
    left:14px;
    width:44px;
    height:44px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#ef4444;
    color:#fff;
    box-shadow:0 12px 20px rgba(0,0,0,.18);
    text-decoration:none;
    z-index:60;
  }
  .auth-help-fab svg{
    width:20px;
    height:20px;
  }

  .auth-code-fab{
    position:fixed;
    top:auto;
    right:auto;
    bottom: calc(162px + env(safe-area-inset-bottom));
    left:14px;
    width:44px;
    height:44px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#111827;
    color:#fff;
    box-shadow:0 12px 20px rgba(0,0,0,.18);
    text-decoration:none;
    z-index:60;
  }
  .auth-code-fab svg{ width:20px; height:20px; }

/* Source: hesabim.php */
/* Bottom sheet (alttan yukarı) */
.bs-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,.45);
  opacity:0; pointer-events:none;
  transition:opacity .22s ease;
  z-index:9990;
}
.bs-overlay.open{ opacity:1; pointer-events:auto; }

.bs-sheet{
  position:fixed; left:0; right:0; bottom:0;
  background:#fff;
  border-top-left-radius:18px;
  border-top-right-radius:18px;
  box-shadow:0 -18px 40px rgba(0,0,0,.15);
  transform:translateY(110%);
  transition:transform .26s ease;
  z-index:9991;
  max-height:78vh;
  display:flex; flex-direction:column;
}
.bs-sheet.open{ transform:translateY(0); }

.bs-handle{
  width:44px; height:5px;
  background:#e9e9e9;
  border-radius:999px;
  margin:10px auto 6px auto;
}
.bs-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  padding:8px 12px 10px 12px;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.bs-title{
  font-weight:950;
  display:flex; align-items:center; gap:8px;
}
.bs-close{
  border:0; background:transparent;
  width:40px; height:40px;
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.bs-close:active{ transform:scale(.98); }
.bs-body{
  padding:12px;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}
.bs-list{ display:flex; flex-direction:column; gap:10px; }
body.bs-lock{ overflow:hidden; }
.profile-stat.active{
  outline:2px solid rgba(255,122,0,.18);
  border-radius:14px;
}
/* tıklanabilir satır */
.bs-row-link{
  display:block;
  text-decoration:none;
  color:inherit;
}

/* Ürünlerim: arama + filtre chipleri */
.mylist-wrap{ margin-top:10px; }
.mylist-search{ margin:10px 0 8px 0; }
.mylist-search form{ margin:0; }
.mylist-search input{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  outline:none;
}
.mylist-search input:focus{ border-color: rgba(0,0,0,.18); }
.mylist-chips{
  display:flex;
  gap:8px;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:2px 2px 10px 2px;
}
.mylist-chip{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  text-decoration:none;
  background:#f2f3f5;
  color:inherit;
  font-weight:900;
  white-space:nowrap;
}
.mylist-chip .cnt{
  display:inline-flex;
  min-width:22px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:950;
  background:rgba(0,0,0,.08);
}
.mylist-chip.active{
  background: var(--primary, #5b5ef7);
  color:#fff;
}
.mylist-chip.active .cnt{
  background: rgba(255,255,255,.22);
  color:#fff;
}
.mylist-hint{
  margin-top:6px;
  opacity:.75;
  font-size:13px;
}


/* Profil: Kısa analiz kartları */
.mini-analytics{
  display:grid;
  grid-template-columns:repeat(6, minmax(0,1fr));
  gap:10px;
  margin-top:10px;
}
@media (max-width:520px){
  .mini-analytics{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px; }
  .mini-card{ padding:10px 10px 9px; border-radius:14px; }
  .mini-card .num{ font-size:16px; }
  }
@media (max-width:360px){
  .mini-analytics{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
.mini-card{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:12px 12px 10px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.06);
  background:#fff;
  text-decoration:none;
  color:inherit;
  box-shadow:0 10px 22px rgba(0,0,0,.05);
  position:relative;
  overflow:hidden;
}
.mini-card:active{ transform:scale(.99); }
.mini-card .ico{
  width:22px;height:22px;
  opacity:.9;
}
.mini-card .num{
  font-weight:950;
  font-size:18px;
  line-height:1;
}
.mini-card .lab{
  font-weight:950;
  font-size:12px;
}
.mini-card .sub{
  font-size:11px;
  opacity:.72;
  margin-top:-2px;
}
.mini-card .go{
  position:absolute; right:10px; top:10px;
  opacity:.35;
}


/* Profil: Bilgi kutucukları (6 adet, 3 sütun) */
.profile-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:10px;
  margin-top:10px;
}
@media (max-width:520px){
  .profile-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px; }
}
@media (max-width:360px){
  .profile-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
.profile-box{
  padding:12px 12px 10px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.06);
  background:#fff;
  box-shadow:0 10px 22px rgba(0,0,0,.05);
}
.profile-box .k{
  font-size:11px;
  font-weight:950;
  opacity:.72;
}
.profile-box .v{
  margin-top:6px;
  font-size:13px;
  font-weight:900;
  line-height:1.25;
  overflow:hidden;
  text-overflow:ellipsis;
}
.profile-box .v.small{
  font-size:12px;
  font-weight:850;
  opacity:.86;
}

/* Source: sifremi-unuttum.php */
/* Header'ı görünür olarak kaldır (renk kodu yok) */
  body.page-sifremi-unuttum header, body.page-sifremi-unuttum .header, body.page-sifremi-unuttum .site-header, body.page-sifremi-unuttum .topbar, body.page-sifremi-unuttum .navbar{ display: none !important; }

  /* Mobil odaklı modern yerleşim (renk yok) */
  body.page-sifremi-unuttum .form{
    max-width: 460px;
    margin: 0 auto;
    padding: 16px;
  }
  body.page-sifremi-unuttum .form h2{
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 12px 0;
    letter-spacing: -0.2px;
  }
  body.page-sifremi-unuttum .row1{
    display: grid;
    gap: 10px;
  }
  body.page-sifremi-unuttum .input{
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 16px;
  }
  body.page-sifremi-unuttum .btn{
    height: 48px;
    border-radius: 12px;
  }
  body.page-sifremi-unuttum .meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    font-size:14px;
  }

/* Source: ayarlar.php */
/* Profilini tamamla (animasyon) */
  .profile-complete{
    position:relative;
    overflow:hidden;
  }
  .profile-complete::before{
    content:'';
    position:absolute;
    inset:-40% -30%;
    background: linear-gradient(120deg, rgba(91,94,247,.18), rgba(239,68,68,.14), rgba(16,185,129,.14));
    transform: rotate(12deg);
    filter: blur(18px);
    opacity:.65;
    animation: pcGlow 7s ease-in-out infinite;
    pointer-events:none;
  }
  @keyframes pcGlow{
    0%,100%{ transform: translateX(-6%) rotate(12deg); opacity:.55; }
    50%{ transform: translateX(6%) rotate(12deg); opacity:.85; }
  }
  .profile-complete-top, .profile-bar, .profile-missing, .profile-complete .small{ position:relative; z-index:1; }
  .profile-complete-percent{
    font-weight:950;
    font-size:20px;
    padding:8px 12px;
    border-radius:14px;
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    animation: pcPulse 1.6s ease-in-out infinite;
  }
  @keyframes pcPulse{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-2px); }
  }
  .profile-bar span{
    transition: width 900ms cubic-bezier(.22,1,.36,1);
  }
  .profile-missing{
    animation: pcFadeIn .35s ease-out both;
  }
  @keyframes pcFadeIn{
    from{ opacity:0; transform: translateY(4px); }
    to{ opacity:1; transform: translateY(0); }
  }

/* Source: en_bakilan_ilanlar.php */
.tv-summary{
    display:flex;gap:10px;flex-wrap:wrap;
    margin:12px 0 10px 0;
  }

/* Source: includes/partials/listing_card.php */
@keyframes onlinePulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
    70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
  }
  .presence-dot{ width:10px;height:10px;border-radius:999px; }
  .presence-dot.is-online{ background:#22c55e; animation: onlinePulse 1.6s ease-out infinite; }
  .presence-dot.is-offline{ background:#9ca3af; }

  .badge-slider::-webkit-scrollbar{display:none}

  /* MY CARD extras */
  .my-info-wrap{ padding:0 10px 10px; }
  .my-info-line{
    display:flex;align-items:center;gap:8px;
    border-radius:12px;
    padding:8px 10px;
    font-size:12px;
    font-weight:900;
    border:1px solid rgba(0,0,0,.06);
    background:#f2f3f5;
    margin-top:8px;
  }
  .my-info-line.success{ background:#e9f8ee;border-color:#bfe9cc;color:#157a3b; }
  .my-info-line.warn{ background:#fff4e6;border-color:#ffd6a6;color:#a85a00; }
  .my-info-line.danger{ background:#ffecec;border-color:#ffb7b7;color:#a40000; }
  .my-info-line .ico{ width:16px;height:16px;opacity:.9; }
  .my-action-btn{ margin-top:10px;width:100%; }

  .my-badge-urgent{
    position:absolute;right:10px;top:10px;z-index:7;
    padding:6px 10px;border-radius:999px;
    font-size:11px;font-weight:950;color:#fff;
    background:#ff7a00;
    box-shadow:0 12px 26px rgba(255,122,0,.22);
    border:1px solid rgba(255,255,255,.35);
    pointer-events:none;
  }
  .my-badge-featdays{
    position:absolute;left:10px;top:10px;z-index:7;
    padding:6px 10px;border-radius:999px;
    font-size:11px;font-weight:950;color:#1f2937;
    background:rgba(245,158,11,.98);
    box-shadow:0 12px 30px rgba(31,41,55,.16);
    border:1px solid rgba(255,255,255,.35);
    pointer-events:none;
  }

  /* action sheet */
  .act-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:9992}
  .act-overlay.open{opacity:1;pointer-events:none}
  .act-sheet{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top-left-radius:18px;border-top-right-radius:18px;
    box-shadow:0 -18px 40px rgba(0,0,0,.15);transform:translateY(110%);transition:transform .25s ease;z-index:9993;max-height:75vh;display:flex;flex-direction:column}
  .act-sheet.open{transform:translateY(0)}
  .act-handle{width:44px;height:5px;background:#e9e9e9;border-radius:999px;margin:10px auto 6px auto}
  .act-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px 10px;border-bottom:1px solid rgba(0,0,0,.06)}
  .act-title{font-weight:950;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .act-close{border:0;background:transparent;width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;cursor:pointer}
  .act-body{padding:12px;overflow:auto;-webkit-overflow-scrolling:touch}
  .act-list{display:flex;flex-direction:column;gap:10px}
  .act-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 12px;border:1px solid rgba(0,0,0,.06);
    border-radius:14px;text-decoration:none;color:inherit;font-weight:900}
  .act-item.danger{border-color:#ffb7b7;background:#fff5f5;color:#a40000}
  .act-item.disabled{opacity:.45;pointer-events:none}
  body.act-lock{overflow:hidden}

/* Source: includes/partials/listing_image_badges.php */
.badge-slider::-webkit-scrollbar{display:none}

/* Source: includes/partials/footer.php */
/* Hesabım alt menü - mobil app hissi */
    .account-bottomnav{
      height:78px;
      padding:8px 10px calc(10px + env(safe-area-inset-bottom));
    }
    .account-bottomnav .bb-item{
      border-radius:18px;
      padding:10px 6px;
      gap:3px !important; /* style.css icon-only kuralını ez */
    }
    .account-bottomnav .bb-ico{ width:22px; height:22px; }
    /* style.css + app-mobile.css metin gizleme kurallarını ez */
    .account-bottomnav .bb-text,
    body.mobile .account-bottomnav .bb-text{
      display:block !important;
      font-weight:850;
      font-size:12px;
      letter-spacing:.2px;
      line-height:1.1;
      text-align:center;
    }
    .account-bottomnav .bb-sub,
    body.mobile .account-bottomnav .bb-sub{
      display:block !important;
      font-size:10px;
      color:#9ca3af;
      line-height:1.1;
      margin-top:-2px;
      text-align:center;
    }
    .account-bottomnav .bb-item.is-active{
      background: rgba(91,94,247,.12);
      color: var(--primary, #5b5ef7);
      box-shadow: 0 10px 25px rgba(0,0,0,.06);
    }
    .account-bottomnav .bb-item.is-strong .bb-ico,
    .account-bottomnav .bb-item.is-strong .bb-text{
      transform: translateY(-1px);
    }

/* End inlined template styles */
