/* EOND Translator widget */
.eond-translator {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	line-height: 1;
	visibility: visible !important;
	opacity: 1 !important;
}

.eond-translator[hidden] {
	display: none !important;
}

/* Menu-item wrap mode: blend into theme nav items */
li.eond-translator-item {
	list-style: none !important;
	padding: 0 12px;
	display: inline-flex !important;
	align-items: center;
}

li.eond-translator-item > .eond-translator__icon {
	margin-right: 6px;
}

/* Fixed presets */
.eond-translator.is-fixed {
	position: fixed;
}

.eond-translator.is-fixed.pos-top-right {
	top: var(--eond-top, 33px);
	right: var(--eond-right, 16px);
}

.eond-translator.is-fixed.pos-top-left {
	top: var(--eond-top, 33px);
	left: var(--eond-left, 16px);
}

.eond-translator.is-fixed.pos-bottom-right {
	bottom: var(--eond-bottom, 16px);
	right: var(--eond-right, 16px);
}

.eond-translator.is-fixed.pos-bottom-left {
	bottom: var(--eond-bottom, 16px);
	left: var(--eond-left, 16px);
}

.eond-translator__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: currentColor;
}

.eond-translator__icon svg {
	vertical-align: bottom;
}

/* Google Translate combo select */
#eond-translator #google_language_translator {
	display: inline-block;
}

#eond-translator select.goog-te-combo {
	border-radius: 5px !important;
	font-size: 14px;
	padding: 4px 22px 4px 8px !important;
	border: 1px solid rgba(0, 0, 0, 0.15);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath fill='%23000' d='M831.872 340.864L512 652.672L192.128 340.864a30.59 30.59 0 0 0-42.752 0a29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728a30.59 30.59 0 0 0-42.752 0z'/%3E%3C/svg%3E") no-repeat;
	background-size: 10px;
	background-position: calc(100% - 8px) center;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
}

/* Hide Google's intrusive UI bits inside our widget.
   IMPORTANT: only direct child <span> (the "Powered by Google" line).
   Some builds wrap the select in a deeper <span> — don't blanket-hide. */
#eond-translator .goog-te-gadget-icon,
#eond-translator .goog-logo-link,
#eond-translator .goog-te-gadget > span {
	display: none !important;
}

#eond-translator .goog-te-gadget {
	font-size: 0 !important;
	color: transparent !important;
}

/* Ensure the select itself is always visible */
#eond-translator .goog-te-combo {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Suppress Google's translate banner globally */
.goog-te-banner-frame.skiptranslate {
	display: none !important;
}

body {
	top: 0 !important;
}

/* Notranslate visual harmonization */
.notranslate {
	border-radius: 5px;
}
