/* ========================================
   ERA - Media Queries (Mobile-First)
   ======================================== */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
  .navbar-menu { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: 2.5rem; }
  .hero-content { margin-left: 5%; }

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

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

  .catalog-layout { grid-template-columns: 1fr; }

  .filters-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .filter-group {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    min-width: 150px;
  }

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

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

  .product-gallery {
    position: static;
  }

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

  .about-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
  }

  .about-section:nth-child(even) {
    direction: ltr;
  }

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

/* Mobile (max 768px) */
@media (max-width: 768px) {
  html { font-size: 15px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .section { padding: 3rem 0; }
  .container { padding: 0 1rem; }

  .navbar-inner {
    height: 60px;
    padding: 0 1rem;
  }

  .navbar-logo { font-size: 1.4rem; }

  .hero {
    min-height: 500px;
    height: 85vh;
  }

  .hero-title { font-size: 2rem; }
  .hero-text { font-size: 0.9rem; }
  .hero-content { margin-left: 0; padding: 0 1.5rem; }
  .hero-subtitle { font-size: 0.75rem; }

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

  .collection-card { aspect-ratio: 3/4; }

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

  .value-props {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .diff-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

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

  .newsletter-form input {
    border-radius: var(--radius-sm);
  }

  .newsletter-form button {
    border-radius: var(--radius-sm);
    padding: 0.875rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .cart-sidebar { width: 100%; }

  .look-card-items { padding: 1rem; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .product-card-info { padding: 0.75rem; }
  .product-card-name { font-size: 0.85rem; }
  .price-current { font-size: 0.9rem; }

  .catalog-header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .sort-select { width: 100%; }

  .filters-sidebar {
    display: none;
  }

  .filters-sidebar.active {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
  }

  .filter-toggle {
    display: flex;
  }

  .gallery-thumbs { gap: 0.25rem; }
  .gallery-thumb { width: 55px; height: 70px; }

  .product-info h1 { font-size: 1.5rem; }
  .product-info-price .price-current { font-size: 1.25rem; }

  .size-option { width: 42px; height: 42px; font-size: 0.8rem; }

  .add-to-cart-section { flex-direction: column; }

  .tabs { gap: 1rem; overflow-x: auto; }
  .tab-btn { font-size: 0.75rem; white-space: nowrap; }

  .page-header { padding: 5rem 0 2rem; }

  .about-hero { height: 45vh; }

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

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }

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

  .value-props { grid-template-columns: 1fr; }

  .product-card-actions { display: none; }
}

/* Desktop large (min 1440px) */
@media (min-width: 1440px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Filter toggle - hidden on desktop */
.filter-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--surface);
}

.filter-toggle svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .filter-toggle { display: flex; }
}
