/* S-PYRO 2026-09-15 - BUSQUEDA POS COMPACTA. SOLO PRESENTACION. */

/* La búsqueda queda como una lupa compacta y se expande al pulsarla. */
#content .pos .searchbar{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  min-height:38px!important;
  height:38px!important;
  margin:0!important;
}

#content .pos #prodSearch{
  flex:0 0 40px!important;
  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;
  height:38px!important;
  box-sizing:border-box!important;
  padding:0 8px 0 36px!important;
  border:1.5px solid #d9c9bc!important;
  border-radius:10px!important;
  background-color:#fffdf9!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b4935' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:10px center!important;
  background-size:19px 19px!important;
  outline:none!important;
  color:var(--text)!important;
  transition:width .18s ease,max-width .18s ease,flex-basis .18s ease,box-shadow .18s ease!important;
  cursor:text!important;
}

#content .pos #prodSearch::placeholder{color:transparent!important;opacity:0!important}
#content .pos #prodSearch:focus{
  flex:1 1 320px!important;
  width:320px!important;
  max-width:320px!important;
  border-color:#b49379!important;
  box-shadow:0 0 0 3px #f3e8dd!important;
  background-position:11px center!important;
}
#content .pos #prodSearch:focus::placeholder{color:#806f62!important;opacity:1!important}

/* Los botones rápidos mantienen su función, pero ocupan menos altura. */
#content .pos .searchbar .lightning,
#content .pos .searchbar .primary{
  width:40px!important;
  min-width:40px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:9px!important;
}
#content .pos .searchbar .lightning{font-size:18px!important}

/* Acerca las categorías al inicio del panel y elimina espacio sobrante. */
#content .pos>div>.panel:has(.pos-categories){
  padding:10px 12px 11px!important;
  margin-bottom:18px!important;
}
#content .pos .pos-categories{
  margin-top:3px!important;
  padding-top:0!important;
  gap:4px!important;
}
#content .pos .pos-category{
  padding:8px 13px!important;
  min-height:38px!important;
}

@media(max-width:700px){
  #content .pos #prodSearch:focus{
    flex:1 1 240px!important;
    width:240px!important;
    max-width:240px!important;
  }
  #content .pos .pos-category{padding:7px 11px!important}
}

/* S-PYRO 2026-09-15 - FECHA Y HORA MAS VISIBLES. SOLO PRESENTACION. */
#clock{
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.2px!important;
  color:var(--text)!important;
  white-space:nowrap!important;
}
