/* Catalog layout, shared by the hosted site and the Beget build. */
.catalog-page { background: #f3f6f2 !important; color: #19362b; }
.catalog-page .catalog { width: min(1600px,100%); padding: 30px clamp(18px,3.2vw,48px) 48px; scroll-margin-top: 125px; }
.catalog-breadcrumb { display: flex; gap: 10px; font-size: 13px; color: #53675b; margin-bottom: 16px; }
.catalog-breadcrumb a:hover { text-decoration: underline; }
#catalog-title { font-size: clamp(28px,3vw,43px); line-height: 1.1; letter-spacing: -.035em; margin: 0 0 22px; }
.catalog-search { display: flex; gap: 10px; margin-bottom: 18px; }
.catalog-search input { flex: 1; min-width: 0; border: 1px solid #a8bbae; border-radius: 6px; background: #fff; padding: 13px 16px; color: #19362b; font: inherit; }
.catalog-search .button { min-width: 115px; border-radius: 6px; }
.catalog-directions { display: flex; gap: 8px; margin-bottom: 30px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.catalog-directions a { display: flex; align-items: center; justify-content: center; flex: 1 0 auto; padding: 12px 14px; border: 1px solid #b4c5b9; border-radius: 6px; white-space: nowrap; font-size: 13px; font-weight: 600; background: #ffffff80; }
.catalog-directions a[aria-current] { color: #fff; background: #105637; border-color: #105637; }
.catalog-directions a:hover:not([aria-current]) { background: #e4eee4; }
.catalog-page .catalog-layout { display: grid; grid-template-columns: 224px minmax(0,1fr); gap: 25px; }
.catalog-page .group-panel { border: 0; background: transparent; position: sticky; top: 128px; padding: 0; }
.catalog-page .panel-heading { font-size: 19px; font-weight: 700; padding: 0 10px 12px; }
.catalog-page .group-tree { max-height: 440px; overflow-y: auto; padding-right: 4px; }
.catalog-page .group-list > li + li { margin-top: 3px; }
.catalog-page :is(.group-row,.subgroup-row,.all-products) { border: 0; border-radius: 4px; font-size: 13px; line-height: 1.35; padding: 10px 8px; min-height: 38px; color: #314c3d; background: transparent; font-weight: 500; }
.catalog-page .group-row { gap: 6px; }
.catalog-page .all-products { font-weight: 700; margin: 0 0 6px; }
.catalog-page .tree-marker { flex: 0 0 10px; }
.catalog-page .tree-count,#total { font-size: 11px; color: #687e6b; font-weight: 400; }
.catalog-page .all-products[aria-pressed=true],.catalog-page .subgroup-row[aria-pressed=true],.catalog-page .group-row.active-branch { background: #dfebdf; color: #16452f; box-shadow: inset 3px 0 #1b6643; }
.catalog-page .subgroup-list { margin-left: 13px; border-color: #d4dfd3; }
.catalog-page .single-group > li:not([hidden]) > .group-row { display: none; }
.catalog-page .single-group .subgroup-list { border: 0; margin: 0; padding: 0; }
.catalog-page .single-group .subgroup-list > li:first-child { display: none; }
.catalog-page .single-group .subgroup-row .tree-marker { display: none; }
.catalog-help { margin-top: 24px; padding: 18px 15px; background: #e1ebdf; border-radius: 7px; }
.catalog-help h3 { margin: 0 0 8px; font-size: 19px; }
.catalog-help p { margin: 0 0 15px; font-size: 13px; line-height: 1.5; color: #49624f; }
.catalog-help .button { width: 100%; font-size: 13px; min-height: 40px; padding: 9px; border-radius: 5px; }
.catalog-page .results-bar { margin-bottom: 16px; align-items: flex-start; gap: 12px; }
#selection-title { margin: 0; font-size: clamp(22px,2.3vw,31px); letter-spacing: -.025em; line-height: 1.17; }
.catalog-page #status { margin-top: 5px; color: #5c6e60; }
.catalog-view { display: inline-flex; gap: 4px; }
.catalog-view button { padding: 9px 12px; min-height: 38px; color: #315440; border: 1px solid #b7c8ba; border-radius: 5px; font-family: inherit; font-size: 13px; line-height: 1.2; }
.catalog-view button[aria-pressed=true] { background: #105637; border-color: #105637; color: #fff; }
.catalog-filters { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-bottom: 15px; }
.catalog-filters label { display: grid; gap: 4px; min-width: 0; max-width: 100%; }
.filter-label { font-size: 11px; color: #5a705f; }
.catalog-filters select { max-width: 290px; min-height: 38px; border: 1px solid #aabcad; border-radius: 5px; padding: 8px 28px 8px 11px; background: #fff; color: #2a4d39; font-size: 13px; }
.filter-reset { min-height: 38px; font-size: 13px; color: #365e43; text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.filter-chip { border: 1px solid #bccfbe; background: #e5efe2; border-radius: 30px; padding: 6px 10px; font-size: 12px; color: #245237; max-width: 100%; overflow-wrap: anywhere; }
.catalog-page .cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; grid-auto-rows: auto; }
.catalog-page .cards .card { border: 1px solid #d1ddd3; border-radius: 9px; box-shadow: none; background: #fff; --card-inset: 16px; }
.catalog-page .cards .card:hover { border-color: #86ab91; box-shadow: 0 5px 18px #163b2910; }
.catalog-page .card .visual { height: 175px; flex-basis: 175px; background: #fff; border: 0; }
.catalog-page .card .photo-opener { padding: 14px; display: flex; align-items: center; justify-content: center; background: #fff; border: 0; }
.catalog-page .card .photo-opener img { width: auto; height: auto; max-width: 100%; max-height: 100%; border: 0; background: #fff; clip-path: inset(2.5%); filter: brightness(1.02) contrast(1.02); }
.catalog-page .card h3 { display: block; font-size: 17px; min-height: 2.5em; -webkit-line-clamp: unset; overflow: visible; margin-bottom: 12px; }
.catalog-page .card .model { min-height: 17px; font-family: inherit; color: #5a6a5f; }
.catalog-page .card dl { margin: 0; }
.catalog-page .card dl div { padding: 6px 0; gap: 8px; font-size: 12px; }
.catalog-page .card dt { max-width: 65%; }
.catalog-page .card .quote-note { font-size: 11px; padding-top: 15px; margin-bottom: 8px; }
.catalog-page .card-actions { gap: 7px; }
.catalog-page .card-actions > :is(.product-more,.quote-add) { font-size: 12px; min-height: 38px; padding: 8px 5px; border-radius: 5px; }
.catalog-page .gallery-count { right: 9px; bottom: 7px; background: #ffffffed; border-color: #cedbd0; font-size: 11px; padding: 3px 7px; }
.catalog-page .catalog-results { scroll-margin-top: 130px; }
.catalog-page .cards.is-list { grid-template-columns: 1fr; }
.catalog-page .cards.is-list .card { grid-template-columns: 140px minmax(0,1fr) 210px; grid-template-rows: 1fr; align-items: stretch; }
.catalog-page .cards.is-list .visual { height: auto; min-height: 160px; }
.catalog-page .cards.is-list .card-body { padding: 16px 12px; }
.catalog-page .cards.is-list .card h3 { min-height: 0; }
.catalog-page .cards.is-list .card-footer { align-self: center; padding: 16px; }
.catalog-page .cards.is-list .quote-note { padding-top: 0; }
.catalog-page .assist { background: #163d2b; }
.catalog-page :is(a,button,input,select):focus-visible { outline: 3px solid #bc8b36; outline-offset: 3px; }
@media(max-width:1150px) {
  .catalog-page .catalog-layout { grid-template-columns: 195px minmax(0,1fr); gap: 18px; }
  .catalog-page .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-page .group-panel { top: 175px; }
  .catalog-page .catalog,.catalog-page .catalog-results { scroll-margin-top: 175px; }
  .catalog-page .cards.is-list .card { grid-template-columns: 95px minmax(0,1fr) 165px; }
  .catalog-page .cards.is-list .card-actions { grid-template-columns: 1fr; }
}
@media(max-width:800px) {
  .catalog-page .catalog { padding: 22px 18px 35px; }
  .catalog-page .catalog-layout { display: block; }
  .catalog-page .group-panel { position: static; margin-bottom: 16px; }
  .catalog-page .panel-heading,.catalog-help { display: none; }
  .catalog-page .mobile-heading { display: flex; width: 100%; padding: 10px 12px; justify-content: space-between; background: #e2ecdf; border: 1px solid #b6c9b7; border-radius: 5px; color: #264d35; font-weight: 600; }
  .catalog-page .group-tree { max-height: 360px; margin-top: 10px; }
  .catalog-directions { margin-bottom: 18px; }
  .catalog-page .results-bar { align-items: center; }
  .catalog-filters select { max-width: 240px; }
}
@media(max-width:560px) {
  .catalog-page .cards { grid-template-columns: 1fr; }
  .catalog-search { gap: 6px; }
  .catalog-search input { font-size: 16px; padding: 11px 10px; }
  .catalog-search .button { min-width: 66px; padding-inline: 10px; font-size: 13px; }
  .catalog-page .results-bar { gap: 12px; }
  .catalog-filters label { flex: 1 1 140px; }
  .catalog-filters select { max-width: 100%; width: 100%; }
  .catalog-page .card .visual { height: 190px; }
  .catalog-page .cards.is-list .card { grid-template-columns: 80px minmax(0,1fr); }
  .catalog-page .cards.is-list .visual { height: auto; min-height: 100px; }
  .catalog-page .cards.is-list .card-body { padding: 12px 10px; }
  .catalog-page .cards.is-list .card-footer { grid-column: 1 / -1; padding: 0 12px 12px; }
  .catalog-page .cards.is-list .card-actions { grid-template-columns: 1fr 1fr; }
  .catalog-page .cards.is-list .card h3 { font-size: 15px; }
  .catalog-page .pages { gap: 7px; }
  .catalog-page .pages .button { padding-inline: 11px; }
}
/* Enlarge the photographed product within the existing card image area. */
.catalog-page .card .visual { --photo-height: 190px; height: 196px; flex-basis: 196px; }
.catalog-page .card .photo-opener { padding: 3px; }
.catalog-photo-frame { display: block; position: relative; overflow: hidden; width: min(100%,calc(var(--photo-height) * var(--photo-ratio))); aspect-ratio: var(--photo-ratio); flex: none; background: #fff; }
.catalog-page .card .catalog-photo-frame img { position: absolute; max-width: none; max-height: none; object-fit: fill; clip-path: none; filter: none; }
.product-page-gallery .catalog-photo-frame[hidden] { display: none; }
.catalog-page .cards .card { --card-inset: 12px; }
.catalog-page .card .card-body { padding-top: 5px; padding-bottom: 8px; }
.catalog-page .card h3 { min-height: 0; margin-bottom: 7px; font-size: 16px; line-height: 1.25; }
.catalog-page .card dl div { padding-block: 4px; font-size: 12px; }
.catalog-page .card-actions,.catalog-page .cards.is-list .card-actions { grid-template-columns: minmax(0,1fr) 50px; align-items: stretch; gap: 10px; }
.catalog-page .card-actions > .product-more { min-height: 42px; border: 0; border-radius: 7px; background: #105637; color: #fff; font-size: 14px; font-weight: 600; }
.catalog-page .card-actions > .product-more:hover { background: #093e27; color: #fff; }
.catalog-page .card-actions > .quote-add.icon-only { min-width: 0; width: 50px; min-height: 42px; border: 1px solid #b6cbbd; border-radius: 7px; background: #fff; padding: 10px; color: #49765a; }
.quote-add.icon-only svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.catalog-page .card-actions > .quote-add.icon-only:hover { background: #eaf3e9; color: #105637; border-color: #79a58a; }
.catalog-page .card-actions > .quote-add.icon-only.included { background: #dfeee0; color: #105637; border-color: #79a58a; }
.catalog-page .cards.is-list .visual { --photo-height: 130px; height: auto; min-height: 150px; }
@media(min-width:561px) and (max-width:1150px) {
  .catalog-page .cards.is-list .card { grid-template-columns: 100px minmax(0,1fr); }
  .catalog-page .cards.is-list .visual { grid-row: 1 / 3; }
  .catalog-page .cards.is-list .card-footer { grid-column: 2; padding-top: 0; }
}
@media(max-width:560px) {
  .catalog-page .card .visual { --photo-height: 190px; height: 196px; }
  .catalog-page .cards.is-list .visual { --photo-height: 100px; height: auto; min-height: 100px; }
}
