

/* Start:/bitrix/components/srvq/yandex.reviews/templates/.default/style.css?17866404887250*/
:root {
    --cr-bg: #ffffff;
    --cr-text: #2c2c2e;
    --cr-muted: #8e8e93;
    --cr-accent: #ffcc00;
    --cr-accent-hover: #e6b800;
    --cr-border: #f0f0f3;
    --cr-radius: 16px;
    --cr-inner-radius: 12px;
    --cr-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    --cr-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.custom-reviews {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--cr-text);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.custom-reviews * {
    box-sizing: border-box;
}

/* Шапка блока */
.custom-reviews__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--cr-border);
    padding-bottom: 24px;
}

.custom-reviews__title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-reviews__title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--cr-text);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.custom-reviews__rating-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #48484a;
}

.custom-reviews__rating-badge-stars {
    color: var(--cr-accent);
    font-size: 18px;
    letter-spacing: 2px;
}

.custom-reviews__rating-badge-text span {
    font-weight: 700;
}

/* Кнопка "Оставить отзыв" */
.custom-reviews__write-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--cr-accent);
    color: #000000;
    padding: 14px 28px;
    border-radius: var(--cr-inner-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.1);
}

.custom-reviews__write-btn:hover {
    background-color: var(--cr-accent-hover);
    box-shadow: 0 6px 18px rgba(255, 204, 0, 0.3);
    text-decoration: none;
    color: #000000;
}

.custom-reviews__write-btn:active {
    transform: scale(0.98);
}

/* Сетка отзывов */
.custom-reviews__grid {
    display: grid;
    gap: 24px;
    width: 100%;
}

.custom-reviews--cols-1 .custom-reviews__grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
}

.custom-reviews--cols-2 .custom-reviews__grid {
    grid-template-columns: repeat(2, 1fr);
}

.custom-reviews--cols-3 .custom-reviews__grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Карточка отзыва */
.custom-reviews__item {
    width: 100%;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.custom-reviews__item-inner {
    background: #ffffff;
    border: 1px solid var(--cr-border);
    border-radius: var(--cr-radius);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: var(--cr-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.custom-reviews__item-inner:hover {
    transform: translateY(-4px);
    box-shadow: var(--cr-shadow-hover);
    border-color: #e5e5ea;
}

.custom-reviews__item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
}

.custom-reviews__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    flex-shrink: 0;
}

.custom-reviews__author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.custom-reviews__author-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--cr-text);
}

.custom-reviews__date {
    font-size: 12px;
    color: var(--cr-muted);
}

.custom-reviews__yandex-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #ff3347;
    color: #ffffff;
    font-weight: 900;
    font-size: 12px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    pointer-events: none;
}

.custom-reviews__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.custom-reviews__star {
    font-size: 16px;
    color: #e5e5ea;
}

.custom-reviews__star--active {
    color: var(--cr-accent);
}

.custom-reviews__text-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.custom-reviews__text {
    font-size: 14px;
    line-height: 1.5;
    color: #3a3a3c;
    margin: 0 0 10px 0;
    word-break: break-word;
}

.custom-reviews__read-more-btn {
    background: none;
    border: none;
    color: #007af5;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    text-align: left;
    margin-top: auto;
    transition: color 0.2s ease;
}

.custom-reviews__read-more-btn:hover {
    color: #0056b3;
    text-decoration: underline;
}

.custom-reviews__item--hidden {
    display: none;
    opacity: 0;
}

.custom-reviews__item--animate {
    animation: yrFadeIn 0.5s ease forwards;
}

@keyframes yrFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-reviews__more-container {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.custom-reviews__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--cr-border);
    color: var(--cr-text);
    padding: 12px 28px;
    border-radius: var(--cr-inner-radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.custom-reviews__more-btn:hover {
    background-color: #fafafc;
    border-color: #d1d1d6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.custom-reviews__more-btn svg {
    transition: transform 0.2s ease;
}

.custom-reviews__more-btn:hover svg {
    transform: translateY(2px);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .custom-reviews--cols-3 .custom-reviews__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .custom-reviews--cols-2 .custom-reviews__grid,
    .custom-reviews--cols-3 .custom-reviews__grid {
        grid-template-columns: 1fr;
    }
    .custom-reviews__header {
        flex-direction: column;
        align-items: flex-start;
    }
    .custom-reviews__action {
        width: 100%;
    }
    .custom-reviews__write-btn {
        width: 100%;
        justify-content: center;
    }
}
/* End */
/* /bitrix/components/srvq/yandex.reviews/templates/.default/style.css?17866404887250 */
