/* Infinity Solar Google Reviews Slider */

.igr-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: inherit;
    box-sizing: border-box;
    width: 100%;
}

/* ── SUMMARY BAR (top, horizontal) ── */
.igr-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.igr-summary-label {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a2e44;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

.igr-summary-rating {
    font-size: 2.6rem;
    font-weight: 800;
    color: #1a2e44;
    line-height: 1;
}

.igr-summary-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.igr-summary-count {
    font-size: 0.78rem;
    color: #718096;
}

.igr-google-logo {
    display: flex;
    align-items: center;
    opacity: 0.9;
    transition: opacity 0.2s;
    margin-left: auto;
}
.igr-google-logo:hover { opacity: 1; }

/* ── SLIDER OUTER ── */
.igr-slider-outer {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.igr-slider {
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
}

/* ── CARD ── */
.igr-card {
    flex-shrink: 0;
    background: #f7f8fa;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    padding: 18px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.2s;
}

.igr-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
}

/* ── CARD HEADER ── */
.igr-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.igr-avatar-wrap { flex-shrink: 0; }

.igr-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.igr-avatar-initial {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.igr-author-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.igr-author-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a2e44;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.3;
}
.igr-author-name:hover { color: #4285F4; }

.igr-time {
    font-size: 0.74rem;
    color: #888;
    line-height: 1;
}

.igr-google-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    opacity: 0.85;
}

/* ── STARS ── */
.igr-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.igr-star       { font-size: 1.05rem; line-height: 1; }
.igr-star-full  { color: #FBBC04; }
.igr-star-half  { color: #FBBC04; }
.igr-star-empty { color: #dadce0; }

.igr-verified {
    display: flex;
    align-items: center;
    margin-left: 4px;
}

/* ── REVIEW TEXT ── */
.igr-text {
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.igr-read-more {
    color: #4285F4;
    font-size: 0.82rem;
    text-decoration: none;
    white-space: nowrap;
}
.igr-read-more:hover { text-decoration: underline; }

/* ── ARROWS ── */
.igr-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #555;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    padding: 0;
    transition: background 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.igr-arrow:hover {
    background: #f5f5f5;
    box-shadow: 0 3px 12px rgba(0,0,0,0.16);
}

.igr-arrow-prev {
    left: -16px;
    transform: translateY(-50%) rotate(180deg);
}
.igr-arrow-next {
    right: -16px;
}

/* ── NO DOTS ── */
.igr-dots { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
    .igr-google-logo { margin-left: 0; }
    .igr-arrow-prev  { left: 0; }
    .igr-arrow-next  { right: 0; }
}
