/* LEON Mobile Carousel Controls */
.leon-mobile-carousel-nav,
.leon-mobile-carousel-dots-wrap {
  display: none;
}

@media (max-width: 767px) {
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile {
    --leon-mobile-carousel-slide-width: 86%;
    --leon-mobile-carousel-gap: 18px;
    --leon-mobile-carousel-side-padding: 18px;
  }

  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile > .elementor-container,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile > .e-con-inner,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.e-con,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.elementor-column > .elementor-widget-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--leon-mobile-carousel-gap) !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-left: var(--leon-mobile-carousel-side-padding) !important;
    padding-right: var(--leon-mobile-carousel-side-padding) !important;
    padding-bottom: 8px;
  }

  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-centered-yes > .elementor-container,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-centered-yes > .e-con-inner,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-centered-yes.e-con,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-centered-yes.elementor-column > .elementor-widget-wrap {
    scroll-padding-left: var(--leon-mobile-carousel-side-padding);
    scroll-padding-right: var(--leon-mobile-carousel-side-padding);
  }

  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile > .elementor-container > .elementor-column,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile > .elementor-container > .elementor-top-column,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile > .elementor-container > .elementor-inner-column,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile > .e-con-inner > .e-con,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.e-con > .e-con,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.elementor-column > .elementor-widget-wrap > .elementor-widget {
    width: var(--leon-mobile-carousel-slide-width) !important;
    min-width: var(--leon-mobile-carousel-slide-width) !important;
    flex: 0 0 var(--leon-mobile-carousel-slide-width) !important;
    scroll-snap-align: start;
  }

  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-centered-yes > .elementor-container > .elementor-column,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-centered-yes > .elementor-container > .elementor-top-column,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-centered-yes > .elementor-container > .elementor-inner-column,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-centered-yes > .e-con-inner > .e-con,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-centered-yes.e-con > .e-con,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-centered-yes.elementor-column > .elementor-widget-wrap > .elementor-widget {
    scroll-snap-align: center;
  }
}

@media (max-width: 1024px) {
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet {
    --leon-mobile-carousel-slide-width: 86%;
    --leon-mobile-carousel-gap: 18px;
    --leon-mobile-carousel-side-padding: 18px;
  }

  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet > .elementor-container,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet > .e-con-inner,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.e-con,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.elementor-column > .elementor-widget-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--leon-mobile-carousel-gap) !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-left: var(--leon-mobile-carousel-side-padding) !important;
    padding-right: var(--leon-mobile-carousel-side-padding) !important;
    padding-bottom: 8px;
  }

  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet > .elementor-container > .elementor-column,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet > .elementor-container > .elementor-top-column,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet > .elementor-container > .elementor-inner-column,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet > .e-con-inner > .e-con,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.e-con > .e-con,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.elementor-column > .elementor-widget-wrap > .elementor-widget {
    width: var(--leon-mobile-carousel-slide-width) !important;
    min-width: var(--leon-mobile-carousel-slide-width) !important;
    flex: 0 0 var(--leon-mobile-carousel-slide-width) !important;
    scroll-snap-align: start;
  }

  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.leon-mobile-carousel-centered-yes > .elementor-container > .elementor-column,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.leon-mobile-carousel-centered-yes > .elementor-container > .elementor-top-column,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.leon-mobile-carousel-centered-yes > .elementor-container > .elementor-inner-column,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.leon-mobile-carousel-centered-yes > .e-con-inner > .e-con,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.leon-mobile-carousel-centered-yes.e-con > .e-con,
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.leon-mobile-carousel-centered-yes.elementor-column > .elementor-widget-wrap > .elementor-widget {
    scroll-snap-align: center;
  }
}

/* Hide scrollbar */
.leon-mobile-carousel-hide-scrollbar-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]) > .elementor-container,
.leon-mobile-carousel-hide-scrollbar-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]) > .e-con-inner,
.leon-mobile-carousel-hide-scrollbar-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).e-con,
.leon-mobile-carousel-hide-scrollbar-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).elementor-column > .elementor-widget-wrap {
  scrollbar-width: none;
}

.leon-mobile-carousel-hide-scrollbar-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]) > .elementor-container::-webkit-scrollbar,
.leon-mobile-carousel-hide-scrollbar-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]) > .e-con-inner::-webkit-scrollbar,
.leon-mobile-carousel-hide-scrollbar-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).e-con::-webkit-scrollbar,
.leon-mobile-carousel-hide-scrollbar-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).elementor-column > .elementor-widget-wrap::-webkit-scrollbar {
  display: none;
}

/* Navigation */
.leon-mobile-carousel-nav {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.leon-mobile-carousel-arrow {
  position: absolute;
  top: 0;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #333;
  box-shadow: 0 10px 28px rgba(74, 52, 40, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0 !important;
  font-size: 24px;
}

.leon-mobile-carousel-arrow.prev { left: 10px; }
.leon-mobile-carousel-arrow.next { right: 10px; }

.leon-mobile-carousel-arrow[disabled] {
  opacity: .35;
  cursor: default;
}

.leon-mobile-carousel-dots-wrap {
  position: relative;
  z-index: 20;
  width: 100%;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.leon-mobile-carousel-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(74, 52, 40, 0.28);
  cursor: pointer;
  transition: width .22s ease, background-color .22s ease;
}

.leon-mobile-carousel-dot.is-active {
  width: 20px;
  background: rgba(74, 52, 40, 0.82);
}

@media (max-width: 767px) {
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-arrows-yes {
    position: relative;
  }
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-arrows-yes > .leon-mobile-carousel-nav {
    display: block;
  }
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-mobile.leon-mobile-carousel-dots-yes > .leon-mobile-carousel-dots-wrap {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.leon-mobile-carousel-arrows-yes {
    position: relative;
  }
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.leon-mobile-carousel-arrows-yes > .leon-mobile-carousel-nav {
    display: block;
  }
  .leon-mobile-carousel-enabled-yes:not(.leon-flow-carousel):not([data-leon-flow-carousel="yes"]).leon-mobile-carousel-breakpoint-tablet.leon-mobile-carousel-dots-yes > .leon-mobile-carousel-dots-wrap {
    display: flex;
  }
}
