.tf-compare-widget {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.tf-compare-widget .inner-item {
    display: flex;
    column-gap: 22px;
}

.tf-compare-widget .inner-item .item {
    flex: 1;
}

.tf-compare-widget .item:last-child .compare-item  {
    text-align: right;
}

.tf-compare-widget .item:last-child .price {
    justify-content: right;
}

.tf-compare-widget .car-body {
font-weight: 500;
font-size: 12px;
line-height: 20px;
text-transform: uppercase;
text-decoration: underline;
    color: #9FA1A4;
    margin-bottom: 3px;
    display: block;
}

.tf-compare-widget .car-body:hover {
    color: var(--theme-primary-color);
}

.tf-compare-widget .title {
font-weight: 500;
font-size: 18px;
line-height: 26px;
margin-bottom: 5px;
-webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.tf-compare-widget .price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.tf-compare-widget .price .inner:nth-child(2) {
    color: #B6B6B6;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
    text-decoration: line-through;
}

.tf-compare-widget .price .inner:nth-child(1) {
    text-decoration: none;
font-weight: 600;
font-size: 20px;
line-height: 28px;
text-transform: capitalize;
    color: #1C1C1C;
}

.tf-compare-widget .featured-property {
    position: relative;
    height: 246px;
    display: flex;
    align-items: center;
    justify-content: left;
}

.st2 .tf-compare-widget .featured-property {
    height: 226px;
}

.tf-compare-widget .featured-property a {
    display: block;
    width: 100%;
}

.tf-compare-widget .featured-property a img {
    max-height: 126px;
    object-fit: cover;
}

.tf-compare-widget .inner-item .item:last-child .featured-property {
    justify-content: right;
}

.tf-compare-widget .item:last-child .featured-property .icon-compare {
    display: none;
}

.tf-compare-widget .featured-property .icon-compare {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 22.4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -25px;
    z-index: 5;
}

.tf-compare-widget .content {
    padding: 0px 20px 8px 20px;
}

.tf-compare-widget .btn-action-compare {
    border: 1px solid #1C1C1C;
    color: #1C1C1C;
    background: transparent;
    width: calc(100% - 40px);
    display: block;
    padding: 6.5px 30px;
    font-size: 14px;
    font-weight: 600;
    line-height: 22.4px;
    border-radius: 14px;
    margin: 7px auto;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.tf-compare-widget .btn-action-compare i {
        font-size: 20px;
    vertical-align: sub;
    margin-right: 1px;
}

.tf-compare-widget .btn-action-compare:hover {
    background: var(--theme-primary-color);
    color: #fff;
    border-color: var(--theme-primary-color);
}

.table-compare {
    z-index: 99999;
}

.table-compare .card-details img {
    border-radius: 16px;
}

.card-details .card-details--table tr td {
    color: #1C1C1C;
}

.card-details .card-details--table tr svg {
    width: 28px;
    height: 28px;
}

.table-compare .modal-content {
    border-radius: 24px;
    border: none;
}

.table-compare .close-modal {
    background: #E7E7E7;
    color: #1C1C1C;
    padding: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    right: -20px;
}

.table-compare .close-modal:hover {
    background: var(--theme-primary-color);
    color: #fff;
}

@media only screen and (max-width: 1200px) {
    .table-compare .modal-content {
        width: 90%;
    }
    .table-compare .modal-container {
        padding: 20px 0;
    }
    .table-compare .close-modal {
        right: 0;
    }
    .tf-compare-widget .featured-property {
        padding: 30px 0;
        height: unset;
    }
}