/* Shared heading flow. Keep this after page and mobile styles. */
@font-face {
  font-family: PBDisplayAligned;
  src: url('/assets/pb-v18/fonts/bebas.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 115.7142857%;
  unicode-range: U+0000-024F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2100-214F;
}
body.pb-site .pb-heading-display {
  font-family: PBDisplayAligned, PBCondensed, sans-serif !important;
}
body.pb-site .pb-heading-flow {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  white-space: normal !important;
  text-wrap: wrap !important;
  text-wrap-style: auto !important; /* Avoid WebKit balance + word-spacing regressions. */
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
/* Keep adjacent gallery counters and dialog controls on their existing row. */
body.pb-site :is(.pb-case-section-head, .pb-email-heading) > .pb-heading-flow {
  width: auto;
  flex: 0 1 auto;
}
/* Legacy grouped tails must never regain their own indivisible line. */
body.pb-site .pb-heading-flow .pb-title-tail {
  display: inline;
  width: auto;
  max-width: none;
  white-space: normal;
}

/* Let the contact heading use its actual column instead of a legacy 620px cap. */
body.pb-site #request .pb-footer-intro > .pb-heading-flow {
  max-width: 100%;
}

/* Inline heading fragments must not create their own forced rows. */
body.pb-site .pb-heading-flow > span {
  display: inline !important;
  white-space: normal !important;
  width: auto;
  max-width: none;
  margin: 0;
}

/* PDF and stock enquiry are independent, adjacent actions at every width. */
body.pb-site .catalog-table-scroll td:last-child {
  white-space: nowrap;
}
body.pb-site .catalog-table-scroll td:last-child > a {
  display: inline-flex;
  vertical-align: middle;
  min-height: 36px;
  box-sizing: border-box;
}
body.pb-site .catalog-table-scroll td:last-child > .pb-stock-action {
  margin-top: 0;
  margin-inline-start: 12px;
}

/* Align the existing search and category controls without changing type. */
body.pb-site .catalog-tools {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 6px;
}
body.pb-site .catalog-tools > label {
  min-width: 0;
  gap: 8px;
}
body.pb-site .catalog-tools :is(input, select) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 52px;
}
@media (max-width: 760px) {
  body.pb-site .catalog-tools {
    grid-template-columns: minmax(0, 1fr);
  }
}
