/* ==========================================================================
   MULTIplus B2B — folha única do tema
   Sem framework: o catálogo é grande e cada kilobyte conta no balcão.
   ========================================================================== */

:root {
	--mp-red: #ed1c24;
	--mp-red-dark: #c4151c;
	--mp-navy: #172946;
	--mp-navy-light: #24395c;
	--mp-text: #333;
	--mp-muted: #6b7280;
	--mp-line: #e2e5ea;
	--mp-bg: #fff;
	--mp-bg-soft: #f4f5f7;
	--mp-ok: #1a7f37;
	--mp-warn: #b26b00;
	--mp-danger: #b32d2e;

	--mp-radius: 6px;
	--mp-shadow: 0 1px 2px rgb(23 41 70 / 8%), 0 4px 12px rgb(23 41 70 / 6%);
	--mp-gap: 16px;

	/* Recuo lateral que acompanha a janela: 16px no celular, até 56px no
	   monitor grande, para o conteúdo nunca encostar na borda. */
	--mp-gutter: clamp(16px, 3.2vw, 56px);

	/* Leitura: produto, carrinho, checkout, conta e páginas de texto. */
	--mp-max: 1400px;

	/* Listagens e o próprio cabeçalho: num monitor grande o comprador
	   quer mais produtos por tela, não uma coluna estreita. */
	--mp-max-wide: 1800px;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: var(--mp-text);
	background: var(--mp-bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--mp-navy); text-decoration: none; }
a:hover { color: var(--mp-red); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.mp-skip { position: absolute; left: -9999px; }
.mp-skip:focus {
	left: 8px; top: 8px; z-index: 100;
	background: #fff; padding: 8px 16px; border: 2px solid var(--mp-navy);
}

.mp-container {
	width: 100%;
	max-width: var(--mp-max);
	margin-inline: auto;
	padding-inline: var(--mp-gutter);
}

.mp-container--wide { max-width: var(--mp-max-wide); }

/* --------------------------------------------------------------------------
   Barra superior
   -------------------------------------------------------------------------- */

.mp-topbar {
	background: var(--mp-navy);
	color: #fff;
	font-size: 13px;
}

.mp-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 38px;
	padding-block: 6px;
}

.mp-topbar__claim { margin: 0; opacity: .9; }

.mp-account-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
}

