/* =========================================================================
   Mobler B2B — header, rodapé, página inicial, ferramentas B2B
   ========================================================================= */
.mb-wrap {
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}
.mbh *, .mbf *, .mbx *, .mb-tool * { box-sizing: border-box; }
.mbh .screen-reader-text, .mbx .screen-reader-text, .mb-hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.mb-ico { width: 20px; height: 20px; flex: none; }

/* Remove espaçamentos do Elementor à volta dos templates */
.elementor-location-header .elementor-widget-shortcode,
.elementor-location-footer .elementor-widget-shortcode,
.elementor-widget-shortcode:has(> .elementor-widget-container > .elementor-shortcode > .mbx) { margin: 0 !important; }
.elementor-location-header .elementor-column-gap-default > .elementor-column > .elementor-element-populated,
.elementor-location-footer .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0 !important; }

/* Header fixo (a barra de topo sai do ecrã, fica a pesquisa + categorias) */
.elementor-location-header:has(.mbh) {
	position: sticky;
	top: -40px;
	z-index: 999;
}
body.admin-bar .elementor-location-header:has(.mbh) { top: -8px; }

/* =========================================================================
   HEADER
   ========================================================================= */
.mbh {
	font-family: var(--mb-font), system-ui, sans-serif;
	color: var(--mb-ink);
	background: #fff;
	transition: box-shadow .2s;
}
.mbh.is-scrolled { box-shadow: 0 6px 24px rgba(12, 34, 63, .12); }
.mbh a { text-decoration: none; }

