/* Base.css genel reset ve ortak stiller */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #333;
}

/* Header */
header.slayfox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f8f8;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
}

.slayfox-logo a {
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
}
/* ================================
   SLAYFOX  SEKSI ARAMA BÖLÜMÜ
   ================================ */

/* Arama container */
/* Arama container */
.slayfox-search {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 10px auto;
  /* z-index:1;  <-- Bunu kaldirdik */
}

/* Açilan sonuç kutusu ana kabi */
.slayfox-search-results {
  position: absolute;
  top: 115%;
  left: 0;
  right: 0;
  z-index: 10000; /* menüden daha yüksek */
  display: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  overflow: hidden;
}

/* Iç scroll alani */
.slayfox-results-wrapper {
  position: relative;
  max-height: 600px;
  overflow-y: auto;
}

/* Form */
.slayfox-search-form {
  position: relative;
}

/* Input  butonsuz, ikonlu, sexy */
.slayfox-search-input {
  width: 100%;
  padding: 10px 16px 10px 44px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 15px;
  color: #222;
  background-color: #ffffff;
  background-image: url('/images/icon-search.svg');
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 18px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.06),
    0 8px 18px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.slayfox-search-input::placeholder {
  color: #999;
}

.slayfox-search-input:focus {
  box-shadow:
    0 0 0 1px #58c1a3,
    0 10px 22px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}


/* Dinamik yükseklik  JS data-count set ediyor */
.slayfox-search-results[data-count="0"] .slayfox-results-wrapper {
  max-height: 100px;
}

.slayfox-search-results[data-count="1"] .slayfox-results-wrapper {
  max-height: 120px;
}

.slayfox-search-results[data-count="2"] .slayfox-results-wrapper {
  max-height: 220px;
}

.slayfox-search-results[data-count="3"] .slayfox-results-wrapper {
  max-height: 320px;
}

/* 4+ ürün için 600px'e kadar */
.slayfox-search-results[data-count="4"] .slayfox-results-wrapper,
.slayfox-search-results[data-count="5"] .slayfox-results-wrapper,
.slayfox-search-results[data-count="6"] .slayfox-results-wrapper,
.slayfox-search-results[data-count="7"] .slayfox-results-wrapper,
.slayfox-search-results[data-count="8"] .slayfox-results-wrapper,
.slayfox-search-results[data-count="9"] .slayfox-results-wrapper,
.slayfox-search-results[data-count="10"] .slayfox-results-wrapper {
  max-height: 600px;
}

/* Sonuç karti */
.slayfox-result-item {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f1f1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.slayfox-result-item:last-child {
  border-bottom: none;
}

.slayfox-result-item:hover {
  background: #f8fafb;
}

/* Resim alani */
.slayfox-result-image img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: #f2f2f2;
}

/* Bilgi alani */
.slayfox-result-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.slayfox-result-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #222;
  margin-bottom: 2px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.slayfox-result-brand {
  font-size: 0.82rem;
  color: #777;
  margin-bottom: 3px;
}

.slayfox-result-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #58c1a3;
}

/* Bos / hata durumlari */
.slayfox-result-empty .slayfox-result-title {
  font-weight: 500;
  color: #999;
  text-align: center;
}
/* Çok küçük telefonlar */
@media (max-width: 600px) {
  .slayfox-search-input {
    font-size: 14px;
    padding: 9px 14px 9px 40px;
  }

  .slayfox-result-image img {
    width: 44px;
    height: 44px;
  }

  .slayfox-result-title {
    font-size: 0.9rem;
  }

  .slayfox-result-price {
    font-size: 0.86rem;
  }
}

.slayfox-result-item:last-child {
  border-bottom: none;
}
.slayfox-result-item:hover {
  background: #f5f7fa;
}
.slayfox-result-item img {
  width: 25px;
  height: 25px;
  object-fit: cover;
  border-radius: 3px;
}
.slayfox-result-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #222;
}
.slayfox-result-brand {
  font-size: 0.85rem;
  color: #666;
}
.slayfox-result-price {
  font-size: 0.9rem;
  font-weight: bold;
  color: #58c1a3;
  text-align: right;
}

