/*
 * Modelos novos do catálogo (Vitrine, Cardápio, Elegante e Ofertas).
 * Tudo aqui vale só dentro de body.mz; o modelo Clássico não carrega este arquivo.
 * --mz-cor, --mz-sobre-cor e --mz-tinta vêm da cor escolhida pela loja.
 *//* ---------- Base ---------- */

body.mz {
    --mz-fundo: #fff;
    --mz-papel: #fff;
    --mz-suave: #f5f5f4;
    --mz-linha: #e4e4e2;
    --mz-texto: #1c1c1c;
    --mz-apagado: #666663;
    --mz-raio: 14px;
    --mz-raio-botao: 10px;
    --mz-colunas: 2;
    --mz-vao: 14px;
    --mz-titulo: "Poppins", sans-serif;
    --mz-header-fundo: var(--mz-papel);
    --mz-mistura: #fff;
    --mz-ok: #15803d;
    --mz-erro: #c81e1e;
    --mz-trilho: #d5d7da;
    --mz-trilho-texto: #3b424b;
    --mz-contorno: #8a8a86;
    --mz-header-texto: var(--mz-texto);
    --mz-barra-altura: 60px;
    --mz-busca-altura: 56px;
    background: var(--mz-fundo);
    color: var(--mz-texto);
    overflow-x: clip !important;
}

html:has(body.mz) { overflow-x: clip !important; }
body.mz #main { max-width: none; overflow: visible; }
body.mz [hidden] { display: none !important; }
body.mz a:focus-visible, body.mz button:focus-visible, body.mz input:focus-visible, body.mz select:focus-visible, body.mz textarea:focus-visible { outline: 3px solid var(--mz-tinta) !important; outline-offset: 2px; }

