/* ==========================================================================
   JF Bebidas 2027 — catálogo: listagem de categoria e página de produto (sobre jf-design.css)
   Listagem: template Elementor "Produtos" (1036036) com JetWooBuilder e JetSmartFilters; os IDs
   (.elementor-element-…) são os desse template e do que "wp jf fase5" lhe acrescenta (f5a…).
   Produto: template WooCommerce. Prefixo "html body" (e "#main" no produto) e alguns !important para
   vencer o CSS do kit e os !important do CSS adicional antigo (Personalizar > CSS adicional).
   Fundo branco; produtos em cartões de pedra clara com a foto em "multiply" (o branco da foto desaparece).
   ========================================================================== */

html body.jf-catalogo {
	--jf-cartao: #F4F3EF;
	background-color: var(--jf-superficie);
}
html body.jf-catalogo #content.site-main,
html body.jf-catalogo #primary,
html body.jf-catalogo .site-main { background: transparent; }

/* Cartão de produto: o mesmo na listagem (JetWooBuilder) e nos relacionados (WooCommerce). */
html body.jf-catalogo .jet-woo-products,
html body.jf-catalogo :is(#main, .elementor) ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 24px 16px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
html body.jf-catalogo :is(#main, .elementor) ul.products::before,
html body.jf-catalogo :is(#main, .elementor) ul.products::after { content: none !important; }
html body.jf-catalogo .jet-woo-products__item,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product {
	position: relative;
	width: auto !important;
	max-width: none !important;
	flex: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
html body.jf-catalogo .jet-woo-products__inner-box,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0 !important;
	overflow: hidden;
	background: var(--jf-cartao) !important;
	border: 0 !important;
	border-radius: var(--jf-raio-painel) !important;
	box-shadow: none !important;
}
html body.jf-catalogo .jet-woo-products__thumb-wrap { margin: 0 !important; }
html body.jf-catalogo .jet-woo-product-thumbnail a,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product a.woocommerce-loop-product__link { display: block; }
html body.jf-catalogo .jet-woo-product-thumbnail img,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 5;
	object-fit: contain;
	margin: 0 !important;
	padding: 28px 24px 8px !important;
	box-sizing: border-box;
	background: transparent !important;
	mix-blend-mode: multiply;
	transition: transform .6s var(--jf-ease);
}
html body.jf-catalogo .jet-woo-products__item:hover .jet-woo-product-thumbnail img,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product:hover img { transform: translateY(-4px) scale(1.03); }

html body.jf-catalogo .jet-woo-products__item-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 1;
	padding: 12px 18px 22px !important;
	border: 0 !important;
	text-align: center !important;
}
html body.jf-catalogo .jet-woo-product-categories { margin: 0 !important; text-align: center !important; }
html body.jf-catalogo .jet-woo-product-categories ul { justify-content: center !important; }
html body.jf-catalogo .jet-woo-product-categories a {
	position: relative;
	z-index: 1;
	font: 500 .6875rem / 1.3 var(--jf-sans) !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--jf-texto-2) !important;
	text-decoration: none;
}
/* Numa categoria, repetir a categoria em cada cartão não diz nada. */
html body.jf-catalogo.tax-product_cat .jet-woo-product-categories { display: none !important; }

html body.jf-catalogo .jet-woo-product-title,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product .woocommerce-loop-product__title {
	margin: 0 !important;
	padding: 0 !important;
	font: 500 .9375rem / 1.4 var(--jf-sans) !important;
	color: var(--jf-texto) !important;
	text-align: center !important;
	text-transform: none !important;
	text-wrap: balance;
}
html body.jf-catalogo .jet-woo-product-title a { color: inherit !important; font: inherit !important; text-align: center !important; text-decoration: none; }
/* O título é a ligação do cartão inteiro. */
html body.jf-catalogo .jet-woo-product-title a::after,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product a.woocommerce-loop-product__link::after { content: ""; position: absolute; inset: 0; }
html body.jf-catalogo .jet-woo-product-title a:focus-visible,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product a:focus-visible { outline: none !important; }
html body.jf-catalogo .jet-woo-products__item:has(.jet-woo-product-title a:focus-visible) .jet-woo-products__inner-box,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product:has(a:focus-visible) { outline: 2px solid var(--jf-texto); outline-offset: 3px; }

