/* ===== Zz EvtinkoBG reviews modern - shared base ===== */
html.route-product-product { --evr-blue: rgb(0, 73, 174); --evr-blue-soft: rgba(0, 73, 174, .08); --evr-gold: #FFB400;
  --evr-line: #e6eaf0; --evr-empty: #d5dbe4; --evr-text: #1b2635; --evr-muted: #6b7686; --evr-bg: #f5f7fb; }

/* gold stars (price block, summary, list) */
.route-product-product .product-info .rating-page .fa-star,
.route-product-product .product-info .rating-page .fa-star + .fa-star-o,
.route-product-product #cireview-graph .fa-star, .route-product-product #cireview-graph .fa-star + .fa-star-o,
.route-product-product #cireview-aggerate .fa-star, .route-product-product #cireview-aggerate .fa-star + .fa-star-o,
.route-product-product #cireview .fa-star, .route-product-product #cireview .fa-star + .fa-star-o { color: var(--evr-gold) !important; }
.route-product-product .product-info .rating-page .fa-star-o:only-child,
.route-product-product #cireview-aggerate .fa-star-o:only-child,
.route-product-product #cireview .fa-star-o:only-child { color: var(--evr-empty) !important; }

/* JS star strip with partial fill */
.evr-stars { display: inline-block; font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1; letter-spacing: 2px; color: transparent;
  background: linear-gradient(90deg, var(--evr-gold) var(--evr-fill, 0%), var(--evr-empty) var(--evr-fill, 0%));
  -webkit-background-clip: text; background-clip: text; }
.evr-stars-lg { font-size: 22px; letter-spacing: 3px; }

/* ---- summary (only when JS ran) ---- */
html.evr-ready #cireview-aggerate { display: none !important; }
html.evr-ready.route-product-product #cireview-graph { display: grid; gap: 18px 40px; align-items: center; color: var(--evr-text); }
html.evr-ready #cireview-graph .evr-score { grid-area: score; display: flex; align-items: center; gap: 16px; }
html.evr-ready #cireview-graph .evr-avg { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -1px; color: var(--evr-text); }
html.evr-ready #cireview-graph .evr-meta { display: flex; flex-direction: column; gap: 6px; }
html.evr-ready #cireview-graph .evr-count { font-size: 15px; font-weight: 700; color: var(--evr-text); }
html.evr-ready #cireview-graph .evr-sub { font-size: 13px; color: var(--evr-muted); line-height: 1.4; }
html.evr-ready #cireview-graph #cireviewgraph { grid-area: bars; width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; }
html.evr-ready #cireview-graph .evr-empty ~ #cireviewgraph { display: none; }
html.evr-ready #cireview-graph .cireview-bars, html.evr-ready #cireview-graph .cireview-bars ul { width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; }
html.evr-ready #cireview-graph .cirating-filter { display: flex !important; align-items: center; gap: 12px; padding: 5px 6px; margin: 0 -6px; border-radius: 8px; cursor: pointer; float: none !important; width: auto !important; }
html.evr-ready #cireview-graph .cirating-filter:hover { background: var(--evr-bg); }
html.evr-ready #cireview-graph .evr-lbl { flex: 0 0 34px; font-size: 13px; font-weight: 700; color: var(--evr-text); white-space: nowrap; }
html.evr-ready #cireview-graph .progress { flex: 1 1 auto; height: 10px !important; margin: 0 !important; border-radius: 99px !important; background: #eef1f5 !important; box-shadow: none !important; overflow: hidden; float: none !important; width: auto !important; }
html.evr-ready #cireview-graph .progress .progress-bar { height: 100% !important; border-radius: 99px !important; box-shadow: none !important; }
html.evr-ready #cireview-graph .progress-value { flex: 0 0 48px; text-align: right; font-size: 13px; color: var(--evr-muted) !important; float: none !important; width: auto !important; margin: 0 !important; }
html.evr-ready #cireview-graph .cireview-write { grid-area: btn; justify-self: start; margin: 0 !important; float: none !important; }

/* customer photos */
.route-product-product #cireview-customerimages { background: none !important; border: 0 !important; padding: 0 !important; margin: 26px 0 8px !important; }
.route-product-product #cireview-customerimages h3 { font-size: 13px !important; font-weight: 700; letter-spacing: .4px; color: var(--evr-muted) !important; background: none !important; padding: 0 !important; margin: 0 0 10px !important; text-transform: uppercase; border: 0 !important; }
.route-product-product #cireview-customerimages > ul { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; margin: 0 0 8px !important; padding: 0 0 4px !important; -webkit-overflow-scrolling: touch; }
.route-product-product #cireview-customerimages > ul > li { padding: 0 !important; margin: 0 !important; flex: 0 0 auto; }
.route-product-product #cireview-customerimages > ul img { width: 76px !important; height: 76px !important; object-fit: cover; border-radius: 12px; border: 1px solid var(--evr-line); cursor: zoom-in; }
.route-product-product #cireview-customerimages .cisee-all { font-size: 13px; font-weight: 600; color: var(--evr-blue) !important; }

/* ---- review cards ---- */
.route-product-product #cireview .cireview-wrap { margin: 0; }
.route-product-product #cireview .evr-card { position: relative; margin: 0; padding: 0; border: 0 !important; background: none; box-shadow: none; }
html.evr-noreviews #cireview .cireview-wrap h4.text-center { display: none; }
.route-product-product #cireview .evr-card > .row { margin: 0 !important; display: block; }
.route-product-product #cireview .evr-card > .row > div { float: none !important; width: auto !important; padding: 0 !important; }
.route-product-product #cireview .evr-card > .row > div:first-child { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "av name badge" "av meta meta" "text text text"; column-gap: 12px; align-items: center; }
.route-product-product #cireview .evr-av { grid-area: av; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: #fff; background: var(--evr-blue); align-self: start; }
.route-product-product #cireview .evr-card h3 { grid-area: name; margin: 0 !important; padding: 0 !important; font-size: 15px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--evr-text) !important; line-height: 1.3 !important; }
.route-product-product #cireview .evr-card .verified { grid-area: badge; justify-self: end; margin: 0 !important; }
.route-product-product #cireview .evr-card ul.average { grid-area: meta; display: flex !important; align-items: center; gap: 10px; margin: 2px 0 0 !important; padding: 0 !important; list-style: none; }
.route-product-product #cireview .evr-card ul.average li { display: inline-flex !important; align-items: center; margin: 0 !important; padding: 0 !important; font-size: 13px; color: var(--evr-muted); }
.route-product-product #cireview .evr-card ul.average li:nth-child(2) { order: -1; }
.route-product-product #cireview .evr-card ul.average .control-label, .route-product-product #cireview .evr-card .ciratingcount { display: none !important; }
.route-product-product #cireview .evr-card ul.average .fa-stack { font-size: 8px; width: 1.9em; height: 1.9em; line-height: 1.9em; }
.route-product-product #cireview .evr-card > .row > div:first-child > p { grid-area: text; margin: 12px 0 0 !important; font-size: 15px !important; line-height: 1.6 !important; color: #2b3646 !important; }
.route-product-product #cireview .evr-card .cireviewattach_images { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0 !important; padding: 0 !important; border: 0 !important; }
.route-product-product #cireview .evr-card .cireviewattach_images li { padding: 0 !important; margin: 0 !important; }
.route-product-product #cireview .evr-card .cireviewattach_images img { width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 10px; border: 1px solid var(--evr-line); }
.route-product-product #cireview .evr-card ul.average li.evr-nodate { display: none !important; }
/* list footer + pagination */
.route-product-product #cireview .cireview-wrap > .row:last-of-type { margin: 6px 0 0 !important; font-size: 13px; color: var(--evr-muted); }
.route-product-product #cireview .pagination { margin: 6px 0 !important; }
.route-product-product #cireview .pagination > li > a, .route-product-product #cireview .pagination > li > span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px !important; }

/* price block */
.route-product-product .product-info .evr-rl .evr-pavg { font-weight: 800; color: var(--evr-text); margin-right: 6px; }

/* ---- review form (modal) ---- */
#cireview-modal.evr-form .modal-dialog { max-width: 560px; }
#cireview-modal.evr-form .modal-content { border: 0 !important; border-radius: 18px !important; overflow: hidden; box-shadow: 0 24px 70px -20px rgba(16, 24, 40, .35) !important; }
#cireview-modal.evr-form .modal-header { padding: 20px 24px 14px !important; border-bottom: 1px solid var(--evr-line, #e6eaf0) !important; }
#cireview-modal.evr-form .modal-title { font-size: 18px !important; line-height: 1.35 !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; padding-right: 30px; color: #1b2635; }
#cireview-modal.evr-form .modal-body { padding: 18px 24px 24px !important; }
#cireview-modal.evr-form .form-group { margin: 0 0 16px !important; display: block; }
#cireview-modal.evr-form .form-group::after { content: ''; display: table; clear: both; }
#cireview-modal.evr-form .control-label { float: none !important; width: 100% !important; max-width: none !important; display: block; text-align: left !important; padding: 0 0 6px !important; font-size: 14px !important; font-weight: 600 !important; color: #1b2635 !important; }
#cireview-modal.evr-form .form-group > div { float: none !important; width: 100% !important; max-width: none !important; padding: 0 !important; }
#cireview-modal.evr-form .form-control { width: 100% !important; max-width: none !important; height: 48px; border-radius: 12px !important; padding: 0 14px !important; font-size: 16px !important; color: #1b2635; box-shadow: none !important; transition: border-color .15s, box-shadow .15s, background .15s; }
#cireview-modal.evr-form textarea.form-control { height: auto; min-height: 120px; padding: 12px 14px !important; line-height: 1.5; resize: vertical; }
#cireview-modal.evr-form .form-control:focus { border-color: rgb(0, 73, 174) !important; box-shadow: 0 0 0 4px rgba(0, 73, 174, .14) !important; outline: 0; }
#cireview-modal.evr-form .help-block, #cireview-modal.evr-form .help-block span { font-size: 12px !important; color: #6b7686 !important; margin: 6px 0 0 !important; }
#cireview-modal.evr-form .cirating-input { display: flex; gap: 2px; margin-left: -6px; }
#cireview-modal.evr-form .cirating-input i { display: inline-flex !important; align-items: center; justify-content: center; width: 48px; height: 48px; font-size: 34px !important; cursor: pointer; color: #cfd6e0 !important; transition: transform .12s ease, color .12s; -webkit-tap-highlight-color: transparent; }
#cireview-modal.evr-form .cirating-input i.fa-star { color: #FFB400 !important; }
#cireview-modal.evr-form .cirating-input i:hover { transform: scale(1.12); }
#cireview-modal.evr-form .evr-hint { display: block; margin-top: 2px; font-size: 13px; color: #6b7686; min-height: 18px; }
#cireview-modal.evr-form .evr-hint.evr-on { color: #1b2635; font-weight: 600; }
#cireview-modal.evr-form .ciattachupload .btn { height: 48px; border-radius: 12px !important; background: #fff !important; color: rgb(0, 73, 174) !important; border: 1.5px dashed #b9c6db !important; box-shadow: none !important; text-transform: none !important; font-weight: 600 !important; font-size: 14px !important; }
#cireview-modal.evr-form .ciattachupload .btn:hover { background: rgba(0, 73, 174, .05) !important; border-color: rgb(0, 73, 174) !important; }
#cireview-modal.evr-form .buttons { margin: 6px 0 0 !important; padding: 0 !important; border: 0 !important; text-align: initial !important; }
#cireview-modal.evr-form #button-cireview { width: 100%; height: 52px; font-size: 16px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; background: rgb(0, 73, 174) !important; color: #fff !important; border: 0 !important; box-shadow: 0 8px 20px -10px rgba(0, 73, 174, .7) !important; }
#cireview-modal.evr-form #button-cireview:hover { background: rgb(0, 58, 140) !important; }
#cireview-modal.evr-form .text-danger { font-size: 13px; margin-top: 6px; }
@media (max-width: 767px) {
  #cireview-modal.evr-form .modal-header { padding: 16px 18px 12px !important; }
  #cireview-modal.evr-form .modal-title { font-size: 17px !important; }
  #cireview-modal.evr-form .modal-body { padding: 16px 18px 20px !important; }
}
/* ===== Variant B: "Two-column, soft panel, editorial list" ===== */
html.evr-B.evr-ready #cireview-graph { grid-template-columns: 1fr; grid-template-areas: "score" "bars" "btn"; gap: 18px;
  padding: 24px; background: var(--evr-bg); border-radius: 20px; border: 0; }
