@import "../vendor/splide/splide-core.min.css";

.avokado-nero-slider {
  --animation-time: 500ms;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-block: 35px 25px;
  overflow: hidden;
  background: var(--section-bg) no-repeat center/cover;
}
.avokado-nero-slider * {
  box-sizing: border-box;
}
.avokado-nero-slider--cup {
  --section-right-color: #612714;
}
.avokado-nero-slider--cup .avokado-nero-slider__container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
}
.avokado-nero-slider--pet {
  --section-right-color: #ddc09f;
  overflow: hidden;
}
.avokado-nero-slider--pet .avokado-nero-slider__container {
  position: relative;
}
.avokado-nero-slider--pet .avokado-nero-slider__right {
  max-width: 580px;
  margin-inline: auto;
}
.avokado-nero-slider--pet .avokado-nero-slider__card__content {
  aspect-ratio: unset;
}
.avokado-nero-slider--pet .coffee-bean {
  position: absolute;
  transition: 500ms transform ease-in-out 50ms;
  transform: translate3D(0, 0, 0);
  pointer-events: none;
}
.avokado-nero-slider .avokado-nero-slider__background {
  position: absolute;
  inset: 0;
  z-index: -1;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--animation-time) ease-in-out;
  max-width: unset;
  width: 100vw;
  left: calc(-50vw + 50%);
  height: 100%;
}
.avokado-nero-slider .avokado-nero-slider__background.active {
  opacity: 1;
}
.avokado-nero-slider__container {
  max-width: var(--container-width, 1200px);
  margin-inline: auto;
  padding-inline: 20px;
}
.avokado-nero-slider__left {
  position: relative;
  color: var(--section-text-color);
  padding: 70px 100px;
}
.avokado-nero-slider__left h1, .avokado-nero-slider__left h2, .avokado-nero-slider__left h3, .avokado-nero-slider__left h4, .avokado-nero-slider__left h5, .avokado-nero-slider__left h6, .avokado-nero-slider__left p, .avokado-nero-slider__left li {
  color: inherit;
  transition: color var(--animation-time) ease-in-out;
}
.avokado-nero-slider__left--text h1, .avokado-nero-slider__left--text h2, .avokado-nero-slider__left--text h3, .avokado-nero-slider__left--text h4, .avokado-nero-slider__left--text h5, .avokado-nero-slider__left--text h6 {
  font-family: "Noto Sans", sans-serif;
}
.avokado-nero-slider__left--text p, .avokado-nero-slider__left--text li {
  font-family: "Noto Sans", sans-serif;
  font-size: 22px;
  line-height: 32px;
}
.avokado-nero-slider__left--text p:not(:last-child) {
  margin-bottom: 20px;
}
.avokado-nero-slider__left--text p:last-child {
  margin: 0;
}
.avokado-nero-slider__left--text h2 {
  font-size: 64px;
  font-weight: 700;
  line-height: 80px;
  margin-bottom: 80px;
}
.avokado-nero-slider__left::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--section-left-shadow);
  z-index: -1;
  filter: blur(75px);
  border-radius: 50%;
  width: 110%;
  transition: background-color var(--animation-time) ease-in-out;
  aspect-ratio: 1;
}
.avokado-nero-slider__cards {
  position: relative;
}
.avokado-nero-slider__card {
  display: flex;
  flex-flow: column nowrap;
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity var(--animation-time) ease-in-out;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
  z-index: -1;
}
.avokado-nero-slider__card__badge {
  display: none;
  position: absolute;
  top: 100px;
  left: 0;
  z-index: 1;
  translate: -50% -50%;
  border-radius: 0 50%;
  background-color: var(--slider-badge-bg);
  color: var(--slider-badge-text);
  padding: 16px;
  min-width: 100px;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}
