/* GS Yandex Reviews - Front */
.gs-yr{
  display:flex;
  align-items:stretch;
  width:100%;
  gap:var(--gsyr-gap, 40px);
  padding:var(--gsyr-padding, 0px);
}
.gs-yr *{ box-sizing:border-box; }

.gs-yr__left{
  width:340px;
  flex:0 0 340px;
  padding-right:18px;
  border-right:1px solid rgba(0,0,0,.08);
}
.gs-yr__rating{
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-bottom:18px;
}
.gs-yr__rating-value{
  font-size:56px;
  line-height:1;
  font-weight:600;
  font-family:var(--gsyr-rating-font, inherit);
}
.gs-yr__rating-meta{ padding-top:6px; }
.gs-yr__source{
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  opacity:.7;
}
.gs-yr__rating-text{
  margin-top:6px;
  font-size:12px;
  opacity:.8;
}
.gs-yr__rating-text a{ color:inherit; text-decoration:none; border-bottom:1px solid rgba(0,0,0,.2); }
.gs-yr__rating-text a:hover{ border-bottom-color:rgba(0,0,0,.45); }

.gs-yr__add-review{
  margin-top:10px;
  font-size:12px;
  opacity:.85;
}
.gs-yr__add-review a{
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,.2);
}
.gs-yr__add-review a:hover{ border-bottom-color:rgba(0,0,0,.45); }

.gs-yr-stars{
  display:inline-flex;
  gap:4px;
  margin-bottom:6px;
}
.gs-yr-stars__star{
  width:14px;
  height:14px;
  display:inline-block;
  background-size:contain;
  background-repeat:no-repeat;
}
.gs-yr-stars__star.is-full{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23b08b3e' d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}
.gs-yr-stars__star.is-half{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23b08b3e' d='M12 2v15.27L6.24 21l1.64-7.03L2 9.24l7.19-.61z'/%3E%3Cpath fill='%23d9d1c4' d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2'/%3E%3C/svg%3E");
}
.gs-yr-stars__star.is-empty{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d9d1c4' d='M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.64-7.03z'/%3E%3C/svg%3E");
}

.gs-yr__nav{
  display:flex;
  align-items:center;
  gap:12px;
  padding-top:4px;
}
.gs-yr__btn{
  width:44px;
  height:44px;
  border:var(--gsyr-icon-border-width, 1px) solid var(--gsyr-icon-border-color, rgba(0,0,0,.18));
  background:#fff;
  border-radius:var(--gsyr-icon-radius, 0px);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  padding:0;
  color:var(--gsyr-icon-color, inherit);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.gs-yr__btn i{
  font-size:var(--gsyr-icon-size, 22px);
  line-height:1;
}
.gs-yr__btn:hover{
  border-color:var(--gsyr-icon-hover-border-color, rgba(0,0,0,.35));
  background:var(--gsyr-icon-hover-bg, #fff);
  color:var(--gsyr-icon-hover-color, inherit);
}
.gs-yr__btn:focus,
.gs-yr__btn:active{
  box-shadow:none;
}
.gs-yr__btn:focus:not(:focus-visible){
  outline:none;
}
.gs-yr__counter{
  margin-left:6px;
  font-size:12px;
  letter-spacing:.06em;
  opacity:.7;
}

.gs-yr__right{
  flex:1 1 auto;
  min-width:0;
  padding-left:4px;
}
.gs-yr__slides{
  position:relative;
  min-height:220px;
}
.gs-yr__slide{
  position:absolute;
  inset:0;
  opacity:0;
  transform:translateX(24px);
  pointer-events:none;
  transition:opacity .45s ease, transform .45s ease;
}
.gs-yr__slide.is-active{
  opacity:1;
  transform:translateX(0);
  pointer-events:auto;
}
.gs-yr__slide.is-prev{
  opacity:0;
  transform:translateX(-24px);
}

.gs-yr__quote{
  font-size:44px;
  line-height:1;
  opacity:.12;
  margin-bottom:14px;
}
.gs-yr__text{
  font-family:var(--gsyr-review-font, inherit) !important;
  color:var(--gsyr-review-color, #000);
  font-weight:var(--gsyr-review-weight, 400);
  font-size:var(--gsyr-fs-desktop, 26px);
  line-height:1.35;
  max-width:none;
  width:100%;
}
.gs-yr__footer{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid rgba(0,0,0,.08);
  font-family:var(--gsyr-author-font, inherit) !important;
}
.gs-yr__name{
  font-weight:600;
  font-size:14px;
}
.gs-yr__date{
  margin-left:auto;
  font-size:12px;
  opacity:.65;
}

.gs-yr--empty{
  padding:16px;
  border:1px solid rgba(0,0,0,.12);
}

@media (max-width: 1366px){
  .gs-yr__text{ font-size:var(--gsyr-fs-1366, 22px); }
}
@media (max-width: 1024px){
  .gs-yr__text{ font-size:var(--gsyr-fs-tablet, 18px); }
  .gs-yr__left{ width:300px; flex:0 0 300px; }
}
@media (max-width: 900px){
  .gs-yr{
    flex-direction:column;
    gap:22px;
    padding:calc(var(--gsyr-padding, 0px) + 8px);
  }
  .gs-yr__left{
    width:100%;
    flex:0 0 auto;
    border-right:none;
    border-bottom:1px solid rgba(0,0,0,.08);
    padding-right:0;
    padding-bottom:16px;
  }
  .gs-yr__rating{
    align-items:center;
    margin-bottom:14px;
  }
  .gs-yr__rating-value{ font-size:44px; }
  .gs-yr__right{ padding-left:0; }
  .gs-yr__slides{ min-height:180px; }
}
@media (max-width: 767px){
  .gs-yr{
    padding:calc(var(--gsyr-padding, 0px) + 10px);
  }
  .gs-yr__text{ font-size:var(--gsyr-fs-mobile, 16px); }
  .gs-yr__slides{ min-height:160px; }
  .gs-yr__quote{ font-size:34px; margin-bottom:10px; }
  .gs-yr__footer{ margin-top:16px; padding-top:14px; }
  .gs-yr__btn{ width:42px; height:42px; }
}
