.arit-promo {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.arit-promo[hidden] {
  display: none !important;
}

.arit-promo__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 44, 0.72);
  backdrop-filter: blur(2px);
}

.arit-promo__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: calc(100vh - 32px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 31, 44, 0.35);
  overflow: hidden;
  animation: arit-promo-in 0.28s ease;
}

@keyframes arit-promo-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.arit-promo__close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 31, 44, 0.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.arit-promo__close:hover {
  background: rgba(0, 112, 175, 0.9);
}

.arit-promo__slider {
  position: relative;
}

.arit-promo__track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.arit-promo__slide {
  flex: 0 0 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  line-height: 0;
}

.arit-promo__slide img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.arit-promo__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 112, 175, 0.92);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.arit-promo__nav::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.arit-promo__nav--prev {
  left: 10px;
}

.arit-promo__nav--prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.arit-promo__nav--next {
  right: 10px;
}

.arit-promo__nav--next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}

.arit-promo__nav:hover {
  background: #005f94;
}

.arit-promo__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.arit-promo__dot {
  pointer-events: auto;
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 31, 44, 0.15);
  cursor: pointer;
  padding: 0;
}

.arit-promo__dot.is-active {
  background: #0070af;
  box-shadow: 0 0 0 1px #0070af;
}

body.arit-promo-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .arit-promo {
    padding: 10px;
  }

  .arit-promo__dialog {
    border-radius: 10px;
  }

  .arit-promo__nav {
    width: 34px;
    height: 34px;
  }

  .arit-promo__nav--prev {
    left: 6px;
  }

  .arit-promo__nav--next {
    right: 6px;
  }

  .arit-promo__dots {
    bottom: 8px;
  }
}
