.tours {
  width: 100%;
  overflow: hidden;
  padding: 0 1px;
}

.tours__box {
  display: flex;
  flex-direction: column;
  /* border-radius: 24px; */
  overflow: hidden;
  /* box-shadow: 0 0 5px 0px #00000010; */
  position: relative;
  height: auto;
  /* padding: 13px; */
  gap: 13px;
}

.tours__box--holder_rate {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 12px;
  color: #606470;
  font-weight: 500;
  text-wrap: nowrap;
}

.tours__box--holder_img {
  position: relative;
  width: 100%;
  height: 200px;
  min-height: 200px;
  display: inline-flex;
}

.tours__box--imageSlider {
  overflow: hidden;
}

.rowView .tours__box--parent_link {
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.tours__box--location {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: var(--radius-small);
  padding: 5px;
  background: rgba(255, 255, 255, 0.6);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 500;
}

.tours__box--address_link {
  color: #438dd6;
  font-weight: 500;
}

.tours__box--rate {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.tours__box--media {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: row-reverse;
  gap: 7px;
  padding: 10px;
  z-index: 2;
}

.tours__box--media img {
  background: #00000047;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  padding: 4px;
}

.tours__box--rate > div {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a9adb2;
}

.tours__box--rate.rate .green,
.tours__box--rate.rate .gray {
  color: #39ae03;
  background: #3ec4001f;
  display: flex;
  padding: 1px 4px;
  border-radius: 6px;
}

.tours__box--rate.rate .gray {
  color: #606470;
  background: #6064702b;
}

.tours__box--rate.rate .green span {
  color: #91b97e;
}

.tours__box--rate.rate .gray span {
  color: #a2a5ab;
}

.tours__box--rate img {
  width: 17px;
  height: auto;
}

.tours__box--options {
  top: 210px;
  right: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  z-index: 2;
  flex-wrap: wrap;
}

.tours__box--options_item {
  background: #f5f5f5;
  color: #818181;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  text-wrap: nowrap;
  padding: 5px 8px;
  display: flex;
  flex-direction: row;
  gap: 7px;
}

.tours__box--ads {
  width: 99px;
  height: 34px;
  position: absolute;
  top: 0;
  right: 0;
}

.tours__box--ads span {
  display: flex;
  border-radius: 10px;
  border-bottom-right-radius: 3px;
  flex-direction: row;
  align-items: center;
  background: #e50000;
  color: #fff;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 500;
  justify-content: center;
  box-shadow: 0px 2px 3.1px 0px #e500006b;
}

.tours__box--ads::before {
  content: "";
  position: absolute;
  top: 23px;
  right: 6px;
  width: 15px;
  height: 20px;
  background: linear-gradient(36deg, #e50000, #9c0000);
  z-index: -1;
  rotate: 56deg;
  border-radius: 2px 2px 10px 2px;
}

.tours__box--offer {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
  color: #818181;
}

.tours__box--offer del {
  text-decoration: line-through;
  font-size: 14px;
}

.tours__box--offer span {
  font-weight: 100;
  font-size: 12px;
}

.tours__box--discount {
  border-radius: 20px;
  background: #3f7dd9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 5px;
}

.tours__box--img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.tours__box--holder_img.tours__box--imageSlider.ads {
  border-top-right-radius: 10px;
}

.tours__box--holder_img.ads .tours__box--img,
.tours__box--holder_img.ads .empty__slide,
.tours__box--holder_img.ads .swiper-slide.last_slide,
.tours__box--holder_img.ads .swiper-slide.gallery-error {
  border-top-right-radius: 70px;
}

.tours__box--holder_img.ads .slider {
  border-top-right-radius: 70px;
  overflow: hidden;
}

.tours__box--holder_img.ads .swiper-wrapper {
}

.tours__box--holder_img.ads .swiper-wrapper .tours__box--img {
}

.tours__box--info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: calc(100% - 200px);
  justify-content: space-between;
}

.tours__box--info_content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tours__box--holder_title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.tours__box--title {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  text-overflow: ellipsis;
  overflow: hidden;
  text-wrap: nowrap;
  width: 100%;
}

.tours__box--item,
.tours__box--holder_address {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #606470;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  justify-content: space-between;
}

.tours__box--address {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.tours__box--del {
  width: auto;
  position: relative;
  color: #818181;
  font-size: 16px;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 3px;
}

.tours__box--del::after {
  content: "";
  width: 100%;
  position: absolute;
  height: 1px;
  background: var(--text-gray);
  top: 45%;
  right: 0;
}

.tours__box--holder_price {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0 8px;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  height: auto;
}

.tours__box--price_desc,
.tours__box--price_ins span {
  font-weight: 400;
  font-size: 14px;
  color: var(--text-gray);
}

.tours__box--tranport_desc {
  display: none;
}

.tours__box--price_ins span {
  font-size: 12px;
}

.tours__box--price_ins {
  font-weight: 700;
  font-size: 18px;
  color: #2563eb;
  text-align: left;
}

.tours__box--icon {
  width: 17px;
  height: auto;
}

.tours__box--call {
  width: 100%;
  margin-right: 0;
  height: 39px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  color: #606470;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.tours__box--call:hover {
  color: var(--priymary-color-dark);
}

.img__loader {
  background: #eee;
}

.img__loader::after {
  content: "";
  width: 30px;
  height: 30px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: imgLoader 1s linear infinite;
  border: 2px solid #ffffff4f;
  border-radius: 50%;
  border-left-color: #9d9d9d;
}

.img__loader-bg::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--gray);
}

@keyframes imgLoader {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.tours__box--holder_img .swiper-pagination {
  display: none;
}

.tours__box--holder_img .swiper-slide.last_slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
}

.tours__box--holder_img .swiper-slide.last_slide::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #00000085;
}

