/* ═══════════════════════════════════════════════════════════
   Görkem Hırdavat - Ana Tema CSS
   Açık, modern, minimal tasarım
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Değişkenler ──────────────────────────────────────────── */
:root {
  --primary:       #e63946;
  --primary-dark:  #c1121f;
  --primary-light: #ff6b6b;
  --secondary:     #1d3557;
  --secondary-light:#457b9d;
  --accent:        #f4a261;
  --bg:            #f8f9fa;
  --bg-card:       #ffffff;
  --bg-dark:       #1a1a2e;
  --text-main:     #212529;
  --text-muted:    #6c757d;
  --text-light:    #adb5bd;
  --border:        #e9ecef;
  --border-dark:   #dee2e6;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md:     0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 30px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.08);
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --transition:    all .2s cubic-bezier(.4,0,.2,1);
  --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h:      70px;
  --topbar-h:      36px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Custom Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }

/* ── Genel ────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-title { font-size: 26px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.section-subtitle { color: var(--text-muted); margin-bottom: 32px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.view-all { font-size: 14px; font-weight: 500; color: var(--primary); display: flex; align-items: center; gap: 4px; }
.view-all:hover { color: var(--primary-dark); }
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }

/* ── Üst Bar ──────────────────────────────────────────────── */
.topbar {
  background: var(--secondary);
  color: rgba(255,255,255,.85);
  height: var(--topbar-h);
  font-size: 13px;
  display: flex;
  align-items: center;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item svg { opacity: .7; }

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  background: var(--bg-card);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}
.logo-text .name { font-size: 18px; font-weight: 800; color: var(--secondary); line-height: 1.1; }
.logo-text .tagline { font-size: 11px; color: var(--text-muted); }

/* Arama */
.header-middle { display: flex; align-items: center; gap: 24px; flex: 1; min-width: 0; }
.header-search { flex: 1; position: relative; min-width: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.search-form { display: flex; }
.search-form input {
  flex: 1;
  height: 42px;
  padding: 0 16px;
  border: 2px solid var(--border-dark);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: 14px;
  background: var(--bg);
  transition: var(--transition);
}
.search-form input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.search-form button {
  height: 42px;
  padding: 0 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 15px;
  transition: var(--transition);
}
.search-form button:hover { background: var(--primary-dark); }

/* Header Aksiyonlar */
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  font-size: 18px;
  position: relative;
  transition: var(--transition);
}
.btn-icon:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-icon .badge {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.btn-icon:hover .badge { background: var(--secondary); }

/* ── Navigasyon ───────────────────────────────────────────── */
.main-nav {
  background: var(--secondary);
}
.nav-list {
  display: flex;
  align-items: center;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 18px;
  height: 46px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-link.active { border-bottom: 3px solid var(--primary); }
.nav-link svg { opacity: .7; transition: var(--transition); }
.nav-item:hover .nav-link svg { opacity: 1; transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 999;
  padding: 8px 0;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13.5px;
  color: var(--text-main);
}
.dropdown-menu a:hover { background: var(--bg); color: var(--primary); }

/* Sub-dropdown */
.has-sub { position: relative; }
.sub-menu {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--secondary-light);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: var(--transition);
  padding: 8px 0;
}
.has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: translateX(0); }

