/* ==========================================
   E-BAAZAAR PREMIUM PRODUCT CARD
========================================== */

/* Product Card */

.woocommerce ul.products li.product,
.wc-block-grid__product {

    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 16px;
    overflow: hidden;

    transition: all .35s ease;

    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);

    height: 100%;

}

/* Hover */

.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover {

    transform: translateY(-6px);

    box-shadow: 0 15px 40px rgba(0,0,0,.12);

}

/* Product Image */

.woocommerce ul.products li.product img,
.wc-block-grid__product-image img {

    border-radius: 10px;

    transition: .35s ease;

}

.woocommerce ul.products li.product:hover img,
.wc-block-grid__product:hover img {

    transform: scale(1.04);

}

/* Product Title */

.woocommerce ul.products li.product h2,
.woocommerce-loop-product__title {

    font-size:16px;

    font-weight:600;

    line-height:1.45;

    color:#222;

    min-height:48px;

}

/* Price */

.price {

    font-size:18px;

    font-weight:700;

    color:#0d6efd;

}

/* Old Price */

.price del {

    color:#999;

    font-size:15px;

    margin-right:8px;

}

/* Sale Price */

.price ins {

    text-decoration:none;

}

/* Buttons */

.woocommerce ul.products li.product .button {

    width:100%;

    margin-top:12px;

    border-radius:8px;

    font-weight:600;

    transition:.3s;

}

.woocommerce ul.products li.product .button:hover {

    transform:translateY(-2px);

}
/* ==========================================
   PREMIUM DISCOUNT BADGE
========================================== */

.woocommerce ul.products li.product span.onsale,
.tax-product_cat span.onsale,
.tax-product_tag span.onsale,
.post-type-archive-product span.onsale{

    background:#16a34a !important;
    background-image:none !important;
    color:#fff !important;

    width:46px;
    height:46px;

    min-width:46px;
    min-height:46px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:11px;
    font-weight:700;

    position:absolute;

    top:8px;
    right:8px;

    left:auto;

    z-index:99;

    box-shadow:0 4px 12px rgba(22,163,74,.20);

    padding:0;
}
/* ==========================================
   MOBILE BADGE POSITION FIX
========================================== */

@media (max-width:768px){

.woocommerce ul.products li.product span.onsale{

    width:40px;
    height:40px;

    min-width:40px;
    min-height:40px;

    font-size:10px;

    top:6px;

    right:6px;

}

}
/* ==========================================
   SINGLE PRODUCT DISCOUNT BADGE
========================================== */

.single-product span.onsale{

    background:#16a34a !important;
    background-image:none !important;
    color:#fff !important;

    width:54px;
    height:54px;

    min-width:54px;
    min-height:54px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:13px;
    font-weight:700;
    line-height:1;

    position:absolute;
    top:18px;
    left:18px;

    padding:0;

    border:none;

    box-shadow:0 5px 12px rgba(22,163,74,.22);

    z-index:999;
}
/* ==========================================
   PRODUCT TITLE
========================================== */

/* ==========================================
   PRODUCT TITLE (PREMIUM)
========================================== */

.woocommerce-loop-product__title {

    font-size: 18px;

    font-weight: 600;

    line-height: 1.45;

    color: #222;

    margin: 15px 0 12px;

    min-height: auto;

    overflow: visible;

    white-space: normal;

    word-break: break-word;
}