/* Perfume Árabe — categoria e busca (30/09/2026, mockup do Bruno: agents/shots/2026-09-30/mockup-categoria-mobile-bruno.png).
   Carrega só em category/search, DEPOIS de pa-produto.css (que ainda tem as regras antigas de pílula, controles e card,
   usadas também pelo produto). Tudo aqui é escopado em .template-category / .template-search: a página de produto não muda.
   Ordem da página: faixa superior (.pa-cat-hero) > pílulas > Filtrar|Ordenar por > contagem > grade > botão flutuante >
   texto de SEO (.pa-categoria-seo). Régua: conhecimento/padrao-ui.md §3.20 (categoria). */

/* ================= faixa superior (§3.20) =================
   Imagem de FUNDO de largura total (<picture>, 2 arquivos por categoria, já com o marfim e o esmaecimento à esquerda); o texto
   fica por cima, na área marfim. min-height, nunca height: o texto nunca é cortado. */
.pa-cat-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	background: var(--pa-marfim);
	border-bottom: 1px solid var(--pa-linha);
	padding: var(--pa-e-24) 0;
}
.pa-cat-hero--img { min-height: 300px; }
.pa-cat-hero__pic { position: absolute; inset: 0; z-index: -1; display: block; }
.pa-cat-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.pa-cat-hero__txt { width: 100%; }
.pa-cat-hero__txt > .page-header,
.pa-cat-hero__txt > .pa-cat-hero__frase { max-width: 62%; }
.pa-cat-hero--busca .pa-cat-hero__txt > .page-header,
.pa-cat-hero--busca .pa-cat-hero__txt > h2 { max-width: none; }
.template-category .pa-cat-hero .page-header,
.template-search .pa-cat-hero .page-header { padding: 0 !important; }
.template-category .pa-cat-hero .breadcrumbs { margin-bottom: var(--pa-e-12); font-size: 12px; }
.template-category .pa-cat-hero .breadcrumbs a { position: relative; }
.template-category .pa-cat-hero .breadcrumbs a::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
.template-category .pa-cat-hero h1,
.template-search .pa-cat-hero h1 {
	font-family: var(--pa-serif);
	font-weight: 600;
	font-size: 36px;
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--pa-tinta);
	margin: 0;
}
.pa-cat-hero__frase {
	font-family: var(--pa-sans);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.6;
	color: var(--pa-tinta-2);
	margin: var(--pa-e-12) 0 0;
}
.template-search .pa-cat-hero h2 { font-family: var(--pa-sans); font-size: 14px; font-weight: 400; color: var(--pa-tinta-2); margin: var(--pa-e-12) 0 0 !important; padding: 0 !important; }

/* ================= pílulas de família ================= */
.template-category .pa-pilulas,
.template-search .pa-pilulas { margin: var(--pa-e-16) auto 0; }
.template-category .pa-pilulas__lista { padding: 0 var(--pa-e-4) 0 0; gap: var(--pa-e-8); }
.template-category .pa-pilula {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	background: var(--pa-marfim);
	border-color: var(--pa-areia);
}
.template-category .pa-pilula.is-ativa { background: var(--pa-noite-2); border-color: var(--pa-noite-2); color: var(--pa-marfim); }

