.spa-slider-wrapper {
    max-width: 1300px; /* Ограничиваем ширину макета по центру */
    margin: 40px auto;
    padding: 0 60px; /* Место по бокам для стрелочек */
    box-sizing: border-box;
}

.spa-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Удерживаем идеальные пропорции фото */
}

.spa-slider__track {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.spa-slider__slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spa-slider__slide.active {
    opacity: 1;
    visibility: visible;
}

.spa-slider__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spa-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #999;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 12px;
    transition: background 0.3s, color 0.3s;
}

.spa-slider__btn:hover {
    background: #f5f5f5;
    color: #333;
}

.spa-slider__btn--prev { left: -50px; }
.spa-slider__btn--next { right: -50px; }

.spa-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.spa-slider__dot {
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.spa-slider__dot.active {
    background: #333;
}

.spa-slider__info-container {
    margin-top: 30px;
    min-height: 60px;
    position: relative;
	border-top: 1px solid #eee;
	margin: 30px auto;
	max-width: 70%;
}

.spa-slider__text-item {
    position: absolute;
    top: 0; left: 0; width: 100%;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    font-weight: 300;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

.spa-slider__text-item.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}
