/* ==========================================================================
   ERAV - Luxury Somali Beauty & Fashion Platform Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Light Mode */
  --bg-primary: #FAF8F5;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F3EFEA;
  --bg-card: #FFFFFF;
  --text-primary: #121212;
  --text-secondary: #5A5A5A;
  --text-muted: #888888;
  
  --emerald-dark: #0D2818;
  --emerald-main: #144229;
  --emerald-light: #1E5B3A;
  --emerald-bg: #E8F0EC;
  
  --gold-primary: #C5A059;
  --gold-hover: #B08C45;
  --gold-light: #F9F5EC;
  --gold-gradient: linear-gradient(135deg, #DFBA6D 0%, #C5A059 50%, #9E7D3B 100%);
  
  --border-color: #E2DDD5;
  --border-focus: #C5A059;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(13, 40, 24, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Overrides */
body.dark-mode {
  --bg-primary: #0A0F0D;
  --bg-secondary: #121A15;
  --bg-tertiary: #19241E;
  --bg-card: #141E18;
  --text-primary: #F5F3EF;
  --text-secondary: #B0B9B3;
  --text-muted: #738077;
  
  --emerald-bg: #16261E;
  --border-color: #24352B;
  --gold-light: #242016;
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  color: var(--gold-primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Header & Announcement Bar */
.announcement-bar {
  background-color: var(--emerald-dark);
  color: #FAF0CA;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.announcement-ticker {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pill-select, .pill-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FAF8F5;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.pill-select:hover, .pill-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--gold-primary);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

body.dark-mode .main-header {
  background-color: rgba(18, 26, 21, 0.92);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.logo-symbol {
  width: 40px;
  height: 40px;
  background: var(--emerald-dark);
  border: 1.5px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--emerald-dark);
  letter-spacing: 0.08em;
}

body.dark-mode .logo-text {
  color: var(--text-primary);
}

.logo-tag {
  font-size: 0.65rem;
  display: block;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-top: -4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
}

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

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: var(--bg-tertiary);
  color: var(--gold-primary);
}

.badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold-primary);
  color: #121212;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--emerald-dark);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--emerald-main);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #121212;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--emerald-dark);
  color: var(--emerald-dark);
}

body.dark-mode .btn-outline {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.btn-outline:hover {
  background: var(--emerald-dark);
  color: var(--gold-light);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* Hero Banner */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(13, 40, 24, 0.85) 0%, rgba(18, 26, 21, 0.7) 100%),
              url('./images/hero.jpg') center/cover no-repeat;
  color: #FAF8F5;
  border-bottom: 2px solid var(--gold-primary);
  overflow: hidden;
}

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

.hero-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-full);
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.08;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.hero-title span {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #E2DDD5;
  margin-bottom: 2.25rem;
  font-weight: 300;
  max-width: 550px;
}

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

/* Featured Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.category-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 40, 24, 0.9) 0%, rgba(13, 40, 24, 0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #FFFFFF;
}

.category-title {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.category-count {
  font-size: 0.85rem;
  color: var(--gold-primary);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

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

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-primary);
}

.product-thumb {
  position: relative;
  height: 280px;
  background: var(--bg-tertiary);
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--emerald-dark);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-primary);
}

.product-fav-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.product-fav-btn:hover, .product-fav-btn.active {
  background: #FFFFFF;
  color: #D93838;
}

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat {
  font-size: 0.75rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.product-name {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
}

.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--emerald-dark);
}

body.dark-mode .product-price {
  color: var(--gold-primary);
}

.old-price {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-left: 0.35rem;
  font-weight: 400;
}

/* AI Teasers & Interactive Cards */
.ai-banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.ai-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.ai-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-primary);
}

.ai-icon-bubble {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--emerald-dark);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* Tabs System */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--emerald-dark);
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

/* Quiz Wizard Container */
.quiz-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  position: relative;
}

.quiz-progress-bar {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  transition: width 0.4s ease;
}

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

.quiz-option {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-primary);
}

.quiz-option:hover, .quiz-option.selected {
  border-color: var(--gold-primary);
  background: var(--gold-light);
}

