/**
 * Theme Name:     Nocodevn
 * Author:         Nocodevn
 * Template:       flatsome
 * Text Domain:    k-tech
 * Description:    Theme Build by Dai
 * Theme URI:      https://nocodevn.dev/
 * Author URI:     https://nocodevn.dev/
 * Version:        05.2026
 * License:        2NRJM-B46WR-K6VQR-Y4T3D-QRWPX
 * License URI:    https://nocodevn.dev/
 */

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

@media (min-width: 849px) {

    /* =========================================================
        HEADER
    ========================================================= */
    /* =========================================================
    3. HEADER INNER LAYOUT (LOGO/AVATAR LEFT, MENU RIGHT)
    ========================================================= */
    .header-main .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .header-main #logo,
    .header-main .logo {
        margin-right: auto !important;
    }

    .header-main .header-inner>.flex-col:not(.show-for-medium),
    .header-main .header-inner>.flex-left.flex-grow,
    .header-main .header-inner>.flex-right {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        height: 100% !important;
        margin-left: auto !important;
    }

    /* Hide Mobile Menu elements on PC/Desktop */
    .show-for-medium,
    .header-main .show-for-medium,
    .flex-col.show-for-medium {
        display: none !important;
    }


    /* =========================================================
    4. MENU UL (ALIGNED TO FAR RIGHT EDGE)
    ========================================================= */
    .header-main .header-nav-main,
    .header-main ul.header-nav-main,
    .header-main .header-nav {
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }


    /* =========================================================
    5. MENU ITEM
    ========================================================= */
    .header-main .header-nav-main>li {
        position: relative !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    /* =========================================================
    6. MENU LINK
    ========================================================= */
    .header-main .header-nav-main>li>a {
        position: relative !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 18px !important;
        margin: 0 !important;
        color: #292929 !important;
        text-transform: none !important;
        white-space: nowrap !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        transition: color 0.25s ease !important;
    }

    /* =========================================================
    7. MENU DIVIDER (VẠCH ĐỨNG 1PX CỐ ĐỊNH GIỮA CÁC MENU ITEM)
    ========================================================= */
    .header-main .header-nav-main>li {
        position: relative !important;
    }

    /* Vạch gạch đứng 1px màu xám giữa các li */
    .header-main .header-nav-main>li+li::before {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 1px !important;
        height: 28px !important;
        background-color: #dddddd !important;
        background-image: none !important;
        border: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: none !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 5 !important;
    }

    /* Ngăn Flatsome phóng to ::before thành khối xám khi Hover / Active */
    .header-main .header-nav-main>li+li:hover::before,
    .header-main .header-nav-main>li+li.has-dropdown:hover::before,
    .header-main .header-nav-main>li+li.menu-item-has-children:hover::before,
    .header-main .header-nav-main>li+li.active::before,
    .header-main .header-nav-main>li+li.current-menu-item::before,
    .header-main .header-nav-main>li+li.current_page_item::before {
        width: 1px !important;
        height: 28px !important;
        background-color: #dddddd !important;
        background-image: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
    }

    /* Triệt tiêu mọi ::before trên thẻ <a> cấp 1 để không bị chèn khối xám */
    .header-main .header-nav-main>li>a::before {
        content: none !important;
        display: none !important;
    }

    /* =========================================================
    8. HOVER MENU
    ========================================================= */
    .header-main .header-nav-main>li:hover>a {
        color: #0050d4 !important;
        background: transparent !important;
    }

    /* =========================================================
    9. ACTIVE MENU
    ========================================================= */
    .header-main .header-nav-main>li.active>a,
    .header-main .header-nav-main>li.current-menu-item>a,
    .header-main .header-nav-main>li.current_page_item>a {
        color: #0050d4 !important;
    }

    /* =========================================================
    10. BOTTOM ACTIVE / HOVER LINE (BẮC NỐI TRỰC TIẾP THẺ > A)
    ========================================================= */
    .header-main .header-nav-main>li>a::after {
        content: "" !important;
        position: absolute !important;
        left: 15px !important;
        right: 15px !important;
        bottom: 0 !important;
        height: 3px !important;
        background: #0050d4 !important;
        opacity: 0 !important;
        transform: scaleX(0) !important;
        transform-origin: center !important;
        transition:
            transform 0.25s ease,
            opacity 0.25s ease !important;
        pointer-events: none !important;
        z-index: 10 !important;
    }

    /* Hover & Active trên thẻ a */
    .header-main .header-nav-main>li:hover>a::after,
    .header-main .header-nav-main>li.active>a::after,
    .header-main .header-nav-main>li.current-menu-item>a::after,
    .header-main .header-nav-main>li.current_page_item>a::after {
        opacity: 1 !important;
        transform: scaleX(1) !important;
    }

    /* Bỏ đường gạch chân li::after cũ để tránh bị dư thừa */
    .header-main .header-nav-main>li::after {
        content: none !important;
        display: none !important;
    }

    /* =========================================================
    FIX DROPDOWN MENU (SẢN PHẨM) - XÓA BẢN LINE XANH TRÊN DROPDOWN
    ========================================================= */
    .header-main .header-nav-main>li.has-dropdown,
    .header-main .header-nav-main>li.menu-item-has-children {
        position: relative !important;
    }

    .header-main .header-nav-main .nav-dropdown,
    .header-main .header-nav-main ul.sub-menu,
    .header-main .header-nav-main .nav-dropdown-default {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        margin-top: 0 !important;
        flex: none !important;
        align-self: flex-start !important;
        border-top: none !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
        z-index: 99999 !important;
    }

    /* Xóa tuyệt đối mọi vạch kẻ/line xanh giả bên trong và trên các thẻ con của Dropdown */
    .header-main .header-nav-main .nav-dropdown::before,
    .header-main .header-nav-main .nav-dropdown::after,
    .header-main .header-nav-main .nav-dropdown li::before,
    .header-main .header-nav-main .nav-dropdown li::after,
    .header-main .header-nav-main .nav-dropdown a::before,
    .header-main .header-nav-main .nav-dropdown a::after,
    .header-main .header-nav-main ul.sub-menu::before,
    .header-main .header-nav-main ul.sub-menu::after,
    .header-main .header-nav-main ul.sub-menu li::before,
    .header-main .header-nav-main ul.sub-menu li::after,
    .header-main .header-nav-main ul.sub-menu a::before,
    .header-main .header-nav-main ul.sub-menu a::after {
        content: none !important;
        display: none !important;
        opacity: 0 !important;
    }

    .header-main .header-nav-main .nav-dropdown li,
    .header-main .header-nav-main ul.sub-menu li {
        height: auto !important;
        display: block !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .header-main .header-nav-main .nav-dropdown li>a,
    .header-main .header-nav-main ul.sub-menu li>a {
        height: auto !important;
        display: block !important;
        padding: 10px 18px !important;
        color: #292929 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-transform: none !important;
        white-space: nowrap !important;
        background: transparent !important;
        box-shadow: none !important;
        transition: background 0.2s ease, color 0.2s ease !important;
    }

    .header-main .header-nav-main .nav-dropdown li:hover>a,
    .header-main .header-nav-main ul.sub-menu li:hover>a {
        color: #0050d4 !important;
        background: #f4f6fa !important;
    }

    /* =========================================================
    11. HOME ICON
    ========================================================= */
    .header-main .header-nav-main>li:first-child>a {
        width: 55px !important;
        min-width: 55px !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 0 !important;
        line-height: 0 !important;
        color: transparent !important;
        background-color: transparent !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23222222' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7'/%3E%3Cpath d='M5 9v11h14V9'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 20px 20px !important;
    }

    /* =========================================================
    12. HOME HOVER
    ========================================================= */
    .header-main .header-nav-main>li:first-child:hover>a {
        color: transparent !important;
        background-color: transparent !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%230050d4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7'/%3E%3Cpath d='M5 9v11h14V9'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 20px 20px !important;
    }

    /* =========================================================
    13. HOME ACTIVE
    ========================================================= */
    .header-main .header-nav-main>li:first-child.active>a,
    .header-main .header-nav-main>li:first-child.current-menu-item>a,
    .header-main .header-nav-main>li:first-child.current_page_item>a {
        color: transparent !important;
        background-color: transparent !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230050d4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7'/%3E%3Cpath d='M5 9v11h14V9'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 20px 20px !important;
    }

    /* =========================================================
    14. HOME BOTTOM LINE
    ========================================================= */
    .header-main .header-nav-main>li:first-child>a::after {
        left: 0 !important;
        right: 0 !important;
        height: 3px !important;
    }

    /* =========================================================
    15. REMOVE FLATSOME DEFAULT UNDERLINE
    ========================================================= */
    .header-main .nav-top-link::before,
    .header-main .nav-top-link::after {
        box-shadow: none !important;
    }

    /* =========================================================
    16. RIGHT MENU
    ========================================================= */
    .header-main .header-inner>.flex-right {
        display: none !important;
    }

    /* =========================================================
   TOP BAR - SAFEVOLT
   ========================================================= */
    #top-bar .flex-right {
        margin-left: auto !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        padding-right: 18px;
    }

    #top-bar .header-block {
        padding: 0 !important;
        margin: 0 !important;
    }

    #top-bar .header-contact {
        display: flex !important;
        align-items: center !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #top-bar .header-contact>.col {
        width: auto !important;
        max-width: none !important;
        flex: 0 0 auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #top-bar .header-contact>.col+.col {
        margin-left: 42px !important;
    }

    #top-bar .header-contact .col-inner {
        padding: 0 !important;
        margin: 0 !important;
    }

    #top-bar .icon-box {
        display: flex !important;
        align-items: center !important;
        width: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #top-bar .icon-box-img {
        width: 20px !important;
        max-width: 20px !important;
        margin: 0 12px 0 0 !important;
        padding: 0 !important;
    }

    #top-bar .icon-box .icon-inner {
        width: 20px !important;
        height: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #top-bar .icon-box .icon-inner svg {
        width: 18px !important;
        height: 18px !important;
        color: #0050d4 !important;
        stroke: #0050d4 !important;
    }

    #top-bar .header-contact>.col:nth-child(2) svg {
        stroke: #0050d4 !important;
    }

    #top-bar .icon-box-text {
        padding: 0 !important;
        margin: 0 !important;
    }

    #top-bar .icon-box-text p {
        margin: 0 !important;
        padding: 0 !important;
        color: #333333 !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    #top-bar .header-contact.row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #top-bar .header-contact .row {
        width: auto !important;
    }
}



