/* ═══════════════════════════════════════════════════════════
   MTA ELEKTRİK — FRONTEND CSS v6.0
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;0,9..40,900;1,9..40,900&display=swap');

/* ── CSS DEĞİŞKENLERİ (JS ile güncellenir) ─────────────── */
:root {
  --ticker-h: 28px;
  --bg-app:      #f8fafc;
  --bg-card:     #ffffff;
  --bg-input:    #f1f5f9;
  --bg-header:   rgba(255,255,255,0.97);
  --bg-sub:      #f8fafc;
  --bg-inv:      #0f172a;
  --text-main:   #0f172a;
  --text-muted:  #64748b;
  --text-inv:    #ffffff;
  --border:      #e2e8f0;
  --color-primary:        #6366f1;
  --color-primary-light:  rgba(99,102,241,0.1);
  --color-primary-border: #6366f1;
  --color-primary-rgb:    99,102,241;
  --header-h:    64px;
  --radius-card: 20px;
  --radius-btn:  12px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-float:0 8px 32px rgba(0,0,0,0.12);
  --transition:  0.2s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET & TEMEL ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  background: var(--bg-app);
  color: var(--text-main);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

/* ── ANİMASYONLAR ───────────────────────────────────────── */
@keyframes slideDown  { from { opacity:0; transform:translateY(-10px) } to { opacity:1; transform:translateY(0) } }
@keyframes slideUp    { from { opacity:0; transform:translateY(10px)  } to { opacity:1; transform:translateY(0) } }
@keyframes fadeIn     { from { opacity:0 } to { opacity:1 } }
@keyframes pulse      { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes spin       { to { transform:rotate(360deg) } }
@keyframes shimmer    { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
@keyframes bounceIn   { 0%{transform:scale(0.5);opacity:0} 70%{transform:scale(1.05)} 100%{transform:scale(1);opacity:1} }

.anim-slide-down  { animation: slideDown  0.25s ease both; }
.anim-slide-up    { animation: slideUp    0.35s ease both; }
.anim-fade-in     { animation: fadeIn     0.3s  ease both; }
.anim-bounce-in   { animation: bounceIn   0.4s  cubic-bezier(0.34,1.56,0.64,1) both; }

/* ── YÜKLEME İSKELETİ ───────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-input) 25%, var(--bg-card) 50%, var(--bg-input) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ── HEADER ─────────────────────────────────────────────── */
#mta-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  transition: top 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,0.06);
  transition: background var(--transition);
}
#mta-header .header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: visible;
}
.header-logo {
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  flex-shrink: 0; text-decoration: none;
}
.header-logo-icon {
  width: 42px; height: 42px;
  background: var(--color-primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb),0.4);
  transition: transform var(--transition);
}
.header-logo:hover .header-logo-icon { transform: scale(1.05); }
.header-logo-text {
  font-weight: 900; font-size: 20px;
  color: var(--text-main);
  font-style: italic; letter-spacing: -0.5px;
}
.header-logo-text span { color: var(--color-primary); }

.header-cats {
  display: flex; gap: 4px; flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.header-cats::-webkit-scrollbar { display: none; }
.header-cat-btn {
  flex-shrink: 0;
  font-size: 9px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 2px;
  padding: 6px 12px; border-radius: 8px;
  border: none; background: transparent;
  color: var(--text-muted); cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.header-cat-btn.active,
.header-cat-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Arama */
.header-search-wrap {
  position: relative;
  display: flex; align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 12px; gap: 8px;
  flex: 1;
  min-width: 80px;
  max-width: 260px;
  transition: border-color var(--transition);
}
.header-search-wrap:focus-within {
  border-color: var(--color-primary);
}
.header-search-input {
  flex: 1; font-size: 11px; font-weight: 500;
  background: transparent; border: none;
  color: var(--text-main); outline: none;
}
.header-search-input::placeholder { color: var(--text-muted); }
.header-search-clear {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); padding: 0;
  display: flex; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.header-search-wrap.has-value .header-search-clear {
  opacity: 1; pointer-events: auto;
}

/* Arama dropdown */
#search-dropdown {
  position: absolute;
  top: calc(100% + 8px); left: 0; right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-float);
  z-index: 600;
  overflow: hidden;
  display: none;
  animation: slideDown 0.2s ease;
}
#search-dropdown.open { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  text-decoration: none; color: inherit;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-input); }
.search-result-item img {
  width: 36px; height: 36px;
  border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-name {
  font-size: 10px; font-weight: 700;
  color: var(--text-main);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-result-brand {
  font-size: 9px; font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 1px;
}
.search-result-price {
  font-size: 11px; font-weight: 900;
  color: var(--text-main); flex-shrink: 0;
}
.search-see-all {
  padding: 8px 12px; text-align: center;
  font-size: 10px; font-weight: 700;
  color: var(--color-primary); cursor: pointer;
  background: var(--bg-sub);
  transition: background var(--transition);
}
.search-see-all:hover { background: var(--color-primary-light); }

/* Header sağ butonlar */
.header-actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.btn-header {
  display: flex; align-items: center; gap: 6px;
  height: 36px; border: none; cursor: pointer;
  font-family: inherit; font-weight: 900; font-size: 9px;
  text-transform: uppercase; letter-spacing: 1px;
  border-radius: var(--radius-btn);
  transition: all var(--transition);
}
.btn-header-primary {
  background: var(--color-primary); color: #fff;
  padding: 0 12px;
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb),0.3);
}
.btn-header-ghost {
  background: var(--bg-card); color: var(--text-main);
  border: 1px solid var(--border) !important;
  padding: 0 12px;
}
.btn-header-icon {
  width: 36px; height: 36px;
  background: var(--bg-card); color: var(--text-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 11px; cursor: pointer;
  position: relative;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: all var(--transition);
}
.btn-header-icon:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-header-user {
  background: var(--bg-inv); color: var(--text-inv);
  border: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  width: 16px; height: 16px;
  background: var(--color-primary); color: #fff;
  font-size: 8px; font-weight: 900;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: bounceIn 0.3s ease;
}

/* ── TICKER ─────────────────────────────────────────────── */
#mta-ticker {
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  z-index: 499;
  background: var(--color-primary);
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  height: 30px;
  line-height: 30px;
}
.ticker-track {
  display: inline-flex; gap: 60px;
  animation: tickerScroll 30s linear infinite;
}
@keyframes tickerScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase; letter-spacing: 2px;
}

/* ── ANA İÇERİK ─────────────────────────────────────────── */
/* Desktop: header(64) + ticker(30) = 94px */
#mta-main {
  padding-top: 0;
  min-height: 100vh;
  padding-bottom: 24px;
  margin-top: 0;
}

/* Mobil: header(56) + ticker(30) = 86px */
@media (max-width: 768px) {
  #mta-ticker { top: 56px; }
  #mta-main   { padding-top: 0; }
}

/* Padding sıfır, banner-wrap kendi margin ile içerik başlatır */

/* Admin Bar - Desktop: sadece header ve ticker konumlandır */
.admin-bar #mta-header { top: 32px; }
.admin-bar #mta-ticker { top: 96px !important; } /* 32+64 */

/* Admin Bar - Mobil: sadece header ve ticker konumlandır */
@media screen and (max-width: 782px) {
  .admin-bar #mta-header { top: 46px; }
  .admin-bar #mta-ticker { top: 102px !important; } /* 46+56 */
}
/* NOT: .admin-bar için #mta-main padding-top AYARLANMIYOR.
   WordPress html { margin-top: 32px/46px } otomatik ofset uygular. */

/* WooCommerce wrapper — kendi margin/padding eklemesin */
.mta-woo-wrap {
  margin: 0 !important;
  padding: 0 !important;
}

/* WooCommerce'in eklediği varsayılan boşlukları sıfırla */
.woocommerce-page #mta-main,
.woocommerce #mta-main {
  padding-top: inherit;
}
.woocommerce-notices-wrapper { margin: 0; padding: 0; min-height: 0; }

/* ── BANNER SLIDER ──────────────────────────────────────── */
.banner-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 8px 12px 12px;
}

/* İlk içerik alanı — header+ticker kadar padding-top */
.banner-wrap:first-child,
.cats-section:first-child,
.mta-woo-wrap > *:first-child,
#mta-main > .banner-wrap:first-child,
#mta-main > .mta-archive-banner:first-child {
  padding-top: 94px; /* desktop: 64+30 */
}
@media (max-width: 768px) {
  .banner-wrap:first-child,
  .cats-section:first-child,
  .mta-woo-wrap > *:first-child,
  #mta-main > .banner-wrap:first-child,
  #mta-main > .mta-archive-banner:first-child {
    padding-top: 86px; /* mobil: 56+30 */
  }
}
.banner-slider {
  position: relative; border-radius: 20px;
  overflow: hidden; height: 220px;
  background: linear-gradient(135deg, #1e3a5f, #1e40af); /* fallback */
}
.banner-slide {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
  opacity: 0; transform: scale(1.04);
  transition: opacity 1s ease, transform 1s ease;
}
.banner-slide:nth-child(2) { background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%); }
.banner-slide:nth-child(3) { background: linear-gradient(135deg, #064e3b 0%, #065f46 100%); }
.banner-slide.active { opacity: 1; transform: scale(1); }
.banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.banner-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; padding: 0 48px;
}
.banner-tag {
  display: inline-flex; align-items: center;
  background: var(--color-primary); color: #fff;
  font-size: 9px; font-weight: 900;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 8px;
  width: fit-content; margin-bottom: 16px;
}
.banner-title {
  font-size: 40px; font-weight: 900; font-style: italic;
  color: #fff; letter-spacing: -2px; line-height: 1;
  margin: 0 0 10px;
}
.banner-sub {
  color: rgba(255,255,255,0.8); font-size: 13px;
  margin: 0 0 20px; max-width: 400px;
}
.banner-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #0f172a;
  border: none; padding: 10px 20px; border-radius: 12px;
  font-weight: 900; font-size: 11px;
  text-transform: uppercase; letter-spacing: 2px;
  cursor: pointer; width: fit-content;
  text-decoration: none;
  transition: transform var(--transition);
}
.banner-cta:hover { transform: translateY(-2px); }
.banner-dots {
  position: absolute; bottom: 16px; right: 20px;
  display: flex; gap: 6px;
}
.banner-dot {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.banner-dot.active {
  width: 24px; background: var(--color-primary);
}
.banner-dot:not(.active) { width: 6px; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.2); border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
  z-index: 2;
}
.banner-arrow:hover { background: rgba(255,255,255,0.35); }
.banner-arrow.prev { left: 12px; }
.banner-arrow.next { right: 12px; }

