/* =====================================================
   SHOP — halaman ditambahkan di luar paket frontend asli
   ===================================================== */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.shop-card {
  background: var(--card);
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}

.shop-img {
  height: 220px;
  background: var(--ink-800);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.shop-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 0.4s ease;
}
.shop-card:hover .shop-img img { transform: scale(1.06); }

.shop-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.shop-name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink-800);
}
.shop-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
}
.shop-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.btn-wa {
  align-self: flex-end;
  margin-top: auto;
  background: #25d366 !important;
  color: #fff !important;
  border: none;
}
.btn-wa:hover {
  background: #1eb958 !important;
  transform: translateY(-2px);
}
.btn-wa svg { width: 17px; height: 17px; }

.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
  font-size: 15.5px;
  background: var(--card);
  border: 1px dashed rgba(11, 18, 32, 0.18);
  border-radius: var(--radius-lg);
}

@media (max-width: 980px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 620px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-img { height: 200px; }
}
