/* Modern GalliPanda Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  /* Default Dark Mode Theme (Premium Dark) */
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-card: #171717;
  --card-bg: #171717;
  --bg-card-hover: #262626;
  --border-color: #262626;
  --border-hover: #404040;
  
  --text-main: #f8fafc;
  --text-muted: #a3a3a3;
  --text-inverse: #09090b;
  
  --brand-yellow: #facc15;
  --brand-cyan: #facc15;
  --brand-cyan-glow: rgba(250, 204, 21, 0.25);
  --brand-purple: #eab308;
  --brand-pink: #f59e0b;
  --brand-green: #10b981;
  --brand-amber: #facc15;
  
  --gradient-brand: linear-gradient(135deg, #facc15 0%, #eab308 50%, #ca8a04 100%);
  --gradient-pink: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  --gradient-card: linear-gradient(145deg, rgba(250, 204, 21, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(250, 204, 21, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #f9fafb;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --card-bg: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-color: #e5e7eb;
  --border-hover: #d1d5db;
  
  --text-main: #111827;
  --text-muted: #6b7280;
  --text-inverse: #ffffff;
  
  --brand-cyan: #d97706;
  --brand-yellow: #d97706;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Typography Headings */
h1, h2, h3, h4, .brand-font {
  font-family: 'Outfit', sans-serif;
}

/* Premium Micro-Animations */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.hover-scale {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-scale:active {
  transform: scale(0.96);
}

/* Glassmorphism utility */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: var(--transition-normal);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--brand-cyan);
  box-shadow: var(--shadow-glow);
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-text span {
  color: var(--brand-cyan);
}

/* Location pill */
.location-picker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.location-picker strong {
  color: var(--text-main);
}

/* Search Bar */
.search-container {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.8rem;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 12px var(--brand-cyan-glow);
  background: var(--bg-card);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Status Indicator Pill */
.api-status-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--brand-green);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

/* GalliPoints Badge */
.points-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: var(--gradient-pink);
  border-radius: var(--radius-full);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
  transition: var(--transition-fast);
}

.points-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--brand-cyan);
  background: rgba(6, 182, 212, 0.1);
}

/* Cart Button */
.cart-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;

}

.cart-count {
  background: var(--brand-cyan);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Theme Toggle */
.theme-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
  width: 100%;
}

/* Hero Section Banner */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, #090d16 0%, #1e1b4b 100%);
  display: flex;
  align-items: center;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.hero-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  mix-blend-mode: opacity;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid var(--brand-cyan);
  border-radius: var(--radius-full);
  color: var(--brand-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Category Filter Bar */
.category-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  scrollbar-width: thin;
}

.cat-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cat-chip:hover, .cat-chip.active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.discount-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--brand-pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.product-img-wrap {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 4rem;
  position: relative;
}

.product-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.product-unit {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-main {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-green);
}

.price-mrp {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.add-btn {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid var(--brand-cyan);
  color: var(--brand-cyan);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.add-btn:hover {
  background: var(--brand-cyan);
  color: #fff;
}

/* Eco Waste Recycling Banner Section */
.recycle-section {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.recycle-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--brand-green);
}

.recycle-box {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-green);
}

