#logo img {
    object-fit: contain;
}

#header .stuck #logo img,
#header .stuck .header-main {
    max-height: 80px !important;
    height: 80px !important;
}

.header-top-rigth {
    display: flex;
    gap: 15px;
    height: 50px;
}

.header-top-rigth .header-other-item.btn--phone {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(270deg, #D72062 0%, #AD1D46 100%);
    padding: 8px 20px;
    border-radius: 30px;
}

.header-top-rigth .header-other-item.btn--phone span {
    color: #fff;
}

.header-bottom>.flex-row>.flex-col {
    min-width: 100% !important;
}

.header-bottom>.flex-row>.flex-col>.nav {
    justify-content: space-between;
}

.header-bottom-nav>li>a {
    font-size: 18px !important;
}

.header-search {
    width: 350px;
}

.header-search form {
    height: 100%;
    margin: 0;
}

.header-search-inner {
    background: #F0F0F0;
    display: flex;
    padding: 6px 8px;
    border-radius: 5px;
    align-items: center;
    height: 100%;
}

.header-search-inner input {
    padding: 5px;
    margin-right: 40px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 12px;
}

.header-search-inner button {
    margin: 0;
}

.header-search-inner *:focus {
    box-shadow: none;
    background: transparent;
}

.header--desktop #header-search {
    width: 100%;
    max-width: 350px;
    height: 100%;
}

#header-search input::placeholder {
    color: #C0C0C0;
    font-style: italic;
}

/* ============================
   🌟 Mobile Menu Styles
============================ */
button.btn-toggle-menu {
    margin: 0;
    padding: 0;
}

/* Container của menu */
.box-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #f8faff;
    z-index: 999;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    transform: translateX(-100%);
}

.box-menu.active {
    transform: translateX(0);
    opacity: 1;
}

.menu-mobile-container {
    height: 100%;
    max-height: calc(100% - 250px);
    overflow: auto;
}

.box-menu--header {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px 20px;
    border-bottom: 1px solid #E3E7EF;
}

.box-menu--header .header-logo {
    margin: 0 auto;
}

.box-menu--header img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

/* .menu-mobile-container {
    padding: 5px 10px;
} */

.menu>.menu-item>.menu-mobile-link {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.mobile-sub-menu {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
    padding: 5px 25px;
}

.mobile-sub-menu>.menu-item {
    padding: 5px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0px 1px 2px 0px rgba(70, 70, 70, 0.10);
    font-size: 12px;
    text-align: center;
}

.mobile-sub-menu>.menu-item>.menu-mobile-link {
    color: #595959;
}

#btn-bar-ringht ul {
    margin-bottom: 0 ;
}

.btn-search-mobile {
    margin-right: 0 !important;
}

#header .nav>li {
    margin: 0 20px;
}

@media screen and (min-width: 769px) {
    .header-search-mobile , .btn-toggle-menu {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .header-search-mobile {
        position: fixed;
        top: 60px;
        z-index: 99;
        background: #fff;
        width: 100%;
        padding: 15px;
        transform: translateY(-10px);
        transition: all .3s ease-in-out;
        display: block;
        opacity: 0;
        visibility: hidden;
    }

    .header-search-mobile.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header-search {
        width: 100%;
    }

    .header-search-inner input {
        margin: 0px;
    }

    .box-menu--footer {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }

    .box-menu--footer a {
        display: flex;
        width: 100%;
        height: 36px;
        padding: 8px;
        justify-content: center;
        align-items: center;
        gap: 4px;
        border-radius: 4px;
        background: #fff;
        font-size: 11px;
        white-space: nowrap;
    }

    .box-menu--footer__top {
        /* padding-top: 15px; */
        border-top: 1px solid #E3E7EF;
    }

    .box-menu--footer__top,
    .box-menu--footer__bottom {
        display: flex;
        gap: 12px;
    }
}

@media (max-width: 549px) {
    #logo img {
        max-height: 40px !important;
        height: 40px !important;
        padding: 0 !important;
    }

    #header .stuck #logo img {
        max-height: 40px !important;
    }

    #logo {
        width: 200px !important;
    }

    .header-main {
        height: 80px !important;
    }
}