/* --- LIMBO BURGERS v19.0 GOLD MASTER STYLES --- */

:root {
    --primary-fire: #FF4500;
    --primary-gradient: linear-gradient(135deg, #FF4500 0%, #E62E00 100%);
    --bg-black: #0A0A0A;
    --bg-card: #141414;
    --text-white: #FFFFFF;
    --text-gray: #B0B0B0;
    --fire-glow: 0 0 25px rgba(255, 69, 0, 0.6);
    --glass: rgba(15, 15, 15, 0.98);
    --success: #25D366;
    --danger: #FF0000;
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--bg-black); color: var(--text-white); overflow-x: hidden; }

/* NAVBAR & LED */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(0,0,0,0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 69, 0, 0.3);
    padding: 0.8rem 1rem;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.logo { font-family: 'Bebas Neue', cursive; font-size: 2.2rem; color: white; text-decoration: none; letter-spacing: 1px; }
.logo span { color: var(--primary-fire); }

.status-header { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; }
.led { width: 10px; height: 10px; border-radius: 50%; }
.led.on { background: var(--success); box-shadow: 0 0 10px var(--success); animation: blink 2s infinite; }
.led.off { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

/* HERO */
.hero { 
    height: 40vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
    background: url('https://images.unsplash.com/photo-1571091718767-18b5b1457add?w=1200&q=80') center/cover;
    margin-top: 60px;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.hero-content { position: relative; z-index: 2; }
.hero-content h1 { font-family: 'Bebas Neue'; font-size: clamp(3rem, 10vw, 6rem); line-height: 1; }
.hero-content h1 span { color: var(--primary-fire); text-shadow: var(--fire-glow); }

/* FILTROS (v4.0 STYLE) */
.filters-container { 
    display: flex; overflow-x: auto; padding: 1.5rem; gap: 12px; 
    justify-content: flex-start; position: sticky; top: 60px; background: var(--bg-black); z-index: 900;
}
.filter-btn {
    padding: 0.7rem 1.4rem; background: transparent; border: 2px solid var(--primary-fire);
    color: white; border-radius: 50px; cursor: pointer; font-weight: 700; transition: 0.3s;
    white-space: nowrap;
}
.filter-btn.active { background: var(--primary-gradient); border-color: transparent; box-shadow: var(--fire-glow); transform: scale(1.05); }

/* PRODUCT GRID */
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 25px; padding: 1.5rem; max-width: 1200px; margin: 0 auto; }
.menu-item { background: var(--bg-card); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); position: relative; }
.menu-img { width: 100%; height: 280px; object-fit: cover; }

.badge-float { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid white; box-shadow: 0 4px 10px rgba(0,0,0,0.5); z-index: 5; }
.v-badge { background: #2ecc71; }
.a-badge { background: #e74c3c; }

.item-info { padding: 1.5rem; }
.item-info h3 { font-family: 'Bebas Neue'; font-size: 2rem; color: var(--primary-fire); }
.price { font-size: 1.8rem; font-weight: 800; display: block; margin: 10px 0; }
.add-btn { width: 100%; padding: 1.1rem; background: transparent; border: 2px solid var(--primary-fire); color: white; font-weight: 800; border-radius: 12px; cursor: pointer; transition: 0.3s; }
.add-btn:hover { background: var(--primary-fire); box-shadow: var(--fire-glow); }

/* PANEL CARRITO (UX MEJORADA) */
.cart-panel {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: var(--glass); backdrop-filter: blur(20px); z-index: 2000;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column;
}
.cart-panel.active { right: 0; }
.cart-header { padding: 2rem; border-bottom: 1px solid rgba(255, 69, 0, 0.2); display: flex; justify-content: space-between; align-items: center; }

/* Scroll independiente y espaciado armonioso */
.cart-items-container { 
    flex: 1; overflow-y: auto; padding: 1.5rem 2rem; /* Padding lateral para evitar toque de bordes */
    max-height: calc(100vh - 400px); /* Asegura espacio para totales */
}
.cart-logistics { padding: 1.5rem 2rem; background: rgba(255,255,255,0.03); border-top: 1px solid #222; }
.method-selector { display: flex; gap: 10px; margin-top: 10px; }
.method-btn { flex: 1; padding: 12px; background: transparent; border: 1px solid #444; color: white; border-radius: 8px; font-weight: 700; cursor: pointer; }
.method-btn.active { border-color: var(--primary-fire); color: var(--primary-fire); background: rgba(255, 69, 0, 0.1); }
select { width: 100%; padding: 12px; background: #111; border: 1px solid #444; color: white; border-radius: 8px; margin-top: 8px; }

.cart-footer { padding: 2rem; border-top: 1px solid #333; }
.row { display: flex; justify-content: space-between; margin-bottom: 5px; font-weight: 600; }
.main-total { font-size: 2rem; border-top: 1px solid #444; padding-top: 15px; margin-top: 10px; color: var(--primary-fire); font-family: 'Bebas Neue'; }
.btn-whatsapp { width: 100%; padding: 1.3rem; background: var(--success); color: white; border: none; border-radius: 15px; font-weight: 800; font-size: 1.1rem; cursor: pointer; }

/* UI MODALES (GOLD CONSISTENCY) */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 3000; align-items: center; justify-content: center; padding: 1rem; }
.modal-content { background: #111; width: 100%; max-width: 480px; border-radius: 25px; border: 1px solid var(--primary-fire); padding: 2.5rem; box-shadow: var(--fire-glow); }
.modal-content h2 { font-family: 'Bebas Neue'; font-size: 2.5rem; color: var(--primary-fire); margin-bottom: 1rem; }
.modal-price-tag { background: #222; padding: 10px; border-radius: 10px; text-align: center; font-weight: 800; font-size: 1.4rem; margin: 1.5rem 0; color: var(--primary-fire); font-family: 'Poppins'; }

.modal-actions { display: flex; flex-direction: column; gap: 12px; }
.confirm-btn { 
    width: 100%; padding: 1.2rem; background: var(--primary-gradient); border: none; 
    color: white; font-family: 'Bebas Neue'; font-size: 1.5rem; letter-spacing: 1px;
    border-radius: 12px; cursor: pointer; box-shadow: var(--fire-glow);
}
.cancel-btn { width: 100%; padding: 1.1rem; background: #1a1a1a; border: 1px solid #333; color: var(--text-gray); font-weight: 600; border-radius: 12px; cursor: pointer; }

/* FOOTER v4.0 STYLE */
footer { background: #050505; padding: 4rem 1.5rem 1.5rem; border-top: 1px solid #222; }
.footer-content { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: 1200px; margin: 0 auto; }
.social-links img { width: 35px; margin-right: 15px; }
.portfolio-link { color: var(--primary-fire); text-decoration: none; font-weight: 700; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #111; margin-top: 2rem; color: var(--text-gray); font-size: 0.8rem; }

/* CARRITO FLOAT */
.cart-float { position: fixed; bottom: 30px; right: 25px; width: 65px; height: 65px; background: var(--primary-gradient); border-radius: 50%; border: none; color: white; font-size: 1.8rem; z-index: 1001; box-shadow: var(--fire-glow); cursor: pointer; }
#cartCount { position: absolute; top: -5px; right: -5px; background: white; color: black; font-size: 0.85rem; padding: 4px 8px; border-radius: 50%; font-weight: 800; }

.hidden { display: none !important; }

@media (min-width: 768px) {
    .menu-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-panel { width: 450px; }
    .filters-container { justify-content: center; }
}
@media (min-width: 1024px) {
    .menu-grid { grid-template-columns: repeat(3, 1fr); }
}