/* ── GÜVEN ŞERİDİ ───────────────────────────────────────── */
.trust-bar {
  background: var(--color-primary);
  padding: 10px 16px; margin-bottom: 16px;
}
.trust-bar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 32px;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 10px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 2px;
}
.trust-item svg { opacity: 0.8; }

/* ── KATEGORİLER ────────────────────────────────────────── */
.cats-section {
  max-width: 1280px; margin: 0 auto;
  padding: 0 16px 16px;
}
.cats-section h2 {
  font-size: 16px; font-weight: 900;
  color: var(--text-main); margin: 0 0 10px;
  letter-spacing: -0.5px;
}
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px,1fr));
  gap: 10px;
}
.cat-btn {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  padding: 12px 8px; border-radius: 16px;
  border: 2px solid var(--border);
  background: var(--bg-card); cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.cat-btn:hover, .cat-btn.active {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}
.cat-btn .cat-icon { font-size: 22px; }
.cat-btn .cat-label {
  font-size: 8px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 1px;
  text-align: center; line-height: 1.3;
  color: var(--text-muted);
}
.cat-btn.active .cat-label { color: var(--color-primary); }

/* ── TOOLBAR ────────────────────────────────────────────── */
.shop-toolbar {
  max-width: 1280px; margin: 0 auto;
  padding: 0 16px 16px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.shop-toolbar-count { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.toolbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.toolbar-select {
  font-size: 11px; font-weight: 700;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-main); padding: 8px 12px;
  border-radius: 10px; outline: none; cursor: pointer;
}
.toolbar-view-toggle {
  display: flex; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden;
}
.toolbar-view-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent;
  color: var(--text-muted); cursor: pointer;
  transition: all var(--transition);
}
.toolbar-view-btn.active {
  background: var(--color-primary); color: #fff;
}

/* ── ÜRÜN GRİD ──────────────────────────────────────────── */
.products-section { max-width: 1280px; margin: 0 auto; padding: 0 16px 40px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px,1fr));
  gap: 16px;
}
.products-list { display: flex; flex-direction: column; gap: 12px; }
/* ── LİSTE GÖRÜNÜMÜ ─────────────────────────────────────── */


/* ════════════════════════════════════════════════════════════
   ÜRÜN KARTI — v2 (Temiz, mobil öncelikli)
   Resim büyük · Sadece marka+isim+fiyat+sepet+favori+AI
   ════════════════════════════════════════════════════════════ */

.product-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible; /* btn-fav dışarı taşıyor, hidden olmamalı */
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  color: inherit;
  text-decoration: none;
}
.product-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(var(--color-primary-rgb),0.13);
}

/* ── GÖRSEL ALANI — %75 kart yüksekliği ─────────────────── */
.product-card-img-wrap {
  position: relative;
  overflow: visible;
  background: transparent;
  /* Sabit yükseklik — bilgi alanı için yer bırak */
  height: 160px;
  flex-shrink: 0;
}
/* Resmi kırpan iç katman */
.product-card-img-wrap a {
  display: block;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 2px) calc(var(--radius-card) - 2px) 0 0;
  background: var(--bg-input);
  position: relative;
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  transition: transform 0.35s ease;
  display: block;
}
.product-card:hover .product-card-img { transform: scale(1.04); }
/* Hover'da a tag sınırını aşmasın */
.product-card-img-wrap a { overflow: hidden; }

/* ── ROZET — sol üst ─────────────────────────────────────── */
.product-badge {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 9px; font-weight: 900;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; color: #fff;
  z-index: 2;
  pointer-events: none;
}

/* ── FAVORİ — sağ üst ────────────────────────────────────── */
.btn-fav {
  position: absolute;
  top: 8px; right: 8px;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  border: none !important;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.15s, background 0.15s;
  z-index: 4; /* product-card'a göre, img-wrap overflow'dan bağımsız */
}
.btn-fav:hover   { transform: scale(1.12); }
.btn-fav.active  { background: #ef4444 !important; }

/* ── AI BUTONU — sağ alt ─────────────────────────────────── */
.btn-ai {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--color-primary);
  border: none !important;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb),0.35);
  transition: transform 0.15s;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s, transform 0.2s;
}
.product-card:hover .btn-ai {
  opacity: 1;
  transform: scale(1);
}

/* ── SON STOK badge ─────────────────────────────────────── */
.stock-badge {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(239,68,68,0.9);
  color: #fff; font-size: 9px; font-weight: 900;
  padding: 2px 7px; border-radius: 5px;
  z-index: 2;
  pointer-events: none;
}

/* ── STOK TÜKENDİ overlay ───────────────────────────────── */
.out-of-stock-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.42);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.out-of-stock-label {
  background: rgba(255,255,255,0.95); color: #0f172a;
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 2px; padding: 6px 14px; border-radius: 10px;
}

/* ── BİLGİ ALANI ────────────────────────────────────────── */
.product-card-body {
  display: flex;
  flex-direction: column;
  padding: 8px 10px 10px;
  gap: 3px;
  min-width: 0;
}
.product-brand {
  font-size: 9px; font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 1.5px;
  line-height: 1;
}
a.product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px; font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  text-decoration: none;
}

/* ── FOOTER: fiyat + sepet ───────────────────────────────── */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  gap: 8px;
}
.product-meta-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.badge-stock-in  { background: rgba(16,185,129,0.1); color: #059669; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
.badge-stock-out { background: rgba(239,68,68,0.1);  color: #dc2626; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
.badge-cargo     { background: rgba(99,102,241,0.08); color: var(--color-primary); font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 5px; white-space: nowrap; }

.product-price-wrap { min-width: 0; }
.product-price-old {
  font-size: 10px; color: var(--text-muted);
  text-decoration: line-through;
  line-height: 1;
}
.product-price {
  font-size: 15px; font-weight: 900;
  color: var(--text-main); letter-spacing: -0.5px;
  line-height: 1.2;
  white-space: nowrap;
}

/* ── SEPETE EKLE ────────────────────────────────────────── */
.btn-add-cart {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--color-primary);
  color: #fff;
  border: none !important;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb),0.35);
  transition: transform 0.15s, background 0.15s;
  flex-shrink: 0;
}
.btn-add-cart:hover    { transform: scale(1.08); }
.btn-add-cart:disabled { opacity: 0.45; cursor: not-allowed !important; transform: none; box-shadow: none; }
.btn-add-cart.added    { background: #10b981 !important; }

/* ── LİSTE GÖRÜNÜMÜ ─────────────────────────────────────── */
.products-list { display: flex; flex-direction: column; gap: 10px; }

.products-list .product-card {
  flex-direction: row !important;
  min-height: 100px;
}
.products-list .product-card-img-wrap {
  width: 110px !important;
  min-width: 110px !important;
  height: 110px !important;
  border-radius: var(--radius-card) 0 0 var(--radius-card);
}
.products-list .product-card-img-wrap a {
  border-radius: calc(var(--radius-card) - 2px) 0 0 calc(var(--radius-card) - 2px) !important;
}
.products-list .product-card-body {
  padding: 10px 42px 10px 12px; /* sağda favori/AI için boşluk */
  gap: 4px;
  justify-content: center;
}
.products-list a.product-name {
  font-size: 12px;
  -webkit-line-clamp: 2;
  min-height: unset;
}
.products-list .product-price { font-size: 14px; }
.products-list .btn-fav {
  top: 8px; right: 8px;
  width: 28px; height: 28px;
}
.products-list .btn-ai {
  bottom: 8px; right: 8px;
  opacity: 1;
  transform: scale(1);
  width: 24px; height: 24px;
}
.products-list .product-card:hover { transform: translateX(2px) translateY(0); }

/* ── MOBİL ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 8px;
  }
  /* Mobil kart resim alanı */
  .product-card-img-wrap { height: 140px; }
  /* Mobilde AI butonu her zaman görünür */
  .product-card .btn-ai {
    opacity: 1;
    transform: scale(1);
  }
  .btn-add-cart { width: 32px; height: 32px; min-width: 32px; border-radius: 9px; }
  .btn-fav { width: 28px; height: 28px; border-radius: 8px; }
  .product-price { font-size: 13px; }
  a.product-name { font-size: 11px; }
  .product-brand { font-size: 8px; }
}


/* ── FREE ROAM CANVAS KARTLARI ───────────────────────────── */
.roam-canvas .product-card {
  cursor: grab !important;
  user-select: none;
  flex-direction: column !important;
  height: auto !important;
}
/* Roam'da tüm buton ve linkler tıklanabilir */
.roam-canvas .btn-fav,
.roam-canvas .btn-ai,
.roam-canvas .btn-add-cart,
.roam-canvas a.product-name,
.roam-canvas .product-card-img-wrap a {
  pointer-events: all !important;
  cursor: pointer !important;
}
/* Roam'da AI butonu her zaman görünür */
.roam-canvas .btn-ai {
  opacity: 1 !important;
  transform: scale(1) !important;
}
.roam-canvas .product-card-img-wrap {
  aspect-ratio: 1/1 !important;
  width: 100% !important;
}