/* Barra de topo */
.mbh-top { background: var(--mb-primary); color: #fff; font-size: 13px; }
.mbh-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.mbh-top__left, .mbh-top__right { display: flex; align-items: center; gap: 24px; min-width: 0; }
.mbh-top__item, .mbh-top__right a {
	display: inline-flex; align-items: center; gap: 8px; color: #fff !important; white-space: nowrap;
}
.mbh-top .mb-ico { width: 16px; height: 16px; opacity: .85; }
.mbh-top__right a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mbh-top strong { font-weight: 700; }

/* Barra principal */
.mbh-main { border-bottom: 1px solid var(--mb-border); }
.mbh-main__inner { display: flex; align-items: center; gap: 32px; height: 80px; }
.mbh-logo { flex: none; display: block; line-height: 0; }
.mbh-logo img { height: 30px; width: auto; max-width: 180px; }

.mbh-search {
	flex: 1 1 auto; display: flex; align-items: stretch; height: 48px; max-width: 720px;
	border: 2px solid var(--mb-primary); border-radius: 8px; overflow: hidden; background: #fff;
}
.mbh-search input[type="search"] {
	flex: 1; min-width: 0; height: 100% !important; min-height: 0 !important;
	border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline: 0;
	padding: 0 16px !important; font-size: 16px !important; color: var(--mb-ink) !important; background: #fff !important;
}
.mbh-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.mbh-search:focus-within { box-shadow: 0 0 0 4px rgba(12, 34, 63, .18); }
.mbh-search button {
	all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; padding: 0 20px;
	background: var(--mb-primary); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer;
}
.mbh-search button:hover { background: #163a66; }
.mbh-search button:focus-visible { outline: 3px solid var(--mb-accent); outline-offset: -3px; }

.mbh-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.mbh-action, .mbh-cart {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px;
	color: var(--mb-ink) !important; line-height: 1.2;
}
.mbh-action:hover, .mbh-cart:hover { background: var(--mb-surface); }
.mbh-action .mb-ico, .mbh-cart .mb-ico { width: 26px; height: 26px; color: var(--mb-primary); }
.mbh-action__text { display: flex; flex-direction: column; }
.mbh-action__label { font-size: 14px; font-weight: 700; color: var(--mb-ink); }
.mbh-action__sub, .mbh-cart__total { font-size: 12px; color: var(--mb-muted); }
.mbh-cart__total .amount { font-weight: 600; color: var(--mb-muted) !important; font-size: 12px !important; }
.mbh-cart__icon { position: relative; display: inline-flex; }
.mbh-cart__count {
	position: absolute; top: -7px; right: -9px; min-width: 20px; height: 20px; padding: 0 5px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px; background: var(--mb-accent); color: #fff; font-size: 11px; font-weight: 800; border: 2px solid #fff;
}

/* Barra de categorias */
.mbh-nav { background: #fff; border-bottom: 1px solid var(--mb-border); }
.mbh-nav__inner { display: flex; align-items: stretch; gap: 8px; height: 50px; }
.mbh-mega { position: relative; display: flex; }
.mbh-mega__toggle {
	all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 10px; padding: 0 18px;
	background: var(--mb-primary); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
}
.mbh-mega__toggle .mb-ico:last-child { width: 16px; height: 16px; transition: transform .15s; }
.mbh-mega.is-open .mbh-mega__toggle .mb-ico:last-child { transform: rotate(180deg); }
.mbh-mega__toggle:focus-visible { outline: 3px solid var(--mb-accent); outline-offset: -3px; }

.mbh-mega__panel {
	position: absolute; top: 100%; left: 0; z-index: 1000;
	display: grid; grid-template-columns: 300px 1fr; width: min(1272px, calc(100vw - 48px)); min-height: 440px;
	background: #fff; border: 1px solid var(--mb-border); border-top: 3px solid var(--mb-primary);
	box-shadow: 0 24px 48px rgba(12, 34, 63, .18);
}
.mbh-mega__panel[hidden] { display: none; }
.mbh-mega__groups { list-style: none; margin: 0; padding: 8px 0; background: var(--mb-surface); border-right: 1px solid var(--mb-border); }
.mbh-mega__groups a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 18px;
	color: var(--mb-ink) !important; font-size: 14.5px; font-weight: 600;
}
.mbh-mega__groups a .mb-ico { width: 16px; height: 16px; color: var(--mb-muted); }
.mbh-mega__groups a[aria-selected="true"] { background: #fff; color: var(--mb-primary) !important; box-shadow: inset 4px 0 0 var(--mb-accent); }
.mbh-mega__panes { padding: 24px 32px; }
.mbh-mega__title { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.mbh-mega__title a { color: var(--mb-primary) !important; }
.mbh-mega__links { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 32px; }
.mbh-mega__links li { break-inside: avoid; }
.mbh-mega__links a { display: block; padding: 7px 0; color: var(--mb-ink) !important; font-size: 14.5px; }
.mbh-mega__links a:hover { color: var(--mb-accent) !important; text-decoration: underline; text-underline-offset: 3px; }

.mbh-quick { display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; overflow: hidden; min-width: 0; }
.mbh-quick li { display: flex; flex: none; }
.mbh-quick li[hidden] { display: none; }
.mbh-quick a {
	display: flex; align-items: center; padding: 0 14px; font-size: 14.5px; font-weight: 600;
	color: var(--mb-ink) !important; white-space: nowrap; box-shadow: inset 0 -3px 0 transparent;
}
.mbh-quick a:hover { color: var(--mb-primary) !important; box-shadow: inset 0 -3px 0 var(--mb-accent); }

/* Menu mobile */
.mbh-drawer { position: fixed; inset: 0; z-index: 100000; }
.mbh-drawer[hidden] { display: none; }
.mbh-drawer__backdrop { position: absolute; inset: 0; background: rgba(12, 34, 63, .55); opacity: 0; transition: opacity .2s; }
.mbh-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: #fff;
	display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .22s ease;
}
.mbh-drawer.is-open .mbh-drawer__backdrop { opacity: 1; }
.mbh-drawer.is-open .mbh-drawer__panel { transform: none; }
.mbh-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--mb-border); }
.mbh-drawer__head img { height: 24px; width: auto; }
.mbh-drawer__close, .mbh-burger {
	all: unset; box-sizing: border-box; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 8px; color: var(--mb-primary); cursor: pointer;
}
.mbh-drawer__close:focus-visible, .mbh-burger:focus-visible { outline: 3px solid var(--mb-accent); }
.mbh-drawer__close .mb-ico, .mbh-burger .mb-ico { width: 26px; height: 26px; }
.mbh-drawer__body { flex: 1; overflow-y: auto; padding: 8px 0 24px; -webkit-overflow-scrolling: touch; }
.mbh-drawer__label { margin: 16px 16px 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mb-muted); }
.mbh-acc { border-bottom: 1px solid var(--mb-border); }
.mbh-acc summary, .mbh-acc__link {
	display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 16px;
	font-size: 16px; font-weight: 600; color: var(--mb-ink) !important; cursor: pointer; list-style: none;
}
.mbh-acc__link { justify-content: flex-start; border-bottom: 1px solid var(--mb-border); }
.mbh-acc__link .mb-ico { color: var(--mb-primary); }
.mbh-acc summary::-webkit-details-marker { display: none; }
.mbh-acc summary .mb-ico { width: 18px; height: 18px; transition: transform .15s; color: var(--mb-muted); }
.mbh-acc[open] summary { color: var(--mb-primary) !important; }
.mbh-acc[open] summary .mb-ico { transform: rotate(180deg); }
.mbh-acc ul { list-style: none; margin: 0; padding: 0 0 10px; background: var(--mb-surface); }
.mbh-acc ul a { display: block; padding: 11px 16px 11px 28px; color: var(--mb-ink) !important; font-size: 15px; }
html.mbh-lock, html.mbh-lock body { overflow: hidden; }

