/* vim: set ts=2 sw=2 sts=2 et: */

/**
 * Copyright (c) 2001-present X-Cart Holdings LLC. All rights reserved.
 * See https://www.x-cart.com/license-agreement.html for license details.
 */

.invoice-box .items td .subitem > li.backorder-message {
    display: block;
}

div.add2cart-popup div.item-box div.backorder-message {
    margin-left: 200px;
    color: red;
    font-size: 12px;
    line-height: 9px;
}

tr.selected-product td.item-info p.item-backorder-message {
    color: red;
}

/* div.product-stock span.stock-level.product-in-stock span.backorder-label {
    display: none;
} */

.products-table .stock-level,
.products-table .product-items-available {
    display: block;
}

.can-be-backordered {
    color: #808080 !important;
}

.products-list .stock-level.can-be-backordered,
.products-list .product-items-available.can-be-backordered
{
    display: inline-block;
    max-width: 250px;
}

.products-grid .can-be-backordered {
    margin-top: 10px;
    text-align: center;
}

.products-grid .product-items-available.low-stock.can-be-backordered {
    margin-top: 0;
    line-height: 1.2;
    text-align: center;
}

.products-list .backorder-label,
.products-grid .backorder-label {
    display: block;
}

.variants-table__content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.variants-table__content .product-out-of-stock {
  display: block;
  text-align: center;
  margin-top: 5px;
  white-space: normal;
}
