/* MAXLEN Core: estilos mínimos, no padrão visual do site */
.mx-bloco { margin: 40px 0; }
.mx-bloco h2 { color: #050E1A; margin: 0 0 16px; }

.mx-ficha table { width: 100%; border-collapse: collapse; }
.mx-ficha th,
.mx-ficha td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #DBDEE1; }
.mx-ficha th { width: 40%; color: #3A4A5C; font-weight: 600; background: #F2F6FA; }
.mx-link-pdf { color: #0256B0; font-weight: 600; }

.mx-aplicacoes ul { margin: 0; padding-left: 20px; }

.mx-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mx-fotos figure { margin: 0; }
.mx-fotos img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }

.mx-video-wrap { position: relative; aspect-ratio: 16 / 9; }
.mx-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }

.mx-faq details { border-bottom: 1px solid #DBDEE1; padding: 14px 0; }
.mx-faq summary { cursor: pointer; font-weight: 600; color: #050E1A; }
.mx-faq details > div { margin-top: 10px; color: #3A4A5C; }

.mx-grid { display: grid; grid-template-columns: repeat(var(--mx-cols, 3), 1fr); gap: 24px; }
.mx-card { border: 1px solid #DBDEE1; border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.mx-card-img { display: block; aspect-ratio: 4 / 3; background: #F2F6FA; }
.mx-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-card-body { padding: 18px 20px 22px; }
.mx-card-body h3 { margin: 0 0 8px; font-size: 1.15rem; }
.mx-card-body h3 a { color: #050E1A; text-decoration: none; }
.mx-card-body p { margin: 0 0 12px; color: #3A4A5C; }
.mx-card-link { color: #0256B0; font-weight: 600; text-decoration: none; }
.mx-card-link:hover { color: #0866C9; }

.mx-cta { margin: 40px 0; }
.mx-btn-whats { display: inline-block; padding: 16px 28px; background: #1A7F4B; color: #fff; font-weight: 700; border-radius: 8px; text-decoration: none; }
.mx-btn-whats:hover { background: #14633A; color: #fff; }

@media (max-width: 900px) {
	.mx-grid { grid-template-columns: repeat(2, 1fr); }
	.mx-fotos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.mx-grid,
	.mx-fotos { grid-template-columns: 1fr; }
	.mx-ficha th { width: 45%; }
}

/* Números de destaque (hero escuro da página do equipamento) */
.mx-destaques { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 4px 0; }
.mx-dest { display: flex; flex-direction: column; }
.mx-dest strong { color: #fff; font-size: 1.6rem; line-height: 1.1; }
.mx-dest span { color: #8FA6BC; font-size: .9rem; }

/* Primeira tela do equipamento: especificações compactas, aplicações e miniaturas */
.mx-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; margin: 0; padding: 8px 20px; background: #fff; border: 1px solid #DBDEE1; border-radius: 12px; }
.mx-specs > div { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid #EDF0F3; }
.mx-specs > div:nth-last-child(-n+2):nth-child(odd),
.mx-specs > div:last-child { border-bottom: 0; }
.mx-specs dt { margin: 0; font-size: .82rem; color: #3A4A5C; }
.mx-specs dd { margin: 2px 0 0; font-size: 1.05rem; font-weight: 700; color: #050E1A; }

.mx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mx-chips li { margin: 0; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #DBDEE1; color: #050E1A; font-size: .92rem; }

.mx-minis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mx-minis a { display: block; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; }
.mx-minis img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mx-btn-pdf { display: inline-block; padding: 15px 24px; border: 1px solid #0256B0; color: #0256B0; font-weight: 600; border-radius: 6px; text-decoration: none; background: #fff; }
.mx-btn-pdf:hover { background: #0256B0; color: #fff; }

@media (max-width: 600px) { .mx-specs { grid-template-columns: 1fr; } }

/* Ícones de especificação */
.mx-ico-circle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #E8F0FA; color: #0256B0; }
.mx-ico-circle.mx-ico-dark { background: rgba(255,255,255,.12); color: #5BA4F2; }
.mx-ico { display: block; }

/* Card com ícones */
.mx-grid-spec { align-items: stretch; }
.mx-card-spec[hidden] { display: none; }
.mx-card-spec .mx-card-body { display: flex; flex-direction: column; flex: 1; }
.mx-card-modelo { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #0256B0; margin-bottom: 4px; }
.mx-icons { list-style: none; margin: 4px 0 18px; padding: 16px 0 0; border-top: 1px solid #EDF0F3; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
.mx-icons li { display: flex; align-items: center; gap: 10px; margin: 0; }
.mx-icons .mx-ico-circle { width: 36px; height: 36px; }
.mx-ico-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.mx-ico-txt strong { color: #050E1A; font-size: .98rem; overflow-wrap: anywhere; }
.mx-ico-txt small { color: #3A4A5C; font-size: .76rem; }
.mx-card-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.mx-btn-sm { padding: 10px 16px; font-size: .92rem; border-radius: 6px; }

/* Filtro */
.mx-filtro { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 24px; }
.mx-filtro-rotulo { font-weight: 600; color: #050E1A; margin-right: 4px; }
.mx-filtro button { padding: 9px 18px; border: 1px solid #DBDEE1; border-radius: 999px; background: #fff; color: #0256B0; font-weight: 600; cursor: pointer; }
.mx-filtro button:hover { border-color: #0256B0; }
.mx-filtro button.is-active { background: #0256B0; border-color: #0256B0; color: #fff; }

/* Tabela comparativa */
.mx-table-wrap { overflow-x: auto; border: 1px solid #DBDEE1; border-radius: 12px; background: #fff; }
.mx-comparativo { width: 100%; min-width: 760px; border-collapse: collapse; }
.mx-comparativo th, .mx-comparativo td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #EDF0F3; white-space: nowrap; }
.mx-comparativo thead th { background: #F2F6FA; color: #050E1A; font-size: .85rem; }
.mx-comparativo tbody tr:last-child th, .mx-comparativo tbody tr:last-child td { border-bottom: 0; }
.mx-comparativo tbody tr:hover { background: #F8FAFC; }
.mx-comparativo tbody th a { color: #0256B0; font-weight: 700; text-decoration: none; }
.mx-th { display: inline-flex; align-items: center; gap: 8px; }
.mx-th .mx-ico { color: #0256B0; }

/* Blocos grandes de especificação (página da bomba) */
.mx-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mx-tile { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 18px; background: #fff; border: 1px solid #DBDEE1; border-radius: 12px; }
.mx-tile .mx-ico-circle { width: 52px; height: 52px; }
.mx-tile-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.mx-tile-txt strong { color: #050E1A; font-size: 1.3rem; overflow-wrap: anywhere; }
.mx-tile-txt small { color: #3A4A5C; font-size: .85rem; margin-top: 3px; }
@media (max-width: 480px) { .mx-tiles { grid-template-columns: 1fr; } }

/* Linha da bomba aberta na tabela comparativa */
.mx-comparativo tr.mx-atual th, .mx-comparativo tr.mx-atual td { background: #E8F0FA; }
.mx-tag-atual { display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: #0256B0; color: #fff; font-size: .72rem; font-weight: 600; }

/* Botões de categorias do blog (mesmo estilo dos botões da página principal do blog) */
.mx-chips-cat { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
.mx-chips-cat a,
.mx-chips-cat a:visited { display: inline-block; box-sizing: border-box; padding: 8px 16px; border: 2px solid #0256B0; border-radius: 6px; background: transparent; color: #0256B0 !important; font-family: "Barlow", sans-serif; font-weight: 600; font-size: 14px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; text-decoration: none !important; transition: background-color .2s ease, color .2s ease; }
.mx-chips-cat a:hover,
.mx-chips-cat a:focus { background: rgba(2, 86, 176, .08); color: #0256B0 !important; }
.mx-chips-cat a.is-active,
.mx-chips-cat a.is-active:visited { background: #0256B0; color: #FFFFFF !important; }
.mx-chips-cat a.is-active:hover,
.mx-chips-cat a.is-active:focus { background: #0866C9; border-color: #0866C9; color: #FFFFFF !important; }

/* Visualizador de fotos do equipamento
   (reset forte nos botões: o tema/Elementor aplica fundo, borda e padding em todo <button>) */
.mx-viewer { width: 100%; }
.mx-viewer button,
.mx-viewer button:hover,
.mx-viewer button:focus,
.mx-viewer button:active { all: unset; box-sizing: border-box; cursor: pointer; }
.mx-viewer .mx-stage { position: relative; background: #fff; border-radius: 8px; overflow: hidden; height: var(--mx-h, 460px); display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.mx-viewer .mx-main { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; border: 0; border-radius: 0; box-shadow: none; }

/* Lupa: só o ícone, sem fundo e sem borda */
.mx-viewer .mx-zoom { position: absolute; top: 8px; right: 8px; z-index: 2; display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #0256B0 !important; text-decoration: none; filter: drop-shadow(0 0 3px rgba(255,255,255,.95)) drop-shadow(0 0 1px rgba(255,255,255,.95)); transform: none !important; transition: none !important; animation: none !important; }
.mx-viewer .mx-zoom svg { width: 26px; height: 26px; }
.mx-viewer .mx-zoom:hover,
.mx-viewer .mx-zoom:focus-visible { color: #0866C9 !important; background: transparent !important; outline: none; }

/* Miniaturas: sem borda, sem fundo */
.mx-viewer .mx-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mx-viewer .mx-thumb { display: block !important; flex: 0 0 auto; width: 84px !important; height: 84px !important; min-width: 0; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 8px !important; box-shadow: none !important; background: transparent !important; overflow: hidden; opacity: .5; transition: opacity .15s; }
.mx-viewer .mx-thumb img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; border: 0 !important; border-radius: 0; box-shadow: none; }
.mx-viewer .mx-thumb:hover,
.mx-viewer .mx-thumb:focus-visible,
.mx-viewer .mx-thumb.is-active { opacity: 1; outline: none; background: transparent !important; }
@media (max-width: 767px) {
	.mx-viewer .mx-stage { height: min(var(--mx-h, 460px), 100vw); }
	.mx-viewer .mx-thumbs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.mx-viewer .mx-thumb { width: 72px !important; height: 72px !important; }
}
