/* ============================================= */
/*              LOCAL REVIEWS                    */
/* ============================================= */
html:has(.lr-modal.is-open) header,  html:has(.lr-modal.is-open)  .marquee-slider{
	z-index: 1!important;
}
.lr-container {
    margin: 50px 0; 
	display: flex;
	position: relative;
	gap: 20px;
}

.lr-header {
	box-shadow: 0px 4px 5px 0px #44444440;
	padding: 15px;
	position: relative;
	border-radius: 5px;
}

.lr-left h3 {
	font-family: Montserrat;
	font-size: 25px;
    font-weight: 700;
    margin: 0 0 30px;
    color: #000;
}
.lr-left p {
	font-family: Montserrat;
    color: #000000;
    font-size: 20px;
    font-weight: 400;
	margin-bottom: 30px;
}
.lr-big-rate {  
	font-family: Montserrat;
	font-size: 45px;
    font-weight: 400;
    color: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.lr-big-stars {font-size: 25px;color: #ffc107;margin-left: 10px; display: flex; align-content: center;gap:8px;}
.lr-big-stars span{
	color: #000;
	font-size: 16px;
	font-weight: 700;
}
.lr-add-btn {background:#7AB84F;color: #fff;border-radius:5px;border:none;font-size: 14px;font-weight: 900;cursor: pointer;  width:100%;  position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}
.lr-add-btn:hover {background: #649740;color: #fff;}
.lr-item {
	box-shadow: 0px 4px 5px 0px #44444440;
	padding: 15px;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	border-radius: 5px;
	min-height: 300px;
	height: 100%;
}
#opinie-swiper  .swiper-slide{
	height: initial!important;
	min-width: 370px!important;
}
.lr-top {display: flex;justify-content: space-between;align-items: center;margin-top: 30px;}
.lr-top strong {
	font-family: "Inter", sans-serif;
	font-size: 22px;
    color: #000;
    font-weight: 700;
}
.lr-stars {color: #ffc107;font-size: 24px;}
.lr-stars span {    
	font-weight: 700;
    color: #000000;
    font-size: 16px;
    line-height: 130%;
}
.lr-text {    
	font-family: "Inter", sans-serif;

	line-height: 1.3;
    color: #000;
    font-size: 22px;
}

/* ПОПАП */
/* ПОПАП – плавное появление без display:none */
.lr-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.75);
    z-index: 999999;
    display: flex !important;           /* ← всегда flex (не display:none!) */
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    box-sizing: border-box;

    /* Скрыт по умолчанию */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lr-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.lr-modal-content {
    background: #fff;
    max-width: 600px;
    width: 100%;
    border-radius: 5px;
    padding: 30px;
    position: relative;
	top: 10px;
}

.lr-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 50px;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}
.lr-close:hover {color: #000;}

.lr-modal-content h3 {
	font-family:"Montserrat";
	margin: 0 0 20px;
    font-size: 25px;
	max-width: 90%;
    font-weight: 700;
}

.lr-form input[type=text],
.lr-form input[type=email],
.lr-form textarea {
    width: 100%;
    padding: 10px!important;
    margin: 3px 0 15px;
    border: 1px solid #00000080!important;
    border-radius: 5px!important;
    font-size: 14px;
    box-sizing: border-box;
	font-family:"Montserrat";
	height: 40px!important;
}
.lr-form label {
	color: #000;
	font-family:"Montserrat";
	font-size: 20px;
	font-weight: 400;
}
.lr-form textarea {resize: vertical;}

/* ЗВЁЗДОЧКИ 1→5 СЛЕВА НАПРАВО */
.lr-stars-wrap {
	text-align: center;
    margin: 35px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.lr-stars {display: inline-block;direction: ltr;}
.lr-stars input {display: none;}
.lr-stars label {
    font-size: 25px;
    color: #ddd;
    cursor: pointer;
    transition: color .2s;
	float: right;
    margin: 0 3px;
}
.lr-stars label:hover,
.lr-stars label:hover ~ label {color: #ffc107 !important;}
.lr-stars input:checked ~ label,
.lr-stars input:checked + label {color: #ffc107 !important;}

.lr-current {font-size: 16px;font-weight: bold;color: #000;}

.lr-form button {
    background: #7AB84F;
    color: #fff;
    border: none;
    padding: 11px 35px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 900;
	line-height: 130%;
    cursor: pointer;
	text-transform: uppercase;
}
.lr-form button:hover {background: #649740;color: #fff;}

.lr-msg {
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}
.lr-msg.success {background: #d4edda;color: #155724;margin-top: 10px; padding: 10px;}
.lr-msg.error {background: #f8d7da;color: #721c24;margin-top: 10px; padding: 10px;}

.lr-form small{
	display: block;
}
.lr-form small, .lr-form small a  {
    font-size: 12px;
	line-height: 105%;
    color: #00000080;
    margin: 0 0 35px 0;
    font-family: 'Montserrat';
}
#opinie-swiper{
	padding: 3px;
}
.swiper-pagination-opinie{
	display: flex;
    align-items: center;
    justify-content: center;
	min-height: 30px;
	position: absolute;
	bottom: -70px!important;
}
.swiper-pagination-opinie .swiper-pagination-bullet{
	background: #000000;
}
/* #opinie-swiper .swiper-wrapper{
	padding-bottom: 50px;
}
 */

.lr-container:not(:has(.lr-header)) .swiper-container {
    max-width: 100%;
} 
.lr-container:has(.lr-header) .swiper-container {
    max-width: 66%;	
}

.rewiew-product-title{
	font-family: 'Montserrat';
	font-size: 20px;
	color: #000;
}

/* ВАЛИДАЦИЯ ФОРМЫ */
.lr-form.was-validated input.error,
.lr-form.was-validated textarea.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220,53,69,.15);
}

.lr-form.was-validated .lr-stars-wrap.error::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 100%;
    height: 4px;
    background: #dc3545;
    border-radius: 2px;
}

.lr-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: -25px;
    font-weight: 500;
    text-align: left;
    position: absolute;
}

/* Кнопка неактивная */
.lr-form button:disabled {
    background: #868686 !important;
    cursor: not-allowed;
}

/* Позиционирование ошибок под звёздами */
.lr-stars-wrap {
    position: relative;
}

.lr-product-image{
	display: flex;
	flex-direction: row;
	gap: 35px;
}

.lr-rating-shortcode{
	display: flex;
	gap: 8px;
	align-items: center;
}
.lr-rating-shortcode .lr-rating-stars {
	font-size: 25px;
	color: #ffc107;
	display: flex; 
	align-content: center;
	gap:8px;
}
.lr-rating-shortcode .lr-rating-text{
	font-size: 16px;
	font-weight: 700;
	color: #000;
}

@media (min-width:980px){
	.lr-header {
		width: 32%;	
	}
}
@media (max-width:980px){
	.swiper-pagination-opinie{
		position: initial;
	}
	.lr-container {
		flex-direction: column-reverse;
	}
	
	.lr-container:has(.lr-header) .swiper-container{
		max-width: initial;	
	}
}
@media (max-width:760px){
	.lr-product-image img{
		max-width: 130px!important;
	}
	.lr-form label:not(.lr-stars label), .rewiew-product-title{
		font-size: 14px;
		line-height: 105%;
	}
}