/* ===== Stars ===== */
.exst-stars{display:inline-flex;align-items:center;gap:2px;vertical-align:middle;}
.exst-star{width:1em;height:1em;display:inline-block;background:#d4d8e0;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l7.1-1.01z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l7.1-1.01z'/%3E%3C/svg%3E") center/contain no-repeat;}
.exst-star.is-full{background:#f5a623;}
.exst-star.is-half{background:linear-gradient(90deg,#f5a623 50%,#d4d8e0 50%);}
.exst-stars--sm{font-size:14px;}
.exst-stars--md{font-size:18px;}
.exst-stars--lg{font-size:24px;}

/* ===== Catalog card rating ===== */
.exst-card-rating{display:flex;align-items:center;gap:7px;margin:8px 0 0;font-size:13px;color:#64748b;}
.exst-card-rating b{color:#0f172a;font-weight:800;}
.exst-card-rating__count{color:#94a3b8;}
.exst-card-rating__count::before{content:"·";margin-right:6px;color:#cbd5e1;}

/* ===== Product page summary ===== */
.exst-pd__rating{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;font-size:14px;color:#64748b;text-decoration:none;}
.exst-pd__rating b{color:#0f172a;font-weight:800;font-size:15px;}
.exst-pd__rating:hover span,.exst-pd__rating:hover a{color:var(--exst-accent,#4F46E5);}
.exst-pd__rating--empty a{color:var(--exst-accent,#4F46E5);}

/* ===== Tabs (Отзывы / Вопросы) ===== */
.exst-rtabs{margin-top:36px;}
.exst-rtabs__nav{display:flex;gap:28px;border-bottom:1px solid var(--exst-line,#e6eaf0);margin-bottom:24px;}
.exst-rtabs__tab{appearance:none;background:none;border:0;padding:0 0 14px;margin-bottom:-1px;font-size:19px;font-weight:700;color:#94a3b8;cursor:pointer;border-bottom:2px solid transparent;transition:color .15s;}
.exst-rtabs__tab sup{font-size:11px;font-weight:700;color:#94a3b8;margin-left:3px;}
.exst-rtabs__tab:hover{color:#475569;}
.exst-rtabs__tab.is-active{color:#0f172a;border-bottom-color:var(--exst-accent,#4F46E5);}
.exst-rtabs__tab.is-active sup{color:var(--exst-accent,#4F46E5);}
.exst-rtabs__panel{display:none;}
.exst-rtabs__panel.is-active{display:block;}

/* ===== Reviews head + list ===== */
.exst-reviews__head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:22px;}
.exst-reviews__avg{display:flex;align-items:center;gap:10px;}
.exst-reviews__avgnum{font-size:30px;font-weight:900;color:#0f172a;line-height:1;}
.exst-reviews__avgcount{color:#94a3b8;font-size:14px;}
.exst-reviews__empty{color:#64748b;}
.exst-reviews__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:18px;}
.exst-review{border:1px solid var(--exst-line,#e6eaf0);border-radius:14px;padding:18px 20px;background:#fff;}
.exst-review__top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;}
.exst-review__author{font-weight:800;color:#0f172a;}
.exst-review__date{color:#94a3b8;font-size:13px;}
.exst-review__ratings{display:flex;flex-wrap:wrap;gap:8px 18px;margin-bottom:12px;}
.exst-review__crit{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#475569;}
.exst-review__text{color:#1f2937;line-height:1.6;}
.exst-review__actions{margin-top:12px;}
.exst-review-form__subscribe{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#475569;margin:2px 0 14px;cursor:pointer;}
.exst-review-form__subscribe input{margin:0;width:16px;height:16px;}
.exst-review__reply{margin-top:12px;margin-left:28px;padding:12px 14px;background:#f6f8ff;border-left:3px solid var(--exst-accent,#4F46E5);border-radius:8px;font-size:14px;color:#334155;position:relative;}
.exst-review__reply::before{content:"↳";position:absolute;left:-20px;top:10px;color:var(--exst-accent,#4F46E5);font-weight:700;}
@media(max-width:560px){.exst-review__reply{margin-left:16px;}.exst-review__reply::before{left:-14px;}}

/* ===== Review modal ===== */
.exst-review-form__hint{font-size:13px;color:#64748b;margin:0 0 10px;}
.exst-rate-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid #f1f5f9;}
.exst-rate-row__label{font-weight:600;color:#334155;font-size:14px;}
.exst-rate-row__stars{display:inline-flex;gap:4px;}
.exst-rate-star{width:26px;height:26px;padding:0;border:0;background:#d4d8e0;cursor:pointer;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l7.1-1.01z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l7.1-1.01z'/%3E%3C/svg%3E") center/contain no-repeat;
	transition:transform .1s;}
.exst-rate-star:hover{transform:scale(1.15);}
.exst-rate-star.is-on{background:#f5a623;}
.exst-review-form__crits{margin-bottom:18px;}
.exst-review-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--exst-line,#e6eaf0);border-radius:10px;padding:12px 14px;font:inherit;resize:vertical;}
.exst-review-form__counter{font-size:12px;color:#94a3b8;margin:6px 0 14px;}
.exst-review-form__counter.is-ok{color:#16a34a;}
.exst-review-form__row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.exst-review-form__result{margin-top:12px;padding:10px 14px;border-radius:8px;font-size:14px;}
.exst-review-form__result.is-ok{display:flex;align-items:center;gap:8px;background:#fffbeb;border:1px solid #fde68a;color:#92660c;font-weight:600;}
.exst-review-form__result.is-ok::before{content:"";width:9px;height:9px;border-radius:50%;background:#f5b50a;flex:none;animation:exstRevPulse 1.4s ease-in-out infinite;}
@keyframes exstRevPulse{0%,100%{opacity:1;}50%{opacity:.35;}}
.exst-review-form__result.is-published{background:#ecfdf5;border:1px solid #86efac;color:#15803d;}
.exst-review-form__result.is-published::before{display:none;}
.exst-review-form__result.is-err{background:#fef2f2;color:#b91c1c;}
@media(max-width:560px){.exst-review-form__row{grid-template-columns:1fr;}.exst-rtabs__nav{gap:18px;}.exst-rtabs__tab{font-size:16px;}.exst-review__ratings{flex-direction:column;gap:8px;}}

/* ===== Homepage: best reviews ===== */
.exst-best{padding:28px 0;}
.exst-best__eyebrow{margin:0 0 14px;}
.exst-best__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;}
.exst-best__card{border:1px solid var(--exst-line,#e6eaf0);border-radius:14px;padding:18px 20px;background:#fff;}
.exst-best__top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;}
.exst-best__name{font-weight:800;color:#0f172a;font-size:14px;}
.exst-best__text{color:#334155;font-size:14px;line-height:1.55;margin:6px 0 10px;}
.exst-best__prod{font-size:13px;color:var(--exst-accent,#4F46E5);text-decoration:none;font-weight:600;}

/* Review permission gate */
.exst-review-gate{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap;justify-content:space-between;flex:1 1 100%;width:100%;}
.exst-review-gate__note{flex:1 1 auto;}
.exst-review-gate .exst-btn{flex:0 0 auto;margin-left:auto;}
.exst-review-gate__note{color:#64748b;font-size:14px;line-height:1.5;max-width:360px;}