/* ── GALERİ LIGHTBOX ────────────────────────────────────── */
#gallery-lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,0.95);
  display: none; align-items: center; justify-content: center;
}
#gallery-lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox-btn {
  position: absolute;
  width: 48px; height: 48px; background: rgba(255,255,255,0.1);
  border: none; border-radius: 12px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
}
.lightbox-btn:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 10px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-dots {
  position: absolute; bottom: 24px;
  display: flex; gap: 8px;
}
.lightbox-dot {
  height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: all var(--transition);
}
.lightbox-dot.active { width: 24px; background: var(--color-primary); }
.lightbox-dot:not(.active) { width: 8px; }

/* ── PROFİL / HESABIM ───────────────────────────────────── */
.profile-page { background: var(--bg-app); min-height: 100vh; padding-top: calc(var(--header-h) + 30px); }
.profile-inner { max-width: 800px; margin: 0 auto; padding: 32px 16px; }
.profile-header-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 24px;
  margin-bottom: 20px; display: flex; align-items: center; gap: 20px;
}
.profile-avatar {
  width: 64px; height: 64px; background: var(--color-primary);
  border-radius: 18px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 22px;
  box-shadow: 0 4px 16px rgba(var(--color-primary-rgb),0.4);
}
.profile-name { font-weight: 900; color: var(--text-main); font-size: 18px; }
.profile-email { font-size: 12px; color: var(--text-muted); }
.profile-company { font-size: 11px; color: var(--color-primary); font-weight: 700; margin-top: 2px; }
.profile-tabs {
  display: flex; gap: 4px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 6px; margin-bottom: 20px;
}
.profile-tab {
  flex: 1; padding: 8px 4px; border-radius: 10px; border: none;
  font-weight: 900; font-size: 11px; cursor: pointer;
  background: transparent; color: var(--text-muted);
  transition: all var(--transition); font-family: inherit;
}
.profile-tab.active { background: var(--color-primary); color: #fff; }

/* ── ADMİN PANELİ ───────────────────────────────────────── */
.admin-page { background: var(--bg-app); min-height: 100vh; padding-top: calc(var(--header-h) + 30px); }
.admin-inner { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }
.admin-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 6px; margin-bottom: 20px;
}
.admin-tab {
  padding: 8px 16px; border-radius: 10px; border: none;
  font-weight: 900; font-size: 10px; cursor: pointer;
  background: transparent; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  transition: all var(--transition); font-family: inherit;
}
.admin-tab.active { background: var(--color-primary); color: #fff; }
.ai-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 20px;
}
.ai-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ai-card-icon {
  width: 36px; height: 36px; background: var(--color-primary);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 16px;
}
.ai-card-title { font-weight: 900; color: var(--text-main); font-size: 13px; }
.ai-card-sub { font-size: 10px; color: var(--text-muted); }
.ai-result-box {
  background: var(--bg-sub); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px; font-size: 10px;
  color: var(--text-main); min-height: 60px;
  white-space: pre-wrap; font-family: monospace; line-height: 1.6;
}
/* KGP Terminal */
.kgp-terminal {
  border-radius: 20px; padding: 24px;
  background: linear-gradient(135deg, #050d1a, #0a1628);
  border: 1px solid rgba(0,255,136,0.15);
}
.kgp-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #00ff88; animation: pulse 2s infinite;
}
.kgp-title { font-family: monospace; font-size: 13px; font-weight: 700; color: #00ff88; }
.kgp-version { font-family: monospace; font-size: 11px; color: rgba(0,255,136,0.4); }
.kgp-stat-box {
  background: rgba(0,255,136,0.04); border: 1px solid rgba(0,255,136,0.1);
  border-radius: 12px; padding: 14px; text-align: center;
}
.kgp-stat-val { font-family: monospace; font-weight: 900; font-size: 22px; color: #00ff88; }
.kgp-stat-label { font-size: 11px; margin-top: 4px; color: rgba(0,255,136,0.5); }
.kgp-test-btn {
  text-align: left; background: rgba(0,255,136,0.05);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 12px; padding: 16px; cursor: pointer;
  transition: all var(--transition); width: 100%;
}
.kgp-test-btn:hover { background: rgba(0,255,136,0.1); }
.kgp-test-title { font-family: monospace; font-weight: 700; font-size: 13px; color: #00ff88; margin-bottom: 4px; }
.kgp-test-sub { font-family: monospace; font-size: 10px; color: rgba(0,255,136,0.5); }
.kgp-log {
  background: #000; border: 1px solid rgba(0,255,136,0.1);
  border-radius: 12px; padding: 16px; font-family: monospace;
  font-size: 11px; line-height: 1.8; white-space: pre-wrap;
  color: #00ff88; min-height: 120px;
}

/* ── SCROLL TO TOP ──────────────────────────────────────── */
#scroll-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 440;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--color-primary); border: none; color: #fff;
  display: none; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(var(--color-primary-rgb),0.4);
  transition: all var(--transition);
  animation: bounceIn 0.4s ease;
}
#scroll-to-top.visible { display: flex; }
#scroll-to-top:hover { transform: translateY(-4px); }

/* ── MOBİL BOTTOM NAV ───────────────────────────────────── */
#mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 450; background: var(--bg-header);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  padding: 8px 4px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
.mobile-nav-inner { display: flex; align-items: center; }
.mobile-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  background: none; border: none; cursor: pointer;
  padding: 4px 0; position: relative; font-family: inherit;
}
.mobile-nav-icon-wrap {
  width: 36px; height: 36px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.mobile-nav-item.active .mobile-nav-icon-wrap {
  background: var(--color-primary-light);
}
.mobile-nav-label {
  font-size: 8px; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.5px;
  transition: color var(--transition);
}
.mobile-nav-item.active .mobile-nav-label { color: var(--color-primary); font-weight: 900; }
.mobile-nav-badge {
  position: absolute; top: 0; right: calc(50% - 18px);
  width: 16px; height: 16px; background: var(--color-primary);
  color: #fff; font-size: 8px; font-weight: 900;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* ── HESAP MAKİNESİ PANELİ ─────────────────────────────── */
#calc-panel {
  position: fixed; inset: 0; z-index: 800;
  display: none; align-items: flex-end; justify-content: center;
}
#calc-panel.open { display: flex; }
.calc-drawer {
  position: relative; width: 100%; max-width: 360px;
  background: var(--bg-card); border-radius: 20px 20px 0 0;
  padding: 24px; box-shadow: 0 -8px 48px rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  animation: slideUp 0.35s ease;
}
.calc-display {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px; margin-bottom: 16px;
  text-align: right;
}
.calc-expr { font-size: 12px; color: var(--text-muted); min-height: 18px; }
.calc-result { font-size: 28px; font-weight: 900; color: var(--text-main); letter-spacing: -1px; }
.calc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
/* calc-btn → aşağıda tam tanım */
.calc-btn-span2 { grid-column: span 2; }

/* ── BOŞLUK VE YARDIMCI ─────────────────────────────────── */
.page-container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.card-pad { padding: 20px; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.w-full { width: 100%; }
.empty-state {
  padding: 60px 20px; text-align: center;
}
.empty-state-icon { margin: 0 auto 16px; opacity: 0.3; display: block; }
.empty-state-title { font-weight: 900; color: var(--text-main); font-size: 16px; margin: 0 0 16px; }

/* ── MOBİL RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
  :root { --header-h: 56px; }

  body { padding-bottom: 72px; }

  /* Boşluk JS tarafından dinamik hesaplanır */

  /* Header */
  .header-cats { display: none; }
  .header-search-wrap { width: auto; flex: 1; min-width: 60px; }
  /* Mobilde Free Roam ve AI butonları bottom nav'da var — header'da gizle */
  #btn-free-roam { display: none; }
  .btn-header.btn-header-ghost { display: none; }
  /* Header-inner flex wrap olmasın */
  #mta-header .header-inner { flex-wrap: nowrap; overflow: hidden; gap: 6px; }
  .header-actions { gap: 4px; }
  .header-search-wrap:focus-within { width: auto; }
  .btn-header-primary { display: none; }

  /* AI butonu mobil bottom nav'da zaten var — header'dan kaldır */
  #btn-ai-open { display: none; }

  /* Logo küçült — arama alanı için yer aç */
  .header-logo-icon { width: 36px; height: 36px; }
  .header-logo-text { font-size: 16px; }

  /* Mobil nav görünür */
  #mobile-bottom-nav { display: block; }
  #scroll-to-top { bottom: 90px; right: 16px; }

  /* Banner */
  .banner-slider { height: 200px; }
  .banner-content { padding: 0 20px; }
  .banner-title { font-size: 24px; }
  .banner-sub { font-size: 11px; max-width: 100%; }
  .banner-tag { margin-bottom: 10px; }
  .banner-wrap { padding: 4px 12px 12px; }

  /* Trust bar — gap küçült, sığsın */
  .trust-bar-inner { gap: 16px; }

  /* Ürün grid */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Ürün detay */
  .product-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-gallery-main { height: 280px; aspect-ratio: auto; }

  /* Sepet ve checkout */
  .cart-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .cart-summary-card { position: static; }
  .form-grid-2 { grid-template-columns: 1fr; }

  /* Dock sol panel - mobilde FAB olarak göster (aşağıda override edildi) */

  /* Toolbar */
  .shop-toolbar { flex-direction: column; align-items: flex-start; }
  .toolbar-right { width: 100%; }
  .toolbar-select { flex: 1; }

  /* Related */
  .related-section .products-grid { grid-template-columns: repeat(2,1fr); }

  /* Panel drawers */
  .panel-drawer { width: 100%; }
  .theme-panel { width: 100%; }

  /* Profil */
  .profile-header-card { flex-direction: column; text-align: center; }
  .profile-header-card > div:last-child { flex-direction: column; }

  /* Admin */
  .admin-tabs { gap: 4px; }
  .admin-tab { padding: 6px 10px; font-size: 9px; }
}

@media (max-width: 480px) {
  .banner-wrap { padding: 8px 10px 12px; }
  .banner-slider { height: 185px; }
  .banner-title { font-size: 20px; letter-spacing: -1px; }
  .banner-cta { padding: 8px 14px; font-size: 10px; }
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .delivery-grid { grid-template-columns: repeat(3,1fr); }
  .cart-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 12px; }
}

/* ── GİRİŞ / KAYIT ──────────────────────────────────────── */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 640px; margin: 0 auto; }
@media (max-width: 640px) { .auth-grid { grid-template-columns: 1fr; } }

