#reviews {
	clear: both;
	display: block;
	width: 100%;
	position: relative;
	z-index: 0;
	margin-bottom: 35px;
	font: normal 14px 'SHOP_FONT', Arial;
}

#reviews a{
	text-decoration: none;
}

#reviews .focus-comment {
	background-color: #ffffcc;
}
#reviews .form-comment {
	margin-top: 40px;
}

#reviews .comment {
	display: block;
	width: 100%;
	overflow-x: hidden;
}

#reviews .head{
	font: normal 22px 'SHOP_FONT', Arial;
	padding: 10px 20px;
	color: #999;
	margin-bottom: 30px;
	text-transform: uppercase;
	border: 1px solid #ccc;
	background-color: #eee;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;	
}

#reviews textarea {
	height: 255px;
	resize: vertical;
	/*overflow: hidden;*/
	padding: 10px 10px 45px 40px;	
	position: relative;
	z-index: 1;
}

#reviews input{
	padding: 10px 10px 13px 40px;
	
}

#reviews textarea, #reviews input{
	margin:5px 0;
	font: normal 15px 'SHOP_FONT', Arial;
	border: 0;
	width: 100%;
	outline: none;
	background-color: white;
	-webkit-box-shadow: 0 0px 40px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow: 0 0px 40px rgba(0, 0, 0, 0.1) inset;
	box-shadow: 0 0px 40px rgba(0, 0, 0, 0.1) inset;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;	
	-moz-box-sizing: border-box; 
	-opera-sizing: border-box; 
	-webkit-box-sizing: border-box; 
	-khtml-box-sizing: border-box; 
	box-sizing: border-box;
}

#reviews .click {
	margin: -44px 0 0 10px;
	position: relative;
	z-index: 1;
	
}

#reviews  textarea,  #reviews input{
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

#reviews textarea:hover, #reviews input:hover{
	background-color: #ccffcc;
}

#reviews textarea:focus, #reviews input:focus{
	background-color: #ffffcc;
}

#reviews .correctImg{
	margin: 14px 0 0 10px;
	z-index: 2;
}

#reviews .reviewUser {
	font: normal 14px 'SHOP_FONT', Arial;
	margin-bottom: 30px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;	                  
	border-top: none;              
	padding: 5px 15px 0px 10px;
	color: #333; 
	border: 1px solid rgba(0,0,0,.09);
	-webkit-box-shadow: 0 0px 100px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow: 0 0px 100px rgba(0, 0, 0, 0.1) inset;
	box-shadow: 0 0px 100px rgba(0, 0, 0, 0.1) inset;

}
	
#reviews .colorGood {
	background: rgba(0,0,0,.005);  
}

#reviews .colorGood:hover {
	border: 1px solid #ccc;
}

#reviews .redBG{
	background: #ecbdb5;  
}

#reviews .userName {
	font: normal 20px 'SHOP_FONT', Arial;
	margin-bottom: 5px;
	text-shadow: 1px 1px 0px #aaa;
}

#reviews .date,  #reviews .time{
	font: normal 12px 'SHOP_FONT', Arial;
	color: #999;
	text-shadow: none;
	padding-left: 5px;
	text-shadow: 1px 1px 0px #fff;
}

#reviews .time{
	font:normal 10px 'SHOP_FONT', Arial;
}

#reviews .quote{
	margin: 15px -25px 13px 0;
}

#reviews .font-quote{
	font: italic 11px 'SHOP_FONT', Arial;
}

#reviews .replay {
	max-width: 93%;
	margin:5px;
	padding: 10px 10px 10px 10px;
	font: italic 10px 'SHOP_FONT', Arial;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;	
	background-color: #fff;
	-webkit-box-shadow: 1px 1px 2px #444;
	-moz-box-shadow: 1px 1px 2px #444;
	box-shadow: 1px 1px 2px #444;
	position: relative;
}

#reviews .replay:before{
	content: "";
	position: absolute;
	z-index: 1000;
	bottom: -22px;
	left: 3%;
	margin-left: 3px;
	border-top: 10px solid #444;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid transparent;
}
#reviews .replay:after	{
	content: "";
	position: absolute;
	z-index: 1000;
	bottom: -25px;
	left: 3%;
	border-top: 13px solid white;
	border-left: 13px solid transparent;
	border-right: 13px solid transparent;
	border-bottom: 13px solid transparent;
}

#reviews .titleReplay {
	font:normal 14px 'SHOP_FONT', Arial;
	text-align: right;
	/*padding-bottom: 5px;
	margin-bottom: 15px;*/
}

#reviews .quote-color{
	border-left: solid #f5e604 5px; 
	border-radius: 5px 0 0 5px;
	-webkit-border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px;
	-khtml-border-radius: 5px 0 0 5px;	
}

#reviews .padding{
	padding: 15px;
}

#reviews .captcha{
	margin: -50px 0 0 135px;
	position: absolute;
	display: inline-block;
	z-index: 2;
}

