.ldp-happies {
  background: #f4efeb;
  padding-bottom: 71px;
}
.ldp-happies-header {
  display: flex;
}
.ldp-happies-header-content {
  flex-basis: 40%;
  margin: 70px 95px 60px 0;
  display: flex;
  flex-direction: column;
}
.ldp-happies-header-img {
  flex-basis: 60%;
  width: 60%;
  height: auto;
  object-fit: cover;
}
.happy-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.happy-logo img {
  width: 176.001px;
  height: 130px;
  flex-shrink: 0;
}
.ldp-happies-header-title {
  color: #b48c72;
  font-family: "Averta Std CY";
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
  margin-top: 28px;
}
.ldp-happies-items {
  margin-top: 29px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.ldp-happies-item-title {
  color: #3f3a36;
  font-family: "Averta Std CY";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.ldp-happies-item-subtitle {
  color: #3f3a36;
  font-family: "Averta Std CY";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 10px;
}
.ldp-happies-footer {
  margin-top: 64px;
  position: relative;
}
.ldp-happies-footer-title {
  color: #b48c72;
  font-family: "Averta Std CY";
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
}
.ldp-ldp-happies-footer-items {
  display: block; /* Override flex */
  overflow-x: auto;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.ldp-happies-footer-item {
  display: inline-block;
  width: 80%; /* Hoặc bạn điều chỉnh tuỳ UI mong muốn */
  margin-right: 10px;
  scroll-snap-align: start;
}
.ldp-ldp-happies-footer-items::-webkit-scrollbar {
  display: none;
}
.ldp-ldp-happies-footer-items {
  scrollbar-width: none;
}

.ldp-happies-footer-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 420px;
}
.ldp-ldp-happies-slider-items .slick-dots {
  margin-top: 20px !important;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.ldp-ldp-happies-slider-items .slick-dots li button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  background-image: none !important; /* xóa hình ảnh nếu có */
  border: none;
  padding: 0;
  outline: none;
}

.ldp-ldp-happies-slider-items .slick-dots li.slick-active button {
  background-color: #000; /* màu active */
  background-image: none !important; /* đảm bảo không có icon */
  width: 10px;
  height: 10px;
  border: none;
}
.ldp-ldp-happies-slider-items .slick-dots li button::before,
.ldp-ldp-happies-slider-items .slick-dots li button::after {
  display: none !important;
  content: none !important;
}
.ldp-slider .slick-slide {
  margin: 0 10px;
}

.ldp-ldp-happies-slider-item {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background-color: #a59f9b;
  border-radius: 50%;
  cursor: pointer;
}
.ldp-ldp-happies-slider-item.active {
  background-color: #3f3a36;
}
.ldp-happies-footer-item {
  display: none; /* Mặc định ẩn hết */
}
.ldp-ldp-happies-footer-items {
  display: flex;
  gap: 20px;
  overflow: hidden;
  position: relative;
}

.ldp-happies-footer-item {
  flex: 0 0 calc(100% / 3); /* Mỗi slide chiếm 1/3 */
  opacity: 1;
  transition: transform 0.6s ease;
}

.ldp-ldp-happies-footer-items.slide {
  transform: translateX(0);
}
.swiper {
  width: 100%;
  margin-top: 20px;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0; /* Đảm bảo mỗi slide không bị co lại */
  box-sizing: border-box;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.ldp-ldp-happies-slider-items {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.ldp-ldp-happies-slider-item {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.ldp-ldp-happies-slider-item.active {
  background-color: #333;
}
/* Chấm điều hướng */
.swiper-pagination {
  text-align: center;
  margin-top: 10px;
}

.swiper-pagination-bullet {
  background-color: #ccc;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  display: inline-block;
}

.swiper-pagination-bullet-active {
  background-color: #3f3a36 !important; /* Chấm đang active sẽ có màu tối */
}

@media screen and (max-width: 992px) {
  .ldp-happies-header-img {
    flex-basis: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .ldp-happies {
    padding: 0 6px;
  }
  .ldp-happies-cont {
    max-width: 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .ldp-happies-header {
    flex-direction: column-reverse;
  }
  .ldp-happies-header-content {
    margin: 32px 0 0 0;
  }
  .happy-logo img {
    width: 89.353px;
    height: 66px;
    aspect-ratio: 89.35/66;
  }
  .ldp-happies-header-title {
    margin-top: 12px;
    color: #b48c72;
    text-align: center;
    font-family: "Averta Std CY";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 28.8px */
  }
  .ldp-happies-items {
    margin-top: 12px;
    gap: 20px;
  }
  .ldp-happies-item-title {
    color: #3f3a36;
    font-family: "Averta Std CY";
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }
  .ldp-happies-item-subtitle {
    margin-top: 7px;
    color: #3f3a36;
    font-family: "Averta Std CY";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 146.667% */
  }
  .ldp-happies-footer {
    margin-top: 32px;
    padding-bottom: 32px;
  }
  .ldp-happies-footer-title {
    text-align: center;
    color: #b48c72;
    text-align: center;
    font-family: "Averta Std CY";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 28.8px */
  }
  .ldp-ldp-happies-footer-items {
    margin-top: 20px;
    padding-bottom: 32px;
    gap: 10px;
  }
  /* .ldp-ldp-happies-slider-items {
    display: none;
  } */
  /* .swiper-backface-hidden .swiper-slide {
    transform: scale(0) !important;
  }

  .swiper-slide.swiper-slide-next {
    transform: scale(1.5) !important;
  } */
  .ldp-ldp-happies-slider-items .slick-dots {
    bottom: 35px;
  }
}
