/* Container global */
.builder-product-reviews {
    margin: 20px 0;
    font-size: 14px;
    color: #333;
}

/* Slide */
.review-slide {
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
    padding: 12px;
    transition: box-shadow 0.2s ease;
}

.review-slide:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Header (nom + étoiles) */
.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-weight: 600;
}

.review-stars {
    color: #f1c40f;
    /* jaune pour étoiles */
}

/* Titre et contenu */
.review-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.review-content {
    font-size: 14px;
    color: #555;
}

/* Swiper dots (pagination) */
.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
    border-radius: 50%;
    transition: background 0.2s;
}

.swiper-pagination-bullet-active {
    background: #007bff;
    /* bleu actif */
}

/* Swiper arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 14px;
    /* taille icône flèche */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #007bff;
    color: #fff;
}


/* Overlay */
.product-review-modal {
    display: none;
    /* caché par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* Contenu */
.product-review-modal .modal-content {
    background: #fff;
    border-radius: 6px;
    padding: 16px;
    max-width: 400px;
    width: 90%;
    position: relative;
}

/* Bouton fermer */
.product-review-modal .modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 20px;
    cursor: pointer;
}

/* Formulaire */
.product-review-form label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.product-review-form input,
.product-review-form textarea,
.product-review-form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.product-review-form button {
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    background: #007bff;
    color: #fff;
    cursor: pointer;
}

.product-review-form button:hover {
    background: #0056b3;
}