/* Elite Console — Kurumsal beyaz tema */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0a0d1f;
  --surface: #fdfcf8;
  --surface2: #f8f6f0;
  --surface3: #f0ece2;
  --text: #1a1d3a;
  --muted: #6470a0;
  --line: rgba(80, 100, 220, 0.15);
  --line2: rgba(80, 100, 220, 0.08);
  --accent: #18e8ff;
  --accent2: #18e8ff;
  --accent-hover: #00bce0;
  --accent-soft: rgba(24, 232, 255, 0.12);
  --accent2-soft: rgba(24, 232, 255, 0.12);
  --accent3: #ffe600;
  --accent3-soft: rgba(255, 230, 0, 0.13);
  --neon-glow3: 0 0 18px rgba(255, 230, 0, 0.55), 0 0 40px rgba(255, 230, 0, 0.2);
  --danger: #ff4e6a;
  --success: #00e5b0;
  --neon-glow: 0 0 14px rgba(24, 232, 255, 0.4), 0 0 30px rgba(24, 232, 255, 0.15);
  --neon-glow-sm: 0 0 8px rgba(24, 232, 255, 0.35);
  --neon-glow2: 0 0 14px rgba(24, 232, 255, 0.4);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 6px 30px rgba(0, 0, 0, 0.1);
  --radius: 10px;
  --radius2: 16px;
  --max: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: #0a0d1f;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(24, 232, 255, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(26, 29, 58, 0.6) 0%, transparent 50%);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.app-shell {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

input, select, textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  outline: none;
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(24, 232, 255, 0.15);
}
input::placeholder, textarea::placeholder { color: var(--muted); }
select option { background: #fff; color: var(--text); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 12px; line-height: 1.4; }
.divider { height: 1px; background: var(--line); margin: 14px 0; }

/* ── Preheader ── */
.preheader {
  background: #1a1d3a;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.preheader__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 12px; padding: 7px 0;
}
.preheader a { color: var(--accent); }
.preheader a:hover { opacity: 0.8; }
.preheader__sep { opacity: 0.35; }

/* ── Header ── */
.storeHeader {
  background: rgba(253, 252, 248, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: var(--shadow);
}
.storeHeader__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
@media (max-width: 900px) {
  .storeHeader__row { grid-template-columns: 1fr auto; }
  .storeSearchNote { display: none; }
}
@media (max-width: 768px) {
  .storeHeader__row { gap: 10px; padding: 10px 0; }
  .storeHeader__actions { gap: 8px; }
  .storeHeader__sellBtn { padding: 8px 10px; font-size: 13px; }
  .storeHeader__cart { padding: 8px 10px; font-size: 13px; }
}
@media (max-width: 480px) {
  .storeHeader__sellBtn span, .storeHeader__cartLabel { display: none; }
}

/* ── Logo / Brand ── */
.brand--store { display: flex; align-items: center; gap: 12px; }
.brand__logo--store {
  width: 52px; height: 52px;
  border-radius: var(--radius2);
  display: grid; place-items: center;
  background: linear-gradient(145deg, #1a1060 0%, #2a1580 50%, #0d1850 100%);
  border: 2px solid var(--accent);
  box-shadow: var(--neon-glow);
  color: var(--accent);
  flex-shrink: 0;
}
.brand__name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #1a1d3a;
}
.brand__tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.storeSearchNote { text-align: center; font-size: 12px; color: var(--muted); }

.storeHeader__actions { display: flex; align-items: center; gap: 12px; }
.storeHeader__link {
  font-size: 14px; font-weight: 600;
  color: var(--muted); padding: 6px 10px;
  border-radius: var(--radius);
}
.storeHeader__link:hover { color: var(--text); background: var(--surface3); }
.storeHeader__cart {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: #fff;
  font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow);
}
.storeHeader__cart:hover {
  border-color: var(--accent);
  box-shadow: var(--neon-glow-sm);
}

.storeHeader__sellBtn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid rgba(24, 232, 255, 0.4);
  border-radius: var(--radius2);
  background: var(--accent-soft);
  font-weight: 800; font-size: 14px;
  color: #0066aa;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s, background 0.2s;
}
.storeHeader__sellBtn:hover {
  border-color: var(--accent);
  background: rgba(24, 232, 255, 0.18);
  color: #004488;
  box-shadow: var(--neon-glow-sm);
}

