.catalog-section { padding: clamp(1.15rem, 2.4vw, 1.8rem) 0; }
.catalog-section.catalog-list { padding-top: .35rem; }
.catalog-title {
  color: #142b3e;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  letter-spacing: -.035em;
  line-height: 1.15;
  margin: 0 0 .35rem;
  overflow-wrap: anywhere;
}
.catalog-summary { margin: 0 0 .8rem; }
.catalog-section h2 { color: #142b3e; font-size: clamp(1.35rem, 2.8vw, 2rem); letter-spacing: -.025em; margin: 0 0 .65rem; }
.catalog-section p { color: #425c6e; }
.catalog-muted { background: #eff4f7; border-block: 1px solid #e0e8ec; }
.catalog-directory, .catalog-media-grid { display: grid; gap: .75rem; }
.catalog-directory { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.catalog-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.catalog-directory-card {
  background: #fff;
  border: 1px solid #dbe5eb;
  border-top: 4px solid var(--catalog-accent);
  border-radius: .6rem;
  color: #142b3e;
  display: block;
  padding: .85rem 1rem;
  text-decoration: none;
}
.catalog-directory-card:hover, .catalog-directory-card:focus-visible { border-color: var(--catalog-accent); }
.catalog-brand-logo { display: block; width: 8.5rem; max-width: 100%; height: 2rem; object-fit: contain; object-position: left center; margin-bottom: .55rem; }
.brand-top .catalog-brand-logo { min-width: 0; margin-bottom: 0; }
.brand-main h3 a:hover, .brand-main h3 a:focus-visible { text-decoration: underline; text-underline-offset: .15em; }
.catalog-directory-card > strong { display: block; margin-bottom: .55rem; color: var(--catalog-accent); font-size: 1.15rem; line-height: 2rem; }
.catalog-directory-card > span { color: #425c6e; font-size: .95rem; }
.catalog-directory-card p { margin: .3rem 0 0; }
.catalog-filters {
  align-items: end;
  display: grid;
  gap: .65rem;
  grid-template-columns: minmax(13rem, 2fr) minmax(8rem, 1fr) minmax(8rem, 1fr) auto;
  margin: .7rem 0 .2rem;
}
.catalog-filters label { color: #1e384b; display: grid; gap: .35rem; font-size: .9rem; font-weight: 700; }
.catalog-filters input, .catalog-filters select {
  background: #fff;
  border: 1px solid #9aadb9;
  border-radius: .35rem;
  color: #142b3e;
  font: inherit;
  font-weight: 400;
  min-height: 2.75rem;
  min-width: 0;
  padding: .45rem .65rem;
  width: 100%;
}
.catalog-filters select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%233f596c' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right .55rem center;
  background-repeat: no-repeat;
  padding-right: 1.75rem;
}
.catalog-filters input:focus-visible, .catalog-filters select:focus-visible { outline: 2px solid #075da5; outline-offset: 2px; }
.catalog-filters .btn { min-height: 2.75rem; padding: .45rem .8rem; }
.catalog-count { font-size: .93rem; font-weight: 700; margin: .35rem 0; }
.catalog-results { align-items: center; display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between; }
.catalog-photo-filter { align-items: center; color: #233f55; cursor: pointer; display: flex; font-size: .93rem; gap: .4rem; min-height: 2.75rem; }
.catalog-photo-filter input { accent-color: #075da5; height: 1rem; width: 1rem; }
.catalog-grid { border-top: 1px solid #dbe5eb; }
.catalog-card { border-bottom: 1px solid #dbe5eb; }
.catalog-card:hover, .catalog-card:focus-within { background: #f6f8fa; }
.catalog-card-link {
  align-items: center;
  color: #142b3e;
  display: grid;
  gap: .5rem .9rem;
  grid-template-columns: 5rem minmax(0, 1.6fr) minmax(0, 1fr);
  padding: .72rem .55rem;
  text-decoration: none;
}
.catalog-card-link:focus-visible { outline: 2px solid #075da5; outline-offset: -3px; }
@media (min-width: 761px) {
  .catalog-grid-compact .catalog-card-link { grid-template-columns: 5rem minmax(0, 1fr); }
}
.catalog-thumb { background: #f5f7f9; border-radius: .25rem; display: block; height: 3.75rem; object-fit: contain; width: 100%; }
.catalog-thumb-caption { display: block; font-size: .75rem; line-height: 1.2; margin-top: .2rem; text-align: center; color: #526779; }
.catalog-card h2 { color: #162f41; font-size: 1.03rem; letter-spacing: -.01em; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.catalog-card p { font-size: .92rem; line-height: 1.45; margin: .18rem 0; overflow-wrap: anywhere; }
.catalog-card p.catalog-card-summary { color: #536775; margin-top: .28rem; }
.catalog-badge { background: #edf2f6; border-radius: .3rem; color: #233f55; display: inline-block; font-size: .82rem; font-weight: 700; padding: .08rem .35rem; }
.catalog-mini-table { display: grid; font-size: .86rem; gap: .35rem .75rem; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; }
.catalog-mini-table:empty { display: none; }
.catalog-mini-table dt { color: #4f6473; }
.catalog-mini-table dd { color: #172e41; font-weight: 700; margin: 0; }
.catalog-empty { border: 1px dashed #9aadb9; border-radius: .4rem; padding: 1rem; }
.catalog-detail-grid {
  align-items: start;
  display: grid;
  gap: .9rem clamp(1.2rem, 4vw, 3rem);
  grid-template-areas: "drawing specs";
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.catalog-detail-with-photos { grid-template-areas: "gallery specs" "drawing specs"; grid-template-rows: auto 1fr; }
.catalog-detail-grid .catalog-copy { grid-area: specs; }
.catalog-detail-grid .catalog-drawing { grid-area: drawing; }
.catalog-detail-grid .spec-table th, .catalog-detail-grid .spec-table td { padding-block: .45rem; }
.catalog-copy { max-width: 54rem; }
.catalog-copy li { margin-bottom: .6rem; }
.catalog-drawing .diagram { min-height: 0; padding: .4rem; }
.catalog-drawing .diagram > svg { display: block; height: auto; max-width: 100%; width: 100%; }
.product-photo-gallery { grid-area: gallery; min-width: 0; }
.product-photo-slide { border: 1px solid #dbe5eb; border-radius: .6rem; margin: 0 0 .7rem; overflow: hidden; }
.product-photo-frame { align-items: center; aspect-ratio: 4 / 3; background: #f5f7f9; cursor: zoom-in; display: flex; justify-content: center; }
.product-photo-frame:focus-visible { outline-offset: -4px; }
.product-photo-frame img { height: 100%; object-fit: contain; width: 100%; }
.product-photo-slide figcaption { display: grid; gap: .18rem; padding: .7rem .85rem; overflow-wrap: anywhere; }
.product-photo-slide figcaption span { color: #425c6e; font-size: .88rem; }
.product-photo-navigation { align-items: center; display: flex; gap: .5rem; justify-content: space-between; }
.product-photo-navigation .btn { min-height: 2.75rem; padding: .4rem .7rem; }
.product-photo-navigation [data-photo-counter] { color: #425c6e; font-size: .9rem; font-variant-numeric: tabular-nums; }
.product-photo-thumbnails { display: flex; flex-wrap: wrap; gap: .55rem; margin: .75rem 0; }
.product-photo-thumb { align-items: center; background: #f5f7f9; border: 2px solid #dbe5eb; border-radius: .35rem; color: #142b3e; display: grid; justify-items: center; padding: .15rem; width: 4.25rem; }
.product-photo-thumb[aria-pressed="true"] { border-color: #99501f; }
.product-photo-thumb img { height: 3rem; object-fit: contain; width: 100%; }
.product-photo-thumb span { font-size: .77rem; font-weight: 700; }
.product-photo-modal {
  background: #fff;
  border: 1px solid #dbe5eb;
  border-radius: .6rem;
  color: #172e41;
  max-height: calc(100dvh - 1.5rem);
  padding: .65rem;
  width: min(64rem, calc(100vw - 1.5rem));
}
.product-photo-modal::backdrop { background: rgb(10 22 33 / 76%); }
.product-photo-modal-header { align-items: center; display: flex; gap: .75rem; justify-content: space-between; margin-bottom: .55rem; }
.product-photo-modal-header p { font-size: .93rem; font-weight: 700; line-height: 1.4; margin: 0; }
.product-photo-modal-header button { min-height: 2.75rem; padding: .4rem .75rem; }
.product-photo-modal img { display: block; height: auto; margin: auto; max-height: calc(100dvh - 7rem); max-width: 100%; object-fit: contain; }
.catalog-pack-card { background: #fff; border: 1px solid #dbe5eb; border-radius: .5rem; margin: 0; overflow: hidden; }
.catalog-pack-card img { background: #f8fafc; display: block; height: 14rem; object-fit: contain; width: 100%; }
.catalog-pack-card figcaption { padding: .95rem 1rem; }
.catalog-pack-card figcaption p { margin: .25rem 0 .45rem; }
.catalog-related-list { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0; }
.catalog-related { background: #eaf1f6; border-radius: .25rem; color: #1a405e; font-size: .92rem; padding: .45rem .65rem; }
.catalog-related:hover, .catalog-related:focus-visible { background: #d9e8f4; color: #123a58; text-decoration: underline; text-underline-offset: .16em; }
.catalog-related:active { background: #194b6e; color: #fff; }
.catalog-section .spec-table { width: 100%; }
@media (max-width: 860px) {
  .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .catalog-detail-grid { grid-template-areas: "specs" "drawing"; grid-template-columns: minmax(0, 1fr); }
  .catalog-detail-with-photos { grid-template-areas: "gallery" "specs" "drawing"; grid-template-rows: auto; }
  .catalog-list-body { padding-inline: 0; }
  .catalog-list-body .catalog-empty { margin-inline: .75rem; }
  .catalog-card-link {
    align-items: start;
    gap: .55rem .75rem;
    grid-template-columns: clamp(4.5rem, 23vw, 7rem) minmax(0, 1fr);
    padding-inline: .75rem;
  }
  .catalog-thumb { height: clamp(3.8rem, 18vw, 5.6rem); }
  .catalog-mini-table { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: .3rem .9rem; }
  .catalog-mini-table > div { display: flex; flex-wrap: wrap; column-gap: .3rem; }
}
@media (max-width: 580px) {
  .catalog-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-directory-card { padding-inline: .7rem; }
  .catalog-media-grid { grid-template-columns: 1fr; }
}
@media print {
  .catalog-filters, [data-photo-controls] { display: none; }
}
.catalog-package-data { background: #f2f6f8; border: 1px solid #e0e8ec; border-radius: .45rem; margin-top: 1.4rem; padding: 1rem; }
.catalog-package-data h2 { font-size: 1.2rem; }
.catalog-package-data dl { display: grid; gap: .3rem .65rem; grid-template-columns: auto 1fr; }
.catalog-package-data dt { color: #526779; }
.catalog-package-data dd { font-weight: 700; margin: 0; }
.guide-lead { color: #425c6e; margin: .45rem 0 .25rem; max-width: 68ch; }
.guide-jumps { display: flex; flex-wrap: wrap; gap: .45rem .65rem; margin: 0 0 1rem; }
.guide-jumps a { border: 1px solid #d7e1e8; border-radius: .4rem; padding: .35rem .65rem; font-weight: 700; }
.guide-jumps a:hover { border-color: #075da5; color: #075da5; }
.guide-group { margin: 0 0 1.4rem; }
.guide-group h2, .guide-article h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 0 0 .55rem; }
.guide-group p, .guide-article p { margin: .4rem 0 .85rem; }
.guide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); gap: .55rem 1rem; list-style: none; margin: 0; padding: 0; }
.guide-list a { display: block; height: 100%; border: 1px solid #dbe5eb; border-radius: .4rem; color: #183b55; padding: .62rem .8rem; font-weight: 700; }
.guide-list a:hover { border-color: #075da5; background: #f5f8fa; }
.guide-list a span { display: block; font-size: .9rem; font-weight: 400; color: #425c6e; margin-top: .2rem; }
.guide-type-list { grid-template-columns: repeat(auto-fit, minmax(min(23rem, 100%), 1fr)); }
.guide-list .guide-type-link { display: grid; align-items: center; grid-template-columns: minmax(5rem, 37%) minmax(0, 1fr); gap: .75rem; }
.guide-type-image { background: #f6f8fa; border-radius: .25rem; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.guide-type-copy { line-height: 1.4; overflow-wrap: anywhere; }
.guide-group .guide-figures { margin-bottom: .85rem; }
.guide-article { max-width: 61rem; padding-bottom: 1.25rem; }
.guide-article > section { margin: 0 0 1.4rem; }
.guide-table-wrap { overflow-x: auto; }
.guide-table th, .guide-table td { padding: .48rem .62rem; }
.guide-table thead th { background: #eaf0f4; text-align: left; }
.guide-link-list { margin: .3rem 0; padding-left: 1.3rem; }
.guide-link-list a { color: #124c77; text-decoration: underline; text-underline-offset: .15em; }
.guide-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.guide-figures figure { border: 1px solid #dbe5eb; border-radius: .45rem; margin: 0; overflow: hidden; }
.guide-figures img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #f6f8fa; }
.guide-figures figcaption { font-size: .9rem; padding: .35rem .65rem; }
.guide-search { margin: 0 0 .9rem; }
.guide-search input { display: block; width: min(100%, 38rem); border: 1px solid #9aadb9; border-radius: .4rem; padding: .5rem .7rem; margin-top: .22rem; }
.guide-search label { font-weight: 700; }
@media (max-width: 640px) { .guide-figures { grid-template-columns: 1fr; } }

.contact-content { max-width: 42rem; }
.contact-form { background: #f6f8fa; border: 1px solid #dbe5eb; border-radius: .5rem; padding: clamp(.85rem, 3.5vw, 1.4rem); }
.contact-form fieldset { border: 0; margin: 0; min-width: 0; padding: 0; }
.contact-form legend { color: #142b3e; font-size: 1.12rem; font-weight: 700; margin-bottom: .7rem; padding: 0; }
.contact-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.contact-form label { display: block; color: #233f55; font-weight: 700; margin-bottom: .75rem; }
.contact-form input, .contact-form textarea { display: block; width: 100%; min-height: 2.75rem; margin-top: .25rem; border: 1px solid #9aadb9; border-radius: .35rem; padding: .5rem .65rem; font: inherit; font-weight: 400; color: #142b3e; background: #fff; }
.contact-form textarea { resize: vertical; }
.contact-form .small-note { margin: .45rem 0 .75rem; }
.contact-status { background: #eff4f7; border: 1px solid #d5e2e9; border-radius: .35rem; padding: .55rem .75rem; }
@media (max-width: 530px) { .contact-row { grid-template-columns: 1fr; gap: 0; } }
