/* Responsive Adjustments (Mobile-first design) */

/* Mobile Bottom Sheet & Drawer (< 640px) */
@media (max-width: 639px) {
  .detail-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  
  .detail-modal {
    max-width: 100%;
    max-height: 85vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom: none;
    transform: translateY(100%);
  }

  .detail-modal-overlay.active .detail-modal {
    transform: translateY(0);
  }

  .modal-drag-indicator {
    display: block;
  }

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

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .card-details {
    padding: 12px;
  }

  .card-title {
    font-size: 13px;
    height: 38px;
  }

  .card-price {
    font-size: 14px;
  }
}

/* Small Mobile Screens (< 360px) */
@media (max-width: 360px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
  
  .store-hero {
    padding: 24px 0;
  }
  
  .hero-store-name {
    font-size: 28px;
  }
}

/* Tablets and Large Mobile Devices (>= 768px) */
@media (min-width: 768px) {
  .main-header {
    height: auto;
  }
  
  .hero-store-name {
    font-size: 42px;
  }
  
  .hero-description {
    font-size: 18px;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr;
    gap: 64px;
  }
  
  .search-filter-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Laptops and Large Desktop Screens (>= 1024px) */
@media (min-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .store-hero {
    padding: 60px 0;
    min-height: 280px;
  }
}

/* Extra Large Screens (>= 1200px) */
@media (min-width: 1200px) {
  .container {
    padding: 0;
  }
}
