/* ============================================================
   ZAVIONE — PREMIUM MARKETPLACE
   Design System: Acid Neon × Volcanic Glass
   Fonts: Syne (display) + Plus Jakarta Sans (body)
============================================================ */

/* ── CSS Variables ── */
:root {
  --bg-primary: #08080f;
  --bg-secondary: #0f0f1a;
  --bg-tertiary: #141420;
  --bg-card: #12121e;
  --bg-card-hover: #1a1a2e;
  --bg-glass: rgba(255,255,255,0.04);
  --bg-glass-hover: rgba(255,255,255,0.08);

  --accent: #7c3aed;
  --accent-light: #a855f7;
  --accent-glow: rgba(124,58,237,0.4);
  --neon: #c084fc;
  --neon-cyan: #22d3ee;
  --neon-pink: #f472b6;
  --neon-green: #4ade80;
  --neon-orange: #fb923c;

  --text-primary: #f1f0ff;
  --text-secondary: #a09ec0;
  --text-muted: #6b6890;
  --text-inverse: #08080f;

  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(124,58,237,0.4);
  --border-glow: rgba(192,132,252,0.3);

  --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #c084fc 50%, #22d3ee 100%);
  --gradient-card: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(34,211,238,0.05) 100%);
  --gradient-hero: radial-gradient(ellipse at 60% 50%, rgba(124,58,237,0.3) 0%, transparent 60%);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(124,58,237,0.3);
  --shadow-neon: 0 0 20px rgba(192,132,252,0.5);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.6s cubic-bezier(0.4,0,0.2,1);

  --navbar-h: 72px;
  --sidebar-w: 260px;
}

[data-theme="light"] {
  --bg-primary: #f8f7ff;
  --bg-secondary: #f0eeff;
  --bg-tertiary: #e8e5ff;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f3ff;
  --bg-glass: rgba(124,58,237,0.05);
  --bg-glass-hover: rgba(124,58,237,0.1);
  --text-primary: #1a1040;
  --text-secondary: #4a3f7a;
  --text-muted: #8b80b0;
  --border: rgba(124,58,237,0.15);
  --shadow-sm: 0 2px 8px rgba(124,58,237,0.1);
  --shadow-md: 0 8px 32px rgba(124,58,237,0.15);
  --shadow-lg: 0 20px 60px rgba(124,58,237,0.2);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.2; }
.gradient-text { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ============================================================
   GLOBAL LOADER
============================================================ */
#global-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#global-loader.fade-out { opacity: 0; visibility: hidden; }

.loader-inner { text-align: center; }
.loader-logo {
  font-family: 'Syne', sans-serif; font-size: 4rem; font-weight: 800;
  background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: pulse-glow 1.5s ease-in-out infinite;
  margin-bottom: 24px;
}
.loader-bar {
  width: 200px; height: 3px; background: var(--border);
  border-radius: var(--radius-full); overflow: hidden; margin: 0 auto 16px;
}
.loader-fill {
  height: 100%; width: 0; background: var(--gradient-primary);
  border-radius: var(--radius-full);
  animation: loader-progress 1.8s ease-in-out forwards;
}
.loader-text { color: var(--text-muted); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }

@keyframes loader-progress { 0%{width:0} 60%{width:70%} 100%{width:100%} }
@keyframes pulse-glow { 0%,100%{filter:drop-shadow(0 0 20px rgba(124,58,237,0.8))} 50%{filter:drop-shadow(0 0 40px rgba(192,132,252,1))} }

/* ============================================================
   TOAST NOTIFICATIONS
============================================================ */
#toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9998;
  display: flex; flex-direction: column; gap: 12px;
}
.toast {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg); min-width: 280px; max-width: 380px;
  animation: toast-in 0.4s cubic-bezier(0.34,1.56,0.64,1);
  backdrop-filter: blur(20px);
}
.toast.success { border-color: rgba(74,222,128,0.4); }
.toast.error { border-color: rgba(248,113,113,0.4); }
.toast.info { border-color: var(--border-accent); }
.toast-icon { font-size: 1.2rem; }
.toast-msg { font-size: 0.9rem; color: var(--text-primary); }
.toast.removing { animation: toast-out 0.3s ease forwards; }

@keyframes toast-in { from{transform:translateX(100%);opacity:0} to{transform:translateX(0);opacity:1} }
@keyframes toast-out { from{transform:translateX(0);opacity:1} to{transform:translateX(100%);opacity:0} }

/* ============================================================
   LOGIN PAGE
============================================================ */
#page-login {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: #04040a;
  overflow: hidden;
}
#page-login.page-exit { animation: page-exit 0.8s cubic-bezier(0.4,0,0.2,1) forwards; }

@keyframes page-exit {
  0%{opacity:1;transform:scale(1)}
  100%{opacity:0;transform:scale(1.05)}
}

#three-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0;
}

