/* ==================================================
   HEADER P&Q SOLUTIONS
================================================== */

.pq-site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #fff;
}

.pq-site-header *,
.pq-site-header *::before,
.pq-site-header *::after {
    box-sizing: border-box;
}

/* ==================================================
   THANH TRÊN
================================================== */


.pq-header-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
}

.pq-header-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.pq-header-social__label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.4;
}

.pq-header-social__list {
    display: flex;
    align-items: center;
    gap: 11px;
}

.pq-header-social__list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pq-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.pq-header-social__list a:hover .pq-social-icon {
    opacity: 0.85;
    transform: translateY(-2px);
}

.pq-social-icon--facebook {
    background: #1877f2;
    font-family: Arial, sans-serif;
    font-size: 21px;
}

.pq-social-icon--youtube {
    width: 31px;
    border-radius: 7px;
    background: #ff0000;
    font-size: 12px;
}

.pq-social-icon--zalo {
    background: #fff;
    color: #1769e0;
    font-size: 9px;
}

/* ==================================================
   NGÔN NGỮ
================================================== */

.pq-header-language {
    position: relative;
}

.pq-header-language__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.pq-header-language__flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 24px;
    background: #e62121;
    font-size: 18px;
    line-height: 1;
}

.pq-header-language__arrow {
    font-size: 11px;
}

.pq-header-language__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    display: none;
    min-width: 145px;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.pq-header-language:hover
.pq-header-language__dropdown {
    display: block;
}

.pq-header-language__dropdown a {
    display: block;
    padding: 10px 14px;
    color: #173457;
    font-size: 14px;
    text-decoration: none;
}

.pq-header-language__dropdown a:hover {
    background: #f1f4f8;
    color: #d71920;
}

/* ==================================================
   MENU CHÍNH
================================================== */

.pq-header-main {
    background: #fff;
    border-bottom: 1px solid #e5e9ee;
}



.pq-header-logo {
    flex: 0 0 auto;
    margin-right: 40px;
}

.pq-header-logo a {
    display: block;
}

.pq-header-logo img,
.pq-header-logo .custom-logo {
    display: block;
    width: auto;
    max-width: 300px;
    max-height: 58px;
    object-fit: contain;
}

.pq-primary-navigation {
    flex: 1;
}

.pq-primary-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pq-primary-menu li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pq-primary-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 0 16px;
    color: #102f66;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.pq-primary-menu > li:hover > a,
.pq-primary-menu > li.current-menu-item > a,
.pq-primary-menu > li.current-menu-ancestor > a {
    color: #d71920;
}

/* Mũi tên menu cha */
.pq-primary-menu
.menu-item-has-children
> a::after {
    content: "";
    margin-left: 7px;
    color: currentColor;
    font-size: 9px;
    line-height: 1;
}

/* ==================================================
   SUBMENU
================================================== */

.pq-primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 250px;
    margin: 0;
    padding: 8px 0;
    visibility: hidden;
    opacity: 0;
    list-style: none;
    background: #fff;
    box-shadow: 0 9px 25px rgba(0, 0, 0, 0.16);
    transform: translateY(10px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

.pq-primary-menu li:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.pq-primary-menu .sub-menu li {
    width: 100%;
}

.pq-primary-menu .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 18px;
    border-bottom: 1px solid #edf0f3;
    color: #173457;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    text-transform: none;
}

.pq-primary-menu .sub-menu li:last-child > a {
    border-bottom: 0;
}

.pq-primary-menu .sub-menu a:hover {
    padding-left: 23px;
    background: #f5f7fa;
    color: #d71920;
}

.pq-primary-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* ==================================================
   NÚT MOBILE
================================================== */

.pq-mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 7px;
    border: 0;
    border-radius: 5px;
    background: #102b50;
    cursor: pointer;
}

.pq-mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
}

/* ==================================================
   TABLET VÀ MOBILE
================================================== */

