

/* Start:/local/templates/desktop/components/bitrix/catalog.section.list/desktop_mega/style.css?178879853288*/
/* Moved to local/templates/desktop/tailwind/tailwind.input.css (@layer components). */

/* End */


/* Start:/local/components/div/reviews/templates/.default/style.css?17893939638234*/
.am-reviews {
    padding: 40px 0 48px;
}
.am-reviews__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.am-reviews__title {
    margin: 0;
    color: #1f2937;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}
.am-reviews__note {
    margin: 10px 0 0;
    max-width: 720px;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.5;
}
.am-reviews__write {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: #55ad4d;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.am-reviews__write:hover {
    background: #4a9b43;
}
.am-reviews__summary {
    margin-top: 22px;
}
.am-reviews__stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.am-reviews__stars svg {
    display: block;
    width: 26px;
    height: 26px;
}
.am-reviews__meta {
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.4;
}
.am-reviews__count {
    font-weight: 700;
    color: #55ad4d;
}
.am-reviews__avg {
    margin-left: 6px;
    color: #9ca3af;
}
.am-reviews__empty {
    margin: 28px 0 0;
    color: #6b7280;
    font-size: 18px;
}
.am-reviews__list {
    margin-top: 12px;
}
.am-reviews__item {
    display: flex;
    gap: 18px;
    padding: 28px 0;
    border-bottom: 1px solid #e5e7eb;
}
.am-reviews__item:last-child {
    border-bottom: 0;
}
.am-reviews__avatar {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #55ad4d;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.am-reviews__body {
    flex: 1;
    min-width: 0;
}
.am-reviews__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.am-reviews__name {
    color: #1f2937;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.am-reviews__item-stars {
    margin-top: 6px;
}
.am-reviews__item-stars svg {
    width: 20px;
    height: 20px;
}
.am-reviews__date {
    color: #55ad4d;
    font-size: 16px;
    white-space: nowrap;
}
.am-reviews__text {
    margin: 12px 0 0;
    color: #374151;
    font-size: 17px;
    line-height: 1.65;
    white-space: pre-line;
}
.am-reviews__reply {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 12px;
    background: #f4faf2;
    border: 1px solid #d9eed4;
}
.am-reviews__reply-body {
    flex: 1;
    min-width: 0;
}
.am-reviews__reply-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.am-reviews__reply-author {
    color: #55ad4d;
    font-size: 16px;
    font-weight: 700;
}
.am-reviews__reply-mark {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #55ad4d;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    line-height: 1;
    flex-shrink: 0;
}
.am-reviews__photos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.am-reviews__photo {
    display: block;
    width: 112px;
    height: 112px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
}
.am-reviews__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.am-reviews__upload {
    position: relative;
    display: block;
    cursor: pointer;
}
.am-reviews__upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.am-reviews__upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px;
    border: 2px dashed #cfe8cc;
    border-radius: 8px;
    background: #f7fbf6;
    color: #55ad4d;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.am-reviews__upload:hover .am-reviews__upload-btn {
    border-color: #55ad4d;
    background: #eef8ec;
}
.am-reviews__preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.am-reviews__preview img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.am-reviews__reply-text {
    margin: 0;
    color: #374151;
    font-size: 16px;
    line-height: 1.6;
    white-space: pre-line;
}
.am-reviews__more {
    margin-top: 16px;
    text-align: center;
}
.am-reviews__more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 26px;
    border-radius: 8px;
    background: #55ad4d;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
.am-reviews__more-btn:hover {
    background: #4a9b43;
    color: #fff;
}
.am-reviews__pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.am-reviews__page,
.am-reviews__page-current {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
}
.am-reviews__page {
    border: 1px solid #e5e7eb;
    color: #374151;
}
.am-reviews__page:hover {
    border-color: #55ad4d;
    color: #55ad4d;
}
.am-reviews__page-current {
    background: #55ad4d;
    color: #fff;
}
.am-reviews__modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
}
.am-reviews__modal-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
}
.am-reviews__modal-box {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 32rem;
    margin: 0 16px;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .2);
}
.am-reviews__modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
}
.am-reviews__modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}
.am-reviews__form label,
.am-reviews__form-label {
    display: block;
    margin-bottom: 4px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}
.am-reviews__form input:not([type="file"]):not([type="hidden"]),
.am-reviews__form textarea {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    outline: none;
    font: inherit;
}
.am-reviews__form input:not([type="file"]):not([type="hidden"]):focus,
.am-reviews__form textarea:focus {
    border-color: #55ad4d;
    box-shadow: 0 0 0 3px rgba(85, 173, 77, .2);
}
.am-reviews__form-row {
    margin-top: 16px;
}
.am-reviews__form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}
.am-reviews__form-error {
    margin-top: 12px;
    color: #dc2626;
    font-size: 14px;
}
.am-reviews__form-ok {
    margin-top: 12px;
    color: #55ad4d;
    font-size: 14px;
}
@media (max-width: 640px) {
    .am-reviews {
        padding: 28px 0 36px;
    }
    .am-reviews__title {
        font-size: 26px;
    }
    .am-reviews__head {
        flex-direction: column;
    }
    .am-reviews__write {
        width: 100%;
        justify-content: center;
        height: 44px;
        font-size: 15px;
    }
    .am-reviews__stars svg {
        width: 22px;
        height: 22px;
    }
    .am-reviews__meta {
        font-size: 16px;
    }
    .am-reviews__avatar {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    .am-reviews__name {
        font-size: 16px;
    }
    .am-reviews__text {
        font-size: 16px;
    }
    .am-reviews__item {
        gap: 14px;
        padding: 22px 0;
    }
    .am-reviews__reply-mark {
        width: 56px;
        height: 56px;
        font-size: 34px;
    }
}

/* End */
/* /local/templates/desktop/components/bitrix/catalog.section.list/desktop_mega/style.css?178879853288 */
/* /local/components/div/reviews/templates/.default/style.css?17893939638234 */
