body { font-family: 'Inter', sans-serif; scroll-behavior: smooth; overflow-x: hidden; }

/* --- NEW ATTRACTIVE LOADER --- */
#loader-wrapper { position: fixed; inset: 0; background: #0f172a; z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity 0.6s ease, visibility 0.6s; }
.loader {
  --dim: 3rem;
  width: var(--dim);
  height: var(--dim);
  position: relative;
  animation: spin988 2s linear infinite;
}
.loader .circle {
  --color: #ea580c; 
  --dim: 1.2rem;
  width: var(--dim);
  height: var(--dim);
  background-color: var(--color);
  border-radius: 50%;
  position: absolute;
}
.loader .circle:nth-child(1) { top: 0; left: 0; }
.loader .circle:nth-child(2) { top: 0; right: 0; }
.loader .circle:nth-child(3) { bottom: 0; left: 0; }
.loader .circle:nth-child(4) { bottom: 0; right: 0; }

@keyframes spin988 {
  0% { transform: scale(1) rotate(0); }
  20%, 25% { transform: scale(1.3) rotate(90deg); }
  45%, 50% { transform: scale(1) rotate(180deg); }
  70%, 75% { transform: scale(1.3) rotate(270deg); }
  95%, 100% { transform: scale(1) rotate(360deg); }
}

/* --- NAV --- */
.nav-floating { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 999px; transition: all 0.4s ease; }
.corevia-logo { font-weight: 700; font-size: 1.4rem; letter-spacing: -0.05em; color: #0f172a; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.sublogo-box { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 2px 8px; border-radius: 6px; background: #0f172a; color: white; display: inline-block; transition: 0.3s; }
.corevia-logo:hover .sublogo-box { background: #ea580c; transform: scale(1.1) rotate(-3deg); }
.nav-link { position: relative; padding: 0.5rem 1rem; color: #475569; font-weight: 500; font-size: 0.95rem; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; background-color: #ea580c; transition: 0.3s; transform: translateX(-50%); }
.nav-link:hover::after { width: 60%; }

/* --- MOBILE MENU --- */
#mobile-menu { display: none; position: fixed; top: 100px; left: 5%; width: 90%; background: white; border-radius: 2rem; box-shadow: 0 20px 50px rgba(0,0,0,0.1); z-index: 40; padding: 2rem; border: 1px solid #f1f5f9; }

/* --- COMMON --- */
.reveal { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.menu-item-card { transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.menu-item-card:hover { transform: translateY(-8px); }

/* --- OVERLAYS --- */
#notif-btn { position: fixed; bottom: 20px; right: 20px; z-index: 100; width: 55px; height: 55px; border-radius: 50%; background: #ea580c; color: white; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(234, 88, 12, 0.4); cursor: pointer; }
#notif-panel { position: fixed; bottom: 85px; right: 20px; width: calc(100vw - 40px); max-width: 320px; background: white; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); z-index: 100; display: none; overflow: hidden; border: 1px solid #f1f5f9; }
.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; }

.social-icon { transition: all 0.3s ease; }
.social-icon:hover { transform: translateY(-5px); background: #ea580c !important; color: white !important; }

/* Receipt Template (Hidden) */
#receipt-template { width: 300px; padding: 20px; background: white; color: black; font-family: 'Courier New', Courier, monospace; display: none; position: absolute; left: -9999px; }

/* Custom Scrollbar for Kitchen Panel */
.custom-scrollbar::-webkit-scrollbar { width: 8px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #0f172a; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #ea580c; }