.zev-multi-slider {
    width: 100%;
    padding-left: 8px;
}



.zev-multi-slider .swiper-slide {
    height: 685px !important; /* Chiều ngang ảnh */
    width: 386px !important; /* Chiều cao ảnh */
    margin-right: 40px; /* Khoảng cách giữa các cột */
    display: flex;
    justify-content: center;
    align-items: center;
}

.zev-multi-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.zev-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.zev-card img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

/* Overlay chữ */
/* Cũ */
/* .zev-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: start;
  color: white;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
} */
/* Mới By: DonVau */
.zev-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: start;
  left: 0;
  top: 0;
  flex-direction: column;
  color: white;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  background: rgb(0 0 0 / 0.2);
}

.zev-overlay .title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}

.zev-overlay .subtitle {
  font-size: 1rem;
  margin-top: 5px;
}

.zev-card:hover .zev-overlay {
  opacity: 1;
}

/* Border góc */
.border {
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid #fffffe;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.border-top-left {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.border-bottom-right {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
}

.zev-card:hover .border {
  opacity: 1;
}

.elementor-widget-zev-multi-slider {
      margin-left: 80px ;
}

@media (max-width: 820px) {
    .zev-multi-slider {
    width: 100%;
    padding-left: 0px;
}

  .zev-multi-slider .swiper-slide {
    height: auto !important;
      width: 820px !important;
      margin-right: 0px !important;
      display: flex;
      justify-content: center;
      align-items: center;
  }
    .zev-multi-slider .swiper-slide img {
      height: auto; /* Giữ tỷ lệ ảnh đúng */
      object-fit: contain; /* hoặc cover nếu bạn muốn căng */
    }
    .elementor-widget-zev-multi-slider {
      margin-left: 0px !important;
  }
  .swiper-slide{
  }
}

@media (max-width: 576px) {
  .zev-multi-slider .swiper-wrapper {
    /* KHÔNG ép width và transform nữa */
  }

  .zev-multi-slider .swiper-slide {
    flex: 0 0 100% !important;  /* mỗi slide full chiều ngang */
    max-width: 100% !important;
    margin-right: 0 !important;
  }
}