/* =========================================================
   PRODUCT GRID
   ========================================================= */

/* Grid */
.products.row.row-small {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

/* Product item */
.products.row.row-small>.product-small {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 30px;
}

/* =========================================================
   PRODUCT CARD
   ========================================================= */

.products .product-small>.col-inner {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;

    background: #fff;
    border: 1px solid transparent;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

/* Hover */
.products .product-small:hover>.col-inner {
    border-color: #0242a7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    /* transform: translateY(-2px); */
}


/* =========================================================
   PRODUCT BOX
   ========================================================= */

.products .product-small .product-small.box {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.products .product-small .box-image {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    flex-shrink: 0;
}

.products .product-small .image-none {
    width: 100%;
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background: #fff;
}

.products .product-small .box-image img {
    width: 100%;
    height: 100%;

    display: block;
    margin: 0;
    padding: 0;

    object-fit: contain;
    object-position: center;

    transition: transform 0.3s ease;
}

/* Image hover */
.products .product-small:hover .box-image img {
    transform: scale(1.03);
}


/* =========================================================
   PRODUCT CONTENT
   ========================================================= */

.products .product-small .box-text {
    width: 100%;
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 15px 17px 20px;

    text-align: left;
}


/* =========================================================
   HIDE CATEGORY
   ========================================================= */

.products .product-small .product-cat {
    display: none !important;
}


/* =========================================================
   TITLE WRAPPER
   ========================================================= */

.products .product-small .title-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   PRODUCT TITLE
   ========================================================= */

.products .product-small .product-title,
.products .product-small .name {
    width: 100%;

    margin: 0 0 12px;
    padding: 0;

    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;

    /* Luôn dành đúng 2 dòng */
    min-height: calc(18px * 1.4 * 2);

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}

/* Title link */
.products .product-small .product-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;

    color: #222;
    text-decoration: none;
}

/* Hover title */
.products .product-small:hover .product-title a {
    color: #0242a7;
}


/* =========================================================
   EXCERPT
   ========================================================= */

.products .product-small .box-excerpt {
    width: 100%;

    margin: 0;
    padding: 0;

    font-size: 15px;
    line-height: 1.55;
    color: #666;

    /* Luôn dành đúng 2 dòng */
    min-height: calc(15px * 1.55 * 2);

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}


/* =========================================================
   PRICE
   ========================================================= */

.products .product-small .price-wrapper {
    display: none !important;
}


/* =========================================================
   IMAGE TOOLS
   ========================================================= */

.products .product-small .image-tools {
    display: none !important;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 850px) {

    .products.row.row-small>.product-small {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 40px;
    }

    /*
     * Card desktop cố định chiều cao
     * để tất cả sản phẩm bằng nhau
     */
    .products .product-small>.col-inner {
        min-height: 445px;
    }

    /*
     * Ảnh luôn vuông
     */
    .products .product-small .box-image {
        aspect-ratio: 1 / 1;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 550px) and (max-width: 849px) {

    .products .product-small>.col-inner {
        min-height: 410px;
    }

    .products .product-small .box-text {
        padding: 14px 15px 18px;
    }

    .products .product-small .product-title,
    .products .product-small .name {
        font-size: 17px;
        line-height: 1.4;

        min-height: calc(17px * 1.4 * 2);
    }

    .products .product-small .box-excerpt {
        font-size: 14px;
        line-height: 1.5;

        min-height: calc(14px * 1.5 * 2);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 549px) {

    .products.row.row-small {
        margin-left: -6px;
        margin-right: -6px;
    }

    .products.row.row-small>.product-small {
        padding-left: 6px;
        padding-right: 6px;
        padding-bottom: 20px;
    }

    /* Card */
    .products .product-small>.col-inner {
        min-height: 360px;
    }

    /* Content */
    .products .product-small .box-text {
        padding: 11px 12px 14px;
    }

    /* Title */
    .products .product-small .product-title,
    .products .product-small .name {
        font-size: 15px;
        line-height: 1.4;

        margin-bottom: 8px;

        min-height: calc(15px * 1.4 * 2);
    }

    /* Description */
    .products .product-small .box-excerpt {
        font-size: 13px;
        line-height: 1.45;

        min-height: calc(13px * 1.45 * 2);
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .products .product-small>.col-inner {
        min-height: 340px;
    }

    .products .product-small .box-text {
        padding: 10px;
    }

    .products .product-small .product-title,
    .products .product-small .name {
        font-size: 14px;
        min-height: calc(14px * 1.4 * 2);
    }

    .products .product-small .box-excerpt {
        font-size: 12px;
        min-height: calc(12px * 1.45 * 2);
    }

}


/* Sidebar Filter */

/* Hide default Flatsome divider under sidebar title */
#shop-sidebar .widget_product_categories .is-divider {
    display: none !important;
}

#shop-sidebar .widget_product_categories .widget-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin-bottom: 16px !important;
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Base category list */
#shop-sidebar .widget_product_categories ul.product-categories {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================
   LEVEL 1: Top-Level Categories (White Cards)
   ========================================== */
#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 14px !important;
    padding: 16px 10px !important;
    position: relative !important;
    list-style: none !important;
    transition: all 0.25s ease !important;
    border: 1px solid #edf2f7 !important;
}

#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Top Level Category Link */
#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item>a {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #818181 !important;
    text-decoration: none !important;
    display: block !important;
    transition: color 0.2s ease !important;
    padding-right: 30px !important;
    margin: 0 !important;
}

/* Top Level Active / Current Category Link */
#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item.active>a,
#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item.current-cat>a,
#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item.current-cat-parent>a,
#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item[aria-expanded="true"]>a {
    color: #0242a7 !important;
}

/* Blue underline bar under Top-Level Header when active */
#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item.active>a::after,
#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item.current-cat>a::after,
#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item.current-cat-parent>a::after,
#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item[aria-expanded="true"]>a::after {
    content: "" !important;
    display: block !important;
    width: 112% !important;
    height: 2px !important;
    background-color: #0242a7 !important;
    margin-top: 10px !important;
    margin-bottom: 4px !important;
}