.login-particles {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.particle {
  position: absolute; border-radius: 50%;
  animation: float-particle linear infinite;
  pointer-events: none;
}

@keyframes float-particle {
  0%{transform:translateY(100vh) rotate(0deg);opacity:0}
  10%{opacity:1}
  90%{opacity:1}
  100%{transform:translateY(-100px) rotate(720deg);opacity:0}
}

.login-wrapper {
  position: relative; z-index: 10;
  width: 100%; max-width: 460px; padding: 20px;
  animation: login-appear 1s cubic-bezier(0.34,1.56,0.64,1) 0.3s both;
}

@keyframes login-appear {
  from{opacity:0;transform:translateY(40px) scale(0.95)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

.login-glass {
  background: rgba(12,10,30,0.7);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(192,132,252,0.2);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.1),
    0 40px 80px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 80px rgba(124,58,237,0.15);
  position: relative; overflow: hidden;
}

.login-glass::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.login-brand {
  display: flex; align-items: center; gap: 10px;
  justify-content: center; margin-bottom: 8px;
}
.login-logo-icon { font-size: 1.8rem; filter: drop-shadow(0 0 12px rgba(192,132,252,0.8)); }
.login-logo-text {
  font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800;
  letter-spacing: 0.15em;
  background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.login-tagline { text-align: center; color: var(--text-muted); font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 28px; }

.login-tabs {
  display: flex; background: rgba(255,255,255,0.05);
  border-radius: var(--radius-full); padding: 4px;
  margin-bottom: 28px; border: 1px solid var(--border);
}
.login-tab {
  flex: 1; padding: 10px; border-radius: var(--radius-full);
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.9rem;
  color: var(--text-muted); transition: var(--transition);
}
.login-tab.active {
  background: var(--gradient-primary); color: white;
  box-shadow: 0 4px 15px rgba(124,58,237,0.4);
}

.login-form { display: none; flex-direction: column; gap: 16px; }
.login-form.active { display: flex; }

.input-group {
  position: relative; display: flex; align-items: center;
}
.input-icon {
  position: absolute; left: 16px; font-size: 1rem; z-index: 2;
  pointer-events: none;
}
.input-group input {
  width: 100%; padding: 14px 16px 14px 46px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary); font-size: 0.95rem;
  transition: var(--transition);
}
.input-group input:focus {
  border-color: var(--accent-light);
  background: rgba(124,58,237,0.08);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15), 0 0 20px rgba(124,58,237,0.1);
}
.input-group input::placeholder { color: var(--text-muted); }
.input-glow {
  position: absolute; inset: 0; border-radius: var(--radius-md);
  pointer-events: none; opacity: 0;
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
  transition: opacity 0.3s ease;
}
.input-group input:focus ~ .input-glow { opacity: 1; }
.toggle-pw {
  position: absolute; right: 14px; font-size: 1rem;
  color: var(--text-muted); z-index: 2;
  transition: var(--transition-fast);
}
.toggle-pw:hover { color: var(--accent-light); }

.login-options {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem;
}
.remember-me { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); cursor: pointer; }
.remember-me input { accent-color: var(--accent); }
.forgot-link { color: var(--accent-light); transition: var(--transition-fast); }
.forgot-link:hover { color: var(--neon); text-shadow: 0 0 10px rgba(192,132,252,0.5); }

.btn-login {
  position: relative; overflow: hidden;
  padding: 14px; border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: white; font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.05em;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.6);
}
.btn-login:active { transform: translateY(0); }
.btn-shimmer {
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-login:hover .btn-shimmer { left: 100%; }

.login-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 0.8rem;
}
.login-divider::before, .login-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-primary); font-size: 0.95rem; font-weight: 500;
  transition: var(--transition);
}
.btn-google:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.login-footer-note {
  text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 16px;
}
.login-footer-note a { color: var(--accent-light); }

