    .menu-svg-icon {
        filter: invert(28%) sepia(89%) saturate(500%) hue-rotate(105deg) brightness(90%);
    }

    .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        /* gap: 12px; */
        white-space: nowrap;
    }

    .cr-logo .logo-desktop {
        display: inline-block;
    }

    .cr-logo .logo-mobile {
        display: none;
    }

    .cr-mobile-toggle-slot,
    .cr-mobile-cart,
    .cr-mobile-extra-link {
        display: none;
    }
    .cr-fix-sticky {
        position: fixed;
        z-index: 1030;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
    }

    #cr-main-menu-desk-placeholder {
        display: block;
        width: 100%;
    }

    @media (max-width: 991px) {
        .top-header .cr-search {
            max-width: 100% !important;
        }

        .top-header .cr-search input {
            width: 100% !important;
        }

        .top-header .cr-search .cr-table-content {
            position: fixed !important;
            left: 0 !important;
            right: 0 !important;
            width: 100% !important;
            max-width: 100% !important;
            max-height: 70vh !important;
            background: #fff;
            box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
            border-radius: 0 0 10px 10px;
        }

        .full-width-header .top-header {
            display: flex !important;
            align-items: center !important;
            flex-wrap: wrap;
            gap: 10px 14px;
        }

        .full-width-header .top-header>* {
            align-self: center !important;
            margin-top: 0 !important;
            margin-bottom: 0 !important;
        }

        .full-width-header .top-header .cr-logo {
            order: 2;
            flex: 0 0 auto;
            display: flex;
            align-items: center;
        }

        .full-width-header .top-header .cr-logo img {
            height: 34px !important;
            width: auto !important;
            object-fit: contain;
        }

        .full-width-header .top-header .cr-search {
            order: 4;
            flex: 1 1 100%;
            min-width: 0;
        }


        .full-width-header .top-header .cr-right-bar {
            display: none;
        }

        .cr-mobile-toggle-slot {
            order: 1;
            flex: 0 0 auto;
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            line-height: 1;
            color: #fff;
            background: transparent;
            border: none;
            padding: 0;
            text-decoration: none;
        }

        /* Mặc định (chưa cuộn): giỏ hàng nằm cuối hàng 1 (cạnh logo) */
        .cr-mobile-cart {
            order: 3;
            margin-left: auto;
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            position: relative;
            font-size: 20px;
            color: #fff;
            text-decoration: none;
        }

        .cr-mobile-cart .label.count {
            position: absolute;
            top: -6px;
            right: -8px;
            min-width: 16px;
            height: 16px;
            line-height: 16px;
            font-size: 11px;
            text-align: center;
            border-radius: 50%;
            background: red;
            color: #fff;
            padding: 0 2px;
        }

        /* Hàng "Danh mục / Tin tức / Dịch vụ / tài khoản / giỏ hàng chữ" cũ
           được ẩn đi vì menu + giỏ hàng đã chuyển lên hàng trên,
           Tin tức/Dịch vụ vẫn còn trong menu ngăn kéo (bấm icon menu để mở) */
        #cr-main-menu-desk .cr-category-icon-block,
        #cr-main-menu-desk .cr-header-buttons {
            display: none !important;
        }

        .cr-mobile-extra-link {
            display: block;
            border-top: 1px solid rgba(0, 0, 0, .06);
        }

        /* ============================================================
           ĐÃ CUỘN XUỐNG (class .header-compact do JS gắn vào .full-width-header):
           gộp lại 1 hàng — menu / logo / search / giỏ hàng
        ============================================================ */
        .full-width-header.header-compact .top-header {
            flex-wrap: nowrap;
        }

        .full-width-header.header-compact .top-header .cr-search {
            order: 3;
            flex: 1 1 auto;
        }

        .full-width-header.header-compact .cr-mobile-cart {
            order: 4;
            margin-left: 0;
        }

        /* Đã cuộn (compact): đổi sang logo-tnc.webp */
        .full-width-header.header-compact .top-header .cr-logo .logo-desktop {
            display: none !important;
        }

        .full-width-header.header-compact .top-header .cr-logo .logo-mobile {
            display: inline-block !important;
        }
    }

    /* Fix click toggle mũi tên trên mobile menu: z-index, padding và xoay mũi tên */
    .cr-side-cart ul li,
    .cr-mobile-menu ul li {
        position: relative !important;
    }

    .cr-side-cart ul li > a,
    .cr-mobile-menu ul li > a {
        padding-right: 50px !important;
    }

    .cr-side-cart ul li .menu-toggle,
    .cr-mobile-menu ul li .menu-toggle {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 50px !important;
        height: 48px !important;
        z-index: 10 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        background: transparent !important;
        pointer-events: auto !important;
        border: none !important;
        outline: none !important;
        -webkit-tap-highlight-color: transparent;
    }

    .cr-side-cart ul li .menu-toggle::before,
    .cr-mobile-menu ul li .menu-toggle::before {
        content: "›" !important;
        font-size: 24px !important;
        font-weight: 500 !important;
        color: #777 !important;
        display: inline-block !important;
        transform: rotate(90deg) !important;
        transition: transform 0.3s ease !important;
        pointer-events: none !important;
    }

    .cr-side-cart ul li.active > .menu-toggle::before,
    .cr-side-cart ul li.open > .menu-toggle::before,
    .cr-mobile-menu ul li.active > .menu-toggle::before,
    .cr-mobile-menu ul li.open > .menu-toggle::before {
        transform: rotate(270deg) !important;
    }

    .cr-side-cart ul li .sub-menu,
    .cr-mobile-menu ul li .sub-menu {
        display: none;
        width: 100%;
    }

    .cr-side-cart ul li.active > .sub-menu,
    .cr-side-cart ul li.open > .sub-menu,
    .cr-mobile-menu ul li.active > .sub-menu,
    .cr-mobile-menu ul li.open > .sub-menu {
        display: block;
    }