/* ===== CSS Variables ===== */
:root {
    --primary: #e65100;
    --primary-dark: #bf360c;
    --primary-light: #ff9800;
    --secondary: #2e7d32;
    --accent: #ffc107;
    --bg: #f8f9fa;
    --card-bg: #ffffff;
    --text: #212529;
    --text-light: #6c757d;
    --border: #dee2e6;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.2s ease;
    --header-height: 70px;
    --phonepe: #5f259f;
}

/* ===== Reset - performance first ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 90px;
    /* GPU layer for smooth scrolling */
    -webkit-overflow-scrolling: touch;
}
a  { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
img { max-width: 100%; display: block; height: auto; }

/* ===== Toast ===== */
.toast {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--secondary);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
    pointer-events: none;
    will-change: transform, opacity;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(230, 81, 0, 0.3);
    /* Promote to own layer - avoids repaints */
    will-change: transform;
    contain: layout style;
}
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    max-width: 1400px;
    margin: 0 auto;
    height: var(--header-height);
    gap: 10px;
}
.header-left { display: flex; align-items: center; gap: 14px; }
.logo {
    width: 56px; height: 56px; min-width: 56px; min-height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    border: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0; overflow: hidden; background: white;
}
.logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.hotel-title   { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.3px; line-height: 1.2; margin-bottom: 1px; }
.hotel-tagline { font-size: 0.72rem !important; font-weight: 600; color: #ffeb3b; margin-bottom: 2px; display: flex; align-items: center; gap: 5px; }
.hotel-tagline i.fa-leaf         { color: #69f0ae; font-size: 0.65rem; }
.hotel-tagline i.fa-drumstick-bite { color: #ffab91; font-size: 0.65rem; }
.hotel-info p { font-size: 0.82rem; opacity: 0.9; display: flex; align-items: center; gap: 6px; margin-top: 1px; }
.header-right { display: flex; align-items: center; gap: 8px; }
.search-toggle, .menu-toggle {
    width: 42px; height: 42px; border-radius: 12px;
    background: rgba(255,255,255,0.15); color: white;
    font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.search-toggle:hover, .menu-toggle:hover { background: rgba(255,255,255,0.25); }

/* ===== Search Bar ===== */
.search-bar { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; background: rgba(0,0,0,0.1); }
.search-bar.active { max-height: 70px; padding: 10px 16px; }
.search-container { display: flex; align-items: center; background: white; border-radius: 50px; padding: 8px 16px; max-width: 600px; margin: 0 auto; gap: 10px; }
.search-container i { color: var(--text-light); font-size: 1rem; }
.search-container input { flex: 1; border: none; outline: none; font-size: 1rem; background: transparent; }
.search-container button { color: var(--text-light); font-size: 1rem; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--transition); }
.search-container button:hover { background: #f0f0f0; color: var(--text); }

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed; top: 0; right: -320px; width: 300px; max-width: 85vw; height: 100vh;
    background: white; z-index: 10001; box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transition: right 0.3s ease; display: flex; flex-direction: column;
    will-change: right;
}
.mobile-menu.open { right: 0; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; }
.mobile-menu-header h3 { font-size: 1.2rem; }
.mobile-menu-header button { color: white; font-size: 1.2rem; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.15); }
.mobile-menu-content { flex: 1; overflow-y: auto; padding: 10px 0; }
.mobile-menu-item { display: flex; align-items: center; gap: 14px; padding: 14px 20px; color: var(--text); font-weight: 500; transition: background 0.15s ease; border-left: 3px solid transparent; -webkit-tap-highlight-color: transparent; }
.mobile-menu-item i { width: 24px; text-align: center; color: var(--primary); font-size: 1.1rem; }
.mobile-menu-item:hover { background: #fff3e0; border-left-color: var(--primary); color: var(--primary-dark); }
.mobile-menu-divider { height: 1px; background: var(--border); margin: 10px 20px; }
.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 10000; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

/* ===== Hero Banner ===== */
.hero-banner { position: relative; width: 100%; height: 260px; overflow: hidden; background: #1a1a1a; contain: layout; }
.hero-slider  { position: relative; width: 100%; height: 100%; }
.hero-slide   { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.7s ease; will-change: opacity; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.35) 100%); }
.hero-content { position: absolute; bottom: 35px; left: 20px; right: 20px; color: white; text-align: center; max-width: 600px; margin: 0 auto; }
.hero-content h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-content p  { font-size: 0.95rem; opacity: 0.9; text-shadow: 0 1px 5px rgba(0,0,0,0.3); }
.hero-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); }
.hero-dot.active { background: white; width: 28px; border-radius: 5px; }