/* Sliding Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  z-index: 1000;
  transition: right 0.35s ease-in-out;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  padding: 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.cart-item-img {
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: rgba(0,0,0,0.2);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 90vw;
  width: max-content;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 0.85rem 1.15rem;
  background: var(--bg-primary, #ffffff);
  border-radius: 9999px;
  color: var(--text-main, #111827);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border-color);
  animation: toastPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 280px;
  max-width: 420px;
}

[data-theme="dark"] .toast {
  background: rgba(30, 30, 35, 0.85);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .toast {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.toast-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.toast-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.toast-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0 0.3rem;
  transition: color 0.2s ease;
  line-height: 1;
  display: flex;
  align-items: center;
}

.toast-close:hover {
  color: var(--text-main);
}

/* Modifiers */
.toast-req { border-color: rgba(6, 182, 212, 0.4); }
.toast-req .toast-icon { color: #06b6d4; }

.toast-res-ok { border-color: rgba(16, 185, 129, 0.4); }
.toast-res-ok .toast-icon { color: #10b981; }

.toast-res-err { border-color: rgba(244, 63, 94, 0.4); }
.toast-res-err .toast-icon { color: #f43f5e; }

.toast-info { border-color: rgba(250, 204, 21, 0.4); }
.toast-info .toast-icon { color: #facc15; }

@keyframes toastPop {
  from { transform: translateY(24px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-navbar { display: none !important; }
  .mobile-top-bar { display: flex !important; }
  .hero-banner { padding: 1.2rem; min-height: 220px; }
  .hero-title { font-size: 1.6rem; }
  .recycle-section { grid-template-columns: 1fr; padding: 1.2rem; }
  .cart-drawer { width: 100%; right: -100%; }
}

@media (min-width: 769px) {
  .mobile-top-bar { display: none !important; }
  .desktop-navbar { display: flex !important; }
}

/* ======================================================
   ADDITIONAL NEXT.JS COMPONENT STYLES
   ====================================================== */

/* Mobile Bottom Navigation Bar (Curved Bottom Nav) */
.mobile-bottom-nav {
  display: none !important;
}

.nav-item-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  position: relative;
}

.nav-item-btn .icon {
  font-size: 1.4rem;
  transition: var(--transition-fast);
}

.nav-item-btn.active {
  color: var(--brand-cyan);
}

.nav-item-btn.active .icon {
  transform: translateY(-3px) scale(1.15);
  filter: drop-shadow(0 0 8px var(--brand-cyan));
}

.nav-item-btn.fab-btn {
  background: var(--gradient-brand);
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-top: -24px;
  box-shadow: var(--shadow-glow);
}

.nav-item-btn.fab-btn .icon {
  font-size: 1.6rem;
}

/* Timeline & Status Tracker */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  padding-left: 2rem;
  margin: 1.5rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--border-color);
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid var(--border-color);
  transition: var(--transition-normal);
}

.timeline-item.completed .timeline-dot {
  background: var(--brand-green);
  border-color: var(--brand-green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.timeline-item.active .timeline-dot {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  box-shadow: 0 0 12px var(--brand-cyan);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.timeline-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.timeline-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Rate Card Grid */
.rate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.rate-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.rate-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.rate-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rate-card-icon {
  font-size: 2.2rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.rate-badge {
  font-weight: 800;
  font-size: 1rem;
  color: var(--brand-green);
  background: rgba(16, 185, 129, 0.15);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

/* Chat Messages */
.chat-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 380px;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.chat-bubble {
  max-width: 80%;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
}

.chat-bubble.incoming {
  align-self: flex-start;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-bottom-left-radius: 2px;
}

.chat-bubble.outgoing {
  align-self: flex-end;
  background: var(--gradient-brand);
  color: white;
  border-bottom-right-radius: 2px;
}

.chat-timestamp {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 4px;
  text-align: right;
}

/* Leaderboard Table */
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.leaderboard-table th {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rank-chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
}

.rank-chip.rank-1 { background: #f59e0b; color: #000; }
.rank-chip.rank-2 { background: #94a3b8; color: #000; }
.rank-chip.rank-3 { background: #d97706; color: #fff; }

/* Filter Accordion & FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  padding: 1rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  padding: 0 1.2rem 1rem 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Header & Responsive Display Rules */
.mobile-top-bar {
  display: flex;
}

.delivery-speed-tag {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #10b981;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-top: 2px;
}

.header-cat-subbar::-webkit-scrollbar {
  display: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
  border-color: var(--brand-yellow) !important;
}

.product-img {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-card:hover .product-img {
  transform: scale(1.06) !important;
}

.cart-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.6) !important;
}

@keyframes cartBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

.floating-cart-pill {
  animation: cartBounce 3s ease-in-out infinite;
}

@media (min-width: 768px) {
  .mobile-top-bar {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .desktop-navbar {
    display: none !important;
  }
}

.category-card-item:hover {
  transform: translateY(-3px);
}

/* ==========================================
   PREMIUM CLEAN WEB PROFILE STYLES
   ========================================== */

.web-profile-container {
  max-width: 1040px;
  margin: 2rem auto 5rem auto;
  padding: 0 1.25rem;
  width: 100%;
}

/* Guest Card */
.guest-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 520px;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.guest-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(250, 204, 21, 0.12);
  border: 2px solid var(--brand-yellow);
  color: var(--brand-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.guest-subtext {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.btn-primary-lg {
  background: var(--brand-yellow);
  color: #000000;
  font-weight: 800;
  padding: 0.85rem 2.5rem;
  border-radius: 9999px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
  transition: transform 0.15s ease;
}

.btn-primary-lg:hover {
  transform: translateY(-2px);
}

/* Profile Hero Card */
.profile-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.profile-avatar-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-yellow) 0%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-initials {
  font-size: 2.2rem;
  font-weight: 900;
  color: #000000;
}

.hero-user-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-name-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.profile-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.account-active-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-meta-pill {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-secondary);
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  font-weight: 600;
}

.meta-svg {
  display: inline-flex;
  color: var(--brand-yellow);
}

.btn-edit-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-weight: 700;
  border-radius: 9999px;
  font-size: 0.88rem;
  cursor: pointer;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.btn-edit-profile:hover {
  background: var(--brand-yellow);
  color: #000000;
  border-color: var(--brand-yellow);
}

/* Metrics Row */
.profile-metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.metric-box:hover {
  transform: translateY(-2px);
  border-color: var(--brand-yellow);
}

.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.metric-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-main);
  margin-top: 0.4rem;
}

/* Content Layout (2-Column) */
.profile-content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 820px) {
  .profile-content-layout {
    grid-template-columns: 1fr;
  }
}

.profile-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 1.75rem;
}

.info-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-color);
}

.info-card-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.btn-text-action {
  background: transparent;
  border: none;
  color: var(--brand-yellow);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.info-fields-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-field-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.8rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0.85rem;
}

.field-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.field-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Quick Actions Sidebar */
.profile-quick-actions {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.quick-actions-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 1rem 0;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-color);
}

.actions-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.action-nav-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.85rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 0.8rem;
}

.action-nav-item:hover {
  background: var(--bg-secondary);
  transform: translateX(3px);
}

.action-danger:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.action-icon {
  display: flex;
  align-items: center;
  color: var(--brand-yellow);
}

.action-text {
  font-size: 0.9rem;
  font-weight: 700;
  flex: 1;
  text-align: left;
}

.action-badge {
  font-size: 0.75rem;
  background: rgba(250, 204, 21, 0.15);
  color: var(--brand-yellow);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-weight: 800;
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* 1. Profile Header Banner */
.profile-header-banner {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.banner-user-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.user-avatar-wrapper {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--card-bg, #1e293b);
  border: 3px solid var(--brand-yellow, #facc15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar-placeholder {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand-yellow, #facc15);
}

.user-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.user-name-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.user-display-name {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.5px;
}

.user-status-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-contact-pills {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.contact-pill {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
}

.pill-icon {
  color: #10b981;
  display: inline-flex;
}

.edit-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-weight: 800;
  border-radius: 9999px;
  font-size: 0.9rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.edit-profile-btn:hover {
  background: var(--brand-yellow);
  color: #000000;
  border-color: var(--brand-yellow);
  transform: translateY(-2px);
}

/* 2. Metrics Statistics Grid */
.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: var(--card-bg, rgba(30, 41, 59, 0.7));
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-yellow);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.metric-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-icon-wrap { background: rgba(250, 204, 21, 0.15); color: #facc15; }
.points-icon-wrap { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.orders-icon-wrap { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.address-icon-wrap { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }

.metric-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-main);
}

.metric-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-weight: 600;
}

/* 3. Desktop 2-Column Dashboard Main Panel */
.dashboard-main-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 860px) {
  .dashboard-main-layout {
    grid-template-columns: 1fr;
  }
}

.dashboard-sidebar {
  background: var(--card-bg, rgba(30, 41, 59, 0.7));
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-header {
  padding: 0.4rem 0.6rem 0.8rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0.4rem;
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.85rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(3px);
}

.nav-danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-svg-icon {
  display: flex;
  align-items: center;
  color: var(--brand-yellow);
}

.nav-label {
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-badge {
  font-size: 0.75rem;
  background: rgba(250, 204, 21, 0.15);
  color: var(--brand-yellow);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-weight: 800;
}

/* Right Content Panel */
.dashboard-content-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.panel-card {
  background: var(--card-bg, rgba(30, 41, 59, 0.7));
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 1.8rem;
}

.panel-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.panel-card-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-main);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 0.85rem;
}

.detail-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.detail-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-word;
}

.address-display-text {
  margin: 0;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 600;
}

.delivery-badge-pill {
  margin-top: 1rem;
  display: inline-block;
  font-size: 0.82rem;
  color: #10b981;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Hide mobile bottom navigation bar on desktop screens */
@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}


.category-card-item.active-cat div {
  background: var(--brand-yellow) !important;
  border-color: var(--brand-yellow) !important;
}

.floating-cart-pill {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-cart-pill:hover {
  transform: translateX(-50%) scale(1.03) !important;
  box-shadow: 0 14px 30px -4px rgba(250, 204, 21, 0.75) !important;
}

/* ==========================================
   UNIVERSAL API SPINNER LOADER STYLES
   ========================================== */

.api-loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  gap: 0.8rem;
  width: 100%;
}

.panda-loader-wrapper {
  animation: fadeIn 0.4s ease-out;
}

.panda-lottie-box {
  width: 190px;
  height: 190px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 12px 24px rgba(250, 204, 21, 0.35));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.panda-lottie-box:hover {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 16px 32px rgba(250, 204, 21, 0.5));
}

.panda-lottie-box svg,
.panda-lottie-svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  transform-origin: center center;
}

@keyframes pandaPulse {
  0% { transform: scale(0.92); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 20px rgba(250, 204, 21, 0.8)); }
  100% { transform: scale(0.92); opacity: 0.8; }
}

.loader-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(250, 204, 21, 0.2);
  border-top-color: var(--brand-yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.3px;
  text-align: center;
}

.panda-loader-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================
   ENHANCED CART VIEW & STORE CARD STYLES
   ========================================== */

.store-cart-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-cart-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
}

