/* ===================================== Start Car Comparison Css ===================================== */
.compare-car-desktop .heading .title {
  font-family: "Sofia-Pro";
  font-size: 24px;
  font-weight: 600;
  color: #020408;
}

.compare-car-desktop .swiper {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.compare-car-desktop .swiper-slide {
  position: relative;
  /* min-width: 400px; */
  box-sizing: border-box;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #e6f4ff 100%);
}

.swiper-slide img {
  display: block;
  width: 100%;
  max-width: 600px; /* Limit image size for larger screens */
  height: auto;
  object-fit: cover;
}

.compare-car-desktop .compare-car {
  height: 177px;
  width: 100%; /* Adjust to your container's size */
  border-radius: 20px; /* Adds rounded corners to the container */
  background: linear-gradient(135deg, #e0e4e3 50%, #f0f2f1 50%);
  position: relative; /* Ensures positioning for skew */
  overflow: hidden; /* Ensures content does not spill outside the rounded corners */
  border-radius: 12px;
}

.compare-car-desktop .compare-car .car-comprison-img1 {
  width: 144px; /* Makes the images take up 50% of the container */
  height: 95px;
  left: 10px;
  position: relative;
}
.compare-car-desktop .compare-car .car-comprison-img2 {
  width: 144px; /* Makes the images take up 50% of the container */
  height: 95px;
  right: 10px;
  position: relative;
}

.compare-car-desktop .car-compare-icon img {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 32%;
  left: 43%;
}
.compare-car-desktop .car-1 .brand-name {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  color: #353c4d;
  font-size: 16px;
  line-height: 24.3px;
}
.compare-car-desktop .car-1 .brand-price {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  color: #080e1b;
  font-size: 16px;
  line-height: 24px;
}
.compare-car-desktop .car-2 .brand-name {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  color: #353c4d;
  font-size: 16px;
  line-height: 24.3px;
}
.compare-car-desktop .car-2 .brand-price {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  color: #080e1b;
  font-size: 16px;
  line-height: 24px;
}
.compare-car-desktop .view-all-comparison .view-all {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #5d6370;
  cursor: pointer;
  text-decoration: none;
  margin-top: 32px;
  margin-bottom: 10px;
}
.compare-car-desktop .view-all-comparison .view-all:hover {
  color: var(--custome-color);
}
/* ===================================== End Car Comparison Css ===================================== */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
  .compare-car-desktop .swiper-slide {
    min-width: 350px !important;
  }
  .compare-car-desktop .compare-car .car-comprison-img1 {
    width: 136px;
    height: 90px;
  }
  .compare-car-desktop .compare-car .car-comprison-img2 {
    width: 136px;
    height: 90px;
  }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .compare-car-desktop .swiper-slide {
    min-width: 350px !important;
  }
  .compare-car-desktop .compare-car .car-comprison-img1 {
    width: 136px;
    height: 90px;
  }
  .compare-car-desktop .compare-car .car-comprison-img2 {
    width: 136px;
    height: 90px;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .compare-car-desktop .swiper-slide {
    min-width: 335px !important;
  }
  .compare-car-desktop .compare-car .car-comprison-img1 {
    width: 130px;
    height: 85px;
  }
  .compare-car-desktop .compare-car .car-comprison-img2 {
    width: 130px;
    height: 85px;
  }
}

@media screen and (max-width: 768px) {
  .compare-car-desktop .compare-car .car-comprison-img1 {
    width: 107px;
    height: 70px;
    left: 7px;
  }
  .compare-car-desktop .compare-car .car-comprison-img2 {
    width: 107px;
    height: 70px;
    right: 7px;
  }
  .compare-car-desktop .swiper-slide {
    min-width: 278px;
  }
  .compare-car-desktop .compare-car {
    height: 115px;
  }
  .compare-car-desktop .car-compare-icon img {
    top: 24%;
    left: 43%;
    width: 35px;
    height: 35px;
  }
  .compare-car-desktop .car-1 .brand-name {
    font-size: 12px;
    line-height: 20px;
  }
  .compare-car-desktop .car-2 .brand-name {
    font-size: 12px;
    line-height: 20px;
  }
  .compare-car-desktop .car-1 .brand-price {
    font-size: 12px;
    line-height: 20px;
  }
  .compare-car-desktop .car-2 .brand-price {
    font-size: 12px;
    line-height: 20px;
  }
  .compare-car-desktop .swiper {
    margin-top: 20px;
    margin-bottom: 30px;
  }
}
