/*============================================================================================
   Start Card CSS
==============================================================================================*/
.product.style-7 {
    padding: 18px 12px;
    border-radius: 8px;
    background: var(--white-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}
.product.style-7 .product-cover .p-image {
    text-align: center;
    margin: auto;
    overflow: hidden;
    transition: all 0.3s ease;
}
.product.style-7 .p-image img {
    transition: all 0.3s ease;
    width: 100%;
}
.product.style-7:hover .p-image img {
    transform: scale(1.04);
}
.product.style-7 .product-cover {
    position: relative;
    overflow: hidden;
}
.product.style-7 .product-cover .p-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 120%;
    color: var(--white-color);
    background: var(--primary-color);
    border-radius: 16px;
}
.product.style-7 .product-info {
    margin-top: 12px;
    text-align: center;
}
.product.style-7 .product-category {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: space-between;
}
.product.style-7 .product-category .category-label {
    display: inline-block;
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 120%;
    background: #f5f5f5;
    color: var(--title-color);
    border-radius: 16px;
}
.product.style-7 .quantity-container {
    position: relative;
    display: inline-block;
    margin-top: 8px;
}
.product.style-7 .open-quantity-btn {
    background-color: var(--white-color);
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color);
    width: 48px;
    height: 28px;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    border-radius: 28px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
.product.style-7 .open-quantity-btn i {
    position: relative;
    top: 1px;
}
.product.style-7 .quantity-box {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    background-color: var(--white-color);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 4px 12px;
    gap: 10px;
    transition: all 0.3s ease-in-out;
    min-width: 86px;
    opacity: 1;
    visibility: visible;
}
.product.style-7 .quantity-box.hidden {
    opacity: 0;
    visibility: hidden;
}
.product.style-7 .decrease-btn,
.product.style-7 .increase-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
}
.product.style-7 .quantity {
    color: var(--title-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    text-align: center;
}

.product.style-7 .product-pricing {
    margin-top: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.product.style-7 .product-pricing .current-price {
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    color: var(--title-color);
}
.product.style-7 .product-pricing .original-price {
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    text-decoration-line: line-through;
    color: var(--hints-color);
}
.product.style-7 .product-pricing .discount {
    line-height: 120%;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    display: inline-block;
    color: var(--white-color);
    font-weight: 600;
    padding: 2px 4px;
    text-align: center;
    border-radius: 4px;
    background: var(--primary-color);
    font-size: 10px;
}
.product.style-7 .product-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 130%;
    overflow: hidden;
    margin-top: 8px;
    margin-bottom: 0;
    white-space: inherit;
    text-overflow: initial;
    display: block;
    min-height: 36px;
    height: 36px;
}
.product.style-7 .product-name:hover {
    color: var(--primary-color);
}
.product.style-7 .product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    justify-content: center;
}

.product.style-7 .product-btn.theme-btn {
    color: var(--primary-color);
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    font-size: 12px;
    font-weight: 500;
    line-height: 120%;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}
.product.style-7 .product-btn.theme-btn:hover {
    border: 1px solid transparent;
    background: var(--primary-color);
    color: var(--white-color);
}
.product.style-7 .product-btn.theme-btn i {
    font-size: 16px;
    font-weight: 600;
}
.product.style-7 .product-btn.theme-btn.buyNow-btn {
    background: var(--primary-color);
    color: var(--white-color);
    border: 1px solid transparent;
}
.product.style-7 .product-btn.theme-btn.removeFromCart {
    background: var(--success-color);
    color: var(--white-color);
    border: 1px solid transparent;
}

.product.style-7 .product-actions .product-rattings {
    display: flex;
    align-items: center;
    gap: 4px;
}
.product.style-7 .product-actions .total-rattings {
    color: var(--hints-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 120%;
    display: block;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .product.style-7 .product-actions {
        gap: 4px;
    }
    .product.style-7 .product-btn.theme-btn {
        padding: 6px 4px;
    }
}

@media only screen and (max-width: 767px) {
    .product.style-7 {
        padding: 12px;
    }
    .product.style-7 .product-pricing .current-price,
    .product.style-7 .product-pricing .original-price {
        font-size: 14px;
    }
    .product.style-7 .product-pricing .discount {
        font-size: 10px;
    }
    .product.style-7 .product-btn.theme-btn {
        font-size: 10px;
        padding: 6px 4px;
    }
    .product.style-7 .open-quantity-btn {
        width: 42px;
        height: 22px;
        font-size: 12px;
    }
    .product.style-7 .quantity-box {
        top: -1px;
        left: 0px;
        padding: 2px 12px;
    }
    .product.style-7 .decrease-btn,
    .product.style-7 .increase-btn {
        font-size: 15px;
    }
    .product.style-7 .product-category {
        flex-wrap: wrap;
    }
    .product.style-7 .product-actions {
        gap: 4px;
    }
}

/*============================================================================================
   End Card CSS
==============================================================================================*/
