.wamt-switcher { --wamt-bg: #ffffff; --wamt-fg: #1d2a3a; --wamt-muted: #6b7785; --wamt-line: rgba(0,0,0,.12); --wamt-hover: #f1f4f7; --wamt-accent: #0b6fb8; font-family: inherit; font-size: 14px; line-height: 1; }
.wamt-switcher * { box-sizing: border-box; }
.wamt-flag { display: inline-flex; width: 20px; height: 14px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }
.wamt-flag svg { width: 100%; height: 100%; display: block; }
.wamt-code { font-weight: 600; letter-spacing: .02em; }

/* Em linha: PT EN ES */
.wamt-inline { display: inline-flex; gap: 4px; align-items: center; }
.wamt-inline .wamt-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 6px; color: inherit; text-decoration: none; opacity: .75; }
.wamt-inline .wamt-link:hover, .wamt-inline .wamt-link:focus-visible { opacity: 1; background: rgba(127,127,127,.12); }
.wamt-inline .wamt-link.is-active { opacity: 1; }
.wamt-inline .wamt-label { display: none; }

/* Suspenso */
.wamt-dropdown { position: relative; display: inline-block; }
.wamt-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--wamt-line); border-radius: 999px; background: var(--wamt-bg); color: var(--wamt-fg); cursor: pointer; font: inherit; font-weight: 600; }
.wamt-toggle:hover { background: var(--wamt-hover); }
.wamt-toggle:focus-visible, .wamt-link:focus-visible { outline: 2px solid var(--wamt-accent); outline-offset: 2px; }
.wamt-caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; transition: transform .15s; }
.wamt-dropdown.is-open .wamt-caret { transform: rotate(-135deg) translateY(-1px); }
.wamt-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 170px; padding: 6px; border: 1px solid var(--wamt-line); border-radius: 12px; background: var(--wamt-bg); box-shadow: 0 10px 30px rgba(0,0,0,.14); display: none; z-index: 99999; }
.wamt-dropdown.is-open .wamt-menu { display: block; }
.wamt-menu .wamt-link { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; color: var(--wamt-fg); text-decoration: none; }
.wamt-menu .wamt-link:hover { background: var(--wamt-hover); }
.wamt-menu .wamt-link.is-active { color: var(--wamt-accent); }
.wamt-menu .wamt-code { min-width: 22px; color: var(--wamt-muted); font-size: 12px; }
.wamt-menu .wamt-link.is-active .wamt-code { color: inherit; }

/* Flutuante */
.wamt-float { position: fixed; bottom: 20px; z-index: 99998; }
.wamt-float.wamt-bottom-right { right: 20px; }
.wamt-float.wamt-bottom-left { left: 20px; }
.wamt-float .wamt-toggle { box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.wamt-float .wamt-menu { top: auto; bottom: calc(100% + 8px); }
.wamt-float.wamt-bottom-left .wamt-menu { right: auto; left: 0; }
@media (max-width: 600px) { .wamt-float { bottom: 14px; } .wamt-float.wamt-bottom-right { right: 14px; } .wamt-float.wamt-bottom-left { left: 14px; } }

.wamt-menu-item { display: flex; align-items: center; }

/* Espaço entre bandeira e sigla mesmo quando o tema força display/gap no botão ou nos links */
.wamt-switcher .wamt-toggle { display: inline-flex !important; align-items: center !important; }
.wamt-switcher .wamt-menu .wamt-link { display: flex !important; align-items: center !important; }
.wamt-switcher .wamt-inline .wamt-link, .wamt-switcher.wamt-inline .wamt-link { display: inline-flex !important; align-items: center !important; }
.wamt-switcher .wamt-flag { margin-right: 8px !important; }
.wamt-switcher .wamt-menu .wamt-code { margin-right: 4px; }
.wamt-switcher .wamt-caret { margin-left: 8px; }
.wamt-switcher .wamt-toggle, .wamt-switcher .wamt-link { gap: 0 !important; }

/* Fundo próprio: o tema deixa botões transparentes e rosa, o que some em cima de vídeo/foto */
.wamt-switcher .wamt-toggle,
.wamt-switcher .wamt-toggle:hover,
.wamt-switcher .wamt-toggle:focus {
	background: rgba(255, 255, 255, .92) !important;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: #1d2a3a !important;
	border: 1px solid rgba(0, 0, 0, .10) !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .22) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}
.wamt-switcher .wamt-toggle:hover { background: #ffffff !important; }
.wamt-switcher .wamt-menu { background: #ffffff !important; }
.wamt-switcher .wamt-menu .wamt-link { color: #1d2a3a !important; background: transparent !important; text-decoration: none !important; }
.wamt-switcher .wamt-menu .wamt-link:hover { background: #f1f4f7 !important; }
.wamt-switcher .wamt-menu .wamt-link.is-active { color: #0b6fb8 !important; }
