/* TVSDB - Correcao do menu superior */

#site-header {
    width: 100%;
    max-width: 100%;
}

#site-header .main-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    gap: 18px;
    overflow: hidden;
}

#site-header .header-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
}

#site-header .logo-container {
    display: flex;
    align-items: center;
}

#site-header .category-nav {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

#site-header .category-nav::-webkit-scrollbar {
    display: none;
}

#site-header .category-nav a {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 0;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
}

#site-header .search-bar {
    flex: 0 0 auto;
    margin-left: auto;
}

#site-header .search-bar input {
    width: 180px;
    max-width: 100%;
}

/* Tablet e celular */
@media (max-width: 1100px) {
    #site-header .category-nav {
        display: none;
    }

    #site-header .main-header {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    #site-header .main-header {
        height: 60px;
        padding: 0 15px;
    }

    #site-header .search-bar input {
        width: 130px;
    }
}