.tours__box--holder_img .swiper-slide.last_slide::after {
  content: "مشاهده تصاویر بیشتر";
  padding: 8px;
  border-radius: 3px;
  color: #fff;
  position: absolute;
  font-size: 14px;
}

.tours__box--holder_img .swiper-button-prev,
.tours__box--holder_img .swiper-button-next {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #ffffff90;
  display: flex;
  justify-content: center;
  align-items: center;
  top: calc(50% + 12px);
  transition: all 0.3s ease;
}

.tours__box--holder_img .swiper-button-prev::after,
.tours__box--holder_img .swiper-button-next::after {
  font-size: 11px;
  font-weight: bold;
  color: #00000090;
}

.tours__box--holder_img .swiper-slide a {
  height: 100%;
  width: 100%;
  outline: none;
  cursor: zoom-in;
}

.tours__box--holder_img .swiper-slide.gallery-error {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  color: #999;
  border-radius: 20px;
  overflow: hidden;
}

.tours__box--holder_img .empty__slide {
  border-radius: 20px;
  overflow: hidden;
}

.overflow_hidden {
  overflow: hidden !important;
}

.tourCardOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background: #00000090;
  transition: all 0.3s ease;
  z-index: 20;
}

.tourCardModal {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  padding: 32px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  z-index: 21;
  align-items: center;
  transition: all 0.3s ease;
  transform: translate(0%, 100%);
}

.tourCardModal.show {
  transform: translate(0%, 0%);
}

.tourCardModal__header {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

.tourCardModal__header::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 4px;
  background: #d2d2d2;
  border-radius: 10px;
  top: -20px;
  right: calc(50% - 20px);
}

.tourCardModal__header--title {
  font-weight: 500;
  font-size: 16px;
}

.tourCardModal__header--close {
  display: none;
}

.tourCardModal__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 14px;
  color: #333;
}

.tourCardModal__content--desc {
  font-size: 14px;
  font-weight: 400;
}

.tourCardModal__content video {
  width: 100%;
  background: #eee;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
}

.tourCardModal__content--btn {
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  border: 0;
  outline: none;
  height: 48px;
  width: 100%;
}