/* Toggle Buttons (+ / -) */
#shop-sidebar .widget_product_categories .toggle {
    position: absolute !important;
    right: 18px !important;
    top: 16px !important;
    width: 24px !important;
    height: 24px !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #718096 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    z-index: 5 !important;
}

#shop-sidebar .widget_product_categories .toggle i,
#shop-sidebar .widget_product_categories .toggle .icon-angle-down {
    display: none !important;
}

/* Toggle Icon Pseudo-element (+) */
#shop-sidebar .widget_product_categories .toggle::before {
    content: "+" !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #718096 !important;
    line-height: 1 !important;
    display: block !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

/* Active Toggle Icon (-) */
#shop-sidebar .widget_product_categories li.cat-item.active>.toggle::before,
#shop-sidebar .widget_product_categories li.cat-item[aria-expanded="true"]>.toggle::before,
#shop-sidebar .widget_product_categories .toggle.active::before {
    content: "−" !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0242a7 !important;
}

/* ==========================================
   LEVEL 2: First Sub-Level List
   ========================================== */
#shop-sidebar .widget_product_categories ul.children {
    list-style: none !important;
    /* margin: 8px 0 0 0 !important; */
    padding: 0 !important;
    border: none;
}

#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item>ul.children>li.cat-item {
    border-bottom: 1px solid #edf2f7 !important;
    padding: 11px 0 !important;
    margin: 0 !important;
    position: relative !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

#shop-sidebar .widget_product_categories ul.product-categories>li.cat-item>ul.children>li.cat-item:last-child {
    border-bottom: none !important;
}

#shop-sidebar .widget_product_categories ul.children>li.cat-item>a {
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #4a5568 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-block !important;
    padding-right: 24px !important;
}

#shop-sidebar .widget_product_categories ul.children>li.cat-item>a:hover,
#shop-sidebar .widget_product_categories ul.children>li.cat-item.current-cat>a,
#shop-sidebar .widget_product_categories ul.children>li.cat-item.active>a {
    color: #0242a7 !important;
    font-weight: 600 !important;
}

#shop-sidebar .widget_product_categories ul.children>li.cat-item>.toggle {
    top: 10px !important;
    right: 0 !important;
}

/* ==========================================
   LEVEL 3: Second Sub-Level List (Gray Box Container)
   ========================================== */
#shop-sidebar .widget_product_categories ul.children ul.children {
    background: #f4f6f8 !important;
    padding: 10px 0px !important;
    margin: 8px 0 6px 0 !important;
    border: 1px solid #e9ecef !important;
}

#shop-sidebar .widget_product_categories ul.children ul.children>li.cat-item {
    border-bottom: none !important;
    padding: 5px 0 !important;
    position: relative !important;
    list-style: none !important;
}

#shop-sidebar .widget_product_categories ul.children ul.children>li.cat-item>a {
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: #475569 !important;
    padding-left: 14px !important;
    position: relative !important;
    display: inline-block !important;
}

#shop-sidebar .widget_product_categories ul.children ul.children>li.cat-item>a::before {
    content: "•" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #64748b !important;
    font-size: 14px !important;
}

#shop-sidebar .widget_product_categories ul.children ul.children>li.cat-item>a:hover,
#shop-sidebar .widget_product_categories ul.children ul.children>li.cat-item.current-cat>a {
    color: #0242a7 !important;
}









/* =========================================
   CONTACT FORM
   ========================================= */

.wpcf7-form {
    width: 100%;
    margin-bottom: 0px;
}

/* Input */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"] {
    width: 100%;
    height: 51px;

    margin: 0 0 13px;
    padding: 0 17px;

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;

    font-size: 18px;
    color: #555;

    box-shadow: none;
}

/* Textarea */
.wpcf7-form textarea {
    width: 100%;
    height: 117px;
    min-height: 117px;

    margin: 0 0 18px;
    padding: 13px 17px;

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;

    font-size: 18px;
    color: #555;

    box-shadow: none;
    resize: vertical;
}

/* Placeholder */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #777;
    opacity: 1;
}

/* Focus */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #0242a7;
    box-shadow: none;
    outline: none;
}


/* =========================================
   BUTTON
   ========================================= */

.wpcf7-form input[type="submit"] {
    display: block;

    width: auto;
    min-width: 94px;
    height: 50px;

    margin: 10px auto 0;
    padding: 0 18px;

    background: #063cff;
    color: #fff;

    border: none;
    border-radius: 30px;

    font-size: 18px;
    font-weight: 400;

    line-height: 50px;

    box-shadow: 0 3px 6px rgba(0, 0, 0, .25);

    cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover {
    background: #0034df;
}


/* =========================================
   CF7 WRAPPER
   ========================================= */

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 549px) {

    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="email"] {
        height: 48px;
        font-size: 16px;
    }

    .wpcf7-form textarea {
        height: 110px;
        min-height: 110px;
        font-size: 16px;
    }

    .wpcf7-form input[type="submit"] {
        height: 48px;
        line-height: 48px;
        font-size: 17px;
    }

}

/* Section trang chủ */

.sec-tc-about .about-content {
    display: flex;
    align-items: center;
}

.sec-tc-about .about-content .col-inner {
    width: 100%;
}

.sec-tc-featured-projects .btn-see-all {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}

