.header-fixed {
  position: relative;
  width: 100%;
  transition: all 0.3s ease;
  z-index: 1000;
}

.header-fixed.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.elementor-image-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.elementor-image-carousel {
  position: relative;
  display: block;
}

.swiper-slide {
  display: none;
  min-width: 100%;
}

.swiper-slide.is-active {
  display: block;
}

.swiper-slide-image {
  width: 100%;
  object-fit: cover;
}

.elementor-swiper-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.55);
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.elementor-swiper-button:hover,
.elementor-swiper-button:focus-visible {
  background: rgba(20, 20, 20, 0.8);
}

.elementor-swiper-button-prev {
  left: 14px;
}

.elementor-swiper-button-next {
  right: 14px;
}

.swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.swiper-pagination-bullet.is-active {
  background: var(--aa-accent);
}

.aa-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.aa-lightbox.is-open {
  display: flex;
}

.aa-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.aa-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: 100%;
  display: grid;
  gap: 14px;
}

.aa-lightbox__figure {
  margin: 0;
}

.aa-lightbox__image {
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.aa-lightbox__caption {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.aa-lightbox__button {
  position: absolute;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.aa-lightbox__button:hover,
.aa-lightbox__button:focus-visible {
  background: rgba(255, 255, 255, 0.25);
}

.aa-lightbox__close {
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  font-size: 28px;
  line-height: 1;
}

.aa-lightbox__prev,
.aa-lightbox__next {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  font-size: 26px;
}

.aa-lightbox__prev {
  left: 10px;
}

.aa-lightbox__next {
  right: 10px;
}

.aa-lightbox__button[disabled] {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .header-fixed.scrolled {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .elementor-swiper-button {
    width: 42px;
    height: 42px;
  }

  .aa-lightbox {
    padding: 18px;
  }

  .aa-lightbox__prev,
  .aa-lightbox__next {
    width: 42px;
    height: 42px;
  }
}