html body.jf-catalogo .jet-woo-product-price,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product .price { margin: auto 0 0 !important; padding-top: 6px; text-align: center !important; }
html body.jf-catalogo :is(#main, .elementor) ul.products li.product .price:empty { display: none; }
html body.jf-catalogo .jet-woo-product-price .price,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product .price { font: 600 1rem / 1.3 var(--jf-sans) !important; color: var(--jf-texto) !important; text-align: center !important; }
html body.jf-catalogo .jet-woo-product-price .price :is(ins, bdi, .amount) { color: inherit !important; text-decoration: none; }

/* "Faça login para ver preços": pequeno, com cadeado, por cima da ligação do cartão. */
html body.jf-catalogo .jf-preco--login {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 500 var(--jf-t-micro) / 1.3 var(--jf-sans) !important;
	color: var(--jf-texto-2) !important;
	text-decoration: none;
}
html body.jf-catalogo .jf-preco--login::before {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	background: var(--jf-acento);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1Zm2 0h6V7a3 3 0 0 0-6 0v3Z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1Zm2 0h6V7a3 3 0 0 0-6 0v3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body.jf-catalogo .jf-preco--login:hover { color: var(--jf-texto) !important; text-decoration: underline; text-underline-offset: 3px; }
html body.jf-catalogo :is(#main, .elementor) ul.products li.product .woocommerce-loop-product__title { padding: 12px 18px 0 !important; }
html body.jf-catalogo :is(#main, .elementor) ul.products li.product .jf-preco--login { align-self: center; margin: 8px 18px 22px; }
html body.jf-catalogo :is(#main, .elementor) ul.products li.product .price { padding: 6px 18px 22px !important; }

/* Excerto, "Ler mais" e estrelas não fazem falta numa montra. */
html body.jf-catalogo .jet-woo-products .hovered-content,
html body.jf-catalogo .jet-woo-product-img-overlay,
html body.jf-catalogo .jet-woo-products-cqw-wrapper,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product .button,
html body.jf-catalogo :is(#main, .elementor) ul.products li.product .star-rating { display: none !important; }


/* --- Listagem -------------------------------------------------------------- */

html body .elementor-location-archive.product {
	--jf-topo-barra-catalogo: calc(var(--jf-altura-cabecalho, 0px) + var(--wp-admin--admin-bar--height, 0px));
	--jf-altura-barra-catalogo: 56px;
	--jf-topo-coluna-filtros: calc(var(--jf-topo-barra-catalogo) + var(--jf-altura-barra-catalogo) + 12px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"titulo titulo"
		"intro intro"
		"barra barra"
		"botao ordem"
		"resultados resultados"
		"remover remover"
		"grelha grelha"
		"paginas paginas";
	column-gap: var(--jf-e-4);
	width: 100%;
	max-width: var(--jf-largura);
	margin-inline: auto;
	padding: 0 var(--jf-gutter) var(--jf-e-secao);
	box-sizing: border-box;
}
html body .elementor-location-archive.product > .e-con { padding: 0 !important; margin: 0 !important; max-width: none; min-width: 0; --padding-top: 0; --padding-bottom: 0; }
html body .elementor-location-archive.product > .e-con > .e-con-inner,
html body .jf-catalogo-resultados > .e-con > .e-con-inner { max-width: none; padding: 0; }
html body .jf-catalogo-resultados { grid-area: resultados; min-width: 0; align-self: start; scroll-margin-top: var(--jf-topo-coluna-filtros); }
html body .jf-catalogo-resultados > .e-con { width: 100%; max-width: none; margin: 0 !important; padding: 0 !important; }
html body .elementor-location-archive.product > .elementor-element-9069eb7,
html body .elementor-location-archive.product > .elementor-element-9069eb7 > .e-con-inner { display: contents; }
html body .elementor-location-archive.product > :is(.elementor-element-92412b9, .elementor-element-12fb270) { display: none !important; }
html body .elementor-location-archive.product .elementor-widget { margin: 0 !important; }

/* Faixa escura a toda a largura: título, texto e "Explore". */
html body .elementor-element-82a39fa,
html body .elementor-location-archive.product > .elementor-element-f5a1003 {
	background: var(--jf-texto);
	box-shadow: 0 0 0 100vmax var(--jf-texto);
	clip-path: inset(0 -100vmax);
	color: rgba(255, 255, 255, .78);
}
html body .elementor-element-82a39fa {
	grid-area: titulo;
	width: auto !important;
	max-width: none;
	padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 var(--jf-e-5) !important;
}
html body .elementor-element-82a39fa::before {
	content: "Catálogo";
	display: block;
	margin-bottom: var(--jf-e-4);
	font: 500 var(--jf-t-micro) / 1.3 var(--jf-sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}
html body .elementor-element-82a39fa .elementor-heading-title {
	font-family: var(--jf-serif) !important;
	font-size: var(--jf-t-display) !important;
	font-weight: 400 !important;
	line-height: .98 !important;
	letter-spacing: -.015em;
	color: #fff !important;
	text-transform: none !important;
	text-align: left !important;
}
html body .elementor-location-archive.product > .elementor-element-f5a1003 { grid-area: intro; }
html body .jf-catalogo__texto { max-width: 70ch; padding-bottom: var(--jf-e-6); font-size: var(--jf-t-lead); line-height: 1.55; }
html body .jf-catalogo__texto p { margin: 0 0 .75em; color: rgba(255, 255, 255, .78); }
html body .jf-catalogo__texto p:last-child { margin-bottom: 0; }
html body .jf-catalogo__explorar {
	display: flex;
	align-items: center;
	gap: var(--jf-e-3) var(--jf-e-6);
	padding: var(--jf-e-5) 0;
	border-top: 1px solid rgba(255, 255, 255, .16);
}
html body .jf-catalogo__explorar-titulo { flex: none; font: 600 var(--jf-t-pequeno) / 1.3 var(--jf-sans); color: #fff; }
html body .jf-catalogo__explorar ul {
	display: flex;
	gap: var(--jf-e-2) var(--jf-e-6);
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}
html body .jf-catalogo__explorar li { flex: none; }
html body .jf-catalogo__explorar a {
	display: inline-block;
	padding: 6px 0;
	font: 400 var(--jf-t-pequeno) / 1.3 var(--jf-sans);
	color: rgba(255, 255, 255, .78) !important;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color var(--jf-dur-curta), border-color var(--jf-dur-curta);
}
html body .jf-catalogo__explorar a:hover { color: #fff !important; border-bottom-color: rgba(255, 255, 255, .5); }
html body .jf-catalogo__explorar a[aria-current="page"] { color: #fff !important; border-bottom-color: var(--jf-acento); }
html body .jf-catalogo__explorar a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Controlos de filtro e ordenação acessíveis durante o scroll do catálogo. */
html body .jf-catalogo-barra {
	grid-area: barra;
	position: sticky;
	top: var(--jf-topo-barra-catalogo);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--jf-altura-barra-catalogo);
	background: var(--jf-superficie);
	border-bottom: 1px solid var(--jf-linha);
}
html body .jf-catalogo-barra > .e-con { --padding-top: 0; --padding-bottom: 0; width: auto !important; padding: 0 !important; }
html body .jf-catalogo-barra > .e-con > .e-con-inner { max-width: none; padding: 0; }
html body .elementor-location-archive.product > .elementor-element-dbb83e1 { grid-area: botao; align-self: center; padding-block: var(--jf-e-5) !important; }
html body .elementor-element-cfd516a { grid-area: ordem; align-self: center; width: auto !important; max-width: none; padding-block: var(--jf-e-5) !important; }
html body .jf-catalogo-barra > .elementor-element-cfd516a { padding-block: 0 !important; }
html body .elementor-element-889f22b .elementor-button {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	min-height: 44px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--jf-texto) !important;
	font: 500 1.0625rem / 1 var(--jf-sans) !important;
	box-shadow: none !important;
}
html body .elementor-element-889f22b .elementor-button .elementor-button-text { color: inherit !important; font: inherit !important; }
html body .elementor-element-889f22b .elementor-button::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .3s var(--jf-ease);
}
html body .elementor-element-889f22b .elementor-button[aria-expanded="true"]::after { transform: rotate(180deg); }
html body .elementor-element-889f22b .elementor-button:hover .elementor-button-text { text-decoration: underline; text-underline-offset: 4px; }
html body .elementor-element-889f22b .elementor-button:focus-visible { outline: 2px solid var(--jf-texto) !important; outline-offset: 4px; }

html body.jf-catalogo .jet-sorting-select {
	min-height: 44px;
	min-width: 0;
	padding: 0 28px 0 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141416' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0 center / 16px no-repeat !important;
	-webkit-appearance: none;
	        appearance: none;
	box-shadow: none !important;
	font: 500 1.0625rem / 1.2 var(--jf-sans) !important;
	color: var(--jf-texto) !important;
	text-align: right;
	cursor: pointer;
}
html body.jf-catalogo .jet-sorting-select:focus-visible { outline: 2px solid var(--jf-texto) !important; outline-offset: 4px; }

/* Coluna de filtros e gaveta usam os mesmos controlos e o mesmo estado. */
html body .elementor-location-archive.product.jf-com-coluna-filtros {
	grid-template-columns: clamp(13rem, 19vw, 17rem) minmax(0, 1fr) auto;
	grid-template-areas:
		"titulo titulo titulo"
		"intro intro intro"
		"barra barra barra"
		"painel resultados resultados";
}
html body.jf-catalogo .jf-com-coluna-filtros .jet-woo-products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
html body .elementor-location-archive.product > .jf-painel-filtros { display: none !important; }
html body .jf-com-coluna-filtros > .jf-painel-filtros:not([hidden]),
html body .jf-filtros-modal > .jf-painel-filtros {
	display: flex !important;
	flex-direction: column;
	gap: 0;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	background: var(--jf-superficie) !important;
}
html body .elementor-location-archive.product.jf-com-coluna-filtros > .jf-painel-filtros:not([hidden]) {
	grid-area: painel;
	align-self: start;
	position: sticky;
	top: var(--jf-topo-coluna-filtros);
	max-height: calc(100dvh - var(--jf-topo-coluna-filtros) - 12px);
	padding: 0 16px !important;
	border: 1px solid var(--jf-linha);
	border-radius: var(--jf-raio-painel);
}
html body .jf-com-coluna-filtros > .jf-painel-filtros > .jf-filtros-grupos { min-height: 0; overflow-y: auto; }
html body .jf-filtros-modal {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(100%, 26rem);
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	background: var(--jf-superficie);
	color: var(--jf-texto);
}
html body .jf-filtros-modal::backdrop { background: rgba(20, 20, 22, .56); }
html:has(.jf-filtros-modal[open]) { overflow: hidden; }
html body .jf-filtros-modal > .jf-painel-filtros { height: 100%; max-width: none; padding: 0 !important; }
html body .jf-filtros-modal .jf-filtros-grupos { flex: 1; min-height: 0; padding: 0 20px; overflow-y: auto; overscroll-behavior: contain; }
html body .jf-filtros-cabecalho { display: flex; align-items: center; justify-content: space-between; flex: none; padding: 14px 0; }
html body .jf-filtros-modal .jf-filtros-cabecalho { padding-inline: 20px; border-bottom: 1px solid var(--jf-linha); }
html body .jf-filtros-cabecalho h2 { margin: 0; color: var(--jf-texto); font: 400 1.625rem / 1.2 var(--jf-serif); }
html body .jf-filtros-cabecalho .jf-filtros-fechar { display: none; }
html body .jf-filtros-modal .jf-filtros-fechar { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; font-size: 1.5rem; }
html body .jf-filtros-grupo { border-top: 1px solid var(--jf-linha); }
html body .jf-filtros-grupo:has(.jet-filter:is([style*="display: none"], [style*="display:none"])),
html body .jf-filtros-grupo:has(.elementor-widget-jet-smart-filters-checkboxes):not(:has(.jet-checkboxes-list__item)) { display: none; }
html body .jf-filtros-grupo summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 8px; font-weight: 600; font-size: .9375rem; cursor: pointer; list-style: none; }
html body .jf-filtros-grupo summary::-webkit-details-marker { display: none; }
html body .jf-filtros-grupo summary::after { content: "+"; font-size: 1.125rem; font-weight: 400; }
html body .jf-filtros-grupo[open] summary::after { content: "−"; }
html body .jf-filtros-grupo .elementor-widget { width: 100% !important; min-width: 0; padding-bottom: 8px; }
html body .jf-filtros-grupo .jet-filter-label { display: none !important; }
html body .jf-filtros-grupo .jet-checkboxes-list-wrapper { min-width: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; }
html body .jf-filtros-grupo:not(.is-completo) .jet-filter-row:nth-child(n+6 of .jet-filter-row:not(.jet-filter-row-hide)):not(:has(input:checked)) { display: none !important; }
html body .jf-filtros-grupo .jf-filtros-mais { display: none; min-height: 36px; padding: 0 0 6px; text-decoration: underline; text-underline-offset: 3px; }
html body .jf-filtros-grupo:has(.jet-filter-row:nth-child(6 of .jet-filter-row:not(.jet-filter-row-hide))) .jf-filtros-mais { display: inline-flex; align-items: center; }
html body .jf-filtros-modal .jf-filtros-grupo .jet-checkboxes-list__button { min-height: 44px; }
html body .jf-painel-filtros > .elementor-widget-jet-smart-filters-remove-filters { display: none !important; }
html body .jf-com-coluna-filtros .jf-filtros-acoes { display: none; }
html body .jf-filtros-modal .jf-filtros-acoes { flex: none; width: 100% !important; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--jf-linha); background: var(--jf-superficie); }
html body .jf-filtros-modal .apply-filters { display: flex !important; align-items: center; flex-direction: row !important; gap: 12px; }
html body.jf-catalogo .jf-painel-filtros .apply-filters__button { width: 100%; }
html body .jf-filtros-mais,
html body .jf-filtros-limpar,
html body .jf-filtros-fechar { border: 0 !important; background: transparent !important; color: var(--jf-texto) !important; font: 500 .875rem / 1 var(--jf-sans); cursor: pointer; }
html body .jf-filtros-limpar { flex: none; min-height: 44px; padding: 0 4px; text-decoration: underline; text-underline-offset: 3px; }
html body .jf-filtros-limpar[hidden] { display: none !important; }
html body .jf-filtros-grupo summary:focus-visible,
html body :is(.jf-filtros-fechar, .jf-filtros-mais, .jf-filtros-limpar, .jet-active-tag__remove):focus-visible { outline: 2px solid var(--jf-texto); outline-offset: 2px; }

/* Etiquetas nativas removíveis, junto da grelha. */
html body .jf-filtros-ativos { min-width: 0; }
html body .jf-filtros-ativos[hidden],
html body .jf-filtros-ativos:not(:has(.jet-active-tag)),
html body .jf-catalogo-resultados:has(> .jf-filtros-ativos) > .elementor-element-7705b15 { display: none !important; }
html body .jf-filtros-ativos .jet-active-tags__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
html body .jf-filtros-ativos .jet-active-tags__title:empty,
html body .jf-filtros-ativos .jet-active-tag__label:empty { display: none; }
html body .jf-filtros-ativos .jet-active-tag { display: flex !important; flex-direction: row !important; align-items: center !important; max-width: 100%; margin: 0; padding: 0 0 0 12px; border: 1px solid var(--jf-linha); border-radius: 999px; background: var(--jf-cartao); color: var(--jf-texto); font: 500 .875rem / 1.3 var(--jf-sans); }
html body .jf-filtros-ativos .jet-active-tag--clear { order: 1; background: transparent; border-color: transparent; color: var(--jf-acento); cursor: pointer; }
html body .jf-filtros-ativos .jet-active-tag__remove { display: grid !important; position: static !important; place-items: center; flex: none; min-width: 40px; min-height: 42px; margin: 0; padding: 0; font-size: 1.25rem; cursor: pointer; }

html body.jf-catalogo .jf-painel-filtros .apply-filters__button {
	min-height: 48px;
	padding: .8125rem 2rem !important;
	border: 1px solid var(--jf-acento) !important;
	border-radius: var(--jf-raio) !important;
	background: var(--jf-acento) !important;
	color: var(--jf-sobre-acento) !important;
	font: 500 1rem / 1 var(--jf-sans) !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color var(--jf-dur-curta), opacity var(--jf-dur-curta);
}
html body.jf-catalogo .jf-painel-filtros .apply-filters__button:hover { background: var(--jf-acento-hover) !important; border-color: var(--jf-acento-hover) !important; }
html body.jf-catalogo .jf-painel-filtros .apply-filters__button:focus-visible { outline: 2px solid var(--jf-texto) !important; outline-offset: 3px; }
/* Inativo até se escolher um filtro: cinzento, não um vermelho desbotado. */
html body.jf-catalogo .jf-painel-filtros .apply-filters__button:disabled { background: var(--jf-cartao) !important; border-color: var(--jf-linha) !important; color: var(--jf-texto-2) !important; cursor: not-allowed; }

/* Filtro de preço (só clientes): barra e dois campos largos com €. */
html body.jf-catalogo .jet-range__slider { margin: 6px 0 var(--jf-e-4) !important; padding: 0 !important; border: 0 !important; }
html body.jf-catalogo .jet-range__slider__track { background: var(--jf-linha) !important; height: 3px !important; }
html body.jf-catalogo .jet-range__slider__track__range { background: var(--jf-texto) !important; }
html body.jf-catalogo .jet-range__slider__input::-webkit-slider-thumb { background: var(--jf-superficie) !important; border: 2px solid var(--jf-texto) !important; width: 20px; height: 20px; }
html body.jf-catalogo .jet-range__slider__input::-moz-range-thumb { background: var(--jf-superficie) !important; border: 2px solid var(--jf-texto) !important; width: 16px; height: 16px; }
html body.jf-catalogo .jet-range__inputs { margin: 0 !important; }
html body.jf-catalogo .jet-range__inputs__container {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}
/* Na coluna e na gaveta, cada limite ocupa uma linha para caberem os cêntimos e o euro. */
html body.jf-catalogo .jf-painel-filtros :is(.jet-range__inputs, .jet-range__inputs__container) {
	width: 100% !important;
	max-width: none !important;
}
html body.jf-catalogo .jf-painel-filtros .jet-range__inputs__container {
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}
html body.jf-catalogo .jet-range__inputs__group {
	display: flex !important;
	align-items: center;
	min-width: 0;
	height: 44px;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1px solid var(--jf-linha-forte) !important;
	border-radius: var(--jf-raio) !important;
	background: var(--jf-superficie) !important;
}
html body.jf-catalogo .jet-range__inputs__group:focus-within { border-color: var(--jf-texto) !important; outline: 2px solid var(--jf-texto); outline-offset: 1px; }
html body.jf-catalogo .jet-range__inputs__group input {
	flex: 1;
	width: 100% !important;
	min-width: 0;
	height: 100%;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	font: 500 .9375rem / 1 var(--jf-sans) !important;
	color: var(--jf-texto) !important;
	-moz-appearance: textfield;
}
html body.jf-catalogo .jet-range__inputs__group input::-webkit-inner-spin-button,
html body.jf-catalogo .jet-range__inputs__group input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html body.jf-catalogo .jet-range__inputs__group__text { flex: none; padding: 0 0 0 8px !important; border: 0 !important; background: transparent !important; color: var(--jf-texto-2) !important; }
/* O CSS antigo pinta o botão de vermelho ao carregar. */
html body .elementor-element-889f22b .elementor-button:is(:focus, :active) { background: transparent !important; color: var(--jf-texto) !important; }
html body.jf-catalogo .jet-filter-label {
	margin: 0 0 var(--jf-e-3) !important;
	padding: 0 !important;
	border: 0 !important;
	font: 600 var(--jf-t-micro) / 1.3 var(--jf-sans) !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
	color: var(--jf-texto) !important;
}
html body.jf-catalogo .jet-filter-label::before,
html body.jf-catalogo .jet-filter-label::after { content: none !important; display: none !important; }
html body.jf-catalogo .jet-checkboxes-list__item { margin: 0 0 2px !important; }
html body.jf-catalogo .jet-checkboxes-list__button { display: flex !important; align-items: center; gap: 10px; min-height: 32px; }
html body.jf-catalogo .jet-checkboxes-list__label { font: 400 .9375rem / 1.35 var(--jf-sans) !important; color: var(--jf-texto) !important; }
html body.jf-catalogo .jet-checkboxes-list__decorator {
	flex: none;
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	border: 1px solid var(--jf-linha-forte) !important;
	border-radius: 3px !important;
	background: var(--jf-superficie) !important;
}
html body.jf-catalogo .jet-checkboxes-list__input:checked + .jet-checkboxes-list__button .jet-checkboxes-list__decorator { background: var(--jf-acento) !important; border-color: var(--jf-acento) !important; }
html body.jf-catalogo .jet-checkboxes-list__input:checked + .jet-checkboxes-list__button .jet-checkboxes-list__checked-icon { fill: #fff; color: #fff; }
html body.jf-catalogo .jet-checkboxes-list__input:focus-visible + .jet-checkboxes-list__button { outline: 2px solid var(--jf-texto); outline-offset: 2px; }
html body.jf-catalogo .jet-filters-counter { margin-left: auto; font-size: var(--jf-t-micro) !important; color: var(--jf-texto-2) !important; }

/* "Remover filtros" */
html body .elementor-location-archive.product > .elementor-element-7705b15 { grid-area: remover; }
html body.jf-catalogo .jet-remove-all-filters__button {
	margin: 0 0 var(--jf-e-4);
	padding: .55rem 1rem !important;
	border: 1px solid var(--jf-acento) !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: var(--jf-acento) !important;
	font: 500 var(--jf-t-micro) / 1 var(--jf-sans) !important;
}

/* Grelha e paginação */
html body :is(.elementor-location-archive.product, .jf-catalogo-resultados) > .elementor-element-aa78f04 { grid-area: grelha; padding-top: var(--jf-e-5) !important; border-top: 1px solid var(--jf-linha); }
html body .elementor-location-archive.product > .elementor-element-199b6d6 { grid-area: paginas; }
html body.jf-catalogo .jet-filters-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: var(--jf-e-7); }
html body.jf-catalogo .jet-filters-pagination__item { margin: 0 !important; text-decoration: none; }
html body.jf-catalogo .jet-filters-pagination__link {
	display: grid;
	place-items: center;
	min-width: 44px !important;
	min-height: 44px !important;
	padding: 0 14px !important;
	box-sizing: border-box;
	border: 1px solid var(--jf-linha-forte) !important;
	border-radius: var(--jf-raio) !important;
	background: transparent !important;
	color: var(--jf-texto) !important;
	font: 500 var(--jf-t-pequeno) / 1 var(--jf-sans);
	transition: border-color var(--jf-dur-curta), background-color var(--jf-dur-curta);
}
html body.jf-catalogo a.jet-filters-pagination__item:hover .jet-filters-pagination__link { border-color: var(--jf-texto) !important; }
html body.jf-catalogo .jet-filters-pagination__current .jet-filters-pagination__link { background: var(--jf-texto) !important; border-color: var(--jf-texto) !important; color: #fff !important; }
html body.jf-catalogo .jf-catalogo-resultados .jet-filters-pagination__load-more { margin: 0; cursor: pointer; border-radius: var(--jf-raio); }
html body.jf-catalogo .jf-catalogo-resultados .jet-filters-pagination__load-more .jet-filters-pagination__link { padding-inline: 24px !important; min-height: 48px !important; }
html body.jf-catalogo .jf-catalogo-resultados .jet-filters-pagination__load-more:hover .jet-filters-pagination__link { border-color: var(--jf-texto) !important; }
html body.jf-catalogo .jf-catalogo-resultados .jet-filters-pagination__load-more:focus-visible { outline: 2px solid var(--jf-texto); outline-offset: 3px; }


/* --- Página de produto ------------------------------------------------------- */

html body.single-product.jf-catalogo #main.site-main {
	width: 100%;
	max-width: var(--jf-largura);
	margin-inline: auto;
	padding: var(--jf-e-6) var(--jf-gutter) var(--jf-e-secao);
	box-sizing: border-box;
}
html body.single-product #main .woocommerce-breadcrumb {
	margin: 0 0 var(--jf-e-6) !important;
	font: 400 var(--jf-t-pequeno) / 1.4 var(--jf-sans) !important;
	color: var(--jf-texto-2) !important;
}
html body.single-product #main .woocommerce-breadcrumb a { color: var(--jf-texto) !important; text-decoration: underline; text-decoration-color: var(--jf-linha-forte); text-underline-offset: 3px; }

html body.single-product #main div.product {
	display: grid !important;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: var(--jf-e-7) clamp(2rem, 1rem + 4vw, 5rem);
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
html body.single-product #main div.product > * { grid-column: 1 / -1; width: auto !important; float: none !important; margin: 0 !important; }
html body.single-product #main div.product > .woocommerce-product-gallery { grid-column: 1; }
html body.single-product #main div.product > .summary { grid-column: 2; align-self: start; }

/* Foto grande sobre pedra clara */
html body.single-product #main .woocommerce-product-gallery {
	position: relative;
	padding: clamp(1.5rem, 1rem + 3vw, 4rem) !important;
	background: var(--jf-cartao) !important;
	border: 0 !important;
	border-radius: var(--jf-raio-painel) !important;
	box-shadow: none !important;
}
html body.single-product #main .woocommerce-product-gallery img {
	width: 100% !important;
	max-height: 600px;
	object-fit: contain;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	mix-blend-mode: multiply;
}
html body.single-product #main .woocommerce-product-gallery .zoomImg { mix-blend-mode: normal; background: #fff !important; }
html body.single-product #main .woocommerce-product-gallery__trigger {
	top: 12px !important;
	right: 12px !important;
	z-index: 2;
	display: grid !important;
	place-items: center;
	width: 44px !important;
	height: 44px !important;
	border: 1px solid var(--jf-linha) !important;
	border-radius: var(--jf-raio) !important;
	background: var(--jf-superficie) !important;
	font-size: 0 !important;
}
html body.single-product #main .woocommerce-product-gallery__trigger img.emoji { width: 18px !important; height: 18px !important; mix-blend-mode: normal; }
html body.single-product #main .flex-control-thumbs { display: flex; gap: 8px; margin: 16px 0 0 !important; padding: 0; list-style: none; }
html body.single-product #main .flex-control-thumbs li { width: 72px !important; margin: 0 !important; }
html body.single-product #main .flex-control-thumbs img { padding: 6px; border: 1px solid var(--jf-linha) !important; border-radius: var(--jf-raio) !important; }

/* Resumo */
html body.single-product #main .summary { display: flex; flex-direction: column; gap: var(--jf-e-5); padding: var(--jf-e-3) 0 0 !important; background: transparent !important; }
html body.single-product #main .summary > * { margin: 0 !important; }
html body.single-product #main .jf-produto__topo { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--jf-e-2) var(--jf-e-4); margin-bottom: calc(var(--jf-e-3) * -1) !important; }
html body.single-product #main .jf-produto__topo .jf-sobretitulo { margin: 0; text-decoration: none; }
html body.single-product #main .jf-produto__topo .jf-sobretitulo:hover { color: var(--jf-texto); }
html body.single-product #main .jf-produto__ref { font-size: var(--jf-t-micro); color: var(--jf-texto-2); }
html body.single-product #main .summary .product_title {
	padding: 0 !important;
	border: 0 !important;
	font: 400 var(--jf-t-h2) / 1.06 var(--jf-serif) !important;
	letter-spacing: -.015em;
	color: var(--jf-texto) !important;
	text-transform: none !important;
	text-wrap: balance;
}
html body.single-product #main .summary .product_title::before,
html body.single-product #main .summary .product_title::after { content: none !important; display: none !important; }
html body.single-product #main .summary .price { font: 600 1.75rem / 1.2 var(--jf-sans) !important; color: var(--jf-texto) !important; }
html body.single-product #main .summary .price :is(ins, bdi, .amount) { color: inherit !important; text-decoration: none; }
html body.single-product #main .woocommerce-product-details__short-description { color: var(--jf-texto-2); font-size: 1.0625rem; line-height: 1.6; }
html body.single-product #main .woocommerce-product-details__short-description p { margin: 0; }

html body .jf-produto__preco-cartao {
	display: grid;
	gap: var(--jf-e-4);
	padding: var(--jf-e-6);
	background: var(--jf-cartao);
	border-radius: var(--jf-raio-painel);
}
html body .jf-produto__preco-cartao .jf-cadeado { margin: 0; }
html body .jf-produto__nota { margin: 0; color: var(--jf-texto-2); }
html body .jf-produto__preco-cartao .jf-acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* Características no resumo: grelha de 3 (rótulo por cima do valor). */
html body .jf-produto__resumo-ficha {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--jf-e-5) var(--jf-e-4);
	margin: 0;
	padding-top: var(--jf-e-5);
	border-top: 1px solid var(--jf-linha);
}
html body .jf-produto__resumo-ficha div { min-width: 0; }
html body .jf-produto__resumo-ficha dt { margin: 0 0 4px; font: 600 var(--jf-t-micro) / 1.3 var(--jf-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--jf-texto-2); }
html body .jf-produto__resumo-ficha dd { margin: 0; font: 400 .9375rem / 1.4 var(--jf-sans); color: var(--jf-texto); overflow-wrap: anywhere; }
html body .jf-produto__resumo-ficha a,
html body .jf-produto__ficha a { color: inherit !important; text-decoration: underline; text-decoration-color: var(--jf-linha-forte); text-underline-offset: 3px; }

