.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;
}

.btn-large-dim {
  width: 29.78% !important;
  height: 80px !important;
  font-size: 20px !important;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .btn-large-dim {
    width: 20.78% !important;
    height: 80px !important;
    font-size: 20px !important;
  }
}
@media (min-width: 1200px) {
  .btn-large-dim {
    width: 12.78% !important;
    height: 80px !important;
    font-size: 20px !important;
  }
  .tabs-vertical {
    min-width: 150px;
    max-width: 150px;
  }
  .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 {
    width: 100% !important;
    height: 80px !important;
    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;
  }
  .login-background {
    padding-bottom: 400px !important;
  }
}

.span-a {
  display: block;
  font-size: 10px;
  font-weight: 400;
}
.span-b {
  display: block;
  font-size: 9px;
  font-weight: 400;
}
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: 600;
  margin: 5px !important;
  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-blue.dim {
  border-radius: 10px;
  border: 4px solid #ffffff;
}
button.btn-blue.dim:hover {
  color: #fff;
  border-radius: 10px;
  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.dim {
  border-radius: 10px;
  border: 4px solid #ffffff;
}
button.btn-green.dim:hover {
  color: #fff;
  border-radius: 10px;
  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-reed.dim {
  color: #fff;
  border-radius: 10px;
  border: 4px solid #ffffff;
}
button.btn-reed.dim:hover {
  border-radius: 10px;
  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: 15px;
  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.8rem;
}
.descriptive-icon-2 span {
  display: block;
  margin: 0;
  line-height: 1.1;
}
html body .tr-left {
  border-left: 2px solid #b8b8ba !important;
}
html body .tr-left:hover {
  background: #fbfcfc;
  border-left: 2px 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: 2px solid #b8b8ba !important;
}
html body .tr-left-3:hover {
  border-left: 2px 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: 2px solid #b8b8ba !important;
  cursor: pointer;
}
html body .p-10i:hover {
  background: #fbfcfc;
  cursor: pointer;
  border-left: 2px solid #ff8101 !important;
}
html body .comment-list {
  padding: 10px !important;
  border-left: 2px solid #b8b8ba !important;
  cursor: pointer;
}
html body .comment-list:hover {
  background: #fffde3;
  cursor: pointer;
  border-left: 2px 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;
}
.product {
  position: relative;
  vertical-align: top;
  display: inline-block;
  line-height: 100px;
  font-size: 12px;
  margin: 5px !important;
  /*height: 160px !important;*/
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 3px;
  border-bottom-width: 3px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .p-w-t {
    width: 30.48% !important;
  }
}
@media (min-width: 1200px) {
  .p-w-t {
    width: 15.48% !important;
  }
  .body-pos {
    overflow: hidden;
  }
  .btn-up,
  .btn-down,
  .btn-categ {
    display: none;
  }
}
@media (min-width: 576px) {
  .btn-categ {
    display: none;
  }
}
@media (max-width: 991px) {
  .p-w-t {
    width: 46.72% !important;
  }
}
.product:hover {
  border: 1px solid #c3c3c3;
}
.product .product-img {
  position: relative;
  /*width: 98px;
  height: 90px;*/
  background: white;
  text-align: center;
}
.product .product-img img {
  padding: 5px;
  max-height: 100%;
  height: 100px;
  max-width: 100%;
  width: 100%;
  vertical-align: top;
  /*
  max-height: 100px;
  max-width: 90px;
  vertical-align: middle;
  */
}
.product .price-tag {
  position: absolute;
  top: 3px;
  right: 3px;
  vertical-align: top;
  color: white;
  line-height: 13px;
  background: #34d16e;
  padding: 5px 5px;
  border-radius: 2px;
  max-width: 114px;
  font-weight: 400;
}
.product .pres-tag {
  position: absolute;
  top: 30px;
  right: 3px;
  vertical-align: top;
  color: #fff; /* Blanco para contraste */
  font-size: 14px; /* Un poco más grande */
  font-weight: 600; /* Texto más grueso */
  line-height: 13px;
  background: rgba(133, 144, 238, 0.6); /* Color con 50% de transparencia */
  padding: 5px 5px;
  border-radius: 2px;
  max-width: 94%;
  text-align: right;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Sombra para mejorar visibilidad */
}

.product .product-nam {
  color: #636363;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  bottom: 0;
  top: auto;
  line-height: 14px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  background: -webkit-linear-gradient(
    -90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 1)
  );
  background: -moz-linear-gradient(
    -90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 1)
  );
  background: -ms-linear-gradient(
    -90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 1)
  );
  padding: 3px;
  padding-top: 3px;
}

