/* The online store — the buyer-facing surface's own sheet (loaded after tokens.css; never the hub
   shell). The tenant's logo is the brand; everything else is quiet quarry-grey chrome so the
   catalog's pictures and prices are what the eye lands on. Mobile-first: the base IS the phone. */

:root {
  --shop-bg: #eef0f2;
  --shop-surface: #ffffff;
  --shop-ink: #17191d;
  --shop-ink-soft: #5f6873;
  --shop-line: #d9dde2;
  --shop-accent: #1d4ed8;
  --shop-accent-deep: #1539a8;
  --shop-gutter: 16px;
  --shop-max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.shop {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sc-font-body);
  color: var(--shop-ink);
  background: var(--shop-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--shop-accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 2px; }

/* ---- the bar: the brand, and the account link at the far end ----------------------------- */
.shop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--shop-surface);
  border-bottom: 1px solid var(--shop-line);
  padding: 12px var(--shop-gutter);
}
.shop-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 4px;
  color: var(--shop-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--sc-text-sm);
  max-width: 40vw;
}
.shop-nav__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-nav__link:hover { color: var(--shop-accent); }
.shop-bar, .shop-main, .shop-foot { width: 100%; }
.shop-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
}
.shop-brand__logo { display: block; height: 44px; width: auto; max-width: 240px; object-fit: contain; }
.shop-brand__name {
  font-family: var(--sc-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- the page ---------------------------------------------------------------------------- */
.shop-main {
  flex: 1 0 auto;
  max-width: var(--shop-max);
  margin: 0 auto;
  padding: 20px var(--shop-gutter) 40px;
}
.shop-foot {
  max-width: var(--shop-max);
  margin: 0 auto;
  padding: 16px var(--shop-gutter) 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  font-size: var(--sc-text-xs);
  color: var(--shop-ink-soft);
}

/* ---- closed ------------------------------------------------------------------------------ */
.shop-closed {
  max-width: 34rem;
  margin: 12vh auto 0;
  text-align: left;
}
.shop-closed h1 {
  font-family: var(--sc-font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.shop-closed p { margin: 0; font-size: var(--sc-text-md); color: var(--shop-ink-soft); max-width: 40ch; }

/* ---- the catalog (the shared _Content markup, styled the store's way) -------------------- */
.cat-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin: 0 0 16px;
  font-size: var(--sc-text-sm);
}
.cat-crumbs a { display: inline-flex; align-items: center; gap: 4px; color: var(--shop-ink-soft); text-decoration: none; padding: 4px 2px; }
.cat-crumbs a:hover { color: var(--shop-ink); text-decoration: underline; }
.cat-crumbs a .material-icons { font-size: 18px; }
.cat-crumbs__sep { color: var(--shop-line); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.cat-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 10px 10px 12px;
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  text-align: left;
}
.cat-tile--cat {
  font: inherit;
  color: inherit;
  cursor: pointer;
  align-items: stretch;
  gap: 8px;
}
.cat-tile--cat:hover, .cat-tile--cat:focus-visible { border-color: var(--shop-ink); }
.cat-tile--cat .cat-tile__name { font-family: var(--sc-font-display); font-size: 1rem; }
.cat-tile__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; background: var(--shop-bg); }
.cat-tile__ph {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: var(--shop-bg);
  color: var(--shop-ink-soft);
}
.cat-tile__ph .material-icons { font-size: 36px; }
.cat-tile__name { font-size: var(--sc-text-sm); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.cat-tile__desc {
  font-size: var(--sc-text-xs);
  color: var(--shop-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-tile__link { display: inline-flex; align-items: center; gap: 4px; font-size: var(--sc-text-xs); font-weight: 600; text-decoration: none; }
.cat-tile__link:hover { text-decoration: underline; }
.cat-tile__link .material-icons { font-size: 14px; }
/* The price is the tile's one loud element: tabular figures, set apart at the foot. */
.cat-tile__price {
  margin-top: auto;
  padding-top: 6px;
  align-self: flex-end;
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.sc-empty {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 32px 0;
  color: var(--shop-ink-soft);
}
.sc-empty .material-icons { font-size: 36px; }
.sc-empty p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .cat-tile--cat { transition: border-color .15s ease; }
}

/* ---- forms: sign-in, passwords, the account pages ---------------------------------------- */
.shop-form, .shop-page { max-width: 30rem; margin: 6vh auto 0; }
.shop-page { max-width: 44rem; margin-top: 8px; }
.shop-form h1, .shop-page h1 {
  font-family: var(--sc-font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -.02em;
  margin: 0 0 6px;
}
.shop-form__lead, .shop-page__lead { margin: 0 0 20px; color: var(--shop-ink-soft); }
.shop-field { display: grid; gap: 6px; margin: 0 0 14px; }
.shop-field > span { font-size: var(--sc-text-sm); font-weight: 600; }
.shop-field input, .shop-field select, .shop-field textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--shop-line);
  border-radius: 8px;
  background: var(--shop-surface);
  color: var(--shop-ink);
  min-height: 44px;
  width: 100%;
  min-width: 0;   /* a select's longest option never widens it past its card */
}
.shop-field input:focus-visible, .shop-field select:focus-visible, .shop-field textarea:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 1px; border-color: var(--shop-accent); }
.shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--shop-accent);
  border-radius: 8px;
  background: var(--shop-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.shop-btn:hover { background: var(--shop-accent-deep); border-color: var(--shop-accent-deep); }
.shop-btn--ghost { background: transparent; color: var(--shop-ink); border-color: var(--shop-line); }
.shop-btn--ghost:hover { background: var(--shop-surface); border-color: var(--shop-ink); }
.shop-btn[disabled] { opacity: .5; cursor: default; }
.shop-form__msg { margin-top: 12px; }
.shop-form__msg:empty { display: none; }
.auth-alert { padding: 10px 12px; border-radius: 8px; font-size: var(--sc-text-sm); }
.auth-alert--error { background: #fdecec; color: #8f1d1d; }
.auth-alert--success { background: #e6f4ea; color: #1e5b2e; }
.shop-form__foot { margin: 18px 0 0; font-size: var(--sc-text-sm); }
.shop-card {
  background: var(--shop-surface);
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  padding: 16px;
  margin: 0 0 16px;
}
.shop-card h2 { font-family: var(--sc-font-display); font-size: 1.1rem; margin: 0 0 8px; }
.shop-card p { margin: 0 0 8px; }
.shop-card p:last-child { margin-bottom: 0; }
.shop-page__actions { margin-top: 20px; }

/* ---- the account bar links, people, checks --------------------------------------------- */
.shop-nav { display: flex; gap: 4px; flex: 0 1 auto; min-width: 0; }
@media (max-width: 559.98px) { .shop-nav__label { display: none; } .shop-nav__link { padding: 0 8px; } }
.shop-closed__actions { margin-top: 20px; }
.shop-check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 0 0 12px; cursor: pointer; }
.shop-check input { margin: 3px 0 0; accent-color: var(--shop-accent); width: 18px; height: 18px; }
.shop-check span { display: grid; }
.shop-check small { color: var(--shop-ink-soft); }
.shop-member { display: grid; gap: 10px; }
.shop-member.is-off { opacity: .6; }
.shop-member__who { display: grid; }
.shop-member__who span { color: var(--shop-ink-soft); font-size: var(--sc-text-sm); }
.shop-member__note { margin: 0; color: var(--shop-ink-soft); font-size: var(--sc-text-sm); }
.shop-member__flags { display: grid; }
.shop-member__flags .shop-check { margin-bottom: 8px; }
.shop-member__actions { justify-self: end; }

.shop-confirm { border: 1px solid var(--shop-line); border-radius: 12px; padding: 20px; width: min(92vw, 420px); }
.shop-confirm::backdrop { background: rgba(23, 25, 29, .45); }
.shop-confirm p { margin: 0 0 16px; }
.shop-confirm__actions { display: flex; justify-content: flex-end; gap: 8px; }
.shop-confirm__actions [hidden] { display: none; }   /* an information-only dialog drops its Cancel */

/* ---- the cart --------------------------------------------------------------------------- */
.shop-page--wide { max-width: 56rem; }
.shop-nav__cart { position: relative; }
.shop-nav__count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 10px; background: var(--shop-accent); color: #fff; font-size: 12px; font-weight: 700;
}
.shop-btn--small { min-height: 36px; padding: 0 12px; font-size: var(--sc-text-sm); }
.cat-tile__add { align-self: flex-start; margin-top: 4px; }
.cat-tile__add.is-blocked { opacity: .5; cursor: not-allowed; }
.cat-tile__add .material-icons { font-size: 18px; }
.shop-table { width: 100%; border-collapse: collapse; background: var(--shop-surface); border: 1px solid var(--shop-line); border-radius: 10px; overflow: hidden; }
.shop-table th, .shop-table td { padding: 10px 12px; border-bottom: 1px solid var(--shop-line); text-align: left; vertical-align: middle; }
.shop-table th { font-size: var(--sc-text-xs); font-weight: 600; color: var(--shop-ink-soft); text-transform: none; }
.shop-table tfoot td { border-bottom: 0; }
.shop-table s { color: var(--shop-ink-soft); margin-right: 6px; }
.shop-r { text-align: right !important; }
.shop-c { text-align: center !important; }
.shop-qty { width: 5rem; font: inherit; padding: 6px 8px; border: 1px solid var(--shop-line); border-radius: 8px; text-align: center; min-height: 40px; }
.shop-cart__note { margin: 10px 0 0; color: var(--shop-ink-soft); font-size: var(--sc-text-sm); }
.shop-cart__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 719.98px) {
  .shop-table thead { display: none; }
  .shop-table, .shop-table tbody, .shop-table tfoot { display: block; }
  .shop-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 12px; border-bottom: 1px solid var(--shop-line); }
  .shop-table td { display: block; padding: 0; border: 0; text-align: left !important; }
  .shop-table td[data-label="Product"] { grid-column: 1 / -1; }
  .shop-table td[data-label="Price"]::before, .shop-table td[data-label="Total"]::before { content: attr(data-label) " "; color: var(--shop-ink-soft); font-size: var(--sc-text-xs); }
  .shop-table td[data-label="Quantity"]::before { content: "Qty "; color: var(--shop-ink-soft); font-size: var(--sc-text-xs); margin-right: 4px; }
  .shop-table td:last-child { grid-column: 2; grid-row: 2 / 4; align-self: center; }
  .shop-table tfoot tr { grid-template-columns: 1fr auto; }
}

/* ── Checkout ─────────────────────────────────────────────────────────────── */
.shop-checkout__grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .shop-checkout__grid { grid-template-columns: minmax(0, 1fr) 22rem; gap: 24px; } .shop-checkout__summary { position: sticky; top: 76px; } }
.shop-checkout__form .shop-card + .shop-card { margin-top: 16px; }
.shop-checkout__hint { margin: 8px 0 0; color: var(--shop-ink-soft); font-size: var(--sc-text-sm); }
.shop-btn--block { width: 100%; margin-top: 12px; }
.shop-checkout__cancel { margin: 0 0 10px; }
.shop-checkout__back { display: block; margin-top: 12px; text-align: center; font-size: var(--sc-text-sm); color: var(--shop-ink-soft); }
.shop-sum__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.shop-sum__lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; font-size: var(--sc-text-sm); align-items: baseline; }
.shop-sum__name { overflow-wrap: anywhere; }
.shop-sum__qty { color: var(--shop-ink-soft); white-space: nowrap; }
.shop-sum__amt { font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-sum__totals { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--shop-line); font-size: var(--sc-text-sm); }
.shop-sum__totals dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.shop-sum__totals .shop-sum__grand { font-family: var(--sc-font-display); font-size: 1.15rem; font-weight: 700; padding-top: 6px; }
.shop-hold { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; border-left: 4px solid var(--shop-accent); }
.shop-hold--declined { border-left-color: #b45309; }
.shop-hold__mark { font-size: 32px; color: var(--shop-accent); }
.shop-hold--declined .shop-hold__mark { color: #b45309; }
.shop-hold .shop-sum__lines { margin: 10px 0; }
.shop-placed { text-align: center; }
.shop-placed__mark { font-size: 56px; color: #1e5b2e; }
.shop-placed .shop-card { text-align: left; }
.shop-placed__next { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
.shop-placed .shop-cart__actions { justify-content: center; }
/* The shared card element (Pages/Shared/_CardElement.cshtml) on the store: its hub class names,
   styled the store's way — the markup is the shared contract. */
.shop .card-el { margin-top: 12px; padding: 12px; border: 1px solid var(--shop-line); border-radius: 10px; display: grid; gap: 10px; background: var(--shop-bg); }
/* Collapsed, the box stays LAID OUT at full width (zero height, never display:none): Stripe measures
   its container when the frame loads, and a box that was display:none renders the form in a sliver. */
.shop .card-el[data-collapsed] { visibility: hidden; height: 0; margin: 0; padding: 0; border: 0; overflow: hidden; }
/* Stripe.js floats its test-mode badge bottom-right; while the card form is up, the page keeps its
   last action clear of it. */
.shop:has(.card-el:not([data-collapsed]):not([hidden])) .shop-main { padding-bottom: 5rem; }
.shop .card-el[hidden] { display: none; }
.shop .card-el .sc-field__label { font-size: var(--sc-text-sm); font-weight: 600; }
.shop .card-el .sc-field { display: grid; gap: 6px; }
.shop .card-el .sc-field__hint { margin: 0; color: var(--shop-ink-soft); font-size: var(--sc-text-xs); }
.shop .card-el .sc-input { font: inherit; padding: 10px 12px; border: 1px solid var(--shop-line); border-radius: 8px; min-height: 44px; background: var(--shop-surface); }
.shop .card-el .sc-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--shop-line); border-radius: 8px; background: var(--shop-surface); color: var(--shop-ink); font: inherit; font-weight: 600; cursor: pointer; }
.shop .card-el .card-el__accept { display: grid; gap: 6px; justify-items: start; }
.shop .card-el .card-el__save { display: flex; gap: 8px; align-items: center; font-size: var(--sc-text-sm); }
.shop .card-el .sc-msg:empty { display: none; }
.shop .card-el .sc-msg { color: #8f1d1d; font-size: var(--sc-text-sm); }

/* ── The portal: orders, invoices, the open balance ───────────────────────── */
.shop-crumb { margin: 0 0 6px; font-size: var(--sc-text-sm); }
.shop-crumb a { color: var(--shop-ink-soft); text-decoration: none; }
.shop-crumb a::before { content: "‹ "; }
.shop-crumb a:hover { color: var(--shop-ink); text-decoration: underline; }
/* A list table that collapses to one card per row below 720px — never a sideways scroll. */
.shop-list { width: 100%; border-collapse: collapse; background: var(--shop-surface); border: 1px solid var(--shop-line); border-radius: 10px; overflow: hidden; margin: 0 0 16px; }
.shop-list th, .shop-list td { padding: 10px 12px; border-bottom: 1px solid var(--shop-line); text-align: left; vertical-align: top; }
.shop-list th { font-size: var(--sc-text-xs); font-weight: 600; color: var(--shop-ink-soft); }
.shop-list tbody tr:last-child td { border-bottom: 0; }
.shop-list td { font-variant-numeric: tabular-nums; }
.shop-list td a + a, .shop-list td span + a { margin-left: 8px; }
.shop-list__main { font-weight: 600; }
.shop-late { color: #8f1d1d; }
.su-more { text-align: center; color: var(--shop-ink-soft); font-size: var(--sc-text-sm); }
@media (max-width: 719.98px) {
  .shop-list thead { display: none; }
  .shop-list, .shop-list tbody { display: block; }
  .shop-list tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 10px 12px; border-bottom: 1px solid var(--shop-line); }
  .shop-list tbody tr:last-child { border-bottom: 0; }
  .shop-list td { display: block; padding: 0; border: 0; text-align: left !important; }
  .shop-list td:first-child { grid-column: 1 / -1; }
  .shop-list td[data-label]::before { content: attr(data-label); display: block; color: var(--shop-ink-soft); font-size: var(--sc-text-xs); }
}
.shop-kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.shop-kv dt { color: var(--shop-ink-soft); font-size: var(--sc-text-sm); }
.shop-kv dd { margin: 0; }
.shop-kv__soft { color: var(--shop-ink-soft); font-size: var(--sc-text-sm); }
.shop-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.shop-links li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.shop-invoice__money { max-width: 26rem; margin-left: auto; }
.shop-invoice__money .shop-sum__totals { border-top: 0; padding-top: 0; margin-top: 0; }
.shop-balance__figure { display: grid; gap: 2px; margin-bottom: 12px; }
.shop-balance__figure span { color: var(--shop-ink-soft); font-size: var(--sc-text-sm); }
.shop-balance__figure strong { font-family: var(--sc-font-display); font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.shop-aging { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.shop-aging div { border: 1px solid var(--shop-line); border-radius: 8px; padding: 8px 10px; }
.shop-aging dt { color: var(--shop-ink-soft); font-size: var(--sc-text-xs); }
.shop-aging dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.shop-aging .is-late { border-color: #e5b4b4; background: #fdf3f3; }
@media (max-width: 719.98px) { .shop-aging { grid-template-columns: 1fr 1fr; } }
.shop-pay__amt { width: 8rem; font: inherit; padding: 8px 10px; border: 1px solid var(--shop-line); border-radius: 8px; text-align: right; min-height: 40px; font-variant-numeric: tabular-nums; }
.shop-pay__extra .shop-pay__amt { width: 100%; max-width: 12rem; text-align: left; }
.shop-pay__total { margin: 4px 0 12px; font-size: var(--sc-text-md); }
.shop-checkout .card-el ~ .shop-checkout__hint { margin-top: 10px; }
/* The card form's scripts sit between it and the button — the general sibling, not the adjacent one. */
.shop-pay .card-el ~ .shop-btn, .shop-paylink .card-el ~ .shop-btn { margin-top: 14px; }
.shop-pay__total strong { font-family: var(--sc-font-display); font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.shop-pay__total span { color: var(--shop-ink-soft); font-size: var(--sc-text-sm); }
@media (max-width: 719.98px) { .shop-pay__amt { width: 100%; text-align: left; } }
.shop-frequent__add { white-space: nowrap; }
.shop-frequent__add .shop-qty { width: 4.5rem; margin-right: 6px; }
.shop-links li { justify-content: space-between; }
.shop-order__again { margin: 0 0 16px; }
@media (max-width: 719.98px) { .shop-frequent__add { grid-column: 1 / -1; } }

/* ---- stock: a badge, never a quantity; a cart line the store can't take says why ----------- */
.shop-stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  font-size: var(--sc-text-xs);
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}
.shop-stock .material-icons { font-size: 14px; }
.shop-stock--in { color: var(--sc-success); background: var(--sc-success-bg); }
.shop-stock--back { color: var(--sc-amber-deep); background: var(--sc-amber-tint); }
/* On a tile the badge leads the foot (price, then Add); the price then needs no push of its own. */
.cat-tile .shop-stock { margin-top: auto; }
.cat-tile .shop-stock + .cat-tile__price { margin-top: 0; }
.shop-frequent .shop-stock { margin-top: 4px; }
.shop-line--issue, .shop-line--issue td { background: var(--sc-danger-bg); }
@media (max-width: 719.98px) { .shop-line--issue td { background: transparent; } }
.shop-line__issue {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-top: 4px;
  color: var(--sc-danger);
  font-size: var(--sc-text-sm);
  font-weight: 400;
}
.shop-line__issue .material-icons { font-size: 16px; margin-top: 1px; }
.shop-sum__lines li .shop-line__issue { grid-column: 1 / -1; margin-top: 0; }   /* a waiting card's marked line: the reason under it */
.shop-qty-text { display: inline-block; min-width: 2.5rem; font-variant-numeric: tabular-nums; }
