@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//ledthomson.kimkhivanan.com.vn/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.0.6") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//ledthomson.kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//ledthomson.kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//ledthomson.kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//ledthomson.kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//ledthomson.kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//ledthomson.kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//ledthomson.kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//ledthomson.kimkhivanan.com.vn/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-cat-brd-radius: 300px;
	--wd-text-font: Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: Arial, Helvetica, sans-serif;
	--wd-widget-title-font: Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(65,105,225);
	--wd-alternative-color: rgb(44,44,44);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(224,157,0);
	--btn-accented-bgcolor-hover: rgb(249,141,0);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(255,255,255);
	background-image: url(https://ledthomson.kimkhivanan.com.vn/wp-content/uploads/2021/09/retail-popup-bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(252,252,252);
	--wd-bordered-bg:rgb(252,252,252);
}
.wd-page-title {
	background-color: rgb(0,0,0);
	background-image: url(https://ledthomson.kimkhivanan.com.vn/wp-content/uploads/2026/01/Thomson-9.png);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(234,231,225);
	background-image: none;
}
html .product.category-grid-item .wd-entities-title, html .product.category-grid-item.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .category-grid-item:first-child .wd-entities-title, html .product.wd-cat .wd-entities-title {
	font-size: 16px;
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-color: rgb(110,190,69);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}







/* 1. Xóa bỏ dấu X (đè lên các style cũ của theme/plugin) */
.variable-item.disabled:before, 
.variable-item.disabled:after,
.variable-item.button-variable-item.disabled:before,
.variable-item.button-variable-item.disabled:after {
    display: none !important;
    content: none !important;
}

/* 2. Làm nút bị xám và hiệu ứng không thể chọn */
.variable-item.button-variable-item.disabled {
    opacity: 0.4 !important; /* Độ mờ của nút */
    background-color: #f5f5f5 !important; /* Màu nền xám nhẹ */
    border-color: #ddd !important; /* Màu viền xám */
    cursor: not-allowed !important; /* Đổi con trỏ chuột thành biển cấm */
    pointer-events: none !important; /* Chặn hoàn toàn tương tác chuột */
}

/* 3. Làm xám màu chữ bên trong */
.variable-item.button-variable-item.disabled .variable-item-span {
    color: #999 !important;
    text-decoration: none !important; /* Bỏ gạch ngang nếu có */
}










/* Container cha để định vị label */
.menu-item-with-label {
    position: relative !important;
    padding-top: 25px !important; /* Tạo khoảng trống phía trên để không bị label đè mất chữ */
    display: block !important;
}

/* Thiết kế Label hiển thị trên đầu chữ */
.label-unique {
    position: absolute;
    top: 5px;             /* Khoảng cách từ đỉnh thẻ a xuống */
    left: 20px;            /* Căn lề trái bằng với padding của text */
    background: #9E1B32;  /* Màu đỏ đô đồng bộ */
    color: #ffffff;
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 1px 6px;
    line-height: 1.4;
    border-radius: 2px;    /* Bo góc nhẹ giống ảnh HOT mẫu */
    white-space: nowrap;
    z-index: 1;
}

/* Tạo mũi tên nhỏ phía dưới label (tùy chọn - giống ảnh HOT) */
.label-unique::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 8px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #9E1B32;
}

/* Hiệu ứng khi hover vào mục menu */
.main-menu > li:hover .label-unique {
    background: #ff0000; /* Đổi sang đỏ tươi khi hover để nổi bật */
}

.main-menu > li:hover .label-unique::after {
    border-top-color: #ff0000;
}

