:root {
  --paper: #f5f6f7;
  --ink: #1b2533;
  --panel: #fff;
  --line: #cbd1d9;
  --accent: #244b75;
  --accent-text: #fff;
  --heading-font: Georgia, serif;
  color-scheme: light;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.15; font-family: var(--heading-font); overflow-wrap: anywhere; }
h1 { font-size: clamp(2.15rem, 5vw, 4.7rem); }
main h1.region-hero-title { max-width: 100%; font-size: clamp(1.55rem, 3.55vw, 2.7rem); overflow-wrap: normal; text-wrap: balance; }
@media (max-width: 32rem) {
  main h1.region-hero-title { font-size: clamp(1.38rem, 6.35vw, 2.05rem); }
}
h2 { font-size: clamp(1.55rem, 3vw, 2.45rem); }
h3 { font-size: 1.23rem; }
p { margin: 0 0 1em; }
button, select, input, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus { position: absolute; z-index: 3; left: 1rem; top: 1rem; padding: .6rem 1rem; background: #fff; color: #141414; }
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); }
.header-inner, .site-footer, .section { width: min(100% - 2.5rem, 73rem); margin-inline: auto; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem 1.5rem; min-height: 4.6rem; padding-block: .6rem; }
.header-inner nav, .footer-links { display: flex; flex-wrap: wrap; gap: .55rem 1.3rem; }
.header-inner nav a, .header-phone, .footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.brand { display: flex; flex-direction: column; line-height: 1.15; font-size: .92rem; text-decoration: none; }
.brand strong { font-size: 1.45rem; }
.brand span { margin-top: .18rem; }
.section { padding-block: clamp(1.7rem, 4vw, 3.8rem); scroll-margin-top: 1em; }
.reading-crumbs-wrap { padding-block: 1rem 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-head p { max-width: 48rem; margin-bottom: 0; }
.header-inner nav .header-catalog { font-weight: 750; text-decoration-thickness: .14em; }
.region-catalog .section-head { align-items: baseline; }
.region-catalog .section-head > div { max-width: 48rem; min-width: 0; }
.catalog-other-page { font-size: .92rem; }
.catalog-tools { padding: clamp(.85rem, 3vw, 1.35rem); background: var(--panel); border: 1px solid var(--line); border-radius: .65rem; }
.catalog-types { display: flex; flex-wrap: wrap; gap: .45rem; min-width: 0; border: 0; margin: 0; padding: 0; }
.catalog-types legend { margin-bottom: .45rem; padding: 0; font-weight: 650; }
.catalog-types label { position: relative; cursor: pointer; }
.catalog-types input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.catalog-types label > span { display: flex; min-height: 2.75rem; align-items: center; gap: .4rem; padding: .35rem .7rem; border: 1px solid var(--line); border-radius: .4rem; font-weight: 620; }
.catalog-types small { font-size: .75rem; font-variant-numeric: tabular-nums; }
.catalog-types input:checked + span { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.catalog-types input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 3px; }
.catalog-tools .filters { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); margin: .85rem 0 0; max-width: none; }
.catalog-tools .filters input, .catalog-tools .filters select { margin: .25rem 0 0; }
.catalog-results { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .45rem 1rem; margin: .8rem 0; }
.catalog-results p { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.catalog-reset { min-height: 2.75rem; padding: .45rem .7rem; }
.catalog-empty { padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .5rem; }
.catalog-families { display: grid; gap: .65rem; }
.catalog-family { background: var(--panel); border: 1px solid var(--line); border-radius: .55rem; min-width: 0; }
.catalog-family > summary { cursor: pointer; display: flex; align-items: center; gap: .7rem; padding: .75rem .85rem; min-height: 3.2rem; font-weight: 750; list-style: none; }
.catalog-family > summary::-webkit-details-marker { display: none; }
.catalog-family > summary::before { content: ''; width: .56rem; height: .56rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); flex: 0 0 auto; margin: 0 .24rem .12rem 0; }
.catalog-family[open] > summary::before { transform: rotate(45deg); }
.catalog-family-count { margin-left: auto; font-size: .88rem; font-variant-numeric: tabular-nums; border: 1px solid var(--line); border-radius: .35rem; padding: .04rem .4rem; }
.catalog-family > .catalog-grid { border-top: 1px solid var(--line); padding: clamp(.5rem, 1.5vw, .9rem); }
.catalog-card-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .25rem .55rem; margin-bottom: .3rem; }
.catalog-card-heading h3 { margin: 0; }
.catalog-on-order { border: 1px solid var(--line); border-radius: .3rem; padding: .04rem .38rem; font-size: .79rem; }
.catalog-length-links { display: flex; align-items: center; flex-wrap: wrap; gap: .12rem .45rem; font-size: .88rem; margin: -.25rem 0 .55rem; }
.catalog-length-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .25rem; }
.catalog-grid, .guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.catalog-card, .guide-grid article { background: var(--panel); border: 1px solid var(--line); border-radius: .65rem; padding: 1.2rem; min-width: 0; }
.catalog-card { display: flex; flex-direction: column; min-height: 100%; }
.product-facts { font-weight: 600; }
.card-measurements { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr)); gap: .55rem; margin: 0 0 .95rem; }
.card-measurements > div { border-top: 1px solid var(--line); padding-top: .55rem; }
.card-measurements dt { font-size: .88rem; }
.card-measurements dd { margin: .15rem 0 0; font-weight: 700; }
.size-detail { margin-bottom: .85rem; }
.size-detail summary { cursor: pointer; font-weight: 650; min-height: 2rem; }
.size-detail p { margin: .35rem 0 0; }
.dimension-table { max-width: 100%; overflow-x: auto; margin: .45rem 0 .4rem; }
.dimension-table table { width: 100%; border-collapse: collapse; font-size: .88rem; line-height: 1.4; }
.dimension-table caption { text-align: left; padding-block: .4rem; }
.dimension-table td, .dimension-table th { border-bottom: 1px solid var(--line); padding: .38rem .48rem; text-align: left; }
.dimension-basis { font-size: .9rem; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem .9rem; margin-top: auto; }
.button, .secondary-button { display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 2.875rem; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: .4rem; white-space: normal; font-weight: 700; text-decoration: none; cursor: pointer; }
.button { background: var(--accent); color: var(--accent-text); }
.button:disabled { opacity: .7; cursor: wait; }
.button:hover, .secondary-button:hover { text-decoration: underline; }
.button-small { font-size: .94rem; }
.secondary-button { border-color: var(--line); background: var(--panel); }
.order-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1rem, 4vw, 3.1rem); align-items: start; }
.order-copy p { max-width: 34rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.15rem; }
form[data-order-form] { padding: clamp(1rem, 3vw, 1.65rem); background: var(--panel); border: 1px solid var(--line); border-radius: .65rem; }
form label, .filters label { display: block; font-weight: 600; margin-bottom: .28rem; }
form label small { font-weight: 400; }
form input:not([type="checkbox"]), form textarea, .filters input, .filters select { display: block; width: 100%; min-width: 0; min-height: 2.9rem; margin-bottom: .9rem; border: 1px solid var(--line); border-radius: .36rem; padding: .52rem .68rem; background: var(--panel); color: var(--ink); }
form textarea { resize: vertical; }
.form-row, .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
form .consent { display: flex; align-items: start; gap: .6rem; margin: .2rem 0 1rem; font-weight: 400; }
.consent input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; accent-color: var(--accent); margin: .2rem 0; }
.form-status { margin: .85rem 0 0; }
.form-status:empty { margin: 0; }
.filters { max-width: 47rem; margin-block: 1.5rem 0; }
.inner-page > p:last-child { padding-top: 1rem; }
.related ul { padding-left: 1.25rem; }
.related li { padding-block: .12rem; }
.reading { max-width: 51rem; }
.reading article > h2 { font-size: 1.5rem; margin-top: 1.65rem; }
.reading article { overflow-wrap: anywhere; }
.reading > nav { margin-bottom: 1rem; }
.reading .lead { font-size: 1.18rem; }
.reading .related { width: 100%; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 1rem 2rem; border-top: 1px solid var(--line); padding-block: 1.5rem 2rem; }
.site-footer p { margin: .3rem 0 0; }
.region-directory { min-height: 65vh; }
.region-directory p { max-width: 48rem; }
@media (max-width: 42rem) {
  .header-inner, .site-footer, .section { width: min(100% - 1.75rem, 73rem); }
  .order-section, .form-row, .filters, .catalog-tools .filters { grid-template-columns: 1fr; }
  .header-inner nav { order: 3; flex-basis: 100%; }
  .header-inner nav a { min-height: 2.5rem; }
}
