.product-builder .fade.in {
    opacity: 1;
}

.product-builder .modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: transparent;
}

.product-builder th,
.product-builder td {
    text-align: left;
}

/*body.modal-open {*/
/*    position: fixed;*/
/*    width: 100%;*/
/*}*/
.product-builder.modal-open {
    position: static;
    width: 100%;
}

.modal-dialog {
    width: 75%
}

.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}

@media (min-width: 768px) {
    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    }
}

.bp-modal-content {
    border-radius: 0;
}

.bp-modal-header {
    background-color: #EA3407;
    padding-top: 5px;
    padding-bottom: 5px;
}

input.bp-search-input[type="text"] {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    width: 100%;
    padding: 5px 10px;
    margin: 0;
    min-height: 0;
}

.bp-search-icon {
    color: #d42333;
    font-size: 20px;
    position: absolute;
    top: 6px;
    right: 20px;
    cursor: pointer;
}

.bp-close-icon {
    font-size: 15px;
    cursor: pointer;
}

.bp-modal-body {
    padding-top: 0;
    padding-bottom: 0;
}

.bp-loading {
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.bp-modal-products-content {height: 800px}*/
.bp-products-content, .bp-modal-products-content .list_products {
    height: 800px;
    overflow-y: auto;
    overflow-x: hidden;
    border-left: 1px solid #ebebeb;
    margin: 0 -15px;
    position: relative;
}

.bp-modal-products .option {
    display: none
}

.grid-products-content .pro-infor {
    width: 100%
}

.grid-products-content .pro-infor-buy {
    display: none
}

.products-view .list_products table tr > td {
    width: 20%;
    font-weight: 700;

}

.products-view .list_products table tr > td:nth-child(1) {
    display: table-cell;
    vertical-align: middle;
}

.products-view .list_products table tr > td:nth-child(2) {
    width: 80%
}

.sortPagiBar {
    padding: 30px 0;
}

.builder .sortPagiBar .btn_cart, .builder .open-select-product {
    background: #007bff;
    color: #fff;
    border: 0;
    font-size: 14px;
    font-weight: 500;
    padding: 7px 15px;
    border-radius: 3px;
    margin-right: 5px;
    display: inline-block;
}

.product-item__button .open-select-product {
    background: #28a745;
}

.builder .open-select-product {
    font-size: 14px;
    font-weight: normal;
}

.builder .sortPagiBar .btn_cart:hover {
    background-color: #EA3407
}

.builder .related-product-name {
    font-weight: 500;
    color: #333;
    font-size: 16px;
    height: auto;
}

.builder .related-product-final-price .final-price {
    color: #446084;
    font-size: 14px;
    font-weight: 600;
}

.builder .related-product-final-price .old-price {
    font-size: 16px;
    margin-left: 10px;
}

.product-item__sale {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    border-radius: 0;
    height: 35px;
    text-align: center;
    width: 40px;
    line-height: 15px;
    color: #323c42;
    background-color: #ffd004;
    font-weight: bold;
    font-size: 14px;
    z-index: 9;
    display: inline-block;
    opacity: 0;
}

.product-item__sale:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0 0;
    border-color: #ffd004 transparent transparent transparent;
    position: absolute;
    top: 35px;
    left: 0;
}

.product-item__sale:after {
    content: "";
    position: absolute;
    top: 35px;
    left: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent #ffd004 transparent transparent;
    z-index: 1;
}

.builder .btn.add_builder {
    font-weight: 500;
    padding: 10px;
    margin-top: 5px;
    width: 100%;
    background: #EA3407;
    border: 0;
    color: #fff;
    border-radius: 3px;
    font-size: 16px;
}

.builder .btn_remove {
    background: #dc3545;
    color: #fff;
    border: 0;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 3px;
    margin-right: 5px;
    display: inline-block;
}

.builder .btn_edit {
    background: #28a745;
    color: #fff;
    border: 0;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 3px;
    margin-right: 5px;
    display: inline-block;
}

