
.row{
  margin-right: 0px !important;
  margin-left: 0px !important;
}

.titlePicture p{
  font-size: 20px;
  color: #883dff;
  text-shadow: 0 1px 0 rgba(0,0,0,.1);
  font-weight: 200;
  text-align: left;
  margin-left: 20px;
}

.datetimeIconDiv{
  text-align: center;
  padding: 5px;
  margin-bottom: 10px;
  background-color: #eeeeee;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.datetimeIconDiv span{
  vertical-align: initial;
  color: #666666;
}

.datetimeIconDiv h5{
  display: inline-block;
  margin-left: 3px;
  line-height: 5px;
}

.datetimeIcon{
  vertical-align: text-top;
  font-size: 15px;
}

.installDiv{
  border-radius: 10px;
  padding: 20px;
  text-align: left;
}

.installTitle{
  margin-bottom: 10px;
  margin-left: -10px;
  margin-right: -10px;
}

.installEdit{
  border: 0;
  border-bottom: blue;
  border-style: solid;
  border-bottom-width: 1px;
}

.installEditButton{
  display: inline-block;
  float: right;
  margin-top: -20px;
  height: 40px;
  border-radius: 40px;
  width: 40px;
  background: #51518c;
  color: #fbfbfb;
  line-height: 15px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.29);
}

.installEditButton:hover{
  background: #171731;
}

.installTitle h3{
  color: #037100;
  font-size: 20px;
  font-weight: 300;
  display: inline-block;
}

.installDatatd{
  border-top: 0px solid !important;
}

.installDataIcon{
  font-size: 25px;
  line-height: 35px;
}

.installFecha h4{
  margin-top: 0px;
  font-weight: 200 !important;
  margin-bottom: 3px !important;
}

.installFecha h5{
  margin-top: 0px;
}

.installDesc{
  color: #383838;
}

.installPrice h5{
  color: #383838;

}

.newServiceButton{
  background-color: #ff000000;
  border: solid 1px #7575ce;
}

.newServiceButton:hover{
  background-color: #7474cf57;
}

.loadServicesButton{
  background-color: #ff000000;
  border: solid 1px #75ce79;
}

.loadServicesButton:hover{
  background-color: #75cf7880;
}

.inview-header-noIsLoggedIn{
  position: relative;
    padding: 30px 0;
    color: #610000;
    text-align: center;
    text-shadow: 0 1px 0 rgba(0,0,0,.1);
    background-color: #f38585e6;
    argin-bottom: 40px;
    font-size: 20px;
}

.inview-header-noIsLoggedIn h1 {
    color: black;
}

.serviceDiv{
  background-color: #bfe2f7;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.1);
  padding-top: 0px;
  padding-bottom: 2px !important;
}

.serviceData{
  margin-bottom: 5px !important;
}

.Directa{
  background-color: #c4eeff7d;
}

.Salida{
  background-color: #ffc4c47d;
}

.inOutQty h4{
  margin-bottom: 0px !important;
  font-size: 18px !important;
  font-weight: 200 !important;
}

.inOutTitle h4{
  margin-bottom: 0px !important;
  font-size: 14px !important;
  font-weight: 200 !important;
}

.inOutSerials{
  margin-bottom: 0px !important;
  font-size: 10px !important;
  font-weight: 200 !important;
}

.inOutHeader h5{
  color: #0cb3c7;
  font-weight: 200 !important;
}

.inOutHeader h4{
  color: #007488e8;

}

.inOutDiv{
  padding-top: 10px;
  padding-bottom: 0px;
  margin-bottom: 20px;
  border-radius: 10px;
}


.errorSpan{
  font-size: 20px;
  color: red;
}

.validationReasons{
  max-width: 480px;
  margin: 10px auto 0;
  padding: 8px 14px;
  text-align: left;
  background: #fdf3f2;
  border: 1px solid #f0c3bf;
  border-radius: 6px;
}

.validationReasons p{
  margin: 2px 0;
  font-size: 13px;
  line-height: 1.4;
  color: #a94442;
}


