/* ── Trustpilot Reviews Plugin Styles ─────────────────────────────────────── */

.tpr-wrapper {
    font-family: inherit;
    max-width: 100%;
}

/* Summary banner */
.tpr-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.tpr-summary__score {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: #191919;
}

.tpr-summary__stars {
    display: flex;
    align-items: center;
}

.tpr-summary__meta {
    font-size: 0.9rem;
    color: #555;
}

.tpr-summary__meta a {
    color: #00b67a;
    text-decoration: none;
    font-weight: 600;
}

.tpr-summary__meta a:hover {
    text-decoration: underline;
}

/* Stars */
.tpr-stars {
    display: inline-flex;
    gap: 2px;
}

.tpr-star {
    font-size: 1.2rem;
    line-height: 1;
}

.tpr-star--full  { color: #00b67a; }
.tpr-star--half  { color: #00b67a; opacity: 0.6; }
.tpr-star--empty { color: #ddd; }

/* Grid layout */
.tpr-reviews--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* List layout */
.tpr-reviews--list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual review card */
.tpr-review {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.2s ease;
}

.tpr-review:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tpr-review__header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tpr-review__title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #191919;
}

.tpr-review__body {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.tpr-review__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    margin-top: auto;
}

.tpr-review__author {
    font-weight: 600;
    color: #333;
}

.tpr-review__verified {
    background: #e6f9f2;
    color: #00875a;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tpr-review__date {
    margin-left: auto;
}

.tpr-review__link {
    color: #00b67a;
    text-decoration: none;
    font-size: 0.78rem;
}

.tpr-review__link:hover {
    text-decoration: underline;
}

.tpr-no-reviews {
    color: #888;
    font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
    .tpr-reviews--grid {
        grid-template-columns: 1fr;
    }

    .tpr-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
