/** Shopify CDN: Minification failed

Line 7:0 Unexpected ".2up-carousel"

**/
/* Module */
.2up-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.splide {
  width: 100%;
}

.splide__slide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.splide__slide.is-active {
  opacity: 1;
}

/* Slide Content */
.carousel-slide {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carousel-image {
  flex: 1;
  max-width: 50%;
}

.carousel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 3rem;
  height: 100%;
  text-align: left;
  color: var(--color-chenpi);
}

.content-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Header */
.carousel-header h2 {
  margin-top: 0;
}

/* Buttons */
.carousel-buttons {
  position: absolute;
  right: 3%;
  bottom: 3%;
}

.carousel-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-chenpi);
  cursor: pointer;
  padding: 0;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.carousel-button.show {
  display: block;
  opacity: 1;
}

.arrow-icon {
  width: 2rem;
  height: 2rem;
}

/* Content Blocks */
.slider-wrapper-slide1,
.slider-wrapper-slide2 {
  display: flex;
  justify-content: space-between;
  align-items: baseline; /* align both items to the top */
}

.slider-wrapper-slide2 {
  gap: 1rem;
}

.slider-label {
  flex: 1;
}

.svg-slider {
  flex: 1;
  margin-left: 1.5rem;
  padding: 0.25rem 0;
}

.slider-wrapper-slide2 small {
  width: 20%; /* takes 20% of the row */
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0;
  min-width: 120px;
  max-width: 30%;
}

.slider-wrapper-slide2 p {
  width: 80%; /* takes the rest */
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Responsive - Mobile first approach based on Figma 375px 
Mobile - 767 and below */
@media (max-width: 767px) {
  .splide__slide {
    flex-direction: column;
    height: auto;
  }

  .carousel-image {
    max-width: 100%;
  }

  .carousel-content {
    padding: 1.5rem;
    gap: 3rem;
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .svg-slider {
    margin-left: 0;
  }

  .carousel-buttons {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .arrow-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .slider-wrapper-slide1 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* conflicting with pdp carousel 
  .splide__slide img {
    height: auto !important;
  } */
}

/* Tablet - 768px and above */
@media (min-width: 768px) and (max-width: 1023px) {
  .carousel-content {
    padding: 2rem;
    gap: 3rem;
  }

  .svg-slider {
    margin-left: 0;
  }

  .carousel-buttons {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .arrow-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}
