/* Main Reviews Plugin Styles */

.mr-reviews-wrapper {
    width: 100%;
}

.mr-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mr-review-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.mr-review-card.mr-hidden {
    display: none;
}

/* Header */
.mr-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.mr-header-info {
    flex: 1;
    min-width: 0;
}

/* Avatar */
.mr-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.mr-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FF6B00;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.5px;
}

/* Name */
.mr-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
    line-height: 1.3;
}

/* Stars */
.mr-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 4px;
}

.mr-stars svg {
    width: 16px;
    height: 16px;
}

.mr-star-filled {
    color: #FF6B00;
}

.mr-star-empty {
    color: #ddd;
}

/* Date */
.mr-date {
    font-size: 13px;
    color: #999999;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Review text */
.mr-text-wrap {
    margin-bottom: 8px;
    flex: 1;
}

.mr-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mr-text-clamped {
    /* managed via inline style */
}

/* Read more */
.mr-read-more {
    background: none;
    border: none;
    padding: 0;
    margin-top: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #FF6B00;
    font-weight: 500;
    transition: opacity 0.2s;
    display: inline-block;
}

.mr-read-more:hover {
    opacity: 0.75;
}

/* Link */
.mr-link {
    margin-top: 8px;
}

.mr-link a {
    font-size: 13px;
    color: #FF6B00;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.mr-link a:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* Show more */
.mr-show-more-wrap {
    text-align: center;
    margin-top: 24px;
}

.mr-show-more-btn {
    display: inline-block;
    background-color: #FF6B00;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.15s ease;
}

.mr-show-more-btn:hover {
    background-color: #e55d00;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1024px) {
    .mr-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .mr-reviews-grid {
        grid-template-columns: 1fr;
    }
}
