* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: linear-gradient(135deg, #020617, #020617);
  color: #e5e7eb;
}

/* HEADER */
.store-header {
  background: radial-gradient(circle at top, #0f172a, #020617);
  padding: 50px 20px;
  text-align: center;
  border-bottom: 1px solid #1e293b;
}

.store-header h1 {
  font-size: 38px;
  margin: 0;
  color: #38bdf8;
  letter-spacing: 1px;
}

.store-header p {
  margin-top: 10px;
  font-size: 16px;
  color: #94a3b8;
}

/* CONTROLS */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 25px;
  background: #020617;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #1e293b;
}

.controls input,
.controls select {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #1e293b;
  background: #020617;
  color: #e5e7eb;
  min-width: 240px;
  outline: none;
}

.controls input::placeholder {
  color: #64748b;
}

/* PRODUCTS GRID */
.products {
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

/* PRODUCT CARD */
.product-card {
  background: linear-gradient(180deg, #020617, #020617);
  border: 1px solid #1e293b;
  border-radius: 18px;
  padding: 18px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: #38bdf8;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}

.product-card h3 {
  font-size: 16px;
  margin: 15px 0 10px;
  color: #f1f5f9;
  min-height: 42px;
}

/* STOCK */
.stock {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.stock.in {
  color: #22c55e;
}

.stock.out {
  color: #ef4444;
}

/* WHATSAPP BUTTON */
.whatsapp {
  margin-top: auto;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #020617;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s ease;
}

.whatsapp:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

/* MOBILE */
@media (max-width: 600px) {
  .store-header h1 {
    font-size: 28px;
  }

  .products {
    padding: 20px;
  }
}
a.product-card {
  text-decoration: none;
  color: inherit;
}