@media (max-width: 1100px) {
    .pq-header-logo {
        margin-right: 20px;
    }

    .pq-primary-menu > li > a {
        padding: 0 10px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .pq-header-top {
        min-height: 52px;
    }

    .pq-header-top__inner {
        min-height: 52px;
    }

    .pq-header-social__label {
        display: none;
    }

    .pq-header-main__inner {
        position: relative;
        min-height: 66px;
    }

    .pq-header-logo img,
    .pq-header-logo .custom-logo {
        max-width: 165px;
        max-height: 52px;
    }

    .pq-mobile-menu-button {
        display: flex;
    }

    .pq-primary-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        background: #fff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
    }

    .pq-primary-navigation.is-open {
        display: block;
    }

    .pq-primary-menu {
        display: block;
        width: 100%;
    }

    .pq-primary-menu > li > a {
        min-height: 0;
        padding: 14px 18px;
        border-bottom: 1px solid #e5e9ee;
        font-size: 14px;
    }

    .pq-primary-menu .sub-menu {
        position: static;
        display: none;
        min-width: 0;
        visibility: visible;
        opacity: 1;
        box-shadow: none;
        transform: none;
    }

    .pq-primary-menu
    li.is-submenu-open
    > .sub-menu {
        display: block;
    }

    .pq-primary-menu .sub-menu a {
        padding-left: 30px;
        background: #f6f8fa;
    }

    .pq-primary-menu
    .sub-menu
    .sub-menu a {
        padding-left: 44px;
    }
}

@media (max-width: 575px) {
    .pq-header-social__list {
        gap: 7px;
    }

    .pq-social-icon {
        width: 24px;
        height: 24px;
    }

    .pq-header-logo img,
    .pq-header-logo .custom-logo {
        max-width: 145px;
    }
}



/* ==================================================
   HEADER P&Q SOLUTIONS
================================================== */

.pq-site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #fff;
}

.pq-site-header *,
.pq-site-header *::before,
.pq-site-header *::after {
    box-sizing: border-box;
}

/* ==================================================
   THANH TRÊN
================================================== */

.pq-header-top {
   min-height: 50px;
    background: #102b50;
    color: #fff;
}

.pq-header-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
   min-height: 50px;
}

.pq-header-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.pq-header-social__label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.4;
}

.pq-header-social__list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pq-header-social__list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pq-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.pq-header-social__list a:hover .pq-social-icon {
    opacity: 0.85;
    transform: translateY(-2px);
}

.pq-social-icon--facebook {
    background: #1877f2;
    font-family: Arial, sans-serif;
    font-size: 21px;
}

.pq-social-icon--youtube {
    width: 31px;
    border-radius: 7px;
    background: #ff0000;
    font-size: 12px;
}

.pq-social-icon--zalo {
    background: #fff;
    color: #1769e0;
    font-size: 9px;
}

/* ==================================================
   GTRANSLATE
================================================== */

.pq-header-language {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 90px;
}

.pq-header-language .gtranslate_wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.pq-header-language .gt_selector {
    min-width: 135px;
    height: 36px;
    padding: 4px 32px 4px 11px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.pq-header-language .gt_selector option {
    background: #fff;
    color: #173457;
}

.pq-header-language .glink {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.pq-header-language .glink img {
    display: block;
    width: 28px;
    height: auto;
}

.pq-header-language .goog-te-gadget {
    color: transparent !important;
}

.pq-header-language .goog-te-gadget span {
    display: none !important;
}

/* ==================================================
   HEADER MAIN
================================================== */

.pq-header-main {
    border-bottom: 1px solid #e5e9ee;
    background: #fff;
}

.pq-header-main__inner {
    display: flex;
    align-items: center;
    min-height: 72px;
}

.pq-header-logo {
    flex: 0 0 auto;
    margin-right: 34px;
}

.pq-header-logo a {
    display: block;
}

.pq-header-logo img,
.pq-header-logo .custom-logo {
    display: block;
    width: auto;
    max-width: 205px;
    max-height: 60px;
    object-fit: contain;
}

/* ==================================================
   MENU CHÍNH
================================================== */

.pq-primary-navigation {
    flex: 1;
    min-width: 0;
}

.pq-primary-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pq-primary-menu li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

/*
 * Menu chính in hoa.
 */
.pq-primary-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 0 15px;

    color: #102f66;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase !important;
    white-space: nowrap;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.pq-primary-menu > li:hover > a,
.pq-primary-menu > li.current-menu-item > a,
.pq-primary-menu > li.current-menu-parent > a,
.pq-primary-menu > li.current-menu-ancestor > a {
    color: #d71920;
}

/* Mũi tên menu cha */
.pq-primary-menu
.menu-item-has-children
> a::after {
    content: "▼";
    margin-left: 7px;
    color: currentColor;
    font-size: 9px;
    line-height: 1;
}

/* ==================================================
   SUBMENU
================================================== */

.pq-primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;

    min-width: 310px;
    margin: 0;
    padding: 0;

    visibility: hidden;
    opacity: 0;
    list-style: none;

    background: #fff;
    box-shadow: 0 9px 25px rgba(0, 0, 0, 0.16);

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.pq-primary-menu li:hover > .sub-menu,
.pq-primary-menu li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.pq-primary-menu .sub-menu li {
    width: 100%;
}

/*
 * Menu con cũng in hoa.
 */
.pq-primary-menu .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 54px;
    padding: 12px 22px;

    border-bottom: 1px solid #edf0f3;

    color: #173457;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    text-transform: uppercase !important;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        padding-left 0.25s ease;
}

.pq-primary-menu .sub-menu li:last-child > a {
    border-bottom: 0;
}

.pq-primary-menu .sub-menu a:hover {
    padding-left: 27px;
    background: #f5f7fa;
    color: #d71920;
}

.pq-primary-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* ==================================================
   NÚT MENU MOBILE
================================================== */

.pq-mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 8px;

    border: 0;
    border-radius: 5px;
    background: #102b50;

    cursor: pointer;
}