/* Hiệu ứng nhấp nháy tinh tế */
@keyframes pulse-red {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.label-unique {
    animation: pulse-red 2s infinite ease-in-out;
}





/* Loại bỏ nền trắng, đổ bóng và padding mặc định của khung Dropdown Woodmart */
.wd-dropdown-menu.wd-dropdown.wd-design-default {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
}

/* Loại bỏ khoảng cách trong Container của Elementor bên trong Dropdown */
.wd-dropdown-menu .container.wd-entry-content,
.wd-dropdown-menu .elementor-17575 .e-con-inner {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

/* Đảm bảo menu dọc của bạn khít sát và không bị lệch */
.led-thomson-nav-vertical {
    margin: 0 !important;
    border: none !important; /* Bạn có thể giữ hoặc bỏ viền tùy ý */
}

/* Nếu dropdown vẫn bị rộng hơn menu, ép chiều rộng của khung ngoài bằng menu */
.wd-dropdown-menu.wd-dropdown {
    min-width: auto !important;
    width: fit-content !important;
}
/* Khung bao ngoài menu dọc */
.led-thomson-nav-vertical {
    background: #ffffff; /* Nền trắng cho khối menu giống ảnh mẫu */
    width: 280px;        /* Độ rộng của menu dọc */
    font-family: Arial, sans-serif;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.1);
    border: 1px solid #e1e1e1;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Chuyển thành hàng dọc */
}

/* Các mục menu chính */
.main-menu > li {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.main-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: #333; /* Chữ đen trên nền trắng */
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hover menu chính: Chữ đỏ giống ảnh mẫu */
.main-menu > li:hover > a {
    color: #9E1B32; 
    background: #f9f9f9;
}

/* --- CẤU HÌNH SUB-MENU (Xổ sang bên phải) --- */
.sub-menu {
    position: absolute;
    top: 0;          /* Khớp với đỉnh của mục cha */
    left: 100%;      /* Đẩy sang hẳn bên phải của mục cha */
    width: 250px;
    background: #ffffff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px); /* Hiệu ứng trượt từ trái sang phải */
    transition: all 0.3s ease;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e1e1e1;
    z-index: 999;
}

/* Hiển thị sub-menu khi di chuột vào mục cha */
.has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

/* Hover mục con: Nền đỏ chữ trắng nổi bật */
.sub-menu li:hover > a {
    background: #9E1B32;
    color: #ffffff !important;
}

/* Mũi tên chỉ dẫn bên phải */
.arrow {
    float: right;
    font-size: 14px;
    color: #ccc;
}

.main-menu > li:hover .arrow {
    color: #9E1B32;
}









/* CHỈ ÁP DỤNG TRÊN DESKTOP (Màn hình từ 1025px trở lên) */
@media (min-width: 1025px) {

    /* --- LOGO TÙY CHỈNH --- */
    .whb-column.whb-col-left,
    .site-logo,
    .wd-logo,
    .wd-main-logo {
        height: auto !important;
        max-height: none !important;
        display: flex !important;
        align-items: center !important;
    }

    .site-logo img.attachment-full {
        width: 300px !important; 
        max-height: none !important;
        height: auto !important;
    }

    /* --- MENU CHÍNH TRÀN VIỀN MÀU ĐỎ --- */
    .wd-header-nav.wd-header-main-nav,
    .wd-header-nav.wd-header-main-nav > .wd-nav-main {
        height: 100% !important;
        display: flex !important;
        align-items: stretch !important;
        gap: 0 !important;
        --wd-nav-gap: 0px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #menu-ledthomsonmenu.wd-nav-main > li {
        height: auto !important;
        display: flex !important;
        margin-right: 2px !important;
        padding: 0 !important;
    }

    #menu-ledthomsonmenu.wd-nav-main > li > a {
        height: 100% !important;
        width: 100% !important;
        padding: 0 25px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        border: none !important;
        color: #fff !important;
        background-color: transparent;
        border-radius: 0 !important;
    }

    #menu-ledthomsonmenu.wd-nav-main > li:hover > a,
    #menu-ledthomsonmenu.wd-nav-main > li.current-menu-item > a {
        background-color: #9E1B32 !important;
        color: #ffffff !important;
    }

    #menu-ledthomsonmenu.wd-nav-main > li:hover > a .nav-link-text,
    #menu-ledthomsonmenu.wd-nav-main > li.current-menu-item > a .nav-link-text {
        color: #ffffff !important;
    }

    #menu-ledthomsonmenu.wd-nav-main > li > a:after {
        display: none !important;
    }

    .whb-column.whb-col-center {
        height: 100% !important;
        display: flex !important;
        align-items: center;
    }

    /* --- BỘ 3 ICON: SEARCH, WISHLIST, CART (PHƯƠNG ÁN TRẮNG) --- */
    .wd-header-cart.whb-4tjzrpuy17oi4ze55vkj .wd-tools-icon,
    .wd-header-wishlist.whb-x5hvx800ife876gxoeax .wd-tools-icon {
        background-color: transparent !important;
        color: #ffffff !important;
        width: 45px !important;
        height: 45px !important;
        border-radius: 50% !important;
        border: 1px solid rgba(255,255,255,0.2) !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        transition: all 0.3s ease;
    }

    .wd-header-cart.whb-4tjzrpuy17oi4ze55vkj:hover .wd-tools-icon,
    .wd-header-wishlist.whb-x5hvx800ife876gxoeax:hover .wd-tools-icon {
        background-color: #9E1B32 !important;
        color: #ffffff !important;
        border-color: #9E1B32 !important;
    }

    /* Ẩn text thừa */
    .wd-header-cart.whb-4tjzrpuy17oi4ze55vkj .wd-tools-text,
    .wd-header-wishlist.whb-x5hvx800ife876gxoeax .wd-tools-text,
    .wd-header-cart.whb-4tjzrpuy17oi4ze55vkj .wd-cart-number span {
        display: none !important;
    }

    /* Căn chỉnh khối */
    .wd-header-cart.whb-4tjzrpuy17oi4ze55vkj,
    .wd-header-wishlist.whb-x5hvx800ife876gxoeax {
        display: flex !important;
        align-items: center;
        margin-left: 10px;
    }

    /* Số đếm đỏ chữ trắng */
    .wd-header-cart.whb-4tjzrpuy17oi4ze55vkj .wd-tools-count,
    .wd-header-wishlist.whb-x5hvx800ife876gxoeax .wd-tools-count {
        background-color: #9E1B32 !important;
        color: #ffffff !important;
        top: -2px !important;
        right: -2px !important;
        border: 2px solid #000000 !important;
        min-width: 18px;
        height: 18px;
        font-size: 10px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
}

/* --- XỬ LÝ MOBILE (Dưới 1024px) --- */
@media (max-width: 1024px) {
    /* Ép tất cả các ID/Class tùy chỉnh phía trên về trạng thái ẩn hoặc mặc định nếu cần */
    /* Tuy nhiên, vì toàn bộ code trên nằm trong min-width: 1025px nên mobile sẽ tự bỏ qua */
    
    body {
        overflow-x: hidden;
    }
}





















/* Thu nhỏ toàn bộ container */
.mini-luxury-form {
    max-width: 380px; /* Thu hẹp chiều ngang */
    margin: 0 auto;
    background: #fff;
    padding: 10px;
}

.form-header-mini {
    text-align: center;
    margin-bottom: 20px;
}

.form-header-mini h3 {
    font-size: 20px; /* Chữ nhỏ hơn */
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.form-header-mini .divider {
    width: 40px;
    height: 2px;
    background: #9E1B32;
    margin: 0 auto;
}

/* Tối ưu các ô nhập liệu */
.mini-luxury-form input[type="text"],
.mini-luxury-form input[type="tel"],
.mini-luxury-form input[type="email"],
.mini-luxury-form textarea {
    width: 100% !important;
    padding: 10px 12px !important; /* Padding nhỏ hơn */
    margin-bottom: 12px !important; /* Khoảng cách giữa các ô hẹp lại */
    border: 1px solid #ececec !important;
    background: #fcfcfc !important;
    border-radius: 3px !important;
    font-size: 13px !important; /* Chữ nhỏ hơn */
    color: #333;
}

.mini-luxury-form textarea {
    height: 80px !important; /* Giảm chiều cao khung nhập liệu */
}

.mini-luxury-form input:focus, 
.mini-luxury-form textarea:focus {
    border-color: #113090 !important;
    background: #fff !important;
    outline: none;
}

/* Nút bấm nhỏ gọn */
.mini-luxury-form .submit-mini {
    margin-top: 5px;
}

.mini-luxury-form input[type="submit"] {
    width: 100% !important;
    background-color: #9E1B32 !important;
    color: #fff !important;
    padding: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 3px !important;
    letter-spacing: 1px !important;
    transition: 0.3s;
    border: none !important;
}

.mini-luxury-form input[type="submit"]:hover {
    background-color: #9E1B32 !important;
}

/* Chỉnh độ rộng của popup Magnific */
.mfp-content #contact-popup {
    max-width: 420px !important; /* Giới hạn độ rộng của khung trắng bên ngoài */
}











:root {

    --brand-color: #9E1B32; 

    --gray-light: #f4f4f4;

}



.timeline-container {

    padding: 80px 0;

    max-width: 1300px;

    margin: 0 auto;

    position: relative;

}



.timeline-header h2 {

    text-align: center;

    font-size: 32px;

    font-weight: 800;

    margin-bottom: 60px;

    letter-spacing: 2px;

}



