/* =========================================================
   PRODUCT REVIEW RANDOM
   ========================================================= */

.product-review-random {
    position: relative;
    width: 100%;
    margin-top: 30px;
}


/* ---------------------------------------------------------
   Caja de reseña
   --------------------------------------------------------- */

.product-review-random__review {
    position: relative;

    width: 100%;
    padding: 18px 22px 17px;

    background: #FCF8E6;

    border-radius: 10px;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   Pico superior
   Apunta hacia las miniaturas de la galería
   --------------------------------------------------------- */

.product-review-random__review::before {
    content: "";

    position: absolute;

    top: -10px;
    left: 38px;

    width: 20px;
    height: 20px;

    background: #FCF8E6;

    transform: rotate(45deg);

    border-radius: 3px 0 0 0;

    z-index: 0;
}


/* ---------------------------------------------------------
   Contenido
   --------------------------------------------------------- */

.product-review-random__top,
.product-review-random__text {
    position: relative;
    z-index: 1;
}


/* ---------------------------------------------------------
   Parte superior
   --------------------------------------------------------- */

.product-review-random__top {
    display: flex;
    align-items: center;

    gap: 10px;
}


/* ---------------------------------------------------------
   Avatar
   --------------------------------------------------------- */

.product-review-random__avatar {
    display: block;

    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    border-radius: 50%;

    background: #dedede;
}


/* ---------------------------------------------------------
   Información del usuario
   --------------------------------------------------------- */

.product-review-random__info {
    display: flex;
    flex-direction: column;

    gap: 1px;
}


/* Usuario + estrellas */

.product-review-random__user-row {
    display: flex;
    align-items: center;

    gap: 7px;
}


/* Nombre */

.product-review-random__user {
    font-size: 14px;
    font-weight: 700;

    color: #1A1A1A;

    line-height: 1.2;
}


/* Estrellas */

.product-review-random__stars {
    font-size: 15px;
    line-height: 1;

    letter-spacing: 1px;

    color: #FFB82E;
}


/* ---------------------------------------------------------
   Verified buyer
   --------------------------------------------------------- */

.product-review-random__verified {
    display: flex;
    align-items: center;

    gap: 4px;

    font-size: 11px;
    font-weight: 500;

    color: #333;

    line-height: 1.2;
}


.product-review-random__verified-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: #39B54A;

    color: #fff;

    font-size: 8px;
    font-weight: 800;

    line-height: 1;
}


/* ---------------------------------------------------------
   Texto de la reseña
   --------------------------------------------------------- */

.product-review-random__text {
    margin: 12px 0 0;

    font-size: 13px;
    line-height: 1.55;

    color: #555;

    font-weight: 400;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .product-review-random {
        margin-top: 25px;
    }

    .product-review-random__review {
        padding: 16px 17px 15px;
    }

    .product-review-random__avatar {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .product-review-random__user {
        font-size: 13px;
    }

    .product-review-random__stars {
        font-size: 14px;
    }

    .product-review-random__text {
        font-size: 12px;
    }

}