* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body {
    background:#f5f5f5;
    color:#333;
}

/* ================= TOPO ================= */

.topo {
    position:relative;
}

.capa {
    width:100%;
    height:180px;
    object-fit:cover;
}

.logo-area {
    position:absolute;
    bottom:10px;
    left:10px;
    display:flex;
    align-items:center;
    gap:10px;
}

/* caixa do logo (responsável pela sombra) */

.logo{
    object-fit:contain;
    max-height:100px;
    filter: drop-shadow(0 0 2px #fff);
    background:rgba(255,255,255,0.5); /* transparência */
    box-shadow:0 2px 6px rgba(0,0,0,0.25); /* sombra do quadrado */
    padding:0px 3px; /* tamanho do quadrado */ 
    border-radius:5px;
}


.logo-area h1 {
    font-size:25px;
    color: #fff;
    border-color: #333;
    margin-left:5px;
    text-shadow:             /* DEIXA O TEXTO DESTACADO */
    0 2px 4px rgba(0,0,0,0.8),
    0 0 10px rgba(0,0,0,0.6);
}

/* ================= CATEGORIAS ================= */

.categorias {
    margin-top:10px;
    margin-bottom:-10px;   /* 👈 AQUI controla a distância embaixo */
    padding:10px;
    display:flex;
    gap:10px;
    overflow-x:auto;
    scroll-behavior: smooth;
}

.categorias a {
    background:#fff;
    padding:6px 12px;
    border-radius:20px;
    text-decoration:none;
    color:#333;
    white-space:nowrap;
    box-shadow:0 2px 5px rgba(0,0,0,.1);
}

.categorias::-webkit-scrollbar {
    height: 6px;
}

.categorias::-webkit-scrollbar-thumb {
    background: transparent;
}


/* ================= PRODUTOS ================= */

.conteudo {
    padding:15px;
}

h2 {
    margin:20px 0 10px;
}

.produto {
    background:#fff;
    border-radius:10px;
    padding:10px;
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
    box-shadow:0 2px 5px rgba(0,0,0,.1);
}

.produto img {
    width:60px;
    height:60px;
    object-fit:cover;
    border-radius:8px;
}

.produto .info {
    flex:1;
}

.produto .titulo {
    display:block;
    font-weight:bold;
}

.produto .preco {
    color:#27ae60;
}

.detalhes {
    background:#000;
    color:#fff;
    border:none;
    padding:6px 10px;
    border-radius:6px;
    cursor:pointer;
}

/* ================= MODAL ================= */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);

    /* 🔥 garante que fique acima de tudo */
    z-index: 9999;

    align-items: center;
    justify-content: center;
}


.modal-conteudo {
    background:#fff;
    padding:15px;
    border-radius:10px;
    width:90%;
    max-width:400px;
    text-align:left;
}

.modal-conteudo img {
    width:100%;
    border-radius:8px;
    margin-bottom:10px;
}

#modal-titulo {
    font-size:18px;
    font-weight:bold;
    margin-bottom:6px;
}

#modal-desc {
    font-size:14px;
    color:#555;
    margin-bottom:10px;
}

#modal-preco {
    font-size:20px; /* AQUI aumenta/diminui o valor */
    font-weight:bold;
    color:#27ae60;
}

/* botão voltar - grande e central */
.btn-voltar {
    width:100%;              /* ocupa toda a largura */
    margin-top:15px;
    background:#000;         /* cor do botão */
    color:#fff;
    border:none;
    padding:14px;            /* tamanho do botão */
    border-radius:10px;
    font-size:16px;          /* texto maior */
    cursor:pointer;
    text-align:center;
}

/* ===== categorias fixas no topo ===== */
.categorias {
    position: sticky;
    top: 0;
    background: #f5f5f5;
    z-index: 20;
    padding-bottom: 8px;
}

/* botão ativo */
.categorias a.ativa {
    background: #000;
    color: #fff;
}

.categorias a.ativa {
    background:#000;
    color:#fff;
}

.acoes a {
    font-size:18px;
    margin-right:8px;
    text-decoration:none;
}

.acoes a {
    padding:6px;
}


.menu-admin {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;

    background: #f5f5f5;   /* 👈 fundo claro */
    padding: 12px;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}


.rodape-admin {
    text-align: center;
    margin: 20px 0;
}

.rodape-admin a {
    font-size: 12px;
    color: #999;
    text-decoration: none;
}

/* Menu categoria acerto */

.hint-categorias {
    font-size: 14px;          /* tamanho do texto */
    color: #888;              /* cor suave */
    text-align: right;        /* fica no canto direito */
    margin-bottom: 4px;       /* espaço até as categorias */
    padding-right: 6px;
    user-select: none;        /* evita seleção sem querer */
}


/* CODIGO DO PRODUTO */

.codigo-produto{
    font-size:16px;
    font-weight:600;
    color:#777;
    margin-right:6px;
}