.IDArticulo{
  text-align: right;
}

.form-inline{
    margin-bottom:10px;
}

.newItem{
  margin: 15px;
  text-align: right;
}

.searchbar{
  margin:15px;
}

.inview-header {
    margin-bottom: 40px;
    font-size: 20px;
}

.inview-header {
    position: relative;
    padding: 30px 0;
    color: #cdbfe3;
    text-align: center;
    text-shadow: 0 1px 0 rgba(0,0,0,.1);
    background-color: #6f5499;
}

.inview-header h1{
  color: white;
}

.inview-header p{
  font-weight: 200;
}

.sidebar-row{
  cursor:pointer !important;
}

.sidebar-active {
  color: #1fe7ea !important;
  font-weight: bold
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.login-box {
    max-width: 360px;
    margin: 80px auto 0;
    text-align: center;
}

.login-logo {
    max-width: 220px;
    margin-bottom: 6px;
}

.login-error {
    margin-top: 12px;
    color: #c0392b;
    font-size: 13px;
}

.demo-banner-bar {
    background: #fff6e0;
    color: #8a6d1d;
    border-bottom: 1px solid #f0dca0;
    text-align: center;
    font-size: 12px;
    padding: 5px 10px;
}

.topLogo{
    z-index: 1;
    position: fixed;
    top: 0;
    left: 10px;
    width: 200px;
}

.notFixedLogo{
    width: 120px;
    margin: 10px 20px;
    float: right;
}

#about{
  background-color: #ddd;
}

#services{
  background-color: #fff;
}


.servicesMainLabel {
  font-family: Helvetica Neue !important;
  line-height: 1.1;
  color: #666666 !important;
  font-weight: 100;
  text-decoration: none !important;
}

.servicesSubLabel{
  font-family: sans-serif !important;
  line-height: 1.1;
  color: #999999 !important;
  font-weight: 100;
}

.fa-circle{
  color: #eee;
}

.hoverIcon:hover .fa-video-camera{
  color: #66cdcc !important;
}

.hoverIcon:hover .fa-bell-o{
  color: #66cdcc !important;
}

.hoverIcon:hover .fa-car{
  color: #66cdcc !important;
}

.hoverIcon:hover .fa-shield{
  color: #66cdcc !important;
}

.hoverIcon:hover .servicesMainLabel{
  color: #66cdcc !important;
  text-decoration: none !important;
}

.hoverIcon:hover .servicesSubLabel{
  color: #66cdcc !important;
}

.hoverIcon a:hover {
    text-decoration: none !important;
}

.divPadding-15{
  padding-top: 15px;
}

.topGallery{
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

.features{
  padding: 15px;
  background-color: #f7f7f7;
}

.feature{
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    text-align: left;
}




.media i.fa {
    border: 2px solid #66cdcc;
    color: #66cdcc;
}

.circledIcon i.fa {
    border: 2px solid #66cdcc;
    color: #66cdcc;
}

.circledIcon i.fa {
   -webkit-border-radius: 50%;
   -moz-border-radius: 50%;
   -ms-border-radius: 50%;
   -o-border-radius: 50%;
   border-radius: 50%;
   padding: 20px;
   -webkit-transition: all 0.25s ease-in-out;
   -moz-transition: all 0.25s ease-in-out;
   -ms-transition: all 0.25s ease-in-out;
   -o-transition: all 0.25s ease-in-out;
   transition: all 0.25s ease-in-out;
   width: 2.6em;
   text-align: center;
}


 .media i.fa {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    padding: 20px;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    width: 2.6em;
    text-align: center;
}

.media .media-heading {
    padding-top: 10px;
    font-weight: 300;
}

 h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: #666666;
}

.media-left, .media>.pull-left {
    padding-right: 10px;
}

media-left, .media>.pull-right {
    padding-left: 10px;
}

.pull-left {
    float: left!important;
}

.pull-right {
    float: right !important;
}

.pull-right {
    text-align: center !important;
}

 a {
    font-family: 'Lato', Arial;
    -webkit-font-smoothing: antialiased;
}

 .media .media-body {
    color: #999999;
}

