.reviews-page,
.reviews-page *,
.reviews-page *::before,
.reviews-page *::after {
    box-sizing: border-box;
}

.reviews-page {
    color: var(--ink);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.reviews-page .reviews {
    width: 100%;
}

.reviews-page #reviews-composite > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
    margin: 0 0 24px;
}

.reviews-page #reviews-composite > .row > .col-md-9,
.reviews-page #reviews-composite > .row > .col-md-3 {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
}

.reviews-page .reviews-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 190px;
    height: 100%;
    padding: 30px 34px;
    background: linear-gradient(135deg, var(--blue-soft), #fff);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.reviews-page .reviews-form-content {
    flex: 1 1 auto;
    min-width: 0;
}

.reviews-page .otz {
    margin: 0 0 10px;
    color: var(--ink);
    font-family: "Philosopher", Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.reviews-page .text_otz {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.reviews-page .button-rev-gray {
    flex: 0 0 auto;
    min-width: 190px;
    min-height: 48px;
    padding: 0 24px;
    color: #fff;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 999px;
    box-shadow: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.reviews-page .button-rev-gray:hover {
    color: #fff;
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.reviews-page .button-rev-gray:active {
    transform: translateY(1px);
}

.reviews-page #reviews-composite > .row > .col-md-3 {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 22px rgba(30, 36, 48, .06);
}

.reviews-page .font-weight-bold {
    margin: 0 0 9px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.reviews-page .commonRating {
    display: flex;
    gap: 3px;
    margin-bottom: 5px;
}

.reviews-page .commonRating span,
.reviews-page .ratingItem span,
.reviews-page .reviews-item-rating span {
    display: inline-block;
    width: 18px;
    height: 20px;
    font-size: 0;
    line-height: 1;
}

.reviews-page .commonRating span::before,
.reviews-page .ratingItem span::before,
.reviews-page .reviews-item-rating span::before {
    color: #e1e3e7;
    content: "★";
    font-size: 18px;
}

.reviews-page .commonRating span.active::before,
.reviews-page .ratingItem span.active::before,
.reviews-page .reviews-item-rating span.active::before {
    color: var(--red);
}

.reviews-page .commonRatingCount {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.reviews-page .ratingItemWrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 30px;
}

.reviews-page .ratingItem {
    display: flex;
    gap: 1px;
    border: 0;
    text-decoration: none;
}

.reviews-page .ratingItemWrap > a:last-child {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
}

.reviews-page .ratingItemWrap > a:last-child:hover {
    color: var(--red);
}

.reviews-page .sortWrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 3px 14px rgba(30, 36, 48, .04);
}

.reviews-page .sortWrap .font-weight-bold {
    margin: 0 6px 0 2px;
    font-size: 14px;
}

.reviews-page .sortWrap a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}

.reviews-page .sortWrap a:hover {
    color: var(--red);
    background: #fff;
    border-color: var(--line);
}

.reviews-page .sortWrap a.active {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
}

.reviews-page #reviewsWrapperAjax {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.reviews-page .reviews-item {
    min-width: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 28px rgba(30, 36, 48, .07);
}

.reviews-page .reviews-itemHeader {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 16px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--line);
}

.reviews-page .reviews-item-author {
    position: relative;
    min-width: 0;
    padding-left: 25px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.reviews-page .reviews-item-author::before {
    position: absolute;
    top: 1px;
    left: 0;
    width: 18px;
    height: 18px;
    background: url("../local/templates/samovarov-grad_new-detail/images/icon-person.png") center / contain no-repeat;
    content: "";
filter: hue-rotate(-50deg);
}

.reviews-page .reviews-itemDatesWrap {
    flex: 0 0 auto;
    text-align: right;
}

.reviews-page .reviews-itemDates {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
}

.reviews-page .reviews-item-rating {
    display: flex;
    justify-content: flex-end;
    gap: 1px;
}

.reviews-page .reviews-item-text {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
}

.reviews-page .reviews-item-text > h2 {
    margin: 24px 0 14px;
    color: var(--ink);
    font-family: "Philosopher", Georgia, serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
}

.reviews-page .container_img_comments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin: 18px 0;
}

