/**
 * VReview - Google Reviews Carousel
 * By Vikilinks (https://vikilinks.com.au)
 * All styles are namespaced with 'vreview-' to avoid conflicts
 */

/* CSS Variables */
.vreview-container {
    --vreview-accent: #4285F4;
    --vreview-star-color: #FBBC05;
    --vreview-text-primary: #202124;
    --vreview-text-secondary: #5f6368;
    --vreview-text-tertiary: #80868b;
    --vreview-bg-primary: #ffffff;
    --vreview-bg-secondary: #f8f9fa;
    --vreview-border-color: #e8eaed;
    --vreview-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    --vreview-shadow-hover: 0 4px 12px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.08);
    --vreview-radius: 12px;
    --vreview-radius-sm: 8px;
    --vreview-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --vreview-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
.vreview-container.vreview-theme-dark {
    --vreview-text-primary: #e8eaed;
    --vreview-text-secondary: #9aa0a6;
    --vreview-text-tertiary: #80868b;
    --vreview-bg-primary: #202124;
    --vreview-bg-secondary: #292a2d;
    --vreview-border-color: #3c4043;
    --vreview-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
    --vreview-shadow-hover: 0 4px 12px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.3);
}

/* Container Reset */
.vreview-container,
.vreview-container *,
.vreview-container *::before,
.vreview-container *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.vreview-container {
    font-family: var(--vreview-font);
    font-size: 14px;
    line-height: 1.5;
    color: var(--vreview-text-primary);
    background: var(--vreview-bg-primary);
    border-radius: var(--vreview-radius);
    padding: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Card Styles */
.vreview-container.vreview-style-shadow .vreview-card {
    box-shadow: var(--vreview-shadow);
    border: none;
}

.vreview-container.vreview-style-border .vreview-card {
    box-shadow: none;
    border: 1px solid var(--vreview-border-color);
}

.vreview-container.vreview-style-flat .vreview-card {
    box-shadow: none;
    border: none;
    background: var(--vreview-bg-secondary);
}

/* ==================== HEADER ==================== */
.vreview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--vreview-border-color);
}

.vreview-header-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.vreview-branding {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.vreview-google-logo {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.3px;
    font-family: "Product Sans", var(--vreview-font);
}

.vreview-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--vreview-text-secondary);
}

.vreview-rating-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vreview-rating-number {
    font-size: 22px;
    font-weight: 500;
    color: var(--vreview-text-primary);
}

.vreview-stars-display {
    display: flex;
    align-items: center;
    gap: 1px;
}

.vreview-stars-display .vreview-star {
    width: 18px;
    height: 18px;
}

.vreview-total-count {
    font-size: 14px;
    color: var(--vreview-text-secondary);
}

/* CTA Button */
.vreview-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: var(--vreview-accent);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--vreview-font);
    text-decoration: none !important;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: all var(--vreview-transition);
    white-space: nowrap;
}

.vreview-cta-button:hover {
    background: #3367d6;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.35);
    transform: translateY(-1px);
    color: #ffffff !important;
    text-decoration: none !important;
}

.vreview-cta-button:active {
    transform: translateY(0);
}

/* ==================== CAROUSEL ==================== */
.vreview-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vreview-carousel {
    flex: 1;
    overflow: hidden;
    margin: 0 -8px;
    padding: 8px;
}

