/* Listings Page Styles */

/* Top Search Bar */
.top-search-bar {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 1.5rem 2rem;
  position: sticky;
  top: 80px;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-bar-container {
  max-width: 1400px;
  margin: 0 auto;
}

.search-bar-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-input-group {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 1.2rem;
  pointer-events: none;
}

.city-select,
.search-input {
  width: 100%;
  padding: 0.875rem 3rem 0.875rem 3rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
  background: #ffffff;
}

.search-input[readonly] {
  background: #f5f5f5;
  cursor: not-allowed;
  padding-right: 3rem;
}

.search-clear-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
  z-index: 10;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.search-clear-btn:hover {
  color: #ef4444;
  background: #fee2e2;
}

.city-select {
  min-width: 150px;
  max-width: 200px;
  cursor: pointer;
}

.search-input-expanded {
  flex: 1;
}

.city-select:focus,
.search-input:focus {
  outline: none;
  border-color: #3B9DD4;
}

.search-input::placeholder {
  color: #999;
}

.search-submit-btn {
  background: #F97316;
  color: white;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}

.search-submit-btn:hover {
  background: #2d8bc0;
  transform: translateY(-2px);
}

/* Main Content Layout */
.listings-main {
  padding: 2rem;
  background: #F9FAFB;
  min-height: calc(100vh - 200px);
}

.listings-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar {
  position: sticky;
  top: 180px;
  height: fit-content;
  align-self: start;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom scrollbar for filters sidebar */
.filters-sidebar::-webkit-scrollbar {
  width: 6px;
}

.filters-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.filters-sidebar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.filters-sidebar::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.filters-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.filters-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.reset-filters-btn {
  background: none;
  border: none;
  color: #3B9DD4;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.3s;
}

.reset-filters-btn:hover {
  color: #2d8bc0;
  text-decoration: underline;
}

.filter-section {
  margin-bottom: 2rem;
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.filter-checkbox:hover {
  background: #f8f9fa;
}

.filter-checkbox input[type="checkbox"],
.filter-checkbox input[type="radio"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #d0d0d0;
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s;
}

/* Radio button styling - circular checkmark */
.filter-checkbox input[type="radio"] + .checkmark {
  border-radius: 50%;
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark,
.filter-checkbox input[type="radio"]:checked + .checkmark {
  background: #3B9DD4;
  border-color: #3B9DD4;
}

/* Checkbox checkmark - square with checkmark */
.filter-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Radio button checkmark - filled circle */
.filter-checkbox input[type="radio"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.filter-label-text {
  font-size: 0.9375rem;
  color: #333;
  user-select: none;
}

/* Listings Content */
.listings-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Filter and Sort Row Container */
.filter-sort-row {
  display: none;
  gap: 0.75rem;
  align-items: stretch;
  margin-bottom: 1rem;
  width: 100%;
}

.mobile-filter-btn {
  display: none;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  margin-bottom: 0;
  flex: 0 0 auto;
  min-width: 120px;
}

.sort-wrapper {
  flex: 1;
  min-width: 0;
}

.mobile-filter-btn:hover {
  border-color: #3B9DD4;
  color: #3B9DD4;
}

.mobile-filter-btn svg {
  width: 20px;
  height: 20px;
}

.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.listings-header-left {
  flex: 1;
}

.listings-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}

.city-name {
  color: #3B9DD4;
}

.listings-count {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.listings-header-right {
  display: flex;
  align-items: center;
}

.sort-select {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
  color: #333;
  cursor: pointer;
  transition: border-color 0.3s;
  min-width: 200px;
}

.sort-select:focus {
  outline: none;
  border-color: #3B9DD4;
}

/* Applied Filters */
.applied-filters {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.applied-filters-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex: 1;
}

.filter-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #E8F4F8;
  border-radius: 20px;
  font-size: 0.875rem;
  color: #1a1a1a;
}

.filter-pill-remove {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: color 0.2s;
}

.filter-pill-remove:hover {
  color: #ef4444;
}

.clear-all-filters-btn {
  background: none;
  border: none;
  color: #3B9DD4;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}

.clear-all-filters-btn:hover {
  color: #2d8bc0;
  text-decoration: underline;
}

/* Property Listings Grid */
.property-listings {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.property-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s, transform 0.2s;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 0;
  cursor: pointer;
  position: relative;
}

.property-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.property-image-container {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.property-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}

.property-image-container:hover .carousel-nav {
  opacity: 1;
}

.carousel-prev,
.carousel-next {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: #333;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: #ffffff;
  transform: scale(1.1);
}

.property-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.badge {
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-new {
  background: #F97316;
  color: white;
}

.badge-published {
  background: #6B7280;
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: none;
}

.badge-verified {
  background: #22C55E;
  color: white;
}

.badge-negotiable {
  background: #3B9DD4;
  color: white;
}

.wishlist-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
  background: #ffffff;
  transform: scale(1.1);
}

.wishlist-btn.active {
  background: #ffffff;
}

.wishlist-btn.active svg {
  fill: #ef4444;
  color: #ef4444;
}

.wishlist-btn svg {
  width: 20px;
  height: 20px;
  color: #666;
  transition: all 0.3s;
}

.property-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.property-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.9375rem;
}

.property-location svg {
  flex-shrink: 0;
  color: #999;
}

.property-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem;
  background: #F9FAFB;
  border-radius: 8px;
}

.price-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.price-label {
  font-size: 0.8125rem;
  color: #666;
  font-weight: 500;
}

.price-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
}

.property-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #666;
}

.info-item svg {
  flex-shrink: 0;
  color: #999;
}

.info-value {
  font-weight: 600;
  color: #1a1a1a;
}

.property-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
  position: relative;
  z-index: 10;
}

