:root {
  --bg: #0a0a0d;
  --surface: #131317;
  --surface-2: #1a1a20;
  --surface-3: #24242c;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.11);
  --text: #f2f2f4;
  --muted: #8d8d99;
  --dim: #5d5d68;
  --accent: #c8f560;          /* neon lime — marka rengi */
  --accent-2: #c8f560;
  --accent-ink: #10130a;      /* lime üzerindeki yazı */
  --accent-soft: rgba(200, 245, 96, 0.12);
  --violet: #a78bfa;
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 20px;
  --display: 'Sora', 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: 'Manrope', -apple-system, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  background:
    radial-gradient(600px 300px at 100% -80px, rgba(200, 245, 96, 0.07), transparent 70%),
    radial-gradient(500px 300px at -10% 0, rgba(167, 139, 250, 0.07), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: var(--text); }
s { color: var(--dim); font-weight: 600; }
h1, h2, h3 { font-family: var(--display); }

#app { max-width: 560px; margin: 0 auto; min-height: 100vh; }

/* ───── Topbar ───── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px;
  background: rgba(10, 10, 13, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border-radius: 11px; background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-weight: 800; font-size: 18px;
  box-shadow: 0 0 0 4px var(--accent-soft);
  transform: rotate(-6deg);
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.brand-sub { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.wallet-pill {
  display: flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 700; font-size: 14.5px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; padding: 8px 12px;
}
.wallet-pill svg { color: var(--accent); }
.lang-switch { display: flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.lang-switch button { font-size: 12px; font-weight: 700; color: var(--muted); padding: 5px 9px; border-radius: 7px; }
.lang-switch button.on { background: var(--accent); color: var(--accent-ink); }

/* ───── Layout ───── */
main { padding: 18px 16px calc(100px + var(--safe-bottom)); }
.page-title { font-weight: 700; font-size: 26px; letter-spacing: -0.03em; margin: 4px 2px 16px; }
.label { font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; font-weight: 700; }
.muted { color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 10px; }

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 15.5px; border-radius: 14px; padding: 13px 20px;
  background: var(--accent); color: var(--accent-ink); transition: transform .12s ease, opacity .12s;
}
.btn:active { transform: scale(0.97); }
.btn.block { width: 100%; }
.btn.ghost { background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); }
.btn.green { background: var(--green); color: #04130a; }
.btn.red { background: rgba(248, 113, 113, .12); color: var(--red); border: 1px solid rgba(248, 113, 113, .3); }
.btn.sm { font-size: 13px; padding: 8px 13px; border-radius: 11px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ───── Product visual ───── */
.pv {
  position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 1.25;
  background-color: #15151a; background-size: cover; background-position: center;
}
.pv.big { aspect-ratio: 1.7; border-radius: 20px; }
.pv-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at 50% 55%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 20%, transparent 75%);
}
.pv-orb {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), var(--tone) 55%, var(--tone-deep));
  box-shadow: 0 0 40px var(--tone-glow), inset 0 -6px 16px rgba(0,0,0,.25);
}
.pv-orb span { font-size: clamp(26px, 9vw, 40px); filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }
.pv.big .pv-orb { width: 34%; }
.pv.big .pv-orb span { font-size: clamp(40px, 13vw, 64px); }
.pv::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, var(--tone-glow), transparent 65%); }

