/* Estilos para la marca OpenRest */
.text-open {
  color: #3a4752 !important;
}

.text-rest {
  color: #f8285a !important;
}

.icon-brand {
  color: #0074ba !important;
}

.icon-brand-light {
  color: #FFFFFF !important;
}

/* Estilos para fondo de estos colores */
.bg-open {
  background-color: #3a4752 !important;
  color: #ffffff;
}

.bg-rest {
  background-color: #f8285a !important;
  color: #ffffff;
}

.bg-brand-icon {
  background-color: #0074ba !important;
  color: #ffffff;
}
/* ---------------- */

.tb-st {
  font-size: 13px;
  color: #6b6b6b;
}
.boxpres {
  background: #FADBD8;
}
.prod-left {
  width: 55%;
  padding: 0px;
}
.prod-rigth {
  height: 800px;
  margin-left:55%;
  background: #fbfbfb;
}

@media (min-width: 768px) {
  .btn-large-dim {
    /*
    top: 40%;
    left: 40%;
    transform: translate(-40%, -40%);
    */
    margin-left: 18px !important;
    position: relative;
    vertical-align: top;
    display: inline-block;
    align-items: center;
    /*width: 15.1% !important;*/
    width: 124px !important;
    height: 124px !important;
    font-size: 30px !important;}
  .btn-large-dim-sm {
    /*width: 12.95% !important;*/
    width: 100px !important;
    height: 100px !important;
    font-size: 25px !important;
    margin-left: 17px !important;
    margin-right: 17px !important;}
  .tabs-vertical {
    min-width: 150px;
    max-width: 150px;}
  .u6 {
    margin-right:-20px !important;}
  .u4-1 {
    margin-top:-20px !important;
    margin-left:-25px !important;
    margin-right:-25px !important;}
  .u4-2 {
    margin-top:-25px !important;
    margin-left:-26px !important;
    margin-right:-25px !important;}
  .u4 {
    padding: 4px !important;}
}

@media (max-width: 767px) {
  .btn-large-dim, .btn-large-dim-sm {
    margin-left: 0px !important;
    position: relative;
    vertical-align: top;
    display: inline-block;
    height: 135px;
    width: 100%;
    overflow: hidden;
    font-size: 20px !important;}
  .tabs-vertical {
    min-width: 50px;}
  .u4-1 {
    margin-top:-25px !important;
    margin-left:-15px !important;
    margin-right:-15px !important;
    margin-bottom:-15px !important;}
  .u4-2 {
    margin-top:-25px !important;
    margin-left:-15px !important;
    margin-right:-15px !important;
  margin-bottom:-15px !important;}
  .u4 {
    padding: 0 !important;}

  .u5-1 {
    margin-top:-25px !important;
    margin-left:-15px !important;
    margin-right:-15px !important;
    margin-bottom:-15px !important;}
  .u5-2 {
    margin-top:-25px !important;
    margin-left:-15px !important;
    margin-right:-15px !important;
  margin-bottom:-15px !important;}
  .u5 {
    padding: 0 !important;}

  .login-background {
    padding-bottom: 400px !important;
  }

  .moso {
    padding: 0px !important;
    padding-top: 30px !important;
  }

  .moso-2 {
    padding-top: 30px !important;
  }  
}

.span-a{
  display: block;
  font-size: 12px;
  font-weight: 400;
}
.span-b{
  display: block;
  font-size: 12px;
  font-weight: 400;
  text-transform: lowercase;
}
.status_mesa_2 {
  display: block;
  position: absolute;
  writing-mode: vertical-rl;
  text-orientation: upright;
  top: 5px;
  left: 5px;
  vertical-align: left;
  color: #007bff;
  line-height: 0.5;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  font-weight: 300;
  font-size: 8px;
}
.status_mesa_3 {
  display: block;
  position: absolute;
  writing-mode: vertical-rl;
  text-orientation: upright;
  top: 5px;
  left: 5px;
  vertical-align: left;
  color: #e7444c;
  line-height: 0.5;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  font-weight: 300;
  font-size: 8px;
}

