/* ===== Off-Canvas Navigation Sidebar (Host) ===== */
.nav-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-sidebar-overlay.active { opacity: 1; visibility: visible; }

.nav-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  z-index: 1101;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}
.nav-sidebar.open { transform: translateX(0); }

.nav-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}
.nav-sidebar-header img { max-height: 45px; width: auto; }

.nav-sidebar-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #888;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.nav-sidebar-close:hover { color: #eb2a25; }

.nav-sidebar-body { padding: 8px 0 24px; }

.nav-sidebar-body a,
.nav-sidebar-body button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 24px;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  background: none;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
  box-sizing: border-box;
  transition: color 0.2s, background-color 0.2s;
}
.nav-sidebar-body a:hover,
.nav-sidebar-body button:hover { color: #eb2a25; background-color: #fafafa; text-decoration: none;}

.nav-sidebar-cta {
  display: block !important;
  margin: 16px 24px !important;
  padding: 10px 20px !important;
  background: #eb2a25 !important;
  color: #fff !important;
  border-radius: 50px;
  text-align: center !important;
  border-bottom: none !important;
  width: auto !important;
  box-sizing: border-box !important;
}
.nav-sidebar-cta:hover { background: #c82020 !important; color: #fff !important; }

.nav-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  margin-bottom: 4px;
}
.nav-sidebar-user span { font-weight: 700; color: #eb2a25; font-size: 1rem; }

body.sidebar-open { overflow: hidden; }