/* Đường kẻ ngang trung tâm */

.timelineSwiper::before {

    content: "";

    position: absolute;

    top: 50%; /* Đưa vào giữa container để chia đôi trên/dưới */

    left: 0;

    width: 100%;

    height: 2px;

    background: #fff;

    z-index: 1;

    transform: translateY(-50%);

}



.timeline-item {

    display: flex;

    flex-direction: column; /* Mặc định: Dot -> Ảnh -> Text */

    padding: 0 15px;

    position: relative;

    z-index: 2;

    height: 550px; /* Cố định chiều cao để căn lề xen kẽ chuẩn */

    justify-content: center;

}



/* Chấm tròn nằm chính giữa đường kẻ */

.dot-line {

    position: absolute;

    top: 50%;

    left: 15px;

    transform: translateY(-50%);

    z-index: 10;

}



.dot {

    width: 16px;

    height: 16px;

    background: #fff;

    border: 3px solid var(--brand-color);

    border-radius: 50%;

    display: block;

}



/* HIỆU ỨNG XEN KẼ */



/* Slide LẺ (1, 3, 5...): Ảnh trên, Text dưới */

.swiper-slide:nth-child(odd) .timeline-item {

    justify-content: flex-start; /* Đẩy nội dung lên trên */

    padding-top: 280px; /* Tạo khoảng trống phía trên cho ảnh */

}

.swiper-slide:nth-child(odd) .img-box {

    position: absolute;

    top: 0;

    width: calc(100% - 30px);

}



/* Slide CHẴN (2, 4, 6...): Text trên, Ảnh dưới */

.swiper-slide:nth-child(even) .timeline-item {

    flex-direction: column-reverse; /* Đảo ngược vị trí */

    justify-content: flex-end;

    padding-bottom: 280px; /* Tạo khoảng trống phía dưới cho ảnh */

}

.swiper-slide:nth-child(even) .img-box {

    position: absolute;

    bottom: 0;

    width: calc(100% - 30px);

}



/* Tinh chỉnh hộp ảnh */

.img-box {

    height: 200px;

    overflow: hidden;

    border-radius: 10px;

    background: var(--gray-light);

    box-shadow: 0 5px 15px rgba(0,0,0,0.08);

}



.img-box img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;

}



/* Tinh chỉnh hộp nội dung */

.content-box {

    padding: 20px 0;

}



.year-header {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 5px;

}



.year-text {

    font-size: 22px;

    font-weight: 800;

    color: var(--brand-color);

}



.desc {

    font-size: 14px;

    color: #444;

    line-height: 1.5;

    margin: 0;

}



/* Nút điều hướng */

.custom-nav {

    width: 40px !important;

    height: 40px !important;

    background: #fff !important;

    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;

    border-radius: 50% !important;

    color: var(--brand-color) !important;

    top: 50% !important;

}



.custom-nav::after { font-size: 16px !important; }



/* Responsive cho Mobile: Trở về dạng danh sách bình thường */

@media (max-width: 768px) {

    .timelineSwiper::before { left: 23px; top: 0; height: 100%; width: 2px; transform: none; }

    .timeline-item { height: auto !important; padding: 20px 0 20px 50px !important; flex-direction: column !important; }

    .dot-line { top: 30px; left: 15px; transform: none; }

    .img-box { position: relative !important; width: 100% !important; margin-bottom: 15px; }

    .swiper-slide:nth-child(even) .timeline-item { flex-direction: column !important; }

}





































/* 1. Thiết lập chung */
.special-solutions-grid {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.special-solutions-grid li {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: box-shadow 0.4s ease;
}

.special-solutions-grid li:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.solution-item .image-wrapper {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.solution-item .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.15, 0.45, 0.35, 1);
}

/* 2. Lớp phủ đen mờ mặc định (Luôn hiện để thấy tiêu đề) */
.default-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    z-index: 1;
    transition: opacity 0.6s ease;
}

/* 3. Khối nội dung */
.description-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 25px;
    z-index: 3;
    text-align: right;
    background-color: transparent !important; /* Đảm bảo nền trong suốt để lộ lớp trượt */
}

/* Lớp nền đỏ trượt lên - CỰC MƯỢT */
.description-box::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(158, 27, 50, 0.98); 
    z-index: -1;
    transform: translateY(100%); 
    transition: transform 0.85s cubic-bezier(0.2, 1, 0.3, 1);
}

.special-solutions-grid li:hover .description-box::before {
    transform: translateY(0);
}

/* Tiêu đề luôn hiện */
.solution-name {
    color: #fff !important;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* Nội dung mô tả trượt sau nền đỏ */
.solution-docs {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.2, 1, 0.3, 1) 0.1s;
}

.special-solutions-grid li:hover .solution-docs {
    opacity: 1;
    height: auto;
    transform: translateY(0);
    margin-top: 15px;
}

/* 4. Nút "Xem thêm" màu trắng */
.slide-more-btn {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1) 0.3s;
    border: 1px solid #fff;
    padding: 7px 20px;
    color: #fff !important; /* CHỮ TRẮNG Ở ĐÂY */
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.special-solutions-grid li:hover .slide-more-btn {
    opacity: 1;
    transform: translateY(0);
}

.slide-more-btn:hover {
    background: #fff;
    color: #9E1B32 !important; /* Khi hover vào nút thì chữ chuyển sang màu đỏ thương hiệu */
    border-color: #fff;
}

/* 5. Các hiệu ứng phụ */
.special-solutions-grid li:hover img {
    transform: scale(1.15);
}

.special-solutions-grid li:hover .default-overlay {
    opacity: 0; /* Ẩn lớp đen khi lớp đỏ đã phủ lên */
}

.overlay-link {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 5;
}












.view-more-container {
    text-align: center;
    margin: 40px 0;
}

.btn-view-more-slide {
    position: relative;
    display: inline-block;
    height: 45px;
    line-height: 43px; /* Trừ đi 2px border để căn giữa chữ */
    padding: 0 79px;
    background-color: #9E1B32; /* Nền ban đầu màu đỏ */
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #9E1B32;
    border-radius: 4px;
    overflow: hidden; /* Quan trọng: Để che dải màu trắng khi nó chưa chạy */
    transition: color 0.4s ease;
    z-index: 1;
}

/* Tạo dải màu trắng bằng phần tử giả ::before */
.btn-view-more-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%; /* Nằm ẩn hoàn toàn bên trái */
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Màu trắng sẽ chạy ra */
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1; /* Nằm dưới lớp chữ */
}

