/* web/public/shop/shop.css */

/* SHOP GRID */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.shop-empty {
  margin-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* SHOP CARD (UPDATED THEME) */
.shop-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;

  /* UPDATED: unified shared dark panel style */
  background:
    radial-gradient(circle at top, rgba(24,30,62,0.88) 0, transparent 55%),
    var(--bg-soft);

  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  cursor: pointer;

  display: flex;
  flex-direction: column;
}

.shop-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* IMAGE */
.shop-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 90%;
  overflow: hidden;
}

.shop-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BODY */
.shop-body {
  padding: 10px 11px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shop-brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.shop-title {
  font-size: 14px;
  font-weight: 600;
}

/* META */
.shop-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin-top: 4px;
}

.shop-price {
  font-weight: 600;
  color: var(--accent-strong);
}

.shop-serial {
  color: var(--text-muted);
}

/* SOLD OUT */
.shop-sold-out {
  position: absolute;
  inset: 8px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: #ffffff;
  pointer-events: none;
}