.avokado-nero-slider__card__content {
  padding: 130px 50px 40px;
  background-color: var(--slider-card-bg);
  text-align: center;
  color: var(--section-right-color);
  aspect-ratio: 1.427;
  -webkit-clip-path: shape(from 96.72% 0%, curve to 100% 1.29% with 98.35% 0%/99.19% 0.64%, vline to 98.81%, curve to 96.84% 100% with 99.22% 99.42%/98.39% 100%, curve to 90.15% 97.32% with 93.49% 100%/93.49% 97.32%, curve to 83.47% 100% with 86.81% 97.32%/86.81% 100%, curve to 76.79% 97.32% with 80.13% 100%/80.13% 97.32%, curve to 70.11% 100% with 73.45% 97.32%/73.45% 100%, curve to 63.42% 97.32% with 66.76% 100%/66.76% 97.32%, curve to 56.74% 100% with 60.08% 97.32%/60.08% 100%, curve to 50.06% 97.32% with 53.4% 100%/53.4% 97.32%, curve to 43.38% 100% with 46.72% 97.32%/46.72% 100%, curve to 36.69% 97.32% with 40.03% 100%/40.03% 97.32%, curve to 30.01% 100% with 33.35% 97.32%/33.35% 100%, curve to 23.33% 97.32% with 26.67% 100%/26.67% 97.32%, curve to 16.65% 100% with 19.99% 97.32%/19.99% 100%, curve to 9.96% 97.32% with 13.3% 100%/13.3% 97.32%, curve to 3.28% 100% with 6.62% 97.32%/6.62% 100%, curve to 0% 98.71% with 1.65% 100%/0.81% 99.36%, vline to 1.19%, curve to 3.16% 0% with 0.78% 0.58%/1.61% 0%, curve to 9.84% 2.68% with 6.51% 0%/6.5% 2.68%, curve to 16.52% 0% with 13.18% 2.68%/13.18% 0%, curve to 23.21% 2.68% with 19.86% 0%/19.87% 2.68%, curve to 29.89% 0% with 26.55% 2.68%/26.55% 0%, curve to 36.58% 2.68% with 33.24% 0%/33.24% 2.68%, curve to 43.26% 0% with 39.92% 2.68%/39.92% 0%, curve to 49.94% 2.68% with 46.6% 0%/46.6% 2.68%, curve to 56.62% 0% with 53.28% 2.68%/53.28% 0%, curve to 63.31% 2.68% with 59.97% 0%/59.97% 2.68%, curve to 69.99% 0% with 66.65% 2.68%/66.65% 0%, curve to 76.67% 2.68% with 73.33% 0%/73.33% 2.68%, curve to 83.35% 0% with 80.01% 2.68%/80.01% 0%, curve to 90.04% 2.68% with 86.7% 0%/86.7% 2.68%, curve to 96.72% 0% with 93.38% 2.68%/93.38% 0%, close);
  clip-path: shape(from 96.72% 0%, curve to 100% 1.29% with 98.35% 0%/99.19% 0.64%, vline to 98.81%, curve to 96.84% 100% with 99.22% 99.42%/98.39% 100%, curve to 90.15% 97.32% with 93.49% 100%/93.49% 97.32%, curve to 83.47% 100% with 86.81% 97.32%/86.81% 100%, curve to 76.79% 97.32% with 80.13% 100%/80.13% 97.32%, curve to 70.11% 100% with 73.45% 97.32%/73.45% 100%, curve to 63.42% 97.32% with 66.76% 100%/66.76% 97.32%, curve to 56.74% 100% with 60.08% 97.32%/60.08% 100%, curve to 50.06% 97.32% with 53.4% 100%/53.4% 97.32%, curve to 43.38% 100% with 46.72% 97.32%/46.72% 100%, curve to 36.69% 97.32% with 40.03% 100%/40.03% 97.32%, curve to 30.01% 100% with 33.35% 97.32%/33.35% 100%, curve to 23.33% 97.32% with 26.67% 100%/26.67% 97.32%, curve to 16.65% 100% with 19.99% 97.32%/19.99% 100%, curve to 9.96% 97.32% with 13.3% 100%/13.3% 97.32%, curve to 3.28% 100% with 6.62% 97.32%/6.62% 100%, curve to 0% 98.71% with 1.65% 100%/0.81% 99.36%, vline to 1.19%, curve to 3.16% 0% with 0.78% 0.58%/1.61% 0%, curve to 9.84% 2.68% with 6.51% 0%/6.5% 2.68%, curve to 16.52% 0% with 13.18% 2.68%/13.18% 0%, curve to 23.21% 2.68% with 19.86% 0%/19.87% 2.68%, curve to 29.89% 0% with 26.55% 2.68%/26.55% 0%, curve to 36.58% 2.68% with 33.24% 0%/33.24% 2.68%, curve to 43.26% 0% with 39.92% 2.68%/39.92% 0%, curve to 49.94% 2.68% with 46.6% 0%/46.6% 2.68%, curve to 56.62% 0% with 53.28% 2.68%/53.28% 0%, curve to 63.31% 2.68% with 59.97% 0%/59.97% 2.68%, curve to 69.99% 0% with 66.65% 2.68%/66.65% 0%, curve to 76.67% 2.68% with 73.33% 0%/73.33% 2.68%, curve to 83.35% 0% with 80.01% 2.68%/80.01% 0%, curve to 90.04% 2.68% with 86.7% 0%/86.7% 2.68%, curve to 96.72% 0% with 93.38% 2.68%/93.38% 0%, close);
}
.avokado-nero-slider__card__content h3, .avokado-nero-slider__card__content p {
  color: var(--section-right-color);
}
.avokado-nero-slider__card .avokado-nero-slider__card__title {
  font-size: 48px;
  line-height: 45px;
  font-family: var(--slider-heading-font, "Playtone One"), sans-serif;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.avokado-nero-slider__card__description {
  font-family: "Noto Sans", sans-serif;
  font-size: 20px;
  line-height: 25px;
  margin-bottom: 20px;
}
.avokado-nero-slider__card .card__table {
  display: flex;
  flex-flow: row nowrap;
}
.avokado-nero-slider__card .card__table__item {
  display: flex;
  flex-flow: column nowrap;
  gap: 10px;
  justify-content: space-evenly;
  flex: 1 0 20%;
  padding-inline: 10px;
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 1;
  text-wrap-style: pretty;
}
.avokado-nero-slider__card .card__table__item__title {
  font-weight: 700;
}
.avokado-nero-slider__card .card__table__item__value {
  font-weight: 500;
}
.avokado-nero-slider__card.active {
  opacity: 1;
  position: relative;
  z-index: 0;
}
.avokado-nero-slider__card.active .avokado-nero-slider__card__badge {
  display: block;
}
.avokado-nero-slider .splide {
  --animation-time: 400ms;
  visibility: visible;
  margin-bottom: -150px;
  z-index: 1;
}
.avokado-nero-slider .splide:not(.is-initialized) .splide__slide {
  flex: 0 0 33.33%;
}
.avokado-nero-slider .splide:not(.is-initialized) .splide__slide:nth-child(2) .splide__slide__inner {
  transform: scale(1);
  transform-origin: center;
}
.avokado-nero-slider .splide__track {
  padding-block: 25px;
}
.avokado-nero-slider .splide__slide__inner {
  display: flex;
  justify-content: center;
  position: relative;
  transform: scale3d(0.65, 0.65, 0.65);
  transform-origin: center;
  transition: transform var(--animation-time) ease-in-out;
  filter: brightness(1.5) contrast(0.5) saturate(0.8);
}
.avokado-nero-slider .splide__slide__inner::after {
  content: "";
  position: absolute;
  bottom: -30px;
  width: 60%;
  height: 10px;
  background-color: #000;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.5;
}
.avokado-nero-slider .splide__slide.active .splide__slide__inner {
  transform: scale3d(1.1, 1.1, 1.1);
  transform-origin: center;
  padding-bottom: 50px;
  filter: unset;
}
.avokado-nero-slider .splide__slide.active .splide__slide__inner::after {
  bottom: 20px;
  opacity: 0.6;
}
.avokado-nero-slider .splide__arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  border-radius: 50%;
  aspect-ratio: 1;
  width: 50px;
  background-color: #612714;
}
.avokado-nero-slider .splide__arrow--prev {
  left: -40px;
}
.avokado-nero-slider .splide__arrow--next {
  right: -40px;
}
.avokado-nero-slider .splide::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.75);
  width: 100%;
  aspect-ratio: 2;
  border-radius: 50%;
  filter: blur(55px);
  z-index: -1;
}

