* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f7f7f7;
    color: #222;
}

/* BARRA DE BENEFÍCIOS */

.barra-beneficios {
    background-color: #000;
    color: #fff;
    padding: 10px 8%;
    display: flex;
    justify-content: center;
    gap: 60px;
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* CABEÇALHO */

.topo {
    background-color: #111;
    color: white;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* BANNER PRINCIPAL */

.banner {
    min-height: 450px;
    background: linear-gradient(135deg, #111, #333);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 8%;
}

.banner h1 {
    font-size: 52px;
    max-width: 650px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 20px;
    color: #ddd;
    margin-bottom: 30px;
}

.botao {
    background-color: white;
    color: #111;
    text-decoration: none;
    padding: 15px 28px;
    border-radius: 8px;
    font-weight: bold;
    width: fit-content;
}

/* PRODUTOS */

.produtos {
    padding: 60px 8%;
}

.produtos h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.grade-produtos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.produto {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.foto-produto {
    position: relative;
    height: 250px;
    min-height: 250px;
    max-height: 250px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #e8e8e8;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
}

.imagem-produto {
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
}

.produto-info {
    padding: 22px;
}

.produto-info h3 {
    margin-bottom: 10px;
}

.preco {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 18px;
}

.comprar {
    display: block;
    background-color: #111;
    color: white;
    text-align: center;
    padding: 13px;
    border-radius: 7px;
    text-decoration: none;
}

/* CELULAR E TABLET */

@media (max-width: 800px) {

    .barra-beneficios {
        gap: 10px;
        justify-content: space-between;
        font-size: 10px;
        padding: 8px 4%;
    }

    .grade-produtos {
        grid-template-columns: 1fr;
    }

    .menu {
        display: none;
    }

    .banner h1 {
        font-size: 38px;
    }
}

/* NOVO CABEÇALHO */

.busca {
    flex: 1;
    max-width: 520px;
    margin: 0 40px;
    display: flex;
}

.busca input {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: 14px;
}

.busca button {
    border: none;
    background-color: white;
    padding: 0 18px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 17px;
}

.acoes {
    display: flex;
    align-items: center;
    gap: 22px;
}

.acoes a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.menu-principal {
    background-color: white;
    min-height: 50px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    border-bottom: 1px solid #e5e5e5;
}

.menu-principal a {
    color: #222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.menu-principal a:hover {
    color: #777;
}

/* BANNER MODERNO */

.banner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.banner-conteudo {
    max-width: 700px;
}

.banner-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 18px;
    color: #bbb;
}

.banner-botoes {
    display: flex;
    align-items: center;
    gap: 25px;
}

.botao-secundario {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.banner-destaque {
    width: 330px;
    min-height: 250px;
    padding: 40px;
    border: 1px solid #555;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
}

.banner-destaque span {
    font-size: 11px;
    letter-spacing: 2px;
    color: #aaa;
}

.banner-destaque h2 {
    font-size: 42px;
    margin: 15px 0 8px;
}

.banner-destaque p {
    margin: 0;
    font-size: 16px;
}

@media (max-width: 900px) {
    .banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .banner-destaque {
        width: 100%;
    }

    .acoes {
        display: none;
    }

    .busca {
        margin-right: 0;
    }
}

/* CATEGORIAS */

.categorias {
    padding: 65px 8% 30px;
    background-color: #fff;
}

.titulo-secao {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.titulo-secao span {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
    color: #888;
}

.titulo-secao h2 {
    font-size: 32px;
    margin-top: 8px;
}

.titulo-secao > a {
    color: #222;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.grade-categorias {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.categoria {
    min-height: 180px;
    background-color: #f5f5f5;
    border-radius: 14px;
    padding: 28px;
    text-decoration: none;
    color: #222;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.categoria:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.categoria-icone {
    font-size: 34px;
    margin-bottom: 25px;
}

.categoria h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.categoria p {
    font-size: 13px;
    color: #777;
}

@media (max-width: 900px) {
    .grade-categorias {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* PRODUTOS PROFISSIONAIS */

.produtos {
    background-color: #f7f7f7;
    padding-top: 65px;
    padding-bottom: 80px;
}

.produto {
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.produto:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}

.foto-produto {
    position: relative;
    height: 250px;
}

.selo-desconto {
    position: absolute;
    top: 18px;
    left: 18px;
    background-color: #111;
    color: white;
    padding: 7px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.favorito {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background-color: white;
    font-size: 20px;
    cursor: pointer;
}

.placeholder-produto {
    color: #999;
}

.categoria-produto {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.5px;
    color: #888;
}

.produto-info h3 {
    font-size: 19px;
    margin-top: 9px;
    margin-bottom: 8px;
}

.avaliacao {
    font-size: 13px;
    margin-bottom: 18px;
}

.avaliacao span {
    color: #999;
}

.preco-antigo {
    color: #999;
    text-decoration: line-through;
    font-size: 13px;
    margin-bottom: 3px;
}

.preco {
    font-size: 25px;
    margin-bottom: 5px;
}

.parcelamento {
    color: #777;
    font-size: 12px;
    margin-bottom: 18px;
}

.comprar {
    transition: background-color 0.2s ease;
}

.comprar:hover {
    background-color: #333;
}


/* Mensagens de aviso da loja */

.aviso-loja {
    max-width: 1100px;
    margin: 20px auto;
    padding: 16px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.aviso-erro {
    background-color: #fff1f0;
    color: #a61b1b;
    border: 1px solid #f5b5b0;
}

.aviso-sucesso {
    background-color: #edf9f0;
    color: #176b35;
    border: 1px solid #a9dfb8;
}


/* Botão de produto esgotado */

.comprar.esgotado {
    background-color: #b8b8b8;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.75;
    border: none;
}

.comprar.esgotado:hover {
    background-color: #b8b8b8;
    transform: none;
}


/* Indicadores de estoque do painel */

.estoque-normal {
    color: #16803c;
    font-weight: 600;
}

.estoque-baixo {
    color: #b77900;
    font-weight: 600;
}

.estoque-esgotado {
    color: #c62828;
    font-weight: 700;
}


/* Resumo inteligente do estoque */

.resumo-estoque {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.indicador-estoque {
    background: #ffffff;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.indicador-estoque h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #444;
}

.indicador-estoque p {
    font-size: 32px;
    font-weight: bold;
    color: #222;
    margin: 0;
}

@media (max-width: 700px) {
    .resumo-estoque {
        grid-template-columns: 1fr;
    }
}


/* Painel financeiro */

.resumo-financeiro {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.card-financeiro {
    background: #ffffff;
    padding: 24px 15px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border: 1px solid #eeeeee;
}

.card-financeiro h3 {
    font-size: 15px;
    color: #555555;
    margin-bottom: 15px;
}

.card-financeiro p {
    font-size: 27px;
    font-weight: 700;
    color: #222222;
    margin: 0;
}

@media (max-width: 900px) {
    .resumo-financeiro {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .resumo-financeiro {
        grid-template-columns: 1fr;
    }
}


/* Visual do relatório mensal */

.relatorio-mensal {
    background: white;
    padding: 25px;
    border-radius: 14px;
    margin: 25px 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.linha-mes {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.linha-mes span {
    min-width: 75px;
}

.barra-mes {
    flex: 1;
    height: 20px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.barra-preenchida {
    height: 100%;
    background: #2563eb;
    border-radius: 10px;
}

.linha-mes strong {
    min-width: 85px;
    font-size: 14px;
}

@media (max-width: 600px) {
    .linha-mes {
        flex-wrap: wrap;
    }

    .barra-mes {
        min-width: 100%;
    }
}


/* Quantidade e valor dos pedidos por mês */

.valores-mes {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    min-width: 140px;
}

.valores-mes strong {
    font-size: 14px;
    color: #222;
}

.valores-mes span {
    font-size: 15px;
    font-weight: bold;
    color: #16803c;
}


/* Resumo de pagamentos */

.resumo-pagamentos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.card-pagamento {
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.card-pagamento h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.card-pagamento p {
    font-size: 25px;
    font-weight: bold;
    margin: 0;
}

.valor-verde {
    color: #15803d;
}

.valor-laranja {
    color: #c2410c;
}

.valor-azul {
    color: #2563eb;
}

@media (max-width: 768px) {
    .resumo-pagamentos {
        grid-template-columns: 1fr;
    }
}

/* Vitrine responsiva para celulares */

@media (max-width: 600px) {
    .grade-produtos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .produto-info {
        padding: 12px;
    }

    .produto-info h3 {
        font-size: 14px;
    }

    .foto-produto,
    .imagem-produto {
        height: 170px;
        min-height: 170px;
        max-height: 170px;
    }

    .preco {
        font-size: 19px;
    }

    .comprar {
        font-size: 12px;
        padding: 12px 6px;
        border: none;
        width: 100%;
        cursor: pointer;
    }
}

/* Carrinho sempre visível no celular */
@media (max-width: 900px) {
    .topo {
        flex-wrap: wrap;
        gap: 15px;
        padding: 16px 5%;
    }

    .logo {
        font-size: 22px;
    }

    .acoes {
        display: flex;
        margin-left: auto;
    }

    .acoes a:not(:last-child) {
        display: none;
    }

    .busca {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
        margin: 0;
    }
}

/* IDENTIDADE VISUAL - PRIME AVENUE */

:root {
    --prime-preto: #111111;
    --prime-dourado: #D4AF37;
    --prime-branco: #FFFFFF;
    --prime-champagne: #F6E7C5;
}

.barra-beneficios {
    background: #080808;
    color: var(--prime-champagne);
}

.topo {
    background: var(--prime-preto);
    border-bottom: 1px solid var(--prime-dourado);
}

.logo {
    font-family: Georgia, serif;
    color: var(--prime-dourado);
    font-size: 30px;
    letter-spacing: 3px;
    font-weight: 500;
}

.busca button {
    background: var(--prime-dourado);
    color: var(--prime-preto);
}

.menu-principal {
    background: #fff;
    border-bottom: 1px solid #e6d9b8;
}

.menu-principal a:hover {
    color: #957322;
}

.banner {
    background: linear-gradient(125deg, #080808, #242019);
}

.banner h1 {
    font-family: Georgia, serif;
    font-weight: 500;
}

.banner-tag {
    color: var(--prime-dourado);
}

.banner-destaque {
    border: 1px solid var(--prime-dourado);
    background: rgba(212, 175, 55, 0.06);
}

.banner-destaque h2 {
    color: var(--prime-dourado);
}

.banner-destaque span {
    color: var(--prime-champagne);
}

.botao {
    background: var(--prime-dourado);
    color: var(--prime-preto);
}

.botao:hover {
    background: #e6c76a;
}

.botao-secundario {
    color: var(--prime-champagne);
}

.categorias {
    background: #ffffff;
}

.grade-categorias {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.categoria {
    background: #faf8f3;
    border: 1px solid #e9dfc8;
}

.categoria:hover {
    border-color: var(--prime-dourado);
}

.titulo-secao span {
    color: #89671c;
}

.produtos {
    background: #f8f7f4;
}

.produto {
    border: 1px solid #e9e4da;
}

.selo-desconto {
    background: var(--prime-dourado);
    color: #111;
}

.preco {
    color: #111;
}

.comprar {
    background: var(--prime-preto);
    color: var(--prime-champagne);
    border: 1px solid var(--prime-dourado);
    width: 100%;
    margin-top: 15px;
    font-weight: 600;
    cursor: pointer;
}

.comprar:not(:disabled):hover {
    background: var(--prime-dourado);
    color: var(--prime-preto);
}

@media (max-width: 900px) {
    .logo {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .grade-categorias {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-principal {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .banner {
        padding: 40px 5%;
        gap: 30px;
    }

    .banner h1 {
        font-size: 34px;
    }

    .banner-botoes {
        flex-wrap: wrap;
    }

    .categoria {
        padding: 18px;
    }
}

/* RODAPÉ - PRIME AVENUE */

.rodape-prime {
    background: #111111;
    color: #dddddd;
    border-top: 2px solid #D4AF37;
    padding: 60px 8% 0;
}

.rodape-conteudo {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 45px;
}

.rodape-marca h2 {
    font-family: Georgia, serif;
    color: #D4AF37;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.rodape-marca p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #bbbbbb;
}

.rodape-coluna h3 {
    color: #D4AF37;
    font-size: 16px;
    margin-bottom: 20px;
}

.rodape-coluna a,
.rodape-coluna p {
    display: block;
    color: #cccccc;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 14px;
    line-height: 1.5;
}

.rodape-coluna a:hover {
    color: #D4AF37;
}

.rodape-final {
    border-top: 1px solid #333333;
    padding: 25px 0;
    text-align: center;
    font-size: 12px;
    color: #aaaaaa;
}

@media (max-width: 900px) {
    .rodape-conteudo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 500px) {
    .rodape-prime {
        padding: 40px 5% 0;
    }

    .rodape-conteudo {
        grid-template-columns: 1fr;
    }
}

/* AJUSTES DO CATÁLOGO - PRIME AVENUE */

.produto {
    display: flex;
    flex-direction: column;
}

.produto-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.produto-info form {
    margin-top: auto;
}

.titulo-secao > a {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .titulo-secao {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ALINHAMENTO DOS BOTÕES */

.grade-produtos {
    align-items: stretch;
}

.produto-info > form,
.produto-info > .comprar {
    margin-top: auto;
}

.produto-info form .comprar,
.produto-info > .comprar {
    min-height: 48px;
    width: 100%;
}

/* FAIXA DE INAUGURAÇÃO */

.faixa-inauguracao {
    background: #111111;
    color: #D4AF37;
    text-align: center;
    padding: 25px 15px;
    border-bottom: 2px solid #D4AF37;
}

.faixa-inauguracao h2 {
    font-size: 23px;
    margin-bottom: 8px;
}

.faixa-inauguracao p {
    color: #ffffff;
    font-size: 14px;
}
