/* CoverTree Rewards — the store page and one item's page (agent.html only; the kit is css/shop.css).
   Big cards on a calm grid, words for everything, nothing that scrolls sideways or hides behind a hover. */

/* ───────── pictures: one light ground, the picture contained, a line drawing when there is none ───────── */
.sh-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--photo); overflow: hidden; }
.sh-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sh-ph__glyph { width: 40%; height: 40%; fill: none; stroke: var(--photo-ink); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── the store page ───────── */
/* hello, your points in a sentence, and the search */
.sh-hero { display: grid; gap: 1.25rem 2.5rem; padding: 1.4rem 1.25rem; border-radius: var(--r-lg); background: var(--soft); }
.sh-hero__say { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.sh-hero__hi { font-size: 1.1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.sh-hero__bal { font-size: clamp(1.45rem, 1.05rem + 1.9vw, 2.15rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.sh-hero__bal .muted { font-weight: 500; }
.sh-hero__bal .btn { vertical-align: middle; letter-spacing: 0; }
.sh-hero__n { color: var(--brand-ink); white-space: nowrap; font-weight: 700; }
/* a phone with larger text: "12,500 points" may break onto two lines rather than push the page sideways */
@media (max-width: 30em) { .sh-hero__n { white-space: normal; } }
.sh-hero__sub { color: var(--ink-2); font-size: 1.05rem; }
.sh-hero__all { margin-top: 0.6rem; }
.sh-hero__all:empty { display: none; }
.sh-search { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
/* the box keeps at least 11rem to show what is typed: where that and Search do not fit side by side (a phone with larger
   text), Search goes under it. Both sizes are in rem, so the break follows the Text size (a media query's em would not). */
.sh-search { container-type: inline-size; }
.sh-search__row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sh-search__row .input { flex: 1 1 11rem; min-width: 0; background: var(--bg); }
.sh-search__row .btn { flex: none; }
/* stacked: the box keeps its own height (its 11rem is a width to ask for in a row, never a height in a column) */
@container (max-width: 20rem) { .sh-search__row { flex-direction: column; } .sh-search__row .input { flex: none; width: 100%; } .sh-search__row .btn { width: 100%; } }
@media (min-width: 56em) { .sh-hero { padding: 2rem 2.25rem; } }
@media (min-width: 68em) { .sh-hero { grid-template-columns: minmax(0, 1.5fr) minmax(19rem, 1fr); align-items: end; } }
@media (min-width: 40em) and (max-width: 67.99em) { .sh-search { max-width: 34rem; } }
@media (max-width: 39.99em) { .sh-search__row .btn { padding-inline: 1.1rem; } .sh-hero__sub { font-size: 1rem; } }
.sh-alerts { margin-top: 1rem; }
.sh-alerts:empty { display: none; }

/* ───────── the shop: the menu and the items ─────────
   One markup, laid out two ways. The page column's own width decides (in rem, so a larger Text size keeps the same
   proportions):
   - a wide page (the column is 54rem or more: a laptop or a desktop) is a shop's two columns. The menu is on the left,
     one choice under another, always open, and stays in view while the items scroll; the sections staff arranged and
     the items are on the right, three across;
   - a narrower page (a phone, a tablet, a small window) is one column. Under the search there is one button, "Shop by
     category", that says what is on and opens the same choices as a dialog (js/shop/store.js); then the sections
     staff arranged, then the items. No block of choices sits between the search and the items.
   The menu comes first in the markup on both, so the keyboard and a screen reader meet it before the items. */
.sh-store { --sh-top: calc(var(--sv-h) + 1rem); }
/* where the header stays at the top of the window (css/shop.css: a wide screen at the usual text size), the menu stops
   under it */
@media (min-width: 75em) { html:not([data-text]) .sh-store { --sh-top: calc(var(--head-h) + var(--sv-h) + 1rem); } }
.sh-body { container: shop / inline-size; }
.sh-shop { display: flex; flex-direction: column; margin-top: 1.25rem; }
.sh-main { min-width: 0; }

/* the menu. It is drawn both ways at once: the button that opens it (a narrow page) and the open lists (a wide page) */
.sh-side { display: flex; flex-direction: column; gap: 1.25rem; margin: 0 0 1.75rem; }
.sh-side:empty { display: none; }
/* narrow: one obvious button under the search. It says what is on, so nothing is narrowed out of sight while the menu
   is shut; never wider than a hand's reach on a tablet */
.sh-side__open { display: flex; align-items: center; gap: 0.85rem; width: 100%; max-width: 30rem; min-height: 3.75rem; padding: 0.55rem 1.1rem; border: 2px solid var(--brand); border-radius: var(--r-lg); background: var(--bg); color: var(--ink); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color 0.15s; }
.sh-side__open:hover { background: var(--brand-soft); }
.sh-side__open > .icon { color: var(--brand-ink); }
.sh-side__open > .icon:first-child { width: 1.6rem; height: 1.6rem; }
.sh-side__open-t { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.sh-side__open-t b { font-size: 1.1rem; font-weight: 700; }
.sh-side__now { color: var(--ink-2); font-size: 0.95rem; }
/* the open lists wait for a wide page; alone (no button: at most the tick box) they show on any */
.sh-side__open + .sh-side__all { display: none; }
.sh-side__all { display: flex; flex-direction: column; gap: 1.6rem; }
/* while the store loads: the button's shape on a narrow page, the lists' on a wide one */
.sh-side--skel .sh-skel-row { height: 3.75rem; max-width: 30rem; border-radius: var(--r-lg); }
.sh-side--skel .sh-skel-row + .sh-skel-row { display: none; }
/* the choices, one under another: its name on the left, how many on the right; the one that is on wears the brand's bar */
.sh-find__t { margin-bottom: 0.4rem; font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
.sh-chips { display: flex; flex-direction: column; gap: 0.15rem; }
.sh-chip { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; width: 100%; min-height: 2.75rem; padding: 0.35rem 0.9rem; border-radius: var(--r); color: var(--ink); font-weight: 500; text-decoration: none; }
.sh-chip:hover { background: var(--soft); color: var(--ink); }
.sh-chip.is-on { background: var(--brand-soft); color: var(--ink); font-weight: 700; box-shadow: inset 0.22rem 0 0 var(--brand); }
.sh-chip__n { font-size: 0.9rem; font-weight: 500; color: var(--ink-3); }
.sh-chip.is-on .sh-chip__n { color: var(--ink-2); }
.sh-find__can { font-weight: 500; }
/* the same choices in the narrow page's dialog: taller rows for a finger, a line between them */
.sh-shopmenu { display: flex; flex-direction: column; gap: 1.25rem; }
.sh-shopmenu .sh-chips { gap: 0; }
.sh-shopmenu .sh-chip { min-height: 3.4rem; padding: 0.5rem 0.9rem; border-top: 1px solid var(--line); border-radius: 0; font-size: 1.1rem; font-weight: 600; }
.sh-shopmenu .sh-chips > .sh-chip:first-child { border-top: 0; }
.sh-shopmenu .sh-chip.is-on { font-weight: 700; }
.sh-shopmenu .sh-find__t { color: var(--ink-2); }
.sh-shopmenu .sh-find__can { padding-top: 0.5rem; border-top: 1px solid var(--line); }
/* the sections staff arranged, a line, then the list */
.sh-secs:not(:empty) + .sh-list { padding-top: 2.25rem; border-top: 1px solid var(--line); }
/* wide: the menu beside the items */
@container shop (min-width: 54rem) {
  .sh-shop { display: grid; grid-template-columns: 14.5rem minmax(0, 1fr); column-gap: 2.5rem; align-items: start; margin-top: 2.25rem; }
  .sh-main { grid-column: 2; grid-row: 1; }
  .sh-side:empty + .sh-main { grid-column: 1 / -1; }
  /* it stays in view under the header while the items scroll. A menu taller than the window (a small laptop, many
     categories) moves with the page between its first line and its last instead: js/shop/store.js says where it stops
     as --sh-side-top, and reads the stop under the header from scroll-margin-top (the same length, in pixels) */
  .sh-side { grid-column: 1; grid-row: 1; position: sticky; top: var(--sh-side-top, var(--sh-top)); scroll-margin-top: var(--sh-top); margin: 0; }
  /* always open here: no button */
  .sh-side__open { display: none; }
  .sh-side__open + .sh-side__all { display: flex; }
  .sh-side .sh-find__t { padding-inline: 0.9rem; }
  .sh-side .sh-find__can { padding: 1rem 0.9rem 0; border-top: 1px solid var(--line); }
  /* alone in the menu (a search that leaves one category): no line over it */
  .sh-side .sh-find__can:first-child { padding-top: 0; border-top: 0; }
  .sh-side--skel { gap: 0.5rem; }
  .sh-side--skel .sh-skel-row { height: 2.5rem; max-width: none; border-radius: var(--r); }
  .sh-side--skel .sh-skel-row + .sh-skel-row { display: block; }
  /* three across beside the menu; a section's row that is cut short shows one whole row */
  .sh-main .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sh-main .sh-grid--cut > li:nth-child(n+4) { display: none; }
}
.sh-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; }
.sh-sort .select { width: auto; min-width: 15rem; }
/* a phone: the label over the list, as every other field, so the chosen order has the whole width to show in */
@media (max-width: 30em) { .sh-sort { width: 100%; flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0.4rem; } .sh-sort .label { flex: none; } .sh-sort .select { width: 100%; min-width: 0; } }
.sh-picked { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; }
.sh-picked__it { display: inline-flex; align-items: center; gap: 0.15rem; padding: 0.1rem 0.25rem 0.1rem 1rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--soft); }

/* the sections staff arranged */
.sh-secs { display: flex; flex-direction: column; gap: 2.75rem; margin: 0 0 3rem; }
.sh-secs:empty { display: none; }
.sh-sec__head { margin-bottom: 1rem; }
.sh-sec__sub { margin-top: 0.2rem; color: var(--ink-2); }
.sh-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.sh-tile { display: flex; align-items: center; gap: 0.9rem; min-height: 5.2rem; padding: 0.6rem 1rem 0.6rem 0.6rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); color: var(--ink); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.sh-tile:hover { border-color: var(--edge); box-shadow: var(--shadow); color: var(--ink); }
.sh-tile__pic { flex: none; width: 4rem; height: 4rem; border-radius: var(--r); overflow: hidden; }
.sh-tile__t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sh-banner__link { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--soft); color: var(--ink); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.sh-banner__link:hover { border-color: var(--edge); box-shadow: var(--shadow); color: var(--ink); }
.sh-banner__pic { display: block; aspect-ratio: 4 / 3; background: var(--photo); }
.sh-banner__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1.4rem 1.25rem 1.6rem; }
.sh-banner__kicker { color: var(--brand-ink); font-weight: 600; }
.sh-banner__cta { margin-top: 0.6rem; }
@media (min-width: 48em) { .sh-banner__link { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); align-items: center; } .sh-banner__pic { aspect-ratio: 1; } .sh-banner__body { padding: 2rem 2.25rem; } }

/* the list's first line: its name and how many on the left, Sort by on the right; anything else it is narrowed by (a
   search, a link from staff) on a line of its own under them, each with its Remove */
.sh-list__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem; margin-bottom: 1.1rem; }
.sh-list__top > .sh-list__head { justify-content: flex-start; gap: 0.15rem 0.9rem; margin-bottom: 0; }
.sh-tools { display: contents; }
.sh-tools__picked { flex: 1 0 100%; }
/* the items: two across on a phone, three on a tablet and beside the menu, four on a wide page with no menu */
.sh-list__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem; margin-bottom: 1rem; }
.sh-list__head--sub { margin-top: 2.75rem; }
.sh-list__n { color: var(--ink-2); }
.sh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
@media (max-width: 20.99em) { .sh-grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 40em) { .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 75em) { .sh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
/* a section's row that is cut short shows whole rows: three across, the fourth card waits for "Show all" */
@media (min-width: 40em) and (max-width: 74.99em) { .sh-grid--cut > li:nth-child(n+4) { display: none; } }
.sh-card { display: flex; min-width: 0; }
.sh-card__link { display: flex; flex-direction: column; width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); color: var(--ink); text-decoration: none; overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.sh-card__link:hover { border-color: var(--edge); box-shadow: var(--shadow); color: var(--ink); }
.sh-card__link:focus-visible { border-radius: var(--r-lg); }
.sh-card__pic { display: block; aspect-ratio: 1; background: var(--photo); }
.sh-card__body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 0.3rem; padding: 0.85rem 0.85rem 0.95rem; }
.sh-card__name { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.sh-card__pts { font-size: 1rem; color: var(--ink); }
.sh-card__pts b { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
.sh-card__from { color: var(--ink-2); }
.sh-card__more { color: var(--ink-2); font-size: 0.9rem; }
/* how close: a bar on every card an agent could order from. With a policy's points known it is cut into one piece for
   each policy the item takes (js/shop/store-view.js meterOf): the points fill it from the left, and the empty pieces
   are roughly the policies still to sell. In reach: one whole piece, lit. Each piece says how full it is in --f; where
   the browser can move a number like that, the bar fills as the card arrives, one piece after another */
@property --f { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.sh-meter { --meter-rest: color-mix(in srgb, var(--ink) 11%, var(--bg)); display: flex; gap: 0.22rem; width: 100%; max-width: 24rem; height: 0.6rem; margin: 0.45rem 0 0.15rem; }
.sh-meter__seg { flex: 1 1 0; min-width: 0; border-radius: var(--r-pill); background: linear-gradient(90deg, transparent var(--f, 0%), var(--meter-rest) var(--f, 0%)), linear-gradient(180deg, color-mix(in srgb, var(--brand) 78%, #ffffff), var(--brand)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent); animation: sh-meter-in 0.75s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes sh-meter-in { from { --f: 0%; } }
.sh-meter.is-done .sh-meter__seg { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent); }
.sh-card__note { display: inline-flex; align-items: flex-start; gap: 0.3rem; color: var(--ink-2); font-size: 0.9rem; font-weight: 500; line-height: 1.35; }
/* not yet: the policies to go in the card's own ink, the points under them */
.sh-card__note--go { flex-direction: column; gap: 0; }
.sh-card__note--go b { color: var(--ink); font-weight: 600; }
.sh-card__short { font-weight: 400; }
.sh-card__note .icon { margin-top: 0.05em; }
.sh-card__note--ok { color: var(--ok); font-weight: 600; }
.sh-card__note--out { color: var(--bad); font-weight: 600; }
.sh-card__body > .sh-card__cta { margin-top: auto; }
.sh-card__body > :nth-last-child(2) { margin-bottom: 0.55rem; }
.sh-card__link:hover .sh-card__cta { background: var(--soft); border-color: var(--ink); }
.sh-card.is-out .sh-img { opacity: 0.5; }
@media (min-width: 40em) { .sh-card__body { padding: 1rem 1.1rem 1.15rem; } .sh-card__name { font-size: 1.05rem; } }
.sh-card--skel { flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sh-card--skel .sh-card__pic { border-radius: 0; }
.sh-skel-line { height: 1.1rem; width: 85%; }
.sh-skel-line--short { width: 45%; }
.sh-more { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin-top: 1.75rem; }
.sh-none { margin-top: 0.5rem; }

/* how the store works: three steps */
.sh-how { margin-top: 3.5rem; padding: 1.5rem 1.25rem; border-radius: var(--r-lg); background: var(--soft); }
.sh-how__t { font-size: 1.25rem; }
.sh-how__list { display: grid; gap: 1.25rem; margin-top: 1.15rem; }
.sh-how__list li { display: flex; align-items: flex-start; gap: 0.9rem; }
.sh-how__list li div { display: flex; flex-direction: column; gap: 0.15rem; }
.sh-how__list li span { color: var(--ink-2); }
.sh-how__n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--brand); color: var(--on-brand) !important; font-weight: 700; }
@media (min-width: 56em) { .sh-how { padding: 2rem 2.25rem; } .sh-how__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

/* ───────── one item's page ───────── */
.sh-item__cols { display: grid; gap: 1.5rem 3rem; margin-top: 0.25rem; }
@media (min-width: 56em) { .sh-item__cols { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
/* the photos: one big one, words under it for the others */
.sh-gal { min-width: 0; }
.sh-gal__stage { position: relative; aspect-ratio: 1; max-height: 78vh; border-radius: var(--r-lg); overflow: hidden; background: var(--photo); }
.sh-gal__flag { position: absolute; top: 0.9rem; left: 0.9rem; background: var(--bg); color: var(--bad); }
.sh-gal__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.75rem; }
.sh-gal__count { color: var(--ink-2); text-align: center; }
/* a phone: "Photo 1 of 3" on its own line, Previous and Next side by side under it */
@media (max-width: 39.99em) { .sh-gal__count { order: -1; flex: 1 0 100%; } .sh-gal__nav .btn { flex: 1 1 0; } }
.sh-gal__thumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.75rem; }
.sh-gal__thumb { display: block; width: 4.4rem; height: 4.4rem; padding: 0; border: 2px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--photo); cursor: pointer; }
.sh-gal__thumb:hover { border-color: var(--edge); }
.sh-gal__thumb.is-on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
/* pulled back by its own side padding (.btn--sm's 1.1rem), so its words line up with the photo's edge */
.sh-gal__zoom { margin-top: 0.4rem; margin-left: -1.1rem; }
.sh-zoom__stage { aspect-ratio: 1; max-height: 68vh; margin-inline: auto; border-radius: var(--r); overflow: hidden; background: var(--photo); }

/* the name, the points, the choices, the button */
.sh-buy { min-width: 0; }
.sh-buy__cat { margin-top: 0.35rem; color: var(--ink-2); }
.sh-buy__pts { margin: 0.9rem 0 1.4rem; font-size: 1.2rem; }
.sh-buy__n { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.sh-buy__from { color: var(--ink-2); }
.sh-buy__hint { display: block; margin-top: 0.3rem; color: var(--ink-2); font-size: 0.9rem; }
.sh-buy__box { --gap: 1.35rem; }
.sh-opt__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; }
.sh-opt__picked { font-weight: 500; color: var(--ink-2); }
.sh-opt__ask { font-weight: 500; color: var(--warn); }
.sh-opt__guide { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; }
.sh-opt__list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.sh-opt__v { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 3.5rem; min-height: var(--tap); padding: 0.4rem 1rem; border: 2px solid var(--edge); border-radius: var(--r); background: var(--bg); color: var(--ink); font-weight: 600; line-height: 1.2; cursor: pointer; }
.sh-opt__v:hover:not([disabled]) { border-color: var(--ink); background: var(--soft); }
.sh-opt__v[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.sh-opt__v.is-na { border-style: dashed; }
.sh-opt__v[disabled] { border-style: dashed; border-color: var(--line); background: var(--sunk); color: var(--ink-3); cursor: not-allowed; }
.sh-opt__v[disabled] .sh-opt__t { text-decoration: line-through; }
.sh-opt__out { font-size: 0.9rem; font-weight: 500; }
/* the tick on the chosen one sits on its corner, so choosing never moves the buttons beside it */
.sh-opt__on { position: absolute; top: -0.55rem; right: -0.55rem; display: inline-flex; align-items: center; justify-content: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--brand); color: var(--on-brand); }
.sh-opt__on .icon { width: 0.85rem; height: 0.85rem; stroke-width: 3.2; }
.sh-opt__dot { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--sw, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 28%, transparent), 0 0 0 1px color-mix(in srgb, var(--bg) 50%, transparent); }
.sh-opt__dot--none { display: none; }
.sh-opt.has-error .sh-opt__list { outline: 3px solid var(--bad); outline-offset: 6px; border-radius: var(--r); }
.sh-qty { display: inline-flex; align-items: center; width: max-content; border: 2px solid var(--edge); border-radius: var(--r-pill); background: var(--bg); }
.sh-qty__b { display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.sh-qty__b:hover:not([aria-disabled="true"]):not(:disabled) { background: var(--sunk); }
/* at either end the button looks unavailable: the item page keeps it where the keyboard is (aria-disabled), the cart
   turns it off (disabled) */
.sh-qty__b[aria-disabled="true"], .sh-qty__b:disabled { color: var(--ink-3); opacity: 0.45; cursor: not-allowed; }
.sh-qty__n { min-width: 3rem; text-align: center; font-size: 1.25rem; font-weight: 700; }
.sh-qty__total { font-size: 1.05rem; }
.sh-buy__reason, .sh-buy__incart, .sh-buy__ship { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--ink-2); }
.sh-buy__reason .icon, .sh-buy__incart .icon, .sh-buy__ship .icon { margin-top: 0.1em; }
.sh-buy__reason { color: var(--ink); font-weight: 500; }
.sh-buy__ship { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.sh-added:focus-visible, .sh-buy__fail:focus-visible { outline-offset: 4px; }

/* everything known about the item, open on the page */
.sh-about { display: flex; flex-direction: column; gap: 1.4rem; max-width: 50rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.sh-about__text { display: flex; flex-direction: column; gap: 0.9rem; font-size: 1.05rem; line-height: 1.6; }
.sh-about__block { display: flex; flex-direction: column; gap: 0.6rem; }
.sh-ticks { display: flex; flex-direction: column; gap: 0.45rem; }
.sh-ticks li { display: flex; align-items: flex-start; gap: 0.6rem; }
.sh-ticks .icon { margin-top: 0.12em; color: var(--ok); }
.sh-specs > div { display: grid; grid-template-columns: minmax(6rem, 10rem) minmax(0, 1fr); gap: 1rem; padding: 0.75rem 0; border-top: 1px solid var(--line); }
.sh-specs > div:last-child { border-bottom: 1px solid var(--line); }
.sh-specs dt { color: var(--ink-2); }
.sh-table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.sh-table { width: 100%; font-variant-numeric: tabular-nums; }
.sh-table th, .sh-table td { padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; font-weight: 400; }
.sh-table thead th { background: var(--soft); font-weight: 600; }
.sh-table tbody th { font-weight: 600; }
.sh-table tbody tr:last-child th, .sh-table tbody tr:last-child td { border-bottom: 0; }
