                                                                                                                                                                                                                                                                                                                                                                 /* Afiliado Central - Estilos Publicos */

/* =============================
   Descricao WYSIWYG do Produto
   ============================= */
.ac-produto-descricao p {
	display: block !important;
	margin: 0 0 1em !important;
	line-height: 1.7;
}
.ac-produto-descricao p:last-child { margin-bottom: 0 !important; }
.ac-produto-descricao h1,
.ac-produto-descricao h2,
.ac-produto-descricao h3,
.ac-produto-descricao h4 {
	display: block !important;
	margin: 1.4em 0 .6em !important;
	font-weight: 700;
	line-height: 1.3;
	color: #111;
}
.ac-produto-descricao h2 { font-size: 1.25em; }
.ac-produto-descricao h3 { font-size: 1.1em; }
.ac-produto-descricao h4 { font-size: 1em; }
.ac-produto-descricao ul,
.ac-produto-descricao ol {
	margin: .5em 0 1em 1.5em;
	padding: 0;
}
.ac-produto-descricao li { margin-bottom: .35em; line-height: 1.6; }
.ac-produto-descricao a {
	color: #2563eb;
	text-decoration: underline;
}
.ac-produto-descricao strong,
.ac-produto-descricao b { font-weight: 700; }
.ac-produto-descricao em,
.ac-produto-descricao i { font-style: italic; }
.ac-produto-descricao blockquote {
	border-left: 3px solid #e0e0e0;
	padding: 8px 16px;
	margin: 1em 0;
	color: #666;
	font-style: italic;
}
.ac-produto-descricao table {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
	font-size: 14px;
}
.ac-produto-descricao table th,
.ac-produto-descricao table td {
	border: 1px solid #e0e0e0;
	padding: 8px 12px;
	text-align: left;
}
.ac-produto-descricao table th {
	background: #f5f5f5;
	font-weight: 600;
}
.ac-produto-descricao img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

/* =============================
   Pontos Positivos e Negativos
   ============================= */