.vreview-track {
    display: flex;
    gap: 16px;
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Body class when modal is open */
body.vreview-modal-body-open {
    overflow: hidden !important;
}

/* Navigation Buttons - Strong specificity to prevent theme overrides */
.vreview-container .vreview-nav,
.vreview-container button.vreview-nav,
button.vreview-nav.vreview-nav-prev,
button.vreview-nav.vreview-nav-next {
    flex-shrink: 0;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #e8eaed !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    padding: 0 !important;
    margin: 0;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.vreview-container .vreview-nav:hover:not(:disabled),
.vreview-container button.vreview-nav:hover:not(:disabled) {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transform: scale(1.05);
}

.vreview-container .vreview-nav:disabled,
.vreview-container button.vreview-nav:disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.vreview-container .vreview-nav svg,
.vreview-container button.vreview-nav svg {
    width: 18px !important;
    height: 18px !important;
    color: #5f6368 !important;
    fill: none !important;
    stroke: #5f6368 !important;
}

.vreview-theme-dark .vreview-nav,
.vreview-theme-dark button.vreview-nav {
    background: #292a2d !important;
    background-color: #292a2d !important;
    border-color: #3c4043 !important;
}

.vreview-theme-dark .vreview-nav:hover:not(:disabled) {
    background: #3c4043 !important;
    background-color: #3c4043 !important;
}

.vreview-theme-dark .vreview-nav svg {
    color: #9aa0a6 !important;
    stroke: #9aa0a6 !important;
}

/* ==================== REVIEW CARDS ==================== */
.vreview-container .vreview-card,
.vreview-card {
    flex: 0 0 calc(20% - 13px);
    min-width: 240px;
    max-width: 300px;
    background: var(--vreview-bg-primary);
    background-color: #ffffff;
    border-radius: var(--vreview-radius);
    padding: 18px;
    display: flex;
    flex-direction: column;
    transition: all var(--vreview-transition);
    box-sizing: border-box !important;
}

.vreview-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--vreview-shadow-hover) !important;
}

/* Card Header */
.vreview-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.vreview-avatar-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.vreview-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.vreview-avatar-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.vreview-google-icon {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.vreview-google-icon svg {
    width: 16px;
    height: 16px;
}

.vreview-author-info {
    flex: 1;
    min-width: 0;
}

.vreview-author-name {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--vreview-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vreview-verified {
    flex-shrink: 0;
}

.vreview-review-date {
    font-size: 11px;
    color: var(--vreview-text-tertiary);
    margin-top: 1px;
}

/* Card Stars */
.vreview-card-stars {
    display: flex;
    gap: 1px;
    margin-bottom: 10px;
}

.vreview-star {
    width: 16px;
    height: 16px;
}

.vreview-star-full {
    fill: var(--vreview-star-color);
}

.vreview-star-empty {
    fill: #dadce0;
}

.vreview-theme-dark .vreview-star-empty {
    fill: #5f6368;
}

/* Card Text */
.vreview-card-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.55;
    color: var(--vreview-text-secondary);
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Read More - NO BACKGROUND */
.vreview-read-more {
    display: inline-block;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    color: var(--vreview-accent) !important;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--vreview-font);
    cursor: pointer;
    padding: 0 !important;
    margin: 0;
    text-align: left;
    transition: color var(--vreview-transition);
    box-shadow: none !important;
    outline: none;
}

.vreview-read-more:hover {
    color: #1a73e8 !important;
    text-decoration: underline;
    background: none !important;
    background-color: transparent !important;
}

.vreview-read-more:focus {
    outline: none;
    background: none !important;
}

/* ==================== PAGINATION ==================== */
.vreview-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    min-height: 12px;
}

.vreview-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--vreview-border-color);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--vreview-transition);
}

.vreview-dot:hover {
    background: var(--vreview-text-tertiary);
}

.vreview-dot.vreview-dot-active {
    width: 24px;
    background: var(--vreview-accent);
}

/* ==================== MODAL - Strong specificity ==================== */
.vreview-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999999 !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vreview-modal.vreview-modal-open {
    display: flex !important;
}

.vreview-modal .vreview-modal-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.vreview-modal .vreview-modal-container {
    position: relative !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-radius: 16px !important;
    max-width: 560px !important;
    width: 100% !important;
    max-height: 85vh !important;
    overflow: hidden !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35) !important;
    animation: vreview-modal-appear 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000000 !important;
}

