/**
 * Dana Borsası Unified Design System
 * 
 * This file contains the unified design tokens and utility classes
 * to ensure consistency across all pages.
 */

/* ==================== İLANLAR SAYFASI SCOPED STYLES – KOYU YEŞİL ODAKLI ==================== */
.page-listings .filter-compact-header {
  background: linear-gradient(135deg, #115C19 0%, #0d4a14 50%, #0a3512 100%);
  padding: 0.75rem 1rem;
  color: #ffffff;
  border-bottom: none !important;
}

.page-listings .filter-compact-header h5 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  color: #ffffff;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.page-listings .filter-compact-header i {
  font-size: 1.3rem;
  color: #ffffff;
}

.page-listings .filter-compact-header small {
  opacity: 0.95;
  font-size: 0.85rem;
  color: #ffffff;
}

.page-listings .result-count-badge {
  background: linear-gradient(135deg, #115C19 0%, #0d4a14 50%, #0a3512 100%);
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(17, 92, 25, 0.25);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.page-listings .result-count-badge i,
.page-listings .result-count-badge span,
.page-listings .result-count-badge * {
  color: #ffffff !important;
}

.page-listings .result-count-badge i {
  font-size: 1.1rem;
}

.page-listings .filter-label-white i {
  color: #115C19;
}

.page-listings .filter-input-white:focus {
  border-color: #115C19 !important;
  box-shadow: 0 0 0 3px rgba(17, 92, 25, 0.15), 0 2px 8px rgba(17, 92, 25, 0.1) !important;
}

.page-listings .filter-input-white:hover {
  border-color: #115C19 !important;
}

.page-listings .btn-db-primary {
  background: linear-gradient(135deg, #115C19 0%, #0d4a14 50%, #0a3512 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(17, 92, 25, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.page-listings .btn-db-primary:hover {
  background: linear-gradient(135deg, #1a6b20 0%, #115C19 50%, #0d4a14 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(17, 92, 25, 0.35);
}

.page-listings .btn-db-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 92, 25, 0.25);
}

.page-listings .btn-db-primary-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* btn-db-reset stilleri public/css/listings-market.css içinde tanımlandı (outline marka kırmızısı). */

.page-listings .featured-header-green {
  background: linear-gradient(135deg, #115C19 0%, #0d4a14 50%, #0a3512 100%);
  color: #ffffff !important;
  border-radius: 14px 14px 0 0;
  padding: 1rem 1.25rem;
  border-bottom: none !important;
  box-shadow: 0 4px 12px rgba(17, 92, 25, 0.35);
  border: 1px solid rgba(20, 61, 24, 0.5);
}

.page-listings .featured-header-green h5 {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  border-bottom: none !important;
  padding-bottom: 0 !important;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.page-listings .featured-header-green i {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.page-listings .badge-featured {
  background: linear-gradient(135deg, #0d4a14 0%, #0a3512 100%);
  color: #ffffff;
  font-size: 0.7rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-weight: 700;
}

.page-listings .badge-featured i {
  color: #ffffff;
}

.page-listings .badge-urgent {
  background: linear-gradient(135deg, #8B0000 0%, #A52A2A 50%, #8B0000 100%);
  color: #ffffff;
  font-size: 0.7rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(139, 0, 0, 0.3);
}

.page-listings .badge-urgent i {
  color: #ffffff;
}

.page-listings .price-dark {
  color: #212529;
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.page-listings .price-dark-sm {
  font-size: 1.25rem;
}

.page-listings .listing-card-modern {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.page-listings .listing-card-modern:hover {
  border-color: #115C19;
  box-shadow: 0 4px 12px rgba(17, 92, 25, 0.18);
  transform: translateY(-2px);
}

.page-listings .listing-card-modern .card-body {
  padding: 1rem 1.25rem;
}

/* İlan başlık – koyu yeşil ton, belirgin font */
.page-listings .listing-card-modern .listing-title,
.page-listings .listing-title {
  color: #0d4a14;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.page-listings .featured-card-wrapper .listing-title,
.page-listings .featured-card-wrapper h6 {
  color: #0d4a14;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.page-listings .featured-card-wrapper {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.page-listings .featured-card-wrapper:hover {
  border-color: #115C19;
  box-shadow: 0 4px 12px rgba(17, 92, 25, 0.18);
}

.page-listings .featured-container {
  border: 2px solid #e9ecef;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Vitrin Carousel Stilleri - Basit ve performanslı */
.page-listings .featured-carousel-wrapper {
  position: relative;
  overflow: visible;
  padding: 5px 0;
  margin: -5px 0;
}

.page-listings .featured-carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.page-listings .featured-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.page-listings .featured-carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  width: 100%;
  padding-top: 3px;
  padding-bottom: 3px;
}

/* Carousel indicators - altın renk */
.page-listings .featured-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
  padding: 0.5rem 0;
}

.page-listings .featured-carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.5);
  border: 2px solid rgba(212, 175, 55, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
}

.page-listings .featured-carousel-indicator.active {
  background-color: #D4AF37;
  border-color: #B8860B;
  transform: scale(1.2);
}

.page-listings .featured-carousel-indicator:hover {
  background-color: #D4AF37;
  border-color: #B8860B;
}

/* Carousel controls - altın renk */
.page-listings .featured-carousel-prev,
.page-listings .featured-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: rgba(212, 175, 55, 0.9);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-listings .featured-carousel-prev {
  left: 10px;
}

.page-listings .featured-carousel-next {
  right: 10px;
}

.page-listings .featured-carousel-prev:hover,
.page-listings .featured-carousel-next:hover {
  opacity: 1;
  background-color: #D4AF37;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.page-listings .featured-carousel-prev:active,
.page-listings .featured-carousel-next:active {
  transform: translateY(-50%) scale(0.95);
}

/* Kartların tıklanabilirliğini koru */
.page-listings .featured-carousel-slide .featured-card-wrapper {
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-listings .featured-carousel-slide .featured-card-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(172, 2, 2, 0.2);
}

/* Mobilde butonları küçült */
/* Mobil: vitrin ve liste kartları kısa, 2 üst 2 alt grid, metin okunaklı */
.page-listings .filter-hint-text {
  font-size: 0.75rem;
}

/* Filtreleme kartı – drop shadow */
.page-listings .filter-card-minimal {
  border: 1px solid #e9ecef !important;
  border-radius: 16px !important;
  overflow: hidden;
  background: white;
  display: flex;
  flex-direction: column;
  height: fit-content;
  max-height: calc(100vh - 130px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.07));
}

.page-listings .filter-sidebar {
  border: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09), 0 2px 8px rgba(0, 0, 0, 0.04);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.08));
  border-radius: 16px;
  padding: 0 !important;
  position: sticky;
  top: 112px; /* Header (67px) + Marquee (45px) = 112px */
  display: flex;
  flex-direction: column;
}

/* Filtreleme bölümleri arası spacing düzeltmeleri */
.page-listings .filter-section-compact {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e9ecef;
  flex-shrink: 0;
}

.page-listings .filter-section-compact:last-of-type {
  border-bottom: none;
  margin-bottom: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Son iki bölüm (butonlar) için spacing - en alta sabitle */
.page-listings .filter-card-minimal form > .filter-section-compact:nth-last-child(2),
.page-listings .filter-card-minimal form > .filter-section-compact:last-of-type {
  margin-top: auto !important;
}

/* Label ve input arası spacing */
.page-listings .filter-label-white {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #212529;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.4rem !important;
  line-height: 1.3;
}

/* Input alanları için spacing ve boyut - Orta boyut */
.page-listings .filter-input-white {
  margin-bottom: 0.25rem;
  padding: 0.5rem 0.75rem !important;
  font-size: 0.875rem !important;
  line-height: 1.5;
  height: auto;
  min-height: 2.25rem;
}

.page-listings .filter-input-white.form-select {
  padding: 0.5rem 2rem 0.5rem 0.75rem !important;
  background-size: 16px 12px;
  background-position: right 0.5rem center;
  font-size: 0.875rem !important;
}

.page-listings .filter-input-white.form-control {
  padding: 0.5rem 0.75rem !important;
  font-size: 0.875rem !important;
}

/* Hint text spacing */
.page-listings .filter-hint-text {
  margin-top: 0.25rem !important;
  line-height: 1.2;
  font-size: 0.7rem !important;
}

/* Sonuç sayısı bölümü için padding azalt */
.page-listings .filter-card-minimal > .p-3.text-center.bg-light {
  padding: 0.75rem !important;
}

/* Filtreleme form container'ı - scroll edilebilir içerik, sabit butonlar */
.page-listings .filter-card-minimal > .p-3:last-child {
  display: flex;
  flex-direction: column;
  padding: 0.75rem !important;
  padding-bottom: 0 !important;
  flex: 1;
  min-height: 0;
  max-height: calc(100vh - 280px);
  overflow: hidden;
}

/* Form içeriğini flex yap - scroll edilebilir */
.page-listings .filter-card-minimal form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.5rem;
  margin-right: -0.5rem;
}

/* Ara butonu - sabit tut */
.page-listings .filter-card-minimal form > .filter-section-compact:nth-last-child(2) {
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: 0 !important;
  padding-bottom: 0.5rem !important;
  padding-top: 0.75rem !important;
  background: white;
  position: sticky;
  bottom: 70px; /* Filtreleri Temizle butonunun yüksekliği kadar (buton + padding) */
  z-index: 10;
  border-top: 1px solid #e9ecef;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

/* Filtreleri Temizle butonu - en altta sabit */
.page-listings .filter-card-minimal form > .filter-section-compact:last-of-type {
  flex-shrink: 0;
  margin-top: 0 !important;
  margin-bottom: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  padding-top: 0.5rem !important;
  background: white;
  position: sticky;
  bottom: 0;
  z-index: 11;
  border-top: 1px solid #e9ecef;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

/* Scrollbar düzenlemesi - #ac0202 tonları */
.page-listings .filter-card-minimal form::-webkit-scrollbar {
  width: 8px;
}

.page-listings .filter-card-minimal form::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

.page-listings .filter-card-minimal form::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #115C19 0%, #0d4a14 50%, #0a3512 100%);
  border-radius: 10px;
  border: 1px solid rgba(17, 92, 25, 0.25);
  box-shadow: 0 2px 4px rgba(17, 92, 25, 0.2);
}

.page-listings .filter-card-minimal form::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #1a6b20 0%, #115C19 50%, #0d4a14 100%);
  box-shadow: 0 2px 6px rgba(17, 92, 25, 0.35);
}

/* Ara butonu için margin */
.page-listings .filter-section-compact button[type="submit"].mt-2,
.page-listings .filter-section-compact .btn-db-primary.mt-2 {
  margin-top: 0.75rem !important;
  margin-bottom: 0.25rem !important;
}

/* Filtreleri Temizle butonu için margin */
.page-listings .filter-section-compact .btn-db-reset.mt-2 {
  margin-top: 0.75rem !important;
}

/* Kırmızı border-bottom'ları beyaza çevir - ilanlar sayfası için */
.page-listings .card h5 {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.page-listings .card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.page-listings .featured-container .card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* ==================== DESIGN TOKENS ==================== */
:root {
  /* Primary Colors (Green-based) */
  --ds-primary: #1b5e20;
  --ds-primary-dark: #155817;
  --ds-primary-light: #2d7a2e;
  
  /* Accent Colors (Red - Limited Use) */
  --ds-accent-red: #c41e3a;
  --ds-accent-red-dark: #9f162b;
  
  /* Neutral Colors */
  --ds-bg-white: #ffffff;
  --ds-bg-light: #f8f9fa;
  --ds-border: #e9ecef;
  --ds-text-dark: #212529;
  --ds-text-muted: #6c757d;
  
  /* Semantic Colors */
  --ds-success: #28a745;
  --ds-warning: #ffc107;
  --ds-danger: #7A0000;
  
  /* Spacing */
  --ds-spacing-xs: 0.25rem;
  --ds-spacing-sm: 0.5rem;
  --ds-spacing-md: 1rem;
  --ds-spacing-lg: 1.5rem;
  --ds-spacing-xl: 2rem;
  
  /* Border Radius */
  --ds-radius-sm: 6px;
  --ds-radius-md: 8px;
  --ds-radius-lg: 12px;
  --ds-radius-xl: 20px;
  
  /* Shadows */
  --ds-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --ds-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --ds-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ==================== UNIFIED BUTTON SYSTEM ==================== */

/* Primary Button - Green (Main Actions) */
.btn-primary-unified {
  background: linear-gradient(135deg, var(--ds-primary) 0%, var(--ds-primary-dark) 100%);
  color: var(--ds-bg-white) !important;
  border: none;
  border-radius: var(--ds-radius-md);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: var(--ds-shadow-sm);
}

.btn-primary-unified:hover {
  background: linear-gradient(135deg, var(--ds-primary-dark) 0%, #0d3d0f 100%);
  color: var(--ds-bg-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-md);
}

.btn-primary-unified:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.25);
}

/* Secondary Button - Outline */
.btn-secondary-unified {
  background: transparent;
  color: var(--ds-primary) !important;
  border: 2px solid var(--ds-primary);
  border-radius: var(--ds-radius-md);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-secondary-unified:hover {
  background: var(--ds-primary);
  color: var(--ds-bg-white) !important;
  border-color: var(--ds-primary);
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-sm);
}

.btn-secondary-unified:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.25);
}

/* Outline Button - Neutral */
.btn-outline-unified {
  background: var(--ds-bg-white);
  color: var(--ds-text-dark) !important;
  border: 2px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-outline-unified:hover {
  background: var(--ds-bg-light);
  color: var(--ds-primary) !important;
  border-color: var(--ds-primary);
  transform: translateY(-2px);
}

.btn-outline-unified:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.15);
}

/* Danger/Reset Button - Neutral Gray */
.btn-reset-unified {
  background: var(--ds-text-muted);
  color: var(--ds-bg-white) !important;
  border: none;
  border-radius: var(--ds-radius-md);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-reset-unified:hover {
  background: #5a6268;
  color: var(--ds-bg-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-sm);
}

.btn-reset-unified:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.25);
}

/* Danger Button - Red (Critical Actions Only) */
.btn-danger-unified {
  background: var(--ds-danger);
  color: var(--ds-bg-white) !important;
  border: none;
  border-radius: var(--ds-radius-md);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-danger-unified:hover {
  background: #c82333;
  color: var(--ds-bg-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-md);
}

.btn-danger-unified:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

/* ==================== UNIFIED FILTER PANEL ==================== */

.filter-panel-unified {
  background: var(--ds-bg-white);
  border: 2px solid var(--ds-border);
  border-radius: var(--ds-radius-xl);
  box-shadow: var(--ds-shadow-sm);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.filter-panel-header {
  background: linear-gradient(135deg, var(--ds-primary) 0%, var(--ds-primary-dark) 100%);
  color: var(--ds-bg-white);
  padding: var(--ds-spacing-md) var(--ds-spacing-lg);
  border-bottom: none;
}

.filter-panel-header h5 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--ds-bg-white);
}

.filter-panel-body {
  padding: var(--ds-spacing-lg);
}

.filter-section-unified {
  margin-bottom: var(--ds-spacing-md);
  padding-bottom: var(--ds-spacing-md);
  border-bottom: 1px solid var(--ds-border);
}

.filter-section-unified:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-label-unified {
  display: flex;
  align-items: center;
  gap: var(--ds-spacing-sm);
  color: var(--ds-text-dark);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: var(--ds-spacing-sm);
}

.filter-label-unified i {
  color: var(--ds-primary);
  font-size: 0.9rem;
}

.filter-input-unified {
  width: 100%;
  padding: 0.75rem var(--ds-spacing-md);
  border: 2px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  font-size: 0.9rem;
  background: var(--ds-bg-white);
  color: var(--ds-text-dark);
  transition: all 0.3s ease;
}

.filter-input-unified:hover {
  border-color: var(--ds-primary);
  background: var(--ds-bg-light);
}

.filter-input-unified:focus {
  outline: none;
  border-color: var(--ds-primary);
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.15);
  background: var(--ds-bg-white);
}

.filter-input-unified::placeholder {
  color: var(--ds-text-muted);
}

.filter-select-unified {
  width: 100%;
  padding: 0.75rem var(--ds-spacing-md);
  border: 2px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  font-size: 0.9rem;
  background: var(--ds-bg-white);
  color: var(--ds-text-dark);
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-select-unified:hover {
  border-color: var(--ds-primary);
  background: var(--ds-bg-light);
}

.filter-select-unified:focus {
  outline: none;
  border-color: var(--ds-primary);
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.15);
  background: var(--ds-bg-white);
}

.filter-hint-unified {
  font-size: 0.75rem;
  color: var(--ds-text-muted);
  margin-top: var(--ds-spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--ds-spacing-xs);
}

.filter-hint-unified i {
  color: var(--ds-primary);
  font-size: 0.65rem;
}

/* ==================== ACCESSIBILITY FIXES ==================== */

/* Ensure all buttons maintain contrast on hover */
.btn-primary-unified,
.btn-secondary-unified,
.btn-outline-unified,
.btn-reset-unified,
.btn-danger-unified {
  /* Force white text on colored backgrounds */
}

.btn-primary-unified:hover,
.btn-danger-unified:hover,
.btn-reset-unified:hover {
  color: var(--ds-bg-white) !important;
}

/* Fix red-on-red issues */
.btn-danger,
.btn-outline-danger {
  background: var(--ds-danger) !important;
  color: var(--ds-bg-white) !important;
  border-color: var(--ds-danger) !important;
}

.btn-danger:hover,
.btn-outline-danger:hover {
  background: #c82333 !important;
  color: var(--ds-bg-white) !important;
  border-color: #c82333 !important;
}

/* ==================== UTILITY CLASSES ==================== */

.text-primary-unified {
  color: var(--ds-primary) !important;
}

.bg-primary-unified {
  background: var(--ds-primary) !important;
}

.border-primary-unified {
  border-color: var(--ds-primary) !important;
}

.shadow-unified {
  box-shadow: var(--ds-shadow-sm);
}

.shadow-unified-md {
  box-shadow: var(--ds-shadow-md);
}

.shadow-unified-lg {
  box-shadow: var(--ds-shadow-lg);
}

/* ==================== PRICE ANIMATIONS (İL BORSASI) ==================== */

/* Price Circle Container */
.price-circle-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Price Circle Wrapper */
.price-circle-wrapper {
  width: clamp(90px, 18vw, 110px);
  height: clamp(90px, 18vw, 110px);
  border: 3px solid var(--ds-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ds-bg-white);
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.25);
  overflow: hidden;
  padding: 0.5rem;
}

