/* VenueIQ - Smart Mall Platform */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --bg: #f7f8fc;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f4fb;
  --text: #1a1d2e;
  --text-muted: #6b7088;
  --text-soft: #9aa0b8;
  --border: #e6e9f2;
  --primary: #6c5ce7;
  --primary-2: #a29bfe;
  --accent: #00c2b8;
  --accent-2: #2bd4ce;
  --warning: #ff9f43;
  --danger: #ff6b6b;
  --success: #22c55e;
  --gradient: linear-gradient(135deg, #6c5ce7 0%, #00c2b8 100%);
  --gradient-2: linear-gradient(135deg, #ff6b6b 0%, #ff9f43 100%);
  --gradient-3: linear-gradient(135deg, #00c2b8 0%, #6c5ce7 100%);
  --gradient-soft: linear-gradient(135deg, #eef0ff 0%, #e0f7f5 100%);
  --shadow-sm: 0 2px 8px rgba(30, 40, 90, 0.04);
  --shadow: 0 8px 30px rgba(30, 40, 90, 0.08);
  --shadow-lg: 0 20px 60px rgba(30, 40, 90, 0.12);
  --shadow-glow: 0 0 0 6px rgba(108, 92, 231, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* Accessibility mode */
body.accessibility {
  --primary: #4c3db8;
  --text: #000000;
  --text-muted: #2a2d48;
  --border: #9aa0b8;
  font-size: 17px;
}
body.accessibility * { transition-duration: 0s !important; animation: none !important; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

h1, h2, h3, h4, h5, .logo, .stat-value, .display {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Page fade-in */
body { animation: pageFade 0.6s var(--ease-smooth); }
@keyframes pageFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ SCROLL REVEALS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-scale { transform: scale(0.92) translateY(20px); }
.reveal-scale.is-visible { transform: scale(1) translateY(0); }
.reveal-left { transform: translateX(-40px); }
.reveal-left.is-visible { transform: translateX(0); }
.reveal-right { transform: translateX(40px); }
.reveal-right.is-visible { transform: translateX(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============ ANIMATIONS ============ */
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.4); }
  50% { box-shadow: 0 0 0 14px rgba(108, 92, 231, 0); }
}
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes wiggle {
  0%,100% { transform: rotate(0); }
  25% { transform: rotate(-4deg); }
  75% { transform: rotate(4deg); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
  60% { transform: scale(1); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.anim-float { animation: floatY 5s ease-in-out infinite; }
.anim-pulse-glow { animation: pulseGlow 2.4s ease-out infinite; }
.anim-bounce { animation: bounce 2s ease-in-out infinite; }
.anim-wiggle:hover { animation: wiggle 0.5s ease-in-out; }
.anim-heartbeat { animation: heartbeat 1.4s ease-in-out infinite; }

/* ============ LAYOUT ============ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Wider breakpoints first so phone rules can override correctly. */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
}

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  animation: fadeInDown 0.5s var(--ease-smooth);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  font-family: var(--font-display);
  box-shadow: 0 6px 18px rgba(108, 92, 231, 0.35);
  transition: transform 0.3s var(--ease-bounce);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s var(--ease-smooth);
  list-style: none;
  display: grid;
  gap: 2px;
}
.nav-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
  transition: background 0.15s;
}
.nav-dropdown a:hover { background: var(--surface-2); }
.nav-dropdown .nd-ico {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--gradient-soft);
  font-size: 16px;
  flex-shrink: 0;
}
.nav-dropdown .nd-sub { font-size: 11px; color: var(--text-muted); font-weight: 500; display:block; margin-top:1px; }

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.wishlist-btn {
  position: relative;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 16px;
  transition: all 0.2s;
}
.wishlist-btn:hover { background: rgba(108,92,231,0.12); transform: scale(1.05); }
.wishlist-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--danger);
  color: white;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  display: grid; place-items: center;
  padding: 0 4px;
  border: 2px solid white;
}
@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ============ ACCESSIBILITY FAB ============ */
.a11y-fab {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 90;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-size: 22px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.25s var(--ease-bounce);
}
.a11y-fab:hover { transform: scale(1.1); }

/* ============ CONCIERGE WIDGET ============ */
.concierge-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 14px;
  background: var(--gradient);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  color: white;
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(108, 92, 231, 0.45);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s var(--ease-bounce);
}
.concierge-fab:hover { transform: translateY(-3px) scale(1.03); }
.concierge-fab .cf-ico {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: grid; place-items: center;
  font-size: 16px;
  animation: bounce 2.4s ease-in-out infinite;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s var(--ease-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}
.btn:active::before { width: 300px; height: 300px; }
.btn-primary {
  background: var(--gradient);
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 10px 24px rgba(108, 92, 231, 0.3);
  animation: gradientShift 8s ease infinite;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(108, 92, 231, 0.4); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-soft {
  background: rgba(108, 92, 231, 0.08);
  color: var(--primary);
}
.btn-soft:hover { background: rgba(108, 92, 231, 0.14); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 14px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: floatY 10s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 194, 184, 0.22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: floatY 12s ease-in-out infinite reverse;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s var(--ease-smooth);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 194, 184, 0.2);
  animation: pulse 1.8s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s var(--ease-smooth) 0.1s both;
}
.gradient-text {
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}
.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
  animation: fadeInUp 0.8s var(--ease-smooth) 0.2s both;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeInUp 0.9s var(--ease-smooth) 0.3s both; }

/* Hero visual */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3.2;
  background: var(--gradient-soft);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.6);
  overflow: hidden;
  animation: fadeInUp 0.9s var(--ease-smooth) 0.2s both;
}
.floating-card {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  animation: floatY 5s ease-in-out infinite;
}
.fc-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  color: white; font-size: 16px;
}
.fc-1 { top: 30px; left: 24px; animation-delay: 0s; }
.fc-2 { bottom: 80px; right: 28px; animation-delay: 1.5s; }
.fc-3 { bottom: 24px; left: 40%; animation-delay: 3s; }
.hero-mall-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============ TICKER BAR ============ */
.ticker {
  overflow: hidden;
  background: var(--gradient);
  color: white;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
}
.ticker-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker-item { display: flex; align-items: center; gap: 10px; white-space: nowrap; }

