

/* Start:/local/templates/eshop_bootstrap_v4/css/buyer-reviews.css?17901556188804*/
/* Блок отзывов покупателей (инфоблок 4): карточка товара и главная */
.buyer-reviews {
    margin-top: 20px;
    padding: 24px 20px;
    border: 1px solid #dfe8f3;
    border-radius: 16px;
    background: #f5f8fc;
    color: #132a52;
}

.buyer-reviews__title {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.buyer-reviews__summary {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.buyer-reviews__average {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.buyer-reviews__summary-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.buyer-reviews__summary .buyer-reviews__stars {
    font-size: 26px;
}

.buyer-reviews__summary-text {
    font-size: 14px;
    color: #3c4a60;
}

.buyer-reviews__stars {
    position: relative;
    display: inline-block;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 3px;
    color: #e3e7ee;
    white-space: nowrap;
}

.buyer-reviews__stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #ffc107;
}

.buyer-reviews__sources {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.buyer-reviews__source {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #e3eaf3;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.buyer-reviews__source:hover {
    border-color: #b9c8dc;
}

.buyer-reviews__source--all .buyer-reviews__source-name {
    font-size: 14px;
    font-weight: 700;
}

.buyer-reviews__source--active {
    border-color: #132a52;
    background: #eef4fb;
    box-shadow: 0 0 0 1px #132a52 inset;
}

.buyer-reviews__source-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.buyer-reviews__source-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.buyer-reviews__source-name {
    font-size: 13px;
    font-weight: 600;
}

.buyer-reviews__source-grade {
    font-size: 18px;
    font-weight: 700;
}

.buyer-reviews__source-count {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    color: #3c4a60;
}

.buyer-reviews__slider {
    padding-bottom: 2px;
}

.buyer-reviews__slide {
    height: auto;
}

.buyer-reviews__item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 20px;
    border: 1px solid #e3eaf3;
    border-radius: 16px;
    background: #fff;
}

.buyer-reviews__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    font-size: 15px;
    line-height: 1.5;
    color: #1d2633;
}

.buyer-reviews__source-link {
    align-self: flex-start;
    font-size: 13px;
    color: #008cc1;
    text-decoration: underline;
}

.buyer-reviews__source-link:hover {
    color: #132a52;
}

.buyer-reviews__more {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: none;
    color: #008cc1;
    font: inherit;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.buyer-reviews__more:hover {
    color: #132a52;
}

.buyer-reviews__full {
    display: none;
    max-width: 640px;
    padding: 28px;
    border-radius: 16px;
    background: #fff;
}

.buyer-reviews__full-name {
    margin: 10px 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #132a52;
}

.buyer-reviews__full-text {
    font-size: 15px;
    line-height: 1.6;
    color: #1d2633;
}

.buyer-reviews__full .buyer-reviews__source-link {
    display: inline-block;
    margin-top: 14px;
}

.buyer-reviews__text p {
    margin: 0 0 8px;
}

.buyer-reviews__author {
    margin-top: -4px;
}

.buyer-reviews__gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.buyer-reviews__media {
    position: relative;
    display: block;
    width: 90px;
    border-radius: 12px;
    overflow: hidden;
}

.buyer-reviews__photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.buyer-reviews__media--video .buyer-reviews__photo {
    filter: brightness(.8);
}

.buyer-reviews__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    transform: translate(-50%, -50%);
}

.buyer-reviews__play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #132a52;
    transform: translate(-50%, -50%);
}

/* Отзыв без текста: карточка заканчивается сразу после превью, пустого места нет */
.buyer-reviews__item--photo {
    height: auto;
}

.buyer-reviews__author-name {
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: 700;
}

.buyer-reviews__author-city {
    font-size: 14px;
    color: #6b7789;
}

/* Стрелки и точки под слайдером: «‹ • • • ›» */
.buyer-reviews__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 16px;
    visibility: hidden;
}

.buyer-reviews--ready .buyer-reviews__controls {
    visibility: visible;
}

.buyer-reviews__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #b9c8dc;
    border-radius: 50%;
    background: #fff;
    color: #132a52;
    cursor: pointer;
    transition: background .2s, border-color .2s, opacity .2s, transform .12s cubic-bezier(0.23, 1, 0.32, 1);
}

.buyer-reviews__arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.buyer-reviews__arrow:hover {
    border-color: #132a52;
    background: #eef4fb;
}

.buyer-reviews__arrow:active {
    transform: scale(0.94);
}

.buyer-reviews__arrow:focus-visible {
    outline: 2px solid #132a52;
    outline-offset: 2px;
}

/* Крайний слайд: стрелка остаётся на месте, но гаснет */
.buyer-reviews__arrow.swiper-button-disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

/* Все отзывы помещаются на экран — листать нечего */
.buyer-reviews__controls:has(.swiper-button-lock) {
    display: none;
}

.buyer-reviews__arrow.swiper-button-lock {
    display: none;
}

/* Точки: Swiper в режиме dynamicBullets сам задаёт ширину и сдвигает их, здесь — только вид */
.buyer-reviews__pagination {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 40px;
    height: 44px;
}

/* Swiper центрует динамические точки через left: 50% — здесь их и так ставит flex между стрелками */
.buyer-reviews__controls .buyer-reviews__pagination.swiper-pagination-horizontal.swiper-pagination-bullets-dynamic {
    left: auto;
    transform: none;
}

.buyer-reviews__pagination .swiper-pagination-bullet {
    flex: none;
    width: 9px;
    height: 9px;
    margin: 0 4px;
    background: #c9d2de;
    opacity: 1;
}

.buyer-reviews__pagination .swiper-pagination-bullet-active {
    background: #132a52;
}

@media (prefers-reduced-motion: reduce) {
    .buyer-reviews__arrow,
    .buyer-reviews__pagination .swiper-pagination-bullet {
        transition: none;
    }
}

.buyer-reviews__all {
    position: relative;
    display: block;
    margin-top: 14px;
    padding: 15px 44px;
    border: 1px solid #b9c8dc;
    border-radius: 12px;
    background: #fff;
    color: #132a52;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}

.buyer-reviews__all[hidden] {
    display: none;
}

.buyer-reviews__all:hover {
    border-color: #132a52;
    background: #eef4fb;
    color: #132a52;
    text-decoration: none;
}

.buyer-reviews__all-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    font-size: 28px;
    line-height: 1;
    transform: translateY(-55%);
}

@media (max-width: 576px) {
    .buyer-reviews {
        padding: 20px 14px;
    }

    .buyer-reviews__average {
        font-size: 40px;
    }

    .buyer-reviews__sources {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* End */


/* Start:/local/templates/eshop_bootstrap_v4/components/bitrix/main.feedback/ReviewsForm/style.min.css?1713895176251*/
div.mf-name,div.mf-email,div.mf-captcha,div.mf-message{width:80%;padding-bottom:.4em}div.mf-name input,div.mf-email input{width:60%}div.mf-message textarea{width:60%}span.mf-req{color:red}div.mf-ok-text{color:green;font-weight:bold;padding-bottom:1em}
/* End */
/* /local/templates/eshop_bootstrap_v4/css/buyer-reviews.css?17901556188804 */
/* /local/templates/eshop_bootstrap_v4/components/bitrix/main.feedback/ReviewsForm/style.min.css?1713895176251 */
