/* Main container styling for horizontal/vertical scroll */
#myOrdersListErp {
  display: block !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
  margin-bottom: 1rem !important;
  white-space: nowrap; /* ensure horizontal scroll appears */
}

/* If you want to target the table specifically within myOrdersListErp */
#myOrdersListErp table {
  min-width: 100%;
  white-space: nowrap;
}

/* Custom scrollbar for Chrome, scoped to myOrdersListErp */
#myOrdersListErp::-webkit-scrollbar {
  height: 10px;
  width: 10px; /* for vertical scrollbar */
}

#myOrdersListErp::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#myOrdersListErp::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

#myOrdersListErp::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Alternative: If you need to target a specific table within myOrdersListErp */
#myOrdersListErp .table-container {
  display: block !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
  margin-bottom: 1rem !important;
  white-space: nowrap;
}

#myOrdersListErp .table-container::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

#myOrdersListErp .table-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#myOrdersListErp .table-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

#myOrdersListErp .table-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#erpInvoices #ordergrid {
  display: block !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
  margin-bottom: 1rem !important;
  white-space: nowrap; /* ensure horizontal scroll appears */
}

/* Custom scrollbar for Chrome, scoped to the context */
#erpInvoices #ordergrid::-webkit-scrollbar {
  height: 10px;
}

#erpInvoices #ordergrid::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#erpInvoices #ordergrid::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

#erpInvoices #ordergrid::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Start Required for Integration */
/* Hide Address Menu Required for Eclipse Integration*/
li.sidebar-addresses {
display: none;
}
li#cdash_address {
    display: none;
}

/* End Required for Integration */

/* Inventory V2 Update */
.live-inventory-v2-add-to-cart-wrapper {
  width: calc(100% - 50px);
  max-width: none;
}

.live-inventory-v2-wrapper {
  white-space: normal;
  margin: 5px 0;
  text-align: left;
}

.live-inventory-v2-shipping {
  color: #0d78be !important;
  font-size: 1rem !important;
  font-weight: 400;
}

.catalog-grid .tile .footer button.btn-primary {
  width: 100%;
}

.ex-product .live-inventory-v2-wrapper {
  margin-bottom: 20px;
}

.ex-product .live-inventory-v2-shipping {
  color: #323640 !important;
  font-size: 0.8125rem !important;
}

.ex-product a.live-inventory-v2-shipping {
  color: #0d78be !important;
  font-size: 1rem !important;
}
.ex-product a.live-inventory-v2-shipping:hover,
.ex-product a.live-inventory-v2-shipping:focus-visible {
  color: #f1270c !important;
}

.ex-product .live-inventory-v2-shipping.out-stock {
  font-weight: 700;
}

.ex-product .softgraybackground .live-inventory-v2-wrapper {
  display: none;
}