.my-cart-view-container button {
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.my-cart-view-container button:active {
  transform: scale(0.94);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ─── SKELETON SHIMMER LOADER ──────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -800px 0; }
  100% { background-position:  800px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg-secondary) 0px, rgba(255,255,255,0.07) 40%, var(--bg-secondary) 80%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 10px;
}
[data-theme="light"] .skeleton {
  background: linear-gradient(90deg, #e8edf3 0px, #f5f7fa 40%, #e8edf3 80%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
}
.sk-banner { height: 220px; border-radius: 1.5rem; margin-bottom: 2rem; }
.sk-cat-row { display: flex; gap: 1.1rem; margin-bottom: 2.5rem; overflow: hidden; }
.sk-cat { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.sk-cat-circle { width: 80px; height: 80px; border-radius: 50%; }
.sk-cat-label  { width: 64px; height: 12px; border-radius: 6px; }
.sk-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.sk-section-title  { width: 160px; height: 20px; border-radius: 8px; }
.sk-section-link   { width: 70px; height: 16px; border-radius: 6px; }
.sk-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; margin-bottom: 2.5rem; }
.sk-product-card { border-radius: 1.2rem; overflow: hidden; border: 1px solid var(--border-color); background: var(--card-bg); }
.sk-product-img  { height: 160px; border-radius: 0; }
.sk-product-body { padding: 0.9rem; display: flex; flex-direction: column; gap: 0.6rem; }
.sk-product-name { width: 80%; height: 14px; border-radius: 6px; }
.sk-product-sub  { width: 50%; height: 11px; border-radius: 5px; }
.sk-product-price{ width: 60%; height: 20px; border-radius: 8px; }
.sk-product-btn  { width: 100%; height: 36px; border-radius: 9999px; margin-top: 0.3rem; }
.sk-store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; margin-bottom: 2.5rem; }
.sk-store-card { height: 90px; border-radius: 1.2rem; border: 1px solid var(--border-color); background: var(--card-bg); padding: 1rem; display: flex; align-items: center; gap: 1rem; }
.sk-store-avatar { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; }
.sk-store-info { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.sk-store-name { width: 70%; height: 14px; border-radius: 6px; }
.sk-store-sub  { width: 50%; height: 11px; border-radius: 5px; }

/* ─── AUTH WALL ────────────────────────────────────────────────────────────── */
@keyframes authGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(250,204,21,0.15); }
  50%       { box-shadow: 0 0 80px rgba(250,204,21,0.35); }
}
@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
.auth-wall { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5rem 2rem 4rem; text-align: center; animation: floatUp 0.5s ease forwards; }
.auth-wall-icon { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, rgba(250,204,21,0.15) 0%, rgba(234,179,8,0.05) 100%); border: 2px solid rgba(250,204,21,0.3); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; margin-bottom: 1.8rem; animation: authGlow 2.5s ease-in-out infinite; }
.auth-wall-title { font-size: 1.6rem; font-weight: 900; color: var(--text-main); font-family: 'Outfit', sans-serif; margin-bottom: 0.7rem; letter-spacing: -0.3px; }
.auth-wall-sub { font-size: 0.95rem; color: var(--text-muted); max-width: 340px; line-height: 1.6; margin-bottom: 2rem; }
.auth-wall-btn { background: linear-gradient(135deg, #fef08a 0%, #facc15 50%, #eab308 100%); color: #000; font-weight: 900; font-size: 1rem; border: none; border-radius: 9999px; padding: 0.85rem 2.5rem; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 8px 24px rgba(250,204,21,0.4); letter-spacing: 0.2px; }
.auth-wall-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 32px rgba(250,204,21,0.55); }
.auth-wall-btn:active { transform: scale(0.97); }
.auth-wall-perks { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; justify-content: center; }
.auth-wall-perk { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
.auth-wall-perk span { color: var(--brand-yellow); }


/* ─── Scrollbar Utilities ─────────────────────────────── */
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

/* ─── Pulse skeleton animation ───────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ─── Store Detail View ───────────────────────────────── */
.store-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
}
#store-back-btn:hover {
  background: rgba(255,255,255,0.28) !important;
  transform: translateX(-2px);
}