.reviews-page .container_img_comments > div {
    float: none;
    width: auto;
    padding: 0;
}

.reviews-page .container_img_comments a {
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
}

.reviews-page .container_img_comments img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
    transition: transform .25s ease;
}

.reviews-page .container_img_comments a:hover img {
    transform: scale(1.03);
}

.reviews-page .youtube-wrap {
    width: 100%;
    margin: 18px 0;
    overflow: hidden;
    background: #111;
    border-radius: var(--radius-md);
    aspect-ratio: 16 / 9;
}

.reviews-page .youtube-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

section.products.group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
    justify-content: start;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    margin: 0 0 30px;
    padding: 0;
}

section.products.group > .product-container {
    float: none;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

section.products.group .product {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 390px;
    margin: 0;
    padding: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 18px rgba(30, 36, 48, .06);
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

section.products.group .product:hover {
    border-color: rgba(241, 72, 80, .28);
    box-shadow: 0 14px 32px rgba(30, 36, 48, .12);
    transform: translateY(-2px);
}

section.products.group .product-image {
    position: relative;
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 0;
    border-radius: 14px;
}

section.products.group .product-image > a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    text-decoration: none;
}

section.products.group .product-image img {
    display: none;
}

section.products.group .product-image img.active {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 8px;
    object-fit: contain;
    object-position: center;
    transition:
        opacity .25s ease,
        transform .3s ease;
}

section.products.group .product-image:hover img.active,
section.products.group .product-image > a:focus img.active {
    opacity: .13;
    transform: scale(1.025);
}

section.products.group .product-params {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 14px;
    overflow-y: auto;
    color: var(--ink);
    background: rgb(255 255 255 / 0%);
    border-radius: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
    backdrop-filter: blur(2px);
}

section.products.group .product-image:hover .product-params,
section.products.group .product-image > a:focus .product-params,
section.products.group .product-image > a:focus-visible .product-params {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

section.products.group .product-params table {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: collapse;
    background: transparent;
}

section.products.group .product-params tbody {
    display: table-row-group;
}

section.products.group .product-params tr {
    display: table-row;
    border-bottom: 1px solid rgba(231, 234, 240, .8);
}

section.products.group .product-params tr:last-child {
    border-bottom: 0;
}

section.products.group .product-params th,
section.products.group .product-params td {
    width: 50%;
    padding: 5px 0;
    border: 0;
    background: transparent;
    vertical-align: top;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
}

section.products.group .product-params .product-param-label {
    padding-right: 10px;
    color: var(--muted);
    text-align: left;
}

section.products.group .product-params .product-param-value {
    color: var(--ink);
    font-weight: 600;
    text-align: right;
}

section.products.group .product-label-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 7px;
    color: #fff;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(241, 72, 80, .22);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

section.products.group .product-title {
    width: 100%;
    height: auto;
    min-height: 54px;
    margin: 0 0 10px;
    padding: 0 3px;
    overflow: visible;
    text-align: left;
}

section.products.group .product-title a {
    display: block;
    color: var(--ink);
    border: 0;
    font-family: "Philosopher", Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: color .2s ease;
}

section.products.group .product-title a:hover {
    color: var(--red);
}

section.products.group .availability-product-status,
section.products.group .availability-product-status-xs {
    width: fit-content;
    margin: 0 3px 9px;
    padding: 4px 9px;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 999px;
}

section.products.group .availability-product-status.available-status,
section.products.group .availability-product-status-xs.available-status {
    color: var(--green);
    background: var(--mint);
}

section.products.group .availability-product-status.order-status,
section.products.group .availability-product-status-xs.order-status {
    position: static;
    color: #956900;
    background: var(--gold-soft);
}

section.products.group .product-price-container {
    width: 100%;
    margin: auto 0 12px;
    padding: 0 3px;
    text-align: left;
}

section.products.group .product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px;
    width: 100%;
    margin: 0;
}

section.products.group .product-price-value {
    color: var(--ink);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

section.products.group .product-price-old {
    margin: 0;
    padding: 0;
}

section.products.group .product-price-old-value {
    position: relative;
    color: var(--muted);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

section.products.group .product-add-to-cart {
    width: 100%;
    margin: 0;
    padding: 0;
}

section.products.group .product-add-to-cart .button,
section.products.group .product-add-to-cart a.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 18px 2px;
    color: #fff;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 999px;
    box-shadow: none;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

section.products.group .product-add-to-cart .button:hover,
section.products.group .product-add-to-cart a.button:hover {
    color: #fff;
    background: var(--red-dark);
    border-color: var(--red-dark);
    text-decoration: none;
}

section.products.group .product-add-to-cart .button:active,
section.products.group .product-add-to-cart a.button:active {
    transform: translateY(1px);
}

section.products.group .product-image a:hover,
section.products.group .product-title a:hover,
section.products.group .product-add-to-cart a:hover {
    border-bottom: 0;
}

@media (max-width: 900px) {
    section.products.group {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 14px;
    }

    section.products.group .product-image {
        height: 220px;
    }
}

@media (max-width: 600px) {
    section.products.group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    section.products.group .product {
        min-height: 0;
        padding: 8px;
        border-radius: 14px;
    }

    section.products.group .product-image {
        height: 180px;
        margin-bottom: 10px;
        border-radius: 11px;
    }

    section.products.group .product-image img.active {
        padding: 5px;
    }

    section.products.group .product-params {
        padding: 8px;
        border-radius: 11px;
    }

    section.products.group .product-params th,
    section.products.group .product-params td {
        padding: 3px 0;
        font-size: 10px;
        line-height: 1.15;
    }

    section.products.group .product-title {
        min-height: 52px;
        margin-bottom: 8px;
        padding: 0 1px;
    }

    section.products.group .product-title a {
        font-size: 14px;
        line-height: 1.3;
    }

    section.products.group .product-price-container {
        margin-bottom: 9px;
        padding: 0 1px;
    }

    section.products.group .product-price {
        gap: 4px 7px;
    }

    section.products.group .product-price-value {
        font-size: 18px;
    }

    section.products.group .product-price-old-value {
        font-size: 12px;
    }

    section.products.group .product-label-discount {
        top: 7px;
        left: 7px;
        min-width: 36px;
        height: 36px;
        font-size: 11px;
    }

    section.products.group .product-add-to-cart .button,
    section.products.group .product-add-to-cart a.button {
        min-height: 40px;
        padding: 0 10px 2px;
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    section.products.group {
        grid-template-columns: 1fr;
    }

    section.products.group .product-image {
        height: 240px;
    }

    section.products.group .product-title {
        min-height: 0;
    }

    section.products.group .product-title a {
        font-size: 16px;
    }

    section.products.group .product-price-value {
        font-size: 21px;
    }
}

@media (hover: none) {
    section.products.group .product:hover {
        transform: none;
    }

    section.products.group .product-image:hover img.active {
        opacity: 1;
        transform: none;
    }

    section.products.group .product-image:hover .product-params {
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
    }
}

.reviews-page #popup-reviews {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 16px;
    overflow-y: auto;
    background: rgba(20, 24, 32, .58);
    backdrop-filter: blur(4px);
}

.reviews-page #popup-reviews.popup-active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.reviews-page #popup-reviews .main-popup-wrapper {
    position: relative;
    width: min(620px, 100%);
    margin: auto;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.reviews-page #popup-reviews .popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--muted);
    background: var(--bg);
    border: 0;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
}

.reviews-page #popup-reviews .popup-close:hover {
    color: var(--ink);
    background: var(--rose);
}

.reviews-page #popup-reviews .form-title {
    margin: 0 46px 22px 0;
    color: var(--ink);
    font-family: "Philosopher", Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.reviews-page #reviewForm > .row {
    display: grid;
    gap: 12px;
    margin: 0;
}

