.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  padding-left: initial;
  margin: 0;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 490px !important;
  /* background: #fff; */

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper1-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#carousel-name {
  color: #000;
  font-size: 23px;
  font-style: normal;
  font-weight: 600;
  line-height: 131.023%;
  text-transform: capitalize;
}

.carousel-list-item {
  color: #2F2F2F;
  text-align: justify;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 160.023%;
  /* 24.003px */
  letter-spacing: 0.075px;

}

.carousel-list {
  border-radius: 30px;
  margin-bottom: 0;
  min-height: 210px;
  text-align: start;
  display: flex;
  flex-direction: column;
  justify-content: start;
  width: 100%;
  padding: 0;
}

.carousel-list-item::before {
  content: "•";
  margin-right: 10px;
  font-size: 18px;
  color: #000;
}

.btn-search {
  border-radius: 35px !important;
  background: linear-gradient(94deg, #FF9E74 0%, #FF5F44 100%);
  display: flex;
  align-items: center;
  min-height: 50px;
  box-shadow: 0px 4px 12px 0px #FFD7CD;
}

.btn-more {
  border-radius: 35px !important;
  background: linear-gradient(94deg, #FF9E74 0%, #FF5F44 100%);
  min-width: 160px;
  z-index: 999;
  max-height: 60px;
  box-shadow: 0px 4px 12px 0px #FFD7CD;
}

.btn-chat {
  border-radius: 22px !important;
  background-image: linear-gradient(to right, rgba(255, 139, 75, 1), rgba(255, 86, 78, 1));
  width: 100px;
  top: 85%;
  right: 7%;
  position: fixed;
  z-index: 999;
}

.carousel {
  min-height: 367px;
  overflow: hidden;
  position: relative;
}

.info-expert {
  position: relative;
  background: #EDF2FF;
  height: 100%;
}

.radio-list {
  bottom: 0;
  position: absolute;
}

.slides1 {
  display: flex;
  transition: 0.5s;
}

.slide1 {
  width: 490px;
  /* Chiều rộng của slide */
  flex-shrink: 0;
  position: relative;
  height: 100%;
}

/* Thêm các kiểu trượt cho slides */
.carousel input:checked+.slides1 {
  margin-left: -490px;
}

.carousel-indicators .active {
  background-color: #FF7E53 !important;
  /* Màu sắc cho hình tròn slide hiện tại */
}

.carousel-caption {
  left: 10% !important;
  width: 364px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  flex: 0 1 auto;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: .5;
  transition: opacity .6s ease;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background-color: #fff;
  border: 2px solid #fff !important;
  cursor: pointer !important;
}

#block-info {
  z-index: 2;
}

.btn:first-child:hover {
  color: white;
}

.block-parent {
  position: relative;
}

.block-child {
  position: absolute;
  top: -16%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 50%;
}

#img-child {
  width: 100% !important;
}

.info-content-product>p {
  position: relative;
  padding-left: 25px;
  display: inline-block;
}

.info-content-product>p::before {
  content: "•";
  position: absolute;
  left: 10px;
  font-size: 18px;
  color: #F09A4E;
  top: 50%;
  transform: translateY(-50%);
}

.border-expert {
  height: 90%;
  border-radius: 0 330.5px 330.5px 0;
  background: linear-gradient(to right, #D2DFFF 100%, #F9F9FF 87%);
  width: 65%;
  top: 50%;
  transform: translateY(-50%);
}

.hidden-less-1400 {
  display: block !important;
}

.active-less-1400 {
  display: none !important;
}

.res-btn-search2 {
  display: none;
}

.img-block {
  position: relative;
  border: 1px solid #fff;
  width: 100%;
  height: 251px;
  border-radius: 30px;
  background: #fff;
}

.img-expert {
  width: 156px;
  height: 158px;
  position: absolute;
  right: 20px;
  top: 22px;
}

@media screen and (max-width : 1600px) {
  .active-less-1400 {
    display: none !important;
  }

  .block-child {
    position: absolute;
    top: -12%;
    width: 65%;
  }

  .carousel-caption {
    width: 305px;
  }

  .carousel-list {
    width: 100%;
  }

  .background-expert {
    margin-right: 0;
  }
}

@media screen and (max-width : 1400px) {

  .active-less-1400 {
    display: none !important;
  }

  .carousel-caption {
    width: 310px !important;
  }
}

@media screen and (max-width : 1200px) {
  .hidden-less-1400 {
    display: none !important;
  }

  .active-less-1400 {
    display: block !important;
  }

  .block-child {
    position: absolute;
    top: -16%;
    width: 75%;
  }

  .block {
    min-height: 400px !important;
  }

  .border-expert {
    width: 80%;
  }

  #block-info-2 {
    margin-right: 1rem !important;
  }
}

