/* ═══════════════════════════════════════
   Tech Warrior — Mobile UX
   ═══════════════════════════════════════ */

/* Mobile Base Adjustments */
@media (max-width: 768px) {
  :root {
    --space-section: 60px;
    --text-headline-lg: 32px;
    --text-headline-md: 20px;
    --container-padding: 16px;
  }
  
  /* Tap Targets */
  button, 
  .btn, 
  a.touch-target,
  input[type="checkbox"],
  input[type="radio"] {
    min-height: 44px;
    min-width: 44px;
  }

  /* Filter Sidebar Overlay */
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    z-index: var(--z-modal);
    background: var(--surface);
    overflow-y: auto;
    transition: left var(--transition-normal);
    padding: var(--space-lg);
  }
  .shop-sidebar.is-open {
    left: 0;
  }

  /* Horizontal Scroll for Categories */
  .category-pills {
    display: flex;
    overflow-x: auto;
    padding-bottom: var(--space-sm);
    scrollbar-width: none; /* Firefox */
  }
  .category-pills::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
  
  /* Sticky Bottom CTA */
  .sticky-bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--glass-border);
    z-index: var(--z-header);
    display: flex;
    gap: var(--space-sm);
  }
  .sticky-bottom-cta .btn {
    flex: 1;
  }
}

@media (max-width: 480px) {
  /* Smaller screens */
  .upgrades-grid {
    grid-template-columns: 1fr;
  }
}