.mp-account-links a { color: #fff; }
.mp-account-links a:hover { color: #ffd2d4; }

.mp-account-greeting { opacity: .85; }

.mp-account-pending {
	background: var(--mp-warn);
	color: #fff;
	border-radius: 99px;
	padding: 1px 10px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.mp-account-cta {
	background: var(--mp-red);
	border-radius: var(--mp-radius);
	padding: 5px 12px;
	font-weight: 600;
}

.mp-account-cta:hover { background: var(--mp-red-dark); color: #fff; }

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

.mp-header { border-bottom: 1px solid var(--mp-line); background: #fff; }

.mp-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	padding-block: 14px;
}

.mp-logo-text {
	font-size: 26px;
	letter-spacing: -.02em;
	color: var(--mp-red);
	font-weight: 400;
}

.mp-logo-text strong { font-weight: 800; }

.custom-logo { max-height: 56px; width: auto; }

.mp-search { display: flex; width: 100%; }

.mp-search__input {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--mp-line);
	border-right: 0;
	border-radius: var(--mp-radius) 0 0 var(--mp-radius);
	padding: 10px 14px;
	font-size: 15px;
	font-family: inherit;
}

.mp-search__input:focus {
	outline: 2px solid var(--mp-navy);
	outline-offset: -2px;
}

.mp-search__submit {
	display: grid;
	place-items: center;
	width: 48px;
	border: 0;
	border-radius: 0 var(--mp-radius) var(--mp-radius) 0;
	background: var(--mp-navy);
	color: #fff;
	cursor: pointer;
}

.mp-search__submit:hover { background: var(--mp-navy-light); }

.mp-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mp-quick-order-link {
	font-weight: 600;
	border: 1px solid var(--mp-navy);
	border-radius: var(--mp-radius);
	padding: 8px 14px;
	white-space: nowrap;
}

.mp-quick-order-link:hover { background: var(--mp-navy); color: #fff; }

.mp-cart-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	white-space: nowrap;
}

.mp-cart-count {
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding-inline: 6px;
	border-radius: 99px;
	background: var(--mp-red);
	color: #fff;
	font-size: 12px;
}

.mp-nav-toggle {
	display: none;
	border: 1px solid var(--mp-line);
	background: #fff;
	border-radius: var(--mp-radius);
	padding: 8px;
	cursor: pointer;
	color: var(--mp-navy);
}

/* --------------------------------------------------------------------------
   Navegação de departamentos
   -------------------------------------------------------------------------- */

.mp-nav { background: var(--mp-bg-soft); border-top: 1px solid var(--mp-line); }

.mp-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mp-nav__list > li > a,
.mp-nav__item > a {
	display: block;
	padding: 11px 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #575757;
}

.mp-nav__list > li > a:hover,
.mp-nav__list > li.current-menu-item > a {
	background: #fff;
	color: var(--mp-red);
	box-shadow: inset 0 -3px 0 var(--mp-red);
}

/* Submenus */
.mp-nav__list li { position: relative; }

.mp-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	display: none;
	min-width: 230px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--mp-line);
	box-shadow: var(--mp-shadow);
}

.mp-nav__list li:hover > .sub-menu,
.mp-nav__list li:focus-within > .sub-menu { display: block; }

.mp-nav__list .sub-menu a {
	display: block;
	padding: 8px 16px;
	font-size: 14px;
	text-transform: none;
	color: var(--mp-text);
}

.mp-nav__list .sub-menu a:hover { background: var(--mp-bg-soft); color: var(--mp-red); }

/* --------------------------------------------------------------------------
   Estrutura de página
   -------------------------------------------------------------------------- */

.mp-main { min-height: 50vh; padding-block: 24px 48px; }
.mp-page__title { font-size: 28px; margin: 0 0 20px; color: var(--mp-navy); }

.mp-breadcrumb {
	font-size: 13px;
	color: var(--mp-muted);
	margin-bottom: 16px;
}

.mp-crumb-sep { margin-inline: 6px; opacity: .6; }

/* --------------------------------------------------------------------------
   Catálogo
   -------------------------------------------------------------------------- */

.woocommerce ul.products,
ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: var(--mp-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.products::before,
ul.products::after { content: none !important; }

ul.products li.product {
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	padding: 14px;
	width: auto !important;
	float: none !important;
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-radius);
	background: #fff;
	transition: box-shadow .15s ease, border-color .15s ease;
}

ul.products li.product:hover {
	border-color: #c9ced8;
	box-shadow: var(--mp-shadow);
}

ul.products li.product img {
	aspect-ratio: 1;
	object-fit: contain;
	margin-bottom: 10px;
	background: #fff;
}

ul.products li.product .woocommerce-loop-product__title {
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 6px !important;
	padding: 0 !important;
	color: var(--mp-navy);
	/* Sempre três linhas: no máximo corta, no mínimo reserva o espaço.
	   É o que mantém código, selos e preço alinhados entre os cards. */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(1.35em * 3);
}

/* O link do card embrulha imagem, título, código, selos e preço, e a
   altura dele varia. Deixando esse bloco crescer, tudo que vem depois
   (mensagem de cadastro, botão, formulário de compra) encosta na base e
   fica alinhado em toda a grade. */
ul.products li.product > .woocommerce-LoopProduct-link { flex: 1 1 auto; }

.mpb2b-loop-sku {
	display: block;
	font-size: 12px;
	color: var(--mp-muted);
	margin-bottom: 8px;
	font-variant-numeric: tabular-nums;
}

/* Selos de embalagem */
.mpb2b-pack-info {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 8px;
}

.mpb2b-pack-info span {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
	padding: 2px 8px;
	border-radius: 3px;
	background: var(--mp-bg-soft);
	color: #4b5563;
}

.mpb2b-pack-multiple {
	background: #fff4e5 !important;
	color: var(--mp-warn) !important;
}

.mpb2b-pack-discount {
	background: #e8f5ec !important;
	color: var(--mp-ok) !important;
}

.mp-stock--out {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--mp-danger);
	margin-bottom: 6px;
}

