.site-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.site-menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.site-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  z-index: 210;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.site-menu-panel.is-open {
  transform: translateX(0);
}

.site-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.site-menu-head strong {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}

.site-menu-close {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: #f1f5f9;
  border-radius: 999px;
  cursor: pointer;
  color: #374151;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-menu-close:hover {
  background: #fee2e2;
  color: #dc2626;
}

.site-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0 1.5rem;
}

.site-menu-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu-nav > li {
  border-bottom: 1px solid #f8fafc;
}

.site-menu-nav a,
.site-menu-nav .site-menu-parent-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.site-menu-nav a:hover,
.site-menu-nav .site-menu-parent-btn:hover {
  background: #fef2f2;
  color: #dc2626;
}

.site-menu-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem;
  background: #f8fafc;
}

.site-menu-sub a {
  padding: 0.65rem 1.25rem 0.65rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
}

.site-menu-parent-link {
  font-weight: 700;
  color: #111827 !important;
}

.site-menu-section-label {
  display: block;
  padding: 0.65rem 1.25rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
}

.site-menu-sub {
  border-left: 3px solid #fecaca;
  margin-left: 1rem;
}

.site-menu-extra {
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem 0;
  border-top: 1px solid #f1f5f9;
}

.site-menu-extra a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
}

.site-menu-extra a:hover {
  color: #dc2626;
}

body.site-menu-open {
  overflow: hidden;
}
