:root {
  --bg-color: #fdfdfd;
  --text-color: #333;
  --main-color: #000D9A;
  --white-color: #fff;
  --shadow-color: rgba(0, 0, 0, .2);
}

.cottage-banner {
  padding: 8.5rem 0 0 0;
  width: 100%;
}

.cottage-banner img {
  width: 100%;
  height: auto;
}

/* Base styles */
.cottageFilterContainer {
  max-width: 800px;
  width: 100%;
  background-color: lightcyan;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid lightblue;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
}

.filterContainer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 10px;
}

.searchBar {
  width: 300px;
  padding: 10px;
  border: 1px solid black;
  background-color: #fff;
  border-radius: 5px;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
}

.bx-search-alt-2 {
  color: #000;
}

.priceFilter {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

main {
  padding: 100px 7% 50px 7%;
  background-color: var(--bg-color);
}

.cottageCard-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cottageCard {
  width: 100%;
  height: 320px;
  border: 2px solid var(--text-color);
  background-color: var(--bg-color);
  border-radius: 20px;
  transition: .3s ease-in-out;
  display: flex;
  justify-content: space-between;
}

.cardImg {
  width: 30%;
  height: 100%;
  border-radius: 20px 0 0 20px;
  background-color: var(--bg-color);
}

.swiper {
  width: 100%;
  height: 100%;
  border-radius: 20px 0 0 20px;
}

.swiper-slide {
  text-align: center;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px 0 0 20px;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
}

.cottageBook-btn {
  gap: 10px;
  white-space: nowrap;
  width: 50%;
  max-width: 200px;
  text-align: center;
  display: flex;
  float: right;
  align-items: center;
  justify-content: center;
  background-color: var(--main-color);
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 600;
  transition: .3s ease-in;
}

.cottageBook-btn:hover {
  background-color: rgb(95, 95, 95);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3), 0 10px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.cottageBook-left {
  width: 70%;
  padding: 10px;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cottageBook-left .start {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.cottageBook-left .start p {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 500;
}

.cottageBook-left .start p:first-child {
  font-size: 19px;
  font-weight: 700;
}

.cottageBook-left .end {
  gap: 5px;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.cottageBook-left .end p {
  font-size: 15px;
  font-weight: 500;
  text-align: end;
  margin-top: 5px;
}

.cottageBook-left .end .price {
  width: 100%;
  text-align: end;
}

.cottageBook-left .end .price span {
  font-size: 19px;
  font-weight: 700;
}

.cottageBook-left .end .price span:first-child {
  text-decoration: line-through;
  color: silver;
  font-size: 17px;
  margin-right: 10px;
}

.cottageBook-left .both {
  display: flex;
  width: 100%;
  margin-top: 10px;
  justify-content: space-between;
}

.cottageBook-left .both .review {
  width: 50%;
  display: flex;
  gap: 5px;
}

.cottageBook-left .both .review h2 {
  font-size: 20px;
  font-weight: 700;
  padding: 5px;
  border-radius: 5px;
  background-color: green;
  color: #fff;
}

.cottageBook-left .both .review div.totalR h3 {
  font-size: 15px;
  font-weight: 800;
}

.cottageBook-left .both .review div.totalR p {
  font-size: 15px;
  font-weight: 600;
}

.cottageBook-left .both .bookbtn {
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .cottageBook-left {
    width: 100%;
  }

  .cottageCard {
    flex-direction: column;
    height: auto;
  }

  .cardImg {
    width: 100%;
    height: 200px;
  }

  .cottageBook-left .both {
    flex-direction: column;
    align-items: center;
  }

  .cottageBook-btn {
    width: 100%;
    max-width: none;
    margin-top:10px;
  }
}

@media (max-width: 600px) {
  .searchBar {
    width: 100%;
  }

  .priceFilter {
    width: 100%;
  }

  .cottageFilterContainer {
    margin-left: auto;
    margin-right: auto;
  }
}





