#compare-button-open {
    z-index: 10;
    text-orientation: upright;
    writing-mode: vertical-lr;
    padding: 0.7rem 0rem 0.7rem 0.1rem;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    text-align: left;
    font-variant-caps: all-petite-caps;
}


#compare-button-open i {
    position: relative;
    width: -webkit-fill-available;
}

#compare-button-open i::before {
    position: absolute;
    width: fit-content;
    left: 50%;
    top: 15%;
    transform: translateX(-50%);

}

#compare-product .table-striped {
    --bs-table-hover-bg: #D0DCE5;
    --bs-table-striped-bg: #E2E8ED;
}

#compare-product .table>:not(caption)>*>* {
    padding: 1rem 0.5rem;

}


#compare-product .btn-product {
    clip-path: polygon(0 0, 90% 0, 100% 60%, 100% 100%, 10% 100%, 0% 40%);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0;
    background-color: #0A387C;
    border: 1px solid #0A387C;
    color: white;
}

#compare-product input[type="checkbox"] {
    position: relative;
    width: 25px;
    height: 25px;
    border-radius: .25em;
}

.compare-product-item .button-close{
    padding: 5px !important;
    width: 25px;
    height: 25px;
    display: grid;
}

#compare-product .table tbody tr td {
    width: calc(280px + 1rem);
    vertical-align: middle;
}

#compare-product .table tbody tr td:not(:first-child) {
    /* font-weight: 700; */
    color: #495057;
}

#compare-product .table tbody tr td:first-child {
    width: calc(253.141px + 3rem);
    vertical-align: middle!important;
}



#compare-product .carousel-indicators {
    position: relative!important;
    bottom: unset;
}

#compare-product .carousel-indicators [data-bs-target] {
    box-sizing: unset;
    flex: unset;
    width: 30px;
    height: unset;
    /* margin-right: 3px; */
    margin-left: 3px;
    text-indent: unset;
    cursor: pointer;
    /* background-color: #fff; */
    /* background-clip: padding-box; */
    bottom: unset;
    transition: opacity .6s ease;
}

.carousel-indicators .active {
    opacity: 1;
    display: block;
    width: 42px !important;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    background-color: #3A6DA8;
    border: 1px solid #3A6DA8;
    color: #fff !important;
}

#compare-product img {
    object-fit: contain;
}


#compare-product .copy-id:before {
    opacity:0;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-bottom-color: #146EBE;
    border-bottom-color: #fff;
    pointer-events: none;
    transition: all 0.18s ease-out 0.18s;
    content: "";
    position: absolute;
    /* left: 80px; */
    bottom: -6px;
    transform-origin: bottom;
    /* transform: translateX(-50%); */
    z-index: 11;
}

#compare-product .copy-id:after {
    opacity: 0;
    content: 'Copied';
    transition: all 0.18s ease-out 0.18s;
    text-indent: 0;
    font-family: Almarai-Regular;
    font-style: normal;
    font-size: 14px;
    background: #146EBE;
    background: #fff;
    color: #3A6DA8;
    border-radius: 7px;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    /* padding: .5em 1em; */
    padding: 4px 10px;
    white-space: nowrap;
    position: absolute;
    z-index: 10;
    /* right: -30px; */
    transform: translateX(-60%);
    bottom: -35px;
}

#compare-product .copy-id.clicked:after, #compare-product .copy-id.clicked:before {
    opacity: 1;
}

.compare-product-indicator {
    display: none;
}


.offcanvas-compare {
    display: none;
}

@media only screen and (max-width: 991px) and (min-width: 768px) {
    #compare-product img,
    #compare-product .compare-product-item {
        width: 100%;
    }
 
}   
@media only screen and (max-width: 768px) {
    .offcanvas-compare{
        display: block;
    }
    #compare-button-open {
        z-index: 100!important;
        height: 65px;
        width: 65px;
        right: unset !important;
        top: unset !important;
        bottom: 1%;
        margin-right: unset;
        transform: scale(0.85) rotate(0deg);
        border-radius: 50%;
        position: relative;
    }
    .compare-product-indicator {
        content: "12";
        display: flex;
        position: absolute;
        text-align: center;
        vertical-align: middle;
        width: 30px;
        height: 30px;
        background-color: rgb(var(--bs-danger-rgb));
        right: -15%;
        top: -15%;
        line-height: 1;
        font-size: 16px;
        font-weight: 700;
        text-orientation: unset;
        writing-mode: initial;
        font-variant-caps: initial;
        z-index: inherit;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
    }
    #compare-button-open i {
        position: relative;
        display: grid;
        place-items: center;
    }
    #compare-button-open i::before {
        position: absolute;
        top: 45%;
        transform: translate(-50%, -50%);
    }

}