/**
 * ATW language switcher — WoodMart compatibility only.
 * Visual styling comes from the theme (.wd-dropdown-menu, .woodmart-nav-link, etc.).
 * This file only fixes common layout glitches when the shortcode is dropped
 * in a Text/HTML column (not a full .wd-header-nav).
 */
.atw-ls--compat-woodmart {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
}

.atw-ls--compat-woodmart > .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ensure dropdown is positioned relative to the trigger when outside theme nav */
.atw-ls--compat-woodmart > .menu > .menu-item {
    position: relative;
    list-style: none;
}

/* Avoid double spacing if a theme already styles .container inside dropdown */
.atw-ls--compat-woodmart .wd-dropdown-menu .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
    min-width: 12em;
}
