:root {
  font-size: 100%;
  --type-note: .8125rem;
  --type-label: .875rem;
  --type-compact: .9375rem;
  --type-body: 1rem;
  --catalog-column: 242px;
}

.top-shopping, .header-contacts, .header-cart, .mobile-hours { display: none; }
.toplinks, .sidebar { font-size: var(--type-body); }
.sidebar nav > a { min-height: 42px; line-height: 1.3; }
.sidebar nav > a > span { min-width: 0; overflow-wrap: anywhere; }
.catalog-sidebar-branch a { padding-inline-start: 26px; font-size: var(--type-label); }
.catalog-sidebar-branch a[aria-current] { padding-inline-start: 23px; }
.search-form input { font-size: var(--type-body); }
.site-search-row { padding: 12px 26px; border-block: 1px solid var(--line); background: #fff; }
.site-search-row .search-form { width: 100%; min-width: 0; height: 48px; margin: 0; border-radius: 6px; border-color: #88b7df; }
.site-search-row .search-form:focus-within { border-color: var(--action); }
.site-search-row .search-form input { min-width: 0; height: 100%; padding-inline: 14px; }
.site-search-row .search-form .icon-button { align-self: stretch; flex: none; gap: 7px; width: auto; min-width: 100px; margin: 0; padding-inline: 12px; border-radius: 0 5px 5px 0; background: var(--action); color: #fff; font-weight: 700; }
.site-search-row .search-form .icon-button:hover { background: #115a97; }
.breadcrumbs { font-size: var(--type-label); }
.article-copy, .pdp-description .article-copy { font-size: var(--type-body); }
.document-page .article-copy > :is(p, ul, ol) { max-width: 75ch; }
.enquiry-form > label, .enquiry-optional summary { font-size: var(--type-compact); }
.enquiry-form .consent, .purchase-enquiry .consent, .order-summary .consumer-payment-note {
  font-size: var(--type-label);
}
.enquiry-form :is(input, textarea, select), .shipping-option { font-size: var(--type-body); }
.catalog-results .card-name, .card-name { font-size: var(--type-body); }
.card-brand, .stock { font-size: var(--type-note); }
.catalog-paths :is(a, summary), .catalog-filter-state, .catalog-count, .catalog-sort label {
  font-size: var(--type-label);
}
.catalog-results .card-actions .button { font-size: var(--type-label); }
.pdp .pdp-highlights dt, .pdp-spec-group h3, .pdp-switch a { font-size: var(--type-label); }
.pdp .pdp-highlights dd, .pdp-spec-group dl > div { font-size: var(--type-compact); }
.pdp .stock-band { font-size: var(--type-note); }
.quick-order .shipping-option, .order-delivery .shipping-option small { font-size: var(--type-label); }
.home-slide p, .home-category > div:last-child, .home-offer h3, .home-story h3 {
  font-size: var(--type-body);
}
.home-section-head :is(span, p), .home-services > a, .home-offer-tabs button, .home-offer-actions .button,
.home-calc-fields label, .home-business p, .home-story p, .home-story-copy > span {
  font-size: var(--type-label);
}
.home-offer dt { font-size: var(--type-note); }
.home-offer dd { font-size: var(--type-label); }
footer { font-size: var(--type-body); }
footer p, footer nav, .home-footer nav, .home-footer .home-footer-contacts span { font-size: var(--type-body); }
.home-footer summary { font-size: 1.0625rem; }
footer nav a { overflow-wrap: anywhere; }

@media (min-width: 651px) {
  .site-header .top-contact, .site-header .quicklinks { display: none; }
  .site-header .topbar { min-height: 44px; padding-block: 5px; gap: 18px; }
  .toplinks { column-gap: 18px; row-gap: 4px; }
  .top-shopping { display: flex; align-items: center; gap: 16px; flex: none; }
  .top-shopping a { display: flex; align-items: center; gap: 6px; min-height: 34px; white-space: nowrap; }
  .top-shopping a:hover { text-decoration: underline; }
  .top-shopping .icon { width: 17px; height: 17px; }
  .top-shopping b:empty { display: none; }
  .top-shopping b { font-size: var(--type-note); color: #d7ecfa; }

  .site-header .mainbar {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center; gap: 10px 22px; padding-block: 10px 12px;
  }
  .site-header .brand { min-height: 0; }
  .site-header .brand img { width: 66px; height: 70px; }
  .site-header .brand-caption {
    min-width: 0; font-style: normal; font-size: var(--type-body); line-height: 1.35;
  }
  .header-contacts { display: flex; align-items: center; gap: 20px; }
  .header-hours { display: grid; align-content: center; gap: 3px; white-space: nowrap; }
  .header-hours small { color: #4f6073; font-size: var(--type-note); }
  .header-hours strong { font-size: 1.125rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .header-contact-links { display: grid; gap: 3px; }
  .header-contact-links .header-phone { font-size: 1.125rem; }
  .header-contact-links a + a { font-size: var(--type-label); color: #145b90; }
  .header-contact-links a:hover { text-decoration: underline; }
  .header-callback { min-height: 42px; border-color: #9dbfd8; white-space: nowrap; }

  .header-cart {
    display: flex; align-items: center; gap: 10px; min-height: 52px;
    padding: 5px; border: 1px solid #d6e2eb; border-radius: 8px;
    color: var(--ink); background: white;
  }
  .header-cart-icon { display: grid; place-items: center; width: 40px; height: 40px; color: var(--action); background: #eff5fa; border-radius: 6px; }
  .header-cart-stat { display: grid; gap: 3px; font-size: var(--type-note); line-height: 1.1; color: #4f6073; }
  .header-cart-stat strong { color: var(--ink); font-size: var(--type-body); font-variant-numeric: tabular-nums; }
  .header-cart-stat:nth-child(2) { min-width: 3.6rem; }
  .header-cart-stat:nth-child(3) { min-width: 6.25rem; }
  .header-cart-action { display: grid; place-items: center; min-height: 40px; padding-inline: 12px; border-radius: 6px; background: var(--action); color: white; font-weight: 700; white-space: nowrap; }
  .header-cart:hover .header-cart-action { background: #115a97; }
}

@media (min-width: 901px) {
  .toplinks a:nth-child(n+4) { display: block; }
}

@media (min-width: 1251px) {
  .header-hours { min-height: 38px; padding-inline: 16px; border-inline: 1px solid var(--line); }
}

@media (min-width: 651px) and (max-width: 1250px) {
  .site-header .mainbar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .header-contacts { justify-content: flex-end; gap: 15px; }
}

@media (min-width: 651px) and (max-width: 900px) {
  :root { --catalog-column: 205px; }
  .sidebar { font-size: var(--type-compact); }
  .site-header .mainbar { column-gap: 10px; }
  .header-contacts { display: grid; grid-template-columns: auto auto; justify-content: end; gap: 4px 8px; }
  .header-contact-links { grid-row: 1 / span 2; grid-column: 1; }
  .header-contact-links .header-phone { font-size: var(--type-body); }
  .header-callback, .toplinks, .top-shopping { font-size: var(--type-label); }
  .header-hours { grid-column: 2; }
  .header-hours small { display: none; }
  .header-hours strong { font-size: var(--type-body); }
  .header-cart-icon { display: none; }
  .header-callback { min-height: 34px; padding: 4px 7px; }
  .header-cart { gap: 6px; }
  .header-cart-stat:nth-child(2) { min-width: 0; }
  .header-cart-stat:nth-child(3) { min-width: 4rem; }
  .header-cart-action { font-size: var(--type-label); padding-inline: 7px; }
  .site-search-row { padding-inline: 18px; }
}

@media (min-width: 1681px) {
  :root { --catalog-column: 264px; }
  .shop-layout { grid-template-columns: var(--catalog-column) minmax(0, 1fr); max-width: none; }
  .site-header :is(.topbar, .mainbar), body > footer { padding-inline: 26px; }
}

@media (max-width: 650px) {
  .mobile-contact-pair { display: grid; justify-items: end; gap: 2px; }
  .mobile-contact-pair .header-phone, .mobile-hours { font-size: 1rem; line-height: 1.2; white-space: nowrap; }
  .mobile-hours { display: block; color: #e1eef7; font-weight: 650; font-variant-numeric: tabular-nums; }
  .site-header .mainbar { min-height: 62px; padding-block: 7px; }
  .site-search-row { padding: 9px 12px 10px; }
  .site-search-row .search-form { height: 43px; }
  .site-search-row .search-form input { padding-inline: 10px; }
  .site-search-row .search-form .icon-button { min-width: 43px; padding-inline: 8px; }
  .site-search-row .search-form .icon-button span { display: none; }
  .sidebar nav > a { font-size: var(--type-compact); }
  .breadcrumbs { font-size: var(--type-note); }
  .card-name, .catalog-results .card-name { font-size: var(--type-compact); }
  .pdp .pdp-highlights dt, .pdp-spec-group h3, .pdp-spec-group dl > div { font-size: var(--type-note); }
  .quick-order .shipping-options { grid-template-columns: minmax(0, 1fr); }
  .home-category > div:last-child, .home-story h3 { font-size: var(--type-compact); }
  .home-offer h3, .home-offer:first-child h3 { font-size: var(--type-compact); }
  .home-mobile-nav a, .catalog-mobile-nav a { font-size: .75rem; }
  footer nav, .home-footer nav, .home-footer .home-footer-contacts span { font-size: var(--type-compact); }
}
