/* Shared header / hamburger / footer — used sitewide */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 120;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #e8c547;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

body.nav-locked {
  overflow: hidden;
}

.footer-paw-decor {
  position: absolute;
  right: 4%;
  bottom: 3.5rem;
  width: min(160px, 28vw);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-inner {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    position: relative;
  }

  .header-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #503375;
    padding: 1rem 1.25rem 1.25rem;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    z-index: 110;
  }

  .site-header.nav-open .header-menu {
    display: flex;
  }

  .site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-menu .nav-links {
    order: 0 !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    margin-top: 0 !important;
  }

  .header-menu .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header-menu .nav-links a {
    display: block;
    padding: 0.9rem 0.15rem;
    white-space: normal;
  }

  .header-menu .social-links {
    width: 100%;
    justify-content: center;
    padding-top: 1rem;
    gap: 1.25rem;
  }

  .footer-paw-decor {
    display: none;
  }
}