@media (min-width: 901px) {
	.mbh .mbh-burger { display: none; }
}
@media (max-width: 1100px) {
	.mbh-action__text { display: none; }
	.mbh-main__inner { gap: 20px; }
}
@media (max-width: 900px) {
	.elementor-location-header:has(.mbh) { top: -36px; }
	.mbh-top__inner { height: 36px; }
	.mbh-top__right, .mbh-hide-sm { display: none !important; }
	.mbh-nav { display: none; }
	.mbh-burger { display: inline-flex; margin-left: -10px; }
	.mbh-main__inner { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 10px; gap: 6px 8px; }
	.mbh-logo { margin-right: auto; }
	.mbh-logo img { height: 24px; }
	.mbh-search { order: 3; flex-basis: 100%; height: 46px; max-width: none; }
	.mbh-search button { padding: 0 16px; }
	.mbh-action, .mbh-cart { padding: 8px; }
}
@media (max-width: 480px) {
	.mb-wrap { padding: 0 16px; }
	.mbh-top { font-size: 12px; }
}

/* =========================================================================
   RODAPÉ
   ========================================================================= */
.mbf { background: var(--mb-primary); color: #E5E9F0; font-family: var(--mb-font), system-ui, sans-serif; font-size: 15px; line-height: 1.6; }
.mbf a { color: #fff !important; text-decoration: none; }
.mbf a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mbf-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding: 64px 0 48px; }
.mbf-logo { height: 28px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.mbf-lead { margin: 0 0 20px; color: #C9D2DF; max-width: 34ch; }
.mbf-title { margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.mbf-links, .mbf-contacts { list-style: none; margin: 0; padding: 0; }
.mbf-links li { margin: 0 0 10px; }
.mbf-links a { color: #D9E0EA !important; }
.mbf-links a:hover { color: #fff !important; }
.mbf-contacts li { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; margin: 0 0 14px; align-items: start; }
.mbf-contacts .mb-ico { margin-top: 2px; color: #fff; opacity: .7; }
.mbf-contacts small { grid-column: 2; font-size: 12px; color: #AEB9C9; }
.mbf-note { margin: 18px 0 0; font-size: 13px; color: #AEB9C9; }
.mbf-social { display: flex; gap: 10px; margin-top: 22px; }
.mbf-social a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; }
.mbf-social a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.mbf-bottom { border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #AEB9C9; }
.mbf-bottom__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
@media (max-width: 960px) { .mbf-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .mbf-grid { grid-template-columns: 1fr; padding-top: 44px; } }

/* =========================================================================
   PÁGINA INICIAL
   ========================================================================= */
.mbx { font-family: var(--mb-font), system-ui, sans-serif; color: var(--mb-ink); }
.mbx h1, .mbx h2, .mbx h3 { font-family: var(--mb-font-h), var(--mb-font), system-ui, sans-serif; letter-spacing: -0.02em; }
.mbx a { text-decoration: none; }
.mbx-eyebrow { margin: 0 0 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #F4B48F; }

/* Botões */
.mbx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px;
	border-radius: 8px; border: 2px solid transparent; font-weight: 700; font-size: 15.5px; line-height: 1.2; transition: background-color .15s, color .15s;
}
.mbx-btn .mb-ico { width: 18px; height: 18px; }
.mbx-btn--light { background: #fff; color: var(--mb-primary) !important; }
.mbx-btn--light:hover { background: #E8EDF4; }
.mbx-btn--ghost { border-color: rgba(255,255,255,.55); color: #fff !important; }
.mbx-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.mbx-btn--accent { background: var(--mb-accent); color: #fff !important; }
.mbx-btn--accent:hover { background: #9A3412; }
.mbx-btn--primary { background: var(--mb-primary); color: #fff !important; }
.mbx-btn--primary:hover { background: #163a66; }
.mbx-btn--outline { border-color: var(--mb-primary); color: var(--mb-primary) !important; }
.mbx-btn--outline:hover { background: var(--mb-primary); color: #fff !important; }

/* Hero */
.mbx-hero {
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(255,255,255,.07), transparent 60%),
		linear-gradient(135deg, #0C223F 0%, #11305a 100%);
	color: #fff;
}
.mbx-hero__inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.mbx-hero__title { margin: 0 0 16px; color: #fff !important; font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; line-height: 1.06; }
.mbx-hero__sub { margin: 0 0 28px; color: #D3DBE6; font-size: clamp(16px, 1.4vw, 19px); max-width: 56ch; }
.mbx-search {
	display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; max-width: 640px;
	background: #fff; border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.mbx-search > .mb-ico { color: var(--mb-muted); width: 22px; height: 22px; }
.mbx-search input[type="search"] {
	flex: 1; min-width: 0; height: 50px !important; min-height: 0 !important; padding: 0 !important;
	border: 0 !important; box-shadow: none !important; outline: 0; background: transparent !important; color: var(--mb-ink) !important; font-size: 17px !important;
}
.mbx-search .mbx-btn { min-height: 50px; padding: 0 26px; border: 0; cursor: pointer; font-family: inherit; }
.mbx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.mbx-hero__cats { background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 24px 48px rgba(0,0,0,.25); }
.mbx-hero__cats-title { margin: 6px 12px 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mb-muted); }
.mbx-hero__cats ul { list-style: none; margin: 0; padding: 0; }
.mbx-hero__cats a {
	display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 8px; color: var(--mb-ink) !important; font-weight: 600; font-size: 15.5px;
}
.mbx-hero__cats a span { flex: 1; }
.mbx-hero__cats a small { font-size: 12px; font-weight: 700; color: var(--mb-muted); background: var(--mb-surface); border-radius: 999px; padding: 2px 8px; }
.mbx-hero__cats a .mb-ico { width: 16px; height: 16px; color: var(--mb-muted); }
.mbx-hero__cats a:hover { background: var(--mb-surface); color: var(--mb-primary) !important; }
.mbx-hero__cats li + li a { border-top: 1px solid #EEF0F3; border-radius: 0; }

/* USPs */
.mbx-usp { background: #fff; border-bottom: 1px solid var(--mb-border); }
.mbx-usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.mbx-usp__item { display: flex; gap: 14px; align-items: flex-start; padding: 24px 20px; }
.mbx-usp__item + .mbx-usp__item { border-left: 1px solid var(--mb-border); }
.mbx-usp__item .mb-ico { width: 28px; height: 28px; color: var(--mb-accent); margin-top: 2px; }
.mbx-usp__item strong { display: block; font-size: 15.5px; color: var(--mb-primary); }
.mbx-usp__item span { display: block; font-size: 14px; color: var(--mb-muted); line-height: 1.45; }

/* Secções */
.mbx-section { padding: 64px 0; background: #fff; }
.mbx-section--alt { background: var(--mb-surface); }
.mbx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.mbx-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: var(--mb-primary); }
.mbx-head p { margin: 4px 0 0; color: var(--mb-muted); }
.mbx-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--mb-primary) !important; white-space: nowrap; }
.mbx-more .mb-ico { width: 18px; height: 18px; transition: transform .15s; }
.mbx-more:hover .mb-ico { transform: translateX(3px); }
.mbx-products ul.products { margin: 0 !important; padding: 0 !important; list-style: none; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mbx-products ul.products::before, .mbx-products ul.products::after { display: none !important; }
.mbx-products ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; min-width: 0; }
.mbx-products ul.products li.product img { width: 100% !important; height: auto !important; }

/* Cartões de categoria */
.mbx-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mbx-cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mb-border); border-radius: 12px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.mbx-cat:hover { border-color: #9CA3AF; box-shadow: 0 12px 28px rgba(12, 34, 63, .1); }
.mbx-cat__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--mb-surface); border-bottom: 1px solid var(--mb-border); }
.mbx-cat__media img { width: 70%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.mbx-cat:hover .mbx-cat__media img { transform: scale(1.04); }
.mbx-cat__initial { font-family: var(--mb-font-h), sans-serif; font-size: 56px; font-weight: 800; color: var(--mb-primary); opacity: .18; }
.mbx-cat__body { padding: 18px 20px 20px; }
.mbx-cat h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; }
.mbx-cat h3 a { color: var(--mb-primary) !important; }
.mbx-cat ul { list-style: none; margin: 0; padding: 0; }
.mbx-cat li a { display: block; padding: 4px 0; font-size: 14.5px; color: var(--mb-ink) !important; }
.mbx-cat li a:hover { color: var(--mb-accent) !important; text-decoration: underline; text-underline-offset: 3px; }
.mbx-cat__all a { font-weight: 700; color: var(--mb-primary) !important; }

/* Banda B2B */
.mbx-b2b { background: var(--mb-primary); color: #fff; padding: 72px 0; }
.mbx-b2b__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.mbx-b2b h2 { margin: 0 0 14px; color: #fff !important; font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.12; }
.mbx-b2b p { color: #D3DBE6; font-size: 17px; margin: 0; max-width: 54ch; }
.mbx-b2b .mbx-eyebrow { color: #F4B48F; margin-bottom: 12px; }
.mbx-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.mbx-steps li {
	counter-increment: s; position: relative; padding: 20px 20px 20px 72px; border-radius: 10px;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.mbx-steps li::before {
	content: counter(s); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 8px;
	display: flex; align-items: center; justify-content: center; background: var(--mb-accent); color: #fff; font-weight: 800;
}
.mbx-steps strong { display: block; font-size: 16.5px; color: #fff; }
.mbx-steps span { display: block; color: #C9D2DF; font-size: 14.5px; margin-top: 2px; }

/* Visita */
.mbx-visit { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 36px 40px !important; border: 1px solid var(--mb-border); border-radius: 12px; background: var(--mb-surface); max-width: 1272px; }
.mbx-visit h2 { margin: 0 0 6px; color: var(--mb-primary); font-size: 26px; font-weight: 800; }
.mbx-visit p { margin: 0; color: var(--mb-ink); }
.mbx-visit .mbx-hero__ctas { margin-top: 0; }

@media (max-width: 1100px) {
	.mbx-cats, .mbx-products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.mbx-hero__inner, .mbx-b2b__inner { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
	.mbx-hero__cats { display: none; }
	.mbx-usp__grid { grid-template-columns: 1fr 1fr; }
	.mbx-usp__item:nth-child(3) { border-left: 0; }
	.mbx-usp__item:nth-child(n+3) { border-top: 1px solid var(--mb-border); }
	.mbx-cats, .mbx-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.mbx-section, .mbx-b2b { padding: 44px 0; }
}
@media (max-width: 560px) {
	.mbx-search { flex-wrap: wrap; padding: 8px; }
	.mbx-search > .mb-ico { display: none; }
	.mbx-search input[type="search"] { flex-basis: 100%; padding: 0 8px !important; }
	.mbx-search .mbx-btn { width: 100%; }
	.mbx-usp__item { padding: 16px 12px; flex-direction: column; gap: 8px; }
	.mbx-cat__body { padding: 14px; }
	.mbx-cat ul { display: none; }
	.mbx-cat__media { aspect-ratio: 4 / 3; }
	.mbx-cat__body { padding: 12px 14px 14px; }
	.mbx-cat h3 { margin: 0; font-size: 15px; line-height: 1.25; }
	.mbx-visit { padding: 24px !important; }
	.mbx-head { align-items: flex-end; }
	.mbx-head p { font-size: 14px; }
}

/* =========================================================================
   Componentes B2B (listagens, ferramentas)
   ========================================================================= */
.mb-loop-exvat { display: block; margin: -8px 0 12px; font-size: 13px; color: var(--mb-muted); font-variant-numeric: tabular-nums; }
.mb-loop-exvat .amount { color: var(--mb-muted) !important; font-weight: 600 !important; font-size: 13px !important; }
.mb-loop-exvat abbr { text-decoration: none; }
.mb-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.mb-badge--out { background: #374151; color: #fff; }
ul.products li.product { position: relative; }
.mb-pro-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 4px; background: #ECFDF5; color: #065F46; font-size: 12px; font-weight: 700; vertical-align: middle; }
.mb-quote-link { display: inline-block; margin-top: 14px; font-size: 14.5px; color: var(--mb-primary) !important; }
.mb-quote-link strong { text-decoration: underline; text-underline-offset: 3px; }
.woocommerce .mb-btn-secondary, .mb-btn-secondary {
	display: flex !important; width: 100%; margin-top: 10px !important;
	background: #fff !important; color: var(--mb-primary) !important; border: 2px solid var(--mb-primary) !important;
}
.woocommerce .mb-btn-secondary:hover { background: var(--mb-primary) !important; color: #fff !important; }

.mb-tool { max-width: 920px; margin: 0 auto; padding: 8px 0 40px; font-family: var(--mb-font), system-ui, sans-serif; }
.mb-tool__title { margin: 0 0 8px; color: var(--mb-primary); font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.mb-tool__intro p { color: var(--mb-ink); font-size: 16.5px; margin: 0 0 24px; }
.mb-tool__form { padding: 28px; border: 1px solid var(--mb-border); border-radius: 12px; background: #fff; }
.mb-tool__label, .mb-tool__form label { display: block; margin-bottom: 6px; font-weight: 700; color: var(--mb-ink); font-size: 14px; }
.mb-tool__form input[type="text"], .mb-tool__form input[type="email"], .mb-tool__form input[type="tel"], .mb-tool__form textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid #6B7280; border-radius: 6px; font-size: 16px; color: var(--mb-ink); background: #fff;
}
#mb-lines { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; line-height: 1.6; }
.mb-tool__form :is(input, textarea):focus { outline: 3px solid rgba(12, 34, 63, .25); border-color: var(--mb-primary); }
.mb-tool__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.mb-tool__hint { color: var(--mb-muted); font-size: 14px; }
.mb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.mb-grid-2 p, .mb-tool__form > p { margin: 0 0 16px; }
.mb-quote__items { margin-bottom: 24px; }
.mb-quote__items h3 { margin: 0 0 12px; color: var(--mb-primary); font-size: 18px; }
.mb-quote-table { width: 100%; font-size: 14.5px; }
.mb-quote-table td:nth-child(2), .mb-quote-table td:nth-child(3) { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
@media (max-width: 640px) {
	.mb-grid-2 { grid-template-columns: 1fr; }
	.mb-tool__form { padding: 18px; }
	.mb-quote-table thead { display: none; }
	.mb-quote-table tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--mb-border); }
	.mb-quote-table td:first-child { grid-column: 1 / -1; font-weight: 700; }
}
.mb-tool abbr.required { text-decoration: none; color: #B91C1C; border: 0; }

/* =========================================================================
   Proteção contra o estilo global de botões do Kit do Elementor
   (".elementor-kit-N button { background… }" pintava estes botões de laranja)
   ========================================================================= */
html body .mbh .mbh-mega__toggle,
html body .mbh .mbh-mega__toggle:hover,
html body .mbh .mbh-mega__toggle:focus {
	background: var(--mb-primary) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important;
	padding: 0 18px !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1 !important;
	text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important; min-height: 0 !important;
}
html body .mbh .mbh-mega__toggle:hover { background: #163a66 !important; }
html body .mbh .mbh-burger,
html body .mbh .mbh-burger:hover,
html body .mbh .mbh-burger:focus,
html body .mbh .mbh-drawer__close,
html body .mbh .mbh-drawer__close:hover,
html body .mbh .mbh-drawer__close:focus {
	background: transparent !important; color: var(--mb-primary) !important; border: 0 !important; border-radius: 8px !important;
	padding: 0 !important; width: 44px !important; height: 44px !important; min-height: 0 !important; box-shadow: none !important;
}
html body .mbh .mbh-burger:hover, html body .mbh .mbh-drawer__close:hover { background: var(--mb-surface) !important; }
html body .mbh .mbh-search button,
html body .mbh .mbh-search button:hover,
html body .mbh .mbh-search button:focus {
	background: var(--mb-primary) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important;
	padding: 0 20px !important; font-size: 15px !important; font-weight: 700 !important; min-height: 0 !important; box-shadow: none !important;
	text-transform: none !important; letter-spacing: normal !important;
}
html body .mbh .mbh-search button:hover { background: #163a66 !important; }
html body .mbx .mbx-search .mbx-btn,
html body .mbx .mbx-search .mbx-btn:focus { background: var(--mb-accent) !important; color: #fff !important; border: 0 !important; border-radius: 8px !important; padding: 0 26px !important; }
html body .mbx .mbx-search .mbx-btn:hover { background: #9A3412 !important; }
@media (max-width: 900px) {
	html body .mbh .mbh-search button { padding: 0 16px !important; }
	html body .mbh .mbh-burger { margin-left: -10px !important; }
}
@media (max-width: 560px) {
	html body .mbx .mbx-search .mbx-btn { width: 100%; min-height: 48px; }
}
.mbx-hero__inner--solo { grid-template-columns: 1fr; }

/* Pré-visualização leve no editor do Elementor */
.mbx-ph-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mbx-ph { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px dashed #9CA3AF; border-radius: 10px; background: #fff; }
.mbx-ph__img { aspect-ratio: 1 / 1; background: var(--mb-surface); border-radius: 6px; }
.mbx-ph__l { height: 12px; background: #E5E7EB; border-radius: 3px; }
.mbx-ph__l--s { width: 50%; }
.mbx-ph__b { height: 40px; background: var(--mb-accent); opacity: .35; border-radius: 6px; margin-top: 6px; }
@media (max-width: 900px) { .mbx-ph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
