.woocommerce-ordering, .woocommerce-result-count {
    margin: 0 0 24px !important;
}

ul.products>* {
    padding-bottom: 48px !important;
}

.woocommerce-loop-product__title {
    font-size: 18px !important;
    color: #666 !important;
    margin-top: 8px !important;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
            line-clamp: 2; 
    -webkit-box-orient: vertical;

    height: 43px;
}

.ju-product-item:hover .woocommerce-loop-product__title {
    color: var(--Second-Color-Green) !important;
}

.ju-hot-new {
    position: absolute;
    top:  16px;
    left: 16px;
    z-index: 1;
}
.ju-hot-new>*>* {
    border-radius: 4px;
    background: #F9726F;
    color:  #FFF;
    padding: 4px 8px;
    font-size: 18px;
    font-weight: 600;
}
.ju-hot-new .uk-grid-margin {
    margin-top: 8px !important;
}

.ju-product-buy-now {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    background: var(--Primary);
    font-weight: 600;
    color: #fff;
    transform: translateY(100%);
    transition: all .3s;
}

.ju-product-buy-now:hover {
    background: var(--Second-Color-Green);
}

.ju-product-item:hover .ju-product-buy-now {
    transform: translateY(0%);
}

.ju-product-empty {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
}

.ju-product-empty-text {
    padding: 16px;
    background: #666;
    color: #fff;
    font-weight: 600;
}

.ju-product-cat {
    font-size: 16px;
    color: #C5C5C5;
    transition: all .3s;
}

.ju-product-item:hover .ju-product-cat {
    color: #2A2A2A;
}

.price ins bdi {
    font-size: 20px;
    font-weight: 700;
}
.price bdi {
    font-size: 20px;
    font-weight: 700;
}
.price del {
    margin-left: 12px !important;
}
.price del bdi {
    font-size: 16px;
    color: #666;
}

.ju-product-rating {
    color: #2A2A2A;
    font-size: 16px;
}

.ju-product-item .themgiohang svg path {
    transition: all .3s;
}

.ju-product-item .themgiohang:hover svg path {
    fill: var(--Second-Color-Green) !important;
}

.ju-product-item .uk-overflow-hidden {
    border-radius: 8px 8px 0 0;
}

.ju-product-price-rating {
    margin-top: 16px;
}

/* --- Chi tiết sản phẩm --- */
.woocommerce table.variations th.label {
    font-size: 20px !important;
    font-weight: 600 !important;
}


.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
    border-radius: 100px !important;
    padding: 8px 24px !important;
    font-size: 18px !important;
    height: 44px;
    border-color: #B0E0E6 !important;
    box-shadow: unset !important;
    border: 1px solid #B0E0E6;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover {
    background: #B0E0E6 !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover {
    background: #B0E0E6 !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled {
    background: #C5C5C5 !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled .variable-item-contents:before {
    background-image: unset !important;
}

.tm-element-woo-add-to-cart .quantity {
    float: unset !important;
}

.tm-element-woo-add-to-cart .uk-text-success {
    font-weight: 500;
}

.tm-element-woo-add-to-cart .ju-size {
    color: #666;
    text-decoration: underline;
    transition: all .3s;
    cursor: pointer;
}
.tm-element-woo-add-to-cart .ju-size:hover {
    color: var(--Second-Color-Green);
}

.tm-element-woo-add-to-cart .quantity input {
    border: unset !important;
}

.jp_custom_cart_button {
    margin-top: 24px;
}

.jp_custom_cart_button .buynow  {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 60px;
}
.jp_custom_cart_button .div-themgiohang  {
    border-radius: 12px;
    background: #F7CAC9;
    cursor: pointer;
    transition: all .3s;
}
.jp_custom_cart_button .div-themgiohang:hover  {
    background:  #F9726F;
    color: #fff;
}
.jp_custom_cart_button .themgiohang  {
    font-size: 18px;
    line-height: 60px;
}
.jp_custom_cart_button .div-lienhe  {
    border-radius: 12px;
    cursor: pointer;
    transition: all .3s;
    line-height: 60px;
    border: 1px solid #B0E0E6;
}
.jp_custom_cart_button .div-lienhe:hover  {
    background: #B0E0E6;
}


/* --- End --- */

@media(max-width:640px) {
    ul.columns-4>* {
        width: 50% !important;
    }
    ul.products {
        margin-left: -20px !important;
    }
    ul.products>* {
        padding-bottom: 20px !important;
        padding-left: 20px !important;
    }
    .ju-hot-new {
        top:  8px;
        left: 8px;
    }
    .ju-hot-new>*>* {
        padding: 4px 6px;
        font-size: 12px;
    }
    .ju-hot-new .uk-grid-margin {
        margin-top: 4px !important;
    }

    .woocommerce-loop-product__title {
        font-size: 14px !important;
        margin-top: 4px !important;
    
        height: 34px;
    }
    .ju-product-cat {
        font-size: 12px;
    }
    .price ins bdi {
        font-size: 16px;
    }
    .price del {
        margin-left: 4px !important;
    }
    .price del bdi {
        font-size: 12px;
    }
    
    .ju-product-rating {
        font-size: 12px;
    }
    .ju-product-item span[uk-icon="i-star"] {
        width: 15px;
        height: 15px;
    }
    .ju-product-price-rating {
        margin-top: 8px;
    }
    .ju-product-buy-now {
        padding: 8px;
        font-size: 16px;
    }
    .ju-product-empty-text {
        padding: 8px;
        font-size: 16px;
    }
}