/* ============ STATS BAR ============ */
.stats {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-item { text-align: center; }
.stat-value {
  font-size: 34px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============ FEATURE CARDS ============ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.35s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(108,92,231,0.04), transparent);
  transition: left 0.6s;
}
.feature-card:hover::before { left: 100%; }
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(108, 92, 231, 0.2);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 22px;
  margin-bottom: 20px;
  background: var(--gradient);
  transition: transform 0.4s var(--ease-bounce);
}
.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
  font-family: var(--font-display);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============ SHOP CARDS ============ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding: 8px;
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border);
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.filter-chip {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
}
.filter-chip.active, .filter-chip:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-1px);
}
.search-box {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--surface-2);
  border-radius: 10px;
  transition: box-shadow 0.2s;
}
.search-box:focus-within { box-shadow: 0 0 0 3px rgba(108,92,231,0.15); }
.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
}

.shop-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s var(--ease-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}
.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.shop-cover {
  height: 150px;
  background: var(--gradient-soft);
  position: relative;
  display: grid;
  place-items: center;
  font-size: 48px;
  transition: transform 0.4s;
}
.shop-card:hover .shop-cover { transform: scale(1.04); }
.shop-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.95);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  backdrop-filter: blur(6px);
}
.shop-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.shop-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.shop-category {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.shop-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--text-muted);
}
.shop-offer {
  color: var(--success);
  font-weight: 600;
  font-size: 13px;
}
.shop-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.shop-actions .btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 8px;
}
.shop-card-heart {
  position: absolute;
  top: 12px; left: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: grid; place-items: center;
  font-size: 14px;
  z-index: 2;
  transition: transform 0.2s;
  backdrop-filter: blur(6px);
}
.shop-card-heart:hover { transform: scale(1.15); }
.shop-card-heart.active { background: #ff6b6b; color: white; }
.shop-card-heart.active.just-added { animation: heartbeat 1s; }

/* ============ PRODUCT CARDS ============ */
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-image {
  height: 160px;
  background: var(--surface-2);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s;
}
.product-card:hover .product-image { transform: scale(1.05); }
.product-discount {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--danger);
  color: white;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
}
.product-name { font-weight: 600; font-size: 14px; }
.product-price { display: flex; align-items: center; gap: 8px; }
.price-now { font-weight: 800; font-size: 16px; color: var(--primary); font-family: var(--font-display); }
.price-old { font-size: 12px; color: var(--text-soft); text-decoration: line-through; }

