/* The data sets for sale (pictures.toml [datasets.<id>]) and the links at the foot of every page
   ([[pages]] footer). Copied into a site's assets only when it has either, and loaded after the
   look's own sheet, so it builds on the look's colours: --accent where the look has one. */

/* the footer's links, between the copyright and the record's line */
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--accent, var(--text)); }

/* a card's price, under its figures */
.card-price {
  display: inline-block; margin-top: 6px; font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  color: var(--accent, var(--text));
}

/* beside the picture: the price and the store's checkout */
.buy-box {
  display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px;
  border: 1px solid var(--line); border-radius: var(--radius, 0); background: var(--panel);
}
.buy-head { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.buy-head .label { color: var(--accent, var(--muted)); }
.buy-price { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.buy-btn { width: 100%; justify-content: center; text-align: center; }
.buy-soon { opacity: 0.6; cursor: default; }
.buy-note { margin: 0; font-size: 13px; color: var(--muted); }
.buy-note a, .ds-details .kv a { color: var(--accent, var(--text)); }
.buy-more { font-size: 13px; font-weight: 600; color: var(--text-2); text-decoration: none; }
.buy-more:hover { color: var(--accent, var(--text)); }
/* with a checkout beside it, the record's button steps back */
.band .buy-box ~ .actions .btn {
  background: transparent; color: var(--text); border-color: var(--rule, rgba(245, 243, 239, 0.3));
}
.band .buy-box ~ .actions .btn:hover { border-color: var(--accent, var(--text)); }

/* the data set's own section on the picture page */
.ds-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ds-panel {
  padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: var(--radius, 0);
  background: var(--panel);
}
.ds-panel .label { color: var(--accent, var(--muted)); }
.ds-about p { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.ds-site { font-size: 14px !important; color: var(--muted) !important; }
.ds-list { margin: 10px 0 0; padding: 0; list-style: none; }
.ds-file {
  display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.ds-check { display: inline-flex; color: var(--accent, var(--text)); }
.ds-name { flex: 1; font-size: 15px; font-weight: 600; }
.ds-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.ds-subs { font-size: 12px; color: var(--muted); }
.ds-details .buy-btn { margin-top: 20px; }

@media (max-width: 1000px) {
  .ds-grid { grid-template-columns: minmax(0, 1fr); }
  .band-side .buy-box { width: 100%; }
}
