/* ZimBuyer mobile-only conversion fixes. */
@media (max-width: 767px) {
  body#index .zb-mobile-quick { order: 0 !important; }
  body#index .zb-home-collections { order: 1 !important; }
  body#index .zb-popular-products,
  body#index .tvcmsfeatured-product,
  body#index .tvcmsnew-product,
  body#index .tvcmscategory-slider,
  body#index .tvcms-slider-offerbanner-wrapper { display: none !important; }

  #zbn-left-column { display: none !important; }
  body#product #zb-ai-assistant { display: none !important; }

  body.classicCartOpen .ttvcmscart-show-dropdown-right { z-index: 10060 !important; }
  body.classicCartOpen .zb-mobile-app-nav { display: none !important; }

  body#category #products .products-selection,
  body#search #products .products-selection {
    display: flex !important;
    min-height: 62px;
    align-items: center;
    gap: 8px;
    padding: 8px !important;
  }
  body#category #products .products-selection .tv-left-search-totle-product,
  body#search #products .products-selection .tv-left-search-totle-product,
  body#category #products .products-selection .tvall-page-shortby,
  body#search #products .products-selection .tvall-page-shortby {
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    height: 44px;
    flex: 0 0 calc(50% - 4px) !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body#category #products .products-selection .tvall-page-shortby,
  body#search #products .products-selection .tvall-page-shortby {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }
  body#category #products .products-selection .sort-by-row,
  body#search #products .products-selection .sort-by-row,
  body#category #products .products-selection .products-sort-order,
  body#search #products .products-selection .products-sort-order,
  body#category #products .products-selection .select-title,
  body#search #products .products-selection .select-title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.modal-open .zb-mobile-app-nav { display: none !important; }

  .zb-mobile-cart-toast {
    position: fixed;
    z-index: 10040;
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px 11px 15px;
    border-radius: 13px;
    background: #083d2d;
    color: #fff;
    box-shadow: 0 14px 34px rgba(0,0,0,.22);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .18s ease, transform .18s ease;
  }
  .zb-mobile-cart-toast.is-visible { opacity: 1; transform: translateY(0); }
  .zb-mobile-cart-toast__message { display: flex; min-width: 0; align-items: center; gap: 9px; font-size: 13px; font-weight: 750; }
  .zb-mobile-cart-toast__check { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border-radius: 50%; background: #e7f5ee; color: #087a4d; font-size: 16px; }
  .zb-mobile-cart-toast__link { flex: 0 0 auto; padding: 9px 11px; border-radius: 9px; background: #f58220; color: #fff !important; font-size: 12px; font-weight: 800; text-decoration: none !important; }
  body.classicCartOpen .zb-mobile-cart-toast,
  body#cart .zb-mobile-cart-toast,
  body#checkout .zb-mobile-cart-toast { display: none !important; }
}