/* Blink Animation for Live Price Icon */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.blink-icon {
  animation: blink 1.5s ease-in-out infinite;
}

/* Price Blink Animation - Scale */
@keyframes priceBlink {
  0%, 100% { 
    transform: scale(1);
  }
  50% { 
    transform: scale(1.05);
  }
}

/* .price-blink removed - no blinking animation */

/* Price Pulse Animation */
@keyframes pricePulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.25);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 18px rgba(27, 94, 32, 0.4);
    transform: scale(1.05);
  }
}

.price-circle-wrapper {
  animation: pricePulse 3s ease-in-out infinite;
}

/* Digit Slide Animations - Altın fiyatı gibi yukarı-aşağı kayma - Smooth ve hızlı */
@keyframes digitSlide1 {
  0% { 
    transform: translateY(0);
    opacity: 1;
  }
  8% { 
    transform: translateY(-0.4em);
    opacity: 0.95;
  }
  12% { 
    transform: translateY(-0.7em);
    opacity: 0.3;
  }
  14% { 
    transform: translateY(-0.9em);
    opacity: 0;
  }
  15% { 
    transform: translateY(0.9em);
    opacity: 0;
  }
  18% { 
    transform: translateY(0.5em);
    opacity: 0.8;
  }
  25% { 
    transform: translateY(0.2em);
    opacity: 0.95;
  }
  40% { 
    transform: translateY(0.05em);
    opacity: 0.98;
  }
  60% { 
    transform: translateY(0.01em);
    opacity: 0.99;
  }
  100% { 
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes digitSlide2 {
  0% { 
    transform: translateY(0);
    opacity: 1;
  }
  20% { 
    transform: translateY(-0.4em);
    opacity: 0.95;
  }
  24% { 
    transform: translateY(-0.7em);
    opacity: 0.3;
  }
  26% { 
    transform: translateY(-0.9em);
    opacity: 0;
  }
  27% { 
    transform: translateY(0.9em);
    opacity: 0;
  }
  30% { 
    transform: translateY(0.5em);
    opacity: 0.8;
  }
  37% { 
    transform: translateY(0.2em);
    opacity: 0.95;
  }
  52% { 
    transform: translateY(0.05em);
    opacity: 0.98;
  }
  72% { 
    transform: translateY(0.01em);
    opacity: 0.99;
  }
  100% { 
    transform: translateY(0);
    opacity: 1;
  }
}

.price-digit-1,
.price-digit-2 {
  display: inline-block;
  position: relative;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.price-digit-1 {
  animation-name: digitSlide1;
}

.price-digit-2 {
  animation-name: digitSlide2;
}

.price-digits-container {
  display: inline-flex;
  overflow: hidden;
  height: 1.2em;
  align-items: center;
  position: relative;
}

.price-digit-1 {
  animation-duration: var(--price-anim-duration, 3s);
  animation-delay: var(--price-anim-delay, 0s);
}

.price-digit-2 {
  animation-duration: var(--price-anim-duration, 3s);
  animation-delay: calc(var(--price-anim-delay, 0s) + 0.3s);
}

/* ==================== RESPONSIVE ==================== */
/* ==================== MODERN PAGINATION - İLANLAR (BEYAZ-KIRMIZI) ==================== */
.pagination-modern.pagination-listings {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.pagination-modern.pagination-listings .page-modern {
  margin: 0;
}

.pagination-modern.pagination-listings .page-modern a,
.pagination-modern.pagination-listings .page-modern span.pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #212529;
  border: 2px solid #e9ecef;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-modern.pagination-listings .page-modern a:hover {
  background: linear-gradient(135deg, #115C19 0%, #0d4a14 100%);
  color: white;
  border-color: #115C19;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(17, 92, 25, 0.3);
}

.pagination-modern.pagination-listings .page-modern.active a {
  background: linear-gradient(135deg, #115C19 0%, #0d4a14 100%);
  color: white;
  border-color: #115C19;
  box-shadow: 0 6px 20px rgba(17, 92, 25, 0.4);
  transform: scale(1.05);
  animation: paginationPulseListings 2s ease-in-out infinite;
}

.pagination-modern.pagination-listings .page-modern.disabled a,
.pagination-modern.pagination-listings .page-modern.disabled span.pagination-nav {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #adb5bd;
  border-color: #dee2e6;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.pagination-modern.pagination-listings .page-modern.disabled a:hover {
  transform: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #adb5bd;
}

.pagination-modern.pagination-listings .page-modern.dots span {
  border: none;
  background: transparent;
  cursor: default;
  font-weight: 700;
  color: #6c757d;
  box-shadow: none;
}

.pagination-modern.pagination-listings .page-modern.dots span:hover {
  transform: none;
}

@keyframes paginationPulse {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(177, 15, 46, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(177, 15, 46, 0.6);
  }
}

@keyframes paginationPulseListings {
  0%, 100% { box-shadow: 0 6px 20px rgba(17, 92, 25, 0.4); }
  50% { box-shadow: 0 8px 25px rgba(17, 92, 25, 0.55); }
}

/* ==================== MODERN PAGINATION - İL BORSASI (KOYU YEŞİL-BEYAZ) ==================== */
.pagination-modern.pagination-ilborsasi {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.pagination-modern.pagination-ilborsasi .page-modern {
  margin: 0;
}

.pagination-modern.pagination-ilborsasi .page-modern a,
.pagination-modern.pagination-ilborsasi .page-modern span.pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #212529;
  border: 2px solid #e9ecef;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-modern.pagination-ilborsasi .page-modern a:hover {
  background: linear-gradient(135deg, #1b5e20 0%, #2d7a2e 100%);
  color: #FFFFFF !important;
  border-color: #1b5e20;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(27, 94, 32, 0.3);
}

.pagination-modern.pagination-ilborsasi .page-modern.active a {
  background: linear-gradient(135deg, #1b5e20 0%, #2d7a2e 100%);
  color: #FFFFFF !important;
  border-color: #1b5e20;
  box-shadow: 0 6px 20px rgba(27, 94, 32, 0.4);
  transform: scale(1.05);
  animation: paginationPulseGreen 2s ease-in-out infinite;
}

.pagination-modern.pagination-ilborsasi .page-modern a:hover *,
.pagination-modern.pagination-ilborsasi .page-modern.active a * {
  color: #FFFFFF !important;
}

.pagination-modern.pagination-ilborsasi .page-modern.disabled a,
.pagination-modern.pagination-ilborsasi .page-modern.disabled span.pagination-nav {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #adb5bd;
  border-color: #dee2e6;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.pagination-modern.pagination-ilborsasi .page-modern.disabled a:hover {
  transform: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #adb5bd;
}

.pagination-modern.pagination-ilborsasi .page-modern.dots span {
  border: none;
  background: transparent;
  cursor: default;
  font-weight: 700;
  color: #6c757d;
  box-shadow: none;
}

.pagination-modern.pagination-ilborsasi .page-modern.dots span:hover {
  transform: none;
}

@keyframes paginationPulseGreen {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.6);
  }
}

/* ==================== GENEL PAGINATION MODERN (HABERLER İÇİN) ==================== */
.pagination-modern:not(.pagination-listings):not(.pagination-ilborsasi) {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.pagination-modern:not(.pagination-listings):not(.pagination-ilborsasi) .page-modern {
  margin: 0;
}

.pagination-modern:not(.pagination-listings):not(.pagination-ilborsasi) .page-modern a,
.pagination-modern:not(.pagination-listings):not(.pagination-ilborsasi) .page-modern span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #212529;
  border: 2px solid #e9ecef;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-modern:not(.pagination-listings):not(.pagination-ilborsasi) .page-modern a:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(166, 7, 8, 0.3);
}

.pagination-modern:not(.pagination-listings):not(.pagination-ilborsasi) .page-modern.active a {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(166, 7, 8, 0.4);
  transform: scale(1.05);
  animation: paginationPulse 2s ease-in-out infinite;
}

.pagination-modern:not(.pagination-listings):not(.pagination-ilborsasi) .page-modern.disabled a,
.pagination-modern:not(.pagination-listings):not(.pagination-ilborsasi) .page-modern.disabled span {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #adb5bd;
  border-color: #dee2e6;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.pagination-modern:not(.pagination-listings):not(.pagination-ilborsasi) .page-modern.disabled a:hover {
  transform: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #adb5bd;
}

.pagination-modern:not(.pagination-listings):not(.pagination-ilborsasi) .page-modern.dots span {
  border: none;
  background: transparent;
  cursor: default;
  font-weight: 700;
  color: #6c757d;
  box-shadow: none;
}

.pagination-modern:not(.pagination-listings):not(.pagination-ilborsasi) .page-modern.dots span:hover {
  transform: none;
}

/* ==================== RESPONSIVE PAGINATION ==================== */
.page-listings .listings-mobile-filter-toggle {
  width: 100%;
  margin-bottom: 0.95rem;
  padding: 1rem 1.05rem;
  border: 2px solid rgba(117, 0, 1, 0.28);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #ffe9eb 100%);
  color: #750001;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  text-align: left;
  box-shadow: 0 16px 30px rgba(117, 0, 1, 0.14);
}

.page-listings .listings-mobile-filter-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.page-listings .listings-mobile-filter-copy strong {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.15;
}

.page-listings .listings-mobile-filter-copy small {
  color: #7f1d1d;
  font-size: 0.78rem;
  line-height: 1.4;
}

.page-listings .listings-mobile-filter-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #750001;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(117, 0, 1, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-listings .listings-mobile-filter-toggle.is-open .listings-mobile-filter-icon {
  transform: rotate(180deg);
  box-shadow: 0 12px 24px rgba(117, 0, 1, 0.22);
}

.page-listings .featured-mobile-scroll {
  display: none;
}

