.sliderTab {
  position: relative;
  overflow: hidden;
  width: max-content;
  margin: auto;
}

.sliderTab .swiper-wrapper {
  z-index: 2 !important;
}
@media (max-width: 991px) {
  .sliderTab {
    position: relative;
    overflow: scroll;
    width: auto;
    padding-bottom: 11px;
    margin: auto;
  }
}
.sliderTab .swiper-slide {
  padding: 0 5px;
  width: auto;
}
.sliderTab .swiper-slide button {
  display: block;
  color: #333;
  letter-spacing: 0.05em;
  transition: 0.25s;
}
.sliderTab .swiper-slide button .slide__nav:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 100%;
  background: #bf000f;
  transform: translateX(-50%);
  transition: 0.25s;
  border-radius: 50rem !important;
  z-index: -1;
}
.sliderTab .swiper-slide.on .slide__nav {
  color: #fff;
}
.sliderTab .swiper-slide.on .slide__nav:after {
  width: 100%;
}
.sliderTab .slide__nav {
  padding: 15px 28px;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  font-family: "Plus Jakarta Sans";
  line-height: 1;
  color: #333;
  transition: 0.25s;
  background-color: #d9394524;
  border-radius: 50rem !important;
}
.emotions-slider .sliderTab__next,
.emotions-slider .sliderTab__prev {
  position: absolute;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  width: 60px;
  height: 100%;
  transition: 0.25s;
}
.emotions-slider .sliderTab__next.swiper-button-disabled,
.emotions-slider .sliderTab__prev.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}
.emotions-slider .sliderTab__next span,
.emotions-slider .sliderTab__prev span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background: #c30817;
  padding: 12px;
  border-radius: 50%;
}
.emotions-slider .sliderTab__next svg,
.emotions-slider .sliderTab__prev svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: #fff;
}
.emotions-slider .sliderTab__next {
  justify-content: flex-end;
  right: 11%;
}
.emotions-slider .sliderTab__next span {
  justify-content: flex-end;
}
.emotions-slider .sliderTab__prev {
  justify-content: flex-start;
  left: 11%;
}
.emotions-slider .sliderTab__prev span {
  justify-content: flex-start;
}

.sliderContent {
  width: 100%;
}
.sliderContent .swiper-slide {
  padding: 0 5px;
}
.sliderContent .swiper-slide .title {
  margin-bottom: 15px;
  font-size: 30px;
  text-align: center;
}
.sliderContent .swiper-slide .content {
  margin: 0 auto;
  max-width: 500px;
  font-size: 14px;
  line-height: 2;
  text-align: center;
}

@media (max-width: 550px) {
  .emotions-slider .sliderTab__next {
    right: 3%;
  }
  .emotions-slider .sliderTab__prev {
    left: 3%;
  }
  .emotions-slider .sliderTab__next span,
  .emotions-slider .sliderTab__prev span {
    width: 30px;
    height: 30px;
    padding: 9px;
  }
  .emotions-slider-item {
    max-width: 94% !important;
  }
}

.base-template__wrapper {
  max-width: 1560px;
}

.base-template__text {
  margin-bottom: 60px;
}

.swiper {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.emotions-slider {
  padding-inline: 98px;
  position: relative;
  z-index: 1;
}

.emotions-slider__slide {
  display: flex;
  align-items: center;
  min-height: 550px;
}

@media screen and (max-width: 991.9px) {
  .emotions-slider {
    padding: 0;
    margin-inline: -20px;
  }
  .sliderTab .swiper-wrapper {
    z-index: 2 !important;
    gap: 7px 0px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .sliderTab .slide__nav {
    padding: 14px 12px;
    width: 100%;
    text-align: center;
    font-size: 14px;
  }
  .sliderTab .swiper-slide {
    padding: 0 3px;
    width: auto;
  }
}

.slider-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 46%;
  left: 0;
  translate: 0 -50%;
  z-index: 4;
  pointer-events: none;
}
.emotions-slider__nav .slider-nav__item_prev {
  position: absolute;
  left: 13%;
  background: #fff1f1;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid #d7d7d7;
  box-shadow: 0px 2px 14px 1px rgb(18 18 18 / 17%);
}
.emotions-slider__nav .slider-nav__item_next {
  position: absolute;
  right: 13%;
  background: #fff1f1;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid #d7d7d7;
  box-shadow: 0px 2px 14px 1px rgb(18 18 18 / 17%);
}

.slider-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 48px;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.slider-nav__item.disabled {
  cursor: default;
  opacity: 0.5;
}

.slider-nav__item path {
  stroke: currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .slider-nav__item:not(.disabled):hover {
    color: var(--color-blue);
  }
}

@media (hover: none) {
  .slider-nav__item:not(.disabled):active {
    color: var(--color-blue);
  }
}

@media screen and (max-width: 767.9px) {
  .slider-nav {
    display: none;
  }
}

/**
 * Slider Pagination
 */

.slider-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.swiper-pagination-lock {
  display: none !important;
}

.slider-pagination__item {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #c00011;
  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%;
  }
}
.emotions-slider__slide {
  display: flex !important;
}
.emotions-slider-item {
  --border-radius: 10px;
  background-color: #fff;
  /* width: calc(100dvw - 60px); */
  max-width: 400px;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  box-shadow: 0px 0px 4px 0px #00000033;
}

