.viwebpos-wrap.viwebpos-grid-style-wrap .viwebpos-container-wrap .viwebpos-bill-of-sale-container .viwebpos-cart-contents-container {
    grid-template-rows: 90% 40px 37px auto;
}
.viwebpos-bill-of-sale-container {
    display: flex;
}
.viwebpos-bill-of-sale-container .viwebpos-cart-contents-container {
    width: 25%;
}
.viwebpos-bill-of-sale-container .viwebpos-cart-contents-container .viwebpos-cart-contents .viwebpos-cart-items-wrap .viwebpos-cart-item-wrap:nth-child(2n+1) td {
    padding-right: 5px;
}
.viwebpos-bill-of-sale-container .viwebpos-cart-contents-container .viwebpos-cart-contents .viwebpos-cart-items-wrap .viwebpos-cart-item-wrap:nth-child(2n+1) .viwebpos-cart-item-subtotal {
    width: 75px;
}
.viwebpos-bill-of-sale-container .viwebpos-cart-contents-container .viwebpos-cart-contents .viwebpos-cart-items-wrap .viwebpos-cart-item-wrap:nth-child(2n+1) .viwebpos-cart-item-name-wrap {
    width: 175px;
}
.viwebpos-bill-of-sale-container .viwebpos-product-container {
    width: 55%;
    position: relative;
    padding-top: 10px;
}
.viwebpos-bill-of-sale-container .viwebpos-product-container::after {
    content: "";
    position: absolute;
    top: 10px;
    right: -2px;
    border-right: 1px dashed #ccc;
    height: calc(100% - 20px);
}
.viwebpos-bill-of-sale-container .viwebpos-product-container .viwebpos-header-search-product-wrap {
    margin: 0 auto 10px;
    width: 100%;
    padding: 0 8px;
}
.viwebpos-bill-of-sale-container .viwebpos-product-container .viwebpos-header-search-product-wrap .viwebpos-header-search-product {
    display: inline-grid;
    grid-template-columns: 40px minmax(auto, 100%);
    border-radius: 3px;
    border: 1px solid #ccc;
    background: #fff;
    width: 100%;
    overflow: hidden;
}
.viwebpos-bill-of-sale-container .viwebpos-product-container .viwebpos-header-search-product-wrap .viwebpos-header-search-product .viwebpos-header-search-icon {
    width: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: #686871;
    cursor: pointer;
    font-family: "Times New Roman";
    background: #f7f7f7;
}
.viwebpos-bill-of-sale-container .viwebpos-product-container .viwebpos-header-search-product-wrap .viwebpos-header-search-product .viwebpos-search-input {
    border: 0;
    padding: 10px 8px;
    width: 100%;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
.viwebpos-bill-of-sale-container .viwebpos-product-container .viwebpos-search-product-result-wrap {
    padding: 0 8px 10px;
    overflow-y: auto;
    background: #fff;
    display: inline-flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0px;
    height: 100%;
}
.viwebpos-bill-of-sale-container .viwebpos-product-container .viwebpos-search-product-result-wrap .viwebpos-search-product-result {
    font-size: 13px;
    min-width: 33%;
    max-width: 33%;
    flex-basis: auto;
    flex-grow: 1;
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: column;
    cursor: pointer;
    color: #606060;
    transition: all .3s ease;
}
.viwebpos-bill-of-sale-container .viwebpos-product-container .viwebpos-search-product-result-wrap .viwebpos-search-product-result .viwebpos-search-product-info {
    display: inline-flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
}
.viwebpos-bill-of-sale-container .viwebpos-product-container .viwebpos-search-product-result-wrap .viwebpos-search-product-result .viwebpos-search-product-info img {
    width: auto;
    height: auto;
    max-width: 90px;
    max-height: 90px;
}
.viwebpos-bill-of-sale-container .viwebpos-checkout-form-container {
    width: 20%;
}
.viwebpos-bill-of-sale-container .viwebpos-checkout-form-container .viwebpos-checkout-form-footer-wrap .viwebpos-checkout-form-footer-action-wrap .viwebpos-checkout-form-footer-action.viwebpos-checkout-form-footer-shipping {
    display: none;
}
.viwebpos-bill-of-sale-container .viwebpos-checkout-form-container .viwebpos-checkout-form-footer-wrap .viwebpos-checkout-form-footer-action-wrap .viwebpos-checkout-form-footer-action.viwebpos-checkout-form-footer-shipping:not(.viwebpos-disabled)+.viwebpos-checkout-form-footer-coupon {
    width: 100%;
}
.viwebpos-checkout-add-discount {
    flex-wrap: wrap;
}
.viwebpos-checkout-add-discount.vi-ui.action.input:not([class*="left action"])>input {
    border: 1px solid #ccc !important;
}
.viwebpos-bill-of-sale-container .viwebpos-checkout-form-container .viwebpos-checkout-form-content-wrap .viwebpos-checkout-form-content.viwebpos-checkout-form-content-full .viwebpos-checkout-add-discount-type.dropdown,
.viwebpos-bill-of-sale-container .viwebpos-checkout-form-container .viwebpos-checkout-form-content-wrap .viwebpos-checkout-form-content.viwebpos-checkout-form-content-full .viwebpos-checkout-discount-type.dropdown:last-child {
    min-width: unset;
    width: 100%;
    border: 1px solid #ccc;
}
/* Popup Wrapper */
.viwebpos-popup-confirm {
    position: fixed;
    inset: 0;
    z-index: 9999;
    font-family: Arial, sans-serif;
}
/* Overlay */
.viwebpos-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
/* Popup Box */
.viwebpos-popup-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}
.viwebpos-popup-box h3 {
    margin: 0 0 10px;
}
.viwebpos-popup-box p {
    margin: 0 0 20px;
}
/* Actions */
.viwebpos-popup-box .actions {
    display: flex;
    justify-content: space-between;
}
.viwebpos-popup-box button {
    width: 48%;
    padding: 8px 0;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.viwebpos-popup-box .btn-cancel {
    background: #ccc;
}

.viwebpos-popup-box .btn-confirm {
    background: #e53935;
    color: #fff;
}
