.po-portal {
	max-width: 860px;
	margin: 48px auto;
	font-size: 16px;
	color: #1f2933;
}

.po-portal h2 {
	font-size: 22px;
	margin-bottom: 4px;
}

/* ---- Cabeçalho de marca (login e área logada) ---- */

.po-marca-topo {
	text-align: center;
	margin-bottom: 24px;
}

.po-marca-icone {
	display: inline-block;
	font-size: 34px;
	margin-bottom: 8px;
}

.po-marca-nome {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 28px;
	font-weight: 700;
	margin: 0;
	color: #1a1f29;
}

.po-marca-subtitulo {
	font-size: 14px;
	color: #6b7688;
	margin: 4px 0 0;
}

/* ---- Card de login ---- */

.po-portal-login {
	max-width: 400px;
	background: #ffffff;
	border: 1px solid #e6e8ec;
	border-radius: 16px;
	padding: 40px 32px 28px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.po-login-erro {
	background: #fdecec;
	border: 1px solid #f4b8b8;
	color: #9c2b2b;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	margin: 0 0 16px;
}

.po-portal-login form {
	border-top: 1px solid #edeef1;
	padding-top: 20px;
}

.po-portal-login form p {
	margin: 16px 0;
}

.po-portal-login label {
	display: block;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 7px;
	color: #6b7688;
}

.po-portal-login input[type="text"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d7dbe1;
	border-radius: 8px;
	font-size: 15px;
	box-sizing: border-box;
	background: #fff;
}

.po-portal-login input[type="text"]:focus {
	outline: none;
	border-color: #1a1f29;
	box-shadow: 0 0 0 3px rgba(26, 31, 41, 0.08);
}

.po-btn-entrar {
	width: 100%;
	background: #14161a;
	color: #fff;
	border: none;
	padding: 13px 22px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.po-btn-entrar:hover {
	background: #2a2e37;
}

.po-marca-rodape {
	text-align: center;
	font-size: 12px;
	color: #9aa3b2;
	border-top: 1px solid #edeef1;
	margin: 20px 0 0;
	padding-top: 16px;
}

/* ---- Área logada ---- */

.po-em-breve {
	background: #fff8e5;
	border: 1px solid #f0c33c;
	border-radius: 10px;
	padding: 18px;
	margin: 24px 0;
}

.po-contador-ofertas {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	background: #14161a;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	border-radius: 999px;
	vertical-align: middle;
	margin-left: 6px;
}

/* ---- Topo da área do cliente (saudação + sair) ---- */

.po-topo-cliente {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	border-bottom: 1px solid #e2e5e9;
	padding-bottom: 16px;
	margin: 12px 0 24px;
}

.po-topo-cliente h2 {
	margin: 0;
}

.po-link-sair {
	color: #9c2b2b !important;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none !important;
}

/* ---- Abas ---- */

.po-abas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	border-bottom: 1px solid #e2e5e9;
	margin: 12px 0 20px;
}

.po-aba-sair {
	margin-left: auto;
	color: #9c2b2b !important;
}

.po-aba {
	display: inline-block;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	color: #57606f;
	text-decoration: none !important;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}

.po-aba:hover {
	color: #1a1f29;
}

.po-aba-ativa,
.po-aba-ativa:hover {
	color: #1a1f29;
	border-bottom-color: #1a1f29;
}

/* ---- Ofertas ---- */

.po-destaque-contador {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff1e0;
	color: #a15c07;
	font-size: 14px;
	font-weight: 700;
	padding: 8px 16px;
	border-radius: 999px;
	margin: 0;
	white-space: nowrap;
}

.po-busca-linha {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 8px 0 4px;
}

.po-busca-linha .po-busca-ofertas {
	margin: 0;
	flex: 1 1 260px;
}

.po-categorias-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 0 16px;
}

