/* ── Desktop Toggle Button ── */
.desktop-toggle {
    position: fixed;
    bottom: 24px;
    right: 132px;
    z-index: 500;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--border-hover);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.desktop-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

/* ── Desktop View (1920x1080 adaptations) ── */
[data-desktop="true"] {
    font-size: 18px;
}

[data-desktop="true"] body {
    display: block;   
    padding: 40px 0 100px;
    overflow-x: hidden;
}

[data-desktop="true"] .container {
    max-width: 1800px;
    display: block;
    width: 95%;
    margin: 0 auto;
}

[data-desktop="true"] .menu-header {
    margin-bottom: 20px;
}

[data-desktop="true"] .status-bar {
    margin-bottom: 40px;
}

[data-desktop="true"] .empty-menu {
    text-align: center;
    margin: 40px 0;
}

[data-desktop="true"] .pricing-card {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    width: 100%;
}

[data-desktop="true"] .pricing-amount {
    font-size: 5rem;
}

/* Hide these sections entirely in desktop view */
[data-desktop="true"] .section-entradas,
[data-desktop="true"] .section-acompanamientos {
    display: none !important;
}

[data-desktop="true"] .section-platos {
    width: 100%;
}

[data-desktop="true"] .platos-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

[data-desktop="true"] .plato-fondo-card {
    padding: 16px 18px;
    margin-bottom: 0;
    height: 100%;
}

[data-desktop="true"] .plato-nombre {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

[data-desktop="true"] .plato-descripcion {
    font-size: 0.88rem;
    line-height: 1.4;
}

[data-desktop="true"] .dish-reactions {
    margin-top: 10px;
    padding-top: 10px;
    gap: 8px;
}

[data-desktop="true"] .reaction-btn {
    padding: 4px 10px;
    font-size: 0.85rem;
}

[data-desktop="true"] .plato-highlight {
    font-size: 0.65rem;
    padding: 3px 8px;
}

[data-desktop="true"] .menu-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    background: rgba(30, 22, 12, 0.9);
    padding: 15px;
    border-top: 1px solid var(--border);
    z-index: 10;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Adjust footer elements to inline in desktop */
[data-desktop="true"] .footer-note {
    margin: 0;
}
[data-desktop="true"] .footer-brand {
    margin: 0;
}

/* ── Standalone Floating QR ── */
.desktop-qr-container {
    display: none;
    position: fixed;
    bottom: 80px; /* Sits above the qr-toggle button */
    left: 24px;
    z-index: 500;
    background: var(--bg-card);
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border-hover);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

.desktop-qr-container:hover {
    transform: scale(1.03) translateY(-4px);
}

.desktop-qr-container.show {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.desktop-qr-container img {
    width: 140px;
    height: 140px;
    border-radius: 6px;
    display: block;
    margin: 0 auto 8px;
    background: #fff; /* Ensure contrast for QR */
}

.desktop-qr-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
