.mini-shop-wrap {
  color: #fff;
  background: #0b0d12;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #1e2637;
  font-family: system-ui, sans-serif;
  max-width: 1000px;
}

.mini-shop-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
  font-size: 14px;
}
.mini-shop-header .cart-link {
  color: #9fb3ff;
  text-decoration: none;
  font-weight: 600;
}
.mini-shop-header .cart-link:hover {
  text-decoration: underline;
}

.mini-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 16px;
}

.card {
  background:#1a1f2d;
  border:1px solid #2a324b;
  border-radius:10px;
  overflow:hidden;
  color:#fff;
  display:flex;
  flex-direction:column;
}
.card img {
  width:100%;
  height:140px;
  object-fit:cover;
  background:#000;
}
.card .pad {
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.badge {
  display:inline-block;
  background:#2e364f;
  border:1px solid #3d4a72;
  color:#9fb3ff;
  font-size:11px;
  line-height:1;
  padding:3px 6px;
  border-radius:4px;
}
.title {
  font-size:14px;
  font-weight:600;
  color:#fff;
}
.price {
  font-size:14px;
  color:#9fe19f;
  font-weight:500;
}
.actions {
  margin-top:4px;
}
.btn {
  cursor:pointer;
  background:#2f3a68;
  border:1px solid #3f4a82;
  color:#fff;
  font-size:13px;
  padding:6px 10px;
  border-radius:6px;
  font-weight:600;
}
.btn:hover {
  background:#3a478c;
}
.btn-primary {
  background:#4b7cff;
  border-color:#4b7cff;
  color:#fff;
}
.btn-primary:hover {
  background:#6f92ff;
}
.btn-secondary {
  background:#303645;
  border-color:#454d62;
  color:#fff;
}
.btn-secondary:hover {
  background:#3b4254;
}

.helper {
  opacity:0.6;
  font-size:11px;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* CART TABLE */
.cart-table {
  width:100%;
  border-collapse:collapse;
  color:#fff;
  font-size:14px;
  margin-bottom:1rem;
}
.cart-table th {
  text-align:left;
  font-weight:600;
  background:#1a1f2d;
  padding:8px;
  border-bottom:1px solid #2a324b;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:0.05em;
  color:#9fb3ff;
}
.cart-table td {
  padding:8px;
  border-bottom:1px solid #2a324b;
  vertical-align:middle;
}
.cart-table input.qty-input {
  width:50px;
  background:#000;
  color:#fff;
  border:1px solid #444;
  border-radius:4px;
  padding:4px;
  text-align:center;
  font-size:13px;
}

/* CART SUMMARY */
.cart-summary {
  background:#111827;
  border:1px solid #1f293d;
  border-radius:10px;
  padding:1rem;
  color:#fff;
  font-size:14px;
}
.total-row {
  display:flex;
  justify-content:space-between;
  font-size:16px;
  font-weight:600;
  color:#fff;
  margin-bottom:1rem;
}
.cart-actions {
  display:flex;
  gap:10px;
  margin-bottom:0.75rem;
}
.pay-output {
  font-size:12px;
  color:#9fb3ff;
  word-break:break-word;
}
.notice {
  font-size:13px;
  text-align:center;
  padding:1rem;
  background:#1a1f2d;
  border:1px solid #2a324b;
  border-radius:8px;
  color:#9fb3ff;
}
