/* Estilos gerais */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header .logo {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
}

h1 {
    font-size: 28px;
    color: #3b6e2d; /* Verde escuro */
}

h2 {
    text-align: center;
    color: #444;
}

/* Aviso sobre a necessidade de antecipar o pedido */
.aviso-entrega {
    background-color: #e0f7fa; /* tom suave de azul */
    color: #006064; /* azul escuro */
    padding: 10px;
    border: 1px solid #b2ebf2;
    margin: 20px 0;
    text-align: center;
    font-weight: bold;
}

/* Estilos para produtos em grade */
#produtos-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.produto-item {
    background-color: #fafafa;
    border: 2px solid #7dbd5b; /* Verde claro */
    border-radius: 10px;
    padding: 15px;
    width: 30%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produto-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.produto-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

.produto-item h3 {
    font-size: 20px;
    margin: 10px 0;
    color: #3b6e2d;
}

.produto-item p {
    font-size: 16px;
    color: #555;
}

.produto-item .preco-promocional {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
    margin-top: 10px;
}

/* Container de quantidade e botão fake */
.quantidade-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.quantity-input {
    width: 50px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

/* Botão fake ao lado da caixa de quantidade */
.fake-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.fake-button:hover {
    background-color: #218838;
}

/* Estilo para o total da compra */
.total-container {
    text-align: center;
    margin-top: 30px;
    font-size: 22px;
    font-weight: bold;
}

#valorTotal {
    color: #e74c3c;
}

/* Botão de enviar pedido */
.btn-enviar {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #3b6e2d;
    color: white;
    text-align: center;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.btn-enviar:hover {
    background-color: #7dbd5b;
}

.btn-enviar:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Aviso sobre produtos de peso variável */
.aviso-peso-variavel {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #3498db;
    border-radius: 5px;
}

.aviso-peso-variavel p {
    font-size: 16px;
    color: #2c3e50;
    font-weight: normal;
    margin: 0;
}

/* Aviso sobre produção e contato */
.aviso-producao {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #3498db;
    border-radius: 5px;
}

.aviso-producao p {
    font-size: 16px;
    color: #2c3e50;
    font-weight: normal;
    margin: 0;
}

/* Estilo para notificações personalizadas */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1000;
    pointer-events: none;
}

.notification.show {
    opacity: 1;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    #produtos-lista {
        flex-direction: column;
        align-items: center;
    }

    .produto-item {
        width: 80%;
    }

    .btn-enviar {
        font-size: 16px;
    }

    .fake-button {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .produto-item {
        width: 90%;
        padding: 10px;
    }

    .produto-item h3 {
        font-size: 18px;
    }

    .produto-item p {
        font-size: 14px;
    }

    .produto-item .preco-promocional {
        font-size: 16px;
    }

    .quantity-input {
        width: 40px;
    }

    .fake-button {
        padding: 5px 8px;
    }

    .btn-enviar {
        font-size: 14px;
    }
}
