.mobile-menu-container {
    display: none;
}

.mobile-menu-toggle {
    display: none;
}

.mobile-menu-toggle-search {
    display: none;
}

.mobile-menu-toggle-cart {
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 390px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    overflow-y: hidden;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    /* Màu tối nửa trong suốt */
    z-index: 9998;
    /* thấp hơn menu */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu_linear {
    position: absolute;
    bottom: -6%;
    right: 0px;
    left: 0px;
    width: 150%;
    height: 120px;
    transform: rotate(-10deg);
    background: linear-gradient(90deg, var(--blue-blue-400, #368FFF) 20.87%, var(--red-red-400, #EC4247) 64.35%);
    filter: blur(25px);
}

.mobile-menu-close {
    align-self: end;
    margin-bottom: 50px;
    cursor: pointer;
}

.mobile-menu-auth {
    display: flex;
    position: absolute;
    bottom: 8%;
    justify-content: end;
    width: 100%;
    right: 10px;
    gap: 10px;
}

.mobile-menu-logout,
.mobile-menu-register,
.mobile-menu-login {
    display: flex;
    height: 52px;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 50px;
    z-index: 9;
}

.mobile-menu-logout,
.mobile-menu-register {
    background-color: #ffffff;
    border: 1px solid #DBDCDE;
}

.mobile-menu-login {
    background: var(--button, linear-gradient(83deg, #0A77FF 23.35%, #5CA5FF 105.14%));
}

.mobile-menu-logout a,
.mobile-menu-register a,
.mobile-menu-login a {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}

.mobile-menu-logout a,
.mobile-menu-register a {
    color: #000000;
}

.mobile-menu-login a {
    color: #ffffff;
}

.mobile-menu_home {
    font-size: 16px;
    font-weight: 700;
    color: #0E1525;
    margin-bottom: 16px;
}

.mobile-menu_list {
    border-bottom: 1px solid;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.mobile-menu_list-contact {
    margin-bottom: 20px;
}

.mobile-menu_info_list li,
.mobile-menu_list-contact li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 16px;
}

.mobile-menu_info_list {
    margin-bottom: 20px;
}

.mobile-menu_info_list li a {
    font-size: 16px;
    font-weight: 500;
    color: #2B313F;
}

.mobile-menu_info_list li {
    padding: 8px 12px;
}

.mobile-menu_info_list li:hover {
    border-radius: 10px;
    background: #F7F7F7;
}

.mobile-menu-customer {
    display: none;
}

.search {
    cursor: pointer;
}

.mobile-menu-container .mobile-menu-toggle-search {
    display: none;
}

.cp-header .cp-header-bottom {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background-color: var(--white-bg);
    border-radius: 24px;
    box-shadow: 0px 4px 22.7px 0px rgba(0, 0, 0, 0.07);
    position: relative;
}

.cp-header .cp-header-bottom .cp-header-bottom__center ul {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cp-header .cp-header-bottom .cp-header-bottom__center ul li a {
    position: relative;
    text-decoration: none;
    color: var(--text-body, #4F5460);
    font-weight: 600;
    font-size: 16px;
    padding: 10px 16px;
    border-radius: 9999px;
    overflow: hidden;
    transition: color 0.3s ease-in-out;
    z-index: 0;
    font-family: Manrope;
}

.cp-header .cp-header-bottom .cp-header-bottom__center ul li a.active {
    font-weight: 700;
    color: var(--text-heading-primary, #0E1525);
}

.cp-header .cp-header-bottom .cp-header-bottom__center ul li a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(92deg, #0a77ff 0%, #5ca5ff 100%);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    border-radius: inherit;
    z-index: -1;
}

.cp-header .cp-header-bottom .cp-header-bottom__center ul li a:hover {
    color: var(--white-text);
}

.cp-header .cp-header-bottom .cp-header-bottom__center ul li a:hover::before {
    opacity: 1;
}

.cp-header .cp-header-bottom .cp-header-bottom__right ul {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cp-header .cp-header-bottom .cp-header-bottom__right ul .search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cp-header .cp-header-bottom .cp-header-bottom__right ul .search-bar .search img {
    padding: 8px;
}

.cp-header .cp-header-bottom .cp-header-bottom__right ul .search-bar .cart {
    padding: 8px;
}

.mobile-menu_info {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 10px;
}

.avatarAuth {
    position: relative;
    cursor: pointer;
    margin-left: 10px;
}

.avatarAuth_modal {
    position: absolute;
    width: 240px;
    right: 0;
    display: none;
    padding: 8px 6px;
    border-radius: 16px;
    border: 1px solid var(--border-border-primary, #EFEFEF);
    background: var(--background-bg-primary, #FFF);
    box-shadow: 0 0 80px 0 rgba(17, 17, 17, 0.08);
    z-index: 99;
}

.avatarAuth_modal.open {
    display: flex;
    flex-direction: column;
}

.avatarAuth img {
    border-radius: 50%;
    width: 40px;
}

.avatarAuth_modal a {
    text-align: start;
    padding: 6px 14px;
    color: #0E1525;
    width: 100%;
}

.avatarAuth_modal .avatarAuth_modal_list {
    width: 100%;
    padding: 2px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.avatarAuth_modal .avatarAuth_modal_list:hover {
    background: var(--background-bg-tertiary, #F7F7F7);
}

.avatarAuth_modal .avatarAuth_modal_line {
    width: 100%;
    height: 1px;
    background-color: #D9D9D9;
    font-family: Manrope;
    margin: 6px 0px;
}

.mobile-menu_info img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.mobile-menu_info h2 {
    font-size: 18px;
    color: #0E1525;
}

.mobile-menu_info p {
    font-size: 14px;
    color: #4F5460;
}

.package-product_header-top {
    display: flex;
    padding: 2px;
    align-items: center;
    border: 1px solid #368FFF;
    border-radius: 100px;
    overflow: hidden;
    background-color: #368FFF;
}

.package-product_header-top button {
    background: transparent;
}

.package-product_header-top button.active {
    padding: 4px 20px;
    color: #0a77ff;
    text-align: center;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    background: #fff !important;
    border: none;
    border-radius: 100px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.package-product_header-top button {
    padding: 4px 20px;
    color: #ffffff;
    text-align: center;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-wrapper {
    padding: 8px;
}

.notification-modal {
    display: none;
    /* Ẩn theo mặc định */
    position: absolute;
    top: calc(100% - 26px);
    /* Khoảng cách từ icon */
    right: 170px;
    width: 600px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    /* Đảm bảo hiển thị trên các element khác */
    padding: 15px 15px 0px 15px;
}

.notification-modal.open {
    display: block;
    /* Hiện khi có class 'open' */
}

.notification-modal .notification-modal-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 6px;
}

.notification-modal .notification-modal-title h4 {
    color: #000;
    font-family: Manrope;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
}

.notification-modal .notification-modal-title .readAll {
    color: var(--blue-blue-500, #0A77FF);
    text-align: center;
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
}

.notification-modal .notification-modal-title .readAll svg {
    margin-right: 4px;
}

.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 480px;
    overflow-y: auto;
}

.notification-list::-webkit-scrollbar {
    width: 2px;
}

.notification-list::-webkit-scrollbar-track {
    background: transparent;
    /* hoặc màu khác */
}

.notification-list::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 4px;
}

.notification-list li {
    padding: 10px 0;
}

.notification-list li:last-child {
    border-bottom: none;
}

.notification-list li a {
    text-decoration: none;
    color: #4F5460;
    display: block;
    font-size: 0.95em;
    line-height: 1.4;
}

.notification-list li a:hover {
    color: #0A77FF;
}

.view-all-notifications {
    text-align: center;
    padding: 24px 0px
}

.view-all-notifications a {
    color: var(--blue-blue-500, #0A77FF);
    text-align: center;
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
}

.notification-list .notification-items {
    display: flex;
    gap: 12px;
    justify-content: start;
    align-items: center;
    cursor: pointer;
}

.notification-list .notification-items .notification-info-tile {
    color: #000;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
}

.notification-list .notification-items .notification-info-des {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    align-self: stretch;
    overflow: hidden;
    color: var(--text-body, #4F5460);
    text-overflow: ellipsis;
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.notification-list .notification-items .notification-time {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    align-self: stretch;
    overflow: hidden;
    color: var(--text-placeholder, #93969D);
    text-overflow: ellipsis;
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.notification-list li img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 15px;
}

.notification-active.active {
    display: block;
}

.notification-active {
    display: none;
}

.notification-action {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.notification-action button {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 9999px;
    background: var(--blue-blue-50, #E7F1FF);
}

.notification-action button.active {
    background: var(--blue-blue-500, #0A77FF);
}

.notification-action button.active span {
    color: var(--text-heading-inverted, #FFF);
}

.notification-action button.active svg path {
    fill: var(--text-heading-inverted, #FFF);
}

.notification-action button span {
    color: var(--blue-blue-500, #0A77FF);
    text-align: center;
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}


/* ---------- 1440px ---------- */

@media (max-width: 1440px) {}


/* ---------- 1280px ---------- */

@media (max-width: 1280px) {
    .cp-header-bottom__center,
    .cp-header-bottom__right {
        display: none;
    }
    .mobile-menu-container {
        display: flex;
        align-items: center;
        gap: 26px;
        z-index: 9;
    }
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }
    .mobile-menu-toggle-search {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }
    .mobile-menu-toggle-cart {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }
    .mobile-menu.open {
        right: 0;
    }
    .mobile-menu .mobile-menu_list li a {
        display: block;
        padding: 12px 0px;
        color: #333;
        font-weight: 500;
        text-decoration: none;
        text-transform: uppercase;
    }
    .mobile-menu .mobile-menu_list li a:hover {
        font-weight: 600;
    }
    .mobile-menu-customer.open {
        max-height: 500px;
        padding: 10px;
    }
    .mobile-menu-customer.open input {
        display: flex;
        width: 100%;
        padding: 8px 14px;
        align-items: center;
        gap: 18px;
        border-radius: 36px;
        border: 1px solid var(--border-border-secondary, #dbdcde);
        backdrop-filter: blur(20px);
        position: relative;
        font-size: 14px;
        margin-bottom: 10px;
    }
    .mobile-menu-customer.open .search-popup {
        padding: 0px 10px;
    }
    .mobile-menu-customer.open .search-popup .keyword h4 {
        font-size: 14px;
        color: #93969d;
        margin-bottom: 8px;
    }
    .mobile-menu-customer.open .search-popup .keyword .content {
        display: flex;
        align-items: center;
        gap: 10px;
        align-self: stretch;
        width: 100%;
        flex-wrap: wrap;
    }
    .mobile-menu-customer.open .search-popup .keyword .content .item {
        padding: 4px 10px;
        justify-content: center;
        align-items: center;
        gap: 4px;
        border-radius: 9999px;
        background: var(--neutral-neutral-200, #efefef);
    }
    .mobile-menu-customer.open .search-popup .keyword .content .item p {
        width: 100%;
        color: var(--text-disable, #93969d);
        text-align: center;
        font-family: Manrope;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
        /* 137.5% */
    }
    .mobile-menu-customer.open .search-popup .history .title-history {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 10px;
        margin-top: 14px;
    }
    .mobile-menu-customer.open .search-popup .history .title-history h4 {
        color: var(--text-placeholder, #93969d);
        font-family: Manrope;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 22px;
        /* 137.5% */
    }
    .mobile-menu-customer.open .search-popup .history .title-history button {
        width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
        color: var(--blue-blue-500, #0a77ff);
        text-align: center;
        font-family: Manrope;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
        /* 142.857% */
        background-color: white;
    }
    .mobile-menu-customer.open .search-popup .history .body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        align-self: stretch;
    }
    .mobile-menu-customer.open .search-popup .history .body .item-history {
        display: flex;
        justify-content: space-between;
        align-items: center;
        align-self: stretch;
        width: 100%;
    }
    .mobile-menu-customer.open .search-popup .history .body .item-history div {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .mobile-menu-customer.open .search-popup .history .body .item-history div span {
        display: flex;
        width: 18px;
        height: 18px;
        padding: 0.938px;
        justify-content: center;
        align-items: center;
    }
    .mobile-menu-customer.open .search-popup .history .body .item-history div p {
        width: auto;
        padding: 0;
        color: var(--text-body, #4f5460);
        font-family: Manrope;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        /* 133.333% */
    }
    .mobile-menu-customer.open .search-popup .history .body .item-history button {
        display: flex;
        padding: 4px;
        justify-content: center;
        align-items: center;
        gap: 4px;
        border: none;
        outline: none;
        background: transparent;
    }
    .search-popup-2 .history {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        align-self: stretch;
    }
}


/* ---------- 1024px ---------- */

@media (max-width: 1024px) {
    .mobile-menu-container {
        gap: 26px;
    }
    .package-product_header-top button.active,
    .package-product_header-top button {
        font-size: 14px;
    }
}


/* ---------- 768px ---------- */

@media (max-width: 768px) {
    .cp-header-bottom {
        position: relative;
    }
    .mobile-menu-container .search-bar {
        display: none;
    }
    .mobile-menu-container .mobile-menu-toggle-search {
        display: block;
    }
    .mobile-menu-customer {
        display: initial;
        max-height: 0;
        overflow: hidden;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
        border-radius: 8px;
    }
    .notification-modal.open {
        width: 100%;
    }
    .notification-modal {
        right: 0;
        top: calc(100% + 10px);
    }
    .view-all-notifications {
        text-align: center;
        padding: 16px 0px
    }
    .notification-list li img {
        width: 60px;
        height: 60px;
    }
    .notification-list .notification-items .notification-time,
    .notification-list .notification-items .notification-info-des,
    .notification-list .notification-items .notification-info-tile {
        font-size: 12px;
    }
}


/* ---------- 520px ---------- */

@media (max-width: 520px) {
    .mobile-menu {
        width: 100%;
    }
    .mobile-menu .mobile-menu_list li a {
        font-size: 14px;
    }
    .mobile-menu-close {
        margin-bottom: 20px;
    }
    .mobile-menu-auth.mobile-menu-auth-fixed {
        position: fixed;
        bottom: 2%;
        right: 10px;
        z-index: 100;
    }
}