/* Section sản phẩm nổi bậc ở trang chủ */
.sec-tc-feature .tabbed-content .tab a {
    font-weight: 500;
    font-size: 17px !important;
}


/* Section đối tác - khách hàng */
.sec-tc-clients .tab span {
    color: #fff;
}


/* section giới thiệu target */


.sec-gt-target {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

/* Nav Tabs Header Container */
.sec-gt-target .tabbed-content>ul.nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    justify-content: space-between !important;
    border-bottom: none !important;
    margin-bottom: 25px !important;
    padding: 0 !important;
}

/* Individual Tab Item */
.sec-gt-target .tabbed-content>ul.nav>li.tab {
    flex: 1 1 0% !important;
    margin: 0 !important;
    min-width: 180px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Tab Link Base Styling */
.sec-gt-target .tabbed-content>ul.nav>li.tab>a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px 16px !important;
    border: 1px solid #e5e7eb !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02) !important;
    height: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Inactive Tab Link State */
.sec-gt-target .tabbed-content>ul.nav>li.tab:not(.active)>a,
.sec-gt-target .tabbed-content>ul.nav>li.tab:not(.active)>a span {
    border-color: #e5e7eb !important;
    color: #64748b !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* Inactive Tab Hover State */
.sec-gt-target .tabbed-content>ul.nav>li.tab:not(.active):hover>a,
.sec-gt-target .tabbed-content>ul.nav>li.tab:not(.active):hover>a span {
    border-color: #0052fe !important;
    color: #0052fe !important;
}

/* Active Tab State */
.sec-gt-target .tabbed-content>ul.nav>li.tab.active>a {
    background-color: #0052fe !important;
    border-color: #0052fe !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

.sec-gt-target .tabbed-content>ul.nav>li.tab.active>a span {
    border-color: #0052fe !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

/* SVG Icons Common Base Style */
.sec-gt-target .tabbed-content>ul.nav>li.tab>a::before {
    content: "" !important;
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 12px !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    transition: transform 0.3s ease, background-color 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Icon Color per Tab State */
.sec-gt-target .tabbed-content>ul.nav>li.tab:not(.active)>a::before {
    background-color: #64748b !important;
}

.sec-gt-target .tabbed-content>ul.nav>li.tab:not(.active):hover>a::before {
    background-color: #0052fe !important;
    transform: translateY(-2px) !important;
}

.sec-gt-target .tabbed-content>ul.nav>li.tab.active>a::before {
    background-color: #ffffff !important;
}

/* Tab 1: Mục tiêu Icon */
.sec-gt-target .tabbed-content>ul.nav>li:nth-child(1)>a::before,
.sec-gt-target .tabbed-content>ul.nav>li[id*="mục-tiêu"]>a::before,
.sec-gt-target .tabbed-content>ul.nav>li[id*="muc-tieu"]>a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='13' r='8'/%3E%3Ccircle cx='11' cy='13' r='4'/%3E%3Ccircle cx='11' cy='13' r='1.5'/%3E%3Cpath d='M16 8l5-5'/%3E%3Cpath d='M17 3h4v4'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='13' r='8'/%3E%3Ccircle cx='11' cy='13' r='4'/%3E%3Ccircle cx='11' cy='13' r='1.5'/%3E%3Cpath d='M16 8l5-5'/%3E%3Cpath d='M17 3h4v4'/%3E%3C/svg%3E") !important;
}

/* Tab 2: Tầm nhìn Icon */
.sec-gt-target .tabbed-content>ul.nav>li:nth-child(2)>a::before,
.sec-gt-target .tabbed-content>ul.nav>li[id*="tầm-nhìn"]>a::before,
.sec-gt-target .tabbed-content>ul.nav>li[id*="tam-nhin"]>a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20l7.5-13 3 5 2.5-4 5 12H3z'/%3E%3Cpath d='M10.5 7V2.5l4.5 2.5-4.5 2.5'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20l7.5-13 3 5 2.5-4 5 12H3z'/%3E%3Cpath d='M10.5 7V2.5l4.5 2.5-4.5 2.5'/%3E%3C/svg%3E") !important;
}

/* Tab 3: Nhiệm vụ Icon */
.sec-gt-target .tabbed-content>ul.nav>li:nth-child(3)>a::before,
.sec-gt-target .tabbed-content>ul.nav>li[id*="nhiệm-vụ"]>a::before,
.sec-gt-target .tabbed-content>ul.nav>li[id*="nhiem-vu"]>a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='8' y1='11' x2='12' y2='11'/%3E%3Cline x1='8' y1='15' x2='10' y2='15'/%3E%3Ccircle cx='15.5' cy='15.5' r='2.5'/%3E%3Cpath d='M15.5 12v1M15.5 18v1M12 15.5h1M18 15.5h1'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='8' y1='11' x2='12' y2='11'/%3E%3Ccircle cx='15.5' cy='15.5' r='2.5'/%3E%3Cpath d='M15.5 12v1M15.5 18v1M12 15.5h1M18 15.5h1'/%3E%3C/svg%3E") !important;
}

/* Tab Panels Card Container */
.sec-gt-target .tab-panels {
    background-color: #ffffff !important;
    padding: 40px 45px !important;
    box-shadow: 4px 4px 24px 0 rgba(0, 0, 0, .08);
}

.sec-gt-target .tab-panels .panel {
    padding: 0 !important;
}

.sec-gt-target .tab-panels h2 {
    /* font-size: 32px !important; */
    /* font-weight: 700 !important; */
    /* color: #1e293b !important; */
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    /* line-height: 1.3 !important; */
}

/* .sec-gt-target .tab-panels p,
.sec-gt-target .tab-panels ul,
.sec-gt-target .tab-panels li,
.sec-gt-target .tab-panels .text * {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #475569 !important;
} */

.sec-gt-target .tab-panels ul {
    padding-left: 20px !important;
    margin-bottom: 0 !important;
}

.sec-gt-target .tab-panels li {
    margin-bottom: 12px !important;
}

.sec-gt-target .tab-panels img {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sec-gt-target .tabbed-content>ul.nav {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .sec-gt-target .tabbed-content>ul.nav>li.tab {
        width: 100% !important;
    }

    .sec-gt-target .tabbed-content>ul.nav>li.tab>a {
        padding: 16px 20px !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    .sec-gt-target .tabbed-content>ul.nav>li.tab>a::before {
        margin-bottom: 0 !important;
        width: 28px !important;
        height: 28px !important;
    }

    .sec-gt-target .tab-panels {
        padding: 24px 20px !important;
    }
}


/* sec-gt-core-values */
.sec-gt-core-values .number {
    display: flex;
    align-items: center;
    width: 100%;
    color: #fff;
}

.sec-gt-core-values .number p {
    margin: 0;
    flex-shrink: 0;
}

.sec-gt-core-values .number::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-left: 10px;
    background: #fff;
}

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

/* ==========================================================================
   CUSTOM NEWS PAGE LAYOUT - STYLED STRICTLY UNDER .custom-news-page
   ========================================================================== */

.custom-news-page {
    padding-top: 35px !important;
    padding-bottom: 60px !important;
    background-color: #ffffff !important;
}

.custom-news-page .container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* 1. HEADER & CATEGORY NAVIGATION (ALIGNED HORIZONTALLY ON PC) */
.custom-news-page .custom-news-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.custom-news-page .custom-news-title {
    flex-shrink: 0 !important;
    font-size: 34px !important;
    font-weight: 500 !important;
    color: #111111 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* Cho khu vực category chiếm phần còn lại */
.custom-news-page .custom-news-categories {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
}

/* Không cho category xuống dòng trên PC */
.custom-news-page .custom-news-categories ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    white-space: nowrap !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.custom-news-page .custom-news-categories li {
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.custom-news-page .custom-news-categories li:not(:last-child)::after {
    content: "|" !important;
    color: #d1d5db !important;
    margin: 0 10px !important;
    font-size: 14px !important;
    font-weight: 300 !important;
}

.custom-news-page .custom-news-categories li a {
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 4px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #555555 !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.custom-news-page .custom-news-categories li a:hover::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background-color: var(--primary-color) !important;
    transition: all 0.25s ease !important;
}

.custom-news-page .custom-news-categories li a:hover {
    color: var(--primary-color) !important;
}

.custom-news-page .custom-news-categories li.active a {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.custom-news-page .custom-news-categories li.active a::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background-color: var(--primary-color) !important;
}

/* =========================
   MOBILE: cho category xuống hàng
   ========================= */
@media (max-width: 768px) {
    .custom-news-page .custom-news-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .custom-news-page .custom-news-categories {
        width: 100% !important;
        flex: none !important;
    }

    .custom-news-page .custom-news-categories ul {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        white-space: normal !important;
        row-gap: 8px !important;
    }

    .custom-news-page .custom-news-categories li {
        flex-shrink: 0 !important;
    }
}

/* 2. TOP SECTION: FEATURED (50%) + SIDE POSTS (50%) VIA CSS GRID */
.custom-news-page .news-top-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
    margin-bottom: 40px !important;
}

/* FEATURED POST (LEFT COLUMN) */
.custom-news-page .news-item-featured {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.custom-news-page .news-item-featured .news-item-image {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    margin-bottom: 14px !important;
    background-color: #f3f4f6 !important;
}

.custom-news-page .news-item-featured .news-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.custom-news-page .news-item-featured:hover .news-item-image img {
    transform: scale(1.03) !important;
}

.custom-news-page .news-item-date span {
    display: inline-block !important;
    padding: 3px 14px !important;
    background-color: #f3f4f6 !important;
    color: #777777 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 20px !important;
}

.custom-news-page .news-item-featured .news-item-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 8px 0 8px 0 !important;
}

.custom-news-page .news-item-featured .news-item-title a {
    color: #111827 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.custom-news-page .news-item-featured .news-item-title a:hover {
    color: var(--primary-color) !important;
}

.custom-news-page .news-item-featured .news-item-brief {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: #555555 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* SIDE POSTS (RIGHT COLUMN) */
.custom-news-page .news-side-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
}

.custom-news-page .news-item-side {
    display: flex !important;
    gap: 18px !important;
    align-items: flex-start !important;
}

.custom-news-page .news-item-side .news-item-image {
    flex: 0 0 210px !important;
    width: 210px !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background-color: #f3f4f6 !important;
}

.custom-news-page .news-item-side .news-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.custom-news-page .news-item-side:hover .news-item-image img {
    transform: scale(1.04) !important;
}

.custom-news-page .news-item-side .news-item-caption {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.custom-news-page .news-item-side .news-item-title {
    font-size: 16.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 4px 0 4px 0 !important;
}

.custom-news-page .news-item-side .news-item-title a {
    color: #111827 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.custom-news-page .news-item-side .news-item-title a:hover {
    color: var(--primary-color) !important;
}

.custom-news-page .news-item-side .news-item-brief {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: #666666 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 3. SMALL POSTS GRID (PC: 4 COLUMNS, MOBILE: 2 COLUMNS) VIA CSS GRID */
.custom-news-page .news-bottom-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 32px 20px !important;
}

.custom-news-page .news-item-small {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.custom-news-page .news-item-small .news-item-image {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
    background-color: #f3f4f6 !important;
}

.custom-news-page .news-item-small .news-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.custom-news-page .news-item-small:hover .news-item-image img {
    transform: scale(1.04) !important;
}

.custom-news-page .news-item-small .news-item-caption {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.custom-news-page .news-item-small .news-item-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 4px 0 4px 0 !important;
}

.custom-news-page .news-item-small .news-item-title a {
    color: #111827 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.custom-news-page .news-item-small .news-item-title a:hover {
    color: var(--primary-color) !important;
}

.custom-news-page .news-item-small .news-item-brief {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: #666666 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 4. PAGINATION STYLING (MATCHING SCREENSHOT 2) */
.custom-news-page .custom-news-pagination {
    margin-top: 50px !important;
    text-align: center !important;
}

.custom-news-page .custom-news-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.custom-news-page .custom-news-pagination .page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
}

.custom-news-page .custom-news-pagination .page-numbers li a,
.custom-news-page .custom-news-pagination .page-numbers li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
    border-radius: 2px !important;
    color: #555555 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

/* Active page number pill (Solid Blue matching screenshot 2) */
.custom-news-page .custom-news-pagination .page-numbers li span.current {
    background-color: #0052fe !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(0, 82, 254, 0.25) !important;
}

.custom-news-page .custom-news-pagination .page-numbers li a:hover {
    color: #0052fe !important;
}

/* 5. RESPONSIVE BREAKPOINTS (PC: 4 COLUMNS, MOBILE: 2 COLUMNS) */
@media (max-width: 991px) {
    .custom-news-page .custom-news-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .custom-news-page .news-top-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .custom-news-page .news-side-list {
        gap: 20px !important;
    }
}

@media (max-width: 767px) {
    .custom-news-page .news-bottom-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 12px !important;
    }

    .custom-news-page .news-item-side {
        flex-direction: row !important;
    }

    .custom-news-page .news-item-side .news-item-image {
        flex: 0 0 130px !important;
        width: 130px !important;
    }

    .custom-news-page .news-item-side .news-item-title {
        font-size: 15px !important;
    }

    .custom-news-page .news-item-featured .news-item-title {
        font-size: 20px !important;
    }
}

@media (max-width: 575px) {
    .custom-news-page .custom-news-categories ul {
        gap: 0 !important;
    }

    .custom-news-page .custom-news-categories li:not(:last-child)::after {
        margin: 0 6px !important;
    }

    .custom-news-page .news-item-side .news-item-image {
        flex: 0 0 110px !important;
        width: 110px !important;
    }

    .custom-news-page .news-item-side .news-item-brief {
        display: none !important;
    }
}

/* EMPTY CATEGORY STATE STYLING */
.custom-news-page .custom-news-empty {
    padding: 60px 0 !important;
    text-align: center !important;
    color: #666666 !important;
    font-size: 16px !important;
}

.custom-news-page .custom-news-empty p {
    margin: 0 !important;
    font-size: 16px !important;
    color: #777777 !important;
}

/* ==========================================================================
   CUSTOM SINGLE POST STYLES - MATCHING REFERENCE MOCKUP (IMAGE 1)
   ========================================================================== */

/* DISABLE STICKY ON SIDEBAR */
body.single .post-sidebar,
body.single-post .post-sidebar,
body.single .static-post-sidebar,
body.single .is-sticky-column,
body.single .is-sticky-column__inner,
.custom-single-sidebar,
.custom-single-sidebar * {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    will-change: auto !important;
}

/* ARTICLE WRAPPER WITH RELATIVE POSITIONING FOR OUTSIDE SHARE ICONS */
.custom-single-post {
    position: relative !important;
    padding-top: 5px !important;
}

/* 1. SHARE ICONS FLOATING ON OUTSIDE LEFT MARGIN (DOES NOT TAKE CONTENT WIDTH) */
.custom-single-post .single-post-share-column {
    position: absolute !important;
    left: -52px !important;
    top: 6px !important;
    width: 36px !important;
    z-index: 10 !important;
}

.custom-single-post .single-post-share-icons {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: center !important;
}

.custom-single-post .share-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background-color: #e53935 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.custom-single-post .share-btn:hover {
    transform: scale(1.1) !important;
    opacity: 0.9 !important;
}

/* 2. MAIN ARTICLE COLUMN (FULL 100% WIDTH OF CONTAINER) */
.custom-single-post .single-post-main-column {
    width: 100% !important;
}

.custom-single-post .single-post-header {
    margin-bottom: 25px !important;
}

.custom-single-post .single-post-title {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    line-height: 1.3 !important;
    margin: 0 0 14px 0 !important;
}

/* DATE PILL */
.custom-single-post .single-post-meta {
    margin-bottom: 14px !important;
}

.custom-single-post .single-post-date {
    display: inline-block !important;
    padding: 3px 14px !important;
    background-color: #f3f4f6 !important;
    color: #777777 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 20px !important;
}

/* BLUE DIVIDER LINE */
.custom-single-post .single-post-blue-divider {
    width: 100% !important;
    height: 2px !important;
    background-color: #0052fe !important;
    margin-top: 14px !important;
}

/* CONTENT FORMATTING */
.custom-single-post .custom-single-content {
    font-size: 15.5px !important;
    line-height: 1.75 !important;
    color: #333333 !important;
}

.custom-single-post .custom-single-content h2,
.custom-single-post .custom-single-content h3 {
    font-weight: 700 !important;
    color: #111827 !important;
    margin-top: 28px !important;
    margin-bottom: 14px !important;
}

.custom-single-post .custom-single-content img {
    border-radius: 6px !important;
    margin: 16px 0 !important;
}

/* 3. SIDEBAR "TIN TỨC KHÁC" (STATIC, NON-STICKY) */
.custom-single-sidebar {
    padding-top: 5px !important;
    position: static !important;
    transform: none !important;
}

.custom-single-sidebar .single-sidebar-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0052fe !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
}

.custom-single-sidebar .single-sidebar-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

.custom-single-sidebar .sidebar-post-item {
    display: flex !important;
    gap: 14px !important;
    align-items: flex-start !important;
}

.custom-single-sidebar .sidebar-post-image {
    flex: 0 0 110px !important;
    width: 110px !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background-color: #f3f4f6 !important;
}

.custom-single-sidebar .sidebar-post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.custom-single-sidebar .sidebar-post-item:hover .sidebar-post-image img {
    transform: scale(1.05) !important;
}

.custom-single-sidebar .sidebar-post-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.custom-single-sidebar .sidebar-post-date span {
    display: inline-block !important;
    padding: 2px 10px !important;
    background-color: #f3f4f6 !important;
    color: #777777 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 12px !important;
}

.custom-single-sidebar .sidebar-post-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin: 4px 0 0 0 !important;
}

.custom-single-sidebar .sidebar-post-title a {
    color: #111827 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.custom-single-sidebar .sidebar-post-title a:hover {
    color: #0052fe !important;
}

.comments-area {
    display: none !important;
}

/* RESPONSIVE FOR SINGLE POST */
@media (max-width: 1200px) and (min-width: 768px) {
    .custom-single-post .single-post-share-column {
        left: -44px !important;
    }
}

@media (max-width: 767px) {
    .custom-single-post .single-post-share-column {
        position: static !important;
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    .custom-single-post .single-post-share-icons {
        flex-direction: row !important;
    }

    .custom-single-post .single-post-title {
        font-size: 22px !important;
    }

    .custom-single-sidebar {
        margin-top: 40px !important;
        border-top: 1px solid #eeeeee !important;
        padding-top: 30px !important;
    }
}


.row-product-new {
    position: relative;
    z-index: 2;
    margin-top: -90px !important;
}













/* =========================================
   PRODUCT CUSTOM INFORMATION
========================================= */

.product-info.summary {
    padding-left: 35px;
}


/* PRODUCT TITLE */
.product-info.summary .product_title {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 500;
    margin: 0 0 28px;
    color: #111;
}


/* SHORT DESCRIPTION */
.product-short-description {
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    margin-bottom: 28px;
}

.product-short-description p {
    margin-bottom: 0;
}


/* =========================================
   PRODUCT INFO
========================================= */

.product-custom-info {
    width: 100%;
    margin-top: 10px;
}


.product-info-row {
    display: flex;
    align-items: center;
    min-height: 65px;
    border-bottom: 1px solid #e5e5e5;
}


.product-info-label {
    width: 188px;
    flex-shrink: 0;

    font-size: 16px;
    font-weight: 600;
    color: #111;
}


.product-info-value {
    flex: 1;

    font-size: 16px;
    color: #222;
}


.product-info-value a {
    color: #222;
}


/* =========================================
   SHARE
========================================= */

.product-share-row {
    min-height: 65px;
}


.product-share-row .product-info-value {
    display: flex;
    align-items: center;
}


/* Hide unnecessary sharing text */
.product-share-row .social-icons .button,
.product-share-row .social-icons a {
    margin-right: 10px;
}

/* =========================================
   QUOTE + BROCHURE BUTTON
========================================= */

.product-quote-button-wrapper {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

/* =========================
   YÊU CẦU BÁO GIÁ
========================= */

.product-quote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 205px;
    height: 52px;
    padding: 0 18px;

    background: #064cff;
    color: #fff !important;

    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.45);

    font-size: 17px;
    font-weight: 500;
    text-decoration: none !important;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);

    transition: all 0.2s ease;
}

.product-quote-button:hover {
    background: #003ed6;
    color: #fff !important;
    transform: translateY(-1px);
}


/* =========================
   BROCHURE
========================= */

.product-brochure-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    height: 52px;
    padding: 0 18px;

    background: #f5222d;
    color: #fff !important;

    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.45);

    font-size: 17px;
    font-weight: 500;
    text-decoration: none !important;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);

    transition: all 0.2s ease;
}

