/* ====== Store Public (Base-Compatible) ====== */

:root{
  --surface:#0f141b;
  --muted:#9fb0c0;
  --accent:#4cc9f0;
  --border:#1f2731;
  --shadow:0 10px 24px rgba(0,0,0,.28);
}

.store-public {
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,.4);
}

/* Image */
.img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: #0c1117;
  border-bottom: 1px solid var(--border);
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

/* Price badge */
.price-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #001018;
  font-weight: 800;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(76,201,240,.3);
}

/* Card Body */
.card-body {
  padding: 14px 16px 16px;
}
.card-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
  line-height: 1.25;
  color: #e6edf3;
}
.card-text {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 576px) {
  .product-grid { gap: 1rem; }
  .card-title { font-size: 0.95rem; }
  .price-badge { font-size: 12px; padding: 5px 8px; }
}