.po-categoria-chip {
	background: #f0f2f5;
	color: #364152;
	border: 1px solid transparent;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.po-categoria-chip:hover {
	background: #e2e5e9;
}

.po-categoria-chip-ativa {
	background: #14161a !important;
	color: #fff !important;
}

.po-busca-ofertas {
	width: 100%;
	max-width: 420px;
	padding: 10px 14px;
	border: 1px solid #d7dbe1;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
	margin: 8px 0 4px;
}

.po-busca-ofertas:focus {
	outline: none;
	border-color: #1a1f29;
	box-shadow: 0 0 0 3px rgba(26, 31, 41, 0.08);
}

.po-busca-sem-resultado {
	color: #57606f;
	font-size: 14px;
}

.po-ofertas-lista {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 16px 0 24px;
}

.po-oferta-card[hidden],
.po-oferta-card.po-oferta-oculta-busca {
	display: none !important;
}

.po-oferta-card {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	background: #fff;
	border: 1px solid #e2e5e9;
	border-radius: 12px;
	padding: 14px 18px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	transition: box-shadow 0.15s ease;
}

.po-oferta-card:hover {
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.po-oferta-foto {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 10px;
	background: #f2f3f5;
	flex: 0 0 auto;
}

.po-oferta-foto-vazia {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: #c2c8d1;
	border: 1px dashed #d7dbe1;
}

.po-oferta-corpo {
	flex: 1 1 260px;
	min-width: 0;
}

.po-oferta-lateral {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	margin-left: auto;
}

.po-oferta-contador {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 3px 8px;
	border-radius: 999px;
	margin: 0 0 6px;
}

.po-oferta-contador-espera {
	background: #eef2ff;
	color: #2f3fae;
}

.po-oferta-contador-ativo {
	background: #fff1e0;
	color: #a15c07;
}

.po-oferta-descricao {
	font-weight: 700;
	margin: 0 0 4px;
	font-size: 15px;
	line-height: 1.3;
}

.po-oferta-codigo {
	font-size: 12px;
	color: #8a93a3;
	margin: 0 0 4px;
	font-family: monospace;
}

.po-oferta-aplicacao,
.po-oferta-fornecedor {
	font-size: 13px;
	color: #57606f;
	margin: 0 0 2px;
}

.po-oferta-estoque {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 0;
}

.po-estoque-disponivel,
.po-estoque-separacao,
.po-estoque-baixo {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 999px;
}

.po-estoque-disponivel {
	background: #f0f2f5;
	color: #57606f;
}

.po-estoque-separacao {
	background: #eef2ff;
	color: #2f3fae;
}

.po-estoque-baixo {
	background: #fdecec;
	color: #9c2b2b;
}

.po-oferta-preco {
	margin: 0;
	white-space: nowrap;
	text-align: right;
}

.po-oferta-desconto {
	display: inline-block;
	background: #d1273d;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 999px;
	letter-spacing: 0.02em;
	margin-right: 8px;
	vertical-align: middle;
}

.po-preco-de {
	text-decoration: line-through;
	color: #9aa3b2;
	font-size: 13px;
	margin-right: 8px;
}

.po-preco-por {
	font-size: 20px;
	font-weight: 700;
	color: #1e7a34;
}

.po-btn-whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: #25d366 !important;
	color: #fff !important;
	border: none !important;
	padding: 9px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	opacity: 1 !important;
	transition: background 0.15s ease;
}

.po-btn-whatsapp:hover,
.po-btn-whatsapp:focus,
.po-btn-whatsapp:active {
	background: #1eb455 !important;
	color: #fff !important;
}

.po-whatsapp-indisponivel {
	font-size: 12px;
	color: #9aa3b2;
}

.po-oferta-adicionar {
	display: flex;
	align-items: center;
	gap: 8px;
}

.po-oferta-adicionar .po-item-qtd {
	width: 56px;
	padding: 7px 6px;
	border: 1px solid #d7dbe1;
	border-radius: 6px;
	font-size: 13px;
	text-align: center;
}

.po-btn-add-pre-pedido {
	background: #2f5bea !important;
	color: #fff !important;
	border: none !important;
	padding: 9px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	opacity: 1 !important;
	transition: background 0.15s ease;
}

.po-btn-add-pre-pedido:hover,
.po-btn-add-pre-pedido:focus,
.po-btn-add-pre-pedido:active {
	background: #1d3fc4 !important;
	color: #fff !important;
}

.po-oferta-orcamento {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
}

.po-orcamento-campo {
	display: flex;
	align-items: center;
	gap: 4px;
}

.po-orcamento-prefixo {
	font-size: 12px;
	color: #6b7688;
	white-space: nowrap;
}

.po-item-markup-orcamento,
.po-item-preco-orcamento,
.po-item-desconto-orcamento {
	width: 64px;
	padding: 7px 6px;
	border: 1px solid #d7dbe1;
	border-radius: 6px;
	font-size: 13px;
	text-align: center;
}

.po-btn-add-orcamento {
	background: #a15c07 !important;
	color: #fff !important;
	border: none !important;
	padding: 9px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	opacity: 1 !important;
	transition: background 0.15s ease;
}

.po-btn-add-orcamento:hover,
.po-btn-add-orcamento:focus,
.po-btn-add-orcamento:active {
	background: #7d4a05 !important;
	color: #fff !important;
}

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

.po-form-busca-catalogo {
	display: flex;
	gap: 8px;
	max-width: 480px;
	margin: 8px 0 16px;
}

.po-form-busca-catalogo .po-busca-ofertas {
	margin: 0;
}

.po-btn-buscar-catalogo {
	background: #14161a !important;
	color: #fff !important;
	border: none !important;
	padding: 9px 18px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.po-btn-buscar-catalogo:hover {
	background: #2a2e37 !important;
}

/* ---- Pré-pedido ---- */

.po-pre-pedido-carrinho {
	background: #f8f9fb;
	border: 1px solid #e2e5e9;
	border-radius: 12px;
	padding: 18px;
	margin: 8px 0 24px;
}

.po-pre-pedido-carrinho h3 {
	margin: 0 0 12px;
	font-size: 16px;
}

.po-cesta-itens {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.po-cesta-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid #e2e5e9;
	font-size: 14px;
}

.po-cesta-item:last-child {
	border-bottom: none;
}

.po-cesta-remover {
	background: none;
	border: none;
	color: #9c2b2b;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.po-btn-finalizar {
	width: 100%;
	padding: 12px 16px;
	font-size: 14px;
}

.po-portal a {
	color: #1a1f29;
	text-decoration: underline;
}

/* ---- Orçamentos ---- */

.po-orcamento-carrinho {
	background: #fff8ee;
	border: 1px solid #f0dcb8;
	border-radius: 12px;
	padding: 18px;
	margin: 8px 0 24px;
}

.po-orcamento-carrinho h3 {
	margin: 0 0 12px;
	font-size: 16px;
}

.po-orcamento-carrinho label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #6b7688;
	margin-bottom: 4px;
}

.po-orcamento-carrinho input[type="text"],
.po-orcamento-carrinho input[type="date"] {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid #d7dbe1;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
	background: #fff;
}

.po-orcamento-total {
	font-size: 14px;
	margin: 0 0 16px;
}

.po-orcamento-aviso {
	font-size: 13px;
	color: #a15c07;
	background: #fff1e0;
	padding: 8px 12px;
	border-radius: 8px;
	margin: 0 0 12px;
}

.po-orcamento-sucesso {
	color: #1e7a34;
	font-weight: 700;
}

.po-orcamentos-lista {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.po-orcamento-card {
	background: #f8f9fb;
	border: 1px solid #e2e5e9;
	border-radius: 12px;
	padding: 16px 18px;
}

.po-orcamento-cliente {
	margin: 0 0 2px;
	font-size: 15px;
}

.po-orcamento-data {
	margin: 0 0 10px;
	font-size: 12px;
	color: #6b7688;
}

.po-orcamento-itens-lista {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	font-size: 13px;
}

.po-orcamento-itens-lista li {
	padding: 4px 0;
	border-bottom: 1px solid #e2e5e9;
}

.po-orcamento-itens-lista li:last-child {
	border-bottom: none;
}

.po-orcamento-acoes {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 10px 0 0;
}

.po-link-excluir {
	color: #9c2b2b;
	font-size: 13px;
}

.po-pre-pedido-status {
	display: inline-block;
	margin-left: 8px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	vertical-align: middle;
}

.po-pre-pedido-status-pendente {
	background: #fff8e6;
	color: #a15c07;
}

.po-pre-pedido-status-confirmado {
	background: #e9f6ec;
	color: #1e7a34;
}

.po-btn-imprimir-orcamento {
	font-size: 13px;
	font-weight: 700;
	color: #1a1f29;
}

.po-orcamento-marca-impressao {
	display: none;
	font-size: 13px;
	font-weight: 700;
	color: #6b7688;
	margin: 0 0 10px;
}

.po-orcamento-item-preco-de {
	text-decoration: line-through;
	color: #9aa3b2;
}

.po-orcamento-item-desconto {
	color: #a15c07;
	font-weight: 700;
}

/* ---- Impressão / PDF de um orçamento ---- */

@media print {
	body.po-modo-impressao .po-portal > *:not(.po-orcamentos-lista) {
		display: none !important;
	}

	body.po-modo-impressao .po-orcamentos-lista > .po-orcamento-card {
		display: none !important;
	}

	body.po-modo-impressao .po-orcamentos-lista > .po-orcamento-card.po-orcamento-imprimindo {
		display: block !important;
		border: none;
		padding: 0;
	}

	body.po-modo-impressao .po-orcamento-imprimindo .po-orcamento-marca-impressao {
		display: block;
	}

	body.po-modo-impressao .po-orcamento-imprimindo .po-orcamento-acoes {
		display: none !important;
	}
}