#reviews .captcha input{
	width: 40px;
	padding: 5px;
	margin: 20px 0 0 0px;
	text-align: center;
	position: relative;
	z-index: 2;
}
/* Общие настройки контейнера */
#reviews .stars {
    display: flex;
    width: 20%;
	min-width: 300px;
	padding: 5px 0;
    justify-content: space-between; /* Равномерное распределение звёзд */
    align-items: center;
    gap: 5px; /* Расстояние между звёздами */
    direction: rtl; /* Инвертируем направление элементов для наглядности */
}


#reviews .stars span {
    width: 40px;
    height: 40px;
	/*border: 1px solid #ccc;*/
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    color: black;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: all .2s ease-in-out;
    user-select: none;
    position: relative;
    display: inline-flex;   
    align-items: center;    
    justify-content: center;
}


#reviews .stars span::before {
    content: "\2605";
    font-size: 40px;
    color: #aaa;
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#reviews .stars span.active::before {
    color: yellow;
}


#reviews .stars span:hover::before,
#reviews .stars span.active::before {
    color: orange; 
}


#reviews .stars span:hover ~ span::before {
    color: orange;
	
}

#reviews .stars span:hover ~ span:nth-last-child(1)::before,
#reviews .stars > span:nth-last-child(1)::before {
	content: '\d7'; 
	top: 50%;
	font-size: 50px;	
}

#reviews .stars span.active {
	transform: scale(1.2);
    outline: none;
}

#reviews .rating-me {
    position: relative;
	font:normal 20px 'SHOP_FONT', Arial;
	color: #222;
	text-shadow: none;
	float: right;
	width: 80px;
	text-align: right;
	z-index: 1;
}

#reviews .rating-me:before {
    content: "\2605";
    font-size: 40px;
    color: orange;
    position: absolute;
	z-index: -1;
    top: 10px;
    left: 50px;
    transform: translate(-50%, -50%);
}

#reviews .rating-total{
	position: absolute;
	right: 8px;
	top: 6px;
	color: #666;
	font:normal 20px 'SHOP_FONT', Arial;
}

#reviews .rating-total b{
	position: relative;
	color: #eee;
	top: 3px;
	font:bold 26px 'SHOP_FONT', Arial;
	background-color: #aaa;
	padding: 5px;
	margin: 0 0 0 5px; 
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;	
}

/*LENTA*/
#reviews .reviews-box-left,
#reviews .reviews-box-right {
	width: 49%;
	float: left;
}

#reviews .reviews-box-right {
	float: right;
}

#reviews .lenta-box {
	cursor: pointer;
	display: block;
	clear: both;
	background-color: #f4f4f4;
	padding: 15px 15px;
	margin: 15px 0;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}

#reviews .lenta-title{
	width: 88%;
	display: block;
	float: left;
	font:normal 18px 'SHOP_FONT', Arial;
	color: #999;
	text-transform: uppercase;
}
#reviews .lenta-rating{
	position: relative;
	z-index: 1;
	display: block;
	float: right;
	width: 9%;
	font:bold 30px 'SHOP_FONT', Arial;
}

#reviews .lenta-rating:before {
    content: "\2605";
    font-size: 40px;
    color: orange;
    position: absolute;
	z-index: -1;
    top: -10px;
    right: 0;
}

#reviews .lenta-box-clear{
	display: block;
	clear: both;
	padding: 15px 0 0 0;
}
#reviews .lenta-img{
	float: left;
	width: 120px;
	height: 120px;
	margin: 0 15px 0 0;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

#reviews .lenta-img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: #fff;
}

#reviews .lenta-txt{
	font:normal 18px 'SHOP_FONT', Arial;
	color: #333;
}

#reviews .lenta-box:hover {
	background-color: #aaa;
}

#reviews .lenta-box:hover .lenta-title,
#reviews .lenta-box:hover .lenta-txt{
	color: #eee;
}

#reviews .lenta-box:hover .lenta-rating,
#reviews .lenta-box:hover > .lenta-rating:before {
	color: #fff;
}

@media (max-width:1300px){
	#reviews .stars {
		width: 27%;
		min-width: auto;
	}
}

@media (max-width:900px){
	#reviews .reviews-box-left,
	#reviews .reviews-box-right {
		width: 100%;
		margin: 10px auto;
		float: none;
		clear: both;
	}

	#reviews .lenta-title{
		font:normal 12px 'SHOP_FONT', Arial;
	}

	#reviews .lenta-rating{
		font:bold 20px 'SHOP_FONT', Arial;
	}

	#reviews .lenta-rating:before {
		font-size: 26px;
		top: -6px;
		right: -8px;
	}

	#reviews .lenta-img{
		width: 70px;
		height: 70px;
	}

	#reviews .lenta-txt{
		font:normal 14px 'SHOP_FONT', Arial;
	}


	#reviews .captcha{
		margin: -54px 0 0 135px;
	}
	
	#reviews .click {
		margin: -54px 0 0 10px;
		
	}
	
	#reviews .stars {
		width: 100%;
		min-width: auto;
	}

	#reviews .head{
		font: normal 18px 'SHOP_FONT', Arial;
		padding: 14px 15px;
	}
}