/* Layout grid — similar al widget que usás actualmente */
.gr-container.gr-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding: 16px 0;
}

/* Card */
.gr-card {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}
.gr-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); }

/* Header con avatar */
.gr-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.gr-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #3f51b5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gr-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gr-avatar span { color: white; font-weight: 600; font-size: 18px; }

.gr-author-info { flex: 1; }
.gr-author-info strong { display: block; font-size: 15px; }
.gr-time { font-size: 13px; color: #888; }

.gr-google-icon { margin-left: auto; }

/* Estrellas */
.gr-stars { margin-bottom: 10px; }
.gr-star { color: #ccc; font-size: 18px; }
.gr-star.filled { color: #f9a825; }

/* Texto de la reseña */
.gr-text { font-size: 14px; line-height: 1.6; color: #444; margin: 0; }

/* Slider layout */
.gr-layout-slider {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}
.gr-layout-slider .gr-card {
    min-width: 280px;
    scroll-snap-align: start;
}

/* Barra de filtro */
.gr-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.gr-filter-label {
    font-size: 14px;
    color: #666;
    margin-right: 4px;
}
.gr-filter-btn {
    padding: 6px 14px;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-size: 13px;
    transition: all .2s;
}
.gr-filter-btn:hover {
    border-color: #f9a825;
    color: #f9a825;
}
.gr-filter-btn.active {
    background: #f9a825;
    border-color: #f9a825;
    color: white;
    font-weight: 600;
}

/* Paginación */
.gr-pagination {
    text-align: center;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.gr-page-btn {
    padding: 10px 28px;
    background: white;
    border: 2px solid #4285F4;
    color: #4285F4;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.gr-page-btn:hover {
    background: #4285F4;
    color: white;
}
.gr-page-info {
    font-size: 12px;
    color: #999;
}