/*
* Refactored Customer Review Slider styles originally from style.css – moved here for better organization
*/
/* Customer Review Slider Css Start*/
#dreview-slider{
	position: relative;
	overflow: hidden;
	clear: both;
	max-width: 1392px;
	margin: auto;
}

#dreview-slider .d8review-header {
	padding-bottom: 15px;
	border-bottom: 2px solid #eee;
	margin-bottom: 10px;
}
#dreview-slider .d8review-header {
	padding-bottom: 15px;
	border-bottom: 2px solid #eee;
	margin-bottom: 10px;
}
#dreview-slider .d8review-header .d8rv-title{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-right: 80px;
}
#dreview-slider .d8review-header .d8rv-title h3{
	font-size: 20px;
	font-weight: 700;
	color: #020202;
	margin: 0;
}
#dreview-slider .d8review-header .d8rv-title h3 a{
	font-weight: 500;
	color: #5936c7;
	margin-left: 10px;
}
#dreview-slider .d8review-header .d8rv-title h3 a .kb-svg-icon-wrap {
	position: relative;
	top: 2px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border-width: 0;
}
#dreview-slider .d8review-header .d8rv-title h3 a .kb-svg-icon-wrap svg{
	width: 1em;
	height: 1em;
}
#dreview-slider .d8review-header .d8rv-title span{
	font-size: 20px;
	font-weight: 500;
	color: #5936c7;

}
#dreview-slider .d8review__list li{
	color: #777;
	display: inline-block;
	/*height: 250px;
	padding-bottom: 20px;*/
	padding-right: 0;
	vertical-align: top;
	font-size: 15px;
	text-align: left;
}

#dreview-slider .d8review-reviews-user-infobox .review-avatar {
    background: rgba(108, 68, 240, 0.66);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 35px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    height: 35px;
    width: 35px;
    padding: 0;
    margin-right: 10px;
    position: relative;
}
#dreview-slider .review-avatar > span:not(.verified-buyer-icon) {
    display: block;
    line-height: 1;
}
#dreview-slider .review-avatar .verified-buyer-icon {
    position: absolute;
    right: -2px;
    bottom: -2px;
    margin: 0;
}
/* Use the same Poppy Pink rounded stars as the site-wide product ratings. */
#dreview-slider .star-icon {
	width: 14px;
	height: 14px;
	display: inline-block;
	background: var(--pl-pink, #ff4eff);
	-webkit-mask: var(--pl-star) center / contain no-repeat;
	mask: var(--pl-star) center / contain no-repeat;
}
.verified-buyer-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7.5' fill='%231CC286' stroke='white' stroke-width='1'/%3E%3Cpath d='M5.5 8.2L7 9.7L10.5 6' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	width: 16px;
	height: 16px;
	display: block;
	margin-left:1.75em;
	margin-top: -0.25em;
}

#dreview-slider .d8review-reviews-inner{
	display: flex;
	flex-direction: column;
}

#dreview-slider .d8review-reviews-rating {
	line-height: 18px;
}

#dreview-slider .d8review-reviews-user-infobox{
	display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}

#dreview-slider .d8review-reviews-user-infobox h5{
	font-size: 12px;
    margin: 0px;
    margin-left: 0px;
}

#dreview-slider .d8review-reviews-rating i{
	color: var(--pl-pink, #ff4eff) !important;
}

#dreview-slider .d8review-reviews-date{
	font-size: 11px;
	color: #aaa;
	margin-left: 5px;
}

#dreview-slider .d8review-reviews-title{
	font-size: 1.2em;
	overflow: hidden;
	font-weight: 700;
	margin: 5px 0;
	width: 100%;
	white-space: nowrap;
	text-overflow: ellipsis;
	line-height: 21px;
}
#dreview-slider .d8review-reviews-title a{
	color: #020202;
	font-size: 18px;
	font-weight:500;
	white-space: nowrap;
	line-height: 21px;
}
#dreview-slider .d8review-reviews-imgbox {
	width: 65px;
	flex: 0 0 65px;
}

