/* =====================
   CSS RESET + BASE
===================== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: #f8fafc; /* Modern light background */
  color: #1e293b; /* Deep slate for text */
  line-height: 1.5;
}

/* =====================
   HEADER (Glassmorphism)
===================== */
header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px); /* Blurred glass effect */
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header a.logo {
  color: #7c3aed; /* Purple brand color */
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.search input {
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  font-size: 15px;
  transition: all 0.2s ease;
}

.search input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

/* =====================
   STORE CARDS (Modern Elevation)
===================== */
.list {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

.store {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.store:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.store-img-container {
  height: 220px;
  overflow: hidden;
}

.store img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-info {
  padding: 24px;
}

.store-info h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.store-info p {
  margin: 8px 0 0;
  font-size: 13px;
  color: #10b981; /* Green for categories/labels */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =====================
   PRODUCTS GRID
===================== */
.product-card {
  background: white;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid #f1f5f9;
  transition: border-color 0.3s ease;
}

.product-card:hover {
  border-color: #7c3aed; /* Purple border on hover */
}

.product-card h3 {
  color: #1e293b;
  font-size: 16px;
  margin-bottom: 4px;
}

.price-tag {
  color: #10b981; /* Fresh green for prices */
  font-weight: 700;
  font-size: 18px;
}

/* =====================
   BUTTONS
===================== */
.btn-primary {
  background: #7c3aed;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* Clean up the scroll experience */
.scrollbar-hide::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    -webkit-overflow-scrolling: touch; /* Smooth inertia scrolling on iOS */
}