/* GMB Contact Block – Stylesheet */

.gmb-contact {
    font-family: inherit;
    max-width: 680px;
}

/* ── Blocks ── */
.gmb-block {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}
.gmb-block:last-child { border-bottom: none; }

.gmb-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
    width: 28px;
    text-align: center;
}

.gmb-block__content { flex: 1; }
.gmb-block__content strong {
    display: block;
    font-size: 0.75rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 4px;
}
.gmb-block__content p { margin: 0; line-height: 1.6; }
.gmb-block__content a { color: inherit; }

/* ── Business name ── */
.gmb-business-name {
    margin: 0 0 4px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ── Open / closed badge ── */
.gmb-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.gmb-badge--open   { background: #d4edda; color: #1a6b33; }
.gmb-badge--closed { background: #fde8e8; color: #8b1a1a; }

/* ── Hours list ── */
.gmb-hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ── Stars ── */
.gmb-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.gmb-star        { font-size: 1.2rem; color: #d4a700; line-height: 1; }
.gmb-star--empty { color: #ccc; }
.gmb-star--half  { color: #d4a700; opacity: .6; }
.gmb-rating-value { font-weight: 700; font-size: 1rem; }
.gmb-rating-count { color: #888; font-size: 0.85rem; }

/* ── Reviews ── */
.gmb-reviews { display: flex; flex-direction: column; gap: 14px; }

.gmb-review {
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 14px;
}

.gmb-review__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.gmb-review__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.gmb-review__avatar-placeholder {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #666;
    flex-shrink: 0;
}

.gmb-review__author  { font-weight: 600; font-size: 0.9rem; }
.gmb-review__date    { font-size: 0.78rem; color: #999; }
.gmb-review__stars   { color: #d4a700; margin-left: auto; font-size: 0.9rem; }
.gmb-review__text    { margin: 0; font-size: 0.88rem; line-height: 1.6; color: #444; }

/* ── Map ── */
.gmb-map { padding-top: 16px; }

/* ── Admin error ── */
.gmb-error {
    background: #fde8e8;
    border: 1px solid #f5b7b7;
    color: #8b1a1a;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .gmb-block { gap: 10px; }
    .gmb-icon  { font-size: 1.1rem; }
    .gmb-business-name { font-size: 1.2rem; }
}
