.review-slider .slick-slide {
	margin: 0 20px;
}

.review-slider .slick-list {
	margin: 0 -20px;
}

.review-slider button.slick-arrow {
	top: calc(50% - 22px);
}

.review-item {
	display: flex !important;
	flex-wrap: wrap;
}

.review-slider ul.slick-dots {
	margin-top: 17px !important;
}

.review-sec .center-btn {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.review-sec .common-btn:focus:focus {
	color: #000 !important;
	border-color: #fbaf6b !important;
	background: #fbaf6b;
}

.review-img {
	width: 242px;
	height: 266px;
}

.review-content {
	width: calc(100% - 242px);
	padding-left: 40px;
}
.review-item:not(:has(.review-img)) .review-content {
    width: 100%;
    padding-left: 0;
}
.review-item p {
	font-size: 16px;
	line-height: 28px;
	font-style: italic;
	font-weight: var(--medium-font);
}

.review-item h3 {
	font-size: 18px;
	line-height: 28px;
	font-weight: 600;
	font-family: var(--body-font);
	margin-top: 15px;
}

.review-content a {
	color: var(--black-color);
	font-family: var(--body-font);
	display: block;
	width: fit-content;
	text-decoration: underline;
}

.review-content a:hover {
	color: var(--theme-color);
}

.review-img img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.review-sec .section-title {
	margin-bottom: 35px;
}

.review-sec {
	margin-bottom: 90px;
}

.review-slider .slick-track {
	display: flex !important
}

.review-slider:not(.slick-initialized) {
	display: flex;
	overflow: hidden;
}

.custom-star-rating {
	display: flex;
	align-items: center;
	column-gap: 7px;
	margin-bottom: 18px;
}

.custom-star-rating svg {
	width: 16px;
	height: 16px;
}

.custom-star-rating .filled-star {
	color: #FBAF6B;
}

.custom-star-rating .empty-star {
	color: #E2E2E2;
}

.custom-star-rating .half-star {
	position: relative;
	display: inline-block;
	color: #E2E2E2;
}

.custom-star-rating .half-star::before {
	content: "★";
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	overflow: hidden;
	color: #FBAF6B;
}

/* Review Popup */
.gr-popup-content h3 {
	margin-top: 0 !important;
	margin-bottom: 15px;
	font-size: 22px;
	line-height: 32px;
	font-weight: var(--semibold-font);
}

div#gr-review-popup {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .6);
	z-index: 9999;
	display: none;
}

.gr-popup-content {
	position: absolute;
	background: var(--light-color);
	max-width: 870px;
	width: 90%;
	padding: 0;
	z-index: 10000;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	gap: 0;
	justify-content: center;
	height: auto;
	overflow: auto;
	display: block;
}

.gr-inner {
	height: auto;
	padding: 40px;
	max-height: 50vh;
	overflow: auto;
}

.gr-inner::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
	background-color: #f5f5f5;
}

.gr-inner::-webkit-scrollbar {
	width: 3px;
	background-color: #f5f5f5;
}

.gr-inner::-webkit-scrollbar-thumb {
	background-color: var(--black-color);
}

.close-popup {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 0px;
	cursor: pointer;
}

.close-popup:before {
	content: '';
	height: 16px;
	width: 16px;
	right: 0;
	border: 0px;
	position: absolute;
	display: flex !important;
	background: url(../../images/cross-theme-clr.svg);
	background-repeat: no-repeat;
	background-size: 100%;
	filter: brightness(0);
	transition: all .3s;
}

span.close-popup:hover:before {
	filter: unset;
}

.gr-popup-body {
	font-size: 18px;
	line-height: 28px;
	font-style: italic;
}

body.popup-open {
	overflow: hidden;
}

.gr-popup-content img.emoji,
.review-block img.emoji {
	display: inline;
	border: none;
	box-shadow: none;
	height: 1em;
	width: 1em;
	margin: 0 .07em;
	vertical-align: -.1em;
	background: 0 0;
	padding: 0;
}

@media screen and (max-width:1440px) {
	.review-item p{
		font-size: 14px;
    	line-height: 26px;
	}
	.review-sec .section-title{
		margin-bottom: 25px;	
	}
}

@media screen and (max-width:1024px) {
	.review-sec {
		margin-bottom: 80px;
	}

	.review-slider .slick-slide {
		margin: 0 10px;
	}

	.review-slider .slick-list {
		margin: 0 -10px;
	}

	.review-content {
		padding-left: 30px;
		width: calc(100% - 200px);
	}

	.review-img {
		width: 200px;
	}

	.review-sec .center-btn {
		margin-top: 35px;
	}

	.gr-inner {
		padding: 30px;
	}

	.gr-popup-body {
		font-size: 17px;
		line-height: 27px;
	}

	.gr-popup-content h3 {
		font-size: 20px;
		line-height: 30px;
	}
	.review-sec .section-title {
		margin-bottom: 20px;
	}

}

@media screen and (max-width:991px) {
	.gr-inner {
		max-height: 65vh;
	}
}

@media screen and (max-width:767px) {
	.review-sec .section-title {
		text-align: left;
	}

	.review-sec .center-btn {
		margin-top: 30px;
	}

	.review-item h3 {
		font-size: 16px;
		margin-top: 10px;
	}

	.review-sec {
		margin-bottom: 60px;
	}

	.custom-star-rating {
		margin-bottom: 9px;
		font-size: 22px;
	}

	.review-slider ul.slick-dots {
		margin-top: 7px !important;
	}

	.review-sec .center-btn .common-btn {
		padding: 10px 19px;
		width: fit-content;
	}

	.gr-inner {
		max-height: 85vh;
	}

	.gr-popup-body {
		font-size: 16px;
		line-height: 26px;
	}

	.gr-popup-content h3 {
		font-size: 18px;
		line-height: 28px;
		margin-bottom: 10px;
	}
}

@media screen and (max-width:576px) {

	.review-img,
	.review-content {
		width: 100%;
		padding: 0;
	}

	.review-img {
		margin-bottom: 24px;
		height: 230px;
	}
	.review-img img{
		object-fit: contain;
	}

	.gr-inner {
		padding: 20px;
	}
}