.builder .total {
    color: #d42333;
    font-size: 14px;
    font-weight: bold;
}

.builder .summary {
    font-size: 18px;
    text-align: right;
}

.builder .summary .summary_price {
    font-weight: 700;
    color: #d42333;
    font-size: 20px;
}

#table_export {
    max-width: 800px;
    position: relative;
}

#table_export .table_export__customize {
    width: 680px;
    margin: auto;
    position: relative;
}

#table_export .export_body__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: -1;
    transform: translate(-50%, -50%);
}

#table_export .export_body__logo img {
    width: auto;
    height: auto;
    opacity: 0.1;
}

#table_export .export_header {
    background-color: #e8ebf0;
}

#table_export .export_header .export_image_title {
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
}

#table_export .export_header .export_content_title {
    font-size: 18px;
    color: #000000;
    font-family: "Times New Roman";
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 0;
}

#table_export .export_body {
    padding: 15px 20px;
    font-family: "Times New Roman";
    position: relative;
}

#table_export .related-product-img {
    max-width: 100%
}

#table_export .related-product-name {
    font-size: 18px;
    height: auto;
    font-weight: bold;
    color: #000000;
}

#table_export .option {
    /* margin-bottom: 10px; */
}

#table_export .option .form-group,
#table_export .option .form-group .control-label {
    margin: 0;
    line-height: 1.425;
    font-weight: normal;
}

#table_export .related-product-final-price:not(.option) {
    margin: 10px 0
}

#table_export .qnt_sum {
    font-weight: bold;
    font-size: 15px;
}

#table_export .qnt_sum .total_price {
    color: #d42333;
    font-size: 18px;
    min-width: 105px;
    display: inline-block;
}

#table_export .related-products-item {
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
}

#table_export .related-products-item:first-child {
    margin-top: 0;
}

#table_export .related-products-item .product-item__info__image {
    position: relative;
    width: 100px;
    height: 100px;
    min-width: 100px;
}

#table_export .related-products-item .product-item__info__text {
    float: left;
    width: calc(100% - 250px);
    padding-left: 15px;
}

#table_export .related-products-item .product-item__price {
    width: 140px;
    text-align: right;
    color: #d42333;
}

#table_export .related-products-item .related-product-final-price {
    display: block !important;
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    font-family: "Times New Roman";
    color: #000000;
}

#table_export .related-products-item .related-product-final-price .final-price {
    font-weight: 600;
    font-size: 16px;
    color: #000000;
}

#table_export .export_footer {
    padding-bottom: 15px;
}

#table_export .export_footer .summary {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    color: #d42333;
    font-family: "Times New Roman";
}

#table_export .export_note {
    line-height: 1.2;
    font-size: 13px;
    color: #000000;
    font-family: "Times New Roman";
    margin-bottom: 20px;
}

.builder a * {
    cursor: pointer
}

.builder_loading {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .3);
    z-index: 9999999;
    display: none;
}

.builder_loading .bp-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*product-modal*/
.product-builder .product-modal.fade.in {
    width: 100%;
    height: 100%;
}

.modal-dialog {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    width: 100%;
    /*height: 90vh;*/
    max-width: 1200px;
    margin: 0;
    position: relative;
}

.product-modal__header {
    color: #fff;
    background-color: #007bff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-modal__header__title {
    width: 30%;
    margin: 0;
    font-size: 21px;
    color: #fff;
    font-weight: 600;
}

.product-modal__header__search {
    width: 70%;
    padding-right: 50px;
}

.product-modal__header__search input {
    width: 100%;
    margin: 0;
    height: 40px;
    border: none;
    border-radius: 4px;
}

.product-modal__header__search .search__box {
    position: relative;
}

.product-modal__header__search .search-box__icon {
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 2;
    cursor: pointer;
    transform: translateY(-50%);
}

.product-modal__close-btn {
    position: absolute;
    top: 24px;
    right: 15px;
    cursor: pointer;
}

.product-modal__close-btn img {
    width: 20px;
}

.modal-content {
    height: 100%;
}

