.elementor-widget-batumis-slideshow-navigation,
.elementor-widget-batumis-slideshow-navigation > .elementor-widget-container {
  position: static !important;
}

.bsn-ui {
  --bsn-side: 30px;
  --bsn-arrow-y: 50%;
  --bsn-group-bottom: 30px;
  --bsn-counter-bottom: 24px;
  --bsn-counter-side: 30px;
  --bsn-progress-bottom: 0px;
  --bsn-progress-side: 0px;
  --bsn-progress-height: 6px;
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  font-family: inherit;
}

.bsn-arrows { pointer-events: none; }
.bsn-arrow {
  --bsn-icon-size: 24px;
  --bsn-button-size: 50px;
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  width: var(--bsn-button-size);
  height: var(--bsn-button-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  color: #fff;
  background: rgba(0,0,0,.08);
  border-style: solid;
  border-width: 1px;
  border-color: rgba(255,255,255,.7);
  border-radius: 50px;
  cursor: pointer;
  pointer-events: auto;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .25s ease, transform .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.bsn-arrow i { font-size: var(--bsn-icon-size); line-height: 1; }
.bsn-arrow svg { width: var(--bsn-icon-size); height: var(--bsn-icon-size); }
.bsn-layout-sides .bsn-arrow { top: var(--bsn-arrow-y); transform: translateY(-50%); }
.bsn-layout-sides .bsn-arrow-prev { left: var(--bsn-side); }
.bsn-layout-sides .bsn-arrow-next { right: var(--bsn-side); }
.bsn-layout-group .bsn-arrows {
  position: absolute;
  left: var(--bsn-side);
  right: var(--bsn-side);
  bottom: var(--bsn-group-bottom);
  display: flex;
  align-items: center;
  gap: 10px;
}
.bsn-layout-group .bsn-arrow { position: static; }
.bsn-group-align-left .bsn-layout-group .bsn-arrows { justify-content: flex-start; }
.bsn-group-align-center .bsn-layout-group .bsn-arrows { justify-content: center; }
.bsn-group-align-right .bsn-layout-group .bsn-arrows { justify-content: flex-end; }

/* Стрелки только при наведении на hero */
.bsn-ui.bsn-arrows-hover .bsn-arrow {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.bsn-nav-host.bsn-nav-host-hover .bsn-ui.bsn-arrows-hover .bsn-arrow {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bsn-counter {
  position: absolute;
  bottom: var(--bsn-counter-bottom);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
  transform-origin: center;
  transition: opacity var(--bsn-counter-animation-duration, 650ms) cubic-bezier(.22,1,.36,1),
              transform var(--bsn-counter-animation-duration, 650ms) cubic-bezier(.22,1,.36,1);
  box-sizing: border-box;
}
.bsn-counter-align-left .bsn-counter { left: var(--bsn-counter-side); }
.bsn-counter-align-right .bsn-counter { right: var(--bsn-counter-side); }
.bsn-counter-align-center .bsn-counter { left: 50%; transform: translateX(-50%); }

/* Сегментированный нижний бар */
.bsn-progress {
  position: absolute;
  left: var(--bsn-progress-side);
  right: var(--bsn-progress-side);
  bottom: var(--bsn-progress-bottom);
  height: var(--bsn-progress-height);
  display: flex;
  align-items: stretch;
  gap: 2px;
  pointer-events: none;
  overflow: visible;
}
.bsn-progress__segment {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: rgba(255,255,255,.22);
}
.bsn-progress__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  height: 100%;
  background: #fff;
  will-change: width;
}
.bsn-progress__segment.is-complete .bsn-progress__fill { width: 100%; }
.bsn-progress__segment.is-active .bsn-progress__fill { width: 0%; }
.bsn-progress__segment.is-active.is-static .bsn-progress__fill { width: 100%; }

@media (max-width: 767px) {
  .bsn-ui {
    --bsn-side: 18px;
    --bsn-counter-side: 18px;
    --bsn-counter-bottom: 18px;
  }
}


/* Плавное исчезание/появление счётчика при смене слайда */
.bsn-counter.is-changing {
  opacity: 0;
  transform: translateY(var(--bsn-counter-animation-offset, 4px));
}
.bsn-counter-align-center .bsn-counter.is-changing {
  transform: translateX(-50%) translateY(var(--bsn-counter-animation-offset, 4px));
}
@media (prefers-reduced-motion: reduce) {
  .bsn-counter { transition: none !important; }
}

.bsn-pages{position:absolute;bottom:var(--bsn-pages-bottom,20px);left:50%;transform:translateX(-50%);display:flex;gap:var(--bsn-page-gap,6px);align-items:center;max-width:90%;overflow-x:auto;scrollbar-width:none;pointer-events:auto;}
.bsn-pages::-webkit-scrollbar{display:none}.bsn-page{appearance:none;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--bsn-page-width,24px)!important;height:32px;min-width:0!important;min-height:32px;margin:0;padding:0!important;border:0;background:transparent;cursor:pointer}.bsn-page::after{content:'';display:block;width:100%;height:var(--bsn-page-height,4px);border-radius:99px;background:rgba(255,255,255,.45);transition:background .18s}.bsn-page[aria-current=true]::after{background:#fff}.bsn-page:focus-visible{outline:2px solid #fff;outline-offset:2px}
.bsn-circle{display:none;position:absolute;right:var(--bsn-circle-right,20px);bottom:var(--bsn-circle-bottom,20px);width:var(--bsn-circle-size,40px);height:var(--bsn-circle-size,40px);align-items:center;justify-content:center;padding:0;margin:0;border:0;border-radius:50%;background:transparent;color:#fff;pointer-events:auto;cursor:pointer;-webkit-tap-highlight-color:transparent}.bsn-circle__ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);fill:none;stroke-width:1.5}.bsn-circle__track{stroke:rgba(255,255,255,.35)}.bsn-circle__progress{stroke:#fff;stroke-dasharray:113.1;stroke-dashoffset:113.1;stroke-linecap:round}.bsn-circle__arrow{width:var(--bsn-circle-arrow-size,15px);height:var(--bsn-circle-arrow-size,15px);fill:none;stroke:currentColor;stroke-width:var(--bsn-circle-arrow-stroke,1.8);stroke-linecap:round;stroke-linejoin:round}.bsn-circle:focus-visible{outline:2px solid white;outline-offset:3px}
.bsn-circle[data-circle-style=segments] .bsn-circle__track,.bsn-circle[data-circle-style=segments] .bsn-circle__progress,.bsn-circle[data-circle-style=segments] .bsn-circle__arrow{display:none}.bsn-circle__segments circle{fill:none;stroke:rgba(255,255,255,.35);stroke-width:2;stroke-linecap:round;transition:stroke .2s}.bsn-circle__segments circle.is-active{stroke:#fff}
.bsn-ui .bsn-default-hidden { display: none; }