/* Khi Hover: Dải màu chạy từ -100% về 0 */
.btn-view-more-slide:hover::before {
    left: 0;
}

/* Khi Hover: Đổi màu chữ sang đỏ */
.btn-view-more-slide:hover {
    color: #9E1B32 !important;
}

/* Đảm bảo chữ luôn nằm trên dải màu */
.btn-view-more-slide span {
    position: relative;
    z-index: 2;
}



















/* 1. Trạng thái ban đầu: Ẩn các nhãn size và đẩy chúng ra ngoài khung bên trái */
.hot-product .product-labels .attribute-label {
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50px); /* Đẩy sang trái 50px */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Hiệu ứng lướt mượt */
    display: block; /* Ép xuống dòng để lướt từng cái nếu có nhiều size */
    margin-bottom: 5px;
    width: fit-content;
}

/* 2. Khi hover vào khung sản phẩm: Hiện nhãn và lướt về vị trí cũ */
.hot-product .product-wrapper:hover .attribute-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* Trở về vị trí ban đầu */
}

/* 3. Hiệu ứng lướt so le (tùy chọn): Nhãn sau lướt chậm hơn nhãn trước cho đẹp */
.hot-product .attribute-label:nth-child(2) { transition-delay: 0.1s; }
.hot-product .attribute-label:nth-child(3) { transition-delay: 0.2s; }
.hot-product .attribute-label:nth-child(4) { transition-delay: 0.3s; }

/* 4. Giữ nguyên nhãn Giảm giá (nếu bạn không muốn ẩn nhãn -29%) */
/* Nếu muốn ẩn cả nhãn giảm giá thì xóa đoạn code dưới đây */
.hot-product .product-labels .onsale {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

/* 1. Thiết lập chiều cao cố định và kéo dài khung card */

.hot-product .product-grid-item {
    height: 100%; /* Đảm bảo các card cao bằng nhau trong 1 hàng */
    display: flex;
    flex-direction: column;
}



.hot-product .product-wrapper {
    height: 550px; /* BẠN CHỈNH ĐỘ DÀI CỦA CARD TẠI ĐÂY (Ví dụ: 500px, 550px...) */
    display: flex;
    flex-direction: column;
    padding: 0 !important; /* Loại bỏ padding để ảnh tràn viền */
}



/* 2. Ép phần chứa ảnh chiếm khoảng 70-75% chiều dài card và lấp đầy */

.hot-product .product-element-top {
    flex: 0 0 75%; /* Chiều cao ảnh chiếm 75% thẻ */
    margin-bottom: 0 !important;
    overflow: hidden;
    position: relative;
}



.hot-product .product-element-top a, 
.hot-product .product-element-top img {
    height: 100% !important;
    width: 100% !important;
    object-fit: fill; /* QUAN TRỌNG: Giúp ảnh lấp đầy khung mà không bị bóp méo */
    display: block;
}



/* 3. Phần nội dung (Tên, Giá) nằm ở dưới cùng */

.hot-product .product-element-bottom {
    flex: 1;
    padding: 20px; /* Tạo khoảng cách cho phần chữ sau khi ảnh đã tràn viền */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Căn chữ vào giữa khoảng còn lại */
    background: #fff;
}



/* 4. Tùy chỉnh thêm để đẹp hơn */
.hot-product .wd-entities-title {
    margin-bottom: 5px !important;
    font-size: 18px !important;
    
    /* Kỹ thuật giới hạn dòng hiện đại */
    display: -webkit-box;           /* Bắt buộc phải dùng box-layout */
    -webkit-line-clamp: 2;          /* Số dòng tối đa muốn hiển thị */
    -webkit-box-orient: vertical;   /* Hướng của box là dọc */
    overflow: hidden;               /* Ẩn phần thừa */
    text-overflow: ellipsis;        /* Hiện dấu ba chấm (...) */
    white-space: normal;            /* Cho phép xuống dòng (ghi đè nowrap cũ) */
    
    /* Đảm bảo chiều cao ổn định (tùy chọn) */
    line-height: 1.3;               /* Khoảng cách dòng để chữ không bị dính */
    min-height: 2.6em;              /* Giúp các khung sản phẩm đều nhau kể cả khi title chỉ có 1 dòng */
}

/* Giới hạn tên sản phẩm 1 dòng và hiện dấu ... */
.hot-product .wd-entities-title {
    white-space: nowrap;        /* Không cho xuống dòng */
    overflow: hidden;           /* Ẩn phần chữ thừa */
    text-overflow: ellipsis;    /* Hiện dấu ba chấm (...) */
    display: block;             /* Đảm bảo thuộc tính hoạt động */
    width: 100%;                /* Chiếm hết chiều ngang khung chứa */
}



/* Đảm bảo thẻ a bên trong cũng tuân thủ quy tắc này */

.hot-product .wd-entities-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

/* Tìm và ẩn chính xác cụm chữ 0 đ */
.hot-product .price {
    font-size: 16px; /* Ẩn giá gốc bằng cách cho cỡ chữ về 0 */
}


/* Nếu vẫn còn hiện số 0 ở đâu đó, dùng script hoặc CSS ẩn cụ thể */
span.woocommerce-Price-amount.amount:contains("0") {
    display: none !important;
}

/* Nút Wishlist đỏ rõ ràng */

.hot-product .wd-wishlist-btn.wd-action-btn a {
    color: #9E1B32 !important;
    background-color: white !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}



.hot-product .wd-wishlist-btn.wd-action-btn a:hover {
    background-color: #9E1B32 !important;
		color: #fff !important;

}

/* Ẩn nút thêm vào giỏ hàng cho các sản phẩm thuộc class hot-product */
.hot-product .wd-add-btn.wd-add-btn-replace {
    display: none !important;
}



/* Tùy chỉnh thêm: Căn chỉnh lại phần giá hoặc khoảng cách nếu cần sau khi ẩn nút */
.hot-product .product-element-bottom {
    justify-content: flex-start; /* Giúp tên và giá đẩy lên trên đẹp hơn khi nút biến mất */
    gap: 10px;
}
/* --- ĐIỀU CHỈNH CHO MOBILE (Dưới 768px) --- */
@media (max-width: 767px) {
    /* 1. Giảm chiều cao tổng thể của card trên mobile */
    .hot-product .product-wrapper {
        height: 340px !important; /* Tăng nhẹ lên 340px để đủ chỗ cho 2 dòng chữ */
        display: flex;
        flex-direction: column;
    }

    /* 2. Điều chỉnh lại tỷ lệ ảnh */
    .hot-product .product-element-top {
        flex: 0 0 60% !important; /* Giảm ảnh còn 60% để dành không gian cho tiêu đề 2 dòng */
    }

    /* 3. Cấu hình tiêu đề HIỆN 2 DÒNG */
    .hot-product .wd-entities-title {
        font-size: 14px !important;
        white-space: normal !important; /* Cho phép xuống dòng */
        display: -webkit-box !important;
        -webkit-line-clamp: 2; /* Giới hạn tối đa 2 dòng */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3 !important;
        height: 36px; /* Cố định chiều cao tương đương 2 dòng chữ */
    }

    .hot-product .wd-entities-title a {
        white-space: normal !important;
        display: inline; /* Reset lại display để nhận dạng 2 dòng */
    }

    /* 4. ẨN SIZE - CHỈ HIỆN KHI HOVER (CHẠM) */
    .hot-product .product-labels .attribute-label {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(-30px) !important; /* Đẩy sang trái để chờ lướt */
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        font-size: 9px !important;
        padding: 2px 5px !important;
    }

    /* Khi người dùng chạm vào khung sản phẩm trên mobile */
    .hot-product .product-wrapper:hover .attribute-label,
    .hot-product .product-wrapper:active .attribute-label {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }

    /* Luôn giữ nhãn Giảm giá hiện (không bị ẩn theo size) */
    .hot-product .product-labels .onsale {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }

    /* 5. Khoảng cách phần nội dung dưới */
    .hot-product .product-element-bottom {
        padding: 10px !important;
        gap: 2px !important; /* Thu hẹp khoảng cách giữa tên và giá */
    }

    .hot-product .price {
        font-size: 14px !important;
    }
}

















/* 1. Thiết lập khung bao quanh sản phẩm */
.products .product-grid-item {
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    padding: 0px !important;
    border: 1px solid #eee; /* Viền mặc định */
    overflow: hidden;
}

/* 2. Tạo đường kẻ trên và dưới khi Hover */
.products .product-grid-item::before,
.products .product-grid-item::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px; /* Độ dày đường kẻ */
    background-color: #9E1B32; /* Màu đỏ của bạn */
    transform: scaleX(0); /* Mặc định ẩn */
    transition: transform 0.4s ease;
    z-index: 10;
}

