/*
 * FHG Nutrition — carrinho lateral, menu lateral, compre junto, barra de
 * compra do celular e checkout em etapas.
 */

/* ---------- Véu e travas ---------- */
.fhg-veu {
	position: fixed; inset: 0; z-index: 9998; background: rgba(46, 55, 25, 0.45);
	opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(2px);
}
.fhg-veu.is-aberto { opacity: 1; }
html.fhg-com-gaveta { overflow: hidden; }
html.fhg-carregando { cursor: progress; }

/* ---------- Gaveta: base ---------- */
.fhg-gv, .fhg-mn {
	position: fixed; top: 0; bottom: 0; right: 0; z-index: 9999; width: min(420px, 100vw);
	display: flex; flex-direction: column; background: #fff;
	transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	box-shadow: -24px 0 60px -30px rgba(46, 55, 25, 0.55);
}
.fhg-gv.is-aberta, .fhg-mn.is-aberta { transform: translateX(0); }
.fhg-mn { right: auto; left: 0; transform: translateX(-100%); background: var(--fhg-profundo); color: #E9EBE0; }
.fhg-mn.is-aberta { transform: translateX(0); }

.fhg-gv-topo, .fhg-mn-topo {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 22px; border-bottom: 1px solid var(--fhg-linha); flex: 0 0 auto;
}
.fhg-gv-topo h2 {
	font-family: 'Archivo', sans-serif; font-size: 18px; font-weight: 700; margin: 0;
	color: var(--fhg-grafite); letter-spacing: -0.3px;
}
.fhg-gv-fechar {
	display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px;
	background: transparent; color: inherit; cursor: pointer; transition: background-color 0.2s ease;
}
.fhg-gv-fechar:hover { background: rgba(60, 60, 59, 0.08); }
.fhg-mn .fhg-gv-fechar:hover { background: rgba(250, 250, 247, 0.12); }
.fhg-gv-conteudo, .fhg-mn-corpo { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }

/* ---------- Carrinho: frete ---------- */
.fhg-gv-frete { padding: 16px 22px 18px; background: var(--fhg-areia); }
.fhg-gv-frete p { margin: 0 0 10px; font-size: 13px; color: var(--fhg-grafite); }
.fhg-gv-frete strong { font-family: var(--fhg-mono); }
.fhg-gv-barra { display: block; height: 5px; border-radius: 999px; background: rgba(60, 60, 59, 0.12); overflow: hidden; }
.fhg-gv-barra i { display: block; height: 100%; background: var(--fhg-verde); border-radius: 999px; transition: width 0.4s ease; }
.fhg-gv-frete--ok { background: rgba(192, 204, 80, 0.2); }
.fhg-gv-frete--ok p { color: var(--fhg-verde); font-weight: 600; }

/* ---------- Carrinho: itens ---------- */
.fhg-gv-itens { list-style: none; margin: 0; padding: 6px 22px; }
.fhg-gv-item {
	display: grid; grid-template-columns: 74px 1fr 28px; gap: 14px; align-items: start;
	padding: 18px 0; border-bottom: 1px solid var(--fhg-linha);
}
.fhg-gv-foto { display: block; border-radius: 10px; overflow: hidden; background: var(--fhg-num); }
.fhg-gv-foto img { display: block; width: 100%; height: auto; }
.fhg-gv-corpo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fhg-gv-nome { font-size: 15px; font-weight: 600; color: var(--fhg-grafite); text-decoration: none; line-height: 1.3; }
.fhg-gv-nome:hover { color: var(--fhg-verde); }
.fhg-gv-preco { margin: 0; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px; color: var(--fhg-grafite); }
.fhg-gv-qtd { display: inline-flex; align-items: center; border: 1px solid var(--fhg-linha); border-radius: 999px; overflow: hidden; width: fit-content; }
.fhg-gv-qtd button {
	width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer;
	font-size: 16px; color: var(--fhg-grafite); line-height: 1; transition: background-color 0.2s ease;
}
.fhg-gv-qtd button:hover { background: var(--fhg-areia); }
.fhg-gv-qtd span { min-width: 26px; text-align: center; font-family: var(--fhg-mono); font-size: 14px; }
.fhg-gv-tirar {
	width: 28px; height: 28px; border: 0; background: transparent; color: var(--fhg-suave);
	font-size: 20px; line-height: 1; cursor: pointer; border-radius: 999px;
}
.fhg-gv-tirar:hover { color: #A33; background: rgba(170, 51, 51, 0.08); }

/* ---------- Carrinho: complemento ---------- */
.fhg-gv-sugestao { margin: 4px 22px 0; padding: 16px; border: 1px dashed rgba(96, 111, 54, 0.4); border-radius: 12px; background: rgba(233, 235, 221, 0.4); }
.fhg-gv-sugestao-rotulo {
	margin: 0 0 12px; font-family: var(--fhg-mono); font-size: 11px; text-transform: uppercase;
	letter-spacing: 1px; color: var(--fhg-verde);
}
.fhg-gv-sugestao-corpo { display: grid; grid-template-columns: 52px 1fr 36px; gap: 12px; align-items: center; }
.fhg-gv-sugestao-corpo img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; }
.fhg-gv-sugestao-corpo a { font-size: 14px; font-weight: 600; color: var(--fhg-grafite); text-decoration: none; line-height: 1.3; }
.fhg-gv-sugestao-corpo p { margin: 2px 0 0; font-size: 13px; color: var(--fhg-suave); }
.fhg-gv-sugestao-corpo p .amount { font-family: 'Archivo', sans-serif; font-weight: 700; color: var(--fhg-grafite); }
.fhg-gv-mais {
	width: 36px; height: 36px; border: 0; border-radius: 999px; background: var(--fhg-verde); color: #fff;
	font-size: 20px; line-height: 1; cursor: pointer; transition: background-color 0.2s ease;
}
.fhg-gv-mais:hover { background: var(--fhg-profundo); }

/* ---------- Carrinho: pé ---------- */
.fhg-gv-pe { flex: 0 0 auto; padding: 20px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--fhg-linha); background: #fff; }
.fhg-gv-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 2px; font-size: 15px; color: var(--fhg-suave); }
.fhg-gv-total strong { font-family: 'Archivo', sans-serif; font-size: 24px; font-weight: 700; color: var(--fhg-grafite); }
.fhg-gv-parcelas { margin: 0 0 16px; font-size: 13px; color: var(--fhg-suave); }
.fhg-gv-botao {
	display: block; width: 100%; padding: 16px; border-radius: 10px; background: var(--fhg-verde);
	color: #fff; text-align: center; text-decoration: none; font-weight: 600; font-size: 16px;
	transition: background-color 0.2s ease;
}
.fhg-gv-botao:hover { background: var(--fhg-profundo); color: #fff; }
.fhg-gv-link { display: block; margin-top: 12px; text-align: center; font-size: 14px; color: var(--fhg-suave); }
.fhg-gv-vazio { padding: 56px 22px; text-align: center; }
.fhg-gv-vazio p { color: var(--fhg-suave); margin: 0 0 20px; }

/* ---------- Menu lateral ---------- */
.fhg-mn-topo { border-bottom-color: rgba(250, 250, 247, 0.16); }
.fhg-mn-logo img { display: block; width: 150px; height: auto; }
.fhg-mn-corpo { padding: 22px 22px calc(28px + env(safe-area-inset-bottom)); }
.fhg-mn-rotulo {
	margin: 0 0 12px; font-family: var(--fhg-mono); font-size: 11px; text-transform: uppercase;
	letter-spacing: 1.4px; color: var(--fhg-limao);
}
.fhg-mn-familias { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 6px; }
.fhg-mn-familias a {
	display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center;
	padding: 10px 12px; border-radius: 12px; text-decoration: none; color: #E9EBE0;
	transition: background-color 0.2s ease;
}
.fhg-mn-familias a:hover { background: rgba(250, 250, 247, 0.1); color: #fff; }
.fhg-mn-familias img { display: block; width: 46px; height: 46px; object-fit: contain; border-radius: 8px; background: rgba(250, 250, 247, 0.08); }
.fhg-mn-familias span { display: flex; align-items: baseline; gap: 8px; font-size: 16px; font-weight: 500; }
.fhg-mn-familias i { font-family: var(--fhg-mono); font-style: normal; font-size: 11px; color: rgba(233, 235, 224, 0.55); }
.fhg-mn-paginas { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 2px; }
.fhg-mn-paginas a {
	display: block; padding: 11px 12px; border-radius: 10px; color: rgba(233, 235, 224, 0.86);
	text-decoration: none; font-size: 16px; transition: background-color 0.2s ease, color 0.2s ease;
}
.fhg-mn-paginas a:hover { background: rgba(250, 250, 247, 0.1); color: #fff; }
.fhg-mn-paginas .sub-menu { display: none; }
.fhg-mn-pe { padding-top: 22px; border-top: 1px solid rgba(250, 250, 247, 0.16); }
.fhg-mn-pe p { margin: 0 0 4px; font-size: 14px; color: rgba(233, 235, 224, 0.6); }
.fhg-mn-wa {
	display: block; margin-bottom: 16px; padding: 14px; border-radius: 10px; background: var(--fhg-limao);
	color: var(--fhg-profundo); text-align: center; text-decoration: none; font-weight: 600;
}
.fhg-mn-wa:hover { background: #fff; color: var(--fhg-profundo); }

/* O menu em gaveta é do celular: no computador o menu horizontal dá conta.
 * (display:block aqui matava o place-items do .fhg-icone e o traço saía 12px
 * acima dos outros ícones.) */
.fhg-abre-menu { display: inline-grid !important; }
.fhg-abre-menu .elementor-button { display: inline-flex !important; }
@media (min-width: 1025px) {
	.fhg-caixa-menu { display: none !important; }
}

/* ---------- Aviso flutuante ---------- */
.fhg-aviso {
	position: fixed; left: 50%; bottom: 26px; z-index: 10000; transform: translate(-50%, 20px);
	padding: 13px 22px; border-radius: 999px; background: var(--fhg-profundo); color: #E9EBE0;
	font-size: 14px; opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
	max-width: calc(100vw - 32px); text-align: center;
}
.fhg-aviso.is-visivel { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Estado de carregamento dos botões ---------- */
.is-carregando { position: relative; color: transparent !important; pointer-events: none; }
.is-carregando::after {
	content: ''; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
	border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%;
	color: #fff; animation: fhg-gira 0.7s linear infinite;
}
@keyframes fhg-gira { to { transform: rotate(360deg); } }

/* ---------- Compre junto ---------- */
.fhg-junto { background: #fff; }
/* Centrado como o título da seção (o margin: -16px 0 prendia a caixa à
 * esquerda e o texto centrava-se dentro dela, fora do eixo). */
.fhg-junto-apoio {
	max-width: 640px; margin: -16px auto 28px; text-align: center;
	color: var(--fhg-suave); font-size: 15px;
}
.fhg-junto-caixa { border: 1px solid var(--fhg-linha); border-radius: 16px; padding: 26px; display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: center; }
@media (max-width: 860px) { .fhg-junto-caixa { grid-template-columns: 1fr; gap: 24px; } }
.fhg-junto-itens { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fhg-junto-item { flex: 1 1 180px; }
.fhg-junto-item label {
	display: grid; grid-template-columns: 22px 64px 1fr; gap: 12px; align-items: center; cursor: pointer;
	padding: 12px; border: 1px solid transparent; border-radius: 12px; transition: background-color 0.2s ease, border-color 0.2s ease;
}
.fhg-junto-item label:hover { background: var(--fhg-areia); }
.fhg-junto-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.fhg-junto-marca {
	width: 22px; height: 22px; border: 2px solid rgba(60, 60, 59, 0.28); border-radius: 6px;
	display: grid; place-items: center; transition: background-color 0.2s ease, border-color 0.2s ease;
}
.fhg-junto-item input:checked + .fhg-junto-marca { background: var(--fhg-verde); border-color: var(--fhg-verde); }
.fhg-junto-item input:checked + .fhg-junto-marca::after {
	content: ''; width: 11px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
	transform: rotate(-45deg) translate(1px, -1px);
}
.fhg-junto-item input:focus-visible + .fhg-junto-marca { outline: 2px solid var(--fhg-verde); outline-offset: 2px; }
.fhg-junto-item input:disabled + .fhg-junto-marca { opacity: 0.55; }
.fhg-junto-foto img { display: block; width: 64px; height: 64px; object-fit: contain; background: var(--fhg-num); border-radius: 8px; }
.fhg-junto-texto { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fhg-junto-nome { font-size: 14px; font-weight: 600; color: var(--fhg-grafite); line-height: 1.3; }
.fhg-junto-preco { font-family: var(--fhg-mono); font-size: 13px; color: var(--fhg-suave); }
.fhg-junto-etiqueta {
	font-family: var(--fhg-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
	color: var(--fhg-verde);
}
.fhg-junto-mais { flex: 0 0 auto; font-size: 20px; color: var(--fhg-suave); }
.fhg-junto-pe { border-left: 1px solid var(--fhg-linha); padding-left: 28px; }
@media (max-width: 860px) { .fhg-junto-pe { border-left: 0; border-top: 1px solid var(--fhg-linha); padding: 22px 0 0; } }
.fhg-junto-de { margin: 0; font-size: 14px; color: var(--fhg-suave); text-decoration: line-through; }
.fhg-junto-total { margin: 2px 0 0; font-family: 'Archivo', sans-serif; font-size: 30px; font-weight: 700; color: var(--fhg-grafite); }
.fhg-junto-economia {
	margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--fhg-verde);
	background: rgba(192, 204, 80, 0.22); border-radius: 999px; padding: 4px 12px; display: inline-block;
}
.fhg-junto-botao {
	margin-top: 18px; width: 100%; padding: 15px 20px; border: 0; border-radius: 10px;
	background: var(--fhg-verde); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer;
	transition: background-color 0.2s ease;
}
.fhg-junto-botao:hover { background: var(--fhg-profundo); }
.fhg-junto-botao:disabled { background: rgba(60, 60, 59, 0.2); cursor: not-allowed; }
.fhg-junto-nota { margin: 10px 0 0; font-size: 12px; color: var(--fhg-suave); }

/* ---------- Barra de compra ---------- */
.fhg-barra-compra {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center;
	justify-content: center; gap: 16px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--fhg-linha);
	backdrop-filter: blur(8px); transform: translateY(110%); transition: transform 0.3s ease;
}
.fhg-barra-compra.is-visivel { transform: translateY(0); }
.fhg-barra-compra p { margin: 0; }
.fhg-barra-compra__dentro {
	width: 100%; max-width: var(--fhg-conteudo); margin: 0 auto;
	display: flex; align-items: center; gap: 16px;
}
.fhg-barra-compra__texto { flex: 1 1 auto; min-width: 0; }
.fhg-barra-nome { font-size: 13px; font-weight: 600; color: var(--fhg-grafite); line-height: 1.25; }
.fhg-barra-preco { font-family: 'Archivo', sans-serif; font-size: 17px; font-weight: 700; color: var(--fhg-grafite); }
.fhg-barra-preco del { font-size: 13px; font-weight: 400; color: var(--fhg-suave); }
.fhg-barra-compra button {
	flex: 0 0 auto; padding: 14px 26px; border: 0; border-radius: 10px; background: var(--fhg-verde);
	color: #fff; font-weight: 600; font-size: 15px; cursor: pointer;
}
/* No computador ela também aparece: a página de produto é longa e o botão
 * de comprar fica muito acima depois da segunda dobra. */
.fhg-barra-compra img {
	width: 46px; height: 46px; object-fit: cover; border-radius: 9px; flex: none;
}
.fhg-barra-compra .fhg-barra-nome {
	font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 15px;
	color: var(--fhg-grafite); margin: 0; line-height: 1.3;
}
.fhg-barra-compra .fhg-barra-preco {
	font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 17px;
	color: var(--fhg-grafite); margin: 2px 0 0;
}
.fhg-barra-compra .fhg-barra-preco del { display: none; }
@media (max-width: 600px) { .fhg-barra-compra .fhg-barra-nome { display: none; } }

/* ---------- Checkout em etapas ---------- */
.fhg-etapas {
	list-style: none; display: flex; gap: 8px; margin: 0 0 34px; padding: 0;
	max-width: 620px; counter-reset: etapa;
}
.fhg-etapa {
	flex: 1 1 0; display: flex; align-items: center; gap: 10px; padding: 12px 6px;
	border-top: 3px solid var(--fhg-linha); cursor: pointer; transition: border-color 0.25s ease;
}
.fhg-etapa-n {
	display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px;
	background: var(--fhg-areia); color: var(--fhg-suave); font-family: var(--fhg-mono); font-size: 12px;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.fhg-etapa-nome { font-size: 14px; color: var(--fhg-suave); font-weight: 500; }
.fhg-etapa.is-ativa { border-top-color: var(--fhg-verde); }
.fhg-etapa.is-ativa .fhg-etapa-n { background: var(--fhg-verde); color: #fff; }
.fhg-etapa.is-ativa .fhg-etapa-nome { color: var(--fhg-grafite); }
.fhg-etapa.is-feita { border-top-color: var(--fhg-claro); }
.fhg-etapa.is-feita .fhg-etapa-n { background: var(--fhg-claro); color: var(--fhg-profundo); }
.fhg-etapa.is-feita .fhg-etapa-n::after { content: '✓'; }
.fhg-etapa.is-feita .fhg-etapa-n { font-size: 0; }
.fhg-etapa.is-feita .fhg-etapa-n::after { font-size: 13px; }
@media (max-width: 600px) { .fhg-etapa-nome { display: none; } .fhg-etapa { justify-content: center; } }

.fhg-etapa-caixa { display: none; }
.fhg-etapa-caixa.is-ativa { display: block; animation: fhg-entra 0.28s ease both; }
@keyframes fhg-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fhg-etapa-pe { display: flex; gap: 12px; justify-content: flex-end; margin-top: 26px; }
.fhg-etapa-seguir, .fhg-etapa-voltar {
	padding: 14px 30px; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer;
	border: 1px solid var(--fhg-verde); transition: background-color 0.2s ease, color 0.2s ease;
}
.fhg-etapa-seguir { background: var(--fhg-verde); color: #fff; }
.fhg-etapa-seguir:hover { background: var(--fhg-profundo); border-color: var(--fhg-profundo); }
.fhg-etapa-voltar { background: transparent; color: var(--fhg-verde); }
.fhg-etapa-voltar:hover { background: var(--fhg-areia); }
.woocommerce-checkout .fhg-etapa-caixa #order_review_heading { margin-top: 0; }

/* ---------- Passos da quantidade na página do produto ---------- */
.single-product .quantity { display: inline-flex; align-items: center; border: 1px solid var(--fhg-linha); border-radius: 10px; overflow: hidden; }
.single-product .quantity input.qty { border: 0 !important; border-radius: 0 !important; width: 54px; height: 50px; }
.fhg-passo {
	width: 42px; height: 50px; border: 0; background: #fff; color: var(--fhg-grafite);
	font-size: 18px; cursor: pointer; transition: background-color 0.2s ease;
}
.fhg-passo:hover { background: var(--fhg-areia); }

/* ---------- Foco visível em tudo ---------- */
.fhg-site a:focus-visible, .fhg-site button:focus-visible, .fhg-site input:focus-visible,
.fhg-site select:focus-visible, .fhg-site textarea:focus-visible {
	outline: 2px solid var(--fhg-verde); outline-offset: 2px; border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.fhg-gv, .fhg-mn, .fhg-veu, .fhg-barra-compra, .fhg-etapa-caixa.is-ativa { transition: none; animation: none; }
}

/* ---------- Cores dos links dentro das gavetas ----------
   O Kit do Elementor pinta todo link com o verde da marca; dentro da gaveta
   os botões são verdes, então o texto tem de ser claro. */
.fhg-gv a.fhg-gv-botao, .fhg-mn a.fhg-mn-wa, .fhg-gv-vazio a.fhg-gv-botao { color: #fff; }
.fhg-gv a.fhg-gv-botao:hover { color: #fff; }
.fhg-mn a.fhg-mn-wa, .fhg-mn a.fhg-mn-wa:hover { color: var(--fhg-profundo); }
.fhg-gv a.fhg-gv-nome { color: var(--fhg-grafite); }
.fhg-gv a.fhg-gv-nome:hover { color: var(--fhg-verde); }
.fhg-gv a.fhg-gv-link { color: var(--fhg-suave); }
.fhg-gv a.fhg-gv-link:hover { color: var(--fhg-verde); }
.fhg-mn .fhg-mn-familias a, .fhg-mn .fhg-mn-paginas a { color: #E9EBE0; }
.fhg-mn .fhg-mn-familias a:hover, .fhg-mn .fhg-mn-paginas a:hover { color: #fff; }
.fhg-gv-sugestao a { color: var(--fhg-grafite); }

/* ---------- Ícones do cabeçalho e do rodapé ---------- */
.fhg-icone-caixa { display: inline-flex; }
.fhg-icone {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
	color: var(--fhg-grafite); transition: background-color 0.2s ease, color 0.2s ease;
}
.fhg-icone:hover { background: var(--fhg-areia); color: var(--fhg-verde); }
.fhg-icone--claro { color: #E9EBE0; }
.fhg-icone--claro:hover { background: rgba(250, 250, 247, 0.12); color: var(--fhg-limao); }
.fhg-cabecalho__atalhos { gap: 2px !important; }
.fhg-carrinho { width: 44px; height: 44px; justify-content: center; border-radius: 999px; }
.fhg-carrinho:hover { background: var(--fhg-areia); }
.fhg-carrinho__n { top: 4px; right: 4px; }
.fhg-gv-tirar { width: 36px; height: 36px; }
.fhg-gv-link { padding: 8px 0; }

/* Área de toque dos links de lista no celular. */
@media (max-width: 768px) {
	.fhg-rodape .elementor-icon-list-item > a,
	.fhg-rodape .elementor-icon-list-item { min-height: 36px; display: flex; align-items: center; }
	.fhg-filtro a { padding-block: 12px; }
}

/* ---------- Botão de compra desabilitado ----------
   O WooCommerce só baixa a opacidade, o que no verde da marca vira um lilás
   estranho. Aqui ele fica claramente «ainda não dá para clicar». */
.single-product .single_add_to_cart_button.disabled,
.single-product .single_add_to_cart_button:disabled,
.woocommerce .button.disabled, .woocommerce a.button.disabled {
	background: #E6E6E1 !important; color: var(--fhg-suave) !important; opacity: 1 !important;
	cursor: not-allowed; border-color: #E6E6E1 !important;
}
.single-product .single_add_to_cart_button.disabled:hover { background: #E0E0DA !important; }

/* Quando a pessoa tenta comprar sem escolher o sabor, o seletor pisca. */
.fhg-pede-sabor { animation: fhg-pisca 1.1s ease 2; border-radius: 10px; }
@keyframes fhg-pisca {
	0%, 100% { box-shadow: 0 0 0 0 rgba(192, 204, 80, 0); }
	40% { box-shadow: 0 0 0 5px rgba(192, 204, 80, 0.55); }
}

/* ---------- Etapas: o ✓ dentro do círculo ---------- */
.fhg-etapa.is-feita .fhg-etapa-n { font-size: 0; position: relative; }
.fhg-etapa.is-feita .fhg-etapa-n::after {
	content: '✓'; position: absolute; inset: 0; display: grid; place-items: center;
	font-size: 13px; line-height: 1; color: var(--fhg-profundo);
}

/* ---------- Checkout: resumo sempre à vista ---------- */
.fhg-resumo {
	position: sticky; top: 96px; align-self: start; border: 1px solid var(--fhg-linha);
	border-radius: 14px; padding: 22px; background: #fff;
}
.fhg-resumo h3 {
	margin: 0 0 16px; font-family: var(--fhg-mono); font-size: 11px; text-transform: uppercase;
	letter-spacing: 1.2px; color: var(--fhg-verde);
}
.fhg-resumo ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.fhg-resumo li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.fhg-resumo img { width: 44px; height: 44px; object-fit: contain; background: var(--fhg-num); border-radius: 8px; }
.fhg-resumo .fhg-resumo-qtd { font-family: var(--fhg-mono); font-size: 12px; color: var(--fhg-suave); }
.fhg-resumo-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--fhg-linha); padding-top: 14px; }
.fhg-resumo-total strong { font-family: 'Archivo', sans-serif; font-size: 22px; }
.fhg-resumo-nota { margin: 10px 0 0; font-size: 12px; color: var(--fhg-suave); }
.woocommerce-checkout .fhg-checkout-grade { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
@media (max-width: 900px) { .woocommerce-checkout .fhg-checkout-grade { grid-template-columns: 1fr; gap: 28px; } .fhg-resumo { position: static; } }

/* ---------- Finalizar pedido ---------- */
.woocommerce-checkout #place_order {
	width: 100%; padding: 18px 24px !important; font-size: 17px !important; border-radius: 10px;
	background: var(--fhg-verde) !important; color: #fff !important; float: none !important;
}
.woocommerce-checkout #place_order:hover { background: var(--fhg-profundo) !important; }
.woocommerce-checkout .woocommerce-privacy-policy-text { font-size: 13px; color: var(--fhg-suave); }
.woocommerce-checkout .place-order { padding-top: 8px !important; }

/* ---------- Selos no pé da gaveta ---------- */
.fhg-gv-selos {
	display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; margin: 14px 0 0;
	font-size: 11px; color: var(--fhg-suave);
}
.fhg-gv-selos span { display: inline-flex; align-items: center; gap: 5px; }
.fhg-gv-selos svg { flex: 0 0 auto; }

/* ---------- Faixa: respeita quem pede menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
	.fhg-faixa-trilho { animation: none; }
}

/* Na etapa de pagamento o resumo já está ao lado: a tabela do WooCommerce
   repetiria a mesma informação. */
.woocommerce-checkout .fhg-checkout-grade #order_review_heading,
.woocommerce-checkout .fhg-checkout-grade .woocommerce-checkout-review-order-table { display: none; }
.fhg-resumo li { grid-template-columns: 44px minmax(0, 1fr) auto; }
.fhg-resumo li > span { min-width: 0; line-height: 1.35; }

/* ---------- Busca ---------- */
.fhg-busca {
	position: fixed; inset: 0; z-index: 9999; background: rgba(46, 55, 25, 0.5);
	display: flex; justify-content: center; align-items: flex-start; padding: 12vh 20px 20px;
	opacity: 0; transition: opacity 0.26s ease; backdrop-filter: blur(3px);
}
.fhg-busca.is-aberta { opacity: 1; }
.fhg-busca-caixa {
	width: min(640px, 100%); background: #fff; border-radius: 16px; overflow: hidden;
	box-shadow: 0 30px 70px -30px rgba(46, 55, 25, 0.6); transform: translateY(-12px);
	transition: transform 0.26s ease;
}
.fhg-busca.is-aberta .fhg-busca-caixa { transform: none; }
.fhg-busca form { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--fhg-linha); }
.fhg-busca form > svg { flex: 0 0 auto; color: var(--fhg-suave); }
.fhg-busca-campo {
	flex: 1 1 auto; border: 0 !important; font-size: 18px; padding: 10px 0 !important;
	background: transparent; color: var(--fhg-grafite); outline: none;
}
.fhg-busca-campo::placeholder { color: var(--fhg-suave); }
.fhg-busca-saida { padding: 18px 16px 20px; max-height: 56vh; overflow-y: auto; }
.fhg-busca-rotulo {
	margin: 0 0 12px; font-family: var(--fhg-mono); font-size: 11px; text-transform: uppercase;
	letter-spacing: 1.2px; color: var(--fhg-verde);
}
.fhg-busca-atalhos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.fhg-busca-atalhos button {
	border: 1px solid var(--fhg-linha); background: #fff; border-radius: 999px; padding: 8px 16px;
	font-size: 14px; color: var(--fhg-grafite); cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease;
}
.fhg-busca-atalhos button:hover { border-color: var(--fhg-verde); color: var(--fhg-verde); }
.fhg-busca-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fhg-busca-lista a {
	display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 10px;
	border-radius: 12px; text-decoration: none; color: var(--fhg-grafite); transition: background-color 0.2s ease;
}
.fhg-busca-lista a:hover { background: var(--fhg-areia); }
.fhg-busca-lista img, .fhg-busca-sem-foto { width: 52px; height: 52px; object-fit: contain; background: var(--fhg-num); border-radius: 8px; }
.fhg-busca-lista strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.fhg-busca-lista em { font-style: normal; font-family: var(--fhg-mono); font-size: 13px; color: var(--fhg-suave); }
.fhg-busca-vazio { margin: 0; color: var(--fhg-suave); font-size: 15px; }
@media (max-width: 600px) { .fhg-busca { padding-top: 6vh; } .fhg-busca-campo { font-size: 16px; } }

/* ---------- [hidden] tem de esconder mesmo ----------
   display:flex/grid no seletor de classe vence o display:none que o atributo
   hidden aplica. Sem isto, o painel de busca fica por cima da página inteira
   e engole todos os cliques. */
.fhg-busca[hidden], .fhg-gv[hidden], .fhg-mn[hidden], .fhg-veu[hidden] { display: none !important; }

/* ---------- Uma régua só para o site inteiro ----------
   As páginas do Elementor usam o container de 1240px do Kit e o conteúdo
   começa a 100px numa tela de 1440. O tema Hello limitava o WooCommerce a
   1140px, e a loja começava 70px mais para dentro. Agora é a mesma coluna em
   toda parte: caixa de 1240 + 20px de respiro lateral. */
body.fhg-site main.site-main,
body.fhg-site .woocommerce-page main.site-main {
	max-width: calc(var(--fhg-conteudo) + 40px) !important;
	margin-inline: auto; padding-inline: 20px; width: 100%;
}
body.fhg-site .fhg-largura {
	max-width: calc(var(--fhg-conteudo) + 40px); margin-inline: auto; padding-inline: 20px; width: 100%;
}
.woocommerce .woocommerce-products-header,
.woocommerce-page .woocommerce-notices-wrapper,
.single-product div.product,
.woocommerce #reviews,
.woocommerce ul.products { max-width: none; padding-inline: 0; margin-inline: 0; }
.single-product div.product { padding-top: 40px; }
.fhg-site .site-main > .woocommerce, .fhg-site .page-content > .woocommerce { max-width: none; }

/* Dentro das seções do Elementor a vitrine já está na coluna certa: não
   pode ganhar outra margem automática. */
.fhg-vitrine .woocommerce, .fhg-vitrine ul.products { max-width: none; margin-inline: 0; padding-inline: 0; }
/* Os blocos que o plugin imprime dentro da página de produto seguem a régua
   da coluna, não a da página. */
.single-product div.product > .fhg-bloco > .fhg-largura { padding-inline: 0; max-width: none; }

/* O «Limpar» das variações é um alvo de toque como qualquer outro. */
.single-product .reset_variations {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 4px;
	font-size: 13px; color: var(--fhg-suave);
}

/* ===========================================================================
   ACABAMENTO — o que a auditoria de interface apontou
   =========================================================================== */

/* 1. Logo do cabeçalho fora do centro: a imagem era inline e sobrava o
      espaço do descender da linha por baixo dela. */
.fhg-cabecalho img, .fhg-logo img, .fhg-rodape img, .fhg-mn-logo img { display: block; }
.fhg-cabecalho .elementor-widget-image, .fhg-cabecalho .elementor-widget-image a { display: flex; align-items: center; line-height: 0; }

/* 2. Botões do cartão de produto: mesma altura, sempre. «Escolher sabor»
      quebrava em duas linhas no celular e ficava 14px mais alto. */
.woocommerce ul.products li.product .button {
	display: flex; align-items: center; justify-content: center;
	min-height: 46px; padding: 10px 14px; text-align: center; line-height: 1.25;
}
@media (max-width: 480px) {
	/* «Escolher sabor» é maior que «Comprar» e quebrava em duas linhas: a
	   altura fica igual para os dois e o texto encolhe o necessário. */
	.woocommerce ul.products li.product .button {
		font-size: 12.5px; padding: 10px 8px; min-height: 44px; height: 44px;
		line-height: 1.15; overflow: hidden;
	}
}

/* 3. Herói no celular: botões de largura inteira, um por linha — quebra
      intencional em vez de acidental. */
@media (max-width: 600px) {
	.fhg-heroi .elementor-widget-button { width: 100%; }
	.fhg-heroi .elementor-widget-button .elementor-button { width: 100%; justify-content: center; }
}

/* 4. Os três números do herói e da dose: três colunas iguais, sem quebrar. */
@media (max-width: 600px) {
	.fhg-dose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.fhg-dose li { flex: none; padding: 12px 10px; min-width: 0; }
	.fhg-dose strong { font-size: 17px; }
	.fhg-dose span { font-size: 11px; }
}

/* 5. Faixa de famílias da loja: no celular rola de lado como as fichas de um
      catálogo, em vez de quebrar em três linhas. */
@media (max-width: 860px) {
	.fhg-filtro { margin-inline: -20px; padding-inline: 20px; overflow-x: auto; scrollbar-width: none; }
	.fhg-filtro::-webkit-scrollbar { display: none; }
	.fhg-filtro ul { flex-wrap: nowrap; width: max-content; }
	.fhg-filtro a { white-space: nowrap; }
}

/* 6. Compre junto: enquanto cabe, fica em linha; quando não cabe, empilha
      de propósito, com o «+» centrado entre os itens. */


/* 7. Composição e modo de uso lado a lado: mesma altura. */
.fhg-ficha-grade { align-items: stretch; }
.fhg-ficha-caixa { height: 100%; }

/* 8. Os três números do herói: três colunas no celular, não 2 + 1. */
@media (max-width: 600px) {
	.fhg-provas { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 12px !important; }
	.fhg-provas > .e-con { width: auto !important; min-width: 0; }
	.fhg-provas .elementor-heading-title { font-size: 22px; }
	.fhg-provas .elementor-widget-text-editor { font-size: 11px; line-height: 1.35; }
}

/* ---------- Modelo de produto (montado no Elementor) ---------- */
/* Os três números ficam sempre em três colunas, seja qual for a largura da
   coluna de compra. */
.fhg-dose { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fhg-dose li { flex: none; min-width: 0; }
.fhg-dose strong { font-size: clamp(17px, 1.4vw, 22px); }
.fhg-modelo--produto .elementor-widget:not(:last-child) { margin-bottom: 0; }
.fhg-modelo--produto .fhg-bloco-titulo { margin-top: 0; }
.fhg-modelo--produto .woocommerce-product-details__short-description { margin-bottom: 20px; }
.fhg-modelo--produto form.cart { margin-top: 0 !important; }
.fhg-modelo--produto .fhg-cards, .fhg-modelo--produto .fhg-ficha-grade { margin-top: 0; }
.fhg-modelo--produto .fhg-junto-caixa { margin-top: 0; }
/* Dentro do modelo, os blocos não repetem a caixa de largura: quem manda é a
   seção do Elementor. */
.fhg-modelo .fhg-largura { max-width: none; padding-inline: 0; }
.fhg-modelo--loja .woocommerce-products-header { padding: 0; }
.fhg-modelo--loja .fhg-filtro { margin-top: 20px; }

/* ---------- Compre junto: nunca quebra no meio ----------
   Os itens encolhem juntos e só empilham quando a tela é estreita de
   verdade. Sem isto, cada largura quebrava numa quantidade de linhas. */
@media (min-width: 901px) {
	.fhg-junto-itens { flex-wrap: nowrap; align-items: center; gap: 10px; }
	.fhg-junto-item { flex: 1 1 0; min-width: 0; }
	.fhg-junto-mais { flex: 0 0 auto; }
	.fhg-junto-item label { grid-template-columns: 20px minmax(0, 54px) minmax(0, 1fr); gap: 10px; padding: 10px; }
	.fhg-junto-foto img { width: 54px; height: 54px; }
	.fhg-junto-nome { font-size: 13px; }
}
@media (max-width: 900px) {
	.fhg-junto-itens { flex-direction: column; align-items: stretch; }
	.fhg-junto-item { flex: none; }
	.fhg-junto-mais { text-align: center; line-height: 1; }
}

/* Com o modelo do Elementor no ar, o `div.product` é só um invólucro: quem
   faz o layout são as seções. Sem isto, as seções viram colunas do grid
   antigo e a página parte ao meio. */
.single-product div.product.fhg-modelo {
	display: block; grid-template-columns: none; gap: 0; max-width: none; padding: 0;
}
.single-product div.product.fhg-modelo .woocommerce-product-gallery,
.single-product div.product.fhg-modelo .summary { width: 100% !important; }
