/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonte e fundo */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    min-width: 250px;
    padding-bottom: 80px;
    /* espaço para o footer fixo */
}

/* Cabeçalho */
header {
    position: relative;
    background-color: #000;
    color: #fff;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right,
            black 25%,
            yellow 25% 50%,
            magenta 50% 75%,
            cyan 75% 100%);
    border-top: 1px solid #333;
}

/* Botões padrão */
button,
.btn {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Botão personalizado */
.btn-home {
    background-color: #007bff;
    color: white;
}

.btn-home:hover {
    background-color: #0056b3;
}

/* WhatsApp */
.whatsapp {
    background-color: #00b345;
}

.whatsapp:hover {
    background-color: #018a35;
}

/* Menu de categorias horizontal com scroll */
.categorias-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 15px;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categorias-scroll::-webkit-scrollbar {
    display: none;
}

/* Produtos - container */
.produtos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px;
    padding: 15px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 10px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    border-radius: 15px;
}

/* Produto individual */
.produto {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    width: 250px;
    transition: transform 0.2s ease;
}

.produto:hover {
    transform: scale(1.05);
}

.produto img {
    width: 100%;
    height: auto;
}

.produto h6 {
    margin: 10px 0;
    height: 65px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.produto p {
    font-weight: bold;
    margin-bottom: 10px;
}

.produto a {
    text-decoration: none;
    font-weight: bold;
}

/* Rodapé */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #000;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 10;
    height: 70px;
    text-align: center;
}

footer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right,
            black 25%,
            yellow 25% 50%,
            magenta 50% 75%,
            cyan 75% 100%);
    border-bottom: 1px solid #333;
}

/* Responsividade */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    header h1 {
        margin-bottom: 10px;
    }

    .btn-home {
        margin-top: 10px;
    }

    .produto {
        width: 80%;
    }

    footer {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .produto {
        width: 90%;
    }

    footer {
        font-size: 0.75rem;
    }
}