/* ==========================================================================
   AURA STUDIO — Responsive Breakpoints & Adaptations
   ========================================================================== */

/* Large Tablets & Small Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg) var(--space-md);
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

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

  .container {
    padding: 0 var(--space-md);
  }

  .nav-links {
    display: none; /* Can be toggled or accessed via clean mobile drawer */
  }

  .brand-logo {
    position: static;
    transform: none;
    font-size: 1.15rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md) var(--space-sm);
  }

  .hero {
    min-height: 75vh;
  }

  .hero-content {
    padding: var(--space-2xl) 0;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-controls {
    justify-content: space-between;
  }

  .search-box {
    flex: 1;
  }

  .search-input {
    width: 100%;
  }

  .search-input:focus {
    width: 100%;
  }

  .modal-dialog {
    grid-template-columns: 1fr;
    max-height: 85vh;
    overflow-y: auto;
  }

  .modal-media {
    max-height: 320px;
  }

  .cart-drawer {
    max-width: 100%;
  }

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

  .form-grid .full-width {
    grid-column: auto;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .toast {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

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

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

  .newsletter-form {
    flex-direction: column;
  }

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

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