.hero-mariola--carousel .hero-mariola__track {
  display: grid;
  min-height: 22rem;
  position: relative;
  width: 100%;
}

.mariola-storefront-area .widget {
  margin: 0;
}

.mariola-storefront-area {
  margin: 0;
}

.hero-mariola__seo-only {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.hero-mariola__inner:not(:has(.hero-mariola__cta)) {
  min-height: 0;
  padding: 0;
}

.hero-mariola--carousel .hero-mariola__slide {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(11%);
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
  z-index: 1;
}

.hero-mariola--carousel.is-backward .hero-mariola__slide:not(.is-active):not(.is-leaving):not(.is-entering) {
  transform: translateX(-11%);
}

.hero-mariola--carousel .hero-mariola__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 3;
}

.hero-mariola--carousel.is-forward .hero-mariola__slide.is-leaving {
  opacity: 0.35;
  transform: translateX(-9%);
  z-index: 2;
}

.hero-mariola--carousel.is-backward .hero-mariola__slide.is-leaving {
  opacity: 0.35;
  transform: translateX(9%);
  z-index: 2;
}

.hero-mariola--carousel .hero-mariola__slide.is-entering {
  opacity: 0.8;
  z-index: 2;
}

.hero-mariola--carousel.is-forward .hero-mariola__slide.is-entering {
  transform: translateX(11%);
}

.hero-mariola--carousel.is-backward .hero-mariola__slide.is-entering {
  transform: translateX(-11%);
}

.hero-mariola--carousel .hero-mariola__slide[hidden] {
  display: block !important;
}

.hero-mariola--carousel .hero-mariola__slide[hidden]:not(.is-active):not(.is-leaving):not(.is-entering) {
  visibility: hidden;
}

.hero-mariola--carousel .hero-mariola__controls-wrap {
  bottom: 1.25rem;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 4;
}

.hero-mariola--carousel .hero-mariola__controls {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  pointer-events: auto;
}

.hero-mariola__nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.5rem;
  height: 2.5rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 2.5rem;
}

.hero-mariola__nav:hover,
.hero-mariola__nav:focus {
  background: #fff;
  border-color: #000;
}

.hero-mariola__pagination {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.hero-mariola__dot {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0;
  cursor: pointer;
  height: 0.5rem;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
  width: 1.5rem;
}

.hero-mariola__dot.is-active {
  background: #f5d7cc;
  border-color: #000;
}

.hero-mariola__dot:hover,
.hero-mariola__dot:focus {
  background: #fff;
}

@media (min-width: 992px) {
  .hero-mariola--carousel .hero-mariola__track {
    min-height: 28rem;
  }

  .hero-mariola__inner:not(:has(.hero-mariola__cta)),
  .hero-mariola--storefront .hero-mariola__inner:not(:has(.hero-mariola__cta)) {
    min-height: 0;
    padding: 0;
  }
}

@media (max-width: 575.98px) {
  .hero-mariola--carousel .hero-mariola__controls-wrap {
    bottom: 0.75rem;
  }

  .hero-mariola__nav {
    height: 2.25rem;
    width: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mariola--carousel .hero-mariola__slide {
    transition: none;
  }
}