@media (min-width: 768px) {
  .tours__box--holder_img .swiper-button-prev,
  .tours__box--holder_img .swiper-button-next {
    opacity: 0;
  }

  .tours__box:hover .tours__box--holder_img .swiper-button-prev,
  .tours__box:hover .tours__box--holder_img .swiper-button-next {
    opacity: 1;
  }

  .tourCardModal {
    width: 460px;
    height: auto;
    padding: 20px;
    border-radius: 12px;
    transform: translate(50%, 100vh);
    right: 50%;
    bottom: 50%;
  }

  .tourCardModal.show {
    transform: translate(50%, 50%);
  }

  .tourCardModal__header--close {
    display: block;
    width: 20px;
    height: 20px;
    cursor: pointer;
  }

  .tourCardModal__header::before {
    content: unset;
  }

  .rowView .tours__box--info {
    width: 60%;
    flex-direction: column;
    height: auto;
  }

  .rowView .tours__box--info_content {
    width: 100%;
    justify-content: space-between;
  }

  .rowView .tours__box {
    flex-direction: row;
    max-height: 255px;
  }

  .rowView
    .tours__box--holder_img
    .swiper-pagination
    .swiper-pagination-bullet {
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 20px;
  }

  .rowView
    .tours__box--holder_img
    .swiper-pagination
    .swiper-pagination-bullet-active {
    width: 20px;
  }

  .rowView .tours__box--holder_img {
    width: 40%;
    height: 100%;
    /* overflow: hidden; */
    padding: 0;
  }

  .rowView .tours__box--location {
    display: none;
  }

  .rowView .tours__box--rate {
    right: calc(40% - 75px);
    width: fit-content;
  }

  .rowView .tours__box--options {
    position: unset;
  }

  .rowView .tours__box--transport_prices {
    order: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 76px;
    gap: 12px;
  }

  .rowView .tours__box--transport_price {
    background: #f7f7f7;
    border-radius: 12px;
    flex-direction: column;
    border: 0;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .rowView .tours__box--transport_price.disabled {
    background: #f5f5f533;
    border: 1px solid #0000000a;
    filter: unset;
  }

  .rowView .tours__box--transport_price.disabled .tours__box--transport_type {
    filter: var(--filter-gray-mediom);
  }
}

@media (min-width: 1024px) {
  .rowView .tours__box {
    flex-direction: row;
    max-height: 235px;
    min-height: 210px;
    padding: 16px 1px;
  }

  .rowView .tours__box--holder_img .swiper-pagination {
    display: block;
    bottom: 0;
  }

  .rowView .tours__box--info {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    width: 70%;
    gap: 0;
  }

  .rowView .tours__box--title {
    max-width: calc(100% - 80px);
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
  }

  .rowView .tours__box--holder_img {
    width: 30%;
  }

  .rowView .tours__box--holder_rate {
    position: absolute;
    left: 20px;
    top: 5px;
    width: fit-content;
    display: flex;
    flex-direction: row-reverse;
    background: #fff;
    padding: 10px 10px 10px 0;
  }

  .rowView .tours__box--holder_price {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-big);
    flex-wrap: nowrap;
  }

  .rowView .tours__box--offer {
    justify-content: center;
  }

  .rowView .tours__box--offer span {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
  }

  .rowView .tours__box--holder_address {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-wrap: nowrap;
    font-size: 14px;
    justify-content: flex-start;
  }

  .rowView .tours__box--address {
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .rowView .tours__box--address.popular {
    padding-right: 14px;
    margin-right: 8px;
    border-right: 1px solid #eee;
  }

  .rowView .tours__box--holder_title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .rowView .tours__box--options {
    position: unset;
  }

  .rowView .tours__box--rate {
    position: unset;
  }

  .rowView .tours__box--rate.rate {
    padding-left: 7px;
    margin-left: 7px;
    border-left: 1px solid #eee;
  }

  .rowView .tours__box--price_ins {
    text-align: center;
  }

  .rowView .tours__box--tranport_desc {
    color: #888888;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .rowView .tours__box--tranport_desc img {
    filter: contrast(0) brightness(1);
  }
}

.tours__box--transport_prices {
  margin: -3px 0;
}

.tours__box--transport_price {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border-bottom: 1px solid #eee;
}

.tours__box--transport_price:last-child {
  border-bottom: 0;
}

.tours__box--transport_price.disabled * {
  filter: var(--filter-gray-mediom);
}

.tours__box--transport_price.disabled .tours__box--transport_amount {
  font-size: 14px;
}

.tours__box--transport_type {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  color: #212121;
}

.tours__box--transport_amount {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  line-height: 15px;
}

.tours__box--transport_amount span {
  font-weight: 600;
  font-size: 10px;
}
.is-compact .fancybox__footer .fancybox__caption {
  text-align: center;
}
