:root {
  color-scheme: light;
  --ink: #18242c;
  --text: #26363f;
  --muted: #516269;
  --line: #cbd4d8;
  --light-line: #dde4e7;
  --surface: #f3f6f7;
  --accent: #205e71;
  --accent-soft: #e2edf0;
  font: 100%/1.5 Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}
* { box-sizing: border-box }
body { margin: 0 }
[hidden] { display: none !important }
button, input { font: inherit }
a { color: var(--accent) }
button, input[type="checkbox"], input[type="radio"], summary { cursor: pointer }
:focus-visible { outline: 3px solid #0879aa; outline-offset: 3px }
.wrap { width: min(91%, 84rem); margin-inline: auto }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: absolute; z-index: 3; background: white; padding: .5rem 1rem }
.masthead { color: white; background: var(--ink); border-bottom: 4px solid var(--accent) }
.masthead-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.7rem }
.brand { color: white; text-decoration: none; font-size: 1.72rem; font-weight: 850; letter-spacing: -.055em; line-height: 1 }
.masthead-label { padding-inline-start: 1.5rem; border-inline-start: 1px solid #617078; font-size: .91rem }
main { padding-block: 3.2rem 5rem }
#crumbs { display: flex; gap: .75rem; align-items: baseline; margin-bottom: 1.6rem; font-size: .94rem; overflow-wrap: anywhere }
#crumbs a { text-underline-offset: .2em }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem }
h1, h2, p, dl, dd { margin: 0 }
h1, h2 { color: var(--ink); overflow-wrap: anywhere }
h1 { font-size: clamp(1.8rem, 3.25vw, 2.95rem); letter-spacing: -.045em; line-height: 1.08; font-weight: 690 }
body[data-product-id] h1 { font-size: clamp(1.875rem, 3.4vw, 3.05rem) }
h2 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -.024em }
#snapshot-info { flex: 0 0 auto; padding-bottom: .15rem; text-align: right }
.meta-label { display: block; color: var(--muted); font-size: .875rem }
time { font-size: .94rem; font-variant-numeric: tabular-nums }
.notice { padding: .8rem 1rem; margin: 1rem 0; border-inline-start: 3px solid #a36910; background: #fff4d9 }
.search { display: flex; align-items: center; border: 1px solid #87999f; border-radius: .35rem; padding: .3rem; padding-inline-start: 1.1rem; gap: .85rem; margin-bottom: 2rem }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) }
.magnifier { width: .95rem; height: .95rem; border: 2px solid var(--muted); border-radius: 50%; position: relative; flex: 0 0 auto }
.magnifier::after { content: ""; height: 2px; width: .48rem; background: var(--muted); position: absolute; bottom: -.18rem; right: -.36rem; transform: rotate(45deg) }
.search input { flex: 1; min-width: 0; border: 0; color: var(--text); background: transparent; padding: .48rem 0 }
.search input:focus { outline: 0 }
.search button { border: 0; border-radius: .2rem; background: var(--accent); color: white; padding: .5rem 1.5rem; font-weight: 600 }
.search button:hover { filter: brightness(.9) }
.catalog-layout { display: grid; grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr); gap: clamp(1.5rem, 3.8vw, 3.5rem); align-items: start }
#filters { padding: 1.15rem; background: var(--surface); border-radius: .35rem; border: 1px solid var(--light-line) }
summary { font-size: 1.2rem; font-weight: 650 }
fieldset { min-width: 0; padding: 0; border: 0; margin: 1.2rem 0 0 }
legend { padding: 0; margin-bottom: .45rem; font-weight: 650; color: var(--ink) }
#category-field { padding: 1.15rem; margin-bottom: .95rem; border: 1px solid var(--line); border-radius: .35rem }
#category-title { font-size: 1.2rem; margin-bottom: .65rem }
#categories { display: grid; gap: .15rem }
.category { display: flex; align-items: baseline; gap: .6rem; padding: .44rem .55rem; border-radius: .2rem; color: var(--text); text-decoration: none }
.category:hover { background: var(--surface); color: var(--accent) }
.category[aria-current="page"] { background: var(--accent-soft); color: #174e60; font-weight: 650 }
.category-name { flex: 1; overflow-wrap: anywhere; min-width: 0 }
.category-count { font-size: .875rem; font-variant-numeric: tabular-nums }
.availability { border-top: 1px solid var(--line); padding-top: .1rem }
.availability legend { float: left; width: 100%; padding-top: .9rem }
.availability label { display: flex; gap: .55rem; align-items: flex-start; padding: .37rem 0; line-height: 1.3; cursor: pointer }
.availability label:first-of-type { clear: both }
input[type=checkbox] { width: 1.05rem; height: 1.05rem; margin: .1rem 0 0; accent-color: var(--accent); flex: 0 0 auto }
.text-button { margin-top: 1.2rem; padding: .15rem 0; border: 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: .2rem }
.text-button:disabled { color: var(--muted); text-decoration: none; cursor: default }
.results-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .45rem 1rem; margin: .14rem 0 1rem }
.count { font-size: .875rem; color: var(--muted) }
table { width: 100%; border-collapse: collapse; table-layout: fixed }
th, td { padding: .9rem .65rem; overflow-wrap: anywhere; text-align: right; vertical-align: middle }
th { background: var(--surface); border-block: 1px solid var(--line); font-size: .875rem; color: var(--muted); line-height: 1.25; font-weight: 600 }
th:first-child, .product-cell { text-align: left; width: 41% }
.unit { text-align: left; width: 8% }
td { border-bottom: 1px solid var(--light-line) }
tr:hover td { background: #fafcfc }
.product-cell a { display: inline-block; font-weight: 650; text-decoration: none; color: var(--ink) }
.product-cell a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .15rem }
.sku { font-family: "IBM Plex Mono", Consolas, monospace; overflow-wrap: anywhere }
.sku { display: block; font-size: .875rem; font-weight: 400; color: var(--muted); margin-top: .18rem }
.measure { font-variant-numeric: tabular-nums; font-weight: 620 }
.zero { color: var(--muted); font-weight: 440 }
.empty { padding: 2rem 1rem; border-block: 1px solid var(--light-line); color: var(--muted) }
.facts { display: flex; flex-wrap: wrap; gap: 1.4rem 3.5rem; border-block: 1px solid var(--line); padding-block: 1.3rem; margin-bottom: 2rem }
.facts dt, .quantities dt { color: var(--muted); font-size: .94rem }
.facts dd { font-weight: 650; overflow-wrap: anywhere }
.quantities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1rem; gap: .8rem }
.quantities div { background: var(--surface); padding: 1.25rem 1.4rem; border-top: 3px solid var(--accent); border-radius: .2rem }
.quantities dd { margin-top: .5rem; font-size: clamp(1.4rem, 2.8vw, 2.4rem); font-variant-numeric: tabular-nums; font-weight: 640; overflow-wrap: anywhere }
.quantities small { margin-inline-start: .45rem; font-size: 1rem; font-weight: 420; color: var(--muted) }
#product-intro { display: flex; align-items: flex-start; gap: 1.4rem; margin-bottom: 2rem }
.product-photo { flex: 0 0 auto; width: min(12rem, 45vw); aspect-ratio: 4 / 3; object-fit: contain }
.product-summary { max-width: 62ch; min-width: 0; overflow-wrap: anywhere }
.product-summary a { display: inline-block; margin-top: .55rem }
.product-section { margin-top: 2rem }
.spec-values { display: grid; max-width: 46rem; margin-top: .85rem }
.spec-values div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; border-bottom: 1px solid var(--light-line); padding: .5rem 0 }
.spec-values dt { color: var(--muted) }
.spec-values dd { font-weight: 600 }
.spec-values dt, .spec-values dd, .document-links a { overflow-wrap: anywhere }
.document-links { display: grid; gap: .45rem; margin: .85rem 0 0; padding-inline-start: 1.25rem }
@media (max-width: 60rem) {
  .catalog-layout { grid-template-columns: minmax(11rem, 13rem) minmax(0, 1fr); gap: 1rem }
  th:first-child, .product-cell { width: 35% }
}
@media (max-width: 48rem) {
  #product-intro { flex-wrap: wrap; gap: .75rem }
  .wrap { width: calc(100% - 2rem) }
  main { padding-block: 2rem 3rem }
  .masthead-inner { min-height: 3.85rem; gap: 1rem }
  .masthead-label { padding-inline-start: 1rem }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 1.2rem }
  #snapshot-info { text-align: left }
  #snapshot-info .meta-label { display: inline; margin-inline-end: .4rem }
  .search { margin-bottom: .9rem; gap: .65rem; padding-inline-start: .8rem }
  .search button { padding-inline: .95rem }
  .catalog-layout { display: block }
  #category-field { padding: .8rem; margin-bottom: .7rem }
  #categories { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.6rem), 1fr)); gap: .25rem .4rem }
  .category { align-items: center; padding: .45rem; line-height: 1.25; min-height: 2.5rem }
  #filters { margin-bottom: 1.4rem; padding: .8rem 1rem }
  table, tbody, tr, td { display: block; width: 100% }
  thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden }
  tbody tr { border: 1px solid var(--line); border-radius: .35rem; padding: .9rem; margin: 0 0 .75rem }
  td { border: 0; padding: 0 }
  tr:hover td { background: transparent }
  .product-cell, .unit { width: 100% }
  .product-cell { padding-bottom: .6rem; border-bottom: 1px solid var(--light-line) }
  .product-cell a { display: block }
  .measure, td.unit { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; margin-top: .42rem; text-align: right }
  .measure::before, td.unit::before { content: attr(data-label); text-align: left; color: var(--muted); font-size: .91rem; font-weight: normal }
  .quantities { grid-template-columns: 1fr }
  .quantities div { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; border-top: 0; border-inline-start: 3px solid var(--accent) }
  .quantities dd { text-align: right; margin: 0 }
}