.product .product-des {
  text-transform: uppercase;
  /*color: #636363;*/
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  bottom: 0;
  top: auto;
  line-height: 14px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  /*background: -webkit-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
  background: -moz-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
  background: -ms-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));*/
  padding: 3px;
  padding-top: 3px;
}
.total-box {
  background-color: #ffffff;
  border-top: solid 2px #e9e9e9;
  bottom: 0px;
  height: 100%;
}
.product-name {
  font-size: 13px;
  padding: 0;
  display: inline-block;
  font-weight: bold;
  width: 80%;
  text-overflow: ellipsis;
  margin: 0px;
}
.price {
  padding: 0;
  font-weight: 500;
  float: right;
  font-size: 13px;
}
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.disabled {
  background: #79df9d;
  border: 1px solid #79df9d;
  -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.disabled:hover {
  background: #79df9d;
  -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 #79df9d;
}
.btn-green.active,
.btn-success:focus,
.btn-green.disabled.active,
.btn-green.disabled:focus {
  background: #79df9d;
  -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: #79df9d;
  border-color: #79df9d;
}

.btn-green:not(:disabled):not(.disabled).active,
.show > .btn-green.dropdown-toggle {
  background-color: #79df9d;
  border-radius: 10px;
  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.disabled {
  background: #5a9bf3;
  border: 1px solid #5a9bf3;
  -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.disabled:hover {
  background: #5a9bf3;
  border: 1px solid #5a9bf3;
  -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.disabled.active,
.btn-blue.disabled:focus {
  background: #5a9bf3;
  -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: #5a9bf3;
  border-color: #5a9bf3;
}

.btn-blue:not(:disabled):not(.disabled).active,
.show > .btn-blue.dropdown-toggle {
  background-color: #5a9bf3;
  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;
}

/* BOTON BLUE*/

/* BOTON RED*/
.btn-reed,
.btn-reed.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.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.disabled.active,
.btn-reed.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: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;
}

/* BOTON RED*/

/* ============================= */
/* Sidebar moderno tipo app SaaS */
/* ============================= */

.left-sidebar {
  background: #ffffff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04);
}

.left-sidebar .sidebar-nav #sidebarnav > li {
  margin: 4px 12px;
}

.left-sidebar .sidebar-nav #sidebarnav > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #9aa0b5;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease-in-out;
}

.left-sidebar .sidebar-nav #sidebarnav > li > a svg {
  min-width: 20px;
  max-width: 20px;
}

.left-sidebar .sidebar-nav #sidebarnav > li > a:hover {
  background: #f3f5ff;
  color: #455a64;
}

.left-sidebar .sidebar-nav #sidebarnav > li.active > a,
.left-sidebar .sidebar-nav #sidebarnav > li > a.active {
  background: #195a52; /* verde oscuro/teal para item activo */
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(25, 90, 82, 0.3);
}

.left-sidebar .sidebar-nav #sidebarnav > li.active > a svg,
.left-sidebar .sidebar-nav #sidebarnav > li > a.active svg {
  stroke: #ffffff;
}

.left-sidebar .sidebar-nav #sidebarnav > li > a .hide-menu {
  flex: 1;
}

/* Flechas de submenú alineadas a la derecha */
.left-sidebar .sidebar-nav #sidebarnav > li > a::after {
  right: 12px;
}

/* Modo sidebar colapsado (mini-sidebar): iconos centrados y un poco más grandes */
body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li {
  margin: 10px 0;
  text-align: center;
}

body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a {
  justify-content: center;
  padding: 8px 0;
  border-radius: 18px; /* un poco redondeado, no completamente circular */
}

body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a svg {
  min-width: 24px;
  max-width: 24px;
}

