/* Reviews Trendy - Widget para Elementor */

/* Container principal */
.rt-reviews-widget {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
}

/* Swiper Container */
.rt-swiper-container {
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
    overflow: hidden;
}

.rt-swiper-container .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.rt-swiper-container .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

/* Tarjeta de reseña */
.rt-review-card {
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.rt-review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Estrellas */
.rt-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.rt-star {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rt-star svg {
    width: 100%;
    height: 100%;
}

.rt-star.filled svg {
    fill: #D4A853;
}

.rt-star.empty svg {
    stroke: #e0e0e0;
}

/* Nombre y texto */
.rt-customer-name {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.rt-review-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #333;
    flex: 1;
}

/* Navegación inferior */
.rt-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    padding: 0 24px;
}

/* Barra de progreso */
.rt-progress-bar {
    flex-grow: 1;
    height: 3px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.rt-progress-fill {
    height: 100%;
    width: 0;
    background-color: #333333;
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Botones de navegación */
.rt-nav-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.rt-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    background-color: #ffffff;
    color: #333333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rt-nav-btn:hover:not(.swiper-button-disabled) {
    border-color: #333333;
    background-color: #333333;
    color: #ffffff;
}

.rt-nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.rt-nav-btn svg {
    width: 20px;
    height: 20px;
}

/* Paginación */
.rt-swiper-container .swiper-pagination {
    position: relative;
    margin-top: 25px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.rt-swiper-container .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e0e0e0;
    opacity: 1;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.rt-swiper-container .swiper-pagination-bullet-active {
    background-color: #333333;
}

/* Responsive */
@media (max-width: 767px) {
    .rt-nav-btn {
        width: 36px;
        height: 36px;
    }

    .rt-nav-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .rt-swiper-container,
    .rt-navigation {
        padding: 0 16px;
    }
}
