body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 20px;
}

.top-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

/* Контейнер блока профиля */
.business-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    transition: 0.2s;
}

.business-block:hover {
    background: #e8f0ff;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.15);
}

.number {
    font-size: 20px;
    font-weight: 700;
    width: 35px;
    text-align: center;
    flex-shrink: 0;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Блок с именем и адресом */
.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    margin-left: 10px;
}

.username {
    font-size: 17px;
    font-weight: bold;
    color: #222;
}

.business-address {
    font-size: 0.85em;
    /* немного меньше, чем username */
    color: #888;
    /* серый цвет */
    line-height: 1.2;
}

/* Фотографии пользователя */
.user-photos {
    display: flex;
    gap: 6px;
}

.user-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* Статистика и рейтинг */
.user-stats {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
    align-items: center;
}

.user-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating {
    font-size: 16px;
    font-weight: 700;
    color: #444;
    flex-shrink: 0;
}

.business-block {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Контейнер растягивает контент слева и справа */
    gap: 15px;
    background: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.business-main {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
    text-decoration: none;
    color: inherit;
}

.phone-button {
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0;
}
.phone-button:hover {
    background: #45a049;
}

.business-extra {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 0px;
}


.business-slogan {
    font-size: 14px;
    color: #444;
    margin-bottom: 5px;
    font-style: italic;
}

/* Адаптив для мобильных */
@media (max-width: 700px) {
    .business-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-info {
        margin-left: 0;
        margin-top: 5px;
    }

    .user-stats {
        margin-top: 5px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .rating {
        margin-top: 5px;
    }
}