/* ── PROMOSYON KARTLARI ─────────────────────────────────── */
.promo-card {
  border-radius: 18px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.promo-card-badge {
  display: inline-block;
  font-size: 9px; font-weight: 900;
  background: rgba(255,255,255,0.25); color: #fff;
  padding: 3px 10px; border-radius: 20px;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 8px;
}
.promo-card-title {
  font-size: 22px; font-weight: 900;
  color: #fff; letter-spacing: -0.5px;
}
.promo-card-sub {
  font-size: 12px; color: rgba(255,255,255,0.85); margin-top: 4px;
}
.promo-card-btn {
  background: rgba(255,255,255,0.2); color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 22px; border-radius: 11px;
  font-weight: 900; font-size: 12px;
  cursor: pointer; flex-shrink: 0;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
  display: inline-block;
}
.promo-card-btn:hover { background: rgba(255,255,255,0.35); }
@media (max-width: 480px) {
  .promo-card { padding: 16px 20px; }
  .promo-card-title { font-size: 18px; }
}

/* Admin bar kuralları yukarıda tanımlı */

/* ════════════════════════════════════════════════════════════
   HATA DÜZELTMELERİ — v8-fix3
   ════════════════════════════════════════════════════════════ */

/* ── 1) MOBİL SAĞA TAŞMA HATASI ─────────────────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
* {
  box-sizing: border-box;
}
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  /* Sabit genişlikleri override et */
  .page-container,
  .banner-wrap,
  .trust-bar-inner,
  .cats-section,
  .shop-toolbar,
  .products-section,
  .breadcrumb-inner,
  .product-detail-grid,
  .related-section,
  .admin-inner {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  /* Flex satırları kır — header-inner HARIÇ */
  .trust-bar-inner,
  .toolbar-right {
    flex-wrap: wrap !important;
  }
  /* Header hiçbir zaman wrap etmez */
  #mta-header .header-inner {
    flex-wrap: nowrap !important;
    overflow: hidden;
  }
  /* Görsel taşmayı önle */
  img, video, iframe, table {
    max-width: 100% !important;
  }
}

/* ── 2) HEADER ALTINDA BOŞLUK — yukarıda CSS ile tanımlı ── */

/* ── 3) MOBİL MENÜ SCROLL HATASI ────────────────────────── */
body.menu-open {
  overflow: hidden !important;
}

/* ── 4) ÜRÜN KARTI YENİ ALANLAR ─────────────────────────── */
/* Teknik açıklama */
.product-tech-desc {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
/* Badge satırı */
.product-badges-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.badge-stock-in {
  font-size: 8px; font-weight: 900;
  color: #10b981; background: rgba(16,185,129,0.1);
  padding: 2px 7px; border-radius: 20px;
  border: 1px solid rgba(16,185,129,0.2);
}
.badge-stock-out {
  font-size: 8px; font-weight: 900;
  color: #ef4444; background: rgba(239,68,68,0.1);
  padding: 2px 7px; border-radius: 20px;
  border: 1px solid rgba(239,68,68,0.2);
}
.badge-cargo {
  font-size: 8px; font-weight: 900;
  color: #2563eb; background: rgba(37,99,235,0.1);
  padding: 2px 7px; border-radius: 20px;
  border: 1px solid rgba(37,99,235,0.2);
}
/* Taksit bilgisi */
.product-installment {
  font-size: 9px; font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
}
.product-installment span {
  color: var(--color-primary);
  font-weight: 900;
}

/* ── 5) MOBİLDE STİCKY SEPET BUTONU ─────────────────────── */
#sticky-cart-bar {
  display: none;
}
@media (max-width: 768px) {
  /* Sadece ürün detay sayfasında görünür (JS ekler .product-page-active) */
  body.product-page-active #sticky-cart-bar {
    display: flex;
    position: fixed;
    bottom: 65px; /* mobil nav üstünde */
    left: 0; right: 0;
    z-index: 430;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 10px 16px;
    gap: 10px;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  }
  #sticky-cart-bar .sticky-price {
    flex: 1;
    font-size: 18px;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -1px;
  }
  #sticky-cart-bar .sticky-add-btn {
    flex: 2;
    height: 48px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb),0.4);
  }
  #sticky-cart-bar .sticky-add-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
  }
}

/* ════════════════════════════════════════════════════════════
   HATA DÜZELTMELERİ — v8-fix4
   ════════════════════════════════════════════════════════════ */

/* ── FREE ROAM kapatılınca canvas artık etki etmesin ──────── */
#free-roam-view[style*="display: none"],
#free-roam-view[style*="display:none"] {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ── DOCK ANA TANIM (tüm ekranlar) ──────────────────────── */
#mta-dock {
  position: fixed;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 460;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Dock toggle — masaüstü */
.dock-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border) !important;
  color: var(--text-muted);
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  transition: all 0.2s;
  flex-shrink: 0;
}
.dock-toggle:hover,
.dock-toggle.is-open {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary) !important;
  box-shadow: 0 4px 20px rgba(var(--color-primary-rgb),0.35);
}

/* ── MOBİL DOCK — sağ alt FAB ───────────────────────────── */
@media (max-width: 768px) {
  #mta-dock {
    display: flex !important;
    position: fixed !important;
    right: 14px !important;
    left: auto !important;
    bottom: 82px !important; /* bottom-nav üstü */
    top: auto !important;
    transform: none !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 0 !important;
    z-index: 470 !important; /* bottom-nav(450) ve header(500) arasında */
  }

  /* Mobilde menü yukarı açılır, sağa hizalı */
  #mta-dock .dock-menu {
    display: flex !important;
    position: absolute !important;
    flex-direction: column !important;
    bottom: 52px !important;
    top: auto !important;
    right: 0 !important;
    left: auto !important;
    border-radius: 16px !important;
    padding: 8px !important;
    min-width: 180px !important;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.18) !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    gap: 2px !important;
  }

  /* Dock item mobilde yatay — ikon + yazı */
  #mta-dock .dock-item {
    width: 100% !important;
    padding: 0 14px 0 12px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    height: 42px !important;
    border-radius: 10px !important;
  }

  /* Tooltip mobilde inline metin olarak */
  #mta-dock .dock-tooltip {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    background: none !important;
    color: var(--text-main) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    pointer-events: none !important;
  }

  #mta-dock .dock-item:hover .dock-tooltip { color: var(--color-primary); }

  /* Toggle butonu mobilde renkli, belirgin */
  .dock-toggle {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    background: var(--color-primary) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(var(--color-primary-rgb),0.45) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }
  .dock-toggle.is-open {
    background: #ef4444 !important;
    box-shadow: 0 4px 16px rgba(239,68,68,0.45) !important;
  }
}


/* ── GENEL MOBİL TAŞMA — son düzeltme ───────────────────── */
@media (max-width: 768px) {
  #mta-main > *:not(#free-roam-view) {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

/* ── KATEGORİ TAŞMA DÜZELTME ─────────────────────────────── */
@media (max-width: 768px) {
  .cats-section {
    overflow: hidden;
  }
  .cats-section h2 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .cats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    overflow-x: hidden;
  }
  /* Banner da ekrana tam sığsın */
  .banner-wrap {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .banner-slider {
    border-radius: 14px;
  }
  /* Taşan her şeyi kes */
  .trust-bar {
    overflow: hidden;
  }
  /* Header taşmayı engelle */
  #mta-header .header-inner {
    padding: 0 10px !important;
    gap: 8px !important;
  }
  .header-logo-text {
    font-size: 15px !important;
  }
}

/* ── VIEWPORT META GUARD ─────────────────────────────────── */
/* Sayfa hiçbir koşulda 100vw'dan geniş olmasın */
html {
  max-width: 100vw;
  overflow-x: hidden;
}


/* ═══════════════════════════════════════════════════════════
   MTA v9.0 — YENİ ÖZELLİKLER & DÜZELTMELER
═══════════════════════════════════════════════════════════ */

