.name-product {
    font-size: 16px;
}

.price-product {
    font-size: 16px;
}

.sku-product {
    font-size: 14px;
}

.modal-dialog {
    margin-top: 60px ! important;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 4px;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pagination li {
    display: inline-block;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 4px 10px;
    border: 1px solid #d00;
    color: #d00;
    font-size: 12px;
    text-decoration: none;
    line-height: 1.4;
}

.pagination li.active span {
    background-color: #d00;
    color: #fff;
    border-color: #d00;
}

.pagination li a:hover {
    background-color: #d00;
    color: #fff;
}

.pagination li.disabled span {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination li span {
    user-select: none;
}

/* Icon mũi tên */
.pagination li a i,
.pagination li span i {
    font-size: 12px;
}


.insBody {
    background: #fff;
}

.modal-build__pc {
    overflow: hidden !important;
}

.top-page__build {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1em 0;
}

.btn-build__pc {
    background: #d21111;
    background: linear-gradient(to top, #be0e0e 0%, #e41c1c 100%);
    background: -moz-linear-gradient(to top, #be0e0e 0%, #e41c1c 100%);
    background: -o-linear-gradient(to top, #be0e0e 0%, #e41c1c 100%);
    background: -ms-linear-gradient(to top, #be0e0e 0%, #e41c1c 100%);
    background: -webkit-linear-gradient(bottom, #be0e0e 0%, #e41c1c 100%);
    border: none;
    color: #fff;
    height: 35px;
    line-height: 1;
    padding: 5px 1em;
    font-size: 16px;
    border-radius: 4px;
}

.btn-build__pc.disabled {
    opacity: 0.5;
}

.btn-build__pc:hover {
    color: #fff;
    opacity: .8;
}

.btn-build__pc.disabled:hover {
    opacity: 0.5;
}

.btn-build__pc i {
    margin-right: 1em;
}

.category-pc__item {
    display: flex;
    border-bottom: 1px solid #ccc;
}

.category-pc__item .left-item {
    flex: 0 0 200px !important;
    max-width: 200px !important;
    margin-right: 10px;
    border-right: 1px solid #ccc;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.category-pc__item:nth-of-type(2n+1) {
    background: #c0c0c024;
}

.category-pc__item .right-item {
    padding: 5px 0;
    flex: 1;
}

.modal-dialog {
    width: auto !important;
    max-width: 1200px !important;
    padding: 0 !important;
}

.modal-build__pc .modal-dialog .modal-content {
    box-shadow: none;
    border: 1px solid rgb(204, 204, 204);
    overflow: hidden;
}

.modal-build__pc .modal-dialog .modal-content .modal-body {
    padding: 0;
}

.coll-build__wrapper {
    display: flex;
}

.coll-build__wrapper .content-build__products {
    max-height: calc(100vh - 150px);
    overflow-x: hidden;
    overflow-y: auto;
}

.content-build__paginate {
    display: flex;
    justify-content: end;
    margin-top: 15px;
    margin-bottom: 10px;
    margin-right: 15px;
}

.content-build__paginate .content_sortPagiBar {
    position: static;
    top: 0;
    padding: 10px;
}

.pagination i {
    padding: 0;
}


.coll-build__search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 5px 10px;
    background: #d21111;
    background: linear-gradient(to top, #be0e0e 0%, #e41c1c 100%);
    background: -moz-linear-gradient(to top, #be0e0e 0%, #e41c1c 100%);
    background: -o-linear-gradient(to top, #be0e0e 0%, #e41c1c 100%);
    background: -ms-linear-gradient(to top, #be0e0e 0%, #e41c1c 100%);
    background: -webkit-linear-gradient(bottom, #be0e0e 0%, #e41c1c 100%);
    height: 50px;
}

.coll-build__search .header-title {
    color: #fff;
    font-weight: bold;
}

.sidebar-build__pc, .content-build__pc {
    padding: 0;
}

.coll-build__search > a {
    color: #fff;
    font-size: 30px;
    position: absolute;
    right: 5px;
    top: 0;
    z-index: 11;
}

.pc-search__form {
    margin-right: 50px;
    flex: 0 0 60%;
    position: relative;
    margin-top: 20px !important;
}

.pc-search__form input[type="text"] {
    width: 100%;
    border: none;
    outline: none;
    height: 30px;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    color: #757575;
}

.sidebar-build__content {
    border-right: 1px solid #ccc;
    height: 100%;
}

.buildpc-filter__item {
    border-bottom: 1px solid #c0c0c047;
}

.buildpc-filter__item > a {
    display: block;
    padding: 5px;
    font-size: 17px;
    font-weight: bold;
}

.buildpc-filter__dropdown {
    padding: 0 5px;
    display: none;
}

.buildpc-filter__dropdown .item-filter {
    margin-bottom: 5px;
}

.item-filter label {
    font-weight: normal;
    cursor: pointer;
}

.product-item__build {
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
    margin-bottom: 5px;
    margin-left: 10px;
}

.product-item__build button {
    margin: 0;
    font-size: 12px;
}

.product-item__build:first-child {
    border-top: 1px solid #ccc;
}

.product-item__build:last-child {
    margin: 0;
}

.product-item__build .pdLoopName {
    margin-bottom: 10px;
    font-size: 16px;
}

.pdLoopSku, .pdLoopQty, .pdLoopPrice {
    margin-bottom: 10px ! important;
    font-size: 14px;
}

.product-item__build .pdPrice {
    font-weight: bold;
    margin-bottom: 10px;
}

.product-item__build .qty {
    margin-top: 10px;
    display: none;
}

.product-item__build .sumary {
    display: none;
}

.product-item__build .sumary p {
    color: rgb(102, 102, 102);
}

.product-item__build .sumary p b {
    color: #d21212;
}

.product-item__build .sumary .pdLoopName {
    margin-top: 0;
    font-weight: bold;
    color: #000;
}

.product-item__build .qty-select input {
    margin: 0 4px;
    border-radius: 5px;
    height: 25px;
    text-align: center;
    padding: 0 5px;
    width: 100px;
}

.qty-select .price {
    font-size: 13px;
    color: #d21212;
}

.product-item__build .select-build {
    padding-right: 5px;
}

.product-item__build .sku {
    color: #000;
}

.category-pc__item .right-item .product-item__build {
    border: none;
    padding: 5px 0;
}

.category-pc__item .right-item .product-item__build .qty {
    display: block;
}

.category-pc__item .right-item .product-item__build .select-build {
    display: none;
}

.category-pc__item .right-item .product-item__build .pdLoopName {
    margin-top: 0;
}

.btn-remove__build {
    color: #d21212;
    font-size: 20px;
}

.bottom-page__build .btn-build__pc {
    height: 40px;
    font-size: 16px;
}

.bottom-page__build .btn-build__pc i {
    margin-right: 10px;
}

.image-review .head {
    background: #d21111;
    background: linear-gradient(to top, #be0e0e 0%, #e41c1c 100%);
    background: -moz-linear-gradient(to top, #be0e0e 0%, #e41c1c 100%);
    background: -o-linear-gradient(to top, #be0e0e 0%, #e41c1c 100%);
    background: -ms-linear-gradient(to top, #be0e0e 0%, #e41c1c 100%);
    background: -webkit-linear-gradient(bottom, #be0e0e 0%, #e41c1c 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    position: relative;
}

.image-review .head h2 {
    margin: 0;
    color: #fff;
}

.image-review .head .btn-save__image {
    color: #fff;
    font-size: 18px;
    margin-right: 30px;
    padding: 5px 10px;
    border: 1px solid #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 150px;
    justify-content: center;
}

.image-review .head .btn-save__image .fa-spinner {
    animation: 2s linear 0s infinite normal none running spin;
}

.image-review .head .btn-save__image:hover {
    opacity: .8;
}

.image-review .head .btn-close__modal {
    color: #fff;
    position: absolute;
    font-size: 25px;
    right: 5px;
    top: 0;
    z-index: 11;
}

.image-review__content {
    max-width: 1024px;
    margin: 0 auto;
}

.image-review__content .lg {
    padding: 20px 0;
}

.image-review__content .lg h2 {
    font-size: 16px;
    font-weight: normal;
}

.image-review__content .product-item__build {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.image-review__content .right-item__selected:last-child .product-item__build {
    margin-bottom: 0;
    padding-bottom: 0;
}

.image-review__content .product-item__build .info {
    display: none;
}

.image-review__content .product-item__build .sumary {
    display: block;
}

.image-review__content .bottom {
    text-align: center;
    padding: 20px 0;
}

.image-review__content .bottom span {
    font-size: 2em;
    font-weight: bold;
}

.image-review__content .bottom span strong {
    color: #d21212;
}

.image-review__content .product-item__build .img img {
    opacity: 0;
    visibility: hidden;
}

.image-review__content .product-item__build .img .img-bg {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    top: 0;
    background-size: contain;
    background-position: center;
}

#canvas-dom__download .product-item__build {
    border: none;
}

.loading-page {
    position: fixed;
    z-index: 99999;
    background: rgba(255, 255, 255, .8);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    display: none;
}

.loading .loading-page {
    display: flex;
}

.loading-page__spin {
    border: 3px solid #f3f3f3;
    /* Light grey */
    border-top: 3px solid #d21212;
    /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.image-review__content .list-item__build {
    max-height: calc(100vh - 350px);
    overflow-y: auto;
    overflow-x: hidden;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#build-pc {
    margin-bottom: 100px;
    margin-top: 50px;
}

@media screen and (max-width: 991px) {
    .modal-build__pc {
        overflow: hidden auto !important;
    }

    .coll-build__wrapper .content-build__products {
        max-height: none;
        overflow: hidden;
    }
}

.coll-build__search .header-title {
    color: #fff;
    font-weight: bold;
}

.pc-search__form {
    margin-right: 50px;
    flex: 0 0 70%;
    position: relative;
}

.coll-build__search > a {
    color: #fff;
    font-size: 30px;
    position: absolute;
    right: 5px;
    top: 0;
    z-index: 11;
}

.coll-build__wrapper {
    display: flex
}

.sidebar-build__pc, .content-build__pc {
    padding: 0;
}

.buildpc-filter__item {
    border-bottom: 1px solid #c0c0c047;
}

input[type=checkbox], input[type=radio] {
    margin: 4px 0 0;
    margin-top: 1px;
    line-height: normal;
}

.buildpc-filter__item {
    border-bottom: 1px solid #c0c0c047;
}

.buildpc-filter__dropdown {
    padding: 0 5px;
    display: none;
}

img {
    border: none ! important;
    max-width: 100% ! important;
    height: auto ! important;

}

.content_sortPagiBar .pagination .active > a, .content_sortPagiBar .pagination .active span {
    color: #ffffff;
    border-color: #d21212;
    background: #d21212;
}

.content_sortPagiBar .pagination > li > a, .content_sortPagiBar .pagination > li span {
    font-size: 12px;
}

.pagination {
    padding-left: 0;
    border-radius: 4px;
    margin: 0px;
    float: right;
}

.modal-body {
    padding: 0px !important;
}

.coll-build__search .header-title {
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    margin: 0;
}

.btn-select__build, .btn-build__pc {
    font-size: 16px;
    font-weight: bold;
    height: 40px ! important;
}


#searchform {
    margin-bottom: 0;
}

.btn-close {
    margin-bottom: 0;
}

.qty-selected__change {
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    .category-pc__item .left-item {
        display: none;
    }

    .coll-build__search {
        flex-direction: column;
        height: auto;
    }

    .coll-build__search .header-title {
        margin: 10px 0;
    }

    .pc-search__form {
        margin: 5px 0 10px;
        flex: 0 0 100%;
        width: 100%;
    }

    .coll-build__wrapper {
        flex-direction: column;
    }

    .sidebar-build__pc {
        margin-bottom: 1em;
    }

    .image-review .head .btn-save__image {
        font-size: 14px;
        margin-right: 0px;
        width: 200px;
    }

    .pcb-close-btn {
        position: absolute;
        right: 0;
    }

    .btn {
        font-size: 14px ! important;
        margin: 0 ! important;
    }

    .btn-show__image {
        margin-bottom: 20px ! important;
        margin-top: 20px ! important;
        width: 100% ! important;
        font-size: 16px ! important;
        font-weight: bold ! important;
    }

    .btn-add__cart {
        width: 100% ! important;
    }

    .category-pc__item .right-item {
        padding: 15px 0 !important;
    }

    .pcb-close-btn.close-button-2 {
        position: unset ! important;
    }
}