.header-top {
    display: flex;
    justify-content: center;
    background: #202d38;
    position: fixed;
    line-height: 22px;
    box-shadow: 0 2px 2px rgba(253, 253, 253, 0.18);
    font-size: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
    z-index: 100;
}

.button-menu {
    display: none;
}

.menu-sp {
    display: none;
}

.top-menu {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #FFFFFF;
    width: 100%;
    padding: 5px 0;
    gap: 20px;
}

.top-menu .logo {
    display: flex;
    justify-content: left;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.top-menu .logo img {
    height: 60px;
    width: auto;
}

.top-menu .logo .category {
    display: flex;
    align-items: center;
    position: relative;
}

.top-menu .group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

@keyframes blink-effect {
    0% { background-color: #f8db79; }
    20% { background-color: rgb(246, 186, 126); }
    40% { background-color: #faa86d; }
    60% { background-color: rgb(243, 148, 114); }
    80% { background-color: rgb(246, 186, 126); }
    100% { background-color: #fcd675; }
}

@keyframes blink-effect-text {
    0% { color: #f8db79; }
    20% { color: rgb(246, 186, 126); }
    40% { color: #faa86d; }
    60% { color: rgb(243, 148, 114); }
    80% { color: rgb(246, 186, 126); }
    100% { color: #fcd675; }
}

.blink {
    animation: blink-effect 3s infinite;
}

.blink-text {
    animation: blink-effect-text 3s infinite;
}

.top-menu .btn-group {
    background: #4e6b85ed;
    /*color: #202d38;*/
    /*color: #ffffff;*/
    color: #435b73;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    padding: 5px 10px;
}

.top-menu .btn-group:hover {
    background: #FFFFFF;
    color: #4e6b85ed;
    border-color: #FFFFFF;
    animation: none;
}

.all-product {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    border-radius: 50px;
    border: 1px solid #4e6b85ed;
    background: transparent;
    color: #FFFFFF;
    padding-left: 20px;
    padding-right: 20px;
}

.all-product:hover {
    border-radius: 10px;
    border: 1px solid #4e6b85ed;
    background: #FFFFFF;
    color: #202d38;
    text-decoration: none;
    animation: none;
}

.top-menu .logo .category .content {
    position: absolute;
    width: 300px;
    z-index: 1000;
    background: #353535;
    top: 100%;
    left: 0;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s;
    border-radius: 8px; /* Bo góc mềm mại hơn */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Thêm hiệu ứng bóng */
}

.top-menu .logo .category:hover .content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 800px;
}

.top-menu .logo .category .content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.top-menu .logo .category .content ul .cate {
    padding: 12px 15px;
    display: flex;
    position: relative;
    align-items: center;
    transition: padding-left 0.3s ease, background 0.3s ease;
    border-radius: 6px;
}

.top-menu .logo .category .content ul .cate .name {
    color: #FFFFFF;
    text-decoration: none;
    flex-grow: 1;
    font-weight: 500;
}

.top-menu .logo .category .content ul .cate:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.category .has-sub {
    position: relative;
    padding-right: 20px;
}

.category .has-sub .name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
    max-width: 90%;
}


.category .has-sub::after {
    content: "►";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFFFF;
    font-size: 14px;
    transition: color 0.3s ease;
    margin-left: 10px;
}

.category .has-sub:hover::after {
    color: #73a1c5;
}

/* ======= SUBMENU ======= */
.category .sub-cate {
    position: absolute;
    left: 100%;
    top: 0;
    width: 250px;
    background: #202d38;
    padding: 10px;
    z-index: 1001;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s;
}

.category .has-sub:hover > .sub-cate {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.category .sub-cate li {
    padding: 12px;
    color: #FFFFFF;
    border-radius: 6px;
    transition: background 0.3s ease, padding-left 0.3s ease;
}

.category .sub-cate li:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.category .sub-cate li a {
    color: #FFFFFF;
    text-decoration: none;
    display: block;
}

.category .sub-cate li:hover a {
    color: #73a1c5;
}


.top-menu .logo .category .title {
    display: flex;
    align-items: center;
}

.top-menu .info .search {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 0;
    width: 100%;
}

.top-menu .info .search input {
    font-size: 14px;
    width: 300px;
    border-radius: 20px 0 0 20px;
    height: 35px;
    padding-left: 20px;
    border: 1px solid #73a1c5;
    background: transparent;
    color: #73a1c5;
    border-right: none;
}

.top-menu .info .search button {
    gap: 0;
    font-size: 14px;
    width: 50px;
    border-radius: 0 20px 20px 0;
    height: 35px;
    border: 1px solid #73a1c5;
    background: transparent;
    color: #73a1c5;
    border-left: none;
}

.top-menu .info {
    display: flex;
    gap: 30px;
    flex-shrink: 0;
    justify-content: center;
}

.top-menu .info .profile {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 14px;
}

.top-menu .info .profile a {
    color: #73a1c5;
    text-decoration: none;
}

.top-menu .info .profile a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.text-slide {
    background: #4e6b85ed;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #4e6b85ed;
}

marquee {
    color: #FFFFFF;
    margin-top: calc(var(--header-height));
    font-size: 22px;
    padding: 5px;
    width: 70%;
}

marquee p {
    padding: 0;
    margin: 0;
    opacity: 1;
    filter: brightness(1);
}
