/* The store page (/donate). Colours and type come from site.css. */
.store {
  max-width: 760px;
  padding: 104px 0 140px;
}
.store h1 {
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  margin: 0 0 8px;
}
.store .lead {
  color: var(--muted);
  margin: 0 0 28px;
}
.panel {
  border-top: 1px solid var(--line);
  padding: 22px 0 8px;
}
.panel h2 {
  font-size: 1.5rem;
  margin: 0 0 10px;
}
.panel.muted h2 {
  color: var(--muted);
}
.state {
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
}
.hint {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 6px 0 14px;
}
.hint.center {
  text-align: center;
}
.hint.ok {
  color: var(--defend);
}
.hint.bad,
[data-error] {
  color: #ff6b6b;
}
.uid label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.uid-row {
  display: flex;
  gap: 10px;
}
.uid-row input {
  flex: 1;
  min-width: 0;
  font: 16px var(--body);
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.picks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.pick {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  text-align: left;
  font: inherit;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
}
.pick:hover:not(:disabled) {
  border-color: var(--muted);
}
.pick[aria-pressed="true"] {
  border-color: var(--attack);
  box-shadow: inset 0 0 0 1px var(--attack);
}
.pick:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pick .name {
  font-weight: 600;
}
.pick .price {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}
.checkout {
  position: sticky;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(17, 17, 20, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.total-label {
  color: var(--muted);
}
