/* One store-wide search in the masthead; product filters stay in the catalog. */
html{scroll-padding-top:calc(var(--site-header-height,124px) + 16px)}
.header-search{display:flex;align-items:center;min-width:0;height:44px;margin:0;background:#222429;border:1px solid #494c52;border-radius:3px;color:#fff}
.header-search:focus-within{border-color:#d64b58;outline:1px solid #d64b58}
.header-search .search-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.header-search input{display:block;flex:1;min-width:0;width:100%;height:42px;padding:10px 14px;background:transparent;color:#fff;border:0;outline:0;font:400 13px 'DM Sans',Arial,sans-serif;letter-spacing:0}
.header-search input::placeholder{color:#b8bbc2;opacity:1}
.header-search button{display:flex;align-items:center;justify-content:center;flex:0 0 44px;height:42px;padding:0;border:0;border-left:1px solid #494c52;background:transparent;color:#fff;cursor:pointer}
.header-search button:hover{background:#35383e}.header-search button:focus-visible{outline:2px solid #d64b58;outline-offset:-3px}
.header{grid-template-columns:auto minmax(220px,560px) auto;column-gap:clamp(20px,3vw,48px)}
.header .header-search{grid-column:2;grid-row:1;width:100%;justify-self:center}
.header .cart-btn{grid-column:3;grid-row:1;margin:0 max(5vw,24px) 0 0}
.header .nav{grid-column:1/-1;grid-row:2}
.safety-filters.product-filters{grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end}
.safety-filters.product-filters label:first-child{grid-column:auto}
.safety-filters.product-filters button[type=reset]{min-height:42px}
.top .header-search{flex:1;max-width:560px}
@media(max-width:850px){
 .header{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:72px auto auto;column-gap:0}
 .header .brand{grid-column:1;grid-row:1}
 .header .cart-btn{grid-column:2;grid-row:1}
 .header .header-search{grid-column:1/-1;grid-row:2;width:auto;justify-self:stretch;margin:0 max(5vw,24px) 12px}
 .header .nav{grid-row:3}
 .top{height:auto;min-height:80px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:12px 20px}
 .top .header-search{order:3;flex:0 0 100%;max-width:none}
}
@media(max-width:580px){
 .header .header-search{margin:0 18px 12px}
 .header .cart-btn{margin-right:18px}
 .header-search input{font-size:16px}
 .safety-filters.product-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 .safety-filters.product-filters button[type=reset]{grid-column:1/-1;min-height:28px}
}