button.dim {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  padding-top: 6px;
  position: relative;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 100;
  margin: 5px;
  padding: 7px 0px;
  color: #fff;
}
button.dim:active {
  top: 0px;
  color: #fff;
}
button.btn-primary.dim {
  box-shadow: inset 0 0 0 #16987e, 0 2px 0 0 #16987e, 0 5px 3px #999999;
}
button.btn-primary.dim:active {
  box-shadow: inset 0 0 0 #16987e, 0 2px 0 0 #16987e, 0 5px 3px #999999;
}
button.btn-primary.dim:focus {
  box-shadow: inset 0 0 0 #16987e, 0 5px 0 0 #16987e, 0 10px 5px #f79d3c;
}
button.btn-primary.dim:visited {
  box-shadow: inset 0 0 0 #16987e, 0 5px 0 0 #16987e, 0 10px 5px #f79d3c;
}
button.btn-default.dim {
  box-shadow: inset 0 0 0 #b3b3b3, 0 5px 0 0 #b3b3b3, 0 10px 5px #999999;
}
button.btn-default.dim:active {
  box-shadow: inset 0 0 0 #b3b3b3, 0 2px 0 0 #b3b3b3, 0 5px 3px #999999;
}
button.btn-warning.dim {
  box-shadow: inset 0 0 0 #f79d3c, 0 5px 0 0 #f79d3c, 0 10px 5px #999999;
}
button.btn-warning.dim:active {
  box-shadow: inset 0 0 0 #f79d3c, 0 2px 0 0 #f79d3c, 0 5px 3px #999999;
}
button.btn-green.dim, button.btn-blue.dim, button.btn-reed.dim {
  border-radius: 20px;
  border: 4px solid #ffffff; 
}
button.btn-green.dim:hover, button.btn-blue.dim:hover, button.btn-reed.dim:hover {
  color: #fff;
  border-radius: 20px;
  border: 4px solid #ffffff; 
  -webkit-box-shadow: 0px 0px 0px 3px rgba(0,0,0,0.17);
-moz-box-shadow: 0px 0px 0px 3px rgba(0,0,0,0.17);
box-shadow: 0px 0px 0px 3px rgba(0,0,0,0.17);
}
button.btn-green-round.dim, button.btn-reed-round.dim, button.btn-blue-round.dim {
  border-radius: 50%;
  border: 4px solid #ffffff; 
}
button.btn-green-round.dim:hover, button.btn-reed-round.dim:hover, button.btn-blue-round.dim:hover {
  color: #fff;
  border-radius: 50%;
  border: 4px solid #ffffff; 
  -webkit-box-shadow: 0px 0px 0px 3px rgba(0,0,0,0.17);
-moz-box-shadow: 0px 0px 0px 3px rgba(0,0,0,0.17);
box-shadow: 0px 0px 0px 3px rgba(0,0,0,0.17);
}
button.dim:before {
  line-height: 1em;
  font-weight: normal;
  color: #fff;
  display: block;
  padding-top: 10px;
}
button.dim:active:before {
  top: 7px;
}
.btn:focus {
  outline: none !important;
}
.price {
  color: #797872;
  font-size: 14px;
  font-weight: 500;
  float: right; }