.modal-body {
    height: 90%;
    padding: 0;
}

.pagination-custom {
    padding: 8px 15px;
    border-bottom: 1px solid #e1e1e1;
}

.pagination-custom .pagination {
    justify-content: flex-end;
    margin: 0;
}

.grid-products,
.box-filters__body {
    height: 75vh;
    overflow-y: auto;
}

.product-item {
    border-bottom: 1px solid #e1e1e1;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related-products-item {
    display: flex;
}

table .related-products-item {
    justify-content: space-between;
    flex-wrap: wrap;
    width: calc(100% - 135px);
}

.product-item__info__image {
    position: relative;
    width: 100px;
    height: 100px;
    min-width: 100px;
}

.product-item__info__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item__info__text {
    padding-left: 15px;
}

.product-item__info__text .related-product-final-price {
    display: none;
}

#selectProductModal .product-item__info__text .related-product-final-price {
    display: block;
}

#selectProductModal .product-item__price {
    display: none;
}

.related-product-stock {
    color: #fff;
    background: #60bf2f;
    display: inline-block;
    padding: 2px 7px;
    font-size: 12px;
    border-radius: 5px;
}

.related-product-stock .related-product-stock__box {
    display: flex;
    align-items: center;
}

.related-product-stock .related-product-stock__box img {
    margin-right: 5px;
}


table .product-item__button {
    width: 120px
}

