/* -----------------------------------------------------------
   RESPONSIVE / MOBILE
----------------------------------------------------------- */
/* Mobile Navigation */
.nav-toggle {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent !important;
  border: none;
  box-shadow: none;
  outline: none;
  padding: 0;
  margin: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: #444;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
  display: none;
}

.nav-toggle:focus,
.nav-toggle:active {
  background-color: transparent !important;
  outline: none;
  box-shadow: none;
}

.nav-toggle.open {
  color: #5ba543;
}

.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 6.5rem 2rem 2rem;
    transform: translateY(-120%);
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu.open {
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-menu .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    text-align: center;
  }

  .mobile-menu .primary-button,
  .mobile-menu .secondary-button {
    width: 80%;
    justify-content: center;
    height: 42px;
    font-size: 16px;
  }

  .container {
    margin: 1.5rem 1rem;
    padding: 1.5rem;
  }

  .page-title {
    font-size: 24px;
  }

  .logo {
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-links {
    justify-content: center;
  }

  .desktop-comma {
    display: none;
  }

  .template-drawer-content {
    padding-bottom: 4rem;
  }

  .template-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .center-actions.dual-buttons {
    flex-direction: row-reverse;
  }

  .center-actions.dual-buttons button {
    width: auto;
    flex: 1;
  }
}
