/* Avaadir - Custom Styles & Enhancements */

:root {
  --primary: #FF5722;
  --primary-hover: #F4511E;
  --primary-light: #FFEDE8;
  --secondary: #00BFA5;
  --dark: #1E293B;
  --light-gray: #F8FAFC;
  --border-color: #E2E8F0;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: #F8FAFC;
  color: #1E293B;
  -webkit-tap-highlight-color: transparent;
}

/* Glassmorphism Navigation */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Tab Navigation buttons */
.mode-tab {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.mode-tab.active {
  background: linear-gradient(135deg, #FF5722, #FF7043);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
}

.mode-tab:not(.active):hover {
  background-color: #F1F5F9;
  color: #0F172A;
}

/* Store & Product Card Hover */
.store-card, .product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08), 0 8px 12px -4px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.06);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Badge Glow */
.badge-glow {
  box-shadow: 0 0 10px rgba(255, 87, 34, 0.25);
}

/* Animated Cart Badge */
@keyframes cartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.cart-bounce {
  animation: cartPulse 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Status Step Line */
.step-line {
  position: relative;
}
.step-line::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 20px;
  bottom: 0;
  width: 2px;
  background-color: #E2E8F0;
  z-index: 0;
}
.step-line.completed::before {
  background-color: #10B981;
}

/* Bank Grid in QPay Modal */
.bank-tile {
  transition: all 0.2s ease;
  border: 1.5px solid #E2E8F0;
}
.bank-tile:hover {
  border-color: #FF5722;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.15);
}

/* Floating Drawer Overlay */
.drawer-overlay {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

/* Language selector active state */
.lang-btn.active {
  background-color: #FF5722;
  color: #ffffff;
  font-weight: 600;
}

/* Order Pulse Indicator */
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}
.live-pulse {
  animation: pulseDot 1.8s infinite ease-in-out;
}
