@import url('../../../assets/css/variables.css');

.ba-rps {
    position: relative;
    width: 100%;
}

.ba-rps__swiper {
    overflow: hidden;
}

.ba-rps__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    min-height: 250px;
    padding: 30px 20px 30px 30px;
    background-color: rgba(148, 163, 184, 0.11);
    border: 1px solid #89B7DD;
    border-radius: 24px;
    height: 100%;
    box-sizing: border-box;
}

.ba-rps__title {
    font-family: var(--font-primary, 'Inter'), sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 32px;
    letter-spacing: -0.5px;
    color: var(--color-text, #0F172A);
    margin: 0;
}

.ba-rps__btn {
    align-self: flex-end;
    display: inline-block;
    background-color: var(--color-primary, #0A71B4);
    color: #FFFFFF;
    font-family: var(--font-primary, 'Inter'), sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 15px 20px;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color .25s ease, transform .25s ease;
}

.ba-rps__btn:hover {
    background-color: var(--color-primary-dark, #085d94);
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Estado disabled para las flechas externas que provee la página */
.product-cat-slider-prev.swiper-button-disabled,
.product-cat-slider-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.product-cat-slider-prev,
.product-cat-slider-next {
    cursor: pointer;
    transition: opacity .25s ease;
}

.product-cat-slider-prev:hover,
.product-cat-slider-next:hover {
    opacity: 0.7;
}

.ba-rps__empty {
    padding: 24px;
    background: #fff8e1;
    border: 1px dashed #f0c068;
    color: #6b4f1d;
    border-radius: 12px;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .ba-rps__title {
        font-size: 24px;
        line-height: 28px;
    }

    .ba-rps__card {
        min-height: 200px;
        padding: 24px;
    }
}

@media (max-width: 767px) {
    .ba-rps__title {
        font-size: 20px;
        line-height: 24px;
    }

    .ba-rps__card {
        min-height: 180px;
        padding: 20px;
    }

    .ba-rps__btn {
        font-size: 14px;
        padding: 12px 18px;
    }
}
