li.product {
    border: 1px solid lightgray;
    border-radius: 20px;
    margin-bottom: 40px !important;
    padding: 13px !important;
    transition: all .6s ease;
    cursor: pointer;
}

li.product:hover {
    transform: translateY(-3px);
}

/* =========================================
   PRODUCT CARD
========================================= */

.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    box-sizing: border-box;
}


/* =========================================
   LINK BAO THÔNG TIN SẢN PHẨM
========================================= */

.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* =========================================
   KHU VỰC HÌNH ẢNH
========================================= */

.ws247-ea-img-wrapper {
    width: 100%;
    height: 210px;
    min-height: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.ws247-ea-img-wrapper img {
    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
    object-position: center;
}


/* =========================================
   TÊN SẢN PHẨM
========================================= */

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    height: 3.6rem;
    min-height: 3.6rem;

    margin: 12px 0 8px;

    color: #fe9900;
    font-size: 20px;
    line-height: 1.6rem;
    font-weight: 600;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}


/* =========================================
   RATING
========================================= */

.woocommerce ul.products li.product .star-rating {
    margin: 4px 0 8px;
    min-height: 20px;
}


/* =========================================
   GIÁ
========================================= */

.woocommerce ul.products li.product .price {
    display: flex;
    flex-direction: column;
    min-height: 28px;
    margin: 0;
    gap: 5px;
}


/* =========================================
   NÚT ADD TO CART
========================================= */

.ws247-ea-atc-wrapper {
    margin-top: auto;
    padding-top: 15px;
    text-align: center;
}

.ws247-ea-atc-wrapper a.button.add_to_cart_button {
    width: 100%;

    min-height: 46px;
    padding: 10px 24px;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #fff;

    background: linear-gradient(135deg,
            #FC9B05,
            #FF6B00);

    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}


/* Hover */

.ws247-ea-atc-wrapper a.button.add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.5);
}


/* =========================================
   ICON
========================================= */

.ws247-ea-atc-wrapper a.button.add_to_cart_button svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    flex-shrink: 0;
}


/* =========================================
   LOADING
========================================= */

.ws247-ea-atc-wrapper a.button.loading {
    position: relative;
}

.ws247-ea-atc-wrapper a.button.loading::after {
    content: "";

    position: absolute;

    width: 16px;
    height: 16px;

    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;

    border-radius: 50%;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    margin: 0;

    animation: ws247-spin 0.8s linear infinite;
}

.ws247-ea-atc-wrapper a.button.loading svg {
    opacity: 0.4;
}


/* Ẩn View Cart */

.ws247-ea-atc-wrapper a.added_to_cart {
    display: none !important;
}

@keyframes ws247-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    background-color: #fe9900;
    border-radius: 10px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current {
    color: #fff;
}