.bdf-tm-switcher{display:inline-flex;align-items:center;font-family:inherit;line-height:1;position:relative;z-index:20;min-width:var(--bdf-tm-min-width,110px);font-size:var(--bdf-tm-font-size,14px)}
.bdf-tm-switcher a,.bdf-tm-current{display:inline-flex;align-items:center;gap:7px;text-decoration:none!important;border:1px solid var(--bdf-tm-border,#ddd);border-radius:var(--bdf-tm-radius,8px);padding:var(--bdf-tm-padding-y,8px) var(--bdf-tm-padding-x,10px);line-height:1;background:var(--bdf-tm-bg,#fff);color:var(--bdf-tm-text,#111)!important;font-size:var(--bdf-tm-font-size,14px);box-shadow:none;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}
.bdf-tm-switcher a:hover,.bdf-tm-switcher a.is-active,.bdf-tm-current:hover{background:var(--bdf-tm-hover-bg,#f5f5f5);color:var(--bdf-tm-hover-text,#111)!important;border-color:var(--bdf-tm-border,#ddd)}
.bdf-tm-links{gap:8px;flex-wrap:wrap;min-width:0}.bdf-tm-dropdown{min-width:var(--bdf-tm-min-width,110px)}.bdf-tm-current{width:100%;justify-content:center}.bdf-tm-menu{display:none;position:absolute;top:calc(100% + 6px);left:0;min-width:100%;background:var(--bdf-tm-bg,#fff);border:1px solid var(--bdf-tm-border,#ddd);border-radius:var(--bdf-tm-radius,8px);box-shadow:0 8px 24px rgba(0,0,0,.14);padding:5px;z-index:999999}.bdf-tm-dropdown.is-open .bdf-tm-menu{display:flex;flex-direction:column;gap:2px}.bdf-tm-menu a{border:0;border-radius:calc(var(--bdf-tm-radius,8px) - 2px);white-space:nowrap;padding:var(--bdf-tm-padding-y,8px) var(--bdf-tm-padding-x,10px);background:transparent}.bdf-tm-menu a:hover,.bdf-tm-menu a.is-active{background:var(--bdf-tm-hover-bg,#f5f5f5);color:var(--bdf-tm-hover-text,#111)!important}.bdf-tm-floating{position:fixed;right:18px;bottom:18px;z-index:99999}.bdf-tm-floating .bdf-tm-switcher{background:transparent;padding:0;border-radius:0;box-shadow:none}
.bdf-tm-menu-shortcode{display:inline-flex;align-items:center}.bdf-tm-menu-shortcode .bdf-tm-switcher{vertical-align:middle}

/* Fix Kubio: evita che gli stili generici dei button del tema sovrascrivano il selettore. */
.bdf-tm-switcher .bdf-tm-current,
.bdf-tm-switcher button.bdf-tm-current,
[data-kubio] .bdf-tm-switcher .bdf-tm-current,
[data-kubio] .bdf-tm-switcher button.bdf-tm-current{
    background:var(--bdf-tm-bg,#fff)!important;
    background-color:var(--bdf-tm-bg,#fff)!important;
    color:var(--bdf-tm-text,#111)!important;
    border-color:var(--bdf-tm-border,#ddd)!important;
    border-width:1px!important;
    border-style:solid!important;
    box-shadow:none!important;
    text-decoration:none!important;
}
.bdf-tm-switcher .bdf-tm-current:hover,
.bdf-tm-switcher button.bdf-tm-current:hover,
[data-kubio] .bdf-tm-switcher .bdf-tm-current:hover,
[data-kubio] .bdf-tm-switcher button.bdf-tm-current:hover{
    background:var(--bdf-tm-hover-bg,#f5f5f5)!important;
    background-color:var(--bdf-tm-hover-bg,#f5f5f5)!important;
    color:var(--bdf-tm-hover-text,#111)!important;
}
.bdf-tm-switcher .bdf-tm-current span,
[data-kubio] .bdf-tm-switcher .bdf-tm-current span{
    color:inherit!important;
    opacity:1!important;
}
.bdf-tm-switcher .bdf-tm-menu a,
[data-kubio] .bdf-tm-switcher .bdf-tm-menu a{
    background:transparent!important;
    color:var(--bdf-tm-text,#111)!important;
    border-color:transparent!important;
}
.bdf-tm-switcher .bdf-tm-menu a:hover,
.bdf-tm-switcher .bdf-tm-menu a.is-active,
[data-kubio] .bdf-tm-switcher .bdf-tm-menu a:hover,
[data-kubio] .bdf-tm-switcher .bdf-tm-menu a.is-active{
    background:var(--bdf-tm-hover-bg,#f5f5f5)!important;
    color:var(--bdf-tm-hover-text,#111)!important;
}