.reviews-page #reviewForm .col-xs-12 {
    float: none;
    width: 100%;
    padding: 0;
}

.reviews-page #reviewForm .form-group {
    margin: 0;
}

.reviews-page #reviewForm .form_elem {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: none;
    outline: none;
    font-family: inherit;
    font-size: 15px;
}

.reviews-page #reviewForm textarea.form_elem {
    min-height: 130px;
    resize: vertical;
}

.reviews-page #reviewForm .form_elem:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(241, 72, 80, .1);
}

.reviews-page #reviewForm .control-label {
    display: block;
    margin: 4px 0 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.reviews-page .reviewFormRating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 2px;
    width: fit-content;
}

.reviews-page .reviewFormRating input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.reviews-page .reviewFormRating label {
    width: 30px;
    height: 30px;
    margin: 0;
    cursor: pointer;
}

.reviews-page .reviewFormRating label::before {
    color: #dfe2e7;
    content: "★";
    font-size: 27px;
    line-height: 30px;
}

.reviews-page .reviewFormRating input:checked ~ label::before,
.reviews-page .reviewFormRating label:hover::before,
.reviews-page .reviewFormRating label:hover ~ label::before {
    color: var(--red);
}

.reviews-page #file-selectdialog-mfiFILE {
    width: 100%;
}

