/*
 * Tio João Core: visual da saída dos shortcodes e dos recursos em JS.
 * Usa as variáveis globais do kit Elementor (--tj-*), com fallback.
 */

/* ---------- Seções escondidas quando o conteúdo está vazio ---------- */
.tj-sem-faq .tj-sec-faq,
.tj-sem-combinacoes .tj-sec-combinacoes,
.tj-sem-produto .tj-sec-produto,
.tj-sem-embalagens .tj-sec-embalagens,
.tj-sem-armazem .tj-sec-armazem,
.tj-sem-conheca .tj-sec-conheca,
.tj-sem-como-usar .tj-sec-como-usar,
.tj-sem-receitas .tj-sec-receitas,
.tj-sem-nutricao .tj-sec-nutricao,
.tj-sem-dica .tj-sec-dica,
.tj-sem-sugestao .tj-sec-sugestao,
.tj-produto-simples .tj-so-completo,
.tj-produto-completo .tj-so-simples,
.tj-com-cabecalho .tj-so-sem-cabecalho,
.tj-sem-cabecalho .tj-cabecalho-produto {
	display: none !important;
}

/*
 * Topo do produto com o cabeçalho (embalagem + "bolinha" do prato, 1794 × 968): no celular a imagem
 * perde as laterais vazias (proporção 1290 × 968) para a embalagem ficar maior, e a caixa acompanha a altura.
 */
@media (max-width: 767px) {
	.tj-com-cabecalho :has(> .tj-cabecalho-produto) {
		height: auto !important;
	}
}