.ac-pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 12px;
}
@media (max-width: 600px) {
	.ac-pros-cons { grid-template-columns: 1fr; }
}
.ac-pros-col,
.ac-cons-col {
	border-radius: 12px;
	padding: 16px 18px;
}
.ac-pros-col {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
}
.ac-cons-col {
	background: #fef2f2;
	border: 1px solid #fecaca;
}
.ac-pros-cons-titulo {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin: 0 0 12px;
}
.ac-pros-col .ac-pros-cons-titulo { color: #15803d; }
.ac-cons-col .ac-pros-cons-titulo { color: #b91c1c; }
.ac-pros-cons-lista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ac-pros-cons-lista li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	color: #333;
	line-height: 1.5;
}
.ac-pros-cons-lista li .ac-ponto-icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	margin-top: 1px;
}
.ac-pros-col .ac-ponto-icon { background: #16a34a; }
.ac-cons-col .ac-ponto-icon { background: #dc2626; }

/* Comparativo: célula pros/cons */
.ac-comparar-pros-cons { font-size: 13px; text-align: left; }
.ac-comparar-pros-cons ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ac-comparar-pros-cons li {
	display: flex;
	align-items: flex-start;
	gap: 5px;
	line-height: 1.4;
}
.ac-comparar-pros-cons .ac-ponto-pos { color: #15803d; }
.ac-comparar-pros-cons .ac-ponto-neg { color: #b91c1c; }
.ac-comparar-pros-cons .ac-ponto-bullet {
	font-weight: 700;
	flex-shrink: 0;
}

/* =============================
   Nota Editorial
   ============================= */
.ac-nota-editorial {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 16px;
	margin-top: 16px;
}
.ac-nota-badge {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 22px;
	font-weight: 800;
	color: #fff;
}
.ac-nota-badge--alta  { background: #16a34a; }
.ac-nota-badge--media { background: #d97706; }
.ac-nota-badge--baixa { background: #dc2626; }
.ac-nota-info { flex: 1; min-width: 0; }
.ac-nota-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #888;
	margin-bottom: 6px;
}
.ac-nota-barra-fundo {
	width: 100%;
	height: 10px;
	background: #f0f0f0;
	border-radius: 999px;
	overflow: hidden;
}
.ac-nota-barra-fill {
	height: 100%;
	border-radius: 999px;
	transition: width .4s ease;
}
.ac-nota-texto {
	font-size: 13px;
	color: #555;
	margin-top: 8px;
	line-height: 1.5;
}

/* =============================
   FAQ Accordion
   ============================= */
.ac-faq-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ac-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: #1a1a1a;
	border: 1px solid #eee;
	border-radius: 10px;
	background: #f9f9f9;
	list-style: none;
	transition: background .18s;
}
.ac-faq-item summary::-webkit-details-marker { display: none; }
.ac-faq-item summary::after {
	content: '+';
	font-size: 20px;
	font-weight: 400;
	color: #2563eb;
	flex-shrink: 0;
	transition: transform .2s;
}
.ac-faq-item[open] summary {
	background: #eff6ff;
	border-color: #bfdbfe;
	border-radius: 10px 10px 0 0;
}
.ac-faq-item[open] summary::after { content: '−'; }
.ac-faq-resposta {
	padding: 14px 18px;
	background: #fff;
	border: 1px solid #bfdbfe;
	border-top: none;
	border-radius: 0 0 10px 10px;
	font-size: 14px;
	color: #444;
	line-height: 1.7;
}

/* =============================
   Produtos Relacionados
   ============================= */
.ac-relacionados-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
	margin-top: 12px;
}
.ac-relacionado-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #eee;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow .2s, transform .2s;
}
.ac-relacionado-card:hover {
	box-shadow: 0 4px 18px rgba(0,0,0,.1);
	transform: translateY(-2px);
}
.ac-relacionado-img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	background: #f5f5f5;
}
.ac-relacionado-img-placeholder {
	width: 100%;
	aspect-ratio: 1;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ccc;
}
.ac-relacionado-nome {
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
	line-height: 1.3;
}
@media (max-width: 600px) {
	.ac-relacionados-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================
   Pagina de Produto Single
   ============================= */
.ac-produto-page {
	max-width: 1100px;
	margin: 32px auto;
	padding: 0 20px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #1a1a1a;
}
.ac-produto-breadcrumb {
	font-size: 13px;
	color: #666;
	margin-bottom: 20px;
}
.ac-produto-breadcrumb a {
	color: #666;
	text-decoration: none;
}
.ac-produto-breadcrumb a:hover {
	text-decoration: underline;
}
.ac-produto-titulo {
	font-size: 28px;
	font-weight: 800;
	margin: 0 0 24px;
	line-height: 1.3;
}
.ac-produto-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}
@media (max-width: 768px) {
	.ac-produto-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}
.ac-produto-galeria {
	background: #fff;
	border-radius: 16px;
	padding: 16px;
	border: 1px solid #eee;
}
.ac-produto-img-principal {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 12px;
	background: #fafafa;
}
.ac-produto-info {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	border: 1px solid #eee;
}
.ac-produto-info-titulo {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 16px;
	line-height: 1.3;
}
.ac-produto-melhor-preco-label {
	font-size: 14px;
	color: #666;
	margin-bottom: 4px;
}
.ac-produto-melhor-preco-valor {
	font-size: 36px;
	font-weight: 800;
	color: #4caf50;
	margin-bottom: 8px;
}
.ac-produto-atualizado {
	font-size: 11px;
	color: #aaa;
	margin-bottom: 20px;
}
.ac-produto-lojas-titulo {
	font-size: 12px;
	font-weight: 700;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 12px;
}
.ac-produto-loja {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
}
.ac-produto-loja:last-child {
	border-bottom: none;
}
.ac-produto-loja-logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 8px;
	flex-shrink: 0;
}
.ac-produto-loja-info {
	flex: 1;
}
.ac-produto-loja-nome {
	font-size: 14px;
	font-weight: 600;
	color: #333;
}
.ac-produto-loja-preco {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	white-space: nowrap;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}
.ac-badge-menor-preco {
	display: inline-block;
	background: #22c55e;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	white-space: nowrap;
}
.ac-produto-loja-btn {
	background: #4a90e2;
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	padding: 8px 16px;
	border-radius: 8px;
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s;
}
.ac-produto-loja-btn:hover {
	background: #357abd;
	color: #fff;
}
.ac-produto-indisponivel {
	background: #f8f9fa;
	border-radius: 16px;
	padding: 32px 24px;
	text-align: center;
	border: 2px dashed #e5e7eb;
}
.ac-produto-indisponivel-icon {
	margin-bottom: 16px;
	display: flex;
	justify-content: center;
}
.ac-produto-indisponivel-msg {
	font-size: 16px;
	color: #4b5563;
	margin: 0 0 20px;
	line-height: 1.5;
}
.ac-produto-indisponivel-btn {
	display: inline-block;
	background: #22c55e;
	color: #fff;
	font-weight: 600;
	padding: 14px 28px;
	border-radius: 12px;
	text-decoration: none;
	transition: background 0.2s, transform 0.1s;
}
.ac-produto-indisponivel-btn:hover {
	background: #16a34a;
	transform: translateY(-1px);
}
.ac-produto-compartilhar {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #f0f0f0;
}
.ac-produto-compartilhar-label {
	font-size: 14px;
	color: #666;
	margin-bottom: 10px;
}
.ac-produto-compartilhar-btns {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.ac-produto-compartilhar-btns a,
.ac-produto-compartilhar-btns button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	text-decoration: none;
}
.ac-produto-compartilhar-btns .whatsapp { background: #25d366; }
.ac-produto-compartilhar-btns .telegram { background: #0088cc; }
.ac-produto-compartilhar-btns .twitter  { background: #000; }
.ac-produto-compartilhar-btns .facebook { background: #1877f2; }
.ac-produto-compartilhar-btns .email    { background: #ea4335; }
.ac-produto-compartilhar-btns .copy     { background: #666; }
.ac-produto-rodape-info {
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
	font-size: 12px;
	color: #999;
}
@media (max-width: 480px) {
	.ac-produto-titulo { font-size: 22px; }
	.ac-produto-melhor-preco-valor { font-size: 28px; }
	.ac-produto-loja-preco { font-size: 15px; }
	.ac-produto-loja-btn { font-size: 12px; padding: 7px 12px; }
}

/* Card Completo */
.ac-card {
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 16px;
	padding: 24px;
	max-width: 320px;
	text-align: center;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
	transition: transform .3s ease, border-color .3s ease;
	position: relative;
}
.ac-card:hover {
	transform: translateY(-6px);
	border-color: #8fdf04;
}
.ac-card__tag {
	display: inline-block;
	background: #1a1a1a;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 20px;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.ac-card__imagem {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 16px;
}
.ac-card__nome {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 8px;
}
.ac-card__preco {
	font-size: 24px;
	font-weight: 800;
	color: #8fdf04;
	margin: 0 0 16px;
}

/* Botao */
.ac-btn {
	display: inline-block;
	background: #8fdf04;
	color: #1a1a1a;
	font-weight: 700;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	transition: background .3s ease;
	border: none;
	cursor: pointer;
}
.ac-btn:hover {
	background: #7ad403;
}
.ac-btn--small {
	padding: 8px 16px;
	font-size: 14px;
}
.ac-btn--laranja { background: #ff9800; color: #fff; }
.ac-btn--laranja:hover { background: #f57c00; }
.ac-btn--verde { background: #4caf50; color: #fff; }
.ac-btn--verde:hover { background: #388e3c; }
.ac-btn--azul { background: #2196f3; color: #fff; }
.ac-btn--azul:hover { background: #1976d2; }
.ac-btn--preto { background: #1a1a1a; color: #fff; }
.ac-btn--preto:hover { background: #333; }

/* Link Inline */
.ac-link {
	color: #8fdf04;
	font-weight: 700;
	text-decoration: underline;
}
.ac-inline__preco {
	font-weight: 700;
	color: #8fdf04;
}

/* Mini Card */
.ac-mini {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 16px;
	padding: 16px;
	max-width: 500px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
	transition: transform .3s ease, border-color .3s ease;
}
.ac-mini:hover {
	transform: translateY(-6px);
	border-color: #8fdf04;
}
.ac-mini__numero {
	font-size: 32px;
	font-weight: 800;
	color: #8fdf04;
	min-width: 40px;
	text-align: center;
}
.ac-mini__imagem {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}
.ac-mini__conteudo {
	flex: 1;
}
.ac-mini__nome {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 4px;
}
.ac-mini__preco {
	font-size: 18px;
	font-weight: 800;
	color: #8fdf04;
	margin: 0 0 8px;
}

/* Box Destacado */
.ac-box {
	background: #ffffff;
	border: 2px solid #e8e8e8;
	border-radius: 16px;
	padding: 32px;
	text-align: center;
	max-width: 400px;
	position: relative;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.ac-box--dourado { border-color: #ffc107; }
.ac-box--verde { border-color: #4caf50; }
.ac-box--azul { border-color: #2196f3; }
.ac-box--vermelho { border-color: #f44336; }
.ac-box__selo {
	display: inline-block;
	background: #1a1a1a;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.ac-box__imagem {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 16px;
}
.ac-box__nome {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 8px;
}
.ac-box__preco {
	font-size: 28px;
	font-weight: 800;
	color: #8fdf04;
	margin: 0 0 20px;
}

/* Tabela Comparativa */
.ac-tabela-wrapper {
	overflow-x: auto;
	margin: 24px 0;
}
.ac-tabela {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
	border: 1px solid #e8e8e8;
}
.ac-tabela thead {
	background: #f8f9fa;
}
.ac-tabela th,
.ac-tabela td {
	padding: 16px;
	text-align: left;
	border-bottom: 1px solid #e8e8e8;
}
.ac-tabela th {
	font-weight: 700;
	color: #1a1a1a;
	font-size: 14px;
	text-transform: uppercase;
}
.ac-tabela__imagem {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
}
.ac-tabela__preco {
	font-weight: 800;
	color: #8fdf04;
}

/* Lista Vertical */
.ac-lista {
	max-width: 600px;
}
.ac-lista__titulo {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 16px;
}
.ac-lista__item {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 16px;
	padding: 16px;
	margin-bottom: 12px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.1);
	transition: transform .3s ease, border-color .3s ease;
}
.ac-lista__item:hover {
	transform: translateY(-6px);
	border-color: #8fdf04;
}
.ac-lista__imagem {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}
.ac-lista__conteudo {
	flex: 1;
}
.ac-lista__nome {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 4px;
}
.ac-lista__preco {
	font-size: 16px;
	font-weight: 800;
	color: #8fdf04;
	margin: 0 0 8px;
}

/* Multiplas Ofertas */
.ac-ofertas {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px;
}
.ac-ofertas .ac-btn {
	font-size: 13px;
	padding: 8px 12px;
}

/* Erro */
.ac-erro {
	color: #f44336;
	font-size: 14px;
	font-weight: 700;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
	.ac-card,
	.ac-box,
	.ac-lista {
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}

	.ac-mini {
		max-width: 100%;
		width: 100%;
		flex-wrap: wrap;
	}

	.ac-mini__imagem {
		width: 60px;
		height: 60px;
	}

	.ac-mini__numero {
		font-size: 24px;
	}

	.ac-tabela th,
	.ac-tabela td {
		padding: 10px;
		font-size: 13px;
	}

	.ac-tabela__imagem {
		width: 40px;
		height: 40px;
	}

	.ac-lista__item {
		flex-wrap: wrap;
	}

	.ac-lista__imagem {
		width: 50px;
		height: 50px;
	}
}

@media (max-width: 480px) {
	.ac-card {
		padding: 16px;
	}

	.ac-card__nome {
		font-size: 16px;
	}

	.ac-card__preco {
		font-size: 20px;
	}

	.ac-box {
		padding: 20px;
	}

	.ac-box__nome {
		font-size: 18px;
	}

	.ac-box__preco {
		font-size: 22px;
	}

	.ac-mini {
		gap: 10px;
		padding: 12px;
	}

	.ac-mini__nome {
		font-size: 14px;
	}

	.ac-mini__preco {
		font-size: 16px;
	}

	.ac-btn {
		padding: 10px 18px;
		font-size: 14px;
	}

	.ac-tabela th,
	.ac-tabela td {
		padding: 8px;
		font-size: 12px;
	}
}

/* Acessibilidade e Foco */
.ac-btn:focus,
.ac-link:focus,
.ac-card:focus-within,
.ac-mini:focus-within,
.ac-box:focus-within,
.ac-lista__item:focus-within {
	outline: 3px solid #8fdf04;
	outline-offset: 2px;
}

/* Reducao de sombra para menos poluicao visual */
.ac-card,
.ac-mini,
.ac-box,
.ac-tabela,
.ac-lista__item {
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Melhorias no Card de Produto - estilo pagina de produto */
.ac-card {
	text-align: left;
	background: #fff;
	border-radius: 16px;
	border: 1px solid #eee;
	padding: 24px;
	max-width: 800px;
}
.ac-card__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: start;
}
@media (max-width: 600px) {
	.ac-card__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}
.ac-card__col-imagem {
	background: #fafafa;
	border-radius: 12px;
	padding: 16px;
}
.ac-card__col-info {
	padding: 0;
}
.ac-card__imagem {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 12px;
	display: block;
}
.ac-card__nome {
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 16px;
	line-height: 1.3;
}
.ac-card__melhor-preco-label {
	font-size: 14px;
	color: #666;
	margin: 0 0 4px;
}
.ac-card__preco {
	font-size: 36px;
	font-weight: 800;
	color: #4caf50;
	margin: 0 0 24px;
}
.ac-card__lojas-titulo {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #666;
	margin: 0 0 12px;
	letter-spacing: 1px;
}
.ac-card__lojas {
	display: flex;
	flex-direction: column;
}
.ac-card__loja {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
}
.ac-card__loja:last-child {
	border-bottom: none;
}
.ac-card__loja-logo-wrap {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
}
.ac-card__loja-logo {
	width: 28px;
	height: 28px;
	object-fit: contain;
}
.ac-card__loja-inicial {
	font-size: 12px;
	font-weight: 700;
	color: #666;
	text-transform: uppercase;
}
.ac-card__loja-info {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.ac-card__loja-nome {
	font-size: 12px;
	font-weight: 600;
	color: #1a1a1a;
}
.ac-card__loja-preco {
	font-size: 14px;
	font-weight: 700;
	color: #22c55e;
}
.ac-card__loja-btn {
	font-size: 12px;
	font-weight: 600;
	padding: 8px 16px;
	background: #3b82f6;
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s;
}
.ac-card__loja-btn:hover {
	opacity: 0.9;
}

/* =============================
   Produto Indisponivel (sem ofertas)
   ============================= */
.ac-indisponivel {
	opacity: 0.85;
}
.ac-indisponivel .ac-card__imagem,
.ac-indisponivel .ac-mini__imagem,
.ac-indisponivel .ac-box__imagem {
	filter: grayscale(30%);
}
.ac-msg-indisponivel {
	font-size: 14px;
	color: #666;
	font-style: italic;
	margin: 12px 0;
	padding: 12px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 3px solid #f59e0b;
}
.ac-btn--indisponivel {
	background: #6b7280;
	color: #fff;
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	margin-top: 8px;
}
.ac-btn--indisponivel:hover {
	background: #4b5563;
}

/* ================================================================
   FICHA TECNICA
   ================================================================ */

.ac-ficha-tecnica {
	background: #fff;
	border-radius: 16px;
	border: 1px solid #e8e8e8;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.ac-ficha-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
	border-bottom: 1px solid #f0f0f0;
	background: #fff;
	gap: 12px;
}

.ac-ficha-header-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ac-ficha-icone {
	color: #666;
	flex-shrink: 0;
}

.ac-ficha-titulo {
	font-size: 17px;
	font-weight: 700;
	margin: 0;
	color: #1a1a1a;
	line-height: 1;
}

.ac-ficha-btn-comparar {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #2563eb;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	padding: 7px 13px;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s, border-color .15s;
	flex-shrink: 0;
}

.ac-ficha-btn-comparar:hover {
	background: #dbeafe;
	border-color: #93c5fd;
	color: #1d4ed8;
}

.ac-ficha-grupo {
	margin: 20px 24px;
	padding: 16px;
	background: #fafbfc;
	border: 1px solid #e5e7eb;
	border-radius: 0 0 12px 12px;
}

.ac-ficha-grupo:last-child {
	margin-bottom: 24px;
}

.ac-ficha-grupo-titulo {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #84cc16;
	background: #374151;
	padding: 10px 16px;
	margin: -16px -16px 12px -16px;
	border-radius: 12px 12px 0 0;
}

.ac-ficha-tabela {
	width: 100%;
	border-collapse: collapse;
}

.ac-ficha-linha {
	transition: background .1s;
}

.ac-ficha-linha:hover {
	background: #f3f4f6;
}

.ac-ficha-destaque {
	background: #fffbeb;
}

.ac-ficha-destaque:hover {
	background: #fef3c7;
}

.ac-ficha-nome {
	width: 42%;
	font-size: 13px;
	font-weight: 500;
	color: #666;
	padding: 10px 16px 10px 0;
	text-align: right;
	vertical-align: middle;
}

.ac-ficha-destaque-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	background: #f59e0b;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: middle;
	flex-shrink: 0;
}

.ac-ficha-valor {
	font-size: 14px;
	font-weight: 600;
	color: #111;
	padding: 10px 0 10px 16px;
	vertical-align: middle;
}

.ac-ficha-unidade {
	font-size: 12px;
	font-weight: 400;
	color: #999;
	margin-left: 2px;
}

.ac-ficha-sim {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #16a34a;
	font-weight: 600;
}

.ac-ficha-nao {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #dc2626;
	font-weight: 600;
}

/* ================================================================
   COMPARAR PRODUTOS
   ================================================================ */

.ac-comparar-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 24px 16px 48px;
}

.ac-comparar-header {
	margin-bottom: 28px;
}

.ac-comparar-back {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #666;
	text-decoration: none;
	margin-bottom: 12px;
}

.ac-comparar-back:hover { color: #111; }

.ac-comparar-titulo {
	font-size: 26px;
	font-weight: 800;
	color: #111;
	margin: 0 0 4px;
}

.ac-comparar-subtitulo {
	font-size: 14px;
	color: #888;
	margin: 0;
}

.ac-comparar-vazio {
	text-align: center;
	padding: 80px 20px;
	color: #999;
}

.ac-comparar-vazio p {
	margin: 16px 0 24px;
	font-size: 16px;
}

.ac-comparar-btn-produtos {
	display: inline-block;
	background: #111;
	color: #fff;
	border-radius: 10px;
	padding: 12px 24px;
	font-weight: 600;
	text-decoration: none;
	font-size: 14px;
}

.ac-comparar-wrapper {
	background: #fff;
	border-radius: 16px;
	border: 1px solid #e8e8e8;
	box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* Tabela wrap: scroll horizontal em mobile */
.ac-comparar-tabela-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ac-comparar-tabela {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	min-width: 500px;
}

/* Header com produtos — sticky ao scrollar a pagina */
.ac-comparar-row-header th {
	vertical-align: top;
	padding: 0;
	border-right: 1px solid #f0f0f0;
	border-bottom: none;
	position: sticky;
	top: var(--ac-sticky-top, 0px);
	z-index: 10;
	background: #fff;
	box-shadow: 0 3px 8px rgba(0,0,0,.07), inset 0 -2px 0 0 #e8e8e8;
}
.ac-comparar-row-header th.ac-comparar-col-label {
	background: #fafafa;
}
.ac-comparar-row-header th.ac-comparar-col-destaque {
	background: #fffbeb;
}

.ac-comparar-row-header th:last-child { border-right: none; }

.ac-comparar-col-label {
	width: 220px;
	min-width: 160px;
	background: #fafafa;
}

.ac-comparar-col-produto {
	text-align: center;
	padding: 20px 16px !important;
	background: #fff;
	position: relative;
}

.ac-comparar-col-destaque {
	background: #fffbeb !important;
	border-top: 3px solid var(--ac-cor-destaque, #f59e0b);
}

.ac-comparar-badge-melhor {
	display: inline-block;
	background: var(--ac-cor-destaque, #f59e0b);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: 20px;
	padding: 3px 10px;
	margin-bottom: 10px;
}

.ac-comparar-produto-img-wrap {
	margin-bottom: 10px;
}

.ac-comparar-produto-img {
	width: 100px;
	height: 100px;
	object-fit: contain;
	border-radius: 10px;
	border: 1px solid #f0f0f0;
}

.ac-comparar-produto-img-placeholder {
	width: 100px;
	height: 100px;
	background: #f5f5f5;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	color: #ccc;
	margin: 0 auto;
}

.ac-comparar-produto-nome {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #111;
	text-decoration: none;
	margin-bottom: 8px;
	line-height: 1.3;
}

.ac-comparar-produto-nome:hover { color: var(--ac-cor-primaria, #2563eb); }

.ac-comparar-produto-preco {
	font-size: 18px;
	font-weight: 800;
	color: #111;
	margin-bottom: 10px;
}

.ac-comparar-sem-preco {
	font-size: 13px;
	color: #aaa;
	font-weight: 500;
}

.ac-comparar-btn-comprar {
	display: inline-block;
	background: #111;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	border-radius: 8px;
	padding: 8px 16px;
	text-decoration: none;
	margin-bottom: 10px;
	transition: opacity .15s;
}

.ac-comparar-btn-comprar:hover { opacity: .85; color: #fff; }

.ac-comparar-pontuacao {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
	margin-top: 6px;
}

.ac-comparar-pontuacao-num {
	font-size: 20px;
	font-weight: 800;
	color: var(--ac-cor-primaria, #2563eb);
}

.ac-comparar-pontuacao-label {
	font-size: 11px;
	color: #888;
}

.ac-comparar-btn-remover {
	display: block;
	margin: 8px auto 0;
	background: none;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	font-size: 11px;
	color: #aaa;
	cursor: pointer;
	padding: 3px 8px;
	transition: all .15s;
}

.ac-comparar-btn-remover:hover {
	background: #fee2e2;
	border-color: #fca5a5;
	color: #dc2626;
}

/* Mini-produto repetido antes de cada grupo */
.ac-comparar-row-mini-produto {
	background: #f8f9fa;
}
/* Esconde a primeira linha mini-produto que aparece apos o thead */
tbody .ac-comparar-row-mini-produto:first-of-type {
	display: none;
}
.ac-comparar-row-mini-produto + .ac-comparar-row-grupo td {
	border-top: none;
}
.ac-comparar-mini-label {
	font-size: 11px;
	font-weight: 600;
	color: #aaa;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.ac-comparar-mini-celula {
	padding: 10px 12px !important;
	text-align: center;
	vertical-align: middle;
}
.ac-comparar-mini-img {
	display: block;
	width: 52px;
	height: 52px;
	object-fit: contain;
	border-radius: 6px;
	border: 1px solid #eee;
	margin: 0 auto 6px;
	background: #fff;
}
.ac-comparar-mini-btn {
	display: inline-block;
	font-size: 12px !important;
	padding: 5px 14px !important;
	border-radius: 6px !important;
}

/* Linhas de grupo */
.ac-comparar-row-grupo > td {
	border-top: none !important;
}
.ac-comparar-row-grupo td {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: #fff;
	background: #3a3a3a;
	padding: 10px 20px 8px;
	border-top: 1px solid #2a2a2a;
	border-bottom: 1px solid #2a2a2a;
}

/* Linhas de campo */
.ac-comparar-row-campo {
	transition: background .1s;
}
.ac-comparar-row-campo td,
.ac-comparar-row-campo th {
	border-top: 1px solid #f5f5f5;
}

.ac-comparar-row-campo:hover { background: #f9fafb; }

.ac-comparar-campo-nome {
	font-size: 13px;
	font-weight: 500;
	color: #555;
	padding: 11px 20px;
	background: #fafafa;
	border-right: 1px solid #f0f0f0;
	vertical-align: middle;
	white-space: nowrap;
}

.ac-comparar-campo-regra {
	font-size: 11px;
	margin-left: 4px;
	cursor: default;
}

.ac-comparar-celula {
	text-align: center;
	padding: 11px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #111;
	border-right: 1px solid #f0f0f0;
	vertical-align: middle;
}

.ac-comparar-celula:last-child { border-right: none; }

.ac-comparar-celula-vencedor {
	background: #f0fdf4;
	color: #15803d;
}

.ac-comparar-celula-vazia { color: #ccc; }

.ac-comparar-nd { color: #ccc; font-weight: 400; }

.ac-comparar-val { display: inline; }

.ac-comparar-opcao-pts {
	display: inline-block;
	margin-left: 6px;
	font-size: 11px;
	font-weight: 600;
	color: #888;
	background: #f3f4f6;
	border-radius: 4px;
	padding: 1px 5px;
	vertical-align: middle;
}

.ac-comparar-opcao-pts--best {
	color: #15803d;
	background: #dcfce7;
}

.ac-comparar-unidade {
	font-size: 12px;
	font-weight: 400;
	color: #999;
	margin-left: 2px;
}

.ac-comparar-star {
	font-size: 12px;
	margin-left: 4px;
}

.ac-comparar-sim { color: #16a34a; font-size: 18px; }
.ac-comparar-nao { color: #dc2626; font-size: 18px; }

.ac-comparar-row-total td {
	font-size: 15px;
}

/* Controles */
.ac-comparar-controles {
	padding: 14px 20px;
	border-top: 1px solid #f0f0f0;
	background: #fafafa;
}

.ac-comparar-btn-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 500;
	color: #555;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 7px;
	padding: 6px 13px;
	cursor: pointer;
	transition: all .15s;
}

.ac-comparar-btn-toggle:hover {
	background: #f0f0f0;
	color: #111;
}

/* Floating bar de comparar (na pagina do produto) */
.ac-comparar-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #111;
	color: #fff;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	z-index: 9999;
	transform: translateY(100%);
	transition: transform .25s ease;
	box-shadow: 0 -4px 24px rgba(0,0,0,.18);
}

.ac-comparar-bar.ac-comparar-bar--visivel {
	transform: translateY(0);
}

.ac-comparar-bar-info {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.ac-comparar-bar-count {
	background: #2563eb;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ac-comparar-bar-btns {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.ac-comparar-bar-btn {
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: background .15s;
}

.ac-comparar-bar-btn:hover { background: #1d4ed8; color: #fff; }

.ac-comparar-bar-btn--limpar {
	background: transparent;
	border: 1px solid rgba(255,255,255,.3);
	color: #ccc;
	font-weight: 500;
}

.ac-comparar-bar-btn--limpar:hover {
	background: rgba(255,255,255,.1);
	color: #fff;
}

/* Botao adicionar ao comparativo na pagina do produto */
.ac-produto-btn-comparar {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	background: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 9px;
	padding: 8px 16px;
	cursor: pointer;
	transition: all .15s;
	text-align: left;
	margin-top: 10px;
	width: 100%;
	justify-content: center;
}

.ac-produto-btn-comparar:hover,
.ac-produto-btn-comparar.ac-produto-btn-comparar--adicionado {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #2563eb;
}

/* ================================================================
   SELECAO DE PRODUTOS (pagina comparar)
   ================================================================ */

.ac-comparar-aviso-misto {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #fffbea;
	border: 1px solid #f59e0b;
	border-left: 4px solid #f59e0b;
	border-radius: 10px;
	padding: 14px 18px;
	margin: 0 0 24px;
	color: #92400e;
}
.ac-comparar-aviso-misto svg {
	flex-shrink: 0;
	color: #f59e0b;
	margin-top: 2px;
}
.ac-comparar-aviso-misto strong {
	display: block;
	font-weight: 700;
	margin-bottom: 4px;
	font-size: 14px;
}
.ac-comparar-aviso-misto span {
	font-size: 13px;
	line-height: 1.5;
}

.ac-comparar-selecao {
	padding: 0;
}

.ac-comparar-selecao-header {
	text-align: center;
	margin-bottom: 32px;
}

.ac-comparar-selecao-header h2 {
	font-size: 22px;
	font-weight: 700;
	color: #111;
	margin: 0 0 8px;
}

.ac-comparar-selecao-header p {
	font-size: 15px;
	color: #666;
	margin: 0;
}

.ac-comparar-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.ac-comparar-busca-wrap {
	position: relative;
	flex: 1;
	min-width: 200px;
	max-width: 380px;
}

.ac-comparar-busca-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #999;
	pointer-events: none;
}

.ac-comparar-busca {
	width: 100%;
	padding: 9px 12px 9px 36px;
	border: 1px solid var(--ac-cor-borda, #e0e0e0);
	border-radius: 8px;
	font-size: 14px;
	color: #111;
	background: #fff;
	box-sizing: border-box;
	transition: border-color .15s;
	outline: none;
}

.ac-comparar-busca:focus {
	border-color: var(--ac-cor-primaria, #2563eb);
	box-shadow: 0 0 0 3px rgba(var(--ac-cor-primaria-rgb, 37,99,235), .1);
}

.ac-comparar-filtros {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ac-comparar-filtro {
	padding: 6px 14px;
	border: 1px solid var(--ac-cor-borda, #e0e0e0);
	border-radius: 20px;
	background: #fff;
	font-size: 13px;
	font-weight: 500;
	color: #444;
	cursor: pointer;
	transition: all .15s;
	white-space: nowrap;
}

.ac-comparar-filtro:hover {
	border-color: var(--ac-cor-destaque, #2563eb);
	color: var(--ac-cor-destaque, #2563eb);
}

.ac-comparar-filtro--ativo {
	background: var(--ac-cor-primaria, #2563eb);
	border-color: var(--ac-cor-primaria, #2563eb);
	color: #fff;
}

.ac-comparar-filtro--ativo:hover {
	background: var(--ac-cor-primaria-hover, #1d4ed8);
	border-color: var(--ac-cor-primaria-hover, #1d4ed8);
	color: #fff;
}

.ac-comparar-sem-resultados {
	text-align: center;
	padding: 48px 20px;
	color: #aaa;
}

.ac-comparar-sem-resultados p {
	margin: 12px 0 0;
	font-size: 15px;
}

.ac-comparar-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

.ac-comparar-card {
	background: #fff;
	border: 2px solid #e5e5e5;
	border-radius: 12px;
	padding: 16px;
	position: relative;
	transition: all .2s;
	cursor: pointer;
}

.ac-comparar-card:hover {
	border-color: #bfdbfe;
	box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.ac-comparar-card--disabled {
	opacity: .5;
	cursor: not-allowed;
	pointer-events: none;
}

.ac-comparar-card.ac-comparar-card--selected {
	border-color: var(--ac-cor-primaria, #2563eb);
	background: #eff6ff;
}

.ac-comparar-card-check {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
}

.ac-comparar-checkbox {
	display: none;
}

.ac-comparar-check-label {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: #fff;
	border: 2px solid #ddd;
	border-radius: 50%;
	cursor: pointer;
	transition: all .15s;
}

.ac-comparar-check-label:hover {
	border-color: var(--ac-cor-primaria, #2563eb);
}

.ac-comparar-checkbox:checked ~ .ac-comparar-check-label {
	background: var(--ac-cor-primaria, #2563eb);
	border-color: var(--ac-cor-primaria, #2563eb);
	color: #fff;
}

.ac-comparar-checkbox:checked ~ .ac-comparar-check-label svg {
	opacity: 1;
	transform: scale(1);
}

.ac-comparar-check-label svg {
	opacity: 0;
	transform: scale(0.7);
	transition: all .15s;
}

.ac-comparar-card-img {
	margin-bottom: 12px;
}

.ac-comparar-card-img img {
	width: 100%;
	height: 140px;
	object-fit: contain;
	border-radius: 8px;
	background: #fafafa;
}

.ac-comparar-card-img-placeholder {
	width: 100%;
	height: 140px;
	background: #f5f5f5;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	color: #ccc;
}

.ac-comparar-card-info {
	text-align: center;
}

.ac-comparar-card-nome {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.ac-comparar-card-nome a {
	color: #111;
	text-decoration: none;
}

.ac-comparar-card-nome a:hover {
	color: #2563eb;
}

.ac-comparar-card-preco {
	font-size: 16px;
	font-weight: 800;
	color: #111;
}

.ac-comparar-card-sem-preco {
	font-size: 13px;
	color: #aaa;
	font-weight: 500;
}

.ac-comparar-selecao-footer {
	text-align: center;
	padding: 24px 0;
}

.ac-comparar-btn-comparar {
	background: #111;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 14px 32px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all .15s;
}

.ac-comparar-btn-comparar:hover:not(:disabled) {
	background: #333;
}

.ac-comparar-btn-comparar:disabled {
	background: #e5e5e5;
	color: #aaa;
	cursor: not-allowed;
}

/* ================================================================
   GALERIA DE FOTOS EXTRAS
   ================================================================ */

.ac-galeria-fotos-extras {
	margin-top: 24px;
}

.ac-galeria-titulo {
	font-size: 16px;
	font-weight: 600;
	color: #111;
	margin: 0 0 16px;
}

.ac-galeria-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.ac-galeria-item {
	position: relative;
	aspect-ratio: 1/1;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
}

.ac-galeria-item:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ac-galeria-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ================================================================
   LIGHTBOX
   ================================================================ */

.ac-lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 10000;
	cursor: pointer;
}

.ac-lightbox.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ac-lightbox-img {
	max-width: 90%;
	max-height: 90%;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.ac-lightbox-fechar {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}

.ac-lightbox-fechar:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
	.ac-ficha-nome { padding: 10px 16px; font-size: 12px; }
	.ac-ficha-valor { padding: 10px 16px; font-size: 13px; }
	.ac-ficha-grupo-titulo { padding: 10px 16px 5px; }
	.ac-ficha-header { padding: 14px 16px; }
	.ac-ficha-btn-comparar { font-size: 12px; padding: 6px 10px; }
	.ac-comparar-col-label { min-width: 120px; width: 120px; }
	.ac-comparar-campo-nome { white-space: normal; font-size: 12px; padding: 9px 12px; }
	.ac-comparar-celula { padding: 9px 10px; font-size: 13px; }
	.ac-comparar-titulo { font-size: 20px; }
	.ac-comparar-produto-img { width: 72px; height: 72px; }
	.ac-comparar-selecao-header h2 { font-size: 18px; }
	.ac-comparar-selecao-header p { font-size: 14px; }
	.ac-comparar-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.ac-comparar-toolbar { gap: 10px; }
	.ac-comparar-busca-wrap { max-width: 100%; }
	.ac-comparar-card { padding: 12px; }
	.ac-comparar-card-img img { height: 110px; }
	.ac-comparar-card-img-placeholder { height: 110px; font-size: 20px; }
	.ac-comparar-card-nome { font-size: 13px; }
	.ac-comparar-card-preco { font-size: 15px; }
	.ac-comparar-btn-comparar { padding: 12px 24px; font-size: 14px; }
	.ac-galeria-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.ac-galeria-titulo { font-size: 14px; margin-bottom: 12px; }
	.ac-lightbox-fechar { top: 15px; right: 15px; width: 36px; height: 36px; }
}

/* =============================
   Historico de Precos e Termometro (Aprimorado Dark)
   ============================= */
.ac-historico-dark {
    background: #111116;
    border: 1px solid #1e1e2d;
    border-radius: 20px;
    padding: 32px;
    margin-top: 40px;
    color: #fff;
    font-family: inherit;
}
.ac-historico-dark .ac-historico-titulo-secao {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.ac-historico-dark .ac-historico-grafico-container {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    height: 380px;
    position: relative;
    width: 100%;
}
.ac-historico-stats-row {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #1e1e2d;
}
.ac-historico-stat-item {
    text-align: center;
    flex: 1;
}
.ac-historico-stat-label {
    font-size: 14px;
    color: #a1a1aa;
    margin-bottom: 8px;
    font-weight: 500;
}
.ac-historico-stat-value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.ac-color-green { color: #10b981; }
.ac-color-yellow { color: #f59e0b; }
.ac-color-red { color: #ef4444; }
.ac-color-purple { color: #8b5cf6; }

.ac-historico-termometro-row {
    margin-top: 30px;
    background: #181824;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #1e1e2d;
}
.ac-historico-termometro-titulo {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #fff;
}
.ac-historico-termometro-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}
.ac-termometro-badge {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.ac-bg-green { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.ac-bg-red { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.ac-historico-termometro-bar {
    position: relative;
    height: 12px;
    border-radius: 999px;
    background: #27273a;
}
.ac-historico-termometro-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #10b981 0%, #f59e0b 50%, #ef4444 100%);
}
.ac-historico-termometro-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: #fff;
    border: 4px solid #181824;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: left 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 600px) {
    .ac-historico-stats-row {
        flex-wrap: wrap;
        gap: 24px;
    }
    .ac-historico-stat-item {
        width: 45%;
    }
    .ac-historico-termometro-labels {
        font-size: 12px;
    }
    .ac-historico-stat-value {
        font-size: 18px;
    }
}


/* --- ESTATISTICAS DE PRECO POR LOJA E TERMOMETRO --- */
.ac-historico-lojas-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.ac-historico-loja-stat-card {
    background-color: #1e293b;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #334155;
}

.ac-historico-loja-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #334155;
}

.ac-historico-loja-stat-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ac-btn-oferta-loja {
    display: inline-block;
    background: #eab308; /* Yellow 500 */
    color: #0f172a; /* Slate 900 */
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.ac-btn-oferta-loja:hover {
    background: #facc15; /* Yellow 400 */
    color: #0f172a;
    transform: translateY(-1px);
}

.ac-historico-loja-logo {
    max-height: 30px;
    max-width: 100px;
    object-fit: contain;
}

.ac-historico-loja-nome {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f8fafc;
}

.ac-historico-stats-row.ac-historico-stats-row--loja {
    margin-bottom: 1.5rem;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

/* TERMOMETRO SINAL DE PRECO */
.ac-price-signal {
    margin-top: 1rem;
    font-family: inherit;
}

.ac-price-signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.ac-price-signal-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ac-price-signal-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    text-transform: uppercase;
}

.ac-price-signal-status--baixo { background-color: rgba(34, 197, 94, 0.15); color: #4ade80; }
.ac-price-signal-status--medio { background-color: rgba(234, 179, 8, 0.15); color: #facc15; }
.ac-price-signal-status--alto { background-color: rgba(239, 68, 68, 0.15); color: #f87171; }

.ac-price-signal-status-compact {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.ac-price-signal-bar {
    position: relative;
    height: 12px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #22c55e 0%, #eab308 50%, #ef4444 100%);
    margin-bottom: 0.5rem;
}

.ac-price-signal--compact .ac-price-signal-bar {
    height: 6px;
    margin-bottom: 0.35rem;
}

.ac-price-signal-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 3px solid #1e293b;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    z-index: 2;
}

.ac-price-signal--compact .ac-price-signal-marker {
    width: 10px;
    height: 10px;
    border-width: 2px;
}

.ac-price-signal-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ac-price-signal-label {
    display: flex;
    flex-direction: column;
}

.ac-price-signal-label--right {
    text-align: right;
}

.ac-price-signal-label-title {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 600;
}

.ac-price-signal-label-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e2e8f0;
}

.ac-price-signal--compact .ac-price-signal-label-val {
    font-size: 0.7rem;
    color: #000;
}

.ac-lista-card-preco + .ac-price-signal,
.ac-cat-card-preco + .ac-price-signal,
.ac-card__preco + .ac-price-signal {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
}

.ac-price-signal--compact .ac-price-signal-label-val {
    color: inherit;
}