@media screen and (max-width : 992px) {
  .block-child {
    position: absolute;
    top: -9%;
    width: 70%;
  }

  .text-title-1 {
    font-size: 24px !important;
  }

  .text-title-2 {
    font-size: 48px !important;
  }

  .block {
    min-height: 370px !important;
  }

  .res-btn-search1 {
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
  }

  .res-btn-search2 {
    display: none;
  }

  .border-expert {
    width: 80% !important;
  }

  #block-info-1 {
    margin-left: 3rem !important;
    display: inline-flex;
  }

  .carousel-caption {
    width: 420px !important;
  }
}

@media screen and (max-width : 768px) {
  .block-child {
    position: absolute;
    top: -7%;
    width: 85%;
  }

  .block {
    min-height: 330px !important;
  }

  .img_bg1 {
    top: 0% !important;
  }

  .res-btn-search1 {
    bottom: 3% !important;
  }

  .border-expert {
    width: 97% !important;
  }

  #block-info-1 {
    margin-left: 2rem !important;
  }

  .carousel-caption {
    width: 308px !important;
  }

  .img-expert {
    width: 100px;
    height: 100px;
  }
}

@media screen and (max-width : 576px) {
  .block-child {
    position: absolute;
    top: -3%;
    width: 100%;
  }

  .block {
    min-height: 365px !important;
  }

  .img_bg1 {
    top: 0% !important;
  }

  #block-info-1 {
    margin-left: 0rem !important;
    padding-left: 2rem;
  }

  .res-btn-search1 {
    display: none;
  }

  .res-btn-search2 {
    display: block;
    display: flex;
    justify-content: center;
  }

  .text-title-1 {
    font-size: 20px !important;
  }

  .text-title-2 {
    font-size: 32px !important;
  }

  .expert-title {
    font-size: 24px;
  }

}



@media screen and (max-width : 500px) {
  .block-child {
    position: absolute;
    top: -2%;
    width: 90%;
  }

  .block {
    min-height: 365px !important;
  }

  .img_bg1 {
    top: 0% !important;
  }

  .carousel-list-item {
    font-size: 12px !important;
  }

  #carousel-name {
    font-size: 18px !important;
  }

  .img-expert {
    width: 97px;
    height: 88px;
  }

  .carousel-caption {
    left: 6% !important;
  }

  .img-block {
    right: 10px;
    top: 10px;
  }

  .carousel-caption {
    width: 230px !important;
  }

  .expert-title {
    font-size: 18px;
  }

  .img-block {
    margin-left: 12px;
  }
}

@media screen and (max-width : 390px) {
  .block-child {
    position: absolute;
    top: -3%;
    width: 100%;
  }

  .clip_path_bg {
    clip-path: polygon(0 0, 100% 0%, 100% 90%, 0 100%) !important;
  }

  .block {
    min-height: 420px !important;
  }

  .img_bg1 {
    top: 0% !important;
  }

  .carousel-list-item {
    font-size: 10px !important;
  }

  .img-expert {
    right: 5px;
    top: 20px;
  }
}



.card {
  transition: 0.3s;
}

.card:hover {
  scale: 1.05;
}

.product:hover {
  transition: all .5s;
  background: rgba(0, 0, 0, 0.51) !important;
  cursor: pointer;

}

.product:hover .popup_hover {
  display: block !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.product:hover img {
  opacity: 0.3 !important;
}