/*
* Refactored Review Page styles originally from style.css – moved here for better organization 
*/
/* Five Start Reviews page  */
.five-star-reviews ul {
	list-style: none;
	display:flex;
	justify-content:space-between;
	flex-wrap: wrap;
	background: #F3F4F6;
    padding: 40px 30px !important;
}
.five-star-reviews li {
	list-style: none;
	border-bottom: 1px solid var(--global-palette6);
	padding:25px 0;
	width:100%;
	display:flex;
	flex-wrap:wrap;
}
.five-star-reviews li > div {
	width:100%;
}
.five-star-reviews li .review-voting {
	margin-top:0;
	margin-top: auto;
	position: absolute;
    bottom: 0;
    right: 0px;
}
.five-star-reviews li .d8review-reviews-author  {
	color: #959595;
}
.five-star-reviews li {
	display:flex;
	position: relative;
}
.five-star-reviews li .d8review-reviews-imgbox {
	width:200px;
	padding-right:20px;
}
.five-star-reviews li .review-avatar {
    background: rgba(108, 68, 240, 0.66);
    display: inline-block;
    border-radius: 100%;
    color: #fff;
    font-size: 20px;
    height: 45px;
    width: 45px;
    text-align: center;
    padding-top: 0.9rem;
	margin-right: 10px;
	position: relative;
}
.five-star-reviews li .review-avatar svg {
	position: absolute;
    bottom: 0;
    background: #fff;
    border-radius: 100%;
    border: 1px solid #fff;
}
.five-star-reviews li .d8review-reviews-imgbox a.d8review-reviews-link {
	border: 1px solid #ddd;
	padding: 3px;
	display: inline-block;
	border-radius: 5px;
}
.five-star-reviews li .d8review-reviews-text {
	width:  calc( 100% - 220px);
}
.five-star-reviews .all-reviews-pagination {
	text-align:center;
}
.five-star-reviews li .review-date {
    font-size: 13px;
    color: #6A6C77;
    margin-top: 20px;
    display: block;
}
.five-star-reviews .all-reviews-pagination .page-numbers {
	padding:10px;
}
.five-star-reviews form {
	text-align:right;
	padding:0 20px 0 0;
}

.five-star-reviews .d8review-reviews-message {
    font-size: 14px;
    line-height: 25px;
}
.five-star-reviews .d8review-reviews-product-title {
	font-size: 13px;
    line-height: 17px;
}
.vote-button {
	pointer-events: none;
}
.logged-in .vote-button {
	pointer-events: visible;
}
.fibofilters-block--source--tax_product_cat {
	display:none;
}


@media screen and (min-width: 768px) {
	.five-star-reviews .show-mobile {
		display:none;
	}
}
@media screen and (max-width: 767px) {
	.five-star-reviews .d8review-reviews-product-title {
		font-size: 11px;
		
	}
	
	.review-content div {
		font-size: 12px;
		line-height: 19px;
	}
	.five-star-reviews li .review-avatar{
		height: 35px;
   		 width: 35px;
		padding-top: 0.5rem;
	}
	.five-star-reviews li .review-date {
		font-size: 11px;
		position: absolute;
		right: 10px;
		top: 0;
	}
	.five-star-reviews ul {
		padding: 20px 10px !important;
	}
	.five-star-reviews li {
		width:100%;
		padding: 11px 0 40px;
	}
	.five-star-reviews .hide-mobile {
		display:none;
	}
	.five-star-reviews .review-content .product-quality-eh, 
	.five-star-reviews .review-content .product-quality-eh p{
		font-size: 12px;
	}
	.five-star-reviews li .d8review-reviews-text {
		width: 100%;
	}
	.five-star-reviews li .d8review-reviews-text {
		display: flex;
    	flex-wrap: wrap;
	}
	.five-star-reviews li .d8review-reviews-title.show-mobile {
		width: 100%;
	}
	.five-star-reviews li .d8review-reviews-imgbox.show-mobile {
		width: 120px;
		padding-right: 10px;
	}
	.five-star-reviews li .review-content {
		width: calc(100% - 120px);
	}
	.five-star-reviews li .review-voting {
		width: 100%;
	}
	
}

.d8-review-summary-full {
    margin: 0;
    max-width: 100%;
    font-family: inherit;
    background: #F3F4F6;
    padding: 40px 30px 0 30px;
}

.summary-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.summary-subtext {
    font-size: 14px;
    color: #6B6D76;
    margin-bottom: 25px;
    max-width: 650px;
    line-height: 1.5;
}

.summary-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.summary-left {
    width: 160px;
    text-align: center;
}

.rating-value {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.rating-stars-text {
    font-size: 24px;
    color: #6c44f0;
    margin: 6px 0;
}

.rating-count {
    margin-top: 8px;
    font-weight: 600;
    color: #6c44f0;
    font-size: 15px;
}

.summary-right {
    flex: 1;
    max-width: 600px;
}

.summary-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.summary-label {
    width: 40px;
    font-size: 15px;
    font-weight: 600;
}

.summary-bar {
    flex: 1;
    height: 10px;
    background: #eee;
    border-radius: 0px;
    margin: 0 12px;
    overflow: hidden;
}

.summary-fill {
    background: #6c44f0;
    height: 100%;
    border-radius: 0px;
}

.summary-num {
    width: 90px;
    font-size: 14px;
    text-align: left;
}

.summary-num b {
    padding-right:20px;
}

@media screen and (max-width: 767px) {
    .summary-flex {
        flex-direction: column;
    }
    .summary-left,
    .summary-right {
        width: 100%;
    }
}