/* Interactive Outfit Builder Canvas */
.outfit-builder-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 992px) {
  .outfit-builder-layout {
    grid-template-columns: 1fr;
  }
}

.outfit-canvas {
  background: var(--bg-card);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  min-height: 480px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  align-content: center;
  justify-items: center;
}

.outfit-slot {
  width: 100%;
  height: 220px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.75rem;
  transition: var(--transition);
}

.outfit-slot img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

/* Modal Drawer / Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.open .drawer-content {
  transform: translateX(0);
}

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

.drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex-grow: 1;
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-tertiary);
}

/* Floating AI Search Bar */
.ai-search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  transition: var(--transition);
}

.ai-search-bar:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
}

.ai-search-input {
  border: none;
  background: transparent;
  flex-grow: 1;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
}

/* Ingredients Grid */
.ingredient-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.ingredient-chip {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.ingredient-chip:hover, .ingredient-chip.active {
  background: var(--emerald-dark);
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

/* Community Forum Posts */
.forum-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.forum-card:hover {
  border-color: var(--gold-primary);
}

.forum-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--emerald-dark);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Admin Dashboard Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.stat-val {
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald-dark);
  margin: 0.35rem 0;
}

body.dark-mode .stat-val {
  color: var(--gold-primary);
}

/* Footer */
.main-footer {
  background: var(--emerald-dark);
  color: #FAF8F5;
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--gold-primary);
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--gold-primary);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #D5DFD9;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #A0B0A6;
}

/* Responsive adjust */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .nav-menu {
    display: none;
  }
  .section-title {
    font-size: 2rem;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AUTH STYLES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.auth-tab-btn.active {
  color: var(--text-primary) !important;
  border-bottom-color: var(--gold-primary) !important;
}

.auth-tab-btn:hover {
  color: var(--gold-primary) !important;
}

#view-auth input:focus,
#view-dashboard input:focus {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

#view-auth input:hover,
#view-dashboard input:hover {
  border-color: var(--gold-hover) !important;
}

/* Toast notification */
#auth-toast {
  font-family: var(--font-sans);
}

/* Dashboard responsive */
@media (max-width: 768px) {
  #view-dashboard [style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
  }
  
  #view-dashboard [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AI FACE SCANNER ANIMATIONS & STYLES
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@keyframes scanAnimation {
  0% {
    top: 0%;
    opacity: 0.8;
  }
  50% {
    top: 96%;
    opacity: 1;
  }
  100% {
    top: 0%;
    opacity: 0.8;
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE UI / UX OPTIMIZATIONS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Mobile Menu Toggle Button (hidden on desktop) */
.mobile-menu-toggle {
  display: none;
}

/* Mobile Bottom Navigation (hidden on desktop) */
.mobile-bottom-nav {
  display: none;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
}

.mobile-nav-item:active,
.mobile-nav-item:hover {
  background: var(--gold-light);
  border-color: var(--gold-primary);
  color: var(--emerald-dark);
}

/* Mobile Screens (< 768px) */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
  }

  .desktop-only {
    display: none !important;
  }

  .nav-menu {
    display: none !important;
  }

  /* Add padding at bottom so content isn't covered by bottom nav bar */
  body {
    padding-bottom: 70px;
  }

  /* Mobile Sticky Bottom Navigation */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    backdrop-filter: blur(10px);
  }

  .mobile-bottom-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    flex: 1;
  }

  .mobile-bottom-btn i {
    font-size: 1.2rem;
    color: var(--text-secondary);
  }

  .mobile-bottom-btn:active,
  .mobile-bottom-btn.active {
    color: var(--gold-primary);
  }

  .mobile-bottom-btn:active i,
  .mobile-bottom-btn.active i {
    color: var(--gold-primary);
  }

  /* Touch-friendly touch targets */
  .btn, .icon-btn, .pill-btn {
    min-height: 44px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 1rem !important;
  }

  .product-card {
    padding: 0.75rem;
  }

  .product-thumb {
    height: 170px !important;
  }

  .product-name {
    font-size: 0.9rem !important;
  }

  /* Container paddings */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Announcement Bar mobile spacing */
  .announcement-bar {
    font-size: 0.75rem;
    padding: 0.4rem 0;
  }
}


