/* ============================================================
   E-TİCARET — Ana CSS
   ============================================================ */

/* --- Değişkenler --- */
:root {
  --color-primary:       #215ADA;
  --color-primary-rgb:   33,90,218;
  --color-secondary:     #FF4C1A;
  --color-green:         #24BD25;
  --color-heading:       #000000;
  --color-body:          #737373;
  --color-black:         #000000;
  --color-white:         #ffffff;
  --color-gray-light:    #F9F9F9;
  --color-brand-200:     #E9F1FC;
  --color-brand-300:     #D3E1F8;
  --color-gray-100:      #F3F3F3;
  --color-gray-200:      #E6E6E6;
  --color-gray-300:      #C1C1C1;
  --color-gray-400:      #888888;
  --color-gray-500:      #555555;
  --color-border:        #F3F3F3;
  --color-success:       #53DC54;
  --color-danger:        #E53E3E;
  --color-warning:       #F5B24F;
  --color-whatsapp:      #24D366;

  --radius-big:  16px;
  --radius-md:   8px;
  --radius:      6px;
  --radius-full: 500px;

  --font-cabin: 'Cabin', sans-serif;
  --header-h:   88px;
  --container:  1280px;
  --transition: .18s ease;

  /* Bootstrap override */
  --bs-primary:          #215ADA;
  --bs-primary-rgb:      33,90,218;
  --bs-link-color:       #215ADA;
  --bs-link-hover-color: #1748b8;
  --bs-border-radius:    8px;
  --bs-body-font-family: 'Cabin', sans-serif;
  --bs-body-color:       #737373;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-cabin);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-cabin);
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.3;
}
h1 { font-size: 2.25rem; }   /* 36px */
h2 { font-size: 1.875rem; }  /* 30px */
h3 { font-size: 1.75rem; }   /* 28px */
h4 { font-size: 1.5rem; }    /* 24px */
h5 { font-size: 1.25rem; }   /* 20px */
h6 { font-size: 1.125rem; }  /* 18px */
p { line-height: 1.6; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Container --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ============================================================
   DUYURU BANDI
   ============================================================ */
.duyuru-bandi {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* ============================================================
   INFO BAR
   ============================================================ */
.info-bar {
  background: #f8f8f8;
  border-bottom: 1px solid var(--color-gray-200);
  font-size: .78rem;
  color: var(--color-gray-500);
}
/* Mobilde duyuru barı renkleri override */
@media (max-width: 768px) {
  .info-bar {
    background: var(--duyuru-mobil-bg, #1a56db) !important;
    color: var(--duyuru-mobil-yazi, #fff) !important;
    font-size: var(--duyuru-mobil-size, 13px) !important;
  }
}
.info-bar-inner {
  display: flex;
  align-items: center;
  height: 36px;
  gap: 0;
}
.info-bar-left {
  display: flex;
  align-items: center;
  gap: 0;
}
.info-bar-left a {
  padding: 0 14px;
  color: inherit;
  font-weight: 500;
  border-right: 1px solid rgba(0,0,0,.12);
  height: 36px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
  opacity: .85;
}
.info-bar-left a:hover { opacity: 1; }
.info-bar-center {
  flex: 1;
  text-align: center;
  font-weight: 500;
  color: inherit;
}
.info-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}
.info-bar-right a {
  color: inherit;
  font-weight: 500;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: .85;
}
.info-bar-right a:hover { opacity: 1; }
@media(max-width:768px) {
  .info-bar-left { display: none; }
  .info-bar-right { display: none; }
  .info-bar-center {
    text-align: center;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
    font-size: var(--duyuru-mobil-size, .76rem) !important;
  }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.logo { flex-shrink: 0; }
.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -.02em;
}

/* Arama — ortalanmış */
.header-search {
  flex: 1;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  display: flex;
}
.header-search input {
  width: 100%;
  height: 54px;
  padding: 0 64px 0 24px;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  font-size: 1rem;
  background: var(--color-gray-100);
  outline: none;
  font-family: var(--font-cabin);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.header-search input::placeholder { color: var(--color-gray-400); }
.header-search input:focus {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(33,90,218,.1);
}
.header-search button {
  position: absolute;
  right: 0;
  top: 0;
  height: 54px;
  width: 54px;
  background: var(--color-primary);
  border: none;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.header-search button:hover { background: var(--color-primary-dark, #1748b8); }

/* Autocomplete öneri listesi */
.arama-oneriler {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 600;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}
.arama-oneriler a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: .86rem;
  color: var(--color-heading);
  text-decoration: none;
  transition: background var(--transition);
  border-bottom: 1px solid var(--color-gray-100);
}
.arama-oneriler a:last-child { border-bottom: none; }
.arama-oneriler a:hover { background: var(--color-brand-200); color: var(--color-primary); }
.arama-oneriler a img { width: 36px; height: 36px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.arama-oneriler a .oneri-ad { flex: 1; font-weight: 500; }
.arama-oneriler a .oneri-fiyat { font-weight: 700; color: var(--color-primary); font-size: .82rem; white-space: nowrap; }
.arama-oneriler-yok { padding: 16px; text-align: center; font-size: .84rem; color: var(--color-gray-400); }

/* Aksiyonlar */
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
.header-action-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  color: var(--color-heading);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  transition: background var(--transition), color var(--transition);
}
.header-action-btn:hover { background: var(--color-gray-100); color: var(--color-primary); }
.header-action-label { white-space: nowrap; }
.sepet-badge {
  position: absolute;
  top: 0; right: 2px;
  background: var(--color-secondary);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  line-height: 1;
  border: 2px solid #fff;
}

/* Dropdown */
.header-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-big);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 600;
}
.header-dropdown:hover .dropdown-menu,
.header-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a, .dropdown-menu button {
  display: block;
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: .84rem;
  color: var(--color-heading);
  transition: background var(--transition);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-cabin);
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--color-gray-100); color: var(--color-primary); }
.dropdown-menu hr { border: none; border-top: 1px solid var(--color-border); margin: 4px 0; }

/* Mobil */
.mobil-menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--radius-md); background: none; border: none; cursor: pointer; flex-shrink: 0; }
.mobil-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--color-heading); border-radius: 2px; transition: var(--transition); }

