/* ═══════════════════════════════════════
   WOBAZI — /store (one-off products). Builds on public/css/pricing.css (cards, buttons,
   currency toggle); only the store's own pieces are here. Site tokens only.
   Bump ?v= in views/pages/store.ejs on every change.
═══════════════════════════════════════ */

.st-items {
  display: grid; gap: 20px; margin: 24px auto 0; max-width: 520px;
}
.st-card { text-align: left; }
.st-kind {
  color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  margin: 0 0 8px;
}
.st-incl {
  display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: #07070f; background: linear-gradient(90deg, #a77bf2, #f0c040);
}
.st-owned { color: var(--text); font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.st-compare { color: var(--m6); font-size: 13px; line-height: 1.5; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border); }
.st-compare a { color: var(--gold); white-space: nowrap; }
.st-error { margin: 16px auto 0; max-width: 520px; }

.st-history { margin: 36px auto 0; max-width: 520px; text-align: left; }
.st-history h2 { color: var(--text); font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.st-history .pr-fine { margin-left: 0; }
.st-history .pr-fine a { color: var(--gold); }
.st-privacy a { color: var(--gold); }
.st-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.st-row { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.st-row-name { color: var(--text); font-size: 15px; font-weight: 600; }
.st-row-meta { color: var(--m6); font-size: 13px; line-height: 1.45; }
.st-empty { margin-top: 0; }

/* /billing: the purchases block under the plan card */
.bl-buys { margin-top: 20px; }
.bl-buys h2 { color: var(--text); font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.bl-buys ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.bl-buys li { color: var(--m8); font-size: 14px; line-height: 1.45; }
.bl-buys a { color: var(--gold); }

/* The card's two halves (views/partials/oneoff-card.ejs): stacked on /store, side by side on /pricing. */
.st-side { display: flex; flex-direction: column; flex: 1; }

/* /pricing: the one-off card under the plans */
.pr-oneoff-sec { margin: 32px 0 0; }
.pr-oneoff-sec > h2 { color: var(--text); font-size: 20px; font-weight: 600; margin: 0 0 14px; text-align: center; }
@media (min-width: 820px) {
  .pr-oneoff-sec .st-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-items: start; }
  .pr-oneoff-sec .pr-list { flex: none; }
}

/* "Your 12 months start" (views/partials/oneoff-card.ejs + public/js/oneoff-start.js) */
.st-start { border: 0; margin: 4px 0 16px; padding: 0; min-width: 0; }
.st-start-lgd { color: var(--text); font-size: 14px; font-weight: 600; margin: 0 0 8px; padding: 0; }
.st-start-opt {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; margin: 0 0 6px;
  border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
}
.st-start-opt:has(input:checked) { border-color: var(--gold); background: rgba(240, 192, 64, 0.06); }
.st-start-opt input { accent-color: var(--gold); margin: 3px 0 0; flex: none; width: 16px; height: 16px; }
.st-start-txt { display: grid; gap: 2px; min-width: 0; }
.st-start-name { color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.35; }
.st-start-dates { color: var(--m6); font-size: 13px; line-height: 1.4; }
.st-start-date {
  display: block; width: 100%; box-sizing: border-box; margin: 2px 0 6px; padding: 10px 12px;
  border: 1px solid var(--gold); border-radius: 10px; background: transparent; color: var(--text);
  font: inherit; font-size: 16px; color-scheme: dark;
}
.st-start-date[hidden], .st-start-dates[hidden] { display: none; }
.st-start-note { color: var(--m6); font-size: 12px; line-height: 1.45; margin: 6px 0 0; }

/* 2026-11-21: gold is for buttons only. The "Included with Premium" chip in the Premium purple, and the saving in green. */
.st-incl { color: #b794f6; background: rgba(183, 148, 246, 0.1); border: 1px solid rgba(183, 148, 246, 0.4); }
.st-kind { color: var(--m7, #a0a0b8); }
.st-save { margin: -6px 0 12px; color: #86efac; font-size: 13px; font-weight: 600; }
