.lf-carousel-on {
  --lf-car-per-view: 3;
  --lf-car-gap: 32px;
  --lf-car-accent: #7c3aed;
  --lf-car-nav-bg: #ffffff;
  --lf-car-nav-h: 0px;
  --lf-car-speed: .55s;
  position: relative;
}

.lf-carousel-on.lf-car-arrows-yes,
.lf-carousel-on.lf-car-dots-yes {
  --lf-car-nav-h: 72px;
}

.e-con.e-parent:has(.lf-carousel-on),
.e-con.e-parent.lf-carousel-on,
.elementor-top-section:has(.lf-carousel-on),
.elementor-top-section.lf-carousel-on {
  overflow-x: clip;
}

.lf-carousel-on.e-con-full,
.lf-carousel-on > .e-con-inner,
.lf-carousel-on > .elementor-container {
  display: flex !important;
  margin-block-end: var(--lf-car-nav-h) !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: var(--lf-car-gap) !important;
  touch-action: pan-y;
  transition: transform var(--lf-car-speed) cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.lf-carousel-on:not(.lf-car-ready).e-con-full,
.lf-carousel-on:not(.lf-car-ready) > .e-con-inner,
.lf-carousel-on:not(.lf-car-ready) > .elementor-container {
  clip-path: inset(-100vh 0);
}

.lf-carousel-on.e-con-full > .elementor-element,
.lf-carousel-on > .e-con-inner > .elementor-element,
.lf-carousel-on > .elementor-container > .elementor-column {
  flex: 0 0 calc((100% - (var(--lf-car-per-view) - 1) * var(--lf-car-gap)) / var(--lf-car-per-view)) !important;
  width: calc((100% - (var(--lf-car-per-view) - 1) * var(--lf-car-gap)) / var(--lf-car-per-view)) !important;
  max-width: none !important;
  min-width: 0;
  transition: opacity var(--lf-car-speed), visibility var(--lf-car-speed);
}

.lf-carousel-on .lf-car-off {
  opacity: 0;
  visibility: hidden;
}

.lf-car-dragging,
.lf-car-dragging > .e-con-inner,
.lf-car-dragging > .elementor-container {
  transition: none !important;
  cursor: grabbing;
  user-select: none;
}

.lf-car-dragging .lf-car-off {
  visibility: visible;
}

.lf-car-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: var(--lf-car-nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 2;
  pointer-events: none;
}

.lf-car-nav > * {
  pointer-events: auto;
}

.lf-carousel-on .lf-car-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--lf-car-nav-bg) !important;
  color: var(--lf-car-accent) !important;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(17, 24, 39, .18);
  transition: transform .15s, opacity .15s;
}

.lf-carousel-on .lf-car-btn:hover:not(:disabled) {
  transform: scale(1.06);
}

.lf-carousel-on .lf-car-btn:disabled {
  opacity: .35;
  cursor: default;
}

.lf-car-btn svg {
  width: 20px;
  height: 20px;
}

.lf-car-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lf-carousel-on .lf-car-dot {
  width: 10px;
  height: 10px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--lf-car-accent) !important;
  opacity: .3;
  cursor: pointer;
  transition: width .25s, opacity .25s;
}

.lf-carousel-on .lf-car-dot[aria-current="true"] {
  width: 28px;
  opacity: 1;
}

.lf-car-btn:focus-visible,
.lf-car-dot:focus-visible {
  outline: 2px solid var(--lf-car-accent);
  outline-offset: 3px;
}

.lf-carousel-on:not(.lf-car-arrows-yes) .lf-car-btn,
.lf-carousel-on:not(.lf-car-dots-yes) .lf-car-dots {
  display: none;
}

.lf-car-single .lf-car-nav {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .lf-carousel-on.e-con-full,
  .lf-carousel-on > .e-con-inner,
  .lf-carousel-on > .elementor-container,
  .lf-carousel-on .elementor-element {
    transition: none !important;
  }
}
