/* Promo marketing modal — global overlay card */

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

.promo-modal.is-open {
  display: flex;
}

.promo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.promo-modal__panel {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.promo-modal__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #1a1d24 center/cover no-repeat;
}

.promo-modal__media img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.promo-modal__swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.promo-modal__swiper .swiper-wrapper {
  height: 100%;
}

.promo-modal__swiper .swiper-slide {
  height: 100%;
}

.promo-modal__swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.promo-modal__pagination {
  bottom: 10px !important;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}

.promo-modal__pagination.swiper-pagination-bullets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.promo-modal__pagination .promo-modal__pg-bullet {
  width: 6px;
  height: 4px;
  margin: 0 !important;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  pointer-events: auto;
  transition: width 0.2s ease, background 0.2s ease;
}

.promo-modal__pagination .promo-modal__pg-bullet--active {
  width: 22px;
  background: rgba(255, 255, 255, 0.95);
}

.promo-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.promo-modal__nav:hover {
  background: rgba(0, 0, 0, 0.5);
}

.promo-modal__nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.promo-modal__nav--prev {
  left: 10px;
}

.promo-modal__nav--prev::after {
  content: '\2039';
  display: block;
  margin-bottom: 2px;
}

.promo-modal__nav--next {
  right: 10px;
}

.promo-modal__nav--next::after {
  content: '\203a';
  display: block;
  margin-bottom: 2px;
}

.promo-modal__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.promo-modal__badge,
.promo-modal__close {
  z-index: 3;
}

.promo-modal__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.promo-modal__img--solo {
  position: absolute;
  inset: 0;
}

.promo-modal__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background: #1e80ff;
}

.promo-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.promo-modal__close:hover {
  background: rgba(0, 0, 0, 0.5);
}

.promo-modal__close:focus-visible {
  outline: 2px solid #1e80ff;
  outline-offset: 2px;
}

.promo-modal__dot {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
}

.promo-modal__body {
  padding: 22px 22px 20px;
  text-align: center;
}

.promo-modal__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

.promo-modal__desc {
  margin: 0 0 20px;
  font-size: 12px;
  line-height: 1.55;
  color: #666;
}

.promo-modal__cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border-radius: 8px;
  border: 0;
  background: #1e80ff;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.promo-modal__cta:hover {
  background: #1770e6;
  color: #fff !important;
}

.promo-modal__cta:focus-visible {
  outline: 2px solid #1770e6;
  outline-offset: 2px;
}

.promo-modal__later {
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  color: #999;
  cursor: pointer;
  text-decoration: none;
}

.promo-modal__later:hover {
  color: #666;
}

html.promo-modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .promo-modal__title {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-modal__cta,
  .promo-modal__close {
    transition: none;
  }
}