/* ── Kategori Menüsü ── */
.catNav {
  background: rgba(253, 252, 248, 0.98);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.catNav__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 2px; padding: 6px 0 8px;
}
.catNav__link {
  padding: 8px 12px;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  border-radius: var(--radius);
  border: 1px solid transparent;
}
.catNav__link:hover {
  color: var(--text);
  background: var(--surface3);
  border-color: var(--line);
}
.catNav__link--accent {
  margin-left: auto;
  background: var(--text);
  color: #fff !important;
  border: none;
  font-weight: 800;
}
.catNav__link--accent:hover { background: #2a2d5a; }
.catNav__link--sell {
  color: #0066aa; font-weight: 800;
  border-color: var(--line);
}
.catNav__link--sell:hover { background: var(--accent-soft); }

/* ── Promo Şerit ── */
.promoStrip {
  background: linear-gradient(90deg, rgba(24,232,255,0.06) 0%, rgba(24,232,255,0.03) 50%, rgba(24,232,255,0.06) 100%);
  border-bottom: 1px solid var(--line);
}
.promoStrip__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px; padding: 14px 0;
  font-size: 14px;
}
.promoStrip__stats { display: flex; flex-wrap: wrap; gap: 10px; }
.statPill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px;
  box-shadow: var(--shadow);
}
.statPill strong { margin-left: 6px; color: var(--accent); font-size: 15px; }

/* ── Ürünler Sayfası ── */
.app { padding: 20px 0 48px; }
.catalogPage { padding-bottom: 24px; }

.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { margin: 0 8px; opacity: 0.5; }

.pageHead { margin-bottom: 20px; }
.pageTitle { margin: 0 0 6px; font-size: 28px; font-weight: 900; letter-spacing: -0.02em; color: #ffffff; }
.pageLead { margin: 0; font-size: 15px; color: rgba(255,255,255,0.65); }

.catalogLayout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px; align-items: start;
}
@media (max-width: 900px) { .catalogLayout { grid-template-columns: 1fr; } }

