* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f5f2;
    color: #333;
}

.header-menu {
    background-color: #2c1810;
    color: #f3e5ab;
    padding: 20px;
    text-align: center;
    position: relative;
}

.mesa-badge {
    position: absolute;
    right: 15px;
    top: 20px;
    background-color: #e74c3c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.nav-categorias {
    position: sticky;
    top: 0;
    background-color: #fff;
    border-bottom: 2px solid #e0e0e0;
    z-index: 100;
}

.nav-categorias ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 10px 0;
}

.nav-categorias a {
    text-decoration: none;
    color: #2c1810;
    font-weight: bold;
    font-size: 0.9rem;
}

.main-menu {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.platillo-destacado {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), #8e2a2a;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    margin-bottom: 30px;
}

.platillo-destacado::before {
    content: "¡RECOMENDACIÓN DEL CHEF!";
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: #f39c12;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.tarjeta-platillo {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.acciones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.precio {
    font-weight: bold;
    color: #27ae60;
    font-size: 1.1rem;
}

.btn-agregar {
    background-color: #2c1810;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-agregar:hover {
    background-color: #e74c3c;
}

.seccion-formulario {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
}

.form-pedido {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.form-pedido input, .form-pedido select, .form-pedido textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-pedido input:focus, .form-pedido select:focus, .form-pedido textarea:focus {
    outline: 2px solid #e74c3c;
}

.btn-enviar {
    background-color: #27ae60;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.footer-menu {
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: #666;
}