/* ============ QR SCAN PAGE ============ */
.scan-wrap {
  min-height: calc(100vh - 90px);
  display: grid;
  place-items: center;
  padding: 40px 24px;
}
.scan-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  animation: fadeInUp 0.6s var(--ease-smooth);
}
.qr-frame {
  width: 260px;
  height: 260px;
  margin: 0 auto 28px;
  background: var(--surface-2);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.qr-corners::before, .qr-corners::after,
.qr-corners > span::before, .qr-corners > span::after {
  content: '';
  position: absolute;
  width: 40px; height: 40px;
  border: 4px solid var(--primary);
}
.qr-corners::before { top: 14px; left: 14px; border-right: none; border-bottom: none; border-radius: 12px 0 0 0; }
.qr-corners::after { top: 14px; right: 14px; border-left: none; border-bottom: none; border-radius: 0 12px 0 0; }
.qr-corners > span::before { bottom: 14px; left: 14px; border-right: none; border-top: none; border-radius: 0 0 0 12px; }
.qr-corners > span::after { bottom: 14px; right: 14px; border-left: none; border-top: none; border-radius: 0 0 12px 0; }
.qr-scan-line {
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
  animation: scanMove 2.2s ease-in-out infinite;
  box-shadow: 0 0 16px rgba(108, 92, 231, 0.6);
}
@keyframes scanMove {
  0% { top: 20px; }
  50% { top: calc(100% - 24px); }
  100% { top: 20px; }
}
.qr-pattern {
  width: 120px; height: 120px;
  background-image:
    linear-gradient(45deg, var(--text) 25%, transparent 25%),
    linear-gradient(-45deg, var(--text) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--text) 75%),
    linear-gradient(-45deg, transparent 75%, var(--text) 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
  opacity: 0.15;
}

/* ============ MAP PAGE ============ */
.map-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  min-height: calc(100vh - 90px);
  padding: 24px;
}
@media (max-width: 900px) {
  .map-layout { grid-template-columns: 1fr; }
}
.map-sidebar {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  height: fit-content;
  position: sticky;
  top: 100px;
  animation: slideInRight 0.5s var(--ease-smooth);
}
.map-canvas-wrap {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.floor-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.floor-tab {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  background: var(--surface-2);
  color: var(--text-muted);
  transition: all 0.25s;
}
.floor-tab.active {
  background: var(--gradient);
  color: white;
}
.map-svg {
  width: 100%;
  height: 520px;
  background: linear-gradient(135deg, #f7faff, #eef4ff);
  border-radius: 14px;
}
.directions-list {
  list-style: none;
  margin-top: 16px;
}
.direction-step {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
  animation: fadeInUp 0.4s var(--ease-smooth) both;
}
.direction-step:last-child { border: none; }
.step-num {
  width: 26px; height: 26px;
  flex-shrink: 0;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 11px;
}

/* ============ AR CAMERA PAGE ============ */
.ar-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 90px);
  overflow: hidden;
  background: #000;
}
.ar-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ar-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
.ar-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.ar-chip {
  background: rgba(0,0,0,0.55);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ar-arrow-container {
  display: grid;
  place-items: center;
  flex: 1;
}
.ar-arrow {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.35);
  border: 3px solid rgba(255,255,255,0.85);
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 80px rgba(108, 92, 231, 0.5);
  transition: transform 0.6s var(--ease-bounce);
}
.ar-arrow svg {
  width: 90px; height: 90px;
  color: white;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.ar-info {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 18px 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}
.ar-info h3 { font-size: 15px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.ar-info .destination { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.ar-info .meta {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.ar-info .meta span { display: flex; align-items: center; gap: 6px; }
.ar-progress {
  height: 6px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 14px;
}
.ar-progress-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 99px;
  width: 45%;
  transition: width 0.5s;
}
.ar-camera-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1a1d2e 0%, #2d1b69 100%);
  text-align: center;
  padding: 40px;
}

/* ============ DASHBOARD ============ */
.dashboard-wrap {
  padding: 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.dash-header h1 {
  font-size: 32px;
  letter-spacing: -0.03em;
}
.dash-tabs {
  display: flex;
  gap: 8px;
  background: white;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.dash-tab {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.25s;
}
.dash-tab.active {
  background: var(--gradient);
  color: white;
}
.kpi-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all 0.3s;
}
.kpi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.kpi-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kpi-value {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: var(--font-display);
}
.kpi-change {
  font-size: 12px;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
}
.kpi-change.up { background: rgba(34, 197, 94, 0.12); color: var(--success); }
.kpi-change.down { background: rgba(255, 107, 107, 0.12); color: var(--danger); }

.chart-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.3s;
}
.chart-card:hover { box-shadow: var(--shadow-sm); }
.chart-card h3 { font-size: 17px; margin-bottom: 16px; font-weight: 700; font-family: var(--font-display); }

/* Heatmap */
.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
}
.heat-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  background: #eef0f7;
  transition: transform 0.2s;
}
.heat-cell:hover { transform: scale(1.4); z-index: 2; }