/* Keep a single frame and center the full product image inside it. */
#dreview-slider .d8review-reviews-image {
	width: 65px;
	height: 65px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

#dreview-slider .d8review-reviews-image > a {
	height: 65px;
	width: 65px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	position: relative;
	border: 1px solid var(--pl-line, #ddd);
	padding: 3px;
	border-radius: 5px;
	background: #fff;
	margin: 0;
	overflow: hidden;
}

#dreview-slider .d8review-reviews-image > a img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
#dreview-slider .d8review-reviews-product-title{
	color: #aaa;
	font-size: 14px;
	white-space: initial;
	text-align: left;
	clear: both;
	line-height: 19px;
	font-weight: 500;
}
#dreview-slider .d8review-reviews-product-title > a{
	display: block;
	color: #020202;
	text-decoration: none;
	margin-top: 14px;
}

#dreview-slider .d8review-reviews-product-title > a span{
	color: #bbb;
}

#dreview-slider .d8review-reviews-message-block{
	font-style: italic;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 15px;
	line-height: 20px;
	border: none;
	padding: 0;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #020202;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.d8review-reviews-message a.review-link {
	text-decoration: none;
}

#dreview-slider .d8review-reviews-author{
	font-weight: 700;
	font-size: 13px;
}

#dreview-slider .d8review-ratings-wrapper{
	display: flex;
	/* justify-content: space-between; */
	justify-content:flex-start;
	align-content: center;
	flex-wrap: wrap;
}
#dreview-slider  .d8review-reviews-infobox {
	display: flex;
	gap: 10px;
}
#dreview-slider .splide__arrow{
	transform: none;
	height: 30px;
	width: 30px;
	font-size: 34px;
	line-height: normal;
	padding: 0px;
	background: transparent;
	color: #000;
	opacity: 1;
}
#dreview-slider .splide__arrow--prev{
	top: -16px;
	right: 40px;
	left: inherit;
}
#dreview-slider .splide__arrow--next{
	top: -16px;;
	right: 0px;
}
@media screen and (max-width: 1200px) {
	#dreview-slider{
		max-width:90%;
		margin: auto;
	}
}

@media screen and (max-width: 767px) {
	#dreview-slider{
		max-width:100%;
		margin-left:1em;
		margin-right:1em;
	}
	#dreview-slider .d8review-header .d8rv-title h3 a {
		margin-left: 0;
		font-size: 13px;
		display: inline-block;
	}
	#dreview-slider .d8review-header .d8rv-title span{
		display: none;
	}
	#dreview-slider .d8review-header .d8rv-title h3 {
		font-size: 16px;
	}
	.verified-buyer-icon {
		margin-left: 1.15em;
		margin-top: -0.45em;
	}
}

/* Customer Review Slider Css End*/

.review-wreath-header {
	position: relative;
	display: block;
	text-align: center;
	padding: 0;
	display: none;
}

.d8review-slide-header .review-content h3 {
	margin: 0 0 30px;
	font-size: 22px;
	font-weight: normal;
	text-transform: none;
}

.review-content .highlight {
	color: #6c44f0;
	font-weight: bold;
}

.review-wreath-header .star-icon{
	width: 35px;
	height: 30px;
}

.review-content .review-5-star {
	margin: 10px 0 35px;
	font-size: 24px;
}

.review-content .bold {
	font-weight: bold;
}

.laurel {
	position: absolute;
	top: 55px;
	width: 60px;
}


.d8review__track {
	display: flex;
	overflow-x: auto;
}

.laurel.left {
	left: 0;

}
.laurel.right {
	right: 0;
}

@media screen and (min-width: 768px) and (max-width: 1400px) {
	#dreview-slider .splide__arrow {
		height: 35px;
	}
}