.pq-mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1150px) {
    .pq-header-logo {
        margin-right: 18px;
    }

    .pq-header-logo img,
    .pq-header-logo .custom-logo {
        max-width: 175px;
    }

    .pq-primary-menu > li > a {
        padding: 0 10px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .pq-header-top,
    .pq-header-top__inner {
        min-height: 52px;
    }

    .pq-header-social__label {
        display: none;
    }

    .pq-header-main__inner {
        position: relative;
        min-height: 66px;
    }

    .pq-header-logo img,
    .pq-header-logo .custom-logo {
        max-width: 165px;
        max-height: 52px;
    }

    .pq-mobile-menu-button {
        display: flex;
    }

    .pq-primary-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 200;

        display: none;
        max-height: calc(100vh - 118px);
        overflow-y: auto;

        background: #fff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
    }

    .pq-primary-navigation.is-open {
        display: block;
    }

    .pq-primary-menu {
        display: block;
        width: 100%;
    }

    .pq-primary-menu > li > a {
        min-height: 0;
        padding: 14px 18px;
        border-bottom: 1px solid #e5e9ee;
        font-size: 14px;
    }

    .pq-primary-menu
    .menu-item-has-children
    > a {
        justify-content: space-between;
    }

    .pq-primary-menu .sub-menu {
        position: static;
        display: none;

        min-width: 0;

        visibility: visible;
        opacity: 1;

        box-shadow: none;
        transform: none;
    }

    .pq-primary-menu
    li.is-submenu-open
    > .sub-menu {
        display: block;
    }

    .pq-primary-menu .sub-menu a {
        min-height: 0;
        padding: 13px 18px 13px 32px;
        background: #f6f8fa;
        font-size: 13px;
    }

    .pq-primary-menu
    .sub-menu
    .sub-menu a {
        padding-left: 46px;
    }
}

@media (max-width: 575px) {
    .pq-header-social__list {
        gap: 7px;
    }

    .pq-social-icon {
        width: 24px;
        height: 24px;
    }

    .pq-header-logo img,
    .pq-header-logo .custom-logo {
        max-width: 145px;
    }

    .pq-header-language .gt_selector {
        min-width: 100px;
        height: 32px;
        font-size: 12px;
    }
}


/* ==================================================
   HEADER CƠ BẢN
================================================== */

.pq-site-header {
    position: relative;
    z-index: 9999;
    width: 100%;
    background: #fff;
}

.pq-container {
    width: min(100% - 40px, 1180px);
    margin-right: auto;
    margin-left: auto;
}

/* ==================================================
   THANH TRÊN
================================================== */

.pq-header-top {
    position: relative;
    z-index: 10000;
    background: #102b4e;
    overflow: visible;
}

