<!-- start Simple Custom CSS and JS -->
<style type="text/css">
/* =====================================================
   HOME – RESET AN TOÀN
===================================================== */
#main .section {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* =====================================================
   HOME DEAL PRODUCTS – FINAL STABLE
===================================================== */

/* Reset box sizing */
.hone-deal-column2-products,
.hone-deal-column2-products * {
    box-sizing: border-box;
}

/* Khoảng cách giữa item */
.hone-deal-column2-products .product-small.col {
    padding: 14px;
}

/* =====================================================
   BOX SẢN PHẨM
===================================================== */
.hone-deal-column2-products .product-small.box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden; /* giữ bo góc đẹp */
    
    height: 100%;
    display: flex;
    flex-direction: column;

    transition: border-color 0.25s ease,
                box-shadow 0.25s ease;
}

/* Hover – KHÔNG translate */
.hone-deal-column2-products .product-small.box:hover {
    border-color: #001b56;
    box-shadow: 0 16px 36px rgba(0,0,0,0.14);
}

/* =====================================================
   ẢNH SẢN PHẨM – GIỮ GIỮA + KHÔNG DÍNH
===================================================== */

/* Không bo góc ảnh */
.hone-deal-column2-products .box-image,
.hone-deal-column2-products .box-image img {
    border-radius: 0 !important;
}

/* Khung ảnh */
.hone-deal-column2-products .box-image {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 14px;
    margin-top: 4px;

    min-height: 210px;
    overflow: hidden;
}

/* Ảnh */
.hone-deal-column2-products .box-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Badge */
.hone-deal-column2-products .badge-container {
    top: 8px;
    left: 8px;
}

/* =====================================================
   TEXT
===================================================== */
.hone-deal-column2-products .box-text {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Category */
.hone-deal-column2-products .product-cat {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 6px;
}

/* Title */
.hone-deal-column2-products .product-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: calc(1.4em * 2);
}

.hone-deal-column2-products .product-title a {
    color: #001b56;
}

.hone-deal-column2-products .product-title a:hover {
    text-decoration: underline;
}

/* =====================================================
   GIÁ
===================================================== */
.hone-deal-column2-products .price-wrapper {
    margin-top: auto;
}

.hone-deal-column2-products .price,
.hone-deal-column2-products .price * {
    color: #d0021b !important;
    font-size: 20px !important;
    font-weight: 700;
}

/* =====================================================
   ACTION BUTTON
===================================================== */
.hone-deal-column2-products .product-action-bar {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.hone-deal-column2-products .action-btn {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 6px;
    border-radius: 6px;
    text-align: center;
    transition: background 0.2s ease;
}

.hone-deal-column2-products .detail-btn {
    background: #001b56;
    color: #fff;
}

.hone-deal-column2-products .detail-btn:hover {
    background: #000f3a;
}

.hone-deal-column2-products .quote-btn {
    background: #e60000;
    color: #fff;
}

.hone-deal-column2-products .quote-btn:hover {
    background: #c40000;
}

/* Ẩn add to cart */
.hone-deal-column2-products .add-to-cart-button {
    display: none;
}

/* =====================================================
   FLICKITY – AN TOÀN
===================================================== */
.hone-deal-column2-products .flickity-slider {
    display: flex;
}

.hone-deal-column2-products .flickity-viewport {
    padding-bottom: 0;
}

/* =====================================================
   MOBILE
===================================================== */
@media (max-width: 768px) {
    .hone-deal-column2-products .box-image {
        min-height: 180px;
        padding: 12px;
    }

    .hone-deal-column2-products .product-title {
        font-size: 14px;
    }

    .hone-deal-column2-products .price,
    .hone-deal-column2-products .price * {
        font-size: 18px !important;
    }
}
@media screen and (min-width: 550px) {
    .hone-deal-column2-products .box-vertical .box-image {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}
.product-stacked-info{
	padding: 0px;
}

/* =====================================
   FIX TRIỆT ĐỂ TÊN SẢN PHẨM BỊ ĐÈ GIÁ
   FLATSOME - PRODUCT HORIZONTAL + SLIDER
   ===================================== */

/* 1. Ép box-text thành layout cột chuẩn */
.product-list-horizontal .box-text,
.row-slider .box-text-products {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    gap: 6px;
}

/* 2. FIX CỨNG title: 1 dòng – không bao giờ xuống hàng */
.product-list-horizontal .product-title,
.product-list-horizontal .product-title a,
.row-slider .product-title,
.row-slider .product-title a {
    display: inline-block !important;
    width: 100%;
    max-width: 100%;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.25em !important;
}

/* 3. KHÓA CHIỀU CAO title (đây là mấu chốt) */
.product-list-horizontal .title-wrapper,
.row-slider .title-wrapper {
    height: 1.25em !important;
    overflow: hidden !important;
}

/* 4. Ép giá luôn nằm dưới title */
.product-list-horizontal .price-wrapper,
.row-slider .price-wrapper {
    margin-top: 0 !important;
    line-height: 1.4em;
    position: relative;
    z-index: 3;
}

/* 5. Chặn mọi kiểu absolute / translate gây đè */
.product-list-horizontal .price,
.row-slider .price {
    position: static !important;
    transform: none !important;
}

/* 6. Fix nút đọc tiếp */
.product-list-horizontal .add-to-cart-button,
.row-slider .add-to-cart-button {
    margin-top: 4px;
}

/* 7. Mobile vẫn giữ 1 dòng */
@media (max-width: 549px) {
    .product-list-horizontal .product-title a {
        font-size: 14px;
    }
}
/* TẮT SHADOW NÚT PREV / NEXT CỦA SLIDER (FLATSOME) */
.slider-nav-reveal .flickity-prev-next-button,
.slider-nav-reveal .flickity-prev-next-button:hover {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

</style>
<!-- end Simple Custom CSS and JS -->
