body {
  background: #f2f2f2 !important;
  color: #333;
}
.header-below-section{
  max-width:1090px;
  width:100%;
  margin:auto;
  }
h1 {
  font-size: 28px;
  font-weight: 700;
  padding-top:40px;
}
.topbar-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}
.search-container-1 {
  display: flex;
  gap: 10px;
}
input[type="text"] {
  padding: 7px;
  width: 290px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.search-btn{
  background-color: #333;
  color: white;
  border: none;
  padding: 6px 30px;
  border-radius: 4px;
  cursor: pointer;
}
.content-1 {
  
  min-height: calc(100vh - 200px);
  display: flex;
  padding-top: 20px;
  max-width:1090px;
  width:100%;
  margin:auto;
}
.ads-1 {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.ad-card-1 {
  display: flex;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.ad-card-1 img {
  width: 330px;
  height: 400px;
  object-fit: cover;
}
.ad-content-1 {
  padding: 15px;
  flex: 1;
  position: relative;
}
.badge-1 {
  background: #717171;
  font-size: 14px;
  color: #fff;
  padding: 2px 20px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 8px;
}
.ad-title-1 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top:20px;
}
.ad-info-1 {
  font-size: 12px;
  color: #555;
  margin-bottom: 20px;
}
.ad-desc-1{
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 60px;
}
.price-1 {
  position: absolute;
  top: 18px;
  right: 20px;
  font-weight: 600;
  font-size: 16px;
}
.view-btn-1 {
  padding: 6px 25px;
  font-size: 16px;
  background: #6b3e26;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration:none;
}
.icon-badge-container-1 {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.badge-icon-1{
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
  object-fit: cover;
}

.tooltip-1 {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 6px 8px;
  border-radius: 4px;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.button-icon-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  padding-right: 20px;
}

.icon-badge-container-1:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.filters-1 {
  flex: 1;
  margin-left: 30px;
  padding: 20px;
}
.filters-1 h3 {
  margin-bottom: 20px;
  font-size: 30px;
  font-weight: 700;
}
.top-spacing-1 {
  margin-top: 30px;
}
.apply-btn{
  background-color: #333;
  padding: 10px 10px;
  border: none;
  border-radius: 5px;
  color:#fff;
  margin-top: 10px; 
  width: 100%;
}
.filters-1 strong {
  font-size: 20px;
}

.filters-1 label {
  display: block;
  margin: 5px 0;
}

.filters-1 input[type="radio"],
.filters-1 input[type="checkbox"] {
  margin-right: 10px;
}

.filters-1 input[type="text"] {
  width: 100%;
  margin-bottom: 10px;
  margin-top: 5px;
}

/* Price Filter Styling */
.price-filter-1 {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap; 
}

.price-filter-1 input {
  width: 120px; 
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  background-color: #fff;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.price-filter-1 input:focus {
  border-color: #6b3e26;
  box-shadow: 0 0 0 2px rgba(107, 62, 38, 0.2);
  outline: none;
}
.custom-select-1 {
  width: 80%;
  margin-top: 5px;
  padding: 10px;
}

.pagination {
  max-width: 1200px;
  margin: auto;
  padding-bottom: 10px;
  padding-left: 30px;
  margin-bottom: 60px; 
  display: flex;
  flex-wrap: wrap;
  gap: 5px;;
}

.page-item {
  list-style: none;
}

.page-link {
  color: #000 !important;
  border: 1px solid #ddd;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #fff;
}

.page-link:hover {
  background-color: #964b29;
  color: #fff !important;
  border-color: #964b29;
}

.page-link:active {
  color: #fff !important;
  background-color: #964b29;
}

.page-item.active .page-link {
  background-color: #964b29 !important;
  border-color: #964b29 !important;
  color: #fff !important;
}



@media (max-width: 768px) {
  h1 {
    font-size: 22px;
    text-align: center;
    padding: 20px 10px 10px;
  }

  .topbar-1 {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
  }

  .search-container-1 {
    flex-direction: row;
    width: 100%;
  }

  input[type="text"] {
    font-size:12px;
    padding:7px 50px;
    width: 100%;
  }

  .search-btn {
    width: 100%;
    padding: 10px;
  }

  .content-1 {
    flex-direction: column-reverse;
    padding: 0 10px;
  }

  .ads-1 {
    width: 100%;
  }

  .filters-1 {
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
  }

  .ad-card-1 {
    flex-direction: column;
  }

  .ad-card-1 img {
    width: 100%;
    height: 380px; 
    object-fit: cover;
    
  }

  .ad-content-1 {
    padding: 15px;
  }

  .price-1 {
    position: static;
    margin-bottom: 10px;
    font-size: 18px;
  }

  .button-icon-1 {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding-right: 0;
  }

  .pagination {
    justify-content: center;
    padding-left: 0;
  }

  .custom-select-1 {
    width: 100%;
  }

  .price-filter-1 {
    flex-direction: column;
    gap: 10px;
  }

  .price-filter-1 input {
    width: 100%;
  }
  .filters-1 strong{
    font-size:18px;
  }
  .filters-1 label{
    font-size:14px;
  }
 
}
