/* Shared Styles for All Devices */
.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.store-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #f8f9fa;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.store-card:hover {
  transform: translateY(-5px);
}

.store-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.store-card h6 {
  font-weight: 600;
  margin-top: 10px;
}

.store-card p {
  color: #555;
  font-size: 14px;
}

/* ✅ Desktop Screens (min-width: 993px) */
@media (min-width: 993px) {
  .scroll-container {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: hidden;
  }

  .store-card {
    width: 200px;
    margin: 10px;
  }
}

/* ✅ Tablet & Mobile Screens (max-width: 992px) */
@media (max-width: 992px) {
  .scroll-container {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .store-card {
    min-width: 30%;
    max-width: 50%;
  }

  .store-card img {
    height: 60px;
  }
}

/* ✅ Extra Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .store-card {
    min-width: 30%;
    max-width: 30%;
    padding: 10px;
  }

  .store-card img {
    height: 60px;
  }

  .store-card p {
    font-size: 12px;
  }
}
