/*
 * AMELIAPOS_DESKTOP_COLUMN_BALANCE_R16_5R19_2_2_1
 *
 * Responsive desktop balance:
 * 1200–1365 : Comanda 460px | Categoría 250px | Productos remainder
 * 1366–1699 : Comanda ~36%  | Categoría 280px | Productos remainder
 * 1700+     : Comanda ~36%  | Categoría 300px | Productos remainder
 *
 * Tablet/mobile untouched.
 */

@media (min-width:1200px) and (max-width:1365px){
  html body main.workspace{
    display:grid!important;
    grid-template-columns:
      460px
      250px
      minmax(0,1fr)!important;
    min-width:0!important;
  }
}

@media (min-width:1366px) and (max-width:1699px){
  html body main.workspace{
    display:grid!important;
    grid-template-columns:
      minmax(500px,36%)
      280px
      minmax(0,1fr)!important;
    min-width:0!important;
  }
}

@media (min-width:1700px){
  html body main.workspace{
    display:grid!important;
    grid-template-columns:
      minmax(500px,36%)
      300px
      minmax(0,1fr)!important;
    min-width:0!important;
  }
}

@media (min-width:1200px){
  html body main.workspace > .ticket-panel,
  html body main.workspace > aside.categories,
  html body main.workspace > .catalog{
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
  }

  html body main.workspace > aside.categories{
    overflow-x:hidden!important;
  }

  html body main.workspace > aside.categories .category{
    min-width:0!important;
  }

  html body main.workspace > aside.categories .category-name{
    min-width:0!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  html body main.workspace > .catalog{
    min-width:0!important;
    width:auto!important;
  }
}
