/* product-card css start */
.product-card {
    height: 100%;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

[data-theme="dark"] .product-card {
    background: var(--border-color);
}

.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: 2;
    color: var(--white);
    font-family: var(--paragraph-font);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    padding: 5px 8px;
    background-color: var(--card-badge-bg);
    text-transform: uppercase;
    border-radius: 50px;
}

[data-theme="dark"] .card-badge {
    color: var(--black);
}

.product-card .card-image-wrap:before {
    padding-bottom: 133%;
    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 {
    padding: 8px;
}

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

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

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

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

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

.card-btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transition: ease .3s;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -webkit-transition: ease .3s;
    -moz-transition: ease .3s;
    -ms-transition: ease .3s;
    -o-transition: ease .3s;
}

.card-btn .btn {
    background-color: var(--btn-bg);
    color: var(--white);
    padding: 8px 20px;
    border: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    text-wrap-mode: nowrap;
}

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

.product-card:hover .card-image-wrap .card-btn {
    bottom: 20px;
    opacity: 1;
    visibility: visible;
}

.product-card-slider .product-card-slider-item img {
    transition: transform 0.3s ease;
}

.product-card .card-img:hover .product-card-slider .product-card-slider-item img{
    transform: scale(1.05);
}

.swiper.product-card-slider .swiper-pagination {
    bottom: 8px;
    width: fit-content;
    background: var(--overlay4);
    backdrop-filter: blur(39px);
    border-radius: 50px;
    margin: 0 auto;
    display: flex;
    padding: 2px;
    align-items: center;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    gap: 3px;
}

.swiper.product-card-slider .swiper-pagination .swiper-pagination-bullet {
    background-color: var(--overlay5);
    width: 6px;
    height: 6px;
    margin: 0;
}

/* product-card css end */

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

    /* product-card css start */
    .card-btn .btn {
        padding: 10px;
        font-size: 14px;
    }

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

    /* product-card css end */
}

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

    /* product-card css start */

    .product-card .card-content .card-price-wrap {
        gap: 10px;
        margin: 5px 0 0 0;
    }

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

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

    /* product-card css end */
}