/* Chollos Deluxe - cabecera movil v1
   Cargar despues de los estilos originales. */
@media (max-width: 767.98px) {
  #app-header > .container-xl {
    flex-wrap: nowrap;
    align-items: center;
    padding-inline: 12px !important;
  }
  #app-header > .container-xl > .col {
    min-width: 0;
    padding-left: 0;
    align-items: center;
  }
  #app-header #app-menu-open {
    flex: 0 0 auto;
  }
  #app-header #app-a-logo {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    margin: 0 8px;
  }
  #app-header #app-logo {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
    max-height: 38px;
    object-fit: contain;
  }
  #app-header > .container-xl > .col-auto.d-md-none {
    flex: 0 0 48px;
    width: 48px;
    padding: 0 !important;
  }
  #app-header #formSearchMo {
    position: relative;
    width: 48px;
    height: 48px;
  }
  #app-header #search,
  #app-header #search_submit {
    right: 0;
    top: 0;
    margin-right: 0;
    opacity: 1;
  }
  #app-header #search:not(:focus) {
    background-color: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.28);
    padding-left: 0;
    padding-right: 0;
    color: transparent;
  }
  #app-header #search:not(:focus)::placeholder {
    color: transparent;
  }
  #app-header #search {
    transition: width .4s cubic-bezier(0,.795,0,1),
                background-color .15s ease, border-color .15s ease;
  }
  #app-header #search:focus {
    width: min(81vw, calc(100vw - 24px));
  }
  #app-header #search_submit {
    background-size: 36px;
  }
  #app-header #search:not(:focus):active {
    background-color: rgba(255,255,255,.12);
  }
  #app-header #app-menu-open:focus-visible,
  #app-header #app-a-logo:focus-visible,
  #app-header #search_submit:focus-visible,
  #app-header #search:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
  #app-header > .container-xl > .col-auto:last-child {
    padding-right: 0;
  }
}
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  #app-header #search,
  #app-header #app-menu-open {
    transition: none;
  }
}
