/* Moduł Opinii Google Mopserwis - Dedykowany, Pancerny CSS */

.mop-google-reviews-section {
    position: relative;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.mop-google-reviews-section *,
.mop-google-reviews-section *::before,
.mop-google-reviews-section *::after {
    box-sizing: border-box;
}

/* Nagłówek */
.mop-gr-header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 16px !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    gap: 12px !important;
}

.mop-gr-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.mop-gr-header-logo-box {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

.mop-gr-header-logo-box svg {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    display: block !important;
    margin: 0 !important;
}

.mop-gr-header-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.2 !important;
}

.mop-gr-header-stars-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.mop-gr-header-score {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #f59e0b !important;
}

.mop-gr-stars-list {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
}

.mop-gr-star {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    display: inline-block !important;
}

/* Przycisk Zobacz opinie w Google */
.mop-gr-link-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    background-color: #f3f4f6 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
    line-height: 1.4 !important;
    border: none !important;
}

.mop-gr-link-btn:hover {
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
}

.mop-gr-link-btn svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    display: inline-block !important;
    margin: 0 !important;
}

/* Slider Relative Wrapper */
.mop-gr-slider-relative {
    position: relative !important;
    width: 100% !important;
}

/* Przycisk nawigacyjny (Strzałka) */
.mop-gr-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12) !important;
    color: #374151 !important;
    font-size: 24px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 0 2px 0 !important;
    transition: all 0.2s ease-in-out !important;
}

.mop-gr-nav-btn:hover {
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
    border-color: #1d4ed8 !important;
}

.mop-gr-nav-prev {
    left: -16px !important;
}

.mop-gr-nav-next {
    right: -16px !important;
}

/* Tor slidera z kartami */
.mop-gr-track {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding: 8px 4px !important;
    -webkit-overflow-scrolling: touch !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.mop-gr-track::-webkit-scrollbar {
    display: none !important;
}

/* Pojedyncza karta opinii */
.mop-gr-card {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.2s ease-in-out !important;
}

.mop-gr-card:hover {
    background-color: #ffffff !important;
    box-shadow: 0 8px 16px -4px rgba(0,0,0,0.08) !important;
    border-color: #cbd5e1 !important;
}

.mop-gr-card-top {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
}

.mop-gr-author-box {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow: hidden !important;
}

.mop-gr-avatar {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    aspect-ratio: 1 / 1 !important;
}

.mop-gr-author-details {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.mop-gr-author-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.mop-gr-review-date {
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.2 !important;
}

.mop-gr-card-g-logo {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
}

.mop-gr-card-g-logo svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    display: block !important;
    margin: 0 !important;
}

.mop-gr-card-rating {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
}

.mop-gr-check-icon {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    display: inline-block !important;
}

.mop-gr-card-text {
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #334155 !important;
    margin: 0 0 12px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-style: italic !important;
}

.mop-gr-card-footer {
    padding-top: 8px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.mop-gr-card-link {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
}

.mop-gr-card-link:hover {
    color: #1d4ed8 !important;
}

@media (max-width: 640px) {
    .mop-gr-card {
        flex: 0 0 240px !important;
        width: 240px !important;
        min-width: 240px !important;
    }
}