/* ============================================================
   KATEGORİ NAV
   ============================================================ */
.kategori-nav {
  background: var(--color-primary);
}
/* Kategori nav: dropdown için overflow visible şart */
.kategori-nav { overflow: visible; position: relative; z-index: 500; }
.kategori-nav-scroll { overflow-x: auto; scrollbar-width: none; }
.kategori-nav-scroll::-webkit-scrollbar { display: none; }
.kategori-nav-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: visible;
}
.kategori-nav-list > li { position: relative; flex-shrink: 0; }
.kategori-nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 16px 20px;
  font-size: .9375rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
  border-bottom: none;
  transition: background var(--transition), color var(--transition);
  letter-spacing: .01em;
}
.kategori-nav-list > li > a:hover,
.kategori-nav-list > li.aktif > a {
  background: rgba(0,0,0,.18);
  color: #fff;
}
/* Dropdown ok ikonu */
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(255,255,255,.75);
  border-bottom: 1.5px solid rgba(255,255,255,.75);
  transform: rotate(45deg) translateY(-2px);
  margin-left: 3px;
  flex-shrink: 0;
}
/* Sağda telefon/iletişim */
.kategori-nav-iletisim {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: #fff;
  font-size: .82rem;
  flex-shrink: 0;
  border-left: 1px solid rgba(255,255,255,.2);
}
.kategori-nav-iletisim strong { font-size: .95rem; font-weight: 700; }

/* Dropdown menü */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: opacity .15s ease, visibility .15s ease;
  z-index: 600;
  /* Boşluk bırakmamak için: li'nin altına yapıştır */
  margin-top: 0;
}
/* li üzerinde geniş hover alanı — pseudo element ile boşluk kapat */
.has-dropdown {
  padding-bottom: 0;
}
.has-dropdown::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: transparent;
}
/* Nav dropdown JS ile kontrol edilir — CSS hover kaldırıldı */
.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; }
.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: .83rem;
  border-radius: var(--radius);
  color: var(--color-heading);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown a:hover { background: var(--color-brand-200); color: var(--color-primary); }

