.reviews {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 24px;
    margin: 0 auto 40px;
    width: 80%;
    max-width: var(--container-w);
    box-sizing: border-box;
    margin-top: 20px;
}

.reviews h3 {
    margin: 0 0 20px;
    font-family: "EA Display", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--accent);
    text-align: center;
}

.reviews-source {
    margin: 10px 0 20px;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.reviews-source a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.reviews-source a:hover {
    text-decoration: underline;
    color: var(--accent);
}

.rating-value {
    font-family: "EA Display", sans-serif;
    font-weight: 700;
    color: var(--text);
}

.rating-value .big {
    display: inline-block;
    margin-right: 8px;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -2px;
}

.rating-full {
    line-height: 10px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.rating-full .rating-mini {
    width: 50px;
    height: 8px;
    display: inline-block;
    background: url("assets/star.svg") repeat-x;
    background-size: 10px 8px;
    margin-right: 3px;
    vertical-align: top;
}

.rating-full-item4 .rating-mini {
    width: 40px;
    margin-left: 10px;
}

.rating-full-item3 .rating-mini {
    width: 30px;
    margin-left: 20px;
}

.rating-full-item2 .rating-mini {
    width: 20px;
    margin-left: 30px;
}

.rating-full-item1 .rating-mini {
    width: 10px;
    margin-left: 40px;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
}

.review-container {
    border-bottom: 1px solid var(--border) !important;
    /* Только нижняя граница */
    width: 100%;
    box-sizing: border-box;
}

.review-container:last-child {
    border-bottom: 1px solid var(--border) !important;
}

.review-item {
    padding: 0px 0px 8px 55px;
    /* Возвращаем исходный padding */
    position: relative;
}

.review-item-user {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 10px;
    /* Возвращаем исходный margin */
}

.review-item-photo {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 10px;
    /* Снимаем margin-top: 58px, возвращаем исходное */
    overflow: hidden;
}

.review-item-photo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.review-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
    /* Возвращаем исходный margin */
}

.review-item-date {
    color: var(--muted);
    font-size: 13px;
}

.review-item-detail {
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}

.review-item-text {
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    word-break: break-word;
}

.review-item-rating.pull-right {
    margin-right: 4px;
}

.show-all-reviews {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.show-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    font-family: "EA Display", sans-serif;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.show-all-btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 6px 12px rgba(39, 106, 252, 0.3);
    background: rgba(39, 106, 252, 0.1);
}

@media (max-width: 720px) {

    .highlight-panel,
    .reviews {
        width: calc(100vw);
        max-width: none;
        box-sizing: border-box;

        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .reviews {
        width: calc(100vw) !important;
    }
}