.product-brochure-button:hover {
    background: #d91620;
    color: #fff !important;
    transform: translateY(-1px);
}


/* =========================
   TEXT
========================= */

.product-quote-text,
.product-brochure-text {
    margin-right: 12px;
}


/* =========================
   ICON
========================= */

.product-quote-icon,
.product-brochure-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    font-size: 21px;
    line-height: 1;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 549px) {

    .product-quote-button-wrapper {
        gap: 12px;
    }

    .product-quote-button,
    .product-brochure-button {
        min-width: 0;
        flex: 1;
    }

}

/* ========================================
   WooCommerce Product Tabs
   ======================================== */

.woocommerce-tabs.wc-tabs-wrapper {
    border: 1px solid #ddd;
    padding: 35px 35px 0;
    margin-bottom: 50px;
}

/* Tab navigation */
.woocommerce-tabs .wc-tabs {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ddd;
}

/* Remove Flatsome default styles */
.woocommerce-tabs .wc-tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Tab text */
.woocommerce-tabs .wc-tabs li a {
    position: relative;
    display: block;
    padding: 15px 0 14px !important;
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: #666;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Active tab */
.woocommerce-tabs .wc-tabs li.active a {
    color: #0057ff;
    font-weight: 700;
}

.woocommerce-tabs .wc-tabs li a::before {
    display: none !important;
    content: none !important;
}

/* Blue underline */
.woocommerce-tabs .wc-tabs li.active a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #0057ff;
}

