@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/pt-serif-v19-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/pt-serif-v19-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #242e33;
  --muted: #536168;
  --line: #cdd3d5;
  --paper: #f4f6f7;
  --graphite: #273238;
  --orange: #f19447;
  --orange-dark: #e98430;
  --orange-ink: #87420e;
  --orange-wash: #fff2e6;
  --display: "PT Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; color: var(--ink); background: #fff; font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { color: inherit; font: inherit; }
button, a, summary { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; color: #7c878e; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange-ink); }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
:where(button, a, summary, input, select, textarea):focus-visible { outline: 2px solid var(--orange-ink); outline-offset: 3px; }
.container { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 8px; top: -100px; z-index: 30; padding: 12px; color: var(--ink); background: white; }
.skip-link:focus { top: 8px; }

/* Shared navigation */
.site-header { color: #fff; background: var(--graphite); }
.header-inner { display: flex; align-items: center; gap: clamp(22px, 4vw, 60px); min-height: 64px; }
.company { white-space: nowrap; font-size: 22px; font-weight: 720; letter-spacing: -.045em; }
.company span { font-weight: 400; }
.site-header a:hover { color: #ffbd84; }
.site-header :focus-visible { outline-color: var(--orange); }
.site-header nav { display: flex; align-items: center; gap: 25px; }
.site-header nav a, .header-email { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.site-header .nav-current { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.header-email { margin-left: auto; color: #e0e6e8; text-decoration: underline; text-decoration-color: #849098; text-underline-offset: 4px; }
.cart-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 8px; min-height: 39px; padding: 4px 11px; border: 1px solid #728087; border-radius: 2px; background: transparent; color: white; font-size: 13px; }
.cart-toggle:hover { color: white; border-color: var(--orange); }
.cart-toggle svg { width: 20px; height: 20px; }
#cart-count { min-width: 1.45em; padding: 0 3px; color: var(--orange); text-align: center; font: 600 13px/1.4 var(--mono); }

/* Catalogue masthead, search and downloadable price list */
.catalog-page { padding-block: 23px 30px; }
.catalog-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title downloads" "search downloads";
  gap: 12px 32px;
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid #899397;
}
.catalog-title { grid-area: title; }
.catalog-title h1 { margin: 0; font: 400 clamp(29px, 2.8vw, 40px)/1.12 var(--display); letter-spacing: -.025em; }
.price-page h1 { margin: 0; font: 400 clamp(37px, 3.75vw, 55px)/1.09 var(--display); letter-spacing: -.043em; }
.intro-description { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.product-search, .category-search { display: flex; align-items: center; gap: 11px; }
.product-search { grid-area: search; width: 100%; max-width: 750px; min-height: 44px; padding: 0 12px; border: 1px solid #79878d; border-radius: 2px; background: #fff; }
.product-search svg { width: 21px; height: 21px; }
.product-search input, .category-search input { min-width: 0; width: 100%; padding: 8px 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.product-search input::placeholder, .category-search input::placeholder { color: var(--muted); opacity: 1; }
.product-search input:focus-visible, .category-search input:focus-visible { outline: none; }
.product-search:focus-within, .category-search:focus-within { border-color: var(--orange-ink); outline: 2px solid var(--orange-ink); outline-offset: 1px; }
.product-search kbd { flex: none; padding: 0 7px; border: 1px solid var(--line); color: var(--muted); border-radius: 2px; font: 13px/23px var(--mono); }
.price-downloads { grid-area: downloads; display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 14px; }
.price-downloads h2 { margin: 0; font-size: 14px; font-weight: 600; }
.download-actions { display: flex; align-items: center; gap: 14px; }
.price-downloads a { display: inline-flex; align-items: center; min-height: 36px; color: var(--orange-ink); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.price-downloads a:hover { text-decoration-thickness: 2px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 7px 15px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 600; }
.button svg { width: 17px; height: 17px; }
.button-primary, .subscription-form button[type=submit] { background: var(--orange); color: var(--ink); }
.button-primary:hover, .subscription-form button[type=submit]:hover { background: var(--orange-dark); color: var(--ink); }
.button-secondary { background: white; border-color: #a3adb2; }
.button-secondary:hover { border-color: var(--graphite); color: var(--ink); }
.updated { grid-column: 1/-1; margin: 0; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.updated time { white-space: nowrap; }

/* Category index and stock list */
.catalog-layout { display: grid; grid-template-columns: 242px minmax(0, 1fr); align-items: start; gap: 34px; margin-top: 16px; }
.categories { min-width: 0; border-right: 1px solid var(--line); padding-right: 21px; }
.categories-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 13px; font-size: 17px; font-weight: 650; list-style: none; cursor: default; }
.categories-title::-webkit-details-marker { display: none; }
.category-count, #results-count { color: var(--muted); font: 12px/1.5 var(--mono); font-variant-numeric: tabular-nums; }
.category-count { margin-left: auto; }
.category-summary, .categories-title svg { display: none; }
.category-search { gap: 8px; margin-bottom: 8px; padding-inline: 9px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
.category-search svg { width: 16px; height: 16px; color: var(--muted); }
.category-list { max-height: 580px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #aab3b7 transparent; }
.category-button { width: 100%; min-height: 33px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 7px 6px 9px; border: 0; border-left: 2px solid transparent; background: transparent; font-size: 13px; line-height: 1.4; text-align: left; }
.category-button:hover { background: var(--paper); }
.category-button.selected { border-left-color: var(--orange-dark); background: var(--orange-wash); color: #773905; font-weight: 650; }
.category-meta { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.category-number { min-width: 2ch; color: var(--muted); font: 11px var(--mono); text-align: right; }
.category-remove { width: .75em; visibility: hidden; font-size: 16px; font-weight: 400; text-align: center; }
.selected:not(.all-categories) .category-remove { visibility: visible; }
#no-categories { padding: 8px; color: var(--muted); font-size: 13px; }
.catalog-results { min-width: 0; }
.results-context { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 3px 15px; margin-bottom: 6px; }
.result-options { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 20px; }
.page-size { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.page-size select { min-height: 32px; padding: 2px 4px; border: 1px solid #a6b1b6; border-radius: 2px; background-color: white; color: var(--ink); font-variant-numeric: tabular-nums; }
.page-size-short { display: none; }
#results-label { display: flex; align-items: baseline; gap: 10px; margin: 0; font-size: 17px; line-height: 1.45; font-weight: 650; }
.active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.result-unit, .sort-short { display: none; }
#share-selection { display: inline-flex; align-items: center; min-height: 34px; color: var(--orange-ink); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
#share-fallback { flex-basis: 100%; font-size: 13px; }
#share-fallback input { width: 100%; margin-top: 3px; padding: 7px; border: 1px solid var(--line); }
#active-category, #reset-filters { min-height: 34px; font-size: 12px; }
#active-category { display: inline-flex; align-items: center; justify-content: space-between; text-align: left; gap: 10px; padding: 3px 8px; border: 1px solid #ddb79f; background: var(--orange-wash); color: var(--orange-ink); }
#active-category span:last-child { flex: none; font-size: 17px; }
#reset-filters, .cart-secondary button { padding: 2px 0; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.table-wrap table, .price-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.table-wrap thead, .price-table thead { background: #e8edf0; }
.table-wrap th, .price-table thead th { padding: 0 13px; color: #42525a; font-size: 12px; font-weight: 550; }
.table-wrap thead th:nth-child(2), .table-wrap thead th:nth-child(3) { width: 126px; }
.table-wrap thead .order-column { width: 112px; }
.table-wrap th button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; border: 0; background: none; font: inherit; white-space: nowrap; }
.sort-indicator { width: 14px; height: 16px; color: #637079; }
th[aria-sort] .sort-indicator { color: var(--orange-ink); }
th[aria-sort=ascending] .sort-down, th[aria-sort=descending] .sort-up { opacity: .25; }
.table-wrap .category-row th, .price-table .category-row th { height: 29px; padding: 5px 13px; color: white; background: #252a2c; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.product-row td { height: 36px; padding: 5px 13px; border-bottom: 1px solid #dce0e2; font-size: 14px; }
.product-row td:first-child { font: 500 14px/1.4 var(--mono); overflow-wrap: anywhere; }
.product-row:nth-child(even) { background: #f8f9f9; }
.product-row:hover { background: #eff2f3; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.product-row td:nth-child(2) { font-weight: 600; }
.stock-quantity { color: #2a4539; }
.stock-zero { color: var(--muted); }
.product-row td.order-column { padding-block: 2px; padding-inline: 6px; text-align: right; }
.add-to-cart { display: inline-flex; justify-content: center; align-items: center; gap: 5px; min-height: 32px; padding: 2px 8px; border: 1px solid transparent; border-radius: 2px; background: transparent; color: #3c4b53; font-size: 12px; }
.order-symbol { display: inline-block; line-height: 1; font-size: 18px; }
.order-label { white-space: nowrap; }
.add-to-cart:hover { border-color: #c19572; background: var(--orange-wash); color: var(--orange-ink); }
.product-order { display: inline-flex; max-width: 100%; flex-direction: column; align-items: end; }
.line-quantity { display: inline-flex; align-items: center; gap: 3px; max-width: 100%; min-height: 32px; padding: 0 6px 0 3px; border: 1px solid #15803d; border-left-width: 3px; border-radius: 2px; background: #f0faf2; color: #235a32; font-size: 12px; }
.line-quantity:focus-within { outline: 2px solid #266239; outline-offset: 1px; }
.line-quantity input { width: 5.5ch; min-width: 0; padding: 2px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; font-variant-numeric: tabular-nums; text-align: center; appearance: textfield; }
.line-quantity input::-webkit-inner-spin-button { -webkit-appearance: none; }
.line-error { max-width: 12ch; color: #8b3017; font-size: 11px; line-height: 1.3; }
.table-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.table-footer p, .catalog-note { color: var(--muted); font-size: 13px; }
.table-footer p { margin: 0; }
#pagination { display: flex; align-items: center; gap: 2px; }
#pagination button { display: grid; place-items: center; height: 34px; min-width: 34px; padding: 0 5px; border: 0; border-radius: 2px; background: transparent; font: 13px var(--mono); }
#pagination button:hover:not(:disabled) { background: var(--paper); }
#pagination button[aria-current], #pagination button[aria-current]:hover:not(:disabled) { color: #fff; background: var(--graphite); }
#pagination span { padding-inline: 3px; }
.empty-state { padding: 32px 13px; }
.empty-state h3 { margin: 0; font-size: 18px; }
.empty-state p { color: var(--muted); }
#search-suggestions { display: flex; flex-wrap: wrap; gap: 3px 15px; margin-top: 6px; }
#search-suggestions button { padding: 7px 0; border: 0; background: transparent; color: var(--orange-ink); text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.catalog-note { margin: 14px 0 0; }
.catalog-note a, .subscription-back, .price-page a:not(.company) { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer { display: flex; align-items: center; gap: 20px; min-height: 72px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer > span { font-weight: 650; color: var(--ink); }
.site-footer a { margin-left: auto; }
.site-footer img { display: block; }

/* Order drawer */
.cart-open { overflow: hidden; }
.cart-dialog { width: min(550px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; color: var(--ink); background: white; }
.cart-dialog[open] { display: flex; flex-direction: column; }
.cart-dialog::backdrop { background: #18242b77; }
.cart-header { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 22px 24px 18px; border-bottom: 2px solid var(--graphite); }
.cart-header h2 { margin: 0; font: 400 32px/1.15 var(--display); letter-spacing: -.035em; }
.cart-header p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.icon-button { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; font-size: 22px; }
.icon-button:hover { background: var(--paper); }
.cart-content { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding-inline: 24px; }
#cart-empty { padding-top: 12px; color: var(--muted); }
.cart-item { display: grid; position: relative; grid-template-columns: 1fr auto; gap: 5px 14px; align-items: center; padding: 17px 34px 17px 0; border-bottom: 1px solid var(--line); }
.cart-item h3, .cart-item-category, .cart-item-details { grid-column: 1/-1; margin: 0; overflow-wrap: anywhere; }
.cart-item h3 { font: 600 14px/1.5 var(--mono); }
.cart-item-category, .cart-item-details { color: var(--muted); font-size: 12px; }
.cart-item-details { margin-bottom: 6px; }
.cart-quantity { display: flex; width: max-content; align-items: center; border: 1px solid #a4afb4; border-radius: 2px; }
.cart-quantity input { width: 64px; height: 38px; padding: 4px; border: 0; background: transparent; text-align: center; font-size: 15px; appearance: textfield; }
.cart-quantity input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-quantity .icon-button { width: 32px; height: 38px; font-size: 18px; }
.cart-item-sum { font-variant-numeric: tabular-nums; }
.cart-remove { position: absolute; top: 11px; right: -8px; color: var(--muted); }
.cart-bottom { flex-shrink: 0; padding: 15px 24px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin: 0 0 13px; font-size: 14px; }
.cart-total strong { font-size: 21px; white-space: nowrap; }
.cart-email-note { margin: 7px 0 10px; color: var(--muted); font-size: 13px; }
#cart-email { width: 100%; min-height: 44px; }
.cart-secondary { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.cart-secondary button { min-height: 38px; font-size: 13px; }
#cart-copy { display: inline-flex; align-items: center; justify-content: center; flex: 1; gap: 7px; padding: 8px 10px; border: 1px solid #a3adb2; border-radius: 2px; background: white; color: var(--ink); text-decoration: none; }
#cart-copy svg { width: 18px; height: 18px; }
#cart-clear { flex-shrink: 0; }
.cart-feedback, .subscription-alert .alert { margin: 10px 24px; padding: 10px 13px; border-left: 2px solid var(--orange); background: var(--orange-wash); color: #75370b; font-size: 13px; }
.cart-feedback { flex-shrink: 0; }

/* The public Mailtrain forms share navigation and controls with the catalogue. */
.subscription-page { min-height: 100dvh; display: flex; flex-direction: column; }
.subscription-page main { flex: 1; }
.subscription-intro { padding-block: 35px 25px; border-bottom: 2px solid var(--graphite); }
.subscription-intro h1 { margin: 0; font: 400 clamp(32px, 3.6vw, 50px)/1.12 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.subscription-layout { display: grid; grid-template-columns: minmax(0, 510px) minmax(0, 300px); gap: clamp(28px, 7vw, 110px); padding-block: 37px 54px; }
.subscription-layout h2, .subscription-notice h2 { margin: 0 0 18px; font-size: 22px; }
.subscription-form label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 550; }
.subscription-form .form-group { margin-bottom: 15px; }
.subscription-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]), .subscription-form select, .subscription-form textarea { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #87959c; border-radius: 2px; background: white; font-size: 16px; }
.subscription-form button[type=submit] { min-height: 44px; padding: 8px 20px; border: 0; border-radius: 2px; font-size: 14px; font-weight: 600; }
.subscription-form small, .subscription-help, .subscription-downloads p, .subscription-notice p { color: var(--muted); }
.subscription-form small { display: block; font-size: 12px; }
.subscription-form small:empty { display: none; }
.subscription-help { max-width: 430px; font-size: 13px; line-height: 1.6; }
.subscription-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.subscription-downloads { align-self: start; padding-left: 24px; border-left: 1px solid var(--line); }
.subscription-downloads h2 { margin-bottom: 8px; font-size: 17px; }
.subscription-downloads p { font-size: 14px; }
.subscription-back { display: inline-block; margin-top: 16px; font-size: 14px; }
.subscription-notice { max-width: 720px; padding-block: 34px 50px; }
.subscription-alert .alert { margin: 0 0 18px; }
.subscription-alert .close { float: right; border: 0; background: none; font-size: 18px; }

.price-page { padding-block: 24px 45px; }
.price-page h1 { margin-block: 16px; }
.price-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; }
.price-table td, .price-table thead th { padding: 6px 10px; border-bottom: 1px solid var(--line); }
.price-table td:first-child { overflow-wrap: anywhere; font-family: var(--mono); }
.price-table .numeric { width: 20%; }

@media (min-width: 981px) {
  .categories:not([open]) > .category-options { display: block; }
}
@media (max-width: 1080px) {
  .container { width: calc(100% - 48px); }
  .header-inner { gap: 23px; }
  .site-header nav { gap: 18px; }
  .catalog-layout { grid-template-columns: 212px minmax(0, 1fr); gap: 24px; }
  .categories { padding-right: 15px; }
  .table-wrap thead th:nth-child(2), .table-wrap thead th:nth-child(3) { width: 106px; }
  .table-wrap thead .order-column { width: 108px; }
}
@media (max-width: 980px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; }
  .categories { padding: 0; border: 1px solid var(--line); border-radius: 2px; }
  .categories-title { align-items: center; min-height: 43px; padding: 7px 11px; margin: 0; font-size: 14px; cursor: pointer; }
  .category-summary { display: block; overflow: hidden; min-width: 0; margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
  .category-count { display: none; }
  .categories-title svg { display: block; width: 16px; height: 16px; }
  .categories[open] .categories-title svg { transform: rotate(180deg); }
  .category-options { padding: 0 9px 9px; }
  .category-list { max-height: 285px; }
  .category-button { min-height: 42px; font-size: 14px; }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 110px; }
  .site-header { position: sticky; top: 0; z-index: 20; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "company cart" "nav email"; gap: 0 12px; padding-block: 7px 2px; }
  .company { grid-area: company; justify-self: start; font-size: 21px; }
  .site-header nav { grid-area: nav; }
  .header-email { grid-area: email; justify-self: end; margin: 0; }
  .site-header nav a, .header-email { min-height: 34px; font-size: 12px; }
  .cart-toggle { grid-area: cart; justify-self: end; }
  .catalog-masthead { column-gap: 22px; }
  .product-search input, .category-search input { font-size: 16px; }
  #active-category, #reset-filters, #pagination button, .cart-secondary button, .icon-button, .cart-quantity input { min-height: 44px; }
  .cart-quantity input { font-size: 16px; }
  .cart-quantity .icon-button { width: 40px; }
  .table-wrap thead .order-column { width: 82px; }
  .add-to-cart { min-width: 34px; min-height: 32px; padding: 1px 6px; border-color: #a6b1b6; }
  .order-label { display: none; }
  .line-quantity input { font-size: 16px; }
  .line-quantity { min-height: 40px; padding-inline: 2px 3px; }
  #share-selection { min-height: 44px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 30px); }
  .company { font-size: 19px; }
  .cart-toggle { min-height: 36px; padding-inline: 7px; gap: 5px; font-size: 12px; }
  .catalog-page { padding-block: 16px 26px; }
  .catalog-masthead { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "search" "downloads"; gap: 8px; padding-bottom: 8px; }
  .catalog-title h1 { font-size: clamp(25px, 6.4vw, 32px); }
  .price-page h1 { font-size: clamp(28px, 6.9vw, 38px); }
  .intro-description { margin-top: 4px; font-size: 13px; }
  .product-search { padding-inline: 10px; }
  .product-search kbd { display: none; }
  .price-downloads { grid-template-columns: 1fr auto; column-gap: 10px; }
  .price-downloads h2 { font-size: 13px; }
  .price-downloads .download-actions { grid-column: 2; grid-row: 1/3; gap: 12px; }
  .price-downloads a { min-height: 44px; min-width: 38px; justify-content: center; }
  .updated { grid-column: 1; font-size: 11px; line-height: 1.45; }
  .catalog-layout { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "categories count" "filters filters" "share share" "table table" "note note"; gap: 0 10px; margin-top: 12px; }
  .catalog-results, .results-context { display: contents; }
  .categories { grid-area: categories; border: 0; }
  .categories[open] { grid-column: 1/-1; }
  .categories-title { display: inline-flex; gap: 9px; min-height: 44px; padding: 5px 10px; border: 1px solid #a6b1b6; border-radius: 2px; }
  .categories-title .category-summary { display: none; }
  .category-options { padding: 9px; margin-block: 6px; border: 1px solid var(--line); }
  .result-options { grid-area: count; z-index: 1; align-self: start; justify-content: end; min-height: 44px; gap: 0 10px; }
  #results-label { align-items: center; gap: 4px; font-size: 13px; font-weight: 400; color: var(--muted); white-space: nowrap; }
  .page-size { gap: 4px; font-size: 12px; }
  .page-size select { min-height: 44px; font-size: 16px; }
  #results-count { font-size: 13px; color: var(--ink); }
  #results-title, .sort-full { display: none; }
  .result-unit, .sort-short { display: inline; }
  #active-filters { grid-area: filters; gap: 2px 14px; }
  #share-fallback { grid-area: share; margin-bottom: 6px; }
  .catalog-results .table-wrap { grid-area: table; min-width: 0; margin-top: 3px; }
  .catalog-results .catalog-note { grid-area: note; }
  .table-wrap table, .table-wrap thead, .table-wrap tbody { display: block; }
  .table-wrap thead { background: white; }
  .table-wrap thead tr { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 40px; }
  .table-wrap thead tr::before { content: "Сортировка"; color: var(--muted); font-size: 12px; }
  .table-wrap thead th { display: block; padding: 0; font-size: 11px; }
  .table-wrap thead th:nth-child(2), .table-wrap thead th:nth-child(3) { width: auto; }
  .table-wrap thead .order-column { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .table-wrap th button { min-height: 40px; gap: 3px; padding: 4px; }
  .table-wrap thead th[aria-sort] button { color: var(--orange-ink); }
  .table-wrap .category-row, .table-wrap .category-row th { display: block; }
  .table-wrap .category-row th { height: auto; padding: 5px 8px; font-size: 12px; }
  .product-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "name name order" "price stock order"; gap: 3px 10px; align-items: center; padding: 7px 8px; border-bottom: 1px solid #dce0e2; }
  .product-row td { display: block; height: auto; padding: 0; border: 0; }
  .product-row td:first-child { grid-area: name; font-size: 14px; }
  .product-row td:nth-child(2) { grid-area: price; font-size: 13px; text-align: left; }
  .product-row td:nth-child(2)::after { content: " ₽"; }
  .product-row td:nth-child(3) { grid-area: stock; font-size: 12px; text-align: left; white-space: nowrap; }
  .product-row td:nth-child(3)::before { content: "Склад: "; color: var(--muted); }
  .product-row td.order-column { grid-area: order; padding: 0; }
  .line-quantity { min-height: 44px; }
  .add-to-cart { min-width: 44px; min-height: 44px; }
  .table-footer { justify-content: center; }
  .table-footer p { flex-basis: 100%; text-align: center; }
  #pagination button { min-width: 35px; }
  .site-footer { flex-wrap: wrap; gap: 4px 10px; padding-block: 13px; }
  .site-footer p { margin: 0; }
  .cart-header, .cart-content, .cart-bottom { padding-inline: 16px; }
  .cart-header { padding-block: 15px; }
  .cart-feedback { margin-inline: 16px; }
  .cart-item { padding-right: 23px; column-gap: 8px; }
  .cart-item-sum { font-size: 13px; }
  .subscription-intro { padding-block: 24px 19px; }
  .subscription-layout { grid-template-columns: 1fr; gap: 25px; padding-block: 24px 35px; }
  .subscription-downloads { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .subscription-form button[type=submit] { width: 100%; }
  .price-table { font-size: 12px; }
  .price-table .numeric { width: 22%; }
  .price-table td, .price-table thead th { padding-inline: 5px; }
}
@media (max-width: 399px) {
  .page-size-full { display: none; }
  .page-size-short { display: inline; }
  .result-options { column-gap: 6px; }
}
@media (max-width: 359px) {
  .catalog-layout { column-gap: 6px; }
  .categories-title { gap: 4px; padding-inline: 6px; font-size: 13px; }
  .categories-title svg { width: 14px; }
  .page-size select { width: 3.45em; }
  .price-downloads { column-gap: 4px; }
  .price-downloads .download-actions { gap: 5px; }
  .cart-label { display: none; }
  .site-header nav { gap: 10px; }
  .site-header nav a, .header-email { font-size: 11px; }
  .cart-quantity input { width: 52px; }
}
@media print {
  .price-page { width: auto; padding: 0; }
  .price-links { display: none; }
  .price-page h1 { font-size: 24pt; }
  .price-table { font-size: 9pt; }
  .price-table .category-row { break-after: avoid; }
  .price-table tr { break-inside: avoid; }
  .price-table .category-row th { border-block: 1px solid #666; background: white; color: black; }
}
