

#shop-head {
  max-width: 1200px; margin: 0 auto; padding: 110px 2.5rem 0;
  position: relative; z-index: 1; width: 100%; flex-shrink: 0;
}

#shop-body { max-width: 1200px; margin: 0 auto; padding: 2.4rem 2.5rem 100px; position: relative; z-index: 1; width: 100%; flex: 1; }


.shop-balance-card {
  margin-top: 1.8rem;
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.2rem 1.6rem;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  max-width: 360px;
}
.sbc-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: var(--on-light);
  box-shadow: var(--shadow-blue);
}
.sbc-info { display: flex; flex-direction: column; line-height: 1.3; }
.sbc-label { font-size: .78rem; color: var(--text-muted); }
.sbc-value { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 900; font-variant-numeric: tabular-nums; }


.shop-admin-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .8rem 1.1rem; margin-bottom: 1.4rem;
  border-radius: var(--radius); border: 1px dashed rgba(255,255,255,.28);
  background: rgba(255,255,255,.04);
  font-size: .82rem; color: var(--text-dim);
}
.shop-admin-bar span { display: flex; align-items: center; gap: 8px; }


.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }

.shop-card {
  position: relative;
  display: flex; flex-direction: column; gap: .8rem;
  padding: 1.3rem;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease;
}
.shop-card:hover { border-color: rgba(255,255,255,.22); transform: translateY(-2px); }
.shop-card.owned { opacity: .8; }
.shop-card.unavailable { opacity: .55; }

.sc-top { display: flex; align-items: flex-start; gap: .9rem; }
.sc-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: var(--sc-color, var(--text));
}
.sc-body { flex: 1; min-width: 0; }
.sc-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .98rem; margin-bottom: 3px; }
.sc-desc { font-size: .8rem; color: var(--text-dim); line-height: 1.4; }

.sc-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sc-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: var(--text-dim); border: 1px solid rgba(255,255,255,.12);
}
.sc-tag.badge { color: #A78BFA; border-color: rgba(167,139,250,.35); background: rgba(167,139,250,.1); }
.sc-tag.cosmetique { color: #34D399; border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.1); }
.sc-tag.avantage { color: #FB923C; border-color: rgba(251,146,60,.35); background: rgba(251,146,60,.1); }
.sc-tag.stock { color: #FCA5A5; border-color: rgba(252,165,165,.35); background: rgba(252,165,165,.1); }

.sc-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.sc-price { display: flex; align-items: center; gap: 6px; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1rem; }

.sc-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--glass-border);
  font-family: 'Outfit', sans-serif; font-size: .8rem; font-weight: 700;
  background: transparent; color: var(--text-dim); cursor: default; white-space: nowrap;
}
.sc-btn.ready { background: var(--grad); color: var(--on-light); border-color: transparent; box-shadow: var(--shadow-blue); cursor: pointer; }
.sc-btn.owned { color: #10B981; border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.1); }
.sc-btn.locked { color: var(--text-muted); }

.sc-admin-actions {
  position: absolute; top: 10px; right: 10px; display: flex; gap: 6px;
}
.sc-admin-btn {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,.55); border: 1px solid var(--glass-border); color: var(--text-dim);
  cursor: pointer; transition: all .2s;
}
.sc-admin-btn:hover { color: var(--text); border-color: rgba(255,255,255,.3); }

.shop-badge-note {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: #A78BFA; background: rgba(167,139,250,.08);
  border: 1px solid rgba(167,139,250,.25); border-radius: 10px; padding: .6rem .8rem;
  margin-bottom: .8rem;
}

.shop-empty { text-align: center; padding: 3.5rem 1rem; color: var(--text-muted); grid-column: 1/-1; }
.shop-empty i { opacity: .3; margin-bottom: .8rem; }

.inv-purchased-at { font-size: .72rem; color: var(--text-muted); }

@media (max-width: 700px) {
  #shop-head, #shop-body { padding-left: 1.2rem; padding-right: 1.2rem; }
  .shop-balance-card { max-width: none; }
  .shop-admin-bar { flex-direction: column; align-items: stretch; }
}
