.mrm-reviews-container.template4 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, #f6f9fc, #ffffff);
}

.template4 .mrm-reviews-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.template4 .mrm-rating-box {
    display: inline-flex;
    align-items: center;
    padding: 2rem 3rem;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.template4 .mrm-rating-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        var(--mrm-primary-color) 0%,
        var(--mrm-secondary-color) 50%,
        var(--mrm-primary-color) 100%
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.template4 .mrm-rating-circle {
    width: 120px;
    height: 120px;
    position: relative;
    margin-right: 2rem;
}

.template4 .mrm-circle-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.template4 .mrm-rating-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--mrm-primary-color);
    line-height: 1;
}

.template4 .mrm-rating-stars {
    margin: 0.5rem 0;
}

.template4 .mrm-rating-stars .star {
    color: #e2e8f0;
    font-size: 1.2rem;
}

.template4 .mrm-rating-stars .star.filled {
    color: #fbbf24;
}

.template4 .mrm-hexagon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

@media (min-width: 1200px) {
    .template4 .mrm-hexagon-grid {
        grid-template-columns: repeat(var(--mrm-columns, 3), 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 769px) {
    .template4 .mrm-hexagon-grid {
        grid-template-columns: repeat(min(var(--mrm-columns, 3), 3), 1fr);
    }
}

@media (max-width: 768px) {
    .template4 .mrm-hexagon-grid {
        grid-template-columns: repeat(min(var(--mrm-columns, 1), 1), 1fr);
    }
}

.template4 .mrm-review-card {
    position: relative;
    background: white;
    clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%);
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.template4 .mrm-review-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.template4 .mrm-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: start;
}

.template4 .mrm-avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--mrm-primary-color), var(--mrm-secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 1rem;
    transform: rotate(-5deg);
}

.template4 .mrm-reviewer-info {
    flex-grow: 1;
}

.template4 .mrm-reviewer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.2rem;
}

.template4 .mrm-review-date {
    font-size: 0.9rem;
    color: #6b7280;
}

.template4 .mrm-review-rating {
    display: flex;
    gap: 0.2rem;
}

.template4 .mrm-review-rating .star {
    color: #e2e8f0;
    font-size: 1.1rem;
}

.template4 .mrm-review-rating .star.filled {
    color: #fbbf24;
}

.template4 .mrm-review-content {
    color: #4b5563;
    line-height: 1.7;
    margin: 1.5rem 0;
    font-size: 1rem;
}

.template4 .mrm-review-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.template4 .mrm-image-wrapper {
    position: relative;
    padding-bottom: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.template4 .mrm-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.template4 .mrm-image-wrapper:hover img {
    transform: scale(1.1);
}

.template4 .mrm-review-reply {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    position: relative;
}

.template4 .mrm-review-reply::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-size: 3rem;
    color: #6366f1;
    opacity: 0.2;
    font-family: serif;
}

.template4 .mrm-reply-header {
    display: flex;
    align-items: center;
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.template4 .mrm-reply-icon {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .template4 .mrm-rating-box {
        flex-direction: column;
        padding: 1.5rem;
    }

    .template4 .mrm-rating-circle {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .template4 .mrm-review-card {
        clip-path: polygon(3% 0, 97% 0, 100% 3%, 100% 97%, 97% 100%, 3% 100%, 0 97%, 0 3%);
    }
}

.template4 .mrm-review-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--mrm-primary-color), var(--mrm-secondary-color));
    color: white;
    border-radius: 8px;
    font-size: 0.85em;
    margin-top: 5px;
    clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.template4 .mrm-review-category i {
    font-size: 0.9em;
} 