/* AoXi mobile header layout fix v2026052004 */
@media (max-width: 576px) {
  .header .hc {
    min-height: 90px;
    padding: 18px 0 20px;
  }
  .header .hc .row {
    position: relative;
    align-items: center;
    min-height: 52px;
  }
  .header .hc .row > .col-4.col-md-3:first-child {
    flex: 0 0 auto !important;
    width: calc(100% - 112px) !important;
    max-width: calc(100% - 112px) !important;
  }
  .header .hc .row > .col-8.col-lg-3 {
    position: static !important;
    display: block !important;
    flex: 0 0 0 !important;
    width: 0 !important;
    max-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .header .hc .logo {
    content: url('/themes/easev/images/aoxi-logo-mobile.svg?v=2026052004');
    display: block;
    width: min(150px, 100%) !important;
    max-height: 52px !important;
    height: auto !important;
    object-fit: contain;
    object-position: left center;
  }
  .header .hc .cart,
  .header .hc .user {
    display: block !important;
    position: static !important;
    float: none;
    width: 0 !important;
    padding-left: 0 !important;
  }
  .header .hc .cart .dropdown-toggle,
  .header .hc .user .dropdown-toggle {
    position: absolute !important;
    top: 6px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-height: 40px;
    border: 1px solid #eef0f8;
    border-radius: 5px;
    background: #fff;
    line-height: 1;
    color: #20242a !important;
    font-size: 0 !important;
  }
  .header .hc .cart .dropdown-toggle {
    right: 58px;
  }
  .header .hc .user .dropdown-toggle {
    right: 12px;
  }
  .header .hc .cart .dropdown-toggle::after,
  .header .hc .user .dropdown-toggle::after {
    display: none !important;
  }
  .header .hc .dropdown-toggle i {
    flex: 0 0 auto;
    float: none;
    margin-right: 0;
    font-size: 24px;
    line-height: 1;
  }
  .header .hc .cart small,
  .header .hc .user small,
  .header .hc .cart span,
  .header .hc .user span {
    display: none !important;
  }
  .header .hc .col-12 {
    position: fixed !important;
    top: 90px !important;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
  }
  .header .hc .form {
    position: absolute !important;
    right: 10px !important;
    width: calc(100% - 74px) !important;
  }
  .header .hc #searchPartsForm .input-group {
    flex-wrap: nowrap;
    height: 35px;
  }
  .header .hc #searchPartsForm .input-group > .btn:first-child {
    display: none !important;
  }
  .header .hc #searchPartsForm .input-group > .btn.btn-danger {
    display: none !important;
  }
  .header .hc #searchPartsForm .form-control {
    min-width: 0;
    height: 35px !important;
    padding-left: 12px;
    border-color: #dee2e6 !important;
    border-radius: 0 !important;
  }
  .header .hb .navbar {
    min-height: 45px;
    padding: 0 !important;
  }
  .header .hb .navbar-toggler {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 35px;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    border-color: #dee2e6;
    border-radius: 2px;
    background: #fff;
  }
}
@media (min-width: 577px) and (max-width: 991.98px) {
  .header .hc .logo {
    content: url('/themes/easev/images/aoxi-logo-mobile.svg?v=2026052004');
    width: min(150px, 100%) !important;
    max-height: 60px !important;
    height: auto !important;
    object-fit: contain;
    object-position: left center;
  }
}