/* ============================================================
   NAVBAR
============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--navbar-h);
  background: rgba(8,8,15,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
[data-theme="light"] #navbar { background: rgba(248,247,255,0.9); }

.nav-inner {
  max-width: 1400px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 20px; padding: 0 24px;
}

.nav-brand {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0; text-decoration: none;
}
.nav-logo-icon { font-size: 1.4rem; filter: drop-shadow(0 0 8px rgba(192,132,252,0.6)); }
.nav-logo-text {
  font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800;
  letter-spacing: 0.12em;
  background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-search-wrap { flex: 1; max-width: 560px; }
.nav-search {
  display: flex; align-items: center;
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-full); overflow: hidden;
  transition: var(--transition);
}
.nav-search:focus-within {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.search-icon-nav { padding: 0 12px 0 16px; color: var(--text-muted); font-size: 1rem; }
.nav-search input {
  flex: 1; padding: 10px 0; background: none;
  color: var(--text-primary); font-size: 0.9rem; border: none;
}
.nav-search input::placeholder { color: var(--text-muted); }
.search-btn-nav {
  padding: 10px 20px; background: var(--gradient-primary);
  color: white; font-weight: 600; font-size: 0.85rem;
  transition: var(--transition);
}
.search-btn-nav:hover { opacity: 0.9; }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.nav-icon-btn {
  position: relative; padding: 8px 12px;
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-secondary);
  font-size: 1rem; transition: var(--transition);
  display: flex; align-items: center; gap: 4px;
}
.nav-icon-btn:hover {
  background: var(--bg-glass-hover); color: var(--text-primary);
  border-color: var(--border-accent);
}
.badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--accent); color: white;
  font-size: 0.65rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-primary);
}
.badge:empty, .badge[data-count="0"] { display: none; }

.nav-user-menu { position: relative; }
.nav-avatar {
  width: 38px; height: 38px; border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; color: white;
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: 0 0 0 0 rgba(124,58,237,0.4);
}
.nav-avatar:hover { box-shadow: 0 0 0 4px rgba(124,58,237,0.3); }

.user-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  width: 220px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition);
  z-index: 600;
}
.user-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-header {
  padding: 16px; background: var(--gradient-card);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 2px;
}
.dropdown-header span:first-child { font-weight: 700; font-size: 0.95rem; }
.dropdown-role {
  font-size: 0.75rem; color: var(--accent-light);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; font-size: 0.9rem; color: var(--text-secondary);
  transition: var(--transition-fast); cursor: pointer;
}
.dropdown-item:hover { background: var(--bg-glass); color: var(--text-primary); }
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.logout-item { color: #f87171 !important; }
.logout-item:hover { background: rgba(248,113,113,0.1) !important; }

.nav-hamburger {
  display: none; padding: 8px; font-size: 1.3rem;
  color: var(--text-primary); background: var(--bg-glass);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}

.mobile-nav {
  display: none; flex-direction: column;
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 8px 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav-item {
  padding: 14px 24px; color: var(--text-secondary);
  font-size: 0.95rem; transition: var(--transition-fast); cursor: pointer;
  display: flex; align-items: center; gap: 10px;
}
.mobile-nav-item:hover { background: var(--bg-glass); color: var(--text-primary); }

/* ============================================================
   PAGE CONTENT WRAPPER
============================================================ */
.page-content {
  min-height: 100vh;
  padding-top: var(--navbar-h);
  animation: page-in 0.4s ease;
}
@keyframes page-in { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

/* ============================================================
   HOME PAGE — HERO
============================================================ */
.hero-section {
  position: relative; min-height: calc(100vh - var(--navbar-h));
  display: flex; align-items: center;
  overflow: hidden; padding: 60px 24px;
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  animation: orb-float 8s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; background: rgba(124,58,237,0.25); top: -100px; right: -100px; animation-delay: 0s; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(34,211,238,0.15); bottom: 0; left: 10%; animation-delay: 3s; }
.hero-orb-3 { width: 200px; height: 200px; background: rgba(244,114,182,0.15); top: 30%; left: 40%; animation-delay: 6s; }

@keyframes orb-float {
  0%,100%{transform:translate(0,0) scale(1)}
  33%{transform:translate(20px,-20px) scale(1.05)}
  66%{transform:translate(-15px,15px) scale(0.95)}
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1400px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-full);
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  font-size: 0.85rem; font-weight: 600; color: var(--neon);
  margin-bottom: 20px; width: fit-content;
  animation: badge-pulse 3s ease-in-out infinite;
}
@keyframes badge-pulse { 0%,100%{box-shadow:0 0 0 0 rgba(124,58,237,0.3)} 50%{box-shadow:0 0 0 8px rgba(124,58,237,0)} }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 20px; color: var(--text-primary);
}
.hero-gradient-text {
  background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 500px; margin-bottom: 36px; line-height: 1.7;
}

.hero-search {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 8px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(124,58,237,0.1);
  margin-bottom: 20px;
}
.hero-search-inner { display: flex; align-items: center; gap: 0; }
.hero-category-select {
  padding: 12px 16px; background: var(--bg-glass);
  border: none; border-right: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.9rem;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  min-width: 140px; cursor: pointer;
}
.hero-category-select option { background: var(--bg-card); }
#hero-search-input {
  flex: 1; padding: 12px 16px; background: none;
  border: none; color: var(--text-primary); font-size: 0.95rem;
}
#hero-search-input::placeholder { color: var(--text-muted); }
.hero-search-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: var(--gradient-primary);
  color: white; font-weight: 700; font-size: 0.95rem;
  border-radius: var(--radius-md); transition: var(--transition);
  white-space: nowrap;
}
.hero-search-btn:hover { transform: scale(1.02); box-shadow: 0 4px 20px rgba(124,58,237,0.5); }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 4px 4px; }
.hero-tag {
  padding: 6px 14px; border-radius: var(--radius-full);
  background: var(--bg-glass); border: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-secondary);
  cursor: pointer; transition: var(--transition-fast);
}
.hero-tag:hover { background: rgba(124,58,237,0.15); border-color: var(--border-accent); color: var(--neon); }

.hero-stats {
  display: flex; align-items: center; gap: 24px; margin-top: 32px;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Visual */
.hero-visual {
  position: relative; height: 500px;
  display: flex; align-items: center; justify-content: center;
}
.hero-float-card {
  position: absolute; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.hero-float-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-glow); }
.hero-float-card img { width: 100%; height: 140px; object-fit: cover; }
.float-card-info {
  padding: 12px; display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem;
}
.float-price { font-weight: 700; color: var(--neon); }

.card-1 { width: 180px; top: 20px; right: 60px; animation: float-card 6s ease-in-out infinite; }
.card-2 { width: 160px; bottom: 60px; right: 20px; animation: float-card 6s ease-in-out infinite 2s; }
.card-3 { width: 170px; top: 50%; left: 20px; transform: translateY(-50%); animation: float-card 6s ease-in-out infinite 4s; }

@keyframes float-card {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-16px)}
}
.card-3 { animation: float-card-3 6s ease-in-out infinite 4s; }
@keyframes float-card-3 {
  0%,100%{transform:translateY(-50%)}
  50%{transform:translateY(calc(-50% - 16px))}
}

/* ============================================================
   SECTIONS
============================================================ */
.section {
  max-width: 1400px; margin: 0 auto;
  padding: 60px 24px;
}
.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 36px;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-link {
  color: var(--accent-light); font-weight: 600; font-size: 0.9rem;
  transition: var(--transition-fast); cursor: pointer;
}
.section-link:hover { color: var(--neon); text-shadow: 0 0 10px rgba(192,132,252,0.4); }