/* Hover */
.woocommerce-tabs .wc-tabs li a:hover {
    color: #0057ff;
}

/* Tab content */
.woocommerce-tabs .tab-panels {
    padding: 30px 0 35px;
}

.woocommerce-tabs .tab-panels .panel {
    margin: 0;
    padding: 0;
}

/* Lists inside tab */
.woocommerce-tabs .tab-panels ul {
    margin: 0;
    padding-left: 20px;
}

.woocommerce-tabs .tab-panels li {
    margin-bottom: 8px;
}

/* mobile */
@media (max-width: 768px) {
    .woocommerce-tabs .wc-tabs {
        gap: 0px;
    }
}





/* Dropdown Header */
@media (min-width: 992px) {

    /* 1. Header Navigation Active / Hover Underline */
    .header-nav .nav>li.active>a,
    .header-nav .nav>li:hover>a,
    .nav>li.menu-item-has-children:hover>a,
    .nav>li.has-dropdown:hover>a {
        color: #0057ff !important;
    }

    .header-nav .nav>li>a {
        position: relative;
        transition: color 0.25s ease;
    }

    .header-nav .nav>li.active>a::after,
    .header-nav .nav>li:hover>a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -4px;
        height: 2px;
        background: #0057ff;
        border-radius: 2px;
    }

    /* Ensure Header Main is Relative Parent for Mega Menu Dropdown without breaking sticky header */
    .header-main {
        position: relative;
    }

    .header-main .header-nav-main > li.has-dropdown,
    .header-main .header-nav-main > li.menu-item-has-children {
        position: static !important;
    }


    /* 2. Mega Menu Container (Full-Width 100vw Background, Flush with Header Bottom) */
    ul.sub-menu.nav-dropdown,
    ul.nav-dropdown-full,
    .nav-dropdown,
    .header-nav .nav-dropdown,
    .nav > li.has-dropdown > .nav-dropdown,
    .nav > li.menu-item-has-children > .sub-menu {
        position: absolute !important;
        top: 100% !important;
        left: 45% !important;
        transform: translateX(-50%) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        background-color: #ffffff !important;
        padding: 32px 30px !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
        z-index: 99999 !important;
        box-sizing: border-box !important;

        /* Flexbox layout: Dynamic centering for 3, 6, 9 items + wrapping */
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: flex-start !important;
        gap: 24px !important;
        margin: 0 !important;
        list-style: none !important;
    }


    .nav-dropdown::before,
    .nav-dropdown::after,
    ul.sub-menu::before,
    ul.sub-menu::after {
        display: none !important;
    }

    /* 3. Dropdown List Items (Fixed card width for uniform cards) */
    ul.sub-menu.nav-dropdown>li,
    ul.nav-dropdown-full>li,
    .nav-dropdown>li,
    .header-nav .nav-dropdown>li {
        flex: 0 0 170px !important;
        width: 170px !important;
        max-width: 180px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        box-sizing: border-box !important;
        list-style: none !important;
    }

    ul.sub-menu.nav-dropdown>li::before,
    ul.sub-menu.nav-dropdown>li::after {
        display: none !important;
    }

    /* 4. Item Links & Flatsome icon override (Forces Image Top, Text Below, Text Wrapping) */
    .header-nav .nav-dropdown li.has-icon-left>a,
    .header-nav ul.sub-menu>li.has-icon-left>a,
    ul.sub-menu.nav-dropdown>li.has-icon-left>a,
    ul.nav-dropdown-full>li.has-icon-left>a,
    .has-icon-left>a,
    li.has-icon-left>a,
    .menu-item.has-icon-left>a,
    ul.sub-menu.nav-dropdown>li>a,
    ul.nav-dropdown-full>li>a,
    .nav-dropdown>li>a,
    .header-nav .nav-dropdown>li>a,
    .nav-dropdown a,
    .sub-menu a {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        background: transparent !important;
        text-decoration: none !important;
        color: #2b3674 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        text-align: left !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        transition: all 0.25s ease !important;
        box-sizing: border-box !important;
    }

    /* Force all child nodes and text elements inside .has-icon-left > a to wrap */
    .has-icon-left>a *,
    li.has-icon-left>a *,
    ul.sub-menu.nav-dropdown>li>a *,
    .nav-dropdown a * {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        max-width: 100% !important;
    }

    ul.sub-menu.nav-dropdown>li>a:hover,
    ul.nav-dropdown-full>li>a:hover,
    .nav-dropdown>li>a:hover,
    .has-icon-left>a:hover {
        background: transparent !important;
        color: #0057ff !important;
    }

    /* 5. Image Styling (Strictly equal width & height on all cards) */
    .has-icon-left>a img,
    li.has-icon-left>a img,
    .has-icon-left img.ux-menu-icon,
    img.ux-menu-icon,
    ul.sub-menu.nav-dropdown>li>a img,
    ul.sub-menu.nav-dropdown>li>a img.ux-menu-icon,
    ul.nav-dropdown-full>li>a img,
    .nav-dropdown img {
        width: 100% !important;
        height: 220px !important;
        aspect-ratio: 3 / 4 !important;
        max-width: 100% !important;
        min-width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 6px !important;
        margin: 0 0 12px 0 !important;
        display: block !important;
        float: none !important;
        box-sizing: border-box !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    }

    ul.sub-menu.nav-dropdown>li>a:hover img,
    ul.sub-menu.nav-dropdown>li>a:hover img.ux-menu-icon,
    ul.nav-dropdown-full>li>a:hover img,
    .has-icon-left>a:hover img {
        transform: translateY(-3px) !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
    }

    /* 6. Title text hover */
    ul.sub-menu.nav-dropdown>li>a span,
    ul.sub-menu.nav-dropdown>li>a,
    .has-icon-left>a {
        color: #2b3674 !important;
    }

    ul.sub-menu.nav-dropdown>li>a:hover,
    ul.sub-menu.nav-dropdown>li>a:hover span,
    .has-icon-left>a:hover {
        color: #0057ff !important;
    }
}