/* ============================================================
   FLASH MESAJ
   ============================================================ */
.flash-mesaj {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  min-width: 300px;
  max-width: 560px;
  border-radius: var(--radius-big);
  padding: 14px 20px;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  animation: slideDown .25s ease;
}
.flash-mesaj .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flash-basari { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.flash-hata   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.flash-bilgi  { background: #eff6ff; border: 1px solid #93c5fd; color: #1e40af; }
.flash-uyari  { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }
.flash-kapat  { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: inherit; line-height: 1; flex-shrink: 0; }
@keyframes slideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   MİNİ SEPET
   ============================================================ */
.mini-sepet-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 598; opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition); }
.mini-sepet-overlay.acik { opacity: 1; visibility: visible; }
.mini-sepet {
  position: fixed;
  top: 0; right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 599;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s ease;
  box-shadow: -4px 0 32px rgba(0,0,0,.12);
}
.mini-sepet.acik { transform: translateX(0); }
.mini-sepet-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--color-border); font-weight: 700; font-size: 1rem; }
.mini-sepet-header button { font-size: 1.5rem; color: var(--color-gray-400); background: none; border: none; cursor: pointer; line-height: 1; }
.mini-sepet-icerik { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.mini-sepet-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; background: var(--color-gray-100); border-radius: var(--radius-md); }
.mini-sepet-item img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.mini-gorsel-ph { width: 64px; height: 64px; background: var(--color-gray-200); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.mini-item-bilgi { display: flex; flex-direction: column; gap: 3px; }
.mini-item-ad { font-size: .82rem; font-weight: 600; color: var(--color-heading); }
.mini-item-fiyat { font-size: .85rem; font-weight: 700; color: var(--color-primary); }
.mini-item-adet { font-size: .75rem; color: var(--color-gray-400); }
.bos-sepet { text-align: center; color: var(--color-gray-400); font-size: .88rem; padding: 40px 0; }
.mini-sepet-footer { padding: 16px; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 8px; }
.mini-sepet-toplam { display: flex; justify-content: space-between; font-size: .95rem; font-weight: 600; }
.mini-sepet-toplam strong { color: var(--color-primary); font-size: 1.1rem; }

/* ============================================================
   BUTONLAR
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-cabin);
}
.btn:active { transform: scale(.97); }
.btn-primary   { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { background: #1748b8; border-color: #1748b8; color: #fff; }
.btn-secondary { background: var(--color-gray-100); color: var(--color-heading); border-color: var(--color-gray-200); }
.btn-secondary:hover { background: var(--color-gray-200); }
.btn-success   { background: var(--color-green); color: #fff; border-color: var(--color-green); }
.btn-success:hover { background: #1ea01f; border-color: #1ea01f; }
.btn-danger    { background: var(--color-danger); color: #fff; border-color: var(--color-danger); }
.btn-danger:hover { background: #c53030; }
.btn-outline   { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-brand-200); }
.btn-ghost     { background: transparent; color: var(--color-gray-500); border-color: transparent; }
.btn-ghost:hover { background: var(--color-gray-100); color: var(--color-heading); }
.btn-full  { width: 100%; }
.btn-sm    { padding: 7px 14px; font-size: .8rem; }
.btn-lg    { padding: 13px 28px; font-size: 1rem; }
.mt-1 { margin-top: 8px; }

/* ============================================================
   ÜRÜN KARTI
   ============================================================ */
.urun-karti {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-big);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.urun-karti:hover { box-shadow: 0 8px 32px rgba(33,90,218,.12); transform: translateY(-3px); }

.urun-karti-gorsel {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-gray-100);
}
.urun-karti-gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .15s ease; }
.urun-karti-img { transition: opacity .15s ease; }
.urun-karti:hover .urun-karti-gorsel img { transform: scale(1.04); }
.gorsel-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--color-gray-300); }

