/* static/layout/store-header.css */

/* O container principal do topo */
.store-hero {
    position: relative;
    margin-bottom: 24px;
    background-color: var(--surface); /* Fundo branco/surface */
    border-bottom: 1px solid var(--border-subtle);
}

/* A Capa (Banner) */
.store-cover {
    height: 160px; /* Altura da capa */
    width: 100%;
    background-color: var(--surface-hover); /* Cor base enquanto carrega */
    background-size: cover;
    background-position: center;
    
    /* Gradiente Caju Go: Verde Floresta -> Verde Folha */
    background-image: linear-gradient(135deg, var(--verde-floresta), var(--verde-folha));
}

/* O cartão branco com as informações */
.store-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* O Logo do Restaurante (Redondo e sobrepondo a capa) */
.store-avatar {
    width: 88px; /* Levemente maior */
    height: 88px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #fff; /* Borda branca grossa para separar da capa */
    box-shadow: var(--shadow-md);
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;

    /* Posicionamento Mágico: sobe metade para cima da capa */
    margin-top: -44px; /* Metade da altura */
    margin-bottom: 16px;

    /* Centralizar o emoji/imagem dentro */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    z-index: 2;
    color: var(--caju-orange); /* Se for texto/ícone dentro */
}

/* Textos do Restaurante */
.store-meta h1 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--verde-floresta);
    margin-bottom: 6px;
    line-height: 1.2;
}

.store-meta .muted {
    font-family: 'Nunito', sans-serif;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Estatísticas (Tempo, Taxa, Nota) */
.store-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    align-items: center;
    font-family: 'Nunito', sans-serif;
    flex-wrap: wrap;
}

.store-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--surface-hover);
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

/* Ícone de Estrela */
#restaurant-rating::before {
    content: '★';
    color: #FFC107; /* Amarelo Ouro mantido */
    margin-right: 2px;
    font-size: 14px;
}

/* Ícone de Relógio e Moto (usando emoji ou caractere por enquanto) */
.store-stat svg, .store-stat i {
    color: var(--caju-orange);
}

/* Área de botões */
.store-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* Layout Responsivo (Tablet/Desktop) */
@media (min-width: 768px) {
    .store-card {
        padding-top: 0;
        flex-direction: row;
        align-items: flex-end; /* Alinha na base */
        gap: 24px;
    }

    .store-avatar {
        margin-top: -44px; /* Mantém sobreposição */
        margin-bottom: 20px;
        width: 120px; /* Maior no desktop */
        height: 120px;
        margin-top: -60px;
        border-width: 5px;
    }

    .store-meta {
        flex: 1;
        padding-top: 16px;
        padding-bottom: 4px;
    }

    .store-actions {
        margin-top: 0;
        margin-bottom: 8px; /* Alinha com o texto */
    }
}