/* Carousel PRO Enhancer — intentionally scoped to Elementor Pro's native Nested Carousel. */
.elementor-widget-n-carousel.cpe-enabled-yes {
  --cpe-dot-size: 7px;
  --cpe-dot-active-width: 26px;
  --cpe-dot-gap: 4px;
  --cpe-dot-hit-area: 32px;
  --cpe-motion-duration: 650ms;
  --cpe-easing: cubic-bezier(.22,1,.36,1);
  --cpe-arrow-button-size: 48px;
  --cpe-arrow-icon-size: 18px;
}

/* ---------- Pagination base: visual gap and interaction rail are independent. ---------- */
.elementor-widget-n-carousel.cpe-enabled-yes:not(.cpe-dots-native) .swiper-pagination-bullets {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: var(--cpe-dot-gap, 4px) !important;
  padding: 0 !important;
  box-sizing: content-box;
  touch-action: manipulation;
}

/* Invisible hit rail: expands interaction without participating in flex spacing. */
.elementor-widget-n-carousel.cpe-enabled-yes:not(.cpe-dots-native) .swiper-pagination-bullets::after {
  content: '';
  position: absolute;
  inset: calc((var(--cpe-dot-hit-area, 32px) - var(--cpe-dot-size, 7px)) / -2);
  z-index: 0;
  pointer-events: auto;
}