/* Bar chart */
.bar-chart {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  align-items: end;
  height: 220px;
  padding-top: 20px;
}
.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.bar {
  width: 100%;
  background: var(--gradient);
  border-radius: 6px 6px 0 0;
  min-height: 10px;
  transition: all 0.4s var(--ease-bounce);
  animation: barGrow 1s var(--ease-bounce) both;
  transform-origin: bottom;
}
@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.bar-col span { font-size: 11px; color: var(--text-muted); }

/* List */
.top-list { list-style: none; }
.top-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
  transition: padding 0.2s;
}
.top-list li:hover { padding-left: 4px; }
.top-list li:last-child { border: none; }
.top-list .rank {
  width: 26px; height: 26px;
  background: var(--surface-2);
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 10px;
}

/* ============ SHOP DETAIL ============ */
.shop-hero {
  background: var(--gradient);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}
.shop-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  animation: floatY 8s ease-in-out infinite;
}
.shop-hero-inner {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.shop-logo {
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.25);
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 52px;
  backdrop-filter: blur(10px);
  animation: floatY 4s ease-in-out infinite;
}
.shop-hero h1 {
  font-size: 42px;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.shop-hero .tagline { opacity: 0.9; }
.shop-hero-meta {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.9;
}
@media (max-width: 700px) {
  .shop-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .shop-logo { margin: 0 auto; }
}

/* ============ PROMOTIONS ============ */
.promo-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: all 0.3s var(--ease-smooth);
}
.promo-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.promo-banner {
  height: 100px;
  background: var(--gradient);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 24px;
  color: white;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  transition: transform 0.4s;
}
.promo-card:hover .promo-banner::before { transform: scale(1.3); }
.promo-percent {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: var(--font-display);
}
.promo-body { padding: 18px; }
.promo-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.promo-body p { font-size: 13px; color: var(--text-muted); }
.promo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
}

/* ============ FOOTER ============ */
.footer {
  background: white;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 14px; margin-bottom: 14px; font-weight: 700; font-family: var(--font-display); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: var(--text-muted); font-size: 13px; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
}

/* ============ UTILITIES ============ */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.tag-success { background: rgba(34, 197, 94, 0.12); color: var(--success); }
.tag-warn { background: rgba(255, 159, 67, 0.14); color: var(--warning); }
.tag-primary { background: rgba(108, 92, 231, 0.1); color: var(--primary); }
.tag-accent { background: rgba(0, 194, 184, 0.12); color: var(--accent); }
.tag-danger { background: rgba(255, 107, 107, 0.12); color: var(--danger); }

.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.skeleton { animation: shimmer 1.4s infinite; background: linear-gradient(90deg, #eef0f7, #f7f8fc, #eef0f7); background-size: 200% 100%; }

.breadcrumb {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--primary); }

/* ============ EVENTS PAGE ============ */
.event-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.event-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.event-poster {
  aspect-ratio: 16/10;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 56px;
  position: relative;
  overflow: hidden;
}
.event-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 60%);
}
.event-date {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.96);
  padding: 6px 10px;
  border-radius: 8px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.event-date .day { font-size: 18px; font-weight: 800; color: var(--primary); font-family: var(--font-display); }
.event-date .mo { font-size: 10px; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }

.movie-poster {
  background: linear-gradient(135deg, #1a1d2e 0%, #2d1b69 100%);
  aspect-ratio: 2/3;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 60px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.movie-poster:hover { transform: scale(1.04); }
.movie-rating {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(255, 159, 67, 0.95);
  color: white;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}

.seat-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  max-width: 540px;
  margin: 0 auto;
}
.seat {
  aspect-ratio: 1;
  background: var(--surface-2);
  border-radius: 6px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--text-muted);
  transition: all 0.2s var(--ease-bounce);
}
.seat:hover:not(.booked) { transform: scale(1.15); background: var(--primary-2); color: white; }
.seat.selected { background: var(--gradient); color: white; transform: scale(1.1); }
.seat.booked { background: #d0d4df; cursor: not-allowed; color: transparent; }
.screen-indicator {
  height: 8px;
  background: linear-gradient(180deg, rgba(108,92,231,0.4), transparent);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  max-width: 540px;
  margin: 0 auto 30px;
  transform: perspective(200px) rotateX(-25deg);
}

/* ============ PARKING ============ */
.parking-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
}
.parking-slot {
  aspect-ratio: 1.2/1;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease-bounce);
  position: relative;
  font-weight: 700;
}
.parking-slot.occupied { background: #d0d4df; cursor: not-allowed; }
.parking-slot.occupied::after { content: '🚗'; font-size: 20px; }
.parking-slot.disabled { background: rgba(0,194,184,0.15); color: var(--accent); border: 2px dashed var(--accent); }
.parking-slot.ev { background: rgba(34,197,94,0.15); color: var(--success); }
.parking-slot.ev::after { content: '⚡'; font-size: 14px; position: absolute; top: 2px; right: 2px; }
.parking-slot.my-car { background: var(--gradient); color: white; animation: pulseGlow 2s ease-out infinite; }
.parking-slot:hover:not(.occupied) { transform: scale(1.1); }

/* ============ FOOD COURT ============ */
.food-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.food-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.food-cover {
  height: 140px;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  font-size: 52px;
  position: relative;
}
.queue-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.queue-dot { width: 8px; height: 8px; border-radius: 50%; animation: pulse 1.5s ease-in-out infinite; }
.queue-low { background: var(--success); }
.queue-med { background: var(--warning); }
.queue-high { background: var(--danger); }

/* ============ WISHLIST ============ */
.wishlist-empty {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.wishlist-empty .big-icon { font-size: 64px; margin-bottom: 16px; }

/* ============ CONCIERGE CHAT ============ */
.chat-container {
  max-width: 760px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 140px);
}
.chat-header {
  background: var(--gradient);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: white;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.chat-avatar {
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  backdrop-filter: blur(10px);
  animation: pulse 2s ease-in-out infinite;
}
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface-2);
}
.chat-msg {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  animation: fadeInUp 0.3s var(--ease-smooth);
}
.chat-msg.bot {
  background: white;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}
.chat-msg.me {
  background: var(--gradient);
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 14px 18px;
  background: white;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chat-typing span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-muted);
  animation: bounce 1s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
.chat-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: white;
}
.chat-input-wrap {
  display: flex;
  gap: 10px;
  background: var(--surface-2);
  border-radius: 14px;
  padding: 6px 6px 6px 16px;
  align-items: center;
}
.chat-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 0;
}
.chat-send {
  width: 40px; height: 40px;
  background: var(--gradient);
  color: white;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.chat-suggestion {
  padding: 8px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
}
.chat-suggestion:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ============ EMERGENCY ============ */
.emergency-card {
  background: linear-gradient(135deg, #ff6b6b, #ff9f43);
  color: white;
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.emergency-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}
.emergency-num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: var(--font-display);
}

/* ============ PROFILE / LOYALTY ============ */
.profile-card {
  background: var(--gradient);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  border-radius: var(--radius-lg);
  padding: 30px;
  color: white;
  position: relative;
  overflow: hidden;
}
.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 60%);
}
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.progress-ring {
  width: 140px;
  height: 140px;
}

