.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #00000099;

    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1000;
    display: none;
}

.active {
    display: flex;
}

.modal-body {
    height: 100%;
    margin-top: auto;
    z-index: 20;
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.modal-window {
    z-index: 1000;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
}

.modal-window {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.modal-window::-webkit-scrollbar {
    display: none;
}

.slider-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 30;
    display: none;
}

.slider-modal.active {
    display: block;
}

.slider-modal__content {
    box-sizing: border-box;
    position: relative;
    padding-top: 80px;
    height: 100%;
    z-index: 1001;
}

.close-slider {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 100000;
    cursor: pointer;
    fill: #ffffff;
}

@media (max-width: 1536px) {
    .slider-modal__content {
        height: 100%;
        /* max-height: 90vh; */
    }
    .swiper {
        overflow: visible !important;
    }
}

.slider-modal::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 1);
    z-index: 999;
    pointer-events: none;
}

.slider-modal__content {
    position: relative;
    z-index: 1000;
}

.swiper-slide {
    /* background: rgba(0, 0, 0, 0) !important; */
}

.swiper__thumbs {
}

@media (max-width: 768px) {
    .slider-modal__content {
        padding-top: 0;
    }

    .close-slider {
        right: 20px;
    }
}
