/* The lifejacket buyer's guide (src/pages/lifejackets.njk): the lead and
   jump links, the lowest prices table, and each jacket's facts and offers.
   The page names this file alone, so site.css stays inside its weight
   budget. An offer is a wrapping row, not a table row, so a store, a price
   and the sizes in stock each take a full line on a phone; an offer that
   does not count toward the lowest price (out of stock, or its price too
   old) is greyed and says why in words. The two standards differ by their
   label's words and by a solid or outlined tag, not by colour alone. */
.lj-lead { font-size: 1.1rem; max-width: 46rem; }
.lj-checked, .lj-small { font-size: .88rem; color: var(--slate); max-width: 46rem; }
.lj-jump { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.5rem; }
.lj-jump a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .3rem .85rem; border: 1px solid var(--canvas-2); border-radius: 999px; background: var(--card); font-size: .9rem; font-weight: 500; text-decoration: none; }
.lj-jump a:hover { background: var(--canvas); }
.lj-kind { display: inline-block; margin-left: .4rem; padding: .1rem .45rem; border: 1px solid var(--navy-2); border-radius: 2px; font-size: .72rem; font-weight: 600; letter-spacing: .03em; white-space: nowrap; vertical-align: middle; color: var(--navy-2); background: var(--card); }
.lj-kind-as4758 { background: var(--navy-2); color: var(--card); }
.lj-table { max-width: 46rem; }
.lj-table th, .lj-table td { vertical-align: top; text-align: left; padding: .55rem .6rem; }
.lj-table tbody th { font-size: .95rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--card); }
.lj-table tbody th .lj-kind { display: table; margin: .3rem 0 0; }
.lj-table .lj-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.lj-table .lj-price span, .lj-table .lj-stock { display: block; font-size: .85rem; color: var(--slate); white-space: normal; }
.lj-group { margin-top: 2rem; }
.lj-jacket { border: 1px solid var(--canvas-2); border-top: 3px solid var(--emblem); background: var(--card); padding: .9rem 1rem 1rem; margin: 1rem 0; max-width: 46rem; }
.lj-jacket h4 { margin: 0 0 .6rem; font-size: 1.05rem; color: var(--navy-2); }
.lj-facts { display: grid; grid-template-columns: 5.5rem 1fr; gap: .4rem .9rem; margin: 0 0 .9rem; font-size: .95rem; }
.lj-facts > div { display: contents; }
.lj-facts dt { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); padding-top: .15rem; }
.lj-facts dd { margin: 0; overflow-wrap: anywhere; }
.lj-offers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--canvas-2); }
.lj-offer { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--canvas-2); }
.lj-offer:last-child { border-bottom: 0; padding-bottom: 0; }
.lj-offer .lj-store { font-weight: 600; }
.lj-offer .lj-price { text-align: right; font-variant-numeric: tabular-nums; }
.lj-offer .lj-price s { color: var(--slate); font-weight: 400; }
.lj-offer .lj-stock { grid-column: 1 / -1; font-size: .88rem; color: var(--slate); }
.lj-offer.is-out .lj-price { color: var(--slate); }
.lj-offer.is-out .lj-price strong { font-weight: 400; }
.lj-sources { font-size: .92rem; max-width: 46rem; }
@media (max-width: 30rem) {
  .lj-offer { grid-template-columns: 1fr; }
  .lj-offer .lj-price { text-align: left; }
  .lj-facts { grid-template-columns: 1fr; gap: 0; }
  .lj-facts dt { padding-top: .5rem; }
  .lj-table th, .lj-table td { padding: .5rem .4rem; }
}