/* ============================================================
   CATEGORIES GRID
============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.category-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 16px;
  text-align: center; cursor: pointer;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.category-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-card); opacity: 0;
  transition: opacity 0.3s ease;
}
.category-card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.category-card:hover::before { opacity: 1; }
.category-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.category-name { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
.category-count { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   PRODUCT CARDS
============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.products-grid.list-view { grid-template-columns: 1fr; }

.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); cursor: pointer;
  position: relative;
  animation: card-appear 0.4s ease both;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(124,58,237,0.15);
}

@keyframes card-appear {
  from{opacity:0;transform:translateY(20px)}
  to{opacity:1;transform:translateY(0)}
}

.card-image-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-secondary);
}
.card-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .card-image-wrap img { transform: scale(1.08); }

.card-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.badge-tag {
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}
.badge-tag.new { background: rgba(74,222,128,0.2); color: var(--neon-green); border: 1px solid rgba(74,222,128,0.3); }
.badge-tag.hot { background: rgba(251,146,60,0.2); color: var(--neon-orange); border: 1px solid rgba(251,146,60,0.3); }
.badge-tag.sale { background: rgba(244,114,182,0.2); color: var(--neon-pink); border: 1px solid rgba(244,114,182,0.3); }
.badge-tag.verified { background: rgba(34,211,238,0.2); color: var(--neon-cyan); border: 1px solid rgba(34,211,238,0.3); }

.card-wishlist-btn {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: rgba(8,8,15,0.7); backdrop-filter: blur(10px);
  border: 1px solid var(--border); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); z-index: 2;
}
.card-wishlist-btn:hover { background: rgba(244,114,182,0.2); border-color: rgba(244,114,182,0.4); transform: scale(1.1); }
.card-wishlist-btn.active { background: rgba(244,114,182,0.2); border-color: rgba(244,114,182,0.4); }

.card-quick-preview {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%) translateY(10px);
  padding: 8px 20px; background: rgba(8,8,15,0.85); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 600; color: var(--text-primary);
  opacity: 0; transition: var(--transition); white-space: nowrap;
}
.product-card:hover .card-quick-preview { opacity: 1; transform: translateX(-50%) translateY(0); }

.card-body { padding: 16px; }
.card-category { font-size: 0.75rem; color: var(--accent-light); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.card-title {
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.95rem;
  color: var(--text-primary); margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars-mini { color: #fbbf24; font-size: 0.8rem; letter-spacing: 1px; }
.rating-num { font-size: 0.8rem; color: var(--text-muted); }

.card-footer { display: flex; justify-content: space-between; align-items: center; }
.card-price { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text-primary); }
.card-original-price { font-size: 0.8rem; color: var(--text-muted); text-decoration: line-through; }
.card-seller { font-size: 0.78rem; color: var(--text-muted); }
.card-location { font-size: 0.75rem; color: var(--text-muted); }

.card-add-btn {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: var(--gradient-primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: var(--transition);
  box-shadow: 0 4px 12px rgba(124,58,237,0.4);
}
.card-add-btn:hover { transform: scale(1.1) rotate(90deg); box-shadow: 0 6px 20px rgba(124,58,237,0.6); }

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ============================================================
   DEALS BANNER
============================================================ */
.deals-banner-section { padding: 0 24px 60px; max-width: 1400px; margin: 0 auto; }
.deals-banner {
  background: linear-gradient(135deg, #1a0a3c 0%, #2d1060 50%, #0a1a3c 100%);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-xl); padding: 48px;
  display: flex; justify-content: space-between; align-items: center;
  position: relative; overflow: hidden;
  box-shadow: 0 0 60px rgba(124,58,237,0.2);
}
.deals-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(124,58,237,0.3) 0%, transparent 60%);
}
.deals-content { position: relative; z-index: 1; }
.deals-badge {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-full);
  background: rgba(251,146,60,0.2); border: 1px solid rgba(251,146,60,0.4);
  color: var(--neon-orange); font-size: 0.82rem; font-weight: 700;
  margin-bottom: 16px;
}
.deals-content h2 { font-size: 2rem; color: white; margin-bottom: 8px; }
.deals-content h2 span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.deals-content p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }

.deals-timer {
  display: flex; align-items: center; gap: 8px;
  position: relative; z-index: 1;
}
.timer-block {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md); padding: 16px 20px; min-width: 80px;
}
.timer-block span { font-family: 'Space Mono', monospace; font-size: 2rem; font-weight: 700; color: white; line-height: 1; }
.timer-block label { font-size: 0.7rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.timer-sep { font-size: 2rem; color: rgba(255,255,255,0.5); font-weight: 700; }

/* ============================================================
   BRANDS SCROLL
============================================================ */
.brands-scroll {
  display: flex; gap: 20px; overflow-x: auto; padding-bottom: 12px;
  scrollbar-width: none;
}
.brands-scroll::-webkit-scrollbar { display: none; }
.brand-card {
  flex-shrink: 0; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 32px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--text-muted); transition: var(--transition); cursor: pointer;
  min-width: 140px;
}
.brand-card:hover { border-color: var(--border-accent); color: var(--text-primary); transform: translateY(-2px); }

