/* Select Trade Brands — mobile layer. Loaded on every page after the design-system styles.
   Fixes design-system components that have no responsive props (footer, stat strips, hero, CTA buttons). */
html,body{overflow-x:clip}
:root{--gutter:32px;--sect:96px}
@media (max-width:760px){
  :root{--gutter:20px;--sect:64px;
    --fs-v2-hero:clamp(36px,10.5vw,56px);--fs-v2-h1:clamp(34px,9vw,48px);--fs-v2-h2:clamp(28px,7.6vw,40px);--fs-v2-h3:clamp(22px,6vw,28px)}
  /* stop iOS zooming into form fields */
  input,select,textarea{font-size:16px!important}
  /* CTA buttons: allow long labels to wrap instead of running off screen */
  a[style*="white-space: nowrap"][style*="height: 60px"],a[style*="white-space: nowrap"][style*="height: 48px"],
  button[style*="white-space: nowrap"][style*="height: 60px"],button[style*="white-space: nowrap"][style*="height: 48px"]{
    white-space:normal!important;height:auto!important;min-height:52px;padding:12px 22px!important;line-height:1.25!important;text-align:center;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
  /* Hero */
  [data-m=hero] section{min-height:0!important}
  [data-m=hero] section>div[style*="max-width"]{padding:72px var(--gutter) 48px!important}
  [data-m=hero] section[style*="grid-template-columns"]{grid-template-columns:1fr!important}
  [data-m=hero] section[style*="grid-template-columns"]>div:first-child{padding:56px var(--gutter)!important}
  [data-m=hero] section[style*="grid-template-columns"]>div:last-child{min-height:260px}
  /* Stat strips */
  [data-m=stats] [style*="grid-template-columns"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [data-m=stats] [style*="grid-template-columns"]>div{border-left:0!important;border-top:1px solid rgba(255,255,255,0.22);padding:24px var(--gutter)!important}
  [data-m=trust] [style*="grid-template-columns"]{grid-template-columns:1fr!important}
  [data-m=trust] [style*="grid-template-columns"]>div{border-left:0!important;padding:14px var(--gutter)!important}
  [data-m=trust] [style*="grid-template-columns"]>div+div{border-top:1px solid var(--steel-800)}
  /* Footer */
  footer>div>div{padding-left:var(--gutter)!important;padding-right:var(--gutter)!important}
  footer>div:first-child>div{grid-template-columns:1fr!important;gap:18px!important;padding-top:32px!important;padding-bottom:32px!important}
  footer>div:first-child form{flex-wrap:wrap}
  footer>div:first-child form>*{flex:1 1 200px}
  footer>div:nth-child(2){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:32px 20px!important;padding-top:48px!important;padding-bottom:24px!important}
  footer>div:nth-child(2)>div:first-child{grid-column:1 / -1}
  footer>div:nth-child(2) a{padding:7px 0;overflow-wrap:anywhere}
  footer>div:last-child a{padding:10px 0}
}