/* ================= Filtrar | Ordenar por (nativos) ================= */
.template-category .category-controls,
.template-search .category-controls { position: static; border: 0 !important; background: transparent; padding: var(--pa-e-16) 0 0; }
.template-category .category-control-item,
.template-search .category-control-item { position: relative; }
.template-category .category-control-item > a,
.template-search .category-control-item > a { min-height: 48px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.pa-ordenar-seta { display: none; position: absolute; right: 14px; width: 12px; height: 12px; }
@media (min-width: 380px) { .pa-ordenar-seta { display: block; } }

/* ================= contagem ================= */
.pa-cat-contagem {
	font-family: var(--pa-serif);
	font-size: 18px;
	line-height: 1.3;
	color: var(--pa-tinta-2);
	margin: 0 0 var(--pa-e-12);
}

/* ================= card de produto (categoria e busca) ================= */
.template-category .pa-card .item,
.template-search .pa-card .item,
.template-category .pa-card .js-product-container,
.template-search .pa-card .js-product-container {
	display: flex;
	flex-direction: column;
}
.template-category .pa-card .item,
.template-search .pa-card .item {
	height: 100%;
	background: var(--pa-marfim);
	border-radius: var(--pa-r-8);
	overflow: hidden;
	transition: box-shadow var(--pa-t);
}
.template-category .pa-card .js-product-container,
.template-search .pa-card .js-product-container { flex: 1; }
/* foto de borda a borda no topo, sem moldura: a área da imagem é BRANCA, o mesmo tom do fundo das fotos 01 (medido: #FFF nos 9 casas
   do catálogo) e a foto ocupa a área inteira, 1:1, frasco com 77–90% da altura. Sem multiply (não há tom a fundir; cenas
   próprias ficam sem tinta). O tema centraliza a <img> e limita a altura, por isso width/height 100%. O texto fica no marfim do card. */
.template-category .pa-card .item-image,
.template-search .pa-card .item-image,
.template-category .pa-card .js-item-image-padding,
.template-search .pa-card .js-item-image-padding { border-radius: 0; background: var(--pa-branco); transform: none !important; box-shadow: none !important; }
.template-category .pa-card .js-item-image-padding,
.template-search .pa-card .js-item-image-padding { padding-bottom: 100% !important; }
.template-category .pa-card .item-image img,
.template-search .pa-card .item-image img { padding: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; mix-blend-mode: normal; }
.template-category .pa-card .item-description,
.template-search .pa-card .item-description {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: var(--pa-e-12) var(--pa-e-8) var(--pa-e-8) !important;
}
.template-category .pa-card .item-link,
.template-search .pa-card .item-link { flex: 1; display: flex; flex-direction: column; }
.template-category .pa-card .pa-card-marca,
.template-search .pa-card .pa-card-marca { font-size: 12px; letter-spacing: .08em; font-weight: 600; margin-bottom: var(--pa-e-4); }
.template-category .pa-card .item-name,
.template-search .pa-card .item-name { font-size: 14px !important; font-weight: 500; margin-bottom: var(--pa-e-8) !important; }
.template-category .pa-card .item-price,
.template-search .pa-card .item-price { font-size: 18px; font-weight: 600; }
.template-category .pa-card .item-price-container,
.template-search .pa-card .item-price-container { margin-bottom: 0 !important; }
.template-category .pa-card .pa-card-acao,
.template-search .pa-card .pa-card-acao { display: none; }
/* compra rápida NATIVA (settings.quick_shop; hoje desligado no painel Design): largura total, marrom-escuro, ícone de carrinho; fica acima do link do card */
.template-category .pa-card .item-actions,
.template-search .pa-card .item-actions { display: block !important; position: relative; z-index: 3; margin: auto -2px 0; padding-top: var(--pa-e-12); width: auto; }
.template-category .pa-card .item-actions form,
.template-search .pa-card .item-actions form { margin: 0; }
.template-category .pa-card .item-actions .btn,
.template-search .pa-card .item-actions .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 0 4px;
	white-space: nowrap;
	border: 0;
	border-radius: var(--pa-r-4);
	background-color: var(--pa-noite-2);
	color: var(--pa-marfim);
	font-family: var(--pa-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}
/* ícone de carrinho + "Adicionar ao carrinho" (133px a 12/600 + 14 + 5 = 152px) cabem juntos em botões de 162px (celular 390); abaixo de 380px
   o ícone sai e o texto fica sozinho (em 360px o botão tem 143px) */
@media (min-width: 380px) {
	.template-category .pa-card .item-actions input.btn,
	.template-search .pa-card .item-actions input.btn {
		padding-left: 19px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FDF4E6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h2.6l2.4 11.2h10.1l2.2-8.2H6.2'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: calc(50% - 76px) center;
	}
}
.template-category .pa-card .item-actions .btn:hover,
.template-category .pa-card .item-actions .btn:focus-visible,
.template-search .pa-card .item-actions .btn:hover,
.template-search .pa-card .item-actions .btn:focus-visible { background-color: var(--pa-noite); }

/* ================= botão flutuante (só celular) ================= */
.pa-fab-filtro {
	position: fixed;
	left: 50%;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: var(--pa-e-8);
	min-height: 52px;
	padding: 0 var(--pa-e-24);
	border-radius: var(--pa-r-pill);
	background: var(--pa-noite-2);
	color: var(--pa-marfim);
	font-family: var(--pa-sans);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	box-shadow: var(--pa-sombra-2);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 12px);
	transition: opacity var(--pa-t), transform var(--pa-t), visibility 0s linear .25s;
}
.pa-fab-filtro.is-visivel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.pa-fab-filtro:hover, .pa-fab-filtro:focus-visible { color: var(--pa-marfim); text-decoration: none; background: var(--pa-noite); }
.pa-fab-filtro svg { width: 18px; height: 18px; fill: currentColor; }