@media (max-width: 1200px) {
  .avokado-nero-slider__left {
    padding: 40px;
  }
  .avokado-nero-slider__card__content {
    padding-inline: 20px;
  }
  .avokado-nero-slider__card__badge {
    min-width: 50px;
    font-size: 15px;
  }
}
@media (max-width: 991px) {
  .avokado-nero-slider--cup .avokado-nero-slider__container {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .avokado-nero-slider__left {
    padding: 30px;
    max-width: 450px;
    justify-self: center;
    text-align: center;
    text-wrap-style: pretty;
  }
  .avokado-nero-slider__left--text h2 {
    font-size: 36px;
    line-height: 38px;
    margin-bottom: 19px;
  }
  .avokado-nero-slider__left--text p, .avokado-nero-slider__left--text li {
    font-size: 16px;
    line-height: 20px;
  }
  .avokado-nero-slider__card__content {
    aspect-ratio: unset;
  }
  .avokado-nero-slider__card__badge {
    translate: -15% -50%;
  }
  .avokado-nero-slider .splide__slide__inner::after {
    width: 40%;
  }
}
@media (max-width: 767px) {
  .avokado-nero-slider--pet .coffee-bean {
    width: 60px;
  }
  .avokado-nero-slider--pet .coffee-bean--1 {
    top: -10px;
    left: 15px;
    transform: translate3D(calc(var(--section-current-slide, 1) * 8), 0, 0);
    transition-duration: 900ms;
  }
  .avokado-nero-slider--pet .coffee-bean--2 {
    bottom: -20px;
    left: calc(50% - 30px);
    z-index: 1;
    transform: translate3D(calc(var(--section-current-slide, 0) * 1.3), 0, 0);
    transition-duration: 700ms;
  }
  .avokado-nero-slider__card__content {
    padding: 100px 15px 50px;
  }
  .avokado-nero-slider__card__badge {
    top: 80px;
  }
  .avokado-nero-slider__card .avokado-nero-slider__card__title {
    font-size: 32px;
    line-height: 1;
  }
  .avokado-nero-slider__card__description {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 35px;
  }
  .avokado-nero-slider__card .card__table {
    flex-flow: column nowrap;
  }
  .avokado-nero-slider__card .card__table__item {
    flex-flow: row nowrap;
    justify-content: space-between;
    border-top: 2px solid #fff;
    padding: 10px 20px;
  }
  .avokado-nero-slider__card .card__table__item__title {
    text-align: left;
  }
  .avokado-nero-slider__card .card__table__item__value {
    text-align: right;
  }
  .avokado-nero-slider .splide {
    margin-bottom: -100px;
  }
  .avokado-nero-slider .splide__track {
    padding-block: 0;
  }
  .avokado-nero-slider .splide__slide.active .splide__slide__inner {
    transform: scale3d(1, 1, 1);
    padding-bottom: 40px;
  }
  .avokado-nero-slider .splide__arrows {
    display: none;
  }
}
@media (max-width: 575px) {
  .avokado-nero-slider--pet .coffee-bean--1 {
    transform: translate3D(calc(var(--section-current-slide, 1) * 4), 0, 0);
  }
}
@media (min-width: 768px) {
  .avokado-nero-slider--pet .coffee-bean--1 {
    top: 10%;
    left: 15px;
    transform: translate3D(0, calc(var(--section-current-slide, 1) * 7), 0);
  }
  .avokado-nero-slider--pet .coffee-bean--2 {
    top: 15%;
    right: 15px;
    transform: translate3D(0, calc(var(--section-current-slide, 0) * 3), 0);
    transition-duration: 600ms;
  }
  .avokado-nero-slider__right {
    padding: 40px;
  }
  .avokado-nero-slider__card .card__table__item:not(:last-child) {
    border-right: 2px solid #fff;
  }
}
