/* Google Reviewly Plugin Styles */

* {
    box-sizing: border-box;
}

.gr-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.gr-header-section {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* Image Section */
.gr-image-placeholder {
    flex: 1;
    min-width: 280px;
    position: relative;
    text-align: center;
}

.gr-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gr-main-image:hover {
    transform: translateY(-5px);
}

.gr-dots-pattern {
    position: absolute;
    top: 10%;
    right: -20px;
    width: 120px;
    height: 200px;
    background-image: radial-gradient(#4285f4 3px, transparent 3px);
    background-size: 25px 25px;
    z-index: -1;
    opacity: 0.25;
}

/* Content Section */
.gr-content-section {
    flex: 1.5;
    min-width: 300px;
}

.gr-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 40px 0;
    color: #1a1a1a;
    text-align: left;
    line-height: 1.2;
}

/* Slider Wrapper */
.gr-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.gr-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gr-slider::-webkit-scrollbar {
    display: none;
}

/* Review Card */
.gr-review-card {
    flex: 0 0 calc(50% - 10px);
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.gr-review-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Card Header */
.gr-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.gr-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.gr-avatar,
.gr-avatar-initial {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.gr-avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gr-author-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.4;
}

/* Google Logo */
.gr-google-logo {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.gr-google-logo svg {
    width: 100%;
    height: 100%;
}

/* Rating Stars */
.gr-rating {
    margin-bottom: 16px;
    display: flex;
    gap: 4px;
}

.gr-star {
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1;
}

.gr-star.filled {
    color: #ffc107;
    text-shadow: 0 1px 2px rgba(255, 193, 7, 0.3);
}

/* Review Text */
.gr-review-text {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gr-read-more {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.gr-read-more:hover {
    color: #4285f4;
}

/* Navigation Buttons */
.gr-prev,
.gr-next {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.gr-prev:hover,
.gr-next:hover {
    background: #f5f5f5;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: scale(1.05);
}

.gr-prev:active,
.gr-next:active {
    transform: scale(0.95);
}

.gr-prev svg,
.gr-next svg {
    width: 24px;
    height: 24px;
    fill: #666;
}

/* Footer */
.gr-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.gr-footer strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gr-review-card {
        flex: 0 0 calc(60% - 10px);
    }

    .gr-header-section {
        gap: 30px;
    }

    .gr-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .gr-container {
        margin: 20px auto;
        padding: 25px 15px;
    }

    .gr-header-section {
        flex-direction: column;
        gap: 30px;
    }

    .gr-image-placeholder {
        min-width: 100%;
    }

    .gr-content-section {
        min-width: 100%;
    }

    .gr-title {
        font-size: 32px;
        text-align: center;
        margin-bottom: 30px;
    }

    .gr-review-card {
        flex: 0 0 100%;
        padding: 20px;
    }

    .gr-prev,
    .gr-next {
        width: 40px;
        height: 40px;
    }

    .gr-prev svg,
    .gr-next svg {
        width: 20px;
        height: 20px;
    }

    .gr-footer {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gr-container {
        padding: 20px 12px;
    }

    .gr-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .gr-review-card {
        padding: 16px;
    }

    .gr-author-name {
        font-size: 14px;
    }

    .gr-review-text {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .gr-slider-wrapper {
        gap: 10px;
    }

    .gr-prev,
    .gr-next {
        width: 36px;
        height: 36px;
    }

    .gr-dots-pattern {
        display: none;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gr-review-card {
    animation: slideIn 0.5s ease forwards;
}

.gr-review-card:nth-child(2) {
    animation-delay: 0.1s;
}

.gr-review-card:nth-child(3) {
    animation-delay: 0.2s;
}
