/* Fundo global da A Maior do Norte.
   O !important vence fundos definidos em estilos internos das paginas.
   A textura deve estar em static/fundo_site.webp. */
html {
    background-color: #030715;
}

body {
    background-color: #030715 !important;
    background-image: url('/static/fundo_site.webp') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

/* O cabecalho usa a mesma textura, sem emenda visual. */
.topo-site {
    background-color: transparent !important;
    background-image: none !important;
}

.topo-site {
    width: 100%;
    background: #000020;
    border-bottom: 1px solid #ffffff25;

    padding: 12px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.logo-imagem {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-imagem img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.menu-topo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.menu-topo a {
    display: block;
    text-decoration: none;
}

.nav-btn {
    border: none;
    padding: 11px 17px;
    border-radius: 7px;

    font-size: 13px;
    font-weight: bold;

    cursor: pointer;
}

.btn-loja {
    background: white;
    color: #000020;
}

.btn-consultar,
.btn-carrinho {
    background: #d9d9de;
    color: #000020;
}

.btn-entrar {
    background: transparent;
    color: white;
    border: 1px solid white;
}

@media (max-width: 600px) {

    .topo-site {
        padding: 6px 5px;
        gap: 4px;
    }

    .logo-imagem {
        width: 39px;
        flex: 0 0 39px;
    }

    .logo-imagem img {
        width: 39px;
        height: 39px;
    }

    .menu-topo {
        flex: 1;
        min-width: 0;

        display: flex;
        flex-wrap: nowrap;

        gap: 3px;
    }

    .menu-topo a {
        flex: 1 1 0;
        min-width: 0;
    }

    .nav-btn {
        width: 100%;
        min-height: 32px;

        padding: 5px 1px;

        font-size: 8px;
        line-height: 1;

        white-space: nowrap;
    }
}

/* Acabamento global: sem linha no cabecalho e rodape azul profundo. */
.topo-site {
    border-bottom: none !important;
    box-shadow: none !important;
}

footer, .rodape-site, .site-footer {
    background: #020217 !important;
    background-image: none !important;
    border-top: none !important;
}