.elementor-widget-n-carousel.cpe-enabled-yes:not(.cpe-dots-native) .swiper-pagination-bullet {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: var(--cpe-dot-size, 7px) !important;
  height: var(--cpe-dot-size, 7px) !important;
  margin: 0 !important;
  opacity: .48;
  background: var(--cpe-dot-color, var(--e-n-carousel-dots-normal-color, #111)) !important;
  border: 0;
  cursor: pointer;
  transition:
    width 320ms var(--cpe-easing),
    height 320ms var(--cpe-easing),
    transform 220ms var(--cpe-easing),
    opacity 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.elementor-widget-n-carousel.cpe-enabled-yes:not(.cpe-dots-native) .swiper-pagination-bullet:hover {
  opacity: .82;
  background: var(--cpe-dot-hover-color, var(--cpe-dot-active-color, var(--e-n-carousel-dots-hover-color, #111))) !important;
  transform: scale(1.08);
}

.elementor-widget-n-carousel.cpe-enabled-yes:not(.cpe-dots-native) .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--cpe-dot-active-color, var(--e-n-carousel-dots-normal-color, #111)) !important;
}

.elementor-widget-n-carousel.cpe-enabled-yes:not(.cpe-dots-native) .swiper-pagination-bullet:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Motion Pill — the active bullet itself becomes the pill. */
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-motion-pill .swiper-pagination-bullet {
  border-radius: 999px !important;
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-motion-pill .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: max(var(--cpe-dot-active-width, 26px), var(--cpe-dot-size, 7px)) !important;
  transform: none;
}

/* Micro */
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-micro .swiper-pagination-bullet {
  border-radius: 50% !important;
  transform: scale(.82);
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-micro .swiper-pagination-bullet.swiper-pagination-bullet-active {
  transform: scale(1.2);
}

/* Halo */
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-halo .swiper-pagination-bullet {
  border-radius: 50% !important;
  background: transparent !important;
  border: 1.5px solid var(--cpe-dot-color, var(--e-n-carousel-dots-normal-color, #111)) !important;
  opacity: .62;
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-halo .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--cpe-dot-active-color, var(--e-n-carousel-dots-normal-color, #111)) !important;
  border-color: var(--cpe-dot-active-color, var(--e-n-carousel-dots-normal-color, #111)) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cpe-dot-active-color, #111) 18%, transparent);
}

/* Glass */
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-glass .swiper-pagination-bullets {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-glass .swiper-pagination-bullet {
  border-radius: 50% !important;
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-glass .swiper-pagination-bullet.swiper-pagination-bullet-active {
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}

/* Editorial lines */
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-lines .swiper-pagination-bullet {
  width: max(14px, var(--cpe-dot-size, 7px)) !important;
  height: max(2px, calc(var(--cpe-dot-size, 7px) / 3)) !important;
  border-radius: 999px !important;
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-lines .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: max(var(--cpe-dot-active-width, 26px), 20px) !important;
}

/* Story progress */
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-story .swiper-pagination-bullet {
  overflow: hidden;
  width: max(var(--cpe-dot-active-width, 26px), 22px) !important;
  height: max(2px, calc(var(--cpe-dot-size, 7px) / 3)) !important;
  border-radius: 999px !important;
  opacity: .38;
  background: var(--cpe-dot-color, rgba(0,0,0,.35)) !important;
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-story .swiper-pagination-bullet::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  border-radius: inherit;
  background: var(--cpe-dot-active-color, var(--e-n-carousel-dots-normal-color, #111));
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-story .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-dots-story .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
  animation: cpe-story-progress var(--cpe-story-duration, 5000ms) linear forwards;
}
@keyframes cpe-story-progress { to { transform: scaleX(1); } }

/* ---------- Arrow base ---------- */
.elementor-widget-n-carousel.cpe-enabled-yes:not(.cpe-arrows-native) .elementor-swiper-button {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: var(--cpe-arrow-button-size, 48px) !important;
  height: var(--cpe-arrow-button-size, 48px) !important;
  padding: 0 !important;
  color: var(--cpe-arrow-color, var(--e-n-carousel-arrow-normal-color, currentColor)) !important;
  font-size: var(--cpe-arrow-icon-size, 18px) !important;
  line-height: 1;
  transition: opacity 220ms ease, transform 260ms var(--cpe-easing), background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
.elementor-widget-n-carousel.cpe-enabled-yes:not(.cpe-arrows-native) .elementor-swiper-button svg {
  width: 1em;
  height: 1em;
  fill: currentColor !important;
}
.elementor-widget-n-carousel.cpe-enabled-yes:not(.cpe-arrows-native) .elementor-swiper-button:hover {
  color: var(--cpe-arrow-hover-color, var(--cpe-arrow-color, currentColor)) !important;
}
.elementor-widget-n-carousel.cpe-enabled-yes:not(.cpe-arrows-native) .elementor-swiper-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-minimal .elementor-swiper-button,
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-editorial .elementor-swiper-button {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-minimal .elementor-swiper-button:hover {
  transform: scale(1.08);
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-editorial .elementor-swiper-button-prev:hover { transform: translateX(-4px); }
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-editorial .elementor-swiper-button-next:hover { transform: translateX(4px); }

.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-floating-glass .elementor-swiper-button {
  background: var(--cpe-arrow-background, rgba(255,255,255,.18)) !important;
  border: 1px solid var(--cpe-arrow-border-color, rgba(255,255,255,.28)) !important;
  border-radius: var(--cpe-arrow-radius, 50%) !important;
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  box-shadow: 0 8px 28px rgba(15,23,42,.16);
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-floating-glass .elementor-swiper-button:hover {
  background: var(--cpe-arrow-hover-background, rgba(255,255,255,.28)) !important;
  transform: translateY(-1px) scale(1.035);
}

.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-soft-circle .elementor-swiper-button {
  background: var(--cpe-arrow-background, rgba(255,255,255,.92)) !important;
  border: 1px solid var(--cpe-arrow-border-color, rgba(15,23,42,.09)) !important;
  border-radius: var(--cpe-arrow-radius, 50%) !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.12);
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-soft-circle .elementor-swiper-button:hover {
  background: var(--cpe-arrow-hover-background, #fff) !important;
  transform: scale(1.045);
}

.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-outline .elementor-swiper-button {
  background: transparent !important;
  border: 1px solid var(--cpe-arrow-border-color, currentColor) !important;
  border-radius: var(--cpe-arrow-radius, 50%) !important;
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-outline .elementor-swiper-button:hover {
  background: var(--cpe-arrow-hover-background, currentColor) !important;
  color: var(--cpe-arrow-hover-color, #fff) !important;
}

.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-capsule .elementor-swiper-button {
  width: calc(var(--cpe-arrow-button-size, 48px) * 1.25) !important;
  background: var(--cpe-arrow-background, rgba(255,255,255,.94)) !important;
  border: 1px solid var(--cpe-arrow-border-color, rgba(15,23,42,.10)) !important;
  border-radius: var(--cpe-arrow-radius, 999px) !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.12);
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-capsule .elementor-swiper-button:hover {
  background: var(--cpe-arrow-hover-background, #fff) !important;
  transform: scale(1.035);
}

.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-dark-glass .elementor-swiper-button {
  background: var(--cpe-arrow-background, rgba(15,23,42,.58)) !important;
  color: var(--cpe-arrow-color, #fff) !important;
  border: 1px solid var(--cpe-arrow-border-color, rgba(255,255,255,.16)) !important;
  border-radius: var(--cpe-arrow-radius, 50%) !important;
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 8px 28px rgba(0,0,0,.20);
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-dark-glass .elementor-swiper-button:hover {
  background: var(--cpe-arrow-hover-background, rgba(15,23,42,.76)) !important;
  transform: scale(1.04);
}

.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-edge-tab .elementor-swiper-button {
  background: var(--cpe-arrow-background, rgba(15,23,42,.84)) !important;
  color: var(--cpe-arrow-color, #fff) !important;
  border: 0 !important;
  border-radius: var(--cpe-arrow-radius, 10px) !important;
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-edge-tab .elementor-swiper-button-prev { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-edge-tab .elementor-swiper-button-next { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }

.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-autohide-yes .elementor-swiper-button {
  opacity: 0;
  pointer-events: none;
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-autohide-yes:hover .elementor-swiper-button,
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-arrows-autohide-yes:focus-within .elementor-swiper-button {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Motion: never touches the Swiper wrapper or slide transforms. ---------- */
.elementor-widget-n-carousel.cpe-enabled-yes[class*="cpe-motion-"] .e-n-carousel > .swiper-wrapper > .swiper-slide > .e-con {
  transition: opacity var(--cpe-motion-duration) var(--cpe-easing), transform var(--cpe-motion-duration) var(--cpe-easing), clip-path var(--cpe-motion-duration) var(--cpe-easing);
  will-change: opacity, transform, clip-path;
}
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-motion-fade .e-n-carousel > .swiper-wrapper > .swiper-slide > .e-con { opacity: .55; }
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-motion-fade .e-n-carousel > .swiper-wrapper > .swiper-slide-active > .e-con { opacity: 1; }

.elementor-widget-n-carousel.cpe-enabled-yes.cpe-motion-fade-up .e-n-carousel > .swiper-wrapper > .swiper-slide > .e-con { opacity: .5; transform: translateY(18px); }
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-motion-fade-up .e-n-carousel > .swiper-wrapper > .swiper-slide-active > .e-con { opacity: 1; transform: translateY(0); }

.elementor-widget-n-carousel.cpe-enabled-yes.cpe-motion-soft-zoom .e-n-carousel > .swiper-wrapper > .swiper-slide > .e-con { opacity: .68; transform: scale(.965); }
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-motion-soft-zoom .e-n-carousel > .swiper-wrapper > .swiper-slide-active > .e-con { opacity: 1; transform: scale(1); }

.elementor-widget-n-carousel.cpe-enabled-yes.cpe-motion-reveal .e-n-carousel > .swiper-wrapper > .swiper-slide > .e-con { opacity: .72; clip-path: inset(0 10% 0 0 round 1px); }
.elementor-widget-n-carousel.cpe-enabled-yes.cpe-motion-reveal .e-n-carousel > .swiper-wrapper > .swiper-slide-active > .e-con { opacity: 1; clip-path: inset(0 0 0 0 round 1px); }

@media (prefers-reduced-motion: reduce) {
  .elementor-widget-n-carousel.cpe-enabled-yes.cpe-reduced-motion-yes .e-n-carousel > .swiper-wrapper > .swiper-slide > .e-con,
  .elementor-widget-n-carousel.cpe-enabled-yes.cpe-reduced-motion-yes .swiper-pagination-bullet,
  .elementor-widget-n-carousel.cpe-enabled-yes.cpe-reduced-motion-yes .elementor-swiper-button {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
