@media only screen and (max-width: 1024px) {
  .oh_mh_menu ul {
    display: none;
  }
  .oh_menu_toggle {
    display: flex;
    gap: 5px;
    cursor: pointer;
  }
  .oh_menu_toggle span {
    width: 20px;
    height: 2px;
    background: var(--oh-color3);
  }
  .oh_head_search_icon,
  .oh_account_link,
  .oh_icon_wishlist,
  span.oh-cart-total {
    display: none;
  }

  .mobile_nav {
    left: 0;
    transform: translate3d(-100%, 0, 0);
    top: 0px;
    position: fixed;
    z-index: 50000;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    background: #fff;
    height: 100vh;
    width: 100%;
    max-width: 300px;
    display: block;
    overflow: auto;
  }
  .admin-bar .mobile_nav {
    top: 46px;
    height: calc(100vh - 46px);
  }
  .nav_opened .mobile_nav {
    transform: none;
  }
  .mobile_nav ul li {
    position: relative;
  }
  .mobile_nav ul li a {
    padding: 5px 20px;
    min-height: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.105);
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    color: rgb(51, 51, 51);
    gap: 7px;
  }
  .mobile_nav ul li a:hover {
    color: var(--oh-primary);
  }
  .mobile_nav ul li a svg {
    width: 18px;
    height: 18px;
  }

  .oh_dd_toggle {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 1px solid rgba(0, 0, 0, 0.105);
    cursor: pointer;
  }
  .oh_dd_toggle:before {
    font-weight: 400;
    font-size: 12px;
    transition: transform 0.25s ease;
    content: "\f113";
    font-family: "woodmart-font";
  }
  .oh-account-nav-mobile {
    list-style: none;
    margin: 0px;
    padding: 0px;
    display: none;
  }
  .mobile_nav ul li .oh-account-nav-mobile a {
    color: #838383;
  }

  .oh_dd_toggle.dd_opened {
    transform: rotate(90deg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.105);
    border-left: none;
    background: var(--oh-primary);
  }
  .oh_dd_toggle.dd_opened:before {
    color: #fff;
  }

  .mobile_nav_close {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1),
      z-index 0s cubic-bezier(0.19, 1, 0.22, 1) 0.5s,
      top 0s cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
    z-index: 400;
    inset: 0px;
    top: -150px;
    z-index: 49999;
  }
  .nav_opened .mobile_nav_close {
    opacity: 1;
    pointer-events: unset;
    transition-delay: 0s;
    pointer-events: unset;
  }
  .nav_opened {
    overflow: hidden;
  }

  .mb_search {
    position: relative;
  }
  .mb_search_form button {
    display: flex;
    height: 70px;
    position: absolute;
    gap: 0;
    inset-block: 0;
    inset-inline-end: 0;
    padding: 0;
    width: 46px;
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--oh-primary);
  }
  .mb_search_form input[type="text"] {
    padding-right: 70px;
    padding-left: 20px;
    height: 70px;
    font-weight: 600;
    color: rgb(76, 76, 76);
    font-size: 14px;
    border: none;
  }
  .mb_search_form input[type="text"]:focus {
    outline: none;
    border: none;
    box-shadow: none;
  }
  .mb_search_form {
    box-shadow: 0 -1px 9px rgba(0, 0, 0, 0.17);
  }
  .mb_search_form button svg {
    color: var(--oh-primary);
  }
  .oh_clear_search {
    position: absolute;
    top: calc(50% - 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    inset-inline-end: 46px;
    color: var(--oh-color4);
    cursor: pointer;
    border-inline-end: 1px solid rgba(0, 0, 0, 0.1);
    display: none;
  }
  .oh_tb_menu {
    display: none;
  }
  .oh_tb_text {
    width: 100%;
    text-align: center;
    font-weight: 400;
  }
  .oh_mh_wrap {
    height: 60px;
  }
  .oh_header {
    padding-top: 100px;
  }
  .oh_mh_logo img {
    max-width: 200px;
  }
  .oh-login-drawer {
    z-index: 99999;
  }
  .oh-login-overlay {
    z-index: 99999;
  }

  .oh_clear_search.visible {
    display: flex;
  }
  .mb_search_form {
    position: relative;
  }
  .oh_search_output {
    padding-top: 0px;
    max-height: 50vh;
  }
  .oh_all_result {
    display: none;
  }

  .oh_suggestion {
    display: flex;
    flex-basis: 100%;
    padding: 10px;
    flex-direction: revert;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.105);
  }
  .oh_sugg-thumb {
    width: 45px;
    height: 45px;
    padding: 0px;
    margin-bottom: 0px;
    margin-right: 10px;
  }
  .oh_sugg-title {
    font-size: 0.9em;
  }
  .oh_sugg-price {
    font-size: 0.9em;
  }
  .oh_suggestion:hover {
    background: #f7f7f7;
  }

  .oh_no_results {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.105);
    margin-bottom: 0px;
  }

  .mb_search_form button.is-searching:after {
    position: absolute;
    top: calc(50% - 9px);
    inset-inline-start: calc(50% - 9px);
    opacity: 1;
    z-index: 2;
    transition: opacity 0.25s ease;
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-left-color: rgba(0, 0, 0, 0);
    border-left-color: currentColor;
    border-radius: 50%;
    vertical-align: middle;
    animation: oh-rotate 450ms infinite linear running;
  }
  .mb_search_form button.is-searching svg {
    display: none;
  }
  #brand_gallery {
    grid-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .products,
  .products.columns-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }
  .footer_widgets {
    flex-direction: column;
    gap: 30px;
  }
  .footer_col {
    width: 100%;
  }
  .admin-bar .oh_header_inner {
    top: 46px;
  }
  .oh-product-wrapper {
    gap: 5px;
  }
  .oh_scrolltotop {
    width: 40px;
    height: 40px;
  }
  #brand_gallery {
    grid-gap: 20px;
    grid-template-columns: repeat(1, 1fr);
  }
}