.tone-blue   { --tone: #60a5fa; --tone-deep: #1d4ed8; --tone-glow: rgba(96,165,250,.35); }
.tone-purple { --tone: #a78bfa; --tone-deep: #6d28d9; --tone-glow: rgba(167,139,250,.35); }
.tone-green  { --tone: #4ade80; --tone-deep: #15803d; --tone-glow: rgba(74,222,128,.32); }
.tone-orange { --tone: #fb923c; --tone-deep: #c2410c; --tone-glow: rgba(251,146,60,.35); }
.tone-pink   { --tone: #f472b6; --tone-deep: #be185d; --tone-glow: rgba(244,114,182,.35); }
.tone-silver { --tone: #cbd5e1; --tone-deep: #64748b; --tone-glow: rgba(203,213,225,.25); }
.tone-red    { --tone: #f87171; --tone-deep: #b91c1c; --tone-glow: rgba(248,113,113,.35); }
.tone-teal   { --tone: #2dd4bf; --tone-deep: #0f766e; --tone-glow: rgba(45,212,191,.32); }
/* admin renk seçici ve küçük ikonlar eski sınıf adlarını kullanıyor */
.c-blue { background: #60a5fa; } .c-purple { background: #a78bfa; } .c-green { background: #4ade80; } .c-orange { background: #fb923c; }
.c-pink { background: #f472b6; } .c-silver { background: #cbd5e1; } .c-red { background: #f87171; } .c-teal { background: #2dd4bf; }

/* ───── Store: hello, search, featured ───── */
.hello h1 { font-size: 25px; font-weight: 700; letter-spacing: -0.03em; margin: 2px 0 2px; }
.hello p { margin: 0 0 14px; color: var(--muted); font-weight: 500; }
.search {
  display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; margin-bottom: 22px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; color: var(--muted);
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search input { flex: 1; background: none; border: 0; outline: none; font-size: 15px; min-width: 0; }
.search input::-webkit-search-cancel-button { filter: invert(1); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 2px 12px; }
.sec-head h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.sec-head span { font-size: 12.5px; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 2px 9px; border-radius: 99px; }
.feat-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px 26px; padding: 0 16px 4px; scrollbar-width: none; }
.feat-row::-webkit-scrollbar { display: none; }
.feat {
  position: relative; flex: 0 0 78%; max-width: 340px; min-height: 196px; scroll-snap-align: start; overflow: hidden; cursor: pointer;
  border-radius: 22px; border: 1px solid var(--border-strong); padding: 16px;
  background: linear-gradient(150deg, var(--tone-deep) -40%, #121216 62%);
}
.feat-glow { position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, var(--tone-glow), transparent 70%); }
.feat-emoji { position: absolute; right: 14px; top: 12px; font-size: 64px; transform: rotate(10deg); filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.feat-img { position: absolute; right: 12px; top: 12px; width: 92px; height: 92px; border-radius: 16px; background-size: cover; background-position: center; }
.feat-body { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 164px; }
.feat-tag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; }
.feat-title { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; margin-top: auto; padding-right: 60px; }
.feat-sub { color: rgba(255,255,255,.62); font-size: 13px; margin-top: 4px; }
.feat-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.feat-price { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--accent); display: flex; align-items: baseline; gap: 8px; }
.feat-price s { font-size: 13px; }
.feat-go { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }

/* ───── Chips ───── */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-weight: 700; font-size: 13px; }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ───── Product grid ───── */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 6px 12px; display: flex; flex-direction: column; cursor: pointer; transition: transform .15s, border-color .15s; }
.card:active { transform: scale(.98); border-color: var(--border-strong); }
.card-media { position: relative; }
.badges { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; z-index: 2; flex-wrap: wrap; }
.badge { font-size: 10px; font-weight: 800; letter-spacing: .05em; padding: 3px 7px; border-radius: 7px; background: rgba(10,10,13,.75); color: #fff; border: 1px solid var(--border-strong); backdrop-filter: blur(6px); }
.badge.new { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.instant { position: absolute; top: 8px; right: 8px; z-index: 2; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: rgba(10,10,13,.75); color: var(--accent); border: 1px solid var(--border-strong); }
.card-body { padding: 10px 6px 0; flex: 1; display: flex; flex-direction: column; }
.card-meta { font-size: 11.5px; font-weight: 700; color: var(--violet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-title { font-family: var(--display); font-weight: 600; font-size: 14.5px; line-height: 1.25; margin-top: 3px; letter-spacing: -0.01em; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 10px; }
.price { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--accent); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.stock { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; background: rgba(74,222,128,.1); color: var(--green); white-space: nowrap; }
.stock.out { background: rgba(248,113,113,.1); color: var(--red); }
.stock.low { background: rgba(251,191,36,.1); color: var(--amber); }

/* ───── Bottom nav ───── */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; justify-content: space-around; max-width: 560px; margin: 0 auto;
  padding: 8px 6px calc(8px + var(--safe-bottom));
  background: rgba(14, 14, 18, 0.92); border-top: 1px solid var(--border-strong);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.nav-item { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; color: var(--dim); font-size: 11px; font-weight: 700; }
.nav-item .ico { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 10px; transition: background .2s, color .2s; }
.nav-item.on { color: var(--text); }
.nav-item.on .ico { background: var(--accent); color: var(--accent-ink); }

/* ───── Sheet ───── */
.sheet { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .25s; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto;
  max-height: 92vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1px solid var(--border-strong); border-bottom: 0;
  border-radius: 28px 28px 0 0; padding: 8px 16px calc(24px + var(--safe-bottom));
  transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.9,.3,1);
}
.sheet.open { pointer-events: auto; }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet.open .sheet-panel { transform: none; }
.sheet-grip { width: 40px; height: 5px; border-radius: 9px; background: var(--surface-3); margin: 4px auto 14px; }
.sheet h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 6px; }
.desc { color: #c5c8cf; white-space: pre-line; font-size: 14.5px; line-height: 1.55; margin: 10px 0 16px; }
.info-list { background: var(--surface-2); border-radius: 16px; padding: 4px 14px; margin-bottom: 16px; }
.info-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 14px; }
.info-list > div + div { border-top: 1px solid var(--border); }
.info-list b { font-weight: 700; text-align: right; }
.stepper { display: flex; align-items: center; background: var(--surface-2); border-radius: 999px; border: 1px solid var(--border); }
.stepper button { width: 38px; height: 38px; font-size: 20px; font-weight: 700; }
.stepper span { min-width: 30px; text-align: center; font-weight: 800; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; margin: 10px auto 4px; background: rgba(34,197,94,.14); }

/* ───── Code box ───── */
.code-box { position: relative; background: #0a0b0f; border: 1px dashed var(--border-strong); border-radius: 14px; padding: 12px 12px 12px 14px; margin-top: 10px; }
.code-box pre { margin: 0; font-family: var(--mono); font-size: 13px; white-space: pre-wrap; word-break: break-all; padding-right: 74px; color: #dfe6ff; max-height: 220px; overflow: auto; }
.code-box .btn { position: absolute; top: 8px; right: 8px; }

/* ───── Orders ───── */
.order { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 16px; margin-bottom: 12px; }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.order-title { font-weight: 800; font-size: 16px; margin: 8px 0 2px; }
.status { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status.delivered { background: rgba(34,197,94,.12); color: var(--green); }
.status.pending { background: rgba(245,165,36,.12); color: var(--amber); }
.status.cancelled { background: rgba(239,68,68,.12); color: var(--red); }

.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty .big { font-size: 48px; margin-bottom: 8px; }
.empty b { display: block; color: var(--text); font-size: 18px; margin-bottom: 4px; }

/* ───── Balance ───── */
.balance-hero { text-align: center; padding: 28px 18px; background: radial-gradient(120% 120% at 50% 0%, rgba(200,245,96,.22), transparent 60%), var(--surface); }
.balance-hero .amount { font-size: 50px; font-weight: 900; letter-spacing: -0.04em; margin: 6px 0 0; }
.presets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 12px 0; }
.presets button { padding: 11px 0; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 700; }
.presets button.on { border-color: var(--accent); background: rgba(200,245,96,.15); color: #fff; }
.input { width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 13px 14px; outline: none; font-size: 16px; }
.input:focus { border-color: var(--accent); }
textarea.input { resize: vertical; min-height: 90px; font-family: var(--mono); font-size: 13px; }
.tx { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; }
.tx + .tx { border-top: 1px solid var(--border); }
.tx-name { font-weight: 600; font-size: 14.5px; }
.tx-note { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
.tx-amt { font-weight: 800; white-space: nowrap; }
.plus { color: var(--green); }
.minus { color: var(--text); }

/* ───── Profile ───── */
.profile-card { background: radial-gradient(120% 140% at 80% 0%, rgba(200,245,96,.18), transparent 55%), var(--surface); border-color: rgba(200,245,96,.25); }
.avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: var(--accent-2); background: var(--surface-2); border: 2px solid var(--accent-2); box-shadow: 0 0 0 4px rgba(200,245,96,.12); flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.pname { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vbadge { font-size: 12px; font-weight: 800; background: var(--accent); color: var(--accent-ink); padding: 4px 10px; border-radius: 999px; }
.handle { font-family: var(--mono); color: var(--muted); font-size: 13px; margin-top: 2px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.stat { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 16px; padding: 12px 6px; text-align: center; }
.stat b { display: block; font-size: 21px; font-weight: 900; letter-spacing: -0.03em; }
.stat span { font-size: 10.5px; color: var(--muted); font-weight: 700; letter-spacing: .1em; }
.ref-box { flex: 1; min-width: 0; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px; font-family: var(--mono); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pref { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.pref + .pref { border-top: 1px solid var(--border); }
.pref-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; font-size: 17px; flex: none; }
.pref-text { flex: 1; min-width: 0; }
.pref-text b { display: block; font-weight: 600; }
.pref-text span { font-size: 12.5px; color: var(--muted); }
.switch { width: 50px; height: 30px; border-radius: 99px; background: var(--surface-3); position: relative; transition: background .2s; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(20px); }

/* ───── Admin ───── */
.seg { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.seg button { flex: 1; padding: 9px 12px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.seg button.on { background: var(--surface-3); color: var(--text); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 14px; }
.kpi b { display: block; font-size: 24px; font-weight: 900; letter-spacing: -0.03em; margin-top: 4px; }
.kpi small { color: var(--muted); font-size: 12px; }
.aprod { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.aprod + .aprod { border-top: 1px solid var(--border); }
.aprod-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex: none; background-size: cover; background-position: center; }
.aprod-main { flex: 1; min-width: 0; }
.aprod-main b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aprod-main span { font-size: 12.5px; color: var(--muted); }
.aprod-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; color: var(--muted); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; font-size: 13.5px; font-weight: 600; }
.check input { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; }
.colors { display: flex; gap: 8px; flex-wrap: wrap; }
.colors button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; }
.colors button.on { border-color: #fff; box-shadow: 0 0 0 2px var(--accent); }
.user-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; cursor: pointer; }
.user-row + .user-row { border-top: 1px solid var(--border); }

/* ───── Toast / misc ───── */
.toast {
  position: fixed; left: 50%; top: 18px; z-index: 80; transform: translate(-50%, -140%);
  background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--text);
  padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transition: transform .3s cubic-bezier(.2,.9,.3,1); max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }
.toast.error { background: #3a1416; border-color: rgba(239,68,68,.4); }
.toast.ok { background: #0f2a19; border-color: rgba(34,197,94,.4); }

.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.fade-in { animation: fadeIn .25s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ───── Topbar bell ───── */
.bell { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--muted); flex: none; }
.bell .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); border: 2px solid var(--surface); display: none; }
.bell .dot.on { display: block; }

/* ───── Product extras ───── */
.badge.official { background: #0b0d12; color: #fff; }
.pv-sold { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(5,6,9,.35); }
.pv-sold span { background: #ef4444; color: #fff; font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.price small { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.price s { font-size: 12px; font-weight: 600; letter-spacing: 0; }
.price-line { display: flex; align-items: baseline; gap: 8px; }
.price-line .price { font-size: 26px; }
.rating-line { font-size: 13px; color: var(--muted); margin-top: 6px; }
.stars { color: #fbbf24; letter-spacing: 1px; }

.sheet-tools { position: sticky; top: 0; z-index: 5; display: flex; justify-content: flex-end; gap: 8px; height: 0; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(24,27,34,.9); border: 1px solid var(--border-strong); font-size: 14px; color: var(--muted); backdrop-filter: blur(8px); margin-top: 6px; }
.icon-btn.accent { box-shadow: 0 0 0 3px rgba(200,245,96,.25); }
.sheet h3 { padding-right: 90px; }
.sheet-panel > div > .pv { margin-top: 2px; }

.callout { display: flex; gap: 12px; border-radius: 16px; padding: 14px; margin: 14px 0; font-size: 14px; line-height: 1.5; white-space: pre-line; }
.callout b { display: block; font-size: 15px; }
.callout span:not(.callout-ico) { display: block; color: var(--muted); font-size: 13px; }
.callout-ico { flex: none; font-size: 16px; line-height: 1.4; }
.callout.amber { background: rgba(245,165,36,.08); border: 1px solid rgba(245,165,36,.35); color: #e9d9b8; }
.callout.red { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.35); color: #f1c9c9; }
.callout.blue { background: rgba(200,245,96,.1); border: 1px solid rgba(200,245,96,.15); }
.callout.blue b { color: var(--accent); }
.desc.quote { border-left: 2px solid var(--border-strong); padding-left: 14px; }
.check-list { list-style: none; padding: 0; margin: 4px 0 14px; }
.check-list li { position: relative; padding: 6px 0 6px 28px; color: #d4d7dd; font-size: 14.5px; }
.check-list li::before { content: '✓'; position: absolute; left: 4px; color: var(--green); font-weight: 700; }
.steps { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 16px; margin: 14px 0; }
.steps ol { list-style: none; padding: 0; margin: 12px 0 0; }
.steps li { display: flex; gap: 12px; padding: 6px 0; font-size: 14px; color: #d4d7dd; }
.steps li > span { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(200,245,96,.14); color: var(--accent); font-weight: 700; font-size: 12px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.opt { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.opt span { font-size: 13px; color: var(--muted); font-weight: 600; }
.opt b { font-size: 17px; color: var(--accent-2); }
.opt.on { border-color: var(--accent); background: rgba(200,245,96,.14); }
.qty-row { margin: 18px 0 4px; }
.acc { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; margin: 10px 0; overflow: hidden; }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 16px; text-align: left; }
.acc-head b { font-size: 15px; }
.chev { color: var(--muted); transition: transform .2s; font-size: 18px; line-height: 1; }
.acc.open .chev { transform: rotate(180deg); }
.acc-body { padding: 0 16px 16px; display: none; }
.acc.open .acc-body { display: block; }
.review { padding: 10px 0; border-bottom: 1px solid var(--border); }
.review p { margin: 6px 0 2px; font-size: 14px; color: #d4d7dd; }
.lock-note { margin-top: 10px; background: #0a0b0f; border-radius: 12px; padding: 12px; font-size: 13px; color: var(--muted); }
.sticky-buy { position: sticky; bottom: calc(-24px - var(--safe-bottom)); margin: 16px -16px calc(-24px - var(--safe-bottom)); padding: 14px 16px calc(18px + var(--safe-bottom)); background: linear-gradient(rgba(17,19,24,0), var(--surface) 28%); }
.star-pick { display: flex; justify-content: center; gap: 6px; margin: 10px 0 16px; }
.star-pick button { font-size: 36px; color: var(--surface-3); }
.star-pick button.on { color: #fbbf24; }
.notif { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; white-space: pre-line; }
.notif small { display: block; margin-top: 4px; }
.pref.link { cursor: pointer; }
.footnote { text-align: center; color: var(--dim); font-size: 12px; margin: 18px 20px 0; }

@media (max-width: 400px) {
  #langSwitch { display: none; } /* dil seçimi Profil'de de var */
  .brand-name { font-size: 15px; letter-spacing: -0.03em; }
  .logo { width: 32px; height: 32px; font-size: 16px; }
  .brand { gap: 9px; }
  .wallet-pill { gap: 5px; padding: 7px 9px; }
}
@media (max-width: 380px) {
  .brand-name { max-width: 165px; }
  .brand-sub { display: none; }
  .wallet-pill { padding: 7px 10px; font-size: 14px; }
  .lang-switch button { padding: 6px 7px; }
  .nav-item { min-width: 54px; padding: 8px 10px 6px; }
  .presets { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.empty-ico { display: grid; place-items: center; color: var(--dim); }
.empty-ico svg { width: 46px; height: 46px; }
.wallet-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }

/* ───── İlk açılış: dil seçimi ───── */
body.gate .topbar, body.gate .bottom-nav { display: none; }
.lang-pick { min-height: calc(100vh - 60px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 24px 4px; }
.lp-logo { width: 64px; height: 64px; border-radius: 20px; font-size: 32px; margin-bottom: 18px; }
.lang-pick h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.lang-pick p { color: var(--muted); margin: 8px 0 28px; font-size: 14px; }
.lp-list { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 10px; }
.lp-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border-strong); text-align: left; transition: border-color .15s, transform .12s; }
.lp-item:active { transform: scale(.98); border-color: var(--accent); }
.lp-flag { font-size: 26px; line-height: 1; }
.lp-item b { flex: 1; font-family: var(--display); font-size: 17px; font-weight: 600; }
.lp-go { color: var(--accent); display: grid; }

/* Admin: çeviri bölümleri */
.tr-block { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.tr-block summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.tr-block summary .muted { font-weight: 500; font-size: 12px; }
