/* ════════════════════════════════════════════════
   /dashboard/store/ 專屬樣式；共用樣式（卡片/按鈕/浮動購物車）
   都在 /dashboard/dashboard.css，這裡只疊商品格線/訂單列表。
   ════════════════════════════════════════════════ */

.shop-balance-card { max-width: 320px; margin-bottom: 1.4rem; }

.shop-grid {
  display: grid; gap: 1rem; margin: 0.8rem 0 1.8rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.shop-item {
  border: 1px solid var(--glass-border); background: var(--panel-dark);
  padding: 1rem 0.9rem; text-align: center;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform 0.15s, border-color 0.2s;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.shop-item:hover { border-color: var(--hud-blue); transform: translateY(-3px); }
.shop-item-icon { font-size: 2.4rem; line-height: 1; }
.shop-item-img { width: 96px; height: 96px; object-fit: contain; }
.shop-item-name {
  font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 0.95rem; color: #dbe8f4;
}
.shop-item-price {
  display: flex; align-items: center; gap: 0.35rem;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--hud-amber);
}
.shop-item-add {
  width: 100%; margin-top: 0.2rem;
  padding: 0.4rem 0.8rem; border: 1px solid var(--glass-border); background: transparent;
  color: #c8d8e8; font-family: 'Rajdhani', sans-serif; font-weight: 600; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.shop-item-add:hover { border-color: var(--hud-blue); color: #fff; background: rgba(0,207,255,0.14); }

.shop-orders { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.shop-orders li {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center;
  gap: 0.8rem; padding: 0.6rem 0; border-bottom: 1px solid var(--glass-border);
  font-family: 'Rajdhani', sans-serif; font-size: 0.9rem;
}
.shop-order-items { color: #dbe8f4; }
.shop-order-total { color: var(--hud-amber); font-weight: 700; white-space: nowrap; }
.shop-order-date { color: #6f8296; font-size: 0.82rem; white-space: nowrap; }

@media (max-width: 480px) {
  .shop-orders li { grid-template-columns: 1fr; gap: 0.2rem; }
}
