@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

:root {
  --plugin-font-family: "Montserrat", Sans-serif;
}

body,
.base-template__wrapper {
  font-family: var(--plugin-font-family);
}

.base-template__wrapper {
  max-width: 1600px;
}

.base-template__text {
  margin-bottom: 60px;
}

/**
 * Slider Instance
 */

.swiper {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.booking-slider {
  --color-gray-dark: #2f4858;
  --color-gray-white: #fff;

  padding-inline: 98px;
  position: relative;
}

.booking-slider__slide {
  display: flex;
  align-items: center;
  min-height: 650px;
}

.booking-slider-item__price {
  color: var(--color-gray-dark);
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 600;
  margin-bottom: 20px;
}

@media screen and (max-width: 991.9px) {
  .booking-slider {
    padding: 0;
    margin-inline: -20px;
  }
}

/**
 * Slider Navigation
 */

.slider-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  z-index: 1;
  pointer-events: none;
}

.slider-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 48px;
  pointer-events: auto;
  cursor: pointer;
  transform-origin: center;
  transition: all 0.3s ease-out;
}

.slider-nav__item.disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.5;
}

.slider-nav__item path {
  stroke: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .slider-nav__item:not(.disabled):hover {
    transform: scale(1.1);
  }
}

@media (hover: none) {
  .slider-nav__item:not(.disabled):active {
    transform: scale(1.1);
  }
}

@media screen and (max-width: 991.9px) {
  .slider-nav {
    display: none;
  }
}

/**
 * Slider Pagination
 */

.slider-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 40px;
}

.swiper-pagination-lock {
  display: none !important;
}

.slider-pagination__item {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--color-gray-dark);
  transition: all 0.3s ease-out;
  opacity: 0.2;
}

.slider-pagination__item.active {
  width: 30px;
  opacity: 1;
}

/**
 * Slider Item
 */

.swiper-slide {
  width: auto;
  height: auto;
}

@keyframes btn-arrow-move {
  0% {
    translate: 0;
  }

  100% {
    translate: 100% -100%;
  }
}

.booking-slider-item {
  background: var(--color-gray-white);
  position: relative;
  overflow: hidden;
}

.booking-slider-item__image {
  display: block;
  height: 350px;
  transition: height 0.6s ease-out;
  overflow: hidden;
}

.booking-slider-item__image img {
  display: block;
  width: 100%;
  height: 350px !important;
  object-fit: contain;
  object-position: center;
  transform-origin: center;
  transition: transform 0.6s ease-out;
  background: white;
}

.booking-slider-item__content {
  background: #e8ebf1;
}

.booking-slider-item__image {
  background: #e8ebf1;
}

.single-product-item-innolabix {
  position: relative;
}

.single-product-item-innolabix:hover img {
  transform: scale(1.1);
}

.single-product-item-innolabix img {
  transition: 0.3s ease-in-out;
}

.single-product-gallery .swiper-pagination .swiper-pagination-bullet-active {
  width: 30px !important;
  opacity: 1;
  height: 8px;
  border-radius: 99px;
  transition: all 0.3s ease-out;
}

.single-product-gallery .swiper-pagination span.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .booking-slider-item__image:hover img {
    transform: scale(1.05);
  }
}

.booking-slider-item__content {
  padding: 30px;
}

@media screen and (max-width: 574.9px) {
  .booking-slider-item__content {
    padding: 30px 20px;
  }
}

.booking-slider-item__title {
  font-weight: 600;
  font-size: 25px;
  line-height: 35px;
  margin-bottom: 16px;
}

.booking-slider-item__title a {
  display: block;
  color: var(--color-gray-dark);
  text-decoration: none;
  transition: opacity 0.3s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .booking-slider-item__title a:hover {
    opacity: 0.75;
  }
}

.booking-slider-item__address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-gray-dark);
  margin-bottom: 16px;
}

.booking-slider-item__address-icon {
  flex-shrink: 0;
  width: 16px;
}

.booking-slider-item__address-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.booking-slider-item__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--color-gray-dark);
}

.booking-slider-item__footer {
  max-height: 150px;
  overflow: hidden;
  transition: max-height 0.6s ease-in;
}

.booking-slider-item__footer-inner {
  padding-top: 24px;
}

.booking-slider-item__amenities {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 20px;
  border: 1px solid #ffffff1a;
  border-left: 0;
  border-right: 0;
  margin-bottom: 24px;
}

.booking-slider-item__amenity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-gray-dark);
}

.booking-slider-item__amenity-icon {
  flex-shrink: 0;
  width: 20px;
}

.booking-slider-item__amenity-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.booking-slider-item__amenity-text {
  padding-top: 2px;
}

.booking-slider__item.booking-slider-item {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  margin: 1px;
}

@media screen and (max-width: 574.9px) {
  .booking-slider-item__amenity {
    gap: 6px;
    font-size: 12px;
  }

  .booking-slider-item__amenity-icon {
    width: 16px;
  }

  .booking-slider-item__amenity-text {
    padding-top: 1px;
  }
}

.booking-slider-item__btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 18px;
  color: var(--color-gray-dark);
  text-decoration: none;
}

.booking-slider-item__btn-icon {
  flex-shrink: 0;
  display: block;
  aspect-ratio: 1;
  width: 24px;
  position: relative;
  overflow: hidden;
}

.booking-slider-item__btn-icon::before,
.booking-slider-item__btn-icon::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: url("/wp-content/plugins/custom-product-plugin-evolve/assets/img/icon-btn-arrow.svg")
    center center no-repeat;
  background-size: 100%;
}

.booking-slider-item__btn-icon::after {
  position: absolute;
  top: 100%;
  right: 100%;
}

.booking-slider__slide:not(.swiper-slide-active) .booking-slider-item__image {
  height: 350px;
}

.booking-slider__slide:not(.swiper-slide-active) .booking-slider-item__footer {
  max-height: 0;
}

.booking-slider-item__content a:hover {
  text-decoration: underline;
  opacity: 1;
  color: #2f4858 !important;
}

@media (hover: hover) and (pointer: fine) {
  .booking-slider-item__btn:hover .booking-slider-item__btn-icon::before,
  .booking-slider-item__btn:hover .booking-slider-item__btn-icon::after {
    animation: btn-arrow-move 0.4s ease forwards;
  }
}

@media (hover: none) {
  .booking-slider-item__btn:active .booking-slider-item__btn-icon::before,
  .booking-slider-item__btn:active .booking-slider-item__btn-icon::after {
    animation: btn-arrow-move 0.4s ease forwards;
  }
}
