/* Unified mobile fullscreen navigation */
.mobile-menu-toggle {
  display: none;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #222;
  width: 44px;
  height: 40px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mobile-nav-overlay.open .mobile-nav-panel {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #333;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.mobile-nav-list li {
  margin: 10px 0;
}

.mobile-nav-list a {
  display: block;
  text-decoration: none;
  color: #222;
  font-size: 28px;
  line-height: 1.3;
  padding: 8px 0;
}

.mobile-nav-list a:hover {
  color: #b5242b;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .top {
    align-items: center !important;
  }

  .top .menu-btn,
  .top .nav {
    display: none !important;
  }
}
