/* ===== يلا ارجيله - Purple & Gold Design (Restored + Improved) ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #7C3AED;
  --primary-light: #A78BFA;
  --primary-dark: #5B21B6;
  --accent: #C9A84C;
  --accent-light: #E8C97A;
  --accent-dark: #9A7A2E;
  --rose: #F43F5E;
  --rose-light: #FB7185;
  --teal: #0D9488;
  --teal-light: #2DD4BF;
  --bg: #0A0A0F;
  --bg-2: #0F0A1E;
  --bg-card: #13102A;
  --bg-card2: #1A1540;
  --bg-card3: #221B52;
  --white: #FFFFFF;
  --text: #E2D9F3;
  --text-muted: #9D8EC4;
  --text-dim: #5C5080;
  --border: rgba(124,58,237,0.22);
  --border-light: rgba(167,139,250,0.12);
  --grad-primary: linear-gradient(135deg, #7C3AED, #A855F7, #EC4899);
  --grad-accent: linear-gradient(135deg, #9A7A2E, #C9A84C, #E8C97A, #C9A84C);
  --grad-hero: radial-gradient(ellipse at 70% 40%, rgba(124,58,237,0.18) 0%, transparent 60%), radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.08) 0%, transparent 50%), #0A0A0F;
  --shadow-sm: 0 4px 15px rgba(124,58,237,0.2);
  --shadow-md: 0 8px 30px rgba(124,58,237,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.7);
  --shadow-gold: 0 8px 30px rgba(201,168,76,0.25);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Cairo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.text-gold { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.hidden { display: none !important; }
.w-full { width: 100%; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.gap-2 { gap: 16px; } .gap-3 { gap: 24px; }

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-gradient-gold {
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 50px; font-family: var(--font);
  font-size: 15px; font-weight: 700; cursor: pointer; border: none;
  transition: all 0.3s ease; text-decoration: none; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0); transition: background 0.3s; }
.btn:hover::after { background: rgba(255,255,255,0.07); }

.btn-primary { background: var(--grad-primary); color: white; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(124,58,237,0.5); }
.btn-gold { background: var(--grad-accent); color: #1A0E00; font-weight: 800; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(201,168,76,0.4); }
.btn-outline { background: transparent; color: var(--primary-light); border: 2px solid var(--primary-light); }
.btn-outline:hover { background: rgba(124,58,237,0.1); }
.btn-outline-gold { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline-gold:hover { background: rgba(201,168,76,0.1); }
.btn-glass { background: rgba(124,58,237,0.1); color: var(--primary-light); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(124,58,237,0.2); }
.btn-danger { background: linear-gradient(135deg, #DC2626, #EF4444); color: white; }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ===== Cards ===== */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s ease; }
.card:hover { border-color: rgba(167,139,250,0.4); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-body { padding: 24px; }

/* ===== Forms ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.form-label span { color: var(--rose); }
.form-control { width: 100%; padding: 13px 18px; background: rgba(124,58,237,0.06); border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--white); font-family: var(--font); font-size: 15px; transition: all 0.3s; outline: none; }
.form-control:focus { border-color: var(--primary-light); background: rgba(124,58,237,0.1); box-shadow: 0 0 0 4px rgba(124,58,237,0.08); }
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ===== Badge ===== */
.badge { display: inline-flex; align-items: center; padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.badge-purple { background: rgba(124,58,237,0.15); color: var(--primary-light); border: 1px solid rgba(124,58,237,0.3); }
.badge-gold { background: rgba(201,168,76,0.15); color: var(--accent); border: 1px solid rgba(201,168,76,0.3); }
.badge-amber { background: rgba(245,158,11,0.15); color: #FCD34D; border: 1px solid rgba(245,158,11,0.3); }
.badge-rose { background: rgba(244,63,94,0.15); color: var(--rose-light); border: 1px solid rgba(244,63,94,0.3); }
.badge-teal { background: rgba(13,148,136,0.15); color: var(--teal-light); border: 1px solid rgba(13,148,136,0.3); }
.badge-green { background: rgba(34,197,94,0.12); color: #4ADE80; border: 1px solid rgba(34,197,94,0.3); }
.badge-red { background: rgba(239,68,68,0.12); color: #F87171; border: 1px solid rgba(239,68,68,0.3); }
.badge-gray { background: rgba(92,80,128,0.2); color: var(--text-muted); border: 1px solid rgba(92,80,128,0.3); }
.badge-blue { background: rgba(59,130,246,0.12); color: #60A5FA; border: 1px solid rgba(59,130,246,0.3); }

/* ===== NAVBAR - Wave Style ===== */
#navbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
}

/* ===== DESKTOP NAVBAR ===== */
.navbar-desktop {
  position: relative;
  height: 110px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Wave SVG background */
.navbar-wave-bg {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
.navbar-wave-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 120px;
  filter: drop-shadow(0 4px 20px rgba(124,58,237,0.3));
}
.wave-path {
  transition: d 0.3s ease;
}

/* Animated glow under the wave dip */
.wave-glow {
  position: absolute;
  left: 50%;
  top: 80px;
  transform: translateX(-50%);
  width: 260px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.4) 0%, transparent 70%);
  animation: waveGlowPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes waveGlowPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.2); }
}

/* Nav inner content */
.navbar-desktop-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 32px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Nav links */
.navbar-nav-right,
.navbar-nav-left {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.navbar-nav-left { justify-content: flex-end; }
.navbar-nav-right a,
.navbar-nav-left a {
  padding: 8px 14px; border-radius: 10px; text-decoration: none;
  color: var(--text-muted); font-size: 14px; font-weight: 600; transition: all 0.2s;
  white-space: nowrap;
}
.navbar-nav-right a:hover,
.navbar-nav-left a:hover { color: var(--accent); background: rgba(201,168,76,0.08); }

/* ===== WAVE LOGO ===== */
.navbar-logo-wave {
  position: absolute;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  z-index: 10;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoDropIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes logoDropIn {
  0% { transform: translateX(-50%) translateY(-30px); opacity: 0; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.navbar-logo-wave-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A0A0F, #1A1540, #0A0A0F);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.8),
    0 0 0 2px rgba(124,58,237,0.4),
    0 0 0 4px rgba(201,168,76,0.15),
    inset 0 1px 0 rgba(201,168,76,0.1);
  transition: all 0.3s ease;
}
.navbar-logo-wave:hover .navbar-logo-wave-circle {
  box-shadow:
    0 12px 40px rgba(0,0,0,0.9),
    0 0 0 2px rgba(124,58,237,0.7),
    0 0 0 5px rgba(201,168,76,0.3),
    0 0 30px rgba(124,58,237,0.3);
  transform: translateY(-3px);
}

/* Animated rings */
.logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  animation: logoRingPulse 3s ease-in-out infinite;
}
.logo-ring-1 {
  width: 186px; height: 186px;
  animation-delay: 0s;
}
.logo-ring-2 {
  width: 204px; height: 204px;
  border-color: rgba(124,58,237,0.2);
  animation-delay: 1s;
}
@keyframes logoRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
}

.navbar-logo-wave-img {
  width: 136px;
  height: 136px;
  object-fit: contain;
  filter: brightness(1.2) drop-shadow(0 2px 12px rgba(201,168,76,0.5));
  animation: logoFloat 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

/* Cart button */
.cart-btn {
  position: relative; background: rgba(124,58,237,0.1); border: 1px solid var(--border);
  color: var(--primary-light); padding: 8px 14px; border-radius: 12px; cursor: pointer;
  font-size: 17px; transition: all 0.2s; display: flex; align-items: center; gap: 6px;
}
.cart-btn:hover { background: rgba(124,58,237,0.2); border-color: var(--primary-light); }
.cart-count {
  position: absolute; top: -6px; left: -6px;
  background: var(--grad-primary); color: white;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ===== MOBILE NAVBAR ===== */
.navbar-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: transparent;
  height: 80px;
  position: relative;
  overflow: visible !important;
  z-index: 1001;
}

/* Wave SVG - fills the navbar background */
.mobile-wave-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 90px;
  z-index: 0;
  filter: drop-shadow(0 6px 20px rgba(124,58,237,0.35));
}

/* Glow under the wave dip */
.mobile-wave-glow {
  position: absolute;
  left: 50%;
  top: 72px;
  transform: translateX(-50%);
  width: 140px;
  height: 25px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.5) 0%, transparent 70%);
  animation: waveGlowPulse 3s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

/* Mobile nav text */
.navbar-mobile-right {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.navbar-mobile-title {
  font-size: 15px;
  font-weight: 900;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.navbar-mobile-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
  z-index: 2;
}

/* ===== BIG MOBILE LOGO ===== */
.mobile-logo-wrap {
  position: absolute;
  left: 50%;
  top: -35px;
  transform: translateX(-50%);
  z-index: 10;
  text-decoration: none;
  animation: logoDropIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.mobile-logo-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A0A0F, #1A1540, #0A0A0F);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 10px 40px rgba(0,0,0,0.9),
    0 0 0 2.5px rgba(124,58,237,0.5),
    0 0 0 5px rgba(201,168,76,0.2),
    0 0 40px rgba(124,58,237,0.2);
  transition: all 0.3s;
}
.mobile-logo-wrap:hover .mobile-logo-circle {
  box-shadow:
    0 12px 50px rgba(0,0,0,0.9),
    0 0 0 3px rgba(124,58,237,0.8),
    0 0 0 6px rgba(201,168,76,0.35),
    0 0 50px rgba(124,58,237,0.4);
}

.mobile-logo-ring-1 {
  position: absolute;
  width: 168px; height: 168px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,0.35);
  animation: logoRingPulse 3s ease-in-out infinite;
}
.mobile-logo-ring-2 {
  position: absolute;
  width: 188px; height: 188px;
  border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.2);
  animation: logoRingPulse 3s ease-in-out infinite 1.2s;
}

.mobile-logo-img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: brightness(1.25) drop-shadow(0 3px 16px rgba(201,168,76,0.6));
  animation: logoFloat 4s ease-in-out infinite;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; right: 0; left: 0; bottom: 0;
  background: rgba(10,10,15,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 20px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 20px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.mobile-menu a:hover {
  color: var(--accent);
  border-color: var(--border);
  background: rgba(201,168,76,0.06);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar-desktop { display: none !important; }
  .navbar-mobile { display: flex !important; }
  .hamburger { display: flex !important; }
  #hero .hero-content { padding-top: 150px !important; }
  #order-page, #static-page, #auth-page, #success-page { padding-top: 120px !important; }
}
@media (min-width: 769px) {
  .navbar-desktop { display: block !important; }
  .navbar-mobile { display: none !important; }
  #hero .hero-content { padding-top: 160px !important; }
  #order-page, #static-page, #auth-page, #success-page { padding-top: 140px !important; }
}

/* ===== HERO ===== */
#hero { min-height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center; background: var(--grad-hero); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; }
.hero-orb-1 { width: 550px; height: 550px; background: var(--primary); top: -150px; right: -150px; animation: orbFloat 8s ease-in-out infinite; }
.hero-orb-2 { width: 400px; height: 400px; background: #EC4899; bottom: -100px; left: -100px; animation: orbFloat 10s ease-in-out infinite reverse; }
.hero-orb-3 { width: 300px; height: 300px; background: var(--accent); top: 40%; left: 35%; animation: orbFloat 6s ease-in-out infinite 2s; opacity: 0.2; }
@keyframes orbFloat { 0%, 100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-20px) scale(1.05); } 66% { transform: translate(-20px,30px) scale(0.95); } }
.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 120px 20px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.35); color: var(--primary-light); padding: 7px 18px; border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: 24px; }
.hero-eyebrow::before { content: '✦'; font-size: 10px; color: var(--accent); }
.hero-title { font-size: clamp(38px, 6vw, 66px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-title .line1 { color: var(--white); display: block; }
.hero-title .line2 { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.hero-subtitle { font-size: 17px; color: var(--text-muted); margin-bottom: 36px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 0; }
.hero-stat { text-align: center; padding: 0 24px; border-left: 1px solid rgba(201,168,76,0.2); }
.hero-stat:last-child { border-left: none; }
.hero-stat:first-child { padding-right: 0; }
.hero-stat-num { font-size: 28px; font-weight: 900; display: block; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.hero-image { display: flex; align-items: center; justify-content: center; position: relative; }
/* SVG hookah container */
.hero-svg-wrap {
  position: relative; width: 320px; height: 480px;
  display: flex; align-items: center; justify-content: center;
}
.hero-svg-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.15);
  animation: ringPulse 4s ease-in-out infinite;
}
.hero-svg-ring-1 { width: 340px; height: 340px; }
.hero-svg-ring-2 { width: 260px; height: 260px; border-color: rgba(124,58,237,0.12); animation-delay: 1.5s; }
.hero-svg-glow { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%); bottom: 20px; }
@keyframes ringPulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.08); opacity: 1; } }
.hero-hookah-svg { width: 260px; height: 440px; position: relative; z-index: 2; filter: drop-shadow(0 20px 50px rgba(124,58,237,0.5)) drop-shadow(0 0 30px rgba(201,168,76,0.2)); animation: hookahFloat 5s ease-in-out infinite; }
@keyframes hookahFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ===== FEATURES ===== */
#features { padding: 80px 0; position: relative; z-index: 1; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; transition: all 0.3s; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; bottom: 0; right: 0; left: 0; height: 2px; background: var(--grad-primary); transform: scaleX(0); transition: transform 0.3s; transform-origin: right; }
.feature-card:hover { border-color: rgba(167,139,250,0.4); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 16px; background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(201,168,76,0.1)); border: 1px solid rgba(201,168,76,0.2); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.feature-title { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.25); color: var(--primary-light); padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--white); margin-bottom: 14px; }
.section-title span { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ===== PRODUCTS ===== */
#products { padding: 80px 0; position: relative; z-index: 1; }
.category-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.cat-tab { padding: 10px 24px; border-radius: 50px; cursor: pointer; border: 1.5px solid var(--border); background: rgba(124,58,237,0.06); color: var(--text-muted); font-family: var(--font); font-size: 14px; font-weight: 700; transition: all 0.2s; }
.cat-tab:hover { border-color: var(--primary-light); color: var(--primary-light); }
.cat-tab.active { background: var(--grad-primary); color: white; border-color: transparent; box-shadow: var(--shadow-sm); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s; cursor: pointer; }
.product-card:hover { border-color: rgba(167,139,250,0.5); transform: translateY(-8px); box-shadow: var(--shadow-md); }
.product-img-wrap { position: relative; height: 220px; overflow: hidden; background: var(--bg-card2); }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img { transform: scale(1.06); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 72px; background: linear-gradient(135deg, var(--bg-card2), var(--bg-card3)); }
.product-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,15,0.7) 0%, transparent 60%); }
.product-badge-featured { position: absolute; top: 12px; right: 12px; background: var(--grad-accent); color: #1A0E00; padding: 5px 14px; border-radius: 50px; font-size: 11px; font-weight: 800; box-shadow: var(--shadow-gold); }
.product-body { padding: 20px; }
.product-name { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.product-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; min-height: 40px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 24px; font-weight: 900; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.product-price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.product-add-btn { width: 44px; height: 44px; border-radius: 14px; background: var(--grad-primary); border: none; cursor: pointer; font-size: 22px; color: white; display: flex; align-items: center; justify-content: center; transition: all 0.2s; box-shadow: var(--shadow-sm); }
.product-add-btn:hover { transform: scale(1.12) rotate(5deg); box-shadow: var(--shadow-md); }

/* ===== CART SIDEBAR ===== */
#cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(6px); }
#cart-overlay.open { opacity: 1; pointer-events: all; }
#cart-sidebar { position: fixed; top: 0; left: -440px; bottom: 0; width: 440px; background: var(--bg-card); border-right: 1px solid var(--border); z-index: 2001; transition: left 0.35s cubic-bezier(0.4,0,0.2,1); display: flex; flex-direction: column; box-shadow: 8px 0 60px rgba(0,0,0,0.8); }
#cart-sidebar.open { left: 0; }
.cart-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(201,168,76,0.05)); }
.cart-header h3 { font-size: 20px; font-weight: 800; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cart-close { width: 38px; height: 38px; border-radius: 12px; background: rgba(124,58,237,0.08); border: 1px solid var(--border); color: var(--text); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.cart-close:hover { background: rgba(244,63,94,0.15); border-color: var(--rose); color: var(--rose); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 200px; gap: 12px; color: var(--text-muted); }
.cart-empty-icon { font-size: 56px; opacity: 0.3; }
.cart-item { background: var(--bg-card2); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; display: flex; gap: 12px; align-items: start; transition: border-color 0.2s; }
.cart-item:hover { border-color: var(--border); }
.cart-item-img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--bg-card3); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; overflow: hidden; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.cart-item-addons { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-price { font-size: 16px; font-weight: 800; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: rgba(124,58,237,0.08); color: var(--primary-light); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.qty-btn:hover { background: rgba(124,58,237,0.2); border-color: var(--primary-light); }
.qty-num { font-size: 15px; font-weight: 800; min-width: 28px; text-align: center; color: var(--white); }
.cart-item-remove { margin-right: auto; color: var(--rose-light); cursor: pointer; font-size: 16px; transition: all 0.2s; opacity: 0.7; }
.cart-item-remove:hover { opacity: 1; transform: scale(1.2); }
.cart-footer { padding: 16px 20px; border-top: 1px solid var(--border); background: rgba(124,58,237,0.03); }
.cart-discount-info { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; font-size: 13px; color: #4ADE80; font-weight: 600; }
.cart-summary { margin-bottom: 16px; }
.cart-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; color: var(--text-muted); }
.cart-row.total { font-size: 20px; font-weight: 900; color: var(--white); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
.cart-row.total span:last-child { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== PRODUCT MODAL ===== */
#product-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; padding: 20px; backdrop-filter: blur(12px); }
#product-modal-overlay.open { opacity: 1; pointer-events: all; }
#product-modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); max-width: 580px; width: 100%; max-height: 90vh; overflow-y: auto; transform: scale(0.9) translateY(20px); transition: all 0.3s cubic-bezier(0.4,0,0.2,1); box-shadow: var(--shadow-lg); }
#product-modal-overlay.open #product-modal { transform: scale(1) translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(201,168,76,0.04)); }
.modal-close { width: 38px; height: 38px; border-radius: 12px; background: rgba(124,58,237,0.08); border: 1px solid var(--border); color: var(--text); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.modal-close:hover { background: rgba(244,63,94,0.15); border-color: var(--rose); color: var(--rose); }
.modal-img { width: 100%; height: 260px; object-fit: cover; }
.modal-img-placeholder { width: 100%; height: 260px; display: flex; align-items: center; justify-content: center; font-size: 90px; background: linear-gradient(135deg, var(--bg-card2), var(--bg-card3)); }
.modal-body { padding: 24px; }
.modal-title { font-size: 24px; font-weight: 900; color: var(--white); margin-bottom: 8px; }
.modal-desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.modal-price { font-size: 30px; font-weight: 900; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 24px; }
.addons-section { margin-bottom: 24px; }
.addons-title { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.addons-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.addon-chip { padding: 8px 16px; border-radius: 50px; border: 1.5px solid var(--border); background: rgba(124,58,237,0.06); color: var(--text-muted); cursor: pointer; font-family: var(--font); font-size: 13px; font-weight: 600; transition: all 0.2s; }
.addon-chip:hover { border-color: var(--accent); color: var(--accent); }
.addon-chip.selected { background: rgba(201,168,76,0.12); border-color: var(--accent); color: var(--accent); }
.addon-chip .addon-price { color: var(--accent-light); font-size: 11px; }
.qty-control { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.qty-control label { font-size: 16px; font-weight: 700; color: var(--white); }
.qty-selector { display: flex; align-items: center; gap: 12px; }
.qty-selector .qty-btn { width: 38px; height: 38px; font-size: 20px; border-radius: 12px; }
.qty-selector .qty-num { font-size: 22px; font-weight: 900; min-width: 36px; text-align: center; }
.modal-total { font-size: 22px; font-weight: 900; margin-bottom: 20px; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== ORDER PAGE ===== */
#order-page { padding: 100px 0 60px; min-height: 100vh; position: relative; z-index: 1; }
.order-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.order-section-title { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.order-section-title::before { content: ''; width: 4px; height: 24px; background: var(--grad-primary); border-radius: 2px; }
.order-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; }
.map-container { height: 250px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 12px; }
.map-container iframe { width: 100%; height: 100%; border: none; }
.use-location-btn { display: flex; align-items: center; gap: 8px; color: var(--primary-light); background: rgba(124,58,237,0.08); border: 1.5px solid rgba(124,58,237,0.25); padding: 10px 18px; border-radius: 10px; cursor: pointer; font-family: var(--font); font-size: 14px; font-weight: 700; transition: all 0.2s; margin-bottom: 12px; }
.use-location-btn:hover { background: rgba(124,58,237,0.15); }
.order-summary-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 90px; }
.summary-item { display: flex; justify-content: space-between; align-items: start; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.summary-item:last-child { border-bottom: none; }
.summary-item-name { font-size: 14px; color: var(--text); flex: 1; font-weight: 600; }
.summary-item-addons { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.summary-item-price { font-size: 15px; font-weight: 800; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.summary-totals { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: var(--text-muted); }
.summary-row.discount { color: #4ADE80; font-weight: 700; }
.summary-row.total { font-size: 22px; font-weight: 900; color: var(--white); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.summary-row.total span:last-child { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.discount-badge-info { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); border-radius: 12px; padding: 12px 16px; margin-bottom: 20px; font-size: 14px; color: #4ADE80; font-weight: 700; display: flex; align-items: center; gap: 8px; }

/* ===== SUCCESS PAGE ===== */
#success-page { padding: 120px 20px 60px; min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.success-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 48px; max-width: 560px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); }
.success-icon { font-size: 80px; margin-bottom: 24px; animation: bounceIn 0.6s cubic-bezier(0.4,0,0.2,1); }
@keyframes bounceIn { 0% { transform: scale(0) rotate(-10deg); } 60% { transform: scale(1.2) rotate(5deg); } 100% { transform: scale(1) rotate(0); } }
.success-title { font-size: 30px; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.success-order-num { font-size: 34px; font-weight: 900; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 16px 0; }
.success-desc { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.order-status-steps { display: flex; justify-content: space-between; margin: 32px 0; position: relative; }
.order-status-steps::before { content: ''; position: absolute; top: 20px; right: 0; left: 0; height: 2px; background: var(--bg-card3); z-index: 0; }
.status-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; flex: 1; }
.status-step-icon { width: 42px; height: 42px; border-radius: 14px; background: var(--bg-card2); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.status-step.active .status-step-icon { background: var(--grad-primary); border-color: transparent; box-shadow: var(--shadow-sm); }
.status-step-label { font-size: 11px; color: var(--text-muted); text-align: center; font-weight: 600; }

/* ===== AUTH PAGES ===== */
#auth-page { padding: 100px 20px 60px; min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.auth-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; max-width: 460px; width: 100%; box-shadow: var(--shadow-lg); }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo .name { font-size: 30px; font-weight: 900; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-logo .sub { font-size: 14px; color: var(--text-muted); }
.auth-tabs { display: flex; gap: 4px; background: var(--bg-card2); border-radius: 14px; padding: 4px; margin-bottom: 28px; }
.auth-tab { flex: 1; padding: 10px; border-radius: 10px; text-align: center; cursor: pointer; font-family: var(--font); font-size: 14px; font-weight: 700; border: none; background: transparent; color: var(--text-muted); transition: all 0.2s; }
.auth-tab.active { background: var(--grad-primary); color: white; box-shadow: var(--shadow-sm); }
.auth-divider { text-align: center; color: var(--text-dim); font-size: 13px; margin: 20px 0; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--border); }
.auth-divider::before { right: 0; } .auth-divider::after { left: 0; }
.auth-guest-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; border-radius: var(--radius); background: rgba(124,58,237,0.06); border: 1.5px solid var(--border); color: var(--text); cursor: pointer; font-family: var(--font); font-size: 14px; font-weight: 600; transition: all 0.2s; text-decoration: none; }
.auth-guest-btn:hover { border-color: var(--primary-light); color: var(--primary-light); background: rgba(124,58,237,0.1); }

/* ===== ADMIN PANEL ===== */
#admin-page { min-height: 100vh; display: flex; background: #060609; }
.admin-sidebar { width: 260px; background: #0A0A10; border-left: 1px solid var(--border); display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; overflow-y: auto; }
.admin-logo { padding: 24px 20px; border-bottom: 1px solid var(--border); }
.admin-logo .name { font-size: 18px; font-weight: 900; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.admin-logo .sub { font-size: 12px; color: var(--text-muted); }
.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-section { font-size: 11px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; padding: 8px 8px 4px; margin-top: 8px; }
.admin-nav-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; cursor: pointer; color: var(--text-muted); font-size: 14px; font-weight: 600; transition: all 0.2s; margin-bottom: 2px; text-decoration: none; border: none; background: none; width: 100%; text-align: right; font-family: var(--font); }
.admin-nav-item:hover { background: rgba(124,58,237,0.08); color: var(--text); }
.admin-nav-item.active { background: rgba(124,58,237,0.12); color: var(--primary-light); border-right: 3px solid var(--primary); }
.admin-nav-item .nav-icon { font-size: 18px; flex-shrink: 0; }
.admin-content { margin-right: 260px; flex: 1; min-height: 100vh; }
.admin-topbar { background: #0A0A10; border-bottom: 1px solid var(--border); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.admin-topbar h1 { font-size: 22px; font-weight: 900; color: var(--white); }
.admin-main { padding: 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; align-items: center; gap: 16px; transition: all 0.3s; }
.stat-card:hover { border-color: rgba(167,139,250,0.4); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.stat-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.stat-icon.purple { background: rgba(124,58,237,0.15); }
.stat-icon.amber { background: rgba(201,168,76,0.15); }
.stat-icon.green { background: rgba(34,197,94,0.12); }
.stat-icon.rose { background: rgba(244,63,94,0.12); }
.stat-info .label { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; font-weight: 600; }
.stat-info .value { font-size: 28px; font-weight: 900; color: var(--white); }
.admin-table-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.admin-table-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; background: rgba(124,58,237,0.04); }
.admin-table-header h3 { font-size: 18px; font-weight: 800; color: var(--white); }
table { width: 100%; border-collapse: collapse; }
th { background: rgba(124,58,237,0.06); padding: 12px 16px; text-align: right; font-size: 13px; font-weight: 700; color: var(--text-muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 14px; color: var(--text); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(124,58,237,0.03); }
.table-actions { display: flex; gap: 8px; }
.action-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border); background: rgba(124,58,237,0.06); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all 0.2s; }
.action-btn:hover { border-color: var(--primary-light); background: rgba(124,58,237,0.15); }
.action-btn.delete:hover { border-color: var(--rose); background: rgba(244,63,94,0.12); }
.status-select { background: var(--bg-card2); border: 1px solid var(--border); color: var(--text); padding: 6px 10px; border-radius: 8px; font-family: var(--font); font-size: 13px; cursor: pointer; }
.admin-form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.admin-form-card h3 { font-size: 18px; font-weight: 800; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.toggle-switch { position: relative; display: inline-block; width: 52px; height: 28px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: var(--bg-card2); border-radius: 28px; transition: 0.3s; border: 1px solid var(--border); }
.toggle-slider::before { content: ''; position: absolute; width: 20px; height: 20px; right: 3px; bottom: 3px; background: var(--text-dim); border-radius: 50%; transition: 0.3s; }
input:checked + .toggle-slider { background: rgba(124,58,237,0.25); border-color: var(--primary-light); }
input:checked + .toggle-slider::before { transform: translateX(-24px); background: var(--primary-light); }
.order-detail-modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto; }
.order-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.order-info-item .label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; font-weight: 600; }
.order-info-item .value { font-size: 15px; font-weight: 700; color: var(--white); }

/* ===== STATIC PAGES ===== */
#static-page { padding: 100px 0 60px; min-height: 100vh; position: relative; z-index: 1; }
.static-content { max-width: 800px; margin: 0 auto; }
.static-content h2 { font-size: 24px; font-weight: 800; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 32px 0 16px; }
.static-content p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.static-content ul { padding-right: 20px; margin-bottom: 16px; }
.static-content li { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 8px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.contact-info-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.2); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-info-text .label { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.contact-info-text .value { font-size: 15px; font-weight: 700; color: var(--white); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); height: 350px; }
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ===== FOOTER ===== */
#footer { background: #060609; border-top: 1px solid var(--border); padding: 56px 0 28px; position: relative; z-index: 1; }
#footer::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .name { font-size: 24px; font-weight: 900; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.footer-brand .desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link { width: 40px; height: 40px; border-radius: 12px; background: rgba(124,58,237,0.08); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 18px; text-decoration: none; transition: all 0.2s; }
.social-link:hover { background: rgba(124,58,237,0.2); border-color: var(--primary-light); transform: translateY(-3px); }
.footer-col h4 { font-size: 15px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; font-weight: 500; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--text-dim); }
.footer-bottom .brand { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }

/* ===== TOAST ===== */
#toast-container { position: fixed; bottom: 24px; left: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 20px; min-width: 280px; max-width: 360px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); animation: slideIn 0.3s cubic-bezier(0.4,0,0.2,1); font-size: 14px; font-weight: 600; }
.toast.success { border-color: rgba(34,197,94,0.4); }
.toast.error { border-color: rgba(244,63,94,0.4); }
.toast.info { border-color: rgba(124,58,237,0.4); }
.toast-icon { font-size: 20px; flex-shrink: 0; }
@keyframes slideIn { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-100%); opacity: 0; } }
.toast.removing { animation: slideOut 0.3s ease forwards; }

/* ===== LOADING ===== */
.loading-spinner { display: flex; align-items: center; justify-content: center; padding: 60px; }
.spinner { width: 44px; height: 44px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== CLOSED BANNER ===== */
#closed-banner { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(10px); }
.closed-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 48px; max-width: 480px; text-align: center; box-shadow: var(--shadow-lg); }
.closed-icon { font-size: 72px; margin-bottom: 20px; }
.closed-title { font-size: 28px; font-weight: 900; color: var(--white); margin-bottom: 12px; }
.closed-msg { font-size: 16px; color: var(--text-muted); line-height: 1.7; }

/* ===== Pagination ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.page-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: rgba(124,58,237,0.06); color: var(--text); cursor: pointer; font-family: var(--font); font-size: 14px; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.page-btn:hover, .page-btn.active { border-color: var(--primary-light); color: var(--primary-light); background: rgba(124,58,237,0.15); }

/* ===== Animations ===== */
.fade-in { animation: fadeIn 0.5s cubic-bezier(0.4,0,0.2,1); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }


/* ===== New Hero Animations ===== */
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes hookahFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Hero responsive fix */
@media (max-width: 900px) {
  #hero .container > div[style*="grid-template-columns:1fr 1.4fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  #hero .container > div[style*="grid-template-columns:1fr 1.4fr 1fr"] > div:first-child,
  #hero .container > div[style*="grid-template-columns:1fr 1.4fr 1fr"] > div:last-child {
    display: none !important;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } .admin-sidebar { width: 220px; } .admin-content { margin-right: 220px; } .order-layout { grid-template-columns: 1fr; } .order-summary-card { position: static; } }


/* ===== Product Features (bullet points) ===== */
.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 16px;
  min-height: 52px;
}
.product-feature-item {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(124,58,237,0.06);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.4;
}
.product-feature-item::before {
  content: '◆';
  font-size: 7px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Fix product image to be contained properly */
.product-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 12px;
  transition: transform 0.5s;
}
.product-card:hover .product-img {
  transform: scale(1.06);
}


/* ===== Mobile Cart Button ===== */
.cart-btn-mobile {
  position: relative;
  background: var(--grad-primary);
  border: none;
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(124,58,237,0.4);
  transition: all 0.2s;
  flex-shrink: 0;
}
.cart-btn-mobile:hover,
.cart-btn-mobile:active {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(124,58,237,0.6);
}
.cart-count-mobile {
  position: absolute;
  top: -6px;
  left: -6px;
  background: #EC4899;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(236,72,153,0.5);
  animation: cartBounce 0.3s ease;
}
@keyframes cartBounce {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Floating cart button for mobile (bottom right) */
.floating-cart-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 500;
  background: var(--grad-primary);
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 24px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(124,58,237,0.5);
  transition: all 0.3s;
}
.floating-cart-btn:hover { transform: scale(1.1); }
.floating-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #EC4899;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .floating-cart-btn {
    display: flex;
  }
  /* Make navbar-mobile-left gap smaller */
  .navbar-mobile-left {
    gap: 6px !important;
  }
}

/* ===== MOBILE NAVBAR FIX ===== */
@media (max-width: 768px) {
  .navbar-inner-centered {
    height: 60px;
    padding: 0 16px;
    justify-content: space-between;
  }

  /* Hide desktop nav links on mobile */
  .navbar-nav-right,
  .navbar-nav-left {
    display: none !important;
  }

  /* Hide center logo circle on mobile */
  .navbar-logo-center {
    display: none !important;
  }

  /* Show mobile logo on the right */
  .navbar-inner-centered::before {
    content: '';
  }

  /* Show hamburger */
  .hamburger {
    display: flex !important;
  }

  /* Mobile: show simple logo text on right */
  .navbar-mobile-brand {
    display: flex !important;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  /* Adjust hero padding for mobile */
  #hero .hero-content {
    padding-top: 90px !important;
  }
  #order-page, #static-page, #auth-page, #success-page {
    padding-top: 80px !important;
  }
}

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

@media (max-width: 768px) { .navbar-nav { display: none; } .hamburger { display: flex; } .hero-content { grid-template-columns: 1fr; text-align: center; padding: 90px 20px 50px; } .hero-image { display: none; } .hero-actions { justify-content: center; } .hero-stats { justify-content: center; } .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } .footer-grid { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; } #cart-sidebar { width: 100%; left: -100%; } .form-row { grid-template-columns: 1fr; } .admin-sidebar { transform: translateX(100%); transition: transform 0.3s; } .admin-sidebar.open { transform: translateX(0); } .admin-content { margin-right: 0; } .order-info-grid { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .hero-title { font-size: 34px; } .products-grid { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: 1fr; } .auth-card { padding: 24px; } .success-card { padding: 28px; } }

/* ===== Scroll shrink animation ===== */
.navbar-mobile {
  transition: height 0.35s cubic-bezier(0.4,0,0.2,1) !important;
}
.mobile-logo-wrap {
  transition: top 0.4s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.mobile-logo-circle {
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.mobile-logo-img {
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.mobile-logo-ring-1,
.mobile-logo-ring-2 {
  transition: opacity 0.35s ease !important;
}

/* ===== Select/Dropdown Dark Styling ===== */
select,
select.form-control,
.status-select,
#flavor-select {
  background-color: #13102A !important;
  color: #E2D9F3 !important;
  border: 1.5px solid rgba(124,58,237,0.3) !important;
  border-radius: 10px !important;
  padding: 11px 16px !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 14px !important;
  cursor: pointer;
  outline: none !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A78BFA' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 12px center !important;
  padding-left: 36px !important;
}
select:focus,
select.form-control:focus,
#flavor-select:focus {
  border-color: rgba(124,58,237,0.7) !important;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1) !important;
}

/* Style the dropdown options */
select option,
select.form-control option,
#flavor-select option {
  background-color: #13102A !important;
  color: #E2D9F3 !important;
  padding: 10px 14px !important;
  font-family: 'Cairo', sans-serif !important;
}
select option:hover,
select option:checked,
select option:focus {
  background-color: #7C3AED !important;
  color: white !important;
}

/* Admin select */
.admin-main select,
.admin-form-card select,
.order-detail-modal select {
  background-color: #1A1540 !important;
  color: #E2D9F3 !important;
  border: 1px solid rgba(124,58,237,0.25) !important;
}
.admin-main select option {
  background-color: #1A1540 !important;
  color: #E2D9F3 !important;
}

/* ===== ADMIN MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

  #admin-page {
    flex-direction: column !important;
    min-height: 100vh;
  }

  /* Sidebar → bottom tab bar */
  .admin-sidebar {
    width: 100% !important;
    height: 60px !important;
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    z-index: 200 !important;
    border-left: none !important;
    border-top: 1px solid var(--border) !important;
    transform: none !important;
    padding: 0 !important;
    background: #0A0A10 !important;
  }

  .admin-logo,
  .admin-nav-section {
    display: none !important;
  }

  .admin-nav {
    display: flex !important;
    flex-direction: row !important;
    padding: 4px 0 !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: space-around;
  }
  .admin-nav::-webkit-scrollbar { display: none; }

  .admin-nav-item {
    flex-direction: column !important;
    padding: 4px 8px !important;
    min-width: 50px !important;
    text-align: center !important;
    font-size: 9px !important;
    gap: 2px !important;
    border-radius: 0 !important;
    border-right: none !important;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .admin-nav-item.active {
    border-right: none !important;
    background: rgba(124,58,237,0.15) !important;
    color: var(--primary-light) !important;
  }
  .admin-nav-item .nav-icon {
    font-size: 18px !important;
  }

  /* Content */
  .admin-content {
    margin-right: 0 !important;
    padding-bottom: 70px !important;
    width: 100% !important;
  }

  /* Topbar */
  .admin-topbar {
    padding: 10px 14px !important;
    position: sticky !important;
    top: 0 !important;
    gap: 8px !important;
  }
  .admin-topbar h1 {
    font-size: 15px !important;
  }

  /* Main content */
  .admin-main {
    padding: 12px !important;
  }

  /* Stats Grid - 2 columns, compact */
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
  }
  .stat-card {
    padding: 12px 10px !important;
    gap: 8px !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  .stat-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
    border-radius: 10px !important;
  }
  .stat-info .label {
    font-size: 11px !important;
  }
  .stat-info .value {
    font-size: 18px !important;
  }

  /* Tables */
  .admin-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px !important;
  }
  table {
    min-width: 450px !important;
  }
  th, td {
    padding: 8px 10px !important;
    font-size: 11px !important;
    white-space: nowrap;
  }
  .admin-table-header {
    padding: 12px 14px !important;
  }
  .admin-table-header h3 {
    font-size: 14px !important;
  }

  /* Forms */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .admin-form-card {
    padding: 14px !important;
    border-radius: 14px !important;
  }
  .admin-form-card h3 {
    font-size: 15px !important;
    margin-bottom: 14px !important;
  }
  .form-control {
    padding: 10px 14px !important;
    font-size: 14px !important;
  }

  /* Order detail modal */
  .order-detail-modal {
    padding: 14px !important;
    max-height: 95vh !important;
    border-radius: 16px !important;
  }
  .order-info-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  /* Buttons */
  .admin-main .btn {
    font-size: 12px !important;
    padding: 8px 14px !important;
  }
  .action-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
    border-radius: 8px !important;
  }
  .status-select {
    font-size: 11px !important;
    padding: 4px 6px !important;
  }
}


/* ===== Why Us Section Mobile Fix ===== */
@media (max-width: 768px) {
  /* Fix the why-us grid to single column */
  section [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Hide the image collage on mobile */
  section [style*="position:relative;height:520px"] {
    display: none !important;
  }

  /* Fix the CTA section hookah images */
  section [style*="display:flex;justify-content:center;gap:24px"] {
    gap: 12px !important;
  }
  section [style*="display:flex;justify-content:center;gap:24px"] > div {
    height: 100px !important;
    width: 60px !important;
  }

  /* Fix hero stats on mobile */
  .hero-stats {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .hero-stat {
    padding: 0 12px !important;
  }
  .hero-stat-num {
    font-size: 22px !important;
  }
}
