/* Tema Mesa Posta (premium): cozinha e utensilios - vermelho-tomate, creme e grafite, DM Serif Display nos titulos,
   friso xadrez de toalha de mesa. Carregado depois do CSS do Vitrine e do premium.css (pagina do produto premium). */

.tema-mesaposta { --mp-tinta: var(--titulos, #22201c); --mp-tomate: #c8442f; --mp-creme: #f6ecdc; --mp-creme2: #fbf5ec; --mp-linha: #eadfcd; --mp-xadrez: repeating-conic-gradient(#c8442f 0 25%, #fbf5ec 0 50%) 0 0 / 12px 12px; }

/* titulos das secoes: serifa com um friso xadrez embaixo */
.tema-mesaposta .vt-secao-cab { align-items: flex-end; margin-bottom: 24px; }
.tema-mesaposta .vt-secao-cab h2 { position: relative; padding-bottom: 14px; font-size: 36px; font-weight: 400 !important; color: var(--mp-tinta); }
.tema-mesaposta .vt-secao-cab h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 6px; background: var(--mp-xadrez); background-size: 6px 6px; }
.tema-mesaposta .vt-secao-cab a { color: var(--mp-tomate) !important; font-weight: 600; }

/* cartao: foto creme, cantos medios, botao grafite */
.tema-mesaposta .vt-card { border: 0; background: transparent; box-shadow: none !important; }
.tema-mesaposta .vt-card-img { border-radius: 14px; background: var(--mp-creme); }
.tema-mesaposta .vt-card-info { padding: 14px 4px 4px; }
.tema-mesaposta .vt-card-nome { font-size: 14.5px; color: #4a443c; }
.tema-mesaposta .vt-card-preco strong { font-family: var(--fonte-titulos), Georgia, serif; font-size: 23px; font-weight: 400; color: var(--mp-tinta); }
.tema-mesaposta .ppc-marca { color: var(--mp-tomate); font-weight: 600; letter-spacing: .08em; }
.tema-mesaposta .vt-card-botao { border-radius: 10px; background: var(--mp-tinta); color: #fff; }
.tema-mesaposta .vt-card:hover .vt-card-botao { background: var(--mp-tomate); color: #fff; }
.tema-mesaposta .ppc .ppc-ver { border-radius: 10px; background: rgba(255, 251, 245, .95); color: var(--mp-tinta); }
.tema-mesaposta .vt-selo { border-radius: 8px; background: var(--mp-tomate); color: #fff; font-weight: 600; }

/* fichas de receita (bloco Destaques) */
.mp-receitas { display: grid; gap: 24px; padding: 40px; border-radius: 18px; background: #f6ecdc; }
.mp-receitas-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.mp-receitas-cab > div { display: grid; gap: 6px; }
.mp-receitas-cab small { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #c8442f; }
body.vitrine .mp-receitas-cab h2 { margin: 0; font-family: var(--fonte-titulos), Georgia, serif; font-size: 38px; font-weight: 400; color: #22201c; }
.mp-receitas-cab p { margin: 0; color: #4a443c; }
.mp-receitas-botao { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 10px; background: #22201c; color: #fff !important; font-weight: 600; text-decoration: none; }
.mp-receitas-botao:hover { background: #c8442f; }
.mp-fichas { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.mp-ficha { position: relative; display: grid; align-content: start; gap: 4px; padding: 30px 20px 22px; border-radius: 12px; background: #fffbf5 linear-gradient(transparent 31px, rgba(200, 68, 47, .08) 31px 32px) 0 50px / 100% 32px; color: #22201c; text-decoration: none; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.mp-ficha::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-conic-gradient(#c8442f 0 25%, #fbf5ec 0 50%) 0 0 / 12px 12px; }
a.mp-ficha:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(34, 32, 28, .12); }
.mp-ficha img { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 10px; border-radius: 8px; object-fit: cover; }
.mp-ficha b { font-family: var(--fonte-titulos), Georgia, serif; font-size: 30px; font-weight: 400; line-height: 1.1; }
.mp-ficha strong { margin-top: 6px; font-size: 15px; font-weight: 600; color: #c8442f; }
.mp-ficha span { font-size: 14px; color: #6b6358; }

/* mosaico, banners, depoimentos, blog, newsletter */
.tema-mesaposta .hdl-mos-img { border-radius: 14px !important; }
.tema-mesaposta .hdl-mos-sobre a b { left: 50% !important; transform: translateX(-50%); bottom: 14px !important; border-radius: 8px !important; background: #fffbf5 !important; color: var(--mp-tinta); font-family: var(--fonte-titulos), Georgia, serif; font-weight: 400; box-shadow: none !important; white-space: nowrap; }
.tema-mesaposta .hdl-hero { border-radius: 18px; overflow: hidden; }
.tema-mesaposta .hdl-it-img img { border-radius: 18px; }
.tema-mesaposta .hdl-it-txt h2 { font-size: 42px; font-weight: 400; color: var(--mp-tinta); }
.tema-mesaposta .hdl-depo figure { border: 0; border-radius: 14px; background: var(--mp-creme2); }
.tema-mesaposta .vt-blog a { border: 0; border-radius: 14px; background: #fff; overflow: hidden; }
.tema-mesaposta .vt-blog strong { font-family: var(--fonte-titulos), Georgia, serif; font-weight: 400; color: var(--mp-tinta); }
body.vitrine.tema-mesaposta .vt-news { position: relative; border-radius: 18px; background: var(--mp-tomate); color: #fff; overflow: hidden; }
body.vitrine.tema-mesaposta .vt-news h3 { color: #fff !important; }
body.vitrine.tema-mesaposta .vt-news p { color: #fde3dc; }
body.vitrine.tema-mesaposta .vt-news-campo { border-radius: 10px; }
body.vitrine.tema-mesaposta .vt-news-campo button { border-radius: 10px; background: var(--mp-tinta); }
.tema-mesaposta .vt-vantagens > * { border: 0; border-radius: 14px; background: var(--mp-creme2); }
.tema-mesaposta .vt-vantagens i { border-radius: 50%; background: #fff; color: var(--mp-tomate); }

/* ---------- topo proprio (topo.php): creme, busca arredondada e friso xadrez no menu ---------- */
.mp-topo .vt-marca img { width: auto; height: var(--logo-altura, 56px); max-width: 250px; border: 0; border-radius: 0; background: none; object-fit: contain; mix-blend-mode: multiply; }
body.vitrine .mp-topo .vt-busca input { height: 46px; border: 1.5px solid #eadfcd; border-radius: 12px; background: #fff; }
body.vitrine .mp-topo .vt-busca input:focus { border-color: #c8442f; box-shadow: none; }
body.vitrine .mp-topo .vt-busca button { border-radius: 10px !important; background: #c8442f !important; color: #fff !important; }
.mp-topo .vt-acao { color: #22201c !important; }
.mp-topo .vt-acao:hover { background: #f6ecdc; color: #c8442f !important; }
.mp-topo .vt-sacola .counter { background: #c8442f; color: #fff; }
@media (min-width: 992px) {
	.mp-topo .vt-barra .container { min-height: 90px; }
	body.vitrine .mp-topo .vt-busca { flex: 1 1 460px; max-width: 500px; margin: 0 auto; }
	body.vitrine .mp-topo .vt-menu { background: #fbf5ec; border-top: 1px solid #eadfcd; border-bottom: 1px solid #eadfcd; }
	.mp-topo .vt-menu .container { justify-content: center; gap: 4px; }
	body.vitrine .mp-topo .vt-menu > .container > a, body.vitrine .mp-topo .vt-menu-cat > a, body.vitrine .mp-topo .vt-menu-dep-link { position: relative; color: #22201c !important; font-size: 15px; font-weight: 500; background: transparent !important; white-space: nowrap; }
	body.vitrine .mp-topo .vt-menu > .container > a::after, body.vitrine .mp-topo .vt-menu-cat > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 5px; background: repeating-conic-gradient(#c8442f 0 25%, #fbf5ec 0 50%) 0 0 / 5px 5px; transform: scaleX(0); transition: transform .25s; }
	body.vitrine .mp-topo .vt-menu > .container > a:hover::after, body.vitrine .mp-topo .vt-menu-cat:hover > a::after { transform: scaleX(1); }
	body.vitrine .mp-topo .vt-menu > .container > a:hover, body.vitrine .mp-topo .vt-menu-cat:hover > a { color: #c8442f !important; }
	body.vitrine .mp-topo .vt-menu a.vt-ofertas { color: #c8442f !important; font-weight: 700; }
	body.vitrine .mp-topo .vt-menu-cat > a > .lni-chevron-down { display: none; }
	body.vitrine .mp-topo .vt-mega-painel, body.vitrine .mp-topo .vt-menu-cat-lista, body.vitrine .mp-topo .vt-menu-dep-lista { border: 1px solid #eadfcd; border-radius: 16px; background: #fffbf5; box-shadow: 0 30px 60px rgba(34, 32, 28, .14); }
	body.vitrine .mp-topo .vt-mega-painel a, body.vitrine .mp-topo .vt-menu-cat-lista a, body.vitrine .mp-topo .vt-menu-dep-lista a { color: #22201c !important; }
	body.vitrine .mp-topo .vt-mega-painel a::after, body.vitrine .mp-topo .vt-menu-cat-lista a::after { display: none; }
	body.vitrine .mp-topo .vt-mega-prod img { border-radius: 10px; background: #f6ecdc; }
}

/* ---------- rodape proprio (rodape.php): toalha xadrez, frase e cardapio ---------- */
.mp-rodape { padding-top: 0; }
.mp-toalha { height: 26px; margin-bottom: 52px; background: repeating-conic-gradient(#c8442f 0 25%, #f6ecdc 0 50%) 0 0 / 26px 26px; }
.mp-assinatura { display: grid; justify-items: center; gap: 18px; padding-bottom: 44px; text-align: center; }
.mp-frase { max-width: 760px; margin: 0; font-family: var(--fonte-titulos), Georgia, serif; font-size: 38px; line-height: 1.2; color: #fbf5ec; }
.mp-cardapio { display: grid; gap: 8px; width: min(100%, 520px); margin: 0; padding: 0; list-style: none; }
.mp-cardapio li { display: flex; align-items: baseline; gap: 10px; color: #d9cfc1; font-size: 14px; }
.mp-cardapio li::after { content: ""; flex: 1; order: 2; border-bottom: 1px dotted rgba(217, 207, 193, .45); }
.mp-cardapio li::before { content: "✦"; order: 3; color: #e0735f; font-size: 11px; }
.mp-rodape h3 { font-family: var(--fonte-titulos), Georgia, serif !important; font-weight: 400 !important; color: #fbf5ec !important; }
.mp-rodape .vt-redes a { border-radius: 10px; }

/* ---------- pagina do produto premium ---------- */
.tema-mesaposta .pp, .tema-mesaposta .ppa { --pp-titulo-tam: 38px; --pp-preco-tam: 34px; --pp-raio: 14px; --pp-raio-botao: 12px; --pp-suave: var(--mp-creme); --pp-borda: var(--mp-linha); --pp-acento: var(--mp-tomate); }
.tema-mesaposta .pp-nome { font-weight: 400; }
.tema-mesaposta .pp-marca { color: var(--mp-tomate); font-weight: 600; letter-spacing: .12em; }
.tema-mesaposta .pp-foto, .tema-mesaposta .pp-mini { background: var(--mp-creme); }
.tema-mesaposta .pp-preco { background: var(--mp-creme2); border: 0; }
.tema-mesaposta .pp-preco-valor { font-family: var(--fonte-titulos), Georgia, serif; font-weight: 400; }
.tema-mesaposta .pp-preco-off { border-radius: 8px; background: var(--mp-tomate); color: #fff; }
.tema-mesaposta .pp .opcao.pp-op.active { --pp-op-borda: var(--mp-tinta); --pp-op-fundo: var(--mp-tinta); --pp-op-cor: #fff; }
.tema-mesaposta .pp .pp-var-cores .opcao.pp-op.active { --pp-op-fundo: #fff; --pp-op-cor: var(--mp-tinta); }
.tema-mesaposta .pp .pp-botao { background: var(--mp-tomate); color: #fff; --pp-b-sombra: 0 10px 22px rgba(200, 68, 47, .25); --pp-b-peso: 600; }
.tema-mesaposta .pp .pp-botao:hover { background: #a93623; color: #fff; }
.tema-mesaposta .pp .pp-agora { border-color: var(--mp-tinta); color: var(--mp-tinta); }
.tema-mesaposta .pp .pp-agora:hover { background: var(--mp-tinta); color: #fff; }
.tema-mesaposta .pp-selo { border-radius: 8px; background: var(--mp-tomate); color: #fff; }
.tema-mesaposta .pp-garantias svg { border-radius: 50%; background: var(--mp-creme); color: var(--mp-tomate); }
.tema-mesaposta .ppa .ppa-titulo { font-family: var(--fonte-titulos), Georgia, serif; font-size: 24px; font-weight: 400; }
.tema-mesaposta .ppa-destaques li { background: var(--mp-creme2); border: 0; border-radius: 12px; }
.tema-mesaposta .ppa-destaques li::before { background-color: var(--mp-tomate); }

/* ---------- carrinho (carrinho.php): pilha de pratos ---------- */
body.vitrine.tema-mesaposta .ck h1 { font-size: 42px; font-weight: 400; color: var(--mp-tinta); }
body.vitrine.tema-mesaposta .co-passos .atual { color: var(--mp-tomate); }
body.vitrine.tema-mesaposta .ck-item, body.vitrine.tema-mesaposta .co-bloco { border: 1px solid var(--mp-linha); border-radius: 14px; background: #fff; }
body.vitrine.tema-mesaposta .ck-foto img { background: var(--mp-creme); border-radius: 10px; }
body.vitrine.tema-mesaposta .ck-resumo { border: 0; border-radius: 18px; background: var(--mp-creme2); }
body.vitrine.tema-mesaposta .ck-finalizar { border-radius: 12px !important; background: #c8442f !important; color: #fff !important; }
.mp-frete { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 18px; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1px solid #eadfcd; }
.mp-frete p { grid-column: 2; margin: 0; font-size: 14px; }
.mp-frete p b { color: #c8442f; }
.mp-pratos { grid-row: 1 / span 2; display: flex; flex-direction: column-reverse; align-items: center; width: 62px; height: 52px; gap: 2px; }
.mp-pratos i { display: block; width: 100%; height: 7px; border-radius: 50%; background: #fffbf5; box-shadow: inset 0 0 0 1.5px #c8b8a2, inset 0 -2px 0 1.5px #e8dccb; transition: opacity .4s; }
.mp-pratos i:nth-child(odd) { box-shadow: inset 0 0 0 1.5px #c8442f, inset 0 -2px 0 1.5px #f1c9bf; }
.mp-pratos i:nth-child(1) { opacity: clamp(.25, calc(var(--mp-p, 0) / 20), 1); }
.mp-pratos i:nth-child(2) { opacity: clamp(.25, calc((var(--mp-p, 0) - 20) / 20), 1); }
.mp-pratos i:nth-child(3) { opacity: clamp(.25, calc((var(--mp-p, 0) - 40) / 20), 1); }
.mp-pratos i:nth-child(4) { opacity: clamp(.25, calc((var(--mp-p, 0) - 60) / 20), 1); }
.mp-pratos i:nth-child(5) { opacity: clamp(.25, calc((var(--mp-p, 0) - 80) / 20), 1); }
.mp-barra { grid-column: 2; display: block; height: 8px; border-radius: 999px; background: #f6ecdc; overflow: hidden; }
.mp-barra i { display: block; height: 100%; border-radius: 999px; background: repeating-conic-gradient(#c8442f 0 25%, #e0735f 0 50%) 0 0 / 8px 8px; transition: width .6s ease; }

@media (max-width: 767px) {
	.tema-mesaposta .vt-secao-cab h2 { font-size: 28px; }
	.mp-receitas { padding: 26px 14px; }
	body.vitrine .mp-receitas-cab h2 { font-size: 29px; }
	.mp-fichas { grid-template-columns: 1fr 1fr; gap: 10px; }
	.mp-ficha { padding: 26px 14px 16px; }
	.mp-ficha b { font-size: 23px; }
	.mp-frase { font-size: 26px; }
	.mp-topo .vt-marca img { height: 40px; max-width: 170px; }
	.tema-mesaposta .pp, .tema-mesaposta .ppa { --pp-titulo-tam: 28px; --pp-preco-tam: 28px; }
}
