/* DA Reviews — shortcode styles
   Theme can override any of these with more specific selectors. */

.da-reviews-wrap {
    margin: 0 auto;
}

/* Aggregate rating header */
.da-reviews-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.da-reviews-header .da-google-logo {
    height: 20px;
    display: block;
    margin: 0 auto 8px;
}

.da-reviews-header-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.da-rating-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.da-rating-stars {
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.da-rating-count {
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
}

.da-rating-count:hover {
    text-decoration: underline;
}

/* Star colors */
.da-star-filled {
    color: #fbbc04;
}

.da-star-empty {
    color: #ddd;
}

/* Review grid */
.da-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Review card */
.da-review-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.da-review-stars {
    margin-bottom: 8px;
    font-size: 18px;
    letter-spacing: 1px;
}

.da-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    flex: 1;
    margin: 0 0 12px;
}

/* Author line */
.da-review-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.da-review-photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.da-review-date {
    color: #999;
}

/* Owner reply */
.da-review-reply {
    margin-top: 12px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

/* Attribution */
.da-reviews-attribution {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #999;
}

.da-reviews-attribution img {
    height: 14px;
    vertical-align: middle;
    margin-right: 4px;
}

.da-reviews-attribution a {
    color: #666;
    text-decoration: none;
}

.da-reviews-attribution a:hover {
    text-decoration: underline;
}

/* Mobile: single column */
@media (max-width: 600px) {
    .da-reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