/* Preço */
ul.products li.product .price,
.woocommerce div.product p.price {
	margin: 0 0 10px !important;
	padding-top: 8px;
	color: var(--mp-navy) !important;
	font-size: 19px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.woocommerce div.product p.price { font-size: 30px; }

ul.products li.product .price del { font-size: 13px; font-weight: 400; opacity: .6; }
ul.products li.product .price ins { text-decoration: none; }

/* Preço oculto para visitante */
.mpb2b-hidden-price,
.mpb2b-hidden-price-link {
	display: block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--mp-red);
}

.mpb2b-hidden-price-link:hover { text-decoration: underline; }

.mpb2b-register-box { margin-block: 16px; }

/* Botões */
.button,
.woocommerce .button,
ul.products li.product .button {
	display: inline-block;
	border: 0;
	border-radius: var(--mp-radius);
	padding: 10px 16px;
	background: var(--mp-navy);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	text-align: center;
	cursor: pointer;
	transition: background .15s ease;
}

.button:hover,
.woocommerce .button:hover { background: var(--mp-navy-light); }

.button.alt,
.woocommerce .button.alt,
.woocommerce #respond input#submit.alt {
	background: var(--mp-red);
}

.button.alt:hover,
.woocommerce .button.alt:hover { background: var(--mp-red-dark); }

.mpb2b-register-cta { background: var(--mp-red) !important; }

/* Compra direta na listagem */
.mp-loop-buy {
	display: flex;
	gap: 6px;
	margin-top: auto;
}

.mp-loop-buy__qty {
	width: 68px;
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-radius);
	padding: 9px 6px;
	text-align: center;
	font-size: 14px;
	font-family: inherit;
	font-variant-numeric: tabular-nums;
}

.mp-loop-buy__submit { flex: 1; }

/* Tabela de preço por quantidade */
.mpb2b-tier-table {
	width: 100%;
	margin-block: 16px;
	border-collapse: collapse;
	font-size: 14px;
}

.mpb2b-tier-table caption {
	text-align: left;
	font-weight: 700;
	padding-bottom: 6px;
	color: var(--mp-navy);
}

.mpb2b-tier-table th,
.mpb2b-tier-table td {
	border: 1px solid var(--mp-line);
	padding: 7px 12px;
	text-align: left;
}

.mpb2b-tier-table th { background: var(--mp-bg-soft); font-size: 13px; }

/* --------------------------------------------------------------------------
   Página do produto
   -------------------------------------------------------------------------- */

/* As duas colunas da ficha vivem em .mp-product__layout (pages.css).
   Aqui o produto é só um bloco: transformar div.product em grid partia
   galeria, resumo, abas e relacionados em colunas separadas. */
.woocommerce div.product { display: block; }
.woocommerce div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; }
.woocommerce div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }

.woocommerce div.product .product_title { font-size: 26px; color: var(--mp-navy); margin-bottom: 8px; }
.woocommerce div.product .sku_wrapper { font-size: 14px; color: var(--mp-muted); }

.woocommerce div.product form.cart { display: flex; gap: 10px; margin-block: 20px; }
.woocommerce div.product form.cart .quantity input { width: 90px; padding: 12px; text-align: center; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); font-size: 16px; }
.woocommerce div.product form.cart .button { padding-inline: 32px; }

/* --------------------------------------------------------------------------
   Pedido rápido
   -------------------------------------------------------------------------- */

.mpb2b-quick-order__intro { color: var(--mp-muted); }

.mpb2b-quick-order__table {
	width: 100%;
	border-collapse: collapse;
	margin-block: 16px;
}

.mpb2b-quick-order__table th,
.mpb2b-quick-order__table td {
	border: 1px solid var(--mp-line);
	padding: 6px 8px;
	text-align: left;
	font-size: 14px;
}

