:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --ink: #12162b;
  --ink-2: #4a5170;
  --muted: #7b82a0;
  --line: #e4e7f1;
  --primary: #6c5cff;
  --primary-2: #8b5cf6;
  --primary-ink: #ffffff;
  --soft: #efedff;
  --accent: #22c7a9;
  --danger: #e5484d;
  --info: #3b82f6;
  --dark: #0d1127;
  --dark-2: #171c3a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 22, 43, .04), 0 8px 24px rgba(18, 22, 43, .06);
  --shadow-lg: 0 20px 50px rgba(18, 22, 43, .14);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 15px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.h3, h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; background: var(--soft); padding: 1px 6px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.r { text-align: right; }
.pt0 { padding-top: 0 !important; }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--primary-ink); box-shadow: 0 6px 18px rgba(108, 92, 255, .35); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(108, 92, 255, .45); }
.btn-outline { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-soft { background: var(--soft); color: var(--primary); }
.btn-light { background: #fff; color: var(--dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-ghost-danger { background: transparent; color: var(--danger); border-color: #f6c9cb; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-block { width: 100%; }
.link-btn, .link-danger { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--primary); font-weight: 600; }
.link-danger { color: var(--danger); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; }
.badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #062b24; font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* ---------- Üst bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(13, 17, 39, .92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -.02em; text-decoration: none !important; }
.brand img { height: 34px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 16px; }
.mainnav { display: flex; gap: 4px; }
.mainnav a { color: #c9cde4; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; }
.mainnav a:hover, .mainnav a.active { color: #fff; background: rgba(255, 255, 255, .08); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.balance-chip { color: #fff; font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 10px; background: rgba(34, 199, 169, .14); border: 1px solid rgba(34, 199, 169, .3); text-decoration: none !important; }
.balance-chip b { color: var(--accent); }
.menu-toggle, .only-mobile { display: none !important; }

.flashes { margin-top: 16px; }
.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 12px; font-weight: 500; border: 1px solid; }
.alert-success { background: #e8f8f3; border-color: #b8eadb; color: #0e6b57; }
.alert-error, .alert-danger { background: #fdeeee; border-color: #f6c9cb; color: #a3262a; }
.alert-info { background: #edf3ff; border-color: #c9dafb; color: #1f4fa8; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(800px 400px at 85% 10%, rgba(108, 92, 255, .45), transparent 60%),
  radial-gradient(600px 400px at 10% 90%, rgba(34, 199, 169, .18), transparent 60%),
  linear-gradient(180deg, var(--dark), var(--dark-2)); padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #d9dcf0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(34, 199, 169, .2); }
.hero h1 { font-size: clamp(32px, 5vw, 54px); margin: 18px 0 16px; }
.grad { background: linear-gradient(90deg, #a99bff, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: #b9bedb; font-size: 17px; max-width: 560px; }
.hero-search { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 6px 6px 6px 16px; max-width: 560px; margin-top: 24px; color: #9aa0c3; }
.hero-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; font-size: 15px; outline: none; padding: 10px 0; }
.hero-search input::placeholder { color: #8a90b3; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: #9aa0c3; }
.tags a { color: #e4e6f5; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); text-decoration: none; }
.tags a:hover { background: rgba(255, 255, 255, .12); }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px; color: #c9cde4; font-size: 14px; font-weight: 600; }
.trust li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 6px; background: rgba(34, 199, 169, .18); color: var(--accent); font-size: 12px; }
.hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none !important; transition: transform .2s, background .2s; }
.mini:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .1); }
.mini-thumb { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.mini-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-price { color: #5eead4; font-weight: 800; font-size: 15px; }
.mini-price small { color: #9aa0c3; font-weight: 600; font-size: 11px; }
.mini-empty { grid-column: 1 / -1; color: #b9bedb; padding: 32px; text-align: center; }

/* ---------- Görseller ---------- */
.thumb, .mini-thumb, .product-media, .cart-thumb { position: relative; overflow: hidden; background: var(--soft); }
.thumb img, .mini-thumb img, .product-media img, .cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-gen { display: grid; place-items: center; background:
  radial-gradient(120% 120% at 0% 0%, hsl(var(--h) 85% 62%), transparent 60%),
  linear-gradient(135deg, hsl(var(--h) 70% 30%), hsl(calc(var(--h) + 50) 70% 22%)); }
.thumb-gen span { color: #fff; font-weight: 800; font-size: clamp(22px, 3vw, 36px); letter-spacing: .02em; text-shadow: 0 4px 20px rgba(0, 0, 0, .25); }
.cart-thumb { width: 56px; height: 56px; border-radius: 12px; flex: none; }
.cart-thumb.thumb-gen span { font-size: 16px; }
.mini-thumb.thumb-gen span { font-size: 24px; }

/* ---------- Bölümler ---------- */
.section { padding: 64px 0; }
.section-alt { background: #eceff8; }
.section-dark { background: linear-gradient(180deg, var(--dark), var(--dark-2)); color: #fff; }
.section-dark .muted, .section-dark p { color: #b9bedb; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head p { margin: 0; max-width: 620px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.section-dark .eyebrow { color: #a99bff; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.empty { text-align: center; color: var(--muted); padding: 40px 20px; }

/* ---------- Ürün kartları ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-cards.grid-3 { grid-template-columns: repeat(3, 1fr); }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard-media { position: relative; display: block; }
.pcard-media .thumb { aspect-ratio: 16 / 10; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.chip-float { position: absolute; top: 12px; left: 12px; background: rgba(13, 17, 39, .75); color: #fff; backdrop-filter: blur(6px); }
.pcard-body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.pcard-body .eyebrow { font-size: 11px; margin: 0; }
.pcard h3 { font-size: 16px; margin: 0; }
.pcard h3 a { color: var(--ink); }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin: auto 0 10px; padding-top: 8px; }
.pcard-foot small.muted { display: block; font-size: 11px; }
.price { font-size: 18px; font-weight: 800; }
.price small { font-size: 11px; color: var(--muted); font-weight: 600; }
.stock { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.stock.in { background: #e3f8f2; color: #0e7a63; }
.stock.out { background: #fdeeee; color: #b4282d; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cat { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none !important; transition: border-color .15s, transform .15s; }
.cat:hover { border-color: var(--primary); transform: translateY(-2px); }
.cat span { min-width: 30px; text-align: center; padding: 2px 8px; border-radius: 8px; background: var(--soft); color: var(--primary); font-size: 13px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
.step { padding: 26px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.step span { display: inline-block; font-weight: 800; font-size: 14px; color: #5eead4; margin-bottom: 10px; }
.step h3 { color: #fff; }
.step p { margin: 0; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* ---------- Sayfa başlığı ---------- */
.page-head { padding: 36px 0 24px; }
.page-head.slim { padding: 20px 0 12px; }
.page-head h1 { margin-bottom: 4px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--ink-2); }

/* ---------- Mağaza ---------- */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.shop-side { position: sticky; top: 88px; }
.side-card { padding: 16px; display: grid; gap: 12px; }
.lbl { display: grid; gap: 6px; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.cats { gap: 2px; }
.cats a { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 10px; color: var(--ink-2); font-weight: 600; text-decoration: none; }
.cats a span { color: var(--muted); font-weight: 600; }
.cats a:hover, .cats a.active { background: var(--soft); color: var(--primary); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 28px; }
.pager a { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.pager a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Formlar ---------- */
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(108, 92, 255, .12); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--primary); }
input:disabled { background: var(--bg); color: var(--muted); }
textarea { resize: vertical; }
.form { display: grid; gap: 14px; }
.form label:not(.check) { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.form label small { font-weight: 500; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 3px; }

/* ---------- Ürün detay ---------- */
.product { display: grid; grid-template-columns: 1fr 420px; gap: 24px; align-items: start; }
.product-main { display: grid; gap: 16px; }
.product-main .card + .card { margin-top: 0; }
.product-media { aspect-ratio: 16 / 9; border-radius: 20px; box-shadow: var(--shadow); }
.product-media.thumb-gen span { font-size: clamp(42px, 7vw, 72px); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: #e3f8f2; color: #0e7a63; font-size: 12px; font-weight: 800; }
.checks.light li { color: #d9dcf0; }
.checks.light li::before { background: rgba(34, 199, 169, .18); color: var(--accent); }
.prose { color: var(--ink-2); }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: 1.2em; }
.prose > :first-child { margin-top: 0; }
.buybox { position: sticky; top: 88px; border-top: 4px solid var(--primary); }
.buybox h1 { font-size: 26px; }
.buy-price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 6px; }
.buy-price strong { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.buy-price small { color: var(--muted); font-weight: 600; }
.buy-form { display: grid; gap: 14px; margin-top: 14px; }
.variants { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.variant { position: relative; display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant:has(input:checked) { border-color: var(--primary); background: var(--soft); }
.variant.is-out { opacity: .55; }
.v-name { font-weight: 700; font-size: 14px; }
.v-price { font-weight: 800; color: var(--primary); }
.v-stock { font-size: 12px; color: var(--muted); }
.qty-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 38px; height: 40px; border: 0; background: var(--bg); font-size: 18px; cursor: pointer; color: var(--ink); }
.qty input { width: 54px; border: 0; border-radius: 0; text-align: center; padding: 8px 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.total { margin-left: auto; color: var(--ink-2); }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.out-note { color: var(--danger); font-weight: 600; margin: 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 0; }
.facts div { padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.facts dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 14px; }
.wa-link { display: block; text-align: center; margin-top: 14px; font-weight: 700; color: #128c4a; }

/* ---------- Sepet ---------- */
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.cart-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-of-type { padding-top: 0; }
.cart-info { display: grid; flex: 1; min-width: 0; }
.cart-info a { color: var(--ink); }
.warn { color: var(--danger); font-size: 13px; font-weight: 600; }
.cart-qty { width: 72px; text-align: center; }
.cart-sum { min-width: 100px; text-align: right; }
.cart-tools { padding-top: 14px; }
.summary { position: sticky; top: 88px; display: grid; gap: 12px; }
.summary .card { margin: 0; }
.sum-row { display: flex; justify-content: space-between; }
.summary form { display: grid; gap: 12px; }

/* ---------- Giriş ---------- */
.auth-body { background: linear-gradient(180deg, var(--dark), var(--dark-2)); min-height: 100vh; }
.auth-wrap { display: grid; place-items: center; padding: 56px 16px; }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: 28px; }
.auth-split { grid-template-columns: 1fr 440px; gap: 48px; width: min(1000px, 100% - 32px); margin-inline: auto; align-items: center; }
.auth-pitch { color: #fff; padding: 36px; border-radius: 24px; background:
  radial-gradient(500px 300px at 80% 0%, rgba(108, 92, 255, .5), transparent 60%), linear-gradient(180deg, var(--dark), var(--dark-2)); }
.auth-pitch h2 { margin: 18px 0 22px; }

/* ---------- Hesabım ---------- */
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.acc-balance { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.acc-balance strong { font-size: 22px; }
.tabs { display: flex; gap: 4px; margin-top: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--ink-2); font-weight: 700; border-bottom: 2px solid transparent; text-decoration: none; white-space: nowrap; }
.tabs a.active { color: var(--primary); border-bottom-color: var(--primary); }
.tabs-end { margin-left: auto; display: flex; align-items: center; padding: 0 6px; }
.small-tabs { margin: 0 0 16px; }
.owned { display: grid; gap: 14px; }
.owned .card + .card { margin-top: 0; }
.owned-item.is-new { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(34, 199, 169, .15); }
.owned-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.owned-head > div:nth-child(2) { display: grid; flex: 1; min-width: 200px; }
.owned-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.secret { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--bg); border: 1px dashed var(--line); }
.secret pre { margin: 0 0 12px; white-space: pre-wrap; word-break: break-all; font-family: ui-monospace, Consolas, monospace; font-size: 14px; }
.secret-mask { color: var(--muted); letter-spacing: 2px; margin-bottom: 12px; }
.secret-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.report-form { display: grid; gap: 10px; margin-top: 12px; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.tag-success { background: #e3f8f2; color: #0e7a63; }
.tag-info { background: #e8efff; color: #2457c5; }
.tag-danger { background: #fdeeee; color: #b4282d; }
.tag-muted { background: #eef0f6; color: var(--muted); }

.table-card { padding: 18px; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 0 10px 10px; border-bottom: 1px solid var(--line); }
.table th.r { text-align: right; }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table.compact td { padding: 9px 8px; }
.pos { color: #0e7a63; font-weight: 700; }
.neg { color: var(--danger); font-weight: 700; }

.deposit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.deposit .card + .card { margin-top: 16px; }
.steps-list { padding-left: 20px; color: var(--ink-2); margin: 0 0 16px; }
.steps-list li { margin-bottom: 6px; }
.bank { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--soft); margin-bottom: 18px; }
.bank > div { display: grid; }
.bank-iban { grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; }
.bank-iban span { grid-column: 1 / -1; }
.bank-iban b { font-family: ui-monospace, Consolas, monospace; font-size: 15px; word-break: break-all; }
.calc { display: grid; gap: 6px; padding: 14px; border-radius: 12px; background: var(--bg); }
.calc div { display: flex; justify-content: space-between; }
.calc-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: 17px; }
.calc-total b { color: var(--primary); }

/* ---------- Alt bilgi ---------- */
.footer { background: var(--dark); color: #b9bedb; padding: 56px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer a { display: block; color: #b9bedb; margin-bottom: 8px; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer .brand { margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #8a90b3; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); }

/* ---------- Yönetim paneli ---------- */
.admin { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: var(--dark); padding: 20px 14px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { padding: 0 8px; }
.admin-side nav { display: grid; gap: 2px; }
.admin-side nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; color: #b9bedb; font-weight: 600; font-size: 14px; text-decoration: none; }
.admin-side nav a:hover, .admin-side nav a.active { background: rgba(255, 255, 255, .08); color: #fff; }
.admin-side nav .badge { position: static; }
.admin-side-foot { margin-top: auto; display: grid; gap: 10px; padding: 0 12px; font-size: 13px; }
.admin-side-foot a { color: #b9bedb; }
.admin-side-foot .link-btn { color: #f5a3a6; text-align: left; }
.admin-main { padding: 24px 28px 48px; min-width: 0; }
.admin-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.admin-top h1 { font-size: 24px; margin: 0; }
.admin-top .icon-btn { color: var(--ink); background: #fff; border-color: var(--line); }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar input { max-width: 320px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.stats .card + .card { margin-top: 0; }
.stat { display: grid; gap: 4px; }
.stat strong { font-size: 24px; }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.admin-cols > .card + .card { margin-top: 0; }
.variant-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0 4px; border-top: 1px solid var(--line); }
.variant-row input:not([type=checkbox]) { flex: 1 1 140px; }
.variant-row .w-price { flex: 0 1 110px; }
.w-sort { max-width: 70px; flex: 0 0 70px !important; }
.variant-new { margin-top: 10px; padding-top: 14px; }
.inline { display: inline; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.inline-actions input { flex: 1 1 140px; padding: 7px 10px; }
.inline-actions .w-price { flex: 0 1 100px; }
.danger-zone { margin-top: 16px; text-align: right; }
.stock-code { display: inline-block; white-space: pre-wrap; word-break: break-all; max-width: 420px; }
.img-preview { display: flex; align-items: center; gap: 14px; }
.report-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.faq-edit { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
details.card > summary { cursor: pointer; }
details.card[open] > summary { margin-bottom: 14px; }
details.card label { margin-top: 10px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .grid-cards.grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr 380px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .product, .cart, .deposit, .shop, .admin-cols, .auth-split { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 48px; }
  .shop-side, .buybox, .summary { position: static; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-grid !important; }
  .mainnav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 18px; background: var(--dark); border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .mainnav.open { display: flex; }
  .only-mobile { display: block !important; }
  .hide-mobile { display: none !important; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: none; position: fixed; inset: 0 30% 0 0; z-index: 80; height: auto; }
  .admin-side.open { display: flex; }
  .admin-main { padding: 18px 16px 40px; }
  .auth-pitch { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .grid-cards, .grid-cards.grid-3 { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .form-row, .variants, .buy-actions, .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-line { flex-wrap: wrap; }
  .cart-sum { min-width: 0; margin-left: auto; }
  .balance-chip { padding: 7px 9px; font-size: 12px; }
  .topbar-inner { gap: 10px; }
  .brand span:last-child { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .acc-balance { width: 100%; justify-content: space-between; }
}