body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a .hide-menu {
  display: none;
}

/* Hover en modo mini-sidebar: sin expansión exagerada ni icono invisible */
body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li:hover > a {
  width: auto !important;
  background: #f3f5ff;
  color: #455a64;
  box-shadow: none;
}

body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li:hover > a svg {
  stroke: #455a64;
}

/* Item activo en modo mini-sidebar: verde oscuro con icono blanco */
body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li.active > a,
body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a.active {
  background: #195a52;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(25, 90, 82, 0.3);
}

body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li.active > a svg,
body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a.active svg {
  stroke: #ffffff;
}

/* Submenús en modo mini-sidebar: mostrar en hover */
body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li:hover > ul,
body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li:hover > ul.collapse {
  display: block !important;
  position: absolute;
  left: 60px;
  top: 0;
  background: #ffffff;
  min-width: 200px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 9999;
}

body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li:hover > ul > li > a {
  padding: 10px 20px;
  color: #455a64;
  display: block;
  white-space: nowrap;
}

body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li:hover > ul > li > a:hover {
  background: #f3f5ff;
  color: #195a52;
}

body.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li:hover > ul > li.active > a {
  background: #195a52;
  color: #ffffff;
}

/* ============================= */
/* Sidebar oculto por defecto y aparece desde la izquierda */
/* ============================= */