/* ============ STAFF ALERTS ============ */
.alert-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  animation: slideInRight 0.5s var(--ease-smooth);
  transition: all 0.3s;
  border-left: 4px solid var(--primary);
}
.alert-card.vip { border-left-color: var(--warning); background: linear-gradient(135deg, #fff 0%, #fff8f0 100%); }
.alert-card.urgent { border-left-color: var(--danger); }
.alert-card:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.alert-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: white;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
}
.alert-avatar.vip { background: linear-gradient(135deg, #ff9f43, #ffb766); }
.alert-avatar::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 2px;
  width: 12px; height: 12px;
  background: var(--success);
  border: 2px solid white;
  border-radius: 50%;
}

/* Reviews */
.review-item {
  padding: 16px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  gap: 14px;
}
.review-item:last-child { border: none; }
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.stars { color: #ffb700; font-size: 14px; letter-spacing: 2px; }

/* Toast */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s var(--ease-smooth);
  z-index: 200;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   VenueIQ — additive layer (search, account nav, live seat maps, live menus,
   reviews, pagination, accessibility). Nothing above this line is modified.
   ========================================================================== */

/* ---------- Accessibility primitives ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 300;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  font-size: 14px;
  font-weight: 700;
  transition: top 0.2s var(--ease-smooth);
}
.skip-link:focus { top: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}
main:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Global search in the navbar ---------- */
.nav-search {
  position: relative;
  flex: 1;
  max-width: 340px;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 12px;
  margin: 0 8px;
}
.nav-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,92,231,0.14); }
.nav-search-icon { font-size: 14px; flex-shrink: 0; }
.nav-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 9px 0;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
}
.nav-search input::-webkit-search-cancel-button { cursor: pointer; }

.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  max-height: 60vh;
  overflow-y: auto;
  z-index: 120;
}
.suggest-group + .suggest-group { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.suggest-group-title {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-soft);
  padding: 6px 10px 4px;
}
.suggest-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text);
}
.suggest-option:hover, .suggest-option.is-active { background: var(--gradient-soft); }
.suggest-option.is-active { box-shadow: inset 0 0 0 1px rgba(108,92,231,0.35); }
.suggest-icon {
  width: 30px; height: 30px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 15px;
}
.suggest-text { display: grid; min-width: 0; }
.suggest-label { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-sub { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-empty { padding: 14px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* ---------- Notification bell & account menu ---------- */
.nav-icon-btn {
  position: relative;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 16px;
  transition: all 0.2s;
}
.nav-icon-btn:hover { background: rgba(108,92,231,0.12); transform: scale(1.05); }
.nav-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--danger);
  color: #fff;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  display: grid; place-items: center;
  padding: 0 4px;
  border: 2px solid #fff;
}
.nav-account { position: relative; }
.nav-account-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px 3px 3px;
  border-radius: 999px;
  background: var(--surface-2);
}
.nav-account-toggle:hover { background: rgba(108,92,231,0.12); }
.nav-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.nav-account-head {
  padding: 8px 12px 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.nav-account-head strong { font-size: 13px; display: block; }
.nav-dropdown-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.nav-dropdown-action:hover { background: var(--surface-2); }
@media (max-width: 1100px) { .nav-hide-sm { display: none; } }
@media (max-width: 640px) { .nav-search { display: none; } }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin: 36px 0 8px;
}
.pagination .page-link,
.pagination .page-dots {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease-smooth);
}
.pagination .page-link:hover { border-color: var(--primary); color: var(--primary); }
.pagination .page-link[aria-current="page"] {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}
.pagination .page-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.pagination .page-dots { border: none; background: none; }
.pagination-summary {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 6px;
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,92,231,0.14);
}
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 700px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 12px; color: var(--text-muted); }
.form-error { font-size: 12px; color: var(--danger); font-weight: 600; }

