* {
    box-sizing: border-box;
}

/* 1) Обёртка: показывает ровно один слайд */
.slider-wrapper {
    width: 1280px;
    /*   max-width: 800px; */
    /*   height: 300px; */
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* 2) Трек без жёсткой ширины, строим его по flex */
.slider {
    display: flex;
    transition: transform 0.5s ease;
}

/* 3) Каждый слайд = ровно 100% ширины обёртки */
.slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: space-between;
    /* блоки по краям */
    align-items: center;
    padding: 50px 32px;
    box-sizing: border-box;
}

/* 4) Блоки внутри слайда */
.block {
    width: 49%;
    /* два блока по ~50% */
    /* background: #f7f7f7; */
    /* padding: 15px; */
    border-radius: 6px;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}

/* 5) Кнопки */
.controls {
    text-align: center;
    margin-top: 10px;
    position: absolute;
    z-index: 999;
    bottom: 59px;
    right: 45px;
    min-width: 590px;
    display: flex;
    justify-content: space-between;

}

.controls button {
    border: none;
    appearance: none;
    outline: none;
}

.controls div:disabled {
    /* background: #aaa; */
    cursor: not-allowed;
}


.orto-rel {
    position: relative;
}

/* Маркеры */
.dots {
    display: flex;
    gap: 6px;
}

.dots .dot {
    width: 19px;
    height: 11px;
    background: #D9D9D9;
    ;
    /* border-radius: 50%; */
    border: none;
    cursor: pointer;
    padding: 0;
}

.dots .dot.active {
    background: #1AA12B;
}

.controls {
    display: flex;
    align-items: center;
}


/* Слайдер состав */
/* Обёртка: виден только один слайд */
.vkussl-slider-wrapper {
    width: 100%;
    /* max-width: 384px; */
    /* height: 350px; */
    margin: 40px auto;
    overflow: hidden;
    position: relative;
}

.slider-two-tabs {
    overflow: hidden;
}

/* Трек: flex без фиксированной ширины */
.vkussl-slider {
    display: flex;
    transition: transform 0.5s ease;
}

/* Каждый слайд = 100% обёртки */
.vkussl-slide {
    flex: 0 0 100%;
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    box-sizing: border-box;
    /* padding: 20px; */
}

/* Блок внутри слайда */
.vkussl-block {
    width: 95%;
}

/* Кнопки и точки */
.vkussl-controls {
    /* min-width: 450px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    gap: 12px;
    position: absolute;
    bottom: 50px;
    z-index: 999;
    left: 33%;
}

.vkussl-controls button {
    width: 19px;
    height: 11px;
    background: #D9D9D9;
    ;
    /* border-radius: 50%; */
    border: none;
    cursor: pointer;
    padding: 0;
}

.vkussl-controls button:disabled {
    background: #aaa;
    cursor: not-allowed;
}

.vkussl-dots {
    display: flex;
    gap: 6px;
}

.vkussl-dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    /* border-radius: 50%; */
    border: none;
    cursor: pointer;
    padding: 0;
    appearance: none;
    outline: none;
}

.vkussl-dot.active {
    background: #1AA12B;
}

/* Конец слайдер состав */
/* Начало слайдер состав */
.vkussl-slide_one {
    min-width: 1253px;
    background-image: url('../img/klubnika.png');
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 480px;
    position: relative;
    display: flex;
    /* align-items: flex-end; */
}

.vkussl-slide_two {
    min-width: 1253px;
    background-image: url('../img/buble_gum.png');
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 480px;
    position: relative;
    display: flex;
}

.text__cont {
    width: 1250px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.text__cont h2 {
    max-width: 600px;
    color: var(--White, #FFF);
    text-align: center;
    font-family: "Nunito Sans";
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    margin-bottom: 73px;
    /* 42px */
}

.h2_2sl {
    min-width: 712px;
}

/* Конец */

/* Мобилка */
@media (max-width: 816px) {

    /* 1) Основной контейнер чуть уже страницы */
    .slider-wrapper {
        width: 95vw;
        /* можно также width: 95%; */
        height: auto;
        /* пусть высота подстраивается под содержимое */
    }

    /* 2) Слайды в столбик */
    .slide {
        flex-direction: column-reverse;
        /* теперь блоки будут вертикально */
        /* justify-content: flex-start; */
        /* подтянем их к верху */
        align-items: stretch;
        /* растягиваем по ширине контейнера */
        padding: 10px;
    }

    /* 3) Блоки внутри слайда — на всю ширину */
    .block {
        width: 100%;
        margin-bottom: 12px;
        /* отступ между блоками */
    }

    /* 4) Можно чуть уменьшить размер точек/кнопок */
    .controls {
        flex-direction: column;
        /* если нужно — кнопки и точки друг под другом */
        gap: 8px;
    }

    .controls button {
        padding: 6px 12px;
        font-size: 14px;
    }

    .dots .dot {
        width: 10px;
        height: 10px;
    }
}