.descriptive-icon-2 {
  color: #666666;
}
.descriptive-icon-2 .icon, .descriptive-icon-2 .text {
  display: table-cell;
}
.descriptive-icon-2 span:first-child {
  font-weight: 700;
  font-size: 1.5rem;
}
.descriptive-icon-2 span {
  display: block;
  margin: 0;
  line-height: 1.1;
}
html body .tr-left {
  border-left: 4px solid #b8b8ba !important;}
html body .tr-left:hover {
  background: #fbfcfc;
  border-left: 4px solid #ff8101 !important;}
html body .tr-left-2 {
  border-left: 3px solid #b8b8ba !important;}
html body .tr-left-2:hover {
  background: #fbfcfc;
  border-left: 3px solid #ff8101 !important;}
html body .tr-left-3 {
  padding: 10px !important;
  border-left: 4px solid #b8b8ba !important;}
html body .tr-left-3:hover {
  border-left: 4px solid #b8b8ba !important;}
html body .tr-left-4 {
  border-left: 2px solid #b8b8ba !important;}
html body .tr-left-4:hover {
  background: #fbfcfc;
  border-left: 2px solid #00afe9 !important;
  cursor: pointer;}
html body .tr-left-5 {
  border-left: 2px solid #b8b8ba !important;}
html body .tr-left-5:hover {
  background: #fbfcfc;
  border-left: 2px solid #34d16e !important;
  cursor: pointer;}
html body .p-10i {
  padding: 10px !important;
  border-left: 4px solid #b8b8ba !important;
  cursor: pointer}
html body .p-10i:hover {
  background: #fbfcfc;
  cursor: pointer;
  border-left: 4px solid #ff8101 !important;}
html body .comment-list {
  padding: 10px !important;
  border-left: none !important;
  border-bottom: 1px solid #ebebeb;
  cursor: pointer}
html body .comment-list:hover {
  background: #fffde3;
  cursor: pointer;
  border-color: transparent!important;}
  /*
html body .comment-list {
  padding: 10px !important;
  border-left: 4px solid #b8b8ba !important;
  cursor: pointer}
html body .comment-list:hover {
  background: #fffde3;
  cursor: pointer;
  border-left: 4px solid #ff8101 !important;}
  */
html body .m-b-10n {
  margin-bottom: -10px; }
html body .font-13 {
  font-size: 13px; }
html body .m-b-20i {
  margin-bottom: -20px !important; }
html body .m-t-17i {
  margin-bottom: -17px !important; }
/*ARTICULOS*/
.product-list {
  padding: 0px;
  text-align: left;
}
em {
  color: #777;
  font-weight: bold;
  font-style: normal;
}
.boxpres {
  background-color: #FADBD8;
}
.cenver{
  display: table-cell;
  vertical-align: middle;
}
.bg-t{
  background: transparent !important;
}
.bg-header{
  background: #f9fbf8 !important;
}

/* BOTON SUCCESS*/
.btn-green,.btn-green-round,
.btn-green.disabled, .btn-green-round.disabled {
  background: #13d056;
  border: 1px solid #13d056;
  -webkit-box-shadow: 0 0 2px 0 rgba(40, 190, 86, 0.14), 0 0 1px 1px rgba(97, 255, 45, 0.2), 0 0 0 1px rgba(40, 190, 72, 0.12);
    box-shadow: 0 0 2px 0 rgba(36, 226, 103, 0.14), 0 0 1px 1px rgba(27, 218, 42, 0.2), 0 0 0 1px rgba(28, 220, 70, 0.12);
-webkit-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
  .btn-green:hover, .btn-green-round:hover 
  .btn-green.disabled:hover, .btn-green-round.disabled:hover {
    background: #13d056;
    -webkit-box-shadow: 0 14px 26px -12px rgba(40, 190, 189, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(40, 190, 189, 0.2);
    box-shadow: 0 14px 26px -12px rgba(40, 190, 189, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(40, 190, 189, 0.2);
    border: 1px solid #13d056; }
  .btn-green.active, .btn-success:focus,
  .btn-green-round.active, .btn-success:focus,
  .btn-green.disabled.active,
  .btn-green-round.disabled.active,
  .btn-green.disabled:focus, .btn-green-round.disabled:focus {
    background: #13d056;
    -webkit-box-shadow: 0 14px 26px -12px rgba(40, 190, 189, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(40, 190, 189, 0.2);
    box-shadow: 0 14px 26px -12px rgba(40, 190, 189, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(40, 190, 189, 0.2); }

.btn-green:not(:disabled):not(.disabled).active, .btn-green:not(:disabled):not(.disabled):active, .show>.btn-green.dropdown-toggle {
    color: #fff;
    background-color: #13d056;
    border-color: #13d056;}
.btn-green-round:not(:disabled):not(.disabled).active, .btn-green-round:not(:disabled):not(.disabled):active, .show>.btn-green-round.dropdown-toggle {
    color: #fff;
    background-color: #13d056;
    border-color: #13d056;}

.btn-green:not(:disabled):not(.disabled).active,
.show>.btn-green.dropdown-toggle{
  background-color: #13d056;
  border-radius: 10px;
  border: 4px solid #ffffff; 
  box-shadow: 0 0 0 0.2rem rgba(255 215 10);
  transition: 0.2s ease-in;
}
.btn-green-round:not(:disabled):not(.disabled).active,
.show>.btn-green-round.dropdown-toggle{
  background-color: #13d056;
  border-radius: 50%;
  border: 4px solid #ffffff; 
  box-shadow: 0 0 0 0.2rem rgba(255 215 10);
  transition: 0.2s ease-in;
}
/* BOTON SUCCESS*/

/* BOTON INFO*/

.btn-blue, .btn-blue-round,
.btn-blue.disabled, .btn-blue-round.disabled {
  background: #007bff;
  border: 1px solid #007bff;
  -webkit-box-shadow: 0 0 2px 0 rgba(66, 165, 245, 0.14), 0 0 1px 1px rgba(66, 165, 245, 0.2), 0 0 0 1px rgba(66, 165, 245, 0.12);
  box-shadow: 0 0 2px 0 rgba(66, 165, 245, 0.14), 0 0 1px 1px rgba(66, 165, 245, 0.2), 0 0 0 1px rgba(66, 165, 245, 0.12);
  -webkit-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
  .btn-blue:hover, .btn-blue-round:hover,
  .btn-blue.disabled:hover, .btn-blue-round.disabled:hover {
    background: #007bff;
    border: 1px solid #007bff;
    -webkit-box-shadow: 0 14px 26px -12px rgba(23, 105, 255, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(23, 105, 255, 0.2);
    box-shadow: 0 14px 26px -12px rgba(23, 105, 255, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(23, 105, 255, 0.2); }
  .btn-blue.active, .btn-blue:focus,
  .btn-blue-round.active, .btn-blue-round:focus,
  .btn-blue.disabled.active, .btn-blue-round.disabled.active,
  .btn-blue.disabled:focus, .btn-blue-round.disabled:focus {
    background: #007bff;
    -webkit-box-shadow: 0 14px 26px -12px rgba(23, 105, 255, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(23, 105, 255, 0.2);
    box-shadow: 0 14px 26px -12px rgba(23, 105, 255, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(23, 105, 255, 0.2); }

.btn-blue:not(:disabled):not(.disabled).active, .btn-blue:not(:disabled):not(.disabled):active, .show>.btn-blue.dropdown-toggle {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;}
.btn-blue-round:not(:disabled):not(.disabled).active, .btn-blue-round:not(:disabled):not(.disabled):active, .show>.btn-blue-round.dropdown-toggle {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;}

.btn-blue:not(:disabled):not(.disabled).active,
.show>.btn-blue.dropdown-toggle{
  background-color: #007bff;
  border-radius: 10px;
  border: 4px solid #ffffff; 
  /*box-shadow: 0 0 0 0.2rem rgba(247,240,37,5);*/
  box-shadow: 0 0 0 0.2rem rgba(255 215 10);
  transition: 0.2s ease-in;
}

.btn-blue-round:not(:disabled):not(.disabled).active,
.show>.btn-blue-round.dropdown-toggle{
  background-color: #007bff;
  border-radius: 50%;
  border: 4px solid #ffffff; 
  /*box-shadow: 0 0 0 0.2rem rgba(247,240,37,5);*/
  box-shadow: 0 0 0 0.2rem rgba(255 215 10);
  transition: 0.2s ease-in;
}

/* BOTON BLUE*/

/* BOTON RED*/
.btn-reed, .btn-reed-round,
.btn-reed.disabled, .btn-reed-round.disabled {
  background: #e7444c;
  border: 1px solid #e7444c;
  -webkit-box-shadow: 0 0 2px 0 rgba(239, 83, 80, 0.14), 0 0 1px 1px rgba(239, 83, 80, 0.2), 0 0 0 1px rgba(239, 83, 80, 0.12);
  box-shadow: 0 0 2px 0 rgba(239, 83, 80, 0.14), 0 0 1px 1px rgba(239, 83, 80, 0.2), 0 0 0 1px rgba(239, 83, 80, 0.12);
  -webkit-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
  .btn-reed:hover, .btn-reed-round:hover,
  .btn-reed.disabled:hover, .btn-reed-round.disabled:hover {
    background: #e7444c;
    -webkit-box-shadow: 0 14px 26px -12px rgba(239, 83, 80, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(239, 83, 80, 0.2);
    box-shadow: 0 14px 26px -12px rgba(239, 83, 80, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(239, 83, 80, 0.2);
    border: 1px solid #e7444c; }
  .btn-reed.active, .btn-reed:focus,
  .btn-reed-round.active, .btn-reed-round:focus,
  .btn-reed.disabled.active,
  .btn-reed-round.disabled.active,
  .btn-reed.disabled:focus, .btn-reed-round.disabled:focus {
    background: #e7444c;
    -webkit-box-shadow: 0 14px 26px -12px rgba(239, 83, 80, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(239, 83, 80, 0.2);
    box-shadow: 0 14px 26px -12px rgba(239, 83, 80, 0.42), 0 4px 23px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(239, 83, 80, 0.2); }

.btn-reed:not(:disabled):not(.disabled).active, .btn-reed:not(:disabled):not(.disabled):active, .show>.btn-reed.dropdown-toggle {
    color: #fff;
    background-color: #e7444c;
    border-color: #e7444c;}

.btn-reed-round:not(:disabled):not(.disabled).active, .btn-reed-round:not(:disabled):not(.disabled):active, .show>.btn-reed-round.dropdown-toggle {
    color: #fff;
    background-color: #e7444c;
    border-color: #e7444c;}

.btn-reed:not(:disabled):not(.disabled).active,
.show>.btn-reed.dropdown-toggle{
  background-color: #e7444c;
  border-radius: 10px;
  border: 4px solid #ffffff; 
  box-shadow: 0 0 0 0.2rem rgba(255 215 10);
  transition: 0.2s ease-in;
}

.btn-reed-round:not(:disabled):not(.disabled).active,
.show>.btn-reed-round.dropdown-toggle{
  background-color: #e7444c;
  border-radius: 50%;
  border: 4px solid #ffffff; 
  box-shadow: 0 0 0 0.2rem rgba(255 215 10);
  transition: 0.2s ease-in;
}
/* BOTON RED*/

/* BOTON ORANGE */

.btn-orange,
.btn-orange.disabled {
  background: #ff693b;
  color: #ffffff;
  border: 1px solid #ff693b; }
  .btn-orange:hover,
  .btn-orange.disabled:hover {
    background: #ff4c15;
    color: #ffffff;
    border: 1px solid #ff4208; }
  .btn-orange.active, .btn-orange:focus,
  .btn-orange.disabled.active,
  .btn-orange.disabled:focus {
    background: #ff4c15;
  }

/* BOTON ORANGE */

.table-head th{
  color: #455a64 !important;
  font-weight: 500 !important;
  background: #f9fbf8 !important;
  border-left: 0px !important;
}

.table-head th:hover{
  border-left: 0px !important;
}

.btn-pagar-pos {
  padding-top: 16px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 13px;
  background: #2cd07e;
  border-radius: 20px;
  /*border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem;*/
  cursor: pointer;
  cursor: hand;
}

.btn-continuar {
  padding-top: 16px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 13px;
  background: #1B84FF;
  border-radius: 20px;
  /*border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem;*/
  cursor: pointer;
  cursor: hand;
}

.btn-confirmar {
  padding-top: 16px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 13px;
  background: #1B84FF;
  border-radius: 20px;
  /*border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem;*/
  cursor: pointer;
  cursor: hand;
}

.btn-dividir-pos {
  padding-top: 12px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 0px;
  background: #3f3f3f;
  border-bottom-left-radius: .25rem;
  cursor: pointer;
  cursor: hand;
}

.btn-cancelar-pos {
  padding-top: 16px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 13px;
  background: #F8285A;
  border-radius: 20px;
  /*border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem;*/
  cursor: pointer;
  cursor: hand;
}

.btn-mozo-pos {
  padding-top: 12px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 0px;
  background: #2cd07e;
  border-radius: 20px;
}
.justify-center{
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu-icon {
  font-size: 25px !important;}
.menu-nav {
  padding: 9px 12px !important;}
.bg-efectivo {
  background-color: #dfffbc !important; }
.bg-tarjeta {
  background-color: #cbdeff !important; }
.bg-descuento {
  background-color: #ffeacb !important; }
.label-open {
  border-radius: 0px;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 700;
  transform: rotate(-5deg)
}
.label-close {
  border-radius: 0px;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 700;
  transform: rotate(5deg)
}
.form-control { 
  box-shadow: none !important;}
.form-control:focus {
  border-color: #ced4da !important;}
.dropdown-item.active, .dropdown-item:active {
  background-color: #617572;}
.bg-gris {
  background-color: #f9fbf8 !important; }
.card-shadow {
  -webkit-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.12)}

  html body .input-pagos:hover {
  -webkit-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.12)}

.pro_active {
  background: #feffbb;
  border-left-color: #d53939!important;
}

.cat_active {
  color: #ff5d21 !important;
}
.cat_active a, .cat_active a:hover, .cat_active a:focus{
  font-weight: 500 !important;
  color: #ff5d21 !important;
}

/*
.d-none {
    display: none !important;
}
*/

.total-box {
  background-color: #ffffff;
  border-top: solid 2px #e9e9e9;
  bottom: 0px;
  height: 100%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 6px;
    padding: 2px;
}

.grid-mesas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    padding: 10px;
}

.grid li, ul.grid-mesas li {
    list-style: none;
}
.grid li:before, ul.grid-mesas li:before {
    content: "";
    padding-top: 100%;
    display: inline-block;
    vertical-align: top;
}

.grid-prod {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    padding: 10px;
    /*
    margin-top: -150px;
    */
}
.grid li, ul.grid-prod li {
    list-style: none;
}
.grid li:before, ul.grid-prod li:before {
    content: "";
    padding-top: 100%;  /* Restaurado a 100% - contenedores cuadrados */
    display: inline-block;
    vertical-align: top;
}

.producto {
    position: relative;
    vertical-align: top;
    display: inline-block;
    font-size: 12px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 20px !important;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    width: 100%;
}
.producto:hover {
    /*
    border: 3px solid #ffc107;
    transition: 0.2s ease-in;
    */
}
.producto .card-img-overlay{
    text-align: center;
    display: grid;
    align-items: center;
    background: rgb(70 68 68 / 50%);
}
.producto .card-title{
    font-size: 15px;
    text-align: center !important;
    display: grid !important;
    align-items: center !important;
    color: #ffffff !important;
    text-shadow: -1px -1px 0px #000, 1px 1px 0px #000, -1px 1px 0px #000, 1px -1px 0px #000;
}
.producto .price-tag {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 14px;
    text-align: right;
    background: #34d16e;
    font-weight: 600;
}
.producto .presentacion-tag {
    color: #000000 !important;
    font-size: 14px;
    text-align: center;
    background: #eaff2d;
}

@media (min-width: 576px) { 
    .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
      }        
}

@media (min-width: 768px) {
    .grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
    .grid-prod {
        display: grid;
        grid-template-columns: repeat(3, 1fr);  /* Restaurado a 3 columnas */
    }
    .grid-mesas {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
    }
    .grid-prod {
        display: grid;
        grid-template-columns: repeat(4, 1fr);  /* Restaurado a 4 columnas */
    }
    .grid-mesas {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}


@media (min-width: 1200px) {
    .grid {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
    }
    .grid-prod {
        display: grid;
        grid-template-columns: repeat(5, 1fr);  /* Restaurado a 5 columnas */
    }
    .grid-mesas {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 991px) {
  .p-w-t {
    width: 158px !important;}
    /*width: 136 !important;}*/
  .body-pos {
    overflow:hidden;}
  .btn-up, .btn-down, .btn-categorias{
    display: none;} 
}

@media (max-width: 991px) {
  .p-w-t {
    width: 47% !important;
  }
}

.btn-pedido {
  cursor: pointer;
}
.btn-pedido:hover {
  /*background-color: #13d056;*/
  border: 2px solid #ffffff; 
  box-shadow: 0 0 0 0.2rem rgba(255 215 10);
}
.btncategoria {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    font-size: 14px;
}
.btncategoria .icon {
    display: block;
    font-size: 25px;
}


.mesa[data-v-7a365674] {
    border: 2px solid #fff;
    cursor: pointer;
    float: left;
    margin: 1%;
    overflow: hidden;
    padding-bottom: 18%;
    position: relative;
    transition: all .5s;
    width: 100%;

    /*height: 159.16px;*/
}

.mesa[data-v-7a365674]:hover {
    border: 3px dashed #5b348a;
    transition: all .5s;
}

.mesa.libre[data-v-7a365674] {
    background-color: #EDFDF2;
    border-color: #2cd07e !important;
    border-radius: 10px;
    /*
    box-shadow: 0 6px 40px -20px rgba(0, 0, 0, .75);
    */
}

.mesa.seleccionada[data-v-7a365674] {
    border: 2px solid #5b348a;
}

.mesa.ocupada[data-v-7a365674] {
    border: 2px dashed #d3d7e9;
    border-radius: 10px;
}

.mesa.ocupada.atendida[data-v-7a365674] {
    background: #FFFFFF;
    border-color: #F8285A;
}

.mesa.ocupada.pago[data-v-7a365674] {
    background: #FFFFFF;
    border-color: #1B84FF;
}

.mesa>.informacion[data-v-7a365674] {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    padding: 5%;
    position: absolute;
    width: 100%;
}

.mesa>.informacion>.fila[data-v-7a365674] {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/*
.mesa>.informacion>* {
    flex: 1 100%;
}
*/

.mesa>.informacion .numero[data-v-7a365674]{
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1;
    text-align: right;
}

.mesa>.informacion .mensaje[data-v-7a365674] {
    align-self: center;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 2;
}

.mesa>.informacion .tiempos[data-v-7a365674]{
    align-items: flex-end;
}

.mesa>.informacion>*[data-v-7a365674] {
    flex: 1 100%;
}

/* Estilos personalizados para toast */
.jq-toast-wrap {
  width: 350px !important;
}

.jq-toast-single {
  font-family: "Poppins", sans-serif !important;
  border-radius: 8px !important;
  padding: 15px 20px !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.jq-toast-single h2 {
  font-family: "Poppins", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-bottom: 5px !important;
  display: flex !important;
  align-items: center !important;
}

.jq-toast-loader {
  height: 3px !important;
  border-radius: 3px !important;
}

.close-jq-toast-single {
  font-size: 20px !important;
  opacity: 0.6 !important;
  transition: all 0.2s !important;
}

.close-jq-toast-single:hover {
  opacity: 1 !important;
}

.jq-toast-single.jq-has-icon {
  padding: 15px 20px 15px 20px !important;
}

.jq-toast-single.jq-icon-info {
  background-color: #ffffff !important;
  color: #2A3547 !important;
  border-left: 4px solid #34d16e !important;
}

.btn-circle {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/*Login */
/* Estilos generales para ambos formularios */
.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Hacer los puntos de contraseña más grandes y visibles en ambos formularios */
#password {
  font-size: 24px !important;
  letter-spacing: 8px !important;
  font-weight: bold !important;
  font-family: Arial, sans-serif !important;
}

#f-user {
  font-size: 24px !important;
  letter-spacing: 8px !important;
  font-weight: bold !important;
  font-family: Arial, sans-serif !important;
}

.form-mozo .form-control {
  padding: 10px 15px !important; /* Padding similar al administrativo */
  height: auto !important; /* Ajuste automático */
}

/* Estilos específicos para el formulario administrativo */
.form-administrativo .form-control {
  padding: 10px 15px;
  height: auto;
  transition: all 0.3s ease;
}

.form-administrativo .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-administrativo .input-group-text {
  border: none;
}

.form-administrativo .btn-primary {
  transition: all 0.3s ease;
}

.form-administrativo .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para el formulario de mozos */
.hover-primary-shadow:hover {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
  color: #0d6efd !important;
}

.transition-all {
  transition: all 0.2s ease-in-out;
}

.form-mozo .btn {
  height: 70px;
}

.virtual-keyboard button.active {
  transform: scale(0.95);
  box-shadow: inset 0 3px 5px rgba(0,0,0,0.125) !important;
}
/* Configuración de tamaño de letra para los botones numéricos */
.virtual-keyboard .btn-corporate .fs-3 {
  font-size: 1.4rem !important;
}

/* Para el botón de borrar (DEL) */
.virtual-keyboard .btn-reed .ti-backspace {
  font-size: 1.5rem !important; /* Ajusta este valor según necesites */
}

/* Estilo general para los botones del teclado virtual */
.virtual-keyboard button {
  transition: all 0.2s ease;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

/* Efecto al hacer hover sobre los botones */
.virtual-keyboard button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}


.display-mask {
  border-radius: 0 5px 5px 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px !important;
}

.display-mask i {
  font-size: 1.25rem !important;
}

/* Animaciones adicionales */
.spin-animation {
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Estilos específicos para botones del teclado numérico */
.btn-corporate {
  background: #3a4752; /* Azul grisáceo corporativo, diferente al primario */
  border: 3px solid #ffffff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  color: white;
  transition: all 0.3s ease;
}

.btn-corporate:hover {
  background: #465761;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-corporate.active {
  transform: scale(0.95) translateY(2px);
  box-shadow: inset 0 3px 5px rgba(0,0,0,0.2);
}

/* Mantener estilo del botón de borrar */
.btn-reed {
  background: #e7444c;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  color: white;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Efectos de onda al hacer clic */
.virtual-keyboard button {
  position: relative;
  overflow: hidden;
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  animation: ripple 0.6s;
  opacity: 0;
}

@keyframes ripple {
  from {
    opacity: 1;
    transform: scale(0);
  }
  to {
    opacity: 0;
    transform: scale(3);
  }
}

/* Estilos responsivos para la sección promocional */
.enterprise-promo {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
  position: relative;
  overflow: hidden;
}

.features-list {
  max-width: 600px;
  margin: 0 auto;
}

.feature-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 10px;
  background-color: white;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-row:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 1.5rem;
}

/* Versión compacta para tablets */
.feature-icon-sm {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-icon-sm:hover {
  transform: translateY(-5px);
}

.feature-content {
  flex: 1;
}

.version-info {
  margin-top: 40px;
}

.badge {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Ajustes responsivos adicionales */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Tablets */
  .enterprise-promo {
    height: auto !important;
    min-height: 250px;
  }

  .enterprise-promo .px-md-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Tablets grandes y laptops pequeñas */
  .feature-row {
    padding: 12px;
    margin-bottom: 15px;
  }

  .feature-content h5 {
    font-size: 1rem;
  }

  .feature-content p {
    font-size: 0.85rem;
  }
}

/* ========================================
   ESTILOS PARA VISTA LISTA DE PRODUCTOS
   ======================================== */

/* Botón toggle de vista */
.btn-toggle-vista {
  width: 45px;
  height: 45px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50% !important;
  min-width: 45px;
  max-width: 45px;
  min-height: 45px;
  max-height: 45px;
}

.btn-toggle-vista:hover {
  background-color: #f8f9fa;
  transform: scale(1.05);
  border-radius: 50% !important;
}

/* Vista grid/swiper - Productos modernos */
.producto-moderno {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 150px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.producto-moderno:hover {
  transform: scale(1.02);
}

.producto-moderno.sin-imagen {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.producto-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.swiper-slide .producto-nombre {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.swiper-slide .producto-presentacion {
  font-size: 11px;
  font-weight: 400;
  color: #ffffff !important;
  margin: 0;
  opacity: 0.9;
}

.swiper-slide .producto-precio {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  margin-top: 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Vista lista - contenedor */
#list-productos.vista-lista {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

/* Item de producto en vista lista */
.producto-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px !important;
  background: #ffffff;
  border-left: 4px solid #28a745 !important;
  border-bottom: 1px solid #ebebeb;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: auto;
}

.producto-list-item:hover {
  background: #fffde3;
  border-left: 4px solid #ff8101 !important;
  border-color: transparent !important;
}

.producto-list-item:active {
  transform: scale(0.99);
}

/* Información del producto en vista lista */
.producto-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
}

.producto-list-item .producto-nombre {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50 !important;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
}

.producto-list-item .producto-presentacion {
  font-size: 12px;
  color: #6c757d !important;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
}

.producto-list-item .producto-precio {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50 !important;
  white-space: nowrap;
  margin-left: 16px;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
}

/* Categoría en vista lista */
.categoria-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px !important;
  background: #ffffff;
  border-left: 4px solid #0074ba !important;
  border-bottom: 1px solid #ebebeb;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: auto;
}

.categoria-list-item:hover {
  background: #fffde3;
  border-left: 4px solid #ff8101 !important;
  border-color: transparent !important;
}

.categoria-list-item:active {
  transform: scale(0.99);
}

.categoria-list-item .categoria-nombre {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  flex: 1;
}

.categoria-list-item .categoria-icon {
  margin-left: auto;
  font-size: 20px;
  color: #6c757d;
  transition: transform 0.2s ease;
}

.categoria-list-item:hover .categoria-icon {
  color: #ff8101;
}

/* Mensaje sin resultados en vista lista */
#list-productos.vista-lista .no-results {
  padding: 40px 20px;
  text-align: center;
  color: #6c757d;
}

#list-productos.vista-lista .no-results i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

#list-productos.vista-lista .no-results p {
  font-size: 14px;
  margin: 0;
}

/* Responsive para vista lista en móvil */
@media (max-width: 768px) {
  .btn-toggle-vista {
    width: 40px;
    height: 40px;
  }

  .producto-list-item {
    padding: 10px !important;
  }

  .producto-list-item .producto-nombre {
    font-size: 14px;
  }

  .producto-list-item .producto-presentacion {
    font-size: 12px;
  }

  .producto-list-item .producto-precio {
    font-size: 15px;
    margin-left: 12px;
  }

  .categoria-list-item {
    padding: 12px 10px !important;
  }

  .categoria-list-item .categoria-nombre {
    font-size: 15px;
  }

  .categoria-list-item .categoria-icon {
    font-size: 18px;
  }
}

/* ========================================
   NAVEGACIÓN JERÁRQUICA DE CATEGORÍAS
   ======================================== */

/* Indicador de subcategorías en vista lista */
.categoria-list-item.tiene-hijos {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid #ff8101 !important;
}

.categoria-list-item.tiene-hijos .categoria-nombre {
  font-weight: 700;
  color: #2c3e50;
}

.categoria-list-item.tiene-hijos .categoria-icon {
  color: #ff8101;
  font-size: 22px;
}

/* Indicador de subcategorías en vista grid */
.producto-moderno.tiene-hijos .indicador-subcategorias {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 129, 1, 0.9);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.producto-moderno.tiene-hijos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid #ff8101;
  border-radius: 12px;
  pointer-events: none;
  z-index: 5;
}

/* Botón volver en vista lista */
.btn-volver-categoria {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-left: 4px solid #2196f3 !important;
  border-bottom: 1px solid #90caf9;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 2px;
}

.btn-volver-categoria:hover {
  background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
  border-left: 4px solid #1976d2 !important;
}

.btn-volver-categoria:active {
  transform: scale(0.99);
}

.btn-volver-categoria i {
  font-size: 20px;
  color: #1976d2;
}

.btn-volver-categoria span {
  font-size: 15px;
  font-weight: 600;
  color: #1565c0;
}

/* Botón volver en vista grid */
.btn-volver-categoria-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.btn-volver-categoria-grid:hover {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.btn-volver-categoria-grid:active {
  transform: translateY(0);
}

.btn-volver-categoria-grid i {
  font-size: 18px;
}

/* Responsive para botones volver */
@media (max-width: 768px) {
  .btn-volver-categoria {
    padding: 10px 12px;
  }

  .btn-volver-categoria i {
    font-size: 18px;
  }

  .btn-volver-categoria span {
    font-size: 14px;
  }

  .btn-volver-categoria-grid {
    padding: 10px 16px;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .btn-volver-categoria-grid i {
    font-size: 16px;
  }

  .producto-moderno.tiene-hijos .indicador-subcategorias {
    width: 24px;
    height: 24px;
    font-size: 12px;
    top: 8px;
    right: 8px;
  }
}

/* ========================================
   AJUSTES PARA VISTA DE INSUMOS
   ======================================== */

/* Card de categorías - altura ajustable con scroll */
.card-categorias-insumos-full {
  max-height: calc(100vh - 100px);
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.card-categorias-insumos-full .card-body {
  overflow: visible;
}

.card-categorias-insumos-full .card-datagrid {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 300px);
}

/* Card de insumos - altura ajustable con scroll */
.card-insumos-full {
  height: calc(100vh - 140px) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.card-insumos-full .card-header {
  flex-shrink: 0 !important;
  background: #fff;
}

.card-insumos-full .card-datagrid {
  flex: 1 !important;
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  min-height: 0 !important;
  position: relative !important;
  height: 100% !important;
}

/* Forzar scroll visible */
.card-insumos-full .card-datagrid::-webkit-scrollbar {
  width: 10px !important;
  display: block !important;
}

.card-insumos-full .card-datagrid::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
  border-radius: 4px;
}

.card-insumos-full .card-datagrid::-webkit-scrollbar-thumb {
  background: #888 !important;
  border-radius: 4px;
}

.card-insumos-full .card-datagrid::-webkit-scrollbar-thumb:hover {
  background: #555 !important;
}

/* Forzar que el row interno no bloquee el scroll */
.card-insumos-full .card-datagrid > .row {
  height: auto !important;
  overflow: visible !important;
}

/* Área de botones y filtro - fija en la parte superior del scroll */
.card-insumos-full .card-datagrid .col-lg-12 > .row.mt-3 {
  position: sticky !important;
  top: 0 !important;
  z-index: 5 !important;
  background: #f8f9fa !important;
  margin-left: -15px !important;
  margin-right: -15px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
}

/* Área de tabla - sin scroll propio, usa el del padre */
.card-insumos-full .table-responsive {
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding-bottom: 40px !important;
  margin-bottom: 20px !important;
  height: auto !important;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 992px) {
  .card-categorias-insumos-full,
  .card-insumos-full {
    max-height: none;
    overflow: visible;
  }

  .card-categorias-insumos-full .card-datagrid,
  .card-insumos-full .card-datagrid {
    max-height: 600px;
  }
}