/* ================= texto de SEO, depois da grade (§3.20) ================= */
.pa-categoria-seo { border-top: 1px solid var(--pa-linha); padding: var(--pa-e-40) 0 var(--pa-e-64); }
.pa-categoria-seo .pa-categoria-seo__texto { max-width: 680px; margin: 0 auto; font-family: var(--pa-sans); font-size: 16px; line-height: 1.6; color: var(--pa-tinta); }
.pa-categoria-seo .pa-categoria-seo__texto p,
.pa-categoria-seo .pa-categoria-seo__texto li { font-size: 16px; line-height: 1.6; font-weight: 400; margin: 0 0 var(--pa-e-16); color: var(--pa-tinta); }
.pa-categoria-seo .pa-categoria-seo__texto strong,
.pa-categoria-seo .pa-categoria-seo__texto b { font-weight: 600; }
.pa-categoria-seo .pa-categoria-seo__texto h2 { font-family: var(--pa-serif); font-weight: 600; font-size: 22px; line-height: 26px; letter-spacing: 0; color: var(--pa-tinta); margin: var(--pa-e-32) 0 var(--pa-e-12); }
.pa-categoria-seo .pa-categoria-seo__texto h3 { font-family: var(--pa-sans); font-weight: 600; font-size: 16px; line-height: 18px; letter-spacing: 0; color: var(--pa-tinta); margin: var(--pa-e-24) 0 var(--pa-e-8); }
.pa-categoria-seo .pa-categoria-seo__texto > :first-child,
.pa-categoria-seo .pa-categoria-seo__texto > .pa-intro > :first-child { margin-top: 0; }
.pa-categoria-seo .pa-categoria-seo__texto a { color: var(--pa-tinta); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--pa-ambar); }
.pa-categoria-seo .pa-intro,
.pa-categoria-seo .pa-guia { max-width: none; margin: 0; padding: 0; }
.pa-categoria-seo .pa-guia { margin-top: var(--pa-e-24); }
/* cabeçalho das tabelas do guia: a régua só admite 12/14/16/18/22/26/36/48 e pesos 400/500/600 (pa.css trazia 11/700) */
.pa-categoria-seo .pa-guia th { font-size: 12px; font-weight: 600; }

/* ================= celular ================= */
@media (max-width: 767px) {
	.pa-cat-hero__txt { padding-left: var(--pa-gutter); padding-right: var(--pa-gutter); }
	/* a pista rola até a borda da tela (o container perde o padding da direita; a lista o devolve) */
	.template-category .pa-pilulas { padding-right: 0; }
	.template-category .pa-pilulas__lista { padding-right: var(--pa-gutter); }
	.template-category .js-product-table,
	.template-search .js-product-table { margin-left: -6px; margin-right: -6px; }
	.template-category .js-product-table > .item-product,
	.template-search .js-product-table > .item-product { padding: 0 6px; margin-bottom: var(--pa-e-12); }
}

/* ================= desktop ================= */
@media (min-width: 768px) {
	.pa-cat-hero { padding: var(--pa-e-32) 0; }
	.pa-cat-hero--img { min-height: 320px; }
	.pa-cat-hero__txt > .page-header,
	.pa-cat-hero__txt > .pa-cat-hero__frase { max-width: 520px; }
	.template-category .pa-cat-hero h1,
	.template-search .pa-cat-hero h1 { font-size: 48px; }
	.pa-cat-hero__frase { font-size: 18px; line-height: 1.5; }
	.template-category .pa-pilulas { margin-top: var(--pa-e-24); }
	.template-category .js-product-table,
	.template-search .js-product-table { margin-left: -8px; margin-right: -8px; }
	.template-category .js-product-table > .item-product,
	.template-search .js-product-table > .item-product { padding: 0 8px; margin-bottom: var(--pa-e-16); }
	.template-category .pa-card:hover .item,
	.template-search .pa-card:hover .item { box-shadow: var(--pa-sombra-1); }
	.pa-fab-filtro { display: none; }
	.pa-categoria-seo { padding: var(--pa-e-64) 0; }
}
@media (prefers-reduced-motion: reduce) {
	.pa-fab-filtro, .template-category .pa-card .item, .template-search .pa-card .item { transition: none; }
}

/* ordenação dentro do modal de filtros (celular) */
.pa-filtro-ordenar { border-bottom: 1px solid var(--pa-linha); padding-bottom: var(--pa-e-12); margin-bottom: var(--pa-e-8); }
.pa-filtro-ordenar .radio-button { min-height: 44px; display: flex; align-items: center; }

/* Estrutura v4: arte ao lado no desktop e abaixo do texto no celular, conforme mockup aprovado.
   Os banners existentes são editoriais; as fotos comerciais da grade continuam nativas. */
.pa-cat-hero:not(.pa-cat-hero--img) .pa-cat-hero__txt > * { max-width: none; }
.pa-cat-hero__inner { width: 100%; }
.pa-cat-hero--editorial { padding: 0; }
.pa-cat-hero--editorial .pa-cat-hero__inner { display: grid; }
.pa-cat-hero--editorial .pa-cat-hero__txt { padding: var(--pa-e-24) 0; }
.pa-cat-hero__editorial { display: block; overflow: hidden; }
.pa-cat-hero__editorial img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
@media (max-width: 767px) {
  .pa-cat-hero--editorial .pa-cat-hero__inner { padding: 0; }
  .pa-cat-hero--editorial .pa-cat-hero__txt { padding: var(--pa-e-24) var(--pa-gutter); }
  .pa-cat-hero__editorial { height: 260px; }
  .pa-cat-hero__editorial img { object-position: center top; }
}
@media (min-width: 768px) {
  .pa-cat-hero--editorial .pa-cat-hero__inner { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--pa-e-32); }
  .pa-cat-hero--editorial .pa-cat-hero__txt { padding: var(--pa-e-32) 0; }
  .pa-cat-hero__editorial { height: 320px; }
  .pa-cat-hero--editorial .pa-cat-hero__frase { max-width: 440px; }
}

