/* VCL Reviews page */
.vcl-rv { --rv-ink: #111; --rv-muted: #555; --rv-star: #e8731a; --rv-line: #e4e4e4; max-width: min(1840px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 80px; color: var(--rv-ink); }
.vcl-rv * { box-sizing: border-box; }
.vcl-rv__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.vcl-rv__title { margin: 0 0 22px; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.12; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.vcl-rv__intro p { margin: 0; max-width: 640px; font-size: 15px; line-height: 1.6; color: var(--rv-muted); }
.vcl-rv-summary { grid-column: 2; grid-row: 1; display: flex; gap: 32px; align-items: center; justify-content: flex-end; }
.vcl-rv-summary[hidden] { display: none; }
.vcl-rv-summary__avg { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.vcl-rv-summary__avg strong { font-size: 54px; font-weight: 300; line-height: 1; }
.vcl-rv-summary__avg small { color: var(--rv-muted); font-size: 12px; }
.vcl-rv-summary__dist { list-style: none; margin: 0; padding: 0; min-width: 220px; }
.vcl-rv-summary__dist li { display: grid; grid-template-columns: 34px 1fr 34px; gap: 8px; align-items: center; font-size: 12px; line-height: 1.9; }
.vcl-rv-summary__dist i { display: block; height: 5px; background: #ddd; border-radius: 3px; overflow: hidden; }
.vcl-rv-summary__dist b { display: block; height: 100%; background: #111; }
.vcl-rv-summary__dist em { font-style: normal; text-align: right; color: var(--rv-muted); }
.vcl-rv-stars { position: relative; display: inline-block; width: 5.6em; height: 1em; font-size: 16px; line-height: 1; color: #ddd; vertical-align: middle; }
.vcl-rv-stars::before { content: "★★★★★"; position: absolute; inset: 0; letter-spacing: .1em; }
.vcl-rv-stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--rv-star); white-space: nowrap; }
.vcl-rv-stars__fill::before { content: "★★★★★"; letter-spacing: .1em; }
.vcl-rv-stars.is-lg { font-size: 22px; }

.vcl-rv__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 44px 0 22px; flex-wrap: wrap; }
.vcl-rv-tabs { display: flex; gap: 32px; flex-wrap: wrap; }
.vcl-rv-tab { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 15px; color: #8a8a8a; cursor: pointer; border-bottom: 2px solid transparent; border-radius: 0; }
.vcl-rv-tab.is-active, .vcl-rv-tab:hover { color: var(--rv-ink); border-bottom-color: var(--rv-ink); background: none; }
.vcl-rv-sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--rv-muted); }
.vcl-rv-sort select { border: 1px solid #ccc; padding: 6px 28px 6px 10px; font: inherit; font-size: 13px; background: #fff; }

.vcl-rv-panel[hidden] { display: none; }
.vcl-rv-grid { column-count: 3; column-gap: 18px; }
.vcl-rv-grid > * { break-inside: avoid; margin: 0 0 18px; }
.vcl-rv-card, .vcl-rv-lead { background: #fff; border: 1px solid var(--rv-line); border-radius: 14px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.vcl-rv-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.vcl-rv-card__head .vcl-rv-stars { margin-left: auto; font-size: 15px; }
.vcl-rv-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-weight: 700; }
.vcl-rv-card__who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.vcl-rv-card__who strong { font-size: 14px; }
.vcl-rv-card__who time { font-size: 12px; color: var(--rv-muted); }
.vcl-rv-verified { font-size: 12px; color: #1f7a3a; }
.vcl-rv-verified::before { content: "✓ "; }
.vcl-rv-card__text { font-size: 14px; line-height: 1.6; }
.vcl-rv-card__text p { margin: 0 0 8px; }
.vcl-rv-card__media { display: block; width: 100%; height: auto; margin-top: 12px; border-radius: 8px; }
.vcl-rv-card__src { display: inline-block; margin-top: 10px; font-size: 13px; color: #1a56db; }
.vcl-rv-card__product { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rv-line); color: inherit; text-decoration: none; }
.vcl-rv-card__product img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: #f1f1f1; }
.vcl-rv-card__product strong { display: block; font-size: 14px; }
.vcl-rv-card__price { display: block; font-size: 13px; color: var(--rv-muted); }
.vcl-rv-lead { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 28px 20px; }
.vcl-rv-lead--web { background: #111; color: #fff; border-color: #111; }
.vcl-rv-lead--web strong { font-size: 22px; letter-spacing: .04em; }
.vcl-rv-lead__stars { font-size: 34px; letter-spacing: .12em; }
.vcl-rv-lead__hint { margin: 0; font-size: 13px; opacity: .8; }
.vcl-rv-lead__g { font-size: 28px; font-weight: 700; letter-spacing: .02em; }
.vcl-rv-btn { display: inline-block; background: #111; color: #fff; border: 1px solid #111; border-radius: 999px; padding: 10px 26px; font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; }
.vcl-rv-btn:hover { background: #333; color: #fff; }
.vcl-rv-btn--light { background: #fff; color: #111; border-color: #fff; }
.vcl-rv-btn--light:hover { background: #e9e9e9; color: #111; }
.vcl-rv-empty { text-align: center; color: var(--rv-muted); padding: 40px 12px 10px; margin: 0; font-size: 15px; }

.vcl-rv-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 16px; }
.vcl-rv-modal[hidden] { display: none; }
.vcl-rv-modal__box { position: relative; background: #fff; width: min(520px, 100%); border-radius: 14px; padding: 28px; }
.vcl-rv-modal__box h3 { margin: 0 0 14px; font-size: 20px; }
.vcl-rv-modal__close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }
.vcl-rv-rate { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.vcl-rv-rate legend { float: left; width: 100%; font-size: 13px; margin-bottom: 4px; }
.vcl-rv-rate input { position: absolute; opacity: 0; }
.vcl-rv-rate label { font-size: 30px; color: #ccc; cursor: pointer; line-height: 1; }
.vcl-rv-rate input:checked ~ label, .vcl-rv-rate label:hover, .vcl-rv-rate label:hover ~ label { color: var(--rv-star); }
.vcl-rv-rate input:focus-visible + label { outline: 2px solid #315b9b; }
#vcl-rv-form textarea { width: 100%; border: 1px solid #ccc; border-radius: 8px; padding: 10px; font: inherit; }
.vcl-rv-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.vcl-rv-note { font-size: 12px; color: var(--rv-muted); }
.vcl-rv-msg { min-height: 1.4em; font-size: 13px; }
.vcl-rv-msg.is-error { color: #b00020; }
.vcl-rv-msg.is-ok { color: #1f7a3a; }

@media (max-width: 1100px) { .vcl-rv-grid { column-count: 2; } }
@media (max-width: 900px) {
	.vcl-rv__top { grid-template-columns: 1fr; gap: 24px; }
	.vcl-rv-summary { grid-column: 1; grid-row: auto; justify-content: flex-start; }
}
@media (max-width: 640px) {
	.vcl-rv { max-width: calc(100% - 24px); padding: 32px 0 56px; }
	.vcl-rv-grid { column-count: 1; }
	.vcl-rv-tabs { gap: 18px; width: 100%; overflow-x: auto; }
	.vcl-rv-tab { font-size: 14px; white-space: nowrap; }
	.vcl-rv-summary { flex-wrap: wrap; gap: 18px; }
	.vcl-rv-summary__dist { min-width: 0; flex: 1 1 200px; }
}

.vcl-rv-card__photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; margin-top: 12px; }
.vcl-rv-card__photos .vcl-rv-card__media { margin: 0; aspect-ratio: 1; object-fit: cover; }
#vcl-rv-form input[type="file"] { font-size: 13px; max-width: 100%; }
