.salesperson-block p {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--ax-line-color);
    margin-bottom: -1px;
    background: var(--ax-bg-wrapper);
    float: left;
    color: var(--color-a) !important;
    width: 100%;
}

.customer-credit-column {
    border: 1px solid var(--ax-line-color);
    padding: 5px 10px;
}

.customer-credit-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #f5f5f5;
}

.customer-credit-row {
    display: flex;
    width: 100%;
}

.customer-credit-label {
    font-weight: bold;
    flex: 1 1 54px;
}

.customer-credit-value {
    flex: 4;
}

/* Required products block */
.nav-required-products {
    border: 1px solid #e5e5e5;
    margin: 16px 0;
}

.nav-required-products__header {
    font-weight: 600;
    min-height: 42px;
    padding: 0 2.4rem;
    background-color: #f1f1f1;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-required-products__body {
    padding: 8px 16px 16px 16px;
}

.nav-required-products__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    border-top: 1px solid #f2f2f2;
}

.nav-required-products__row:first-child {
    border-top: none;
}

.nav-required-products__image img {
    max-width: 64px;
    height: auto;
}

.nav-required-products__info {
    flex: 1;
    min-width: 0;
}

.nav-required-products__name {
    font-size: 14px;
    font-weight: 500;
}

.nav-required-products__code {
    color: #666;
    font-size: 12px;
}

.nav-required-products__qty {
    min-width: 140px;
    display: flex;
    justify-content: flex-end;
}

.nav-required-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    height: 42px !important;
    position: relative;
}

.nav-required-qty input {
    width: 56px;
    text-align: center;
    border: 0;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    height: 40px;
}

.nav-required-qty .btn {
    background: #fff;
    border: 0;
    width: 25px;
    height: 40px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    font-size: 18px;
    font-family: sans-serif;
    font-weight: 100;
    color: #7a7a7a;
}

.nav-required-qty .btn:hover {
    background-color: var(--bg-color-btn-hover);
    color: var(--color-btn-hover);
}

.nav-required-products.is-collapsed .nav-required-products__row {
    display: none;
}

.nav-required-products.is-collapsed .nav-required-products__row:nth-child(-n+2) {
    display: flex;
}

#add-to-cart-or-refresh .qty-add-container .add-to-cart-block:has(.nav-required-products),
#add-to-cart-or-refresh .qty-add-container .nav-required-products {
    width: 100%;
}

.nav-required-products__selection {
    display: flex;
    flex-direction: row;
}

.nav-required-products__data {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 600px) {
    .nav-required-products__price {
        font-size: small;
    }
}

.nav-required-products__selector {
    margin-right: 20px;
    margin-left: 20px;
    width: 100%;
}

.nav-required-products__qty_container {
    display: flex;
    align-items: flex-end;
}

.nav-required-products__expand_container {
    text-align: center;
}

/* Header chevron toggle */
.nav-required-products__header_toggle {
    appearance: none;
    border: 0;
    width: 28px;
    height: 28px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.nav-required-products__header_toggle:after {
    content: '';
    border: solid #666;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(45deg);
    position: absolute;
    top: 7px;
    right: 6px;
}

.nav-required-products.is-collapsed .nav-required-products__header_toggle:after {
    transform: rotate(-135deg);
    top: 10px;
}

@media (max-width: 575px) {
    .nav-required-products__selection {
        flex-direction: column;
    }
    .nav-required-products__selector {
        display: contents;
    }

    .nav-required-selector {
        margin: 8px 0;
    }
}