body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header bien estructurado */
.header {
    background-color: #ffffff;
    color: white;
    display: flex;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    flex-wrap: wrap;
}

.header img {
    height: 60px;
}

.header .contact-info {
    text-align: center;
    flex-grow: 1;
}

.header .contact-info p {
    margin: 5px 0;
    font-size: 14px;
}

.header .whatsapp {
    color: #000000;
    font-weight: normal;
    font-size: 1.2rem;
    padding: .5rem;
    border-radius: 7px;
    text-decoration: none;
    transition: 0.3s;
    margin-left: 1rem;
}

.header .whatsapp:hover {
    background: #ffc107;
    color: #333;
}

/* Contenido principal */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #000000;
}

.menu, .cart {
    margin-top: 30px;
}

.item {
    background: white;
    padding: 15px;
    margin: 15px 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.item img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin-right: 20px;
    object-fit: cover;
}

.item-info {
    flex-grow: 1;
}

button {
    background: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

button:hover {
    background-color: #ffc107;
}

.cart ul {
    list-style: none;
    padding: 0;
}

.cart li {
    background: #d32f2f;
    padding: 10px;
    color: rgb(255, 255, 255);
    margin: 5px 0;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#send-order {
    background-color: #ffc107;
    color: rgb(0, 0, 0)
}

footer {
    background-color: #d32f2f;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 28px;
        background: none;
        border: none;
        color: black; /* Color negro por defecto */
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 1000;
        transition: color 0.3s ease-in-out;
    }

    .links {
        position: fixed;
        top: 0;
        right: -100%; /* Inicia fuera de la pantalla */
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 999;
        transition: right 0.3s ease-in-out; /* Transición suave */
    }

    .header .whatsapp {
        color: #ffffff;
        font-size: 1.7rem;
        font-weight: bold;
        text-decoration: none;
        transition: 0.3s;
        margin: .5rem 0;
    }

    .links a:hover {
        color: #f39c12;
    }

    .links.active {
        right: 0; /* Se desliza hacia la izquierda */
    }

    /* Cambiar el color del botón cuando el menú está activo */
    .links.active ~ .menu-toggle {
        color: white;
    }
}

/* Botón del menú en el header */
.header {
    position: relative;
}

.header .menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .header .menu-toggle {
        display: block;
        font-size: 28px;
        background: none;
        border: none;
        color: black; /* Color negro por defecto */
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 1001;
        transition: color 0.3s ease-in-out;
    }
}