/* ── Mobil Menü ───────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
}
.mobile-nav-inner {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 300px;
  background: #fff;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s ease;
}
.mobile-nav.open { display: block; }
.mobile-nav.open .mobile-nav-inner { transform: translateX(0); }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--secondary);
  color: #fff;
}
.mobile-close { font-size: 22px; cursor: pointer; color: #fff; }
.mobile-links a {
  display: block;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  color: var(--text-main);
}
.mobile-links a:hover { color: var(--primary); background: var(--bg); }
.mobile-links .sub-links a { padding-left: 36px; font-size: 14px; font-weight: 400; }

/* ── Slider / Hero ────────────────────────────────────────── */
.slider-section { position: relative; overflow: hidden; background: var(--secondary); }
.slider-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.slide {
  min-width: 100%;
  height: 480px;
  position: relative;
  overflow: hidden;
}
.slide img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px;
  color: #fff;
}
.slide-content h2 { font-size: 42px; font-weight: 800; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.slide-content p { font-size: 18px; opacity: .9; margin-bottom: 28px; max-width: 500px; }
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active { background: #fff; transform: scale(1.3); }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.slider-btn:hover { background: rgba(255,255,255,.3); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ── Butonlar ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(230,57,70,.3); }
.btn-secondary { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-secondary:hover { background: #152a40; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: var(--bg); color: var(--text-main); border-color: var(--border-dark); }
.btn-light:hover { background: var(--border); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 13px 28px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
.btn-whatsapp:hover { background: #128c7e; border-color: #128c7e; }

/* ── Ürün Kartı ───────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-dark);
}
.product-card-img {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
  background: var(--bg);
}
.product-card-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .3s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.badge-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.badge-new { background: #10b981; color: #fff; }
.badge-featured { background: var(--accent); color: #fff; }
.badge-hot { background: var(--primary); color: #fff; }
.badge-code { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }

.product-card-actions {
  position: absolute;
  top: 10px; right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.action-btn {
  width: 32px; height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.action-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.action-btn.is-fav { color: var(--primary); }

.product-card-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-brand { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; font-weight: 600; }
.product-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-title:hover { color: var(--primary); }
.product-code { font-size: 11px; color: var(--text-light); margin-bottom: 10px; }
.product-price-area { margin-top: auto; }
.product-price { font-size: 18px; font-weight: 700; color: var(--primary); }
.product-price-usd { font-size: 12px; color: var(--text-muted); }
.price-hidden { font-size: 13px; color: var(--text-muted); font-style: italic; }

.product-card-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
}
.qty-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 38px;
  background: #fff;
}
.qty-selector .qty-btn {
  width: 34px;
  height: 100%;
  background: var(--bg);
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.qty-selector .qty-btn:hover { background: var(--border); }
.qty-selector .qty-input {
  width: 44px;
  height: 100%;
  border: none;
  border-left: 2px solid var(--border-dark);
  border-right: 2px solid var(--border-dark);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  background: #fff;
  -moz-appearance: textfield;
}
.qty-selector .qty-input::-webkit-outer-spin-button,
.qty-selector .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.add-cart-btn {
  flex: 1;
  height: 38px;
  font-size: 13.5px;
  padding: 0;
}
.product-list { display: flex; flex-direction: column; gap: 16px; }
.product-list-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 16px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
}
.product-list-item:hover { box-shadow: var(--shadow-md); border-color: var(--border-dark); }
.product-list-img { width: 120px; flex-shrink: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--bg); }
.product-list-img img { width: 100%; height: 120px; object-fit: contain; padding: 8px; }
.product-list-body { flex: 1; }
.product-list-actions { display: flex; flex-direction: column; gap: 8px; justify-content: center; }

/* ── Filtre ───────────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.filter-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.filter-title {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-section { border-bottom: 1px solid var(--border); }
.filter-section-title {
  padding: 14px 20px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.filter-section-body { padding: 4px 20px 14px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-main);
}
.filter-option:hover { color: var(--primary); }
.filter-option input[type=checkbox] { accent-color: var(--primary); width: 16px; height: 16px; cursor: pointer; }
.filter-count { margin-left: auto; font-size: 12px; color: var(--text-light); }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
}
.toolbar-result { font-size: 14px; color: var(--text-muted); }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.view-btn.active, .view-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.sort-select {
  padding: 6px 12px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-main);
  background: var(--bg);
  cursor: pointer;
}

/* ── Ürün Detay ───────────────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.product-gallery {}
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 420px; object-fit: contain; padding: 20px; }
.gallery-thumbs { 
  display: flex; gap: 10px; overflow-x: auto; 
  padding-bottom: 8px; scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}
.gallery-thumb {
  width: 74px; height: 74px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
  flex-shrink: 0;
  scroll-snap-align: start;
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }

/* ── Galeri Modal (Zoom) ──────────────────────────────────── */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn .3s forwards;
  cursor: zoom-out;
}
.gallery-modal-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  transform: scale(0.9);
  animation: zoomIn .3s forwards;
  cursor: default;
}
.gallery-modal-close {
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
}
.gallery-modal-prev, .gallery-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  padding: 20px;
  user-select: none;
}
.gallery-modal-prev { left: 10px; }
.gallery-modal-next { right: 10px; }
.gallery-modal-prev:hover, .gallery-modal-next:hover { color: var(--primary); }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes zoomIn { to { transform: scale(1); } }

.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.product-info {}
.product-info .product-code { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.product-info h1 { font-size: 26px; font-weight: 700; color: var(--secondary); margin-bottom: 12px; line-height: 1.3; }
.product-info .brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 16px;
}
.product-short-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.price-box {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.price-box .price-try { font-size: 32px; font-weight: 800; color: var(--primary); }
.price-box .price-usd { font-size: 16px; color: var(--text-muted); margin-top: 4px; }
.price-box .price-request { font-size: 15px; color: var(--text-muted); font-style: italic; }
.qty-add {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.qty-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.qty-btn {
  width: 36px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-main);
  background: var(--bg);
  cursor: pointer;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-field {
  width: 56px;
  height: 42px;
  text-align: center;
  border: none;
  border-left: 2px solid var(--border-dark);
  border-right: 2px solid var(--border-dark);
  font-size: 15px;
  font-weight: 600;
  background: #fff;
}
.qty-field:focus { outline: none; }
.product-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.product-meta-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.meta-tag strong { color: var(--text-main); }
.product-tabs { margin-bottom: 48px; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tab-btn {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content-inner { color: var(--text-main); line-height: 1.8; }
.tab-content-inner h3 { margin: 20px 0 10px; }
.tab-content-inner ul { padding-left: 20px; }
.tab-content-inner li { margin-bottom: 6px; list-style: disc; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { padding: 12px 0; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: 13px;
}
.breadcrumb li { color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: '›'; color: var(--text-light); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .active { color: var(--text-main); font-weight: 500; }

/* ── Sepet ────────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.cart-item:hover { box-shadow: var(--shadow-sm); }
.cart-item-img { width: 80px; height: 80px; flex-shrink: 0; background: var(--bg); border-radius: var(--radius-md); }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-item-body { flex: 1; }
.cart-item-code { font-size: 11px; color: var(--text-light); }
.cart-item-name { font-weight: 600; margin: 2px 0 8px; }
.cart-item-actions { display: flex; align-items: center; gap: 12px; }
.cart-item-remove { font-size: 12px; color: var(--primary); cursor: pointer; }
.cart-item-remove:hover { text-decoration: underline; }
.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.cart-summary-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.summary-row.total { font-weight: 700; font-size: 16px; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; }
.empty-cart { text-align: center; padding: 80px 20px; }
.empty-cart-icon { font-size: 80px; margin-bottom: 20px; opacity: .3; }
.empty-cart h3 { font-size: 22px; color: var(--text-muted); margin-bottom: 8px; }

/* ── Checkout Form ────────────────────────────────────────── */
.checkout-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.form-label span { color: var(--primary); }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-main);
  transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); background: #fff; }
.form-control.error { border-color: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
textarea.form-control { resize: vertical; min-height: 90px; }

/* ── Favoriler / Karşılaştırma ─────────────────────────────── */
.compare-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--secondary);
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 900;
  transform: translateY(100%);
  transition: var(--transition);
}
.compare-bar.show { transform: translateY(0); }
.compare-items { display: flex; gap: 12px; }
.compare-item { background: rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 6px 12px; font-size: 13px; }

/* ── Kartlar / Widget'lar ─────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, var(--secondary) 0%, #2d6a9f 100%);
  padding: 28px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center;
  color: #fff;
  padding: 16px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 32px; font-weight: 800; line-height: 1; }
.stat-label { font-size: 13px; opacity: .8; margin-top: 4px; }

.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.category-card:hover .category-icon { background: var(--primary); color: #fff; }
.category-icon {
  width: 56px; height: 56px;
  background: var(--bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 12px;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.category-name { font-size: 13.5px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.category-count { font-size: 12px; color: var(--text-muted); }

/* ── Alert / Toast ────────────────────────────────────────── */
.alert {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-info    { background: #eff6ff; border: 1px solid #93c5fd; color: #1e40af; }
.alert-warning { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }

.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  min-width: 280px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--secondary);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: slideInRight .3s ease;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.toast.success { background: #059669; }
.toast.error   { background: var(--primary); }
.toast.info    { background: var(--secondary-light); }

/* ── İletişim ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-card-body h4 { font-weight: 600; margin-bottom: 4px; }
.contact-card-body p, .contact-card-body a { color: var(--text-muted); font-size: 14px; }
.contact-card-body a:hover { color: var(--primary); }
.map-container { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-container iframe { display: block; }

/* ── Sayfalama ────────────────────────────────────────────── */
.pagination { margin-top: 32px; }
.pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination li a, .pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background: var(--bg-card);
  font-size: 14px;
  color: var(--text-main);
  padding: 0 10px;
  transition: var(--transition);
}
.pagination li a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination li.active a, .pagination li.active span { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Arama Sonuçları ──────────────────────────────────────── */
.search-live {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  max-height: 420px;
  overflow-y: auto;
}
.search-live-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.search-live-item:hover { background: var(--bg); }
.search-live-img { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius-sm); background: var(--bg); }
.search-live-info .name { font-size: 14px; font-weight: 500; }
.search-live-info .code { font-size: 12px; color: var(--text-muted); }
.search-no-result { padding: 20px; text-align: center; color: var(--text-muted); font-size: 14px; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.8);
  padding: 56px 0 0;
  margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text .name { color: #fff; }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,.5); }
.footer-desc { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.7; margin: 16px 0 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  font-size: 16px;
  transition: var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--primary); color: #fff; }
.footer-heading { font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ── Yükleniyor / Overlay ─────────────────────────────────── */
.loading-spinner {
  width: 24px; height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--bg) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Back to Top ──────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 800;
}
#backToTop.show { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── Product List view (when using .product-card inside .product-list) ── */
.product-list .product-card {
  flex-direction: row;
  border-radius: var(--radius-lg);
}
.product-list .product-card .product-card-img {
  width: 120px;
  min-width: 120px;
  max-height: 140px;
}
.product-list .product-card .product-card-img img {
  height: 100%;
  object-fit: contain;
}
.product-list .product-card .product-card-body {
  flex: 1;
}
.product-list .product-card .product-card-footer {
  border-top: none;
  border-left: 1px solid var(--border);
  flex-direction: column;
  justify-content: center;
  min-width: 140px;
}

/* ── Mobile filter overlay ── */
@media (max-width: 768px) {
  .filter-sidebar.mobile-open {
    display: block !important;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1500;
    border-radius: 0;
    overflow-y: auto;
    animation: slideUp .3s ease;
  }
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 220px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .product-detail { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    /* Mobil uyumluluk için ekstra sığdırma */
    max-width: 100vw;
  }
  .container { max-width: 100%; padding: 0 15px; }
  .topbar { display: none; }
  .header-inner { padding: 0 10px; gap: 6px; }
  .header-middle { gap: 6px; flex: 1; min-width: 0; }
  .header-search { display: block; flex: 1; min-width: 0; max-width: calc(100vw - 160px); }
  .search-form input { padding: 0 8px; height: 34px; font-size: 12px; border-radius: 18px 0 0 18px; min-width: 0; }
  .search-form button { padding: 0 10px; height: 34px; font-size: 12px; border-radius: 0 18px 18px 0; white-space: nowrap; }
  .site-logo { flex-shrink: 0; }
  .header-actions { flex-shrink: 0; gap: 3px; margin-left: 0; }
  .hamburger { display: flex; }
  .main-nav { display: none; }
  .logo-text .tagline { display: none; }
  .logo-text .name { font-size: 15px; }
  .logo-icon { width: 34px; height: 34px; font-size: 18px; }
  .site-logo { gap: 8px; }
  .site-header { height: 56px; }

  .btn-icon { width: 32px; height: 32px; font-size: 15px; flex-shrink: 0; }

  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .filter-sidebar.mobile-hidden { display: none; }

  .cart-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .product-card-footer {
    flex-wrap: wrap;
  }
  .product-card-footer .qty-selector {
    width: 70px !important;
    height: 28px !important;
  }
  .product-card-footer .qty-selector .qty-btn {
    width: 20px !important;
  }
  .product-card-footer .qty-selector .qty-input {
    width: 30px !important;
    font-size: 12px !important;
  }

  .product-list .product-card {
    flex-direction: column;
  }
  .product-list .product-card .product-card-img {
    width: 100%;
    min-width: unset;
    max-height: 180px;
  }
  .product-list .product-card .product-card-footer {
    border-left: none;
    border-top: 1px solid var(--border);
    flex-direction: row;
    min-width: unset;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 32px 0; }
  .section-sm { padding: 20px 0; }
  .slide { height: 240px; }
  .slide-content { padding: 0 20px; }
  .slide-content h2 { font-size: 20px; }
  .slide-content p { font-size: 13px; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-main img { height: 260px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .section-title { font-size: 20px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
  .section-subtitle { margin-bottom: 0; font-size: 13px; }

  .stats-strip { padding: 0; }
  .stat-item { padding: 12px 8px; }
  .stat-number { font-size: 22px; }
  .stat-label { font-size: 11px; }

  .site-footer { padding: 32px 0 0; margin-top: 32px; }
  .footer-heading { font-size: 13px; margin-bottom: 10px; }
  .footer-links a { font-size: 13px; }
  .footer-desc { font-size: 13px; margin: 12px 0 16px; }
  .footer-bottom { padding: 14px 0; font-size: 12px; }

  #backToTop { bottom: 16px; right: 16px; width: 38px; height: 38px; font-size: 16px; }

  /* Checkout responsive */
  .checkout-form + .cart-summary,
  div[style*="grid-template-columns: 1fr 360px"] {
    display: flex !important;
    flex-direction: column !important;
  }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .container { padding: 0 12px; }
  .product-card-body { padding: 10px 12px; }
  .product-title { font-size: 13px; }
  .product-price { font-size: 15px; }
  .product-brand { font-size: 10px; }
  .product-card-img img { height: 120px; }
  .slide { height: 200px; }
  .slide-content h2 { font-size: 18px; }

  .btn-lg { padding: 12px 20px; font-size: 14px; }
}

@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .header-actions { gap: 2px; }
  .btn-icon { width: 32px; height: 32px; font-size: 14px; }
  .logo-text .name { font-size: 13px; }
  .logo-icon { width: 30px; height: 30px; font-size: 16px; }
}