.mz .mz-largura { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.mz .mz-iniciais { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: var(--mz-cor); color: var(--mz-sobre-cor); font-weight: 700; }
.mz .mz-status { display: inline-flex; align-items: center; gap: 7px; }
.mz .mz-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.mz .mz-status.fechado::before { background: #dc2626; }
.mz .mz-botao { display: inline-block; padding: 13px 22px; border-radius: var(--mz-raio-botao); background: var(--mz-cor); color: var(--mz-sobre-cor); font-weight: 600; }

/* ---------- Cabeçalho ---------- */

.mz .mz-header { position: sticky; top: 0; z-index: 20; background: var(--mz-header-fundo); color: var(--mz-header-texto); }
.mz.mz-catalogo .mz-header { top: calc(0px - var(--mz-barra-altura) - var(--mz-busca-altura)); }
.mz .mz-header a { color: inherit; }
.mz .mz-topo { display: none; }
.mz .mz-barra .mz-largura { display: grid; grid-template-columns: auto 1fr auto; grid-auto-rows: var(--mz-barra-altura); align-items: center; column-gap: 8px; }
.mz.mz-catalogo .mz-barra .mz-largura { grid-template-rows: var(--mz-barra-altura) var(--mz-busca-altura); }
.mz .mz-icone { position: relative; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin: 0; padding: 0; transform: none; font-size: 22px; }
.mz .mz-icone i { color: inherit !important; font-size: 22px; transform: none; }
.mz .mz-voltar, .mz .mz-menu { margin-left: -10px; }
.mz .mz-so-computador { display: none; }
.mz .mz-acoes { display: flex; align-items: center; gap: 2px; }
.mz .mz-sacola { margin-right: -6px; }
.mz .mz-sacola .counter { position: absolute; top: 1px; right: -1px; left: auto; display: flex; min-width: 20px; width: auto; height: 20px; padding: 0 5px; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: var(--mz-cor); color: var(--mz-sobre-cor); font-size: 12px; font-weight: 700; line-height: 1; transform: none; }
.mz .mz-marca { display: flex; min-width: 0; align-items: center; gap: 10px; }
.mz .mz-marca img, .mz .mz-marca .mz-iniciais { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; font-size: 14px; }
.mz .mz-marca strong { overflow: hidden; font-family: var(--mz-titulo); font-size: 17px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mz .mz-busca { position: relative; order: 5; grid-column: 1 / -1; height: var(--mz-busca-altura); margin: 0; padding-bottom: 10px; }
.mz .mz-busca input { width: 100%; height: 46px; padding: 0 50px 0 16px; border: 1px solid var(--mz-linha); border-radius: var(--mz-raio-botao); background: var(--mz-suave); color: var(--mz-texto); font-size: 16px; -webkit-appearance: none; appearance: none; }
.mz .mz-busca input::placeholder { color: var(--mz-apagado); opacity: 1; }
.mz .mz-busca button { position: absolute; top: 1px; right: 2px; width: 44px; height: 44px; border: 0; background: none; color: var(--mz-texto); font-size: 18px; line-height: 1; }
.mz .mz-busca button i { color: inherit; transform: none; }
.mz .mz-categorias { border-bottom: 1px solid var(--mz-linha); background: var(--mz-papel); color: var(--mz-texto); }
.mz .mz-categorias .mz-largura { display: flex; gap: 8px; padding-top: 8px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.mz .mz-categorias .mz-largura::-webkit-scrollbar { display: none; }
.mz .mz-categorias { position: relative; }
.mz .mz-categorias-seta { display: none; }
@media (min-width: 992px) {
    .mz .mz-categorias-seta:not([hidden]) { position: absolute; top: 0; bottom: 0; z-index: 2; display: flex; width: 84px; align-items: center; margin: 0; border: 0; color: var(--mz-texto); font-size: 18px; }
    .mz .mz-categorias-seta.left { justify-content: flex-start; padding: 0 0 0 14px; background: linear-gradient(to right, var(--mz-papel) 55%, transparent); }
    .mz .mz-categorias-seta.right { justify-content: flex-end; padding: 0 14px 0 0; background: linear-gradient(to left, var(--mz-papel) 55%, transparent); }
    .mz .mz-categorias-seta i { color: inherit; }
    .mz .mz-categorias-seta:hover { color: var(--mz-tinta); }
}
.mz .mz-categorias a { flex: 0 0 auto; padding: 9px 16px; border-radius: 99px; background: var(--mz-suave); font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; }
.mz .mz-categorias a.ativa { background: var(--mz-cor); color: var(--mz-sobre-cor); }
.mz.mz-interna .mz-busca, .mz.mz-interna .mz-categorias { display: none; }
.mz.mz-interna .mz-header { border-bottom: 1px solid var(--mz-linha); }

/* ---------- Página da loja ---------- */

.mz .mz-pagina { display: block; min-height: 60vh; padding-bottom: 40px; }
.mz.mz-com-sacola .mz-pagina { padding-bottom: 24px; }
.mz .mz-capa { position: relative; background-position: center; background-size: cover; }
.mz .mz-apresentacao h1 { margin: 0; font-family: var(--mz-titulo); font-size: 24px; font-weight: 600; line-height: 1.2; text-wrap: balance; }
.mz .mz-sobre { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.mz .mz-resumo { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; font-size: 14px; }
.mz .mz-resumo a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.mz .mz-logo { display: none; }
.mz .banners { margin: 16px 0 0; }
.mz .banners .carousel-inner { border-radius: var(--mz-raio); }
.mz .banners img { width: 100%; }

.mz .mz-secao { padding-top: 28px; scroll-margin-top: 60px; }
.mz .mz-secao-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.mz .mz-secao h2, .mz .mz-resultado { margin: 0; font-family: var(--mz-titulo); font-size: 20px; font-weight: 600; line-height: 1.25; }
.mz .mz-resultado { padding-top: 24px; }
.mz .mz-secao-topo a { flex: 0 0 auto; padding: 6px 0; color: var(--mz-tinta); font-size: 14px; font-weight: 600; }
.mz .mz-grade { display: grid; grid-template-columns: repeat(var(--mz-colunas), minmax(0, 1fr)); gap: calc(var(--mz-vao) * 1.6) var(--mz-vao); }
.mz .mz-prateleira { display: grid; grid-auto-flow: column; grid-auto-columns: 152px; gap: var(--mz-vao); margin: 0 -16px; padding: 2px 16px 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 16px; }
.mz .mz-prateleira > * { scroll-snap-align: start; }

/* ---------- Cartão do produto ---------- */

.mz .mz-card { display: flex; min-width: 0; flex-direction: column; color: var(--mz-texto); }
.mz .mz-foto { position: relative; display: block; overflow: hidden; aspect-ratio: 1; border-radius: var(--mz-raio); background: var(--mz-suave); }
.mz .mz-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mz .mz-foto .mz-iniciais { font-size: 28px; opacity: .9; }
.mz .mz-selo { position: absolute; top: 8px; left: 8px; padding: 4px 9px; border-radius: 99px; background: #1c1c1c; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3; }
.mz .mz-selo-oferta { background: #c81e1e; }
.mz .mz-dados { display: flex; min-width: 0; flex: 1; flex-direction: column; padding-top: 10px; }
.mz .mz-nome { display: -webkit-box; overflow: hidden; font-size: 15px; font-weight: 500; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.mz .mz-descricao { display: none; }
.mz .mz-preco { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.mz .mz-preco s { color: var(--mz-apagado); font-size: 13px; }
.mz .mz-preco strong { font-size: 17px; font-weight: 700; }
.mz .mz-comprar { display: none; }
.mz .mz-card.esgotado .mz-foto img { opacity: .5; }

/* ---------- Lista de categoria e busca ---------- */

.mz .mz-titulo-pagina { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; padding: 20px 0 18px; }
.mz .mz-titulo-pagina h1 { margin: 2px 0; font-family: var(--mz-titulo); font-size: 24px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.mz .mz-caminho, .mz .mz-quantidade { margin: 0; color: var(--mz-apagado); font-size: 14px; }
.mz .mz-caminho a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.mz .mz-ordenar { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 400; }
.mz .mz-ordenar select { height: 44px; padding: 0 12px; border: 1px solid var(--mz-linha); border-radius: var(--mz-raio-botao); background: var(--mz-papel); color: var(--mz-texto); font-size: 16px; }
.mz .mz-vazio { padding: 64px 0; text-align: center; font-size: 17px; }
.mz .mz-vazio p { margin: 0 0 18px; }
.mz .paginacao-catalogo .pagination > li.active > span { color: var(--mz-sobre-cor) !important; }

/* ---------- Barra da sacola ---------- */

.mz .mz-barra-sacola { position: fixed; right: 16px; bottom: 12px; left: 16px; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 560px; margin: 0; padding: 16px 18px; border-radius: var(--mz-raio); background: var(--mz-cor); color: var(--mz-sobre-cor); box-shadow: 0 6px 20px rgba(0, 0, 0, .22); font-size: 15px; font-weight: 600; }
.mz .mz-barra-sacola strong { text-align: right; font-variant-numeric: tabular-nums; }
/* a barra fica por cima do rodapé: só ele cresce, sem faixa vazia embaixo */
.mz.mz-com-sacola .copyright { padding-bottom: 76px; }

/* ---------- Rodapé ---------- */

.mz .footer-info { padding: 28px 0; background: var(--mz-suave) !important; color: var(--mz-texto); }
.mz .footer-info span { color: var(--mz-texto); font-size: 14px; line-height: 1.6; }
.mz .footer-info .social a i { color: var(--mz-texto) !important; }
.mz .sidebar .sidebar-header i { color: var(--mz-sobre-cor); }

/* ---------- Páginas internas: produto, sacola, finalizar e pedidos ---------- */

.mz .header-interna, .mz .fillrelacionados { display: none !important; }
.mz.mz-interna .middle { margin: 0; padding: 20px 0 32px; background: none; }
.mz.mz-interna .rowtitle { margin-top: 0; margin-bottom: 16px; padding: 0; background: none; }
.mz .title-icon, .mz.mz-interna .rowtitle .title-icon { display: block; width: auto; margin: 0 0 4px; padding: 0; text-align: left; }
.mz .title-icon span { font-family: var(--mz-titulo); font-size: 24px; font-weight: 600; line-height: 1.25; }
.mz .bread-box, .mz .bread { display: block; float: none; width: auto; margin: 0; padding: 0; text-align: left; }
.mz .rowtitle .clearline { display: none; }
.mz .botao-acao, .mz .back-button { display: flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 12px 20px; border: 0; border-radius: var(--mz-raio-botao); text-align: center; }
.mz .botao-acao { background: var(--mz-cor) !important; color: var(--mz-sobre-cor); }
.mz .back-button { border: 1px solid var(--mz-linha); background: var(--mz-papel); }
.mz .botao-acao span, .mz .botao-acao i { margin: 0; color: var(--mz-sobre-cor) !important; font-weight: 600; transform: none; }
.mz .botao-acao.botao-acao-gray { background: var(--mz-suave) !important; }
.mz .botao-acao.botao-acao-gray, .mz .botao-acao.botao-acao-gray span, .mz .botao-acao.botao-acao-gray i { color: var(--mz-texto) !important; }
.mz .botao-acao .icone-sacola { display: none; }

/* formulário de finalizar */

.mz .title-line { margin: 12px 0 16px; padding: 0 0 10px; border-bottom: 1px solid var(--mz-linha); text-align: left; }
.mz .title-line span { font-family: var(--mz-titulo); font-size: 18px; font-weight: 600; }
.mz .title-line i { color: var(--mz-tinta) !important; }
.mz .form-field-default { margin-bottom: 14px; }
.mz .form-field-default label { margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.mz .form-field-default input, .mz .form-field-default textarea, .mz .form-field-default select { border: 1px solid var(--mz-linha); border-radius: var(--mz-raio-botao); background: var(--mz-papel); font-size: 16px; }
.mz .form-field-default .fake-select { border-radius: var(--mz-raio-botao); background: none; }

/* ---------- Celular ---------- */

@media (max-width: 991px) {
    .mz .container.nopaddmobile { padding-right: 16px; padding-left: 16px; }

    .mz .title-icon span { display: block; width: auto; margin: 0; padding: 0; text-align: left; }
    .mz .sacola { margin: 0; padding: 0; }
}

/* ---------- Computador ---------- */

@media (min-width: 768px) {
    body.mz { --mz-colunas: 3; --mz-vao: 20px; }
    .mz .mz-prateleira { grid-auto-columns: 200px; }
}

@media (min-width: 992px) {
    body.mz { --mz-colunas: 4; --mz-vao: 24px; --mz-barra-altura: 76px; }
    .mz .mz-largura { padding: 0 24px; }
    .mz .container { width: 100%; max-width: 1240px; padding-right: 24px; padding-left: 24px; }
    .mz .mz-header, .mz.mz-catalogo .mz-header { top: -37px; }
    .mz .mz-topo { display: block; height: 37px; border-bottom: 1px solid var(--mz-linha); font-size: 13px; }
    .mz .mz-topo .mz-largura { display: flex; height: 100%; align-items: center; gap: 24px; }
    .mz .mz-topo-links { display: flex; gap: 24px; margin-left: auto; }
    .mz .mz-topo a:hover, .mz .mz-secao-topo a:hover { text-decoration: underline; text-underline-offset: 3px; }
    .mz .mz-voltar { display: none; }
    .mz .mz-so-computador { display: flex; }
    .mz .mz-barra .mz-largura, .mz.mz-catalogo .mz-barra .mz-largura { grid-template-columns: auto auto 1fr auto; grid-template-rows: var(--mz-barra-altura); column-gap: 12px; }
    .mz .mz-marca img, .mz .mz-marca .mz-iniciais { width: 46px; height: 46px; }
    .mz .mz-marca strong { max-width: 300px; font-size: 20px; }
    .mz .mz-busca, .mz.mz-interna .mz-busca { display: block; order: 0; grid-column: auto; width: 100%; max-width: 560px; height: 46px; justify-self: center; padding: 0; }
    .mz.mz-interna .mz-categorias { display: block; }
    .mz.mz-interna .mz-header { border-bottom: 0; }
    .mz .mz-secao { padding-top: 44px; scroll-margin-top: 140px; }
    .mz .mz-secao h2, .mz .mz-resultado { font-size: 26px; }
    .mz .mz-titulo-pagina { padding: 32px 0 24px; }
    .mz .mz-titulo-pagina h1, .mz .title-icon span { font-size: 30px; }
    .mz .mz-apresentacao h1 { font-size: 34px; }
    .mz .mz-barra-sacola { right: 24px; bottom: 16px; left: auto; width: 360px; }
    .mz.mz-com-sacola .copyright { padding-bottom: 8px; }
    .mz .mz-card .mz-foto img { transition: transform .35s ease; }
    .mz .mz-card:hover .mz-foto img { transform: scale(1.04); }
    .mz .mz-card:hover .mz-nome { text-decoration: underline; text-underline-offset: 3px; }
}

@media (prefers-reduced-motion: reduce) {
    .mz .mz-card .mz-foto img { transition: none; }
}

/* ---------- Vitrine: loja virtual clara, fotos grandes ---------- */

.modelo-vitrine .mz-capa { width: calc(100% - 32px); max-width: 1192px; margin: 16px auto 0; border-radius: var(--mz-raio); overflow: hidden; }
.modelo-vitrine .mz-capa.com-foto .mz-apresentacao { display: flex; min-height: 210px; flex-direction: column; justify-content: flex-end; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); color: #fff; }
.modelo-vitrine .mz-capa.sem-foto { padding: 20px; background: color-mix(in srgb, var(--mz-cor) 9%, var(--mz-mistura)); }
@media (min-width: 992px) {
    .modelo-vitrine .mz-capa { margin-top: 24px; }
    .modelo-vitrine .mz-capa.com-foto .mz-apresentacao { min-height: 320px; padding: 120px 36px 32px; }
    .modelo-vitrine .mz-capa.sem-foto { padding: 32px 36px; }
}

/* ---------- Cardápio: lista com foto ao lado ---------- */

body.modelo-cardapio { --mz-fundo: #f6f6f5; --mz-suave: #efefed; --mz-raio: 12px; --mz-colunas: 1; --mz-vao: 10px; }
.modelo-cardapio .mz-capa { padding-top: 110px; background-color: var(--mz-cor); }
.modelo-cardapio .mz-apresentacao { position: relative; padding: 46px 16px 18px; border-radius: 18px 18px 0 0; background: var(--mz-papel); }
.modelo-cardapio .mz-logo { position: absolute; top: -38px; left: 16px; display: block; width: 76px; height: 76px; overflow: hidden; border: 4px solid var(--mz-papel); border-radius: 50%; background: var(--mz-papel); }
.modelo-cardapio .mz-logo img { width: 100%; height: 100%; object-fit: cover; }
.modelo-cardapio .mz-logo .mz-iniciais { border-radius: 50%; font-size: 22px; }
.modelo-cardapio .mz-categorias .mz-largura { gap: 22px; padding-top: 0; padding-bottom: 0; }
.modelo-cardapio .mz-categorias a { padding: 14px 0 11px; border-bottom: 3px solid transparent; border-radius: 0; background: none; }
.modelo-cardapio .mz-categorias a.ativa { border-color: var(--mz-tinta); background: none; color: var(--mz-tinta); font-weight: 600; }
.modelo-cardapio .mz-grade { gap: var(--mz-vao); }
.modelo-cardapio .mz-card { flex-direction: row-reverse; gap: 14px; padding: 14px; border-radius: var(--mz-raio); background: var(--mz-papel); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.modelo-cardapio .mz-foto { flex: 0 0 104px; align-self: flex-start; border-radius: 10px; }
.modelo-cardapio .mz-selo { top: 6px; left: 6px; padding: 3px 7px; font-size: 11px; }
.modelo-cardapio .mz-dados { padding: 0; }
.modelo-cardapio .mz-nome { font-size: 16px; font-weight: 600; }
.modelo-cardapio .mz-descricao { display: -webkit-box; overflow: hidden; margin-top: 4px; color: var(--mz-apagado); font-size: 14px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.modelo-cardapio .mz-preco { margin-top: auto; padding-top: 8px; }
.modelo-cardapio .mz-preco strong { font-size: 16px; }
@media (min-width: 768px) {
    body.modelo-cardapio { --mz-colunas: 2; --mz-vao: 16px; }
    .modelo-cardapio .mz-foto { flex-basis: 128px; }
}
@media (min-width: 992px) {
    .modelo-cardapio .mz-capa { padding-top: 220px; }
    .modelo-cardapio .mz-apresentacao { max-width: 1192px; margin: 0 auto; padding: 28px 32px 28px 168px; }
    .modelo-cardapio .mz-logo { top: -40px; left: 32px; width: 112px; height: 112px; }
    .modelo-cardapio .mz-secao { scroll-margin-top: 110px; }
}

/* ---------- Elegante: boutique, fotos altas e espaço ---------- */

body.modelo-elegante { --mz-raio: 0px; --mz-raio-botao: 0px; --mz-titulo: "Marcellus", Georgia, serif; --mz-suave: #f3f3f1; }
.modelo-elegante .mz-marca { justify-content: center; }
.modelo-elegante .mz-marca img, .modelo-elegante .mz-marca .mz-iniciais { display: none; }
.modelo-elegante .mz-marca strong { font-size: 21px; font-weight: 400; }
.modelo-elegante .mz-busca input { border-width: 0 0 1px; background: none; padding-left: 2px; }
.modelo-elegante .mz-categorias .mz-largura { gap: 26px; padding-top: 4px; padding-bottom: 4px; }
.modelo-elegante .mz-categorias a { padding: 10px 0; background: none; font-weight: 400; }
.modelo-elegante .mz-categorias a.ativa { background: none; color: var(--mz-texto); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.modelo-elegante .mz-apresentacao { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 44px 24px; text-align: center; }
.modelo-elegante .mz-apresentacao h1 { max-width: 16ch; font-size: 38px; font-weight: 400; line-height: 1.12; }
.modelo-elegante .mz-sobre { max-width: 48ch; margin-top: 12px; }
.modelo-elegante .mz-resumo { justify-content: center; margin-top: 18px; }
.modelo-elegante .mz-capa.com-foto .mz-apresentacao { min-height: 400px; background: rgba(0, 0, 0, .5); color: #fff; }
.modelo-elegante .mz-capa.sem-foto { border-bottom: 1px solid var(--mz-linha); }
.modelo-elegante .mz-secao { padding-top: 48px; }
.modelo-elegante .mz-secao-topo { flex-direction: column; align-items: center; gap: 2px; margin-bottom: 22px; }
.modelo-elegante .mz-secao h2, .modelo-elegante .mz-resultado, .modelo-elegante .mz-titulo-pagina h1, .modelo-elegante .title-icon span, .modelo-elegante .title-line span { font-weight: 400; }
.modelo-elegante .mz-secao h2 { font-size: 28px; }
.modelo-elegante .mz-secao-topo a { color: var(--mz-apagado); font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }
.modelo-elegante .mz-foto { aspect-ratio: 3 / 4; }
.modelo-elegante .mz-selo { top: 0; left: 0; border-radius: 0; font-weight: 500; }
.modelo-elegante .mz-selo-oferta { background: var(--mz-texto); color: var(--mz-papel); }
.modelo-elegante .mz-dados { align-items: center; padding-top: 14px; text-align: center; }
.modelo-elegante .mz-nome { font-weight: 400; }
.modelo-elegante .mz-preco { justify-content: center; }
.modelo-elegante .mz-preco strong { font-size: 15px; font-weight: 500; }
@media (min-width: 992px) {
    .modelo-elegante .mz-barra .mz-largura, .modelo-elegante.mz-catalogo .mz-barra .mz-largura { grid-template-columns: 96px 1fr auto 1fr 96px; }
    .modelo-elegante .mz-menu { order: 0; }
    .modelo-elegante .mz-busca, .modelo-elegante.mz-interna .mz-busca { order: 1; max-width: 260px; justify-self: start; }
    .modelo-elegante .mz-marca { order: 2; }
    .modelo-elegante .mz-acoes { grid-column: 5; justify-content: flex-end; order: 4; }
    .modelo-elegante .mz-marca strong { max-width: 460px; font-size: 28px; }
    .modelo-elegante .mz-categorias .mz-largura { justify-content: safe center; gap: 38px; }
    .modelo-elegante .mz-apresentacao h1 { font-size: 64px; }
    .modelo-elegante .mz-capa.com-foto .mz-apresentacao { min-height: 540px; }
    .modelo-elegante .mz-secao { padding-top: 76px; }
    .modelo-elegante .mz-secao h2 { font-size: 38px; }
}

/* ---------- Ofertas: varejo, promoções e mais produtos na tela ---------- */

body.modelo-ofertas { --mz-fundo: #f0f0ef; --mz-suave: #f6f6f5; --mz-raio: 8px; --mz-raio-botao: 6px; --mz-vao: 8px; --mz-header-fundo: var(--mz-cor); --mz-header-texto: var(--mz-sobre-cor); }
.modelo-ofertas .mz-topo { border-color: color-mix(in srgb, var(--mz-sobre-cor) 22%, transparent); }
.modelo-ofertas .mz-topo .mz-status::before { box-shadow: 0 0 0 2px #fff; }
.modelo-ofertas .mz-busca input { border-color: transparent; background: var(--mz-papel); }
.modelo-ofertas .mz-sacola .counter { background: #fff; color: #1c1c1c; }
.modelo-ofertas .mz-categorias .mz-largura { gap: 20px; padding-top: 2px; padding-bottom: 2px; }
.modelo-ofertas .mz-categorias a { padding: 11px 0; background: none; }
.modelo-ofertas .mz-categorias a.ativa { background: none; color: var(--mz-texto); font-weight: 700; }
.modelo-ofertas .mz-categorias a.mz-link-ofertas { color: var(--mz-erro); font-weight: 700; }
.modelo-ofertas .mz-capa.com-foto .mz-apresentacao { padding: 56px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); color: #fff; }
.modelo-ofertas .mz-capa.com-foto .mz-sobre { display: none; }
.modelo-ofertas .mz-capa.sem-foto { padding: 14px 16px; background: var(--mz-papel); }
.modelo-ofertas .mz-capa.sem-foto h1, .modelo-ofertas .mz-capa.sem-foto .mz-sobre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.modelo-ofertas .mz-capa.sem-foto .mz-resumo { margin: 0; }
.modelo-ofertas .mz-secao { margin-top: 12px; padding: 18px 0 0; }
.modelo-ofertas .mz-secao h2 { font-weight: 700; }
.modelo-ofertas .mz-secao-ofertas { margin-right: -16px; margin-left: -16px; padding: 18px 16px 14px; background: #ffe45c; }
.modelo-ofertas .mz-secao-ofertas .mz-secao-topo a { color: #1c1c1c; }
.modelo-ofertas .mz-grade { gap: var(--mz-vao); }
.modelo-ofertas .mz-card { padding: 8px; border-radius: var(--mz-raio); background: var(--mz-papel); }
.modelo-ofertas .mz-foto { border-radius: 4px; background: #fff; }
.modelo-ofertas .mz-foto img { object-fit: contain; }
.modelo-ofertas .mz-selo { top: 0; left: 0; border-radius: 4px; font-size: 14px; font-weight: 700; }
.modelo-ofertas .mz-nome { font-size: 14px; font-weight: 400; }
.modelo-ofertas .mz-preco { flex-direction: column; margin-top: auto; padding-top: 6px; }
.modelo-ofertas .mz-preco strong { font-size: 20px; line-height: 1.25; }
.modelo-ofertas .mz-comprar { display: block; margin-top: 10px; padding: 10px; border-radius: var(--mz-raio-botao); background: var(--mz-cor); color: var(--mz-sobre-cor); font-size: 14px; font-weight: 600; text-align: center; }
.modelo-ofertas.mz-interna .middle > .container { border-radius: var(--mz-raio); background: var(--mz-papel); padding-top: 20px; padding-bottom: 24px; }
.modelo-ofertas .footer { background: var(--mz-papel); }
@media (min-width: 768px) {
    body.modelo-ofertas { --mz-colunas: 4; --mz-vao: 12px; }
}
@media (min-width: 992px) {
    body.modelo-ofertas { --mz-colunas: 5; }
    .modelo-ofertas .mz-busca { max-width: 680px; }
    .modelo-ofertas .mz-card { padding: 12px; }
    .modelo-ofertas .mz-secao-ofertas { margin: 20px 0 0; padding: 22px 20px 18px; border-radius: var(--mz-raio); }
    .modelo-ofertas .mz-prateleira { grid-auto-columns: 210px; margin: 0 -20px; padding: 2px 20px 8px; scroll-padding: 20px; }
    .modelo-ofertas .mz-capa.com-foto .mz-apresentacao { padding: 150px max(24px, calc((100% - 1192px) / 2)) 24px; }
    .modelo-ofertas .mz-capa.sem-foto { padding: 12px max(24px, calc((100% - 1192px) / 2)); }
}

/* ---------- Modo escuro ---------- */

html[data-tema="escuro"] body.mz {
    --mz-fundo: #141417;
    --mz-papel: #1d1d22;
    --mz-suave: #292930;
    --mz-linha: #3d3d46;
    --mz-texto: #f3f3f5;
    --mz-apagado: #b4b4be;
    --mz-mistura: #1d1d22;
    --mz-ok: #4ade80;
    --mz-erro: #ff9c93;
    --mz-trilho: #4a4a54;
    --mz-trilho-texto: #f3f3f5;
    --mz-contorno: #8e8e99;
    --mz-tinta: #f3f3f5;
    color-scheme: dark;
}
html[data-tema="escuro"] body.modelo-vitrine { --mz-header-fundo: #1d1d22; }
html[data-tema="escuro"] body.modelo-cardapio { --mz-fundo: #161412; --mz-papel: #211e1b; --mz-suave: #2e2a26; --mz-linha: #433d37; --mz-mistura: #211e1b; }
html[data-tema="escuro"] body.modelo-elegante { --mz-fundo: #131211; --mz-papel: #131211; --mz-suave: #211f1d; --mz-linha: #3f3b37; --mz-mistura: #131211; }
html[data-tema="escuro"] body.modelo-ofertas { --mz-fundo: #101114; --mz-header-fundo: var(--mz-cor); }
@supports (color: oklch(from red l c h)) {
    html[data-tema="escuro"] body.mz { --mz-cor: oklch(from var(--mz-base) clamp(.53, l, 1) c h); --mz-tinta: oklch(from var(--mz-base) clamp(.78, l, 1) c h); }
}
html[data-tema="escuro"] .mz .mz-selo:not(.mz-selo-oferta) { background: #f3f3f5; color: #1c1c1c; }
html[data-tema="escuro"] .mz .sidr, html[data-tema="escuro"] .mz .sidebar { background: #1d1d22 !important; }
html[data-tema="escuro"] .mz .sidebar :is(span, a, div, strong) { color: #f3f3f5; }
html[data-tema="escuro"] .modelo-ofertas .mz-inicio .mz-secao-ofertas h2 { color: #1c1c1c; }

/* botões só com ícone: sem o espaço do estilo antigo, o desenho fica no meio */
.mz :is(.mz-busca button, .mz-gaveta-topo button) { display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1; }
.mz button[aria-label] > i:only-child { margin: 0; }
