.card .card-body {
  padding: 0;
  margin: .5rem;
}
@media (max-width: 767px) {
  .h5, h5 {
    font-size: 1rem;
    margin: 0;
  }
  .card p {
    padding: 0;
    margin: 0;
  }
  .col-2 {
    width: 32% !important;
  }
  .col-10 {
    width: 68% !important;
  }
}
.card .card-body {
  padding: 0;
  margin: .5rem;
}

body {
  background: #f5f6f8;
  color: #1f2937;
}

.page-wrapper {
  padding: 24px 0 48px;
}

.listing {
  max-width: 1180px;
}

.breadcrumb {
  margin-bottom: 18px;
  font-size: 14px;
}

.breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #111827;
}

#main-search-form .card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

#main-search-form .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

#main-search-form .input-group {
  border-radius: 12px;
}

#main-search-form .input-group-text {
  background: #f9fafb;
  border-color: #e5e7eb;
  color: #6b7280;
  border-radius: 12px 0 0 12px;
}

#main-search-form .form-control {
  min-height: 46px;
  border-color: #e5e7eb;
  font-size: 15px;
  box-shadow: none;
}

#main-search-form .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

#categorySelect {
  background: #ffffff;
}

.btn-search {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  background: #2563eb;
  color: #ffffff;
  border: 0;
  font-weight: 700;
}

.btn-search:hover {
  background: #1d4ed8;
  color: #ffffff;
}

.dashed_separator {
  display: none;
}

.first-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  margin: 28px 0 20px;
}

.listing-sidebar .filters-container {
  position: sticky;
  top: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.filter-label {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
}

.filters-container .form-control {
  min-height: 44px;
  border-radius: 10px;
  border-color: #e5e7eb;
  font-size: 14px;
}

.filters-container .btn-primary {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 700;
  background: #111827;
  border-color: #111827;
}

.listing-container .link-item {
  display: block;
  margin-bottom: 14px;
}

.listing-container .card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.listing-container .link-item:hover .card {
  transform: translateY(-2px);
  border-color: #d1d5db;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
}

.listing-container .card .row {
  min-height: 132px;
}

.listing-container .col-2 {
  width: 180px;
  flex: 0 0 180px;
}

.listing-container .col-10 {
  flex: 1;
  width: auto;
}

.listing-container img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 0;
}

.card .card-body {
  padding: 18px 20px;
  margin: 0;
}

.card-title {
  font-size: 18px;
  font-weight: 750;
  color: #111827;
  margin-bottom: 8px;
  line-height: 1.35;
}

.card-text {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.price {
  font-size: 18px;
  font-weight: 800;
  color: #2563eb;
}

.pagination {
  margin-top: 26px;
  gap: 6px;
}

.page-link {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #374151;
  min-width: 38px;
  text-align: center;
}

.page-item.active .page-link {
  background: #111827;
  border-color: #111827;
}

.page-item.disabled .page-link {
  background: #f3f4f6;
  color: #9ca3af;
}

@media (max-width: 767px) {
  .page-wrapper {
    padding-top: 14px;
  }

  #main-search-form .card {
    padding: 18px !important;
    border-radius: 16px;
  }

  .first-title {
    font-size: 22px;
    margin: 22px 0 16px;
  }

  .listing-container .card .row {
    min-height: 112px;
  }

  .listing-container .col-2 {
    width: 120px !important;
    flex: 0 0 120px;
  }

  .listing-container .col-10 {
    width: calc(100% - 120px) !important;
  }

  .listing-container img {
    height: 112px;
  }

  .card .card-body {
    padding: 12px 14px;
  }

  .card-title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .card-text {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .price {
    font-size: 16px;
  }
}

.listing-container .col-2 {
  width: 180px;
  flex: 0 0 180px;
}

.listing-container img {
  width: 100%;
  height: 132px;
  object-fit: cover;
}








.first-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 28px 0 18px;
}

.card-title {
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  line-height: 1.35;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: #2b6482;
}

.btn-search {
  background: #2b6482;
}

.btn-search:hover {
  background: #24556f;
}

#main-search-form .form-control:focus {
  border-color: #2b6482;
  box-shadow: 0 0 0 4px rgba(43, 100, 130, 0.14);
}

.filters-container .btn-primary {
  background: #2b6482;
  border-color: #2b6482;
}

.ad-description-card {
  margin-top: 18px;
  padding: 24px 26px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.ad-description-card h2 {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.ad-description-content {
  color: #374151;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-line;
  word-break: break-word;
}
