/* RESET GERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #fff;
    color: #222;
}

/* HEADER - ESTILO IGUAL À REFERÊNCIA (PRETO FINO) */
.header {
    background: #000 !important;
    padding: 10px 16px !important;
    position: sticky;
    top: 0;
    z-index: 1100;
}

.header-top {
    display: flex !important;
    justify-content: space-between !important; /* Joga um pra cada lado */
    align-items: center !important;
    max-width: 100%;
}

/* Agrupamento da Esquerda (Nome + Aberto Agora) */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 !important;
}

.status {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #00c853 !important; /* Verde neon da imagem */
    text-transform: uppercase;
    margin-top: 4px !important;
}

/* Carrinho na Direita */
.cart {
    font-size: 22px !important;
    cursor: pointer;
    color: #fff !important;
    display: flex;
    align-items: center;
}

/* CATEGORIAS (BARRA BRANCA) */
.categorias-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 54px; /* Logo abaixo do header */
    z-index: 1000;
}

#categorias-scroll {
    display: flex;
    overflow-x: auto;
    padding: 12px 16px;
    gap: 20px;
    scrollbar-width: none;
}

#categorias-scroll::-webkit-scrollbar { display: none; }

.cat-link {
    font-size: 13px;
    font-weight: 700;
    color: #777;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.cat-link.active {
    color: #ff6b00;
    border-bottom: 2px solid #ff6b00;
}

/* LISTA DE PRODUTOS */
.container-main {
    padding: 10px 16px !important;
}

.item-produto-lista {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #f2f2f2 !important;
    gap: 12px;
}

.info-produto {
    flex: 1;
}

.nome-produto-lista {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #000;
    margin-bottom: 4px !important;
}

.desc-produto-lista {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.4;
    margin-bottom: 8px !important;
}

.preco-unico, .ver-opcoes-link {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #00a650 !important; /* Verde preço */
    text-decoration: none;
}

/* FOTO E BOTÃO LARANJA */
.foto-produto-lista {
    position: relative;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.foto-produto-lista img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.btn-add-lista {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: #ff6b00 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* AJUSTE PARA O MODAL (CASO NÃO ESTEJA APARECENDO) */
.modal-overlay {
    display: flex; /* O JS controla display: none/flex */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999; /* Garante que fique acima de tudo */
    justify-content: center;
    align-items: flex-end;
}

.modal-box {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
}
