/* Keep every header control inside narrow phone viewports. */
@media (max-width:720px) {
  .site-header {
    height:120px!important;
    min-width:0;
    width:100%;
    padding:0 16px!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:60px 60px;
    gap:0!important;
    position:relative;
  }
  .site-header .brand {max-width:calc(100% - 52px);min-width:0;}
  .site-header .header-actions {
    width:100%;height:60px;min-height:0;
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 56px;
    gap:8px;justify-self:stretch;position:static;
    border-top:1px solid #d4d0c8;
  }
  .site-header .market-label {
    min-width:0;width:100%;height:60px;min-height:0;padding:0;border:0;
  }
  .site-header #market,.site-header #currencyControl {
    width:100%;min-width:0!important;max-width:100%!important;height:44px;min-height:44px;
    align-self:center;padding:8px!important;font-size:12px!important;line-height:normal;
    background:transparent;border:0;border-radius:8px;color:#171918;
    touch-action:manipulation;
  }
  .site-header #cartOpen {
    height:48px;min-height:44px;min-width:0;width:56px;align-self:center;
    padding:0!important;gap:4px;justify-content:center;
  }
  .site-header #cartOpen svg {flex-shrink:0;stroke:#171918;}
  .site-header #menuToggle {
    position:absolute;top:6px;right:12px;z-index:35;
    width:48px;height:48px;min-width:48px;min-height:48px;
    display:flex;align-items:center;justify-content:center;
    padding:0!important;border:0;border-radius:8px;
    background:transparent;touch-action:manipulation;
  }
  .site-header #menuToggle span {width:22px;background:#171918;}
  #mobileNav:not([hidden]) {inset:120px 0 0 0!important;z-index:29;}
}