/* Ocultar sidebar por defecto y posicionarlo desde la izquierda */
.left-sidebar {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  left: 0 !important;
  right: auto !important;
  z-index: 20;
  width: 260px !important;
  position: fixed !important;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

/* Scrollbar invisible pero funcional */
.left-sidebar::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.left-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.left-sidebar::-webkit-scrollbar-thumb {
  background: transparent;
}

/* Para Firefox */
.left-sidebar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Asegurar que slimScrollDiv ocupe todo el ancho del sidebar */
.left-sidebar .slimScrollDiv {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Asegurar que scroll-sidebar ocupe todo el espacio disponible */
.left-sidebar .scroll-sidebar {
  width: 100% !important;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  padding: 0 !important;
  margin: 0 !important;
}

/* Scrollbar invisible para scroll-sidebar también */
.left-sidebar .scroll-sidebar::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.left-sidebar .scroll-sidebar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Mostrar sidebar cuando tiene la clase show-sidebar */
body.show-sidebar .left-sidebar {
  transform: translateX(0);
}

/* Cuando el sidebar está abierto, expandir todos los submenús automáticamente */
body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul.collapse {
  display: block !important;
  height: auto !important;
  visibility: visible !important;
}

body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul.collapse.in {
  display: block !important;
  height: auto !important;
}

/* Asegurar que el texto del menú sea visible cuando el sidebar está abierto */
body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a .hide-menu {
  display: inline !important;
}

body.show-sidebar .left-sidebar {
  width: 280px !important;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

/* Asegurar que slimScrollDiv ocupe todo el ancho cuando el sidebar está abierto */
body.show-sidebar .left-sidebar .slimScrollDiv {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Asegurar que scroll-sidebar funcione correctamente */
body.show-sidebar .left-sidebar .scroll-sidebar {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.show-sidebar .left-sidebar .scroll-sidebar::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

/* Asegurar que sidebar-nav tenga el estilo correcto */
body.show-sidebar .left-sidebar .sidebar-nav {
  background: #ffffff;
  padding: 20px 0;
  width: 100%;
}

body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav {
  padding: 0px 0px 60px;
  margin: 0;
  list-style: none;
}

/* Asegurar que los items del menú muestren el texto cuando el sidebar está abierto */
body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li {
  text-align: left !important;
  margin: 4px 12px !important;
  list-style: none;
}

body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a {
  width: 100% !important;
  padding: 12px 16px !important;
  justify-content: flex-start !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border-radius: 8px;
  margin-bottom: 2px;
  color: #9aa0b5;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
}

body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a:hover {
  background: #f3f5ff;
  color: #455a64;
}

body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  stroke: currentColor;
}

/* Item activo */
body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li.active > a,
body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a.active {
  background: #195a52;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(25, 90, 82, 0.3);
}

body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li.active > a svg,
body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a.active svg {
  stroke: #ffffff;
}

/* Asegurar que los submenús se vean bien cuando el sidebar está abierto */
body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul {
  padding-left: 0 !important;
  padding-top: 8px !important;
  margin-top: 4px !important;
  margin-left: 0 !important;
  list-style: none;
  display: block !important;
}

body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul > li {
  margin: 0;
  list-style: none;
}

body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul > li > a {
  padding: 10px 16px 10px 48px !important;
  display: block !important;
  color: #455a64 !important;
  font-size: 13px !important;
  border-radius: 6px;
  margin-bottom: 2px;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
}

body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul > li > a:hover {
  background: #f3f5ff !important;
  color: #195a52 !important;
}

body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul > li.active > a {
  background: #195a52 !important;
  color: #ffffff !important;
}

/* Overlay para cerrar el sidebar */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 19;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

body.show-sidebar .sidebar-overlay {
  display: block;
  opacity: 1;
}

/* Asegurar que el page-wrapper no tenga margen cuando el sidebar está oculto */
.page-wrapper {
  margin-left: 0 !important;
  transition: margin-left 0.3s ease-in-out;
}

/* Estilos específicos para desktop */
@media (min-width: 1024px) {
  .page-wrapper {
    margin-left: 0 !important;
  }
  .footer {
    left: 0 !important;
  }
  
  /* Sidebar en desktop - mejor apariencia */
  body.show-sidebar .left-sidebar {
    width: 280px !important;
  }
  
  /* Asegurar que slimScrollDiv ocupe todo el ancho en desktop */
  body.show-sidebar .left-sidebar .slimScrollDiv {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  body.show-sidebar .left-sidebar .scroll-sidebar {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    /* Scrollbar invisible pero funcional */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  body.show-sidebar .left-sidebar .scroll-sidebar::-webkit-scrollbar {
    width: 0px;
    background: transparent;
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav {
    padding: 20px 0;
    background: #fff;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    /* Scrollbar invisible pero funcional */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav::-webkit-scrollbar {
    width: 0px;
    background: transparent;
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav {
    padding: 0px 0px 60px;
    margin: 0;
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li {
    margin: 4px 12px;
    position: relative;
    list-style: none;
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a {
    padding: 12px 16px !important;
    font-size: 14px !important;
    border-radius: 8px;
    margin-bottom: 2px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9aa0b5;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a:hover {
    background: #f3f5ff;
    color: #455a64;
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li.active > a,
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a.active {
    background: #195a52;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(25, 90, 82, 0.3);
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li.active > a svg,
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a.active svg {
    stroke: #ffffff;
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    max-width: 20px;
    stroke: currentColor;
  }
  
  /* Submenús dentro del sidebar en desktop - no flotantes, siempre visibles */
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul {
    padding-left: 0 !important;
    padding-top: 8px !important;
    margin-top: 4px !important;
    margin-left: 0 !important;
    list-style: none !important;
    display: block !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: auto !important;
    width: 100% !important;
    border-radius: 0 !important;
    z-index: auto !important;
    height: auto !important;
    visibility: visible !important;
  }
  
  /* Sobrescribir cualquier estilo de mini-sidebar que pueda interferir */
  body.show-sidebar.mini-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    display: block !important;
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul > li {
    margin: 0;
    list-style: none;
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul > li > a {
    padding: 10px 16px 10px 48px !important;
    font-size: 13px !important;
    border-radius: 6px;
    margin-bottom: 2px;
    display: block !important;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    white-space: nowrap;
    color: #455a64 !important;
    width: 100% !important;
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul > li > a:hover {
    background: #f3f5ff !important;
    color: #195a52 !important;
  }
  
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul > li.active > a {
    background: #195a52 !important;
    color: #ffffff !important;
  }
}

@media (max-width: 1023px) {
  .page-wrapper {
    margin-left: 0 !important;
  }
  .footer {
    left: 0 !important;
  }
}

/* Evitar que el header/topbar se desplace al colapsar el sidebar */
.mini-sidebar .top-navbar .navbar-header {
  width: 80px !important; /* mismo ancho siempre para que no se muevan los demás elementos */
  text-align: left !important;
}

/* Ajustar también el estado normal para que coincida el ancho y alinear mejor */
.topbar .top-navbar .navbar-header {
  width: 110px;
  text-align: left;
  display: flex;
  align-items: center;
}

/* Separación visual entre el botón del menú y el logo */
.topbar .top-navbar .navbar-header .sidebartoggler {
  margin-right: 12px;
}

/* ============================= */
/* Ajustes responsive (mobile y tablet)  */
/* ============================= */
@media (max-width: 1023px) {
  /* Topbar: que no se rompa en mobile/tablet */
  .topbar .top-navbar .navbar-header {
    width: 100%;
    display: flex;
    align-items: center;
  }

  .topbar .top-navbar .navbar-header .sidebartoggler {
    margin-right: 10px;
  }

  /* Sidebar: mismo estilo (icono + texto) también en mobile/tablet */
  body.show-sidebar .left-sidebar {
    width: 260px !important;
  }

  body.show-sidebar .left-sidebar .scroll-sidebar {
    /* padding-top: 70px; */
    height: calc(100vh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
    /* Scrollbar invisible pero funcional */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body.show-sidebar .left-sidebar .scroll-sidebar::-webkit-scrollbar {
    width: 0px;
    background: transparent;
  }

  body.show-sidebar .left-sidebar .sidebar-nav {
    padding: 15px 0;
  }

  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li {
    margin: 2px 12px;
    text-align: left;
  }

  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a {
    justify-content: flex-start;
    padding: 12px 16px;
    border-radius: 8px;
  }

  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a .hide-menu {
    display: inline !important;
  }

  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > a svg {
    min-width: 20px;
    max-width: 20px;
  }

  /* Submenús en mobile/tablet */
  body.show-sidebar .left-sidebar .sidebar-nav #sidebarnav > li > ul > li > a {
    padding: 10px 16px 10px 48px !important;
  }
}

@media (max-width: 767px) {
  body.show-sidebar .left-sidebar {
    width: 260px !important;
  }
}

/* ============================= */
/* Unificar altura y alineado de topbar en todas las resoluciones */
/* ============================= */
.topbar .top-navbar {
  min-height: 68px;
}

.topbar .top-navbar .navbar-header,
.topbar .top-navbar .navbar-header .navbar-brand,
.topbar .top-navbar .navbar-header .sidebartoggler,
.topbar .top-navbar .navbar-nav > .nav-item > .nav-link {
  height: 68px;
  line-height: 68px;
  display: flex;
  align-items: center;
}

.topbar .top-navbar .navbar-nav > .nav-item > .nav-link {
  padding-top: 0;
  padding-bottom: 0;
}

/* Iconos de la derecha (notificaciones y salir) bien alineados verticalmente */
.topbar .top-navbar .navbar-nav.my-lg-0 > .nav-item > .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar .top-navbar .navbar-nav.my-lg-0 > .nav-item > .nav-link svg,
.topbar .top-navbar .navbar-nav.my-lg-0 > .nav-item > .nav-link i {
  font-size: 18px;
}

/* Alinear icono del menú y logo dentro del contenedor de 210px */
.topbar .top-navbar .navbar-header .sidebartoggler,
.topbar .top-navbar .navbar-header .navbar-brand {
  display: flex;
  align-items: center;
}

.topbar .top-navbar .navbar-header .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}

.topbar .top-navbar .navbar-header .navbar-brand b {
  line-height: 1; /* evitar que el logo se desplace verticalmente */
  display: flex;
  align-items: center;
}

/* Eliminar espacio en blanco al inicio del navbar */
.topbar .top-navbar {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.topbar .top-navbar .navbar-header {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.topbar .top-navbar .navbar-collapse {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* BOTON ORANGE */

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

/* 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: 12px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 0px;
  background: #65d26f;
  border-bottom-right-radius: 0.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: 0.25rem;
  cursor: pointer;
  cursor: hand;
}

.btn-cancelar-pos {
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 0px;
  background: #fc4b6c;
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
  cursor: pointer;
  cursor: hand;
}

.btn-mozo-pos {
  padding-top: 12px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 0px;
  background: #65d26f;
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}
.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);
}