/* ===== Category Section ===== */
.category-section {
    position: sticky; top: var(--header-height);
    background: var(--bg); z-index: 100;
    padding: 10px 0; border-bottom: 1px solid var(--border);
    contain: layout style;
}
.category-container { display: flex; gap: 8px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; max-width: 1400px; margin: 0 auto; }
.category-container::-webkit-scrollbar { display: none; }
.category-btn {
    flex-shrink: 0; padding: 9px 18px; border-radius: 50px;
    background: white; color: var(--text); font-weight: 600; font-size: 0.9rem;
    border: 2px solid var(--border); transition: border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
    white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.category-btn:hover  { border-color: var(--primary-light); color: var(--primary); transform: translateY(-1px); box-shadow: 0 3px 10px rgba(230,81,0,0.12); }
.category-btn.active { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; border-color: var(--primary); box-shadow: 0 4px 14px rgba(230,81,0,0.28); }

/* ===== Menu Section ===== */
.menu-section { padding: 18px 16px 40px; max-width: 1400px; margin: 0 auto; }
.menu-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }

/* ===== Product Card - contain for perf ===== */
.product-card {
    background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex; flex-direction: column; border: 1px solid var(--border);
    contain: layout style;
    will-change: transform;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }

/* ===== Product Image ===== */
.product-image { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #e8e8e8; flex-shrink: 0; }
.product-image::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, #e8e8e8 25%, #d0d0d0 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 0;
}
.product-image:has(img.is-loaded)::before { display: none; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.25s ease; display: block; z-index: 1; }
.product-image img.is-loaded { opacity: 1; }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--primary); color: white; padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; z-index: 2; }
.product-info { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.product-name  { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.product-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.product-price::before { content: "Rs."; font-size: 0.95rem; }
.product-actions { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.quantity-control { display: flex; align-items: center; background: #f5f5f5; border-radius: 50px; overflow: hidden; border: 1px solid var(--border); }
.qty-btn { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text); transition: background 0.15s, color 0.15s; font-weight: 700; -webkit-tap-highlight-color: transparent; }
.qty-btn:hover { background: var(--primary); color: white; }
.qty-btn.minus:hover { background: #dc3545; }
.qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.qty-value { width: 36px; text-align: center; font-weight: 700; font-size: 1rem; user-select: none; }
.btn-add-cart {
    flex: 1; padding: 9px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 3px 10px rgba(230, 81, 0, 0.22);
    -webkit-tap-highlight-color: transparent;
}
.btn-add-cart:hover  { transform: scale(1.02); box-shadow: 0 5px 16px rgba(230, 81, 0, 0.32); }
.btn-add-cart.added  { background: linear-gradient(135deg, var(--secondary) 0%, #1b5e20 100%); box-shadow: 0 3px 10px rgba(46, 125, 50, 0.22); }

/* ===== Sticky Cart ===== */
.sticky-cart { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 999; display: none; will-change: transform; }
.cart-btn {
    display: flex; align-items: center; gap: 10px; padding: 13px 26px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white; border-radius: 50px; font-weight: 700; font-size: 1rem;
    box-shadow: 0 5px 22px rgba(230, 81, 0, 0.38);
    -webkit-tap-highlight-color: transparent;
}
.cart-count { background: white; color: var(--primary); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800; }
.cart-total { font-size: 1.05rem; }

/* ===== Cart Drawer ===== */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
    position: fixed; top: 0; right: -100%; width: 100%; max-width: 450px; height: 100vh;
    background: white; z-index: 1002; display: flex; flex-direction: column;
    transition: right 0.3s ease; box-shadow: -8px 0 35px rgba(0,0,0,0.12);
    will-change: right;
}
.cart-drawer.open { right: 0; }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; }
.cart-drawer-header h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.cart-close { color: white; font-size: 1.1rem; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.15); transition: background 0.15s; }
.cart-close:hover { background: rgba(255,255,255,0.3); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 14px; -webkit-overflow-scrolling: touch; }
.empty-cart { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; color: var(--text-light); }
.empty-cart i { font-size: 4rem; margin-bottom: 16px; opacity: 0.3; }
.empty-cart p { font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.cart-item { display: flex; align-items: center; gap: 10px; padding: 12px; background: #f8f9fa; border-radius: var(--radius-sm); margin-bottom: 8px; border: 1px solid var(--border); }
.cart-item-image { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name  { font-weight: 600; font-size: 0.92rem; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { color: var(--primary); font-weight: 700; font-size: 0.87rem; }
.cart-item-qty { display: flex; align-items: center; gap: 6px; }
.cart-item-qty button { width: 26px; height: 26px; border-radius: 50%; background: white; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; transition: background 0.15s, color 0.15s; -webkit-tap-highlight-color: transparent; }
.cart-item-qty button:hover { background: var(--primary); color: white; border-color: var(--primary); }
.cart-item-qty span { font-weight: 700; min-width: 18px; text-align: center; }
.cart-item-remove { color: #dc3545; font-size: 0.95rem; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.15s; -webkit-tap-highlight-color: transparent; }
.cart-item-remove:hover { background: #ffebee; }
.cart-drawer-footer { padding: 18px; border-top: 1px solid var(--border); background: #fafafa; display: none; }
.cart-summary { margin-bottom: 14px; }
.cart-summary-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.93rem; color: var(--text-light); }
.cart-summary-row.total { font-size: 1.2rem; font-weight: 800; color: var(--text); border-top: 2px solid var(--border); padding-top: 8px; margin-top: 5px; }
.btn-place-order { width: 100%; padding: 13px; background: linear-gradient(135deg, var(--secondary) 0%, #1b5e20 100%); color: white; border-radius: 50px; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(46, 125, 50, 0.28); -webkit-tap-highlight-color: transparent; }
.btn-continue { width: 100%; padding: 11px; background: transparent; color: var(--text-light); border-radius: 50px; font-weight: 600; font-size: 0.93rem; display: flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--border); transition: border-color 0.15s, color 0.15s; }
.btn-continue:hover { border-color: var(--primary); color: var(--primary); }

/* ===== Modal ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 2000; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95); width: 90%; max-width: 500px; max-height: 90vh; background: white; border-radius: var(--radius); z-index: 2001; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; flex-shrink: 0; }
.modal-header h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.modal-close { color: white; font-size: 1.1rem; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.15); transition: background 0.15s; }
.modal-close:hover { background: rgba(255,255,255,0.3); }
.modal-body { padding: 20px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
.text-center { text-align: center; }

/* ===== Form ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.93rem; margin-bottom: 7px; color: var(--text); }
.form-group label i { color: var(--primary); width: 18px; }
.form-group input, .form-group textarea { width: 100%; padding: 11px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s; background: #fafafa; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(230, 81, 0, 0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #adb5bd; }

/* ===== Payment Options ===== */
.payment-options { display: flex; gap: 10px; }
.payment-option { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px; border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: border-color 0.15s; background: #fafafa; }
.payment-option input { display: none; }
.payment-radio { width: 20px; height: 20px; border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color 0.15s; }
.payment-radio::after { content: ""; width: 10px; height: 10px; background: var(--primary); border-radius: 50%; transform: scale(0); transition: transform 0.15s ease; }
.payment-option input:checked + .payment-radio { border-color: var(--primary); }
.payment-option input:checked + .payment-radio::after { transform: scale(1); }
.payment-option:has(input:checked) { border-color: var(--primary); background: #fff3e0; }
.payment-option i { font-size: 1.2rem; color: var(--primary); }

/* ===== UPI App Grid ===== */
.upi-app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.upi-app-btn { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 6px; border: 2px solid var(--border); border-radius: 12px; background: white; cursor: pointer; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; position: relative; -webkit-tap-highlight-color: transparent; }
.upi-app-btn:hover  { border-color: var(--primary-light); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.07); }
.upi-app-btn.selected { border-color: var(--primary); background: #fff3e0; }
.upi-app-btn.selected::after { content: "✓"; position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; background: var(--secondary); color: white; border-radius: 50%; font-size: 0.65rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.upi-app-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f5f5f5; }
.upi-app-icon img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.upi-app-icon .fallback-icon { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; color: white; border-radius: 10px; }
.upi-app-name { font-size: 0.68rem; font-weight: 600; color: var(--text); text-align: center; }

/* ===== QR Code ===== */
.qr-container { border: 2px solid #e0d0f0; border-radius: 14px; padding: 14px; background: linear-gradient(145deg, #faf5ff 0%, #f0e8ff 100%); text-align: center; }
.qr-header { margin-bottom: 10px; }
.qr-title    { font-size: 1rem; font-weight: 800; color: var(--phonepe); display: block; }
.qr-subtitle { font-size: 0.7rem; color: var(--text-light); font-weight: 500; display: block; margin-top: 2px; }
.qr-image-wrap { position: relative; display: inline-block; margin: 0 auto 12px; }
.qr-image { width: 100%; max-width: 210px; height: auto; border-radius: 10px; border: 3px solid white; box-shadow: 0 4px 18px rgba(95, 37, 159, 0.18); display: block; margin: 0 auto; }
.qr-amount-badge { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; font-weight: 800; font-size: 1rem; padding: 3px 14px; border-radius: 50px; white-space: nowrap; box-shadow: 0 3px 10px rgba(230,81,0,0.28); }
.qr-upi-id { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; margin-bottom: 8px; background: white; border: 1px solid #e0d0f0; border-radius: 50px; padding: 7px 14px; font-size: 0.85rem; color: var(--text); }
.qr-upi-id strong { color: var(--phonepe); }
#btn-copy-upi { background: #f3ebff; border: 1px solid #d0b0f0; border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; color: var(--phonepe); font-size: 0.78rem; transition: background 0.15s, color 0.15s; cursor: pointer; }
#btn-copy-upi:hover { background: var(--phonepe); color: white; }
.qr-note { font-size: 0.78rem; color: var(--text-light); background: white; border-radius: 8px; padding: 7px 10px; border: 1px dashed #c9b0e0; }

/* ===== Payment Status ===== */
.payment-status { padding: 10px; border-radius: 10px; text-align: center; font-weight: 600; font-size: 0.88rem; }
.status-pending { color: #e65100; background: #fff3e0; display: block; padding: 9px; border-radius: 8px; }
.status-paid    { color: #2e7d32; background: #e8f5e9; display: block; padding: 9px; border-radius: 8px; }
.status-cash    { color: #1565c0; background: #e3f2fd; display: block; padding: 9px; border-radius: 8px; }

/* ===== Buttons ===== */
.btn-submit-order, .btn-download-bill {
    width: 100%; padding: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white; border-radius: 50px; font-weight: 700; font-size: 1rem;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 10px; box-shadow: 0 5px 18px rgba(230, 81, 0, 0.28);
    transition: transform 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.btn-download-bill { background: linear-gradient(135deg, var(--secondary) 0%, #1b5e20 100%); box-shadow: 0 5px 18px rgba(46,125,50,0.28); }
.btn-submit-order:hover, .btn-download-bill:hover { transform: translateY(-1px); }
.btn-submit-order:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-new-order { margin-top: 20px; padding: 13px 30px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; border-radius: 50px; font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 14px rgba(230,81,0,0.28); -webkit-tap-highlight-color: transparent; }

/* ===== Success Modal ===== */
.success-icon { width: 76px; height: 76px; background: linear-gradient(135deg, var(--secondary) 0%, #1b5e20 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.success-icon i { font-size: 2.4rem; color: white; }
.success-modal h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--text); }
.success-modal p  { color: var(--text-light); margin-bottom: 5px; }
.success-note { font-size: 0.88rem; color: var(--secondary); font-weight: 600; }

/* ===== Order History ===== */
.empty-history { text-align: center; padding: 40px 20px; color: var(--text-light); }
.empty-history i { font-size: 3rem; margin-bottom: 12px; opacity: 0.3; display: block; }
.history-item { padding: 14px; background: #f8f9fa; border-radius: var(--radius-sm); margin-bottom: 10px; border: 1px solid var(--border); }
.history-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; flex-wrap: wrap; gap: 4px; }
.history-item-header h4 { font-size: 0.93rem; color: var(--text); }
.history-item-date    { font-size: 0.78rem; color: var(--text-light); }
.history-item-details { font-size: 0.83rem; color: var(--text-light); line-height: 1.5; }
.history-item-total   { font-weight: 700; color: var(--primary); margin-top: 5px; font-size: 0.97rem; }

/* ===== Contact ===== */
.contact-info { display: flex; flex-direction: column; gap: 10px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 14px; background: #f8f9fa; border-radius: var(--radius-sm); border: 1px solid var(--border); transition: border-color 0.15s, background 0.15s; }
.contact-item:hover { border-color: var(--primary-light); background: #fff3e0; }
.contact-item i  { width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.contact-item h4 { font-size: 0.97rem; margin-bottom: 1px; color: var(--text); }
.contact-item p  { font-size: 0.87rem; color: var(--text-light); }

/* ===== Footer ===== */
.footer { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: white; padding: 36px 20px 18px; margin-top: 40px; }
.footer-content { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-brand { margin-bottom: 20px; }
.footer-brand h3 { font-size: 1.4rem; margin-bottom: 4px; }
.footer-brand p  { opacity: 0.7; font-size: 0.88rem; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-links a { display: flex; align-items: center; gap: 8px; opacity: 0.8; transition: opacity 0.15s, color 0.15s; font-weight: 500; }
.footer-links a:hover { opacity: 1; color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; font-size: 0.82rem; opacity: 0.6; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

/* ===== Responsive ===== */
@media (max-width: 480px) {
    :root { --header-height: 62px; }
    .logo { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
    .hotel-title { font-size: 0.98rem; }
    .hero-banner { height: 190px; }
    .hero-content h2 { font-size: 1.1rem; }
    .hero-content p  { font-size: 0.78rem; }
    .menu-container { grid-template-columns: 1fr; gap: 12px; }
    .product-image  { aspect-ratio: 16 / 7; }
    .modal { width: 96%; max-height: 88vh; }
    .payment-options { flex-direction: column; }
    .qr-image { max-width: 170px; }
    .category-btn { padding: 7px 14px; font-size: 0.84rem; }
}

@media (min-width: 481px) and (max-width: 768px) {
    .menu-container { grid-template-columns: repeat(2, 1fr); }
    .hero-banner { height: 230px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .menu-container { grid-template-columns: repeat(3, 1fr); }
    .hero-banner { height: 270px; }
}

@media (min-width: 1025px) {
    .menu-container { grid-template-columns: repeat(4, 1fr); }
    .hero-banner { height: 310px; }
}

@media (min-width: 1441px) {
    .menu-container { grid-template-columns: repeat(5, 1fr); }
    .hero-banner { height: 350px; }
    .hero-content h2 { font-size: 2rem; }
}

/* ===== Touch device optimizations ===== */
@media (hover: none) {
    .product-card:hover    { transform: none; }
    .btn-add-cart:hover    { transform: none; }
    .category-btn:hover    { transform: none; }
    .upi-app-btn:hover     { transform: none; }
}
