/* Google Translate — UI custom + hide chrome Google */
.trcim-gtranslate {
	position: relative;
	z-index: 999;
}

.trcim-gtranslate__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 4px;
	background: transparent;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.trcim-gtranslate__btn:hover,
.trcim-gtranslate.is-open .trcim-gtranslate__btn {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.trcim-gtranslate__icon {
	flex-shrink: 0;
}

.trcim-gtranslate__label {
	max-width: 9ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.trcim-gtranslate__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 160px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(22, 30, 45, 0.08);
	border-radius: 6px;
	box-shadow: 0 12px 28px rgba(22, 30, 45, 0.16);
}

.trcim-gtranslate__menu li + li {
	margin-top: 2px;
}

.trcim-gtranslate__option {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #161e2d;
	font-size: 14px;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}

.trcim-gtranslate__option:hover,
.trcim-gtranslate__option.is-active {
	background: #f3f5f8;
	color: #161e2d;
}

.trcim-gtranslate__widget {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

/* Nasconde banner/barra Google */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-spinner-pos,
body > .skiptranslate,
.skiptranslate > iframe {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
}

html.translated-ltr body,
html.translated-rtl body,
body {
	top: 0 !important;
	position: static !important;
}

.goog-tooltip,
.goog-tooltip:hover {
	display: none !important;
}

.goog-text-highlight {
	background: none !important;
	box-shadow: none !important;
}

@media (max-width: 991.98px) {
	.trcim-gtranslate__btn {
		min-height: 38px;
		padding: 0 10px;
	}

	.trcim-gtranslate__label {
		display: none;
	}
}
