/* Bring the fastening range into the same browse/search/catalog rhythm as spray guns. */
html body [data-od-id="fastening-hero"]{
  width:min(1240px,calc(100% - 64px));
  min-height:0;
  grid-template-columns:minmax(0,1fr) minmax(280px,360px);
  gap:56px;
  padding:44px 0 52px;
}
html body [data-od-id="fastening-hero"]>.hero-copy{align-self:center}
html body [data-od-id="fastening-hero"] .crumb{
  padding:0 0 16px;
  font-size:13px;
  color:#a9bab0;
}
html body [data-od-id="fastening-hero"] .crumb a{color:inherit}
html body [data-od-id="fastening-hero"] h1{
  font-size:clamp(42px,4.5vw,64px);
  line-height:1.1;
  margin:12px 0 18px;
}
html body [data-od-id="fastening-hero"] .hero-copy p{
  max-width:58ch;
  margin:0 0 20px;
  font-size:16px;
  line-height:1.7;
}
html body [data-od-id="fastening-hero"]>img.product-media-enhanced{
  width:100%;
  height:330px!important;
  max-height:330px!important;
  padding:0!important;
  background:transparent!important;
}

html body #products{padding:58px 0 82px;background:#f3f6f6}
html body #products>.wrap{width:min(1240px,calc(100% - 64px))}
html body #products .head{display:block;margin:0 0 24px}
html body #products .head h2{margin:0;font-size:clamp(26px,2.5vw,34px);line-height:1.3}
html body #products .head p{max-width:55ch;font-size:15px;line-height:1.7}
html body #products .nailer-browser{
  display:grid;
  grid-template-columns:200px minmax(0,1fr);
  column-gap:32px;
}
html body #products .family-nav{
  height:auto;
  min-height:0;
  align-items:center;
  margin-bottom:28px;
}

html body #products .nailer-category-sidebar{
  grid-column:1;
  align-self:start;
  position:sticky;
  top:24px;
  padding-top:20px;
  border-top:2px solid #172b21;
}
html body #products .nailer-results{grid-column:2;min-width:0}
html body #products .nailer-category-sidebar h2{
  margin:0 0 18px;
  font-family:inherit;
  font-size:15px;
  font-weight:600;
  line-height:1.5;
}
html body #products .nailer-category-sidebar button{
  display:block;
  width:100%;
  min-height:48px;
  margin:0 0 4px;
  padding:10px 12px;
  border:1px solid transparent;
  border-radius:0;
  background:transparent;
  color:#1a2d25;
  font-family:inherit;
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  text-align:start;
  cursor:pointer;
  transition:background-color .2s,color .2s,border-color .2s;
}
html body #products .nailer-category-sidebar button:hover,
html body #products .nailer-category-sidebar button[aria-pressed="true"]{
  background:#172b21;
  border-color:#172b21;
  color:#fff;
}
html body #products .nailer-category-sidebar button:focus-visible,
html body #products .nailer-search-row input:focus-visible{outline:2px solid #25856e;outline-offset:3px}
html body #products .nailer-search-row{
  display:flex;
  align-items:center;
  gap:16px;
  margin:0 0 28px;
  padding:18px 20px;
  border:1px solid #d3ddd7;
  background:#fff;
}
html body #products .nailer-search-row label{flex:none;font-size:14px;font-weight:600}
html body #products .nailer-search-row input{
  flex:1;
  min-width:0;
  min-height:48px;
  padding:9px 14px;
  border:1px solid #7b8b83;
  border-radius:0;
  background:#fff;
  color:#14241c;
  font:inherit;
}
html body #products .nailer-result-count{flex:none;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
html body #products .nailer-no-results{padding:28px;background:#fff;border:1px solid #d3ddd7}
html body #products [hidden]{display:none!important}

html body #products .group{margin:0 0 44px}
html body #products .group-head{margin-bottom:18px;padding-bottom:15px}
html body #products .group .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
html body #products .group .grid:has(>.card:only-child){grid-template-columns:minmax(0,1fr)}
html body #products .group .card{
  min-width:0;
  padding:20px;
  border:1px solid #d4ddd7;
  background:#fff;
}
html body #products .group .card .product-page-link{margin-top:auto}
@media(max-width:1080px){
  html body [data-od-id="fastening-hero"]{grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:28px}
  html body [data-od-id="fastening-hero"]>img.product-media-enhanced{height:290px!important;max-height:290px!important}
}
@media(max-width:760px){
  html body [data-od-id="fastening-hero"]{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr);gap:0;padding:32px 0 36px}
  html body [data-od-id="fastening-hero"] h1{font-size:clamp(36px,9vw,50px)}
  html body [data-od-id="fastening-hero"]>img.product-media-enhanced,
  html body [data-od-id="fastening-hero"] .hero-copy .cta{display:none!important}
  html body #products{padding:42px 0 62px}
  html body #products>.wrap{width:calc(100% - 32px)}
  html body #products .nailer-browser{grid-template-columns:minmax(0,1fr)}
  html body #products .head{display:block;margin-bottom:26px}
  html body #products .head p{margin-top:16px}
  html body #products .nailer-category-sidebar,
  html body #products .nailer-results{grid-column:1}
  html body #products .nailer-category-sidebar{
    position:static;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    padding:0;
    margin-bottom:20px;
    border:0;
  }
  html body #products .nailer-category-sidebar h2{width:100%;margin:0 0 4px}
  html body #products .nailer-category-sidebar button{width:auto;min-height:44px;margin:0;border-color:#cdd9d3;background:#fff}
  html body #products .group .grid{grid-template-columns:minmax(0,1fr)}
  html body #products .nailer-search-row{flex-wrap:wrap;gap:10px;padding:16px}
  html body #products .nailer-search-row label{width:100%}
  html body #products .nailer-search-row input{flex-basis:100%}
  html body #products .nailer-result-count{margin-left:auto}
}