/* Separadores ao centro, conteúdo num painel de pedra clara */
html body.single-product #main .woocommerce-tabs { padding: 0 !important; border: 0 !important; }
html body.single-product #main .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--jf-e-2) var(--jf-e-6);
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--jf-linha) !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}
html body.single-product #main .woocommerce-tabs ul.tabs::before,
html body.single-product #main .woocommerce-tabs ul.tabs li::before,
html body.single-product #main .woocommerce-tabs ul.tabs li::after { content: none !important; display: none !important; }
html body.single-product #main .woocommerce-tabs ul.tabs li {
	margin: 0 0 -1px !important;
	padding: 0 !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	background: transparent !important;
}
html body.single-product #main .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 14px 2px !important;
	background: transparent !important;
	font: 500 1rem / 1.2 var(--jf-sans) !important;
	color: var(--jf-texto-2) !important;
	text-decoration: none;
}
html body.single-product #main .woocommerce-tabs ul.tabs li a:hover { color: var(--jf-texto) !important; }
html body.single-product #main .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--jf-texto) !important; }
html body.single-product #main .woocommerce-tabs ul.tabs li.active a { color: var(--jf-texto) !important; }
html body.single-product #main .woocommerce-Tabs-panel {
	max-width: none;
	margin: 0 !important;
	padding: clamp(2rem, 1rem + 4vw, 4rem) clamp(1rem, 6vw, 6rem) !important;
	background: var(--jf-cartao) !important;
	border: 0 !important;
	border-radius: 0 0 var(--jf-raio-painel) var(--jf-raio-painel);
	box-shadow: none !important;
	color: var(--jf-texto);
}
html body.single-product #main .woocommerce-Tabs-panel > * { max-width: 75ch; margin-inline: auto !important; }
html body.single-product #main .woocommerce-Tabs-panel > h2:first-child { display: none; }
html body.single-product #main .woocommerce-Tabs-panel h2,
html body.single-product #main .woocommerce-Tabs-panel h3 { font: 400 var(--jf-t-h3) / 1.15 var(--jf-serif) !important; color: var(--jf-texto) !important; margin: var(--jf-e-6) auto var(--jf-e-3) !important; }
html body.single-product #main .woocommerce-Tabs-panel p { margin: 0 auto 1em; line-height: 1.7; }