/* ── TOAST İYİLEŞTİRMELERİ ────────────────────────────── */
.mta-toast {
  background: var(--bg-inv);
  color: var(--text-inv);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  margin-top: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
  max-width: 320px;
  word-break: break-word;
}
.mta-toast.visible { opacity: 1; transform: translateY(0); }
.mta-toast--success { background: #059669; color: #fff; }
.mta-toast--error   { background: #dc2626; color: #fff; }
.mta-toast--warning { background: #d97706; color: #fff; }

/* ── HEADER KOMPAKT & GİZLİ ────────────────────────────── */

#mta-header.compact {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
#mta-header.header-hidden {
  transform: translateY(-100%);
}

/* ── HEADER BUTON OVERFLOW FİX ──────────────────────────── */

.btn-header { flex-shrink: 0; }
/* Orta ekranlarda Free Roam label'ı gizle */
@media (max-width: 1100px) {
  #free-roam-label { display: none; }
  .btn-header.btn-header-primary { min-width: 36px; justify-content: center; padding: 0 10px; }
}
/* Küçük ekranlarda arama alanını daralt */
@media (max-width: 900px) {
  .header-search-wrap { max-width: 140px; }
  #mta-search-input { width: 100px !important; }
  .header-cats { display: none; }
}
@media (max-width: 768px) {
  .header-search-wrap { max-width: 120px; }
}

/* ── ARAMA DROPDOWN İYİLEŞTİRMELERİ ───────────────────── */
.search-loading {
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.search-empty {
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

/* ── KARŞILAŞTIRMA ÇUBUĞU ─────────────────────────────── */
#compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 450;
  background: var(--bg-inv);
  color: var(--text-inv);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  flex-wrap: wrap;
}
#compare-bar.visible { transform: translateY(0); }
@media (max-width: 768px) {
  #compare-bar { bottom: 60px; flex-wrap: wrap; } /* bottom nav üstünde */
}

.compare-bar-label {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.compare-items {
  display: flex;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.compare-items::-webkit-scrollbar { display: none; }
.compare-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 6px 10px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.12);
}
.compare-bar-item img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.compare-bar-item-name {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.compare-bar-item-remove {
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 4px;
  line-height: 1;
  transition: all 0.2s;
}
.compare-bar-item-remove:hover { background: rgba(239,68,68,0.4); color: #fff; }

.compare-bar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
}
.compare-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}
.btn-compare-go {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-compare-go:hover { opacity: 0.9; transform: scale(1.02); }
.btn-compare-clear {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-compare-clear:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* ── ÜRÜN KART KARŞILAŞTIR BUTONU ─────────────────────── */
.btn-compare {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text-muted);
}
.btn-compare:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-compare.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ── SON GÖRÜNTÜLENEN ÜRÜNLER ────────────────────────── */
#recently-viewed-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px;
}
.recently-viewed-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#recently-viewed-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 1024px) { #recently-viewed-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { #recently-viewed-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { #recently-viewed-grid { grid-template-columns: repeat(2, 1fr); } }

.recently-viewed-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}
.recently-viewed-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}
.rv-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-input);
}
.rv-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.recently-viewed-card:hover .rv-img-wrap img { transform: scale(1.05); }
.rv-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-main);
  padding: 8px 10px 4px;
  line-height: 1.3;
}
.rv-price {
  font-size: 11px;
  font-weight: 900;
  color: var(--color-primary);
  padding: 0 10px 8px;
}

/* ── QUICK VIEW MODAL ───────────────────────────────────── */
#quick-view-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 16px;
}
#quick-view-overlay.open { opacity: 1; visibility: visible; }
#quick-view-content {
  background: var(--bg-card);
  border-radius: 20px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  animation: slideUp 0.3s ease;
}
.qv-loading {
  padding: 60px;
  text-align: center;
  color: var(--text-muted);
}
.qv-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
.qv-error {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 700;
}
.qv-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: var(--bg-input);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  z-index: 10;
}
.qv-close:hover { background: var(--border); color: var(--text-main); }

/* ── AI TYPING DOTS ────────────────────────────────────── */
.ai-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
}
.ai-typing span {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: aiDot 1.2s ease infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aiDot { 0%,80%,100%{opacity:0.3;transform:scale(0.8)} 40%{opacity:1;transform:scale(1)} }

/* ── SEPETE EKLE BUTONU İYİLEŞTİRME ───────────────────── */
.btn-add-cart .btn-cart-text { display: inline; }
@media (max-width: 1200px) {
  .btn-add-cart .btn-cart-text { display: none; }
}
.btn-add-cart.added { background: #059669 !important; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin-icon { animation: spin 0.8s linear infinite; }

/* ── SCROLL TOP (TEK buton) ────────────────────────────── */
#btn-scroll-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 440;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb),0.4);
  transition: all 0.2s;
}
#btn-scroll-top.visible { display: flex; }
#btn-scroll-top:hover { transform: translateY(-2px); }
@media (min-width: 769px) { #btn-scroll-top { bottom: 32px; right: 32px; } }

/* eski scroll-to-top gizle (artık btn-scroll-top kullanıyoruz) */
#scroll-to-top { display: none !important; }

/* ── FREE ROAM VIEW CONTAINER ──────────────────────────── */
#free-roam-view {
  display: none;
  visibility: hidden;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 550;
  background: var(--bg-app);
  background-image:
    radial-gradient(circle at 20% 50%, rgba(var(--color-primary-rgb),0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(var(--color-primary-rgb),0.03) 0%, transparent 50%);
  cursor: grab;
}
#free-roam-view.dragging { cursor: grabbing; }
#roam-canvas {
  position: absolute;
  top: 52px; /* roam-topbar yüksekliği */
  left: 0;
  transform-origin: top left;
  will-change: transform;
}

#minimap-canvas {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 310;
  width: 120px;
  height: 80px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
#minimap-viewport {
  position: absolute;
  border: 2px solid var(--color-primary);
  border-radius: 2px;
  pointer-events: none;
  transition: all 0.1s;
}
#joystick-base {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 310;
  width: 80px;
  height: 80px;
  background: rgba(var(--color-primary-rgb),0.15);
  border: 2px solid rgba(var(--color-primary-rgb),0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#joystick-knob {
  width: 30px;
  height: 30px;
  background: var(--color-primary);
  border-radius: 50%;
  transition: transform 0.05s;
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb),0.4);
}

/* product-card-actions — bkz. ürün kartı bölümü */

/* ── BODY SCROLL KİLİT ─────────────────────────────────── */
body.menu-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════════════
   v9.1 — EK ÖZELLİKLER CSS
═══════════════════════════════════════════════════════════ */

/* ── GDPR COOKIE BANNER ─────────────────────────────────── */
#mta-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--bg-inv);
  color: var(--text-inv);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#mta-cookie-banner.show { transform: translateY(0); }
@media (max-width: 768px) {
  #mta-cookie-banner { bottom: 65px; flex-direction: column; text-align: center; }
}
.cookie-text {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}
.cookie-text a { color: var(--color-primary); text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.btn-cookie-accept {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-cookie-accept:hover { opacity: 0.9; }
.btn-cookie-decline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.btn-cookie-decline:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* ── NEWSLETTER / ABONE FORMU ───────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--color-primary), rgba(var(--color-primary-rgb),0.7));
  padding: 40px 16px;
  text-align: center;
}
.newsletter-inner {
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-title {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}
.newsletter-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  outline: none;
  background: rgba(255,255,255,0.95);
  color: #0f172a;
}
.newsletter-btn {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s;
}
.newsletter-btn:hover { transform: scale(1.03); }
@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-btn { padding: 12px; }
}

/* ── LOAD MORE BUTONU ───────────────────────────────────── */
#load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 32px auto;
  padding: 14px 32px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 200px;
}
#load-more-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--color-primary-rgb),0.15);
}
#load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.load-more-count {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}
.load-more-progress {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 8px;
}
.load-more-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}
.load-more-bar-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* ── YORUM FORMU ────────────────────────────────────────── */
.review-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}
.review-form-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 16px;
}
.review-stars-input {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.review-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #cbd5e1;
  transition: color 0.15s, transform 0.15s;
}
.review-star-btn:hover,
.review-star-btn.active { color: #fbbf24; transform: scale(1.2); }
.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 480px) { .review-form-grid { grid-template-columns: 1fr; } }
.review-form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-input);
  color: var(--text-main);
  font-size: 12px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.review-form-input:focus { border-color: var(--color-primary); }
.review-result {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
  display: none;
}
.review-result.success { background: rgba(5,150,105,0.1); color: #065f46; display: block; }
.review-result.error   { background: rgba(239,68,68,0.1);  color: #991b1b; display: block; }

/* ── ÜRÜN BASKISI ───────────────────────────────────────── */
@media print {
  #mta-header, #mta-ticker, #mobile-bottom-nav, #mta-dock,
  #mta-ai-chat, #mta-whatsapp-btn, #compare-bar,
  #quick-view-overlay, .btn-add-cart, .product-card-actions,
  #mta-footer, #btn-scroll-top, .sticky-cart-bar,
  #sticky-cart-bar, .banner-wrap { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .product-page { padding-top: 0 !important; }
  .product-gallery-main img { max-width: 300px; }
  .specs-table { border: 1px solid #ccc; }
  .specs-row { border-bottom: 1px solid #eee; }
}
.btn-print-product {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-print-product:hover { color: var(--text-main); border-color: var(--text-muted); }

/* ── CHECKOUT ADIM GÖSTERGESİ ───────────────────────────── */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  padding: 20px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  transition: all 0.3s;
}
.checkout-step.done .checkout-step-num  { background: #10b981; color: #fff; }
.checkout-step.active .checkout-step-num{ background: var(--color-primary); color: #fff; }
.checkout-step.pending .checkout-step-num{ background: var(--bg-input); color: var(--text-muted); border: 2px solid var(--border); }
.checkout-step-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.checkout-step.active .checkout-step-label  { color: var(--color-primary); }
.checkout-step.done .checkout-step-label    { color: #10b981; }
.checkout-step.pending .checkout-step-label { color: var(--text-muted); }
.checkout-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  min-width: 30px;
  margin: 0 8px;
}
.checkout-step.done + .checkout-step-line { background: #10b981; }
@media (max-width: 480px) {
  .checkout-step-label { display: none; }
  .checkout-step-line { min-width: 16px; }
}

/* ── CANLİ STOK BADGE ───────────────────────────────────── */
.live-stock-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: livePulse 2s infinite;
  flex-shrink: 0;
}
.live-stock-dot.green { background: #10b981; }
.live-stock-dot.orange { background: #f97316; }
.live-stock-dot.red { background: #ef4444; }
@keyframes livePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

/* ── VIDEO ÜRÜN DESTEĞI ─────────────────────────────────── */
.product-video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.product-video-wrap iframe,
.product-video-wrap video { width: 100%; height: 100%; border: none; }
.product-video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background 0.2s;
}
.product-video-play-btn:hover { background: rgba(0,0,0,0.5); }
.product-video-play-btn svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }

/* ── SEARCH RESULTS SAYFALAMA ───────────────────────────── */
.page-numbers {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-numbers li { list-style: none; }
.page-numbers a,
.page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.page-numbers .current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.page-numbers a:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ═══════════════════════════════════════════════════════════
   v9.2 — DÜNYA SINIFI CSS
═══════════════════════════════════════════════════════════ */

/* ── FİYAT GEÇMİŞİ ─────────────────────────────────── */
#price-history-chart {
  margin: 16px 0;
}

/* ── KLAVYE KISAYOL YARDIMI ─────────────────────────── */
#keyboard-help {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 9990;
  background: var(--bg-inv);
  color: var(--text-inv);
  border-radius: 14px;
  padding: 16px 20px;
  min-width: 240px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}
#keyboard-help.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.kbd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
}
.kbd-row:last-child { border-bottom: none; }
.kbd-key {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 10px;
  font-family: monospace;
  font-weight: 700;
}

/* ── TOPLU SİPARİŞ ──────────────────────────────────── */
.bulk-order-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}
.bulk-order-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bulk-order-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.bulk-order-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-input);
  color: var(--text-main);
  font-size: 12px;
  font-family: 'Courier New', monospace;
  resize: vertical;
  outline: none;
  margin-bottom: 10px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.bulk-order-textarea:focus { border-color: var(--color-primary); }

/* ── KARŞILAŞTIRMA SAYFASI ──────────────────────────── */
.compare-page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px;
}
.compare-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.compare-page-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
}
#compare-page-container table td, 
#compare-page-container table th {
  vertical-align: middle;
}

