.car-card {
  border: 1px solid var(--border1);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  gap: 24px;
  background-color: var(--white1);
  transition: border 0.4s ease;
}

.car-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  position: relative;
}

.car-card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.car-card .swiper {
  width: 100%;
  height: 100%;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.car-card .swiper img {
  cursor: zoom-in;
}

.car-card .swiper-wrapper,
.car-card .swiper-slide {
  height: 100%;
}

.car-card .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.car-card-badges {
  position: absolute;
  top: 20px;
  left: 24px;
  display: flex;
  gap: 10px;
  z-index: 1;
}

.car-card-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.car-card-information,
.car-actions {
  padding: 0px 24px;
}

.car-card-title-location-wrapper {
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--border1);
}

.car-location {
  color: var(--grey1);
  display: flex;
  gap: 6px;
  align-items: center;
}

.car-location svg {
  width: 16px;
  height: 16px;
}

.car-specs {
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  -moz-column-gap: 16px;
  row-gap: 16px;
  -moz-column-gap: 12px;
  column-gap: 12px;
  color: var(--grey1);
}

.car-specs > span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.car-specs > span > svg {
  width: 20px;
}

.car-title {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-prices-wrapper > div:first-child {
  display: flex;
  background-color: var(--blue2);
  padding: 12px 24px;
  gap: 12px;
  justify-content: center;
}

.prices {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 41px;
  width: 171.3334px;
}

.blue-colored {
  color: #005fcc;
}

.car-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.consult-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey1);
  gap: 8px;
}

.consult-link:hover {
  text-decoration: underline;
}

.all-auctions-button {
  display: none;
}

.car-card .swiper-button-prev::after,
.car-card .swiper-button-next::after {
  display: none;
}

.car-card .swiper-button-prev,
.car-card .swiper-button-next {
  width: 32px;
  height: 40px;
  background-color: var(--swiperArrowBackgroundDesktop);
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  visibility: hidden;
}

.car-card .swiper-pagination {
  visibility: hidden;
}

.swiper-pagination-bullet::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  transform: translate(-50%, -50%);
  background: transparent;
  pointer-events: none;
}

.car-card .swiper-button-prev svg,
.car-card .swiper-button-next svg {
  height: 15px;
  color: var(--white1);
  visibility: hidden;
  /* opacity: 0; */
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--border1);
}

.swiper-pagination-bullet-active {
  background-color: var(--blue1);
}

/* Badge */
.expired {
  display: flex;
  padding: 4px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 99px;
  background: var(--black1, #1f1f1f);
  color: var(--white1);
}
.pending {
  display: flex;
  padding: 4px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 99px;
  background: var(--blue1);
  color: var(--white1);
}

/* Zoom in */
#full-page-image {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: default;
}

.fullpage-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 31, 31, 0.9);
  z-index: 1;
}

.fullpage-swiper {
  position: relative;
  z-index: 2;
  width: 90%;
}

.fullpage-gallery img {
  max-width: 90%;
  max-height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  height: 100%;
  width: 100%;
}

.fullpage-gallery .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100vw;
  max-height: 100vh;
  /* width: 100vw;
  height: 100dvh; */
  box-sizing: border-box;
}

.fullpage-gallery .swiper-button-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
}

.fullpage-gallery .swiper-button-next,
.fullpage-gallery .swiper-button-prev {
  color: white;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.fullpage-gallery .swiper-button-next svg,
.fullpage-gallery .swiper-button-prev svg {
  width: unset;
  height: unset;
}

.fullpage-gallery .swiper-button-next,
.fullpage-gallery .swiper-button-prev {
  top: 55%;
}

.fullpage-gallery .thumbs-prev,
.fullpage-gallery .thumbs-next {
  top: 50%;
}

.fullpage-gallery .swiper-button-next,
.fullpage-gallery .swiper-button-prev,
.fullpage-gallery .thumbs-prev,
.fullpage-gallery .thumbs-next {
  position: absolute;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  background: rgba(31, 31, 31, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white1);
}

/* Left arrows */
.fullpage-gallery .thumbs-prev {
  left: 10px;
}

.fullpage-gallery .swiper-button-prev {
  left: 20px;
}

.fullpage-gallery .swiper-button-prev svg,
.fullpage-gallery .thumbs-prev svg {
  transform: rotate(180deg);
}

/* Right arrows */
.fullpage-gallery .thumbs-next {
  right: 10px;
}

.fullpage-gallery .swiper-button-next {
  right: 20px;
}

/* No info */
.car-card-content-wrapper .car-prices-wrapper .no-info-added {
  display: none;
}

@media (max-width: 1380px) {
  .fullpage-gallery img {
    max-width: 85%;
  }
}

@media (max-width: 890px) {
  .fullpage-gallery img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .car-card .swiper-button-prev,
  .car-card .swiper-button-next,
  .car-card .swiper-pagination,
  .car-card .swiper-button-prev svg,
  .car-card .swiper-button-next svg {
    visibility: visible;
  }

  .car-card .swiper-button-prev,
  .car-card .swiper-button-next {
    background-color: var(--swiperArrowBackgroundMobile);
  }

  .car-card .swiper-pagination-bullet::after {
    width: 44px;
    height: 44px;
  }

  .car-card-information,
  .car-actions {
    padding: 0 16px;
  }

  .car-actions {
    margin-top: 12px;
    margin-bottom: 16px;
    gap: 16px;
  }

  .car-specs {
    -moz-column-gap: 8px;
    column-gap: 8px;
    row-gap: 12px;
    padding-top: 16px;
  }

  .car-card-content-wrapper {
    gap: 12px;
  }

  .car-card-title-location-wrapper {
    padding-bottom: 16px;
  }

  .fullpage-gallery img {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: 100%;
  }
  .fullpage-gallery .fullpage-swiper {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .fullpage-gallery .swiper-button-close {
    right: 10px;
    top: 10px;
  }

  .fullpage-gallery .swiper-button-next {
    right: 10px;
  }
  .fullpage-gallery .swiper-button-prev {
    left: 10px;
  }
  .fullpage-gallery .swiper-button-next,
  .fullpage-gallery .swiper-button-prev {
    width: 34px;
    top: 56%;
  }
}

@media (hover: hover) {
  .car-card:hover {
    border: 1px solid var(--blue1);
  }

  .car-card:hover .car-title a {
    color: var(--blue1);
  }

  .car-card:hover .swiper-button-prev,
  .car-card:hover .swiper-button-next,
  .car-card:hover .swiper-button-prev svg,
  .car-card:hover .swiper-button-next svg,
  .car-card:hover .swiper-pagination {
    visibility: visible;
  }
}
.car-card__time-left {
  background: var(--blue1, #0072ee);
  color: #fff;
  padding: 4px 8px;
  border-radius: 99px;
}
