:root {
  --navy: #14365c;
  --navy-2: #0e2744;
  --accent: #e8590c;
  --accent-2: #c94c08;
  --green: #1b7f4b;
  --green-bg: #e7f4ec;
  --amber-bg: #fff4e0;
  --amber: #8a5300;
  --red: #b42318;
  --red-bg: #fdecea;
  --ink: #1d2433;
  --ink-2: #4a5468;
  --ink-3: #7a8396;
  --line: #e3e6ec;
  --line-2: #eef0f4;
  --bg: #f4f5f7;
  --card: #ffffff;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0 0 10px; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-3); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* ---------- Üst bar ve header ---------- */
.topbar { background: var(--navy-2); color: #c9d3e1; font-size: 12px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: #ffd2b5; }
.topbar .tb-left span + span::before { content: "·"; margin: 0 8px; color: #6b7d96; }

.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font-size: 25px; font-weight: 800; letter-spacing: -.5px; white-space: nowrap; color: var(--navy); flex-shrink: 0; }
.logo span { color: var(--accent); }
.logo:hover { color: var(--navy); }
.search { flex: 1; display: flex; max-width: 640px; }
.search input { flex: 1; min-width: 0; height: 42px; border: 2px solid var(--line); border-right: 0; border-radius: 6px 0 0 6px; padding: 0 14px; background: #f8f9fb; outline: none; }
.search input:focus { border-color: var(--accent); background: #fff; }
.search button { height: 42px; border: 0; background: var(--accent); color: #fff; padding: 0 18px; border-radius: 0 6px 6px 0; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.search button:hover { background: var(--accent-2); }
.user-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
.user-nav a.nav-link { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 6px; font-weight: 600; color: var(--ink-2); }
.user-nav a.nav-link:hover { background: var(--line-2); color: var(--ink); }
.user-nav .acct { display: flex; flex-direction: column; line-height: 1.2; }
.user-nav .acct small { font-weight: 400; color: var(--ink-3); font-size: 11px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon { width: 18px; height: 18px; flex-shrink: 0; }

.catbar { background: #fff; border-bottom: 1px solid var(--line); }
.catbar .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catbar .wrap::-webkit-scrollbar { display: none; }
.catbar a { padding: 11px 12px; white-space: nowrap; font-weight: 500; color: var(--ink-2); border-bottom: 2px solid transparent; }
.catbar a:hover, .catbar a.on { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Genel ---------- */
main { min-height: 60vh; padding: 20px 0 48px; }
.loading { padding: 80px 0; text-align: center; color: var(--ink-3); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 6px; border: 1px solid transparent; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--accent-2); color: #fff; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.navy { background: var(--navy); }
.btn.navy:hover { background: var(--navy-2); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn.green { background: var(--green); }
.btn.green:hover { background: #156a3e; }
.btn.danger { background: #fff; color: var(--red); border-color: #f1c3be; }
.btn.danger:hover { background: var(--red-bg); color: var(--red); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn.lg { height: 48px; padding: 0 24px; font-size: 15px; }
.btn.block { width: 100%; }
.link { color: var(--accent); font-weight: 600; cursor: pointer; background: none; border: 0; padding: 0; }
.link:hover { text-decoration: underline; }

.panel-box, .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.box { padding: 20px; }
.section { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2 { font-size: 19px; }
.section-head a { color: var(--accent); font-weight: 600; font-size: 13px; }
.crumbs { font-size: 12px; color: var(--ink-3); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span::before { content: "›"; margin-right: 6px; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: var(--green-bg); color: var(--green); }
.badge.wait { background: var(--amber-bg); color: var(--amber); }
.badge.no { background: var(--red-bg); color: var(--red); }
.badge.new { background: #e8f0fb; color: var(--navy); }

.notice { padding: 12px 16px; border-radius: var(--radius); border: 1px solid; margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start; }
.notice.wait { background: var(--amber-bg); border-color: #f3d9a8; color: #5c3a00; }
.notice.ok { background: var(--green-bg); border-color: #bfe3cc; color: #124d2e; }
.notice.err { background: var(--red-bg); border-color: #f1c3be; color: #7a1a12; }
.notice.info { background: #eef4fb; border-color: #cfdcef; color: #183a63; }
.notice b { font-weight: 700; }
.notice p { margin: 0; }

/* ---------- Ana sayfa ---------- */
.hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.hero-main { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px 36px 32px; position: relative; overflow: hidden; }
.hero-main::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border: 38px solid rgba(255, 255, 255, .05); border-radius: 50%; }
.hero-main h1 { font-size: 32px; letter-spacing: -.5px; max-width: 520px; }
.hero-main p { color: #c9d3e1; font-size: 15px; max-width: 500px; margin: 12px 0 22px; }
.hero-main .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero-main .btn.ghost:hover { border-color: #fff; }
.motto-hl { color: var(--accent); white-space: nowrap; }
.hero-crates { display: flex; align-items: flex-end; gap: 6px; margin-top: 22px; position: relative; z-index: 1; }
.hero-crates .hk { width: 62px; height: auto; flex: 0 1 auto; min-width: 0; display: block; }
.hero-crates.play .hk { animation: hk-in .7s cubic-bezier(.3, .7, .4, 1) backwards; }
.hero-crates.play .hk-1 { --from: -140px; animation-delay: 0s; }
.hero-crates.play .hk-2 { --from: -140px; animation-delay: .12s; }
.hero-crates.play .hk-3 { --from: 140px; animation-delay: .24s; }
.hero-crates.play .hk-4 { --from: 140px; animation-delay: .36s; }
@keyframes hk-in {
  0% { transform: translateX(var(--from)); opacity: .3; }
  70% { transform: translateX(0) translateY(0); opacity: 1; }
  82% { transform: translateY(-7px); }
  100% { transform: translateY(0); opacity: 1; }
}
@media (min-width: 1101px) {
  .hero-crates { position: absolute; right: 22px; bottom: 22px; margin: 0; gap: 8px; }
  .hero-crates .hk { width: 80px; }
  .hero-main h1, .hero-main > p { max-width: 400px; }
}
@media (max-width: 560px) {
  .hero-crates { gap: 4px; margin-top: 18px; }
  .hero-crates .hk { width: 21%; max-width: 56px; }
}
@media (prefers-reduced-motion: reduce) { .hero-crates.play .hk { animation: none; } }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-stats { display: flex; gap: 28px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-stats b { display: block; font-size: 22px; }
.hero-stats span { font-size: 12px; color: #a9b7ca; }
.hero-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.hero-side h3 { font-size: 15px; margin-bottom: 14px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 38px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--line-2); color: var(--navy); font-weight: 700; display: grid; place-items: center; font-size: 13px; }
.steps li b { display: block; }
.steps li span { color: var(--ink-2); font-size: 13px; }

.cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; min-height: 104px; }
.cat-tile { background: var(--reyon-bg, #fff); border-color: transparent; border-top: 3px solid var(--reyon, var(--line)); transition: transform .15s, box-shadow .15s; }
.cat-tile:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16, 24, 40, .1); }
.cat-tile .ci { width: 38px; height: 38px; border-radius: 10px; background: var(--reyon, var(--accent)); color: #fff; display: grid; place-items: center; }
.cat-tile b { font-size: 13px; line-height: 1.3; }
.cat-tile small { color: var(--ink-3); font-size: 12px; margin-top: auto; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.trust div { padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.trust div + div { border-left: 1px solid var(--line); }
.trust svg { color: var(--navy); width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.trust b { display: block; font-size: 13px; }
.trust span { font-size: 12px; color: var(--ink-3); }

/* ---------- Ürün kartları ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; }
.card:hover { border-color: #cfd4dd; box-shadow: 0 4px 14px rgba(16, 24, 40, .08); color: var(--ink); }
.card-img { aspect-ratio: 1 / 1; background: #f7f8fa; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; color: #c3c9d4; }
.ph svg { width: 34%; height: 34%; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-store { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-title { font-size: 14px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.card-meta { font-size: 12px; color: var(--ink-2); }
.card-price { margin-top: auto; padding-top: 8px; }
.price { font-size: 17px; font-weight: 700; color: var(--ink); }
.price small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.price-sub { font-size: 12px; color: var(--green); font-weight: 600; }
.price-locked { font-size: 12px; color: var(--ink-2); background: var(--line-2); border-radius: 4px; padding: 6px 8px; display: flex; gap: 6px; align-items: center; }
.price-locked svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Liste sayfası ---------- */
.list-layout { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 0; position: sticky; top: 84px; }
.filters h4 { font-size: 13px; padding: 10px 16px 6px; }
.filters .f-group { padding: 0 0 10px; border-bottom: 1px solid var(--line-2); }
.filters .f-group:last-child { border-bottom: 0; }
.filters a.f-link { display: flex; justify-content: space-between; padding: 5px 16px; color: var(--ink-2); font-size: 13px; }
.filters a.f-link:hover { color: var(--accent); background: #fafafa; }
.filters a.f-link.on { color: var(--accent); font-weight: 600; }
.filters select { margin: 2px 16px 0; width: calc(100% - 32px); }
.filters label.chk { display: flex; gap: 8px; align-items: center; padding: 4px 16px; font-size: 13px; cursor: pointer; }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.list-head h1 { font-size: 20px; }
.list-head .count { color: var(--ink-3); font-size: 13px; font-weight: 400; margin-left: 6px; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 20px; text-align: center; color: var(--ink-2); }
.empty b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.filter-toggle { display: none; }

/* ---------- Ürün detay ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr 340px; gap: 16px; align-items: start; }
.gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.gallery .main { aspect-ratio: 1 / 1; display: grid; place-items: center; background: #f7f8fa; border-radius: 6px; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 58px; height: 58px; border: 2px solid var(--line); border-radius: 6px; padding: 0; overflow: hidden; background: #fff; cursor: pointer; }
.thumbs button.on { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.pd-store { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-bottom: 14px; flex-wrap: wrap; }
.pd-store a { color: var(--navy); font-weight: 600; }
.pd-store a:hover { color: var(--accent); }
.specs { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs td { padding: 9px 14px; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.specs tr:last-child td { border-bottom: 0; }
.specs td:first-child { color: var(--ink-3); width: 42%; }
.desc { margin-top: 16px; }
.desc h3 { font-size: 15px; margin-bottom: 8px; }
.desc p { color: var(--ink-2); white-space: pre-line; }
.buybox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 84px; }
.tiers { width: 100%; border-collapse: collapse; margin: 4px 0 14px; }
.tiers th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--ink-3); font-weight: 600; padding: 6px 0; border-bottom: 1px solid var(--line); }
.tiers th:last-child, .tiers td:last-child { text-align: right; }
.tiers td { padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.tiers tr.on td { color: var(--accent); font-weight: 700; }
.tiers .per { display: block; font-size: 11px; color: var(--ink-3); font-weight: 400; }
.qty { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; height: 42px; }
.qty button { width: 42px; border: 0; background: var(--line-2); cursor: pointer; font-size: 18px; }
.qty button:hover { background: var(--line); }
.qty input { flex: 1; min-width: 0; border: 0; text-align: center; font-weight: 700; font-size: 16px; outline: none; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0; }
.total-row b { font-size: 22px; }
.lock-box { text-align: center; padding: 8px 0; }
.lock-box svg { width: 32px; height: 32px; color: var(--ink-3); margin: 0 auto 8px; }
.lock-box p { color: var(--ink-2); font-size: 13px; }
.seller-mini { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.seller-mini b { display: block; font-size: 14px; }

/* ---------- Mağaza ---------- */
.store-head { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.avatar { width: 64px; height: 64px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 24px; flex-shrink: 0; }
.avatar.sm { width: 44px; height: 44px; font-size: 17px; border-radius: 8px; }
.store-head h1 { font-size: 21px; }
.store-head p { margin: 4px 0 0; color: var(--ink-2); max-width: 760px; }
.store-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.store-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; gap: 12px; align-items: center; }
.store-card:hover { border-color: var(--accent); color: var(--ink); }
.store-card b { display: block; }
.store-card span { color: var(--ink-3); font-size: 12px; }

/* ---------- Form ---------- */
.auth-wrap { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.auth-wrap.narrow { max-width: 440px; grid-template-columns: 1fr; }
.auth-form { padding: 32px; }
.auth-form h1 { font-size: 22px; margin-bottom: 4px; }
.auth-form > p { color: var(--ink-2); margin-bottom: 20px; }
.auth-side { background: var(--navy); color: #dbe3ee; padding: 32px; }
.auth-side h2 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.auth-side ul { padding-left: 18px; margin: 0; }
.auth-side li { margin-bottom: 10px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.field .hint { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.input, select.input, textarea.input { width: 100%; height: 40px; border: 1px solid #cfd4dd; border-radius: 6px; padding: 0 12px; background: #fff; outline: none; }
textarea.input { height: auto; min-height: 110px; padding: 10px 12px; resize: vertical; }
.input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 54, 92, .12); }
.input.err { border-color: var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.seg label { border: 2px solid var(--line); border-radius: 8px; padding: 12px 14px; cursor: pointer; display: block; }
.seg label b { display: block; }
.seg label span { font-size: 12px; color: var(--ink-3); }
.seg input { display: none; }
.seg label.on, .seg label:has(input:checked) { border-color: var(--accent); background: #fff8f3; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 3px; }
.form-err { color: var(--red); font-size: 13px; margin-bottom: 12px; }
.demo-accts { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.demo-accts button { display: flex; justify-content: space-between; width: 100%; border: 1px solid var(--line); background: #fafbfc; padding: 8px 10px; border-radius: 6px; margin-top: 6px; cursor: pointer; text-align: left; }
.demo-accts button:hover { border-color: var(--accent); }

/* ---------- Panel ---------- */
.panel { display: grid; grid-template-columns: 230px 1fr; gap: 16px; align-items: start; }
.side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 0; position: sticky; top: 84px; }
.side .who { padding: 10px 16px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.side .who b { display: block; font-size: 13px; }
.side a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 16px; color: var(--ink-2); font-weight: 500; border-left: 3px solid transparent; }
.side a:hover { background: #fafafa; color: var(--ink); }
.side a.on { border-left-color: var(--accent); color: var(--ink); font-weight: 700; background: #fff8f3; }
.side .cnt { background: var(--accent); color: #fff; font-size: 11px; border-radius: 10px; padding: 0 7px; font-weight: 700; }
.panel-main h1 { font-size: 20px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi span { font-size: 12px; color: var(--ink-3); }
.kpi b { display: block; font-size: 24px; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; min-width: 640px; }
table.t th { text-align: left; font-size: 12px; color: var(--ink-3); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbfc; white-space: nowrap; }
table.t td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; font-size: 13px; }
table.t tr:last-child td { border-bottom: 0; }
table.t .thumb { width: 44px; height: 44px; border-radius: 6px; background: #f3f4f6; overflow: hidden; display: grid; place-items: center; flex-shrink: 0; }
table.t .thumb img { width: 100%; height: 100%; object-fit: cover; }
table.t .thumb .ph svg { width: 50%; height: 50%; }
.prod-cell { display: flex; gap: 10px; align-items: center; }
.prod-cell a { font-weight: 600; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
select.mini { height: 32px; border: 1px solid #cfd4dd; border-radius: 6px; padding: 0 8px; background: #fff; }
.tier-row { display: grid; grid-template-columns: 1fr 1fr 40px; gap: 8px; margin-bottom: 8px; align-items: center; }
.tier-row .x { height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; color: var(--ink-3); font-size: 18px; }
.tier-row .x:hover { color: var(--red); border-color: var(--red); }
.img-list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.img-item { width: 96px; height: 96px; border: 1px solid var(--line); border-radius: 6px; position: relative; overflow: hidden; background: #f7f8fa; }
.img-item img { width: 100%; height: 100%; object-fit: cover; }
.img-item button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; cursor: pointer; line-height: 1; }
.img-item .first { position: absolute; left: 0; bottom: 0; right: 0; background: rgba(20, 54, 92, .85); color: #fff; font-size: 10px; text-align: center; padding: 2px; }
.upload { width: 96px; height: 96px; border: 2px dashed #cfd4dd; border-radius: 6px; display: grid; place-items: center; text-align: center; font-size: 12px; color: var(--ink-3); cursor: pointer; padding: 6px; }
.upload:hover { border-color: var(--accent); color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.form-card h3 { font-size: 15px; margin-bottom: 14px; }
.sticky-save { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px; display: flex; justify-content: flex-end; gap: 10px; border-radius: 0 0 var(--radius) var(--radius); margin-top: -16px; border: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.tabs a { padding: 9px 14px; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--accent); }
.firm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.firm-card dl { display: grid; grid-template-columns: repeat(4, auto); gap: 4px 18px; margin: 8px 0 0; font-size: 13px; justify-content: start; }
.firm-card dt { color: var(--ink-3); font-size: 11px; }
.firm-card dd { margin: 0; }
pre.csv { background: #f7f8fa; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; overflow-x: auto; font-size: 12px; }
.err-text { color: var(--red); font-size: 12px; }

/* ---------- Toptancılar için ---------- */
.landing-hero { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 48px 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.landing-hero h1 { font-size: 34px; letter-spacing: -.5px; }
.landing-hero p { color: #c9d3e1; font-size: 16px; margin: 14px 0 24px; }
.landing-hero .mock { background: #fff; color: var(--ink); border-radius: 8px; padding: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.landing-hero .mock .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.landing-hero .mock .row:last-child { border-bottom: 0; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feat h3 { font-size: 15px; margin-bottom: 6px; }
.feat p { color: var(--ink-2); margin: 0; }
.feat .num { color: var(--accent); font-weight: 800; font-size: 13px; margin-bottom: 8px; display: block; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 8px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.cta-band { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.prose { max-width: 820px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; }
.prose h1 { font-size: 22px; margin-bottom: 14px; }
.prose h2 { font-size: 16px; margin: 20px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }

/* ---------- Footer ---------- */
footer { background: #fff; border-top: 1px solid var(--line); padding: 32px 0 0; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 24px; }
.foot h4 { font-size: 13px; margin-bottom: 10px; }
.foot a { display: block; color: var(--ink-2); font-size: 13px; padding: 3px 0; }
.foot p { color: var(--ink-2); font-size: 13px; max-width: 340px; }
.foot-bottom { border-top: 1px solid var(--line); padding: 14px 0; font-size: 12px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.demo-bar { background: #fff8e6; border-top: 1px solid #f3dfae; color: #6b4a00; font-size: 12px; }
.demo-bar .wrap { padding-top: 8px; padding-bottom: 8px; display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 8px; font-size: 14px; opacity: 0; pointer-events: none; transition: .2s; z-index: 100; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--red); }

.panel-main, .list-layout > section { min-width: 0; }
.qty-msg { color: var(--red); font-size: 12px; font-weight: 600; margin-top: 6px; }
.qty input.err { color: var(--red); }
.tier-hint { background: var(--green-bg); color: #124d2e; border-radius: 6px; padding: 8px 10px; font-size: 12px; margin-bottom: 12px; }
.tier-hint .link { color: var(--green); }
.m-bar { display: none; }

/* ---------- Mobil ---------- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .pd { grid-template-columns: 1fr 1fr; }
  .pd .buybox { grid-column: 1 / -1; position: static; }
  .grid.g4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .header-in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .hero, .landing-hero, .auth-wrap, .form-grid { grid-template-columns: 1fr; }
  .hero-main { padding: 26px 22px; }
  .hero-main h1, .landing-hero h1 { font-size: 25px; }
  .landing-hero { padding: 30px 22px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div:nth-child(3) { border-left: 0; }
  .trust div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .list-layout, .panel { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .side { position: static; display: flex; overflow-x: auto; padding: 0; }
  .side .who { display: none; }
  .side a { border-left: 0; border-bottom: 3px solid transparent; white-space: nowrap; }
  .side a.on { border-bottom-color: var(--accent); }
  .kpis { grid-template-columns: 1fr 1fr; }
  .cols3 { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .firm-card { grid-template-columns: 1fr; }
  .firm-card dl { grid-template-columns: repeat(2, auto); }
  .topbar .tb-left span:nth-child(n+2) { display: none; }
}
@media (max-width: 860px) {
  .header { position: static; }
  .input, select.input, textarea.input, .search input, .qty input { font-size: 16px; }
  .buybox, .side, .filters { top: 12px; }
  .m-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -4px 14px rgba(16, 24, 40, .08); }
  .m-bar b { font-size: 18px; }
  main:has(.m-bar) { padding-bottom: 90px; }
}
@media (max-width: 600px) {
  .grid, .grid.g4 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pd { grid-template-columns: 1fr; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .user-nav .acct small, .user-nav .lbl { display: none; }
  .auth-form, .auth-side { padding: 22px; }
  .store-head { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 18px; }
  .prose { padding: 20px; }
  .topbar .tb-right { display: none; }
}

/* ---------- Görünüm düzeltmeleri ---------- */
/* Filtre panelindeki şehir seçimi kenardan taşıyordu (select.input width:100% + margin) */
.filters select.input { display: block; width: calc(100% - 32px); }
/* Footer alt satırı .wrap yan boşluğunu eziyordu; metin üst sütunlarla hizasızdı */
.foot-bottom { padding: 14px 16px; }
/* Footer logosu .foot a kuralı yüzünden 13px'e küçülüyordu */
.foot .logo { font-size: 20px; padding: 0; }
/* Dosya seçme düğmesi tarayıcı varsayılanıyla görünüyordu */
input[type=file] { font-size: 13px; color: var(--ink-2); max-width: 100%; }
input[type=file]::file-selector-button { height: 36px; padding: 0 14px; margin-right: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
input[type=file]::file-selector-button:hover { border-color: var(--ink-3); }
/* Toptancılar için sayfasındaki örnek kartın gölgesi fazla ağırdı */
.landing-hero .mock { box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
/* Yönetim firma kartları: 5 bilgi 4 sütuna dağılıyor, E-posta alta düşüyor ve kartlar arası sütunlar hizasız kalıyordu */
.firm-card dd { overflow-wrap: anywhere; }
@media (min-width: 861px) {
  .firm-card dl { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .firm-card { grid-template-columns: minmax(0, 1fr) 190px; }
  .firm-card > .actions { justify-content: flex-end; }
}
/* Masaüstünde kategori çubuğu sığmıyor, son bağlantı (Toptancılar) kesiliyordu */
@media (min-width: 1100px) {
  .catbar .wrap { gap: 0; justify-content: space-between; }
  .catbar a { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 1239px) {
  .catbar .wrap { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
}
@media (max-width: 860px) {
  /* Panel sekmelerinin altında gri kaydırma çubuğu görünüyordu */
  .side, .tabs { scrollbar-width: none; }
  .side::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
  /* Tablolar mobilde 640px'e sıkışıp hücreler 4-5 satıra kırılıyordu */
  table.t { min-width: 860px; }
  table.t td > b, table.t td > a:not(.btn), table.t .prod-cell a { white-space: nowrap; }
  .firm-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot > div:first-child { grid-column: 1 / -1; }
  .foot p { max-width: none; }
  select.mini { font-size: 16px; height: 36px; }
}
@media (max-width: 600px) {
  /* Tek sütuna düşen .row2/.row3 içinde alanlar arası boşluk 26px, diğerleri 14px'ti */
  .row2:has(> .field), .row3:has(> .field) { row-gap: 0; }
}

/* ---------- Yönetici düzeltmeleri (2026-11-15) ---------- */
/* "Kargoda" durum rozeti */
.badge.ship { background: #efe9fb; color: #5b3fa8; }
/* "10 koli yap" kısayolu: metin içi bağlantı yerine ayrı satırda küçük düğme (dokunma alanı) */
.tier-hint .btn { margin-top: 6px; display: flex; width: fit-content; }
/* Şifre alanı etiket satırı: "Şifremi unuttum" bağlantısı sağda */
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.label-row a { font-size: 12px; padding: 4px 0; }
/* Dar ekranda talep ve ürün tabloları kart görünümüne döner (yatay kaydırma olmasın) */
@media (max-width: 640px) {
  .table-wrap:has(> table.cards) { overflow-x: visible; }
  table.t.cards { min-width: 0; }
  table.t.cards thead { display: none; }
  table.t.cards, table.t.cards tbody, table.t.cards tr, table.t.cards td { display: block; width: 100%; }
  table.t.cards tr { padding: 10px 14px; border-bottom: 1px solid var(--line); }
  table.t.cards tr:last-child { border-bottom: 0; }
  table.t.cards tr[data-ship-row] { background: #fafbfc; }
  table.t.cards td { position: relative; padding: 4px 0 4px 100px; border: 0; overflow-wrap: anywhere; min-height: 26px; }
  table.t.cards td::before { content: attr(data-label); position: absolute; left: 0; top: 5px; width: 90px; color: var(--ink-3); font-size: 12px; font-weight: 600; }
  table.t.cards td:not([data-label]), table.t.cards td[data-label=""] { padding-left: 0; }
  table.t.cards td:not([data-label])::before, table.t.cards td[data-label=""]::before { display: none; }
  table.t.cards td.acts:not(:empty) { padding-top: 8px; }
  table.t.cards td.acts:empty { display: none; }
  table.t.cards td > b, table.t.cards td > a:not(.btn), table.t.cards .prod-cell a, table.t.cards .nowrap { white-space: normal; }
  table.t.cards td[colspan] { display: block; padding: 4px 0; background: transparent !important; }
  table.t.cards form[data-ship-form] { position: static !important; max-width: none !important; }
  table.t.cards select.mini { max-width: 100%; }
}

/* ---------- Bireysel satış */
.price-note { font-size: 12px; color: var(--ink-3); }
.retail-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 12px; background: var(--line-2); }
.retail-box .price { font-size: 22px; }
.seg.seg3 { grid-template-columns: 1fr 1fr 1fr; }
.seg.seg4 { grid-template-columns: 1fr 1fr; }
/* Kayıt: ikinci küçük soru (firmanız var mı?) */
.pick { display: flex; gap: 8px; margin: -8px 0 18px; flex-wrap: wrap; }
.pick label { flex: 1 1 140px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: 14px; display: flex; flex-direction: column; line-height: 1.25; }
.pick label span { font-size: 11px; color: var(--ink-3); }
.pick input { display: none; }
.pick label.on { border-color: var(--accent); background: #fff8f3; box-shadow: inset 0 0 0 1px var(--accent); }
@media (max-width: 480px) { .seg.seg4 { grid-template-columns: 1fr; } }
.badge.uretici { background: var(--green-bg); color: var(--green); }
.uretici-note { margin: 8px 0 0; padding: 8px 10px; border-left: 3px solid var(--green); background: var(--green-bg); border-radius: 4px; }
@media (max-width: 560px) { .seg.seg3 { grid-template-columns: 1fr; } }

/* ---- Reyon teması ---- */
[data-reyon="manav"] { --reyon: #2e7d32; --reyon-bg: #e8f5e9; }
[data-reyon="kuruyemis"] { --reyon: #8d5524; --reyon-bg: #f6ece2; }
[data-reyon="kuru-meyve"] { --reyon: #a23b72; --reyon-bg: #f8e8f0; }
[data-reyon="kahvaltilik"] { --reyon: #b7791f; --reyon-bg: #fdf3dc; }
[data-reyon="zeytin"] { --reyon: #5f6b1a; --reyon-bg: #eef0d8; }
[data-reyon="yag"] { --reyon: #c28a00; --reyon-bg: #fdf3d6; }
[data-reyon="bakliyat"] { --reyon: #b4532a; --reyon-bg: #f9e9df; }
[data-reyon="baharat"] { --reyon: #b91c1c; --reyon-bg: #fce8e6; }
[data-reyon="yoresel"] { --reyon: #1f6f8b; --reyon-bg: #e2f1f6; }
/* Sektör renkleri: sektörün kendisi (data-sek) ve kategorileri (data-reyon) */
[data-sek="gida"] { --reyon: #2e7d32; --reyon-bg: #e8f5e9; }
[data-sek="elektronik"], [data-reyon="telefon-aksesuar"], [data-reyon="bilgisayar"], [data-reyon="ev-aletleri"], [data-reyon="aydinlatma"] { --reyon: #1d4ed8; --reyon-bg: #e6edfc; }
[data-sek="giyim"], [data-reyon="giyim"], [data-reyon="ayakkabi-canta"], [data-reyon="ev-tekstili"] { --reyon: #7e22ce; --reyon-bg: #f3e8fd; }
[data-sek="ev"], [data-reyon="mutfak"], [data-reyon="temizlik"], [data-reyon="ambalaj"] { --reyon: #0f766e; --reyon-bg: #e0f3f1; }
[data-sek="el-isi"], [data-reyon="orgu-dikis"], [data-reyon="el-yapimi"], [data-reyon="hediyelik"] { --reyon: #be185d; --reyon-bg: #fce7f1; }
[data-sek="emlak"] { --reyon: #475569; --reyon-bg: #eef1f5; }
[data-sek="vasita"] { --reyon: #334155; --reyon-bg: #eceff3; }
/* Üst sektör şeridi (sahibinden'deki ana bölümler gibi) */
.sekbar { background: var(--navy, #13294b); }
.sekbar .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sekbar .wrap::-webkit-scrollbar { display: none; }
.sekbar a { display: flex; align-items: center; gap: 7px; padding: 9px 14px; white-space: nowrap; color: rgba(255,255,255,.82); font-weight: 600; font-size: 14px; border-bottom: 3px solid transparent; }
.sekbar a:hover { color: #fff; background: rgba(255,255,255,.06); }
.sekbar a.on { color: #fff; border-bottom-color: var(--reyon); background: rgba(255,255,255,.1); }
.sekbar a em { font-style: normal; font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; }
/* Ana sayfa sektör kartları */
.sek-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.sek-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--reyon); border-radius: var(--radius); padding: 14px; }
.sek-top { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.sek-top b { display: block; font-size: 16px; }
.sek-top small { color: var(--ink-3); }
.sek-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--reyon-bg); color: var(--reyon); display: grid; place-items: center; flex-shrink: 0; }
.sek-top:hover b { color: var(--reyon); }
.sek-card ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.sek-card li { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.sek-card li a { color: var(--ink-2); padding: 3px 0; }
.sek-card li a:hover { color: var(--reyon); text-decoration: underline; }
.sek-card li span { font-size: 12px; color: var(--ink-3); }
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
body.reyon-full #app, body.reyon-full .catbar { --accent: var(--reyon); --accent-2: var(--reyon); }
.catbar a[data-reyon].on { color: var(--reyon); border-bottom-color: var(--reyon); }
.reyon-band { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; background: var(--reyon); color: #fff; border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; }
.reyon-band::after { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: -90px 70px 0 -30px rgba(255,255,255,.06); pointer-events: none; }
.reyon-band .rb-ic { width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.reyon-band h2 { font-size: 24px; color: #fff; }
.reyon-band p { margin: 2px 0 0; color: rgba(255,255,255,.88); }
.reyon-band { padding: 32px 28px; margin-bottom: 8px; min-height: 104px; }
.reyon-band > div:not(.rb-deco) { position: relative; z-index: 1; }
@keyframes bandAc { from { clip-path: inset(0 0 60% 0); opacity: .7; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.reyon-band.ac { animation: bandAc .3s ease-out; }
.rb-deco { position: absolute; right: 22px; top: 0; bottom: 0; display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,.34); pointer-events: none; }
.rb-d { display: block; }
.rb-d.d0 { transform: rotate(-14deg) translateY(6px); }
.rb-d.d1 { transform: rotate(10deg) translateY(-8px); }
.rb-d.d2 { transform: rotate(-6deg) translateY(8px); }
.rb-d.d3 { transform: rotate(16deg) translateY(-4px); }
.rb-d svg { stroke-width: 1.2; }
.rb-note { margin: 0 0 12px; font-size: 12.5px; color: var(--ink-3); }
.tur-row { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px 10px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.tur-card { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); transition: background .15s, border-color .15s; }
.tur-card:hover { border-color: var(--reyon); color: var(--ink); }
.tur-card .tc-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--reyon-bg); color: var(--reyon); display: grid; place-items: center; flex-shrink: 0; }
.tur-card .tc-tx { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.tur-card b { font-size: 14px; }
.tur-card small { font-size: 11.5px; color: var(--ink-3); }
.tur-card .tc-badge { font-style: normal; font-size: 11px; font-weight: 600; color: var(--reyon); display: inline-flex; align-items: center; gap: 5px; margin-top: 1px; }
.tur-card .tc-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--reyon); }
.tur-card.on { background: var(--reyon); border-color: var(--reyon); color: #fff; }
.tur-card.on .tc-ic { background: rgba(255,255,255,.2); color: #fff; }
.tur-card.on small, .tur-card.on .tc-badge { color: rgba(255,255,255,.88); }
.tur-card.on .tc-badge::before { background: #fff; }
.ay-strip { margin-bottom: 18px; }
.ay-head { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.ay-head span { font-weight: 500; color: var(--ink-3); }
.ay-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.ay-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border: 1px solid var(--reyon); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap; }
.ay-chip svg { color: var(--reyon); }
.ay-chip:hover { background: var(--reyon-bg); color: var(--ink); }
.card-img { position: relative; }
.sez-badge { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 7px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--reyon); font-size: 11px; font-weight: 600; box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.sez-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--reyon); }
.empty a { display: inline-block; margin-top: 6px; color: var(--accent); font-weight: 600; }
.reyon-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; margin-bottom: 8px; border-radius: 999px; background: var(--reyon-bg); color: var(--reyon); font-size: 12px; font-weight: 600; }
.reyon-chip:hover { color: var(--reyon); filter: brightness(.96); }
body[data-reyon] .pd-info h1 { border-left: 3px solid var(--reyon); padding-left: 10px; }

/* ---- Sayfa geçişi ---- */
@keyframes pageIn { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#app.page-in { animation: pageIn .25s ease-out; }
/* ---- Giriş / kayıt meyve karakterleri ---- */
.auth-stage { display: flex; align-items: flex-start; justify-content: center; gap: 28px; max-width: 1240px; margin: 0 auto; }
.auth-stage .auth-wrap { margin: 0; }
.auth-stage .auth-wrap.narrow { flex: 0 1 440px; }
.auth-stage .auth-wrap:not(.narrow) { flex: 1 1 0; min-width: 0; }
.mascots { position: relative; flex: 0 0 230px; margin-top: 90px; display: flex; align-items: flex-end; gap: 4px; --px: 0px; --py: 0px; pointer-events: none; }
.m-char { width: 50%; height: auto; overflow: visible; transform-origin: 50% 100%; }
.m-pup { transform: translate(var(--px), var(--py)); transition: transform .25s ease-out; }
.m-eyes { transition: transform .08s; }
.mascots.blink .m-eyes { transform: scaleY(.1); }
.m-sad, .m-back, .m-acc { display: none; }
.m-face, .m-back { transition: opacity .2s; }
/* Şifre yazılırken gözlerini elleriyle kapatırlar; gülümseme görünür kalır */
.mascots.turn .m-eyes, .mascots.turn .m-arms { visibility: hidden; }
.mascots.turn .m-back { display: block; animation: mCover .25s ease-out; }
@keyframes mCover { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mascots.sad .m-smile { display: none; }
.mascots.sad .m-sad { display: inline; }
.m-arm { transition: transform .3s ease-out; }
.mascots.reach .m-banana .m-arm.r { transform: rotate(-80deg) scale(1.45); stroke-width: 2.4px; }
.mascots[data-role="uretici"] .acc-uretici, .mascots[data-role="toptanci"] .acc-toptanci,
.mascots[data-role="alici"] .acc-alici, .mascots[data-role="bireysel"] .acc-alici { display: block; }
.m-ok { position: absolute; left: 50%; top: -4px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 18px; line-height: 30px; text-align: center; opacity: 0; transform: scale(.4); transition: opacity .15s, transform .25s; }
.mascots.ok .m-ok { opacity: 1; transform: none; }
.mascots.ok .m-char { animation: mJump .6s ease-out; }
.mascots.shake .m-char { animation: mShake .5s ease-in-out 2; }
@keyframes mJump { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-16px); } 70% { transform: translateY(0); } 85% { transform: translateY(-5px); } }
@keyframes mShake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }
.fp-wrap { text-align: right; }
.fp-wrap a { display: inline-block; border-radius: 4px; }
.reset-tip { display: block; font-size: 11px; color: var(--ink-2); font-weight: 400; }
.fp-wrap a.m-glow { animation: mGlow 1s ease-in-out 3; }
@keyframes mGlow { 0%, 100% { transform: none; box-shadow: none; } 25% { transform: translateX(-2px); box-shadow: 0 0 0 4px rgba(255, 190, 40, .55); } 75% { transform: translateX(2px); box-shadow: 0 0 0 4px rgba(255, 190, 40, .55); } }
@media (max-width: 900px) {
  .auth-stage { flex-direction: column; gap: 4px; }
  .auth-stage .auth-wrap.narrow, .auth-stage .auth-wrap:not(.narrow) { flex: none; width: 100%; }
  .auth-stage { align-items: center; }
  .mascots { flex: none; width: 150px; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .m-pup, .m-eyes, .m-arm, .m-face, .m-ok { transition: none; }
  .mascots.ok .m-char, .mascots.shake .m-char, .fp-wrap a.m-glow { animation: none; }
  .fp-wrap a.m-glow { background: rgba(255, 190, 40, .45); }
}
@media (prefers-reduced-motion: reduce) {
  #app.page-in { animation: none; }
  .reyon-band.ac { animation: none; }
  .cat-tile { transition: none; }
  .cat-tile:hover { transform: none; }
}
@media (max-width: 560px) {
  .reyon-band { padding: 12px 14px; gap: 12px; }
  .reyon-band .rb-ic { width: 46px; height: 46px; }
  .reyon-band h2 { font-size: 18px; }
  .reyon-band { padding: 20px 14px; min-height: 0; }
  .rb-deco { right: 6px; }
  .rb-deco { display: none; }
}

/* ---------- İlanlar ---------- */
.user-nav a.ilan-btn { height: 36px; padding: 0 14px; font-size: 13px; white-space: nowrap; margin-right: 4px; }
.user-nav a.ilan-btn .short { display: none; }
.user-nav a.ilan-btn, .user-nav a.ilan-btn:hover { color: #fff; }
@media (max-width: 600px) {
  .user-nav a.ilan-btn { padding: 0 10px; margin-right: 0; }
  .user-nav a.ilan-btn .full { display: none; }
  .user-nav a.ilan-btn .short { display: inline; }
}

/* Adım çubuğu */
.wiz { max-width: 860px; margin: 0 auto; }
.stepper { list-style: none; display: flex; margin: 0 0 18px; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stepper li { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 6px; color: var(--ink-3); font-weight: 600; font-size: 13px; border-right: 1px solid var(--line-2); min-width: 0; }
.stepper li:last-child { border-right: 0; }
.stepper li i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--line-2); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
.stepper li.on { color: var(--ink); background: #fff7f0; }
.stepper li.on i { background: var(--accent); color: #fff; }
.stepper li.done { color: var(--green); }
.stepper li.done i { background: var(--green); color: #fff; }
@media (max-width: 520px) { .stepper li { flex-direction: column; gap: 3px; font-size: 11px; padding: 8px 2px; } }

/* Kategori seçimi */
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 10px 0 4px; }
.pick-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; padding: 14px 12px; border-radius: var(--radius); border: 1px solid transparent; border-top: 3px solid var(--reyon, var(--line)); background: var(--reyon-bg, #fff); transition: transform .15s, box-shadow .15s; }
.pick-tile:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16, 24, 40, .1); }
.pick-tile .pt-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--reyon, var(--accent)); color: #fff; display: grid; place-items: center; }
.pick-tile b { font-size: 14px; }
.pick-tile small { color: var(--ink-3); font-size: 12px; line-height: 1.3; }
.pick-tile.off { opacity: .55; cursor: default; filter: grayscale(.8); }
.pick-tile.off:hover { transform: none; box-shadow: none; }
.pick-tile em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink-3); background: #fff; border-radius: 4px; padding: 1px 6px; }
.back-link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; margin: 4px 0 2px; }
.or-line { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--ink-3); font-size: 13px; }
.or-line::before, .or-line::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.suggest { display: grid; margin-top: 6px; }
.suggest button { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 0; border-bottom: 1px solid var(--line-2); padding: 11px 6px; cursor: pointer; }
.suggest button:hover { background: #fff7f0; }
.suggest small { color: var(--ink-3); }
.chosen-cat { background: var(--line-2); border-radius: 6px; padding: 8px 12px; margin-bottom: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.field label.chk { display: flex; gap: 8px; align-items: center; font-weight: 500; cursor: pointer; margin-bottom: 6px; }
.seg label { display: flex; align-items: center; gap: 8px; padding: 9px 12px; }
.seg { margin-bottom: 0; }
.img-list { display: flex; flex-wrap: wrap; gap: 8px; }
.done-card { text-align: center; padding: 36px 20px; }
.done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font-size: 32px; display: grid; place-items: center; margin: 0 auto 12px; }
.done-card h2 { font-size: 24px; margin-bottom: 6px; }

/* İlan detayı: 3 sütun */
.ilan-titlebar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.ilan-titlebar h1 { font-size: 21px; overflow-wrap: anywhere; }
.ilan-titlebar .btn { flex-shrink: 0; }
.ilan-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .85fr); gap: 16px; align-items: start; }
.ilan-col { min-width: 0; display: grid; gap: 12px; }
.ilan-gal .main { aspect-ratio: 4 / 3; }
.ilan-gal .main .ph svg { width: 40%; height: 40%; }
.ilan-price { font-size: 28px; font-weight: 800; color: var(--accent); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ilan-loc { color: var(--ink-2); margin: 4px 0 12px; }
.seller-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.sc-name { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.sc-name b { overflow-wrap: anywhere; }
.own-box { display: grid; gap: 10px; background: #fff7f0; }
.own-acts { display: grid; gap: 6px; }
.phone-num { display: block; text-align: center; font-size: 20px; font-weight: 800; color: var(--ink); padding: 8px; background: var(--line-2); border-radius: 6px; }
.tips b { display: block; margin-bottom: 6px; }
.tips ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 13px; display: grid; gap: 4px; }
.ilan-desc { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.rep-form { margin-top: 10px; }
@media (max-width: 1000px) { .ilan-detail { grid-template-columns: 1fr 1fr; } .ilan-col.g { grid-column: 1 / -1; } }
@media (max-width: 700px) { .ilan-detail { grid-template-columns: 1fr; } .ilan-titlebar { flex-direction: column; } .ilan-price { font-size: 24px; } }

/* İlan kartı ve listeler */
.ilan-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ilan-item > .card { flex: 1; border-bottom: 3px solid var(--reyon, var(--line)); }
.ilan-card .card-img { aspect-ratio: 4 / 3; }
.ilan-card .card-img .ph svg { width: 30%; height: 30%; }
.ilan-badges { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.ilan-card .price { font-size: 17px; font-weight: 800; color: var(--accent); }
.fav-mark { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #d92d20; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.ilan-flag { position: absolute; left: 0; bottom: 0; right: 0; background: rgba(180, 35, 24, .9); color: #fff; font-size: 12px; font-weight: 700; text-align: center; padding: 3px; }
.filters a.f-link.sub { padding-left: 30px; font-size: 12.5px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 16px; }
.price-range .input { height: 36px; padding: 0 8px; min-width: 0; }

/* Panel: İlanlarım */
.ilan-row { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; margin-bottom: 10px; }
.ilan-row .thumb.big { width: 84px; height: 84px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #f7f8fa; display: block; }
.ilan-row .thumb.big img { width: 100%; height: 100%; object-fit: cover; }
.ir-main { flex: 1; min-width: 0; }
.ir-title { font-weight: 600; display: block; overflow-wrap: anywhere; }
.ir-price { font-weight: 800; color: var(--accent); }
.ir-acts { justify-content: flex-end; max-width: 330px; }
.rep-list { margin: 6px 0 0; padding-left: 16px; font-size: 12px; color: var(--ink-2); max-width: 280px; }
@media (max-width: 760px) {
  .ilan-row { flex-wrap: wrap; }
  .ir-main { flex-basis: calc(100% - 100px); }
  .ir-acts { max-width: none; justify-content: flex-start; width: 100%; }
}

/* === İlan güvenliği === */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-tg { cursor: pointer; display: inline-block; margin: 0; }
.chip-tg input { position: absolute; opacity: 0; pointer-events: none; }
.chip-tg span { display: inline-block; padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2, #444); transition: background .15s, border-color .15s, color .15s; }
.chip-tg:hover span { border-color: #9bb8a4; }
.chip-tg input:checked + span { background: #1f8a4c; border-color: #1f8a4c; color: #fff; }
.chip-tg input:checked + span::before { content: "✓ "; font-weight: 800; }
.chip-tg input:focus-visible + span { outline: 3px solid #bfe3cc; outline-offset: 2px; }
.seg label:has(input:checked) { border-color: #1f8a4c; background: #eaf7ef; box-shadow: 0 0 0 1px #1f8a4c inset; }
.seg label:has(input:checked) b::before { content: "✓ "; color: #1f8a4c; }
.oz-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.oz-badge { background: #eaf7ef; color: #17693a; border: 1px solid #bfe3cc; border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 600; }
.safe-box { margin-top: 16px; padding: 12px 14px; background: #f6f7f8; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: var(--ink-3, #666); }
.safe-box b { display: block; margin-bottom: 4px; color: var(--ink-2, #555); font-size: 13px; }
.safe-box ul { margin: 0; padding-left: 18px; }
.safe-box li { margin: 2px 0; }
.gate-box { margin: 16px 0; }
.admin-box { margin-top: 12px; border-color: #f0c9b0; }
.admin-box .rep-list { margin: 4px 0 0; padding-left: 16px; }
/* === Soru ve yorumlar === */
.rate-line { color: var(--ink-3); font-size: 12px; }
.rate-line.has { color: #b45309; font-weight: 600; }
.rate-link:hover .rate-line { text-decoration: underline; }
.store-rate { margin-top: 8px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.rate-sum { margin-left: 8px; font-size: 13px; font-weight: 600; color: #b45309; }
.qa-list { display: grid; gap: 12px; }
.qa, .rev { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: #fff; }
.qa-q p, .rev-t { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.qa-a { margin-top: 10px; padding: 8px 12px; background: var(--line-2); border-radius: 6px; border-left: 3px solid var(--navy); }
.qa-a p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.qa-a.wait { border-left-color: var(--line); background: transparent; padding: 0 0 0 12px; }
.rev-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.stars { color: #f59f00; letter-spacing: 1px; }
.rev-acts { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.qa-form, .rev-form { margin: 0 0 12px; }
.qa-form textarea, .rev-form textarea { width: 100%; }
.star-pick { display: inline-flex; gap: 2px; }
.star-pick button { background: none; border: 0; padding: 0 2px; font-size: 28px; line-height: 1; color: #cfd4dc; cursor: pointer; }
.star-pick button.on { color: #f59f00; }
.srep .rep-form { margin-top: 8px; min-width: 240px; }
.sik.done { opacity: .65; }
/* === Formlar ve ilçeler === */
/* Kayıt sayfası: "almak/satmak" ve "firmam var/yok" satırları aynı ızgara, aynı boyut */
.auth-form .seg, .auth-form .pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 10px; }
.auth-form .pick { margin-bottom: 18px; }
.auth-form .seg label, .auth-form .pick label { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 66px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 8px; background: #fff; box-shadow: none; cursor: pointer; line-height: 1.25; font-size: 14px; }
.auth-form .seg label b, .auth-form .pick label b { display: block; font-size: 14px; }
.auth-form .seg label span, .auth-form .pick label span { font-size: 12px; color: var(--ink-3); }
.auth-form .seg label.on, .auth-form .pick label.on, .auth-form .seg label:has(input:checked), .auth-form .pick label:has(input:checked) { border-color: var(--accent); background: #fff8f3; box-shadow: none; }
@media (max-width: 420px) { .auth-form .seg label, .auth-form .pick label { padding: 8px 10px; } .auth-form .seg label span, .auth-form .pick label span { font-size: 11px; } }

/* Çoklu seçim kutucukları */
.chips-pick { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #fff; }
#produces.err + .chips-pick { border-color: var(--red); }
.chips-sel { display: flex; flex-wrap: wrap; gap: 6px; min-height: 32px; align-items: center; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed var(--line); }
.chips-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-pick .chip { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; line-height: 1; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chips-opts .chip:hover { border-color: var(--accent); color: var(--accent); }
.chips-pick .chip.on { background: #fff8f3; border-color: var(--accent); color: var(--ink); font-weight: 600; cursor: default; padding-right: 6px; }
.chips-pick .chip.on button { border: 0; background: var(--accent); color: #fff; width: 18px; height: 18px; border-radius: 50%; font-size: 14px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.chips-pick .chip.other { border-style: dashed; color: var(--accent); font-weight: 600; }
.chips-other { display: flex; gap: 8px; margin-top: 10px; }
.chips-other .input { flex: 1; }

/* Bireysel satış kutusu: etiket iki satıra inse de kutular altta hizalı ve eşit genişlikte */
.retail-row { align-items: end; grid-template-columns: 1fr 1fr; }
.retail-row .field { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.retail-row .field label { flex: 1; display: flex; align-items: flex-end; }
.retail-row .field .input { width: 100%; }

/* Boş durum kutularındaki düğmeler: yazı dikey ortada */
.empty a.btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 0; color: #fff; }
.empty a.btn.ghost { color: var(--ink); }
.empty a.btn:hover { color: #fff; }
.empty a.btn.ghost:hover { color: var(--ink); }

/* Kargo takip numarası uzunsa satıra sığsın */
.track-no { overflow-wrap: anywhere; word-break: break-all; max-width: 100%; }
.track-no .mono { font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
/* === Bildirimler === */
.bell-wrap { position: relative; }
.bell-btn { position: relative; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: 8px; color: var(--ink-2); cursor: pointer; }
.bell-btn:hover { background: var(--line-2); color: var(--ink); }
.bell-btn .icon { width: 22px; height: 22px; }
.bell-badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #d92d20; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.bell-pop { position: absolute; right: 0; top: 46px; width: 360px; max-width: calc(100vw - 16px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(16,24,40,.18); z-index: 60; overflow: hidden; }
.b-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.b-list { max-height: 420px; overflow-y: auto; }
.b-row { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); color: var(--ink); align-items: flex-start; }
.b-row:hover { background: #f8f9fb; }
.b-row.unread { background: #fff8f2; }
.b-row.unread .b-txt b { font-weight: 800; }
.b-row:not(.unread) .b-txt b { font-weight: 500; }
.b-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 13px; }
.b-txt > span { color: var(--ink-2); overflow-wrap: anywhere; }
.b-txt small { color: var(--ink-3); font-size: 11px; }
.b-ic { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; background: #e8f0fb; color: var(--navy); }
.b-ic svg { width: 16px; height: 16px; }
.b-ic.g { background: var(--green-bg); color: var(--green); }
.b-ic.r { background: var(--red-bg); color: var(--red); }
.b-ic.a { background: var(--amber-bg); color: var(--amber); }
.b-empty { padding: 22px 14px; text-align: center; color: var(--ink-3); font-size: 13px; }
.b-foot { text-align: center; padding: 10px; border-top: 1px solid var(--line); font-weight: 600; }
.b-page { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.b-page .b-row:last-child { border-bottom: 0; }
.fav-note { font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; margin: 6px 0; text-align: center; }
.fav-note.down { background: var(--green-bg); color: var(--green); }
.fav-note.up { background: var(--red-bg); color: var(--red); }
.fav-note.sold { background: #e8f0fb; color: var(--navy); }
.fav-note.off { background: var(--line-2); color: var(--ink-2); }
.price-hist { margin-top: 14px; font-size: 13px; }
.price-hist ul { list-style: none; margin: 6px 0 0; padding: 0; }
.price-hist li { display: flex; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.price-hist .ph-d { flex: 1; color: var(--ink-3); }
.price-hist .ph-p { font-weight: 700; }
.price-hist .dn { color: var(--green); font-weight: 700; min-width: 70px; text-align: right; }
.price-hist .up { color: var(--red); font-weight: 700; min-width: 70px; text-align: right; }
@media (max-width: 760px) { .bell-pop { position: fixed; left: 8px; right: 8px; top: 64px; width: auto; max-width: none; } }

/* ---- Alışveriş kipi: Alışveriş (tekli) / Toptan ---- */
.mode-sw { display: inline-flex; flex-shrink: 0; background: var(--line-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.mode-sw a { padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-2); white-space: nowrap; text-align: center; }
.mode-sw a:hover { color: var(--navy); }
.mode-sw a.on { background: var(--accent); color: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .2); }
.mode-sw a.on:last-child { background: var(--navy); }
.mode-badge { align-self: center; flex-shrink: 0; background: #fff; color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .8px; padding: 3px 9px; border-radius: 4px; margin-right: 6px; }
body.mode-toptan .sekbar { background: linear-gradient(90deg, #0b2547, #14365c); box-shadow: inset 0 -2px 0 #e8590c; }
body.mode-toptan .catbar { background: #f1f5fb; }
.mode-hint { margin: 18px 0 0; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; color: var(--ink-2); }
.mode-hint a, .mode-link { font-weight: 700; color: var(--navy); }
.mode-link { display: block; margin: 12px 0 4px; padding: 10px 12px; border: 1px dashed var(--navy); border-radius: var(--radius); font-size: 14px; text-align: center; }
.mode-link:hover { background: #e8f0fb; }
.retail-box { border-color: var(--accent); background: #fff; }
.retail-box .price { font-size: 28px; }
@media (max-width: 860px) {
  .mode-sw { order: 2; flex-basis: 100%; display: flex; }
  .mode-sw a { flex: 1; padding: 9px 8px; }
  .header-in .user-nav { order: 1; margin-left: auto; }
  .logo { order: 0; }
}

/* Onay bekleyen hesap: devre dışı görünümlü düğme ve menü notu */
.btn.is-wait, .btn.is-wait:hover { background: #e6e8eb; border-color: #d3d7dc; color: #5b6470; cursor: not-allowed; box-shadow: none; }
.user-nav a.ilan-btn.is-wait, .user-nav a.ilan-btn.is-wait:hover { color: #5b6470; }
.side-wait { display: block; padding: 9px 16px; color: var(--ink-3, #8a919b); font-size: 13px; border-left: 3px solid transparent; cursor: default; }

/* === İlan alanları === */
.alan-box { margin: 4px 0 14px; padding: 14px 14px 2px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line-2, #f6f7f9); }
.alan-box h3 { margin: 0 0 10px; font-size: 15px; }
.alan-grid .field { margin-bottom: 12px; }
.req { color: var(--red); }
.with-unit { display: flex; gap: 8px; align-items: center; }
.with-unit .input { flex: 1 1 0; min-width: 0; }
.with-unit select.input { flex: 0 0 96px; }
.with-unit .unit { color: var(--ink-3, #8a919b); font-size: 14px; }
.contact-pref .chk { display: block; margin: 6px 0; }
.rules-chk { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.rules-chk input { margin-top: 3px; }
.phone-gizli { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius); background: var(--amber-bg); color: #5c3a00; font-size: 14px; }
.phone-gizli span { font-size: 13px; }
.thumbs .vid-btn { width: auto; min-width: 58px; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--line-2, #f6f7f9); }
.thumbs .vid-btn:hover { border-color: var(--accent); }
.vid-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vid-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.offer-box { margin-top: 12px; }
.offer-box > b { display: block; margin-bottom: 6px; }
.offer-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.offer-row:first-of-type { border-top: 0; }
.offer-form { margin-top: 10px; }
.offer-item .ir-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* === Mesajlar ve profil === */
.msg-btn .icon { width: 22px; height: 22px; }
.msg-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: calc(100vh - 300px); min-height: 460px; overflow: hidden; }
.msg-list { border-right: 1px solid var(--line); overflow-y: auto; }
.msg-item { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-bottom: 1px solid var(--line-2); color: var(--ink); border-left: 3px solid transparent; }
.msg-item:hover { background: #fafafa; }
.msg-item.on { background: #fff8f3; border-left-color: var(--accent); }
.msg-item .avatar { flex: 0 0 34px; }
.mi-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mi-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.mi-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.mi-top small { color: var(--ink-3); font-size: 11px; white-space: nowrap; }
.mi-ctx { color: var(--navy); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-last { color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-item.unread .mi-last { color: var(--ink); font-weight: 700; }
.msg-item .cnt { background: var(--accent); color: #fff; font-size: 11px; border-radius: 10px; padding: 0 7px; font-weight: 700; align-self: center; }
.msg-none, .msg-placeholder { padding: 24px 16px; color: var(--ink-3); text-align: center; font-size: 14px; }
.msg-thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.msg-thread:empty { display: none; }
.msg-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.msg-who { flex: 1; min-width: 0; }
.msg-ctx { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-tools { display: flex; gap: 10px; align-items: center; }
.msg-back { display: none; font-weight: 700; color: var(--navy); }
.msg-safe { background: var(--amber-bg); color: var(--amber); font-size: 12.5px; line-height: 1.4; padding: 8px 14px; border-bottom: 1px solid #f3dfb8; }
.msg-rep { margin: 10px 14px; }
.msg-body { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 14px; background: #f7f8fa; }
.bub-day { text-align: center; margin: 10px 0; }
.bub-day span { background: #e8ebf0; color: var(--ink-3); font-size: 11px; padding: 2px 10px; border-radius: 10px; }
.bub-row { display: flex; margin: 6px 0; }
.bub-row.me { justify-content: flex-end; }
.bub { max-width: min(78%, 520px); padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.bub-row.me .bub { background: #fff1e6; border-color: #f6d3b8; }
.bub-n { font-size: 11px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.bub-t { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.4; }
.bub-m { text-align: right; font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.bub .tick { color: var(--ink-3); }
.bub .tick.seen { color: #1b7f4b; font-weight: 700; }
.bub-row .bub.iban { border-color: #e9a29b; background: var(--red-bg); }
.bub-warn { margin-top: 6px; padding: 5px 8px; border-radius: 6px; font-size: 12.5px; line-height: 1.35; }
.bub-warn.red { background: #fff; color: var(--red); border: 1px solid #e9a29b; font-weight: 700; }
.bub-warn.soft { background: var(--amber-bg); color: var(--amber); }
.msg-compose { border-top: 1px solid var(--line); padding: 10px 14px; background: #fff; }
.msg-row { display: flex; gap: 8px; align-items: flex-end; }
.msg-row textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; max-height: 140px; }
.msg-row textarea:focus { outline: 2px solid #f3c9a8; border-color: var(--accent); }
.msg-count { margin-top: 4px; }
.msg-err { background: var(--red-bg); color: var(--red); border-radius: 6px; padding: 6px 10px; font-size: 13px; margin-bottom: 8px; font-weight: 600; }
.msg-blocked { padding: 14px; background: var(--red-bg); color: var(--red); font-size: 13.5px; border-top: 1px solid var(--line); }
.msg-admin { margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.msg-admin > .small { padding: 8px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.msg-admin .msg-body { max-height: 360px; }
.sik-conv { margin-top: 8px; }
.fav-seller { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
@media (max-width: 760px) {
  .msg-wrap { display: block; height: auto; min-height: 0; border: 0; background: transparent; overflow: visible; }
  .msg-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
  .msg-wrap:not(.open) .msg-thread { display: none; }
  .msg-wrap.open .msg-list { display: none; }
  .msg-wrap.open .msg-thread { background: #fff; height: 100vh; height: 100dvh; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .msg-back { display: inline-block; }
  .msg-head { flex-wrap: nowrap; gap: 8px; }
  .msg-tools { flex-direction: column; align-items: flex-end; gap: 4px; }
  .msg-tools .btn { padding: 4px 10px; }
  .bub { max-width: 88%; }
  .msg-btn { width: 36px; }
}
/* === Ürün ve fırsat === */
.skt-badge { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: #f08a24; color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 1px 3px rgba(16,24,40,.2); }
.skt-badge.exp { background: var(--red); }
.specs .skt-badge { position: static; display: inline-block; margin-left: 4px; }
.cheap-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.5; vertical-align: middle; }
.card-img .cheap-badge { position: absolute; right: 8px; top: 8px; box-shadow: 0 1px 3px rgba(16,24,40,.2); }
.cmp-line { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.cmp-box { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cmp-box h3 { margin: 0 0 4px; font-size: 16px; }
.cmp-list { list-style: none; margin: 10px 0 0; padding: 0; }
.cmp-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-2); }
.cmp-list li.cur { background: var(--amber-bg); margin: 0 -8px; padding: 10px 8px; border-radius: 8px; }
.cmp-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmp-price { text-align: right; white-space: nowrap; }
.cmp-price b { font-size: 16px; }
.cmp-price .per { display: block; font-size: 11px; color: var(--ink-3); }
.catbar a.fire-tab { color: var(--accent-2); font-weight: 700; }
.catbar a.fire-tab.on { color: var(--accent); }
.fire-band { background: linear-gradient(135deg, #e8590c, #c94c08); }
@media (max-width: 560px) {
  .cmp-list li { grid-template-columns: 1fr auto; }
  .cmp-list li .btn { grid-column: 1 / -1; justify-self: start; }
}

/* === Nakliye === */
.nk-hero { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px 32px; margin-bottom: 16px; }
.nk-hero h1 { font-size: 28px; letter-spacing: -.4px; max-width: 640px; }
.nk-hero p { color: #c9d3e1; margin: 10px 0 0; max-width: 560px; font-size: 15px; }
.nk-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.nk-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: #fff; border: 2px solid var(--accent); border-radius: var(--radius); padding: 26px 24px; color: var(--ink); }
.nk-choice.alt { border-color: var(--green); }
.nk-choice:hover { box-shadow: 0 6px 20px rgba(16, 24, 40, .12); color: var(--ink); }
.nk-choice b { font-size: 22px; }
.nk-choice > span:not(.nk-ic) { color: var(--ink-2); font-size: 15px; }
.nk-choice em { font-style: normal; margin-top: auto; }
.nk-ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--amber-bg); color: var(--accent); }
.nk-choice.alt .nk-ic { background: var(--green-bg); color: var(--green); }
.nk-ic svg { width: 30px; height: 30px; }
.nk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 8px; }
.nk-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); }
.nk-card:hover { border-color: #cfd4dd; box-shadow: 0 4px 14px rgba(16, 24, 40, .08); color: var(--ink); }
.nk-route { font-size: 17px; font-weight: 700; color: var(--navy); }
.nk-route small { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.nk-arrow { color: var(--accent); }
.nk-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-2); }
.nk-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line-2); }
.nk-filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 12px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 2px; margin-bottom: 16px; }
.nk-f-btn { display: flex; gap: 12px; align-items: center; }
.nk-safe { margin: 20px 0 6px; padding: 12px 14px; background: var(--line-2); border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; color: var(--ink-2); }
.nk-safe b { display: block; color: var(--ink); margin-bottom: 2px; }
.nk-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
.nk-h1 { font-size: 24px; color: var(--navy); margin: 4px 0 12px; }
.nk-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0 0 12px; }
.nk-dl dt { font-size: 12px; color: var(--ink-3); }
.nk-dl dd { margin: 0; font-weight: 600; }
.nk-note { background: var(--line-2); border-radius: var(--radius); padding: 10px 12px; margin: 8px 0; font-size: 14px; }
.nk-stars { color: #c47d00; font-weight: 700; }
.nk-form { max-width: 720px; }
.nk-inline { display: flex; gap: 8px; }
.nk-inline .input:first-child { flex: 1; min-width: 0; }
.nk-inline select.input { width: 84px; flex: none; }
.nk-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 190px; overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.nk-chips .chip { cursor: pointer; }
.nk-chips .chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.nk-chips .chip.tum { font-weight: 700; border-color: var(--accent); }
.nk-chips .chip.tum.on { background: var(--accent); border-color: var(--accent); }
.nk-my { margin-bottom: 14px; padding: 16px; }
.nk-my-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.nk-rate { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.nk-rev { padding: 8px 0; border-top: 1px solid var(--line-2); }
.sekbar a[data-nk] svg { width: 16px; height: 16px; }
.catbar .wrap:has(a[href^="#/nakliye"]) { justify-content: flex-start; gap: 6px; }
@media (max-width: 760px) {
  .nk-choices, .nk-detail { grid-template-columns: 1fr; }
  .nk-hero { padding: 22px 18px; }
  .nk-hero h1 { font-size: 22px; }
  .nk-dl { grid-template-columns: 1fr; }
  .nk-choice { padding: 20px 18px; }
}

/* === Kullanım ve mobil === */
/* Fiyat birimleri tek satırda kalsın: "₺440 / kg", "₺41,67 / adet" */
.tiers .per, .cmp-price .per, .cmp-price small, .price small { white-space: nowrap; }
/* İlan fiyat geçmişi: "24.500 ₺ — 14 Kas (↓ 2.500 ₺ düştü)" */
.price-hist li .ph-t { flex: 1; color: var(--ink-2); }
.price-hist li .ph-t .dn, .price-hist li .ph-t .up { min-width: 0; text-align: left; margin-left: 4px; }
.price-hist li.ph-first .ph-t { color: var(--ink-3); }
/* Nakliye mesajlarında güvenlik uyarısı */
.msg-safe-nk { background: #fff4e5; border-color: #f5c27a; color: #7a4a00; }

/* Masaüstü: giriş yapmış üst çubuk 1024-1280 px'te taşmasın */
@media (min-width: 861px) and (max-width: 1280px) {
  .header-in { gap: 12px; }
  .header-in .search { min-width: 0; max-width: none; }
  .mode-sw a { padding: 7px 12px; }
  .user-nav { gap: 2px; }
  .user-nav a.nav-link { padding: 8px 8px; }
  .user-nav .acct small { max-width: 110px; }
}

@media (max-width: 860px) {
  /* Form sayfalarında sektör ve kategori çubukları gizlenir; sayfa kısalır */
  body.form-page .sekbar, body.form-page .catbar { display: none; }
  /* Panel sekmeleri: ilk sekme kesilmesin, sağda kaydırma ipucu olsun */
  .side { padding: 0 4px; scroll-padding-left: 4px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .side a { padding: 12px 12px; flex-shrink: 0; }
  .side a:last-child { margin-right: 28px; }
  body.form-page main { padding-bottom: 96px; }
  body.form-page .toast { bottom: 88px; }
}

@media (max-width: 600px) {
  /* Üst çubuk: logo + hesap bir satır, Alışveriş/Toptan + arama ikinci satır (hedef ~ 110 px) */
  .header-in { padding-top: 8px; padding-bottom: 8px; gap: 8px 10px; }
  .header-in .mode-sw { order: 2; flex: 0 0 auto; display: inline-flex; padding: 2px; }
  .header-in .mode-sw a { flex: none; padding: 7px 11px; font-size: 13px; }
  .header-in .search { order: 3; flex: 1 1 0; min-width: 0; }
  .header-in .search input { height: 38px; padding: 0 10px; }
  .header-in .search button { height: 38px; padding: 0 12px; }
  .header-in .search button .lbl { display: none; }
  .header-in .logo { font-size: 20px; }
  .header-in .user-nav { gap: 0; }
  .header-in .user-nav a.nav-link { padding: 6px 6px; }
  .header-in .user-nav a.ilan-btn { height: 34px; padding: 0 9px; }
  .sekbar a { padding: 8px 12px; }
  .tier-row { grid-template-columns: 1fr 1.2fr 36px; }
}

/* === Test hataları === */
/* Ürün sayfası: dar masaüstünde satın alma kutusu galerinin yanında, üstte */
@media (min-width: 861px) and (max-width: 1100px) {
  .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; }
  .pd > .buybox { grid-column: auto; position: sticky; top: 12px; padding: 14px; }
}
/* Dar ekran: başlık ve özellikler, sonra fiyat/sipariş kutusu, en sonda açıklama */
@media (max-width: 860px) {
  .pd { grid-template-columns: 1fr; }
  .pd > .pd-info { display: contents; }
  .pd > .gallery { order: 0; }
  .pd > .pd-info > * { order: 1; }
  .pd > .buybox { order: 2; grid-column: auto; position: static; }
  .pd > .pd-info > .desc, .pd > .pd-info > .cmp-box, .pd > .pd-info > .safe-box { order: 3; }
}
/* Favori satıcı kalbi */
.seller-heart { background: #fff; border: 1px solid var(--line); border-radius: 999px; width: 30px; height: 30px; line-height: 1; font-size: 17px; color: var(--ink-3); cursor: pointer; padding: 0; display: inline-grid; place-items: center; vertical-align: middle; }
.seller-heart:hover { border-color: var(--accent); color: var(--accent); }
.seller-heart.on { color: #d62839; border-color: #d62839; background: #fff1f2; }
.store-card-wrap { position: relative; display: flex; }
.store-card-wrap .store-card { flex: 1; padding-right: 52px; }
.store-card-wrap .seller-heart { position: absolute; top: 10px; right: 10px; }
/* Yönetim sekme rozeti */
.tab-badge { background: var(--accent); color: #fff; font-size: 11px; border-radius: 10px; padding: 0 7px; font-weight: 700; margin-left: 4px; }
/* Sipariş talebi gönderildi kutusu */
.req-ok { margin-bottom: 10px; }
.req-ok:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.reg-done .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Yönetim: ziyaretçi istatistiği */
.stat-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.stat-period { display: flex; gap: 6px; }
.stat-period .btn.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.stat-card b { font-size: 28px; line-height: 1.1; color: var(--navy); }
.stat-card span { font-size: 13px; color: var(--ink-3); }
.stat-box { padding: 14px; margin-bottom: 12px; min-width: 0; }
.stat-box h3 { font-size: 15px; margin-bottom: 10px; }
.stat-chart { display: flex; align-items: flex-end; gap: 2px; height: 150px; padding-bottom: 18px; }
.stat-bar { flex: 1; min-width: 0; height: 100%; position: relative; display: flex; align-items: flex-end; }
.stat-bar i { display: block; width: 100%; min-height: 2px; background: var(--navy); border-radius: 2px 2px 0 0; }
.stat-bar:hover i { background: var(--accent); }
.stat-bar em { position: absolute; left: 50%; bottom: -17px; transform: translateX(-50%); font-style: normal; font-size: 10px; color: var(--ink-3); white-space: nowrap; }
.stat-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.stat-wrap { word-break: break-all; }
@media (max-width: 700px) {
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .stat-card b { font-size: 24px; }
  .stat-cols { grid-template-columns: 1fr; }
}
.stat-box table.t { min-width: 0; width: 100%; }
.stat-box table.t td { padding: 8px 6px; }

/* ---- Ürün ekleme sihirbazı (toptancı / çiftçi) */
.pwiz .stepper.pstep li { padding: 0; }
.pwiz .stepper.pstep li button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 6px; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; min-width: 0; }
.pwiz .stepper.pstep .l-short { display: none; }
.pwiz .stepper.pstep li button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pwiz .stepper.pstep li button:focus-visible { outline: 3px solid #bfe3cc; outline-offset: -3px; }
.pwiz .input, .pwiz select.input { height: 48px; font-size: 16px; }
.pwiz textarea.input { font-size: 16px; }
.pwiz .tier-row { grid-template-columns: 1fr 1fr 44px; }
.pwiz .tier-row .x { height: 48px; }
.wiz-nav { display: flex; gap: 10px; justify-content: space-between; margin: 4px 0 24px; }
.wiz-nav .btn { min-height: 50px; flex: 1; max-width: 260px; justify-content: center; text-align: center; }
.wiz-nav .btn:last-child { margin-left: auto; }
.sel-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 2px solid #1f8a4c; background: #eaf7ef; border-radius: var(--radius); }
.sel-chip b { display: block; font-size: 16px; }
.sel-chip small { color: var(--ink-3); }
.qp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.qp-card { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 64px; padding: 12px 14px; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.qp-card b { font-size: 17px; }
.qp-card small { color: var(--ink-3); font-size: 12px; }
.qp-card:hover, .qp-card:focus-visible { border-color: #1f8a4c; background: #f3fbf6; }
.pwiz .suggest button { min-height: 48px; }
.amt-row { display: flex; gap: 8px; align-items: center; }
.amt-row .input { flex: 1; min-width: 0; }
.amt-row select.input { flex: 0 0 110px; }
.amt-sfx { font-weight: 700; color: var(--ink-2); padding: 0 4px; }
.mode-seg { margin-bottom: 16px; }
.mode-seg label { flex-direction: column; align-items: flex-start; gap: 2px; min-height: 64px; justify-content: center; }
.more-box { margin: 6px 0 4px; border: 1px solid var(--line); border-radius: var(--radius); background: #fafbfc; }
.more-box summary { cursor: pointer; padding: 14px; font-weight: 700; min-height: 48px; }
.more-box .more-in { padding: 0 14px 14px; }
.prev-card { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: #fff; }
.prev-card .thumb { flex: 0 0 96px; height: 96px; border-radius: 8px; background: #f3f4f6; overflow: hidden; display: grid; place-items: center; text-align: center; }
.prev-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.prev-body { min-width: 0; display: grid; gap: 3px; }
.prev-body b { font-size: 16px; overflow-wrap: anywhere; }
.prev-price { font-size: 20px; font-weight: 800; color: var(--accent); }
@media (max-width: 520px) {
  .pwiz .stepper.pstep li button { flex-direction: column; gap: 3px; font-size: 11px; padding: 6px 2px; }
  .pwiz .stepper.pstep .l-long { display: none; }
  .pwiz .stepper.pstep .l-short { display: inline; }
  .wiz-nav .btn { max-width: none; }
  .prev-card .thumb { flex-basis: 72px; height: 72px; }
  .pwiz .tier-head span { font-size: 11px; }
}