/* Vị trí đường kẻ trên */
.products .product-grid-item::before {
    top: 0;
}

/* Vị trí đường kẻ dưới */
.products .product-grid-item::after {
    bottom: 0;
}

/* 3. Hiệu ứng Hover: Bay lên và hiện đường kẻ */
.products .product-grid-item:hover {
    transform: translateY(-10px); /* Bay lên */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); /* Đổ bóng */
    border-color: transparent;
    z-index: 2; /* Đảm bảo thẻ đang hover nằm trên thẻ khác */
}

.products .product-grid-item:hover::before,
.products .product-grid-item:hover::after {
    transform: scaleX(1); /* Hiện đường kẻ */
}

/* 4. Căn chỉnh khoảng cách bên trong cho giống mẫu blog */
.products .product-wrapper {
    padding: 20px; /* Tạo khoảng trống để text không dính vào viền */
}

/* Tùy chỉnh ảnh sản phẩm (đảm bảo ảnh nằm gọn) */
.products .product-element-top {
    margin-bottom: 15px;
    overflow: hidden;
}

/* Tùy chỉnh Tiêu đề và Giá */
.products .wd-entities-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.products .price {
    color: #9E1B32 !important;
    font-weight: bold;
}













/* 1. Thiết lập khung chứa bài viết */
.blog-home .elementor-loop-container {
    gap: 0px !important;
}

/* 2. Thiết lập từng thẻ bài viết */
.blog-home .e-loop-item {
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Hiệu ứng mượt */
    position: relative;
    display: flex !important;
    flex-direction: column;
    padding: 0px !important;
    border: 2px solid #eee; /* Viền nhẹ mặc định */
}

/* 3. Tạo đường kẻ đỏ ở dưới cùng khi Hover */
/* 3.1. Thiết lập chung cho các đường kẻ (Cả trên và dưới) */
.blog-home .e-loop-item::before,
.blog-home .e-loop-item::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px; /* Độ dày đường kẻ */
    background-color: #9E1B32; /* Màu đỏ của bạn */
    transform: scaleX(0); /* Mặc định ẩn */
    transition: transform 0.4s ease;
    z-index: 10;
}

/* 3.2. Vị trí đường kẻ TRÊN */
.blog-home .e-loop-item::before {
    top: 0;
}

/* 3.3. Vị trí đường kẻ DƯỚI */
.blog-home .e-loop-item::after {
    bottom: 0;
}

/* 3.4. Hiệu ứng Hover: Hiện cả 2 đường kẻ cùng lúc */
.blog-home .e-loop-item:hover::before,
.blog-home .e-loop-item:hover::after {
    transform: scaleX(1);
}

/* 3.5. Đừng quên giữ lại hiệu ứng bay lên nếu bạn muốn */
.blog-home .e-loop-item {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden; /* Giúp đường kẻ không bị tràn nếu bạn bo góc thẻ */
}

.blog-home .e-loop-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 4. Hiệu ứng Hover: Bay lên và hiện đường kẻ */
.blog-home .e-loop-item:hover {
    transform: translateY(-10px); /* Hover bay lên */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); /* Đổ bóng chân thực */
    border-color: transparent;
}

.blog-home .e-loop-item:hover::after {
    transform: scaleX(1); /* Hiện đường kẻ đen */
}

/* 5. Căn chỉnh nội dung bên trong (Text bên trên, Ảnh bên dưới) */
.blog-home .e-con-inner {
    padding: 25px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Ép ảnh xuống cuối cùng */
.blog-home .elementor-widget-theme-post-featured-image {
    order: 10; 
    margin-top: 20px;
}

.blog-home .elementor-widget-theme-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 6. Định dạng Text giống trong ảnh mẫu */
.blog-home .elementor-post-info {
    color: #9E1B32 !important; /* Màu xanh đậm cho ngày tháng */
    margin-bottom: 15px !important;
}

.blog-home .elementor-heading-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #333 !important;
    line-height: 1.4 !important;
}

.blog-home .elementor-widget-theme-post-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px !important;
}

/* 7. Định dạng nút "More >>" */
.blog-home .elementor-widget-button a {
    background-color: transparent !important;
    border: 1px solid #0d3191 !important;
    color: #0d3191 !important;
    padding: 8px 25px !important;
    border-radius: 4px !important;
    transition: 0.3s;
}

