/* Desire Gym Featured Product Sidebar CSS */

.cf-widget-container {
    font-family: inherit;
    max-width: 300px;
    background: #fff;
    padding-bottom: 45px;
    border-bottom: 1px solid #eaeaea;
}

.cf-main-title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    margin-top: 20px;
    padding-left: 5px;
}

.cf-product-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cf-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cf-image-box {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.cf-details-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.cf-product-title {
    font-family: "Open Sans", sans-serif;
    font-size: 15.0766px;
    font-weight: 500;
    color: #222529;
    text-decoration: none !important;
    line-height: 2;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.cf-product-rating {
    margin-bottom: 4px;
}

.cf-fa-star-rating {
    position: relative;
    display: inline-block;
    font-size: 11px;
    color: #00000029;
    cursor: pointer;
}

.cf-fa-stars-bg i,
.cf-fa-stars-active i {
    margin-right: 2px;
}

.cf-fa-stars-active {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #888;
}

.cf-product-price {
    font-family: "Open Sans", sans-serif;
    font-size: 16.1532px;
    font-weight: 600;
    color: #444;
}

.cf-product-price del {
    color: #999;
    font-size: 12px;
    margin-right: 5px;
}

.cf-product-price ins {
    text-decoration: none;
}

/* Tooltip */
.cf-tooltip { position: relative; }

.cf-tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 5px 8px;
    font-size: 11px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 9999 !important;
}

.cf-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: #222 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 9999 !important;
}

.cf-tooltip:hover::before,
.cf-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 5px);
}

.cf-tooltip:hover::after {
    bottom: calc(100% - 3px);
}