.emotions-slider-item__image {
  aspect-ratio: 400 / 270;
  overflow: hidden;
}

.emotions-slider-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.emotions-slider-item__header,
.emotions-slider-item__footer {
  max-height: 100px;
  transition: max-height 400ms ease, opacity 400ms ease, visibility 400ms ease;
  visibility: visible;
  opacity: 1;
}
.emotions-slider__slide:not(.swiper-slide-active) .emotions-slider-item__header,
.emotions-slider__slide:not(.swiper-slide-active) .emotions-slider-item__footer {
  max-height: 0;
  visibility: hidden;
  opacity: 0;
  transition: max-height 400ms ease, opacity 400ms ease, visibility 400ms ease;
}

/* @media (prefers-reduced-motion: no-preference) {
  .emotions-slider-item__header,
  .emotions-slider-item__footer {
    transition: max-height 400ms ease, opacity 400ms ease, visibility 400ms ease;
  }
  .emotions-slider__slide:not(.swiper-slide-active) .emotions-slider-item__header,
  .emotions-slider__slide:not(.swiper-slide-active) .emotions-slider-item__footer {
    transition: max-height 400ms ease, opacity 400ms ease, visibility 400ms ease;
  }
} */

@media (min-width: 1400px) {
  .emotions-slider-item__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 5px 20px 20px;
  }
  .emotions-slider-item__info {
    padding: 20px 20px 0px 20px;
  }
  .emotions-slider-item__header-inner ul {
    padding-left: 17px;
    margin-bottom: 0px;
    font-size: 11px;
  }

  .emotions-slider-item__title {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .emotions-slider__slide.swiper-slide-active {
    transform: scale(1.5) !important;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .emotions-slider-item__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 5px 15px 15px;
  }
  .emotions-slider-item__info {
    padding: 20px 15px 0px 15px;
  }
  .emotions-slider-item__title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 3px;
  }
  .emotions-slider-item__header-inner ul {
    padding-left: 17px;
    margin-bottom: 0px;
    font-size: 11px;
  }
  .emotions-slider__slide.swiper-slide-active {
    transform: scale(1.4) !important;
  }
}
@media (max-width: 991px) {
  .emotions-slider-item__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 5px 15px 15px;
  }
  .emotions-slider-item__info {
    padding: 20px 15px 0px 15px;
  }
  .emotions-slider::before,
  .emotions-slider::after {
    display: none;
  }
  .emotions-slider__slide {
    display: flex !important;
    justify-content: center;
  }
  .emotions-slider__slide.swiper-slide-active {
    transform: scale(0.8) !important;
  }
  .emotions-slider__slide {
    display: flex;
    align-items: center;
    min-height: 459px;
  }
}

.emotions-slider__slide.swiper-slide-prev {
  transform: scale(0.97) translate3d(-70px, 0, 0) !important;
}
.emotions-slider__slide.swiper-slide-next {
  transform: scale(0.97) translate3d(70px, 0, 0) !important;
}

.emotions-slider__slide.swiper-slide:has(~ .swiper-slide-prev) {
  transform: scale(0.65) translate3d(0px, 0, 0);
}
.emotions-slider__slide.swiper-slide-next + .swiper-slide {
  transform: scale(0.65) translate3d(-0px, 0, 0);
}
.emotions-slider::before {
  left: -12px;
  background: linear-gradient(269deg, rgba(255, 255, 255, 0) 0%, rgba(252, 249, 243, 1) 33%, rgba(252, 249, 243, 1) 100%);
}
.emotions-slider::after {
  right: -12px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(252, 249, 243, 1) 33%, rgba(252, 249, 243, 1) 100%);
}
.emotions-slider::before,
.emotions-slider::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 350px;
  min-height: 600px;
  z-index: 3;
  top: 0;
}
@media (max-width: 550px) {
  .emotions-slider__slide {
    max-height: 410px !important;
    min-height: 410px !important;
  }
}