table .related-products__box {
    float: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

table .product-item__info__text {
    float: left;
    width: 42%;
    padding-left: 15px;
}

table .product-item__price {
    display: flex;
    width: 40%;
    justify-content: space-between;
    float: left;
}

table .pro-infor-buy {
    display: flex;
    width: 100%;
    justify-content: space-between;
    float: left;
}

table .related-product-final-price,
table .builder .total {
    width: 105px;
    float: left;
}

.product-item__price .total {
    width: 145px;
}

table .pro-infor-buy input {
    margin: 0;
    height: 30px;
    min-width: 60px;
    width: 55px;
    float: left;
    padding: 0 10px;
    border-radius: 0;
}

table .open-select-product:hover {
    background-color: #EA3407;
}

.pro-infor-buy .total i {
    float: left;
    width: max-content;
    padding: 0 15px;
    font-style: initial;
}

/**define icon customize **/
.button--customize {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    font-size: 14px;
    color: #fff;
}

.icon__customize {
    position: relative;
    margin-right: 25px;
    display: inline-block;
}

.icon__customize:before {
    position: absolute;
    content: "";
    top: -8px;
    left: 0;
    width: 16px;
    height: 16px;
    background-size: cover;
}

.icon__refresh:before {
    background-image: url(/catalog/view/theme/default/image/icon/icon-refresh.svg);
}

.icon__plus:before {
    background-image: url(/catalog/view/theme/default/image/icon/icon-plus.svg);
}

.icon__edit:before {
    background-image: url(/catalog/view/theme/default/image/icon/icon-edit.svg);
}

.icon__excel_logo:before {
    background-image: url(/catalog/view/theme/default/image/icon/icon-excel_logo.svg);
}

.icon__close:before {
    background-image: url(/catalog/view/theme/default/image/icon/icon-close.svg);
}

.icon__checklist:before {
    background-image: url(/catalog/view/theme/default/image/icon/icon-checklist.svg);
}

.icon__cart:before {
    background-image: url(/catalog/view/theme/default/image/icon/icon-cart.svg);
}

.icon__cloud_download:before {
    background-image: url(/catalog/view/theme/default/image/icon/icon-cloud_download.svg);
}

.icon__search:before {
    background-image: url(/catalog/view/theme/default/image/icon/icon-search.svg);
}

.icon__share:before {
    background-image: url(/catalog/view/theme/default/image/icon/icon-share.svg);
}

.icon__remove:before {
    background-image: url(/catalog/view/theme/default/image/icon/icon-trash_bin.svg);
}

/**define icon customize **/
/***Filter***/
.bp-modal-products {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.modal-products-filter {
    width: 30%;
    padding: 7px 15px;
}

.modal-products-filter .heading__title .title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    border: 0.5px solid #b7b7b7;
    line-height: 40px;
    text-align: center;
    margin-bottom: 10px;
}
.box-filters p.heading__title {
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}
.bp-modal-products-content {
    width: 70%;
}

.sort__by__order ul {
    float: right;
    font-size: 12px;
    text-align: left;
    display: block;
    width: 100%;
    padding: 0;
}

.sort__by__order ul li {
    color: #333;
    text-decoration: none;
    margin-right: 5px;
    padding: 7px 12px;
    border: 1px solid #bdbbbb;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 5px;
    cursor: pointer;
}

.sort__by__order ul li:hover {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #fff;
}
.sort__by__order ul li:hover a{
    color: #fff;
}
.sort__by__order ul li input{
    display: none;
}
.sort__by__order ul li label {
    margin-bottom: 0;
    padding: 0;
}

.product-builder.modal-open .opacity_menu {
    content: " ";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0px !important;
    left: 0px;
    z-index: 1;
}

.box-filters__body .price__filters,
.box-filters__body .manufacturer__filters {
    clear: both;
}
.filter__group input{
    display: none;
}
.filter__group.filter__group--radio .filter__item {
    margin: 0;
    cursor: pointer;
    line-height: 28px;
    min-width: 100%;
    float: left;
    padding: 0px;
    position: relative;
    display: flex;
    margin-bottom: 10px;
}
.filter__group.filter__group--radio{
    padding: 0;
}
.filter__item label {
    display: flex;
    padding-left: 45px;
    line-height: 15px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.filter__group--radio .fa {
    margin-right: 6px;
    width: 14px;
    font-size: 14px;
    line-height: 40px;
    position: absolute;
    top: 0;
    display: inline-block;
    left: 0;
}

.filter__group--radio input + .fa:before {
    content: "";
    margin-right: 5px;
    font-size: 18px;
    border: solid 0px #ebebeb;
    line-height: 40px;
    position: absolute;
    top: 0;
    height: 18px !important;
    width: 35px;
    background: #ebebeb;
    border-radius: 18px;
}

.filter__group--radio input:checked + .fa:before, .filter__group--radio input + span:before {
    background: #007bff;
}

.filter__group--radio input + .fa:after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    height: 16px !important;
    width: 16px;
    background: #fff;
    border-radius: 16px;
    transition: 0.3s;
}

.filter__group--radio input:checked + .fa:after, .filter__group--radio input + span:after {
    transform: translateX(100%);
}

/***Filter***/
@media (max-width: 767px) {
    .products-view .list_products table tr > td:nth-child(1) {
        display: none;
    }

    #selectProductModal .product-item {
        flex-direction: column;
    }

    #selectProductModal .product-item .product-item__button {
        width: 100%;
    }

    #selectProductModal .product-modal__header {
        flex-direction: column;
    }

    #selectProductModal .product-modal__header__title {
        padding-bottom: 15px;
        font-size: 18px;
    }

    #selectProductModal .product-modal__header__title,
    #selectProductModal .product-modal__header__search {
        width: 100%;;
        padding-right: 0;
    }

    #selectProductModal .product-modal__close-btn {
        top: 15px;
    }

    /**Resposive**/
    table .related-products-item {
        width: 100%;
    }

    table .product-item__info__text {
        width: calc(100% - 100px);
    }

    table .product-item__price {
        width: 100%;
        margin-top: 10px;
    }

    table .pro-infor-buy {
        justify-content: flex-start;
    }

    table .product-item__button {
        width: 100%;
        display: flex;
        margin-top: 10px;
        float: left;
        text-align: center;
    }

    table .product-item__button .btn_edit {
        width: 100%;
        margin-right: 10px;
    }

    table .product-item__button .btn_remove {
        width: 100%;
    }
    /***Filter***/
    .modal-products-filter {
        display: none;
    }
    .bp-modal-products-content {
        width: 100%;
    }
    /***Filter***/
}