.property-published-text {
  color: #666;
  font-size: 0.875rem;
  font-weight: 500;
  flex-shrink: 0;
}

.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: inherit;
  position: relative;
  z-index: 11;
}

.btn-primary {
  background: #F97316;
  color: white;
}

.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #3B9DD4;
  border: 2px solid #3B9DD4;
}

.btn-secondary:hover {
  background: #E8F4F8;
  transform: translateY(-2px);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 2rem 0;
}

.pagination-btn {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: #333;
}

.pagination-btn:hover:not(:disabled) {
  border-color: #3B9DD4;
  color: #3B9DD4;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination-number {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  transition: all 0.3s;
}

.pagination-number:hover {
  border-color: #3B9DD4;
  color: #3B9DD4;
}

.pagination-number.active {
  background: #3B9DD4;
  border-color: #3B9DD4;
  color: white;
}

.pagination-ellipsis {
  padding: 0 0.5rem;
  color: #666;
}

/* SEO Content Block */
.seo-content {
  padding: 3rem 2rem;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
}

.seo-content-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.seo-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.seo-text {
  font-size: 1.125rem;
  color: #666;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* Mobile Filter Sidebar */
.mobile-filter-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-filter-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-filter-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: white;
  z-index: 9999;
  padding: 0;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-filter-sidebar.active {
  transform: translateX(0);
}

.mobile-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.mobile-filter-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.mobile-filter-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #2c3e50;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.mobile-filter-close:hover {
  color: #3B9DD4;
}

.mobile-filter-content {
  padding: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .listings-container {
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
  }

  .property-card {
    grid-template-columns: 350px 1fr;
  }

  .top-search-bar {
    top: 80px;
  }

  .filters-sidebar {
    top: 160px;
    max-height: calc(100vh - 180px);
  }
}

