.UIMainMenu {
    z-index: 10000;
    text-align: left;
    position: relative;
}
.UIMainMenu a .menu-title .active {
    color: #ffe48d;
}
.UIMainMenu .MobileMenu .main-menu-bar {
    display: none;
}
.UIMainMenu ul {
    margin: 0 auto;
    list-style: none;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0;
}
.UIMainMenu ul li ul li ul{
    padding: 0px;
    margin: 0px;
    list-style: none;
    text-align:center;
    width: auto;
}
.UIMainMenu li.main-menu-item {
    list-style: none;
    display: inline-block;
    padding: 65px 10px 0 10px;
    z-index: 1000;
    position: relative;
    height: 130px;
}

/* --- PHáº¦N CHá»ˆNH Sá»¬A Äá»‚ LÃ€M MEGA MENU Dáº NG LÆ¯á»šI --- */
.UIMainMenu .main-menu-item .sub-menu-l1 {
    display: none;
    margin: 0;
    padding: 30px 20%; /* Khoáº£ng cÃ¡ch trÃªn dÆ°á»›i, sang hai bÃªn mÃ¬nh chá»‰nh á»Ÿ container bÃªn trong */
    
    /* Cáº¥u hÃ¬nh Ä‘á»ƒ trÃ n full mÃ n hÃ¬nh */
    position: fixed; /* Hoáº·c absolute tÃ¹y cáº¥u trÃºc tháº» cha, nhÆ°ng fixed sáº½ Ä‘áº£m báº£o trÃ n toÃ n mÃ n hÃ¬nh trÃ¬nh duyá»‡t */
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important; /* TrÃ n Ä‘Ãºng báº±ng chiá»u rá»™ng cá»§a mÃ n hÃ¬nh */
    top: 130px; /* Chá»‰nh khoáº£ng cÃ¡ch cÃ¡ch tá»« mÃ©p trÃªn xuá»‘ng sao cho vá»«a khÃ­t vá»›i thanh menu cáº¥p 1 cá»§a chá»‹ */
    text-align: left;
    z-index: 1000;
    
    /* Chuyá»ƒn thÃ nh dáº¡ng lÆ°á»›i (Grid) 3 cá»™t giá»‘ng áº¢nh 2 */
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: #ffffffb0; /* Giá»¯ nguyÃªn ná»n xanh cá»§a chá»‹ hoáº·c Ä‘á»•i thÃ nh #ffffff náº¿u muá»‘n ná»n tráº¯ng giá»‘ng áº£nh máº«u */
    border-bottom: 1px solid #f5ec94;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    border-radius: 0 0 8px 8px;
}

.UIMainMenu .main-menu-item:hover .sub-menu-l1 {
    display: grid !important; /* Khi hover sáº½ hiá»‡n lÃªn theo kiá»ƒu lÆ°á»›i */
}

.UIMainMenu .sub-menu-l1 .menu-item1 {
    padding: 5px;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center; /* Canh giá»¯a theo chiá»u dá»c cho áº£nh vÃ  chá»¯ tháº³ng hÃ ng */
    gap: 15px;          /* Khoáº£ng cÃ¡ch giá»¯a áº£nh vÃ  chá»¯ (chá»‹ cÃ³ thá»ƒ chá»‰nh láº¡i sá»‘ nÃ y theo Ã½ muá»‘n) */
}
.UIMainMenu .main-menu-item li:hover {
    transform: scale(1.05) !important;
    border-bottom: 2px solid #238bc9;
}
    
li.menu-item {
  display: flex;
    align-items: center; /* Canh giá»¯a theo chiá»u dá»c cho áº£nh vÃ  chá»¯ tháº³ng hÃ ng */
    gap: 10px;          /* Khoáº£ng cÃ¡ch giá»¯a áº£nh vÃ  chá»¯ (chá»‹ cÃ³ thá»ƒ chá»‰nh láº¡i sá»‘ nÃ y theo Ã½ muá»‘n) */
}
/* Äá»‹nh dáº¡ng láº¡i tá»«ng Ã´ má»¥c con Ä‘á»ƒ chá»©a cáº£ áº£nh vÃ  text canh ngang Ä‘áº¹p máº¯t */
.UIMainMenu .sub-menu-l1 .menu-item1 a {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    padding: 10px 12px !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    line-height: 1.4 !important;
    white-space: normal !important; /* Cho phÃ©p rá»›t xuá»‘ng dÃ²ng náº¿u text dÃ i */
    transition: all 0.2s ease;
}

.UIMainMenu .sub-menu-l1 .menu-item1 a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #5c88c9 !important;
}

/* Hiá»ƒn thá»‹ vÃ  Ä‘á»‹nh dáº¡ng áº£nh icon/thumbnail trong menu cáº¥p 2 */
.UIMainMenu .sub-menu-l1 .menu-item1 img {
    height: 40px !important;
    width: 40px !important;
    object-fit: cover;
    border-radius: 4px;
    padding-top: 0 !important;
    display: block !important; /* Báº­t hiá»ƒn thá»‹ áº£nh lÃªn thay vÃ¬ bá»‹ áº©n nhÆ° cÅ© */
    flex-shrink: 0;
}
/* ------------------------------------------------ */

.UIMainMenu a.menu-title {
    display: inline-block;
}
.UIMainMenu a.menu-title:hover:before {
    border-bottom: 10px solid #ffe48d;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    position: absolute;
    left: calc(50% - 12px);
    bottom: 0px;
    z-index: 10;
}
.UIMainMenu li ul li a.menu-title:hover:before {
    content: "";
    border: none;
}
.UIMainMenu li.main-menu-item a{
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    color: #222222;
    opacity: 1;
    font-weight: bold;
}
.UIMainMenu li.main-menu-item a:hover{
    color: #5c88c9;
}
.UIMainMenu li.main-menu-item li a{
    font-size: 15px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-transform: none;
    color: #222222;
}
.UIMainMenu li.main-menu-item li a:hover{
    color: #5c88c9;
}
.UIMainMenu li.main-menu-item li ul li a{
    font-size: 15px;
    font-weight: normal;
    color: #1f1f1f;
}
.UIMainMenu li.main-menu-item li ul li{
    display: block;
    float: left;
    height: auto;
    margin: 0;
    padding: 0;
    width: 100%;
}
.UIMainMenu ul .MenuLogo {
    height: 95px;
    float: left;
    display: none;
}
.UIMainMenu .MenuDropButton img.logo {
    display: none;
}