/*======Инверсия под тёмную тему=====*/
html, body, body * {
    filter: none !important;
    -webkit-filter: none !important;
}
html {
    color-scheme: light !important; 
      isolation: isolate;
    mix-blend-mode: normal !important;
}

@media (prefers-color-scheme: dark) {
    html {
        color-scheme: light !important;
        isolation: isolate;
        mix-blend-mode: normal !important;
    }
}
/*===================================*/
/* контейнер */
.scroll-btn-left .ba-scroll-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* сама иконка */
.scroll-btn-left i {
  font-size: 22px; /* можно 20-24 */
  line-height: 1 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}


.btn-bg .ba-btn-transition {
  background: transparent !important;
  border: 1px solid rgba(212,175,55,0.6);
  color: #d4af37 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

/* hover */
.btn-bg .ba-btn-transition:hover {
  color: #fff !important;
  border-color: #f2d06b;

  box-shadow:
    0 0 12px rgba(212,175,55,0.25),
    0 0 25px rgba(212,175,55,0.15);
}


.ba-shape-divider-top{
margin-top:-2px !important;
}

.ba-slideshow-img {
border-radius:10px !important;
}

.ba-btn-transition {
  display: inline-block;
  padding: 16px 34px;

  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;

  color: #000 !important;
  text-decoration: none;

  border-radius: 10px;
  border: 1px solid rgba(212,175,55,0.5);

  background: linear-gradient(
    135deg,
    #f2d06b 0%,
    #d4af37 40%,
    #a97012 100%
  );

  box-shadow:
    0 6px 20px rgba(212,175,55,0.25),
    inset 0 1px 0 rgba(255,255,255,0.3);

  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ba-btn-transition::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );

  transition: all 0.6s ease;
}

 .ba-btn-transition:hover::before {
  left: 120%;
}


/* база для кнопки */
.spark-effect .ba-btn-transition{
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}

/* регистрируем анимируемую переменную */
@property --spark-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* комета по краю */
.spark-effect .ba-btn-transition::after{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;

  background:
    conic-gradient(
      from var(--spark-angle),
      transparent 0deg 300deg,

      /* длинный золотой шлейф */
      rgba(212,175,55,0.0) 300deg,
      rgba(212,175,55,0.15) 310deg,
      rgba(212,175,55,0.35) 320deg,
      rgba(212,175,55,0.7) 335deg,

      /* ядро искры */
      rgba(255,215,0,1) 350deg,
      rgba(255,223,120,1) 353deg,

      /* мягкое затухание */
      rgba(212,175,55,0.7) 356deg,
      transparent 360deg
    );

  padding: 5px;

  /* оставляем только рамку */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  animation: spark-border-run 5s linear infinite;

  /* золотое свечение */
  filter:
    drop-shadow(0 0 4px rgba(212,175,55,.8))
    drop-shadow(0 0 10px rgba(255,215,0,.6))
    drop-shadow(0 0 18px rgba(212,175,55,.4));
}

/* анимация */
@keyframes spark-border-run{
  to{
    --spark-angle: 360deg;
  }
}

/*============= чётрочки вместо точек ====*/
.ba-slideset-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.ba-slideset-dots .ba-icons.ba-icon-circle {
  width: 34px !important;
  height: 4px !important;
  min-width: 34px !important;

  background: rgba(0, 0, 0, 0.35) !important;
  border-radius: 10px !important;

  font-size: 0 !important;
  line-height: 0 !important;

  overflow: hidden !important;
  transition: all .35s ease;
}

/* убираем саму иконку-кружок Gridbox */
.ba-slideset-dots .ba-icons.ba-icon-circle::before,
.ba-slideset-dots .ba-icons.ba-icon-circle::after {
  content: "" !important;
  display: none !important;
}

/* активная черточка */
.ba-slideset-dots .ba-icons.ba-icon-circle.active {
  width: 46px !important;
  min-width: 46px !important;

  background: linear-gradient(
    90deg,
    #f2d06b,
    #d4af37,
    #a97012
  ) !important;

  box-shadow: 0 0 10px rgba(212,175,55,.45);
}