/* Üye alani */
.buharagroup-uye-online {
  display: flex;
  align-items: center;
  gap: 20px;
}
.buharagroup-uye-icon {
  position: relative;
  cursor: pointer;
}
.buharagroup-icon {
  font-size: 1.4rem;
  color: #333;
}
.buharagroup-uye-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 15px;
  min-width: 220px;
  z-index: 999;
}
.buharagroup-uye-icon:hover .buharagroup-uye-dropdown,
.buharagroup-uye-profil:hover .buharagroup-uye-dropdown {
  display: block;
}

/* Login form */
.buharagroup-login-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.buharagroup-login-form input {
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.buharagroup-login-form button {
  background: #58c1a3;
  color: #fff;
  border: none;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

/* Profil alani */
.buharagroup-uye-profil {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  cursor: pointer;
}
.buharagroup-profil-foto {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.buharagroup-uye-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.buharagroup-hosgeldin {
  font-size: 0.8rem;
  color: #666;
}
.buharagroup-adsoyad {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Dropdown menü */
.buharagroup-uye-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.buharagroup-uye-dropdown ul li {
  margin: 6px 0;
}
.buharagroup-uye-dropdown ul li a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}

/* Sepet */
.buharagroup-sepet-icon a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.buharagroup-count {
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.9em;
  margin-left: 5px;
}

/* FOOTER */
.buharagroup-footer {
  background: #f3f3f3;
  color: #222;
  font-family: Arial, sans-serif;
  padding: 30px 20px;
}
.buharagroup-footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
/* Sol blok */
.buharagroup-footer-logo-block {
  max-width: 320px;
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.buharagroup-footer-logo {
  width: 100%;
  height: 90px;
  object-fit: contain;
}
.buharagroup-footer-quote {
  font-style: italic;
  margin: 10px 0;
  color: #58c1a3;
}
.buharagroup-footer-desc {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.buharagroup-footer-social a {
  margin-right: 10px;
  font-size: 18px;
  color: #333;
  transition: 0.3s;
}
.buharagroup-footer-social a:hover {
  color: #58c1a3;
}
/* Hizli Menü */
.buharagroup-footer-menu {
  max-width: 220px;
  flex: 1;
}
.buharagroup-footer-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #58c1a3;
}
.buharagroup-footer-list {
  list-style: none;
  padding: 0;
}
.buharagroup-footer-list li {
  margin-bottom: 8px;
}
.buharagroup-footer-list a {
  color: #222;
  text-decoration: none;
}
.buharagroup-footer-list a:hover {
  color: #58c1a3;
}
/* Kategoriler */
.buharagroup-footer-categories {
  flex: 2;
  min-width: 360px;
}
.buharagroup-footer-catgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.buharagroup-footer-catgrid a {
  display: block;
  background: #eaeaea;
  padding: 6px 10px;
  border-radius: 4px;
  color: #222;
  text-decoration: none;
  transition: 0.2s;
}
.buharagroup-footer-catgrid a:hover {
  background: #58c1a3;
  color: #fff;
}
/* Sag blok */
.buharagroup-footer-right {
  max-width: 260px;
  flex: 1;
}
/* Banka karti */
.buharagroup-footer-bankakart {
  width: 100%;
  max-width: 260px;
  height: 165px;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: all 0.25s ease;
  cursor: pointer;
}
.buharagroup-footer-bankakart img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.buharagroup-footer-bankakart:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transform: translateY(-3px);
}
.buharagroup-footer-bankakart:hover img {
  transform: scale(1.04);
}

/* ==========================================
   ? YESIM  SIFIRDAN YENIDEN KURULAN RESPONSIVE
   ========================================== */

/* 900px alti  tablet + tüm telefonlar */
@media (max-width: 900px) {
  .buharagroup-footer-wrapper {
    display: block !important;
    gap: 25px !important;
  }
  .buharagroup-footer-logo-block,
  .buharagroup-footer-menu,
  .buharagroup-footer-categories,
  .buharagroup-footer-right {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block !important;
    flex: unset