.noy-reviews {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
}

.noy-reviews * {
    box-sizing: border-box;
}

.noy-reviews__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    text-align: center;
}

.noy-reviews__summary {
    text-align: center;
    margin-bottom: 32px;
}

.noy-reviews__summary-main {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.noy-reviews__summary-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.noy-reviews__summary-number {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.noy-reviews__summary-stars {
    display: flex;
    gap: 2px;
}

.noy-reviews__summary-count {
    font-size: 14px;
    color: #666;
}

.noy-reviews__summary-sources {
    display: flex;
    gap: 16px;
}

.noy-reviews__summary-source {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #555;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 12px;
}

.noy-reviews__summary-source-name {
    font-weight: 600;
}

.noy-reviews__summary-source-rating {
    color: #f5a623;
}

.noy-star {
    font-size: 16px;
    line-height: 1;
}

.noy-star--full {
    color: #f5a623;
}

.noy-star--half {
    color: #f5a623;
    opacity: 0.5;
}

.noy-star--empty {
    color: #ddd;
}

.noy-reviews__summary-rating .noy-star {
    font-size: 20px;
}

.noy-reviews__slider {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.noy-reviews__track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 0;
}

.noy-reviews__slide {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0 10px;
}

.noy-reviews__card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    height: 210px !important;
    max-height: 210px !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.noy-reviews__card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.noy-reviews__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.noy-reviews__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    flex-shrink: 0;
}

.noy-reviews__author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.noy-reviews__author {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.noy-reviews__source-badge {
    font-size: 10px;
    font-weight: 500;
    padding: 1px 6px;
    border-radius: 8px;
    display: inline-block;
    width: fit-content;
}

.noy-reviews__source-badge--2gis {
    background: #e8f5e9;
    color: #2e7d32;
}

.noy-reviews__source-badge--avito {
    background: #e3f2fd;
    color: #1565c0;
}

.noy-reviews__source-badge--yandex_maps {
    background: #fff3e0;
    color: #e65100;
}

.noy-reviews__rating {
    margin-bottom: 6px;
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.noy-reviews__text {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.noy-reviews__meta {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #999;
    gap: 8px;
    flex-shrink: 0;
}

.noy-reviews__product {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.noy-reviews__date {
    white-space: nowrap;
}

.noy-reviews__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
    line-height: 1;
    padding: 0;
}

.noy-reviews__nav:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.noy-reviews__nav--prev {
    left: 0;
}

.noy-reviews__nav--next {
    right: 0;
}

.noy-reviews__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.noy-reviews__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.noy-reviews__dot:hover {
    background: #999;
}

.noy-reviews__dot--active {
    background: #333;
}

@media (max-width: 640px) {
    .noy-reviews__slider {
        padding: 0 24px;
    }

    .noy-reviews__card {
        padding: 16px;
    }

    .noy-reviews__summary-main {
        flex-direction: column;
        gap: 12px;
    }

    .noy-reviews__summary-rating {
        flex-direction: column;
        gap: 4px;
    }

    .noy-reviews__nav {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}
