.juva-review-block {
    display: flex;
    gap: 30px;
    background: #fff;
    flex-direction: column;
}
.juva-review-latest{
    padding-bottom: 5px;
    margin-left: -15px;
    width: 100vw;
}
.juva-review-latest >.sm_embla__container, #product-comments-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.juva-review-latest >.sm_embla__container {
    flex-direction: row;
    gap: 0;
}
.comment-date {
    margin-left: 10px;
    color: #888;
    font-size: 13px;
}
.juva-review-summary {
    flex: 1;
    border: 5px solid var(--color-yellow);
    border-radius: 18px;
    padding: 2em 2em 3em;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 15px;
    flex-direction: column;
}
.juva-review-summary::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 101%;
    height: 40px;
    background-color: #f9cb2f;
    clip-path: polygon(0% 0%, 100% 60%, 100% 100%, 0% 100%);
    opacity: .5;
}
.juva-review-summary::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 101%;
    height: 40px;
    background-color: var(--color-yellow);
    clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}
.juva-review-title {
    color: var(--color-yellow)!important;
    margin-bottom: 0;
}
body .product-comment-list-item .comment-content .h4{
    color: var(--color-text);
}
body .elementor-star-rating {
    display: flex;
    gap: 5px;
}
body .elementor-star-rating i{
    color: var(--color-yellow);
}
.juva-review-summary .bar-row:nth-child(1) .elementor-star-rating i::before{
    color: var(--color-blue-light);
}
.juva-review-summary .bar-row:nth-child(2) .elementor-star-rating i::before,
.juva-review-summary .bar-row:nth-child(2) .elementor-star-rating i{
    color: var(--color-green-dark);
}
.juva-review-summary .bar-row:nth-child(3) .elementor-star-rating i::before,
.juva-review-summary .bar-row:nth-child(3) .elementor-star-rating i{
    color: var(--color-green-light);
}
.juva-review-summary .bar-row:nth-child(4) .elementor-star-rating i::before,
.juva-review-summary .bar-row:nth-child(4) .elementor-star-rating i{
    color: var(--color-yellow);
}
.juva-review-summary .bar-row:nth-child(5) .elementor-star-rating i::before,
.juva-review-summary .bar-row:nth-child(5) .elementor-star-rating i{
    color: var(--color-orange);
}
.juva-review-score {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.juva-review-score .score{
    font-size: 42px;
    font-weight: bold;
    line-height: 1;
}
.juva-review-details{
    text-align: left;
    display: flex;
    flex-direction: column;
}
.juva-review-score .total {
    display: block;
    font-size: 14px;
}

.juva-review-bars {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

.star-label {
    font-size: 14px;
}

.bar {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.bar .fill {
    height: 100%;
    background: var(--color-blue-dark);
    transition: width 0.3s ease;
}
  
.product-comment-list-item{
    border-radius: 10px;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    margin: 0;
}
.comment-meta{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.product-comment-list-item .comment-infos{
    align-items: end;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: nowrap;
    min-height: 100%;
    height: auto;
}
.product-comment-list-item .comment-content{
    width: 100%;
    gap: 10px;
    display: flex;
    flex-direction: column;
}
.product-comment-list-item .comment-content p{
    white-space: inherit;
    color: var(--color-text);
    margin-bottom: 0!important;
}

.product-comment-list-item .comment-author{
    margin-bottom: 0!important;
}
.product-comment-list-item .comment-author strong{
    text-transform: uppercase;
}
.comment-content-top{
    display:flex;
    flex-direction: column;
}
.comment-top-meta{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
@media screen and (min-width: 768px) {
    .juva-review-block {
        flex-direction: row;
    }
    .comment-meta{
        flex-direction: row;
        justify-content: space-between;
    }
    .juva-review-summary {
        max-width: 50%;
        padding: 4em 4em 6em;
    }
    .juva-review-latest{
        max-width: 50%;
        padding-bottom: 0;
        margin-left: 0;
        width: 100%;
    }
    .juva-review-latest >.sm_embla__container {
        flex-direction: column;
        gap: 20px;
    }
    .product-comment-list-item{
        padding: 1em 2em;
    }
}