/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/



/*************** ADD CUSTOM CSS HERE.   ***************/


/*
.header-inner.flex-row.container {
    max-width: 80%;
}
*/
/* ================================
   FLATSOME – WOO PRODUCT CARD STYLE
   Modern • Clean • Conversion Focus
================================ */

/* Card sản phẩm */
.product-small.box {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: all .35s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    border:1px solid #d0d0d0;
}

.product-small.box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.15);

}

/* Ảnh sản phẩm */
.product-small img {
    transition: transform .5s ease;
}

.product-small:hover img {
    transform: scale(1.08);
}

/* Badge SALE */
.badge-inner.secondary {
    background: linear-gradient(135deg,#ff416c,#ff4b2b);
    color: #fff;
    font-weight: 600;
    border-radius: 20px;
    padding: 6px 14px;
    box-shadow: 0 6px 12px rgba(255,75,43,.4);
}

/* Tên sản phẩm – tối đa 2 dòng */
.product-small .name a{
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Giá */
.product-small .price {
    font-size: 18px;
    font-weight: 700;
    color: #e53935;
}

.product-small .price del {
    color: #999;
    font-size: 14px;
}

/* Nút Add to cart */
.product-small .button {
    border-radius: 30px;
    padding: 10px 18px;
    font-weight: 600;
    background: linear-gradient(135deg,#00c853,#00bfa5);
    color: #fff;
    border: none;
    transition: all .3s ease;
}

.product-small .button:hover {
    background: linear-gradient(135deg,#00bfa5,#00c853);
    transform: scale(1.05);
}

/* Icon phụ (wishlist / compare) */
.product-small .wishlist-icon,
.product-small .compare-button {
    opacity: 0;
    transform: translateY(10px);
    transition: all .3s ease;
}

.product-small:hover .wishlist-icon,
.product-small:hover .compare-button {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile tối ưu */
@media (max-width: 768px) {
    .product-small .name {
        font-size: 14px;
    }

    .product-small .price {
        font-size: 16px;
    }
}
p.name.product-title.woocommerce-loop-product__title a {
    color: #1c5634;
    margin: 10px 0px;
}

.price-wrapper .price bdi {
    color: red;
}
.absolute-footer{
    display: none;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}