.lg-backdrop,
.lg-outer {
    z-index: 9999 !important;
}

.tf-list-gallery.has-arrow .swiper-button-next,
.tf-list-gallery.has-arrow .swiper-button-prev {
    display: block;
}

.tf-list-gallery.no-arrow .swiper-button-next,
.tf-list-gallery.no-arrow .swiper-button-prev {
    display: none;
}

.slide-gallery.style1 .item-gallery img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 24px;
}

.slide-gallery .item-gallery {
  cursor: pointer;
}

.tf-list-gallery .swiper-button-next::after,
.tf-list-gallery .swiper-button-prev::after {
    display: none;
}

.tf-list-gallery .swiper-button-next button,
.tf-list-gallery .swiper-button-prev button {
    display: inline-block;
    width: 58px;
    height: 58px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #5C5E61;
    font-size: 24px;
}

.tf-list-gallery .swiper-button-next,
.tf-list-gallery .swiper-button-prev {
  width: unset !important;
  height: unset !important;
}

.tf-list-gallery .swiper-button-next button:hover,
.tf-list-gallery .swiper-button-prev button:hover {
    background: var(--theme-primary-color);
    color: #fff;
}

/* Custom Cursor
-------------------------------------------------------------- */

.tfmouseCursor {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: 50%;
    transform: translateZ(0);
    visibility: hidden;
    text-align: center;
  }
  
  .cursor-inner {
    margin-left: -60px;
    margin-top: -60px;
    width: 120px;
    height: 120px;
    color: #fff;
    cursor: grab;
    background: #00000080;
    backdrop-filter: blur(4px);
    box-sizing: border-box;
    z-index: 10000000;
    opacity: 0;
    transition: all 0.1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 12px;
    font-weight: 500;
    gap: 7px;
  }

  .cursor-inner i {
    font-size: 32px;
  }
  
  .slide-gallery:hover .cursor-inner {
    opacity: 1;
  }
  
  .tfmouseCursor.cursor-hover {
    opacity: 0 !important;
  }