/* product-card css start */

.product-card {
    height: 100%;
}

.product-card .card-image-wrap {
    margin: 0;
    min-width: 0px;
    border: 0px;
    box-sizing: border-box;
    display: flex;
    height: auto;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
    background-color: var(--card-bg);
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    color: var(--white);
    font-family: var(--paragraph-font);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    padding: 5px 8px;
    background-color: var(--card-badge-bg);
    text-transform: uppercase;
}

.product-card .card-image-wrap:before {
    padding-bottom: 150%;
    content: "";
    width: 0;
    height: 0;
}

.product-card .card-image-wrap .card-img {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
}

.product-card .card-img .main-img {
    transition: ease .5s;
}

.product-card .card-img .main-img img {
    object-fit: cover;
}

.card_hover:hover .card-img .main-img {
    transform: scale(0);
    opacity: 0;
    visibility: hidden;
}

.product-card .card-img .hover-img {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.2);
    opacity: 0;
    visibility: hidden;
    transition: ease .5s;
}

.card_hover:hover .card-img .hover-img {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.product-card .card_hover_img {
    object-fit: cover;
}

.product-card .card-content {
    margin: 10px 0 0 0;
    text-align: left;
}

.product-card .card-content .card-title {
    color: var(--paragraph-text-color);
    font-family: var(--paragraph-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-transform: capitalize;
    transition: ease .2s;
}

.product-card .card-content .card-title:hover {
    text-decoration: underline;
}

.product-card .card-content .card-subtitle {
    margin: 5px 0 0 0;
    font-size: 14px;
    line-height: 20px;
    text-transform: capitalize;
}

.card-product-varient {
    margin: 5px 0 0 0;
    color: var(--brand-color);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 16px;
    color: var(--paragraph-text-color);
}

.product-card .card-content .card-price {
    display: flex;
    gap: 5px;
}

.product-card .card-content .card-price-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 8px 0 0 0;
}

.product-card .card-content .card-price-wrap .latest-price {
    color: var(--paragraph-text-color);
    font-family: var(--paragraph-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    display: flex;
    align-items: flex-start;
}

.product-card .card-content .card-price-wrap .latest-price span {
    color: var(--paragraph-text-color);
    font-family: var(--paragraph-font);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.product-card .card-content .card-price-wrap .previous-price {
    text-transform: uppercase;
    font-family: var(--paragraph-font);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-danger);
    text-decoration: line-through;
    line-height: 1;
    display: flex;
    align-items: flex-start;
}

.product-card .card-content .card-price-wrap .previous-price span {
    text-transform: uppercase;
    font-family: var(--paragraph-font);
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
}

.card-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    opacity: 1;
    visibility: visible;
    transition: ease .3s;
    -webkit-transition: ease .3s;
    -moz-transition: ease .3s;
    -ms-transition: ease .3s;
    -o-transition: ease .3s;
}

.card-btn .btn {
    padding: 8px 20px;
    border: none;
    text-wrap-mode: nowrap;
    width: 100%;
}

.card-btn .btn:hover {
    color: var(--white);
    padding: 8px 25px;
}

/* product-card css end */

@media only screen and (max-width: 767px) {

    /* product-card css start */
    .product-card .card-content .card-title {
        font-size: 14px;
        line-height: 20px;
    }

    .card-btn .btn {
        padding: 10px;
        font-size: 14px;
    }

    .card-badge {
        font-size: 12px;
        top: 10px;
        left: 10px;
        padding: 4px 5px;
    }

    /* product-card css end */
}

@media only screen and (max-width: 575px) {

    /* product-card css start */
    .product-card .card-content {
        margin: 8px 0 0 0;
    }

    .product-card .card-content .card-price-wrap .latest-price {
        font-size: 14px;
    }

    .product-card .card-content .card-price-wrap .previous-price {
        font-size: 14px;
    }

    .card-btn .btn {
        width: 100%;
        padding: 8px;
        font-size: 12px;
    }

    .card-badge {
        font-size: 10px;
    }

    /* product-card css end */
}