/* ─── MOBILE RESPONSIVENESS & OVERLAP FIXES ───────────────────────────── */

/* Clearance padding for bottom floating cart pill across all screens */
.product-catalog-container,
.store-detail-page-container,
.see-all-catalog-container,
.search-view-container,
.wishlist-view-container,
.shops-view-container,
.my-orders-container,
.waste-pickup-container {
  padding-bottom: 9rem !important; /* 144px clearance so no cards get hidden under floating cart */
}

@media (max-width: 768px) {
  /* Hide desktop navbar on mobile */
  .desktop-navbar {
    display: none !important;
  }
  .mobile-top-bar {
    display: flex !important;
  }
  
  /* Product Catalog grid columns for mobile */
  .product-grid,
  .sk-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  
  /* Banner height on mobile */
  .sk-banner, .hero-carousel-wrap {
    height: 170px !important;
  }

  /* Floating cart bar responsive */
  .floating-cart-pill {
    width: 92% !important;
    max-width: 400px !important;
    padding: 0.75rem 1.2rem !important;
    bottom: 80px !important;
    font-size: 0.88rem !important;
  }

  .panda-lottie-box {
    width: 140px !important;
    height: 140px !important;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }

  .product-card {
    border-radius: 0.9rem !important;
  }

  .delivery-speed-tag {
    font-size: 0.58rem !important;
    padding: 0.1rem 0.35rem !important;
  }

  /* Subnav category pills on small mobile */
  .header-cat-subbar {
    padding: 0.35rem 0.6rem !important;
    gap: 0.4rem !important;
  }

  .modal-card {
    padding: 1.5rem 1.2rem !important;
  }
}

