/* =====================================================================================================
   bermugo — tasarım sistemi
   Sade zemin, koyu teal ana renk, turuncu "Inserat aufgeben" vurgusu. Yazı tipi Inter (OFL, sunucudan).
   Oturuma göre değişen öğeler: html.is-auth → .auth-only görünür, .anon-only gizlenir (app.js).
   ===================================================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --ink: #161d29;
  --ink-2: #4a5363;
  --ink-3: #8b93a3;
  --line: #e3e6eb;
  --line-2: #eff1f4;
  --brand: #0a6e6e;
  --brand-hover: #085b5b;
  --brand-soft: #e1f1f0;
  --brand-softer: #f2f8f8;
  --cta: #ff6a3d;
  --cta-hover: #f0562a;
  --heart: #e5484d;
  --ok-bg: #e7f6ec; --ok-ink: #1b7a3f;
  --err-bg: #fdecec; --err-ink: #b42323;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22, 29, 41, .05);
  --shadow-hover: 0 10px 28px rgba(22, 29, 41, .10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss03"; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 .75em; }
input, select, button, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.mt-2 { margin-top: 8px; }
.icon { flex: none; vertical-align: middle; }
.container { max-width: 1240px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.narrow { max-width: 860px; padding-top: 24px; padding-bottom: 56px; }
.page-title { font-size: 28px; margin: 6px 0 8px; }
.page-title + p a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; margin-left: 6px; }

/* oturum durumu */
.auth-only { display: none !important; }
html.is-auth .auth-only { display: inline-flex !important; }
html.is-auth details.auth-only { display: block !important; }
html.is-auth .anon-only { display: none !important; }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent;
  border-radius: var(--radius-sm); padding: 10px 18px; font-weight: 650; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s; text-align: center; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-hover); }
.btn-outline { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink-3); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--line-2); }
.btn-danger { background: var(--err-bg); color: var(--err-ink); }
.btn-danger:hover { background: #f9dada; }
.btn-sm { padding: 7px 12px; font-size: 13.5px; }
.btn-lg { padding: 13px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.icon-btn { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink-2); }

/* ---------- form alanları ---------- */
input[type=search], input[type=number], input[type=text], input[type=email], input[type=url], input[type=tel], input[type=date], select, textarea {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
input:disabled { background: var(--line-2); color: var(--ink-3); }
select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b93a3' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10, 110, 110, .14); }
input[type=number] { -moz-appearance: textfield; }
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; flex: none; }
.stack { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span:first-child, .multi legend, .seg legend { font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-row.three { grid-template-columns: 1.2fr 1fr 1.4fr; }
.has-error input, .has-error select, .has-error.dropzone { border-color: var(--err-ink); }
.err { color: var(--err-ink); font-size: 12.5px; font-weight: 600; }
.input-unit { position: relative; display: flex; align-items: center; }
.input-unit input { padding-right: 70px; }
.input-unit .unit { position: absolute; right: 14px; color: var(--ink-3); font-size: 13px; pointer-events: none; }
.unit-select { position: absolute; right: 4px; width: auto; height: 36px; border: 0; background-color: var(--line-2); padding: 0 28px 0 10px; font-size: 13px; font-weight: 600; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; padding: 4px 0; }
.multi { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 16px; }
.multi legend { margin-bottom: 6px; }
.seg { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.seg legend { width: 100%; margin-bottom: 6px; }
.seg label { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; }
.seg label:has(input:checked) { border-color: var(--brand); background: var(--brand-softer); color: var(--brand); }
.switch { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; color: var(--ink-2); padding: 4px; }
.switch-knob { width: 36px; height: 20px; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; }
.switch-knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); transition: left .15s; }
.switch.on .switch-knob { background: var(--brand); }
.switch.on .switch-knob::after { left: 18px; }

/* ---------- uyarılar ---------- */
.notice { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; margin: 8px 0 16px; }
.notice-ok { background: var(--ok-bg); color: var(--ok-ink); }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px;
  border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-hover); z-index: 80; }

/* ---------- header ---------- */
.hdr { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.hdr-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 23px; letter-spacing: -.045em; color: var(--ink); flex: none; }
.logo-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff;
  font-size: 21px; font-weight: 800; line-height: 1; padding-bottom: 2px; }
.hdr-nav { display: flex; gap: 4px; }
.hdr-nav a { padding: 8px 12px; border-radius: 8px; font-weight: 600; color: var(--ink-2); font-size: 14.5px; }
.hdr-nav a:hover { background: var(--line-2); color: var(--ink); }
.hdr-search { display: flex; align-items: center; flex: 1 1 220px; max-width: 380px; min-width: 0; height: 42px; background: var(--line-2);
  border: 1px solid transparent; border-radius: 10px; }
.hdr-search:focus-within { background: var(--surface); border-color: var(--brand); }
.hdr-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 4px 0 14px; font: inherit; font-size: 14.5px;
  color: var(--ink); outline: none; }
.hdr-search input::placeholder { color: var(--ink-3); }
.hdr-search input::-webkit-search-cancel-button { display: none; }
.hdr-search button { display: inline-grid; place-items: center; width: 42px; height: 100%; border: 0; background: transparent; color: var(--ink-2);
  cursor: pointer; border-radius: 0 10px 10px 0; }
.hdr-search button:hover { color: var(--brand); }
.hdr-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
@media (max-width: 1280px) { .hdr-inner { gap: 16px; } .hdr-nav a { padding: 8px 8px; } .hdr-icon, .account-menu > summary, .site-switch > summary { padding: 6px 7px; } }
.hdr-icon, .account-menu > summary, .site-switch > summary { position: relative; display: inline-flex; flex-direction: column; align-items: center;
  gap: 2px; padding: 6px 10px; border-radius: 10px; color: var(--ink-2); cursor: pointer; list-style: none; }
