/* Remove table borders */
table.dataTable.no-footer,
table.dataTable thead th,
table.dataTable tbody td {
    border: none !important;
}

#b2b-product-table-wrapper {
    overflow-x: auto;
}

/* Set header background blue and text white */
table.dataTable thead {
    background-color: #304566;
    color: #ffffff;
}

/* Make sure header text inside th is white */
table.dataTable thead th {
    color: #ffffff;
    padding: 20px 10px;
}

/* Apply border-radius to the table */
table.dataTable {
    border-radius: 14px 14px 0 0;
    overflow: hidden;
}

/* Also apply radius properly to the table wrapper */
div.dataTables_wrapper {
    border-radius: 14px;
    overflow: hidden;
}

.dataTables_wrapper .dataTables_paginate {
    text-align: center;
    float: none;
}

.dataTables_wrapper .dataTables_paginate a.paginate_button {
    padding: 0;
    color: #304566 !important;
}

.dataTables_wrapper .dataTables_paginate a.paginate_button.current {
    background: transparent;
    border: 0;
    font-weight: 700;
    color: #304566 !important;
}

.dataTables_wrapper .dataTables_paginate a.paginate_button:hover {
    background: transparent;
    color: #304566 !important;
    border: 0;
    font-weight: 700;
}

.dataTables_wrapper .dataTables_filter {
    float: none!important;
    text-align: center!important;
}

div#product-list_paginate {
    background: #f0f0f0;
    padding: 40px;
}

.b2b-qty-wrapper {
    display: flex;
    align-items: center;
    background: #EEEDED;
    width: 82px;
}

.b2b-qty-btn {
    font-size: 18px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    background-color: #f0f0f0;
}

.b2b-qty-wrapper .b2b-qty-input {
    width: 40px !important;
    height: 30px;
    text-align: center;
    font-size: 14px;
    color: transparent;
    background-color: transparent;
    border: none;
    outline: none;
    text-shadow: 0 0 0 #000;
    padding: 0 !important;
}

.b2b-qty-wrapper .b2b-qty-minus,
.b2b-qty-wrapper .b2b-qty-plus {
    background-color: transparent;
    color: #304566;
    font-size: 20px;
    cursor: pointer;
    border: none;
    padding: 0 5px;
    line-height: 1;
}

.b2b-qty-wrapper .b2b-qty-minus:hover,
.b2b-qty-wrapper .b2b-qty-plus:hover,
.b2b-qty-wrapper .b2b-qty-plus:focus,
.b2b-qty-wrapper .b2b-qty-minus:focus {
    background-color: transparent;
    color: #304566;
}

.b2b-cart-total {
    position: absolute;
    right: 50px;
    bottom: 40px;
    font-size: 1em;
    font-weight: 700;
    color: #304566;
}

.b2b-total-products {
    position: absolute;
    bottom: 40px;
    left: 50px;
    font-size: 12px;
    color: #304566;
    font-weight: 700;
}

div#product-list_length {
    display: none;
}

.b2b-product-list-cart-link {
    align-items: center;
    display: flex;
    gap: 2px;
}

div#product-list_filter {
    font-family: 'Inter';
    display: inline-block;
    width: 70%;
    margin-right: 20%;
}

div#product-list_filter label {
    margin: 0 auto;
    text-align: center;
    margin-right: 10px;
}

div#product-list_filter input[type="search"] {
    margin: 0px auto;
    display: block;
    min-width: 20em !important;
    width: 100%;
    font-size: 0.75em;
    margin: 0;
    background: #F5F5F5;
    border: 0;
    padding: 12px 10px;
}

.b2b-product-list-title,
.b2b-product-list-cart-link a {
    color: #304566;
    font-size: 0.75em;
    font-weight: 700;
}

.b2b-product-list-header-main {
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
}

#product-list_filter .b2b-product-list-header-main .b2b-product-list-search input.dataTables_filter_input::placeholder {
    font-size: 12px;
    padding: 10px;
    color: #3045668f;
    font-weight: 700;
}

.b2b-product-list-header-inner {
    display: flex;
    gap: 30px;
    width: 30%;
    align-items: center;
    padding-left: 2px;
}

#b2b-product-table-wrapper div#product-list_info {
    display: none;
}

a#go-to-checkout-btn {
    position: absolute;
    right: 50px;
    bottom: 15px;
    background: #304566;
    padding: 8px 20px;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px !important;
}

div#back-to-all-products {
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .b2b-product-list-header-main {
        flex-direction: column;
        gap: 10px;
        padding-left: 10px;
    }
    div#product-list_filter{
        text-align: left;
    }
    .b2b-product-list-header-main {
        flex-direction: column;
    }
    .b2b-product-list-header-inner{
        width: 100%!important;
    }
    a#go-to-checkout-btn,
    .b2b-cart-total{
        right: 10px;
    }
    .b2b-total-products{
        left: 10px;
    }
}