.bagassa-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--bs-radius, 8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
}

.bagassa-slider__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.bagassa-slider__track {
    display: flex;
    width: 100%;
    transition: transform var(--bs-speed, 600ms) ease-in-out;
}

.bagassa-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-height: var(--bs-height, 350px);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 30px var(--bs-pad, 60px);
    box-sizing: border-box;
}

/* Режим Fade */
.bagassa-slider--fade .bagassa-slider__track {
    display: block;
    position: relative;
    min-height: var(--bs-height, 350px);
    transition: none;
}

.bagassa-slider--fade .bagassa-slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity var(--bs-speed, 600ms) ease-in-out;
}

.bagassa-slider--fade .bagassa-slide.is-active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.bagassa-slide__content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.bagassa-slide__title {
    color: var(--t-color, #222222);
    font-size: var(--t-size, 30px);
    font-weight: var(--t-weight, 700);
    line-height: 1.25;
    margin-bottom: 12px;
}

.bagassa-slide__text {
    color: var(--p-color, #444444);
    font-size: var(--p-size, 16px);
    line-height: 1.5;
    margin-bottom: 20px;
}

.bagassa-slide__text:last-child,
.bagassa-slide__title:last-child {
    margin-bottom: 0;
}

.bagassa-slide__btn-wrap {
    margin-top: 18px;
}

.bagassa-slide__btn {
    display: inline-block;
    background-color: var(--b-bg, #B01280);
    color: var(--b-color, #FFFFFF) !important;
    font-size: var(--b-size, 15px);
    font-weight: 600;
    padding: var(--b-py, 10px) var(--b-px, 26px);
    border-radius: var(--b-radius, 25px);
    text-decoration: none !important;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    cursor: pointer;
    line-height: 1.2;
}

.bagassa-slide__btn:hover,
.bagassa-slide__btn:focus {
    background-color: var(--b-bg-hover, #8E0D66);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Стрелки */
.bagassa-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(176, 18, 128, 0.25);
    background: rgba(255, 255, 255, 0.85);
    color: #B01280;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.bagassa-slider__arrow:hover {
    background: #B01280;
    color: #ffffff;
    border-color: #B01280;
}

.bagassa-slider__arrow--prev {
    left: 12px;
}

.bagassa-slider__arrow--next {
    right: 12px;
}

/* Точки */
.bagassa-slider__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.bagassa-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.bagassa-slider__dot.is-active {
    background: #B01280;
    width: 24px;
    border-radius: 5px;
}

/* Адаптация под мобильные */
@media (max-width: 768px) {
    .bagassa-slide {
        min-height: var(--bs-height-mob, 260px);
        padding: 24px 44px;
    }

    .bagassa-slider--fade .bagassa-slider__track {
        min-height: var(--bs-height-mob, 260px);
    }

    .bagassa-slide.has-mobile-overlay::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.82);
        z-index: 1;
    }

    .bagassa-slide__content {
        max-width: 100% !important;
    }

    .bagassa-slide__title {
        font-size: var(--t-size-mob, 20px);
    }

    .bagassa-slide__text {
        font-size: var(--p-size-mob, 13px);
    }

    .bagassa-slider__arrow {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .bagassa-slider__arrow--prev {
        left: 6px;
    }

    .bagassa-slider__arrow--next {
        right: 6px;
    }
}