/* ---------- Meta da receita: 40 min · Média · 4 porções ---------- */
.tj-meta-receita {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: var(--tj-fs-body, 14px);
	line-height: 21px;
	color: var(--tj-muted, #5c5c5c);
}

.tj-meta-receita > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Ícones originais do Figma (24/11): relógio, "cuca" (dificuldade) e prato com talheres (porções), 13 px. */
.tj-meta-receita > span::before {
	content: "";
	width: 13px;
	height: 13px;
	flex: none;
	background: center / contain no-repeat;
}

.tj-meta-receita > span {
	gap: 4px !important;
}

/* Ordem fixa do shortcode e do JS dos cards: tempo, dificuldade, porções. */
.tj-meta-receita > span:nth-child(1)::before {
	background-image: url("figma/icone-tempo.png");
}

.tj-meta-receita > span:nth-child(2)::before {
	background-image: url("figma/icone-dificuldade.png");
}

.tj-meta-receita > span:nth-child(3)::before {
	background-image: url("figma/icone-porcoes.png");
}

/* Com classe (shortcode), vale a classe: um item vazio não desloca os ícones. */
.tj-meta-receita > span.tj-meta-tempo::before {
	background-image: url("figma/icone-tempo.png");
}

.tj-meta-receita > span.tj-meta-dificuldade::before {
	background-image: url("figma/icone-dificuldade.png");
}

.tj-meta-receita > span.tj-meta-porcoes::before {
	background-image: url("figma/icone-porcoes.png");
}

/* ---------- Selos (tags vermelhas) e embalagens ---------- */
.tj-selos,
.tj-embalagens {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
}

.tj-selos > span {
	display: inline-flex;
	align-items: center;
	padding: 2px 16px;
	border-radius: 999px;
	background-color: var(--tj-vermelho, #c51718);
	color: var(--tj-white, #fff);
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: var(--tj-fs-body, 14px);
	font-weight: 700;
	line-height: 20px;
}

.tj-embalagens {
	justify-content: center;
}

.tj-embalagens > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	min-width: 88px;
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid var(--tj-border, #d5cec3);
	border-radius: var(--tj-radius-sm, 8px);
	background-color: var(--tj-white, #fff);
	color: var(--tj-ink, #252321);
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: var(--tj-fs-body, 14px);
	line-height: 20px;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.tj-embalagens > span:hover,
.tj-embalagens > span:focus-visible {
	border-color: var(--tj-vermelho, #c51718);
}

.tj-embalagens > span.is-ativa {
	border-color: var(--tj-primary, #821718);
	background-color: var(--tj-primary, #821718);
	color: var(--tj-white, #fff);
	font-weight: 700;
}

/* ---------- Ingredientes ---------- */
.tj-ingredientes {
	display: block;
	font-family: var(--tj-font, Montserrat), sans-serif;
	color: var(--tj-muted, #5c5c5c);
}

.tj-ingredientes strong {
	display: block;
	margin: 20px 0 8px;
	font-size: var(--tj-fs-small, 13px);
	font-weight: 400;
	line-height: 20px;
	color: var(--tj-muted, #5c5c5c);
}

.tj-ingredientes strong:first-child {
	margin-top: 0;
}

.tj-ingredientes ul {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tj-ingredientes li {
	position: relative;
	padding-left: 16px;
	font-size: var(--tj-fs-body, 14px);
	line-height: 21px;
}

.tj-ingredientes li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: var(--tj-vermelho, #c51718);
}

/* ---------- Passos numerados: modo de preparo e "como usar" ---------- */
.tj-passos {
	display: block;
	font-family: var(--tj-font, Montserrat), sans-serif;
}

.tj-passos ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: tj-passo;
}

.tj-passos li {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 12px;
	padding: 16px 0;
	border-bottom: 1px solid var(--tj-soft, #eae3d7);
	font-size: var(--tj-fs-body, 14px);
	line-height: 21px;
	color: var(--tj-muted, #5c5c5c);
	counter-increment: tj-passo;
}

.tj-passos li:first-child {
	padding-top: 0;
}

.tj-passos li::before {
	content: counter(tj-passo, decimal-leading-zero);
	font-size: var(--tj-fs-lead, 18px);
	font-weight: 700;
	line-height: 21px;
	color: var(--tj-primary, #821718);
}

/* ---------- Acordeões: FAQ e informações do produto ---------- */
.tj-faq,
.tj-acordeao {
	display: block;
	font-family: var(--tj-font, Montserrat), sans-serif;
}

.tj-faq ul,
.tj-acordeao ul {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tj-faq li,
.tj-acordeao li {
	padding: 0 20px;
	border-radius: var(--tj-radius-sm, 8px);
	background-color: var(--tj-cream, #f5f1e5);
}

.tj-acordeao li {
	background-color: var(--tj-white, #fff);
	border: 1px solid var(--tj-border, #d5cec3);
}

.tj-faq strong,
.tj-acordeao strong {
	position: relative;
	display: block;
	padding: 20px 32px 20px 0;
	font-size: var(--tj-fs-body, 14px);
	font-weight: 700;
	line-height: 21px;
	color: var(--tj-ink, #252321);
	cursor: pointer;
	user-select: none;
	transition: color 0.2s;
}

.tj-faq strong:hover,
.tj-acordeao strong:hover {
	color: var(--tj-primary, #821718);
}

.tj-faq strong:focus-visible,
.tj-acordeao strong:focus-visible {
	outline: 2px solid var(--tj-vermelho, #c51718);
	outline-offset: 4px;
	border-radius: 4px;
}

/* Seta que gira ao abrir */
.tj-faq strong::after,
.tj-acordeao strong::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	color: var(--tj-muted, #5c5c5c);
	transform: translateY(-75%) rotate(45deg);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tj-faq li.is-open strong::after,
.tj-acordeao li.is-open strong::after {
	transform: translateY(-25%) rotate(225deg);
}

/* Resposta: abre e fecha com a altura animada pelo JS (height 0 → altura do conteúdo) */
.tj-faq li > span,
.tj-acordeao li > span {
	display: block;
	box-sizing: border-box;
	height: 0;
	overflow: hidden;
	padding: 0;
	font-size: var(--tj-fs-body, 14px);
	line-height: 22px;
	color: var(--tj-muted, #5c5c5c);
	opacity: 0;
	transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

/* Espaço abaixo da resposta: fica dentro da área que abre e fecha. */
.tj-faq li > span::after,
.tj-acordeao li > span::after {
	content: "";
	display: block;
	height: 20px;
}

.tj-faq li.is-open > span,
.tj-acordeao li.is-open > span {
	height: auto;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.tj-faq li > span,
	.tj-acordeao li > span,
	.tj-faq strong::after,
	.tj-acordeao strong::after {
		transition: none;
	}
}
/* ---------- Outras combinações ---------- */
.tj-combinacoes ul {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.e-paragraph-base.tj-combinacoes a,
.tj-combinacoes a {
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: var(--tj-fs-body, 14px);
	font-weight: 700;
	line-height: 20px;
	color: var(--tj-vermelho, #c51718);
	text-decoration: none;
}

.e-paragraph-base.tj-combinacoes a:hover,
.tj-combinacoes a:hover {
	color: var(--tj-vermelho-hover, #a31213);
}

/* ---------- Busca ---------- */
.tj-busca {
	position: relative;
	z-index: 20; /* As sugestões ficam por cima dos cards que vêm depois. */
	min-height: 62px; /* Reserva o espaço do campo (montado pelo JS): a página não pula. */
}

.tj-busca form {
	display: flex;
	gap: 8px;
	width: 100%;
	padding: 6px;
	border: 1px solid var(--tj-border, #d5cec3);
	border-radius: var(--tj-radius-md, 12px);
	background-color: var(--tj-white, #fff);
}

.tj-busca input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 0 14px;
	border: 0;
	background: transparent;
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: var(--tj-fs-body, 14px);
	color: var(--tj-ink, #252321);
	outline: none;
}

.tj-busca button,
.tj-filtros button {
	min-height: 48px;
	padding: 0 28px;
	border: 1px solid var(--tj-vermelho, #c51718);
	border-radius: var(--tj-radius-sm, 8px);
	background-color: var(--tj-vermelho, #c51718);
	color: var(--tj-white, #fff);
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: var(--tj-fs-body, 14px);
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s;
}

.tj-busca button:hover,
.tj-filtros button:hover {
	background-color: var(--tj-vermelho-hover, #a31213);
	border-color: var(--tj-vermelho-hover, #a31213);
}

/* ---------- Filtros do catálogo ---------- */
.tj-filtros form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px;
}

.tj-filtros__campos {
	display: grid;
	flex: 1 1 640px;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 16px;
}

.tj-filtros__campo {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tj-filtros label {
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: var(--tj-fs-small, 13px);
	font-weight: 700;
	color: var(--tj-ink, #252321);
}

.tj-filtros select {
	min-height: 48px;
	padding: 0 12px;
	border: 1px solid var(--tj-border, #d5cec3);
	border-radius: var(--tj-radius-sm, 8px);
	background-color: var(--tj-white, #fff);
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: var(--tj-fs-body, 14px);
	color: var(--tj-ink, #252321);
}

@media (max-width: 1024px) {
	.tj-filtros__campos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.tj-filtros__campos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tj-filtros button {
		width: 100%;
	}
}

.tj-filtros {
	min-height: 74px; /* Reserva o espaço dos filtros (montados pelo JS). */
}

.tj-filtros button.tj-filtros__limpar {
	border-color: var(--tj-border, #d5cec3);
	background-color: var(--tj-white, #fff);
	color: var(--tj-primary, #821718);
	font-weight: 600;
}

.tj-filtros button.tj-filtros__limpar:hover {
	border-color: var(--tj-vermelho, #c51718);
	background-color: var(--tj-cream, #f5f1e5);
}

.tj-filtros button.tj-filtros__limpar[hidden] {
	display: none;
}

/* ---------- Prêmios (rodapé) ---------- */
.tj-premios {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.tj-premios__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 104px;
	padding: 12px;
	border-radius: var(--tj-radius-sm, 8px);
	background-color: var(--tj-white, #fff);
}

.tj-premios__item img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Links dentro das respostas e listas: o Elementor zera estilos de <a> dentro de Paragraph (all: unset). */
.e-paragraph-base.tj-faq a,
.e-paragraph-base.tj-acordeao a,
.e-paragraph-base.tj-ingredientes a {
	color: var(--tj-vermelho, #c51718);
	text-decoration: underline;
	cursor: pointer;
}

/* Imagem dinâmica sem arquivo (campo vazio): não mostra a moldura vazia. */
img.e-image-base:not([src]),
img.e-image-base[src=""] {
	display: none !important;
}

/* ---------- Mapa (Onde Encontrar) ---------- */
.tj-mapa {
	display: block;
	width: 100%;
	max-width: 996px;
	overflow: hidden;
	border: 1px solid var(--tj-border, #d5cec3);
	border-radius: var(--tj-radius-md, 12px);
	background-color: var(--tj-soft, #eae3d7);
}

/* Mapa do Onde encontrar (Figma, 25/11): 994 × 928 no desktop, alto também no celular. */
.tj-mapa {
	max-width: 994px !important;
	margin-top: 40px;
}

.tj-mapa iframe {
	display: block;
	width: 100%;
	height: 928px !important;
	border: 0;
}

@media (max-width: 767px) {
	.tj-mapa {
		margin-top: 24px;
	}

	.tj-mapa iframe {
		height: 720px !important;
	}
}

/* ---------- Setas em SVG (trocadas pelo JS) ---------- */
/* Seta da Montserrat exportada do Figma (24/11); a caixa tem a altura da linha do texto do Figma (base em 11/14). */
.tj-seta {
	display: inline-block;
	width: 0.53em;
	height: 1em;
	margin-left: 0.08em;
	vertical-align: -0.214em;
	background-color: currentColor;
	-webkit-mask: url("figma/seta.svg") center / contain no-repeat;
	mask: url("figma/seta.svg") center / contain no-repeat;
	transition: transform 0.2s;
}

.tj-seta--externa {
	-webkit-mask-image: url("figma/seta-externa.svg");
	mask-image: url("figma/seta-externa.svg");
}

.tj-seta--baixo {
	transform: rotate(90deg);
}

.tj-seta--esquerda {
	transform: rotate(180deg);
}

a:hover .tj-seta--direita,
.tj-link-cta:hover .tj-seta--direita {
	transform: translateX(3px);
}

/* ---------- Sugestões inteligentes (hub de receitas) ---------- */
.tj-sugestoes ul {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.e-paragraph-base.tj-sugestoes a,
.tj-sugestoes a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid var(--tj-border, #d5cec3);
	border-radius: var(--tj-radius-sm, 8px);
	background-color: var(--tj-white, #fff);
	color: var(--tj-primary, #821718);
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: var(--tj-fs-body, 14px);
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}

.e-paragraph-base.tj-sugestoes a:hover,
.tj-sugestoes a:hover {
	border-color: var(--tj-vermelho, #c51718);
	background-color: var(--tj-cream, #f5f1e5);
}

/* Seções que dependem da busca global */
.tj-sem-busca-produtos .tj-sec-busca-produtos {
	display: none !important;
}

.tj-busca-aviso:empty {
	display: none;
}
/* ---------- Páginas legais ---------- */
.e-paragraph-base.tj-legal ul,
.e-paragraph-base.tj-legal ol {
	display: block;
	margin: 8px 0 0;
	padding-left: 22px;
	list-style: disc;
}

.e-paragraph-base.tj-legal ol {
	list-style: decimal;
}

.e-paragraph-base.tj-legal li {
	display: list-item;
	margin: 6px 0;
}

.e-paragraph-base.tj-legal strong {
	font-weight: 700;
	color: var(--tj-ink, #252321);
}

.e-paragraph-base.tj-legal a {
	color: var(--tj-vermelho, #c51718);
	text-decoration: underline;
	cursor: pointer;
}
/* Dica do Tio João e sugestão de acompanhamento ([tj_dica], [tj_sugestao]) */
.tj-dica {
	display: block;
	font-family: var(--tj-font, Montserrat), sans-serif;
	color: var(--tj-muted, #5c5c5c);
}

.tj-dica strong {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-size: var(--tj-fs-body, 14px);
	font-weight: 700;
	color: var(--tj-vermelho, #c51718);
}

/* 04/12: ícones em SVG (antes Font Awesome). */
.tj-dica strong::before {
	content: "";
	flex: 0 0 1.15em;
	width: 1.15em;
	height: 1.15em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-4 12.74V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.26A7 7 0 0 0 12 2zM9 19.5h6V21a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-4 12.74V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.26A7 7 0 0 0 12 2zM9 19.5h6V21a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tj-sec-sugestao .tj-dica strong::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2h1.5v6.5H8V2h1.5v6.5H11V2h1.5v7.2a3 3 0 0 1-2.5 2.95V22H8v-9.85A3 3 0 0 1 5 9.2zM17.5 2c1.9 0 2.5 3.6 2.5 7.5 0 1.8-.8 3-2 3.3V22h-2V3a1 1 0 0 1 1.5-1z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2h1.5v6.5H8V2h1.5v6.5H11V2h1.5v7.2a3 3 0 0 1-2.5 2.95V22H8v-9.85A3 3 0 0 1 5 9.2zM17.5 2c1.9 0 2.5 3.6 2.5 7.5 0 1.8-.8 3-2 3.3V22h-2V3a1 1 0 0 1 1.5-1z'/%3E%3C/svg%3E");
}

/* 04/12: botões e campos de formulário com a fonte do site (sem isso o navegador usa a do sistema). */
button,
input,
select,
textarea,
.e-form-submit-button-base,
.elementor-button {
	font-family: var(--tj-font, Montserrat), sans-serif;
}

.tj-dica > span {
	display: block;
	font-size: var(--tj-fs-body, 14px);
	line-height: 22px;
}
/* ---------- Botão "Buscar": a palavra dá lugar a um indicador girando durante a busca ---------- */
.tj-busca button.tj-busca__enviar {
	position: relative;
	overflow: hidden;
}

.tj-busca__texto {
	display: inline-block;
	transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), translate 0.3s cubic-bezier(0.16, 1, 0.3, 1), scale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tj-busca__spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: var(--tj-white, #fff);
	border-radius: 50%;
	opacity: 0;
	scale: 0.5;
	translate: 0 6px;
	transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), scale 0.3s cubic-bezier(0.16, 1, 0.3, 1), translate 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	animation: tj-gira 0.7s linear infinite;
}

.tj-busca form.is-enviando .tj-busca__texto {
	opacity: 0;
	translate: 0 -6px;
	scale: 0.9;
}

.tj-busca form.is-enviando .tj-busca__spinner {
	opacity: 1;
	scale: 1;
	translate: 0 0;
}

.tj-busca form.is-enviando button.tj-busca__enviar {
	cursor: progress;
}
/* ---------- Carregamento sem recarregar a página ---------- */
.tj-progresso {
	position: fixed;
	z-index: 100000;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--tj-vermelho, #c51718);
	transform: scaleX(0);
	transform-origin: 0 50%;
	opacity: 0;
	pointer-events: none;
	transition: transform 0.3s ease, opacity 0.4s ease 0.1s;
}

.tj-carregando .tj-progresso {
	opacity: 1;
	transform: scaleX(0.75);
	transition: transform 2.5s cubic-bezier(0.1, 0.6, 0.2, 1), opacity 0.1s;
}

/* Skeleton na lista que está sendo atualizada (busca e filtros): os cards viram blocos
   cinza com um brilho que passa da esquerda para a direita, até os novos itens entrarem. */
.tj-atualizando {
	pointer-events: none;
}

.tj-atualizando :is(img, .e-heading-base, .e-paragraph-base, .e-button-base, .tj-btn, .tj-tag) {
	border-color: transparent !important;
	border-radius: 8px;
	background: linear-gradient(90deg, #ebe5dc 25%, #f7f3ed 37%, #ebe5dc 63%) !important;
	background-size: 400% 100% !important;
	box-shadow: none !important;
	color: transparent !important;
	animation: tj-skeleton 1.4s ease infinite;
}

.tj-atualizando img {
	object-position: -99999px 0; /* Esconde a foto e mostra o bloco cinza no lugar. */
}

/* Linhas de texto com larguras diferentes, como num texto de verdade. */
.tj-atualizando .e-paragraph-base {
	max-width: 75%;
}

.tj-atualizando :is(.e-paragraph-base, .tj-btn):last-child {
	max-width: 40%;
}

/* !important: os links do Elementor usam "all: unset", que traria o texto de volta. */
.tj-atualizando :is(.e-heading-base, .e-paragraph-base, .e-button-base, .tj-btn, .tj-tag) * {
	visibility: hidden !important;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
}

@keyframes tj-skeleton {
	from {
		background-position: 100% 50%;
	}

	to {
		background-position: 0 50%;
	}
}

@keyframes tj-gira {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tj-atualizando :is(img, .e-heading-base, .e-paragraph-base, .e-button-base, .tj-btn, .tj-tag) {
		animation: none;
	}
}
.tj-catalogo [data-e-type="e-pagination-next"].is-carregando::after {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 10px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	vertical-align: -2px;
	animation: tj-gira 0.7s linear infinite;
}

/* "Mais receitas" acrescenta receitas à lista: o botão "anterior" não faz mais sentido. */
.tj-js .tj-catalogo [data-e-type="e-pagination-prev"],
.tj-js .tj-catalogo [data-e-type="e-pagination-next"].e--disabled {
	display: none !important;
}

.tj-catalogo [data-e-type="e-pagination-next"].is-carregando {
	opacity: 0.6;
	pointer-events: none;
}

/* ---------- Carrosséis: setas no lugar da barra de rolagem ---------- */
.tj-carrossel {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.tj-carrossel::-webkit-scrollbar {
	display: none;
}

@media (hover: hover) and (pointer: fine) {
	.tj-carrossel {
		cursor: grab;
	}
}

.tj-carrossel.is-arrastando {
	cursor: grabbing;
	scroll-behavior: auto !important;
	scroll-snap-type: none !important;
	user-select: none;
}

.tj-carrossel.is-arrastando * {
	pointer-events: none;
}

.tj-carrossel-nav {
	display: flex;
	flex: 0 0 100%;
	align-self: stretch;
	justify-content: center;
	gap: 12px;
	width: 100%;
	margin-top: 24px;
}

.tj-carrossel-nav[hidden] {
	display: none;
}

.tj-carrossel-nav button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--tj-border, #d5cec3);
	border-radius: var(--tj-radius-sm, 8px);
	background-color: var(--tj-white, #fff);
	color: var(--tj-primary, #821718);
	font-size: 15px;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s, transform 0.15s;
}

.tj-carrossel-nav button:hover:not(:disabled) {
	border-color: var(--tj-vermelho, #c51718);
	background-color: var(--tj-vermelho, #c51718);
	color: var(--tj-white, #fff);
}

.tj-carrossel-nav button:active:not(:disabled) {
	transform: scale(0.94);
}

.tj-carrossel-nav button:focus-visible {
	outline: 2px solid var(--tj-vermelho, #c51718);
	outline-offset: 2px;
}

.tj-carrossel-nav button:disabled {
	opacity: 0.35;
	cursor: default;
}

/* Ícones "left" / "right" do Figma, na cor do botão (24 px). */
.tj-chevron {
	display: block;
	width: 24px;
	height: 24px;
	background-color: currentColor;
	-webkit-mask: url("figma/icone-direita.svg") center / contain no-repeat;
	mask: url("figma/icone-direita.svg") center / contain no-repeat;
}

.tj-chevron--esquerda {
	-webkit-mask-image: url("figma/icone-esquerda.svg");
	mask-image: url("figma/icone-esquerda.svg");
}

/* ---------- Animações de entrada ----------
 * O seletor é o mesmo de SEL_ANIM no tj-core.js: se mudar aqui, mude lá também.
 * A classe tj-anim-on é posta no <html> por um script no <head> (não entra com "reduzir movimento"). */
html.tj-anim-on [data-elementor-type]:not([data-elementor-type="header"]) :is(.e-heading-base, .e-paragraph-base, .e-image-base, .e-button-base, .tj-btn, .tj-card, .tj-busca, .tj-filtros, .tj-mapa):not(.tj-card *):not(a *):not([data-elementor-type] > :first-child .e-image-base):not(.tj-anim-feito) {
	opacity: 0;
	translate: 0 14px;
}

html.tj-anim-on [data-elementor-type]:not([data-elementor-type="header"]) :is(.e-heading-base, .e-paragraph-base, .e-image-base, .e-button-base, .tj-btn, .tj-card, .tj-busca, .tj-filtros, .tj-mapa):not(.tj-card *):not(a *):not([data-elementor-type] > :first-child .e-image-base).is-in:not(.tj-anim-feito) {
	opacity: 1;
	translate: 0 0;
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), translate 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: var(--tj-delay, 0ms);
}

@media print {
	html.tj-anim-on * {
		opacity: 1 !important;
		translate: none !important;
	}
}

/* ---------- Receitas do dia (home): primeiro card grande, ocupa as duas linhas ---------- */
@media (min-width: 768px) {
	.tj-dia-grid > :first-child {
		grid-row: span 2;
	}

	.elementor .tj-dia-grid > :first-child .e-heading-base {
		font-size: 32px;
	}
}

.tj-dia-card img.e-image-base {
	transition: scale 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tj-dia-card:hover img.e-image-base {
	scale: 1.04;
}

/* ---------- Filtros recolhidos no celular: botão "Filtrar receitas" abaixo da busca (Figma) ---------- */
button.tj-busca__filtros {
	display: none;
	position: relative;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	margin-top: 16px;
	padding: 0 12px;
	border: 1px solid var(--tj-border, #d5cec3);
	border-radius: var(--tj-radius-sm, 8px);
	background-color: var(--tj-white, #fff);
	color: var(--tj-primary, #821718);
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	cursor: pointer;
}

button.tj-busca__filtros:hover,
button.tj-busca__filtros[aria-expanded="true"] {
	border-color: var(--tj-vermelho, #c51718);
	background-color: var(--tj-cream, #f5f1e5);
	color: var(--tj-vermelho, #c51718);
}

.tj-busca__contador {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background-color: var(--tj-vermelho, #c51718);
	color: var(--tj-white, #fff);
	font-size: 11px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}

.tj-busca__contador[hidden] {
	display: none;
}

@media (max-width: 767px) {
	button.tj-busca__filtros {
		display: flex;
	}

	.tj-busca button[type="submit"] {
		padding: 0 18px;
	}

	.tj-js .tj-catalogo .tj-filtros {
		display: none;
		min-height: 0;
	}

	.tj-js .tj-catalogo.tj-filtros-abertos .tj-filtros {
		display: block;
		animation: tj-abre-filtros 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	}
}

@keyframes tj-abre-filtros {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
}

/* ---------- Páginas de termo (ocasião, selo, tipo de prato, ingrediente) ---------- */
/* Trilha: classe global tj-trilha no widget; o último item (atual) vem em <strong>. */
.tj-trilha > span {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: var(--tj-fs-body, 14px);
	color: var(--tj-muted, #6f675f);
}

.elementor .e-paragraph-base.tj-trilha a {
	color: var(--tj-muted, #6f675f);
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s;
}

.elementor .e-paragraph-base.tj-trilha a:hover {
	color: var(--tj-primary, #821718);
}

.tj-trilha strong {
	font-weight: 600;
	color: var(--tj-ink, #252321);
}
/* Atalhos para os outros termos da mesma taxonomia */
.tj-termos {
	display: block;
	width: 100%;
}

.tj-termos ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tj-termos li {
	flex: none;
	scroll-snap-align: start;
}

.elementor .e-paragraph-base.tj-termos a,
.tj-termos a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid var(--tj-border, #d5cec3);
	border-radius: 999px;
	background-color: var(--tj-white, #fff);
	color: var(--tj-primary, #821718);
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: 14px;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.elementor .e-paragraph-base.tj-termos a:hover,
.tj-termos a:hover {
	border-color: var(--tj-vermelho, #c51718);
	background-color: var(--tj-cream, #f5f1e5);
}

.tj-termos strong {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid var(--tj-vermelho, #c51718);
	border-radius: 999px;
	line-height: 1;
	white-space: nowrap;
	font-size: 14px;
	border-color: var(--tj-vermelho, #c51718);
	background-color: var(--tj-vermelho, #c51718);
	color: var(--tj-white, #fff);
	font-weight: 700;
}

@media (max-width: 767px) {
	.tj-termos ul {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		scroll-snap-type: x proximity;
	}

	.tj-termos .tj-carrossel-nav {
		margin-top: 16px;
	}
}

/* Contagem de receitas no topo do termo */
.tj-termo-contagem {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 14px;
	border-radius: 999px;
	background-color: var(--tj-cream, #f5f1e5);
	color: var(--tj-primary, #821718);
	font-size: 13px;
	font-weight: 700;
}

/* Foto do topo (receita mais acessada do termo): o loop ocupa o fundo da seção */
.tj-termo-foto,
.tj-termo-foto [class*="e-collection-loop-layout"],
.tj-termo-foto [class*="e-collection-loop-layout"] > * {
	height: 100%;
}

.tj-termo-foto [class*="e-collection-loop-layout"] {
	display: block;
}

.tj-termo-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Carrossel com o botão da seção entre as setas (classe tj-setas-laterais na seção, como no Figma) */
.tj-carrossel-nav--cta {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 48px;
	align-items: center;
	gap: 16px;
}

/* O botão do meio pode encolher no celular (o estilo local dele tem min-width: 260px). */
.tj-carrossel-nav--cta > .e-button-base {
	justify-self: center;
	min-width: 0 !important;
	max-width: 100%;
}

.tj-carrossel-nav--cta.sem-setas button {
	visibility: hidden;
}

/* ---------- Zoom na foto do produto ---------- */
@media (hover: hover) and (pointer: fine) {
	img[data-tj-zoom] {
		cursor: zoom-in;
	}
}

.tj-zoom {
	position: absolute;
	z-index: 3;
	/* Sem moldura: a lente usa a cor de fundo da seção (posta pelo JS em --tj-zoom-fundo). */
	border-radius: 0;
	background-color: var(--tj-zoom-fundo, transparent);
	background-repeat: no-repeat;
	background-size: 250%;
	box-shadow: none;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.tj-zoom.is-ativo {
	opacity: 1;
}

/*
 * Tabela nutricional em HTML (06/11), no modelo da ANVISA (RDC 429/2020) das embalagens: preto no
 * branco, Arial, borda, faixa preta abaixo das porções, divisórias entre colunas e subitens recuados.
 */
.tj-acordeao .tj-nutri {
	box-sizing: border-box;
	width: 100%;
	max-width: 900px;
	margin-top: 12px;
	padding: 8px 12px 6px;
	border: 1px solid #000;
	background-color: #fff;
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.3;
	container-type: inline-size;
}

.tj-nutri p {
	margin: 0;
	color: #000;
}

.tj-nutri .tj-nutri__titulo {
	padding-bottom: 4px;
	border-bottom: 1px solid #000;
	font-size: 1.4em;
	font-weight: 700;
	text-align: center;
}

.tj-nutri .tj-nutri__porcao {
	padding: 4px 0 6px;
	border-bottom: 9px solid #000;
}

.tj-nutri__grupos {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.tj-nutri__tabela {
	flex: 1 1 0;
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border: 0;
}

.tj-nutri__tabela th,
.tj-nutri__tabela td {
	padding: 4px 6px;
	border: 0;
	border-bottom: 1px solid #000;
	background: none;
	color: #000;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
}

.tj-nutri__tabela thead th {
	padding-top: 8px;
	font-weight: 700;
}

.tj-nutri__tabela td,
.tj-nutri__tabela thead th:not(:first-child) {
	width: 4.6em; /* Mesma largura nas duas metades: as colunas ficam alinhadas quando empilham. */
	min-width: 4.6em;
	border-left: 1px solid #000;
}

.tj-nutri__tabela tbody tr:last-child th,
.tj-nutri__tabela tbody tr:last-child td {
	border-bottom: 0;
}

.tj-nutri__tabela .tj-nutri__nome {
	width: 100%;
	text-align: left;
	white-space: normal;
}

.tj-nutri__tabela .tj-nutri__nivel-1 {
	padding-left: 1.1em;
}

.tj-nutri__tabela .tj-nutri__nivel-2 {
	padding-left: 2.2em;
}

.tj-nutri .tj-nutri__notas {
	margin-top: 4px;
	padding-top: 4px;
	border-top: 1px solid #000;
	font-size: 0.8em;
}

/*
 * Com pouco espaço (coluna do acordeão no computador, celular), o modelo vertical: as duas colunas de
 * nutrientes uma embaixo da outra. Vale pela largura da própria tabela, não da tela.
 */
@container (max-width: 640px) {
	.tj-nutri__grupos {
		flex-direction: column;
		gap: 0;
	}

	.tj-nutri__grupos .tj-nutri__tabela + .tj-nutri__tabela thead {
		display: none; /* O cabeçalho das colunas aparece uma vez só. */
	}

	.tj-nutri__grupos .tj-nutri__tabela:first-child tbody tr:last-child th,
	.tj-nutri__grupos .tj-nutri__tabela:first-child tbody tr:last-child td {
		border-bottom: 1px solid #000;
	}
}

@media (max-width: 767px) {
	.tj-acordeao .tj-nutri {
		font-size: 14px;
	}
}

/* Tabela nutricional em imagem (produtos sem os dados em HTML) */
.tj-acordeao img.tj-tabela {
	display: block;
	width: 100%;
	max-width: 560px;
	height: auto;
	margin-top: 12px;
	border-radius: var(--tj-radius-sm, 8px);
	background-color: var(--tj-white, #fff);
}

/* Banner da linha (imagem colocada pelo JS a partir do campo da linha) */
.tj-linha-banner {
	width: 100%;
	max-width: 1410px;
	overflow: hidden;
	aspect-ratio: 1920 / 774;
	/* Banners de 29/10: topo transparente, desenhados sobre este cinza. */
	background-color: #e3e3e3;
}

.tj-linha-banner.is-vazio {
	display: none;
}

.tj-linha-banner img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
 * Banner da linha de 18/11: embalagens sobre o arco vermelho que se dissolve no branco. O topo da
 * imagem é transparente e fica sobre o branco da página (nada de cinza ou creme atrás).
 */
.tj-linha-banner.tj-banner-arco {
	/* !important: a classe tj-linha-banner do Elementor também define tamanho e fundo. */
	aspect-ratio: 2278 / 919 !important;
	height: auto !important;
	max-width: 1180px !important; /* A coluna do conteúdo (trilha e texto da linha), não a tela toda. */
	margin-inline: auto !important;
	background: transparent !important;
}

/* A imagem como veio, sem máscara nem degradê nas pontas. */
.tj-linha-banner.tj-banner-arco img {
	object-fit: contain;
}

/*
 * Vitrine da linha (05/11): as embalagens reais lado a lado, sobre o fundo da página, sem o banner
 * ilustrado de fundo cinza e vermelho. --n = produtos da linha; --nm = por fileira no celular.
 */
.tj-linha-banner.tj-vitrine {
	display: flex !important; /* O estilo local do Elementor na caixa é "display: block". */
	flex-wrap: nowrap;
	align-items: flex-end;
	justify-content: center;
	height: auto !important;
	aspect-ratio: auto !important;
	overflow: visible;
	overflow-x: clip; /* As sobras transparentes das fotos nas pontas não geram rolagem lateral. */
	box-sizing: border-box;
	width: calc(100% - 32px) !important;
	max-width: 1180px !important; /* A mesma coluna da trilha e do texto da linha. */
	margin-inline: auto !important;
	padding: 48px 32px 28px !important;
	border-radius: var(--tj-radius-lg, 24px) !important;
	/* Painel creme com um clarão no centro, atrás das embalagens (sem o cinza e vermelho do banner antigo). */
	background: radial-gradient(ellipse 60% 70% at 50% 62%, #fffdf8 0%, var(--tj-cream, #f5f1e5) 55%, var(--tj-soft, #eae3d7) 100%) !important;
}

.tj-vitrine__item {
	display: block;
	flex: 0 0 auto;
	width: min(300px, calc(116% / var(--n, 3)));
	margin-inline: max(-26px, calc(-8.5% / var(--n, 3))); /* Soma 99%: sem quebra de fileira por arredondamento. */
	transition: transform 0.2s ease;
}

.tj-vitrine__item:hover,
.tj-vitrine__item:focus-visible {
	transform: translateY(-6px);
}

.tj-linha-banner .tj-vitrine__item img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
}

@media (max-width: 767px) {
	.tj-linha-banner.tj-vitrine {
		flex-wrap: wrap;
		padding: 28px 12px 16px !important;
		border-radius: var(--tj-radius-md, 16px) !important;
	}

	.tj-vitrine__item {
		width: calc(116% / var(--nm, 3));
		margin-inline: calc(-8.5% / var(--nm, 3));
	}
}

@media (prefers-reduced-motion: reduce) {
	.tj-vitrine__item {
		transition: none;
	}
}

/* ---------------------------------------------------------------------------
 * Revisão de 27/10
 * ------------------------------------------------------------------------- */

/* Janela (busca do cabeçalho, tabela ampliada, preferências de cookies) */
.tj-sem-rolagem {
	overflow: hidden;
}

.tj-janela {
	position: fixed;
	z-index: 100001;
	inset: 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 12vh 16px 16px;
	background-color: rgba(37, 35, 33, 0.55);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.tj-janela.is-aberto {
	opacity: 1;
}

.tj-janela__caixa {
	position: relative;
	width: 100%;
	max-width: 720px;
	max-height: 80vh;
	overflow-y: auto;
	padding: 40px 32px 32px;
	border-radius: var(--tj-radius-lg, 16px);
	background-color: var(--tj-white, #fff);
	box-shadow: 0 24px 64px rgba(37, 35, 33, 0.25);
	font-family: var(--tj-font, Montserrat), sans-serif;
	text-align: center;
	translate: 0 12px;
	transition: translate 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tj-janela.is-aberto .tj-janela__caixa {
	translate: 0 0;
}

/* X de fechar: botão redondo sem borda (o tema punha borda rosa em todo <button>), ícone desenhado em CSS. */
.tj-janela .tj-janela__fechar {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 50%;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--tj-primary, #821718) !important;
	font-size: 0;
	cursor: pointer;
	transition: background-color 0.18s ease;
}

.tj-janela .tj-janela__fechar i {
	display: none;
}

.tj-janela .tj-janela__fechar::before,
.tj-janela .tj-janela__fechar::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background-color: currentColor;
	rotate: 45deg;
}

.tj-janela .tj-janela__fechar::after {
	rotate: -45deg;
}

.tj-janela .tj-janela__fechar:hover,
.tj-janela .tj-janela__fechar:focus-visible {
	background-color: var(--tj-cream, #f5f1e5) !important;
}

/* O título não passa por baixo do X. */
.tj-janela__titulo {
	padding-inline: 36px;
}

/* X de limpar do campo de busca: o do navegador (azul) vira um X fino na cor da marca. */
.tj-busca input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
	width: 14px;
	height: 14px;
	margin-left: 8px;
	cursor: pointer;
	background: center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 2l10 10M12 2L2 12' stroke='%235C5C5C' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E");
}

.tj-janela__titulo {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--tj-primary, #821718);
}

.tj-janela__texto {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--tj-muted, #6f675f);
}

.tj-janela--tabela .tj-janela__caixa {
	max-width: 1000px;
	padding: 48px 16px 16px;
}

.tj-janela__imagem {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 767px) {
	.tj-janela {
		padding-top: 8vh;
	}

	.tj-janela__caixa {
		padding: 48px 20px 24px;
	}

	.tj-janela__titulo {
		font-size: 22px;
	}
}

/* Busca no menu mobile */
.tj-busca--menu {
	margin-bottom: 12px;
}

/* Tabela nutricional: maior e ampliável (D5) */
.tj-acordeao img.tj-tabela {
	max-width: 100%;
	cursor: zoom-in;
}

.tj-tabela__dica {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--tj-muted, #6f675f);
}

/* Redes sociais: área de toque de 44 px (D7) */
.elementor [data-elementor-type="header"] a.e-svg-base.tj-rede,
.elementor [data-elementor-type="footer"] a.e-svg-base.tj-rede {
	box-sizing: content-box;
	padding: 11px;
	margin: 0 !important;
}

/* Botão de compra quando o item está esgotado na loja (U9) */
a.tj-esgotado {
	opacity: 0.85;
}

/* Cards: a imagem com link ocupa a largura toda do card (D1: cards com a mesma largura) */
.tj-card > .e-image-link-base,
.tj-card > a:has(> img.e-image-base) {
	display: block;
	width: 100%;
}

/* Mensagem sem resultado do catálogo: sugestões clicáveis (U2) */
.elementor .e-paragraph-base.tj-small a {
	color: var(--tj-vermelho, #c51718);
	text-decoration: underline;
	cursor: pointer;
}

/* Aviso de cookies (U8) */
.tj-cookies {
	position: fixed;
	z-index: 100000;
	right: 16px;
	bottom: 16px;
	left: 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 24px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 24px;
	border: 1px solid var(--tj-border, #d5cec3);
	border-radius: var(--tj-radius-md, 12px);
	background-color: var(--tj-white, #fff);
	box-shadow: 0 16px 40px rgba(37, 35, 33, 0.18);
	font-family: var(--tj-font, Montserrat), sans-serif;
	opacity: 0;
	translate: 0 16px;
	transition: opacity 0.25s ease, translate 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tj-cookies.is-aberto {
	opacity: 1;
	translate: 0 0;
}

.tj-cookies__texto {
	flex: 1 1 420px;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--tj-ink, #252321);
}

.tj-cookies__texto a {
	color: var(--tj-vermelho, #c51718);
	text-decoration: underline;
}

.tj-cookies__acoes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.tj-cookies button {
	min-height: 44px;
	padding: 0 20px;
	border-radius: var(--tj-radius-sm, 8px);
	font-family: var(--tj-font, Montserrat), sans-serif;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.tj-cookies__primario {
	border: 1px solid var(--tj-vermelho, #c51718);
	background-color: var(--tj-vermelho, #c51718);
	color: var(--tj-white, #fff);
}

.tj-cookies__primario:hover {
	background-color: var(--tj-vermelho-hover, #a31213);
}

.tj-cookies__secundario {
	border: 1px solid var(--tj-border, #d5cec3);
	background-color: var(--tj-white, #fff);
	color: var(--tj-primary, #821718);
}

.tj-cookies__secundario:hover {
	border-color: var(--tj-vermelho, #c51718);
}

.tj-cookies__link {
	border: 0;
	background: transparent;
	color: var(--tj-primary, #821718);
	text-decoration: underline;
}

.tj-cookies__opcao {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 0;
	border-top: 1px solid var(--tj-border, #d5cec3);
	text-align: left;
	cursor: pointer;
}

.tj-cookies__opcao input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--tj-vermelho, #c51718);
}

.tj-cookies__opcao strong {
	display: block;
	font-size: 15px;
	color: var(--tj-ink, #252321);
}

.tj-cookies__opcao small {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--tj-muted, #6f675f);
}

.tj-janela--cookies .tj-cookies__acoes {
	margin-top: 16px;
}

@media (max-width: 767px) {
	.tj-cookies {
		right: 8px;
		bottom: 8px;
		left: 8px;
		padding: 16px;
		text-align: center;
	}

	.tj-cookies__acoes,
	.tj-cookies__acoes button {
		width: 100%;
	}
}

/* D9: no celular, cards de produto/linha e de receita com conteúdo centralizado no mesmo eixo */
@media (max-width: 767px) {
	.tj-card {
		align-items: center;
		text-align: center;
	}

	.tj-card .e-heading-base,
	.tj-card .e-paragraph-base {
		text-align: center;
	}

	.tj-card .tj-meta-receita,
	.tj-meta-receita {
		justify-content: center;
	}
}

/* ---------------------------------------------------------------------------
 * Receita: "Produtos desta receita" (Figma, 24/11)
 * A foto da receita ao fundo (posta pelo JS em --tj-fundo-produto) e o card branco por cima.
 * Desktop: embalagem à esquerda; rótulo, nome, botões e link à direita, centralizados.
 * Celular: a foto só no topo e o card com os cantos de cima arredondados.
 * ------------------------------------------------------------------------- */
.tj-sec-produto.tj-com-fundo {
	position: relative;
	isolation: isolate;
	background-color: transparent !important;
}

.tj-sec-produto.tj-com-fundo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--tj-fundo-produto) center / cover no-repeat;
}

.tj-sec-produto .tj-panel-lg > .e-con > .tj-eyebrow {
	margin: 0;
	text-align: center;
}

.tj-sec-produto .tj-panel-lg > .e-con p a {
	text-decoration: none;
}

@media (min-width: 768px) {
	.tj-sec-produto.tj-com-fundo {
		padding-block: 110px !important;
	}

	/* Um card por linha, até 920 px (a grade do loop limitava a 560 px). */
	.tj-sec-produto [class*="e-collection-loop-layout"] {
		grid-template-columns: minmax(0, 920px) !important;
		justify-content: center !important;
	}

	.tj-sec-produto [class*="e-collection-loop-layout"] > * {
		max-width: 920px !important;
		width: 100% !important;
	}

	.tj-sec-produto .tj-panel-lg {
		flex-direction: row !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 64px !important;
		width: 100%;
		max-width: 920px;
		margin-inline: auto;
		padding: 48px 64px !important;
		border-radius: 24px !important;
		background-color: var(--tj-white, #fff) !important;
	}

	.tj-sec-produto .tj-panel-lg > .tj-packshot,
	.tj-sec-produto .tj-panel-lg > a:has(.tj-packshot) {
		flex: 0 0 200px !important;
		width: 200px !important;
		max-width: 200px !important;
	}

	.tj-sec-produto .tj-panel-lg > .e-con {
		flex: 1 1 auto;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 16px !important;
		text-align: center !important;
	}

	.tj-sec-produto .tj-panel-lg > .e-con > * {
		margin: 0 !important;
		text-align: center !important;
	}

	.tj-sec-produto .tj-panel-lg h3 {
		font-size: 32px !important;
		line-height: 40px !important;
		color: var(--tj-primary, #821718) !important;
	}

	.tj-sec-produto .tj-panel-lg > .e-con > .e-con {
		flex-direction: row !important;
		flex-wrap: wrap;
		justify-content: center !important;
		gap: 12px !important;
	}

	.tj-sec-produto .tj-panel-lg a.e-button-base {
		min-width: 216px;
		justify-content: center;
	}

	.tj-sec-produto .tj-panel-lg > .e-con p {
		font-size: 14px !important;
		font-weight: 400 !important;
	}
}

@media (max-width: 767px) {
	.tj-sec-produto.tj-com-fundo {
		padding: 160px 24px 0 !important;
		background-color: var(--tj-white, #fff) !important;
	}

	.tj-sec-produto.tj-com-fundo::before {
		bottom: auto;
		height: 240px;
	}

	.tj-sec-produto .tj-panel-lg {
		gap: 20px !important;
		padding: 24px !important;
		border-radius: 24px 24px 0 0 !important;
		box-shadow: none !important;
		background-color: var(--tj-white, #fff) !important;
	}

	.tj-sec-produto .tj-panel-lg h3 {
		font-size: 26px !important;
		line-height: 34px !important;
	}
}

/* ---------------------------------------------------------------------------
 * Acordeões e dúvidas em todas as telas (Figma, 24/11): caixa creme sem borda, sinais + e −.
 * ------------------------------------------------------------------------- */
.tj-acordeao li,
.tj-faq li {
	border: 0 !important;
	border-radius: 0 !important;
	background-color: var(--tj-cream, #f5f1e5) !important;
}

.tj-faq strong,
.tj-acordeao strong {
	font-size: 16px;
	line-height: 24px;
}

.tj-faq strong::after,
.tj-acordeao strong::after {
	content: "+";
	right: 0;
	width: auto;
	height: auto;
	border: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-50%);
}

.tj-faq li.is-open strong::after,
.tj-acordeao li.is-open strong::after {
	content: "−";
	transform: translateY(-50%);
}

.tj-faq li > span,
.tj-acordeao li > span {
	font-size: 15px;
	line-height: 25px;
}

/* ---------------------------------------------------------------------------
 * Fale Conosco (Figma, handoff "FALE CONOSCO", só o formulário): sem moldura, rótulos leves,
 * campos de 48 px com borda clara, campos em pares, caixa "Aceito" de 32 px, botão
 * "Política de Privacidade" e "Enviar" na largura toda.
 * ------------------------------------------------------------------------- */
.elementor-element-64373f30:has(form[data-id="2a507aeb"]) {
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

form[data-id="2a507aeb"] {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px !important;
}

form[data-id="2a507aeb"] > * {
	grid-column: 1 / -1;
	margin: 0 !important;
}

/* Endereço e telefones entram na grade do formulário: os campos ficam em pares (CEP | Rua, ..., Estado | E-mail, Telefone | Celular). */
form[data-id="2a507aeb"] > [data-id="55f55406"],
form[data-id="2a507aeb"] > [data-id="373146bc"] {
	display: contents !important;
}

form[data-id="2a507aeb"] > [data-id="55f55406"] > *,
form[data-id="2a507aeb"] > [data-id="373146bc"] > *,
form[data-id="2a507aeb"] > [data-id="12bff81e"] {
	grid-column: auto;
	display: flex !important;
	flex-direction: column;
	gap: 8px;
	margin: 0 !important;
}

form[data-id="2a507aeb"] > [data-id="373146bc"] {
	order: 1;
}

form[data-id="2a507aeb"] > [data-id="ec8aacc"],
form[data-id="2a507aeb"] > [data-id="e0b3295"],
form[data-id="2a507aeb"] > .tj-form-politica,
form[data-id="2a507aeb"] > [data-id="5124fdde"],
form[data-id="2a507aeb"] > [data-id="2cc0b325"],
form[data-id="2a507aeb"] > [data-id="3fae6370"] {
	order: 2;
}

form[data-id="2a507aeb"] label,
form[data-id="2a507aeb"] .e-form-label-base {
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 18px !important;
	color: var(--tj-ink, #252321) !important;
}

form[data-id="2a507aeb"] :is(input[type="text"], input[type="email"], input[type="tel"], input:not([type]), select) {
	height: 48px !important;
	padding: 0 14px !important;
	border: 1px solid var(--tj-soft, #eae3d7) !important;
	border-radius: 8px !important;
	background-color: var(--tj-white, #fff) !important;
	font-size: 12px !important;
	color: var(--tj-ink, #252321) !important;
	box-shadow: none !important;
}

form[data-id="2a507aeb"] textarea {
	min-height: 140px !important;
	padding: 14px !important;
	border: 1px solid var(--tj-soft, #eae3d7) !important;
	border-radius: 8px !important;
	font-size: 12px !important;
	box-shadow: none !important;
}

form[data-id="2a507aeb"] ::placeholder {
	color: var(--tj-muted, #5c5c5c);
	opacity: 0.8;
}

/* "Você é" não aparece no Figma: só as duas opções, lado a lado. */
form[data-id="2a507aeb"] [data-id="649ce4e3"] {
	display: none !important;
}

form[data-id="2a507aeb"] > [data-id="8b4ec94"] [data-id="578a06e6"] {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	font-size: 14px;
}

form[data-id="2a507aeb"] input[type="radio"] {
	accent-color: var(--tj-primary, #821718);
	width: 18px;
	height: 18px;
}

/* Caixa "Aceito" de 32 px com borda vinho; o texto de ciência vem embaixo. */
form[data-id="2a507aeb"] > [data-id="e0b3295"] {
	display: grid !important;
	grid-template-columns: 32px 1fr;
	align-items: center;
	gap: 16px 12px !important;
}

form[data-id="2a507aeb"] > [data-id="e0b3295"]::after {
	content: "Aceito";
	grid-row: 1;
	grid-column: 2;
	font-size: 12px;
	color: var(--tj-ink, #252321);
}

form[data-id="2a507aeb"] > [data-id="e0b3295"] input[type="checkbox"] {
	grid-row: 1;
	width: 32px !important;
	height: 32px !important;
	margin: 0 !important;
	border: 1px solid var(--tj-primary, #821718) !important;
	border-radius: 8px !important;
	accent-color: var(--tj-primary, #821718);
	appearance: auto;
}

form[data-id="2a507aeb"] > [data-id="e0b3295"] p {
	grid-row: 2;
	grid-column: 1 / -1;
	font-size: 12px !important;
	line-height: 18px !important;
	color: var(--tj-ink, #252321) !important;
}

form[data-id="2a507aeb"] > [data-id="e0b3295"] p a {
	color: inherit !important;
	text-decoration: none !important;
}

form[data-id="2a507aeb"] .tj-form-politica,
form[data-id="2a507aeb"] > [data-id="5124fdde"] {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: 40px !important;
	min-height: 40px !important;
	padding: 0 12px !important;
	border-radius: 8px !important;
	font-size: 12px !important;
}

form[data-id="2a507aeb"] .tj-form-politica {
	border: 1px solid var(--tj-primary, #821718);
	background: var(--tj-white, #fff);
	color: var(--tj-primary, #821718);
	font-weight: 400;
	text-decoration: none;
}

form[data-id="2a507aeb"] > [data-id="5124fdde"] {
	font-weight: 700 !important;
}

@media (max-width: 767px) {
	form[data-id="2a507aeb"] {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px !important;
	}
}

/* ---------------------------------------------------------------------------
 * Produto, desktop (Figma "UI / DESKTOP PRODUTO SIMPLES"): botões do topo estreitos e centralizados,
 * link do Armazém em negrito, títulos centralizados, cards de "Você também pode gostar" em branco.
 * ------------------------------------------------------------------------- */
@media (min-width: 768px) {
	.elementor-element-313e98 {
		align-items: center !important;
	}

	[data-id="7a5a5e4d"] .tj-embalagens,
	.elementor-element-313e98 .tj-embalagens {
		justify-content: center !important;
	}

	.elementor-element-313e98 .tj-embalagens > * {
		flex: 0 0 165px !important;
		width: 165px !important;
	}

	[data-id="2a130a42"] {
		width: 168px !important;
		min-width: 0 !important;
		align-self: center !important;
	}

	[data-id="7eaeb3d1"],
	[data-id="16189928"],
	[data-id="27cbdbee"] {
		text-align: center !important;
	}

	.elementor-element-4f17e46e > img,
	.elementor-element-4f17e46e > a > img,
	.elementor-element-4f17e46e .tj-packshot {
		background-color: var(--tj-white, #fff) !important;
		border: 1px solid var(--tj-cream, #f5f1e5) !important;
	}
}

[data-id="7ddd1f70"],
[data-id="7ddd1f70"] a {
	font-weight: 700 !important;
	color: var(--tj-primary, #821718) !important;
	text-decoration: none !important;
}

/* Acordeões do produto: sem a coluna "Como usar" (removida), a coluna fica centralizada. */
.elementor-element-714404b5 {
	justify-content: center !important;
}

/* ---------------------------------------------------------------------------
 * Revisão do designer (25/11, home desktop)
 * ------------------------------------------------------------------------- */

/* DS-002: ícones das redes com área de toque de 48 px e hover em amarelo (o filete da faixa). */
[data-elementor-type="header"] a.tj-rede,
[data-elementor-type="footer"] a.tj-rede {
	box-sizing: content-box;
	margin: 0 !important;
	padding: 13px !important;
	border-radius: 8px;
	transition: color 0.18s ease, fill 0.18s ease, background-color 0.18s ease;
}

[data-elementor-type="header"] a.tj-rede:hover,
[data-elementor-type="footer"] a.tj-rede:hover {
	color: #ffb702 !important;
	fill: #ffb702 !important;
	background-color: rgba(255, 255, 255, 0.08);
}

/* DS-003: momentos da home com hover (título vinho e a foto aproxima de leve). */
.elementor-element-291ec7b3 > .e-con {
	cursor: pointer;
}

.elementor-element-291ec7b3 > .e-con img {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.elementor-element-291ec7b3 > .e-con:hover img {
	transform: scale(1.02);
	box-shadow: 0 8px 20px rgba(130, 23, 24, 0.12);
}

.elementor-element-291ec7b3 > .e-con:hover :is(h3, h4) {
	color: var(--tj-primary, #821718) !important;
}

/* DS-004: foco por teclado visível sobre o vinho (faixa das redes e rodapé): contorno branco. */
:is(.elementor-element-7e10511d, [data-elementor-type="footer"]) :is(a, button):focus-visible {
	outline: 2px solid #fff !important;
	outline-offset: 2px;
}

/* DS-005: transição de 180 ms em cor, fundo e borda de botões e links. */
.e-button-base,
.tj-btn,
.tj-link-cta,
.tj-link-cta a,
[data-elementor-type] a {
	transition-property: color, background-color, border-color, fill, opacity;
	transition-duration: 0.18s;
	transition-timing-function: ease;
}

/* ---------------------------------------------------------------------------
 * Revisão do PDF (25/11)
 * ------------------------------------------------------------------------- */

/* Hub, receita em destaque (desktop): sem os rótulos "Explore também" e "A mais acessada"; os botões
 * começam alinhados ao topo da foto (Figma). */
@media (min-width: 768px) {
	.elementor-element-4c8d86e4 > [data-id="2d92eb0c"],
	.elementor-element-76804ba5 > :is(h5, h6):first-of-type {
		display: none !important;
	}

	.elementor-element-4c8d86e4 {
		align-self: flex-start !important;
		padding-top: 0 !important;
		margin-top: 0 !important;
	}
}

/* Home, "Uma receita boa puxa a outra" no celular: a primeira receita maior (470 px) e as outras com 330 px. */
@media (max-width: 767px) {
	.elementor-element-4415e9d2 {
		grid-template-rows: none !important;
		grid-auto-rows: auto !important;
	}

	.elementor-element-4415e9d2 > .elementor-element-6b4d1acf {
		height: 330px !important;
		min-height: 0 !important;
	}

	.elementor-element-4415e9d2 > .elementor-element-6b4d1acf:first-child {
		height: 470px !important;
	}

	.elementor-element-4415e9d2 > .elementor-element-6b4d1acf img.e-image-base {
		height: 100% !important;
		aspect-ratio: auto !important;
		object-fit: cover !important;
	}

	.elementor-element-4415e9d2 > .elementor-element-6b4d1acf:first-child .tj-panel h3 {
		font-size: 23px !important;
		line-height: 29px !important;
	}

	.elementor-element-4415e9d2 > .elementor-element-6b4d1acf:not(:first-child) .tj-panel h3 {
		font-size: 20px !important;
		line-height: 26px !important;
	}
}

/* Ingredientes: caixa de canto reto e itens mais espaçados (Figma). */
.tj-ingredientes li + li {
	margin-top: 12px;
}

/* ---------------------------------------------------------------------------
 * Ajustes de design (designer, 26/11)
 * ------------------------------------------------------------------------- */

/* P-01 (invertido a pedido): faixa das redes, cabeçalho e card do banner da home alinhados à coluna
 * de 1180 px do conteúdo. O fundo continua na largura toda. */
@media (min-width: 1025px) {
	.elementor-element-7e10511d,
	.elementor-element-cbb6dfb,
	.elementor-element-44cacdac {
		padding-inline-start: max(var(--tj-gutter, 24px), calc((100% - 1180px) / 2)) !important;
		padding-inline-end: max(var(--tj-gutter, 24px), calc((100% - 1180px) / 2)) !important;
	}
}

/* P-03: hover dos botões no tom do Figma (vermelho → vinho; contornado → fundo creme e vinho). */
[data-elementor-type] .tj-btn-primary {
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

[data-elementor-type] .tj-btn-primary:hover,
[data-elementor-type] .tj-btn-primary:focus-visible {
	background-color: #821718 !important;
	color: #fff !important;
}

[data-elementor-type] .tj-btn-outline:hover,
[data-elementor-type] .tj-btn-outline:focus-visible {
	background-color: var(--tj-cream, #f5f1e5) !important;
	border-color: #821718 !important;
	color: #821718 !important;
}

/* P-04, H-02: padrão de botão (48 px, cantos de 8 px, 14 px em negrito, mínimo de 224 px). O cabeçalho
 * mantém os botões compactos. */
[data-elementor-type]:not([data-elementor-type="header"]) a.tj-btn:not(.tj-menu-item),
form[data-id="2a507aeb"] > [data-id="5124fdde"],
form[data-id="2a507aeb"] .tj-form-politica {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px !important;
	height: auto !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	line-height: 20px;
}

@media (min-width: 768px) {
	[data-elementor-type]:not([data-elementor-type="header"]) a.tj-btn:not(.tj-menu-item) {
		min-width: 224px !important;
	}
}

[data-elementor-type]:not([data-elementor-type="header"]) a.tj-btn-primary,
form[data-id="2a507aeb"] > [data-id="5124fdde"] {
	font-weight: 700 !important;
}

form[data-id="2a507aeb"] > [data-id="5124fdde"],
form[data-id="2a507aeb"] .tj-form-politica {
	height: 48px !important;
}

/* H-03: "Conheça nossos produtos" da vitrine da home com 342 px. */
@media (min-width: 768px) {
	.elementor-element-35e7abc5 .tj-carrossel-nav--cta > .e-button-base {
		width: 342px !important;
		max-width: 100%;
	}
}

/* H-04: nome dos produtos na vitrine da home em 18 px. */
.elementor-element-50e5cb7e h4 {
	font-size: 18px !important;
	line-height: 24px !important;
	color: var(--tj-ink, #252321) !important;
}

/* H-05: "Conhecer o Tio João" na cor do texto, para não competir com o botão. */
[data-id="62002493"],
[data-id="62002493"] a {
	color: var(--tj-ink, #252321) !important;
	font-weight: 700 !important;
}

/* H-06: frase da descoberta numa linha só no desktop. */
@media (min-width: 1025px) {
	[data-id="3efda2e8"] {
		max-width: none !important;
	}
}

/* HB-01: seta dos filtros no estilo do Figma (chevron vinho). */
.tj-filtros select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 40px !important;
	background: var(--tj-white, #fff) right 14px center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23821718' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

/* HB-04: "Nossas receitas" à esquerda, como no Figma. */
[data-id="5dfaafbb"] {
	text-align: left !important;
	align-self: stretch;
}

/* NP-01: em Nossos Produtos, o "Ver produtos" fica no pé de todos os cards. */
.elementor-element-6e1338e5 {
	display: flex !important;
	flex-direction: column !important;
}

.elementor-element-6e1338e5 > :last-child {
	margin-top: auto !important;
}

/* AN-04: cards de receita com hover (foto aproxima dentro da moldura e o título fica vermelho). */
.tj-card:has(.tj-meta-receita) > a:has(> img),
.elementor-element-472c5112 > a:has(> img),
.elementor-element-5575c551 > a:has(> img),
.elementor-element-6a07a2ee > a:has(> img),
.elementor-element-76804ba5 > a:has(> img) {
	display: block !important;
	overflow: hidden;
	border-radius: 12px;
}

:is(.tj-card:has(.tj-meta-receita), .elementor-element-472c5112, .elementor-element-5575c551, .elementor-element-6a07a2ee, .elementor-element-76804ba5) img {
	transition: transform 0.3s ease;
}

:is(.tj-card:has(.tj-meta-receita), .elementor-element-472c5112, .elementor-element-5575c551, .elementor-element-6a07a2ee, .elementor-element-76804ba5):hover img {
	transform: scale(1.05);
}

:is(.tj-card:has(.tj-meta-receita), .elementor-element-472c5112, .elementor-element-5575c551, .elementor-element-6a07a2ee, .elementor-element-76804ba5) :is(h2, h3, h4),
:is(.tj-card:has(.tj-meta-receita), .elementor-element-472c5112, .elementor-element-5575c551, .elementor-element-6a07a2ee, .elementor-element-76804ba5) :is(h2, h3, h4) a {
	transition: color 0.3s ease;
}

:is(.tj-card:has(.tj-meta-receita), .elementor-element-472c5112, .elementor-element-5575c551, .elementor-element-6a07a2ee, .elementor-element-76804ba5):hover :is(h2, h3, h4),
:is(.tj-card:has(.tj-meta-receita), .elementor-element-472c5112, .elementor-element-5575c551, .elementor-element-6a07a2ee, .elementor-element-76804ba5):hover :is(h2, h3, h4) a {
	color: var(--tj-vermelho, #c51718) !important;
}

@media (prefers-reduced-motion: reduce) {
	:is(.tj-card, .elementor-element-472c5112, .elementor-element-5575c551, .elementor-element-6a07a2ee, .elementor-element-76804ba5) img {
		transition: none;
		transform: none !important;
	}
}

/* AN-07: sublinhado no hover dos links do rodapé e das chamadas "Saiba mais / Ver receita". */
[data-elementor-type="footer"] a:not(.tj-rede):not(.e-image-link-base):hover,
.tj-link-cta a:hover,
a.tj-link-cta:hover {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

/*
 * Banner da home no desktop (30/11): funciona como um slide. A arte do Figma (1440 × 730) é redimensionada
 * inteira conforme a largura da tela, como o "redimensionar" do Paint: foto, card, textos, botão e espaços
 * crescem e diminuem juntos, sempre na mesma proporção. --u = 1 px do Figma na tela atual (foto); --uc = card.
 */
@media (min-width: 1025px) {
	.elementor-element-608db084 {
		--u: calc(100vw / 1440);
		/* Escala do card: a mesma da foto, mas nunca maior do que cabe (1) na altura visível abaixo do cabeçalho
		 * (150 px; +32 px da barra do WordPress logado), com o botão à vista, e (2) entre o logo e o meio da tela,
		 * sem encostar no pacote de arroz da foto. */
		--uc: min(calc(100vw / 1440), calc((100vh - 150px) / 640), calc((50vw - max(24px, (100vw - 1180px) / 2)) / 640));
		aspect-ratio: auto !important;
		height: calc(730 * var(--u)) !important;
		min-height: calc(730 * var(--u)) !important;
		padding: 0 !important;
		align-items: flex-start !important;
	}

	.admin-bar .elementor-element-608db084 {
		--uc: min(calc(100vw / 1440), calc((100vh - 182px) / 640), calc((50vw - max(24px, (100vw - 1180px) / 2)) / 640));
	}

	.elementor-element-608db084 [data-id="5fe1096a"] {
		object-fit: cover !important;
		object-position: 50% 50% !important;
	}

	.elementor-element-608db084 .elementor-element-44cacdac {
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		/* Lados: continua a regra P-01 (coluna de 1180 px, alinhado ao logo). */
		padding-block: calc(112 * var(--uc)) 0 !important;
	}

	.elementor-element-608db084 .elementor-element-2cad8bc1 {
		box-sizing: border-box !important;
		width: calc(640 * var(--uc)) !important;
		max-width: none !important;
		flex: 0 0 auto !important;
		padding: calc(40 * var(--uc)) !important;
		gap: calc(24 * var(--uc)) !important;
		border-radius: calc(12 * var(--uc)) !important;
	}

	.elementor-element-608db084 [data-id="7485927f"] {
		font-size: max(11px, calc(12 * var(--uc))) !important;
		line-height: max(16px, calc(18 * var(--uc))) !important;
		margin: 0 !important;
	}

	.elementor-element-608db084 [data-id="1e2c2556"] {
		width: calc(560 * var(--uc)) !important;
		max-width: none !important;
		font-size: calc(52 * var(--uc)) !important;
		line-height: calc(60 * var(--uc)) !important;
		margin: 0 !important;
	}

	.elementor-element-608db084 [data-id="64e7cfc6"] {
		width: calc(400 * var(--uc)) !important;
		max-width: none !important;
		font-size: max(13px, calc(17 * var(--uc))) !important;
		line-height: max(20px, calc(26 * var(--uc))) !important;
		margin: 0 !important;
	}

	[data-elementor-type]:not([data-elementor-type="header"]) .elementor-element-608db084 a.tj-btn[data-id="a03651e"]:not(.tj-menu-item) {
		width: calc(224 * var(--uc)) !important;
		min-width: 0 !important;
		height: max(40px, calc(48 * var(--uc))) !important;
		min-height: 0 !important;
		padding: 0 !important;
		font-size: max(13px, calc(14 * var(--uc))) !important;
		line-height: max(18px, calc(20 * var(--uc))) !important;
		border-radius: calc(8 * var(--uc)) !important;
	}

	.elementor-element-608db084 [data-id="61de90e6"] {
		font-size: max(13px, calc(15 * var(--uc))) !important;
		line-height: max(20px, calc(23 * var(--uc))) !important;
		margin: 0 !important;
	}
}

/* "Conheça este produto" sem foto cadastrada (ex.: Farinha de Arroz): texto centralizado. */
.elementor-element-351cce5d:not(:has(img[src]:not([src=""]))) {
	justify-content: center !important;
}

.elementor-element-351cce5d:not(:has(img[src]:not([src=""]))) [data-id="422aba7e"] {
	flex: 0 1 800px !important;
	max-width: 800px !important;
	margin-inline: auto !important;
	text-align: center !important;
}

.elementor-element-351cce5d > img:not([src]),
.elementor-element-351cce5d > img[src=""] {
	display: none !important;
}

/* ---------- Revisão de 27/11 ---------- */

/* "Ir para o preparo" (62366543): igual aos outros botões, vermelho e vinho no hover (antes saía no azul padrão do Elementor). */
[data-elementor-type] a.tj-btn[data-id="62366543"] {
	display: flex !important;
	width: 100% !important;
	background-color: var(--tj-vermelho, #c51718) !important;
	color: #fff !important;
	font-weight: 700 !important;
	border: 0 !important;
	border-radius: 8px !important;
}

[data-elementor-type] a.tj-btn[data-id="62366543"]:hover,
[data-elementor-type] a.tj-btn[data-id="62366543"]:focus-visible {
	background-color: var(--tj-vermelho-hover, #821718) !important;
	color: #fff !important;
}

/* Títulos e textos dos cards de receita e de momento: sempre centralizados, em qualquer página. */
:is(.tj-card:has(.tj-meta-receita), .elementor-element-2d1c3b5e, .elementor-element-7ecc6676, .elementor-element-472c5112, .elementor-element-5575c551, .elementor-element-6a07a2ee, .elementor-element-76804ba5) {
	text-align: center !important;
}

:is(.tj-card:has(.tj-meta-receita), .elementor-element-2d1c3b5e, .elementor-element-7ecc6676, .elementor-element-472c5112, .elementor-element-5575c551, .elementor-element-6a07a2ee, .elementor-element-76804ba5) :is(h2, h3, h4, h5, h6, p, .tj-meta-receita) {
	text-align: center !important;
	justify-content: center !important;
	margin-inline: auto !important;
}

/*
 * Banner da linha (27/11): foto de fundo na largura toda da tela (sem faixas brancas) e as embalagens
 * por cima, centralizadas, saindo um pouco abaixo da foto, como no modelo da agência.
 */
body:has(.tj-banner-foto) {
	overflow-x: clip; /* 100vw inclui a barra de rolagem: sem rolagem lateral. */
}

.elementor-element-3e2da353:has(.tj-banner-foto) {
	padding-inline: 0 !important;
	max-width: none !important;
	overflow: visible !important;
}

.tj-linha-banner.tj-banner-foto {
	position: relative !important;
	display: block !important;
	box-sizing: border-box;
	width: 100vw !important;
	max-width: none !important;
	height: auto !important;
	aspect-ratio: 4 / 1 !important;
	margin-inline: calc(50% - 50vw) !important;
	margin-bottom: 4.5vw !important; /* Espaço para as embalagens que saem embaixo da foto. */
	overflow: visible !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.tj-linha-banner.tj-banner-foto .tj-banner-foto__fundo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* 30/11: véu preto leve sobre a foto de fundo (só ela, as embalagens ficam por cima) para destacar o produto. */
.tj-linha-banner.tj-banner-foto::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.3);
	pointer-events: none;
}

/*
 * Embalagens recortadas: no desktop, na mesma posição e escala da arte de 2278 × 919 da agência
 * (62% da largura da tela, a partir de 16% da altura da foto). --l, --t e --cx vêm do recorte de cada linha.
 */
.tj-linha-banner.tj-banner-foto .tj-banner-foto__embalagens {
	z-index: 2;
	position: absolute;
	left: calc(50% + 62% * (var(--cx, 0.5) - 0.5));
	top: calc(16% + 100% * var(--t, 0.1));
	width: calc(62% * var(--l, 0.5));
	height: auto;
	transform: translateX(-50%);
}

/*
 * 03/12: entrada animada do banner da linha (as imagens dele não entram no seletor das animações gerais).
 * A foto e o véu aparecem suavemente; as embalagens sobem até o lugar logo depois.
 * Usa "translate" (separado do "transform" que posiciona as embalagens) e só roda com tj-anim-on,
 * que não é posto com "reduzir movimento".
 */
@keyframes tj-banner-aparece {
	from {
		opacity: 0;
	}
}

@keyframes tj-banner-sobe {
	from {
		opacity: 0;
		translate: 0 48px;
	}
}

/* Até as imagens carregarem (o tj-core.js põe tj-banner-pronto), fica tudo escondido. */
html.tj-anim-on .tj-linha-banner.tj-banner-foto:not(.tj-banner-pronto) .tj-banner-foto__fundo,
html.tj-anim-on .tj-linha-banner.tj-banner-foto:not(.tj-banner-pronto) .tj-banner-foto__embalagens,
html.tj-anim-on .tj-linha-banner.tj-banner-foto:not(.tj-banner-pronto)::after {
	opacity: 0;
}

html.tj-anim-on .tj-linha-banner.tj-banner-pronto .tj-banner-foto__fundo,
html.tj-anim-on .tj-linha-banner.tj-banner-pronto::after {
	animation: tj-banner-aparece 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

html.tj-anim-on .tj-linha-banner.tj-banner-pronto .tj-banner-foto__embalagens {
	animation: tj-banner-sobe 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/*
 * Celular (30/11): exatamente o modelo do zip da agência, só reduzido (mesma proporção 4:1, embalagens na
 * mesma posição e escala do desktop, sem degradê). Só o vão até o título diminui, para acompanhar o banner menor.
 */
@media (max-width: 767px) {
	/* 30/11: embalagens ~40% maiores e mais para baixo: 60% da altura delas sobre a foto, 40% saindo embaixo. */
	.tj-linha-banner.tj-banner-foto {
		margin-bottom: calc(0.4 * min(94vw, 87vw * var(--l, 0.5)) * var(--ar, 0.7) + 4px) !important;
	}

	.tj-linha-banner.tj-banner-foto .tj-banner-foto__embalagens {
		left: calc(50% + 87% * (var(--cx, 0.5) - 0.5));
		top: 100%;
		width: calc(87% * var(--l, 0.5));
		max-width: 94%;
		transform: translate(-50%, -60%);
	}

	.elementor-element-3e2da353:has(.tj-banner-foto) + .elementor-element-542d0378 {
		padding-top: 16px !important;
	}
}
