/* ─────────────────────────────────────────────
   COE Google Reviews — Estilos base
   Diseño limpio y neutral — se adapta al tema
   ───────────────────────────────────────────── */

.coe-google-reviews {
    font-family: inherit;
}

/* ── RESUMEN GENERAL ── */
.coe-reviews-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.coe-summary-score {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
    min-width: 72px;
    text-align: center;
}

.coe-summary-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.coe-summary-rating .coe-review-stars span {
    font-size: 22px;
}

.coe-summary-total {
    font-size: 13px;
    color: #666;
}

.coe-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #4285F4;
    text-decoration: none;
    margin-top: 4px;
    transition: opacity .2s;
}
.coe-google-badge:hover { opacity: .75; }

/* ── GRID DE TARJETAS ── */
.coe-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* ── TARJETA ── */
.coe-review-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow .25s ease;
}
.coe-review-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}

/* ── HEADER DE TARJETA ── */
.coe-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coe-review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.coe-avatar-initials {
    background: #4285F4;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.coe-review-meta {
    flex: 1;
    min-width: 0;
}

.coe-review-author {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coe-review-time {
    font-size: 12px;
    color: #888;
    margin-top: 1px;
}

.coe-review-google-icon {
    margin-left: auto;
    opacity: .6;
    flex-shrink: 0;
}

/* ── ESTRELLAS ── */
.coe-review-stars {
    display: flex;
    gap: 1px;
}

.coe-review-stars span {
    font-size: 16px;
    color: #F4B400;
    line-height: 1;
}

.coe-review-stars span.empty {
    color: #ddd;
}

/* ── TEXTO ── */
.coe-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

.coe-review-more {
    color: #4285F4;
    text-decoration: none;
    font-size: 13px;
    margin-left: 2px;
}
.coe-review-more:hover { text-decoration: underline; }

/* ── ESTADO VACÍO ── */
.coe-reviews-empty {
    color: #888;
    font-style: italic;
}

/* ── RESPONSIVO ── */
@media (max-width: 600px) {
    .coe-reviews-summary {
        flex-direction: column;
        text-align: center;
    }
    .coe-summary-info {
        align-items: center;
    }
    .coe-reviews-grid {
        grid-template-columns: 1fr;
    }
}
