.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    transition: box-shadow .3s ease;
    padding-bottom: 10px;
    border-bottom: 1px solid #f6f7f9;
}

.header-sticky.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.topbar {
    background: #f5f6f8;
    border-bottom: 1px solid #ececec;
    font-size: 14px;
    line-height: 1.2;
    overflow: hidden;
    max-height: 50px;
    transition: max-height .32s ease, opacity .25s ease;
}

.header-sticky.compact .topbar {
    max-height: 0;
    opacity: 0;
    border-bottom-color: transparent;
}

.topbar__inner {
    max-width: 1650px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 40px;
    row-gap: 10px;
    padding: 9px 15px;
    color: #4a4a4a;
    flex-wrap: wrap;
    box-sizing: border-box;
}


.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.topbar__item svg {
    width: 18px;
    height: 18px;
    color: var(--main-blue, #3076d5);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .topbar__inner {
        gap: 8px 20px;
        font-size: 12px;
    }
    .topbar__item svg { width: 16px; height: 16px; }
}

.header-sticky .header-top,
.header-sticky .header-mid {
    max-width: 1650px;
    margin: 0 auto;
    box-sizing: border-box;
}

.header-sticky .header-top {
    transition: height .32s ease, opacity .25s ease;
}

.header-sticky.compact .header-top {
    overflow: hidden;
    height: 0;
    opacity: 0;
    padding-top: 10px;
    padding-bottom: 0;
}

@media (max-width: 1700px) {
    .header-sticky .header-top,
    .header-sticky .header-mid { max-width: 1400px; }
}

@media (max-width: 1480px) {
    .header-sticky .header-top,
    .header-sticky .header-mid { max-width: 1200px; }
}

@media (max-width: 1240px) {
    .header-sticky .header-top,
    .header-sticky .header-mid { max-width: 1000px; }
}

@media (max-width: 1024px) {
    .header-sticky {
        position: static;
        box-shadow: none;
        padding-bottom: 0;
    }
    .header-sticky .header-top,
    .header-sticky .header-mid {
        max-width: 100%;
    }
    .header-sticky .header-mid {
        padding-bottom: 0;
    }
    .header-sticky.compact .header-top {
        height: auto;
        opacity: 1;
        overflow: visible;
        padding-top: 0;
    }
    .topbar {
        max-height: none;
    }
    .header-sticky .header-top, .header-sticky .header-mid {
        padding-left:18px;
        padding-right: 18px;
        display: none;
    }
}


