/**
 * Taste & Fly — Estilos dos formulários de newsletter (Brevo + Google + seleção de cidade).
 * Tudo escopado sob .tfnf com seletor composto para vencer regras genéricas do tema.
 * Enfileirado via wp_enqueue_scripts com versionamento filemtime().
 */

.tfnf {
	margin: 0 auto;
	max-width: 420px;
	text-align: center;
	font-family: Lato, Arial, sans-serif;
	color: inherit;
}

.tfnf .tfnf__form {
	margin: 0;
	padding: 0;
}

.tfnf .tfnf__google-wrap {
	margin: 0 0 10px;
}

.tfnf .tfnf__google-wrap[hidden] {
	display: none;
}

.tfnf .tfnf__google {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 8px 16px;
	box-sizing: border-box;
	border: 1px solid #bbb;
	border-radius: 0;
	background: #fff;
	color: #1a1a1a;
	font: 500 14px/1.2 Lato, Arial, sans-serif;
	letter-spacing: .02em;
	text-transform: none;
	cursor: pointer;
	box-shadow: none;
}

.tfnf .tfnf__google:hover {
	background: #f7f6f2;
	border-color: #888;
	color: #1a1a1a;
}

.tfnf .tfnf__google:focus-visible {
	outline: 2px solid #b8860b;
	outline-offset: 2px;
}

.tfnf .tfnf__g-ico {
	flex: 0 0 auto;
	display: block;
}

.tfnf .tfnf__ou {
	display: block;
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.3;
	opacity: .75;
}

.tfnf--escuro .tfnf__google,
.tfnf--escuro .tfnf__google:hover {
	border-color: #fff;
	background: #fff;
	color: #1a1a1a;
}

.tfnf .tfnf__linha {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.tfnf .tfnf__email {
	flex: 1 1 140px;
	width: auto;
	min-width: 0;
	max-width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid #bbb;
	border-radius: 0;
	background: #fff;
	color: #1a1a1a;
	font: 400 16px/1.2 Lato, Arial, sans-serif;
	text-align: left;
	box-shadow: none;
}

.tfnf .tfnf__bt {
	flex: 0 0 auto;
	width: auto;
	height: 44px;
	margin: 0;
	padding: 0 20px;
	box-sizing: border-box;
	border: 0;
	border-radius: 0;
	background: #1a1a1a;
	color: #fff;
	font: 400 13px/1 Oswald, Arial, sans-serif;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: none;
}

.tfnf .tfnf__bt:hover {
	background: #3a3a3a;
	color: #fff;
}

.tfnf .tfnf__bt[disabled] {
	opacity: .6;
	cursor: default;
}

.tfnf .tfnf__cidades {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0 8px;
	margin: 10px 0 0;
}

.tfnf .tfnf__rotulo {
	flex: 0 0 100%;
	font-size: 13px;
	line-height: 1.4;
	opacity: .85;
}

.tfnf .tfnf__op {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 0;
	font-weight: 400;
	cursor: pointer;
}

.tfnf .tfnf__op input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.tfnf .tfnf__op span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	box-sizing: border-box;
	border: 1px solid #bbb;
	border-radius: 17px;
	color: inherit;
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
}

.tfnf .tfnf__op input:checked + span {
	border-color: #1a1a1a;
	background: #1a1a1a;
	color: #fff;
}

.tfnf .tfnf__op input:checked + span::before {
	content: "\2713";
	content: "\2713" / "";
	margin-right: 6px;
	font-size: 12px;
}

.tfnf .tfnf__op input:focus-visible + span {
	outline: 2px solid #b8860b;
	outline-offset: 2px;
}

.tfnf .tfnf__isca {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.tfnf .tfnf__semanal {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	text-align: left;
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 400;
	cursor: pointer;
}

.tfnf .tfnf__semanal input {
	position: static;
	width: 16px;
	height: 16px;
	margin: 3px 0 0;
	flex: 0 0 auto;
	accent-color: #b8860b;
}

.tfnf .tfnf__nota {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.5;
	opacity: .8;
}

.tfnf .tfnf__nota a {
	color: inherit;
	text-decoration: underline;
}

.tfnf .tfnf__msg {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.45;
}

.tfnf .tfnf__msg:empty {
	margin: 0;
}

.tfnf .tfnf__msg--erro {
	color: #8b2500;
}

.tfnf .tfnf__email:focus-visible,
.tfnf .tfnf__bt:focus-visible,
.tfnf .tfnf__nota a:focus-visible {
	outline: 2px solid #b8860b;
	outline-offset: 2px;
}

.tfnf--escuro .tfnf__email {
	border-color: rgba(255, 255, 255, .45);
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.tfnf--escuro .tfnf__email::placeholder {
	color: rgba(255, 255, 255, .7);
}

.tfnf--escuro .tfnf__bt,
.tfnf--escuro .tfnf__bt:hover {
	background: #b8860b;
	color: #1a1a1a;
}

.tfnf--escuro .tfnf__op span {
	border-color: rgba(255, 255, 255, .5);
}

.tfnf--escuro .tfnf__op input:checked + span {
	border-color: #fff;
	background: #fff;
	color: #1a1a1a;
}

.tfnf--escuro .tfnf__msg--erro {
	color: #ffb4a2;
}

/* Regras de alinhamento do widget na sidebar (espelham #emailsubscriptionwidget-2) */
.widget_tf_news_form {
	text-align: center;
}

.widget_tf_news_form > h3 {
	margin-bottom: 20px;
}