.flash {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
.flash-success { background: rgba(34,197,94,0.12); color: #15803d; }
.flash-error { background: rgba(255,107,107,0.12); color: #b91c1c; }

/* ---------- Sort / filter select inside the filter bar ---------- */
.filter-select {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}
.filter-select:hover { border-color: var(--primary); color: var(--primary); }
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-group > span { font-size: 12px; color: var(--text-soft); font-weight: 600; }

/* ---------- Live cinema seat map ---------- */
.showtime-row { display: flex; flex-wrap: wrap; gap: 8px; }
.showtime-btn {
  display: inline-grid;
  gap: 1px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  transition: all 0.2s var(--ease-smooth);
}
.showtime-btn small { font-size: 10px; font-weight: 600; color: var(--text-soft); }
.showtime-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.showtime-btn.is-active { background: var(--gradient); border-color: transparent; color: #fff; }
.showtime-btn.is-active small { color: rgba(255,255,255,0.85); }
.showtime-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.showtime-empty { font-size: 12px; color: var(--text-soft); }

.seat-map { max-width: 580px; margin: 0 auto; display: grid; gap: 6px; }
.seat-row { display: flex; align-items: center; gap: 8px; }
.seat-row-label {
  width: 16px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-soft);
  text-align: center;
}
.seat-row-seats {
  flex: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
}
button.seat { padding: 0; font-family: inherit; }
.seat.seat-taken { background: #d0d4df; color: rgba(26,29,46,0.35); cursor: not-allowed; }
.seat.seat-blocked {
  background: repeating-linear-gradient(45deg, #e3e6ef, #e3e6ef 4px, #f1f4fb 4px, #f1f4fb 8px);
  color: var(--text-soft);
  cursor: not-allowed;
}
.seat.seat-taken:hover, .seat.seat-blocked:hover, .seat:disabled:hover { transform: none; }
.seat-loading, .menu-loading {
  padding: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
.seat-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  align-items: center;
}
.seat-legend span { display: flex; gap: 6px; align-items: center; }
.legend-swatch { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.legend-free { background: var(--surface-2); border: 1px solid var(--border); }
.legend-selected { background: var(--gradient); }
.legend-taken { background: #d0d4df; }
.legend-blocked { background: repeating-linear-gradient(45deg, #e3e6ef, #e3e6ef 3px, #f1f4fb 3px, #f1f4fb 6px); }

.hold-status {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,159,67,0.14);
  color: #a35a00;
  font-size: 13px;
  font-weight: 700;
}
.hold-status.is-expired { background: rgba(255,107,107,0.14); color: #b91c1c; }

/* ---------- Live food menu ---------- */
.menu-section + .menu-section { margin-top: 22px; }
.menu-section-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.menu-items { display: grid; gap: 10px; }
.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.menu-item.in-cart { border-color: var(--primary); background: var(--gradient-soft); }
.menu-item-media {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  display: grid; place-items: center;
  font-size: 26px;
  overflow: hidden;
}
.menu-item-media img { width: 56px; height: 56px; object-fit: cover; }
.menu-item-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.menu-item-name { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.menu-item-desc { font-size: 12px; color: var(--text-muted); margin: 0; }
.menu-item-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.menu-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  border: 1px solid var(--border);
  text-transform: capitalize;
}
.menu-item-price { display: flex; align-items: center; gap: 8px; }
.menu-qty { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.qty-btn {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
  line-height: 1;
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-btn.qty-add { background: var(--gradient); color: #fff; border-color: transparent; }
.qty-value { font-weight: 800; min-width: 22px; text-align: center; font-size: 14px; }

.queue-report {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: var(--surface-2);
  border-radius: 12px;
}
.queue-report label { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.queue-report input {
  width: 84px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  background: #fff;
}

/* ---------- Reviews ---------- */
.rating-breakdown { display: grid; gap: 6px; flex: 1; min-width: 200px; }
.rating-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); }
.rating-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.rating-bar > span { display: block; height: 100%; background: var(--gradient); border-radius: 4px; }

.review-form { margin-top: 20px; padding: 18px; background: var(--surface-2); border-radius: 14px; display: grid; gap: 14px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; position: relative; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label {
  font-size: 26px;
  line-height: 1;
  color: #d5d9e4;
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: #ffb700; }
.star-input label:hover { transform: scale(1.1); }
.star-input input:focus-visible + label { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.review-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.helpful-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
}
.helpful-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.helpful-btn.is-voted, .helpful-btn:disabled { opacity: 0.6; cursor: default; }
.review-reply {
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--gradient-soft);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Promotions ---------- */
.promo-actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.claim-btn.is-claimed { background: rgba(34,197,94,0.14); color: #15803d; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0; }
@media (max-width: 900px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .kpi-row { grid-template-columns: 1fr; } }

/* ---------- Search results page ---------- */
.result-list { display: grid; gap: 10px; }
.result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.2s var(--ease-smooth);
}
.result-item:hover { border-color: var(--primary); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.result-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gradient-soft);
  display: grid; place-items: center;
  font-size: 20px;
}
.result-body { flex: 1; min-width: 0; }
.result-title { font-weight: 700; font-size: 15px; }
.result-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.result-type {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(108,92,231,0.1);
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.search-hero { padding: 40px 0 10px; }

/* ---------- Event reservation ---------- */
.event-reserve { display: grid; gap: 10px; margin-top: 12px; padding: 14px; background: var(--surface-2); border-radius: 12px; }
.event-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* ---------- Misc ---------- */
.stack-sm { display: grid; gap: 10px; }
.muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Shop card: link wrapper so the wishlist button is not nested inside an anchor. */
.shop-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  min-width: 0;
}

/* The `hidden` attribute must win over any class that sets a display value. */
[hidden] { display: none !important; }

/* ============ MOBILE NAV (drawer + bottom tab bar) ============ */
.nav-burger,
.nav-search-mobile,
.mobile-tabbar { display: none; }
.nav-burger {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  place-items: center;
  margin-right: 8px;
  flex-shrink: 0;
}
.nav-burger:hover { background: rgba(108,92,231,0.12); }
.nav-burger-bars,
.nav-burger-bars::before,
.nav-burger-bars::after {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  position: relative;
  content: '';
}
.nav-burger-bars::before { position: absolute; top: -6px; left: 0; }
.nav-burger-bars::after { position: absolute; top: 6px; left: 0; }

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(26, 29, 46, 0.45);
  backdrop-filter: blur(2px);
}
.mobile-drawer {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 150;
  width: min(340px, 88vw);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: drawerIn 0.25s var(--ease-smooth);
}
.mobile-drawer[hidden], .mobile-drawer-backdrop[hidden] { display: none; }
@keyframes drawerIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mobile-drawer-head .logo { font-size: 17px; }
.mobile-drawer-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 12px;
}
.mobile-drawer-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,92,231,0.14); }
.mobile-drawer-search input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  padding: 12px 0;
  font: inherit; font-size: 16px;
  color: var(--text);
  outline: none;
}
.mobile-drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-drawer-list { list-style: none; display: grid; gap: 2px; }
.mobile-drawer-list + .mobile-drawer-list { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 10px; }
.mobile-drawer-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.mobile-drawer-list a:hover, .mobile-drawer-list a.active { background: var(--surface-2); color: var(--primary); }
.mobile-drawer-more a { font-size: 13px; font-weight: 500; }
.mobile-drawer-list .nd-ico {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--gradient-soft);
  font-size: 16px;
  flex-shrink: 0;
}
.mobile-drawer-list .nd-sub { font-size: 11px; color: var(--text-muted); font-weight: 500; display: block; margin-top: 1px; }
body.drawer-open { overflow: hidden; }

.mobile-tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--border);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, 1fr);
}
.mobile-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 48px;
  justify-content: center;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}
.mobile-tabbar .mt-ico { font-size: 20px; line-height: 1; }
.mobile-tabbar a.active { color: var(--primary); background: rgba(108,92,231,0.08); }

@media (max-width: 900px) {
  .nav-burger { display: grid; }
  .mobile-tabbar { display: grid; }
  /* Keep content and floating buttons clear of the tab bar. */
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .a11y-fab, .concierge-fab { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
  .nav-inner { padding: 12px 16px; }
}
@media (max-width: 640px) {
  .nav-search-mobile { display: grid; }
  .concierge-fab span:not(.cf-ico) { display: none; }
  .concierge-fab { padding: 10px; }
  .nav-inner .logo > span:last-child { display: none; }
}
@media print {
  .mobile-tabbar, .mobile-drawer, .mobile-drawer-backdrop, .nav-burger { display: none !important; }
}
@media (max-width: 900px) {
  .ar-container { height: calc(100dvh - 64px - 68px - env(safe-area-inset-bottom)); }
}

/* Parking: the selected level card (kept in sync by the level switcher). */
.parking-level-card.active { border-color: var(--primary); box-shadow: var(--shadow-glow); }

/* Emergency: step-free evacuation that needs staff assistance. */
.evac-notice {
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.45);
  color: #b42318;
  font-size: 14px;
}