.mpb2b-quick-order__table th { background: var(--mp-bg-soft); font-size: 13px; }
.mpb2b-quick-order__table input { width: 100%; border: 1px solid transparent; padding: 7px; font-size: 14px; font-family: inherit; }
.mpb2b-quick-order__table input:focus { outline: 2px solid var(--mp-navy); outline-offset: -2px; }
.mpb2b-quick-order__table .mpb2b-qo-sku { font-variant-numeric: tabular-nums; }
.mpb2b-quick-order__row.is-invalid { background: #fdf0f0; }
.mpb2b-quick-order__row.is-valid .mpb2b-qo-name { color: var(--mp-ok); }
.mpb2b-quick-order__paste summary { cursor: pointer; font-weight: 600; margin-bottom: 8px; }
.mpb2b-quick-order__paste textarea { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; padding: 10px; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); }
.mpb2b-quick-order__feedback .is-error { color: var(--mp-danger); }
.mpb2b-quick-order__feedback .is-warning { color: var(--mp-warn); }

/* --------------------------------------------------------------------------
   Formulários e conta
   -------------------------------------------------------------------------- */

.mpb2b-register-fieldset {
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-radius);
	padding: 16px 20px 4px;
	margin-bottom: 20px;
}

.mpb2b-register-fieldset legend {
	padding-inline: 8px;
	font-weight: 700;
	color: var(--mp-navy);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-radius);
	font-size: 15px;
	font-family: inherit;
}

.mpb2b-credit-summary { list-style: none; display: flex; flex-wrap: wrap; gap: 24px; padding: 0; }

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

/* Botões de chamada (rodapé e páginas institucionais) */
.mp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border-radius: var(--mp-radius);
	border: 1px solid transparent;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	text-align: center;
	transition: background-color .15s, color .15s, border-color .15s;
}