@media (max-width: 768px) {
  .top-search-bar {
    padding: 0.75rem 1rem;
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    z-index: 999;
    background: #ffffff;
    width: 100%;
    left: 0;
    right: 0;
  }
  
  body {
    overflow-x: hidden;
  }

  .search-bar-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .search-input-group {
    flex: 0 0 auto;
  }

  .search-input-group:first-child {
    flex: 0 0 80px;
    min-width: 80px;
  }

  .search-input-group.search-input-expanded {
    flex: 1;
    min-width: 0;
  }

  .city-select {
    min-width: 80px;
    max-width: 80px;
    padding: 0.75rem 0.5rem 0.75rem 2.5rem;
    padding-right: 1.5rem;
    font-size: 0.875rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  .search-icon {
    left: 0.75rem;
    font-size: 1rem;
  }

  .search-input {
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    font-size: 0.875rem;
    min-width: 0;
  }

  .search-input::placeholder {
    font-size: 0.8125rem;
  }

  .search-submit-btn {
    flex: 0 0 auto;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
    min-width: 44px;
    width: auto;
  }

  .search-submit-btn .icon-search {
    display: inline-block;
  }

  .search-submit-btn span:not(.icon-search) {
    display: none;
  }

  .listings-main {
    padding: 1rem;
  }

  .listings-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .filters-sidebar {
    display: none;
  }

  /* Filter and Sort Row Container */
  .listings-content {
    gap: 1rem;
  }

  /* Show filter-sort-row on mobile */
  .filter-sort-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 1rem;
    width: 100%;
  }

  .filter-sort-row .mobile-filter-btn {
    display: flex;
    flex: 0 0 auto;
    min-width: 120px;
    padding: 0.875rem 1rem;
    justify-content: center;
  }

  .filter-sort-row .sort-wrapper {
    flex: 1;
    min-width: 0;
  }

  .filter-sort-row .sort-select {
    width: 100%;
    min-width: 0;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
  }

  .listings-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .listings-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .listings-count {
    font-size: 0.875rem;
  }

  /* Hide desktop sort on mobile */
  .listings-header-right {
    display: none;
  }

  .property-card {
    grid-template-columns: 1fr;
  }

  .property-image-container {
    min-height: 250px;
  }

  .property-carousel {
    min-height: 250px;
  }

  .property-price-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .property-price-grid .price-item:nth-child(3) {
    grid-column: span 2;
  }

  .property-info-grid {
    grid-template-columns: 1fr;
  }

  .property-actions {
    flex-direction: row;
  }

  .btn-primary,
  .btn-secondary {
    flex: 1;
    justify-content: center;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .seo-content {
    padding: 2rem 1rem;
  }

  .seo-title {
    font-size: 1.5rem;
  }

  .seo-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .top-search-bar {
    padding: 0.625rem 0.75rem;
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    z-index: 999;
    background: #ffffff;
    width: 100%;
    left: 0;
    right: 0;
  }

  .search-bar-wrapper {
    gap: 0.5rem;
  }

  .search-input-group:first-child {
    flex: 0 0 70px;
    min-width: 70px;
  }

  .city-select {
    min-width: 70px;
    max-width: 70px;
    padding: 0.625rem 0.375rem 0.625rem 2.25rem;
    padding-right: 1.25rem;
    font-size: 0.8125rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  .search-input {
    padding: 0.625rem 0.625rem 0.625rem 2.25rem;
    font-size: 0.875rem;
  }

  .search-icon {
    left: 0.625rem;
    font-size: 0.9375rem;
  }

  .search-submit-btn {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    min-width: 40px;
  }

  .listings-title {
    font-size: 1.125rem;
  }

  .listings-count {
    font-size: 0.8125rem;
  }

  .filter-sort-row {
    gap: 0.5rem;
  }

  .filter-sort-row .mobile-filter-btn {
    min-width: 100px;
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
  }

  .filter-sort-row .sort-select {
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
  }

  .listings-main {
    padding: 0.75rem;
  }

  .listings-title {
    font-size: 1.25rem;
  }

  .listings-count {
    font-size: 0.875rem;
  }

  .applied-filters {
    padding: 0.75rem;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .applied-filters-list {
    gap: 0.5rem;
    width: 100%;
  }

  .filter-pill {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    gap: 0.375rem;
  }

  .clear-all-filters-btn {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
    white-space: nowrap;
  }

  .property-content {
    padding: 1rem;
  }

  .property-title {
    font-size: 1.25rem;
  }

  .price-value {
    font-size: 1rem;
  }

  .pagination-number,
  .pagination-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9375rem;
  }

  .seo-title {
    font-size: 1.25rem;
  }

  .seo-text {
    font-size: 0.9375rem;
  }
}

/* Icons */
.icon-location::before { content: '📍'; }
.icon-search::before { content: '🔍'; }
.icon-user::before { content: '👤'; }
.icon-plus::before { content: '➕'; }
