/* SEO  */
.seo-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* MAP CONTAINER */
.map-container {
    margin: 16px 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

* { box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); min-height: 100vh; margin: 0; font-family: system-ui, -apple-system, Segoe UI, sans-serif; }
.restaurant-app { max-width: 1200px; margin: 0 auto; padding: 0 12px 120px; }

/* Header */
.restaurant-header { color: #fff; background: linear-gradient(135deg, #e94560, #c72c41); border-radius: 0 0 24px 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; padding: 18px 20px; display: flex; box-shadow: 0 6px 24px #e9456066; }
.header-logo { align-items: center; gap: 12px; display: flex; }
.logo-icon img { width: 65px; height: 65px; object-fit: contain; border-radius: 50%; background: #fff; padding: 4px; }
@keyframes pulse { 50% { opacity: .5; } }
.logo-text h1 { letter-spacing: -.5px; text-shadow: 0 2px 8px #0000004d; margin: 0; font-size: clamp(1.3rem, 4vw, 1.8rem); font-weight: 900; }
.logo-text p { opacity: .95; margin: 2px 0 0; font-size: .75rem; font-weight: 500; }
.header-contact { flex-wrap: wrap; gap: 8px; font-size: .8rem; font-weight: 600; display: flex; }
.header-contact span { white-space: nowrap; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); background: #ffffff40; border-radius: 20px; padding: 4px 10px; }

/* Navigation */
.category-nav { scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 8px; padding: 4px 0 12px; display: flex; overflow-x: auto; align-items: center; }
.category-nav::-webkit-scrollbar { display: none; }
.cat-pill { color: #fff; cursor: pointer; white-space: nowrap; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); background: #ffffff1f; border: 2px solid #fff3; border-radius: 24px; flex-shrink: 0; padding: 6px 14px; font-size: .85rem; font-weight: 700; transition: all .2s; display: flex; align-items: center; gap: 8px; }
.cat-pill:hover { background: #ffffff40; border-color: #fff6; }
.cat-pill.active { color: #fff; background: #ff6b35; border-color: #ff6b35; box-shadow: 0 4px 16px #ff6b3580; }
.cat-icon-img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: #fff; padding: 2px; }
.section-icon-img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; background: #fff; padding: 2px; vertical-align: middle; margin-right: 8px; }

/* Menu Grid */
.menu-main { flex-direction: column; gap: 20px; display: flex; }
.menu-section { background: #fff; border: 2px solid #0000; border-radius: 20px; padding: 20px; box-shadow: 0 8px 32px #0003; }
.menu-section-title { color: #1a1a2e; text-transform: uppercase; letter-spacing: .5px; border-bottom: 3px solid #e94560; margin: 0 0 14px; padding-bottom: 10px; font-size: 1.15rem; font-weight: 800; display: flex; align-items: center; }
.menu-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; display: grid; }
.menu-card { background: #fff; border: 2px solid #f0f0f0; border-radius: 14px; align-items: center; gap: 10px; padding: 10px; transition: box-shadow .2s, border-color .2s, transform .15s; display: flex; }
.menu-card:hover { border-color: #e94560; transform: translateY(-1px); box-shadow: 0 6px 20px #e9456026; }
.food-image-placeholder { background: linear-gradient(135deg, #fff5f5, #ffe0e6); border-radius: 12px; flex-shrink: 0; justify-content: center; align-items: center; display: flex; width: 80px; height: 80px; overflow: hidden; }
.food-image-placeholder img { width: 100%; height: 100%; object-fit: contain; padding: 4px; cursor: zoom-in; transition: transform .2s; }
.food-image-placeholder img:hover { transform: scale(1.1); }
.menu-card-info { flex: 1; min-width: 0; }
.menu-card-name { color: #1a1a2e; margin-bottom: 2px; font-size: .9rem; font-weight: 800; }
.menu-card-desc { color: #666; white-space: nowrap; text-overflow: ellipsis; margin-bottom: 4px; font-size: .75rem; line-height: 1.4; overflow: hidden; }
.menu-card-price { color: #e94560; font-size: 1.05rem; font-weight: 900; }
.menu-card-action { flex-shrink: 0; }

/* Buttons & Cart Controls */
.btn-add { color: #fff; cursor: pointer; background: linear-gradient(135deg, #e94560, #c72c41); border: none; border-radius: 50%; justify-content: center; align-items: center; width: 38px; height: 38px; font-size: 1.5rem; line-height: 1; transition: transform .15s, box-shadow .15s; display: flex; box-shadow: 0 3px 12px #e9456073; }
.btn-add:hover { transform: scale(1.15); box-shadow: 0 5px 16px #e9456099; }
.qty-controls { align-items: center; gap: 6px; display: flex; }
.qty-controls.small .qty-btn { width: 28px; height: 28px; font-size: 1rem; }
.qty-controls.small .qty-count { font-size: .9rem; }
.qty-btn { color: #fff; cursor: pointer; background: linear-gradient(135deg, #e94560, #c72c41); border: none; border-radius: 50%; justify-content: center; align-items: center; width: 34px; height: 34px; font-size: 1.1rem; transition: transform .15s; display: flex; box-shadow: 0 2px 8px #e9456059; }
.qty-btn:hover { transform: scale(1.1); }
.qty-count { color: #1a1a2e; text-align: center; min-width: 22px; font-size: 1rem; font-weight: 800; }

/* Floating Cart */
.floating-cart { color: #fff; cursor: pointer; z-index: 100; background: linear-gradient(135deg, #16213e); border: none; border-radius: 50px; align-items: center; gap: 10px; padding: 14px 20px; font-size: 1rem; font-weight: 800; transition: transform .2s, box-shadow .2s; display: none; position: fixed; bottom: 20px; right: 20px; box-shadow: 0 8px 28px #e945608c; }
.floating-cart.visible { display: flex; }
.floating-cart:hover { transform: translateY(-3px); box-shadow: 0 12px 36px #e94560a6; }
.floating-cart-icon { font-size: 1.3rem; }
.floating-cart-badge { color: #e94560; background: #fff; border-radius: 50%; justify-content: center; align-items: center; width: 26px; height: 26px; font-size: .78rem; font-weight: 900; display: flex; }
.floating-cart-total { font-size: 1rem; font-weight: 900; }

/* Sidebar Cart */
.cart-overlay { z-index: 200; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); background: #0009; position: fixed; inset: 0; display: none; }
.cart-overlay.visible { display: block; }
.cart-sidebar { z-index: 201; background: #fff; flex-direction: column; width: min(400px, 100vw); animation: .25s ease-out slideIn; display: none; position: fixed; top: 0; bottom: 0; right: 0; box-shadow: -8px 0 40px #0000004d; }
.cart-sidebar.visible { display: flex; }
@keyframes slideIn { 0% { transform: translate(100%); } to { transform: translate(0); } }
.cart-header { color: #fff; background: linear-gradient(135deg, #7c0a02, #7c0a02); justify-content: space-between; align-items: center; padding: 18px 20px; display: flex; }
.cart-header h2 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.cart-close { color: #fff; cursor: pointer; background: #ffffff4d; border: none; border-radius: 50%; justify-content: center; align-items: center; width: 34px; height: 34px; font-size: 1.1rem; transition: background .2s; display: flex; }
.cart-close:hover { background: #ffffff80; }
.cart-body { flex-direction: column; flex: 1; gap: 8px; padding: 14px; display: flex; overflow-y: auto; }
.cart-empty { color: #aaa; text-align: center; flex-direction: column; flex: 1; justify-content: center; align-items: center; padding: 40px 0; display: flex; }
.cart-empty p { color: #444; margin: 6px 0; font-size: 1rem; font-weight: 600; }
.cart-empty-sub { color: #999 !important; font-size: .85rem !important; font-weight: 400 !important; }
.cart-item { background: #fff5f5; border: 2px solid #ffe0e6; border-radius: 12px; align-items: center; gap: 8px; padding: 10px; display: flex; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { color: #1a1a2e; font-size: .88rem; font-weight: 700; }
.cart-item-price { color: #888; margin-top: 2px; font-size: .75rem; }
.cart-item-total { color: #e94560; white-space: nowrap; font-size: .95rem; font-weight: 800; }
.cart-footer { background: #fff5f5; border-top: 3px solid #ffe0e6; padding: 14px 18px; }
.cart-subtotal { color: #1a1a2e; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 1rem; font-weight: 700; display: flex; }
.cart-total-price { color: #e94560; font-size: 1.4rem; font-weight: 900; }

.btn-whatsapp { color: #fff; cursor: pointer; background: #25d366; border: none; border-radius: 12px; justify-content: center; align-items: center; gap: 8px; width: 100%; padding: 14px; font-size: 1rem; font-weight: 800; transition: background .2s, transform .15s; display: flex; box-shadow: 0 4px 16px #25d36666; }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); }

/* Footer */
.restaurant-footer { margin-top: 40px; background: linear-gradient(135deg, #e94560e6, #c72c41d9); border-radius: 24px 24px 0 0; backdrop-filter: blur(10px); }
.footer-content { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; padding: 28px 24px 24px; display: grid; }
.footer-hours h3, .footer-contact h3, .footer-brand h3 { margin: 0 0 12px; font-size: 1.1rem; font-weight: 800; color: #fff; }
.footer-hours p, .footer-contact p { margin: 8px 0; font-size: 0.9rem; line-height: 1.4; color: #fff; }
.footer-wa { margin-top: 16px !important; width: 100%; padding: 14px; font-size: 1rem; }
.footer-logo img { width: 80px; height: 80px; border-radius: 16px; background: #fff; padding: 6px; margin: 0 auto 12px; display: block; box-shadow: 0 8px 24px #00000066; }
.footer-bottom { text-align: center; padding: 18px 24px; font-size: 0.85rem; font-weight: 500; border-top: 1px solid #ffffff4d; color: #fff; }
.footer-bottom a { text-decoration: none; font-weight: 700; }

/* MOBILE SPECIFIC */
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: 28px; padding: 24px 20px 28px; text-align: center; }
    .footer-hours, .footer-contact, .footer-brand { text-align: center; }
    .map-container iframe { height: 160px; }
    .footer-logo img { width: 70px; height: 70px; }
    .footer-wa img { width: 20px !important; height: 20px !important; }
}
@media (max-width: 480px) {
    .restaurant-footer { border-radius: 20px 20px 0 0; margin-top: 32px; }
    .footer-content { padding: 20px 16px 24px; gap: 24px; }
    .map-container iframe { height: 140px; }
}

/* IMAGE MODAL (POPUP) CSS */
.img-modal { display: none; position: fixed; z-index: 999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); justify-content: center; align-items: center; cursor: zoom-out; }
.img-modal.active { display: flex; animation: fadeIn 0.3s; }
.img-modal-content { max-width: 90%; max-height: 80%; border-radius: 15px; box-shadow: 0 0 30px rgba(255,255,255,0.1); transform: scale(0.8); transition: transform 0.3s; }
.img-modal.active .img-modal-content { transform: scale(1); }
.img-modal-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; font-weight: bold; cursor: pointer; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media(max-width: 768px) {
    .restaurant-app { padding: 0 8px 100px; }
    .restaurant-header { text-align: center; border-radius: 0 0 18px 18px; flex-direction: column; align-items: center; gap: 8px; padding: 14px 16px; }
    .header-logo { flex-direction: column; gap: 6px; }
    .logo-icon { font-size: 36px; }
    .logo-text h1 { font-size: 1.3rem; }
    .header-contact { justify-content: center; font-size: .72rem; }
    .menu-grid { grid-template-columns: 1fr; }
    .floating-cart { border-radius: 16px; justify-content: center; padding: 12px 16px; bottom: 14px; left: 14px; right: 14px; }
}