/* ===== LARGE DESKTOP (1440px+) ===== */
@media (min-width: 1440px) {
  .container {
    padding: 0;
  }
}

/* ===== DESKTOP (1024px - 1439px) ===== */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== TABLET (768px - 1023px) ===== */
@media (max-width: 768px) {
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  
  .section { padding: var(--spacing-xl) 0; }
  
  .products-layout {
    grid-template-columns: 1fr;
  }
  
  .products-sidebar {
    display: none; /* We will use a modal drawer for filters on mobile */
  }
  
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

/* ===== MOBILE (320px - 767px) ===== */
@media (max-width: 576px) {
  .grid-cols-2 { grid-template-columns: 1fr; }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .header-container {
    height: 60px;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--clr-white);
    flex-direction: column;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    gap: var(--spacing-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
  
  .btn {
    width: 100%;
  }

  /* Cart Layout for mobile */
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cart-item-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 1rem;
  }
}
