/*
 * Webito_ThemeSwitcher bar.
 *
 * Hand-written on purpose (no Tailwind utilities): the bar renders on every store view, each with its
 * own Tailwind build, and utilities missing from one theme's build would silently no-op there.
 * The font is the active theme's body/paragraph font (--font-sans in every Hyva_* theme here).
 */
.theme-switcher {
    background: #fff;
    color: #000;
    font-family: var(--font-sans, inherit);
    font-size: 0.8125rem;
    line-height: 1.25rem;
    border-bottom: 1px solid rgb(0 0 0 / 0.08);
}

.theme-switcher__list {
    display: flex;
    align-items: center;
    gap: 0.25rem 1.5rem;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.theme-switcher__list::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .theme-switcher__list {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

.theme-switcher__item {
    flex: none;
    margin: 0;
}

.theme-switcher__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.125rem 0;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

.theme-switcher__link:hover,
.theme-switcher__link:focus-visible {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.theme-switcher__link:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.theme-switcher__link[aria-current="page"] {
    font-weight: 700;
}

.theme-switcher__dot {
    flex: none;
    display: block;
    width: 1rem;
    height: 1rem;
}
