/* Customer-facing layout. Colour/type tokens live in styles.css. */
/* Anything marked hidden stays hidden, whatever display a class gives it. */
[hidden] { display: none !important; }

:root { --dot: #E0413A; --shadow: 0 18px 50px -20px rgba(15, 21, 29, .45); }

/* ---------- buttons & forms ---------- */
.button, button { font: 700 15px var(--body); padding: 11px 18px; border: 0; border-radius: var(--radius); cursor: pointer; background: var(--seal); color: #fff; text-decoration: none; display: inline-block; text-align: center; }
button:disabled { opacity: .5; cursor: not-allowed; }
.button.secondary, button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--edge); }
button.danger { background: #B3261E; }
button.link { background: none; color: var(--seal); padding: 0; font-weight: 400; text-decoration: underline; }
.stack { display: grid; gap: 14px; }
.field { display: grid; gap: 4px; font-size: 14px; }
.field > span { font-weight: 700; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field select { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--edge); border-radius: 8px; background: var(--surface); color: var(--ink); width: 100%; }
.field input.locked { background: var(--bg); color: var(--muted); cursor: not-allowed; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mono { font-family: var(--mono); }
h2, .h2 { font: 700 22px var(--display); margin: 32px 0 12px; }
.notice { margin: 0 0 20px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--surface); }
.notice.ok { border-left: 4px solid #2F8F5B; }
.notice.warn { border-left: 4px solid var(--label); }
.notice.error { border-left: 4px solid #B3261E; }
.banner { padding: 8px 24px; font-weight: 700; font-size: 14px; text-align: center; }
.banner.preview { background: var(--label); color: #16202E; }
.banner.maint { background: #B3261E; color: #fff; }
.banner a { color: inherit; }
.fine { color: var(--muted); font-size: 14px; }

/* ---------- masthead: account · title · cart ---------- */
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 22px 24px 18px; border-bottom: 1px solid var(--edge); background: var(--bg); }
.title-block { text-align: center; }
.site-title { font: 700 clamp(34px, 6vw, 64px)/1 var(--display); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.site-title span { color: var(--seal); }
.tagline { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.icon-btn { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--edge); background: var(--surface); color: var(--ink); padding: 0; cursor: pointer; }
.icon-btn:hover { border-color: var(--seal); color: var(--seal); }
.cart-btn { justify-self: end; }
.mast-left { display: flex; gap: 10px; justify-self: start; }
.cart-dot { position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px; background: var(--dot); color: #fff; font: 700 12px/21px var(--body); text-align: center; box-shadow: 0 0 0 2px var(--bg); }

/* ---------- account side panel ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(15, 21, 29, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.drawer { position: fixed; z-index: 41; top: 0; bottom: 0; left: 0; width: min(340px, 86vw); background: var(--surface); box-shadow: var(--shadow); padding: 64px 22px 22px; display: flex; flex-direction: column; gap: 12px; transform: translateX(-102%); transition: transform .22s ease; }
.drawer[hidden], .drawer-backdrop[hidden] { display: none; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; }
body.drawer-open { overflow: hidden; }
.drawer-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 24px; line-height: 1; padding: 0; }
.drawer-who { color: var(--muted); margin: 0 0 8px; }
.drawer-who strong { color: var(--ink); word-break: break-all; }
.drawer-btn { width: 100%; padding: 14px; font-size: 16px; }
.drawer-link { display: block; padding: 14px 4px; border-bottom: 1px solid var(--edge); color: var(--ink); text-decoration: none; font: 700 18px var(--display); }
.drawer-link:hover { color: var(--seal); }
.drawer-foot { margin-top: auto; }
.drawer-foot button { width: 100%; }

/* ---------- page frame ---------- */
main { max-width: 1280px; margin: 0 auto; padding: 0 24px 64px; }
main.wide { max-width: none; }
.intro { padding: 32px 0 20px; }
.intro h1 { font: 700 clamp(28px, 4vw, 44px)/1.05 var(--display); letter-spacing: -0.02em; margin: 0 0 8px; }
.narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
.prose p, .prose li { max-width: 65ch; }
.empty { padding: 32px 0; color: var(--muted); }

/* ---------- shop: filters | results ---------- */
.browse { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 0; padding-top: 28px; align-items: stretch; }
.filters-toggle { display: none; }
.filters { align-self: start; position: sticky; top: 16px; display: grid; padding-right: 24px; }
.filters-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--edge); }
.filters-head p { margin: 0; font: 700 20px var(--display); }
.reset-filters { font-size: 14px; font-weight: 700; color: var(--seal); }
.reset-filters.is-idle { color: var(--muted); font-weight: 400; pointer-events: none; text-decoration: none; }
.filter { padding: 14px 0; border-bottom: 1px solid var(--edge); }
.filter > summary, .filter-title { font: 700 16px var(--display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; margin: 0; }
.filter > summary::-webkit-details-marker { display: none; }
.filter > summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .15s; }
.filter[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.filter-body { display: grid; gap: 6px; margin-top: 10px; }
.check { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--seal); }
.check small { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.price-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin-top: 10px; }
.price-row input, .set-search { font: inherit; font-size: 15px; width: 100%; padding: 8px 10px; border: 1px solid var(--edge); border-radius: 8px; background: var(--bg); color: var(--ink); }
.set-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.set-results button { width: 100%; background: none; color: var(--ink); padding: 7px 8px; border-radius: 6px; text-align: left; font-weight: 400; display: grid; }
.set-results button:hover, .set-results button:focus-visible { background: var(--bg); }
.set-results small { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.set-results .none { color: var(--muted); font-size: 14px; padding: 6px 8px; }
.chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { display: inline-flex; align-items: center; gap: 4px; background: var(--label); color: #16202E; border-radius: 99px; padding: 3px 4px 3px 10px; font-size: 13px; font-weight: 700; }
.chips button { background: rgba(0, 0, 0, .12); color: inherit; width: 22px; height: 22px; padding: 0; border-radius: 50%; line-height: 1; }
.clear { font-size: 14px; padding: 2px 4px; }

.results { min-width: 0; padding-left: 32px; border-left: 1px solid var(--edge); }
.search-hint { display: block; font: 700 22px var(--display); margin-bottom: 10px; }
.searchbar { display: flex; }
.searchbar input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 13px 16px; border: 1px solid var(--edge); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--surface); color: var(--ink); }
.searchbar button { border-radius: 0 var(--radius) var(--radius) 0; padding: 0 22px; }
.reset-search { width: 50px; margin-left: 8px; display: grid; place-items: center; border: 1px solid var(--edge); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.reset-search:hover { color: var(--seal); border-color: var(--seal); }
.corrected { margin: 10px 0 0; color: var(--muted); }
.results .count { margin: 12px 0 14px; }
/* Column counts that divide every page size (40/60/80/100) so pages end on full rows. */
.results .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1180px) { .results .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.list-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 32px; }
.list-foot .pager { grid-column: 2; }
.list-foot .per-page { grid-column: 3; justify-self: end; }
.pager { display: flex; gap: 6px; align-items: center; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; text-decoration: none; color: var(--ink); font: 600 15px var(--mono); padding: 0 6px; }
.pager a:hover { background: var(--surface); }
.pager .current { border: 2px solid var(--seal); color: var(--seal); background: var(--surface); }
.pager .off { color: var(--edge); }
.pager .gap { color: var(--muted); letter-spacing: 1px; }
.per-page { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.per-page select { font: inherit; color: var(--ink); padding: 6px 8px; border: 1px solid var(--edge); border-radius: 8px; background: var(--surface); }

/* ---------- card page ---------- */
.crumbs { padding: 24px 0 8px; font-size: 14px; color: var(--muted); }
.scan.zoomable { padding: 10px; border: 1px solid var(--edge); background: var(--surface); border-radius: var(--radius); cursor: zoom-in; display: block; width: 100%; }
.scan.zoomable img { width: 100%; height: auto; display: block; border-radius: 4px; }
.scans.one { grid-template-columns: 1fr; max-width: 560px; }
.qty { display: grid; grid-template-columns: auto 90px 1fr; gap: 10px; align-items: center; font-weight: 700; margin-bottom: 12px; }
.qty input { font: 600 16px var(--mono); padding: 8px 10px; border: 1px solid var(--edge); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; }
.qty small { color: var(--muted); font-weight: 400; }
.facts dd a { color: var(--seal); }
.suggested { margin-top: 40px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 12, 18, .92); }
.lightbox img { display: block; max-width: 96vw; max-height: 94vh; margin: 3vh auto 0; object-fit: contain; cursor: zoom-out; }
.lightbox-x { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; padding: 0; background: rgba(255, 255, 255, .15); }

/* ---------- cart & checkout ---------- */
.cart, .order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); padding: 10px 14px 10px 10px; }
.line img { width: 72px; height: 96px; object-fit: cover; border-radius: 4px; display: block; }
.noscan.mini { width: 72px; height: 96px; display: block; }
.line-main { display: grid; gap: 4px; min-width: 0; }
.line-name { font-weight: 700; color: var(--ink); text-decoration: none; }
.line-meta { font: 12px var(--mono); color: var(--muted); }
.line-end { display: grid; grid-template-columns: auto auto; column-gap: 18px; align-items: baseline; }
.line-price { font: 600 16px var(--mono); text-align: right; }
.line-end form { line-height: 1; }
.line-each { grid-column: 1; text-align: right; font: 400 11px var(--mono); color: var(--muted); }
.summary { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; position: sticky; top: 16px; }
.summary p { display: flex; justify-content: space-between; gap: 12px; margin: 0; }
.summary p.fine, .summary p.eyebrow { display: block; }
.summary .total { border-top: 1px solid var(--edge); padding-top: 10px; font-size: 18px; }
.summary .button, .summary button { width: 100%; }
.summary small { color: var(--muted); font-size: 12px; }
.hold-timer { margin: 0; padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, var(--label) 30%, var(--surface)); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.hold-timer strong { font: 700 18px var(--mono); }
.hold-timer.low { background: color-mix(in srgb, #E0413A 18%, var(--surface)); }
.summary p.hold-expired { margin: 0; display: block; }
.mini-lines { list-style: none; margin: 0 0 6px; padding: 0 0 10px; border-bottom: 1px solid var(--edge); display: grid; gap: 6px; font-size: 14px; }
.mini-lines li { display: flex; justify-content: space-between; gap: 10px; }
.mini-lines small { display: block; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.checkout-main { display: grid; gap: 20px; }
fieldset { border: 1px solid var(--edge); border-radius: var(--radius); padding: 16px 18px 20px; margin: 0; display: grid; gap: 14px; background: var(--surface); }
/* Floated, so the heading sits inside the box as a normal first row instead of
   straddling the top border half in, half out (owner, 2026-10-28). */
legend { float: left; width: 100%; font: 700 18px var(--display); padding: 0; margin: 0; }
address { font-style: normal; line-height: 1.6; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; }
.choice-card { background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; }
.choice-card h2 { margin: 0; }
.choice-card p { margin: 0; }

/* country picker */
.field { position: relative; }
.field select.combo-native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; overflow: hidden; clip-path: inset(50%); }
.combo { position: relative; }
.combo-btn { width: 100%; text-align: left; font: 400 16px var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--edge); border-radius: 8px; padding: 10px 36px 10px 12px; position: relative; }
.combo-btn::after { content: ''; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); }
.combo-panel { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: var(--surface); border: 1px solid var(--edge); border-radius: 10px; box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.combo-panel[hidden] { display: none; }
.combo-search { font: inherit; font-size: 15px; padding: 9px 10px; border: 1px solid var(--edge); border-radius: 8px; background: var(--bg); color: var(--ink); flex: none; }
.combo-list { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; }
.combo-list li { padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.combo-list li.active, .combo-list li:hover { background: var(--bg); }
.combo-list li[aria-selected="true"] { font-weight: 700; color: var(--seal); }
.combo-list li.none { color: var(--muted); cursor: default; }

/* ---------- orders & account ---------- */
.steps { list-style: none; display: flex; padding: 0; margin: 0 0 24px; }
.steps li { flex: 1; padding: 10px 12px; border-top: 4px solid var(--edge); color: var(--muted); font-weight: 700; font-size: 14px; }
.steps li.done { border-color: var(--seal); color: var(--ink); }
.tracking { background: var(--surface); border: 1px solid var(--edge); border-left: 4px solid var(--seal); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 24px; }
.tracking p { margin: 2px 0; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.timeline time { font: 12px var(--mono); color: var(--muted); margin-right: 8px; }
.rates { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; }
.rates th, .rates td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--edge); }
.rates th { font-size: 13px; color: var(--muted); }
.account-actions { display: flex; gap: 20px; align-items: start; margin-top: 32px; flex-wrap: wrap; }
.maint-page { display: grid; place-items: center; min-height: 100vh; text-align: center; padding: 16px; }
.maint-page .brand { display: block; margin-bottom: 24px; }

/* ---------- footer ---------- */
.foot { margin: 0; padding: 28px 24px 40px; border-top: 1px solid var(--edge); display: grid; gap: 12px; }
.foot-track { font: 700 20px var(--display); color: var(--ink); text-decoration: none; }
.foot-track:hover { color: var(--seal); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--seal); text-decoration: underline; }
.foot-note { color: var(--muted); font-size: 13px; margin: 8px 0 0; }

/* ---------- phones & small tablets ---------- */
@media (max-width: 860px) {
  .masthead { padding: 14px 14px 12px; gap: 8px; }
  .mast-left { gap: 6px; }
  .icon-btn { width: 40px; height: 40px; }
  .site-title { font-size: 28px; }
  main { padding: 0 16px 48px; }
  .browse { grid-template-columns: 1fr; gap: 14px; padding-top: 18px; }
  .filters-toggle { display: block; justify-self: start; }
  .filters { display: none; position: static; padding-right: 0; }
  .results { padding-left: 0; border-left: 0; }
  .browse.filters-open .filters { display: grid; }
  .results .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cart, .order-grid, .checkout, .choice { grid-template-columns: 1fr; }
  .summary { position: static; }
  .line { grid-template-columns: 56px 1fr; }
  .line-end { grid-column: 2; justify-content: space-between; }
  .line img, .noscan.mini { width: 56px; height: 75px; }
  .card-page { grid-template-columns: 1fr; }
  .list-foot { grid-template-columns: 1fr; justify-items: center; }
  .list-foot .pager, .list-foot .per-page { grid-column: 1; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-backdrop { transition: none; } }
/* Shipping page: the international grid scrolls sideways inside its own box on
   a phone instead of widening the page. */
.ship-block { margin: 24px 0; }
.ship-block h2 { margin: 0 0 10px; }
.rates-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.rates-grid { min-width: 860px; }
.rates-grid td { vertical-align: top; font-size: 14px; }
.rates-grid td.where { min-width: 170px; }
.rates-grid .muted { font-size: 12px; }
.rates details summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.rates details p { margin: 6px 0 0; max-width: 260px; }
/* Checkout delivery options: the recommended service ticked, cheaper ones below;
   picking a cheaper one reveals the waiver the buyer must tick. */
.ship-options { border: 1px solid var(--edge); border-radius: var(--radius); padding: 8px 12px; margin: 6px 0 10px; }
.ship-options legend { font-size: 13px; color: var(--muted); padding: 0 4px; }
.ship-option { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; font-size: 14px; cursor: pointer; }
.ship-option em { font-style: normal; font-size: 12px; color: var(--muted); }
.ship-option small { color: var(--muted); }
/* Warning pop-up from CRM → Studio. */
.site-notice { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgb(0 0 0 / 55%); }
.site-notice[hidden] { display: none; }
.site-notice-box { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--edge); border-top: 4px solid var(--label); border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 20px 60px rgb(0 0 0 / 45%); }
.site-notice-title { font: 700 18px var(--display); margin: 0 0 8px; }
.site-notice-box button { margin-top: 12px; width: 100%; }
/* Shipping grid cells: the service, then its price in the brand colour. */
.rates .svc { display: block; font-size: 13px; color: var(--ink); }
.rates .ship-price { display: block; font-size: 16px; font-weight: 700; color: var(--seal); }
.rates .ship-price small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
/* Brand header: SealsDeals blue bar; "Seals" and "TCG" in ink, "Deals" in white. */
.masthead { background: var(--seal); border-bottom: 0; }
.site-title { color: var(--ink); }
.site-title span { color: #fff; }
.masthead .icon-btn { border-color: transparent; }
/* Checkout: the "cheaper delivery is at your own risk" pop-up. */
.ship-risk { width: min(440px, calc(100% - 32px)); border: 1px solid var(--edge); border-top: 4px solid #B3261E; border-radius: var(--radius); padding: 20px 22px; background: var(--surface); color: var(--ink); }
.ship-risk::backdrop { background: rgb(0 0 0 / 55%); }
.ship-risk-title { font: 700 18px var(--display); margin: 0 0 8px; }
.ship-risk-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.summary .ship-risk p { display: block; margin: 0 0 10px; }
.summary .ship-risk .ship-risk-actions button { width: auto; flex: 1 1 160px; }

/* Favourites (card page heart, account list) and saved delivery details. */
.fav { display: grid; gap: 6px; justify-items: start; margin: 14px 0 0; }
.fav-btn { background: var(--surface); color: var(--ink); border: 1px solid var(--edge); font-weight: 700; }
.fav-btn span { color: var(--seal); font-size: 18px; line-height: 1; }
.fav-btn:hover, .fav-btn.on { border-color: var(--seal); }
.favs { margin-bottom: 8px; }
.account-details { max-width: 560px; }
.account-details button { justify-self: start; }

/* Saved cart pop-up (views/layout.tsx CartAlertBox) */
.cart-alert { position: fixed; inset: 0; z-index: 61; display: grid; place-items: center; padding: 16px; background: rgb(0 0 0 / 55%); }
.cart-alert[hidden] { display: none; }
.cart-alert-box { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border: 1px solid var(--edge); border-top: 4px solid var(--label); border-radius: var(--radius); padding: 20px 20px 16px; box-shadow: 0 20px 60px rgb(0 0 0 / 45%); }
.cart-alert-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; font-size: 26px; line-height: 1; padding: 4px 8px; color: inherit; cursor: pointer; }
.cart-alert-part + .cart-alert-part { border-top: 1px solid var(--edge); margin-top: 14px; padding-top: 14px; }
.cart-alert-title { font: 700 18px var(--display); margin: 0 28px 10px 0; }
.cart-alert-card { display: flex; gap: 12px; align-items: center; }
.cart-alert-card img { width: 48px; height: 64px; object-fit: cover; border-radius: 4px; }
.cart-alert-card div { display: grid; gap: 2px; min-width: 0; }
.cart-alert-card small { color: var(--muted, #888); }
.cart-alert-sub { margin: 14px 0 8px; font-weight: 600; }
.cart-alert-alts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cart-alert-alts li { position: relative; border: 1px solid var(--edge); border-radius: var(--radius); padding: 8px; }
.cart-alert-alt { display: grid; gap: 3px; justify-items: start; color: inherit; text-decoration: none; padding-right: 36px; }
.cart-alert-alt img { width: 60px; height: 80px; object-fit: cover; border-radius: 4px; }
.cart-alert-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.cart-alert-alt small { color: var(--muted, #888); }
.cart-alert-alts form { position: absolute; right: 8px; bottom: 8px; margin: 0; }
.cart-alert-add { display: inline-flex; align-items: center; gap: 1px; padding: 6px 8px; min-height: 36px; font-weight: 700; }
.cart-alert-end { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
/* Cart page: cards someone else is checking out with */
.cart-held { margin-bottom: 18px; }
.cart-held h2 { font-size: 17px; margin: 0 0 4px; }
.line.is-held { opacity: .75; }
.line.is-held .line-end { display: grid; gap: 6px; justify-items: end; }

/* Checkout coupon box (views/paynow.tsx) */
.offscreen { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.coupon-box { border-top: 1px dashed var(--edge); margin-top: 6px; padding-top: 10px; }
.coupon-row { display: flex; gap: 8px; align-items: flex-end; }
.coupon-row .field { flex: 1; margin: 0; }
.coupon-row input { text-transform: uppercase; }
.coupon-on { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.coupon-error { color: var(--bad, #c0392b); font-size: 14px; margin: 6px 0 0; }
.summary .discount strong { color: var(--good, #1e8e3e); }