/* Categoria v4 — composição completa. Escopo exclusivo das categorias e busca. */
body.template-category { background: linear-gradient(to bottom, var(--pa-marfim) 0, var(--pa-marfim) var(--pa-fundo-a, 500px), #fff var(--pa-fundo-b, 1100px), #fff 100%); }
.template-category .category-body { background: transparent; }
.template-category .pa-cat-hero--editorial { display: block; min-height: 260px; }
.pa-cat-hero--editorial .pa-cat-hero__inner { display: block; position: relative; min-height: 260px; }
.pa-cat-hero--editorial .pa-cat-hero__txt { position: relative; z-index: 2; padding: var(--pa-e-40) 0; width: 45%; }
.pa-cat-hero--editorial .pa-cat-hero__txt > .page-header { max-width: 440px; }
.pa-cat-hero--editorial .pa-cat-hero__txt > .pa-cat-hero__frase { max-width: 440px; font-size: 16px; line-height: 1.6; }
.pa-cat-hero--editorial .pa-cat-hero__editorial { position: absolute; top: 0; right: calc((100vw - 100%) / -2); height: 100%; width: 75vw; }
.pa-cat-hero--editorial .pa-cat-hero__editorial::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,var(--pa-marfim) 0%,rgba(253,244,230,.96) 12%,rgba(253,244,230,.6) 28%,rgba(253,244,230,0) 48%); }
.pa-cat-hero--editorial .pa-cat-hero__editorial img { object-position: right center; }
.pa-cat-perfis { padding-top: var(--pa-e-24); padding-bottom: var(--pa-e-24); }
.pa-cat-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--pa-e-16); margin-bottom: var(--pa-e-16); }
.pa-cat-section-head h2 { margin: 0; font: 600 26px/1.15 var(--pa-serif); color: var(--pa-tinta); }
.pa-cat-section-head > a { font: 400 12px/1.4 var(--pa-sans); color: var(--pa-ambar-texto); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.pa-cat-perfis__lista { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: var(--pa-e-16); list-style: none; margin: 0; padding: 0; }
.pa-cat-perfis__lista a { display: block; border: 1px solid var(--pa-linha); border-radius: var(--pa-r-4); overflow: hidden; text-decoration: none; background: var(--pa-branco); color: var(--pa-tinta); }
.pa-cat-perfis__lista a:hover, .pa-cat-perfis__lista a[aria-current] { border-color: var(--pa-ambar-texto); }
.pa-cat-perfil__foto { position: relative; display: block; height: 100px; overflow: hidden; background: #F3E6D4; }
.pa-cat-perfil__foto img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pa-cat-perfil__foto--tile img { height: 158%; object-fit: cover; object-position: top; }
.pa-cat-perfil__foto--nota img { padding: 8px; }
.pa-cat-perfil__nome { display: flex; align-items: center; justify-content: space-between; padding: var(--pa-e-12); min-height: 44px; font: 500 14px/1.35 var(--pa-sans); }
.pa-cat-perfil__nome > span { color: var(--pa-ambar-texto); }
.pa-cat-toolbar { justify-content: space-between; align-items: center; border-top: 1px solid var(--pa-linha); padding-top: var(--pa-e-16); padding-bottom: var(--pa-e-16); }
.pa-cat-todos { font-size: 12px; color: var(--pa-ambar-texto); text-decoration: underline; text-underline-offset: 3px; }
.template-category .category-body > .container { margin-top: 0 !important; }
.template-category .category-body > .container > .row, .template-search .category-body > .container > .row { align-items: flex-start; }
.template-category .filters-sidebar, .template-search .filters-sidebar { flex: 0 0 224px; max-width: 224px; padding-right: var(--pa-e-24); }
.filters-sidebar details { border-bottom: 1px solid var(--pa-linha); margin-bottom: var(--pa-e-16); padding-bottom: var(--pa-e-16); }
.filters-sidebar summary { cursor: pointer; font: 500 14px/1.4 var(--pa-sans); min-height: 44px; display: flex; align-items: center; justify-content: space-between; list-style: none; }
.filters-sidebar summary::after { content: '+'; color: var(--pa-ambar-texto); }
.filters-sidebar details[open] > summary::after { content: '−'; }
.filters-sidebar summary::-webkit-details-marker { display: none; }
.template-category .filters-sidebar .filter-accordion, .template-search .filters-sidebar .filter-accordion { border-bottom: 1px solid var(--pa-linha); }
body.template-category .js-product-table > .js-item-product, body.template-search .js-product-table > .js-item-product { flex: 0 0 25%; max-width: 25%; }
.template-category .pa-card .item, .template-search .pa-card .item { background: transparent; border: 1px solid var(--pa-linha); border-radius: var(--pa-r-4); box-shadow: none; }
.template-category .pa-card .item-description, .template-search .pa-card .item-description { background: transparent; padding: 12px !important; }
.template-category .pa-card .item-name, .template-search .pa-card .item-name { opacity: 1; min-height: 38px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.template-category .pa-card .item-actions, .template-search .pa-card .item-actions { padding-top: var(--pa-e-12); margin: auto 0 0; }
.template-category .pa-card .item-actions .btn, .template-search .pa-card .item-actions .btn { position: relative; background-color: var(--pa-noite-2); min-height: 44px; padding: 0 8px; font-size: 12px; }
.template-category .pa-card .item-actions button.btn::before, .template-search .pa-card .item-actions button.btn::before { content: ''; width: 14px; height: 14px; margin-right: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FDF4E6' stroke-width='2'%3E%3Cpath d='M2 3h3l3 12h10l3-9H6'/%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3C/svg%3E") center/contain no-repeat; }
.template-category .pa-card .item-installments, .template-category .pa-card .pa-card-parcela,
.template-search .pa-card .item-installments, .template-search .pa-card .pa-card-parcela { font-size: 12px; color: var(--pa-tinta-2); margin-top: 4px !important; }
.pa-cat-buy__unavailable { min-height: 44px; display: flex; align-items: center; color: var(--pa-tinta-2); font-size: 12px; }
.template-category .category-control-item:has([data-toggle='#nav-filters']), .template-search .category-control-item:has([data-toggle='#nav-filters']) { order: -1; }
.template-category .category-controls-row, .template-search .category-controls-row { gap: 8px; margin: 0; }
.template-category .category-control-item, .template-search .category-control-item { border: 1px solid var(--pa-linha); border-radius: var(--pa-r-4); padding: 0; background: var(--pa-branco); }
.pa-cat-banner { position: relative; isolation: isolate; overflow: hidden; background: var(--pa-noite); color: var(--pa-marfim); }
.pa-cat-banner > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.pa-cat-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(26,15,10,.96) 0%,rgba(26,15,10,.84) 32%,rgba(26,15,10,.72) 65%); }
.pa-cat-banner__txt { max-width: 440px; padding: var(--pa-e-32) 0; }
.pa-cat-banner h2 { font: 600 36px/1.1 var(--pa-serif); color: inherit; margin: 0 0 12px; }
.pa-cat-banner p { font: 400 16px/1.5 var(--pa-sans); color: inherit; }
.pa-cat-banner a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 0 16px; background: var(--pa-marfim); border-radius: 4px; color: var(--pa-tinta); font-size: 14px; }
.pa-categoria-seo { padding: var(--pa-e-40) 0; border: 0; }
.pa-cat-guia-titulo { font: 600 26px/1.15 var(--pa-serif); color: var(--pa-tinta); margin: 0 0 16px; }
.pa-categoria-seo .pa-categoria-seo__texto { max-width: none; }
.pa-cat-guide-tabs { display: flex; gap: 0; margin-bottom: var(--pa-e-24); border: 1px solid var(--pa-linha); border-radius: 4px; background: var(--pa-branco); }
.pa-cat-guide-tabs button { flex: 1; background: transparent; color: var(--pa-tinta); border: 0; padding: 12px 8px; min-height: 44px; font: 500 14px/1.35 var(--pa-sans); cursor: pointer; border-bottom: 2px solid transparent; }
.pa-cat-guide-tabs button[aria-selected='true'] { border-bottom-color: var(--pa-ambar-texto); }
.pa-cat-guide-panel { max-width: 860px; }
/* Tabela comparativa ocupa a largura toda (Bruno, 02/10: painel de 860 px deixava a tabela cortada ao lado da sombra de rolagem). */
.pa-cat-guide-panel:has(.pa-cat-table) { max-width: none; }
.pa-cat-table table { width: 100%; }
.pa-cat-guide-panel[hidden] { display: none; }
.pa-cat-guide-panel > summary { display: none; }
.pa-cat-guide-panel > .pa-cat-guide-content { display: block; }
.pa-categoria-seo .pa-categoria-seo__texto h2 { font-size: 26px; line-height: var(--pa-lh-titulo); }
.pa-categoria-seo .pa-categoria-seo__texto h3 { font-size: 18px; line-height: 1.35; }
.pa-cat-guide-content .pa-guia { display: contents; }
.pa-cat-table { overflow-x: auto; background: linear-gradient(to right,var(--pa-marfim) 30%,transparent) left center,linear-gradient(to left,var(--pa-marfim) 30%,transparent) right center,linear-gradient(to right,rgba(26,15,10,.12),transparent) left center,linear-gradient(to left,rgba(26,15,10,.12),transparent) right center; background-size: 40px 100%,40px 100%,14px 100%,14px 100%; background-repeat: no-repeat; background-attachment: local,local,scroll,scroll; }
.pa-cat-table table { min-width: 680px; }
.pa-cat-related { padding-bottom: var(--pa-e-32); }
.pa-cat-related__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--pa-e-16); }
.pa-cat-related__card { display: block; overflow: hidden; border: 1px solid var(--pa-linha); border-radius: 4px; background: var(--pa-branco); color: var(--pa-tinta); text-decoration: none; }
.pa-cat-related__card img { display: block; width: 100%; height: 120px; object-fit: cover; }
.pa-cat-related__card strong { display: block; padding: 12px; font: 500 16px/1.35 var(--pa-sans); }
.pa-cat-related__card span { display: block; padding: 0 12px 12px; font: 400 12px/1.4 var(--pa-sans); color: var(--pa-ambar-texto); }
.pa-cat-faq { padding-bottom: var(--pa-e-32); }
.pa-cat-faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pa-e-8) var(--pa-e-16); }
.pa-cat-faq details { border: 1px solid var(--pa-linha); background: var(--pa-branco); border-radius: 4px; padding: 0 12px; align-self: start; }
.pa-cat-faq summary { min-height: 48px; padding: 12px 24px 12px 0; position: relative; cursor: pointer; list-style: none; font: 400 14px/1.5 var(--pa-sans); }
.pa-cat-faq summary::after { content: '+'; position: absolute; right: 0; top: 12px; color: var(--pa-ambar-texto); }
.pa-cat-faq details[open] summary::after { content: '−'; }
.pa-cat-faq p { font-size: 14px; line-height: 1.6; }
.pa-cat-links { padding-bottom: var(--pa-e-32); font-size: 14px; }
.pa-cat-links ul { display: flex; gap: 8px 16px; flex-wrap: wrap; padding: 0; list-style: none; }
.pa-cat-links a { color: var(--pa-ambar-texto); text-underline-offset: 3px; }
.pa-cat-perfis a:focus-visible, .pa-cat-guide-tabs button:focus-visible, .filters-sidebar summary:focus-visible, .pa-cat-faq summary:focus-visible { outline: 2px solid var(--pa-ambar-texto); outline-offset: 3px; }
@media (max-width: 1023px) and (min-width: 768px) {
 .template-category .filters-sidebar, .template-search .filters-sidebar { flex-basis: 180px; max-width: 180px; padding-right: 16px; }
 .pa-cat-perfil__nome { padding: 8px; font-size: 12px; }
 .template-category .pa-card .item-description, .template-search .pa-card .item-description { padding: 8px !important; }
}
@media (max-width: 767px) {
 .template-category .pa-cat-hero--editorial { min-height: 0; }
 .pa-cat-hero--editorial .pa-cat-hero__inner { min-height: 0; }
 .pa-cat-hero--editorial .pa-cat-hero__txt { width: 100%; padding: 20px var(--pa-gutter); }
 .pa-cat-hero--editorial .pa-cat-hero__txt > .pa-cat-hero__frase { font-size: 14px; margin-top: 8px; }
 .pa-cat-hero--editorial .pa-cat-hero__editorial { position: relative; width: 100%; right: auto; height: 128px; }
 .pa-cat-hero--editorial .pa-cat-hero__editorial::after { display: none; }
 .pa-cat-perfis { padding-top: 20px; padding-bottom: 8px; }
 .pa-cat-section-head { margin-bottom: 8px; }
 .pa-cat-section-head h2 { font-size: 18px; }
 .pa-cat-perfis__lista { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 8px; scrollbar-width: thin; }
 .pa-cat-perfis__lista > li { flex: 0 0 104px; }
 .pa-cat-perfil__foto { height: 64px; }
 .pa-cat-perfil__nome { padding: 8px; font-size: 12px; }
 body.template-category .js-product-table > .js-item-product, body.template-search .js-product-table > .js-item-product { flex-basis: 50%; max-width: 50%; }
 .template-category .pa-card .item-description, .template-search .pa-card .item-description { padding: 8px !important; }
 .template-category .category-controls, .template-search .category-controls { padding-top: 8px; }
 .template-category .category-body > .container { margin-top: 16px !important; }
 .pa-cat-contagem { font: 400 12px/1.4 var(--pa-sans); }
 .pa-cat-banner__txt { width: 65%; padding: 24px 0; }
 .pa-cat-banner h2 { font-size: 22px; }
 .pa-cat-banner p { font-size: 14px; }
 .pa-cat-banner > img { object-position: 68% center; }
 .pa-cat-guia-titulo { font-size: 22px; }
 .pa-cat-guide-tabs { display: none; }
 .pa-cat-guide-panel { border: 1px solid var(--pa-linha); border-radius: 4px; background: var(--pa-branco); margin-bottom: 8px; }
 .pa-cat-guide-panel[hidden] { display: block; }
 .pa-cat-guide-panel > summary { display: block; padding: 12px 32px 12px 12px; min-height: 48px; position: relative; font: 500 14px/1.5 var(--pa-sans); cursor: pointer; list-style: none; }
 .pa-cat-guide-panel > summary::after { content: '+'; position: absolute; right: 12px; }
 .pa-cat-guide-panel[open] > summary::after { content: '−'; }
 .pa-cat-guide-panel > .pa-cat-guide-content { display: none; padding: 8px 12px 16px; }
 .pa-cat-guide-panel[open] > .pa-cat-guide-content { display: block; }
 .pa-categoria-seo .pa-categoria-seo__texto h2 { font-size: 22px; }
 .pa-categoria-seo .pa-categoria-seo__texto h3 { font-size: 16px; }
 .pa-cat-related__grid { grid-template-columns: 1fr; gap: 8px; }
 .pa-cat-related__card { display: grid; grid-template-columns: 96px 1fr; column-gap: 12px; align-items: center; }
 .pa-cat-related__card img { grid-row: span 2; height: 96px; }
 .pa-cat-related__card strong { padding: 8px 8px 0 0; font-size: 14px; }
 .pa-cat-related__card span { padding: 0 8px 8px 0; }
 .pa-cat-faq__grid { grid-template-columns: 1fr; }
}
.pa-cat-faq__grid [itemtype='https://schema.org/FAQPage'], .pa-cat-faq__grid [itemtype='https://schema.org/Question'] { display: contents; }
.pa-cat-faq summary p { margin: 0; font: inherit; }
.pa-cat-faq summary strong { font-weight: 400; }
.pa-cat-guide-intro { max-width: 860px; margin-bottom: 24px; }
.pa-cat-todos { font-size: 16px; text-decoration: none; color: var(--pa-tinta); font-weight: 500; pointer-events: none; }
.pa-cat-perfis { max-width: 1300px; }
.pa-cat-related .pa-cat-section-head h2, .pa-cat-faq > h2, .pa-cat-links > h2 { font: 600 26px/1.15 var(--pa-serif); margin: 0 0 16px; }
.pa-cat-links li { font-size: 12px; }
.pa-cat-links ul { display: block; }
.pa-cat-links li { display: inline; line-height: 2; }
.pa-cat-links li + li::before { content: ' · '; margin: 0 8px; }
@media (max-width:767px) {
 .pa-cat-related .pa-cat-section-head h2, .pa-cat-faq > h2, .pa-cat-links > h2 { font-size: 22px; }
 .pa-cat-related .pa-cat-section-head { align-items: start; }
}
.pa-cat-guide-panel > summary, .pa-cat-faq summary, .filters-sidebar summary { box-sizing: border-box; }
.pa-categoria-seo :is(h2,h3)[id] { scroll-margin-top: 180px; }
@media (max-width:767px) { .pa-categoria-seo :is(h2,h3)[id] { scroll-margin-top: 150px; } }