/* ============================================================
   PRODUCTS PAGE
============================================================ */
.products-page-layout {
  max-width: 1400px; margin: 0 auto; padding: 24px;
  display: grid; grid-template-columns: 280px 1fr; gap: 24px;
  min-height: calc(100vh - var(--navbar-h));
}

.filters-sidebar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  height: fit-content; position: sticky; top: calc(var(--navbar-h) + 24px);
}
.filters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.filters-header h3 { font-size: 1.1rem; }
.clear-filters-btn { font-size: 0.8rem; color: var(--accent-light); font-weight: 600; }
.clear-filters-btn:hover { color: var(--neon); }

.filter-group { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border-bottom: none; }
.filter-title { font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-check {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--text-secondary); cursor: pointer;
  transition: var(--transition-fast);
}
.filter-check:hover { color: var(--text-primary); }
.filter-check input { accent-color: var(--accent); }

.price-range-wrap { display: flex; flex-direction: column; gap: 8px; }
.range-slider {
  width: 100%; accent-color: var(--accent);
  background: transparent; cursor: pointer;
}
.price-labels { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-muted); }

.apply-filters-btn { width: 100%; margin-top: 8px; }

.products-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; gap: 12px; flex-wrap: wrap;
}
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 12px; }
.filter-toggle-btn {
  padding: 8px 16px; background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-md); font-size: 0.85rem; color: var(--text-secondary);
  display: none; transition: var(--transition-fast);
}
.filter-toggle-btn:hover { color: var(--text-primary); border-color: var(--border-accent); }
.results-count { font-size: 0.88rem; color: var(--text-muted); }
.sort-select {
  padding: 8px 14px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-primary); font-size: 0.88rem;
  cursor: pointer;
}
.sort-select option { background: var(--bg-card); }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  padding: 8px 12px; background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-muted); font-size: 1rem;
  transition: var(--transition-fast);
}
.view-btn.active { background: var(--accent); border-color: var(--accent); color: white; }

.pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 40px;
}
.page-btn {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.9rem; transition: var(--transition-fast);
}
.page-btn:hover, .page-btn.active { background: var(--accent); border-color: var(--accent); color: white; }

/* ============================================================
   PRODUCT DETAIL
============================================================ */
.product-detail-wrap { max-width: 1400px; margin: 0 auto; padding: 24px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--accent-light); cursor: pointer; }
.breadcrumb span { color: var(--text-muted); }

.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.gallery-main {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1; background: var(--bg-secondary);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-badges { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; gap: 8px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumb {
  width: 72px; height: 72px; border-radius: var(--radius-md); overflow: hidden;
  border: 2px solid var(--border); cursor: pointer; transition: var(--transition-fast);
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.product-category-tag {
  padding: 4px 12px; border-radius: var(--radius-full);
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  font-size: 0.78rem; font-weight: 600; color: var(--accent-light);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.wishlist-btn-detail {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  background: var(--bg-glass); border: 1px solid var(--border);
  font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.wishlist-btn-detail:hover { background: rgba(244,114,182,0.15); border-color: rgba(244,114,182,0.4); transform: scale(1.1); }
.wishlist-btn-detail.active { background: rgba(244,114,182,0.15); border-color: rgba(244,114,182,0.4); }

.product-detail-title { font-size: 1.8rem; margin-bottom: 12px; }
.product-rating-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.stars { color: #fbbf24; font-size: 1rem; letter-spacing: 2px; }
.rating-count, .sold-count { font-size: 0.85rem; color: var(--text-muted); }

.product-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.detail-price { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--text-primary); }
.detail-original-price { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }
.detail-discount {
  padding: 4px 10px; border-radius: var(--radius-full);
  background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.3);
  font-size: 0.82rem; font-weight: 700; color: var(--neon-green);
}

.product-description { color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }

.product-meta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px;
}
.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.meta-value { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }

.quantity-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.quantity-row label { font-size: 0.9rem; color: var(--text-secondary); }
.qty-control { display: flex; align-items: center; gap: 0; background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.qty-btn { width: 40px; height: 40px; font-size: 1.2rem; color: var(--text-primary); transition: var(--transition-fast); }
.qty-btn:hover { background: var(--bg-glass-hover); }
#qty-value { width: 48px; text-align: center; font-weight: 700; font-size: 1rem; }

.product-actions { display: flex; gap: 12px; margin-bottom: 20px; }
.btn-add-cart, .btn-buy-now { flex: 1; padding: 14px; border-radius: var(--radius-md); font-weight: 700; font-size: 0.95rem; transition: var(--transition); }
.btn-add-cart { background: var(--gradient-primary); color: white; box-shadow: 0 4px 20px rgba(124,58,237,0.4); }
.btn-add-cart:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.6); }
.btn-buy-now { background: var(--bg-glass); border: 1px solid var(--border-accent); color: var(--text-primary); }
.btn-buy-now:hover { background: rgba(124,58,237,0.15); }

.product-guarantees { display: flex; flex-wrap: wrap; gap: 10px; }
.guarantee-item {
  padding: 8px 14px; border-radius: var(--radius-full);
  background: var(--bg-glass); border: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-secondary);
}

/* Seller Card */
.seller-card-section { margin-bottom: 48px; }
.seller-card-section h3 { font-size: 1.3rem; margin-bottom: 16px; }
.seller-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; align-items: center; gap: 20px;
}
.seller-avatar {
  width: 64px; height: 64px; border-radius: var(--radius-full);
  background: var(--gradient-primary); display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; color: white;
  flex-shrink: 0;
}
.seller-info { flex: 1; }
.seller-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.seller-stats { display: flex; gap: 16px; font-size: 0.82rem; color: var(--text-muted); }
.seller-actions { display: flex; gap: 10px; }