/* ── KARGO TAKİP ────────────────────────────────────── */
.tracking-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin: 16px 0;
}
.tracking-form input,
.tracking-form select {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 12px;
  outline: none;
  font-family: inherit;
}
.tracking-form input { flex: 1; min-width: 160px; }
.tracking-form select { min-width: 130px; }
.tracking-form input:focus,
.tracking-form select:focus { border-color: var(--color-primary); }

/* ── STİCKY CART (masaüstü) ─────────────────────────── */
@media (min-width: 769px) {
  .product-actions-sticky {
    position: sticky;
    top: calc(var(--header-h) + 28px + 16px);
    align-self: start;
  }
  body.has-trust-bar .product-actions-sticky {
    top: calc(28px + var(--header-h) + 16px);
  }
}

/* ── GÖRSEL ZOOM ────────────────────────────────────── */
.gallery-main-wrap {
  overflow: hidden;
  border-radius: 14px;
  cursor: zoom-in;
}
.gallery-main-wrap img {
  transition: transform 0.3s ease;
  pointer-events: none;
}

/* ── B2B ROZET ──────────────────────────────────────── */
.b2b-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #1e3a5f, #1e40af);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── AI ÖNERİLER ────────────────────────────────────── */
#ai-recommendations-section {
  margin-top: 24px;
}
#ai-recommendations-section .products-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  #ai-recommendations-section .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── STOK GERI SAYIM ANİMASYON ──────────────────────── */
@keyframes urgencyPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}
[data-urgent="true"] .btn-add-cart {
  animation: urgencyPulse 2s infinite;
}

/* ── PROGRESS RING ──────────────────────────────────── */
.progress-ring-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.progress-ring-svg { transform: rotate(-90deg); }
.progress-ring-track { fill: none; stroke: var(--border); stroke-width: 4; }
.progress-ring-fill  {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}
.progress-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: var(--text-main);
}

/* ── EL YAZISI (Micro-copy) ─────────────────────────── */
.trust-micro {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--text-muted);
}
.trust-micro svg { color: var(--color-primary); flex-shrink: 0; }

/* ── ŞEHİR/STOK TAHMINI ─────────────────────────────── */
.delivery-estimate {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-input);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  margin: 8px 0;
}
.delivery-estimate .fast { color: #10b981; }
.delivery-estimate .normal { color: #f97316; }

/* ── PAGE TRANSITION ────────────────────────────────── */
@keyframes pageEnter { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
#mta-main { animation: pageEnter 0.3s ease; }

/* ── COMPARE TABLE HIGHLIGHT ───────────────────────── */
#compare-page-container table tr:hover td { background: var(--color-primary-light) !important; }
#compare-page-container table tr:hover td:first-child { background: var(--bg-input) !important; }

/* ═══════════════════════════════════════════════════════════
   AKILLI ÜRÜN RAFI DRAWER
═══════════════════════════════════════════════════════════ */
.smart-shelf-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: 400px; max-width: 95vw;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 951;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.34,1.1,0.64,1);
  box-shadow: -8px 0 48px rgba(0,0,0,0.15);
}
.smart-shelf-drawer.open { right: 0; }

.smart-shelf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.smart-shelf-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 900;
  color: var(--text-main);
}
.smart-shelf-close {
  width: 32px; height: 32px;
  border: none;
  background: var(--bg-input);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.smart-shelf-close:hover { background: var(--border); color: var(--text-main); }

/* smart-shelf → aşağıda tam tanım */
.smart-shelf-action-btn:hover { opacity: 0.85; }
.smart-shelf-action-btn.secondary {
  background: var(--bg-input);
  color: var(--text-muted);
  flex: 0 0 80px;
}

/* Header shelf badge */
.shelf-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--color-primary);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── ARŞİV BANNER HEADER OFFSET ─────────────────────────── */
.mta-archive-banner { padding-top: 94px !important; }
@media (max-width: 768px) {
  .mta-archive-banner { padding-top: 86px !important; }
}

/* ═══════════════════════════════════════════════════════════
   UYUMLULUK MOTORU BAR
═══════════════════════════════════════════════════════════ */
.mta-compat-bar {
  position: fixed;
  bottom: -400px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  max-width: calc(100vw - 24px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.2);
  z-index: 800;
  transition: bottom 0.4s cubic-bezier(0.34,1.1,0.64,1);
  overflow: hidden;
}
.mta-compat-bar.open { bottom: 24px; }
.compat-bar-inner { padding: 16px; }
.compat-bar-title {
  font-size: 13px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 10px;
}
.compat-warnings { display: flex; flex-direction: column; gap: 8px; }
.compat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.5;
}
.compat-item strong { font-size: 12px; }
.compat-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.compat-red    { background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }
.compat-yellow { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; }
.compat-blue   { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }
.compat-recs-title {
  font-size: 11px;
  font-weight: 900;
  color: var(--text-muted);
  margin: 10px 0 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.compat-rec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: var(--bg-input);
  border-radius: 8px;
  font-size: 11px;
}
.compat-bar-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 24px; height: 24px;
  border: none;
  background: var(--bg-input);
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  color: var(--text-muted);
}

/* ── TAMAMLAYICI ÜRÜNLER ────────────────────────────────── */
.complementary-section {
  margin: 24px 0;
}
.complementary-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#complementary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.comp-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s;
}
.comp-item:hover { border-color: var(--color-primary); }
.comp-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-input);
}
.comp-item-name { font-size: 11px; font-weight: 700; color: var(--text-main); line-height: 1.3; }
.comp-item-price { font-size: 12px; font-weight: 900; color: var(--color-primary); }
.comp-item-cart {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 5px;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  margin-top: auto;
}
.comp-loading { color: var(--text-muted); font-size: 12px; padding: 8px; }

/* ── MOBİL ÜRÜN KARTI DÜZELTME ───────────────────────── */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 8px;
  }
  
  .product-card-body { padding: 8px 10px 10px; gap: 2px; }
  a.product-name { font-size: 11px; -webkit-line-clamp: 2; }
  .product-tech-desc { display: none; }
  .product-brand { font-size: 9px; }
  .product-badges-row { gap: 4px; flex-wrap: wrap; }
  .badge-stock-in, .badge-stock-out, .badge-cargo {
    font-size: 8px; padding: 2px 6px;
  }
  .product-price { font-size: 13px; }
  .product-installment { font-size: 9px; display: none; }
  .product-stars { display: none; }
  .btn-add-cart {
    width: 32px; height: 32px; min-width: 32px;
    border-radius: 9px;
  }
  .product-card-actions {
    top: 6px; right: 6px; gap: 4px;
  }
  .product-action-btn {
    width: 28px; height: 28px;
  }
  }

/* ── FİLTRE BUTONU ──────────────────────────────────────── */
.toolbar-filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}
.toolbar-filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ── FREE ROAM CANVAS KARTLARI ──────────────────────────── */


/* ── AI SESLİ GİRİŞ / TTS BUTONLARI ────────────────────── */
.ai-mic-btn, .ai-tts-btn {
  width: 34px; height: 34px;
  border: none;
  border-radius: 10px;
  background: var(--bg-input);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}