/* ========================================
   DROPDOWN - SCROLL WHEN SCREEN HEIGHT LOW
======================================== */

.header-nav .nav-dropdown,
.header-nav ul.nav-dropdown-full,
.header-nav ul.sub-menu.nav-dropdown {
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Thanh scroll */
.header-nav .nav-dropdown::-webkit-scrollbar,
.header-nav ul.nav-dropdown-full::-webkit-scrollbar,
.header-nav ul.sub-menu.nav-dropdown::-webkit-scrollbar {
    width: 6px !important;
}

.header-nav .nav-dropdown::-webkit-scrollbar-thumb,
.header-nav ul.nav-dropdown-full::-webkit-scrollbar-thumb,
.header-nav ul.sub-menu.nav-dropdown::-webkit-scrollbar-thumb {
    background: #d0d0d0 !important;
    border-radius: 10px !important;
}

.header-nav .nav-dropdown::-webkit-scrollbar-track,
.header-nav ul.nav-dropdown-full::-webkit-scrollbar-track,
.header-nav ul.sub-menu.nav-dropdown::-webkit-scrollbar-track {
    background: transparent !important;
}


/* Footer */

.sec-footer .col-link {
    border-left: 1px solid rgba(255, 255, 255, .3);
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.sec-footer .col-ft-info p {
    color: rgba(255, 255, 255, .5) !important;
}

.sec-footer .col-link .ux-menu-link__link {
    color: rgba(255, 255, 255, .5);
}

.sec-footer .follow-icons .icon {
    margin-bottom: 0px !important;
    margin-right: 10px;
}

.footer-wrapper .absolute-footer {
    display: none !important;
}



/* =========================================================
   KTECH - SHARED SLIDER ARROWS
   Chỉ dùng style chung, KHÔNG can thiệp transform của slider
   ========================================================= */

.ktech-slider-arrow,
.ktech-proj-arrow,
.ktech-gallery-arrow,
.partner-slider .swiper-btn,
.ktech-product-slider-wrapper .flickity-prev-next-button {
    width: 3.875rem !important;
    height: 3.875rem !important;

    background: #d2d2d782 !important;
    color: #ffffff !important;

    border: 1px solid #e2e8f082 !important;
    border-radius: 0 !important;

    font-size: 1.6rem !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    cursor: pointer !important;

    z-index: 10 !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease !important;

    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;

    line-height: 1 !important;

    opacity: 1 !important;
    visibility: visible !important;
}


/* =========================================================
   HOVER
   ========================================================= */

.ktech-slider-arrow:hover,
.ktech-proj-arrow:hover,
.ktech-gallery-arrow:hover,
.partner-slider .swiper-btn:hover,
.ktech-product-slider-wrapper .flickity-prev-next-button:hover {
    background: #0055ff !important;
    color: #ffffff !important;
    border-color: #0055ff !important;
}


/* =========================================================
   CUSTOM ARROW - PREVIOUS
   ========================================================= */

.ktech-slider-arrow.prev,
.ktech-proj-arrow.prev,
.ktech-gallery-arrow.prev,
.partner-slider .swiper-btn-prev,
.ktech-product-slider-wrapper .flickity-prev-next-button.previous {
    left: 28px !important;
}


/* =========================================================
   CUSTOM ARROW - NEXT
   ========================================================= */

.ktech-slider-arrow.next,
.ktech-proj-arrow.next,
.ktech-gallery-arrow.next,
.partner-slider .swiper-btn-next,
.ktech-product-slider-wrapper .flickity-prev-next-button.next {
    right: 28px !important;
}


/* =========================================================
   FLICKITY ICON
   ========================================================= */

.ktech-product-slider-wrapper .flickity-prev-next-button .flickity-button-icon {
    fill: #ffffff !important;
    width: 75% !important;
    height: 75% !important;
}


/* =========================================================
   MOBILE
   Không ép transform / position của Flickity
   ========================================================= */

@media (max-width: 768px) {

    .ktech-slider-arrow,
    .ktech-proj-arrow,
    .ktech-gallery-arrow,
    .partner-slider .swiper-btn,
    .partner-slider .swiper-navigation,
    .flickity-prev-next-button,
    .ktech-product-slider-wrapper .flickity-prev-next-button {
        display: none !important;
    }

}













/* ========================================
   FIXED CONTACT
======================================== */

.fixed-contact {
    position: fixed !important;
    right: 0 !important;
    bottom: 45px !important;
    top: auto !important;

    width: 135px !important;
    padding: 0 !important;
    margin: 0 !important;
	
	gap: 0.2rem;

    z-index: 9999;
    transform: none !important;
}

/* Reset UX Builder */
.fixed-contact .section-content,
.fixed-contact .row,
.fixed-contact .col,
.fixed-contact .col-inner {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}


/* ========================================
   CONTACT ITEM
======================================== */

.fixed-contact-item {
    position: relative;
    width: 135px !important;
    height: 45px !important;
	margin-bottom: 0.2rem !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 45px 1fr !important;
    align-items: center !important;
    background: #043cff !important;
    color: #fff !important;
    transform: translateX(90px);
    transition: transform .3s ease;
    overflow: hidden;
}


/* ========================================
   HOVER → TRƯỢT RA
======================================== */

.fixed-contact-item:not(.btn-btt):hover {
    transform: translateX(0);
}


/* ========================================
   ICON
======================================== */
.fixed-contact-item .icon-box-img {
    width: 45px !important;
    height: 45px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

.fixed-contact-item .icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fixed-contact-item .icon-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fixed-contact-item img {
    width: 25px !important;
    height: 25px !important;

    object-fit: contain !important;
}


/* ========================================
   TEXT
======================================== */

.fixed-contact-item .icon-box-text {
    width: 90px !important;

    margin: 0 !important;
    padding: 0 10px !important;

    display: flex !important;
    align-items: center !important;

    color: #fff !important;
}

.fixed-contact-item .icon-box-text p {
    margin: 0 !important;

    color: #fff !important;
    font-size: 13px !important;
    font-weight: 500;

    line-height: 45px !important;
    white-space: nowrap;
}

/* ========================================
   BACK TO TOP - ICON
======================================== */

.fixed-contact-item.btn-btt .icon-box-img {
    display: none !important;
}

.fixed-contact-item.btn-btt .icon-box-text {
    grid-column: 1 / 3 !important;
    width: 45px !important;
    padding: 0 !important;
}

.fixed-contact-item.btn-btt .icon-box-text p {
    display: none !important;
}

.fixed-contact-item.btn-btt::before {
    content: "↑";

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 27px;
    font-weight: 500;
    line-height: 1;

    grid-column: 1 / 3;
}

/* ========================================
   BACK TO TOP
   KHÔNG MỞ RỘNG KHI HOVER
======================================== */

.fixed-contact-item.btn-btt {
    transform: translateX(90px) !important;
}

.fixed-contact-item.btn-btt:hover {
    transform: translateX(90px) !important;
}


/* ========================================
   ZALO
======================================== */

.fixed-contact-item img[src*="zalo"] {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
}

/* ========================================
   BACK TO TOP - SHOW / HIDE
======================================== */

.fixed-contact-item.btn-btt {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(90px) !important;
    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease !important;
}


/* Khi scroll xuống */
.fixed-contact-item.btn-btt.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(90px) !important;
}


/* Không mở rộng khi hover */
.fixed-contact-item.btn-btt:hover {
    transform: translateX(90px) !important;
}


/* ========================================
   MOBILE
======================================== */
/* 
@media (max-width: 849px) {

    .fixed-contact {
        width: 140px !important;
        bottom: 30px !important;
    }

    .fixed-contact-item {
        width: 140px !important;
        height: 40px !important;

        grid-template-columns: 40px 1fr !important;

        transform: translateX(100px);
    }

    .fixed-contact-item:not(.btn-btt):hover {
        transform: translateX(0);
    }

    .fixed-contact-item.btn-btt,
    .fixed-contact-item.btn-btt:hover {
        transform: translateX(100px) !important;
    }
}

 */






