﻿/* CSS Version: 2.8.20260207 - Subtle Border & Shadow */

/* Ana font kalıtımı — tarayıcılar form elementlerine otomatik inherit uygulamaz */
input, select, button, textarea, optgroup, option {
  font-family: inherit;
  font-size: inherit;
}

/* Mobilde viewport kontrolü - basit */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }
  
  body {
    overflow-x: hidden;
  }
}

/* ========== YENİ YATAY FİLTRE BAR STİLLERİ ========== */

/* Ana container - tek sütun */
.ilanlar-main-container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  overflow-x: hidden;
}

/* İçerik wrapper - Sol panel + Sağ içerik */
.ilanlar-content-wrapper {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 1400px;
  align-items: flex-start;
  overflow-x: hidden;
}

/* Sol Sütun Wrapper - Irk Paneli + Harita Widgetı */
.ilanlar-left-column {
  width: 260px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  flex-shrink: 0;
}

/* Sol Panel - Irk Filtreleri */
.breed-filter-panel {
  width: 260px;
  min-width: 260px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(255, 152, 0, 0.08);
}

/* Scrollbar styling */
.breed-filter-panel::-webkit-scrollbar {
  width: 6px;
}

.breed-filter-panel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.breed-filter-panel::-webkit-scrollbar-thumb {
  background: var(--primary, #FF9800);
  border-radius: 10px;
}

.breed-filter-panel::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark, #f57c00);
}

