.swiper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    border-radius: 10px;
}

.swiper-wrapper {
    border-radius: 10px;
}

.swiper-slide {
    width: 80%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 90vh;
    overflow: hidden;
    border-radius: 10px;
}
.swiper {
    --swiper-navigation-size: 10px; /* желаемый размер (по умолчанию ~44px) */
}
.swiper-button-prev,
.swiper-button-next {
    width: var(--swiper-navigation-size);
    height: var(--swiper-navigation-size);
    position: relative;
    z-index: 1000;
}

.swiper-button-prev::after {
    position: relative;
    z-index: 1000;
    background-color: var(--color-dark-blue);
    border-radius: 50%;
    padding: 10px;
    color: var(--color-white);
    cursor: pointer;
}
.swiper-button-next::after {
    position: relative;
    z-index: 1000;
    background-color: var(--color-dark-blue);
    border-radius: 50%;
    padding: 10px;
    color: var(--color-white);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .swiper {
        width: 90%;
        height: 80%;
    }
    .swiper-slide {
        width: 100%;
        height: 100%;
        max-height: 300px;
        overflow-y: hidden;
        border-radius: 10px;
    }
    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }
}