/* Reviews */
.reviews-section { margin-bottom: 48px; }
.reviews-section h3 { font-size: 1.3rem; margin-bottom: 20px; }
.reviews-summary {
  display: flex; gap: 32px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px;
}
.review-big-score { font-family: 'Syne', sans-serif; font-size: 4rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.review-stars-big { color: #fbbf24; font-size: 1.3rem; margin: 4px 0; }
.review-total { font-size: 0.85rem; color: var(--text-muted); }
.review-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.review-bar-row { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; }
.review-bar-track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.review-bar-fill { height: 100%; background: #fbbf24; border-radius: 3px; }

.review-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; margin-bottom: 12px;
}
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.reviewer-info { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  background: var(--gradient-primary); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 0.9rem;
}
.reviewer-name { font-weight: 600; font-size: 0.9rem; }
.review-date { font-size: 0.78rem; color: var(--text-muted); }
.review-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   CART PAGE
============================================================ */
.cart-page-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }
.page-title { font-size: 2rem; margin-bottom: 32px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; }

.cart-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; gap: 16px; margin-bottom: 12px;
  transition: var(--transition);
}
.cart-item:hover { border-color: var(--border-accent); }
.cart-item-img { width: 100px; height: 100px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 600; margin-bottom: 4px; }
.cart-item-price { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text-primary); }
.cart-item-controls { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.cart-remove-btn { font-size: 0.82rem; color: #f87171; cursor: pointer; }
.cart-remove-btn:hover { text-decoration: underline; }

.cart-summary {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  height: fit-content; position: sticky; top: calc(var(--navbar-h) + 24px);
}
.cart-summary h3 { font-size: 1.2rem; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 0.9rem; color: var(--text-secondary); }
.summary-divider { height: 1px; background: var(--border); margin: 8px 0; }
.total-row { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text-primary); }
.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-row input {
  flex: 1; padding: 10px 14px; background: var(--bg-glass);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  color: var(--text-primary); font-size: 0.88rem;
}
.checkout-btn { width: 100%; margin-bottom: 10px; }
.continue-btn { width: 100%; }

/* ============================================================
   CHECKOUT PAGE
============================================================ */
.checkout-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; }
.checkout-step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; margin-bottom: 16px;
  opacity: 0.5; pointer-events: none; transition: var(--transition);
}
.checkout-step.active { opacity: 1; pointer-events: all; }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; margin-bottom: 24px; }
.step-num {
  width: 32px; height: 32px; border-radius: var(--radius-full);
  background: var(--gradient-primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group select {
  padding: 12px 14px; background: var(--bg-glass);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  color: var(--text-primary); font-size: 0.9rem; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus { border-color: var(--accent-light); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.form-group select option { background: var(--bg-card); }

.payment-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.payment-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--bg-glass);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  cursor: pointer; transition: var(--transition);
}
.payment-option.active, .payment-option:has(input:checked) { border-color: var(--border-accent); background: rgba(124,58,237,0.08); }
.payment-option input { accent-color: var(--accent); }
.card-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }

.checkout-order-summary {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  height: fit-content; position: sticky; top: calc(var(--navbar-h) + 24px);
}
.checkout-order-summary h3 { font-size: 1.1rem; margin-bottom: 16px; }
.checkout-item { display: flex; gap: 12px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.checkout-item img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; }
.checkout-item-info { flex: 1; font-size: 0.85rem; }
.checkout-item-price { font-weight: 700; }

/* ============================================================
   WISHLIST PAGE
============================================================ */
.wishlist-wrap { max-width: 1400px; margin: 0 auto; padding: 32px 24px; }
.empty-state { text-align: center; padding: 80px 24px; }
.empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.5rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }

/* ============================================================
   USER DASHBOARD
============================================================ */
.dashboard-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.dashboard-welcome h1 { font-size: 1.8rem; margin-bottom: 4px; }
.dashboard-welcome p { color: var(--text-muted); }

.dashboard-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.dash-stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; align-items: center; gap: 16px;
  transition: var(--transition);
}
.dash-stat-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.dash-stat-icon { font-size: 2rem; }
.dash-stat-num { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; display: block; }
.dash-stat-label { font-size: 0.8rem; color: var(--text-muted); }

.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dash-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.dash-section h3 { font-size: 1.1rem; margin-bottom: 16px; }

.order-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem;
}
.order-item:last-child { border-bottom: none; }
.order-status {
  padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600;
}
.order-status.delivered { background: rgba(74,222,128,0.15); color: var(--neon-green); }
.order-status.processing { background: rgba(251,146,60,0.15); color: var(--neon-orange); }
.order-status.shipped { background: rgba(34,211,238,0.15); color: var(--neon-cyan); }

/* ============================================================
   ADMIN DASHBOARD
============================================================ */
.admin-page { padding-top: var(--navbar-h) !important; }
.admin-layout { display: flex; min-height: calc(100vh - var(--navbar-h)); }

