header {
    position: relative;
}

header .topbar {
    display: flex;
    padding: 12px;
    justify-content: start;
    gap: 2rem;
    color: var(--primary-color);
    font-size: 1rem;
}

header .header-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

header .header-title * {
    margin: 0;
}

header .header-title .title {
    font-size: 1.5rem;
}


header .topbar > .nav-link {
    padding-top: 5px;
}

header .topbar .service-hours {
    text-align: center;
}

header .brand {
    margin: -12px 0;
}


header .brand .logo {
    height: 120px;
}

header nav ul {
    margin: 0;
    padding: 8px 0;
}

header nav li{
    display: inline;
    padding: 4px 12px;
}

header .header-site {
    border-bottom: 2px solid var(--light-gray);
}

header #selChangeLanguage .flag {
    display: inline-block;
    width: 26px;
    height: 23px;
    margin-right: 8px;
    margin-bottom: -4px;
}

header .language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--primary-color);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-size: 0.9rem;
}

header .language-switcher__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--light-gray);
    font-size: 1rem;
}

header .language-switcher__items {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

header .language-switcher__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    background: transparent;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

header .language-switcher__item:hover,
header .language-switcher__item:focus {
    background: var(--light-gray);
    outline: none;
}

header .language-switcher__item.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/** MOBILE */
@media only screen and (max-width: 600px) {
    header .topbar {
        gap: 1rem;
    }
}

@media(max-width: 992px){
    header .topbar .service-hours {
        width: 100%;
        line-height: 30px;
        text-align: left;
    }

    header .topbar .webstore-label, header .topbar .contact-info {
        display: none;
    }
}

@media(min-width: 772px){

    header .topbar-right-section {
        display: flex;
    }

    header #selChangeLanguage {
        margin-right: 18px;
    }


}
