/* The set cross-sell on a book page (xsell.ts, xsell.js): a set the book belongs to, as a link to the set's page, in the
   dialog under the cards and in #formats above the promise. Stamped by the worker with the blocks, never part of a
   signed item; it styles only its own .xsell nodes (xsell.ts xsellAssetProblems refuses any other selector, and the
   template's cssProblems runs over it: no hiding rule, so a block starts hidden by site.css's own [hidden] rule). A
   file, never inline: book pages run a CSP without 'unsafe-inline'. */
.xsell { margin:18px 0 0; }
.xsell-sets { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.xsell-card { display:grid; grid-template-columns:minmax(0, 1fr); gap:12px; align-items:center; padding:12px 14px; border:1px solid var(--accent); background:var(--panel); color:var(--ink); text-decoration:none; }
.xsell-card:has(.xsell-pic) { grid-template-columns:112px minmax(0, 1fr); }
.xsell-card:hover, .xsell-card:focus-visible { background:var(--panel-on); }
.xsell-pic img { display:block; width:112px; height:auto; border-radius:3px; }
.xsell-text { display:grid; gap:2px; min-width:0; }
.xsell-kicker { font:600 12px/1.4 "Cormorant Garamond", Georgia, serif; letter-spacing:.2em; text-transform:uppercase; color:var(--accent); }
.xsell-title { font:600 20px/1.2 "Cormorant Garamond", Georgia, serif; }
.xsell-price { font-size:16px; line-height:1.4; }
.xsell-ship { font-size:14px; line-height:1.4; color:var(--muted); }
.xsell-anchor { font-size:14px; line-height:1.4; color:var(--muted); }
.xsell-anchor s { text-decoration-thickness:1px; }
.xsell-anchor b { font-weight:400; color:var(--ink); }
.xsell-go { margin-top:4px; font:600 12px/1.4 "Cormorant Garamond", Georgia, serif; letter-spacing:.2em; text-transform:uppercase; color:var(--accent); }
.xsell-go::after { content:" →"; }
/* In the dialog (paper colours), compact: the pay button stays stuck to the dialog's foot below it. */
.checkout .xsell { margin:14px 0 4px; }
.checkout .xsell-card { background:#fbf6ec; border-color:var(--paper-rule); color:var(--paper-ink); padding:10px 12px; }
.checkout .xsell-card:hover, .checkout .xsell-card:focus-visible { border-color:var(--wine); background:#fbf6ec; }
.checkout .xsell-kicker, .checkout .xsell-go { color:var(--wine); }
.checkout .xsell-ship, .checkout .xsell-anchor { color:var(--paper-muted); }
.checkout .xsell-anchor b { color:var(--paper-ink); }
@media (max-width: 480px) {
  .xsell-card:has(.xsell-pic) { grid-template-columns:88px minmax(0, 1fr); gap:10px; }
  .xsell-pic img { width:88px; }
  .xsell-title { font-size:18px; }
}
