/* Buttons */
.buttons {
  font-size: 22px;
  margin-top: 2%;
  margin-left: 4.2%;
}

.fa:hover {
  color: darkcyan;
}

/* Container */
.container {
  display: flex;
  flex-flow: column nowrap;
  background: #D5ECD0;
  margin-top: -40px;
}

/* CSS Grid */
.section-grid {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping of items */
  padding: 2px;
  background: #EDFBE2;
}

.grid-prod {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2px;
}

.prod-grid {
  margin: 2%;
  padding: 12px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  max-width: 33%; /* Default for desktop: 3 items per row */
}

.prod-grid img {
  width: 100%; /* Ensures image scales with the container */
}

h3, p {
  text-align: left;
  line-height: 1.5;
  letter-spacing: 1px;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
  .prod-grid {
    max-width: 48%; /* 2 items per row on tablets */
  }
}

@media (max-width: 480px) {
  .prod-grid {
    min-width: 100%; /* 1 item per row on mobile */
  }

  .section-list, .buttons {
    display: none; /* Hide these elements on mobile */
  }
}

/* Button Styles */
.btnn, .btnn-list {
  background: darkcyan;
  border: 1px solid darkcyan;
  border-radius: 6px;
  color: white;
  font-size: 22px;
  width: 200px;
  height: 40px;
  margin: 10px;
  letter-spacing: 1px;
  display: inline-block;
  text-align: center;
  line-height: 40px; /* Center text vertically */
}

.btnn:hover, .btnn-list:hover {
  background: white;
  border: 2px solid darkcyan;
  color: darkcyan;
  font-weight: bold;
}

/* CSS List */
.section-list {
  display: flex;
  padding: 2% 4%;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px auto;
  width: 100%;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 5px;
  border: 1px solid #ddd;
  color: darkcyan;
  text-decoration: none;
  border-radius: 4px;
}

.pagination a:hover {
  background: darkcyan;
  color: white;
}

.pagination .current {
  background: darkcyan;
  color: white;
  border: 1px solid darkcyan;
}

/* Location Content */
.location-contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: -15px;
}

.property-image-display {
  display: flex;
  padding: 10px;
  height: 300px;
}

.property-count {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: -85px;
  padding: auto;
}
/* .prev{
  cursor: pointer;
  position: relative;
  top: 50%;
  width: auto;
} */
.prev, .next {
  position: relative;
}

.property-count .property-count-content {
  color: black;
  background: white;
  font-size: 20px;
  padding: 10px;
  border-radius: 10px;
}
