/*
Theme Name: Maribela Papelaria
Theme URI: https://maribela.com.br
Author: Maribela Papelaria
Description: Tema oficial da Maribela Papelaria no estilo "bullet journal" (versão D): papel pontilhado, menu em abas de fichário, polaroids com fita washi e anotações à mão. Inclui vitrine de produtos com links para Shopee, Mercado Livre e WhatsApp, e é compatível com Elementor e Elementor Pro.
Version: 1.3.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: maribela
*/

/* ===================================================================
   1. FONTES (locais — não dependem do Google Fonts)
   =================================================================== */
@font-face { font-family: 'Baloo 2'; font-weight: 600; font-style: normal; font-display: swap; src: url('assets/fonts/baloo-2-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-style: normal; font-display: swap; src: url('assets/fonts/baloo-2-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-style: normal; font-display: swap; src: url('assets/fonts/baloo-2-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('assets/fonts/nunito-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('assets/fonts/nunito-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('assets/fonts/nunito-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 800; font-style: normal; font-display: swap; src: url('assets/fonts/nunito-sans-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-weight: 700; font-style: normal; font-display: swap; src: url('assets/fonts/caveat-latin-700-normal.woff2') format('woff2'); }

/* ===================================================================
   2. CORES E MEDIDAS DA MARCA
   =================================================================== */
:root {
  --mb-amarelo: #F9C846;
  --mb-manteiga: #FFE17B;
  --mb-rosa: #F6B9C9;
  --mb-azul: #A9DCEF;
  --mb-creme: #FFF9ED;
  --mb-papel: #FFFDF6;
  --mb-mel: #4A2F04;
  --mb-mel-2: #5C3A05;
  --mb-mel-3: #7A5A2A;
  --mb-rosa-texto: #B24D72;
  --mb-azul-texto: #1F4A60;
  --mb-linha: #E6D8BC;
  --mb-pauta: #DCEBF2;
  --mb-sombra: 0 8px 20px rgba(122, 78, 8, .10);
  --mb-sombra-2: 0 10px 18px rgba(122, 78, 8, .12);
  --mb-max: 1200px;
  --mb-f-titulo: 'Baloo 2', system-ui, sans-serif;
  --mb-f-texto: 'Nunito Sans', system-ui, sans-serif;
  --mb-f-mao: 'Caveat', cursive;
  --mb-washi-amarelo: repeating-linear-gradient(45deg, rgba(249,200,70,.85) 0 8px, rgba(255,243,204,.85) 8px 16px);
  --mb-washi-rosa: repeating-linear-gradient(45deg, rgba(246,185,201,.85) 0 8px, rgba(255,240,244,.85) 8px 16px);
  --mb-washi-azul: repeating-linear-gradient(45deg, rgba(169,220,239,.85) 0 8px, rgba(235,248,253,.85) 8px 16px);
}

/* ===================================================================
   3. BASE
   =================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--mb-f-texto);
  font-size: 17px;
  line-height: 1.6;
  color: var(--mb-mel);
  background-color: var(--mb-papel);
  background-image: radial-gradient(var(--mb-linha) 1.3px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mb-mel); }
a:hover { color: var(--mb-rosa-texto); }
h1, h2, h3, h4 { font-family: var(--mb-f-titulo); font-weight: 800; line-height: 1.05; color: var(--mb-mel); margin: 0 0 .4em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--mb-rosa-texto); outline-offset: 3px; }
.mb-skip { position: absolute; left: -9999px; top: 0; background: var(--mb-mel); color: var(--mb-creme); padding: 10px 16px; z-index: 1000; }
.mb-skip:focus { left: 12px; top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.mb-wrap { max-width: var(--mb-max); margin: 0 auto; padding: 0 24px; }
.mb-section { padding: 56px 0; }

/* ===================================================================
   4. ELEMENTOS DE ESTILO (usar como "Classes CSS" no Elementor)
   =================================================================== */
.mb-hand { font-family: var(--mb-f-mao) !important; font-weight: 700 !important; color: var(--mb-rosa-texto); font-size: 30px; line-height: 1.1; display: inline-block; transform: rotate(-2deg); }
.mb-mark { background: linear-gradient(transparent 52%, var(--mb-manteiga) 52%, var(--mb-manteiga) 86%, transparent 86%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .12em; }
.mb-mark--rosa { background: linear-gradient(transparent 52%, var(--mb-rosa) 52%, var(--mb-rosa) 86%, transparent 86%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mb-mark--azul { background: linear-gradient(transparent 52%, var(--mb-azul) 52%, var(--mb-azul) 86%, transparent 86%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.mb-paper { position: relative; background: #fff; box-shadow: var(--mb-sombra); border-radius: 6px; }
.mb-ruled { position: relative; background-color: #fff; background-image: repeating-linear-gradient(transparent 0 39px, var(--mb-pauta) 39px 41px); border-left: 3px solid var(--mb-rosa); box-shadow: var(--mb-sombra); }
.mb-tape { position: absolute; top: -13px; left: 50%; width: 110px; height: 26px; margin-left: -55px; transform: rotate(-3deg); background: var(--mb-washi-amarelo); pointer-events: none; z-index: 2; }
.mb-tape--rosa { background: var(--mb-washi-rosa); transform: rotate(2deg); }
.mb-tape--azul { background: var(--mb-washi-azul); transform: rotate(-2deg); }
.mb-tape--esq { left: 40px; margin-left: 0; }
.mb-tape--dir { left: auto; right: 48px; margin-left: 0; }

.mb-postit { display: flex; flex-direction: column; gap: 6px; padding: 26px; min-height: 170px; box-shadow: var(--mb-sombra-2); text-decoration: none; color: var(--mb-mel); background: var(--mb-manteiga); }
.mb-postit:nth-child(4n+1) { transform: rotate(-1.4deg); }
.mb-postit:nth-child(4n+2) { transform: rotate(1deg); background: var(--mb-rosa); }
.mb-postit:nth-child(4n+3) { transform: rotate(-.7deg); background: var(--mb-azul); color: var(--mb-azul-texto); }
.mb-postit:nth-child(4n+4) { transform: rotate(1.3deg); background: #fff; }
.mb-postit__titulo { font-family: var(--mb-f-titulo); font-weight: 800; font-size: 30px; line-height: 1; }
.mb-postit__info { font-weight: 700; font-size: 17px; word-break: break-word; }
.mb-postit__acao { margin-top: auto; font-family: var(--mb-f-mao); font-weight: 700; font-size: 24px; }
a.mb-postit:hover { color: inherit; filter: brightness(1.02); transform: rotate(0deg) translateY(-2px); }

/* Botões (HTML próprio do tema) */
html body .mb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 12px; font-family: var(--mb-f-texto); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; border: 2px solid var(--mb-mel); transition: transform .15s ease; }
html body .mb-btn--escuro { background: var(--mb-mel); color: var(--mb-creme); box-shadow: 4px 4px 0 var(--mb-amarelo); }
html body .mb-btn--escuro:hover { color: var(--mb-creme); transform: translate(-1px, -1px); }
html body .mb-btn--claro { background: #fff; color: var(--mb-mel); }
html body .mb-btn--amarelo { background: var(--mb-manteiga); color: var(--mb-mel); }
html body .mb-btn--linha { background: #fff; color: var(--mb-mel); border-color: var(--mb-linha); }
html body .mb-btn--bloco { display: flex; width: 100%; }

/* ===================================================================
   5. CABEÇALHO EM ABAS DE FICHÁRIO
   =================================================================== */
.mb-header { border-bottom: 2px solid var(--mb-linha); background: rgba(255, 253, 246, .92); position: relative; z-index: 50; }
.mb-header__in { max-width: var(--mb-max); margin: 0 auto; padding: 16px 24px 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.mb-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; padding-bottom: 14px; }
.mb-logo img, .mb-logo svg { width: 54px; height: auto; }
.mb-logo__txt { display: flex; flex-direction: column; }
.mb-logo__nome { font-family: var(--mb-f-titulo); font-weight: 700; font-size: 28px; line-height: 1; color: var(--mb-mel); }
.mb-logo__sub { font-weight: 700; font-size: 11px; letter-spacing: .26em; color: var(--mb-rosa-texto); }
.mb-logo .custom-logo { width: auto; max-height: 56px; }
.mb-tabs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; }
.mb-tabs li { margin: 0; }
.mb-tabs a { display: flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 14px 14px 0 0; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--mb-mel); background: var(--mb-amarelo); transition: min-height .15s ease; }
.mb-tabs li:nth-child(4n+2) a { background: var(--mb-rosa); }
.mb-tabs li:nth-child(4n+3) a { background: var(--mb-azul); color: var(--mb-azul-texto); }
.mb-tabs li:nth-child(4n+4) a { background: var(--mb-manteiga); }
.mb-tabs a:hover { min-height: 50px; color: var(--mb-mel); }
.mb-tabs .current-menu-item > a, .mb-tabs .current_page_item > a, .mb-tabs .current-menu-ancestor > a, .mb-tabs .mb-ativo > a { min-height: 52px; font-weight: 800; box-shadow: inset 0 -4px 0 currentColor; }
html body .mb-menu-toggle { display: none; }

@media (max-width: 720px) {
  .mb-header__in { align-items: center; padding-bottom: 12px; }
  .mb-logo { padding-bottom: 0; }
  html body .mb-menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 2px solid var(--mb-mel); border-radius: 10px; background: #fff; font: 700 15px var(--mb-f-texto); color: var(--mb-mel); cursor: pointer; }
  .mb-nav { width: 100%; display: none; }
  .mb-nav.is-open { display: block; }
  .mb-tabs { flex-direction: column; align-items: stretch; }
  .mb-tabs a { border-radius: 10px; min-height: 48px; }
  .mb-tabs a:hover { min-height: 48px; }
}

/* ===================================================================
   6. RODAPÉ
   =================================================================== */
.mb-footer { background: #fff; border-top: 2px dashed var(--mb-linha); margin-top: 40px; }
.mb-footer__in { max-width: var(--mb-max); margin: 0 auto; padding: 44px 24px 24px; display: flex; flex-wrap: wrap; gap: 28px 56px; justify-content: space-between; align-items: flex-start; }
.mb-footer__marca { flex: 1 1 280px; }
.mb-footer__frase { margin: 10px 0 0; font-family: var(--mb-f-mao); font-weight: 700; font-size: 26px; color: var(--mb-mel-3); }
.mb-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; font-weight: 600; font-size: 15px; }
.mb-footer__menu a { text-decoration: none; padding: 6px 0; display: inline-block; }
.mb-footer__contato { font-size: 15px; line-height: 1.9; }
.mb-footer__base { max-width: var(--mb-max); margin: 0 auto; padding: 14px 24px 26px; font-size: 13px; color: var(--mb-mel-3); }

/* ===================================================================
   7. PRODUTOS — POLAROIDS
   =================================================================== */
.mb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 44px 28px; }
.mb-polaroid { position: relative; background: #fff; padding: 14px 14px 18px; box-shadow: var(--mb-sombra); display: flex; flex-direction: column; }
.mb-grid--torto .mb-polaroid:nth-child(4n+1) { transform: rotate(-1deg); }
.mb-grid--torto .mb-polaroid:nth-child(4n+2) { transform: rotate(1deg); }
.mb-grid--torto .mb-polaroid:nth-child(4n+3) { transform: rotate(-.6deg); }
.mb-grid--torto .mb-polaroid:nth-child(4n+4) { transform: rotate(1.2deg); }
.mb-polaroid .mb-tape { width: 84px; height: 24px; margin-left: -42px; top: -12px; }
.mb-polaroid:nth-child(3n+2) .mb-tape { background: var(--mb-washi-rosa); transform: rotate(2deg); }
.mb-polaroid:nth-child(3n+3) .mb-tape { background: var(--mb-washi-azul); transform: rotate(-2deg); }
.mb-polaroid__link { display: block; text-decoration: none; color: var(--mb-mel); }
.mb-polaroid__foto { aspect-ratio: 1 / 1; background: var(--mb-creme); overflow: hidden; }
.mb-polaroid__foto img { width: 100%; height: 100%; object-fit: cover; }
.mb-polaroid__cat { display: block; margin-top: 12px; font-family: var(--mb-f-mao); font-weight: 700; font-size: 20px; color: var(--mb-rosa-texto); text-transform: lowercase; }
.mb-polaroid__nome { margin: 0; font-family: var(--mb-f-titulo); font-weight: 700; font-size: 22px; line-height: 1.15; }
.mb-polaroid__preco { margin: 2px 0 0; font-weight: 700; font-size: 17px; }
.mb-preco-de { text-decoration: line-through; font-weight: 600; color: var(--mb-mel-3); margin-right: 6px; font-size: .9em; }
.mb-polaroid__compra { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; }
.mb-polaroid__compra a { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 4px 8px; border-radius: 10px; border: 2px solid var(--mb-mel); font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none; color: var(--mb-mel); background: #fff; }
.mb-polaroid__compra a.is-ml { background: var(--mb-mel); color: var(--mb-creme); }
.mb-polaroid__compra a.is-zap { border-color: var(--mb-linha); }
@media (max-width: 600px) {
  .mb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .mb-polaroid { padding: 9px 9px 12px; }
  .mb-polaroid__nome { font-size: 17px; }
  .mb-polaroid__cat { font-size: 17px; margin-top: 8px; }
  .mb-polaroid__preco { font-size: 15px; }
  .mb-polaroid__compra { flex-direction: column; gap: 6px; }
  .mb-polaroid__compra a { min-height: 40px; font-size: 13px; }
  .mb-polaroid__nota { font-size: 18px; }
  .mb-polaroid .mb-tape { width: 64px; margin-left: -32px; }
}
.mb-polaroid__nota { position: absolute; right: -6px; top: 28%; font-family: var(--mb-f-mao); font-weight: 700; font-size: 24px; color: var(--mb-rosa-texto); transform: rotate(8deg); background: var(--mb-papel); padding: 0 6px; z-index: 3; }

/* Cabeçalho de seção com link ao lado */
.mb-cabeca { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; margin-bottom: 34px; }
.mb-cabeca h1, .mb-cabeca h2 { margin: 0; }
.mb-h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1; }
.mb-h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.05; }

/* ===================================================================
   8. LOJA
   =================================================================== */
.mb-loja-topo { padding: 48px 0 16px; }
.mb-loja-topo p { max-width: 600px; color: var(--mb-mel-2); font-size: 18px; }
html body .mb-filtros { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 8px; list-style: none; padding: 0; }
html body .mb-filtro { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 2px solid var(--mb-linha); border-radius: 12px; background: #fff; font-weight: 600; font-size: 16px; color: var(--mb-mel); text-decoration: none; }
html body .mb-filtro svg { flex: none; }
html body .mb-filtro.is-ativo { background: var(--mb-manteiga); border-color: var(--mb-mel); font-weight: 700; box-shadow: 3px 3px 0 var(--mb-mel); }
html body .mb-filtro .mb-check { display: none; }
html body .mb-filtro.is-ativo .mb-check { display: block; }
.mb-contagem { font-family: var(--mb-f-mao); font-weight: 700; font-size: 24px; color: var(--mb-mel-3); margin: 6px 0 24px; }
.mb-lembrete { margin-top: 64px; background: var(--mb-manteiga); padding: 32px clamp(24px, 4vw, 44px); box-shadow: var(--mb-sombra-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; transform: rotate(-.6deg); }
.mb-lembrete h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); }
.mb-paginacao { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px; }
.mb-paginacao .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 12px; border: 2px solid var(--mb-linha); border-radius: 10px; background: #fff; text-decoration: none; font-weight: 700; }
.mb-paginacao .current { background: var(--mb-mel); color: var(--mb-creme); border-color: var(--mb-mel); }
.mb-vazio { padding: 40px; text-align: center; }

/* ===================================================================
   9. PÁGINA DE PRODUTO
   =================================================================== */
.mb-trilha { font-size: 15px; font-weight: 600; color: var(--mb-mel-3); display: flex; flex-wrap: wrap; gap: 8px; padding-top: 32px; }
.mb-trilha a { color: var(--mb-mel-3); }
.mb-produto { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; padding: 32px 0 40px; }
.mb-produto__galeria { flex: 1 1 460px; min-width: 0; }
.mb-produto__info { flex: 1 1 420px; min-width: 0; }
.mb-produto__foto { position: relative; background: #fff; padding: 18px 18px 64px; box-shadow: 0 10px 26px rgba(122,78,8,.12); transform: rotate(-1deg); }
.mb-produto__foto .mb-tape { width: 120px; height: 28px; margin-left: -60px; top: -14px; }
.mb-produto__foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.mb-produto__legenda { position: absolute; left: 22px; right: 22px; bottom: 14px; font-family: var(--mb-f-mao); font-weight: 700; font-size: 28px; line-height: 1.1; }
.mb-miniaturas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; list-style: none; padding: 0; }
html body .mb-miniaturas button { width: 84px; height: 84px; padding: 4px; border: 2px solid var(--mb-linha); border-radius: 12px; background: #fff; cursor: pointer; }
html body .mb-miniaturas button[aria-pressed="true"] { border-color: var(--mb-mel); box-shadow: 3px 3px 0 var(--mb-mel); }
.mb-miniaturas img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.mb-produto__cat { font-family: var(--mb-f-mao); font-weight: 700; font-size: 28px; color: var(--mb-rosa-texto); text-decoration: none; }
.mb-produto__nome { font-size: clamp(40px, 5vw, 64px); line-height: 1; margin: 0; }
.mb-produto__preco { margin: 10px 0 0; font-family: var(--mb-f-titulo); font-weight: 700; font-size: 32px; }
.mb-produto__desc { margin-top: 14px; font-size: 18px; color: var(--mb-mel-2); }
.mb-produto__desc > *:last-child { margin-bottom: 0; }
.mb-produto__compra { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.mb-detalhes { margin-top: 30px; padding: 6px 22px 10px; background-image: repeating-linear-gradient(transparent 0 35px, var(--mb-pauta) 35px 37px); }
.mb-detalhes__titulo { display: block; font-family: var(--mb-f-mao); font-weight: 700; font-size: 26px; line-height: 37px; color: var(--mb-rosa-texto); }
.mb-detalhes dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); font-size: 16px; line-height: 37px; }
.mb-detalhes dt { font-weight: 700; }
.mb-detalhes dd { margin: 0; }

/* ===================================================================
   10. BLOCOS DE PÁGINA (shortcodes)
   =================================================================== */
/* Colagem de polaroids do topo */
.mb-colagem { position: relative; min-height: 470px; width: 100%; }
.mb-colagem__item { position: absolute; background: #fff; padding: 14px 14px 48px; box-shadow: 0 8px 20px rgba(122,78,8,.12); }
.mb-colagem__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.mb-colagem__item span.mb-colagem__legenda { position: absolute; left: 16px; bottom: 10px; font-family: var(--mb-f-mao); font-weight: 700; font-size: 24px; color: var(--mb-mel); }
.mb-colagem__item:nth-child(1) { left: 2%; top: 30px; width: 52%; transform: rotate(-3deg); }
.mb-colagem__item:nth-child(2) { right: 2%; top: 0; width: 44%; transform: rotate(3deg); }
.mb-colagem__item:nth-child(3) { right: 12%; bottom: 0; width: 40%; transform: rotate(-1.5deg); }
.mb-colagem__item:nth-child(3) .mb-tape { background: var(--mb-washi-amarelo); }
.mb-colagem__item:nth-child(2) .mb-tape { background: var(--mb-washi-azul); transform: rotate(3deg); }
.mb-colagem__item:nth-child(1) .mb-tape { background: var(--mb-washi-rosa); }
.mb-colagem__borboleta { position: absolute; left: 4%; bottom: 20px; width: 120px; transform: rotate(-12deg); }
@media (max-width: 560px) { .mb-colagem { min-height: 360px; } }

/* Lista de desejos (categorias) */
.mb-desejos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 32px; }
.mb-desejos a { display: flex; align-items: center; gap: 14px; min-height: 64px; border-bottom: 1.5px dashed var(--mb-linha); text-decoration: none; font-weight: 700; font-size: 20px; }
.mb-caixinha { flex: none; width: 26px; height: 26px; }

/* Mari + Bela */
.mb-maribela { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mb-maribela--linha { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 16px 22px; }
.mb-etiqueta { padding: 16px 28px 8px; font-family: var(--mb-f-titulo); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; box-shadow: 0 6px 14px rgba(122,78,8,.12); background: var(--mb-amarelo); transform: rotate(-2deg); color: var(--mb-mel); }
.mb-etiqueta--rosa { background: var(--mb-rosa); transform: rotate(2deg); }
.mb-mais { font-family: var(--mb-f-mao); font-weight: 700; font-size: 44px; line-height: .6; color: var(--mb-rosa-texto); }
.mb-maribela__nome { font-family: var(--mb-f-titulo); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; }

/* Post-its em grade */
.mb-postits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }

/* FAQ com caixinhas (usar dentro de um widget HTML) */
.mb-faq { display: flex; flex-direction: column; gap: 12px; }
.mb-faq details { background: #fff; border: 2px solid var(--mb-linha); border-radius: 12px; }
.mb-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px; font-weight: 700; font-size: 17px; }
.mb-faq summary::-webkit-details-marker { display: none; }
.mb-faq summary::before { content: ''; flex: none; width: 22px; height: 22px; border: 2px solid var(--mb-mel); border-radius: 5px; background: #fff; }
.mb-faq details[open] summary::before { background: var(--mb-manteiga) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5L10 16.5L18 7.5' fill='none' stroke='%234A2F04' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.mb-faq details p { margin: 0; padding: 0 18px 18px 54px; font-size: 16px; color: var(--mb-mel-2); }

/* ===================================================================
   11. ELEMENTOR
   As páginas, o cabeçalho e o rodapé são montados com os ajustes nativos
   do Elementor (cores e fontes globais em Configurações do Site). Aqui
   fica só o que o Elementor não tem: marca-texto, abas coloridas do menu
   e os ganchos das animações. Nada aqui usa !important, então qualquer
   ajuste feito no painel do Elementor vale mais.
   =================================================================== */
.elementor-heading-title .mb-mark, .elementor-widget-text-editor .mb-mark { color: inherit; }

/* Abas de fichário no widget "Menu de navegação" (Elementor Pro): classe mb-abas */
:where(.mb-abas) .elementor-nav-menu--main .elementor-nav-menu { gap: 6px; align-items: flex-end; }
:where(.mb-abas) .elementor-nav-menu--main .elementor-item { min-height: 44px; display: flex; align-items: center; padding: 0 22px; border-radius: 14px 14px 0 0; background: var(--mb-amarelo); transition: min-height .2s cubic-bezier(.3,1.5,.5,1); }
:where(.mb-abas) .elementor-nav-menu--main li:nth-child(5n+2) > .elementor-item { background: var(--mb-rosa); }
:where(.mb-abas) .elementor-nav-menu--main li:nth-child(5n+3) > .elementor-item { background: var(--mb-azul); }
:where(.mb-abas) .elementor-nav-menu--main li:nth-child(5n+4) > .elementor-item { background: var(--mb-manteiga); }
:where(.mb-abas) .elementor-nav-menu--main li:nth-child(5n+5) > .elementor-item { background: #fff; box-shadow: inset 0 0 0 2px var(--mb-linha); }
:where(.mb-abas) .elementor-nav-menu--main .elementor-item:hover { min-height: 50px; }
:where(.mb-abas) .elementor-nav-menu--main .elementor-item.elementor-item-active { min-height: 52px; font-weight: 800; box-shadow: inset 0 -4px 0 currentColor; }

/* Rotação suave dos post-its/polaroids nativos ao passar o mouse */
.e-con.mb-anim-postit, .e-con.mb-anim-polaroid { transition: transform .3s ease, box-shadow .3s ease; transform-origin: 50% 0; }
a.e-con.mb-anim-postit:hover { animation: mb-balanco .9s ease-in-out; }
.e-con.mb-anim-polaroid:hover { --e-con-transform-rotateZ: 0deg; --e-con-transform-translateY: -6px; box-shadow: 0 18px 34px rgba(122,78,8,.18); z-index: 5; }

/* Fita adesiva (widget de Imagem com a fita washi) não bloqueia cliques */
.mb-fita { pointer-events: none; }

/* ===================================================================
   12. CONTEÚDO PADRÃO (posts e páginas sem Elementor)
   =================================================================== */
.mb-conteudo { max-width: 820px; margin: 0 auto; padding: 56px 24px; }
.mb-conteudo .mb-ruled { padding: 34px clamp(24px, 5vw, 56px); }
.mb-404 { text-align: center; padding: 88px 24px; }

/* ===================================================================
   12. RECURSOS DE VENDA
   =================================================================== */

/* Faixa de aviso */
.mb-aviso { position: relative; z-index: 60; background: var(--mb-amarelo); color: var(--mb-mel); font-weight: 700; font-size: 15px; transition: opacity .3s ease, margin-top .3s ease; }
.mb-aviso--rosa { background: var(--mb-rosa); }
.mb-aviso--azul { background: var(--mb-azul); color: var(--mb-azul-texto); }
.mb-aviso__in { max-width: var(--mb-max); margin: 0 auto; padding: 9px 56px 9px 24px; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 44px; }
.mb-aviso__in a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.mb-aviso__borboleta { flex: none; }
html body .mb-aviso__fechar { position: absolute; right: 10px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: inherit; cursor: pointer; border-radius: 8px; }
html body .mb-aviso__fechar:hover { background: rgba(255,255,255,.4); }
.mb-aviso.is-saindo { opacity: 0; }

/* Coração (favoritos) */
html body .mb-coracao { position: absolute; top: 22px; right: 22px; z-index: 4; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 3px 8px rgba(122,78,8,.15); cursor: pointer; transition: transform .15s ease; }
html body .mb-coracao:hover { transform: scale(1.08); }
html body .mb-coracao.is-on { --mb-coracao: #F6B9C9; }
html body .mb-coracao.is-pulo { animation: mb-pulo .5s cubic-bezier(.3,1.6,.5,1); }
html body .mb-coracao--grande { position: static; flex: none; width: 52px; height: 52px; border: 2px solid var(--mb-linha); box-shadow: none; }
.mb-produto__titulo { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
@keyframes mb-pulo { 0% { transform: scale(1); } 40% { transform: scale(1.35) rotate(-8deg); } 100% { transform: scale(1); } }

/* Coração no cabeçalho */
.mb-fav-topo { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 50%; background: #fff; border: 2px solid var(--mb-linha); text-decoration: none; order: 3; }
.mb-fav-topo__n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--mb-rosa-texto); color: #fff; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; }
.mb-header__in .mb-nav { order: 2; margin-left: auto; }
@media (max-width: 860px) {
  .mb-header__in { gap: 10px 10px; }
  .mb-fav-topo { margin: 0 0 0 auto; order: 1; }
  html body .mb-menu-toggle { order: 2; }
  .mb-header__in .mb-nav { order: 4; margin-left: 0; }
}

/* Selos (adesivos) */
.mb-selo { position: absolute; top: 24px; left: 6px; z-index: 4; padding: 5px 12px 4px; border-radius: 6px; background: var(--mb-rosa); color: var(--mb-mel); font-family: var(--mb-f-mao); font-weight: 700; font-size: 21px; line-height: 1; transform: rotate(-6deg); box-shadow: 0 3px 6px rgba(122,78,8,.18); }
.mb-selo::after { content: ""; position: absolute; inset: 3px; border: 1.5px dashed rgba(74,47,4,.35); border-radius: 4px; pointer-events: none; }
.mb-selo--novidade { background: var(--mb-azul); color: var(--mb-azul-texto); }
.mb-selo--promocao { background: var(--mb-amarelo); }
.mb-selo--ultimas { background: var(--mb-rosa); color: #7a2346; }
.mb-selo--esgotado { background: #fff; color: var(--mb-mel-3); }
.mb-selo--presente { background: var(--mb-manteiga); }
.mb-selo--grande { top: 34px; left: -8px; font-size: 28px; padding: 7px 16px 6px; }
.mb-polaroid.is-esgotado .mb-polaroid__foto img { filter: grayscale(.6) opacity(.75); }

/* + kit no card */
.mb-polaroid__link { flex: 1 1 auto; }
html body .mb-kit-add { align-self: flex-start; margin-top: 8px; min-height: 36px; padding: 0 14px; border: 2px dashed var(--mb-mel-3); border-radius: 18px; background: var(--mb-papel); color: var(--mb-mel); font: 700 14px var(--mb-f-texto); cursor: pointer; transition: background .15s ease, border-color .15s ease; }
html body .mb-kit-add:hover { background: var(--mb-manteiga); border-style: solid; }
html body .mb-kit-add.is-ok { background: var(--mb-azul); border-color: var(--mb-azul-texto); color: var(--mb-azul-texto); border-style: solid; }
html body .mb-btn--kit { border-style: dashed; border-color: var(--mb-mel-3); }
html body .mb-btn--kit.is-ok { background: var(--mb-azul); color: var(--mb-azul-texto); }

/* WhatsApp flutuante (post-it) */
.mb-zap { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: inline-flex; align-items: center; gap: 8px; min-height: 58px; padding: 0 18px 0 14px; background: var(--mb-amarelo); color: var(--mb-mel); text-decoration: none; font-family: var(--mb-f-mao); font-weight: 700; font-size: 24px; box-shadow: 0 10px 22px rgba(122,78,8,.22); transform: rotate(-3deg); transform-origin: 50% 0; transition: transform .2s ease; }
.mb-zap::before { content: ""; position: absolute; top: -10px; left: 50%; width: 56px; height: 18px; margin-left: -28px; background: var(--mb-washi-azul); transform: rotate(4deg); }
.mb-zap:hover { color: var(--mb-mel); transform: rotate(0deg) translateY(-3px); }
@media (max-width: 600px) { .mb-zap { padding: 0 12px; min-height: 54px; } .mb-zap__txt { display: none; } }

/* Botão "meu kit" */
html body .mb-kit-botao { position: fixed; right: 18px; bottom: 96px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 2px solid var(--mb-mel); border-radius: 14px; background: #fff; color: var(--mb-mel); font: 800 16px var(--mb-f-texto); cursor: pointer; box-shadow: 4px 4px 0 var(--mb-rosa); }
html body .mb-kit-botao[hidden] { display: none; }
html body .mb-kit-botao__n { min-width: 26px; height: 26px; border-radius: 13px; background: var(--mb-mel); color: var(--mb-creme); font-size: 14px; line-height: 26px; text-align: center; }
html body .mb-kit-botao.is-pulo { animation: mb-pulo .5s cubic-bezier(.3,1.6,.5,1); }
.mb-voo { position: fixed; z-index: 120; width: 26px; height: 26px; border-radius: 50%; background: var(--mb-amarelo); box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(122,78,8,.3); pointer-events: none; }

/* Gaveta do kit */
.mb-kit { position: fixed; inset: 0; z-index: 140; }
.mb-kit[hidden] { display: none; }
.mb-kit__fundo { position: absolute; inset: 0; background: rgba(74,47,4,.28); opacity: 0; transition: opacity .3s ease; }
.mb-kit__folha { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); overflow-y: auto; padding: 34px 28px 28px 34px; translate: 100% 0; transition: translate .35s cubic-bezier(.2,.8,.2,1); border-left-width: 4px; }
.mb-kit.is-aberto .mb-kit__fundo { opacity: 1; }
.mb-kit.is-aberto .mb-kit__folha { translate: 0 0; }
html body .mb-kit__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 30px; color: var(--mb-mel); cursor: pointer; border-radius: 10px; }
html body .mb-kit__x:hover { background: var(--mb-creme); }
.mb-kit__titulo { font-size: 40px; margin: 2px 0 18px; }
.mb-kit__lista { list-style: none; margin: 0 0 18px; padding: 0; }
.mb-kit__item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1.5px dashed var(--mb-linha); }
.mb-kit__item img, .mb-kit__semfoto { width: 56px; height: 56px; flex: none; object-fit: cover; border: 4px solid #fff; box-shadow: 0 2px 6px rgba(122,78,8,.15); background: var(--mb-creme); }
.mb-kit__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mb-kit__info a { font-weight: 700; color: var(--mb-mel); text-decoration: none; line-height: 1.2; }
.mb-kit__info span { font-size: 14px; color: var(--mb-mel-3); }
.mb-kit__qtd { display: flex; align-items: center; gap: 4px; }
html body .mb-kit__qtd button { width: 34px; height: 34px; border: 2px solid var(--mb-linha); border-radius: 8px; background: #fff; font-size: 18px; font-weight: 800; color: var(--mb-mel); cursor: pointer; }
.mb-kit__qtd span { min-width: 22px; text-align: center; font-weight: 800; }
.mb-kit__vazio { color: var(--mb-mel-2); }
.mb-kit__total { margin: 0 0 14px; font-size: 16px; }
.mb-kit__total strong { font-family: var(--mb-f-titulo); font-size: 24px; background: linear-gradient(transparent 52%, var(--mb-manteiga) 52%); }
html body .mb-kit__limpar { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--mb-mel-3); text-decoration: underline; cursor: pointer; font: 600 14px var(--mb-f-texto); min-height: 40px; }

/* Busca */
.mb-busca { display: flex; align-items: center; gap: 8px; max-width: 560px; margin: 22px 0 6px; padding: 6px 6px 6px 16px; background: #fff; border: 2px solid var(--mb-linha); border-radius: 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.mb-busca:focus-within { border-color: var(--mb-amarelo); box-shadow: 0 0 0 4px rgba(249,200,70,.25); }
.mb-busca input[type=search] { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; font: 600 17px var(--mb-f-texto); color: var(--mb-mel); outline: none; }
.mb-busca input::placeholder { color: var(--mb-mel-3); font-weight: 400; }
html body .mb-busca__btn { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--mb-mel); color: var(--mb-creme); font: 700 15px var(--mb-f-texto); cursor: pointer; }

/* Favoritos */
.mb-favoritos__vazio { max-width: 560px; margin: 0 auto; padding: 40px; text-align: center; }
.mb-favoritos__vazio p { margin: 8px 0 22px; }

/* ===================================================================
   13. MURAL DO INSTAGRAM E DEPOIMENTOS
   =================================================================== */
.mb-mural__grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; }
.mb-mural__foto { position: relative; display: block; background: #fff; padding: 10px 10px 40px; box-shadow: var(--mb-sombra); text-decoration: none; color: var(--mb-mel); transition: transform .25s ease, box-shadow .25s ease; }
.mb-mural__foto:nth-child(odd) { transform: rotate(-1.6deg); }
.mb-mural__foto:nth-child(even) { transform: rotate(1.4deg); }
.mb-mural__foto:nth-child(3n+2) .mb-tape { background: var(--mb-washi-rosa); }
.mb-mural__foto:nth-child(3n+3) .mb-tape { background: var(--mb-washi-azul); }
.mb-mural__foto .mb-tape { width: 70px; height: 22px; margin-left: -35px; top: -11px; }
.mb-mural__foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.mb-mural__legenda { position: absolute; left: 12px; right: 12px; bottom: 8px; font-family: var(--mb-f-mao); font-weight: 700; font-size: 21px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-mural__foto:hover { color: var(--mb-mel); transform: rotate(0) translateY(-6px); box-shadow: 0 16px 30px rgba(122,78,8,.18); }
@media (max-width: 860px) { .mb-mural__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } }

.mb-depoimentos .mb-h2 { margin: 4px 0 34px; }
.mb-depoimentos__grade { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.mb-depoimento { margin: 0; min-height: 0; }
.mb-depoimento blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.mb-depoimento blockquote p { margin: 0 0 8px; }
.mb-depoimento blockquote::before { content: "“"; display: block; height: 30px; font-family: var(--mb-f-titulo); font-size: 64px; line-height: 1; opacity: .35; }
.mb-depoimento figcaption { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; }
.mb-depoimento__nome { font-family: var(--mb-f-mao); font-weight: 700; font-size: 26px; line-height: 1.1; }
.mb-depoimento__origem { font-size: 14px; opacity: .8; }
.mb-depoimento__print { width: 100%; max-height: 220px; object-fit: cover; margin-bottom: 12px; border: 5px solid #fff; }
.mb-aviso-admin { border: 2px dashed var(--mb-linha); border-radius: 12px; background: #fff; color: var(--mb-mel-2); }

/* Seções opcionais (mural / depoimentos) somem quando estão vazias */
.e-con.mb-sec--opcional:not(:has(.mb-mural, .mb-depoimentos, .mb-aviso-admin)) { display: none !important; }

/* Como comprar */
.mb-passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: passo; }
.mb-passo { position: relative; background: #fff; padding: 34px 26px 26px; box-shadow: var(--mb-sombra); border-top: 6px solid var(--mb-amarelo); }
.mb-passo:nth-child(2) { border-top-color: var(--mb-rosa); }
.mb-passo:nth-child(3) { border-top-color: var(--mb-azul); }
.mb-passo__n { position: absolute; top: -26px; left: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--mb-mel); color: var(--mb-creme); font: 800 26px/50px var(--mb-f-titulo); text-align: center; }
.mb-passo h3 { font-size: 28px; margin: 8px 0 6px; }
.mb-passo p { margin: 0 0 10px; color: var(--mb-mel-2); }
.mb-passo ul { margin: 0; padding-left: 18px; color: var(--mb-mel-2); }
.mb-passo li { margin: 4px 0; }
@media (max-width: 860px) { .mb-passos { grid-template-columns: 1fr; gap: 40px; } }

/* Patinhas da Belinha */
.mb-patinhas { position: relative; width: 170px; height: 170px; margin: 0 auto; }
.mb-patinhas img { position: absolute; width: 38px; height: 38px; transform: rotate(var(--mb-giro, 20deg)); }

/* Borboleta: asas batendo */
.mb-asa { transform-box: fill-box; }
.mb-asa--esq { transform-origin: right center; }
.mb-asa--dir { transform-origin: left center; }

/* ===================================================================
   14. ANIMAÇÕES — só quando o JavaScript liga a classe .mb-anima
   (desligadas para quem pede "reduzir movimento" no aparelho)
   =================================================================== */
.mb-anima .mb-espera { transition-delay: var(--mb-atraso, 0ms) !important; }

/* 1. Marca-texto sendo passado */
.mb-anima .mb-mark.mb-espera { background-size: 0% 100%; background-repeat: no-repeat; transition: background-size .9s cubic-bezier(.6,.1,.3,1) .25s; }
.mb-anima .mb-mark.mb-visto { background-size: 100% 100%; }

/* 5. Letra à mão sendo escrita */
.mb-anima .mb-espera:is(.mb-hand, .mb-assinatura, .mb-polaroid__nota, .mb-colagem__legenda, .mb-anim-escrita) { clip-path: inset(-20% 100% -20% 0); transition: clip-path 1.1s steps(18, end) .15s; }
.mb-anima .mb-visto:is(.mb-hand, .mb-assinatura, .mb-polaroid__nota, .mb-colagem__legenda, .mb-anim-escrita) { clip-path: inset(-20% -5% -20% 0); }

/* 3. Polaroids sendo coladas + fita esticando */
.mb-anima .mb-espera:is(.mb-polaroid, .mb-mural__foto, .mb-colagem__item, .mb-anim-polaroid) { opacity: 0; translate: 0 -18px; scale: 1.04; transition: opacity .45s ease, translate .6s cubic-bezier(.2,.9,.3,1.25), scale .6s cubic-bezier(.2,.9,.3,1.25), transform .25s ease, box-shadow .25s ease; }
.mb-anima .mb-visto:is(.mb-polaroid, .mb-mural__foto, .mb-colagem__item, .mb-anim-polaroid) { opacity: 1; translate: 0 0; scale: 1; }
.mb-anima .mb-espera:is(.mb-polaroid, .mb-mural__foto, .mb-colagem__item, .mb-anim-polaroid) > :is(.mb-tape, .mb-fita) { scale: 0 1; transition: scale .4s cubic-bezier(.3,1.5,.5,1) calc(var(--mb-atraso, 0ms) + .45s); }
.mb-anima .mb-visto:is(.mb-polaroid, .mb-mural__foto, .mb-colagem__item, .mb-anim-polaroid) > :is(.mb-tape, .mb-fita) { scale: 1 1; }

/* Selos "carimbados" */
.mb-anima .mb-selo.mb-espera { opacity: 0; scale: 1.8; transition: opacity .25s ease .5s, scale .35s cubic-bezier(.3,1.4,.5,1) .5s; }
.mb-anima .mb-selo.mb-visto { opacity: 1; scale: 1; }

/* Papéis, pautas e post-its surgindo */
.mb-anima .mb-espera:is(.mb-paper, .mb-ruled, .mb-lembrete, html body .mb-filtros, .mb-desejos, .mb-anim-papel) { opacity: 0; translate: 0 22px; transition: opacity .6s ease, translate .7s cubic-bezier(.2,.8,.2,1); }
.mb-anima .mb-visto:is(.mb-paper, .mb-ruled, .mb-lembrete, html body .mb-filtros, .mb-desejos, .mb-anim-papel) { opacity: 1; translate: 0 0; }
.mb-anima :is(.mb-postit, .mb-anim-postit).mb-espera { opacity: 0; translate: 0 26px; scale: .94; transition: opacity .45s ease, translate .6s cubic-bezier(.2,.9,.3,1.3), scale .6s cubic-bezier(.2,.9,.3,1.3), transform .3s ease; }
.mb-anima :is(.mb-postit, .mb-anim-postit).mb-visto { opacity: 1; translate: 0 0; scale: 1; }

/* 4. Polaroid que levanta do mural */
.mb-polaroid { transition: transform .25s ease, box-shadow .25s ease; }
.mb-polaroid:hover { transform: rotate(0deg) translateY(-6px) !important; box-shadow: 0 18px 34px rgba(122,78,8,.18); z-index: 5; }

/* 6. Caixinhas sendo marcadas */
.mb-anima .mb-espera .mb-caixinha__check { stroke-dasharray: 1; stroke-dashoffset: 1; }
.mb-anima .mb-visto .mb-caixinha__check { stroke-dashoffset: 0; transition: stroke-dashoffset .35s ease .3s; }
.mb-anima .mb-visto li:nth-child(2) .mb-caixinha__check { transition-delay: .55s; }
.mb-anima .mb-visto li:nth-child(3) .mb-caixinha__check { transition-delay: .8s; }
html body .mb-filtro .mb-caixinha__check { transition: stroke-dashoffset .3s ease; }

/* 7. Post-it balançando como papel colado em cima */
.mb-postit { transform-origin: 50% 0; }
a.mb-postit:hover, .mb-depoimento:hover { animation: mb-balanco .9s ease-in-out; }
@keyframes mb-balanco { 0% { rotate: 0deg; } 25% { rotate: 2.5deg; } 50% { rotate: -2deg; } 75% { rotate: 1deg; } 100% { rotate: 0deg; } }

/* 8. Abas do fichário */
.mb-tabs a { transition: min-height .2s cubic-bezier(.3,1.5,.5,1), filter .15s ease; }
.mb-tabs a:hover { filter: brightness(1.03); }

/* 9. Mari + Bela coladas uma depois da outra */
.mb-anima :is(.mb-maribela, .mb-anim-cola).mb-espera > * { opacity: 0; scale: 1.5; rotate: -8deg; }
.mb-anima :is(.mb-maribela, .mb-anim-cola).mb-visto > * { opacity: 1; scale: 1; rotate: 0deg; transition: opacity .3s ease, scale .45s cubic-bezier(.3,1.5,.5,1), rotate .45s cubic-bezier(.3,1.5,.5,1); }
.mb-anima :is(.mb-maribela, .mb-anim-cola).mb-visto > :nth-child(2) { transition-delay: .35s; }
.mb-anima :is(.mb-maribela, .mb-anim-cola).mb-visto > :nth-child(3) { transition-delay: .6s; }
.mb-anima :is(.mb-maribela, .mb-anim-cola).mb-visto > :nth-child(4) { transition-delay: .95s; }
.mb-anima :is(.mb-maribela, .mb-anim-cola).mb-visto > :nth-child(5) { transition-delay: 1.2s; }

/* 10. Patinhas da Belinha andando */
.mb-anima .mb-patinhas.mb-espera img { opacity: 0; scale: .4; }
.mb-anima .mb-patinhas.mb-visto img { opacity: 1; scale: 1; transition: opacity .25s ease, scale .35s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--mb-i) * .32s + .2s); }

/* 2. Borboleta batendo as asas e flutuando */
.mb-anima .mb-colagem__borboleta svg { animation: mb-flutua 4.5s ease-in-out infinite; }
.mb-anima .mb-colagem__borboleta .mb-asa, .mb-anima .mb-capitulo .mb-asa, .mb-logo:hover .mb-asa { animation: mb-bate .55s ease-in-out infinite alternate; }
.mb-anima .mb-capitulo .mb-asa { animation-duration: .9s; }
@keyframes mb-bate { from { scale: 1 1; } to { scale: .55 1; } }
@keyframes mb-flutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.mb-colagem__borboleta { cursor: pointer; }
.mb-aviso__borboleta .mb-asa { animation: mb-bate .7s ease-in-out infinite alternate; }

/* 12. Confete de papel picado */
.mb-confete { position: fixed; inset: 0; z-index: 200; pointer-events: none; overflow: hidden; }
.mb-confete i { position: absolute; display: block; border-radius: 2px; box-shadow: 0 1px 2px rgba(122,78,8,.2); }

/* Gaveta, cards e botões não se mexem no editor do Elementor */
.elementor-editor-active .mb-zap, .elementor-editor-active .mb-kit-botao { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Borboleta (imagem) batendo as asas */
.mb-anima .mb-colagem__borboleta img, .mb-anima .mb-anim-borboleta img { animation: mb-bate-img .6s ease-in-out infinite alternate; transform-origin: 50% 50%; }
@keyframes mb-bate-img { from { scale: 1 1; } to { scale: .72 1; } }
.mb-anima .mb-colagem__borboleta { animation: mb-flutua 4.5s ease-in-out infinite; }

/* Botões do tema não herdam o estilo global de botões do Elementor */
html body .mb-coracao, html body .mb-kit__x, html body .mb-kit__qtd button, html body .mb-aviso__fechar { padding: 0; line-height: 1; }
html body .mb-kit__qtd button { padding: 0; }

/* ===================================================================
   15. FILTROS DA LOJA
   =================================================================== */
.mb-loja { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; align-items: start; }
.mb-grid--loja { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.mb-loja__filtros { position: sticky; top: 20px; }
.mb-loja__fundo { display: none; }
.mb-filtrar { padding: 22px 22px 22px 26px; }
.mb-filtrar__topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.mb-filtrar__titulo { font-family: var(--mb-f-mao); font-weight: 700; font-size: 32px; line-height: 41px; color: var(--mb-rosa-texto); }
html body .mb-filtrar__fechar { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--mb-mel); font-size: 30px; line-height: 1; cursor: pointer; }
.mb-filtrar__grupo { margin: 0 0 14px; padding: 0; border: 0; }
.mb-filtrar__grupo legend { padding: 0; font-family: var(--mb-f-titulo); font-weight: 800; font-size: 20px; line-height: 41px; color: var(--mb-mel); }
.mb-filtrar__grupo small { color: var(--mb-mel-3); font-weight: 400; }
.mb-opcao { display: flex; align-items: center; gap: 10px; min-height: 41px; font-weight: 600; font-size: 16px; color: var(--mb-mel); cursor: pointer; }
.mb-opcao input, .mb-cor input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mb-opcao__caixa { flex: none; width: 20px; height: 20px; border: 1.8px solid var(--mb-mel); border-radius: 5px; background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .15s ease; }
.mb-opcao input[type=radio] + .mb-opcao__caixa { border-radius: 50%; }
.mb-opcao input:checked + .mb-opcao__caixa { background: var(--mb-manteiga); }
.mb-opcao input:checked + .mb-opcao__caixa::after { content: ""; width: 9px; height: 5px; border-left: 2.2px solid var(--mb-mel); border-bottom: 2.2px solid var(--mb-mel); transform: translateY(-1px) rotate(-45deg); }
.mb-opcao input:focus-visible + .mb-opcao__caixa, .mb-cor input:focus-visible + .mb-cor__bolinha { outline: 3px solid var(--mb-azul); outline-offset: 2px; }
.mb-opcao.is-vazia { opacity: .45; cursor: default; }
.mb-cores { display: flex; flex-wrap: wrap; gap: 6px 4px; padding: 4px 0; }
.mb-cor { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; width: 52px; cursor: pointer; text-align: center; }
.mb-cor__bolinha { display: inline-block; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--mb-linha); transition: box-shadow .15s ease, transform .15s ease; }
.mb-cor:hover .mb-cor__bolinha { transform: scale(1.08); }
.mb-cor input:checked + .mb-cor__bolinha { box-shadow: 0 0 0 2.5px var(--mb-mel); }
.mb-cor input:checked + .mb-cor__bolinha::after { content: "✓"; display: flex; align-items: center; justify-content: center; height: 100%; font-weight: 800; color: var(--mb-mel); text-shadow: 0 0 3px #fff; }
.mb-cor__nome { font-size: 12px; line-height: 1.2; font-weight: 600; color: var(--mb-mel-2); }
.mb-cor__nome small { display: block; }
.mb-filtrar__acoes { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 6px; }
html body .mb-filtrar__acoes .mb-btn { min-height: 50px; }
.mb-filtrar__limpar { font-weight: 600; font-size: 15px; color: var(--mb-mel-3); min-height: 40px; display: inline-flex; align-items: center; }
@media (min-width: 901px) { html body .mb-filtrar__acoes [data-mb-filtros-aplicar] { display: none; } .mb-anima .mb-filtrar .mb-filtrar__acoes [data-mb-filtros-aplicar] { display: none; } }
.mb-loja__filtros.is-carregando .mb-filtrar { opacity: .6; }

.mb-barra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-bottom: 18px; }
.mb-barra .mb-contagem { margin: 0; flex: 1; }
html body .mb-barra__filtrar { display: none; min-height: 46px; padding: 0 16px; }
.mb-barra__n { min-width: 22px; height: 22px; border-radius: 11px; background: var(--mb-rosa-texto); color: #fff; font-size: 13px; line-height: 22px; text-align: center; }
.mb-ordenar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mb-ordenar label { font-family: var(--mb-f-mao); font-weight: 700; font-size: 22px; color: var(--mb-mel-3); }
.mb-ordenar select { min-height: 44px; padding: 0 36px 0 14px; border: 2px solid var(--mb-linha); border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A2F04' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; font: 700 15px var(--mb-f-texto); color: var(--mb-mel); appearance: none; cursor: pointer; }
.mb-escolhidos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 22px; padding: 0; }
.mb-escolhidos a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 18px; background: var(--mb-manteiga); color: var(--mb-mel); font-weight: 700; font-size: 14px; text-decoration: none; }
.mb-escolhidos a:hover { background: var(--mb-rosa); }
.mb-escolhidos .mb-cor__bolinha { width: 16px; height: 16px; border-width: 1.5px; }

@media (max-width: 900px) {
  .mb-loja { grid-template-columns: 1fr; gap: 0; }
  html body .mb-barra__filtrar { display: inline-flex; }
  .mb-barra .mb-contagem { order: 3; flex-basis: 100%; }
  .mb-loja__filtros { position: fixed; inset: 0; z-index: 150; visibility: hidden; pointer-events: none; }
  .mb-loja__fundo { display: block; position: absolute; inset: 0; background: rgba(74,47,4,.3); opacity: 0; transition: opacity .3s ease; }
  .mb-loja__filtros .mb-filtrar { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow-y: auto; border-radius: 18px 18px 0 0; border-left: 0; border-top: 4px solid var(--mb-rosa); translate: 0 100%; transition: translate .35s cubic-bezier(.2,.8,.2,1); padding-bottom: 28px; }
  .mb-loja__filtros.is-aberta { visibility: visible; pointer-events: auto; }
  .mb-loja__filtros.is-aberta .mb-loja__fundo { opacity: 1; }
  .mb-loja__filtros.is-aberta .mb-filtrar { translate: 0 0; }
  html body .mb-filtrar__fechar { display: inline-flex; align-items: center; justify-content: center; }
  .mb-filtrar__acoes { position: sticky; bottom: -28px; background: #fff; padding: 12px 0 4px; }
  .mb-ordenar label { font-size: 19px; }
}
body.mb-sem-rolar { overflow: hidden; }

/* Bolinhas no card */
.mb-bolinhas { display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.mb-bolinhas .mb-cor__bolinha { width: 16px; height: 16px; border-width: 1.5px; box-shadow: 0 0 0 1px var(--mb-linha); }
.mb-bolinhas small { font-size: 12px; color: var(--mb-mel-3); font-weight: 700; }

/* ===================================================================
   16. PRODUTO: CORES, ZOOM, COMPARTILHAR, VISTOS
   =================================================================== */
.mb-produto__cores { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 4px; }
.mb-produto__cores-rotulo { font-family: var(--mb-f-mao); font-weight: 700; font-size: 24px; color: var(--mb-rosa-texto); margin-right: 2px; }
html body .mb-cor-produto { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.mb-cor-produto .mb-cor__bolinha { width: 34px; height: 34px; }
.mb-cor-produto:hover .mb-cor__bolinha, .mb-cor-produto.is-ativa .mb-cor__bolinha { box-shadow: 0 0 0 2.5px var(--mb-mel); }
.mb-cor-produto.is-sem-foto { cursor: default; }
.mb-produto__cor-nome { font-weight: 700; font-size: 15px; color: var(--mb-mel-2); min-width: 60px; }
html body .mb-zoom-btn { position: absolute; right: 26px; bottom: 74px; z-index: 3; width: 48px; height: 48px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 4px 10px rgba(122,78,8,.2); cursor: zoom-in; }
.mb-zoom { position: fixed; inset: 0; z-index: 300; background: rgba(255,253,246,.97); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s ease; }
.mb-zoom.is-aberto { opacity: 1; }
.mb-zoom__area { width: min(92vw, 1100px); height: min(82vh, 1100px); overflow: hidden; cursor: zoom-in; background: #fff; box-shadow: 0 10px 30px rgba(122,78,8,.15); }
.mb-zoom__area img { width: 100%; height: 100%; object-fit: contain; transform: scale(1); transition: transform .2s ease; }
.mb-zoom__area:hover img { transform: scale(2.2); }
.mb-zoom__dica { margin: 12px 0 0; font-family: var(--mb-f-mao); font-weight: 700; font-size: 22px; color: var(--mb-mel-3); }
html body .mb-zoom__x { position: absolute; top: 14px; right: 14px; width: 50px; height: 50px; padding: 0; border: 2px solid var(--mb-linha); border-radius: 50%; background: #fff; font-size: 30px; line-height: 1; color: var(--mb-mel); cursor: pointer; }
@media (max-width: 900px) {
  .mb-zoom__area { overflow: auto; -webkit-overflow-scrolling: touch; }
  .mb-zoom__area img { width: 220%; height: auto; max-width: none; object-fit: initial; }
  .mb-zoom__area:hover img { transform: none; }
}
.mb-compartilhar { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
html body .mb-compartilhar__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--mb-mel); font: 700 15px var(--mb-f-texto); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html body .mb-compartilhar__btn:hover { color: var(--mb-rosa-texto); }
.mb-compartilhar__btn.is-ok { color: var(--mb-azul-texto); }
.mb-vistos { padding: 32px 0 56px; }
.mb-vistos .mb-h2 { margin: 2px 0 30px; }
.e-con.mb-sec--vistos:not(:has(.mb-vistos.is-cheio)) { display: none !important; }

/* ===================================================================
   17. TEMA DA ÉPOCA — carimbo
   =================================================================== */
.mb-carimbo { position: absolute; z-index: 6; right: 4%; top: -14px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 138px; height: 138px; border-radius: 50%; background: var(--mb-amarelo); color: var(--mb-mel); text-decoration: none; text-align: center; transform: rotate(10deg); box-shadow: 0 8px 18px rgba(122,78,8,.2); outline: 2px dashed rgba(74,47,4,.35); outline-offset: -9px; }
.mb-carimbo--rosa { background: var(--mb-rosa); }
.mb-carimbo--azul { background: var(--mb-azul); color: var(--mb-azul-texto); }
.mb-carimbo__txt { font-family: var(--mb-f-mao); font-weight: 700; font-size: 26px; line-height: 1; padding: 0 14px; }
.mb-carimbo__sub { margin-top: 4px; font-size: 12px; font-weight: 700; }
.mb-carimbo:hover { color: inherit; transform: rotate(0deg) scale(1.05); }
.mb-loja-topo { position: relative; }
.mb-loja-topo .mb-carimbo { top: 34px; right: 0; }
.mb-anima .mb-carimbo { animation: mb-carimbar .6s cubic-bezier(.3,1.5,.5,1) 1s both; }
@keyframes mb-carimbar { from { opacity: 0; scale: 1.8; } to { opacity: 1; scale: 1; } }
@media (max-width: 600px) { .mb-carimbo { width: 104px; height: 104px; } .mb-carimbo__txt { font-size: 20px; } .mb-loja-topo .mb-carimbo { top: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 600px) {
  .mb-grid--loja { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .mb-ordenar label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mb-ordenar select { min-height: 46px; }
  .mb-filtros { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .mb-filtros::-webkit-scrollbar { display: none; }
  .mb-filtros li { flex: none; }
}
.mb-colagem-nativa .mb-carimbo { top: auto; right: auto; bottom: 18px; left: 6%; }
