/* Общие стили слайдера */
.simple-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    background: #f5f5f5;
}

.simple-slider .slider-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

.simple-slider .slide {
    display: none;
    width: 100%;
    text-align: center;
}

.simple-slider .slide:first-child {
    display: block;
}

.simple-slider .slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vw / 2);
    object-fit: cover;
}

/* Стрелки – общие стили */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s, background-color 0.3s;
    /* Цвет и прозрачность задаются через inline-стили */
    line-height: 1;
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

/* Формы кнопок */
.slider-arrow.button-shape-rectangle {
    border-radius: 0;
}

.slider-arrow.button-shape-square {
    border-radius: 0;
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.slider-arrow.button-shape-circle {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Точки */
.slider-dots {
    text-align: center;
    padding: 10px 0;
}

.slider-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dots .dot.active {
    background: #333;
}

/* Эффект fade */
.simple-slider.effect-fade .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: block !important;
}

.simple-slider.effect-fade .slide.active {
    opacity: 1;
    position: relative;
}

/* Эффект slide (горизонтальное скольжение) */
.simple-slider.effect-slide .slider-wrapper {
    display: flex;
    transition: transform 0.6s ease;
}

.simple-slider.effect-slide .slide {
    flex: 0 0 100%;
    display: block !important;
}