/* ════════════════════════════════════════════════════════════════
   TOKENS (shared)
════════════════════════════════════════════════════════════════ */
:root {
  --bg:             #0a0005;
  --bg-gradient:    linear-gradient(135deg, #000000 0%, #DA3662 58%, #ffffff 100%);
  --neon-pink:      #ff2d78;
  --neon-soft:      #ff6fa0;
  --hot-magenta:    #e91e63;
  --glass:          rgba(6, 1, 4, 0.82);
  --glass-border:   rgba(255, 45, 120, 0.22);
  --glow:           rgba(255, 45, 120, 0.35);
  --text:           #ffffff;
  --text-sub:       #e8b4c8;
  --text-muted:     #b07090;
  --font-display:   'Montserrat', sans-serif;
  --font-body:      'Poppins', sans-serif;
  --nav-h:          68px;
  --sidebar-w:      252px;   /* matches Navbar.css sidebar width */
  --ease:           0.26s cubic-bezier(.4,0,.2,1);
}

/* ════════════════════════════════════════════════════════════════
   FOOTER BASE
════════════════════════════════════════════════════════════════ */
.site-footer {
  background: rgba(3, 0, 2, 0.97);
  border-top: 1px solid var(--glass-border);
  margin-top: 0;
  padding: 56px 36px 28px;
  position: relative;
  z-index: 1;

  /* ── KEY FIX: push footer clear of the fixed sidebar ── */
  /* Default = logged-in customer view */
  margin-left: var(--sidebar-w);
  transition: margin-left 0.26s ease;
}

/* Guest view: no sidebar, footer spans full width */
body.guest-nav-active .site-footer,
body:not(.sidebar-active) .site-footer {
  margin-left: 0;
}

/* Explicitly set when navbarloader confirms a logged-in session */
body.sidebar-active .site-footer {
  margin-left: var(--sidebar-w);
}

/* ════════════════════════════════════════════════════════════════
   FOOTER INNER LAYOUT
════════════════════════════════════════════════════════════════ */
.footer-inner { max-width: 1400px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-col { display: flex; flex-direction: column; gap: 16px; }

.footer-logo {
  height: 36px;
  filter: drop-shadow(0 0 10px rgba(255,45,120,0.45));
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 900;
  color: var(--neon-pink);
  text-shadow: 0 0 18px rgba(255,45,120,0.5);
  display: none;
}

.footer-tagline {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.7; font-weight: 500; max-width: 280px;
}

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ease);
}
.social-btn:hover {
  background: rgba(255,45,120,0.15);
  border-color: var(--glass-border); color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--neon-soft); margin-bottom: 16px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px; color: var(--text-muted); font-weight: 500;
  display: flex; align-items: center; gap: 7px;
  transition: color var(--ease);
}
.footer-links a i { font-size: 12px; color: var(--neon-soft); opacity: 0.7; }
.footer-links a:hover { color: #fff; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px;
}
.footer-contact-item i { font-size: 1rem; color: var(--neon-soft); flex-shrink: 0; margin-top: 1px; }
.footer-contact-item p { font-size: 13px; color: var(--text-muted); font-weight: 500; line-height: 1.5; }
.footer-contact-item strong { color: var(--text-sub); font-weight: 700; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; flex-wrap: wrap; gap: 12px;
}
.footer-copyright { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.footer-copyright span { color: var(--neon-soft); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 12px; color: var(--text-muted); font-weight: 500;
  transition: color var(--ease);
}
.footer-bottom-links a:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */

/* Collapsed sidebar (icon-only, 68px) */
@media (max-width: 1024px) {
  body.sidebar-active .site-footer {
    margin-left: 68px;
  }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* Mobile sidebar (65px) */
@media (max-width: 768px) {
  body.sidebar-active .site-footer {
    margin-left: 65px;
  }
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-footer { padding: 40px 18px 24px; }
}