*:focus {
  outline: none !important;
}
#main-image {
  position: relative;
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
  padding: 42px 30px;
  outline: none !important;
}
#sec-img {
  position: relative;
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
}
#sec-img::after,
#main-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(301deg, #050607 0%, #BA9056 50.11%, #151517 100%);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

#main-image img {
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.slider {
  padding: 16px;
  color: #fff;
}

.slider .swiper-container {
  width: 100%;
  height: 100%;
}

.slider__flex {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.slider__col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slider__prev,
.slider__next {
  width: 36px;
  height: 36px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.slider__prev svg,
.slider__next svg {
  width: 20px;
  height: 20px;
}

.slider__prev:hover,
.slider__next:hover {
  transform: scale(1.5);
}
.slider__prev.disabled,
.slider__next.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.slider__thumbs {
  width: 120px;
  height: 400px;
  overflow: hidden;
}

.slider__thumbs .swiper-container {
  height: 100%;
}

.slider__thumbs .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider__thumbs .slider__image img {
  height: auto;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.slider__thumbs .slider__image img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}
.slider__thumbs .slider__image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: inline-block;
  padding: 13px;
  transition: transform 0.3s ease;
}
.slider__thumbs .swiper-slide-thumb-active .slider__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 2px;
  background: #BA9056 !important;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  transition: all 0.3s ease;
}

.slider__images {
  flex: 1;
  text-align: center;
}

.slider__images .swiper-container {
  overflow: hidden;
  position: relative;
}

.slider__images .swiper-wrapper {
  display: flex;
}

.slider__images .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 400px;
}

.slider__image {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.slider__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 991px) {
  .slider__flex {
    flex-direction: column-reverse;
    align-items: center;
  }

  .slider__col {
    flex-direction: row;
    width: 100%;
    justify-content: center;
    margin-top: 15px;
  }

  .slider__thumbs {
    width: calc(100% - 80px);
    height: 120px;
    overflow: hidden;
  }

  .slider__prev,
  .slider__next {
    width: 32px;
    height: 32px;
    transform: rotate(90deg);
  }
}
@media (min-width: 991px) {
  .gallery-row--horizontal-slider {
   display: none !important;
  }
}
@media (max-width: 991px) {
  .gallery-row-vertical-slider {
   display: none !important;
  }
}
.horizontal-slider__main-image {
  text-align: center;
  margin-bottom: 20px;
}

.horizontal-slider__main-image-wrapper {
 position: relative;
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    padding: 40px;
     display: flex;
  justify-content: center;
  align-items: center; 
}
.horizontal-slider__main-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(301deg, #050607 0%, #BA9056 50.11%, #151517 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.horizontal-slider__main-image-wrapper img {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  display: block;
  position: relative;
  z-index: 1;
}

.horizontal-slider__image.active::after {
  background: #BA9056;
}

.horizontal-slider {
  width: 100%;
  position: relative;
}
.horizontal-slider__container {
  width: 100%;
  overflow: hidden;
}
.horizontal-slider__wrapper {
  display: flex;
}
.horizontal-slider__slide {
  flex-shrink: 0;
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 120px !important;
}

.horizontal-slider__image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  padding: 15px;
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  justify-content: center;
}
.horizontal-slider__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(301deg, #050607 0%, #BA9056 50.11%, #151517 100%);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.horizontal-slider__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.thumb-video {
  width: inherit;
  padding: 15px;
  cursor: pointer;
}
.gallery-thumbs .swiper-slide .thumb-video {
  width: 120px;
}
@media (max-width: 768px) {
  .swiper-slide .thumb-video {
  width: 90px;
}
}
.horizontal-slider__image img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}
.gallery-popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.gallery-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.gallery-popup-content {
  position: relative;
  background: linear-gradient(90deg, rgba(0, 30, 34, 1) 0%, rgb(23 51 55) 50%, rgba(15, 83, 92, 1) 100%);
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.gallery-popup-close {
position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    color: #BA9056;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 50px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    z-index: 1001;
}
@media (max-width: 768px) {
  .gallery-popup-close {
    top: 15px;
    right: 15px;

  }
}
.swiper-container-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.gallery-top {
  width: 100%;
  height: 75vh;
}
.gallery-top .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 30, 34, 1) 0%, rgb(23 51 55) 50%, rgba(15, 83, 92, 1) 100%);
}
.gallery-top .swiper-slide img,
.gallery-top .swiper-slide .popup-video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.gallery-thumbs {
  width: 100%;
  height: 20vh;
  padding: 10px 0;
}
.gallery-thumbs .swiper-wrapper {
  flex-direction: row;
}
.gallery-thumbs .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.gallery-thumbs .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(301deg, #050607 0%, #BA9056 50.11%, #151517 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.gallery-thumbs .swiper-slide-active {
  opacity: 1;
}
.gallery-thumbs .swiper-slide img,
.gallery-thumbs .swiper-slide .thumb-video {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}
.swiper-button-next,
.swiper-button-prev {
  color: #BA9056 !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #f0c040;
}