.ai-mic-btn:hover { background: #ef4444; color: #fff; }
.ai-tts-btn:hover { background: var(--color-primary); color: #fff; }
.ai-mic-btn.active { background: #ef4444; color: #fff; }
.ai-tts-btn.active { background: var(--color-primary); color: #fff; }

/* ═══════════════════════════════════════════════════════════
   BLOG SAYFASI
═══════════════════════════════════════════════════════════ */
.blog-page { min-height: 60vh; padding-bottom: 48px; }
.blog-inner { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

.blog-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.blog-title {
  font-size: 24px; font-weight: 900;
  color: var(--text-main); margin: 0 0 8px;
}
.blog-subtitle {
  font-size: 13px; color: var(--text-muted); margin: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(var(--color-primary-rgb), 0.1);
  transform: translateY(-3px);
}
.blog-card-img-wrap {
  display: block;
  height: 200px;
  overflow: hidden;
  background: var(--bg-input);
}
.blog-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-placeholder {
  display: flex; align-items: center; justify-content: center;
}
.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.blog-card-date {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; color: var(--text-muted); font-weight: 700;
}
.blog-card-cat {
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  font-size: 9px; font-weight: 900;
  padding: 2px 8px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.blog-card-title {
  font-size: 15px; font-weight: 900;
  color: var(--text-main); margin: 0;
  line-height: 1.4;
}
.blog-card-title a {
  color: inherit; text-decoration: none;
}
.blog-card-title a:hover { color: var(--color-primary); }
.blog-card-excerpt {
  font-size: 12px; color: var(--text-muted);
  line-height: 1.6; margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.blog-card-link {
  display: inline-flex; align-items: center;
  color: var(--color-primary);
  font-size: 11px; font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.blog-card-link:hover { opacity: 0.8; }

.blog-pagination {
  display: flex; gap: 8px; justify-content: center;
  flex-wrap: wrap; margin-top: 32px;
}
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 12px; font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Blog içerik */
.blog-content h2, .blog-content h3 {
  font-weight: 900; color: var(--text-main);
  margin: 24px 0 12px;
}
.blog-content p { margin: 0 0 16px; }
.blog-content ul, .blog-content ol {
  padding-left: 24px; margin: 0 0 16px;
}
.blog-content li { margin-bottom: 6px; }
.blog-content img {
  max-width: 100%; border-radius: 12px;
  margin: 16px 0;
}
.blog-content a { color: var(--color-primary); }
.blog-content blockquote {
  border-left: 3px solid var(--color-primary);
  padding: 12px 16px;
  background: var(--bg-input);
  border-radius: 0 12px 12px 0;
  margin: 16px 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-card-img-wrap { height: 160px; }
  .blog-title { font-size: 20px; }
}

/* ═══════════════════════════════════════════════════════════
   FREE ROAM — PREMIUM TASARIM
═══════════════════════════════════════════════════════════ */

/* Ana ekran */


/* Üst bar */
.roam-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 560;
}

/* Sol branding */
.roam-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.roam-brand-icon {
  width: 30px; height: 30px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.roam-brand-text {
  font-size: 14px; font-weight: 900;
  color: var(--text-main);
  font-style: italic;
  letter-spacing: -0.5px;
}
.roam-brand-text strong { color: var(--color-primary); }
.roam-count-badge {
  font-size: 10px; font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* Orta hint */
.roam-hint {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 480px) { .roam-hint { display: none; } }

/* Sağ aksiyon butonları */
.roam-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.roam-action-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border) !important;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer !important;
  transition: all 0.18s;
  position: relative;
  flex-shrink: 0;
}
.roam-action-btn:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary) !important;
  color: var(--color-primary);
}
.roam-action-ai {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #fff !important;
}
.roam-action-ai:hover { filter: brightness(1.1); }

.roam-action-cart {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #fff !important;
}
.roam-action-cart:hover { filter: brightness(1.1); }

.roam-action-exit:hover {
  background: rgba(239,68,68,0.1) !important;
  border-color: #ef4444 !important;
  color: #ef4444 !important;
}
.roam-cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 16px; height: 16px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

.roam-minimap {
  position: fixed;
  top: 64px;
  left: 16px;
  z-index: 30;
  background: rgba(var(--bg-card-rgb, 255,255,255), 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  width: 120px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.minimap-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.minimap-label {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}
.minimap-dot {
  width: 6px; height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
.minimap-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-input);
  border-radius: 8px;
  overflow: hidden;
}
.minimap-viewport {
  position: absolute;
  border: 2px solid var(--color-primary);
  border-radius: 3px;
  background: rgba(var(--color-primary-rgb), 0.15);
  transition: all 0.1s;
  pointer-events: none;
}
.minimap-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}
.minimap-size {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
}

/* Joystick */
.roam-joystick-wrap {
  position: fixed;
  bottom: 32px;
  right: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.roam-joystick-base {
  width: 80px; height: 80px;
  background: rgba(var(--bg-card-rgb, 255,255,255), 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(var(--color-primary-rgb), 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  touch-action: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12),
              inset 0 1px 0 rgba(255,255,255,0.5);
  transition: border-color 0.2s;
}
.roam-joystick-base:hover {
  border-color: rgba(var(--color-primary-rgb), 0.6);
}
.roam-joystick-knob {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--color-primary), rgba(var(--color-primary-rgb), 0.7));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), 0.5);
  transition: transform 0.05s;
}
.roam-joystick-label {
  font-size: 7px;
  font-weight: 900;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}


/* Ürün sayacı badge */
#roam-count {
  background: rgba(var(--color-primary-rgb), 0.15);
  color: var(--color-primary);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 900;
}

/* HUD (koordinat overlay) */
#roam-hud {
  position: fixed;
  top: 60px;
  right: 16px;
  z-index: 30;
  background: rgba(var(--bg-card-rgb, 255,255,255), 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: monospace;
}

/* ════════════════════════════════════════════════════════════
   SEPET — Adım Göstergesi + Tema Stili
   ════════════════════════════════════════════════════════════ */
.cart-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}
.cart-step {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.cart-step::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--border);
  margin: 0 4px;
}
.cart-step:last-child::after { display: none; }
.cart-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-input);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.2s;
}
.cart-step span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
.cart-step.active .cart-step-num {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.cart-step.active span { color: var(--color-primary); font-weight: 900; }
.cart-step.done .cart-step-num {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}
.cart-step.done::after { background: #10b981; }

/* WooCommerce cart override */
.woocommerce-cart .woocommerce,
.mta-cart .woocommerce {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.woocommerce table.shop_table {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  border-collapse: collapse;
  width: 100%;
}
.woocommerce table.shop_table th {
  background: var(--bg-sub);
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 900;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}
.woocommerce table.shop_table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.woocommerce table.shop_table .product-name a {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal {
  font-size: 14px;
  font-weight: 900;
  color: var(--text-main);
}
.woocommerce-cart-form__contents .actions {
  padding: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--border);
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--color-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 24px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  transition: filter 0.18s !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { filter: brightness(1.1) !important; }
.woocommerce a.button.alt,
.woocommerce button.button.alt { box-shadow: 0 4px 14px rgba(var(--color-primary-rgb),0.4) !important; }

/* Checkout form override */
.woocommerce-checkout .woocommerce {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  border: 1.5px solid var(--border) !important;
  border-radius: 10px !important;
  background: var(--bg-input) !important;
  color: var(--text-main) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  padding: 10px 14px !important;
  transition: border-color 0.18s !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus { border-color: var(--color-primary) !important; outline: none !important; }
.woocommerce form .form-row label {
  font-size: 11px !important;
  font-weight: 900 !important;
  color: var(--text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

@media (max-width: 768px) {
  .cart-step::after { width: 20px; }
  .cart-step span { display: none; }
}

/* ════════════════════════════════════════════════════════════
   HESABIM — WooCommerce MTA Tema Stili
   ════════════════════════════════════════════════════════════ */
.woocommerce-account .woocommerce,
.mta-account .woocommerce {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.woocommerce-account .woocommerce-MyAccount-content,
.mta-account .woocommerce-MyAccount-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.woocommerce-MyAccount-navigation ul li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.18s;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.mta-account-dashboard .account-welcome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, var(--color-primary), rgba(var(--color-primary-rgb),0.7));
  border-radius: 16px;
  margin-bottom: 20px;
}
.account-avatar {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: #fff;
  flex-shrink: 0;
}
.account-name { font-size: 16px; font-weight: 900; color: #fff; margin: 0 0 2px; }
.account-email { font-size: 11px; color: rgba(255,255,255,0.7); margin: 0; }
.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.account-stat-card {
  background: var(--bg-sub);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.stat-icon { font-size: 22px; margin-bottom: 6px; }
.stat-num { font-size: 18px; font-weight: 900; color: var(--text-main); margin-bottom: 2px; }
.stat-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.mta-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.mta-orders-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-sub);
  color: var(--text-muted);
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}
.mta-orders-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
  vertical-align: middle;
}
.mta-orders-table tr:last-child td { border-bottom: none; }
.order-num { color: var(--color-primary); font-weight: 900; text-decoration: none; }
.order-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}
.status-completed  { background: rgba(16,185,129,0.1); color: #059669; }
.status-processing { background: rgba(99,102,241,0.1); color: var(--color-primary); }
.status-pending    { background: rgba(245,158,11,0.1); color: #d97706; }
.status-cancelled  { background: rgba(239,68,68,0.1); color: #dc2626; }
.status-on-hold    { background: rgba(100,116,139,0.1); color: #64748b; }
.mta-account-form .form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mta-account-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.mta-account-form label {
  font-size: 11px;
  font-weight: 900;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mta-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  font-family: inherit;
  transition: border-color 0.18s;
  box-sizing: border-box;
}
.mta-input:focus { outline: none; border-color: var(--color-primary); }
.mta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #fff !important;
  border: none !important;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer !important;
  text-decoration: none;
  transition: filter 0.18s;
  font-family: inherit;
}
.mta-btn-primary:hover { filter: brightness(1.1); }
.mta-btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.mta-btn-sm:hover { border-color: var(--color-primary); color: var(--color-primary); }
.mta-notice { list-style: none; margin: 0 0 16px; padding: 0; }
.mta-notice li {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.mta-notice-error li   { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: #dc2626; }
.mta-notice-success li { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); color: #059669; }
.mta-notice-info li    { background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2); color: var(--color-primary); }
@media (max-width: 768px) {
  .account-stats-grid { gap: 8px; }
  .mta-account-form .form-row-grid { grid-template-columns: 1fr; }
  .mta-orders-table th:nth-child(2),
  .mta-orders-table td:nth-child(2) { display: none; }
}

/* ════════════════════════════════════════════════════════════
   EKSİK BUTON CSS — Tüm interaktif elementler buton görünümü
   ════════════════════════════════════════════════════════════ */

/* ── PANEL KAPAT BUTONU ─────────────────────────────────── */
.btn-close-panel {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border) !important;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer !important;
  transition: all 0.18s;
  flex-shrink: 0;
}
.btn-close-panel:hover { background: #ef4444; color: #fff; border-color: #ef4444 !important; }

/* ── FİLTRE PANELİ ──────────────────────────────────────── */
.filter-section-title {
  font-size: 10px;
  font-weight: 900;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  margin-top: 4px;
}

.filter-brand-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
  border: 1px solid transparent;
}
.filter-brand-item:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}
.filter-brand-item.active {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

.filter-brand-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.filter-brand-item.active .filter-brand-label { color: var(--color-primary); }

.filter-checkbox {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}
.filter-brand-item.active .filter-checkbox {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.filter-brand-item.active .filter-checkbox svg { display: block !important; }

/* ── TEMA BUTONLARI ─────────────────────────────────────── */
.theme-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid var(--border) !important;
  cursor: pointer !important;
  transition: all 0.18s;
  min-width: 80px;
}
.theme-btn:hover { border-color: var(--color-primary) !important; transform: translateY(-2px); }
.theme-btn.active,
.theme-btn[data-theme].active { border-color: var(--color-primary) !important; box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb),0.2); }

.theme-btn-icon { font-size: 20px; line-height: 1; }
.theme-btn-label { font-size: 11px; font-weight: 900; }

/* ── RENK SEÇİCİ ────────────────────────────────────────── */
.color-swatches { display: flex; gap: 8px; flex-wrap: wrap; }

.color-swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 3px solid transparent !important;
  cursor: pointer !important;
  transition: all 0.18s;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.color-swatch:hover { transform: scale(1.15); box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.color-swatch.active { border-color: var(--text-main) !important; transform: scale(1.1); }

.quick-color-btn {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 2px solid transparent !important;
  cursor: pointer !important;
  transition: all 0.18s;
  flex-shrink: 0;
}
.quick-color-btn:hover { transform: scale(1.15); border-color: var(--text-main) !important; }

.btn-apply-color {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: none !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer !important;
  transition: filter 0.18s;
  width: 100%;
  justify-content: center;
}
.btn-apply-color:hover { filter: brightness(1.1); }

/* ── AKILLI RAF SEKMELERİ ───────────────────────────────── */
.smart-shelf-tabs {
  display: flex;
  gap: 4px;
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--border);
}
.smart-shelf-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--bg-input);
  border: 1px solid transparent !important;
  cursor: pointer !important;
  transition: all 0.18s;
  white-space: nowrap;
}
.smart-shelf-tab:hover { background: var(--color-primary-light); color: var(--color-primary); }
.smart-shelf-tab.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary) !important;
}
.shelf-tab-count {
  background: rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 900;
}
.smart-shelf-tab:not(.active) .shelf-tab-count {
  background: var(--bg-card);
  color: var(--text-muted);
}

.smart-shelf-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--bg-input);
  border: 1px solid var(--border) !important;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer !important;
  transition: all 0.18s;
}
.smart-shelf-action-btn:hover { background: var(--color-primary-light); color: var(--color-primary); border-color: var(--color-primary) !important; }

