/* v10.278 - precise phone layout for material request and branch transfer forms. */
@media (max-width:800px){
  body.wp-mobile-ready .warehouse-request-page,
  body.wp-mobile-ready .warehouse-transfer-request-page{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important
  }
  body.wp-mobile-ready .warehouse-request-page>.card,
  body.wp-mobile-ready .warehouse-transfer-request-page>.card{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
    padding:14px 11px!important;margin:0 0 12px!important;overflow:visible!important
  }
  body.wp-mobile-ready .warehouse-request-page>.card>h2,
  body.wp-mobile-ready .warehouse-transfer-request-page>.card>h2{
    margin:0 0 12px!important;font-size:19px!important
  }
  body.wp-mobile-ready .warehouse-request-page form,
  body.wp-mobile-ready .warehouse-transfer-request-page #transfer-request-form{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important
  }
  body.wp-mobile-ready .warehouse-request-page .request-lines,
  body.wp-mobile-ready .warehouse-transfer-request-page .request-lines{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;margin:10px 0!important
  }
  body.wp-mobile-ready .warehouse-request-page .request-line,
  body.wp-mobile-ready .warehouse-transfer-request-page .request-line{
    box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) 92px!important;
    gap:8px!important;align-items:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:10px!important;border:1px solid #d7e4ed!important;border-radius:12px!important;
    background:#f8fbfd!important;overflow:visible!important
  }
  body.wp-mobile-ready .warehouse-request-page .request-line>.branch-material-picker,
  body.wp-mobile-ready .warehouse-transfer-request-page .request-line>.branch-material-picker{
    display:block!important;grid-column:1/-1!important;grid-row:1!important;
    width:100%!important;max-width:100%!important;min-width:0!important;position:relative!important
  }
  body.wp-mobile-ready .warehouse-request-page .branch-material-search,
  body.wp-mobile-ready .warehouse-transfer-request-page .branch-material-search{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
    height:48px!important;min-height:48px!important;padding:9px 12px!important;border-radius:10px!important;
    font-size:15px!important;direction:rtl!important;text-align:right!important
  }
  body.wp-mobile-ready .warehouse-request-page .request-line>input[type=number],
  body.wp-mobile-ready .warehouse-transfer-request-page .request-line>input[type=number]{
    box-sizing:border-box!important;grid-column:1!important;grid-row:2!important;width:100%!important;max-width:100%!important;min-width:0!important;
    height:44px!important;min-height:44px!important;margin:0!important;padding:8px 11px!important;border-radius:9px!important;
    font-size:16px!important;direction:ltr!important;text-align:center!important
  }
  body.wp-mobile-ready .warehouse-request-page .request-line>.remove-line{
    grid-column:2!important;grid-row:2!important;width:92px!important;min-width:0!important;height:44px!important;min-height:44px!important;margin:0!important
  }
  body.wp-mobile-ready .warehouse-transfer-request-page .transfer-line-actions{
    grid-column:2!important;grid-row:2!important;display:flex!important;align-items:stretch!important;justify-content:flex-end!important;
    gap:6px!important;width:92px!important;max-width:92px!important;min-width:0!important;margin:0!important
  }
  body.wp-mobile-ready .warehouse-transfer-request-page .transfer-line-actions>.transfer-device-button:not(.hidden){
    display:flex!important;grid-column:1/-1!important;position:static!important;width:100%!important;max-width:none!important;
    min-height:42px!important;margin:0!important;padding:7px 8px!important;font-size:12px!important
  }
  body.wp-mobile-ready .warehouse-transfer-request-page .transfer-line-actions>.remove-transfer-line{
    flex:1 1 auto!important;width:auto!important;min-width:0!important;height:44px!important;min-height:44px!important;
    margin:0!important;padding:7px 8px!important;font-size:13px!important
  }
  body.wp-mobile-ready .warehouse-transfer-request-page .request-line:has(.transfer-device-button:not(.hidden)){
    grid-template-columns:minmax(0,1fr)!important
  }
  body.wp-mobile-ready .warehouse-transfer-request-page .request-line:has(.transfer-device-button:not(.hidden))>input[type=number]{grid-column:1!important;grid-row:2!important}
  body.wp-mobile-ready .warehouse-transfer-request-page .request-line:has(.transfer-device-button:not(.hidden))>.transfer-line-actions{
    grid-column:1!important;grid-row:3!important;width:100%!important;max-width:100%!important
  }
  body.wp-mobile-ready .warehouse-request-page .item-results.open,
  body.wp-mobile-ready .warehouse-transfer-request-page .item-results.open{
    box-sizing:border-box!important;left:0!important;right:0!important;top:calc(100% + 4px)!important;
    width:100%!important;max-width:100%!important;min-width:0!important;max-height:42vh!important;
    overflow-x:hidden!important;overflow-y:auto!important;z-index:900100!important
  }
  body.wp-mobile-ready .warehouse-request-page .item-results button,
  body.wp-mobile-ready .warehouse-transfer-request-page .item-results button{
    display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:8px!important;
    width:100%!important;min-height:44px!important;padding:8px 10px!important;text-align:right!important;font-size:12.5px!important
  }
  body.wp-mobile-ready .warehouse-request-page #add-request-line,
  body.wp-mobile-ready .warehouse-transfer-request-page #add-transfer-line{
    display:flex!important;width:100%!important;max-width:100%!important;min-height:44px!important;margin:8px 0 11px!important
  }
  body.wp-mobile-ready .warehouse-request-page .block-label,
  body.wp-mobile-ready .warehouse-transfer-request-page .block-label{
    display:grid!important;gap:6px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 10px!important
  }
  body.wp-mobile-ready .warehouse-transfer-request-page .block-label select{
    width:100%!important;max-width:100%!important;height:46px!important;min-height:46px!important;font-size:15px!important
  }
  body.wp-mobile-ready .warehouse-request-page .block-label textarea,
  body.wp-mobile-ready .warehouse-transfer-request-page .block-label textarea{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:90px!important;margin:0!important;font-size:15px!important
  }
  body.wp-mobile-ready .warehouse-request-page form>button:last-child,
  body.wp-mobile-ready .warehouse-transfer-request-page #transfer-request-form>button:last-child{
    display:flex!important;width:100%!important;max-width:100%!important;min-height:48px!important;margin:0!important;font-size:16px!important
  }
}

@media (max-width:380px){
  body.wp-mobile-ready .warehouse-request-page .request-line,
  body.wp-mobile-ready .warehouse-transfer-request-page .request-line{grid-template-columns:minmax(0,1fr) 78px!important;padding:8px!important}
  body.wp-mobile-ready .warehouse-request-page .request-line>.remove-line,
  body.wp-mobile-ready .warehouse-transfer-request-page .transfer-line-actions{width:78px!important;max-width:78px!important}
}