.breed-panel-header {
  background: var(--primary, #FF9800);
  color: white;
  padding: 10px 14px;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.breed-panel-header i {
  font-size: 0.95rem;
}

.breed-panel-header h3 {
  margin: 0;
  font-size: 0.9rem;
}

/* Harita bölümü başlığı — teal (desktop + mobile) */
.breed-panel-header--map {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  border-radius: 0;
}

/* Filtreler bölümü başlığı — koyu teal */
.breed-panel-header--filters {
  background: var(--primary-dark);
  border-radius: 0;
}

/* Mobil Breed Filter Butonu */
.mobile-breed-filter-btn {
  display: none; /* Varsayılan olarak gizli */
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  background: var(--primary, #60bd9c);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 0;
  width: 100%;
}

.mobile-breed-filter-btn:hover {
  opacity: 0.88;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.mobile-breed-filter-btn:active {
  transform: scale(0.98);
}

.mobile-breed-filter-btn i {
  font-size: 1.1rem;
}

.breed-arrow {
  margin-left: auto;
  font-size: 1rem;
  opacity: 0.8;
}

.mobile-breed-filter-btn:hover .breed-arrow {
  opacity: 1;
}

.filter-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #2d9b95;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Mobil Drawer Kapatma Butonu */
.mobile-drawer-close {
  display: none;
  position: absolute;
  margin: 5px auto;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: white;
  border-radius: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: all 0.2s;
  font-size: 1rem;
}

.mobile-drawer-close:hover {
  opacity: 0.8;
}

.mobile-drawer-close:active {
  transform: scale(0.9);
}

/* Popüler Aramalar Stilleri */
.popular-combinations {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.popular-header {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.popular-header .fa-fire {
  color: #e74c3c;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.popular-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  text-decoration: none;
  color: #495057;
  transition: all 0.2s;
}

.popular-item:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.popular-icon {
  font-size: 1.2rem;
  color: #667eea;
  transition: color 0.2s;
}

.popular-item:hover .popular-icon {
  color: white;
}

.popular-info {
  flex: 1;
}

.popular-breed {
  font-weight: 600;
  font-size: 0.95rem;
}

.popular-city {
  font-size: 0.85rem;
  opacity: 0.8;
}

.popular-city i {
  font-size: 0.75rem;
}

.popular-arrow {
  font-size: 0.9rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.popular-item:hover .popular-arrow {
  opacity: 1;
}

.popular-cities {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.popular-cities-header {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 12px;
  margin-top: 0;
}

.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-tag {
  padding: 8px 16px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  text-decoration: none;
  color: #495057;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.city-tag:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
  transform: translateY(-1px);
}

.breed-panel-content {
  padding: 12px;
}

.breed-section {
  margin-bottom: 12px;
}

.breed-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f8f9fa;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main, #2c3e50);
}

.breed-section-header:hover {
  background: #e9ecef;
}

.breed-section-header i.fas:first-child {
  color: var(--primary, #FF9800);
  font-size: 0.9rem;
}

.breed-section-header span {
  flex: 1;
}

.breed-section-toggle {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  cursor: pointer;
  padding: 4px 6px;
  margin: -4px -6px;
  border-radius: 4px;
}

.breed-section-toggle:hover {
  background: rgba(0,0,0,0.08);
}

.breed-section.collapsed .breed-section-toggle {
  transform: rotate(-90deg);
}

.breed-section.collapsed .breed-list {
  display: none;
}

.breed-list {
  padding: 4px 0;
  display: block;
}

.breed-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 3px;
  text-decoration: none;
  color: inherit;
}

.breed-item:hover {
  background: #fff3e0;
}

.breed-item.active {
  background: var(--primary, #FF9800);
  color: white;
  font-weight: 600;
}

.breed-name {
  font-size: 0.8rem;
}

.breed-count {
  background: rgba(0, 0, 0, 0.1);
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

.breed-item.active .breed-count {
  background: rgba(255, 255, 255, 0.3);
}

.breed-toggle-btn {
  width: 100%;
  padding: 12px 16px;
  background: #e8e8e8;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  color: #000;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.breed-toggle-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.breed-toggle-btn:hover::before {
  left: 100%;
}

.breed-toggle-btn:hover {
  transform: translateY(-2px);
  background: #d8d8d8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.breed-toggle-btn:active {
  transform: translateY(0);
  background: #c8c8c8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.breed-toggle-btn .show-more,
.breed-toggle-btn .show-less {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.breed-toggle-btn i {
  transition: transform 0.3s ease;
}

.breed-toggle-btn:hover i {
  transform: translateY(2px);
}

.no-breeds {
  text-align: center;
  padding: 12px;
  color: #999;
  font-size: 0.8rem;
}

/* Sidebar Filter Stilleri */
.sidebar-filter-form {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e9ecef;
}

/* Üst sağ filtreler */
.top-filters-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-filters-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-select-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-select-wrapper label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  cursor: pointer;
}

.filter-select-wrapper label i {
  color: #ff9800;
  font-size: 0.85rem;
}

.top-filter-select {
  padding: 7px 16px;
  padding-right: 38px;
  border-radius: 10px;
  border: 2px solid #ff9800;
  background: #fff;
  font-size: 0.94rem;
  color: #222;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(255,152,0,0.12);
  font-weight: 700;
  min-width: 140px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="12" viewBox="0 0 16 12"><path fill="%23ff9800" stroke="%23ff9800" stroke-width="1" d="M2 2L8 9L14 2"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

.top-filter-select:hover {
  border-color: #f57c00;
  box-shadow: 0 4px 12px rgba(255,152,0,0.25);
  background: #fffaf0;
}

.top-filter-select:focus {
  outline: none;
  border-color: #f57c00;
  box-shadow: 0 0 0 4px rgba(255,152,0,0.2), 0 6px 20px rgba(255,152,0,0.35);
  background: #fff;
}

/* Mobilde select dropdown'ları kontrol et */
@media (max-width: 768px) {
  .top-filter-select {
    padding: 7px 14px !important;
    padding-right: 34px !important;
    font-size: 0.92rem !important;
    width: 100%;
    border-radius: 10px !important;
    border-width: 2px !important;
    background-size: 13px !important;
    background-position: right 12px center !important;
    box-shadow: 0 2px 8px rgba(255,152,0,0.12) !important;
    font-weight: 700 !important;
  }
  
  .filter-select-wrapper {
    width: 100%;
    gap: 6px;
    margin-bottom: 5px;
  }
  
  .filter-select-wrapper label i {
    font-size: 1.1rem;
    color: #ff9800;
  }
  
  .top-filters-wrapper {
    width: 100%;
    margin-bottom: 6px;
  }
  
  .top-filters-form {
    width: 100%;
    gap: 5px;
    margin-bottom: 0;
  }
}

/* Mobilde filtre boşluklarını azalt */
@media (max-width: 480px) {
  .top-filter-select {
    padding: 6px 12px !important;
    padding-right: 32px !important;
    font-size: 0.9rem !important;
    border-radius: 9px !important;
    border-width: 2px !important;
    background-size: 12px !important;
    background-position: right 11px center !important;
    font-weight: 700 !important;
  }
  
  .filter-select-wrapper {
    gap: 4px;
    margin-bottom: 3px;
  }
  
  .filter-select-wrapper label i {
    font-size: 1rem;
  }
  
  .top-filters-wrapper {
    margin-bottom: 4px;
  }
  
  .top-filters-form {
    gap: 3px;
    margin-bottom: 0;
  }
}

/* Çok küçük mobil ekranlar */
@media (max-width: 360px) {
  .top-filter-select {
    padding: 5px 10px !important;
    padding-right: 30px !important;
    font-size: 0.88rem !important;
    border-radius: 8px !important;
    border-width: 2px !important;
    background-size: 12px !important;
    background-position: right 10px center !important;
    font-weight: 700 !important;
  }
  
  .filter-select-wrapper {
    gap: 3px;
    margin-bottom: 2px;
  }
  
  .filter-select-wrapper label i {
    font-size: 0.95rem;
  }
  
  .top-filters-wrapper {
    margin-bottom: 3px;
  }
  
  .top-filters-form {
    gap: 2px;
    margin-bottom: 0;
  }
}

/* Horizontal Filter Bar */
.filter-bar-horizontal {
  background: linear-gradient(135deg, var(--primary, #FF9800) 0%, #f57c00 100%);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(255, 152, 0, 0.25);
  position: static;
  top: 80px;
  z-index: 50;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 1080px;
}

.filter-form {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
}

/* Filter Groups */
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 0;
  min-width: 0;
  align-items: stretch;
}

.filter-group.filter-pet-type {
  flex: 1.5 1 0;
}

.filter-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-main, #2c3e50);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  height: 16px;
  line-height: 16px;
}

/* Pet Type Buttons - "Ben Burdayım" Tasarımı */
.pet-type-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  height: 38px;
}

.pet-type-btn {
  background: var(--primary, #FF9800);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  height: 38px;
}

.pet-type-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.4) 0%, transparent 100%);
  transition: width 0.4s ease;
}

.pet-type-btn:hover::before {
  width: 100%;
}

.pet-type-btn i {
  font-size: 0.55rem;
  transition: transform 0.3s ease;
}

.pet-type-btn:hover {
  transform: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  background: var(--primary-dark, #f57c00);
}

.pet-type-btn:hover i {
  transform: rotate(8deg) scale(1.1);
}

.pet-type-btn:active {
  transform: scale(0.95);
}

/* Active Pet Type Button */
.pet-type-btn.active {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  border-color: white;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
}

.pet-type-btn.active:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.5), 0 0 0 5px rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.5);
  }
}

.pet-type-btn.active i {
  transform: scale(1.2);
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% { transform: scale(1.2) translateY(0); }
  50% { transform: scale(1.3) translateY(-4px); }
}

/* Filter Select Dropdowns */
.filter-select {
  background: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main, #2c3e50);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9800' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 32px;
  height: 32px;
}

.filter-select:hover {
  border-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filter-select:focus {
  outline: none;
  border-color: white;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3), 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* Search Button */
.filter-search-btn {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  border: 2px solid white;
  border-radius: 10px;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: auto;
  white-space: nowrap;
}

.filter-search-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.filter-search-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.5);
}

.filter-search-btn:hover i {
  transform: rotate(90deg) scale(1.2);
}

.filter-search-btn:active {
  transform: translateY(-2px) scale(1.02);
}

/* İçerik alanı */
.ilanlar-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .ilanlar-content-area {
    gap: 8px;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .ilanlar-content-wrapper {
    flex-direction: column;
    gap: 10px;
  }
  
  .ilanlar-left-column {
    width: 100%;
    min-width: 0;
  }
  
  .breed-filter-panel {
    width: 100%;
    position: static;
    max-height: none;
    overflow-y: visible;
  }
  
  .breed-panel-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .breed-section {
    flex: 1;
    min-width: 250px;
  }
  
  .filter-form {
    gap: 12px;
  }
  
  .filter-group {
    min-width: 100px;
  }
  
  .pet-type-btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  
  .filter-select {
    padding: 5px 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 992px) {
  /* Sol sütun mobilde tam genişlik */
  .ilanlar-left-column {
    width: 100%;
    min-width: 0;
    gap: 8px;
  }

  /* Content wrapper mobilde sıfır gap (left-col ve content-area arası) */
  .ilanlar-content-wrapper {
    gap: 8px;
  }

  /* Mobil Breed Filter Butonunu Göster */
  .mobile-breed-filter-btn {
    display: flex;
  }
  
  /* Breed Panel'i Mobilde Arama Çubuğunun Altında Inline Göster */
  .breed-filter-panel {
    position: static !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: auto;
  }
  
  .breed-filter-panel.active {
    max-height: 2000px;
  }
  
  /* Breed Panel İçeriği Mobilde Dikey Liste */
  .breed-panel-content {
    display: block;
    max-height: 350px;
    overflow-y: auto;
  }
  
  .breed-section {
    min-width: 0;
    width: 100%;
  }
  
  /* Drawer Kapatma Butonunu Gizle (inline modda gerek yok) */
  .mobile-drawer-close {
    display: none;
  }
  
  .breed-panel-header {
    position: sticky;
    top: 0;
    z-index: 1;
    border-radius: 12px 12px 0 0;
  }
  
  .top-filters-wrapper {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .filter-select-wrapper {
    flex: 1;
    min-width: 110px;
  }
  
  .top-filter-select {
    width: 100%;
    min-width: auto;
    font-size: 0.85rem;
  }
  
  .filter-select-wrapper label i {
    font-size: 0.8rem;
  }
  
  .filter-bar-horizontal {
    padding: 16px;
  }
  
  .filter-form {
    gap: 10px;
  }
  
  .filter-group {
    min-width: 80px;
  }
  
  .pet-type-buttons {
    gap: 6px;
  }
  
  .pet-type-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    gap: 6px;
  }
  
  .pet-type-btn i {
    font-size: 0.95rem;
  }

  /* Mobil: Irk filtre font büyütme */
  .breed-panel-header {
    font-size: 1rem;
  }
  .breed-panel-header h3 {
    font-size: 1rem;
  }
  .breed-section-header {
    font-size: 0.95rem;
    padding: 10px 12px;
  }
  .breed-section-header i.fas:first-child {
    font-size: 1rem;
  }
  .breed-name {
    font-size: 0.92rem;
  }
  .breed-count {
    font-size: 0.8rem;
  }
  .breed-toggle-btn {
    font-size: 0.95rem;
    padding: 13px 16px;
  }
}

@media (max-width: 768px) {
  .ilanlar-main-container {
    padding: 8px;
    gap: 8px;
  }
  
  /* Popüler Aramalar Mobil Optimizasyonu */
  .popular-combinations {
    padding: 18px;
    margin: 15px 0;
  }
  
  .popular-header {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  
  .popular-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .popular-item {
    padding: 10px 14px;
  }
  
  .popular-breed {
    font-size: 0.9rem;
  }
  
  .popular-city {
    font-size: 0.8rem;
  }
  
  .popular-cities {
    margin-top: 18px;
    padding-top: 15px;
  }
  
  .popular-cities-header {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
  
  .cities-grid {
    gap: 6px;
  }
  
  .city-tag {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  
  .sonuc-bilgisi {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  
  .top-filters-wrapper {
    width: 100%;
    flex-direction: column;
    margin-bottom: 6px;
  }
  
  .top-filters-form {
    width: 100%;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 0;
  }
  
  .filter-select-wrapper {
    width: 100%;
    gap: 6px;
    margin-bottom: 5px;
  }
  
  .top-filter-select {
    width: 100%;
    padding: 7px 14px;
    font-size: 0.92rem;
  }
  
  .top-filter-select option {
    padding: 8px;
    font-size: 0.9rem;
  }
  
  .filter-bar-horizontal {
    padding: 14px;
    top: 70px;
  }
  
  .filter-form {
    flex-direction: column;
    gap: 12px;
  }
  
  .filter-group {
    width: 100%;
    min-width: auto;
  }
  
  .filter-group.filter-pet-type {
    order: -1;
  }
  
  .pet-type-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .pet-type-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
  
  .filter-search-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ilanlar-main-container {
    padding: 6px;
    gap: 6px;
  }
  
  /* Mobil Breed Filter Butonu Küçük Ekranlarda */
  .mobile-breed-filter-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  /* Breed Panel - Inline Mod (küçük ekranlar) */
  .breed-filter-panel {
    width: 100%;
    max-width: 100%;
  }
  
  /* Popüler Aramalar Daha Kompakt */
  .popular-combinations {
    padding: 15px;
    margin: 12px 0;
  }
  
  .popular-header {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .popular-item {
    padding: 8px 12px;
    gap: 10px;
  }
  
  .popular-icon {
    font-size: 1rem;
  }
  
  .popular-breed {
    font-size: 0.85rem;
  }
  
  .popular-city {
    font-size: 0.75rem;
  }
  
  .popular-arrow {
    font-size: 0.8rem;
  }
  
  .popular-cities {
    margin-top: 15px;
    padding-top: 12px;
  }
  
  .popular-cities-header {
    font-size: 0.9rem;
  }
  
  .city-tag {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
  
  /* İlan Grid'i - Yatay Kartlar için Hazır */
  /* Bu kısım aşağıdaki detaylı yatay tasarım kurallarıyla çalışır */
  
  .filter-bar-horizontal {
    padding: 12px;
    border-radius: 12px;
  }
  
  .filter-label {
    font-size: 0.7rem;
  }
  
  .pet-type-btn {
    font-size: 0.75rem;
    padding: 10px;
    gap: 4px;
  }
  
  .pet-type-btn i {
    font-size: 0.9rem;
  }
  
  .filter-select {
    padding: 5px 10px;
    font-size: 0.85rem;
  }
  
  .filter-search-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  /* Çok küçük ekranlarda select kontrolü */
  .top-filter-select {
    font-size: 0.9rem !important;
    padding: 10px 14px !important;
    min-width: 100px;
  }
  
  .top-filter-select option {
    padding: 10px 6px;
    font-size: 0.85rem;
  }
  
  /* Form elemanlarının genişliği */
  .filter-select-wrapper {
    width: 100%;
    gap: 4px !important;
    margin-bottom: 3px !important;
  }
  
  .top-filters-wrapper {
    padding: 8px;
    margin-bottom: 4px !important;
  }
  
  .top-filters-form {
    gap: 3px !important;
    margin-bottom: 0 !important;
  }
}

/* ========== ESKİ STİLLER (Yedek) ========== */

.ilanlar-flex-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  gap: 32px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  align-items: flex-start;
  justify-content: center;
}

/* Responsive padding - her ekran boyutunda ortalı */
@media (min-width: 1400px) {
  .ilanlar-flex-wrapper {
    padding: 20px 40px;
  }
}
@media (max-width: 1200px) {
  .ilanlar-flex-wrapper {
    padding: 20px 15px;
  }
}
@media (max-width: 768px) {
  .ilanlar-flex-wrapper {
    flex-direction: column;
    gap: 5px;
    padding: 3px 16px;
  }
}

@media (max-width: 480px) {
  .ilanlar-flex-wrapper {
    padding: 6px 16px;
    gap: 3px;
  }
}



.filtre-panel-dikey {
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  height: fit-content;
  margin-top: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(255, 152, 0, 0.08);
  padding: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 20px;
  z-index: 10;
  overflow: hidden;
}

/* Filtre Panel Header */
.filtre-panel-header {
  background: var(--header, linear-gradient(90deg, #607283 0%, #76a4cf 100%));
  padding: 12px 16px;
  margin: 0;
}

.filtre-baslik {
  margin: 0;
  font-size: 1em;
  font-weight: 650;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.filtre-baslik i {
  font-size: 1rem;
  opacity: 0.9;
}

/* Mobile responsive - filtre paneli */
@media (max-width: 768px) {
  .filtre-panel-dikey {
    width: 100%;
    min-width: auto;
    max-width: 100%;
    position: static;
    margin: 0;
    margin-bottom: 15px;
    border-radius: 12px;
  }
  
  .filtre-panel-header {
    padding: 14px 12px;
  }
  
  .filtre-baslik {
    font-size: 0.9em;
    gap: 8px;
  }
  
  .hizli-arama-panel-dikey {
    padding: 12px 10px;
  }
  
  .hizli-arama-item select,
  .hizli-arama-item input[type="text"] {
    padding: 10px 8px;
    font-size: 0.8em;
    border-radius: 8px;
    min-height: 40px;
  }
  
  .hizli-arama-item label {
    font-size: 0.7rem;
    margin-bottom: 4px;
    gap: 4px;
  }
  
  .hizli-arama-item label i {
    font-size: 0.75rem;
  }
  
  .hizli-arama-btn {
    padding: 12px 0;
    font-size: 0.9em;
    margin-top: 4px;
    min-height: 45px;
  }
}

@media (max-width: 480px) {
  .filtre-panel-dikey {
    width: 100%;
    max-width: 100%;
    margin: 0;
    margin-bottom: 10px;
    border-radius: 8px;
  }
  
  .filtre-panel-header {
    padding: 12px 8px;
  }
  
  .filtre-baslik {
    font-size: 0.85em;
    gap: 6px;
  }
  
  .hizli-arama-panel-dikey {
    padding: 10px 8px;
  }
  
  .hizli-arama-item select,
  .hizli-arama-item input[type="text"] {
    padding: 8px 6px;
    font-size: 0.75em;
    border-radius: 6px;
    min-height: 36px;
  }
  
  .hizli-arama-item label {
    font-size: 0.65rem;
    margin-bottom: 3px;
    gap: 3px;
  }
  
  .hizli-arama-item label i {
    font-size: 0.7rem;
  }
  
  .hizli-arama-btn {
    padding: 10px 0;
    font-size: 0.85em;
    margin-top: 3px;
    border-radius: 6px;
    min-height: 42px;
  }
}

.hizli-arama-panel-dikey {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 18px 16px;
}

.hizli-arama-dikey-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Desktop tanımı - dikey sıralama */
@media (min-width: 769px) {
  .hizli-arama-dikey-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
}

/* Mobil tanımı - 2x3 grid */
@media screen and (max-width: 768px) {
  .filtre-panel-dikey .hizli-arama-panel-dikey .hizli-arama-dikey-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 8px !important;
    flex-direction: unset !important;
  }
  
  .filtre-panel-dikey .hizli-arama-panel-dikey .hizli-arama-item:last-child {
    grid-column: 1 / -1 !important;
    margin-top: 8px;
  }
}

/* Küçük mobil ekranlar için */
@media screen and (max-width: 480px) {
  .filtre-panel-dikey .hizli-arama-panel-dikey .hizli-arama-dikey-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 6px !important;
    flex-direction: unset !important;
  }
  
  .filtre-panel-dikey .hizli-arama-panel-dikey .hizli-arama-item:last-child {
    grid-column: 1 / -1 !important;
    margin-top: 6px;
  }
}

.hizli-arama-item {
  display: flex;
  flex-direction: column;

  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.hizli-arama-item label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  left: 0;
  top: 0;
  z-index: 1;
  pointer-events: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  transition: all 0.3s ease;
}

.hizli-arama-item label i {
  color: #ff9800;
  font-size: 0.9rem;
  opacity: 0.8;
}

.hizli-arama-item select,
.hizli-arama-item input[type="text"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #e9ecef;
  background: #ffffff;
  font-size: 0.85em;
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hizli-arama-item select:focus,
.hizli-arama-item input[type="text"]:focus {
  border: 2px solid #ff9800;
  box-shadow: 0 4px 20px rgba(255,152,0,0.15);
  transform: translateY(-2px);
  outline: none;
}

.hizli-arama-item select:hover,
.hizli-arama-item input[type="text"]:hover {
  border-color: #ffb74d;
  box-shadow: 0 3px 12px rgba(255,152,0,0.1);
  transform: translateY(-1px);
}

.hizli-arama-btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 0;
  font-size: 1.08em;
  font-weight: 700;
  border-radius: 8px;
  background: var(--primary, #ff9800);
  color: #fff;
  border: none;
  margin-top: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hizli-arama-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.hizli-arama-btn:hover::before {
  left: 100%;
}

.hizli-arama-btn:hover {
  background: var(--primary-dark, #f57c00);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,152,0,0.3);
}

/* Responsive: Mobilde filtre paneli üstte ve yatay */
@media (max-width: 900px) {
  .sahiplendirme-flex-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    max-width: 100vw;
  }
  .filtre-panel-dikey {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px #ff980022;
    position: static;
    top: unset;
    margin-bottom: 12px;
  }
}

/* Ana içerik grid ve arama hizası */
.ilanlar-ana-icerik {
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Sticky Search Wrapper */
.sticky-search-wrapper {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: transparent;
  height: 50px;
  padding: 0;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .sticky-search-wrapper {
    padding: 0;
    margin-bottom: 0;
  }
}

/* Sonuç Bilgisi */
.sonuc-bilgisi {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  padding: 0 5px;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 768px) {
  .sonuc-bilgisi {
    padding: 0 10px;
    gap: 8px;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .sonuc-bilgisi {
    padding: 0 8px;
    gap: 5px;
    margin-bottom: 0;
  }
}

@media (max-width: 360px) {
  .sonuc-bilgisi {
    padding: 0 6px;
    gap: 4px;
    margin-bottom: 0;
  }
  
  .sonuc-sayisi {
    font-size: 0.88rem;
  }
  
  .sonuc-sayisi i {
    font-size: 0.85rem;
  }
}

.sonuc-sayisi {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
}

.sonuc-sayisi i {
  color: #ff9800;
  font-size: 0.9rem;
}

.siralama-secenekleri {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.siralama-secenekleri label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  cursor: pointer;
}

.siralama-secenekleri label i {
  color: #ff9800;
  font-size: 0.85rem;
}

.siralama-secenekleri select {
  padding: 10px 16px;
  border-radius: 10px;
  border: 2px solid #e9ecef;
  background: white;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-weight: 600;
  min-width: 140px;
}

.siralama-secenekleri select:focus {
  outline: none;
  border-color: #ff9800;
  box-shadow: 0 4px 16px rgba(255,152,0,0.15);
  transform: translateY(-2px);
}

.siralama-secenekleri select:hover {
  border-color: #ffb74d;
  box-shadow: 0 3px 12px rgba(255,152,0,0.1);
  transform: translateY(-1px);
}

/* Loading State */
.loading-container {
  width: 100%;
  max-width: 1080px;
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #ff9800;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-spinner p {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* Arama formu - ilanlar genişliğinde */
.ilanlar-arama-form {
  width: 100%;
  max-width: 100%;
  height: 52px;
  display: flex;
  gap: 0;
  margin: 0 auto;
  box-sizing: border-box;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(255, 152, 0, 0.06);
  overflow: hidden;
  border: 2px solid #f1f3f4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}

.ilanlar-arama-form:hover {
  border-color: #ff9800;
  box-shadow: 0 4px 18px rgba(255, 152, 0, 0.12);
}

.ilanlar-arama-form:focus-within {
  border-color: #ff9800;
  box-shadow: 0 4px 20px rgba(255, 152, 0, 0.15);
}

.ilanlar-arama-input {
  flex: 1;
  padding: 16px 20px 16px 50px;
  border: none;
  font-size: 1rem;
  background: transparent;
  outline: none;
  color: #333;
  font-weight: 500;
  height: 100%;
  box-sizing: border-box;
}

.ilanlar-arama-input::placeholder {
  color: #999;
  font-style: normal;
  font-weight: 400;
}

.ilanlar-arama-form::before {
  content: '\f002';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 20px; /* 24px'den 20px'e düşürüldü */
  top: 50%;
  transform: translateY(-50%);
  color: #ff9800;
  font-size: 1.1rem;
  z-index: 2;
}

.ilanlar-clear-btn {
  padding: 0 12px;
  background: transparent;
  color: var(--text-main, #2c3e50);
  border: none;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
}

.ilanlar-clear-btn:hover {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.ilanlar-arama-btn {
  padding: 0 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.ilanlar-arama-btn::before {
  content: none;
}

.ilanlar-arama-btn:hover {
  background: #f57c00;
}

/* Responsive arama formu */
@media (max-width: 1200px) {
  .ilanlar-arama-form {
    max-width: 100%;
    min-width: auto;
  }
}

@media (max-width: 900px) {
  .ilanlar-arama-form {
    max-width: 100%;
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .ilanlar-arama-form {
    max-width: 100%;
    min-width: auto;
    margin: 0 auto;
    height: 48px;
  }
  
  .ilanlar-arama-input {
    padding: 16px 18px 16px 48px;
    font-size: 0.95em;
  }
  
  .ilanlar-arama-form::before {
    left: 18px;
    font-size: 1rem;
  }
  
  .ilanlar-arama-btn {
    padding: 0 20px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .ilanlar-arama-form {
    max-width: 100%;
    margin: 0 auto;
    height: 46px;
  }
  
  .ilanlar-arama-input {
    padding: 15px 16px 15px 44px;
    font-size: 0.9em;
  }
  
  .ilanlar-arama-form::before {
    left: 16px;
    font-size: 0.95rem;
  }
  
  .ilanlar-arama-btn {
    padding: 0 18px;
    font-size: 0.9em;
  }
}


/* İlanlar ana grid yapısı - Responsive v2.1 */
.il-ilanlar-grid-katalog {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 auto !important;
    margin-top: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    grid-auto-rows: 280px !important; /* Sabit yükseklik */
}

/* Progressive Responsive Grid - Ekran genişliyor, sütun artıyor */
@media (max-width: 1599px) {
    .il-ilanlar-grid-katalog {
        grid-template-columns: repeat(6, 1fr) !important;
        grid-auto-rows: 280px !important;
        gap: 11px !important;
    }
}

@media (max-width: 1399px) {
    .il-ilanlar-grid-katalog {
        grid-template-columns: repeat(5, 1fr) !important;
        grid-auto-rows: 280px !important;
        gap: 10px !important;
    }
}

@media (max-width: 1199px) {
    .il-ilanlar-grid-katalog {
        grid-template-columns: repeat(4, 1fr) !important;
        grid-auto-rows: 280px !important;
        gap: 8px !important;
    }
}

@media (max-width: 999px) {
    .il-ilanlar-grid-katalog {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-auto-rows: 280px !important;
        gap: 8px !important;
    }
}

@media (max-width: 650px) {
    .il-ilanlar-grid-katalog {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-auto-rows: 260px !important; /* Mobilde biraz daha kısa */
        gap: 8px !important;
    }
    
    .il-ad-card-modern {
        min-height: 260px !important;
    }
}

@media (max-width: 599px) {
    .il-ilanlar-grid-katalog {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 260px !important;
        gap: 8px !important;
    }
    
    .il-ad-card-modern {
        min-height: 260px !important;
    }
}
@media (max-width: 480px) {
    .il-ilanlar-grid-katalog {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Link container da flex olmalı */
    .ilan-kart-katalog-link {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    /* Mobil yatay kart: resim sol, metin sağ */
    .il-ad-card-modern,
    .il-merged-grid .il-ad-card-modern {
        flex-direction: row !important;
        width: 100% !important;
        min-height: unset !important;
        height: auto !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        align-items: stretch !important;
    }
    
    .il-ad-card-modern:hover {
        transform: scale(1.01);
        box-shadow: 0 4px 15px rgba(255, 152, 0, 0.15);
    }
    
    /* Fotoğraf Alanı - Sol Taraf Kare */
    .il-ad-card-image {
        width: 100px !important;
        min-width: 100px !important;
        max-width: 100px !important;
        height: 100px !important;
        flex-shrink: 0 !important;
        border-radius: 12px 0 0 12px !important;
        /* overflow: visible — rozet label'ın kırpılmaması için */
        overflow: visible !important;
    }
    
    .il-ad-card-image > img {
        width: 100px !important;
        height: 100px !important;
        object-fit: cover !important;
        display: block !important;
        /* border-radius direkt img'e taşındı — overflow:visible ile birlikte çalışır */
        border-radius: 12px 0 0 12px !important;
        overflow: hidden !important;
    }
    
    /* İçerik Alanı - Sağ Taraf */
    .il-ad-card-content {
        flex: 1 !important;
        padding: 8px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 3px !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    
    /* Başlık — mobilde biraz küçültüldü */
    .il-ad-title {
        font-size: 0.92rem !important;
        line-height: 1.25 !important;
        margin: 0 0 2px 0 !important;
        min-height: unset !important;
        -webkit-line-clamp: 1 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        white-space: nowrap !important;
    }
    
    /* Bilgi Satırları Kompakt */
    .il-ad-info-rows {
        gap: 2px !important;
        margin: 0 !important;
        flex: unset !important;
    }
    
    .il-info-row {
        font-size: 0.87rem !important;
    }
    
    .il-info-row:last-child {
        margin-top: 0 !important;
    }
    
    .il-info-item {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .il-info-item i {
        font-size: 0.81rem !important;
    }
    
    /* Vitrin Badge Küçük */
    .vitrin-badge {
        top: 4px;
        right: 4px;
        padding: 3px 6px;
        font-size: 9px;
    }
    
    /* Plan rozet: mobilde sadece ikon göster, yazı etiketini gizle */
    .plan-kart-rozet               { top: 3px; left: 4px; }
    .plan-kart-rozet .pkr-icon     { width: 24px; height: 24px; }
    .plan-kart-rozet .pkr-label    { display: none !important; }

    /* Boost rozet: 100x100 imaj alanına oranla küçült */
    .kart-boost-rozet              { width: 24px; height: 24px; bottom: 3px; right: 3px; }
    
    /* Vitrin kartları mobilde */
    .il-ad-card-modern.vitrin-card {
        border-width: 2px !important;
    }

    /* Vitrin kartının 2px kalın kenarlığı yüzünden 12px köşe resimle uyuşmuyordu (kenarlık/resim aynı yarıçapı paylaşamaz) — resmi biraz daha az yuvarlat */
    .il-ad-card-modern.vitrin-card .il-ad-card-image,
    .il-ad-card-modern.vitrin-card .il-ad-card-image > img {
        border-radius: 10px 0 0 10px !important;
    }
    
    /* No Image Placeholder Yatay Layout'ta */
    .no-image-placeholder {
        width: 110px !important;
        height: 110px !important;
        border-radius: 12px 0 0 12px !important;
    }
    
    .no-image-placeholder i {
        font-size: 1.3em !important;
    }
    
    .no-image-placeholder span {
        font-size: 0.65rem !important;
    }
}

/* İlan kartı - modern tasarım v2.1 */
.il-ad-card-modern {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.13);
}
    position: relative;
    width: 100% !important;
    height: 100%;
    min-height: 260px;
    min-width: 150px !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    border: 1px solid rgba(0, 0, 0, 0.13);
    box-sizing: border-box !important;
    max-width: 100% !important;
}

/* Küçük Ekranlarda Daha Kompakt */
@media (max-width: 1199px) {
    .il-ad-card-modern {
        min-height: 240px;
    }
}

@media (max-width: 650px) {
    .il-ad-card-modern {
        min-height: 220px;
    }
}

/* VİTRİN KARTLARI - TURUNCU BORDER */
.il-ad-card-modern.vitrin-card {
    border: 3px solid #ff8c00 !important;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3) !important;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%) !important;
}

.il-ad-card-modern.vitrin-card:hover {
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.45) !important;
    transform: translateY(-6px) scale(1.02) !important;
    border-color: #ff8c00 !important;
}

/* VİTRİN BADGE */
.vitrin-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.5);
    letter-spacing: 0.5px;
}

.vitrin-badge i {
    font-size: 10px;
}

.il-ad-card-modern:nth-child(1) { animation-delay: 0.1s; }
.il-ad-card-modern:nth-child(2) { animation-delay: 0.2s; }
.il-ad-card-modern:nth-child(3) { animation-delay: 0.3s; }
.il-ad-card-modern:nth-child(4) { animation-delay: 0.4s; }
.il-ad-card-modern:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.il-ad-card-modern:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(255, 152, 0, 0.15);
}

/* İlan kartı link stilleri v2.1 */
.ilan-kart-katalog-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100% !important;
    height: 100%;
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 150px !important;
    overflow: hidden !important;
}

.ilan-kart-katalog-link:hover {
    text-decoration: none;
    color: inherit;
}
/* İlan resim alanı */
.il-ad-card-image {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe0b2 100%);
}

/* Responsive Image Heights */
@media (max-width: 1199px) {
    .il-ad-card-image {
        height: 145px;
    }
}

@media (max-width: 650px) {
    .il-ad-card-image {
        height: 130px;
    }
}

@media (max-width: 599px) {
    .il-ad-card-image {
        height: 120px;
    }
}

.il-ad-card-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.il-ad-card-modern:hover .il-ad-card-image > img {
    transform: scale(1.05);
}

/* ── Plan rozet boyutları (anasayfa.html referans) ── */
.plan-kart-rozet             { top: 4px; left: 5px; }
.plan-kart-rozet .pkr-icon   { width: 26px !important; height: 26px !important; }
.plan-kart-rozet .pkr-label  { font-size: 9px !important; padding: 2px 6px 2px 13px !important; }

/* Mobilde (≤767px) plan rozetinde sadece ikon kalsın, yazı etiketi gizlensin */
@media (max-width: 767px) {
  .plan-kart-rozet .pkr-label { display: none !important; }
}

.kart-boost-rozet {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 36px;
  height: 36px;
  z-index: 5;
  pointer-events: none;
}
.kart-boost-rozet img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.45));
}

/* Pulse animasyonları (dekoratif, layout etkisi yok) ilanlar_boost_pulse.css'e taşındı — non-blocking yüklenir */

/* No image placeholder */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ff9800;
    font-size: 0.9em;
    font-weight: 500;
    gap: 8px;
}

.no-image-placeholder i {
    font-size: 2em;
    opacity: 0.5;
}

/* Responsive Font Sizes - Ekran Boyutuna Göre Okunabilirlik */
@media (min-width: 1200px) {
    .il-ad-title {
        font-size: 0.9em;
    }
}

@media (max-width: 650px) {
    .il-ad-card-content {
        padding: 8px;
    }
}

.il-ad-info-row i {
    width: 12px;
    color: #ff9800;
    font-size: 0.9em;
}

.il-ad-info-row .label {
    font-weight: 500;
    min-width: 45px;
}

.il-ad-info-row .value {
    color: #333;
    flex: 1;
}

/* CSS tamamlandı - gereksiz kodlar kaldırıldı */

.il-ad-type-badge.eş-bulma {
    background: linear-gradient(135deg, #e91e63, #f06292);
}

.il-ad-type-badge.sahiplendirme {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
}

.il-ad-type-badge.satılık {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
}

.il-ad-type-badge.kayıp {
    background: linear-gradient(135deg, #f44336, #ef5350);
}

.il-ad-type-badge i {
    font-size: 0.7rem;
}

/* Kart İçerik Alanı */
.il-ad-card-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    justify-content: flex-start; /* Üstten başla */
}

/* İlan Başlığı */
.il-ad-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 100%;
    word-break: break-word;
    min-height: 2.5em; /* 2 satır için sabit yükseklik */
}

/* Bilgi Satırları */
.il-ad-info-rows {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    flex: 1; /* Esnek büyüme */
}

.il-info-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
    overflow: hidden;
}

/* Tarih satırını en alta yapıştır */
.il-info-row:last-child {
    margin-top: auto; /* Son satır (tarih) her zaman en altta */
}

.il-info-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #6c757d;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    min-width: 0;
}

.il-info-item i {
    font-size: 0.65rem;
    width: 12px;
    flex-shrink: 0;
    opacity: 0.8;
}

.il-info-item.location i {
    color: #e74c3c;
}

.il-info-item.pet-type i {
    color: #ff9800;
}

.il-info-item.date i {
    color: #2196f3;
}

.il-info-item span {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

/* Fiyat Rozeti */
.il-ad-price-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #2196f3, #42a5f5);
    backdrop-filter: blur(8px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.il-ad-price-badge i {
    font-size: 0.6rem;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .sonuc-bilgisi {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 15px;
        padding: 0 4px;
    }
    
    .siralama-secenekleri {
        width: 100%;
        justify-content: space-between;
    }
    
    .siralama-secenekleri select {
        padding: 8px 12px;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .il-ad-card-modern {
        min-height: 280px;
    }
    
    .il-ad-card-image {
        height: 130px;
    }
    
    .il-ad-title {
        font-size: 0.85rem;
        line-height: 1.2;
        min-height: 2.4em; /* Sabit yükseklik */
    }
    
    .il-info-item {
        font-size: 0.76rem;
    }
    
    .il-ad-card-content {
        padding: 10px;
        gap: 4px;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .il-info-row:last-child {
        margin-top: auto !important; /* Tarihi alta yapıştır */
    }
}

@media (max-width: 480px) {
    .sonuc-bilgisi {
        padding: 0 4px;
    }
    
    .il-ad-card-modern {
        min-height: 240px;
    }
    
    .il-ad-card-image {
        height: clamp(90px, 28vw, 130px);
    }
    
    .il-ad-card-content {
        padding: 9px;
        gap: 5px;
    }
    
    .il-info-item {
        font-size: 0.85rem;
    }
    
    .il-ad-type-badge {
        top: 8px;
        left: 8px;
        padding: 3px 6px;
        font-size: 0.6em;
    }
    
    .il-ad-price-badge {
        top: 6px;
        right: 6px;
        padding: 3px 6px;
        font-size: 0.55rem;
    }
}

/* Fiyat Bilgisi Stilleri */
.il-ad-price-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.il-ad-price-info i {
    color: rgba(255, 255, 255, 0.8);
}

.il-ad-price-info .price-value {
    font-weight: 700;
}

/* ======= PetiMap Mini Widget ======= */
@keyframes petimapPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

.petimap-widget {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(16, 185, 129, 0.13);
  overflow: hidden;
  border: 1.5px solid rgba(16, 185, 129, 0.22);
  margin-bottom: 8px;
}

.petimap-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--primary, #FF9800);
  color: white;
  border-radius: 12px 12px 0 0;
}

.petimap-widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.petimap-widget-expand {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  text-decoration: none;
  padding: 3px 6px;
  border-radius: 5px;
  transition: background 0.2s;
}

.petimap-widget-expand:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

.petimap-widget-map-wrap {
  position: relative;
  height: 195px;
  background: #e8f5e9;
}

.petimap-widget-map {
  width: 100%;
  height: 100%;
}

.petimap-widget-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(3px);
  color: #059669;
  font-size: 13px;
  font-weight: 600;
  z-index: 10;
  transition: opacity 0.5s;
}

.petimap-widget-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.petimap-widget-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #fafafa;
}

.petimap-widget-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary, #FF9800);
  color: white;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.petimap-widget-btn:hover {
  opacity: 0.85;
  color: white;
}

.petimap-widget-count {
  font-size: 11px;
  color: #6b7280;
  font-weight: 500;
}

/* PetiMap widget popup stilleri */
.petimap-mini-popup .mapboxgl-popup-content {
  padding: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18) !important;
  max-width: 190px !important;
}

.petimap-mini-popup .mapboxgl-popup-close-button {
  color: white;
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  right: 4px;
  top: 4px;
  line-height: 1;
}

.pm-popup-img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  display: block;
}

.pm-popup-img-placeholder {
  width: 100%;
  height: 95px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}

.pm-popup-body {
  padding: 8px 9px 9px;
}

.pm-popup-type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #059669;
  margin-bottom: 3px;
}

.pm-popup-title {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pm-popup-loc {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 6px;
}

.pm-popup-link {
  display: block;
  text-align: center;
  padding: 5px 8px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.pm-popup-link:hover {
  opacity: 0.9;
  color: white;
}

/* ================================================================
   MOBİL DRAWER — KAPSAMLI TASARIM
   ================================================================ */

/* Filtreler bölümü: sadece mobilde görünür */
.mobile-inline-filters {
  display: none;
}

/* ---- Standalone harita kartı (drawer dışında) ---- */
.standalone-map-section {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(8,145,178,0.10);
  border: 1.5px solid rgba(8,145,178,0.15);
  margin-bottom: 0;
  margin-top: 0;
}

/* Desktop sidebar'da petimap tamamen kendi container'ında */
.standalone-map-section .petimap-widget {
  border-radius: 0;
  box-shadow: none;
  border: none;
  margin-bottom: 0;
}

.standalone-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--primary, #60bd9c);
  color: #fff;
}

.standalone-map-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.standalone-map-expand {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  text-decoration: none;
  padding: 3px 6px;
  border-radius: 5px;
  transition: background 0.2s;
}
.standalone-map-expand:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Desktop: harita content area üstünde kompakt kart olarak görünür */
@media (min-width: 993px) {
  .standalone-map-section {
    margin-bottom: 12px;
  }
  .standalone-map-section .petimap-widget-map-wrap {
    height: 160px;
  }
}

@media (max-width: 992px) {
  /* ---- Drawer panel (mobilde açılan tam kutu) ---- */
  .breed-filter-panel {
    position: relative;
    border-radius: 0;
    box-shadow: -4px 0 24px rgba(0,0,0,0.18);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #27a98f #f5f5f5;
    background: #fafafa;
  }

  /* ---- Kapat butonu (×) ---- */
  .mobile-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 10;
    transition: background 0.2s;
  }
  .mobile-drawer-close:hover { background: rgba(255,255,255,0.35); }

  /* ---- Bölüm başlıkları ---- */
  .breed-panel-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--primary);
    border-radius: 0;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(39,169,143,0.25);
  }
  .breed-panel-header i { font-size: 1rem; }
  .breed-panel-header h3 { font-size: 0.92rem; font-weight: 700; letter-spacing: 0.3px; }

  .breed-panel-header--filters {
    background: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(31,138,117,0.25);
  }

  .breed-panel-header--map {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    box-shadow: 0 2px 8px rgba(8,145,178,0.25);
  }

  /* ---- Irk listesi alanı ---- */
  .breed-panel-content {
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    scrollbar-width: thin;
    scrollbar-color: #9dd6cc #f5f5f5;
  }

  /* ---- Irk bölüm başlığı (Köpek / Kedi / Kuş) ---- */
  .breed-section-header {
    background: #f8f9fa;
    border-bottom: none;
    padding: 8px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main, #2c3e50);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .breed-section-header:hover { background: #e9ecef; }
  .breed-section-header i:first-child { color: var(--primary); font-size: 0.9rem; }
  .breed-section-toggle { margin-left: auto; color: #bdbdbd; font-size: 0.75rem; }

  /* ---- Irk öğeleri ---- */
  .breed-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    font-size: 0.8rem;
    color: inherit;
    border-bottom: none;
    border-radius: 6px;
    margin-bottom: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .breed-item:hover { background: #fff3e0; color: inherit; }
  .breed-item.active {
    background: var(--primary, #FF9800);
    color: #fff;
    font-weight: 600;
  }
  .breed-item.active .breed-count {
    background: rgba(255,255,255,0.3);
    color: #fff;
    border-color: transparent;
  }
  .breed-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    border: none;
    min-width: unset;
    text-align: center;
    flex-shrink: 0;
  }

  .breed-toggle-btn {
    width: 100%;
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1a8a73;
    background: #e6f8f5;
    border: none;
    border-top: 1px solid #9dd6cc;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s;
  }
  .breed-toggle-btn:hover { background: #ccede8; }

  /* ---- Filtreler bölümü ---- */
  .mobile-inline-filters { display: block; }

  .mobile-filter-content {
    padding: 14px 12px;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }

  /* Şehir ve İlçe — tam genişlik */
  .mobile-filter-group:nth-child(1),
  .mobile-filter-group:nth-child(2) {
    grid-column: 1 / -1;
  }

  /* Aksiyon butonları — tam genişlik */
  .mobile-filter-actions { grid-column: 1 / -1; }

  .mobile-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .mobile-filter-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-left: 2px;
  }
  .mobile-filter-label i {
    color: #27a98f;
    font-size: 0.78rem;
    width: 13px;
    text-align: center;
  }

  .mobile-filter-select {
    width: 100%;
    padding: 9px 32px 9px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 9px;
    background: #fafafa;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><polyline points="1,1 6,7 11,1" fill="none" stroke="%2327a98f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .mobile-filter-select:focus {
    outline: none;
    border-color: #27a98f;
    box-shadow: 0 0 0 3px rgba(39,169,143,0.15);
    background-color: #fff;
  }

  .mobile-filter-actions {
    display: flex;
    gap: 9px;
    padding-top: 4px;
    border-top: 1px solid #f0f0f0;
  }

  .mobile-filter-apply-btn {
    flex: 2;
    padding: 11px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 3px 10px rgba(67,160,71,0.3);
    transition: background 0.2s, transform 0.15s;
  }
  .mobile-filter-apply-btn:hover { background: var(--primary-dark); }
  .mobile-filter-apply-btn:active { transform: scale(0.97); opacity: 0.9; }

  .mobile-filter-clear-btn {
    flex: 1;
    padding: 11px;
    background: var(--pink, #ff5b68);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: opacity 0.2s;
  }
  .mobile-filter-clear-btn:active { opacity: 0.8; }

  /* ---- Mobil top-filters-wrapper gizle (drawer var) ---- */
  .top-filters-wrapper { display: none !important; }

  /* Sonuç bilgisi tek satır */
  .sonuc-bilgisi {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0 !important;
  }
}

/* Desktop guard: keep two-column layout and horizontal top filters */
@media (min-width: 993px) {
  .ilanlar-content-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
  }

  .ilanlar-left-column,
  .breed-filter-panel {
    width: 260px !important;
    min-width: 260px !important;
  }

  .ilanlar-content-area {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
  }

  .top-filters-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }
}
