.carousel-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    padding: 35px 0 35px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-button {
    background: none;
    border: none;
    font-size: 18px;
    letter-spacing: 1px;
    color: #555;
    cursor: pointer;
    position: relative;
    padding-bottom: 5px;
    font-family: inherit;
    font-weight: 300;
}

.tab-button.active {
    font-weight: bold;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: #555;
}


.splide__container-with-padding {
    padding: 0 5px 0 80px;
    /* 👈 симметричный отступ слева и справа */
    box-sizing: border-box;
}

.splide__list {
    padding: 0 20px;
    /* 👈 одинаковый отступ слева и справа */
    box-sizing: border-box;
}

.splide__slide {
    text-align: center;
    font-size: 16px;
    padding: 0 10px;
    /* отступ между карточками */
    box-sizing: border-box;
}

.splide__slide img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.watch-card {
    background-color: #e8ded0b8;
    padding: 20px;
    border-radius: 7px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    max-width: 280px;
    /* 👈 ширина карточки */
    width: 100%;
}


.watch-card img {
    max-width: 75%;
    height: auto;
    margin-bottom: 10px;
}

.watch-card h3 {
    font-size: 14px;
    margin: 10px 0 5px;
    color: #555;
}

.watch-card p {
    font-size: 15px;
    margin-bottom: 20px;
    margin-top: 10px;
    color: #555;
}

.watch-button {
    background: #333;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    color: #fff;
    padding: 14px 0;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    margin-top: 10px;
    border: 1px solid transparent;
    overflow: hidden;
    /* скрывает выходящий текст */
    text-overflow: ellipsis;
    /* добавляет многоточие */
    white-space: nowrap;
    /* запрещает перенос строки */

    font-size: clamp(10px, 3vw, 12px);
    /* масштабируемый текст */
}

.watch-button:hover {
    background-color: transparent;
    padding: 13px 50px;
    border: 1px solid rgb(85, 85, 85);
    color: rgb(85, 85, 85);
}

.splide__pagination {
    margin-top: 30px;
    position: relative;
    bottom: -10px;

}

.splide__arrow {
    background-color: #e8ded0b8;
}

.splide__pagination li {
    margin: 0 6px;
}

.splide__pagination__page {
    background: #ccc;
    opacity: 0.7;

}

.splide__pagination__page.is-active {
    background: #333;
    opacity: 1;
}

@media (max-width: 768px) {
    .watch-card {
        max-width: 320px;
        margin: 0 auto;
    }

    .splide__slide {
        display: flex;
        justify-content: center;
    }

    .watch-card img {
        max-width: 70%;
    }

    .watch-card h3 {
        font-size: 20px;
        margin: 10px 0 5px;
    }

    .watch-card p {
        font-size: 18px;
        margin-bottom: 20px;
        margin-top: 10px;
    }

    .carousel-tabs {
        padding: 20px 0 20px 0;
    }

    .splide__container-with-padding {
        padding: 0;
    }
}