/* Catalogue and product pages share the main page's surfaces and type sizes. */
.catalog-page { background: #f8faf7 !important; }
.catalog-page .catalog { width: min(1432px,100%); padding: 26px clamp(18px,4.8vw,76px) 42px; scroll-margin-top: 96px; }
.catalog-breadcrumb { margin-bottom: 13px; font-size: 13px; }
#catalog-title { font-size: clamp(28px,3vw,40px); line-height: 1.15; letter-spacing: -.03em; margin-bottom: 18px; }
.catalog-search { gap: 8px; margin-bottom: 14px; }
.catalog-search input { min-height: 46px; padding: 10px 14px; border-color: #b6c8bb; border-radius: 4px; font-size: 16px; }
.catalog-search .button { min-width: 98px; min-height: 46px; border-radius: 4px; }
.catalog-directions { flex-wrap: wrap; gap: 6px 18px; margin-bottom: 25px; padding: 0 0 11px; border-bottom: 1px solid #d7e2d8; overflow: visible; }
.catalog-directions a { flex: none; min-height: 38px; padding: 7px 0; border: 0; border-radius: 0; background: transparent; font-size: 14px; }
.catalog-directions a[aria-current] { color: #075735; background: transparent; border-bottom: 2px solid #09683e; }
.catalog-directions a:hover:not([aria-current]) { color: #075735; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.catalog-page .catalog-layout { grid-template-columns: 200px minmax(0,1fr); gap: 24px; }
.catalog-page .group-panel { top: 100px; }
.catalog-page .panel-heading { padding: 0 0 11px; font-size: 18px; }
.catalog-page .group-tree { max-height: min(600px,calc(100dvh - 135px)); padding-right: 6px; }
.catalog-page :is(.group-row,.subgroup-row,.all-products) { padding: 11px 8px; min-height: 40px; font-size: 14px; line-height: 1.4; }
.catalog-page .tree-count, .catalog-page #total { font-size: 12px; }
.catalog-page .catalog-help { border-radius: 4px 14px 4px 4px; background: #edf3e9; padding: 17px 14px; }
.catalog-page .catalog-help h3 { font-size: 18px; }
.catalog-page .catalog-help p { font-size: 14px; }
.catalog-page .results-bar { align-items: center; margin-bottom: 12px; }
#selection-title { font-size: clamp(22px,2.25vw,29px); line-height: 1.2; }
.catalog-page #status { font-size: 14px; }
.catalog-view button { min-height: 40px; border-radius: 4px; font-size: 13px; }
.catalog-view { flex: none; }
.catalog-view button { display: grid; place-items: center; min-width: 42px; }
.catalog-filter-panel { margin-bottom: 16px; }
.catalog-filter-panel > summary { display: none; }
.catalog-filter-panel .catalog-filters { margin-bottom: 0; }
.catalog-filters { padding: 11px 14px; margin-bottom: 16px; border: 1px solid #d5e0d5; border-radius: 4px; background: white; gap: 10px 16px; }
.catalog-filters .filter-label { color: #4a6052; font-size: 13px; }
.catalog-filters select { min-height: 42px; font-size: 14px; border-color: #b6c8bb; border-radius: 4px; }
.filter-reset { min-height: 42px; margin-left: auto; padding-inline: 4px; font-size: 14px; }
.filter-chip { min-height: 36px; font-size: 13px; border-radius: 4px; background: #edf3e9; }
.catalog-page .catalog-results { scroll-margin-top: 96px; }
.catalog-page .cards { gap: 16px; }
.catalog-page .cards .card { --card-inset: 16px; overflow: hidden; border: 1px solid #d2ddd3; border-radius: 4px 14px 4px 4px; background: white; box-shadow: none; }
.catalog-page .cards .card:hover { border-color: #508466; box-shadow: none; }
.catalog-page .card .visual { --photo-height: 178px; height: 202px; flex-basis: 202px; border-bottom: 1px solid #e0e6dc; background: #fff; }
.catalog-page .card .photo-opener { padding: 12px; }
.catalog-page .card .card-body { padding: 13px var(--card-inset) 12px; }
.catalog-maker { display: block; margin: 0 0 6px; color: #09683e; font-size: 12px; font-weight: 600; letter-spacing: .025em; line-height: 1.4; overflow-wrap: anywhere; }
.catalog-page .card h3 { min-height: 2.6em; margin-bottom: 9px; color: #19362b; font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: -.015em; overflow-wrap: anywhere; }
.catalog-page .card dl div { gap: 10px; padding: 7px 0; font-size: 13px; line-height: 1.4; }
.catalog-page .card dt { max-width: none; color: #53675b; }
.catalog-page .card dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.catalog-page .card-footer { padding: 0 var(--card-inset) 16px; }
.catalog-page .card-actions { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 8px; }
.catalog-page .card-actions > .product-more { min-height: 44px; padding: 9px 8px; border: 1px solid #bfd0c2; border-radius: 4px; background: #fff; color: #09683e; font-size: 14px; font-weight: 600; }
.catalog-page .card-actions > .quote-add { min-height: 44px; padding: 9px 8px; border: 1px solid #09683e; border-radius: 4px; background: #09683e; color: white; font-size: 14px; font-weight: 600; }
.catalog-page .card-actions > .quote-add.included { background: #e2f0e2; color: #075735; border-color: #93b79d; }
.catalog-page .card-actions > .product-more:hover { background: #edf3e9; color: #075735; }
.catalog-page .card-actions > .quote-add:hover { background: #075231; color: white; }
.catalog-page .gallery-count { font-size: 12px; border-radius: 4px; }
.catalog-page .pages { margin-top: 22px; }
.catalog-page .pages label { font-size: 14px; }
.catalog-page .pages input { min-height: 42px; font-size: 16px; }
.catalog-page .cards.is-list .card { grid-template-columns: 130px minmax(0,1fr) 210px; }
.catalog-page .cards.is-list .card-body { padding: 16px; }
.catalog-page .cards.is-list .card h3 { min-height: 0; }
.catalog-page .cards.is-list .card-actions { grid-template-columns: 1fr; }
.catalog-page .cards.is-list .card-footer { padding: 16px; }
.catalog-page .cards.is-list .visual { --photo-height: 110px; height: auto; flex-basis: auto; min-height: 150px; border: 0; border-right: 1px solid #e0e6dc; }
@supports (grid-template-rows:subgrid) {
  @media (min-width:801px) {
    .catalog-page .cards:not(.is-list) { row-gap: 0; }
    .catalog-page .cards:not(.is-list) .card { grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 16px; }
    .catalog-page .cards:not(.is-list) .card > .visual { grid-row: 1; }
    .catalog-page .cards:not(.is-list) .card-body { display: contents; }
    .catalog-page .cards:not(.is-list) .catalog-maker { grid-row: 2; margin: 12px 16px 0; }
    .catalog-page .cards:not(.is-list) h3 { grid-row: 3; margin: 6px 16px 10px; }
    .catalog-page .cards:not(.is-list) .card-body dl { grid-row: 4; margin: 0 16px 14px; }
    .catalog-page .cards:not(.is-list) .card-footer { grid-row: 5; align-self: end; }
  }
}

/* Product imagery is framed once. Model and variant are part of the title. */
.product-page { background: #f8faf7 !important; }
.product-page-wrap { width: min(1432px,100%); padding-top: 24px; padding-bottom: 45px; }
.product-back { min-height: 40px; margin-bottom: 16px; font-size: 14px; }
.product-page-content { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 30px clamp(24px,3.2vw,46px); }
.product-page-gallery { min-width: 0; }
.product-page-gallery .visual {
  --photo-height: clamp(235px,28vw,395px);
  height: clamp(290px,33vw,455px); flex-basis: auto;
  background: #fff; border: 1px solid #d2ddd3; border-radius: 4px 14px 4px 4px; overflow: hidden;
}
.product-page-gallery .photo-opener { display: flex; align-items: center; justify-content: center; padding: 20px; background: #fff; }
.product-page-gallery .catalog-photo-frame img { position: absolute; max-width: none; max-height: none; object-fit: fill; clip-path: none; filter: none; }
.product-page-gallery .photo-opener > img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-page-gallery .visual-brand { display: none; }
.product-page-gallery .gallery-count { right: 12px; bottom: 12px; font-size: 13px; border-radius: 4px; background: white; color: #09683e; }
.product-page-info { min-width: 0; padding: 3px 0 0; }
.product-page-info .maker { color: #09683e; font-size: 13px; font-weight: 600; letter-spacing: .025em; }
.product-page-info h1 { margin: 9px 0 12px; font-size: clamp(27px,2.7vw,39px); line-height: 1.14; letter-spacing: -.025em; overflow-wrap: anywhere; }
.product-page-model { margin-bottom: 12px; font-family: inherit; font-size: 14px; line-height: 1.45; color: #53675b; }
.product-page-price-note { margin-top: 12px; padding: 11px 14px; border: 1px solid #d5e0d5; border-left: 3px solid #09683e; border-radius: 3px; background: #edf3e9; font-size: 14px; font-weight: 500; }
.product-page-variant { margin-top: 14px; font-size: 14px; }
.product-page-variant select { min-height: 46px; padding: 10px 12px; border-radius: 4px; font-size: 16px; }
.product-page-specs { margin-block: 16px; }
.product-page-specs div { gap: 16px; padding: 10px 0; border-bottom: 1px solid #dce5da; font-size: 15px; line-height: 1.45; }
.product-page-specs dt { max-width: none; color: #53675b; }
.product-page-specs dd { font-weight: 500; font-variant-numeric: tabular-nums; }
.product-page-info .product-page-request { min-height: 48px !important; border: 1px solid #09683e; border-radius: 4px; background: #09683e; color: #fff; font-size: 16px !important; font-weight: 600; }
.product-page-info .product-page-request:hover { background: #075231; }
.product-page-info .product-page-request.included { background: #e2f0e2; color: #075735; }
.product-page-caption { font-size: 13px; line-height: 1.5; }
.product-page-description { max-width: none; padding-top: 22px; }
.product-page-description h2 { font-size: clamp(23px,2.2vw,30px); letter-spacing: -.02em; }
.product-page-description p { max-width: 75ch; font-size: 16px; line-height: 1.6; }
.technical-group { padding: 16px 18px; border: 1px solid #d2ddd3; border-radius: 4px 14px 4px 4px; background: #fff; }
.technical-group h3 { font-size: 17px; }
.technical-group .product-page-specs div { padding: 9px 0; font-size: 14px; }
@media (min-width:801px) {
  .catalog-filters { padding: 0; border: 0; background: transparent; align-items: center; }
  .catalog-filters label { display: flex; align-items: center; gap: 10px; }
  .catalog-filters label:has(#category-filter) { display: none; }
}
@media (max-width:1150px) {
  .catalog-page .catalog-layout { grid-template-columns: 185px minmax(0,1fr); gap: 18px; }
  .catalog-page .cards.is-list .card { grid-template-columns: 108px minmax(0,1fr); }
  .catalog-page .cards.is-list .card-footer { grid-column: 2; padding-top: 0; }
  .catalog-page .cards.is-list .card-actions { grid-template-columns: 1fr 1fr; }
}
@media (max-width:800px) {
  .catalog-page .catalog-layout { display: block; }
  .catalog-page .group-panel { position: static; margin-bottom: 14px; }
  .catalog-page .group-tree { max-height: 340px; }
  .catalog-page .catalog-help { display: none; }
  .catalog-directions { gap: 4px 16px; margin-bottom: 16px; }
  .catalog-directions a { font-size: 13px; }
  .catalog-page .mobile-heading { min-height: 44px; border-radius: 4px; background: #edf3e9; font-size: 15px; }
  .catalog-page .catalog { padding-top: 20px; }
  .catalog-filters { gap: 10px; padding: 12px; }
  .catalog-filter-panel { border: 1px solid #d5e0d5; border-radius: 4px; background: #fff; }
  .catalog-filter-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 12px; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
  .catalog-filter-panel > summary::-webkit-details-marker { display: none; }
  .catalog-filter-panel[open] > summary { border-bottom: 1px solid #dce5da; }
  .catalog-filter-panel[open] > summary span { transform: rotate(180deg); }
  .catalog-filter-panel .catalog-filters { border: 0; }
  .catalog-filters label { flex: 1 1 130px; }
  .catalog-filters select { width: 100%; max-width: none; font-size: 16px; }
  .filter-reset { margin-left: 0; }
  .product-page-content { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .product-page-gallery .visual { --photo-height: clamp(190px,46vw,320px); height: clamp(230px,56vw,380px); }
  .product-page-info { padding: 0; }
  .product-page-gallery .photo-opener { padding: 16px; }
}
@media (max-width:560px) {
  .catalog-page .catalog { padding-inline: 18px; }
  #catalog-title { font-size: 28px; }
  .catalog-search .button { min-width: 70px; font-size: 14px; }
  .catalog-page .results-bar { align-items: start; flex-wrap: wrap; gap: 10px; }
  #selection-title { font-size: 23px; }
  .catalog-view button { min-height: 38px; padding: 8px 10px; }
  .catalog-page .card .visual { --photo-height: 185px; height: 210px; }
  .catalog-page .card h3 { min-height: 0; font-size: 18px; }
  .catalog-page .card dl div { font-size: 14px; }
  .catalog-page .card-actions > :is(.product-more,.quote-add) { min-height: 46px; font-size: 15px; }
  .catalog-page .cards.is-list .card { grid-template-columns: 92px minmax(0,1fr); }
  .catalog-page .cards.is-list .card h3 { font-size: 16px; }
  .catalog-page .cards.is-list .card-body { padding: 12px; }
  .catalog-page .cards.is-list .card-footer { grid-column: 1 / -1; padding: 0 12px 12px; }
  .catalog-page .pages { flex-wrap: wrap; gap: 10px; }
  .product-page-info h1 { font-size: 28px; }
  .product-page-specs div { font-size: 14px; gap: 10px; }
}