.reviews-page #file-selectdialog-mfiFILE .file-extended {
    overflow: hidden;
    background: var(--bg);
    border: 1px dashed #cfd4dc;
    border-radius: var(--radius-md);
}

.reviews-page #file-selectdialog-mfiFILE .file-selector {
    padding: 22px 16px;
    color: var(--muted);
    text-align: center;
    font-size: 14px;
    line-height: 1.45;
}

.reviews-page #file-selectdialog-mfiFILE .file-selector > img {
    opacity: .7;
	margin: 0px auto;
}

.reviews-page #file-selectdialog-mfiFILE .file-but-text {
    color: var(--red);
    font-weight: 600;
}

.reviews-page #reviewForm button[type="submit"] {
    width: 100%;
    min-height: 48px;
    margin: 2px 0 0;
    color: #fff;
    background: var(--red);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
}

.reviews-page #reviewForm button[type="submit"]:hover {
    background: var(--red-dark);
}

.reviews-page #reviewForm .help-block {
    display: block;
    margin-top: 5px;
    color: var(--red-dark);
    font-size: 12px;
}

.reviews-page #reviewForm .form-group.error .form_elem {
    border-color: var(--red);
}

.reviews-page #popup-reviews .alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.4;
}

.reviews-page #popup-reviews .alert-success {
    color: var(--green);
    background: var(--mint);
}

.reviews-page #popup-reviews .alert-danger {
    color: var(--red-dark);
    background: var(--rose);
}

.reviews-page #popup-reviews .hidden {
    display: none;
}

@media (max-width: 1000px) {
    .reviews-page #reviews-composite > .row {
        grid-template-columns: 1fr;
    }

    .reviews-page #reviews-composite > .row > .col-md-3 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 24px;
    }

    .reviews-page .commonRating,
    .reviews-page .commonRatingCount {
        grid-column: 1;
    }

    .reviews-page .ratingItemWrap {
        grid-column: 2;
    }
}

@media (max-width: 820px) {
    .reviews-page #reviewsWrapperAjax {
        grid-template-columns: 1fr;
    }

    .reviews-page .reviews-form-wrapper {
        min-height: 0;
    }
}

@media (max-width: 650px) {
    .reviews-page .reviews-form-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 22px 18px;
        border-radius: var(--radius-md);
    }

    .reviews-page .otz {
        font-size: 26px;
    }

    .reviews-page .text_otz {
        font-size: 14px;
    }

    .reviews-page .button-rev-gray {
        width: 100%;
    }

    .reviews-page #reviews-composite > .row > .col-md-3 {
        display: block;
        padding: 18px;
        border-radius: var(--radius-md);
    }

    .reviews-page .ratingItemWrap {
        max-width: 260px;
    }

    .reviews-page .sortWrap {
        border-radius: var(--radius-md);
    }

    .reviews-page .sortWrap .font-weight-bold {
        width: 100%;
    }

    .reviews-page .reviews-item {
        padding: 18px 14px;
        border-radius: var(--radius-md);
    }

    .reviews-page .reviews-itemHeader {
        gap: 12px;
    }

    .reviews-page .container_img_comments {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews-page .reviews-item .product {
        grid-template-columns: 90px minmax(0, 1fr);
        grid-template-areas:
            "image title"
            "image price"
            "button button";
        gap: 8px 12px;
        min-height: 0;
    }

    .reviews-page .reviews-item .product-image {
        width: 90px;
        height: 90px;
    }

    .reviews-page .reviews-item .product-price-container {
        text-align: left;
    }

    .reviews-page .reviews-item .product-add-to-cart {
        text-align: left;
    }

    .reviews-page .reviews-item .product-add-to-cart .button {
        width: 100%;
    }

    .reviews-page #popup-reviews {
        padding: 12px 8px;
    }

    .reviews-page #popup-reviews .main-popup-wrapper {
        padding: 22px 16px;
        border-radius: var(--radius-md);
    }

    .reviews-page #popup-reviews .form-title {
        font-size: 26px;
    }
}


