
/* MEDTRONEX RESPONSIVE CUSTOMER/HEADER COMPATIBILITY */
html,body{max-width:100%;overflow-x:hidden}
img,video,iframe{max-width:100%;height:auto}
button,a,input,select,textarea{touch-action:manipulation}
.header-inner,.site-header .container,.header-container,.navbar-inner{min-width:0}
.site-header .search,.header-search,.search-box,.search-form{min-width:0;flex:1 1 auto}
.site-header input[type=search],.header-search input,.search-box input,.search-form input{
  min-width:0;width:100%;font-size:13px;line-height:1.25;padding:9px 12px;
}
.mobile-menu,.mobile-drawer,.customer-sidebar,.account-sidebar{max-width:88vw}
.customer-sidebar,.account-sidebar{overflow-y:auto;-webkit-overflow-scrolling:touch}
.customer-sidebar a,.account-sidebar a{min-height:40px;display:flex;align-items:center}
.table-responsive,.responsive-table{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media (max-width:1199px){
  .header-inner,.site-header .container,.header-container,.navbar-inner{gap:8px}
  .site-header .search,.header-search,.search-box,.search-form{order:2}
  .site-header .actions,.header-actions,.header-tools{gap:6px}
  .customer-layout,.account-layout{grid-template-columns:minmax(190px,240px) 1fr!important}
}
@media (max-width:900px){
  .site-header .logo,.header-logo{max-width:150px}
  .site-header .search,.header-search,.search-box,.search-form{flex-basis:0}
  .site-header input[type=search],.header-search input,.search-box input,.search-form input{font-size:12px;padding:8px 10px}
  .customer-layout,.account-layout{grid-template-columns:1fr!important}
  .customer-sidebar,.account-sidebar{display:none}
  .customer-sidebar.is-open,.account-sidebar.is-open,
  .customer-sidebar.open,.account-sidebar.open{display:block;position:fixed;z-index:10050;left:0;top:0;bottom:0;width:min(300px,86vw);background:#fff;box-shadow:8px 0 28px rgba(15,23,42,.16);padding:16px}
  .customer-menu-toggle,.account-menu-toggle{display:inline-flex!important}
  .dashboard-grid,.account-grid,.customer-grid{grid-template-columns:1fr!important}
  .card,.panel{max-width:100%}
}
@media (max-width:640px){
  .site-header .container,.header-container,.navbar-inner{display:flex;align-items:center;flex-wrap:nowrap}
  .site-header .logo,.header-logo{flex:0 0 auto;max-width:112px}
  .site-header .search,.header-search,.search-box,.search-form{flex:1 1 auto;min-width:0}
  .site-header input[type=search],.header-search input,.search-box input,.search-form input{font-size:11.5px;padding:7px 8px}
  .site-header .actions,.header-actions,.header-tools{flex:0 0 auto}
  .site-header .actions a,.header-actions a,.header-tools a{padding:6px}
  .customer-sidebar a,.account-sidebar a{font-size:13px}
  .customer-menu-toggle,.account-menu-toggle{min-width:40px;min-height:40px}
  .btn,.button,button{font-size:12.5px}
  .form-control,input,select,textarea{font-size:13px}
}
/* Fix common mobile overlays that accidentally disable clicks */
.modal-backdrop,.drawer-backdrop{pointer-events:none}
.modal-backdrop.is-open,.drawer-backdrop.is-open,
.modal-backdrop.show,.drawer-backdrop.show{pointer-events:auto}
