/**
 * SafeCore E-Commerce - Mobile-First Responsive Breakpoints
 */

@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bulk-banner {
    grid-template-columns: 1fr;
  }
  .bulk-banner-img {
    height: 300px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .header-logo img {
    height: 38px;
    max-width: 180px;
  }
  .footer-logo img {
    height: 38px;
    max-width: 180px;
  }
  .top-bar-inner {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }
  .header-main {
    flex-wrap: wrap;
    gap: 0.85rem;
  }
  .header-search {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .product-card-body {
    padding: 0.85rem;
  }
  .product-card-title {
    font-size: 0.85rem;
  }
  .product-price {
    font-size: 1rem;
  }
  .btn-sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .bulk-banner-content {
    padding: 2rem 1.5rem;
  }
  .bulk-banner-title {
    font-size: 1.6rem;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    display: none; /* Can be toggled via filter button on mobile */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 250;
    overflow-y: auto;
    border-radius: 0;
  }
  .filter-sidebar.mobile-open {
    display: block;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .checkout-grid {
    grid-template-columns: 1fr !important;
  }
}
