.bz-compare-button-box button {
    border: none;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    text-align: center;
    background: transparent;
}
.bz-compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.bz-compare-table th, .bz-compare-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}
.bz-remove-compare {
    margin-top: 5px;
    background: red;
    color: #fff;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
}
.bz-row-label {
    background: #f9f9f9;
    font-weight: bold;
    text-align: left;
}
.icon-circle-plus{
    background-image: url('./images/circle-plus-2x.webp');
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
}
.bz-compare-modal{
    background: #fff;
    border-radius: 12px;
    bottom: -320px;
    box-shadow: 0 20px 32px -24px rgba(0, 0, 0, .06), 0 0 36px 0 rgba(0, 0, 0, .11);
    left: 0;
    margin: auto;
    max-width: 880px;
    position: fixed;
    right: 0;
    top: auto;
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease-out 0s;
}
.bz-compare-modal.show{
    bottom: 10px;
}
.bz-compare-modal .popup-search-compare-product{
    position: relative;
}
.bz-compare-modal .popup-search-compare-product .content-product-to-compare{
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 32px -24px rgba(0, 0, 0, .06), 0 0 36px 0 rgba(0, 0, 0, .11);
    height: 500px;
    left: 0;
    opacity: 0;
    overflow: hidden;
    padding: 12px 0;
    position: absolute;
    right: 0;
    top: -516px;
    transition: visibility .5s, opacity .75s ease;
    visibility: hidden;
        overflow-y: auto;
}
.bz-compare-modal .popup-search-compare-product .content-product-to-compare.show {
    opacity: 1;
    visibility: visible;
}
.content-product-to-compare .box-search{
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    margin: 0px 20px;
    border-radius: 10px;
    gap: 0px;
    padding: 0px 15px;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}
.content-product-to-compare .box-search input{
        width: 100%;
    border: none;
}
.bz-compare-modal .popup-search-compare-product .compare-products{
    display: flex;
    gap: 12px;
    padding: 12px;
}

.bz-compare-modal .popup-search-compare-product .compare-product{
    border: 1px dashed #e4e4e7;
    border-radius: 8px;
    color: #18181b;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    gap: 4px;
    padding: 8px;
    width: 25%;
    text-align: center;
    align-items: center ;
    justify-content: center;
}

.bz-compare-modal .popup-search-compare-product .has-product{
    border: 1px solid #f2f2f3;
    cursor: default;
    position: relative;
}
.bz-compare-modal .popup-search-compare-product .remove-compare-product{
    align-items: center;
    background: #f2f2f3;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    height: 24px;
    justify-content: center;
    position: absolute;
    right: 4px;
    top: 4px;
    width: 24px;
}
.bz-compare-modal .popup-search-compare-product p{
    margin-bottom: 0px;
    line-height: 18px;
}
.bz-compare-modal .popup-search-compare-product .go-compare-page{
    border: none;
    cursor: default;
        align-items: start;
}
.btn-exit-compare{
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    justify-content: center;
    width: 100%;
        border: 1px solid #cfcfd3;
}
.btn-go-compare{
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    justify-content: center;
    width: 100%;
    border: 1px solid #cfcfd3;
    background: #000000;
    color: #fff;
}
.compare-button-group{
    display: flex;
    gap: 8px;
    width: 100%;
}
.bz-compare-table-container .columns{
    display: flex;
}
.bz-compare-table-container .columns .column{
    width: 25%;
    padding: 10px;
    position: relative;
}
.bz-compare-table-container .href-remover{
        height: 18px;
    width: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1;
}
.bz-compare-table-container .mua-ngay{
        background: linear-gradient(#f52f32, #e11b1e);
    border: 1px solid #e11b1e;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 14px;
    line-height: 18px;
    padding: 8px 5px;
    text-align: center;
    width: 100%;
}
.div-tt-co-ban-compare {
    border: 1px solid #dee2e6;
    border-radius: 10px;
        overflow: hidden;
        margin-bottom: 20px;
}
.table-tt-co-ban-compare {
    background-color: #fff;
    color: #363636;
    width: 100%;
    border:none;
}
.table-tt-co-ban-compare tbody {
    background-color: transparent;
}
.table-tt-co-ban-compare p {
    margin-bottom: 0px;
}
.table-tt-co-ban-compare tbody tr:nth-child(odd){
    background: #f2f2f2;
}
.table-tt-co-ban-compare tbody tr th{
    font-weight: 500;
    color: #363636;
    border:none;
    text-align: left;
}
.table-tt-co-ban-compare tbody tr td{
    font-size: 14px;
    padding: 10px 15px;
    width: 25%;
    border:none;
}
.box-show-more-compare{
    align-items: center;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15);
    color: #212529;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    height: 34px;
    justify-content: center;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 335px;
    -webkit-text-decoration: none!important;
    text-decoration: none !important;
    width: 100%;
}

