/* ATE concat — 2 files */

/* service-area-preview.css */
/* Service Area Preview Map — lightweight homepage widget */

.da-service-area-preview-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

#da-service-area-preview {
    height: 350px;
    width: 100%;
}

/* Legend — floating bottom-left */
.da-preview-legend {
    position: absolute;
    bottom: 40px;
    left: 12px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    padding: 8px 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    line-height: 1.8;
    display: none;
}

.da-preview-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.da-preview-legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.da-preview-legend-swatch.primary {
    background: rgba(45, 90, 39, 0.35);
    border: 2px solid #2d5a27;
}

.da-preview-legend-swatch.extended {
    background: rgba(193, 121, 0, 0.25);
    border: 2px solid #bf6c00;
}

/* CTA overlay at bottom */
.da-preview-cta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
    padding: 24px 16px 12px;
    text-align: center;
}

.da-preview-cta a {
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.da-preview-cta a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    #da-service-area-preview {
        height: 260px;
    }
}


/* reviews.css */
/* 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;
    }
}

