/* The price list on a page (catalog/price_list.html): the search and the download
 * in the band, a white sheet a section, a book a row with its price at the end. */
.price__tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: var(--space-sm); }
.price__find { display: flex; flex: 0 1 34rem; align-items: center; gap: 0.6rem; min-width: 0; min-height: 3.5rem; padding: 0 1.1rem; background: #fff; color: #6b858e; box-shadow: 0 14px 34px -16px rgb(0 0 0 / 0.45); }
.price__find[hidden] { display: none; }
.price__find:focus-within { box-shadow: 0 0 0 3px var(--brand), 0 14px 34px -16px rgb(0 0 0 / 0.45); }
.price__find input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; color: #12313b; text-overflow: ellipsis; }
.price__find input:focus { outline: none; }
.price__get { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.5rem; padding: 0 1.4rem; background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); color: #fff; font-weight: 600; white-space: nowrap; }
.price__get:hover { background: rgb(255 255 255 / 0.16); color: #fff; }
.price__get:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 40rem) { .price__find, .price__get { flex: 1 0 100%; min-height: 3rem; } }

.price__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); align-content: start; max-width: 60rem; }
.price__main > [hidden] { display: none; }
.price__sheet { scroll-margin-top: calc(var(--header-h, 4.5rem) + var(--space-lg)); padding-block: clamp(1.25rem, 2.5vw, 1.75rem) var(--space-2xs); }
.psheet + .psheet.price__sheet { margin-top: 0; }
/* the file names its sections in capitals */
.psheet h2.price__section { margin: 0 0 var(--space-sm); font-family: var(--font-body); font-size: 0.8125rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.04em; color: var(--brand-tile); }
.price__books { margin: 0; padding: 0; list-style: none; }
.price__book { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-xl); align-items: baseline; padding: var(--space-sm) 0; border-top: 1px solid var(--color-rule); }
.price__book[hidden] { display: none; }
.price__what { display: grid; gap: 0.2rem; min-width: 0; }
.price__name { margin: 0; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; overflow-wrap: break-word; }
.price__authors { margin: 0; line-height: 1.45; }
.price__facts { display: flex; flex-wrap: wrap; margin: 0; font-size: var(--text-meta); line-height: 1.5; color: var(--color-ink-2); }
.price__facts span + span::before { content: "·"; margin: 0 0.45em; }
.price__sum { margin: 0; font-family: var(--font-display); font-size: 1.125rem; font-weight: 650; white-space: nowrap; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.price__sum span { font-family: var(--font-body); font-size: var(--text-meta); font-weight: 400; color: var(--color-ink-2); }
@media (max-width: 40rem) {
  .price__book { grid-template-columns: minmax(0, 1fr); }
  .price__sum { text-align: left; }
  .price__isbn { flex-basis: 100%; }
  .price__facts .price__isbn::before { content: none; }
}
.price__note, .price__none { margin: 0; max-width: 70ch; line-height: 1.6; color: var(--color-ink-2); }
