

        .new-product-list-section {
            padding: 40px 0;
            background-color: #ffffff;
        }

        /* .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; } */

        .product-grid {
            display: grid;
            gap: 20px;
            /* Khoảng cách giữa các sản phẩm */
            margin-bottom: 30px;
        }

        .product-card {
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
            background-color: #fff;
            transition: box-shadow 0.3s ease, transform 0.3s ease;
        }

        .product-card:hover {
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            transform: translateY(-5px);
            /* Hiệu ứng nâng nhẹ */
        }

        .product-link {
            text-decoration: none;
            color: inherit;
            display: block;
            height: 100%;
            /* Đảm bảo thẻ a bao trọn card */
        }

        .product-image-wrap {
            position: relative;
            overflow: hidden;
            padding-top: 100%;
            /* Giữ tỷ lệ 1:1 cho ảnh */
        }

        .product-image-wrap img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .product-card:hover .product-image-wrap img {
            transform: scale(1.05);
            /* Hiệu ứng zoom nhẹ khi hover */
        }

        .sale-tag {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: #ff5722;
            color: white;
            font-size: 12px;
            font-weight: bold;
            padding: 4px 8px;
            border-radius: 4px;
            z-index: 10;
        }

        .product-info {
            padding: 15px;
            text-align: center;
        }

        .product-name {
            font-size: 16px;
            font-weight: 700;
            color: #333;
            margin-bottom: 8px;
            /* Giới hạn tên sản phẩm 2 dòng */
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 40px;
        }

        .product-desc {
            font-size: 13px;
            color: #777;
            margin-bottom: 15px;
            /* Giới hạn mô tả 1 dòng */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-price {
            margin-bottom: 15px;
        }

        .current-price {
            font-size: 20px;
            font-weight: 800;
            color: #d90429;
            /* Màu đỏ nổi bật cho giá hiện tại */
            margin-right: 10px;
        }

        .old-price {
            font-size: 14px;
            color: #999;
            text-decoration: line-through;
        }
        .product-actions {
            margin-top: 10px;
        }

        .btn-detail {
            display: inline-block;
            padding: 8px 20px;
            background-color: #2a9d8f;
            /* Màu xanh lá thân thiện */
            color: white;
            font-weight: 600;
            border-radius: 4px;
            transition: background-color 0.3s;
            font-size: 14px;
        }

        .box-sidebar {
            text-align: center;
            padding: 20px 0 0 0;

        }

        .box-sidebar h2 {

            text-align: center;
            font-size: 28px;
            color: #333;
            margin-top: 5px;
            margin-bottom: 20px;
            border-bottom: 2px solid #EAA926;
            display: inline-block;
            padding-bottom: 5px;

        }

        .hot-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            /*ở góc trên bên trái */

            background-color: #ff0000;
            color: white;
            font-size: 12px;
            font-weight: bold;
            padding: 4px 8px;
            border-radius: 4px;
            z-index: 10;

            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
            /* transform: rotate(-5deg); */
        }

        /*thẻ sale-tag vẫn ở góc phải */
        .sale-tag {
            position: absolute;
            top: 10px;
            right: 10px;
        }

        .product-card:hover .btn-detail {
            background-color: #218380;
        }

        .view-all-button {
            text-align: center;
            margin-top: 30px;
        }

        .btn-view-all {
            display: inline-block;
            padding: 10px 30px;
            background-color: #ff5722;
            color: white;
            font-size: 16px;
            font-weight: 700;
            text-decoration: none;
            border-radius: 50px;
            transition: background-color 0.3s;
            border: 2px solid #ff5722;
        }

        .btn-view-all:hover {
            background-color: #e64a19;
            border-color: #e64a19;
        }


/* Vùng bao ngoài - cố định vị trí */
.float-contact-wrapper {
    position: fixed;
    bottom: 30px; /* Cách đáy 30px */
    right: 20px; /* Cách phải 20px */
    z-index: 9999; /* nổi lên trên cùng */
    /* pointer-events: none; */ 
}

/* Nút bấm bật/tắt chính (Icon) */
.contact-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #d90429;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    line-height: 1; /* Căn giữa icon */
}

.contact-toggle-btn:hover {
    background-color: #ef233c;
    transform: scale(1.05);
}

/* Hộp nội dung liên hệ */
.contact-box-content {
    display: none; /* Ban đầu ẩn đi */
    position: absolute;
    bottom: 80px; /* Nằm phía trên icon */
    right: 0;
    width: 250px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 10px;
}

.contact-box-content h2 {
    text-align: center;
    font-size: 18px;
    color: #2a9d8f;
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.contact-box-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-box-content li {
    margin-bottom: 8px;
}

.contact-box-content a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.contact-box-content a:hover {
    background-color: #f0f0f0;
    color: #d90429;
}

.contact-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
}

/* Custom icon colors */
.icon-zalo { background-color: #0084ff; } 
.icon-phone { background-color: #ff5722; } 
.icon-facebook { background-color: #1877f2; }
        /* Màn hình Mobile (dưới 576px) */
        @media (max-width: 575px) {
            .product-grid {
                grid-template-columns: repeat(2, 1fr);
                /* 2 cột */
                gap: 15px;
            }

            .product-name {
                font-size: 14px;
                min-height: 36px;
            }

            .current-price {
                font-size: 16px;
            }

            .old-price {
                font-size: 12px;
            }
        }

        /* Màn hình Tablet (576px đến 991px) */
        @media (min-width: 576px) and (max-width: 991px) {
            .product-grid {
                grid-template-columns: repeat(3, 1fr);
                /* 3 cột */
                gap: 20px;
            }
        }

        /* Màn hình Desktop (992px trở lên) */
        @media (min-width: 992px) {
            .product-grid {
                grid-template-columns: repeat(4, 1fr);
                /* 4 cột */
                gap: 25px;
            }
        }
.btn-buy-add-cart:hover, 
#addToCartButton:hover {

    background-color: hsl(31, 86%, 37%); 
    transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    color: #fff;
    transition: all 0.3s ease;
}
.btn-buy-add-cart, 
#addToCartButton {
    transition: all 0.3s ease; 
}


.btn-buy.btn-2:hover {
    background-color: #2e7d32; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.btn-buy.btn-2 {
    transition: all 0.3s ease;
}
#cart-item-count{

position: absolute;
        top: -5px; 
        right: 7px;
        background-color: red;
        color: white;
        border-radius: 50%;
        padding: 2px 6px;
        font-size: 12px;
        font-weight: bold;
        display: none; 
    
}
#cart-mobile-item-count{

position: absolute;
        top: -5px; 
        right: 7px;
        background-color: red;
        color: white;
        border-radius: 50%;
        padding: 2px 6px;
        font-size: 12px;
        font-weight: bold;
        display: none; /* Ẩn ban đầu nếu giỏ hàng trống */
    
}


.news-card-new:hover .news-image-wrap-new img {
    transform: scale(1.05);
}