/* Rodada 2 — filtros nativos em caixa. */
.template-category .filters-sidebar,.template-search .filters-sidebar{flex-basis:220px;max-width:220px;padding:16px;border:1px solid var(--pa-ambar-contorno);border-radius:4px;background:#fff;align-self:flex-start}
.pa-filter-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px;font-size:14px}.pa-filter-head strong{font-weight:600}.pa-filter-clear{font-size:12px;text-decoration:underline;color:var(--pa-tinta-2)}
.pa-price-sliders label{display:block;font-size:12px;color:var(--pa-tinta-2)}.pa-price-sliders input{display:block;width:100%;accent-color:var(--pa-ambar-contorno)}
.filters-sidebar .filter-input-price-container{width:calc(50% - 4px);display:inline-block}.filters-sidebar .filter-input-price{width:100%;box-sizing:border-box;padding:8px;font-size:14px}.filters-sidebar .js-price-filter-btn{margin-top:12px;min-height:44px}

.pa-notas-tooltip{display:none}
@media(min-width:1024px) and (hover:hover){.category-body [data-handle]{position:relative}.pa-notas-tooltip:not([hidden]){display:block;position:absolute;z-index:20;left:8px;right:auto;top:8px;bottom:auto;box-sizing:border-box;overflow:auto;padding:16px;background:var(--pa-marfim);color:var(--pa-tinta);border:1px solid var(--pa-ambar-contorno);border-radius:4px;box-shadow:0 8px 24px #1a0f0a26;font:400 14px/1.4 var(--pa-sans)}.pa-notas-tooltip>strong{display:block;font-weight:600;margin-bottom:12px}.pa-notas-linha{display:flex;gap:8px;margin-top:8px}.pa-notas-linha img{width:32px;height:32px;object-fit:contain;flex:none}.pa-notas-linha b,.pa-notas-linha span{display:block}.pa-notas-linha b{font-weight:600}.pa-notas-linha span{color:var(--pa-tinta-2)}}

@media(max-width:767px){
.template-category .category-control-item>a,.template-search .category-control-item>a{height:44px;min-height:44px;box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;padding:0 12px!important}
.pa-cat-contagem{font:400 14px/1.4 var(--pa-sans);color:var(--pa-tinta-2);margin:8px 0 16px}
}

.pa-cat-guide-tabs button{color:var(--pa-tinta-2)}
.pa-cat-guide-tabs button[aria-selected='true']{font-weight:600;color:var(--pa-tinta);border-bottom:2px solid var(--pa-ambar-contorno)}

.pa-cat-navegue{padding-top:24px;padding-bottom:32px}.pa-cat-navegue h2{font:600 22px/1.2 var(--pa-serif);margin:0 0 16px}.pa-cat-navegue>div{display:flex;flex-wrap:wrap;gap:8px}.pa-cat-navegue a{display:inline-flex;align-items:center;box-sizing:border-box;height:36px;padding:0 16px;border:1px solid var(--pa-ambar-contorno);border-radius:var(--pa-r-pill);font:400 14px/1.4 var(--pa-sans);color:var(--pa-tinta)}.pa-cat-navegue a:hover{background:var(--pa-tinta);color:var(--pa-marfim)}.pa-cat-navegue a:focus-visible{outline:2px solid var(--pa-ambar-contorno);outline-offset:2px}

.template-search .pa-cat-hero h1{font:600 48px/1.1 var(--pa-serif)}
@media(max-width:767px){.template-search .pa-cat-hero h1{font-size:36px}}

@media(max-width:767px){.pa-cat-related .pa-cat-section-head{align-items:flex-start;flex-direction:column;gap:8px}.pa-cat-related .pa-cat-section-head h2{max-width:100%}}

.pa-cat-navegue a{position:relative}.pa-cat-navegue a::after{content:"";position:absolute;inset:-5px 0}

.template-category .pa-card,.template-search .pa-card{background:transparent}

.pa-cat-guide-panel--definicao{max-width:none}
.pa-cat-guide-panel>.pa-cat-definicao{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:32px;align-items:start}
.pa-cat-caracteristicas{background:var(--pa-marfim);border:1px solid var(--pa-linha);border-radius:var(--pa-r-4);padding:24px}.pa-cat-caracteristicas-foto{width:100%;height:160px;object-fit:cover;margin-bottom:16px}.pa-cat-caracteristicas ul{list-style:none;padding:0;margin:0}.pa-cat-caracteristicas li{margin-bottom:16px;font:400 14px/1.5 var(--pa-sans)}.pa-cat-caracteristica-icone{width:32px;height:32px;object-fit:contain;float:left;margin:0 8px 4px 0}
@media(max-width:767px){.pa-cat-guide-panel>.pa-cat-definicao{grid-template-columns:minmax(0,1fr);gap:16px}.pa-cat-caracteristicas{padding:16px}}

@media(max-width:767px){.pa-cat-guide-panel:not([open])>.pa-cat-definicao{display:none}.pa-cat-guide-panel[open]>.pa-cat-definicao{display:grid}}

@media(max-width:767px){
.pa-cat-guide-panel>summary{display:flex;align-items:center;min-height:52px;padding:12px 40px 12px 48px;font:600 16px/1.4 var(--pa-sans)}
.pa-cat-guide-panel>summary::before{content:'';position:absolute;left:16px;top:50%;transform:translateY(-50%);width:16px;height:16px;border:1px solid var(--pa-ambar-contorno);border-radius:50%;box-sizing:border-box}
.pa-cat-guide-panel>summary::after{content:'›';right:16px;top:50%;transform:translateY(-50%);font-size:22px;line-height:1}
.pa-cat-guide-panel[open]>summary::after{content:'⌄'}
}

.pa-cat-guide-tabs button{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.template-category .js-price-filter-btn,.template-search .js-price-filter-btn{min-height:44px;box-sizing:border-box;font-family:var(--pa-sans)}
.template-category #nav-filters summary,.template-search #nav-filters summary,.template-category #nav-filters .js-accordion-toggle,.template-search #nav-filters .js-accordion-toggle{min-height:44px;box-sizing:border-box;display:flex;align-items:center}

.template-category #nav-filters .js-accordion-private-toggle[data-accordion-target],.template-search #nav-filters .js-accordion-private-toggle[data-accordion-target]{min-height:44px;box-sizing:border-box;display:flex;align-items:center}

@media(min-width:1024px){.category-body [data-pa-notas-ativo="true"]{z-index:30}}

@media(min-width:1024px) and (hover:hover){.pa-notas-linha{position:relative;display:block;padding-left:40px;min-height:32px}.pa-notas-linha img{position:absolute;left:0;top:0;min-width:32px}}

/* Rodada 4: grade em branco, foto em marfim (convenção da página de produto v3) */
.template-category .pa-card .item, .template-search .pa-card .item { border: 0; }
.template-category .pa-card .item-image, .template-search .pa-card .item-image,
.template-category .pa-card .js-item-image-padding, .template-search .pa-card .js-item-image-padding,
.pa-card .item .js-product-item-image-container-private { background: var(--pa-marfim); }
.template-category .pa-card .item img, .template-search .pa-card .item img { mix-blend-mode: multiply; object-fit: contain; }
