.mySwiper {
    background: #eee;
    overflow: hidden;
}

.main-slide {
    text-align: center;
    font-size: 18px;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    height: auto;
}

.main-slide:not([style*="aspect-ratio"]) {
    height: 100%;
    display: block;
    background: transparent;
}

.home-banner-grid > * {
    min-height: 0;
}

.home-banner-grid .main_banner {
    height: 100%;
    overflow: hidden;
}

.home-banner-grid > div:not(.main_banner) .main_banner {
    box-shadow: none;
}

.main-slide .banner-slide-inner {
    position: relative;
    height: 100%;
    width: 100%;
}

.main-slide .banner-slide-link {
    display: block;
    position: relative;
    height: 100%;
}

.main-slide .swiper-lazy-preloader {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    animation: banner-preloader-spin 1s infinite linear !important;
}

@keyframes banner-preloader-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.main-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-prev:after, .swiper-button-next:after {
    content: none;
}

.swiper-button-prev, .swiper-button-next {
    top: var(--swiper-navigation-top-offset, 33%);
    background-color: #fff;
    border-radius: 50%;
    height: 50px;
    width: 50px;
}

.swiper-button-next svg, .swiper-button-prev svg {
    width: 40%;
    height: 40%;
}

.swiper-button-prev-custom, .swiper-button-next-custom {
    position: absolute;
    top: 0;
    background-color: unset;
    color: #000 !important;
    fill: black !important;
    stroke: black !important;
    height: 100%;
    width: 24px;
    display: flex;
}

.swiper-button-prev-custom.swiper-button-lock, .swiper-button-next-custom.swiper-button-lock {
    display: none;
}

.swiper-button-next-custom {
    right: -24px;
}

.swiper-button-prev-custom {
    left: -24px;
}

.swiper-button-next-custom svg, .swiper-button-prev-custom svg {
    margin: auto;
}

.mainSwiper .swiper-button-prev, .mainSwiper .swiper-button-next {
    top: var(--swiper-navigation-top-offset, 50%);
}

@media (min-width: 768px) {
    .mainSwiper .swiper-button-prev, .mainSwiper .swiper-button-next {
        display: none;
    }
}

.mainSwiperThumbs:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    gap: 10px;
}

.mainSwiperThumbs:not(.swiper-initialized) .swiper-slide {
    flex: 1 1 calc(25% - 10px);
    box-sizing: border-box;
}

.mainSwiperThumbs:not(.swiper-initialized) .swiper-slide img {
    width: 100%;
    height: 100%;
}

.mainSwiperThumbs:not(.swiper-initialized) .swiper-slide:nth-child(n+5) {
    display: none;
}

:root {
    --swiper-preloader-color: #DDEEEE;
}
