/* Эварус — отзывы в карточках, плашка «Дозвонились?», форма отзыва (www/js/reviews.js). 2026 */
.ad__rating { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 8px 3px 0; border: 0; background: none; font: inherit; font-size: 14px; color: #59636d; cursor: pointer; }
.ad__rating:hover b, .ad__rating:hover { color: #1479a6; }
.ad__rating b { color: #2f363d; }
.ad__stars { display: inline-flex; gap: 1px; font-size: 15px; line-height: 1; letter-spacing: 0; }
.ad__stars i { font-style: normal; color: #dfe3e7; }
.ad__stars i.on { color: #f5b301; }

.ad__reviews { grid-area: rev; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: #f8fafb; border: 1px solid #edf0f2; }
.ad__reviews[hidden] { display: none; }
.ad__rv-q { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #59636d; }
.ad__rv-q b { color: #1e8a4c; }
.rv { padding: 12px 0; border-top: 1px solid #e8ecef; }
.ad__rv-q + .rv, .ad__reviews > .rv:first-child { border-top: 0; }
.rv__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: #2f363d; }
.rv__date { font-size: 12px; color: #9aa3ab; }
.rv__badge { padding: 1px 7px; border-radius: 8px; background: #e3f5fd; color: #1479a6; font-size: 11px; }
.rv__answers { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 0 !important; font-size: 13px; }
.rv__answers .yes { color: #1e8a4c; }
.rv__answers .no { color: #c0392b; }
.rv__text { margin: 6px 0 0 !important; font-size: 14px; line-height: 1.55; color: #3a4148; }
.rv__reply { margin-top: 8px; padding: 8px 12px; border-left: 3px solid #1da8e1; background: #fff; border-radius: 0 8px 8px 0; font-size: 13px; color: #59636d; }
.rv__reply b { color: #2f363d; }
.rv__reply p { margin: 4px 0 0 !important; line-height: 1.5; }
.rv__more { margin: 6px 0 0 !important; font-size: 12px; color: #9aa3ab; }
.rv__write { margin-top: 10px; height: 38px; padding: 0 16px; border: 2px solid #1da8e1; border-radius: 10px; background: #fff; color: #1479a6; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.rv__write:hover { background: #e3f5fd; }
.ad__link { margin-left: 10px; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; color: #8a939b; cursor: pointer; text-decoration: underline dotted; }
.ad__link:hover { color: #1a8fc4; }

/* Плашка «Дозвонились?» */
.rv-sheet { position: fixed; z-index: 9000; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); padding: 16px 44px 16px 18px; border-radius: 16px; background: #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .22); animation: rv-up .25s ease-out; }
.rv-sheet[hidden] { display: none; }
@keyframes rv-up { from { transform: translate(-50%, 30px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.rv-sheet__close { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; border: 0; background: none; font-size: 24px; line-height: 1; color: #9aa3ab; cursor: pointer; }
.rv-sheet__title { margin: 0 !important; font-size: 15px; line-height: 1.45; color: #3a4148; }
.rv-sheet__title b { color: #2f363d; }
.rv-sheet__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rv-sheet__btn { padding: 9px 14px; border-radius: 20px; border: 1px solid #dfe5e9; background: #fff; font: inherit; font-size: 14px; color: #3a4148; cursor: pointer; }
.rv-sheet__btn:hover { border-color: #e8746f; color: #b3322b; }
.rv-sheet__btn_ok { border-color: #9fe0bb; background: #e9f8ef; color: #1e6b3a; font-weight: 700; }
.rv-sheet__btn_ok:hover { border-color: #2bb673; color: #1e6b3a; }

/* Форма отзыва */
html.rv-lock { overflow: hidden; }
.rv-modal { position: fixed; z-index: 9500; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 26, 31, .55); }
.rv-modal__box { position: relative; width: 100%; max-width: 520px; max-height: 100%; overflow: auto; padding: 24px 24px 20px; border-radius: 18px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.rv-modal__close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; background: none; font-size: 28px; line-height: 1; color: #9aa3ab; cursor: pointer; }
.rv-form { display: flex; flex-direction: column; gap: 14px; }
.rv-form[hidden] { display: none; }
.rv-form__title { margin: 0 !important; font-size: 20px; font-weight: 900; color: #2f363d; }
.rv-form__ad { margin: -10px 0 0 !important; font-size: 14px; color: #6b747c; }
.rv-stars { display: flex; gap: 4px; }
.rv-stars button { width: 46px; height: 46px; border: 0; background: none; padding: 0; font-size: 40px; line-height: 1; color: #dfe3e7; cursor: pointer; transition: transform .1s; }
.rv-stars button.on { color: #f5b301; }
.rv-stars button:hover { transform: scale(1.1); }
.rv-stars__hint { margin: -8px 0 0 !important; font-size: 13px; color: #8a939b; }
.rv-qs { display: flex; flex-direction: column; gap: 8px; }
.rv-q { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: #3a4148; }
.rv-q__btns { display: inline-flex; padding: 3px; border-radius: 10px; background: #eef2f5; flex: 0 0 auto; }
.rv-q__btns button { min-width: 52px; padding: 6px 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14px; color: #6b747c; cursor: pointer; }
.rv-q__btns button.on[data-v="1"] { background: #2bb673; color: #fff; }
.rv-q__btns button.on[data-v="0"] { background: #e8746f; color: #fff; }
.rv-field { display: block; }
.rv-field span { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 700; color: #3a4148; }
.rv-field i { font-style: normal; font-weight: 400; color: #9aa3ab; }
.rv-field input, .rv-field textarea { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid #d5dce1; border-radius: 10px; font: inherit; font-size: 16px; color: #2f363d; background: #fff; }
.rv-field textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.rv-field input:focus, .rv-field textarea:focus { outline: 0; border-color: #1da8e1; box-shadow: 0 0 0 3px rgba(29, 168, 225, .15); }
.rv-field input[readonly] { background: #f5f7f9; color: #6b747c; }
.rv-field input[name="code"] { max-width: 140px; font-size: 22px; letter-spacing: 6px; text-align: center; }
.rv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rv-code { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.rv-code[hidden] { display: none; }
.rv-link { padding: 0 0 12px; border: 0; background: none; font: inherit; font-size: 13px; color: #1a8fc4; cursor: pointer; }
.rv-link:disabled { color: #9aa3ab; cursor: default; }
.rv-note { margin: 0 !important; font-size: 13px; line-height: 1.5; color: #8a939b; }
.rv-err { margin: 0 !important; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #9b2c26; font-size: 14px; }
.rv-err[hidden] { display: none; }
.rv-captcha:empty { display: none; }
.rv-submit { height: 50px; border: 0; border-radius: 12px; background: #1da8e1; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.rv-submit:hover { background: #1497cd; }
.rv-submit:disabled { opacity: .7; cursor: default; }
.rv-legal { margin: -4px 0 0 !important; font-size: 12px; color: #9aa3ab; }
.rv-done { text-align: center; padding: 20px 0 4px; display: flex; flex-direction: column; gap: 12px; }
.rv-done[hidden] { display: none; }
.rv-done__icon { width: 60px; height: 60px; margin: 0 auto; border-radius: 50%; background: #e9f8ef; color: #2bb673; font-size: 30px; font-weight: 700; line-height: 60px; }
@media (max-width: 560px) {
  .rv-modal { align-items: flex-end; padding: 0; }
  .rv-modal__box { max-height: 94%; border-radius: 18px 18px 0 0; padding: 20px 16px 16px; }
  .rv-row { grid-template-columns: 1fr; }
  .rv-stars button { width: 42px; height: 42px; font-size: 36px; }
  .rv-sheet { bottom: 10px; padding: 14px 40px 14px 14px; }
  .rv-sheet__btn { padding: 8px 12px; font-size: 13px; }
  .ad__link { margin-left: 8px; }
}
