.header {
    position: relative;
    z-index: 1000;
}

.header-bottom {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s ease;
    will-change: transform;
    height: auto;
    overflow: visible;
}

.header-bottom.is-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.header-bottom:not(.is-hidden) {
    box-shadow: 0 2px 18px rgba(37, 37, 37, 0.08);
}

.header-spacer {
    height: var(--header-bottom-height, 74px);
    flex-shrink: 0;
}

.header-top {
    position: relative;
    z-index: 1001;
    background: var(--white);
}

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-2-sub);
}

.header-top-wrap {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-top-item {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--color-2);
    transition: all .3s;
}
.header-top-item:hover {
    color: var(--color-1);
}

.header-top-item .icon {
    color: var(--color-2);
    font-size: 14px;
    display: flex;
    align-items: center;

}



.header-top-item label {
    font-weight: 600;
    color: var(--color-2);
}

.header-top-item a {
    font-weight: 600;
    color: var(--color-1);
}

.header-top-hotline {}

.header-top-hotline i {
    color: var(--color-1);
}
.header-top-wrap .options-list {}

.header-top-wrap .options-list .header-top-item {}

.header-top-wrap .options-list .header-top-item .icon {}

.header-top-wrap .options-list .header-top-item .icon img {}

.header-top-wrap .options-list .header-top-item span {

}

.header-bottom .container {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    overflow: visible;
}

.header-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    width: 190px;
}

.header-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.header-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    overflow: visible;
}

.header-item {
    position: relative;
    flex: 0 0 auto;
}

.header-item-link {
    min-height: 74px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-nav);
    transition: color 0.25s ease;
    position: relative;
}

.header-item-link span {
    line-height: 1;
    white-space: nowrap;
}

.header-item-link i,
.header-item-link-caret {
    font-size: 10px;
    color: var(--text-meta);
    transition: transform 0.25s ease, color 0.25s ease;
}

.header-item-dropdown-btn {
    display: none;
}

.header-item-row {
    display: contents;
}

.header-item-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-1);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.header-item:hover .header-item-link,
.header-item-link:hover,
.header-item.active .header-item-link {
    color: var(--color-1);
}

.header-item:hover .header-item-link i,
.header-item-link:hover i,
.header-item.active .header-item-link i,
.header-item:hover .header-item-link-caret,
.header-item-link:hover .header-item-link-caret,
.header-item.active .header-item-link-caret {
    color: var(--color-1);
    transform: rotate(180deg);
}

.header-item:hover .header-item-link::after,
.header-item-link:hover::after,
.header-item.active .header-item-link::after {
    transform: scaleX(1);
}

.header-item.has-dropdown .header-submenu {
    position: absolute;
    top: calc(100% - 4px);
    left: 50%;
    min-width: 188px;
    width: max-content;
    max-width: 240px;
    padding: 6px;
    border: 1px solid var(--border-card-3);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(37, 37, 37, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1002;
    pointer-events: none;
}

.header-item.has-dropdown .header-submenu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 16px;
}

.header-item.has-dropdown:hover .header-submenu,
.header-item.has-dropdown.is-submenu-open .header-submenu,
.header-item.has-dropdown:focus-within .header-submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.header-submenu-link {
    position: relative;
    min-height: 36px;
    padding: 0 10px 0 22px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--text-body-2);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.header-submenu-link::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-soft);
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-submenu-link span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-submenu-link:hover,
.header-submenu-link.active {
    background: var(--bg-soft-3);
    color: var(--color-1);
}

.header-submenu-link:hover::before,
.header-submenu-link.active::before {
    background: var(--color-1);
    transform: translateY(-50%) scale(1.15);
}

.header-btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--color-1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(251, 97, 4, 0.18);
    transition: background 0.25s ease, transform 0.25s ease;
}

.header-btn:hover {
    background: var(--color-1-hover);
    transform: translateY(-1px);
}

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




.header .grid.wide,
footer .grid.wide {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.header-logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 1239px) and (min-width: 1101px) {
    .header-logo {
        width: 155px;
    }

    .header-bottom .container {
        gap: 10px;
    }

    .header-item-link {
        padding: 0 9px;
        font-size: 12px;
    }

    .header-btn {
        padding: 0 16px;
        font-size: 13px;
    }
}

@media (max-width: 1100px) {
    .header-nav--desktop {
        display: none !important;
    }

    .header-top .container {
        padding: 10px 0;
    }

    .header-top-wrap {
        gap: 18px;
    }

    .header-top-item {
        font-size: 14px;
    }

    .header-bottom .container {
        min-height: 68px;
        gap: 14px;
    }

    .header-logo {
        width: 165px;
    }

    .header-menu-toggle {
        order: 3;
        margin-left: auto;
        width: 44px;
        height: 44px;
        border: 1px solid var(--border-light);
        border-radius: 10px;
        background: var(--white);
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        position: relative;
        z-index: 100001;
    }

    .header-menu-toggle span {
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: var(--color-2);
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    .header.menu-open .header-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header.menu-open .header-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .header.menu-open .header-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header-btn--bar {
        display: none;
    }
}

@media (max-width: 767px) {
    .header-top .container {
        min-height: 38px;
        padding: 7px 0;
    }

    .header-top-wrap {
        gap: 12px;
    }

    .header-top-wrap:first-child .header-top-item:nth-child(n + 2) {
        display: none;
    }

    .header-top-item {
        font-size: 13px;
    }

    .header-top .options-list .header-top-item {
        width: 34px;
        height: 34px;
        justify-content: center;
        border-radius: 50%;
        background: var(--bg-soft);
    }

    .header-top .options-list .header-top-item span {
        display: none;
    }

    .header-bottom .container {
        min-height: 62px;
        gap: 10px;
    }

    .header-logo {
        width: min(145px, 38vw);
    }

    .header-btn {
        min-height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }

    .header-menu-toggle {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 479px) {
    .header-top-hotline label {
        display: none;
    }

    .header-logo {
        width: 132px;
    }

    .header-btn {
        min-height: 38px;
        padding: 0 11px;
        font-size: 12px;
    }

    .header-menu-toggle {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 374px) {
    .header-logo {
        width: 112px;
    }

    .header-bottom .container {
        gap: 7px;
    }

    .header-btn {
        padding: 0 9px;
    }
}