@media(max-width: 767px) {
	.average-rating-wrapper{
		display: flex;
		font-family: Onest, sans-serif;
	}
	.woocommerce .average-rating-wrapper .star-rating{
		font-size: 24px;
		margin-left: 6px;
	}
	.woocommerce .average-rating-wrapper h3{
		font-weight: bold;
		margin-bottom: 0;
	}
	.review-content.woocommerce h2{
		text-align: left;
		text-transform: none;
		font-size: 1.4rem;
	}
	.allreviews{
		display: block;
		text-align: right;
		font-weight: bold;
	}
	.allreviews svg{
		width: 22px;
		position: relative;
		top: 7px;
	}
	.average-rating-wrapper .total-reviews{
		font-size: 20px;
		font-weight: bold;
		line-height: 22px;
		display: none;
	}
	.review-wreath-header{
		display: block;
		margin: 0;
	}
	.review-wreath-header .review-content-headinfo a{ 
		display: flex;
		justify-content: flex-start;
		align-items: center;
		width: 100%;
	}

	.review-wreath-header .review-content-headinfo h3,
	.review-wreath-header .review-content-headinfo .star-rating{
		font-size: 16px;
	}

	#dreview-slider .review-content-headinfo .allreviews{
		font-size: 16px;
		line-height: 34px;
		margin-left: 8px;
		display: flex;
        align-items: center;
	}

	#dreview-slider .review-content-headinfo .allreviews svg{
		top: 1px;
	}
	#dreview-slider .d8review-header{
		border: 0;
		padding: 0;
	}
	.d8review__track{
		margin: 0 20px;
	}
	#dreview-slider .d8review-header .d8rv-title{
		display: none;
	}
	#dreview-slider .d8review-reviews-date{
		position: relative;
		/* right: 16px; */
	}
	.d8review-slide-header{
		margin-bottom: 25px;
	}
	#dreview-slider.custom-review-slider {
		overflow: visible;
		margin-left: 0;
		margin-right: 0;
		margin-top: -30px;
		margin-bottom: 30px;
	}
	.review-header-nav{
		position: relative;
		top: 120px;
	}
	#dreview-slider .splide__arrow--prev{
		right: inherit;
		left: -19px;
		font-size: 0;
		width: 50px;
		height: 50px;
		transform: rotate(180deg);
		background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%236c44f0' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
	}
	#dreview-slider .splide__arrow--next{
		right: -19px;
		font-size: 0;
		width: 50px;
		height: 50px;
		background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%236c44f0' stroke-width='1' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
	}
	.tax-product_cat #dreview-slider.custom-review-slider {
		width: 85%;
		margin: 0 auto;
	}
}
@media(max-width: 400px) {
	.review-wreath-header .star-icon{
		width: 31px;
		height: 26px;
	}
	.review-content .review-5-star {
		font-size: 20px;
	}
	.laurel{
		width: 55px;
	}
	.d8review-slide-header {
		margin-bottom: 0;
	}
	.laurel.right {
		right: -10px;
	}
	.laurel.left {
		left: -10px;
	}
}

/* Let each card follow its content instead of reserving an empty product footer. */
#dreview-slider .d8review__list {
	align-items: flex-start;
}
#dreview-slider .d8review__list li {
	padding: 24px;
	background: #fff;
	border-radius: 14px;
	border: 1px solid #ddd;
	position: relative;
}
#dreview-slider .d8review-reviews-title {
	margin: 12px 0 0;
}
#dreview-slider .d8review-reviews-message-block {
	font-style: normal;
	font-weight: normal;
	white-space: initial;
	margin: 0;
}
.d8review-reviews-infobox .product-quality-eh {
	font-size: 13px;
	margin-top: 5px;
}
#dreview-slider .d8review-reviews-infobox {
	position: static;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	width: auto;
}
#dreview-slider .d8review-reviews-message {
	flex: 1;
	min-width: 0;
}
#dreview-slider .d8review-reviews-product-title > a {
	margin-top: 0;
}