.urun-karti-badge { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.badge { display: inline-block; padding: 3px 9px; border-radius: var(--radius-full); font-size: .7rem; font-weight: 700; line-height: 1.4; }
.badge-indirim  { background: var(--color-secondary); color: #fff; }
.badge-yeni     { background: var(--color-green); color: #fff; }
.badge-one-cikan { background: var(--color-primary); color: #fff; }

.urun-karti-etiketler { position: absolute; bottom: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 20px); }
.urun-karti-etiket {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  font-size: .68rem; font-weight: 600; line-height: 1.4;
  background: rgba(241,245,249,.92); color: #475569;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}

.urun-karti-favori {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.92);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  transition: background var(--transition), color var(--transition);
  color: var(--color-gray-300);
  backdrop-filter: blur(4px);
}
.urun-karti-favori:hover, .urun-karti-favori.aktif { color: var(--color-secondary); background: #fff; }

.urun-karti-sepet-hizli {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 11px;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform .22s ease;
  border: none; cursor: pointer;
  font-family: var(--font-cabin);
}
.urun-karti:hover .urun-karti-sepet-hizli { transform: translateY(0); }

.urun-karti-bilgi { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.urun-karti-kategori { font-size: .75rem; color: var(--color-gray-400); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; line-height: 1.4; }
.urun-karti-ad { font-size: 1rem; font-weight: 700; color: var(--color-heading); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.urun-karti-ad a:hover { color: var(--color-primary); }
.urun-karti-fiyat { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; }
.fiyat-ana  { font-size: 1.125rem; font-weight: 700; color: var(--color-heading); }
.fiyat-eski { font-size: .8125rem; text-decoration: line-through; color: var(--color-gray-400); }
.fiyat-indirimli { color: var(--color-secondary) !important; }
.urun-karti-yildiz { display: flex; gap: 1px; color: #fcc418; font-size: .8rem; }

/* ============================================================
   GRID
   ============================================================ */
.urun-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media(max-width:1100px){ .urun-grid{ grid-template-columns: repeat(3,1fr); } }
@media(max-width:768px) { .urun-grid{ grid-template-columns: repeat(2,1fr); gap: 12px; } }
@media(max-width:400px) { .urun-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   SAYFA YAPISI
   ============================================================ */
.sayfa-baslik { padding: 20px 0 16px; border-bottom: 1px solid var(--color-border); margin-bottom: 28px; }
.sayfa-baslik h1 { font-size: 1.5rem; font-weight: 700; color: var(--color-heading); }
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: .8rem; color: var(--color-gray-400); margin-bottom: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--color-gray-400); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { color: var(--color-gray-300); }

/* ============================================================
   FORM ELEMENLERİ
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--color-heading); }
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-size: .88rem;
  color: var(--color-heading);
  background: #fff;
  transition: border-color var(--transition);
  outline: none;
  line-height: 1.5;
  font-family: var(--font-cabin);
}
.form-control:focus { border-color: var(--color-primary); }
.form-control.hata { border-color: var(--color-danger); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-hata  { font-size: .75rem; color: var(--color-danger); margin-top: 2px; }
.form-yardim { font-size: .75rem; color: var(--color-gray-400); }

/* ============================================================
   ALERT
   ============================================================ */
.alert { padding: 12px 16px; border-radius: var(--radius-md); font-size: .88rem; font-weight: 500; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.alert-basari { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.alert-hata   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-bilgi  { background: #eff6ff; border: 1px solid #93c5fd; color: #1e40af; }
.alert-uyari  { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }

/* ============================================================
   SAYFALAMA
   ============================================================ */
.sayfalama { display: flex; justify-content: center; margin: 32px 0; }
.sayfalama ul { display: flex; gap: 4px; }
.sayfalama li a, .sayfalama li span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-gray-200);
  font-size: .84rem; font-weight: 600;
  color: var(--color-heading);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.sayfalama li a:hover { background: var(--color-brand-200); border-color: var(--color-primary); color: var(--color-primary); }
.sayfalama li.aktif a, .sayfalama li.aktif span { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #fff; color: #4b5563; margin-top: 72px; border-top: 1px solid #e5e7eb; }

/* Üst footer */
.footer-top { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media(max-width:960px){ .footer-grid{ grid-template-columns: 1fr 1fr; gap:28px; } }
@media(max-width:540px){ .footer-grid{ grid-template-columns: 1fr 1fr; gap:16px 20px; } }

.footer-col-brand .footer-logo { margin-bottom: 14px; }
.footer-logo-text { font-size: 1.4rem; font-weight: 800; color: var(--color-primary); }
.footer-desc { font-size: .84rem; line-height: 1.8; color: #6b7280; margin-bottom: 18px; }

/* İletişim listesi */
.footer-contact-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; list-style: none; padding: 0; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 9px; font-size: .83rem; color: #4b5563; }
.footer-contact-list li i { color: var(--color-primary); margin-top: 2px; flex-shrink: 0; }
.footer-contact-list a { color: #4b5563; transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--color-primary); }

/* Sosyal butonlar */
.footer-sosyal { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-sosyal-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  font-size: .9rem;
  transition: background var(--transition), color var(--transition);
}
.footer-sosyal-btn:hover { background: var(--color-primary); color: #fff; }
.footer-sosyal-wa:hover { background: #25d366 !important; }

/* Footer başlıklar + liste */
.footer-baslik {
  font-size: .82rem;
  font-weight: 800;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.footer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list a {
  font-size: .9375rem;
  font-weight: 400;
  color: #374151;
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-list a:hover { color: var(--color-primary); }

/* Orta footer: ödeme + kargo */
.footer-middle { background: #f9fafb; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; padding: 22px 0; }
.footer-badges-row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
@media(max-width:700px){ .footer-badges-row{ gap:20px; } }
.footer-badges-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-badges-label { font-size: .72rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }

/* Ödeme kartları */
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.payment-badge {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 36px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  overflow: hidden;
}
.payment-badge svg { width: 52px; height: 32px; }
.payment-badge-3d {
  width: auto; padding: 0 10px; gap: 5px;
  font-size: .7rem; font-weight: 700; color: #059669;
  flex-direction: column; gap: 2px;
}
.payment-badge-3d i { font-size: .85rem; color: #059669; }
.payment-badge-3d span { font-size: .62rem; font-weight: 700; white-space: nowrap; }

/* Kargo badge'leri */
.kargo-badge {
  display: flex; align-items: center; justify-content: center;
  min-width: 64px; height: 36px; padding: 0 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

/* Alt footer: copyright */
.footer-bottom { background: #f3f4f6; padding: 14px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-copyright { font-size: .8rem; color: #6b7280; margin: 0; }
.footer-copyright strong { color: #111827; }
.footer-bottom-links { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-bottom-links a { font-size: .78rem; color: #6b7280; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--color-primary); }

/* WhatsApp */
.wa-float-btn {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  z-index: 400;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.wa-float-btn i {
  font-size: 1.5rem;
  color: #fff;
  line-height: 1;
}
.wa-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
  background: #20b858;
}

/* ============================================================
   SLIDER
   ============================================================ */
.slider-wrapper { position: relative; overflow: hidden; border-radius: var(--radius-big); margin-bottom: 40px; background: var(--color-gray-100); aspect-ratio: 16/5; }
@media(max-width:768px){
  .slider-wrapper { aspect-ratio: 16/9; border-radius: 0; }
  .slider-icerik h2 { font-size: 1.1rem; }
  .slider-icerik p { display: none; }
  /* Slider container mobilde kenarları kapat */
  .slider-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}
.slider-track { display: flex; transition: transform .45s ease; height: 100%; }
.slider-slide { min-width: 100%; position: relative; overflow: hidden; }
.slider-slide picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.slider-slide picture img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.1) 60%, transparent 100%); }
.slider-icerik {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1;
  padding: 0 52px;
  max-width: 580px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.slider-icerik h2 { font-size: 2.2rem; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.slider-icerik p  { font-size: 1rem; opacity: .85; margin-bottom: 20px; }
@media(max-width:600px){ .slider-icerik{ padding: 0 24px; } .slider-icerik h2{ font-size: 1.3rem; } }
.slider-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; background: rgba(255,255,255,.9); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; z-index: 2; transition: background var(--transition); color: var(--color-heading); backdrop-filter: blur(4px); }
.slider-nav-btn:hover { background: #fff; }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.slider-dots button { width: 8px; height: 8px; border-radius: var(--radius-full); background: rgba(255,255,255,.5); border: none; cursor: pointer; transition: background var(--transition), width var(--transition); }
.slider-dots button.aktif { background: #fff; width: 24px; }

/* ============================================================
   BÖLÜM BAŞLIKLARI
   ============================================================ */
.bolum { padding: 48px 0; }
.bolum-baslik { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.bolum-baslik h2 { font-size: 1.5rem; font-weight: 700; color: var(--color-heading); letter-spacing: -.01em; }
.bolum-baslik a  { font-size: .875rem; color: var(--color-primary); font-weight: 600; }
.bolum-baslik a:hover { text-decoration: underline; }

/* ============================================================
   KATEGORİ KARTI
   ============================================================ */
.kategori-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
@media(max-width:1100px){ .kategori-grid{ grid-template-columns: repeat(4,1fr); } }
@media(max-width:700px) { .kategori-grid{ grid-template-columns: repeat(3,1fr); } }
@media(max-width:460px) { .kategori-grid{ grid-template-columns: repeat(2,1fr); } }

/* Kart: dış link elementi */
.kategori-karti {
  display: block;
  border-radius: var(--radius-big);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--color-gray-200);
}
.kategori-karti:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(33,90,218,.18); }

/* Inner wrapper: sabit yükseklik, overflow:hidden */
.kategori-karti-inner {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
@media(max-width:700px){ .kategori-karti-inner{ height: 140px; } }
@media(max-width:460px){ .kategori-karti-inner{ height: 120px; } }

/* Resimli versiyon */
.kategori-karti-gorsel {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.kategori-karti:hover .kategori-karti-gorsel { transform: scale(1.06); }

/* Resim yoksa placeholder */
.kategori-karti-icon {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-brand-200) 0%, var(--color-primary) 100%);
  font-size: 3rem;
}

/* Alt overlay + isim */
.kategori-karti-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.08) 55%, transparent 100%);
  pointer-events: none;
}
.kategori-karti-ad {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 10px 12px;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  line-height: 1.2;
}

/* ============================================================
   FİLTRE PANEL
   ============================================================ */
.kategori-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
@media(max-width:900px){ .kategori-layout{ grid-template-columns: 1fr; } }
.filtre-panel { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-big); padding: 20px; position: sticky; top: calc(var(--header-h) + 90px); }
.filtre-baslik { font-size: .95rem; font-weight: 700; color: var(--color-heading); margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.filtre-grup { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.filtre-grup:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.filtre-grup-baslik { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--color-gray-400); margin-bottom: 10px; }
.filtre-item { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; }
.filtre-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--color-primary); cursor: pointer; }
.filtre-item label { font-size: .84rem; color: var(--color-heading); cursor: pointer; flex: 1; }
.fiyat-aralik { display: flex; gap: 8px; align-items: center; }
.fiyat-aralik input { flex: 1; padding: 7px 10px; border: 1.5px solid var(--color-gray-200); border-radius: var(--radius-md); font-size: .82rem; width: 100%; font-family: var(--font-cabin); }
.fiyat-aralik input:focus { outline: none; border-color: var(--color-primary); }

/* ============================================================
   HESABIM LAYOUT
   ============================================================ */
.hesabim-layout { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
@media(max-width:768px){ .hesabim-layout{ grid-template-columns: 1fr; } }
.hesabim-sidebar { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-big); padding: 12px; position: sticky; top: calc(var(--header-h) + 24px); }
.hesabim-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: .87rem;
  font-weight: 500;
  color: var(--color-heading);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.hesabim-link:hover { background: var(--color-brand-200); color: var(--color-primary); }
.hesabim-link.aktif { background: var(--color-brand-200); color: var(--color-primary); font-weight: 700; }
.hesabim-link-cikis:hover { background: #fff1f2; color: #e11d48; }
.hesabim-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: .9rem;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE MOBILE
   ============================================================ */
/* Mobil arama barı — masaüstünde gizli */
.mobil-arama-bar {
  display: none;
}

/* Mobil nav arama kutusu — sadece mobilde görünür */
.mobil-nav-arama {
  display: none;
}
@media(max-width:768px) {
  .mobil-nav-arama {
    display: block;
    padding: 14px 16px 10px;
    border-bottom: 1px solid var(--color-border);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
  }
  /* Arama — mobilde header'da gizle (button absolute olduğu için ayrıca gizle) */
  .header-search,
  .header-search * { display: none !important; }
  .header-action-label { display: none; }
  .mobil-menu-toggle { display: flex; }
  /* Header inner mobilde logo sol — aksiyonlar sağ */
  .header-inner { justify-content: space-between; gap: 0; }
  .header-actions { margin-left: auto; gap: 4px; }
  .header-action-btn { padding: 8px 10px; }

  /* Toggle buton: ☰ → ✕ animasyonu */
  .mobil-menu-toggle span {
    transition: transform .25s ease, opacity .25s ease;
    transform-origin: center;
  }
  .mobil-menu-toggle.acik span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobil-menu-toggle.acik span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .mobil-menu-toggle.acik span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobil menü — top ve height JS tarafından set edilir */
  .kategori-nav {
    display: none;
    position: fixed;
    top: 0; /* JS override eder */
    left: 0; right: 0;
    bottom: 0;
    z-index: 1200;
    background: #fff;
    overflow-y: auto;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
  }
  .kategori-nav.acik { display: block; }

  /* Menü içi arama kutusu */
  .kategori-nav::before {
    content: '';
    display: block;
    height: 0;
  }
  /* Mobil menü listesi */
  .kategori-nav-list {
    flex-direction: column;
    padding: 8px 0;
  }
  .kategori-nav-list > li > a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-heading);
  }
  .kategori-nav-list > li > a:hover {
    background: var(--color-brand-200);
    color: var(--color-primary);
  }
  /* Alt kategoriler mobilde inline göster */
  .nav-dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 0 4px 20px !important;
    background: var(--color-gray-light);
    pointer-events: auto !important;
  }
  /* Body'e doğrudan eklenen nav-dropdown'ları gizle (JS tarafından taşınanlar) */
  body > ul.nav-dropdown,
  body > .nav-dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .nav-dropdown li a {
    padding: 10px 16px !important;
    font-size: .9rem !important;
    font-weight: 500 !important;
    color: var(--color-body) !important;
    border-bottom: 1px solid var(--color-border) !important;
    display: block;
  }
  .mini-sepet { width: 100vw; }
  .duyuru-bandi { font-size: .74rem; }

  /* Mobil arama barı — sabit, her zaman görünür */
  .mobil-arama-bar {
    display: block;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
  }
  .mobil-arama-bar-form {
    width: 100%;
  }
  .mobil-arama-bar-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f3f4f6;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0 14px;
    height: 50px;
    transition: border-color .2s, background .2s;
    box-sizing: border-box;
  }
  .mobil-arama-bar-inner:focus-within {
    border-color: var(--color-primary);
    background: #fff;
  }
  .mobil-arama-bar-icon {
    flex-shrink: 0;
    color: #9ca3af;
  }
  .mobil-arama-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: .95rem;
    font-family: inherit;
    color: var(--color-heading);
    outline: none;
    min-width: 0;
  }
  .mobil-arama-bar input::placeholder { color: #9ca3af; }
  /* Tarayıcı native clear (×) butonunu gizle */
  .mobil-arama-bar input::-webkit-search-cancel-button { display: none; -webkit-appearance: none; }
  .mobil-arama-bar input::-ms-clear { display: none; }
}

/* ============================================================
   FOOTER'A BOOTSTRAP JS
   ============================================================ */
/* Bootstrap 5 JS footer.php'e eklendi */

/* ============================================================
   İKİLİ BANNER
   ============================================================ */
.ikili-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media(max-width:700px){ .ikili-banner-grid{ grid-template-columns: 1fr; } }

.ikili-banner {
  display: flex;
  align-items: stretch;
  background: #f3f4f6;
  border-radius: var(--radius-big);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 200px;
}
.ikili-banner:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(33,90,218,.14); }

/* Sol: metin bölümü */
.ikili-banner-metin {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  gap: 10px;
}
.ikili-banner-etiket {
  font-size: .72rem;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ikili-banner-baslik {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0;
}
.ikili-banner-aciklama {
  font-size: .82rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 240px;
}
.ikili-banner-btn {
  display: inline-block;
  padding: 9px 20px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 700;
  width: fit-content;
  transition: background var(--transition);
}
.ikili-banner:hover .ikili-banner-btn { background: var(--color-primary-dark, #1a4ac9); }

/* Sağ: görsel bölümü */
.ikili-banner-gorsel-wrap {
  width: 45%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
}
.ikili-banner-gorsel {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.ikili-banner:hover .ikili-banner-gorsel { transform: scale(1.04); }
.ikili-banner-ph {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

/* ============================================================
   KAYAN YAZI BANDI
   ============================================================ */
.kayan-bant {
  background: var(--color-primary);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  position: relative;
  z-index: 10;
}
.kayan-bant-icerik {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: kayanBant 30s linear infinite;
  will-change: transform;
}
.kayan-bant:hover .kayan-bant-icerik { animation-play-state: paused; }
@keyframes kayanBant {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}
.kayan-bant-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 36px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  white-space: nowrap;
}
.kayan-bant-item::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  margin-left: 36px;
  flex-shrink: 0;
}
.kayan-bant-ikon { font-size: .95rem; flex-shrink: 0; }

/* ============================================================
   AVANTAJLAR GRID
   ============================================================ */
.avantajlar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media(max-width:900px) { .avantajlar-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media(max-width:480px) { .avantajlar-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* ============================================================
   STORY SİSTEMİ
   ============================================================ */

/* Story bar */
.story-bar-wrap {
  padding: 16px 0 8px;
}
.story-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.story-bar::-webkit-scrollbar { display: none; }

/* Story item (halka) */
.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: transform .15s ease;
}
.story-item:hover { transform: scale(1.06); }
.story-item:active { transform: scale(.96); }

.story-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--story-color, #e11d48), #f97316);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.story-img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #fff;
  background: #f3f4f6;
}
.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-label {
  font-size: .7rem;
  font-weight: 600;
  color: var(--color-heading);
  max-width: 68px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* Story Viewer Overlay */
.story-viewer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 9000;
  backdrop-filter: blur(4px);
}
.story-viewer-overlay.aktif { display: block; }

/* Story Viewer */
.story-viewer {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(400px, 100vw);
  height: min(700px, 100dvh);
  z-index: 9001;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.story-viewer.aktif { display: flex; flex-direction: column; }
@media(max-width:480px) {
  .story-viewer {
    top: 0; left: 0;
    transform: none;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }
}

/* Progress barlar */
.story-progress-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 4px;
  z-index: 10;
}
.story-prog-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
  overflow: hidden;
}
.story-prog-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
}

/* Header */
.story-viewer-header {
  position: absolute;
  top: 22px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}
.story-viewer-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.story-viewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.story-viewer-title {
  color: #fff;
  font-size: .84rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.story-viewer-close {
  background: rgba(0,0,0,.4);
  border: none;
  cursor: pointer;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.story-viewer-close:hover { background: rgba(0,0,0,.65); }

/* Görsel */
.story-viewer-img-wrap {
  position: absolute;
  inset: 0;
}
.story-viewer-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-viewer-gradient-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent);
}
.story-viewer-gradient-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
}

/* Prev / Next nav alanları */
.story-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9;
}
.story-nav-prev { left: 0; }
.story-nav-next { right: 0; }

/* Footer — link butonu */
.story-viewer-footer {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
}
.story-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 10px 24px;
  border-radius: 99px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.story-link-btn:hover { background: rgba(255,255,255,.28); color: #fff; }
