/* ==========================================================================
   HAO TOOLS — MOBILE, TABLET & DESKTOP RESPONSIVE BREAKPOINTS (css/responsive.css)
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-grid,
  .checkout-layout,
  .tool-workbench {
    grid-template-columns: 1fr;
  }

  .kpi-grid,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    bottom: 0;
    width: 270px;
    z-index: 200;
    transition: left 0.25s ease;
  }

  .app-sidebar.open {
    left: 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .tool-IO-grid,
  .grid-2,
  .product-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .kpi-grid,
  .grid-4,
  .hero-stats-row,
  .payment-method-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .app-content {
    padding: 1.25rem 1rem;
  }

  .auth-card {
    padding: 1.5rem;
  }
}