.admin-sidebar {
  width: var(--sidebar-w); background: #0a0a14;
  border-right: 1px solid rgba(124,58,237,0.2);
  display: flex; flex-direction: column;
  position: sticky; top: var(--navbar-h);
  height: calc(100vh - var(--navbar-h));
  overflow-y: auto; flex-shrink: 0;
}
.admin-sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 24px 20px; border-bottom: 1px solid rgba(124,58,237,0.2);
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem;
  letter-spacing: 0.1em; color: var(--neon);
}
.admin-nav { flex: 1; padding: 12px 0; }
.admin-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; color: var(--text-muted);
  font-size: 0.88rem; font-weight: 500; cursor: pointer;
  transition: var(--transition-fast); border-left: 3px solid transparent;
}
.admin-nav-item:hover { color: var(--text-primary); background: rgba(124,58,237,0.08); }
.admin-nav-item.active { color: var(--neon); background: rgba(124,58,237,0.12); border-left-color: var(--accent); }
.admin-nav-icon { font-size: 1rem; width: 20px; text-align: center; }
.admin-sidebar-logout {
  padding: 16px 20px; color: #f87171; font-size: 0.88rem;
  border-top: 1px solid rgba(124,58,237,0.2); text-align: left;
  transition: var(--transition-fast);
}
.admin-sidebar-logout:hover { background: rgba(248,113,113,0.08); }

.admin-content { flex: 1; overflow-y: auto; background: var(--bg-primary); }
.admin-panel { display: none; padding: 24px; }
.admin-panel.active { display: block; }

.admin-topbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.admin-topbar h2 { font-size: 1.5rem; }
.admin-topbar-right { display: flex; align-items: center; gap: 16px; }
.admin-date { font-size: 0.85rem; color: var(--text-muted); }
.admin-avatar {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: var(--gradient-primary); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white;
}

.admin-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; align-items: center; gap: 16px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.kpi-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 80px; height: 80px; border-radius: 50%;
  opacity: 0.1; transform: translate(20px, -20px);
}
.kpi-revenue::before { background: var(--neon-green); }
.kpi-orders::before { background: var(--neon-cyan); }
.kpi-users::before { background: var(--neon); }
.kpi-products::before { background: var(--neon-orange); }
.kpi-card:hover { transform: translateY(-2px); border-color: var(--border-accent); }
.kpi-icon { font-size: 2rem; }
.kpi-num { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; display: block; }
.kpi-label { font-size: 0.78rem; color: var(--text-muted); display: block; }
.kpi-change { font-size: 0.78rem; font-weight: 600; display: block; margin-top: 2px; }
.kpi-change.positive { color: var(--neon-green); }
.kpi-change.negative { color: #f87171; }

.admin-charts-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 24px; }
.admin-chart-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
}
.admin-chart-card h4 { font-size: 1rem; margin-bottom: 16px; color: var(--text-secondary); }

.admin-tables-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-table-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; overflow: hidden;
}
.admin-table-card h4 { font-size: 1rem; margin-bottom: 16px; color: var(--text-secondary); }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table.full-table { font-size: 0.88rem; }
.admin-table th {
  text-align: left; padding: 10px 12px;
  color: var(--text-muted); font-weight: 600; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-glass); }

.status-pill {
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.status-pill.active { background: rgba(74,222,128,0.15); color: var(--neon-green); }
.status-pill.pending { background: rgba(251,146,60,0.15); color: var(--neon-orange); }
.status-pill.rejected { background: rgba(248,113,113,0.15); color: #f87171; }
.status-pill.banned { background: rgba(248,113,113,0.2); color: #f87171; }

.admin-action-btn {
  padding: 5px 12px; border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 600; cursor: pointer;
  transition: var(--transition-fast); margin-right: 4px;
}
.admin-action-btn.approve { background: rgba(74,222,128,0.15); color: var(--neon-green); border: 1px solid rgba(74,222,128,0.3); }
.admin-action-btn.reject { background: rgba(248,113,113,0.15); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
.admin-action-btn.ban { background: rgba(248,113,113,0.15); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
.admin-action-btn.edit { background: rgba(34,211,238,0.15); color: var(--neon-cyan); border: 1px solid rgba(34,211,238,0.3); }
.admin-action-btn:hover { opacity: 0.8; transform: scale(1.02); }

.admin-search-bar { display: flex; gap: 12px; margin-bottom: 20px; }
.admin-search-bar input {
  flex: 1; padding: 10px 14px; background: var(--bg-glass);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  color: var(--text-primary); font-size: 0.9rem;
}
.admin-search-bar select {
  padding: 10px 14px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  color: var(--text-primary); font-size: 0.88rem;
}

.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.analytics-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
}
.analytics-card h4 { font-size: 1rem; margin-bottom: 16px; color: var(--text-secondary); }

.categories-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.category-admin-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; text-align: center;
  transition: var(--transition);
}
.category-admin-card:hover { border-color: var(--border-accent); }
.category-admin-card .cat-icon { font-size: 2rem; margin-bottom: 8px; }
.category-admin-card .cat-name { font-weight: 600; margin-bottom: 4px; }
.category-admin-card .cat-count { font-size: 0.8rem; color: var(--text-muted); }

.banner-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  display: flex; align-items: center; gap: 16px; margin-bottom: 12px;
}
.banner-preview { width: 120px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg-secondary); }
.banner-info { flex: 1; }
.banner-title { font-weight: 600; margin-bottom: 4px; }
.banner-meta { font-size: 0.8rem; color: var(--text-muted); }

.fraud-alert {
  background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.2);
  border-radius: var(--radius-lg); padding: 16px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 16px;
}
.fraud-icon { font-size: 1.5rem; }
.fraud-info { flex: 1; }
.fraud-title { font-weight: 600; color: #f87171; margin-bottom: 4px; }
.fraud-desc { font-size: 0.85rem; color: var(--text-muted); }

.log-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem;
}
.log-item:last-child { border-bottom: none; }
.log-time { color: var(--text-muted); white-space: nowrap; min-width: 80px; }
.log-action { color: var(--text-primary); }
.log-user { color: var(--accent-light); }