.mp-btn--primary { background: var(--mp-red); color: #fff; }
.mp-btn--primary:hover { background: var(--mp-red-dark); color: #fff; }
.mp-btn--ghost { background: #fff; color: var(--mp-navy); border-color: var(--mp-line); }
.mp-btn--ghost:hover { border-color: var(--mp-navy); color: var(--mp-navy); }
.mp-btn--outline-light { color: #fff; border-color: rgb(255 255 255 / 35%); }
.mp-btn--outline-light:hover { color: #fff; border-color: #fff; background: rgb(255 255 255 / 8%); }

.mp-icon { flex: none; width: 22px; height: 22px; }

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

.mp-footer { margin-top: 56px; color: #c9d2e0; font-size: 14px; }

/* Faixa de selos */
.mp-footer__trust { background: var(--mp-bg-soft); border-top: 1px solid var(--mp-line); color: var(--mp-text); }

/* .mp-footer na frente: a regra .mp-footer ul (mais abaixo) zera margem e padding. */
.mp-footer .mp-trust {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px 24px;
	margin: 0 auto;
	padding-block: 24px;
	list-style: none;
}

.mp-trust__item { display: flex; align-items: center; gap: 12px; line-height: 1.35; font-size: 13px; color: var(--mp-muted); }
.mp-trust__item .mp-icon { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #fff; color: var(--mp-red); box-shadow: var(--mp-shadow); }
.mp-trust__item strong { display: block; font-size: 14px; color: var(--mp-navy); }

/* Colunas */
.mp-footer__main { background: var(--mp-navy); }

.mp-footer__grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.5fr) minmax(170px, .9fr) minmax(260px, 1.3fr) minmax(230px, 1.1fr);
	gap: 40px;
	padding-block: 48px 40px;
}

.mp-footer a { color: #e4e9f1; }
.mp-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mp-footer .mp-btn:hover { text-decoration: none; }
.mp-footer .mp-btn--primary { color: #fff; }

.mp-footer__logo { display: inline-block; font-size: 30px; letter-spacing: -.02em; color: #fff; line-height: 1; }
.mp-footer__logo strong { color: var(--mp-red); font-weight: 800; }
.mp-footer__logo:hover { text-decoration: none; }
.mp-footer__pitch { margin: 14px 0 20px; max-width: 42ch; line-height: 1.6; }
.mp-footer__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.mp-footer__title {
	margin: 4px 0 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
}

.mp-footer__title::after { content: ""; display: block; width: 28px; height: 2px; margin-top: 10px; background: var(--mp-red); }

.mp-footer ul { list-style: none; padding: 0; margin: 0; }
.mp-footer__links li { margin-bottom: 9px; }
.mp-footer__links--2col { columns: 2; column-gap: 24px; }
.mp-footer__links--2col li { break-inside: avoid; font-size: 13px; }

.mp-footer__links--icons li { display: flex; align-items: flex-start; gap: 10px; }
.mp-footer__links--icons .mp-icon { width: 18px; height: 18px; margin-top: 1px; color: #8fa0bb; }

.mp-footer__phones { display: grid; gap: 8px; margin-bottom: 18px !important; }
.mp-footer__phones li { display: flex; align-items: center; gap: 10px; }
.mp-footer__phones a { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: .01em; }

.mp-footer__uf {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 24px;
	border-radius: 4px;
	background: rgb(255 255 255 / 10%);
	font-size: 11px;
	font-weight: 700;
	color: #fff;
}

/* Linha legal */
.mp-footer__legal { background: #0f1d33; color: #8fa0bb; font-size: 12px; }

.mp-footer__legal-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 18px;
}

.mp-footer__legal p { margin: 0; line-height: 1.6; }
.mp-footer__secure { display: flex; align-items: center; gap: 8px; }
.mp-footer__secure .mp-icon { width: 18px; height: 18px; color: #6fcf8e; }

@media (max-width: 1200px) {
	.mp-footer .mp-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mp-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.mp-footer .mp-trust { grid-template-columns: 1fr 1fr; gap: 16px 14px; padding-block: 20px; }
	.mp-trust__item { align-items: flex-start; }
	.mp-trust__item:last-child { grid-column: 1 / -1; }
	.mp-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 36px 28px; }
	.mp-footer__legal-inner { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.woocommerce div.product { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 860px) {
	.mp-header__inner {
		grid-template-columns: auto 1fr;
		grid-template-areas: "brand actions" "search search";
		row-gap: 12px;
	}

	.mp-header__brand { grid-area: brand; }
	.mp-header__search { grid-area: search; }
	.mp-header__actions { grid-area: actions; justify-content: flex-end; }

	.mp-nav-toggle { display: block; }

	.mp-nav { display: none; }
	.mp-nav.is-open { display: block; }
	.mp-nav__list { flex-direction: column; gap: 0; }
	.mp-nav__list > li { border-bottom: 1px solid var(--mp-line); }
	.mp-nav__list .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding-left: 12px; background: transparent; }

	.mp-quick-order-link { display: none; }

	/* Precisa repetir o .woocommerce: a regra base usa esse prefixo e
	   venceria a media query só por especificidade. */
	.woocommerce ul.products,
	ul.products {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 10px;
	}

	ul.products li.product { padding: 10px; }
	.mp-topbar__claim { display: none; }
}

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

/* --------------------------------------------------------------------------
   Home: chamada B2B e departamentos
   -------------------------------------------------------------------------- */

.mp-section-title { font-size: 20px; color: var(--mp-navy); margin: 32px 0 14px; }

.mp-callout {
	background: linear-gradient(135deg, var(--mp-navy) 0%, var(--mp-navy-light) 100%);
	color: #fff;
	border-radius: var(--mp-radius);
	padding: 32px;
}

.mp-callout h2 { margin: 0 0 8px; font-size: 24px; }
.mp-callout p { margin: 0 0 12px; max-width: 70ch; opacity: .92; }
.mp-callout .button { margin-top: 4px; }
.mp-callout--customer { background: linear-gradient(135deg, #14532d 0%, #1a7f37 100%); }
.mp-callout--pending { background: linear-gradient(135deg, #7c4a03 0%, var(--mp-warn) 100%); }

.mp-departments__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mp-departments__item a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 100%;
	padding: 16px;
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-radius);
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.mp-departments__item a:hover { border-color: var(--mp-red); box-shadow: var(--mp-shadow); }
.mp-departments__name { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; color: var(--mp-navy); }
.mp-departments__count { font-size: 12px; color: var(--mp-muted); }
