.header {
    width: 100%;
}

.header .top-bar {
    height: 42px;
    background: var(--Green, #098b43);
}

.header .top-bar .container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header .top-bar .container .gasoline-prices {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header .top-bar .container .gasoline-prices p {
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.56px;
}

.header .top-bar .container .gasoline-prices .prices-label {
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.header .top-bar .container .option {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header .top-bar .container .option .search {
    height: 24px;
    padding: 4px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.header .top-bar .container .option .search svg {
    width: 16px;
    height: 16px;
    aspect-ratio: 1/1;
}

.header .top-bar .container .option .search p {
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.header .top-bar .container .option .line {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.48);
}

.header .top-bar .container .option .language {
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
}

.header .top-bar .container .option .language img {
    width: 24.001px;
    height: 16px;
}

.header .top-bar .container .option .language p {
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.header .top-bar .container .option .language svg {
    width: 12px;
    height: 12px;
    aspect-ratio: 1/1;
}

.header .infor {
    display: flex;
    padding: 12px 0;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.header .infor .pvep {
    display: flex;
    gap: 12px;
    align-items: center;
    max-width: 55%;
}

.header .infor .pvep .logo img {
    height: 109px;
    width: 108.988px;
}

.header .infor .pvep .logo-name p,
.header .infor .pvep .logo-name {
    color: var(--text, #101857);
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    text-transform: uppercase;
}

.header .infor .pvep .logo-name strong {
    font-weight: 600;
}

.header .infor .detail {
    display: flex;
    flex: 1;
    align-items: start;
    gap: 12px;
}

.header .infor .detail .detail-wapper {
    display: flex;
    align-items: start;
    gap: 6px;
}

.header .infor .detail .detail-wapper:first-child {
    width: 177px;
}

.header .infor .detail .detail-wapper:last-child {
    flex: 1;
}

.header .infor .detail .detail-wapper svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    aspect-ratio: 1/1;
}

.header .infor .detail .detail-wapper .label p,
.header .infor .detail .detail-wapper .label {
    color: rgba(16, 24, 87, 0.8);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.header .infor .detail .detail-wapper .label strong {
    color: #101857;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.header .down-bar {
    background: linear-gradient(90deg,
            #2db04a -9.74%,
            #2b8670 54.2%,
            #2e398b 130.49%);
    min-height: 48px;
    transition: all 0.3s;
    position: relative;
    z-index: 99;
}

.header .down-bar .container .menu-root {
    min-height: 48px;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.header .down-bar .menu-root>.menu-item {
    padding: 0 16px;
}

.header .down-bar .menu-root>.menu-item {
    border-left: 0.5px solid rgba(255, 255, 255, 0.4);
    border-right: 0.5px solid rgba(255, 255, 255, 0.4);
}

.header .down-bar .menu-root>.menu-item:first-of-type {
    border-left: none;
}

.header .down-bar .menu-root>.menu-item:last-of-type {
    border-right: none;
}

.header .down-bar .menu-root .menu-item>a {
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.header .down-bar .menu-root .menu-item.active>a {
    font-weight: 700;
}

.header .down-bar .menu-root .menu-item-has-children {
    position: relative;
}

.header .down-bar .menu-root .menu-item-has-children::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 16px;
    top: 100%;
}

.header .down-bar .menu-root .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    pointer-events: auto;
}

.header .down-bar .container .menu-root .sub-menu {
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    min-width: 330px;
    top: calc(100% + 10px);
    left: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: #fff;
    box-shadow: 0 6px 16px -3px rgba(0, 0, 0, 0.25);
    list-style-type: none;
}

.header .down-bar .container .menu-root .sub-menu a {
    display: block;
    color: var(--text, #101857);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: capitalize;
    transition: all 0.3s;
}

.header .down-bar .container .menu-root .sub-menu .menu-item {
    transition: all 0.3s;
}

.header .down-bar .container .menu-root .sub-menu .menu-item:hover a {
    color: var(--Green, #098b43);
    font-weight: 600;
    transform: translateX(20px);
}

.header .down-bar .menu-root>.menu-item:nth-child(n + 5) .sub-menu {
    left: unset;
    right: 0;
}

.header .down-bar .menu-root>.menu-item:nth-child(n + 5)::before {
    pointer-events: none;
    left: unset;
    right: 0;
}

.header .down-bar .menu-root>.menu-item:hover:before {
    pointer-events: auto;
}

/* .header
    .down-bar
    .menu-root
    > .menu-item:nth-child(n + 6)
    .sub-menu
    .menu-item {
    text-align: end;
}
.header
    .down-bar
    .menu-root
    > .menu-item:nth-child(n + 6)
    .sub-menu
    .menu-item:hover
    a {
    transform: translateX(-20px);
} */
/*  */
.header .fake-down-bar {
    display: none;
    height: 48px;
}

.header.scrolled .fake-down-bar {
    display: block;
}

.header.scrolled .down-bar {
    position: fixed;
    z-index: 99;
    width: 100%;
    top: -100%;
}

.header.scrolled.scroll-up .down-bar {
    top: 0;
}

.closemenu,
.menumb,
.header .top-bar .container .option .menuMB {
    display: none;
}

.language-wapper {
    position: relative;
}

.language-wapper .language-list {
    position: absolute;
    padding: 16px;
    border-radius: 10px;
    min-width: 100%;
    width: max-content;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s;
    opacity: 0;
    right: 0;
}

.language-wapper .language-list.open {
    pointer-events: auto;
    transform: translateY(0px);
    opacity: 1;
}

.language-wapper .language-list .language-item {
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
}

.language-wapper .language-list .language-item img {
    width: 24.001px;
    height: 16px;
}

.language-wapper .language-list .language-item p {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.skiptranslate iframe {
    display: none;
}

/* Ẩn các phần tử không mong muốn */
#google_translate_element .goog-te-combo {
    display: none;
}

/* Hiển thị ngôn ngữ mặc định */
#google_translate_element .goog-te-banner-frame {
    display: none !important;
}

#google_translate_element .skiptranslate {
    display: none;
}

#google_translate_element .goog-logo-link {
    display: none;
}

#goog-gt-vt {
    display: none;
}

/* Hiển thị tùy chọn ngôn ngữ */
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
    color: #000 !important;
    font-size: 0 !important;
    /* Ẩn chữ "Select Language" */
}

.goog-te-gadget-simple .goog-te-menu-value span {
    font-size: 16px !important;
    /* Kích thước chữ hiển thị ngôn ngữ */
}

.goog-te-gadget-simple .goog-te-menu-value span:first-child {
    display: inline !important;
}

.goog-te-gadget-icon {
    display: none !important;
    /* Ẩn biểu tượng */
}

.skiptranslate,
#google_translate_element,
#goog-gt-tt {
    display: none !important;
}

body {
    top: 0 !important;
}

@media (max-width: 639px) {

    .header .down-bar,
    .header .infor>.btn-global,
    .header .infor .detail,
    .header .top-bar .container .gasoline-prices {
        display: none;
    }

    .header .top-bar .container .option {
        width: 100%;
        justify-content: space-between;
        padding-right: 16px;
    }

    .header .top-bar .container .option .closemenu {
        width: 25px;
        height: 25px;
        flex-shrink: 0;
    }

    .header .top-bar .container .option .menuMB {
        display: block;
        width: 25px;
        height: 25px;
        flex-shrink: 0;
    }

    .header .infor .pvep {
        padding: 0 16px;
        max-width: 100%;
    }

    .header .top-bar {
        transition: all 0.3s;
    }

    .header .top-bar.scroll-up {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99;
    }

    .menumb {
        transform: translateX(-100%);
        transition: all 0.5s;
        display: block;
        position: fixed;
        top: 42px;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(190deg,
                #2db04a -8.08%,
                #2b8670 29.23%,
                #2e398b 114.21%);
        z-index: 99;
    }

    .menumb.open {
        transform: translateX(0);
    }

    .menumb .gasoline-prices {
        width: 100%;
        overflow: hidden;
        overflow-x: auto;
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 20px 16px;
    }

    .menumb .gasoline-prices p {
        flex-shrink: 0;
        color: #fff;
        text-align: center;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: -0.56px;
    }

    /*  */
    .menumb .menu-root {
        min-height: 48px;
        list-style-type: none;
        display: flex;
        flex-direction: column;
        max-height: 455px;
        overflow: hidden;
        overflow-y: auto;
    }

    .menumb .menu-root>.menu-item {
        padding: 16px 16px;
    }

    .menumb .menu-root>.menu-item {
        border-left: none;
        border-right: none;
        border-bottom: 0.5px solid white;
        border-top: 0.5px solid white;
    }

    .menumb .menu-root>.menu-item:first-of-type {
        border-left: none;
    }

    .menumb .menu-root>.menu-item:last-of-type {
        border-right: none;
    }

    .menumb .menu-root .menu-item>a {
        color: #fff;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-transform: uppercase;
    }

    .menumb .menu-root .menu-item.active>a {
        font-weight: 700;
    }

    .menumb .menu-root .menu-item-has-children {
        position: relative;
    }

    .menumb .menu-root .menu-item-has-children::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 16px;
        top: 100%;
    }

    .menumb .menu-root .menu-item-has-children:hover .sub-menu {
        opacity: 1;
        pointer-events: auto;
    }

    .menumb .menu-root .sub-menu {
        transition: all 0.3s;
        width: 100%;
        top: calc(100% + 10px);
        padding: 24px;
        flex-direction: column;
        gap: 25px;
        box-shadow: 0 6px 16px -3px rgba(0, 0, 0, 0.25);
        list-style-type: none;
        display: none;
    }

    .menumb .menu-root .sub-menu.active {
        display: flex;
    }

    .menumb .menu-root .sub-menu a {
        display: block;
        color: white;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-transform: capitalize;
        transition: all 0.3s;
    }

    .menumb .menu-root .sub-menu .menu-item {
        transition: all 0.3s;
    }

    .menumb .menu-root .menu-item-has-children::before {
        content: "+";
        position: absolute;
        z-index: 10;
        right: 0;
        top: 0;
        width: 40px;
        height: 55px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menumb .btn-global {
        margin: 0 auto;
        margin-top: 20px;
    }
}

@media (min-width: 639px) and (max-width: 1024px) {
    .header .infor {
        flex-wrap: wrap;
    }

    .header .infor .detail .detail-wapper:last-child {
        width: 177px;
    }
}

@media (min-width: 1024px) and (max-width: 1224px) {
    .header .infor .pvep {
        width: 40%;
    }
}