.hdr-icon:hover, .account-menu > summary:hover, .site-switch > summary:hover { background: var(--line-2); color: var(--ink); }
.hdr-icon-label, .site-switch summary span { font-size: 11.5px; font-weight: 600; max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
summary::-webkit-details-marker { display: none; }
.dot { position: absolute; top: 5px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--heart); border: 2px solid var(--surface); }
.hdr-actions .btn-cta { margin-left: 8px; }
.avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 750; font-size: 12.5px; }
.avatar-lg { width: 46px; height: 46px; font-size: 19px; flex: none; }
details { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-hover); padding: 6px; min-width: 240px; display: grid; z-index: 40; }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); }
.menu a:hover, .menu button:hover { background: var(--line-2); }
.menu a.current { color: var(--brand); font-weight: 700; background: var(--brand-softer); }
.menu-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding: 6px 12px; font-weight: 700; }

/* ---------- anasayfa: arama kartı ---------- */
.hero { background: linear-gradient(180deg, #e8f2f2 0%, var(--bg) 100%); padding: 44px 0 34px; }
.hero-title { font-size: 40px; letter-spacing: -.035em; max-width: 760px; }
.hero-sub { color: var(--ink-2); font-size: 17px; margin: 10px 0 24px; max-width: 680px; }
.finder { background: var(--surface); border-radius: 18px; box-shadow: 0 18px 50px rgba(22, 29, 41, .10); border: 1px solid var(--line); overflow: hidden; }
.finder-tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--line-2); }
.finder-tab { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border: 0; background: none; font-weight: 650; color: var(--ink-2); cursor: pointer; border-bottom: 3px solid transparent; }
.finder-tab.active { background: var(--surface); color: var(--brand); border-bottom-color: var(--brand); }
.finder-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; padding: 20px 22px 22px; align-items: end; }
.ff { display: grid; gap: 6px; min-width: 0; }
.ff > span { font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.finder-submit { min-width: 220px; height: 44px; }

/* ---------- bloklar ---------- */
.block { padding-top: 34px; padding-bottom: 6px; }
.block-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.block-head h2 { font-size: 23px; }
.block-link { margin-left: auto; color: var(--brand); font-weight: 650; }
.block-link:hover { text-decoration: underline; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.tile:hover { box-shadow: var(--shadow-hover); }
.tile-media { aspect-ratio: 16 / 10; background: var(--line-2); display: grid; place-items: center; overflow: hidden; color: var(--ink-3); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-empty { background: repeating-linear-gradient(135deg, var(--line-2), var(--line-2) 10px, #f8f9fa 10px, #f8f9fa 20px); }
.tile-body { display: grid; padding: 12px 14px 14px; }
.tile-parent { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; }
.tile-label { font-weight: 700; font-size: 16px; }
.tile-count { font-size: 13px; color: var(--ink-3); }
.why { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 16px; padding: 10px 0 40px; }
.why-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.why-item h3 { font-size: 16px; margin: 12px 0 6px; }
.why-item p { color: var(--ink-2); font-size: 14px; margin: 0; }
.why-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.why-cta { display: grid; align-content: center; gap: 8px; padding: 22px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.why-cta strong { font-size: 19px; }
.why-cta span:not(.btn) { color: rgba(255, 255, 255, .72); font-size: 14px; }
.why-cta .btn { justify-self: start; margin-top: 6px; }

/* ---------- kart (ızgara) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; padding-bottom: 20px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
/* anasayfa: satırda 6 (1200px kapsayıcıda), daralınca 5/4/3, mobilde 2 */
.cards-dense { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }
.cards-dense .card-body { padding: 10px 12px 12px; gap: 4px; }
.cards-dense .card-title { font-size: 14px; }
.cards-dense .card-price { font-size: 16px; }
.cards-dense .card-facts, .cards-dense .card-location { font-size: 12.5px; }
.cards-dense .card-foot .badge { display: none; }
.card:hover { box-shadow: var(--shadow-hover); }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--line-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media-icon { opacity: .55; }
.card-photos { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; background: rgba(22, 29, 41, .7);
  color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.tint-0, .tint-1, .tint-2, .tint-3, .tint-4, .tint-5 { background: linear-gradient(160deg, var(--brand-softer), var(--line-2)); color: var(--brand); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-title { font-size: 15px; font-weight: 650; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; min-height: 2.6em; }
.card-facts { list-style: none; margin: 0; padding: 0; color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-facts li { display: inline; }
.card-facts li + li::before { content: "·"; margin: 0 6px; color: var(--ink-3); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.card-price { font-size: 18px; font-weight: 750; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.card-location { display: flex; align-items: center; gap: 4px; color: var(--ink-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94);
  color: var(--ink-2); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: transform .1s, color .15s; z-index: 2; }
.fav:hover { color: var(--heart); transform: scale(1.06); }
.fav.on { color: var(--heart); }
.fav.on svg, .fav-btn.on svg { fill: currentColor; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.badge-muted { background: var(--line-2); color: var(--ink-2); }

/* ---------- arama sonucu satırı ---------- */
.rows { display: grid; gap: 12px; padding-bottom: 20px; }
.row { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.row:hover { box-shadow: var(--shadow-hover); }
.row-link { display: grid; grid-template-columns: 260px minmax(0, 1fr) auto; min-height: 180px; }
.row-media { position: relative; display: grid; place-items: center; background: var(--line-2); overflow: hidden; }
.row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.row-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.row-title { font-size: 17px; font-weight: 700; padding-right: 40px; }
.row-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.row-facts li { background: var(--line-2); border-radius: 6px; padding: 3px 9px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.row-bottom { display: flex; align-items: center; gap: 10px; margin-top: auto; color: var(--ink-3); font-size: 13.5px; }
.row-location { display: inline-flex; align-items: center; gap: 4px; }
.row-price { padding: 16px 20px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; align-self: end; }
.row .fav { top: 12px; right: 14px; box-shadow: none; background: var(--line-2); }

/* ---------- arama sayfası ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); padding: 20px 0 8px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb a + a::before { content: "›"; margin-right: 6px; }
.search-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.search-head h1 { font-size: 28px; }
.search-total { color: var(--ink-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.save-search.on { border-color: var(--brand); color: var(--brand); background: var(--brand-softer); }
.follow-seller.on { border-color: var(--heart); color: var(--heart); background: #fdf1f1; }
.follow-seller.on svg { fill: currentColor; }
.found-seller .follow-seller { margin-left: 8px; flex: none; }
.store-count .follow-seller { white-space: nowrap; }
.list-item > .avatar { flex: none; }
@media (max-width: 560px) {
  .seller-item { flex-wrap: wrap; }
  .seller-item .list-main { flex: 1 1 calc(100% - 70px); min-width: 0; }
  .seller-item > .btn, .seller-item > form { margin-top: 2px; }
  .seller-item > .btn { margin-left: 58px; }
}
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.search.htmx-request .results { opacity: .5; transition: opacity .15s; }
.filters { position: sticky; top: 86px; max-height: calc(100vh - 102px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 4px 18px 18px; scrollbar-width: thin; }
.filters-head { display: none; }
.filter { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.filter:last-of-type { border-bottom: 0; }
.filter-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 9px; }
summary.filter-label { cursor: pointer; list-style: none; display: flex; justify-content: space-between; margin-bottom: 0; }
summary.filter-label::after { content: "+"; color: var(--ink-3); font-weight: 500; }
details[open] > summary.filter-label::after { content: "–"; }
details[open] > summary.filter-label { margin-bottom: 9px; }
.filters .unit { color: var(--ink-3); font-weight: 500; font-size: 13px; position: static; }
.range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; }
.range-sep { color: var(--ink-3); }
.options { display: grid; gap: 2px; }
.option, .toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 0; font-size: 14px; }
.toggle { font-weight: 650; }
.option span:nth-child(2), .toggle span:nth-child(2) { flex: 1; }
.count { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.subcats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.subcats a { display: flex; justify-content: space-between; padding: 6px 10px; margin: 0 -10px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.subcats a:hover { background: var(--brand-softer); color: var(--brand); }
.filters-submit, .filters-open { display: none; }
.toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-bottom: 14px; }
.sort { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.sort select { width: auto; min-width: 210px; height: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 5px; background: var(--brand-soft); color: var(--brand); font-weight: 650; font-size: 13px; padding: 6px 10px 6px 13px; border-radius: 999px; }
.chip:hover { filter: brightness(.96); }
.chip-reset { font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 56px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-3); }
.empty h2 { color: var(--ink); font-size: 19px; }
.pagination { display: flex; justify-content: center; gap: 6px; padding: 8px 0 44px; flex-wrap: wrap; }
.page-link { min-width: 42px; height: 42px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.page-link:hover { border-color: var(--ink-3); }
.page-link.current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- ilan detayı ---------- */
.detail { padding-bottom: 48px; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 4px 0 18px; flex-wrap: wrap; }
.detail-head h1 { font-size: 30px; letter-spacing: -.03em; }
.detail-sub { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 14px; }
.detail-sub span { display: inline-flex; align-items: center; gap: 4px; }
.detail-actions { display: flex; gap: 8px; }
.fav-btn .fav-on { display: none; }
.fav-btn.on { color: var(--heart); border-color: #f4c4c5; background: #fff5f5; }
.fav-btn.on .fav-on { display: inline; }
.fav-btn.on .fav-off { display: none; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.gallery { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); display: grid; place-items: center; }
.gallery-icon { opacity: .5; }
.gallery-note { position: absolute; bottom: 12px; left: 12px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; background: rgba(255, 255, 255, .92); color: var(--ink-2); padding: 4px 12px; border-radius: 999px; }
.gallery-wrap { position: relative; border-radius: var(--radius); overflow: hidden; background: #10161f; }
.gallery-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 3 / 2;
  overscroll-behavior-x: contain; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; min-width: 0; height: 100%; margin: 0; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; display: block; -webkit-user-drag: none; user-select: none; }
.gallery-thumbs a.active { border-color: var(--brand); }
.gallery-thumbs { overscroll-behavior-x: contain; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.gallery-nav:hover { background: #fff; }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 5px; background: rgba(22, 29, 41, .7); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: thin; }
.gallery-thumbs a { flex: 0 0 96px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; }
.gallery-thumbs a:hover { border-color: var(--brand); }
.gallery-thumbs img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.key-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin: 16px 0; }
.key-fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 14px; }
.key-fact dt { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.key-fact dd { margin: 2px 0 0; font-weight: 750; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; }
.panel h2 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.panel p { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.fact { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.fact dt { color: var(--ink-3); }
.fact dd { margin: 0; font-weight: 650; text-align: right; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 16px; }
.features li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.features .icon { color: var(--brand); }
.detail-side { position: sticky; top: 88px; }
.contact-panel { display: grid; gap: 12px; }
.price-big { font-size: 34px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.seller { display: flex; gap: 12px; align-items: center; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line-2); }
.seller-name { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.safety { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-softer); border-color: var(--brand-soft); }
.safety .icon { color: var(--brand); }
.safety p { margin: 0; font-size: 13.5px; }
.link-back { display: inline-block; color: var(--brand); font-weight: 650; font-size: 14px; margin: 4px 0 10px; }

/* ---------- giriş ---------- */
.auth { display: grid; place-items: center; padding-top: 48px; padding-bottom: 72px; }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 14px; box-shadow: var(--shadow-hover); }
.auth-card-wide { max-width: 560px; }
.auth-card h1 { font-size: 25px; }
.auth-card p { margin: 0; }
.auth-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); }
.auth-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink-2); font-size: 14px; }
.auth-points li { display: flex; align-items: center; gap: 8px; }
.auth-points .icon { color: var(--brand); }
.code-input { font-size: 26px !important; letter-spacing: 10px; text-align: center; font-weight: 700; height: 58px !important; font-variant-numeric: tabular-nums; }

/* ---------- hesabım ---------- */
.acc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 56px; align-items: start; }
.acc-nav { position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; display: grid; gap: 2px; }
.acc-user { display: flex; gap: 12px; align-items: center; padding: 10px 10px 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.acc-user div { display: grid; }
.acc-nav a, .acc-nav button { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; font-weight: 600; color: var(--ink-2); background: none; border: 0; cursor: pointer; font-size: 14.5px; text-align: left; }
.acc-nav a:hover, .acc-nav button:hover { background: var(--line-2); color: var(--ink); }
.acc-nav a.active { background: var(--brand-softer); color: var(--brand); }
.acc-nav .dot { position: static; margin-left: auto; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.acc-head h1 { font-size: 26px; }
.cards-acc { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.own { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; margin-bottom: 10px; }
.own-media { aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; background: var(--line-2); }
.own-media img { width: 100%; height: 100%; object-fit: cover; }
.own-body { display: grid; gap: 6px; min-width: 0; }
.own-title { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.own-title:hover { color: var(--brand); }
.own-meta { display: flex; align-items: center; gap: 12px; }
.own-meta .card-price { font-size: 16px; }
.own-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.status { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); }
.status-ACTIVE { background: var(--ok-bg); color: var(--ok-ink); }
.status-SOLD { background: #eef0ff; color: #3b44b8; }
.list-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.list-item:last-child { border-bottom: 0; }
.list-main { flex: 1; display: grid; min-width: 0; }
.list-title { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-title:hover { color: var(--brand); }
.inbox-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.inbox-row:last-child { border-bottom: 0; }
.inbox-row:hover { background: var(--line-2); }
.inbox-row.unread { background: var(--brand-softer); }
.inbox-media { flex: none; width: 76px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--line-2); }
.inbox-media img { width: 100%; height: 100%; object-fit: cover; }
.inbox-main { flex: 1; display: grid; gap: 2px; min-width: 0; }
.inbox-top { display: flex; justify-content: space-between; gap: 10px; }
.inbox-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-excerpt { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.count-pill { background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; padding: 0 6px; }
.thread-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; }
.thread-listing { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 14px 8px 8px; margin-bottom: 12px; }
.thread-listing > span:last-child { display: grid; }
.thread-listing .card-price { font-size: 15px; }
.thread { display: grid; align-content: start; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-height: 160px; }
.bubble { max-width: 78%; justify-self: start; background: var(--line-2); border-radius: 14px 14px 14px 4px; padding: 10px 14px; }
.bubble.mine { justify-self: end; background: var(--brand); color: #fff; border-radius: 14px 14px 4px 14px; }
.bubble p { margin: 0; white-space: pre-line; color: inherit; }
.bubble-time { display: block; font-size: 11.5px; opacity: .7; margin-top: 4px; }
.reply { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 12px; align-items: end; }
.danger h2 { color: var(--err-ink); }

/* ---------- ilan verme ---------- */
.steps { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--line); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.step.active { background: var(--brand); color: #fff; }
.step.done { background: var(--brand-soft); color: var(--brand); }
.step-line { width: 40px; height: 2px; background: var(--line); }
.sell-groups { display: grid; gap: 16px; margin-top: 18px; }
.sell-leaves { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.sell-leaf { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; }
.sell-leaf:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-softer); }
.sell-form { display: grid; gap: 0; margin-top: 16px; }
.attr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; align-items: start; }
.attr-grid .check { align-self: end; min-height: 44px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.photo { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.photo-remove { display: flex; align-items: center; gap: 6px; padding: 6px 8px; font-size: 12.5px; font-weight: 600; color: var(--err-ink); }
.photo:has(input:checked) img { opacity: .35; }
.dropzone { position: relative; display: grid; justify-items: center; gap: 4px; padding: 26px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); cursor: pointer; text-align: center; }
.dropzone:hover { border-color: var(--brand); background: var(--brand-softer); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sell-submit { display: flex; justify-content: flex-end; padding: 6px 0 20px; }

/* ---------- footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 24px; padding: 36px 0 44px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 28px; }
.logo-footer { font-size: 20px; margin-bottom: 8px; }
.logo-footer .logo-mark { width: 28px; height: 28px; font-size: 17px; border-radius: 8px; }
.footer-links, .footer-sites { display: grid; gap: 7px; align-content: start; color: var(--ink-2); }
.footer-links strong, .footer-sites strong { color: var(--ink); }
.footer-sites-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; }
.footer a:hover { color: var(--brand); }

/* ---------- duyarlı ---------- */
@media (max-width: 1100px) {
  .hdr-nav { display: none; }
  .finder-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder-submit { grid-column: 1 / -1; }
  .why { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-side { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
  .attr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hdr { position: static; }
  .hdr-inner { height: auto; min-height: 62px; gap: 10px; flex-wrap: wrap; row-gap: 0; }
  .hdr-search { order: 5; flex: 1 1 100%; max-width: none; margin-bottom: 10px; }
  .hdr-icon-label, .site-switch summary span { display: none; }
  .cta-text { display: none; }
  .hdr-actions .btn-cta { padding: 9px 11px; margin-left: 2px; }
  .hero { padding: 26px 0 22px; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; margin-bottom: 16px; }
  .finder-tab { padding: 12px 14px; flex: 1; justify-content: center; }
  .finder-form { padding: 14px; gap: 10px; }
  .row-link { grid-template-columns: 150px minmax(0, 1fr); min-height: 130px; }
  .row-price { grid-column: 2; padding: 0 14px 12px; font-size: 18px; align-self: start; }
  .row-body { padding: 12px 14px 4px; gap: 6px; }
  .row-title { font-size: 15px; }
  .row-facts li { font-size: 12px; padding: 2px 7px; }
  .row-bottom .badge { display: none; }
  .gallery-nav { display: none; }
  .search-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: fixed; inset: 0; max-height: none; z-index: 50; border-radius: 0; border: 0; padding: 0 16px 16px; }
  .filters.open { display: block; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--surface); padding: 14px 0; border-bottom: 1px solid var(--line); z-index: 1; }
  .filters-submit { display: flex; position: sticky; bottom: 0; margin-top: 12px; box-shadow: 0 -12px 16px 4px var(--surface); }
  .filters-open { display: inline-flex; }
  .toolbar { justify-content: space-between; }
  .toolbar > * { flex: 1 1 0; min-width: 0; }
  .sort span { display: none; }
  .sort select { min-width: 0; width: 100%; }
  .acc { grid-template-columns: 1fr; padding-top: 16px; gap: 16px; }
  .acc-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; padding: 6px; }
  .acc-user { display: none; }
  .acc-nav a, .acc-nav button { white-space: nowrap; }
  .own { grid-template-columns: 96px minmax(0, 1fr); }
  .own-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .detail-head { align-items: flex-start; }
}
@media (max-width: 560px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .logo { font-size: 21px; }
  .logo-mark { width: 30px; height: 30px; font-size: 19px; }
  .hdr-icon, .account-menu > summary, .site-switch > summary { padding: 6px 7px; }
  .finder-form { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile-label { font-size: 14.5px; }
  .why { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 10px; }
  .card-title { font-size: 14px; }
  .card-price { font-size: 16px; }
  .card-facts { font-size: 12px; }
  .card-foot .badge { display: none; }
  .fav { width: 32px; height: 32px; top: 8px; right: 8px; }
  .row-link { grid-template-columns: 120px minmax(0, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .search-head h1, .detail-head h1 { font-size: 23px; }
  .gallery-wrap { margin: 0 -14px; border-radius: 0; }
  .price-big { font-size: 28px; }
  .field-row, .field-row.three, .attr-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 22px; }
  .footer-sites-grid { grid-template-columns: 1fr; }
  .reply { grid-template-columns: 1fr; }
}

/* ---------- ilan verme: kategori seçici ---------- */
.sell-pick { padding-top: 24px; padding-bottom: 56px; }
.picker-panel { padding: 26px 28px; }
.picker-panel h2 { font-size: 20px; margin-bottom: 18px; }
.vtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.vtile { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 26px 18px 22px; border: 1px solid var(--line);
  border-top: 4px solid var(--vt, var(--brand)); border-radius: var(--radius); background: var(--surface); transition: box-shadow .2s, transform .2s; }
.vtile:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.vtile strong { font-size: 17px; }
.vtile-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--vt, var(--brand)); color: #fff; }
.vt-vehicle { --vt: #0a6e6e; }
.vt-house { --vt: #e8952b; }
.pick-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14.5px; margin-bottom: 14px; color: var(--ink-2); }
.pick-crumbs a { color: var(--brand); font-weight: 600; }
.pick-crumbs > * + *::before { content: "›"; margin-right: 6px; color: var(--ink-3); font-weight: 400; }
.columns { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.column { flex: 0 0 250px; height: 380px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px;
  scroll-snap-align: start; scrollbar-width: thin; background: var(--surface); }
.column-title { position: sticky; top: -6px; background: var(--surface); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-3); font-weight: 700; padding: 8px 10px 6px; }
.column-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; font-size: 14.5px; }
.column-item:hover { background: var(--line-2); }
.column-item.selected { background: var(--brand); color: #fff; font-weight: 600; }
.column-item .icon { opacity: .6; }
.column-done { display: grid; align-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px; background: var(--brand-softer); border-color: var(--brand-soft); }
.done-check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #2fa36b; color: #fff; margin-bottom: 4px; }
.column-done .btn { margin-top: 8px; }
.or { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; color: var(--ink-3); font-weight: 600; font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pick-search { max-width: 640px; }
.pick-search h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 12px; }
.pick-search p { margin: 8px 0 0; }
.suggest { display: grid; gap: 4px; margin-top: 10px; }
.suggest-item { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14.5px; }
.suggest-item:hover { border-color: var(--brand); background: var(--brand-softer); color: var(--brand); }
@media (max-width: 560px) {
  .picker-panel { padding: 18px 14px; }
  .vtiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vtile { padding: 18px 10px; }
  .column { flex-basis: 78vw; height: 340px; }
}

/* ---------- moderasyon ---------- */
.notice-info { background: #eef4ff; color: #2c4a8a; }
.own-note { font-size: 13px; color: var(--ink-3); }
.own-note-error { color: var(--err-ink); font-weight: 600; }
.status-PENDING { background: #fff6e0; color: #8a5a00; }
.status-REJECTED { background: var(--err-bg); color: var(--err-ink); }
.admin { padding-top: 28px; padding-bottom: 56px; }
.admin h1 { display: flex; align-items: center; gap: 10px; }
.mod-item { display: grid; grid-template-columns: 240px minmax(0, 1fr) 240px; gap: 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.mod-media { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--line-2); }
.mod-media img { width: 100%; height: 100%; object-fit: cover; }
.mod-body { display: grid; gap: 6px; align-content: start; min-width: 0; }
.mod-flag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; background: var(--err-bg); color: var(--err-ink); padding: 3px 10px; border-radius: 999px; font-size: 13px; }
.mod-flag-info { background: #eef4ff; color: #2c4a8a; }
.mod-reason { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.mod-desc { margin: 0; font-size: 13.5px; color: var(--ink-2); max-height: 6.5em; overflow: hidden; white-space: pre-line; }
.mod-seller { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.mod-actions { display: grid; gap: 12px; align-content: start; }
@media (max-width: 860px) { .mod-item { grid-template-columns: 1fr; } }

/* ---------- arama sonuçları (2026-11-10): ağaç + kutulu filtreler, bulundu satırı, tablo/liste/galeri ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container-wide { max-width: 1440px; }
.found-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; }
.found { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin: 0; }
.found strong { color: var(--ink); font-weight: 700; }
.found strong.hit { color: var(--cta-ink, #d4471c); }
.search-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 20px; }
.filters { background: none; border: 0; padding: 0 2px 0 0; display: grid; gap: 12px; align-content: start; }
.fbox, #search-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
#search-form { padding: 2px 16px 0; }
.filter-options .options { max-height: 196px; overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.filters-submit { display: block; position: sticky; bottom: 0; background: var(--surface); padding: 12px 0 14px; margin: 0 -16px; padding-left: 16px; padding-right: 16px;
  border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
.tree { display: grid; padding: 8px; max-height: 340px; overflow-y: auto; scrollbar-width: thin; }
.tree a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 5px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.tree a:hover { background: var(--brand-softer); color: var(--brand); }
.tree a.parent { color: var(--ink); font-weight: 650; }
.tree a.current { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.tree .d1 { padding-left: 22px; } .tree .d2 { padding-left: 34px; } .tree .d3 { padding-left: 46px; } .tree .d4 { padding-left: 58px; }
.toolbar { justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 0; border-bottom: 1px solid var(--line); }
.seller-tabs { display: flex; gap: 4px; }
.seller-tabs a { padding: 10px 16px; font-weight: 650; font-size: 14px; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.seller-tabs a:hover { color: var(--brand); }
.seller-tabs a.current { color: var(--ink); border-bottom-color: var(--brand); }
.toolbar-right { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; }
.views { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.views a { display: grid; place-items: center; width: 40px; height: 38px; color: var(--ink-3); }
.views a + a { border-left: 1px solid var(--line); }
.views a:hover { color: var(--brand); }
.views a.current { background: var(--brand-soft); color: var(--brand); }
.sort select { min-width: 190px; height: 40px; }
.results > .chips { margin-top: 12px; }
.results > .rows, .results > .cards, .results > .rtable-wrap { margin-top: 14px; }
.rtable-wrap { overflow-x: auto; border-radius: var(--radius); }
/* tablo */
.rtable { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
.rtable th { text-align: left; font-size: 13px; color: var(--ink-2); font-weight: 650; padding: 10px 10px; background: var(--line-2); white-space: nowrap; }
.rtable td { padding: 8px 10px; border-top: 1px solid var(--line-2); vertical-align: middle; }
.rtable tbody tr:hover td { background: var(--brand-softer); }
.rtable .c-img { width: 124px; padding-left: 8px; padding-right: 4px; }
.t-media { display: grid; place-items: center; width: 112px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--line-2); position: relative; }
.t-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-make { width: 110px; } .c-make span { display: block; } .c-make .muted { font-size: 13px; }
.c-title { min-width: 170px; }
.t-title { font-weight: 650; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.t-title:hover { color: var(--brand); }
.c-title .badge { margin-top: 6px; display: inline-block; }
.t-facts { display: block; color: var(--ink-3); font-size: 13px; margin-top: 3px; }
.t-mobile { display: none; }
.rtable .c-num, .rtable .c-date { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.rtable td.c-price { white-space: nowrap; font-weight: 750; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.rtable th.c-price { text-align: right; white-space: nowrap; }
.rtable .c-loc { color: var(--ink-2); font-size: 13px; width: 120px; }
.c-loc span { display: block; } .c-loc .muted { margin-top: 2px; font-size: 12.5px; }
.results .cards-dense { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
@media (max-width: 1180px) { .rtable .c-make { display: none; } }
@media (max-width: 860px) {
  .search-layout { grid-template-columns: minmax(0, 1fr); }
  /* Mobil filtre paneli: tek kaydırma alanı (iç içe kayan kutu yok), arka sayfa kilitli, düğme hep altta. */
  .filters { display: none; position: fixed; inset: 0; height: 100dvh; max-height: none; z-index: 60; background: var(--bg, #f4f5f7);
    padding: 0 14px 96px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .filters.open { display: block; }
  .filters > * + * { margin-top: 12px; }
  .filters-head { margin: 0 -14px; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
  .filters .tree, .filter-options .options { max-height: none; overflow: visible; }
  .filters .filters-submit { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; z-index: 2; border-radius: 0; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
  body:has(.filters.open) { overflow: hidden; }
  .found-bar { padding: 12px 14px; align-items: flex-start; }
  .found { font-size: 15px; }
  .toolbar { flex-wrap: wrap; border-bottom: 0; align-items: center; }
  .seller-tabs { width: 100%; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .seller-tabs a { padding: 9px 12px; }
  .toolbar-right { width: 100%; padding-bottom: 0; flex-wrap: wrap; }
  .toolbar-right .filters-open { flex: 1 1 100%; }
  .views { flex: none; }
  .results .cards-dense { grid-template-columns: 1fr 1fr; gap: 10px; }
  .views a { width: 38px; }
  .sort { flex: 1 1 0; min-width: 0; }
  .sort select { min-width: 0; width: 100%; }
  .toolbar > * { flex: 0 0 100%; }
  .rtable-wrap { overflow: visible; }
  /* tablo mobilde kompakt satıra döner */
  .rtable, .rtable tbody { display: block; border: 0; background: none; }
  .rtable thead { display: none; }
  .rtable tr { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-areas: "img title" "img price" "img loc"; column-gap: 12px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; margin-bottom: 8px; }
  .rtable td { display: none; border: 0; padding: 0; }
  .rtable tbody tr:hover td { background: none; }
  .rtable td.c-img { display: block; grid-area: img; width: auto; padding: 0; }
  .t-media { width: 120px; }
  .rtable td.c-title { display: block; grid-area: title; min-width: 0; }
  .rtable td.c-price { display: block; grid-area: price; text-align: left; align-self: end; }
  .rtable td.c-loc { display: block; grid-area: loc; width: auto; font-size: 12.5px; color: var(--ink-3); }
  .rtable td.c-loc .muted { display: none; }
  .t-mobile { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
  .c-title .badge, .t-facts:not(.t-mobile) { display: none; }
  .t-title { font-size: 14px; }
}

/* ---------- ilan detay: galeri kırpmasız + mobil fiyat/iletişim çubuğu ---------- */
/* Görsel mutlak konumlu ve "contain": Safari'de yüzde yükseklik taşıp kırpılmasın; foto hiçbir zaman kesilmez. */
.gallery-slide { position: relative; }
.gallery-slide .gallery-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.gallery-slide .gallery-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15);
  filter: blur(22px) brightness(.72) saturate(1.1); pointer-events: none; }
.gallery-nav, .gallery-badge { z-index: 2; }
.info-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.info-head h2 { margin-bottom: 0; }
.info-panel { margin-top: 16px; }
.info-panel + .key-facts { margin-top: 0; }
.detail-price-m, .detail-bar { display: none; }
@media (max-width: 860px) {
  .gallery-track { aspect-ratio: 4 / 3; }          /* çoğu araç fotoğrafı 4:3: telefonda tam genişlik, bant yok */
  .gallery-thumbs a { flex-basis: 76px; }
  .detail-head { margin-bottom: 14px; gap: 12px; }
  .detail-price-m { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
  .detail-sub { font-size: 13px; gap: 4px 14px; }
  .detail-actions .fav-btn { display: none; }        /* favori alttaki çubukta */
  .detail-bar { display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16, 22, 31, .06);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .detail-bar-price { flex: 1 1 auto; min-width: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
  .detail-bar-fav { flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; }
  .detail-bar-fav[aria-pressed="true"] { color: var(--cta); border-color: var(--cta); }
  .detail-bar-fav[aria-pressed="true"] svg { fill: currentColor; }
  .detail-bar .btn { flex: none; height: 44px; }
  body:has(.detail-bar) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .contact-panel .price-big { display: none; }       /* fiyat zaten başlıkta ve çubukta */
}

/* ---------- favori klasör seçici ---------- */
.fav-dialog { border: 0; padding: 0; border-radius: 16px; width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 40px); box-shadow: 0 24px 60px rgba(16, 22, 31, .25); }
.fav-dialog::backdrop { background: rgba(16, 22, 31, .45); }
.fd-box { padding: 18px 20px 20px; display: grid; gap: 12px; }
.fd-head { display: flex; justify-content: space-between; align-items: center; }
.fd-head h2 { font-size: 19px; }
.fd-hint { margin: -6px 0 0; }
.fd-lists { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; }
.fd-list { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; width: 100%; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface); font: inherit; cursor: pointer; }
.fd-list:hover { border-color: var(--brand); background: var(--brand-softer); }
.fd-list.current { border-color: var(--brand); background: var(--brand-soft); }
.fd-name { font-weight: 650; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-meta { color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.fd-list.current .fd-meta { color: var(--brand); font-weight: 650; }
.fd-new { border-top: 1px solid var(--line-2); padding-top: 12px; }
.fd-new-row { display: flex; gap: 8px; }
.fd-new-row input { flex: 1 1 auto; min-width: 0; }
.fd-new-row .btn { flex: none; white-space: nowrap; }
.fd-remove { justify-self: start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; color: var(--err-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
@media (max-width: 560px) {
  .fav-dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .fd-box { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .fd-new-row { flex-direction: column; }
}
/* hesabım: klasör kartları */
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.folder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.folder:hover { box-shadow: var(--shadow-hover); }
.folder-media { aspect-ratio: 16 / 10; background: var(--line-2); display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.folder-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.folder-media img:first-child { grid-row: 1 / 3; }
.folder-media.n1 { grid-template-columns: 1fr; } .folder-media.n2 { grid-template-rows: 1fr; }
.folder-media .folder-empty { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; place-items: center; color: var(--ink-3); }
.folder-body { padding: 12px 14px 14px; }
.folder-name { font-weight: 700; font-size: 16px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.folder-count { color: var(--ink-3); font-size: 13px; }
.folder-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.folder-tools form { display: flex; gap: 8px; }
.folder-tools input { width: 240px; }
.fav-item { display: grid; gap: 6px; }
.fav-item-actions { display: flex; gap: 6px; }
.fav-item-actions select { height: 36px; font-size: 13px; flex: 1 1 auto; min-width: 0; }
.fav-item-actions .btn { height: 36px; }
.notice-error { background: var(--err-bg); color: var(--err-ink); }
.btn-danger-outline { color: var(--err-ink); } .btn-danger-outline:hover { border-color: var(--err-ink); }

.found-seller { display: flex; align-items: center; gap: 12px; min-width: 0; }
.found-bar:has(.found-seller) .found { margin-right: auto; padding-left: 16px; border-left: 1px solid var(--line); }
.folder-media { overflow: hidden; }
.folder-media.n2 img:first-child { grid-row: auto; }
@media (max-width: 860px) { .found-bar:has(.found-seller) { flex-wrap: wrap; } .found-bar:has(.found-seller) .found { border-left: 0; padding-left: 0; } }

/* ---------- ilan kapatma nedeni ---------- */
.close-dialog { width: min(520px, calc(100vw - 24px)); }
.close-listing { margin: -4px 0 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.close-reasons { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.close-reason { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 550; }
.close-reason:hover { border-color: var(--brand); }
.close-reason:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.close-platform, .close-price { display: none; }
.close-form:has(input[value="SOLD_OTHER_PLATFORM"]:checked) .close-platform { display: grid; }
.close-form:has(input[data-sold]:checked) .close-price { display: grid; }
.close-buttons { display: flex; justify-content: flex-end; gap: 8px; }
.field-error { color: var(--err-ink); font-weight: 600; }
/* ---------- galeri mağaza sayfası ---------- */
.store-head { display: grid; grid-template-columns: 112px minmax(0, 1fr) 280px; gap: 22px; align-items: start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.store-logo { width: 112px; height: 112px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.store-logo img { width: 100%; height: 100%; object-fit: contain; }
.store-logo-empty { background: var(--brand-soft); color: var(--brand); font-size: 44px; font-weight: 800; }
.store-name { font-size: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.store-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; }
.store-meta span { display: inline-flex; align-items: center; gap: 4px; }
.store-desc { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; }
.store-desc p { margin: 0 0 8px; }
.store-contact { margin: 0; display: grid; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line-2); font-size: 14px; }
.store-contact dt { color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.store-contact dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.store-contact a { color: var(--brand); }
.store-hours { white-space: pre-line; font-weight: 500 !important; }
.logo-edit { display: flex; gap: 16px; align-items: center; }
.logo-edit .store-logo { width: 88px; height: 88px; font-size: 34px; flex: none; }
.stack-sm { display: grid; gap: 6px; }
.slug-input { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.slug-prefix { display: flex; align-items: center; padding: 0 4px 0 12px; background: var(--line-2); color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.slug-input input { border: 0; border-radius: 0; flex: 1 1 auto; min-width: 0; }
.has-error .slug-input { border-color: var(--err-ink); }
@media (max-width: 960px) {
  .store-head { grid-template-columns: 80px minmax(0, 1fr); }
  .store-head .store-logo { width: 80px; height: 80px; font-size: 32px; }
  .store-contact { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); padding-top: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .store-name { font-size: 21px; }
}

.toolbar-right { margin-left: auto; }
.store-count { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line-2); }
.store-count .found { font-size: 17px; }
.is-store .c-title .badge, .is-store .row-bottom .badge, .is-store .card-foot .badge { display: none; }
.is-store .toolbar { border-bottom: 0; }
@media (max-width: 960px) {
  .store-head { row-gap: 10px; }
  .store-main { display: contents; }
  .store-name, .store-meta { grid-column: 2; }
  .store-name { align-self: end; }
  .store-desc { grid-column: 1 / -1; margin-top: 2px; }
  .store-head .store-logo { grid-row: 1 / 3; }
  .store-count { grid-column: 1 / -1; }
}
@media (max-width: 860px) { .is-store .toolbar-right { width: 100%; } }

@media (max-width: 560px) { .close-dialog { width: 100vw; max-width: 100vw; } }

.bubble-note { display: block; font-size: 12px; font-weight: 650; margin-top: 4px; }
.bubble.state-HELD { opacity: .75; border: 1px dashed currentColor; }
.bubble.state-HIDDEN { opacity: .6; text-decoration: line-through; text-decoration-thickness: 1px; }
.bubble.state-HIDDEN .bubble-note, .bubble.state-HIDDEN .bubble-time { text-decoration: none; }

.mod-msg { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; }
.mod-msg-body { display: grid; gap: 6px; min-width: 0; }
.mod-quote { margin: 0; padding: 10px 12px; background: var(--line-2); border-radius: 8px; white-space: pre-line; font-size: 14px; }
.admin-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.admin-tile { display: grid; gap: 6px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; }
.admin-tile:hover { box-shadow: var(--shadow-hover); border-color: var(--brand); }
.admin-tile .icon { color: var(--brand); }
.admin-tile .count-pill { position: absolute; top: 16px; right: 16px; }
@media (max-width: 860px) { .mod-msg { grid-template-columns: 1fr; } }