.settings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.settings-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.settings-card h4 { font-size: 1rem; margin-bottom: 20px; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.toggle-row:last-child { border-bottom: none; }
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--border); border-radius: 24px; transition: 0.3s;
}
.toggle-slider::before {
  content: ''; position: absolute; height: 18px; width: 18px;
  left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

.roles-list { display: flex; flex-direction: column; gap: 12px; }
.role-item { display: flex; align-items: center; justify-content: space-between; font-size: 0.88rem; }
.role-badge { padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; }
.role-badge.super { background: rgba(124,58,237,0.2); color: var(--neon); border: 1px solid rgba(124,58,237,0.3); }
.role-badge.mod { background: rgba(34,211,238,0.15); color: var(--neon-cyan); border: 1px solid rgba(34,211,238,0.3); }
.role-badge.support { background: rgba(74,222,128,0.15); color: var(--neon-green); border: 1px solid rgba(74,222,128,0.3); }

.admin-count-badge {
  padding: 6px 14px; border-radius: var(--radius-full);
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  font-size: 0.82rem; color: var(--neon);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  padding: 12px 24px; border-radius: var(--radius-md);
  background: var(--gradient-primary); color: white;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.9rem;
  transition: var(--transition); cursor: pointer;
  box-shadow: 0 4px 15px rgba(124,58,237,0.3);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,58,237,0.5); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

.btn-secondary {
  padding: 12px 24px; border-radius: var(--radius-md);
  background: var(--bg-glass); border: 1px solid var(--border-accent);
  color: var(--text-primary); font-weight: 600; font-size: 0.9rem;
  transition: var(--transition); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: rgba(124,58,237,0.15); border-color: var(--accent-light); }
.btn-secondary.btn-sm { padding: 8px 16px; font-size: 0.82rem; }

.btn-ghost {
  padding: 12px 24px; border-radius: var(--radius-md);
  background: transparent; border: 1px solid var(--border);
  color: var(--text-secondary); font-weight: 600; font-size: 0.9rem;
  transition: var(--transition); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { border-color: var(--border-accent); color: var(--text-primary); }

/* ============================================================
   MODALS
============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: modal-bg-in 0.3s ease;
}
@keyframes modal-bg-in { from{opacity:0} to{opacity:1} }

.modal-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px;
  max-width: 500px; width: 100%; position: relative;
  animation: modal-in 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modal-in { from{opacity:0;transform:scale(0.9) translateY(20px)} to{opacity:1;transform:scale(1) translateY(0)} }

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: var(--radius-full);
  background: var(--bg-glass); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-fast);
}
.modal-close:hover { background: rgba(248,113,113,0.15); color: #f87171; }

.success-modal { text-align: center; }
.success-icon { font-size: 4rem; margin-bottom: 16px; }
.success-modal h2 { font-size: 1.8rem; margin-bottom: 8px; }
.success-modal p { color: var(--text-secondary); margin-bottom: 8px; }
.order-id-display { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px !important; }

.preview-modal { max-width: 700px; padding: 24px; }
.preview-content { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  margin-top: 60px;
}
.footer-inner {
  max-width: 1400px; margin: 0 auto; padding: 60px 24px 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-logo { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; display: block; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  background: var(--bg-glass); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-muted); transition: var(--transition-fast);
}
.social-btn:hover { background: rgba(124,58,237,0.15); border-color: var(--border-accent); color: var(--neon); }
.footer-links h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.footer-links a { display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 10px; transition: var(--transition-fast); }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 24px; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1200px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .admin-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-charts-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .products-page-layout { grid-template-columns: 1fr; }
  .filters-sidebar { display: none; position: fixed; top: var(--navbar-h); left: 0; bottom: 0; z-index: 400; border-radius: 0; overflow-y: auto; }
  .filters-sidebar.open { display: block; }
  .filter-toggle-btn { display: flex; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .dashboard-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .admin-tables-grid { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --navbar-h: 60px; }
  .nav-search-wrap { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo-text { font-size: 1.1rem; }
  .hero-section { padding: 40px 16px; }
  .hero-title { font-size: 2rem; }
  .hero-search-inner { flex-direction: column; }
  .hero-category-select { border-right: none; border-bottom: 1px solid var(--border); border-radius: var(--radius-md) var(--radius-md) 0 0; width: 100%; }
  #hero-search-input { padding: 12px 16px; }
  .hero-search-btn { border-radius: 0 0 var(--radius-md) var(--radius-md); width: 100%; justify-content: center; }
  .deals-banner { flex-direction: column; gap: 24px; padding: 32px 24px; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; top: 0; }
  .admin-kpi-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .card-form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 40px 16px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
}

@media (max-width: 480px) {
  .login-glass { padding: 28px 20px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .dashboard-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-kpi-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}