@keyframes vreview-modal-appear {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.vreview-modal .vreview-modal-close,
.vreview-modal button.vreview-modal-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f3f4 !important;
    background-color: #f1f3f4 !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: #5f6368 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.vreview-modal .vreview-modal-close:hover,
.vreview-modal button.vreview-modal-close:hover {
    background: #e8eaed !important;
    background-color: #e8eaed !important;
    color: #202124 !important;
}

.vreview-modal .vreview-modal-content {
    padding: 28px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* Modal Review Header */
.vreview-modal .vreview-modal-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
}

.vreview-modal .vreview-modal-avatar {
    position: relative !important;
    width: 52px !important;
    height: 52px !important;
    flex-shrink: 0 !important;
}

.vreview-modal .vreview-modal-avatar img,
.vreview-modal .vreview-modal-avatar .vreview-avatar-letter {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
}

.vreview-modal .vreview-modal-avatar .vreview-avatar-letter {
    font-size: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
}

.vreview-modal .vreview-modal-avatar .vreview-google-icon {
    width: 20px !important;
    height: 20px !important;
    bottom: -2px !important;
    right: -2px !important;
}

.vreview-modal .vreview-modal-avatar .vreview-google-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.vreview-modal .vreview-modal-author {
    flex: 1 !important;
}

.vreview-modal .vreview-modal-name {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #202124 !important;
}

.vreview-modal .vreview-modal-name .vreview-verified {
    width: 16px !important;
    height: 16px !important;
}

.vreview-modal .vreview-modal-date {
    font-size: 13px !important;
    color: #80868b !important;
    margin-top: 3px !important;
}

/* Modal Stars */
.vreview-modal .vreview-modal-stars {
    display: flex !important;
    gap: 2px !important;
    margin-bottom: 18px !important;
}

.vreview-modal .vreview-modal-stars .vreview-star {
    width: 20px !important;
    height: 20px !important;
}

/* Modal Text */
.vreview-modal .vreview-modal-text {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #5f6368 !important;
}

/* Dark theme modal */
.vreview-theme-dark + .vreview-modal .vreview-modal-container,
.vreview-modal.vreview-theme-dark .vreview-modal-container {
    background: #292a2d !important;
    background-color: #292a2d !important;
}

.vreview-theme-dark + .vreview-modal .vreview-modal-content,
.vreview-modal.vreview-theme-dark .vreview-modal-content {
    background: #292a2d !important;
    background-color: #292a2d !important;
}

.vreview-theme-dark + .vreview-modal .vreview-modal-name,
.vreview-modal.vreview-theme-dark .vreview-modal-name {
    color: #e8eaed !important;
}

.vreview-theme-dark + .vreview-modal .vreview-modal-text,
.vreview-modal.vreview-theme-dark .vreview-modal-text {
    color: #bdc1c6 !important;
}

/* Owner Reply in Modal */
.vreview-modal .vreview-owner-reply {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
    border-radius: 8px !important;
    padding: 18px !important;
    margin-top: 24px !important;
}

.vreview-modal .vreview-owner-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.vreview-modal .vreview-owner-icon {
    width: 36px !important;
    height: 36px !important;
    background: #e8eaed !important;
    background-color: #e8eaed !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.vreview-modal .vreview-owner-icon svg {
    width: 20px !important;
    height: 20px !important;
    fill: #5f6368 !important;
}

.vreview-modal .vreview-owner-info {
    flex: 1 !important;
}

.vreview-modal .vreview-owner-name-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.vreview-modal .vreview-owner-name {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #202124 !important;
}

.vreview-modal .vreview-owner-badge {
    display: inline-block !important;
    padding: 3px 7px !important;
    background: #202124 !important;
    background-color: #202124 !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 3px !important;
}

.vreview-modal .vreview-owner-date {
    font-size: 11px !important;
    color: #80868b !important;
    margin-top: 2px !important;
}

.vreview-modal .vreview-owner-text {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #5f6368 !important;
}

/* ==================== ERROR MESSAGE ==================== */
.vreview-error {
    padding: 16px 20px;
    background: #fce8e6;
    border: 1px solid #f5c6cb;
    border-radius: var(--vreview-radius-sm);
    color: #c5221f;
    font-size: 14px;
    text-align: center;
}

/* ==================== VIEW ALL BUTTON ==================== */
.vreview-view-all-wrap {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--vreview-border-color);
}

.vreview-view-all-btn,
button.vreview-view-all-btn,
a.vreview-view-all-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 28px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--vreview-accent) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: var(--vreview-font) !important;
    text-decoration: none !important;
    border: 2px solid var(--vreview-accent) !important;
    border-radius: 24px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.vreview-view-all-btn:hover,
button.vreview-view-all-btn:hover,
a.vreview-view-all-btn:hover {
    background: var(--vreview-accent) !important;
    background-color: var(--vreview-accent) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ==================== ALL PAGE MODAL ==================== */
.vreview-allpage-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.vreview-allpage-modal.vreview-modal-open {
    display: flex !important;
}

.vreview-allpage-modal .vreview-modal-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}