.pq-header-top__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
min-height: 50px;
    overflow: visible;
}

/* ==================================================
   MẠNG XÃ HỘI
================================================== */

.pq-header-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pq-header-social__label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.4;
    white-space: nowrap;
}

.pq-header-social__list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pq-header-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pq-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #fff;
    line-height: 1;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.pq-header-social__link:hover .pq-social-icon {
    opacity: 0.85;
    transform: translateY(-2px);
}

.pq-social-icon--facebook {
    border-radius: 50%;
    background: #1877f2;
    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 700;
}

.pq-social-icon--youtube {
    width: 30px;
    border-radius: 6px;
    background: #ff0000;
    font-size: 12px;
}

.pq-social-icon--zalo {
    border-radius: 8px;
    background: #fff;
    color: #0068ff;
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
}

/* ==================================================
   NÚT NGÔN NGỮ
================================================== */

.pq-language {
    position: relative;
    z-index: 10010;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

/* Nút đang chọn */
.pq-language__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 66px;
    min-height: 42px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    outline: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.pq-language__toggle:hover,
.pq-language__toggle:focus-visible,
.pq-language.is-open .pq-language__toggle {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.pq-language__current,
.pq-language__flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pq-language__flag svg {
    display: block;
    width: 34px;
    height: 23px;
    border-radius: 1px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

/* Mũi tên */
.pq-language__arrow {
    display: block;
    width: 0;
    height: 0;
    border-top: 7px solid #fff;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: transform 0.25s ease;
}

.pq-language.is-open .pq-language__arrow {
    transform: rotate(180deg);
}

/* ==================================================
   DROPDOWN NGÔN NGỮ
================================================== */

.pq-language__dropdown {
    position: absolute;
    z-index: 10020;
    top: calc(100% + 9px);
    right: 0;

    visibility: hidden;
    width: 190px;
    min-width: 190px;
    margin: 0;
    padding: 7px;

    border: 1px solid #e2e7ee;
    border-radius: 8px;
    background: #fff;

    box-shadow:
        0 14px 35px rgba(4, 27, 55, 0.2),
        0 3px 8px rgba(4, 27, 55, 0.08);

    opacity: 0;
    transform: translateY(-7px);
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

/* Mũi tam giác trên dropdown */
.pq-language__dropdown::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 21px;
    width: 12px;
    height: 12px;
    border-top: 1px solid #e2e7ee;
    border-left: 1px solid #e2e7ee;
    background: #fff;
    transform: rotate(45deg);
}

/* Hin dropdown */
.pq-language.is-open .pq-language__dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Từng nút ngôn ngữ */
.pq-language__option {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    outline: none;
    background: transparent;
    color: #102b4e;
    text-align: left;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.pq-language__option + .pq-language__option {
    margin-top: 3px;
}

.pq-language__option:hover,
.pq-language__option:focus-visible {
    background: #f1f5f9;
    color: #d71920;
}

.pq-language__option.is-active {
    background: #edf3f9;
    color: #102b4e;
}

/* C trong dropdown */
.pq-language__option-flag {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: flex-start;
}

.pq-language__option-flag svg {
    display: block;
    width: 38px;
    height: 25px;
    border: 1px solid rgba(5, 36, 72, 0.09);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
}

/* Tên ngôn ngữ */
.pq-language__option-text {
    flex: 1 1 auto;
    margin-left: 10px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
}

/* Dấu tích */
.pq-language__check {
    display: inline-flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: flex-end;
    color: #d71920;
    font-size: 16px;
    font-weight: 700;
}

/* GTranslate mặc định chạy n */
.pq-gtranslate-engine {
    position: fixed !important;
    top: -10000px !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* ==================================================
   HEADER CHÍNH
================================================== */

.pq-header-main {
    position: relative;
    z-index: 9000;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.pq-header-main__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
}

.pq-header-logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.pq-header-logo .custom-logo-link,
.pq-header-logo__link {
    display: inline-flex;
    align-items: center;
}

.pq-header-logo img,
.pq-header-logo .custom-logo {
    display: block;
    width: auto;
       max-width: 250px;
    max-height: 66px;
    object-fit: contain;
}

/* ==================================================
   MENU CHNH
================================================== */

.pq-primary-navigation {
    margin-left: auto;
}

.pq-primary-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pq-primary-menu li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pq-primary-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 84px;
    padding: 0 15px;
    color: #082650;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.pq-primary-menu > li:hover > a,
.pq-primary-menu > li.current-menu-item > a,
.pq-primary-menu > li.current-menu-ancestor > a {
    color: #d71920;
}

/* Menu con */
.pq-primary-menu .sub-menu {
    position: absolute;
    z-index: 9999;
    top: 100%;
    left: 0;
    visibility: hidden;
    min-width: 235px;
    margin: 0;
    padding: 8px 0;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    list-style: none;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.pq-primary-menu li:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.pq-primary-menu .sub-menu a {
    display: block;
    padding: 11px 18px;
    color: #082650;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

.pq-primary-menu .sub-menu a:hover {
    background: #f5f7f9;
    color: #d71920;
}

.pq-primary-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* ==================================================
   MENU MOBILE
================================================== */

.pq-mobile-menu-button {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.pq-mobile-menu-button span {
    display: block;
    width: 26px;
    height: 2px;
    background: #082650;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1100px) {
    .pq-primary-menu > li > a {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .pq-container {
        width: min(100% - 30px, 1180px);
    }

    .pq-header-main__inner {
        min-height: 72px;
    }

    .pq-header-logo img,
    .pq-header-logo .custom-logo {
        max-width: 155px;
        max-height: 56px;
    }

    .pq-mobile-menu-button {
        display: flex;
    }

    .pq-primary-navigation {
        position: absolute;
        z-index: 9998;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        width: 100%;
        margin: 0;
        padding: 12px 15px 20px;
        background: #fff;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    }

    .pq-primary-navigation.is-open {
        display: block;
    }

    .pq-primary-menu {
        display: block;
    }

    .pq-primary-menu > li > a {
        min-height: 0;
        padding: 13px 5px;
        border-bottom: 1px solid #eee;
    }

    .pq-primary-menu .sub-menu {
        position: static;
        visibility: visible;
        display: none;
        min-width: 0;
        padding: 0 0 0 15px;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        transform: none;
    }

    .pq-primary-menu li:hover > .sub-menu,
    .pq-primary-menu li.is-open > .sub-menu {
        display: block;
    }
}

@media (max-width: 767px) {
    .pq-header-top__inner {
        min-height: 56px;
    }

    .pq-header-social {
        gap: 10px;
    }

    .pq-header-social__label {
        font-size: 13px;
    }

    .pq-header-social__list {
        gap: 7px;
    }

    .pq-social-icon {
        width: 24px;
        height: 24px;
    }

    .pq-social-icon--youtube {
        width: 28px;
    }

    .pq-language__toggle {
        min-width: 60px;
        min-height: 38px;
        padding: 6px 8px;
    }

    .pq-language__flag svg {
        width: 31px;
        height: 21px;
    }

    .pq-language__dropdown {
        top: calc(100% + 7px);
        width: 175px;
        min-width: 175px;
    }
}

@media (max-width: 480px) {
    .pq-container {
        width: min(100% - 20px, 1180px);
    }

    .pq-header-social__label {
        display: none;
    }

    .pq-header-logo img,
    .pq-header-logo .custom-logo {
        max-width: 135px;
        max-height: 50px;
    }
}





/* Chỉ ghim hàng logo + menu trắng */
.pq-site-header,
.pq-header-top {
    position: relative !important;
    top: auto !important;
}

.pq-header-main {
    position: relative;
    z-index: 9998;
    width: 100%;
    background: #fff;
}

.pq-header-main.is-menu-fixed {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .12);
}

.pq-header-main-placeholder {
    display: none;
    width: 100%;
}

.pq-header-main-placeholder.is-active {
    display: block;
}

.admin-bar .pq-header-main.is-menu-fixed {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .pq-header-main.is-menu-fixed {
        top: 46px;
    }
}

@media (max-width: 767px) {
    .pq-header-main.is-menu-fixed {
        position: relative !important;
        top: auto !important;
        box-shadow: none;
    }

    .pq-header-main-placeholder.is-active {
        display: none;
    }
}