.blog-home .elementor-widget-button a:hover {
    background-color: #9E1B32 !important;
    color: #fff !important;
}















/* 1. Trạng thái mặc định: Ẩn các nhãn Size và đẩy sang trái */
.product-home .product-labels .attribute-label {
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-40px); /* Đẩy sang trái 40px */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block; 
    margin-bottom: 5px;
    width: fit-content;
    z-index: 2;
}

/* 2. Khi Hover vào card sản phẩm: Nhãn Size lướt ra */
.product-home .product-wrapper:hover .attribute-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 3. Hiệu ứng lướt so le cho từng nhãn (nếu có nhiều size) */
.product-home .attribute-label:nth-child(1) { transition-delay: 0.05s; }
.product-home .attribute-label:nth-child(2) { transition-delay: 0.1s; }
.product-home .attribute-label:nth-child(3) { transition-delay: 0.15s; }
.product-home .attribute-label:nth-child(4) { transition-delay: 0.2s; }

/* 4. Giữ cho nhãn Giảm giá (onsale) luôn hiện, không bị lướt */
.product-home .product-labels .onsale {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    display: block !important;
    margin-bottom: 5px;
}

/* 5. Tùy chỉnh màu sắc nhãn Size cho sang trọng (Style Luxury) */
.product-home .attribute-label {
    background-color: rgba(255, 255, 255, 0.9) !important; /* Nền trắng trong suốt */
    color: #1a1a1a !important; /* Chữ đen xám */
    border: 1px solid #e1e1e1 !important;
    font-weight: 500 !important;
    font-size: 11px !important;
    border-radius: 2px;
    padding: 3px 8px !important;
}
/* 1. Thiết kế lại Tiêu đề */
.product-home .woodmart-title-container {
    letter-spacing: 2px !important;
    font-weight: 300 !important;
    color: #1a1a1a !important;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}


/* 3. Thiết kế thanh Menu Danh mục */
.product-home .wd-nav-product-cat {
    border-bottom: 1px solid #eee;
    margin-bottom: 30px !important;
    padding-bottom: 10px;
}

.product-home .wd-nav-product-cat li a {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #000 !important;
    transition: all 0.3s ease !important;
}

.product-home .wd-nav-product-cat li a:hover, 
.product-home .wd-nav-product-cat li.current-cat a {
    color: #9E1B32 !important; 
}

/* Ẩn số lượng sản phẩm */
.product-home .nav-link-count {
    display: none !important;
}

/* 4. Thiết kế lại Card sản phẩm */
.product-home .wd-product.product-grid-item {
    background: #fff;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-home .product-wrapper:hover {
    box-shadow: 0 15px 45px rgba(0,0,0,0.07);
    transform: translateY(-7px);
}

/* Chỉnh ảnh sản phẩm */
.product-home .product-element-top {
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
}

/* 5. Chỉnh tên sản phẩm và Giá */
.product-home .wd-product .wd-entities-title a {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #222 !important;
    line-height: 1.4;
}

.product-home .wd-product .price {
    color: #bc9c6c !important;
    font-weight: 400 !important;
    font-size: 16px !important;
}

/* 6. Chỉnh nút điều hướng (Arrows) của Carousel */
.product-home .wd-btn-arrow {
    background: white !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    border: 1px solid #eee !important;
    width: 45px !important;
    height: 45px !important;
}

.product-home .wd-btn-arrow:after {
    color: #bc9c6c !important;
    font-size: 18px !important;
}













/* 1. Căn chỉnh khung chứa Tab */
.e-n-tabs-heading {
    display: flex !important;
    justify-content: center; /* Căn giữa các tab */
    gap: 15px; /* Khoảng cách giữa các nút tab */
    background-color: #f5f5f5; /* Nền mờ cho toàn bộ thanh tab */
    padding: 8px;
    border-radius: 50px; /* Bo tròn thanh tab */
    max-width: fit-content;
    margin: 20px auto !important;
    border: 1px solid #e0e0e0;
}

/* 2. Thiết kế nút Tab mặc định */
.e-n-tab-title {
    background: transparent !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 40px !important; /* Bo tròn nút */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
}

/* 3. Chỉnh font chữ cho Tab */
.e-n-tab-title-text {
    color: #666 !important; /* Màu chữ mặc định */
    font-size: 15px !important;
    font-weight: 500 !important;
    text-transform: uppercase; /* Viết hoa cho chuyên nghiệp */
    letter-spacing: 0.5px;
}

/* 4. Hiệu ứng khi Tab được chọn (Active) */
.e-n-tab-title[aria-selected="true"] {
    background-color: #9E1B32 !important; /* Màu nền khi chọn */
		color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important; /* Đổ bóng nhẹ cho nút đang chọn */
}

.e-n-tab-title[aria-selected="true"] .e-n-tab-title-text {
    color: #ffffff !important; /* Màu chữ khi chọn */
    font-weight: 700 !important;
}

/* 5. Hiệu ứng khi di chuột qua (Hover) */
.e-n-tab-title:hover:not([aria-selected="true"]) {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

.e-n-tab-title:hover .e-n-tab-title-text {
    color: #9E1B32 !important;
}

/* 6. Responsive cho điện thoại */
@media (max-width: 768px) {
    .e-n-tabs-heading {
        flex-wrap: wrap; /* Tự xuống dòng trên mobile */
        border-radius: 15px;
    }
    .e-n-tab-title {
        padding: 8px 15px !important;
        font-size: 13px !important;
    }
}














/* 1. Thiết kế lại khung Popup tổng thể */
.tab-product-home .hotspot-product.hotspot-content {
    background-color: #ffffff !important;
    border-radius: 15px !important; /* Bo góc tròn hiện đại */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important; /* Đổ bóng mềm mại */
    border: none !important;
    overflow: hidden !important;
    max-width: 180px !important; /* Thu gọn chiều rộng cho tinh tế */
    padding: 0 !important;
    transition: all 0.3s ease-in-out !important;
}

/* Hiệu ứng nổi lên khi di chuột vào popup */
.tab-product-home .hotspot-product.hotspot-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

/* 2. Thiết kế phần Hình ảnh */
.tab-product-home .hotspot-content-image {
    margin-bottom: 0 !important;
    overflow: hidden;
}

.tab-product-home .hotspot-content-image img {
    border-radius: 15px 15px 0 0 !important; /* Chỉ bo góc trên của ảnh */
    transition: transform 0.5s ease !important;
}

/* Hiệu ứng phóng to nhẹ ảnh khi hover */
.tab-product-home .hotspot-product.hotspot-content:hover img {
    transform: scale(1.08);
}

/* 3. Thiết kế lại Tên thiết bị (Tiêu đề) */
.tab-product-home .wd-entities-title {
    padding: 12px 10px 15px 10px !important; /* Khoảng cách đệm xung quanh chữ */
    margin: 0 !important;
    text-align: center;
}

.tab-product-home .wd-entities-title a {
    color: #222222 !important;
    font-size: 14px !important;
    font-weight: 600 !important; /* Chữ đậm vừa phải */
    line-height: 1.4 !important;
    text-decoration: none !important;
    display: block;
    transition: color 0.3s ease;
}

.tab-product-home .wd-entities-title a:hover {
    color: #83b735 !important; /* Đổi màu khi hover tên (có thể thay mã màu của bạn) */
}

/* 4. Đảm bảo ẩn các thành phần thừa đã yêu cầu */
.hotspot-product .price,
.hotspot-product .hotspot-content-text,
.hotspot-product .wd-more-desc-btn,
.hotspot-product .add_to_cart_button {
    display: none !important;
}














.wd-dropdown-menu.color-scheme-dark .mega-menu-list a,.wd-dropdown-menu.color-scheme-dark .mega-menu-list .sub-sub-menu li a{
    color: #2C2C2C !important;
}
.wd-dropdown-menu.color-scheme-dark .mega-menu-list .sub-sub-menu li a:hover{
	color: #9E1B32 !important ; 
}


/* ----------------------------------------------------------------- */
/* CSS CỐ ĐỊNH KÍCH THƯỚC BANNER */
/* ----------------------------------------------------------------- */

/* 1. Thiết lập kích thước cố định cho khung chứa hình ảnh */
/* Đổi giá trị '400px' và '300px' thành kích thước bạn mong muốn */
.banner-san-pham .promo-banner-wrapper .main-wrapp-img {
    width: 400px; /* Cố định chiều rộng (độ dài) */
    height: 400px; /* Cố định chiều cao (độ rộng) */
    /* Bạn có thể dùng 100% nếu muốn nó chiếm hết không gian cột của Elementor */
}

/* 2. Đảm bảo hình ảnh lấp đầy toàn bộ khung cố định */
.banner-san-pham .promo-banner-wrapper .main-wrapp-img img {
    width: 100%;
    height: 100%;

    /* Quan trọng: Cách hình ảnh lấp đầy khung */
    /*
    * object-fit: cover;  (ĐỀ XUẤT): Giữ nguyên tỷ lệ, cắt bớt phần thừa.
    * object-fit: fill;   (Kéo dãn): Kéo dãn/ép hình ảnh để vừa khung, có thể làm biến dạng.
    */
    object-fit: fill !important;
}

/* 3. Loại bỏ thuộc tính chiều cao tự động của WoodMart nếu có */
.wd-without-height {
    height: auto !important;
}






.hotline-box {  
	display: flex;   
	flex-direction: column;   /* cho phần trên và số điện thoại xếp dọc */   
	align-items: center;      /* căn giữa theo chiều ngang */   
	font-family: Arial, sans-serif; 		
	margin-right: 80px 
}  
.hotline-top { 
	display: flex;   
	align-items: center;      /* icon và chữ nằm cùng hàng */   
	gap: 3px;                 /* khoảng cách icon và chữ */ 
}  
.hotline-top i {   
	font-size: 12px;   
	color: #ffffff !important;           
}  
.hotline-text {    
	font-size: 12px;   
	color: #ffffff !important; 
	
}  
.hotline-number {   
	margin-top: 3px;   
	font-size: 12px;   
	font-weight: bold;   
	color: #ffffff !important; 
}





/* 2. Phóng to chữ menu */
.menu.wd-nav.wd-nav-main a {
    font-size: 14px !important; /* Thay 16px bằng kích thước bạn muốn (ví dụ: 18px, 20px) */
    font-weight: 500; /* Tùy chọn: Làm chữ đậm hơn nếu cần */
	 	color: #2C2C2C !important; 
    font-weight: 500;
}


/* 2. Menu Thả Xuống (Dropdown/Mega Menu) */
.wd-dropdown-menu.wd-dropdown.wd-design-default a {
    /* Đảm bảo nền sáng nếu dùng chữ đen */
    /* background-color: #ffffff !important; */ 
    color: #2C2C2C !important ; 
}
.wd-dropdown-menu.wd-dropdown.wd-design-default a.woodmart-nav-link::after {
    color: #2C2C2C !important; 
		font-weight: 500; 
}
.wd-dropdown-menu.wd-dropdown{
	background-color: #ffffff;
}
.wd-dropdown-menu.wd-dropdown a:hover {
    /* Đảm bảo nền sáng nếu dùng chữ đen */
    color: #9E1B32 !important ; 
}

/* Dấu mũi tên drop down */
.wd-nav-main a.woodmart-nav-link::after {
    color: #2C2C2C !important; 
}

/* Đặt màu nền cho số lượng sản phẩm trong giỏ hàng thành màu xanh */
.wd-cart-number.wd-tools-count {
    background-color: #9E1B32 !important; /* Thay #007bff bằng mã màu xanh bạn muốn */
    color: #ffffff !important;           /* Giữ màu chữ (số) là màu trắng để nổi bật */
}

/* Đảm bảo chiều cao ảnh danh mục bằng nhau */
.wrapp-category .category-image-wrapp {
    height: 190px; /* Đặt chiều cao cố định bạn muốn cho khu vực ảnh. Thay 200px nếu cần */
    display: flex; /* Kích hoạt Flexbox */
    align-items: center; /* Căn giữa ảnh theo chiều dọc */
    justify-content: center; /* Căn giữa ảnh theo chiều ngang */
    overflow: hidden; /* Ẩn đi phần thừa nếu ảnh quá lớn */
}

/* Đảm bảo ảnh bên trong không làm thay đổi bố cục */
.wrapp-category .category-image-wrapp img {
    max-height: 100%; /* Đảm bảo ảnh không vượt quá chiều cao của container */
    width: auto; /* Giữ tỷ lệ ảnh */
    object-fit: contain; /* Đảm bảo toàn bộ ảnh hiển thị mà không bị cắt */
}



/* Đảm bảo vùng chứa tiêu đề và link (hover-mask) có chiều cao cố định hoặc tối thiểu */
.wrapp-category .hover-mask {
    min-height: 80px; /* Đặt chiều cao tối thiểu cho vùng chứa tiêu đề. Thay 80px nếu cần */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Bắt đầu tiêu đề từ trên xuống */
}

/* Tùy chọn: Đảm bảo khoảng cách cố định giữa các mục con (tiêu đề và số lượng sản phẩm) */
.wrapp-category .wd-entities-title {
    min-height: 40px; /* Đảm bảo tiêu đề có 2 dòng vẫn không làm lệch bố cục */
}

/* Áp dụng thụt lề cho danh mục con (có class has-depth-1) */
.wc-block-product-filter-checkbox-list__item.has-depth-1 {
    /* Đẩy phần tử vào trong 20px */
    padding-left: 20px !important;
}

/* Tùy chọn: Thụt lề thêm cho các cấp sâu hơn nếu có (has-depth-2, has-depth-3) */
.wc-block-product-filter-checkbox-list__item.has-depth-2 {
    padding-left: 40px !important; 
}

/* Màu xanh chính (WoodMart thường dùng) */
:root {
    --wd-primary-color: #9E1B32; /* Bạn có thể thay đổi màu này nếu muốn màu xanh khác */
}

/* 1. Áp dụng màu nền và màu chữ cho thẻ lọc đang hoạt động */
.wc-block-product-filter-removable-chips__item {
    /* Đổi màu nền của thẻ */
    background-color: #9E1B32 !important; 
    /* Đổi màu chữ */
    color: #ffffff !important; 
    /* Làm tròn góc thẻ nếu cần */
    border-radius: 4px !important; 
    /* Loại bỏ border nếu có */
    border: none !important;
    padding: 5px 10px 5px 12px; /* Điều chỉnh padding cho thẻ trông đẹp hơn */
}

/* 2. Đảm bảo nút "X" có màu trắng trên nền xanh */
.wc-block-product-filter-removable-chips__item .wc-block-product-filter-removable-chips__remove {
    /* Đảm bảo nút "X" vẫn hiển thị đúng */
    color: #ffffff !important; 
    margin-left: 5px; /* Thêm khoảng cách giữa chữ và nút X */
}

/* 3. Tùy chọn: Điều chỉnh thẻ bao quanh (nếu thẻ bao quanh có shadow hoặc border) */
.wc-block-product-filter-removable-chips {
    /* Loại bỏ border hoặc shadow của khối lớn chứa các thẻ */
    border: none !important; 
}



/* ---------------------------------------------------- */
/* Bộ lọc Giá */
/* ---------------------------------------------------- */

/* 1. Màu cho thanh trượt đã chọn */
.wc-block-product-filter-price-slider__range .range-bar {
    background-color: var(--wd-primary-color) !important;
}

/* 2. Màu và kiểu cho hai núm tròn */
.wc-block-product-filter-price-slider__range input[type="range"]::-webkit-slider-thumb {
    background-color: var(--wd-primary-color) !important;
    border: 1px solid var(--wd-primary-color) !important;
    box-shadow: 0 0 0 3px rgba(69, 130, 255, 0.3) !important; /* Hiệu ứng vòng sáng */
}

.wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-thumb {
    background-color: var(--wd-primary-color) !important;
    border: 1px solid var(--wd-primary-color) !important;
    box-shadow: 0 0 0 3px rgba(69, 130, 255, 0.3) !important; /* Hiệu ứng vòng sáng */
}

/* 3. Màu cho hai ô input giá */
.wc-block-product-filter-price-slider__left.text input,
.wc-block-product-filter-price-slider__right.text input {
    color: var(--wd-primary-color) !important; /* Màu chữ xanh */

}






/* Đổi màu nền thanh Copyrights */
.wd-copyrights {
    background-color: #9E1B32 !important; /* Thay mã màu xanh khác nếu cần */
}

/* Đổi màu chữ và các liên kết bên trong thành màu trắng */
.wd-copyrights,
.wd-copyrights a {
    color: #000000 !important;
}

/* 1. Cố định chiều cao và tối ưu Flexbox cho Container */
.wd-product .product-element-top {
    height: 200px; /* Cố định chiều cao của khung chứa */
    /* Thiết lập Flexbox để căn giữa ảnh bên trong */
    display: flex;
    align-items: center; /* Căn giữa theo chiều dọc */
    justify-content: center; /* Căn giữa theo chiều ngang */
    
    gap: 30px !important; /* Thường không cần thiết cho container ảnh, có thể bỏ qua */
    overflow: hidden; /* Quan trọng: Ẩn đi phần ảnh bị tràn (nếu dùng object-fit: cover) */
}

---

/* 2. Điều chỉnh cách ảnh lấp đầy khung */
.wd-product .product-element-top img {
    /* Đảm bảo ảnh không bị tràn ra khỏi container, chiều rộng tối đa là 100% của khung chứa */
    max-width: 150px; 
    max-height: 100%; 

    /* Dùng object-fit để kiểm soát cách ảnh lấp đầy không gian: */
    
    /* LỰA CHỌN A: object-fit: contain (KHUYẾN KHÍCH) */
    /* Ảnh sẽ vừa khít bên trong 300px mà KHÔNG bị cắt, giữ nguyên tỷ lệ.
       Có thể có khoảng trống (padding) nếu tỷ lệ ảnh không khớp với khung 300px. */
    object-fit: contain;
     align-items: center; /* Căn giữa theo chiều dọc */
    justify-content: center; /* Căn giữa theo chiều ngang */
    /* LỰA CHỌN B: object-fit: cover */
    /* Ảnh sẽ lấp đầy 300px và có thể bị CẮT BỚT ở một số cạnh để giữ tỷ lệ */
    /* object-fit: cover; */ 
    
    width: auto !important; /* Bỏ cố định 450px và để chiều rộng tự động */
    height: auto !important; /* Bỏ cố định 300px và để chiều cao tự động */
}

/* --- Responsive (cho kích thước màn hình nhỏ hơn) --- */
/* Ví dụ cho màn hình điện thoại (<= 768px) */
@media (max-width: 768px) {
    .wd-product .product-element-top {
        height: 200px; /* GIẢM chiều cao cố định trên mobile để tiết kiệm diện tích */
    }
}

/* Sử dụng ID để đảm bảo độ ưu tiên cao nhất */
#carousel-951.wd-carousel-container {
    width: 100%; /* Đặt chiều rộng thành 100% của container cha */
    max-width: 600px; /* HOẶC Tăng Max-width lên giá trị lớn hơn (ví dụ: 600px) */
    /* Quan trọng: Thay đổi kích thước này dựa trên bố cục trang của bạn */
}