html.evr-B.evr-ready #cireview-graph .evr-score { flex-direction: column; align-items: flex-start; gap: 10px; }
html.evr-B.evr-ready #cireview-graph .evr-avg { font-size: 64px; }
html.evr-B.evr-ready #cireview-graph .evr-avg::after { content: ' / 5'; font-size: 18px; font-weight: 600; color: var(--evr-muted); letter-spacing: 0; }
html.evr-B.evr-ready #cireview-graph .progress { height: 8px !important; background: #e3e8f0 !important; }
html.evr-B.evr-ready #cireview-graph .progress .progress-bar { background: var(--evr-blue) !important; }
html.evr-B.evr-ready #cireview-graph .cirating-filter:hover { background: #fff; }
html.evr-B.evr-ready #cireview-graph .cireview-write { width: 100%; height: 50px; border-radius: 999px !important; font-size: 15px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; background: var(--evr-blue) !important; box-shadow: 0 10px 22px -12px rgba(0, 73, 174, .8) !important; }
/* editorial review list */
html.evr-B #cireview .evr-card { padding: 22px 0; border-bottom: 1px solid var(--evr-line) !important; }
html.evr-B #cireview .evr-card:first-child { padding-top: 4px; }
html.evr-B #cireview .evr-av { background: linear-gradient(135deg, hsl(var(--evr-h, 214) 80% 52%), hsl(calc(var(--evr-h, 214) + 12) 90% 32%)); box-shadow: 0 6px 14px -8px rgba(0, 73, 174, .8); }
html.evr-B #cireview .evr-card .verified { font-size: 12px !important; font-weight: 600; color: #157f3b !important; background: none !important; border: 0 !important; padding: 0 !important; }
html.evr-B #cireview .evr-card .verified .fa { color: #1f9d4c !important; }
html.evr-B #cireview .evr-card > .row > div:first-child > p { font-size: 16px !important; line-height: 1.65 !important; padding-left: 56px; margin-top: 8px !important; }
html.evr-B #cireview .evr-card .cireviewattach_images { padding-left: 56px !important; }
/* form: filled inputs */
html.evr-B #cireview-modal.evr-form .form-control { background: #f3f5f9 !important; border: 1px solid transparent !important; }
html.evr-B #cireview-modal.evr-form .form-control:focus { background: #fff !important; border-color: rgb(0, 73, 174) !important; }
html.evr-B #cireview-modal.evr-form .cirating-input i { width: 52px; height: 52px; font-size: 38px !important; }
html.evr-B #cireview-modal.evr-form #button-cireview { border-radius: 999px !important; }
html.evr-B #cireview-modal.evr-form .modal-header { background: #f5f7fb; }
/* price chip */
html.evr-B .product-info .evr-rl { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
html.evr-B .product-info .evr-rl > b { display: none; }
html.evr-B .product-info .evr-rl a:first-child { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: #fff6dc; color: #6b4b00 !important; font-weight: 600; font-size: 13px; }
html.evr-B .product-info .evr-rl a:first-child::before { content: '\2605'; color: var(--evr-gold); margin-right: 6px; font-family: Arial, sans-serif; }
html.evr-B .product-info .evr-rl a:last-child { font-size: 13px; color: var(--evr-blue) !important; text-decoration: underline; text-underline-offset: 3px; }
/* desktop: summary + photos left, reviews right */
@media (min-width: 992px) {
  html.evr-B.evr-ready .evr-pane { display: grid; grid-template-columns: 330px minmax(0, 1fr); column-gap: 44px; column-rule: 0 none !important; align-items: start; }
  html.evr-B.evr-noreviews .evr-pane { display: block; }
  html.evr-B.evr-noreviews #cireview-graph { grid-template-columns: 1fr auto; grid-template-areas: "score btn"; }
  html.evr-B.evr-noreviews #cireview-graph .cireview-write { width: auto; padding: 0 30px !important; }
  html.evr-B.evr-ready .evr-pane > * { grid-column: 2; }
  html.evr-B.evr-ready .evr-pane > #cireview-graph { grid-column: 1; grid-row: 1; }
  html.evr-B.evr-ready .evr-pane > #cireview-customerimages { grid-column: 1; grid-row: 2; }
  html.evr-B.evr-ready .evr-pane > #form-cireview { grid-column: 2; grid-row: 1 / span 8; }
  html.evr-B.evr-ready .evr-pane > br, html.evr-B.evr-ready .evr-pane > style { display: none; }
}
@media (max-width: 767px) {
  html.evr-B.evr-ready #cireview-graph { padding: 18px 16px; }
  html.evr-B #cireview .evr-card > .row > div:first-child > p { padding-left: 0; font-size: 15px !important; }
  html.evr-B #cireview .evr-card .cireviewattach_images { padding-left: 0 !important; }
}

/* ===== v1.0.1: framed, bigger photos + solid list stars ===== */
html.evr-B { --evr-frame: #e3e8ef; --evr-tile: 104px; }
/* photos inside reviews */
html.evr-B #cireview .evr-card .cireviewattach_images { display: flex !important; flex-wrap: wrap; gap: 12px !important; margin: 14px 0 0 !important; }
html.evr-B #cireview .evr-card .cireviewattach_images li { list-style: none; }
html.evr-B #cireview .evr-card .cireviewattach_images a {
  display: block; box-sizing: border-box; width: var(--evr-tile); height: var(--evr-tile); padding: 6px;
  background: #fff; border: 1px solid var(--evr-frame); border-radius: 10px;
  box-shadow: 0 4px 14px -8px rgba(16, 24, 40, .28); cursor: zoom-in;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
html.evr-B #cireview .evr-card .cireviewattach_images img {
  display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: center;
  border: 0 !important; border-radius: 6px !important; padding: 0 !important; background: none !important; box-shadow: none !important; }
/* "Снимки на клиенти" grid in the left panel: 3 per row */
html.evr-B #cireview-customerimages > ul {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px !important;
  overflow: visible !important; margin: 0 0 12px !important; padding: 0 !important; }
html.evr-B #cireview-customerimages > ul > li {
  box-sizing: border-box; aspect-ratio: 1 / 1; padding: 6px !important; background: #fff;
  border: 1px solid var(--evr-frame); border-radius: 10px; box-shadow: 0 4px 14px -8px rgba(16, 24, 40, .28);
  cursor: zoom-in; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; list-style: none; }