/* Tabela completa de características */
html body .jf-produto__ficha { display: grid; margin: 0 auto !important; max-width: 760px !important; }
html body .jf-produto__ficha div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--jf-e-4); padding: 14px 0; border-bottom: 1px solid var(--jf-linha); }
html body .jf-produto__ficha div:last-child { border-bottom: 0; }
html body .jf-produto__ficha dt { margin: 0; font-weight: 600; text-align: right; }
html body .jf-produto__ficha dd { margin: 0; color: var(--jf-texto-2); overflow-wrap: anywhere; }

/* Relacionados */
html body.single-product #main section.related { padding-top: var(--jf-e-6) !important; border: 0 !important; }
html body.single-product #main section.related > h2 { margin: 0 0 var(--jf-e-6) !important; padding: 0 !important; border: 0 !important; font: 400 var(--jf-t-h2) / 1.06 var(--jf-serif) !important; color: var(--jf-texto) !important; text-align: left !important; text-transform: none !important; }
html body.single-product #main section.related > h2::before,
html body.single-product #main section.related > h2::after { content: none !important; display: none !important; }


/* --- Larguras ----------------------------------------------------------------- */

@media (max-width: 1099px) {
	html body.jf-catalogo .jet-woo-products,
	html body.jf-catalogo :is(#main, .elementor) ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 899px) {
	html body.single-product #main div.product { grid-template-columns: minmax(0, 1fr); }
	html body.single-product #main div.product > .woocommerce-product-gallery,
	html body.single-product #main div.product > .summary { grid-column: 1; }
}
@media (max-width: 699px) {
	html body.jf-catalogo .jet-woo-products,
	html body.jf-catalogo :is(#main, .elementor) ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px 10px !important; }
	html body.jf-catalogo .jet-woo-products__item-content { padding: 10px 10px 16px !important; }
	html body.jf-catalogo .jet-woo-product-title,
	html body.jf-catalogo :is(#main, .elementor) ul.products li.product .woocommerce-loop-product__title { font-size: .875rem !important; }
	html body.jf-catalogo :is(#main, .elementor) ul.products li.product .woocommerce-loop-product__title { padding: 10px 10px 0 !important; }
	html body.jf-catalogo .jet-woo-product-thumbnail img,
	html body.jf-catalogo :is(#main, .elementor) ul.products li.product img { padding: 16px 14px 4px !important; }
	html body.jf-catalogo .jf-catalogo__explorar { flex-direction: column; align-items: flex-start; }
	html body.jf-catalogo .jf-catalogo__explorar ul { width: 100%; }
	html body.jf-catalogo .jet-sorting-select,
	html body.jf-catalogo .elementor-element-889f22b .elementor-button { font-size: 1rem !important; }
	html body .jf-produto__preco-cartao { padding: var(--jf-e-5); }
	html body .jf-produto__preco-cartao .jf-btn { width: 100%; }
	html body .jf-produto__resumo-ficha { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body .jf-produto__ficha div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	html body .jf-produto__ficha dt { text-align: left; }
}