/* ── HESAPLAMA PANELI ───────────────────────────────────── */
.calc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-input);
  border: 1px solid var(--border) !important;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer !important;
  transition: all 0.15s;
  font-family: inherit;
}
.calc-btn:hover { background: var(--color-primary-light); border-color: var(--color-primary) !important; color: var(--color-primary); transform: scale(1.04); }
.calc-btn:active { transform: scale(0.96); }
.calc-btn-op { background: var(--color-primary-light); color: var(--color-primary); border-color: rgba(var(--color-primary-rgb),0.3) !important; font-weight: 900; }
.calc-btn-eq { background: var(--color-primary) !important; color: #fff !important; border-color: var(--color-primary) !important; font-weight: 900; }
.calc-btn-eq:hover { filter: brightness(1.1); }
.calc-btn-clear { background: rgba(239,68,68,0.1); color: #ef4444; border-color: rgba(239,68,68,0.2) !important; }
.calc-btn-clear:hover { background: #ef4444; color: #fff; }
.calc-btn-span2 { grid-column: span 2; }
.calc-btn-num { font-weight: 800; }


/* ════════════════════════════════════════════════════════════
   AI SOHBET PANELİ — Tam CSS
   ════════════════════════════════════════════════════════════ */
#mta-ai-chat {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
#mta-ai-chat.open {
  pointer-events: all;
  opacity: 1;
}
@media (min-width: 560px) {
  #mta-ai-chat { align-items: center; padding: 20px; }
}
.ai-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.50);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ai-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border-radius: 24px 24px 0 0;
  border: 1px solid var(--border);
  box-shadow: 0 -8px 48px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  height: min(580px, 92vh);
  overflow: hidden;
  animation: slideUp 0.22s cubic-bezier(0.34,1.56,0.64,1);
}
@media (min-width: 560px) {
  .ai-panel { border-radius: 24px; box-shadow: 0 24px 64px rgba(0,0,0,0.22); }
}
.ai-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: 24px 24px 0 0;
}
.ai-avatar {
  width: 40px; height: 40px;
  background: var(--color-primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb),0.4);
}
.ai-status-dot {
  width: 6px; height: 6px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.ai-status-text {
  font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.ai-suggestions {
  flex-shrink: 0;
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  background: var(--bg-sub);
  scrollbar-width: none;
}
.ai-suggestions::-webkit-scrollbar { display: none; }
.ai-suggestion-btn {
  flex-shrink: 0;
  font-size: 10px; font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  padding: 5px 12px !important;
  cursor: pointer !important;
  white-space: nowrap;
  transition: all 0.18s;
  display: inline-flex !important;
  align-items: center;
}
.ai-suggestion-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary) !important;
  background: var(--color-primary-light) !important;
}
.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.ai-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  animation: fadeIn 0.18s ease;
}
.ai-msg-row.user { flex-direction: row-reverse; }
.ai-msg-avatar {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.ai-bubble {
  max-width: 78%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
}
.ai-bubble.bot {
  background: var(--bg-sub);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-top-left-radius: 4px;
}
.ai-bubble.user {
  background: var(--color-primary);
  color: #fff;
  border-top-right-radius: 4px;
}
.ai-input-wrap {
  flex-shrink: 0;
  padding: 10px 12px 14px;
  border-top: 1px solid var(--border);
}
.ai-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 5px 6px;
  transition: border-color 0.18s;
}
.ai-input-row:focus-within { border-color: var(--color-primary); }
.ai-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-size: 12px; font-weight: 500;
  color: var(--text-main);
  padding: 4px 6px;
  min-width: 0;
  font-family: inherit;
}
.ai-input::placeholder { color: var(--text-muted); }
.ai-send-btn {
  width: 34px; height: 34px;
  border-radius: 10px !important;
  background: var(--color-primary) !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s;
}
.ai-send-btn:hover { filter: brightness(1.1); transform: scale(1.06); }
.ai-send-btn:disabled { opacity: 0.4; cursor: not-allowed !important; }
.ai-send-btn svg { stroke: #fff; }
.ai-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 8px;
}

/* ════════════════════════════════════════════════════════════
   ÜRÜN DETAY SAYFASI — Tam CSS
   ════════════════════════════════════════════════════════════ */
.product-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 16px) 16px 48px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
/* Galeri */
.product-gallery-main {
  background: var(--bg-input);
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: zoom-in;
  position: relative;
}
.product-gallery-main img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}
.product-gallery-main:hover img { transform: scale(1.03); }
.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.product-gallery-thumb {
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--bg-input);
  transition: border-color 0.18s;
  flex-shrink: 0;
}
.product-gallery-thumb:hover,
.product-gallery-thumb.active { border-color: var(--color-primary); }
.product-gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 4px;
}
/* Ürün bilgi alanı */
.product-info { display: flex; flex-direction: column; gap: 16px; }
.product-info-brand {
  font-size: 11px; font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 2px;
}
.product-info-title {
  font-size: 22px; font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  margin: 0;
}
.product-info-sku {
  font-size: 11px; color: var(--text-muted);
  font-weight: 600;
}
.product-info-price-wrap {
  display: flex; align-items: baseline; gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-info-price {
  font-size: 28px; font-weight: 900;
  color: var(--text-main); letter-spacing: -1px;
}
.product-info-old-price {
  font-size: 16px; font-weight: 700;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-info-discount {
  background: #ef4444; color: #fff;
  font-size: 11px; font-weight: 900;
  padding: 3px 8px; border-radius: 6px;
}
/* Teknik özellikler tablosu */
.specs-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 8px;
}
.specs-table-header {
  padding: 12px 16px;
  background: var(--bg-sub);
  border-bottom: 1px solid var(--border);
  font-size: 11px; font-weight: 900;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.specs-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.specs-row:last-child { border-bottom: none; }
.specs-key {
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  min-width: 120px; flex-shrink: 0;
}
.specs-val {
  font-size: 12px; font-weight: 800;
  color: var(--text-main);
}
/* İlgili ürünler */
.related-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
.related-title {
  font-size: 18px; font-weight: 900;
  color: var(--text-main);
  margin: 0 0 20px;
}
/* Mobil ürün detay */
@media (max-width: 768px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-gallery-main { height: 280px; aspect-ratio: unset; }
  .product-info-title { font-size: 18px; }
  .product-info-price { font-size: 22px; }
  .specs-key { min-width: 100px; }
}