.catalogAside { position: sticky; top: 80px; }
.asideBlock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 14px; margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.asideBlock--muted { background: var(--surface2); }
.asideBlock__title {
  margin: 0 0 10px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text);
}
.asideList { list-style: none; margin: 0; padding: 0; }
.asideList li { margin: 0; padding: 0; }
.asideList__link {
  display: block; padding: 8px 8px;
  font-size: 14px; font-weight: 600;
  color: var(--muted); border-radius: var(--radius);
}
.asideList__link:hover { background: var(--surface3); color: var(--text); }
.asideList__link--hot { color: #0066aa; font-weight: 700; }
.asideList__link--sell { color: #0066aa; font-weight: 700; }

/* ── Panel ── */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.storePanel__header { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.storePanel__h { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: var(--text); }
.panel__header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
}
.panel__tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.storePanel__tools {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: flex-end;
}
.search input { min-width: 200px; }

.chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  background: var(--surface2);
}
.chip {
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip--active {
  color: #fff; border-color: var(--text);
  background: var(--text);
}

.grid, .storeGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; padding: 18px;
}
@media (max-width: 980px) { .grid, .storeGrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid, .storeGrid { grid-template-columns: 1fr; } }

/* ── Ürün Kartı ── */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color: #ccc;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card__media {
  height: 190px;
  background: var(--surface2);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card__img--ph { background: var(--surface3); }
.card__body { padding: 14px; display: grid; gap: 10px; flex: 1; }
.card__title { font-weight: 700; font-size: 14px; line-height: 1.35; min-height: 2.7em; color: var(--text); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.row--big { font-size: 16px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 10px; background: var(--surface2);
  color: var(--muted); font-size: 11px; font-weight: 700;
}
.pill--soft { background: var(--surface3); }
.pill--star { color: #f0a800; border-color: rgba(240,168,0,0.3); }
.badge--hot { background: #f0a800; color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 800; }

.price { font-weight: 800; font-size: 20px; color: #1a1d3a; }
.card__actions { display: flex; gap: 8px; align-items: stretch; margin-top: auto; }
.card__actions .btn { flex: 1; }

/* ── Butonlar ── */
.btn {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 14px; background: #fff;
  cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px;
  font-weight: 700; font-size: 14px; color: var(--text);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--surface2); border-color: #bbb; }
.btn--primary {
  border: none;
  background: #1a1d3a;
  color: #fff; font-weight: 800;
}
.btn--primary:hover { background: #2a2d5a; transform: translateY(-1px); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--surface2); }
.btn--danger {
  border-color: rgba(255, 78, 106, 0.4);
  background: rgba(255, 78, 106, 0.06);
  color: var(--danger);
}
.btn--danger:hover { background: rgba(255, 78, 106, 0.12); }
.btn--full { width: 100%; }

.linkBtn {
  border: 1px solid var(--line); background: transparent;
  border-radius: var(--radius); padding: 10px 12px;
  cursor: pointer; color: var(--muted); font-weight: 600;
}
.linkBtn:hover { border-color: var(--danger); color: var(--danger); }

/* ── Ürün Detay ── */
.backlink { color: var(--muted); font-size: 14px; }
.backlink:hover { color: var(--text); }
.detail {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 24px; padding: 22px;
}
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } }
.mediaCard {
  border: 1px solid var(--line); border-radius: var(--radius2);
  min-height: 280px; background: var(--surface2);
  display: grid; place-items: center; padding: 20px;
}
.mediaCard--photo { padding: 12px; background: var(--surface2); }
.mediaCard__img { max-width: 100%; max-height: 320px; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.mediaCard__fallback { text-align: center; padding: 0 18px; }
.mediaMeta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.detail__body { display: grid; gap: 14px; }
.priceRow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bullets { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.6; }
.actionsRow { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty input { width: 56px; text-align: center; }
.iconBtn {
  width: 40px; height: 40px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
  cursor: pointer; font-size: 18px; line-height: 1; color: var(--text);
}
.iconBtn:hover { border-color: var(--text); }
.notice {
  border: 1px solid var(--line);
  background: var(--surface2);
  border-radius: var(--radius2); padding: 12px 14px;
  color: var(--muted); font-size: 14px;
}

/* ── Sepet ── */
.cart {
  display: grid; grid-template-columns: 1.2fr 0.85fr;
  gap: 18px; padding: 18px;
}
@media (max-width: 900px) { .cart { grid-template-columns: 1fr; } }
.cart__items { display: grid; gap: 12px; }
.cartItem {
  border: 1px solid var(--line); border-radius: var(--radius2);
  background: #fff; padding: 14px;
  display: grid; grid-template-columns: 88px 1fr auto;
  gap: 14px; align-items: center;
}
.cartItem__media {
  height: 76px; width: 88px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface2);
  overflow: hidden; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.cartItem__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cartItem__ph { width: 100%; height: 100%; background: var(--surface3); }
.cartItem__title { font-weight: 700; margin-bottom: 4px; color: var(--text); }
.cartItem__meta { color: var(--muted); font-size: 12px; }
.cartItem__right { display: grid; gap: 8px; justify-items: end; }
.summaryCard {
  border: 1px solid var(--line); border-radius: var(--radius2);
  background: #fff; padding: 16px;
  position: sticky; top: 100px; box-shadow: var(--shadow);
}
.summaryCard h3 { margin: 0 0 12px; font-size: 16px; font-weight: 800; }
.coupon { display: flex; gap: 10px; margin: 12px 0; }
.coupon input { flex: 1; }
.checkoutBox { margin: 12px 0; display: grid; gap: 10px; }
.checkoutBox > summary { list-style: none; }
.checkoutBox > summary::-webkit-details-marker { display: none; }
.checkoutForm { display: grid; gap: 12px; margin-top: 12px; }
.checkoutForm label { display: grid; gap: 6px; }
.checkoutForm label span { font-size: 12px; color: var(--muted); font-weight: 600; }
.legalCheck {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; line-height: 1.45; color: var(--text);
}
.legalCheck input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.legalCheck span { font-weight: 500; color: var(--text); }
.legalCheck a { color: #0b6bcb; text-decoration: underline; }
.legalPage { margin: 16px auto 32px; max-width: 860px; }
.legalDoc { padding: 8px 22px 28px; display: grid; gap: 10px; }
.legalDoc h3 { margin: 12px 0 0; font-size: 16px; }
.legalDoc p { margin: 0; color: var(--text); line-height: 1.65; }
.legalDoc a { color: #0b6bcb; text-decoration: underline; }
.formRow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bankBox {
  display: grid; gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface2);
  text-align: left;
}
.bankBox p { margin: 0; font-size: 14px; }
.bankBox strong { font-size: 14px; }
@media (max-width: 560px) { .formRow { grid-template-columns: 1fr; } }

/* ── Bize Sat Basit ── */
.sellPage { padding-bottom: 32px; }
.sellSimple {
  max-width: 520px; margin: 32px auto;
  text-align: center; display: grid; gap: 20px;
}
.sellSimple__lead { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; }
.sellSimple__items { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sellSimple__item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px 16px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.sellSimple__wa {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; background: #25d366; color: #fff;
  font-weight: 800; font-size: 18px; padding: 16px 32px;
  border-radius: var(--radius2); border: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: filter 0.2s, transform 0.2s;
}
.sellSimple__wa:hover { filter: brightness(1.1); transform: translateY(-2px); }
.sellSimple__note { color: var(--muted); font-size: 13px; margin: 0; }

/* ── Admin ── */
.admin {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; padding: 18px;
}
@media (max-width: 900px) { .admin { grid-template-columns: 1fr; } }
.adminForm, .adminList {
  border: 1px solid var(--line); border-radius: var(--radius2);
  background: var(--surface2); padding: 16px;
  display: grid; gap: 12px;
}
.adminForm label { display: grid; gap: 6px; }
.adminForm label span { font-size: 12px; color: var(--muted); font-weight: 600; }
.formActions { display: flex; gap: 10px; flex-wrap: wrap; }
.adminList__header h3 { margin: 0 0 6px; }
.adminTable { display: grid; gap: 8px; }
.adminRow {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px; align-items: center; background: #fff;
}
.adminRow__name { font-weight: 800; color: var(--text); }
.adminRow__meta { color: var(--muted); font-size: 12px; }
.adminRow__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.adminSellSection { margin: 0 18px 18px; padding: 16px; border-top: 1px solid var(--line); }
.adminRow--sell { grid-template-columns: 1fr auto; }
.sellStatusSelect { min-width: 140px; }

/* ── Order success page ── */
.orderSuccess { padding: 40px 0 60px; }
.orderSuccess__card {
  max-width: 480px; margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 48px 32px;
  box-shadow: var(--shadow-lg);
  display: grid; gap: 16px; place-items: center;
}
.orderSuccess__icon { line-height: 1; }
.orderSuccess__heading {
  margin: 0;
  font-size: 28px; font-weight: 800; color: var(--text);
}
.orderSuccess__orderId {
  margin: 0;
  font-size: 14px; color: var(--muted);
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 20px;
}
.orderSuccess__message {
  margin: 0;
  font-size: 15px; color: var(--muted); line-height: 1.6;
}

/* ── Catalog offline notice ── */
.catalogOfflineNotice {
  padding: 28px 18px;
  display: grid; gap: 8px; place-items: start;
  color: var(--muted);
}
.catalogOfflineNotice__icon { font-size: 22px; }
.catalogOfflineNotice p { margin: 0; }

/* ── Boş durum ── */
.empty { padding: 32px 18px; display: grid; gap: 10px; place-items: start; }
.empty__icon { font-size: 22px; }
.empty h3 { margin: 0; }
.empty p { margin: 0; color: var(--muted); }

/* ── Footer ── */
.footer--store {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, #f5f3ee 100%);
  padding: 32px 0 0; margin-top: 24px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px; padding-bottom: 24px;
}
@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links a { color: var(--muted); font-size: 14px; }
.footer__links a:hover { color: var(--text); }
.footer__links li { margin-bottom: 6px; }
.footer__bottom { border-top: 1px solid var(--line); padding: 14px 0 20px; color: var(--muted); }

/* ── Toast ── */
.toastHost { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 10px; z-index: 100; }
.toast {
  border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius2); padding: 14px 16px;
  box-shadow: var(--shadow-lg); min-width: 280px; font-size: 14px;
}
.toast strong { display: block; margin-bottom: 4px; color: var(--text); }

/* ── Badge ── */
.badge { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; }
.badge--cart { background: #1a1d3a; color: #fff; }

/* ── Kategori Bannerları ── */
.catBanners {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 20px;
}
@media (max-width: 900px) { .catBanners { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catBanners { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .catBanners { grid-template-columns: 1fr; } }
.catBanner {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  overflow: hidden;
}
.catBanner:hover { border-color: #bbb; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.catBanner__img { width: 90px; height: 70px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; background: var(--surface2); }
.catBanner__body { display: grid; gap: 3px; }
.catBanner__sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.catBanner__title { font-size: 16px; font-weight: 800; color: var(--text); }
.catBanner__cta { font-size: 13px; font-weight: 700; color: #0066aa; margin-top: 4px; }
.catBanner__cta span {
  display: inline-block; background: #0066aa; color: #fff;
  border-radius: 50%; width: 18px; height: 18px;
  text-align: center; line-height: 18px; font-size: 12px; margin-left: 4px;
}

/* ── Mobil ── */
@media (max-width: 560px) {
  .cartItem { grid-template-columns: 72px 1fr; }
  .cartItem__media { width: 72px; height: 64px; }
  .cartItem__right { grid-column: 1 / -1; justify-items: start; }
  .summaryCard { position: static; }
}

/* ── Resim Yükleme ── */
.imgUploadGroup {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.imgUploadGroup input[type="url"] {
  flex: 1;
  min-width: 160px;
}
.imgUploadOr {
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
}
.imgUploadBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s;
}
.imgUploadBtn:hover {
  border-color: var(--text);
}
.imgPreview {
  margin-top: 4px;
}

/* ════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVENESS
   768px = tablet  |  480px = phone  |  360px = small phone
   ════════════════════════════════════════════════ */

/* Prevent horizontal overflow globally */
html, body { overflow-x: hidden; }

/* ── Container: tighter horizontal padding on phone ── */
@media (max-width: 480px) {
  .container { padding: 0 8px; }
}

/* ── Preheader: hide on small phones to save vertical space ── */
@media (max-width: 480px) {
  .preheader { display: none; }
}

/* ── Header: compact 2-row layout ── */
@media (max-width: 768px) {
  .brand__logo--store { width: 40px; height: 40px; }
  .brand__name { font-size: 16px; }
}
@media (max-width: 480px) {
  .storeHeader__row { gap: 6px; padding: 7px 0; }
  .brand--store { gap: 7px; }
  .brand__logo--store { width: 30px; height: 30px; }
  .brand__name { font-size: 13px; }
  .brand__tag { display: none; }
  .storeHeader__actions { gap: 4px; }
  .storeHeader__sellBtn { padding: 6px 8px; font-size: 11px; gap: 3px; }
  .storeHeader__cart    { padding: 6px 8px; font-size: 11px; gap: 4px; }
  .storeHeader__sellBtn::after { content: 'Sat'; font-size: 11px; font-weight: 800; }
}

/* ── Category nav: horizontal scroll on mobile ── */
@media (max-width: 768px) {
  .catNav__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 3px 0 5px;
  }
  .catNav__inner::-webkit-scrollbar { display: none; }
  .catNav__link {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 12px;
    padding: 5px 9px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
  }
  .catNav__link--accent { margin-left: 4px; }
}

/* ── Promo strip: hide on phone to reclaim vertical space ── */
@media (max-width: 480px) {
  .promoStrip { display: none; }
}
@media (min-width: 481px) and (max-width: 768px) {
  .promoStrip__inner {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0;
    font-size: 12px;
  }
  .promoStrip__stats { gap: 5px; }
  .statPill { padding: 4px 9px; font-size: 11px; }
  .statPill strong { font-size: 12px; margin-left: 3px; }
}

/* ── Page head ── */
@media (max-width: 768px) {
  .pageTitle { font-size: 20px; }
  .pageLead  { font-size: 13px; }
}
@media (max-width: 480px) {
  .pageTitle { font-size: 17px; }
  .pageHead  { margin-bottom: 10px; }
  .app { padding: 12px 0 32px; }
}

/* ── Category banners: 2 per row on phones ── */
@media (max-width: 480px) {
  .catBanners {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    margin-bottom: 12px;
  }
  .catBanner {
    flex-direction: column;
    align-items: flex-start;
    padding: 7px;
    gap: 5px;
  }
  .catBanner__img   { width: 100%; height: 58px; border-radius: 6px; }
  .catBanner__title { font-size: 12px; line-height: 1.25; }
  .catBanner__sub   { font-size: 10px; }
  .catBanner__cta   { font-size: 10px; margin-top: 2px; }
}

/* ── Sidebar: hide on ≤900 px (catNav covers categories) ── */
@media (max-width: 900px) {
  .catalogAside { display: none; }
}

/* ── Panel header: stack controls vertically on tablet ── */
@media (max-width: 768px) {
  .panel__header,
  .storePanel__header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px;
  }
  .storePanel__tools {
    flex-direction: column;
    align-items: stretch;
  }
  .storePanel__tools .search        { width: 100%; }
  .storePanel__tools .search input  { width: 100%; min-width: 0; }
  .storePanel__tools select         { width: 100%; min-width: 0; }
  .panel__tools { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .panel__header,
  .storePanel__header { padding: 8px 10px; gap: 8px; }
  .storePanel__h { font-size: 15px; }
}

/* ── Chips filter bar: scroll horizontally ── */
@media (max-width: 768px) {
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 10px;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; padding: 5px 10px; font-size: 12px; }
}

/* ── Product grid: 2 columns on phone ── */
@media (max-width: 768px) {
  .grid, .storeGrid { padding: 10px; gap: 10px; }
}
/* Override the 560px single-column rule; force 2 cols on phones */
@media (max-width: 480px) {
  .grid, .storeGrid {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 8px;
    gap: 8px;
  }
  .card__media  { height: 140px; }
  .card__body   { padding: 8px; gap: 5px; }
  .card__title  {
    font-size: 11px;
    min-height: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
  }
  .price { font-size: 14px; }
  .pill  { padding: 2px 7px; font-size: 10px; }
  .card__actions         { flex-direction: column; gap: 4px; }
  .card__actions .btn    { font-size: 11px; padding: 6px 6px; min-height: 34px; }
}
/* Very small phones (360px) */
@media (max-width: 380px) {
  .card__media { height: 120px; }
  .card__body  { padding: 6px; gap: 4px; }
  .card__title { font-size: 10px; }
  .price       { font-size: 13px; }
}

/* ── Product detail ── */
@media (max-width: 768px) {
  .detail { padding: 12px; gap: 14px; }
  .mediaCard { min-height: 180px; }
  .priceRow  { flex-wrap: wrap; gap: 4px; }
  .actionsRow {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .actionsRow .btn--primary { width: 100%; }
  .qty { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .detail  { padding: 8px; gap: 8px; }
  .bullets { padding-left: 14px; font-size: 13px; }
  .mediaCard__img { max-height: 220px; }
}

/* ── Cart ── */
@media (max-width: 768px) {
  .cart { padding: 10px; gap: 10px; }
}
@media (max-width: 480px) {
  .cart { padding: 8px; }
  .cartItem {
    grid-template-columns: 62px 1fr;
    gap: 8px;
    padding: 8px;
  }
  .cartItem__media { width: 62px; height: 52px; }
  .cartItem__title { font-size: 13px; }
  .cartItem__right {
    grid-column: 1 / -1;
    justify-items: start;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }
  .summaryCard { padding: 10px; }
  .coupon { flex-direction: column; }
  .coupon input { width: 100%; }
  .coupon .btn  { width: 100%; justify-content: center; }
}

/* ── Admin panel ── */
@media (max-width: 768px) {
  .admin { padding: 10px; gap: 10px; }
  .adminRow {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .adminRow__actions  { justify-content: flex-start; }
  .adminSellSection   { margin: 0 10px 10px; padding: 10px; }
  .sellStatusSelect   { min-width: 0; width: 100%; }
}
@media (max-width: 480px) {
  .adminForm, .adminList { padding: 10px; }
  .formActions              { flex-direction: column; }
  .formActions .btn         { width: 100%; justify-content: center; }
}

/* ── Sell page ── */
@media (max-width: 480px) {
  .sellSimple     { margin: 14px auto; padding: 0 4px; }
  .sellSimple__wa {
    font-size: 15px;
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
  }
  .sellSimple__items { gap: 7px; }
  .sellSimple__item  { padding: 6px 10px; font-size: 12px; }
}

/* ── Footer ── */
@media (max-width: 768px) {
  .footer--store { padding: 16px 0 0; }
  .footer__grid  { gap: 12px; padding-bottom: 12px; }
}

/* ── Toast: full-width on phone ── */
@media (max-width: 480px) {
  .toastHost { right: 8px; left: 8px; bottom: 12px; }
  .toast     { min-width: 0; width: 100%; }
}

/* ── Tap targets: sensible minimum on touch screens ── */
@media (max-width: 768px) {
  .btn     { min-height: 42px; }
  .iconBtn { width: 44px; height: 44px; }
}
@media (max-width: 480px) {
  /* Smaller tap targets are OK inside compact card layouts */
  .btn { min-height: 36px; }
}
