body {
    background-color: #f7f7f7;
}

/* ---------- Header compacto ---------- */
.menu-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    padding: 14px 16px 12px;
}

.menu-header .img-container {
    margin: 0 auto;
}

.menu-header img {
    max-width: 120px;
    max-height: 64px;
    object-fit: contain;
}

.menu-header img:not([src]) {
    display: none;
}

#empresa {
    margin: 4px 0 0;
    font-size: 15px;
    color: #374151;
}

.menu-eyebrow {
    margin: 2px 0 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #9ca3af;
}

/* ---------- Barra de chips sticky ---------- */
.chips {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    background: #f7f7f7;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.chips::-webkit-scrollbar {
    display: none;
}

.chip {
    flex-shrink: 0;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip.active {
    background: #1f2937;
    border-color: #1f2937;
    color: #fff;
}

/* ---------- Secciones ---------- */
.caja {
    background-color: white;
    margin: 10px 1% 40px;
    padding: 10px 3%;
    border-radius: 8px;
    scroll-margin-top: 76px;
}

.titulo-agrupar {
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 0 6px;
    margin: 10px 0;
    border-bottom: 3px solid #1f2937;
}

.precio {
    text-align: right;
}

.descripcion-caja {
    margin: 0px 0px 10px 0px;
    border-bottom: 2px dotted #ddd;
}

.descripcion {
    padding-left: 0px;
}

footer {
    text-align: center;
    margin: 10px;
    color: #6b7280;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