html.evr-B #cireview-customerimages > ul img {
  display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: center;
  border: 0 !important; border-radius: 6px !important; cursor: zoom-in; }
/* hover lift */
html.evr-B #cireview .evr-card .cireviewattach_images a:hover,
html.evr-B #cireview-customerimages > ul > li:hover {
  transform: translateY(-2px); border-color: var(--evr-blue); box-shadow: 0 10px 22px -10px rgba(0, 73, 174, .45); }
html.evr-B #cireview .evr-card .cireviewattach_images a:focus-visible { outline: 2px solid var(--evr-blue); outline-offset: 2px; }
/* list stars: solid gold, readable size (8px icons looked pale) */
html.evr-B #cireview .evr-card ul.average .fa-stack { font-size: 14px !important; width: 16px !important; height: 16px !important; line-height: 16px !important; margin-right: 1px; }
html.evr-B #cireview .evr-card ul.average .fa-stack .fa-stack-2x { font-size: 14px !important; line-height: 16px !important; }
html.evr-B #cireview .evr-card ul.average .fa-star,
html.evr-B #cireview .evr-card ul.average .fa-star + .fa-star-o { color: #FFB400 !important; opacity: 1 !important; }
html.evr-B #cireview .evr-card ul.average .fa-star-o:only-child { color: var(--evr-empty) !important; opacity: 1 !important; }
@media (max-width: 767px) {
  html.evr-B { --evr-tile: 84px; }
  html.evr-B #cireview .evr-card .cireviewattach_images { gap: 10px !important; }
  html.evr-B #cireview-customerimages > ul { gap: 10px !important; }
}