.reviews-page .reviews-list {
    width: 100%;
}

.reviews-page .pagingWrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 28px 0 8px;
}

.reviews-page .load_more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 48px;
    padding: 0 26px 2px;
    color: #fff;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(241, 72, 80, .18);
    cursor: pointer;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.reviews-page .load_more:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    box-shadow: 0 8px 22px rgba(215, 47, 57, .22);
    transform: translateY(-1px);
}

.reviews-page .load_more:active {
    transform: translateY(0);
}

.reviews-page #load-items1 {
    width: 100%;
}

.reviews-page > section {
    width: 100%;
}

.reviews-page .reviews-yandex-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 24px 0 0;
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--blue-soft), #fff 72%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 28px rgba(30, 36, 48, .07);
}

.reviews-page section + section .reviews-yandex-block {
    background: linear-gradient(135deg, var(--blue-soft), #fff);
}

.reviews-page .reviews-yandex-text-block {
    display: block;
    width: auto !important;
    max-width: none;
    min-width: 0;
}

.reviews-page h2.reviews-yandex-title {
    max-width: none;
    margin: 0 0 10px;
    color: var(--ink);
    font-family: "Philosopher", Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.reviews-page .reviews-yandex-text {
    max-width: 650px;
    margin: 0 0 18px;
    color: var(--muted);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.reviews-page .reviews-yandex-link {
    display: flex;
    align-items: center;
}

.reviews-page .reviews-yandex-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px 2px;
    color: #fff;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 999px;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.reviews-page .reviews-yandex-link a:hover {
    color: #fff;
    background: var(--red-dark);
    border-color: var(--red-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

.reviews-page .reviews-yandex-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    min-width: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.reviews-page .reviews-yandex-banner a {
    display: block;
    width: 100%;
    border: 0;
    text-decoration: none;
}

.reviews-page .reviews-yandex-banner img {
    display: block;
    width: 100% !important;
    max-width: 200px;
    height: auto !important;
    margin: 0 auto;
    border: 0 !important;
    border-radius: 10px;
    object-fit: contain;
}

@media (max-width: 760px) {
    .reviews-page .reviews-yandex-block {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px 18px;
        border-radius: var(--radius-md);
    }

    .reviews-page .reviews-yandex-banner {
        width: 100%;
        max-width: 240px;
        justify-self: start;
    }

    .reviews-page h2.reviews-yandex-title {
        font-size: 25px;
    }
}

@media (max-width: 520px) {
    .reviews-page .pagingWrap {
        margin-top: 20px;
    }

    .reviews-page .load_more {
        width: 100%;
        min-width: 0;
    }

    .reviews-page .reviews-yandex-block {
        margin-top: 16px;
        padding: 18px 14px;
    }

    .reviews-page h2.reviews-yandex-title {
        font-size: 23px;
    }

    .reviews-page .reviews-yandex-text {
        margin-bottom: 14px;
        font-size: 14px;
    }

    .reviews-page .reviews-yandex-link {
        width: 100%;
    }

    .reviews-page .reviews-yandex-link a {
        width: 100%;
    }

    .reviews-page .reviews-yandex-banner {
        max-width: 100%;
    }
}

.reviews-item-text iframe {
    border-radius: 18px;
	width: 100%;
}
.file-selectdialog {
    border-width: 0px;
}
.file-selectdialog .file-extended .file-selector-active, .file-selectdialog .file-extended .file-selector:hover {
    border: 0px dashed #d4dde1;
    margin: 10px 0px 7px 0px;
}