.compare-modal-popup {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 0px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 9999;
    width: calc(100% - 30px);
    max-width: 1170px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.compare-modal-popup .modal-content {
    max-height: 80vh; /* hoặc chiều cao phù hợp */
    position: relative; /* cần thiết để sticky hoạt động */
}

.top-compare-header {
    position: sticky;
    top: 0;
    background: white; /* đảm bảo không bị mờ do nội dung bên dưới */
    z-index: 10;
    padding: 0;
    border-bottom: 1px solid #ccc;
}
.compare-modal-popup .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    z-index: 111;
    color: #fff;
}
.compare-modal-popup .group-spec-model-table{
    display: flex;
    background: #fff;
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, .2);
    left: 0;
    margin: 0 auto;
    max-width: 1160px;
    padding: 5px 0 5px;
    right: 0;
    font-size: 16px;
    color: #000;
    font-weight: 600;
}
.compare-modal-popup .group-spec-model-table .model-name{
    width: 25%;
    padding: 10px;
}
.compare-modal-popup .modal-content{
    position: relative;
}
.compare-modal-popup .top-compare-header h3{
    background: #d70018;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    left: 0;
    padding: 20px;
    position: sticky;
    right: 0;
    text-align: left;
    top: 0;
    z-index: 10;
    margin: 0;
}
.ovelay-compare{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #00000080;
    z-index: 1;
}

.box-search-product-list .product-item{
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center
    gap:10px;
}
.box-search-product-list .product-item .product-image{
    display: flex;
    align-items: center;
    gap:10px;
}
.box-search-product-list .product-item .product-name{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
}
.bz-compare-modal-trigger-button{
    bottom: 25px;
    cursor: pointer;
    left: 15px;
    position: fixed;
    z-index: 12;
}
.bz-compare-modal-trigger-button.hide-button{
    display: none;
}
.bz-compare-modal-trigger-button a{
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 0 15px #999;
    color: #d90018;
    font-size: 14px;
    padding: 10px;
}
.add-product-compare-modal-popup{
    background: #fff;
    border-radius: 0px;
    box-shadow: 0 20px 32px -24px rgba(0, 0, 0, .06), 0 0 36px 0 rgba(0, 0, 0, .11);
    height: 500px;
    left: 0;
    opacity: 1;
    padding: 0;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    transition: visibility .5s, opacity .75s ease;
    width: 1170px;
    z-index: 9999;
    margin: auto;
        overflow-y: auto;
}
.add-product-compare-modal-popup .add-modal-content{
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}
.product-item-add-compare{
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
     gap:10px;
}
.product-item-add-compare .product-image {
    display: flex;
    align-items: center;
    gap: 10px;
}
.product-item-add-compare .product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
}
.product-item-add-compare .product-info-add a{
        align-items: center;
    background: #fbe6e8;
    border-radius: 8px;
    color: #d70018;
    display: flex;
    font-weight: 500;
    height: 40px;
    justify-content: center;
    margin-left: 10px;
    width: 60px;
}
.wap-add-modal-content .header-add-product-compare{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-shadow: 0px 10px 10px -5px #00000021;
        position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}
.wap-add-modal-content .header-add-product-compare h3{
    margin: 0;
    font-size: 24px;
}
.column.add-product-compare{
    text-align: center;
    cursor: pointer;
}
.column.add-product-compare .info{
    margin-top: 20px;
}
.column.add-product-compare:hover .info{
    color: #e11b1e;
}
@media(max-width: 768px){
    .compare-modal-popup .group-spec-model-table .model-name-none,
    .bz-compare-table-container .column-none{
        display: none;
    }
    .compare-modal-popup .group-spec-model-table .model-name,
    .bz-compare-table-container .columns .column{
            width: 33.33%;
    }
    .table-tt-co-ban-compare tbody tr{
        display: flex;
        flex-wrap: wrap;
    }
    .table-tt-co-ban-compare tbody tr th.title{
        width: 100%;
         padding: 5px 15px 0;
         font-weight: 700;
    }
    .table-tt-co-ban-compare tbody tr td{
        width: 33.33%;        
    }
}