/* ??? layout ???? ???? ? finolite-theme-3 (???? qeshm-kharid (3)/index.html) */

.home-carousel.type-3 {
  display: block;
  visibility: visible;
}

.home-carousel .swiper-home-2 {
  overflow: hidden;
  /* ???? ??? ???? peek ???????? mask ????? ?? slidesPerView:1 ???? ???? ???? ?????? */
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.home-carousel .swiper-wrapper {
  min-height: 0;
}

/* ????? ??? ?? ???? ???? */
.home-carousel {
  margin-bottom: 10px !important;
}

.trust-section {
  margin-top: 0;
  padding-top: 8px;
}

@media (max-width: 992px) {
  .home-carousel {
    margin-bottom: 8px !important;
  }

  .trust-section {
    padding-top: 6px;
  }
}

@media (max-width: 575px) {
  .home-carousel {
    margin-bottom: 6px !important;
  }

  .trust-section {
    padding-top: 4px;
  }
}

.home-carousel .swiper-slide a {
  display: block;
}

/* ??? ???????? ? override ??? ??? ???? ??? */
.home-carousel .swiper-home-2 .swiper-slide {
  width: 100% !important;
  max-width: 100%;
}

.home-carousel .swiper-slide picture,
.home-carousel .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  aspect-ratio: 2880 / 600;
  object-fit: cover;
}

.trust-section {
  position: relative;
  z-index: 1;
  clear: both;
}

.home-carousel .swiper-slide--placeholder {
  opacity: 0.35;
}

.baners-section.is-empty {
  display: none !important;
}

.baners-section:not(.is-empty) {
  display: block !important;
}

.baners-section .baner img {
  width: 100%;
  height: auto;
  display: block;
}

.middle-banner-section .baner img {
  aspect-ratio: 820 / 328;
  object-fit: cover;
}

/* ??????? ???? type-3 ? ??????? ?? ?????? ????? swiper */
.special-offers-section.type-3 .section-inner {
  height: auto !important;
  min-height: 0 !important;
}

.special-offers-section.type-3 .offers-header .title {
  min-height: unset !important;
}

.special-offers-section.type-3 .swiper-content {
  overflow: hidden;
}

.special-offers-section.type-3 .swiper-special-offers,
.special-offers-section.type-3 .swiper-special-offers .swiper-wrapper {
  height: auto !important;
  min-height: 0 !important;
}

.special-offers-section.type-3 .swiper-special-offers .swiper-slide {
  height: auto !important;
  align-self: flex-start;
}

.special-offers-section.type-3 .card-product,
.special-offers-section.type-3 .card-product .card-inner {
  height: auto !important;
}

.special-offers-section.type-3 .card-product .thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.special-offers-section.type-3 .card-product .price-content .toman {
  writing-mode: horizontal-tb !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .special-offers-section.type-3 .swiper-buttons-control {
    position: absolute;
    left: 10px;
    top: 10px;
    margin: 0;
  }

  .special-offers-section.type-3 .swiper-buttons-control .swiper-btn-next,
  .special-offers-section.type-3 .swiper-buttons-control .swiper-btn-prev {
    background-color: transparent;
    color: #fff;
    width: 32px;
    height: 32px;
  }
}

/* Mobile header banner ? taller than desktop 2880/600 (~4.8:1) */
@media (max-width: 768px) {
  .home-carousel .swiper-home-2 .swiper-slide img,
  .home-carousel .swiper-home-2 .swiper-slide picture,
  .home-carousel .swiper-slide img,
  .home-carousel .swiper-slide picture {
    aspect-ratio: 960 / 400 !important;
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
  }
}

