/* ==========================================================================
   S M SOLUTIONS - RESPONSIVE STYLES & BREAKPOINTS
   ========================================================================== */

/* Medium Desktops & Laptops (max-width: 1100px) */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (max-width: 900px) */
@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .top-bar-info {
    gap: 0.75rem;
  }
  .top-bar-item:nth-child(2) {
    display: none; /* Hide full address in top bar on tablet to save space */
  }

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

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

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

  .hero-features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
  body {
    padding-bottom: 68px; /* Space for mobile sticky bottom bar */
  }

  .mobile-sticky-bar {
    display: block;
  }

  .top-bar {
    display: none; /* Full focus on header on mobile */
  }

  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero {
    padding: 3rem 0 4rem 0;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }

  .pillars-section {
    margin-top: -1.5rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-legal-links {
    justify-content: center;
  }

  .product-card-actions {
    grid-template-columns: 1fr;
  }

  .search-and-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-select {
    width: 100%;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .top-bar,
  .mobile-sticky-bar,
  .mobile-drawer,
  .btn,
  .site-footer {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
