/* Explicit tablet row prevents legacy two-column placement from creating a fourth column. */
@media(min-width:681px) and (max-width:1100px){
 html[data-preview-font] body .site-header .header-main{display:grid!important;grid-template-columns:clamp(150px,20vw,210px) minmax(0,1fr) 160px!important;grid-template-rows:auto!important;grid-auto-flow:row;align-items:center;gap:16px!important;min-height:88px!important;height:auto!important;padding-block:10px!important}
 html[data-preview-font] body .site-header .header-main>.logo-link{grid-column:1!important;grid-row:1!important;min-width:0;width:100%!important;max-width:210px!important;height:64px!important;display:flex;align-items:center}
 html[data-preview-font] body .site-header .header-main>.logo-link>img{width:100%!important;max-width:100%!important;height:auto!important;max-height:64px!important;object-fit:contain;object-position:left center}
 html[data-preview-font] body .site-header .header-main>.search-shell{grid-column:2!important;grid-row:1!important;position:relative;inset:auto;width:100%!important;min-width:0;max-width:100%;margin:0!important}
 html[data-preview-font] body .site-header .header-main>.search-shell .search{width:100%;min-width:0;box-sizing:border-box;margin:0}
 html[data-preview-font] body .site-header .header-main>.search-shell input[type=search]{min-width:0;width:100%;font-size:13px}
 html[data-preview-font] body .site-header .header-main>.account-nav{grid-column:3!important;grid-row:1!important;justify-self:end;align-items:center;justify-content:flex-end;gap:12px!important;width:160px!important;min-width:0;margin:0}
 html[data-preview-font] body .site-header .header-main>.account-nav>a{flex:0 0 30px!important;min-width:30px!important;width:30px!important;gap:0!important}
 html[data-preview-font] body .site-header .header-main>.account-nav>a>span{display:none!important}
 html[data-preview-font] body .site-header .header-main>.mobile-catalog-slot{display:none!important}
}
@media(min-width:681px) and (max-width:800px){html[data-preview-font] body .site-header .header-main{grid-template-columns:150px minmax(0,1fr) 144px!important;gap:12px!important}html[data-preview-font] body .site-header .header-main>.account-nav{width:144px!important;gap:8px!important}html[data-preview-font] body .site-header .header-main .search button{min-width:68px!important;width:68px!important;padding-inline:8px!important;font-size:12px!important}}