.vreview-allpage-modal .vreview-modal-container {
    position: relative !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-radius: 16px !important;
    max-width: 560px !important;
    width: 100% !important;
    max-height: 85vh !important;
    overflow: hidden !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35) !important;
    animation: vreview-modal-appear 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000000 !important;
}

.vreview-allpage-modal .vreview-modal-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f3f4 !important;
    background-color: #f1f3f4 !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    line-height: 1 !important;
    color: #5f6368 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.vreview-allpage-modal .vreview-modal-close:hover {
    background: #e8eaed !important;
    background-color: #e8eaed !important;
    color: #202124 !important;
}

.vreview-allpage-modal .vreview-modal-content {
    padding: 28px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* ==================== ALL REVIEWS MODAL ==================== */
.vreview-all-modal-container {
    max-width: 1100px !important;
    max-height: 90vh !important;
    width: 95% !important;
}

.vreview-all-modal-container .vreview-modal-content {
    padding: 30px !important;
}

.vreview-all-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e8eaed;
}

.vreview-all-header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vreview-all-header .vreview-branding {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.vreview-all-header .vreview-google-logo {
    font-size: 22px;
    font-weight: 500;
}

.vreview-all-header .vreview-title {
    font-size: 22px;
    font-weight: 400;
    color: #5f6368;
}

.vreview-all-summary {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vreview-all-summary .vreview-star {
    width: 18px;
    height: 18px;
}

/* Grid Layout for Modal */
.vreview-all-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.vreview-all-modal-card {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.vreview-all-modal-card .vreview-card-header {
    margin-bottom: 10px;
}

.vreview-all-modal-card .vreview-avatar-wrap {
    width: 36px;
    height: 36px;
}

.vreview-all-modal-card .vreview-card-stars {
    margin-bottom: 10px;
}

.vreview-all-modal-card .vreview-card-stars .vreview-star {
    width: 14px;
    height: 14px;
}

.vreview-all-modal-card .vreview-card-text {
    font-size: 12px;
    line-height: 1.5;
    color: #5f6368;
    flex: 1;
}

.vreview-modal-readmore {
    color: #4285F4;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 6px;
}

.vreview-modal-readmore:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .vreview-all-modal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .vreview-all-modal-grid {
        grid-template-columns: 1fr;
    }
    
    .vreview-all-modal-container .vreview-modal-content {
        padding: 20px !important;
    }
}

/* ==================== ALL REVIEWS PAGE ==================== */
.vreview-all-page {
    font-family: var(--vreview-font);
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
}

.vreview-all-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8eaed;
}

.vreview-all-page-header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vreview-all-page-header .vreview-branding {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.vreview-all-page-header .vreview-google-logo {
    font-size: 26px;
    font-weight: 500;
}

.vreview-all-page-header .vreview-title {
    font-size: 26px;
    font-weight: 400;
    color: #5f6368;
}

.vreview-all-page-header .vreview-rating-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vreview-all-page-header .vreview-rating-number {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
}

.vreview-all-page-header .vreview-stars-display .vreview-star {
    width: 20px;
    height: 20px;
}

.vreview-all-page-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Column variations */
.vreview-all-page-grid.vreview-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.vreview-all-page-grid.vreview-grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.vreview-all-page-grid.vreview-grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.vreview-all-page-grid.vreview-grid-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

.vreview-all-page-card {
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.vreview-all-page-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.vreview-all-page-card .vreview-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.vreview-all-page-card .vreview-avatar-wrap {
    width: 40px;
    height: 40px;
}

.vreview-all-page-card .vreview-card-stars {
    margin-bottom: 12px;
}

.vreview-all-page-card .vreview-card-text {
    font-size: 13px;
    line-height: 1.5;
    color: #5f6368;
    flex: 1;
    margin-bottom: 8px;
}

.vreview-all-page-card .vreview-read-more {
    background: none !important;
    border: none !important;
    color: #4285F4 !important;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 !important;
    text-align: left;
    margin-top: auto;
}

.vreview-all-page-card .vreview-read-more:hover {
    color: #1a73e8 !important;
    text-decoration: underline;
}

/* Load More Button */
.vreview-load-more-wrap {
    text-align: center;
    margin-top: 20px;
}

.vreview-load-more-btn,
button.vreview-load-more-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 40px !important;
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
    color: #202124 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: var(--vreview-font) !important;
    text-decoration: none !important;
    border: 1px solid #dadce0 !important;
    border-radius: 24px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.vreview-load-more-btn:hover,
button.vreview-load-more-btn:hover {
    background: #f1f3f4 !important;
    background-color: #f1f3f4 !important;
    border-color: #d2d5d9 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Bottom Google Button */
.vreview-bottom-button-wrap {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e8eaed;
}

.vreview-bottom-google-btn,
a.vreview-bottom-google-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 32px !important;
    background: #4285F4 !important;
    background-color: #4285F4 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    font-family: var(--vreview-font) !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 24px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3) !important;
}

.vreview-bottom-google-btn:hover,
a.vreview-bottom-google-btn:hover {
    background: #3367d6 !important;
    background-color: #3367d6 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4) !important;
    transform: translateY(-1px);
}

/* Responsive Grid */
@media (max-width: 1400px) {
    .vreview-all-page-grid.vreview-grid-cols-6 {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .vreview-all-page-grid,
    .vreview-all-page-grid.vreview-grid-cols-5,
    .vreview-all-page-grid.vreview-grid-cols-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .vreview-all-page-grid,
    .vreview-all-page-grid.vreview-grid-cols-3,
    .vreview-all-page-grid.vreview-grid-cols-4,
    .vreview-all-page-grid.vreview-grid-cols-5,
    .vreview-all-page-grid.vreview-grid-cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .vreview-all-page-grid,
    .vreview-all-page-grid.vreview-grid-cols-3,
    .vreview-all-page-grid.vreview-grid-cols-4,
    .vreview-all-page-grid.vreview-grid-cols-5,
    .vreview-all-page-grid.vreview-grid-cols-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .vreview-all-page {
        padding: 20px;
    }
    
    .vreview-all-page-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vreview-all-page-header .vreview-cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .vreview-bottom-google-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .vreview-all-page-grid,
    .vreview-all-page-grid.vreview-grid-cols-3,
    .vreview-all-page-grid.vreview-grid-cols-4,
    .vreview-all-page-grid.vreview-grid-cols-5,
    .vreview-all-page-grid.vreview-grid-cols-6 {
        grid-template-columns: 1fr;
    }
    
    .vreview-all-page-header .vreview-google-logo,
    .vreview-all-page-header .vreview-title {
        font-size: 20px;
    }
}

/* Dark Theme */
.vreview-all-page.vreview-theme-dark {
    background: #202124;
}

.vreview-all-page.vreview-theme-dark .vreview-all-page-header {
    border-bottom-color: #3c4043;
}

.vreview-all-page.vreview-theme-dark .vreview-all-page-card {
    background: #292a2d;
    border-color: #3c4043;
}

.vreview-all-page.vreview-theme-dark .vreview-all-page-card .vreview-card-text {
    color: #bdc1c6;
}

.vreview-all-page.vreview-theme-dark .vreview-load-more-btn {
    background: #292a2d !important;
    background-color: #292a2d !important;
    color: #e8eaed !important;
    border-color: #5f6368 !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .vreview-card {
        flex: 0 0 calc(25% - 12px);
    }
}

@media (max-width: 992px) {
    .vreview-card {
        flex: 0 0 calc(33.333% - 11px);
    }
    
    .vreview-header {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .vreview-container {
        padding: 20px 16px;
    }
    
    .vreview-card {
        flex: 0 0 calc(50% - 8px);
        min-width: 200px;
    }
    
    .vreview-nav {
        width: 36px;
        height: 36px;
    }
    
    .vreview-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .vreview-google-logo,
    .vreview-title,
    .vreview-rating-number {
        font-size: 18px;
    }
    
    .vreview-modal-container {
        margin: 10px;
        max-height: 90vh;
    }
    
    .vreview-modal-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .vreview-container {
        padding: 16px 12px;
        border-radius: var(--vreview-radius-sm);
    }
    
    .vreview-header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    
    .vreview-header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .vreview-cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .vreview-card {
        flex: 0 0 100%;
        min-width: auto;
        max-width: none;
    }
    
    .vreview-carousel-wrapper {
        gap: 4px;
    }
    
    .vreview-nav {
        width: 32px;
        height: 32px;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .vreview-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .vreview-nav,
    .vreview-pagination,
    .vreview-cta-button {
        display: none !important;
    }
    
    .vreview-card {
        break-inside: avoid;
    }
}
