.elementor-widget-container .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-container .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-12233 .elementor-element.elementor-element-542658f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-html .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-html .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-12233 .elementor-element.elementor-element-b173bd4 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for html, class: .elementor-element-b173bd4 */.container {
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 8px 16px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Top Bar */

.top-bar {
    background-color: #000;
    color: white;
    font-size: 14px;
}

.top-bar a {
    color: white;
    font-size: 14px;
}

.separator {
    display: inline-block;
    width: 2px;
    /* Dọc nên chiều rộng nhỏ */
    height: 40px;
    /* Chiều cao tùy ý */
    background: linear-gradient(to top, transparent, #555, transparent);
    margin: 0 12px;
}


/* Bottom Bar */

.bottom-bar {
    background-color: #f5f5f5;
    padding: 12px 0;
    position: relative;
    z-index: 1001;
}

.logo img {
    max-height: 25px;
    width: auto;
}


/* Nav Menu */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.nav-menu a {
    font-weight: 500;
    color: #000;
    font-size: 15px;
}

.nav-menu a:hover {
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
    border-radius: 10px;
}

.nav-menu span {
    color: #aaa;
}

.nav-item {
    position: relative;
}


/* Desktop Dropdown */

.desktop-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-width: 650px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    border-radius: 10px;
    margin-top: 5px;
}

.nav-item:hover .desktop-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.dropdown-columns .col a {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    gap: 8px;
    margin-top: 25px;
}

.dropdown-columns .col .image-icon {
    max-height: 80px;
    width: auto;
}

.dropdown-columns .col.image img {
    max-width: 250px;
    border-radius: 4px;
    height: auto;
}


/* Mobile Menu & Toggle */

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.close-btn {
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}


/* Mobile Submenu */

.mobile-toggle-parent {
    display: flex;
    align-items: center;
}

.mobile-submenu-toggle,
.vps-submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 6px;
}

.mobile-submenu-toggle i {
    transition: transform 0.3s ease;
    /* Hiệu ứng mượt khi xoay */
}


/* Khi hover vào button, xoay icon xuống */

.mobile-submenu-toggle:hover i {
    transform: rotate(180deg);
}

.vps-submenu-toggle i {
    transition: transform 0.3s ease;
    /* Hiệu ứng mượt khi xoay */
}


/* Khi hover vào button, xoay icon xuống */

.vps-submenu-toggle:hover i {
    transform: rotate(180deg);
}

.mobile-dropdown,
.vps-mobile-dropdown {
    display: none;
    flex-direction: column;
    margin-top: 10px;
    padding-left: 15px;
}

.mobile-dropdown a,
.vps-mobile-dropdown a {
    margin-bottom: 8px;
    color: #000;
    display: flex;
    font-size: 12px;
    gap: 8px;
    align-items: center;
}

.mobile-dropdown .image-icon,
.vps-mobile-dropdown .image-icon {
    max-height: 40px;
    width: auto;
}

.mobile-dropdown.show,
.vps-mobile-dropdown.show {
    display: flex;
}


/* Mobile Logo */

.mobile-logo {
    position: absolute;
    top: 12px;
    left: 15px;
    z-index: 1002;
    display: none;
}

.mobile-logo img {
    max-height: 25px;
    width: auto;
}


/* Responsive Breakpoints */

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 20px 500px 20px;
        background: #fff;
        width: 80% !important;
        height: 102vh;
        transition: left 0.3s ease;
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu a,
    .nav-menu span {
        margin: 3px 0 !important;
        padding: 6px 0 !important;
        line-height: 1.4 !important;
    }

    .nav-menu span {
        display: none;
    }
    .nav-menu .close-btn {
        display: block;
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        cursor: pointer;
        color: #000 !important;
        transition: transform 0.3s ease, color 0.3s ease;
        z-index: 1001;
    }
    .close-btn:hover,
    .close-btn:focus {
        transform: rotate(90deg) scale(1.1);
        color: #e74c3c;
    }
    .desktop-dropdown {
        display: none !important;
    }
    .mobile-logo {
        display: flex;
        align-items: center;
    }
}


/* Additional Device Responsiveness */

@media (max-width: 575.98px) {
    .container {
        padding: 8px;
    }
    .nav-menu {
        width: 100%;
    }
    .dropdown-columns {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .nav-menu {
        width: 80%;
    }
    .dropdown-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        padding: 10px 24px;
    }
    .dropdown-columns {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1920px;
    }
}


/* Search Popup Overlay */

.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-popup-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.search-popup-content form {
    display: flex;
    gap: 10px;
}

.search-popup-content input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
}

.search-popup-content button[type="submit"] {
    padding: 12px 18px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.close-search {
    position: absolute;
    top: -3px;
    right: 5px;
    font-size: 24px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}


/* Responsive */

@media (max-width: 480px) {
    .search-popup-content {
        padding: 15px;
    }
    .search-popup-content form {
        flex-direction: column;
    }
    .search-popup-content button[type="submit"] {
        width: 100%;
    }
}

.top-bar .right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Đẩy 2 bên ra xa nếu cần */
    flex-wrap: wrap;
    /* Cho mobile */
    gap: 16px;
}


/* Đoạn chữ chỉ hiện desktop */

.desktop-only {
    display: inline;
}


/* Action icon chung */

.action-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.action {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.action i {
    margin-right: 6px;
    font-size: 13px;
}

.label {
    display: none;
}


/* Responsive cho mobile */

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .label {
        display: inline;
    }
    .top-bar .right {
        flex-direction: column;
        align-items: flex-start;
    }
}

.brxe-login .fa-lock {
    color: #000 !important;
    font-size: 17px !important
}

@media (max-width: 768px) {
    .nav-menu .nav-item {
        margin: 2px 0 !important;
        padding: 0 !important;
    }

    .nav-menu .mobile-toggle-parent {
        margin: 0 !important;
        padding: 4px 0 !important;
    }

    .nav-menu a,
    .nav-menu span {
        margin: 2px 0 !important;
        padding: 4px 0 !important;
        line-height: 1.2;
    }
}/* End custom CSS */