.media-body, .media-left, .media-right {
    display: table-cell;
    vertical-align: top;
}

section#features .media-body {
    width: 10000px;
}

.media, .media-body {
    overflow: hidden;
    zoom: 1;
}

 .media:hover i.fa {
    color: #ffffff;
    background: #66cdcc;
}

 .media:hover h3 {
    color: #66cdcc;
}



.media .media-heading {
    padding-top: 10px;
    font-weight: 300;
}

section#about h2{
    color: #167da5 !important;
}

.miniGallery{
    width: 500px;
    max-height: 500px;
    overflow: hidden;
}



.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

.animated {
    -webkit-animation-duration: 1.3s;
    animation-duration: 1.3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.scrollpoint.active {
    opacity: 1 \0;
}

.scrollpoint {
    opacity: 0;
}

@media screen and (max-width: 550px) {
  .topLogo{
      z-index: 1;
      position: fixed;
      top: 0;
      left: 10px;
      width: 120px;
  }

  .notFixedLogo{
      width: 120px;
      margin-left:10px;
  }
}


@-webkit-keyframes fadeInRight {
  1% {
    opacity: 0;
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  1% {
    opacity: 0;
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

.space-10000,[class*=vspace-10000]{max-height:1px;min-height:1px;overflow:hidden;margin:10000px 0 9999px}
.space-24,[class*=vspace-24]{max-height:1px;min-height:1px;overflow:hidden;margin:24px 0 23px}
.space-12,[class*=vspace-12]{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0 11px}
.space-2,[class*=vspace-2]{max-height:1px;min-height:1px;overflow:hidden;margin:2px 0 1px}

/* Carrito de venta de mostrador (Existencias Almacen) */
.cartToggleButton{
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 1002;
  border-radius: 25px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.cartBackdrop{
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.35);
  z-index: 1000;
}

.cartDrawer{
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 92vw;
  height: 100vh;
  background: #f7f8fa;
  border-radius: 14px 0 0 14px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.35);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}

@media (min-width: 992px){
  .cartDrawer{
    width: 46vw;
    max-width: 720px;
  }
}

.cartDrawer.cartDrawerOpen{
  transform: translateX(0);
}

.cartDrawerHeader{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #5cb85c, #4cae4c);
  color: #fff;
  border-radius: 14px 0 0 0;
}

.cartDrawerHeader h3{
  margin: 0;
  flex-grow: 1;
  color: #fff;
}

.cartCloseBtn{
  color: #fff;
  font-size: 18px;
}

.cartDrawerBody{
  padding: 20px;
}

.cartOptionsRow{
  display: flex;
  gap: 10px;
}

.cartOptionsRow .form-group{
  flex: 1;
}

.cartDrawerBody .form-control{
  border-radius: 8px;
}

.newCustomerLink{
  display: inline-block;
  font-size: 12px;
  margin-top: 6px;
}

.newCustomerForm{
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  margin-top: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.cartClienteInfo{
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 6px;
  font-size: 12px;
  color: #555;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.cartClienteInfo div{
  margin-bottom: 2px;
}
.cartClienteInfo .glyphicon{
  color: #999;
  width: 14px;
  display: inline-block;
}

.precioSubtitle{
  display: block;
  font-weight: normal;
  color: #999;
  font-size: 10px;
  white-space: normal;
}

.cartEmpty{
  text-align: center;
  color: #999;
  padding: 40px 0;
}

.cartEmpty .glyphicon{
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
  color: #ccc;
}

.cartLine{
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  padding: 12px;
  margin-bottom: 12px;
}

.cartLinePicture{
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  border-radius: 8px;
  background-color: #f5f5f5;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border: 1px solid #eee;
}

.cartLineDetails{
  flex-grow: 1;
  min-width: 0;
}

.cartLineTitle{
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 6px;
}

.cartLineRow{
  display: flex;
  align-items: center;
  gap: 5px;
}

.cartLineTimes{
  color: #999;
}

.cartQtyInput{
  width: 55px;
  padding: 4px 6px;
  border-radius: 6px;
}

.cartPriceInput{
  width: 90px;
  padding: 4px 6px;
  border-radius: 6px;
}

.cartRemoveBtn{
  color: #c0392b;
  padding: 4px 6px;
}

.cartLineSubtotal{
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.cartLineWarning{
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 11px;
  color: #a66a00;
  background: #fff6e5;
  border-radius: 6px;
  padding: 5px 8px;
  margin-top: 6px;
}

.cartLineWarning .glyphicon{
  font-size: 12px;
  margin-top: 1px;
}

.cartTotal{
  text-align: right;
  margin: 15px 0;
  background: #fff;
  border-radius: 10px;
  padding: 10px 15px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.cartCheckoutBtn{
  width: 100%;
  border-radius: 8px;
}

.listasButton{
  border-radius: 8px;
  margin-bottom: 15px;
}

.listaRowWrap{
  margin-bottom: 8px;
}

.listaRow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}

.listaRowName{
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
  font-size: 14px;
}

.listaRowActions{
  display: flex;
  gap: 4px;
}

.listaRowExpanded{
  background: #fff;
  border: 1px solid #eee;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 10px 12px;
  margin-top: -1px;
}

.listaExpandedItem{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #f2f2f2;
}

.listaExpandedItem:last-child{
  border-bottom: none;
}

.listaExpandedItemPic{
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 6px;
  background-color: #f5f5f5;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.listaExpandedItemInfo{
  flex: 1;
  min-width: 0;
}

.listaExpandedItemTitle{
  font-size: 13px;
}

.listaExpandedItemQty{
  font-size: 12px;
  color: #888;
}

.checkoutModalOverlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkoutModalContent{
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 30px 25px 25px;
  width: 500px;
  max-width: 92vw;
  max-height: 88vh;
  overflow-y: auto;
}

.modalContentFull{
  width: 96vw;
  max-width: 1300px;
  height: 92vh;
  max-height: 92vh;
  overflow-y: auto;
}

/* Detalle de Venta (Ver venta / Reimprimir en Entradas y Salidas) - contenido con textos
   largos (listas de seriales) que necesitan mas espacio y hacer salto de linea en vez de
   desbordarse fuera del modal. */
.ventaDetalleModal{
  width: 75vw;
  max-width: 900px;
}
@media (max-width: 768px){
  .ventaDetalleModal{
    width: 92vw;
  }
}
.ventaDetalleModal, .ventaDetalleModal *{
  word-break: break-word;
  overflow-wrap: break-word;
}
.ventaDetalleModal table{
  width: 100%;
  table-layout: fixed;
}

/* Solo el editor de Listas necesita el layout de dos paneles con scroll
   propio - el checkout usa el scroll normal de .modalContentFull. */
.modalContentFullFlex{
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
}

.listaNombreGroup{
  flex-shrink: 0;
  margin: 10px 0 12px;
}

.listaNombreInput{
  font-size: 18px;
  font-weight: bold;
}

.listaEditor{
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.listaEditorBody{
  display: flex;
  gap: 20px;
  flex: 1;
  min-height: 0;
}

.listaCatalogPane{
  flex: 1.3;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid #eee;
  padding-right: 20px;
}

.listaCatalogSearchBar{
  flex-shrink: 0;
  margin-bottom: 6px;
}

.listaCatalogHint{
  flex-shrink: 0;
  font-size: 12px;
  color: #999;
  margin: 0 0 8px;
}

.listaCatalogList{
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.listaCatalogEmpty{
  color: #999;
  text-align: center;
  margin-top: 20px;
}

.listaCatalogItem{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.listaCatalogItem .listaCatalogItemAdd{
  margin-top: 10px;
}

.listaCatalogItem:hover{
  background: #f5f5f5;
}

.listaCatalogItemPic{
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 6px;
  background-color: #f5f5f5;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.listaCatalogItemPicPlaceholder{
  display: flex;
  align-items: center;
  justify-content: center;
}

.listaCatalogItemInfo{
  flex: 1;
  min-width: 0;
}

.listaCatalogItemTitle{
  font-size: 13px;
}

.listaCatalogItemPrice{
  font-size: 12px;
  color: #888;
}

.listaCatalogItemAdd{
  color: #5cb85c;
  font-size: 20px;
  flex-shrink: 0;
}

.listaItemsPane{
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.listaCustomItemForm{
  flex-shrink: 0;
}

.listaItemsList{
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  margin: 10px 0;
}

.listaItemsEmpty{
  color: #999;
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 900px){
  .modalContentFull{
    width: 98vw;
    height: 96vh;
    max-height: 96vh;
  }

  .listaEditorBody{
    flex-direction: column;
    overflow-y: auto;
  }

  .listaCatalogPane{
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-right: 0;
    padding-bottom: 12px;
    flex: none;
    max-height: 40vh;
  }

  .listaItemsPane{
    flex: none;
  }

  .listaItemsList{
    max-height: none;
    overflow-y: visible;
  }
}

.checkoutCloseBtn{
  position: absolute;
  top: 5px;
  right: 5px;
  color: #999;
  font-size: 16px;
}

.checkoutSteps{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.checkoutStep{
  font-size: 12px;
  color: #aaa;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.checkoutStepCircle{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eee;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.checkoutStep.checkoutStepActive{
  color: #337ab7;
}

.checkoutStep.checkoutStepActive .checkoutStepCircle{
  background: #337ab7;
  color: #fff;
}

.checkoutStep.checkoutStepDone .checkoutStepCircle{
  background: #5cb85c;
  color: #fff;
}

.checkoutStepLine{
  width: 60px;
  height: 2px;
  background: #ddd;
  margin: 0 8px 20px;
}

.checkoutLine{
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.kitSerialHint{
  font-size: 11px;
  color: #a66a00;
  background: #fff6e5;
  border-radius: 6px;
  padding: 5px 8px;
  margin: 0 0 8px;
}

.checkoutLineHeader{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.checkoutLinePicture{
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  border-radius: 6px;
  background-color: #f5f5f5;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border: 1px solid #eee;
}

.checkoutLineTitle{
  font-size: 13px;
}

.checkoutSerialRow{
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.checkoutSerialRow .SNinput{
  flex: 0 0 auto;
  width: 260px;
  max-width: 60%;
}

.serialErrorWrap{
  position: relative;
  display: inline-block;
}

.serialErrorBubble{
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 1200;
  cursor: default;
}

.checkoutReasons{
  background: #fdf3f2;
  border: 1px solid #f0c3bf;
  border-radius: 6px;
  padding: 8px 14px;
  margin: 10px 0;
}

.checkoutReasons p{
  margin: 2px 0;
  font-size: 13px;
  color: #a94442;
}

.ticketPreview{
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

.ticketPreviewHeader{
  text-align: center;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.ticketPreviewRow{
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.ticketPreviewPicture{
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 6px;
  background-color: #f5f5f5;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border: 1px solid #eee;
}

.ticketPreviewSerials{
  font-size: 11px;
  color: #888;
}

.ticketPreviewTotal{
  text-align: right;
  border-top: 1px dashed #ccc;
  padding-top: 10px;
  margin-top: 10px;
}

/* El ticket solo se muestra al imprimir, en pantalla permanece oculto */
.printOnly{
  display: none;
}

@media print{
  body *{
    visibility: hidden;
  }
  .printOnly, .printOnly *{
    visibility: visible;
  }
  .printOnly{
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 58mm;
    font-family: monospace;
    font-size: 11px;
  }
  .no-print{
    display: none !important;
  }
  .ticketHeader{
    text-align: center;
    margin-bottom: 8px;
  }
  .ticketLogo{
    max-width: 85%;
    height: auto;
  }
  .ticketItemRow{
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #000;
  }
  .ticketItemRow:last-child{
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .ticketItemSerials{
    font-size: 9px;
    color: #333;
  }
  .ticketTotal{
    border-top: 1px dashed #000;
    margin-top: 8px;
    padding-top: 8px;
  }
}
