/*
Theme Name:   Storefront Tech
Theme URI:    https://calunaty.com.br/
Author:       Marcos Vinicius
Author URI:   https://calunaty.com.br/
Description:  Child theme do Storefront para lojas de eletronicos e informatica (template-tech). Faz parte de uma plataforma SaaS BR multi-tenant.
Template:     storefront
Version:      0.1.0
Requires PHP: 7.4
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  storefront-tech
Tags:         e-commerce, two-columns, custom-colors, custom-menu, featured-images, accessibility-ready
*/

/* ------------------------------------------------------------------------
   A direcao visual do tema e a RN-01 (docs/02-SPEC.md).

   Cor nunca hardcoded (RN-07): todo valor sai dos tokens `--st-*` de
   inc/palettes.php; hex literal so como fallback de `var()`.

   Nao enfileirar manualmente: o Storefront ja enfileira este arquivo com o
   handle `storefront-child-style`.
   ------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------
   Foco acessivel

   O pai pinta o anel em `:focus`, que aparece tambem no clique. Aqui ele some
   no ponteiro e aparece no teclado (WCAG 2.4.7). Nunca `*:focus { outline: none }`.

   PAR ACOPLADO com o pai: `outline-color` vem de tres origens (style.css (0,1,1)
   e dois grupos do inline do Customizer (0,3,0)/(0,2,1)). Os seletores escopados
   abaixo empatam e vencem por ordem; se o pai renomea-los, param de alcancar.
   ------------------------------------------------------------------------ */

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
[tabindex]:focus:not(:focus-visible) {
	outline: none;
}

.button.alt:focus:not(:focus-visible),
.button.added_to_cart:focus:not(:focus-visible),
.button.wc-forward:focus:not(:focus-visible) {
	outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--st-brand, #0058B6);
	outline-offset: 2px;
}

.button.alt:focus-visible,
.button.added_to_cart:focus-visible,
.button.wc-forward:focus-visible,
input[type="search"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="url"]:focus-visible,
input[type="password"]:focus-visible,
input[type="button"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="submit"]:focus-visible {
	outline: 2px solid var(--st-brand, #0058B6);
	outline-offset: 2px;
}

/* Rodape e `--st-brand-dark`: o anel de `--st-brand` some ali (~1.2:1), entao
   usa `--st-brand-contrast`. Vence por especificidade/ordem, sem `!important`
   (o inline do Customizer do pai tambem toca `outline-color`). */
.site-footer a:not(.button):focus-visible,
.site-footer button:focus-visible,
.site-footer input:focus-visible,
.site-footer select:focus-visible,
.site-footer textarea:focus-visible,
.site-footer [tabindex]:focus-visible {
	outline-color: var(--st-brand-contrast, #FFFFFF);
}

.site-footer .storefront-handheld-footer-bar a:focus-visible,
.site-footer .storefront-handheld-footer-bar button:focus-visible {
	outline-color: var(--st-brand-contrast, #FFFFFF);
}

/* ------------------------------------------------------------------------
   APLICACAO DOS TOKENS

   Cada seletor abaixo copia o do `get_css()` do Customizer do pai
   (class-storefront-customizer.php): empata em especificidade e vence por
   ordem (o child carrega depois), sem `!important`. Se o pai renomear um
   seletor, a regra correspondente para de alcancar sem erro.

   Escopo: chrome global (header, nav, body, links, botoes, rodape).
   ------------------------------------------------------------------------ */

/* --- Texto e fundo do corpo --------------------------------------------- */

body {
	color: var(--st-text, #16181C);
	background-color: var(--st-bg, #FFFFFF);
}

h1, h2, h3, h4, h5, h6, .wc-block-grid__product-title {
	color: var(--st-text, #16181C);
}

.widget h1 {
	border-bottom-color: var(--st-text, #16181C);
}

a {
	color: var(--st-brand, #0058B6);
}

.widget-area .widget a,
.hentry .entry-header .posted-on a,
.hentry .entry-header .post-author a,
.hentry .entry-header .post-comments a,
.hentry .entry-header .byline a {
	color: var(--st-text-muted, #515F72);
}

/* --- Header PINTADO de marca (RN-01 / decisao de MV em 24/08) ------------
   Header com fundo `--st-brand` e texto `--st-brand-contrast`: todo
   `--st-brand` e calibrado para >= 4.5:1 contra ele.
   ------------------------------------------------------------------------ */

.site-header,
.secondary-navigation ul ul,
.main-navigation ul.menu > li.menu-item-has-children:after,
.secondary-navigation ul.menu ul,
.storefront-handheld-footer-bar,
.storefront-handheld-footer-bar ul li > a,
button.menu-toggle,
button.menu-toggle:hover {
	background-color: var(--st-brand, #0058B6);
}

p.site-description,
.site-header,
.storefront-handheld-footer-bar {
	color: var(--st-brand-contrast, #FFFFFF);
}

/* Sobrescreve o roxo do accent default do pai nos links do header. */
.main-navigation ul li a,
.site-title a,
ul.menu li a,
.site-branding h1 a,
button.menu-toggle,
button.menu-toggle:hover,
.handheld-navigation .dropdown-toggle,
.site-header a:not(.storefront-button):not(.components-button):not(.button),
.site-header .main-navigation a {
	color: var(--st-brand-contrast, #FFFFFF);
}

button.menu-toggle,
button.menu-toggle:hover {
	border-color: var(--st-brand-contrast, #FFFFFF);
}

button.menu-toggle:after,
button.menu-toggle:before,
button.menu-toggle span:before {
	background-color: var(--st-brand-contrast, #FFFFFF);
}

/* Hover/atual do menu: o texto segue `--st-brand-contrast` (o pai clareia, o
   que nao muda nada sobre branco). O destaque e uma barra `::after` em
   `--st-accent` que cresce do centro — `--st-accent` como cor de TEXTO reprova
   AA sobre a marca em 3 das 5 paletas. `left/right: 18px` = padding do link. */
.site-header .main-navigation .primary-navigation > ul.menu > li > a::after,
.site-header .main-navigation .handheld-navigation > ul.menu > li > a::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 6px;
	height: 3px;
	border-radius: 999px;
	background-color: var(--st-accent, #FF6800);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
	pointer-events: none;
}

.site-header .main-navigation .primary-navigation > ul.menu > li > a:hover::after,
.site-header .main-navigation .primary-navigation > ul.menu > li:hover > a::after,
.site-header .main-navigation .primary-navigation > ul.menu > li.current-menu-item > a::after,
.site-header .main-navigation .handheld-navigation > ul.menu > li > a:hover::after,
.site-header .main-navigation .handheld-navigation > ul.menu > li:hover > a::after,
.site-header .main-navigation .handheld-navigation > ul.menu > li.current-menu-item > a::after {
	transform: scaleX(1);
}

.site-header .main-navigation .primary-navigation > ul.menu > li > a:hover,
.site-header .main-navigation .primary-navigation > ul.menu > li:hover > a,
.site-header .main-navigation .primary-navigation > ul.menu > li.current-menu-item > a,
.site-header .main-navigation .handheld-navigation > ul.menu > li > a:hover,
.site-header .main-navigation .handheld-navigation > ul.menu > li:hover > a,
.site-header .main-navigation .handheld-navigation > ul.menu > li.current-menu-item > a {
	text-decoration: none;
}

/* --- Categorias em destaque: separacao visual + legibilidade --
   Linha 2 do header em `--st-brand-dark` para separar da linha 1. Fonte
   maior e peso 600 (RN-01: so escala/peso, a face segue a stack de sistema). */
.storefront-primary-navigation {
	background-color: var(--st-brand-dark, #0049A7);
}

/* Barra de menu na linha inteira: o pai da `width:73.9%; float:left` (0,3,0)
   para dividir a linha com o carrinho, que aqui mora na linha de cima.
   (0,4,0) vence. So >= 768px: abaixo disso o menu e o drawer handheld. */
@media (min-width: 768px) {

	.woocommerce-active .site-header .storefront-primary-navigation .main-navigation {
		width: 100%;
		float: none;
		margin-right: 0;
	}

	/* Sem isto a descricao do site encosta na barra: a linha de cima nao tem
	   margem de baixo. Margem e nao padding: o fundo acima e o do header. */
	.woocommerce-active .site-header .storefront-primary-navigation {
		margin-top: 16px;
	}
}

/* Reduz o `padding-top` do pai (~42px). PAR ACOPLADO: o `top` do
   `.menu-toggle` no mobile acompanha este valor. */
.site-header {
	padding-top: 20px;
}

.site-header .main-navigation .primary-navigation > ul.menu > li > a,
.site-header .main-navigation .handheld-navigation > ul.menu > li > a {
	font-size: 17px;
	font-weight: 600;
	/* `px` fixo: o `1.618em` do pai escalaria com a fonte maior e incharia a
	   barra. 16px vertical mantem o alvo de toque >= 44px. */
	padding: 16px 18px;
	/* Ancora o `::after` de hover/atual; `z-index: 0` isola o empilhamento
	   do pseudo dentro do link. */
	position: relative;
	z-index: 0;
}

/* Folga entre os itens so na barra desktop (o drawer mobile e lista vertical).
   `gap` fixo, nao `space-between`: com poucos itens este abriria vaos enormes. */
@media (min-width: 768px) {
	.site-header .main-navigation .primary-navigation > ul.menu {
		display: flex;
		align-items: stretch;
		gap: 1em;
	}
}

/* Tablet: sem `gap` e com 12px laterais o chip + 5 categorias cabem numa
   linha. O `flex-wrap` abaixo segue como fallback para nomes longos. */
@media (min-width: 768px) and (max-width: 1023px) {
	.site-header .main-navigation .primary-navigation > ul.menu {
		gap: 0;
	}

	.site-header .main-navigation .primary-navigation > ul.menu > li > a {
		padding-left: 12px;
		padding-right: 12px;
	}
}

/* O modo curado aceita ate 7 categorias (`inc/nav-menu.php`). Sem JS, o que
   nao cabe quebra em 2 linhas; com JS vai para o "Mais" (abaixo). */
.site-header .main-navigation .primary-navigation > ul.menu {
	flex-wrap: wrap;
}

/* --- "Mais" da barra de categorias (`assets/js/nav-mais.js`) -------------
   Com o JS, a barra fica numa linha e o que nao cabe vai para a lista. Regras
   do pai que alcancam o `ul` dentro do `li` e precisam ser vencidas:
     .main-navigation ul li            display:inline-block (venceria o `hidden`)
     .main-navigation ul li:hover>ul   display:block (abriria no hover)
     .main-navigation ul ul            position / left:-9999px / float / z-index
     .main-navigation ul ul li a       width:200px
     .site-header a:not()…             (0,4,1) cor branca nos links
   ------------------------------------------------------------------------ */
@media (min-width: 768px) {
	.site-header .main-navigation .primary-navigation > ul.menu.st-nav-mais--ativo {
		flex-wrap: nowrap;
	}

	.site-header .main-navigation .primary-navigation > ul.st-nav-mais--ativo > li {
		flex: none;
	}

	.site-header .main-navigation .primary-navigation > ul.st-nav-mais--ativo > li > a {
		white-space: nowrap;
	}
}

.site-header .main-navigation .primary-navigation > ul.menu > li[hidden],
.site-header .main-navigation .primary-navigation .st-nav-mais .st-nav-mais__lista[hidden],
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__painel[hidden],
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__ramos[hidden],
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__ramo[hidden] {
	display: none !important;
}

.site-header .main-navigation .primary-navigation .st-nav-mais__toggle {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: center;
	gap: 0.4em;
	height: 100%;
	margin: 0;
	padding: 16px 18px;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--st-brand-contrast, #FFFFFF);
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: inherit;
	white-space: nowrap;
	cursor: pointer;
}

@media (min-width: 768px) and (max-width: 1023px) {
	.site-header .main-navigation .primary-navigation .st-nav-mais__toggle {
		padding-left: 12px;
		padding-right: 12px;
	}
}

/* Mesma barra de hover/atual dos links da linha 2. */
.site-header .main-navigation .primary-navigation .st-nav-mais__toggle::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 6px;
	height: 3px;
	border-radius: 999px;
	background-color: var(--st-accent, #FF6800);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
	pointer-events: none;
}

.site-header .main-navigation .primary-navigation .st-nav-mais__toggle:hover::after,
.site-header .main-navigation .primary-navigation .st-nav-mais__toggle[aria-expanded="true"]::after,
.site-header .main-navigation .primary-navigation .st-nav-mais.current-menu-item .st-nav-mais__toggle::after {
	transform: scaleX(1);
}

.site-header .main-navigation .primary-navigation .st-nav-mais__seta,
.site-header .main-navigation .primary-navigation .st-cat-drop__chevron {
	width: 0.4em;
	height: 0.4em;
	margin-top: -0.2em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.site-header .main-navigation .primary-navigation .st-nav-mais__toggle[aria-expanded="true"] .st-nav-mais__seta {
	margin-top: 0.2em;
	transform: rotate(-135deg);
}

/* O `<a>` do item segue `block`: a seta e `inline-block` na linha do nome. */
.site-header .main-navigation .primary-navigation .st-cat-drop__chevron {
	display: inline-block;
	margin-top: 0;
	margin-left: 0.4em;
	vertical-align: 0.25em;
}

.site-header .main-navigation .primary-navigation .st-cat-drop--aberto .st-cat-drop__chevron {
	vertical-align: 0;
	transform: rotate(-135deg);
}

@media (prefers-reduced-motion: reduce) {
	.site-header .main-navigation .primary-navigation .st-cat-drop__chevron {
		transition: none;
	}
}

.site-header .main-navigation .primary-navigation .st-nav-mais .st-nav-mais__lista,
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__painel {
	position: absolute;
	top: 100%;
	right: 0;
	left: auto;
	z-index: 1000;
	float: none;
	display: block;
	min-width: 220px;
	max-width: calc(100vw - 2em);
	margin: 0;
	padding: 0.5em 0;
	list-style: none;
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	box-shadow: 0 12px 32px rgba(22, 24, 28, 0.14), 0 4px 8px rgba(22, 24, 28, 0.08);
}

/* --- Subcategorias no hover (`.st-cat-drop`, `assets/js/nav-subcategorias.js`)
   ⚠️ `max-content`: `auto` num abspos encolhe contra o `<li>` do item.
   ⚠️ `.main-navigation ul ul` do pai joga o `ul` para `left:-9999px`. */
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__painel {
	right: auto;
	left: 0;
	width: max-content;
	/* ⚠️ `100vw` inclui a barra de rolagem: `4em` cobre ela e as duas margens
	   que o JS respeita ao deslizar o painel. */
	max-width: calc(100vw - 4em);
	/* Teto obrigatorio, como o do mega: catalogo grande estouraria a viewport.
	   Cada area rola por si; o painel so corta. */
	max-height: 70vh;
	overflow: hidden;
	display: flex;
	align-items: stretch;
	padding: 0;
}

.site-header .main-navigation .primary-navigation .st-cat-drop ul.st-cat-drop__filhos,
.site-header .main-navigation .primary-navigation .st-cat-drop ul.st-cat-drop__lista,
.site-header .main-navigation .primary-navigation .st-cat-drop ul.st-cat-drop__netos {
	position: static;
	float: none;
	left: auto;
	top: auto;
	z-index: auto;
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
	box-shadow: none;
}

.site-header .main-navigation .primary-navigation .st-cat-drop ul.st-cat-drop__lista--2col {
	columns: 2;
	column-gap: 0;
}

.site-header .main-navigation .primary-navigation .st-cat-drop ul.st-cat-drop__lista--3col {
	columns: 3;
	column-gap: 0;
}

/* Area da esquerda: os filhos. A divisoria e dela, existe mesmo sem ramos. */
.site-header .main-navigation .primary-navigation .st-cat-drop ul.st-cat-drop__filhos {
	flex: 0 0 15em;
	overflow-y: auto;
	padding: 0.5em 0;
}

.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__filhos a {
	justify-content: space-between;
	gap: 0.75em;
}

.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__seta {
	flex: 0 0 auto;
	font-size: 1.25em;
	line-height: 1;
	opacity: 0.7;
}

/* Filho cujo ramo esta na direita: mesmo recurso do `--aberto` do mega.
   ⚠️ `ul.`/`li.` levam a (0,6,3): a cor base do link, compartilhada com o
   "Mais", vem depois em (0,5,1). */
.site-header .main-navigation .primary-navigation .st-cat-drop ul.st-cat-drop__filhos > li.st-cat-drop__filho--aberto > a {
	background-color: var(--st-surface, #F2F7FF);
	color: var(--st-brand, #0058B6);
	font-weight: 600;
}

/* Area da direita: o ramo do filho em foco. Largura minima das colunas do
   mega: ramo curto nao encolhe o painel a cada troca. */
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__ramos {
	flex: 0 1 auto;
	min-width: 16em;
	overflow-y: auto;
	padding: 0.5em 0;
	border-left: 1px solid var(--st-border, #CCD5E2);
}

.site-header .main-navigation .primary-navigation .st-cat-drop a.st-cat-drop__ver-tudo {
	display: block;
	margin: 0 0.75em 0.25em;
	padding: 0.6em 0.5em;
	border-bottom: 1px solid var(--st-border, #CCD5E2);
	color: var(--st-brand, #0058B6);
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
}

.site-header .main-navigation .primary-navigation .st-cat-drop a.st-cat-drop__ver-tudo:hover,
.site-header .main-navigation .primary-navigation .st-cat-drop a.st-cat-drop__ver-tudo:focus {
	text-decoration: underline;
}

/* Grupo inteiro na mesma coluna: titulo separado dos netos perde o sentido. */
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__lista > li {
	break-inside: avoid;
}

/* Titulo de grupo como na coluna 3 do mega: peso e `--st-accent-ink`
   (calibrado sobre `--st-bg`). */
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__lista > li > a[data-st-grupo] {
	color: var(--st-accent-ink, #B93800);
	font-weight: 600;
}

/* Recuo na lista, nao no link: `padding` no `<a>` desloca so o texto. */
.site-header .main-navigation .primary-navigation .st-cat-drop ul.st-cat-drop__netos {
	padding-left: 0.75em;
}

/* `ul.` leva a (0,5,2): a regra de link da lista, compartilhada com o "Mais",
   vem depois em (0,5,1). */
.site-header .main-navigation .primary-navigation .st-cat-drop ul.st-cat-drop__netos a {
	min-height: 36px;
	font-size: 0.9375rem;
}

.site-header .main-navigation .primary-navigation .st-nav-mais .st-nav-mais__lista li,
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__lista li,
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__filhos li {
	display: block;
}

.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__lista a,
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__filhos a,
.site-header .main-navigation .primary-navigation .st-nav-mais .st-nav-mais__lista a {
	display: flex;
	align-items: center;
	width: auto;
	min-height: 44px;
	padding: 0.5em 1.25em;
	color: var(--st-text, #16181C);
	font-size: 1rem;
	font-weight: 400;
	white-space: nowrap;
}

/* O anel do header e `--st-brand-contrast` (branco) e sumiria na lista. */
.site-header .main-navigation .primary-navigation .st-nav-mais .st-nav-mais__lista a:focus-visible,
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__lista a:focus-visible,
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__filhos a:focus-visible,
.site-header .main-navigation .primary-navigation .st-cat-drop a.st-cat-drop__ver-tudo:focus-visible {
	outline-color: var(--st-brand, #0058B6);
	outline-offset: -2px;
}

.site-header .main-navigation .primary-navigation .st-nav-mais .st-nav-mais__lista a:hover,
.site-header .main-navigation .primary-navigation .st-nav-mais .st-nav-mais__lista a:focus,
.site-header .main-navigation .primary-navigation .st-nav-mais .st-nav-mais__lista a[aria-current="page"],
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__lista a:hover,
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__lista a:focus,
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__lista a[aria-current="page"],
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__filhos a:hover,
.site-header .main-navigation .primary-navigation .st-cat-drop .st-cat-drop__filhos a[aria-current="page"] {
	background-color: var(--st-surface, #F2F7FF);
	color: var(--st-brand, #0058B6);
}

.site-title a:hover {
	color: var(--st-brand-contrast, #FFFFFF);
}

/* ------------------------------------------------------------------------
   FAIXA DE CATEGORIAS DO MOBILE (`.st-cat-faixa`, `inc/nav-menu.php`)

   Faixa arrastavel abaixo da busca, so < 768px: no desktop a mesma lista e a
   linha 2 do header. Mesma superficie da linha 2 (`--st-brand-dark`).
   Rola nativo (toque, trackpad, teclado pelo foco); a ultima categoria cortada
   na borda e o sinal de que ha mais.
   ------------------------------------------------------------------------ */
.st-cat-faixa {
	display: none;
}

@media (max-width: 767px) {

	/* `-1.618rem` = `padding-bottom` do `.site-header` do pai (1.618em sobre
	   16px): a faixa encosta no fim do header. PAR ACOPLADO. */
	.st-cat-faixa {
		display: block;
		margin: 0.75rem 0 -1.618rem;
		background-color: var(--st-brand-dark, #0049A7);
	}

	/* Goteira - padding do item: o texto do 1o item alinha com a margem do
	   `.col-full` do pai (2.617924em; 1.41575em ate 568px). PAR ACOPLADO. */
	.st-cat-faixa__lista {
		display: flex;
		margin: 0;
		padding: 0 calc(2.617924rem - 0.75rem);
		list-style: none;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.st-cat-faixa__lista::-webkit-scrollbar {
		display: none;
	}

	.st-cat-faixa__lista > li {
		flex: 0 0 auto;
		margin: 0;
	}

	.site-header .st-cat-faixa__lista a {
		position: relative;
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0 0.75rem;
		color: var(--st-brand-contrast, #FFFFFF);
		font-size: 15px;
		font-weight: 600;
		white-space: nowrap;
		text-decoration: none;
	}

	/* Categoria atual: a mesma barra `--st-accent` da linha 2 do desktop. */
	.site-header .st-cat-faixa__lista a[aria-current]::after {
		content: "";
		position: absolute;
		left: 0.75rem;
		right: 0.75rem;
		bottom: 6px;
		height: 3px;
		border-radius: 999px;
		background-color: var(--st-accent, #FF6800);
	}

	/* O anel do header (`.site-header a:focus-visible`) fica por dentro: o
	   `overflow-x` da lista cortaria o `outline` de fora. */
	.site-header .st-cat-faixa__lista a:focus-visible {
		outline-offset: -3px;
	}
}

@media (max-width: 568px) {

	.st-cat-faixa__lista {
		padding: 0 calc(1.41575rem - 0.75rem);
	}
}

body.woocommerce-checkout:not(.woocommerce-order-received) .st-cat-faixa {
	display: none;
}

/* ------------------------------------------------------------------------
   PAINEL DE SUBCATEGORIAS DA FAIXA (`.st-cat-folha`, `assets/js/cat-folha.js`)

   Categoria da faixa com filhas mostra o V; o toque abre, colado embaixo da
   faixa, um painel na largura toda. O painel e o veu saem do fluxo, ancorados
   no fim da faixa (`position:relative`), e rolam junto com o header.
   ⚠️ Links do painel usam `.st-cat-folha.st-cat-folha a`: o pai pinta todo `a` do
   header de branco com `:not()` (0,4,1).
   ------------------------------------------------------------------------ */
@media screen and ( max-width: 767px ) {

	.st-cat-faixa {
		position: relative;
	}

	/* O header (z-index 999) fecha um contexto de empilhamento: o painel so passa da
	   barra presa da listagem (`#secondary`, 999, depois dele no DOM) com o header
	   elevado. */
	html.st-cat-folha-aberta .site-header {
		z-index: 1001;
	}

	/* Chevron em V desenhado por borda (sem glifo de fonte). */
	.st-cat-faixa__seta {
		flex: none;
		width: 0.45rem;
		height: 0.45rem;
		margin: -0.2rem 0 0 0.5rem;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		transition: transform 0.2s ease-out;
	}

	.site-header .st-cat-faixa__lista a[aria-expanded="true"] .st-cat-faixa__seta {
		margin-top: 0.2rem;
		transform: rotate(-135deg);
	}

	.st-cat-folha__veu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 1000;
		height: 100vh;
		height: 100dvh;
		background-color: rgba(22, 24, 28, 0.5);
		background-color: color-mix(in srgb, var(--st-text, #16181C) 50%, transparent);
		opacity: 0;
		transition: opacity 0.2s ease-out;
	}

	.st-cat-folha__veu[hidden] {
		display: none;
	}

	.st-cat-folha__veu--aberto {
		opacity: 1;
	}

	.st-cat-folha {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 1001;
		max-height: 70vh;
		max-height: 70dvh;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 0.5rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
		border-radius: 0 0 16px 16px;
		background-color: var(--st-bg, #FFFFFF);
		color: var(--st-text, #16181C);
		box-shadow: 0 8px 24px rgba(22, 24, 28, 0.18);
		box-shadow: 0 8px 24px color-mix(in srgb, var(--st-text, #16181C) 18%, transparent);
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.2s ease-out, transform 0.2s ease-out;
	}

	.st-cat-folha[hidden] {
		display: none;
	}

	.st-cat-folha--aberta {
		opacity: 1;
		transform: none;
	}

	/* "Ver tudo em X": a categoria pai fica a um toque, primeira da lista. */
	.site-header .st-cat-folha.st-cat-folha a.st-cat-folha__ver-tudo,
	.site-header .st-cat-folha.st-cat-folha a.st-cat-folha__ver-tudo:hover,
	.site-header .st-cat-folha.st-cat-folha a.st-cat-folha__ver-tudo:focus {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 52px;
		margin: 0.25rem 0;
		padding: 0 1rem;
		border-radius: var(--st-raio, 8px);
		background-color: var(--st-surface, #F2F7FF);
		color: var(--st-brand, #0058B6);
		font-weight: var(--st-peso-negrito, 700);
		text-decoration: none;
	}

	.site-header .st-cat-folha .st-cat-folha__lista {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.site-header .st-cat-folha .st-cat-folha__lista > li {
		margin: 0;
		border-bottom: 1px solid var(--st-border, #CCD5E2);
	}

	.site-header .st-cat-folha .st-cat-folha__lista > li:last-child {
		border-bottom: 0;
	}

	.site-header .st-cat-folha.st-cat-folha a.st-cat-folha__link,
	.site-header .st-cat-folha.st-cat-folha a.st-cat-folha__link:hover,
	.site-header .st-cat-folha.st-cat-folha a.st-cat-folha__link:focus,
	.site-header .st-cat-folha.st-cat-folha summary.st-cat-folha__link {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 48px;
		padding: 0.5rem 0.25rem;
		color: var(--st-text, #16181C);
		font-size: var(--st-fs-5, 1rem);
		text-decoration: none;
	}

	.site-header .st-cat-folha.st-cat-folha summary.st-cat-folha__resumo {
		cursor: pointer;
		font-weight: var(--st-peso-semi, 600);
		list-style: none;
	}

	.site-header .st-cat-folha summary.st-cat-folha__resumo::-webkit-details-marker {
		display: none;
	}

	.site-header .st-cat-folha .st-cat-folha__seta {
		flex: none;
		width: 0.5rem;
		height: 0.5rem;
		margin: -0.2rem 0.5rem 0 0.75rem;
		border-right: 2px solid var(--st-brand, #0058B6);
		border-bottom: 2px solid var(--st-brand, #0058B6);
		transform: rotate(45deg);
		transition: transform 0.2s ease-out;
	}

	.site-header .st-cat-folha details[open] > .st-cat-folha__resumo .st-cat-folha__seta {
		margin-top: 0.2rem;
		transform: rotate(-135deg);
	}

	.site-header .st-cat-folha .st-cat-folha__lista--aninhada {
		margin: 0 0 0.5rem 0.25rem;
		padding-left: 0.75rem;
		border-left: 2px solid var(--st-border, #CCD5E2);
	}

	.site-header .st-cat-folha .st-cat-folha__lista--aninhada > li {
		border-bottom: 0;
	}

	.site-header .st-cat-folha.st-cat-folha a.st-cat-folha__ver-sub,
	.site-header .st-cat-folha.st-cat-folha a.st-cat-folha__ver-sub:hover,
	.site-header .st-cat-folha.st-cat-folha a.st-cat-folha__ver-sub:focus {
		color: var(--st-brand, #0058B6);
		font-weight: var(--st-peso-semi, 600);
	}

	.site-header .st-cat-folha a:focus-visible,
	.site-header .st-cat-folha summary:focus-visible {
		outline: 2px solid var(--st-brand, #0058B6);
		outline-offset: -2px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.st-cat-folha,
	.st-cat-folha__veu,
	.st-cat-folha .st-cat-folha__seta,
	.st-cat-faixa__seta {
		transition: none;
	}
}

/* ------------------------------------------------------------------------
   BOTAO DA CAMPANHA (`.st-campanha`, `inc/campanha-botao.php`)

   Pilula na barra, na gaveta e na faixa do mobile. A cor e chave do nucleo
   (`saas_loja_campanha_cores()`), o tom e token deste tema. O link tem 44px
   de alvo; a caixa visivel e o `::before`, no formato do botao Departamentos
   (`.st-mega__toggle`: 37px, raio `--st-raio`, 15px/600).
   ------------------------------------------------------------------------ */
.st-campanha {
	--campanha-bg: var(--st-accent, #FF6800);
	--campanha-fg: var(--st-accent-contrast, #16181C);
}

.st-campanha--vermelho {
	--campanha-bg: var(--st-campanha-vermelho, #D7141A);
	--campanha-fg: var(--st-bg, #FFFFFF);
}

.st-campanha--amarelo {
	--campanha-bg: var(--st-campanha-amarelo, #FFD400);
	--campanha-fg: var(--st-text, #16181C);
}

.st-campanha--preto {
	--campanha-bg: var(--st-text, #16181C);
	--campanha-fg: var(--st-campanha-amarelo, #FFD400);
}

/* O `li` do pai e `inline-block` (0,1,2): sem vencer, a pilula sobe ao topo
   da barra em vez de centrar. */
.site-header .main-navigation ul.menu > li.st-campanha,
.site-header .st-cat-faixa__lista > li.st-campanha {
	display: flex;
	align-items: center;
}

.site-header .main-navigation ul.menu > li.st-campanha > a.st-campanha__link,
.site-header .st-cat-faixa__lista > li.st-campanha > a.st-campanha__link {
	position: relative;
	z-index: 0;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	background-color: transparent;
	color: var(--campanha-fg);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	white-space: nowrap;
	text-decoration: none;
	transition: transform 0.15s ease;
}

.site-header .main-navigation ul.menu > li.st-campanha > a.st-campanha__link::before,
.site-header .st-cat-faixa__lista > li.st-campanha > a.st-campanha__link::before {
	content: "";
	/* O pai esconde `.main-navigation ul li a::before` no menu atribuido. */
	display: block;
	position: absolute;
	inset: 3.5px 0;
	z-index: -1;
	border-radius: var(--st-raio, 8px);
	background-color: var(--campanha-bg);
	transition: box-shadow 0.15s ease;
}

/* Brilho do hover: faixa clara que atravessa a caixa, acima do fundo e
   abaixo do texto. Substitui a barra `::after` dos outros itens. */
.site-header .main-navigation ul.menu > li.st-campanha > a.st-campanha__link::after,
.site-header .st-cat-faixa__lista > li.st-campanha > a.st-campanha__link::after {
	content: "";
	display: block;
	position: absolute;
	inset: 3.5px 0;
	z-index: -1;
	height: auto;
	border-radius: var(--st-raio, 8px);
	background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%) no-repeat;
	background-size: 250% 100%;
	background-position: 150% 0;
	transform: none;
	transition: none;
	pointer-events: none;
}

.site-header .main-navigation ul.menu > li.st-campanha > a.st-campanha__link:hover,
.site-header .st-cat-faixa__lista > li.st-campanha > a.st-campanha__link:hover {
	transform: translateY(-1px);
}

.site-header .main-navigation ul.menu > li.st-campanha > a.st-campanha__link:hover::after,
.site-header .st-cat-faixa__lista > li.st-campanha > a.st-campanha__link:hover::after {
	background-position: -50% 0;
	transition: background-position 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
	.site-header .main-navigation ul.menu > li.st-campanha > a.st-campanha__link:hover,
	.site-header .st-cat-faixa__lista > li.st-campanha > a.st-campanha__link:hover {
		transform: none;
	}

	.site-header .main-navigation ul.menu > li.st-campanha > a.st-campanha__link:hover::after,
	.site-header .st-cat-faixa__lista > li.st-campanha > a.st-campanha__link:hover::after {
		transition: none;
	}
}

/* A gaveta pinta o fundo do link no hover/foco (0,5,3, depois daqui): a
   pilula mantem o proprio fundo e ganha um anel na cor do texto. */
.site-header .main-navigation ul.menu > li.st-campanha > a.st-campanha__link:hover,
.site-header .main-navigation ul.menu > li.st-campanha > a.st-campanha__link:focus,
.site-header .main-navigation ul.menu > li.st-campanha:hover > a.st-campanha__link,
.site-header .st-cat-faixa__lista > li.st-campanha > a.st-campanha__link:hover,
.site-header .st-cat-faixa__lista > li.st-campanha > a.st-campanha__link:focus {
	background-color: transparent;
	color: var(--campanha-fg);
}

.site-header .main-navigation ul.menu > li.st-campanha > a.st-campanha__link[aria-current]::before,
.site-header .st-cat-faixa__lista > li.st-campanha > a.st-campanha__link[aria-current]::before {
	box-shadow: inset 0 0 0 2px var(--campanha-fg);
}

.site-header .main-navigation ul.menu > li.st-campanha > a.st-campanha__link:focus-visible,
.site-header .st-cat-faixa__lista > li.st-campanha > a.st-campanha__link:focus-visible {
	outline: 2px solid var(--campanha-fg);
	outline-offset: -8px;
}

/* Faixa: a borda da pilula encosta na goteira do 1o item (par acoplado com
   o `padding` da `.st-cat-faixa__lista`). */
.site-header .st-cat-faixa__lista > li.st-campanha {
	padding: 0 0.75rem;
}

/* "Mais ofertas" (`<details>`): so na barra do desktop, com os botoes que
   passam de 3. Pilula vazada na cor do texto da barra. */
.site-header .main-navigation ul.menu > li.st-campanha-mais {
	position: relative;
}

.site-header .main-navigation ul.menu > li.st-campanha-mais summary.st-campanha__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	min-height: 37px;
	padding: 0 16px;
	border-radius: var(--st-raio, 8px);
	box-shadow: inset 0 0 0 1px currentColor;
	color: var(--st-brand-contrast, #FFFFFF);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	white-space: nowrap;
	list-style: none;
	cursor: pointer;
}

.site-header .main-navigation ul.menu > li.st-campanha-mais summary.st-campanha__link::-webkit-details-marker {
	display: none;
}

.site-header .main-navigation ul.menu > li.st-campanha-mais summary.st-campanha__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.site-header .main-navigation ul.menu > li.st-campanha-mais .st-campanha-mais__seta {
	width: 0.45em;
	height: 0.45em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-25%) rotate(45deg);
}

.site-header .main-navigation ul.menu > li.st-campanha-mais details[open] .st-campanha-mais__seta {
	transform: translateY(25%) rotate(-135deg);
}

.site-header .main-navigation ul.menu > li.st-campanha-mais .st-campanha-mais__lista {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	min-width: 220px;
	margin: 0;
	padding: 0.5em 0;
	list-style: none;
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio, 8px);
	box-shadow: 0 12px 32px rgba(22, 24, 28, 0.14), 0 4px 8px rgba(22, 24, 28, 0.08);
}

.site-header .main-navigation ul.menu > li.st-campanha-mais .st-campanha-mais__lista li {
	display: block;
}

.site-header .main-navigation ul.menu > li.st-campanha-mais a.st-campanha-mais__link {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5em 1.25em;
	color: var(--st-text, #16181C);
	font-size: 1rem;
	font-weight: 600;
	white-space: nowrap;
}

.site-header .main-navigation ul.menu > li.st-campanha-mais a.st-campanha-mais__link::before,
.site-header .main-navigation ul.menu > li.st-campanha-mais a.st-campanha-mais__link::after {
	display: none;
}

.site-header .main-navigation ul.menu > li.st-campanha-mais a.st-campanha-mais__link:hover,
.site-header .main-navigation ul.menu > li.st-campanha-mais a.st-campanha-mais__link:focus,
.site-header .main-navigation ul.menu > li.st-campanha-mais a.st-campanha-mais__link[aria-current] {
	background-color: var(--st-surface, #F4F6F9);
	color: var(--st-brand, #0058B6);
}

.site-header .main-navigation ul.menu > li.st-campanha-mais a.st-campanha-mais__link:focus-visible {
	outline: 2px solid var(--st-brand, #0058B6);
	outline-offset: -2px;
}

/* Gaveta: a pilula alinha com os icones dos outros itens (mesma goteira). */
.site-header .main-navigation .handheld-navigation > ul.menu > li.st-campanha {
	padding: 4px 1.41575rem;
}

/* --- Botoes --------------------------------------------------------------
   `.button` = acao secundaria, superficie neutra. `.button.alt` = acao primaria
   do WooCommerce (add-to-cart, checkout) e recebe a marca. Inverte o default do
   pai, que dava cinza ao primeiro e quase-preto ao segundo.
   ------------------------------------------------------------------------ */

button, input[type="button"], input[type="reset"], input[type="submit"], .button, .widget a.button {
	background-color: var(--st-surface, #F2F7FF);
	border-color: var(--st-border, #CCD5E2);
	color: var(--st-text, #16181C);
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .widget a.button:hover {
	background-color: var(--st-surface-dark, #EBF0F8);
	border-color: var(--st-border, #CCD5E2);
	color: var(--st-text, #16181C);
}

button.alt, input[type="button"].alt, input[type="reset"].alt, input[type="submit"].alt, .button.alt, .widget-area .widget a.button.alt {
	background-color: var(--st-brand, #0058B6);
	border-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

button.alt:hover, input[type="button"].alt:hover, input[type="reset"].alt:hover, input[type="submit"].alt:hover, .button.alt:hover, .widget-area .widget a.button.alt:hover {
	background-color: var(--st-brand-hover, #003F9D);
	border-color: var(--st-brand-hover, #003F9D);
	color: var(--st-brand-contrast, #FFFFFF);
}

/* --- Rodape PINTADO de marca ---------------------------------
   `--st-brand-dark`, nao `--st-brand`, para nao repetir a cor do header nas
   duas pontas da pagina. Branco sobre ele >= 6.89:1 nas 5 paletas. O anel de
   foco tem escopo proprio para `.site-footer` (bloco de foco).
   ------------------------------------------------------------------------ */

.site-footer {
	background-color: var(--st-brand-dark, #0049A7);
	color: var(--st-brand-contrast, #FFFFFF);
}

.site-footer a:not(.button):not(.components-button) {
	color: var(--st-brand-contrast, #FFFFFF);
}

.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6, .site-footer .widget .widget-title, .site-footer .widget .widgettitle {
	color: var(--st-brand-contrast, #FFFFFF);
}

/* `.widget h1 { border-bottom-color: var(--st-text) }` nao e escopado: a linha
   ficaria invisivel sobre o rodape escuro. */
.site-footer .widget h1 {
	border-bottom-color: var(--st-brand-contrast, #FFFFFF);
}

/* A handheld footer bar vive DENTRO do .site-footer mas e header pintado: o pai
   lhe da header_link_color de proposito. Sem esta regra ela herdaria a linha
   acima e o texto sumiria sobre a marca. */
.site-footer .storefront-handheld-footer-bar a:not(.button):not(.components-button) {
	color: var(--st-brand-contrast, #FFFFFF);
}

/* A barra handheld (`position:fixed`, `--st-brand`) pousa sobre o rodape
   (`--st-brand-dark`) no fim da rolagem: ~1.2:1 entre os dois. A borda devolve
   o limite. */
.storefront-handheld-footer-bar {
	border-top: 1px solid var(--st-brand-contrast, #FFFFFF);
}

/* --- Desktop (>= 768px) — os blocos que o pai so pinta neste breakpoint --- */

@media screen and ( min-width: 768px ) {

	.secondary-navigation ul.menu a {
		color: var(--st-brand-contrast, #FFFFFF);
	}

	/* O pai clareia o texto no hover, o que nao muda nada sobre branco: o
	   feedback vem do fundo translucido. */
	.secondary-navigation ul.menu a:hover {
		color: var(--st-brand-contrast, #FFFFFF);
		text-decoration: none;
		background-color: rgba(255, 255, 255, 0.16);
		background-color: color-mix(in srgb, var(--st-brand-contrast, #FFFFFF) 16%, transparent);
	}

	.main-navigation ul.menu ul.sub-menu,
	.main-navigation ul.nav-menu ul.children {
		background-color: var(--st-brand-dark, #0049A7);
	}

	.site-header {
		border-bottom-color: var(--st-brand-dark, #0049A7);
	}
}

/* --- Correcoes da revisao de diff (0.3.b) --------------------------------
   ------------------------------------------------------------------------ */

/* Anel de foco dentro do header: `--st-brand` sobre o header `--st-brand` mede
   1:1, entao vira `--st-brand-contrast`. Precisa vir DEPOIS do bloco de foco:
   `.site-header input:focus-visible` (0,2,1) empata com
   `input[type="search"]:focus-visible` e ganha por ordem. */

.site-header a:focus-visible,
.site-header button:focus-visible,
.site-header input:focus-visible,
.site-header select:focus-visible,
.site-header [tabindex]:focus-visible,
.storefront-handheld-footer-bar a:focus-visible,
.storefront-handheld-footer-bar button:focus-visible {
	outline-color: var(--st-brand-contrast, #FFFFFF);
}

/* Badge de contagem da barra handheld: inverte os papeis sobre a marca (o pai
   faz o mesmo). So existe abaixo de 768px. */

.storefront-handheld-footer-bar ul li.cart .count {
	background-color: var(--st-brand-contrast, #FFFFFF);
	border-color: var(--st-brand-contrast, #FFFFFF);
	color: var(--st-brand, #0058B6);
}

/* ------------------------------------------------------------------------
   LARGURA DO CONTAINER

   106.25em = 1700px de ink. `em` de proposito: o `.col-full` do pai usa `em`
   no max-width e no padding, entao escalam juntos.

   PAR ACOPLADO com `padding:0 2.617924em` + `box-sizing:content-box` do pai:
   a caixa e ink + 83.77px, entao o teto so atua a partir de ~1799px de janela.
   Gate le o ink (`clientWidth` menos os paddings), nunca a caixa.

   Chrome global: todos os `.col-full` (header, nav, conteudo, rodape) usam o
   mesmo valor para alinhar no mesmo x.

   PAR ACOPLADO com a contagem de colunas da grade: alargar o container sem
   acrescentar coluna estoura o teto de largura do card da RN-01.
   ------------------------------------------------------------------------ */

.col-full {
	max-width: 106.25em;
}

/* ------------------------------------------------------------------------
   LAYOUT BASE DA LOJA

   Sidebar de filtros a ESQUERDA, so em loja e categoria (allowlist em
   `inc/layout.php`). O lado nao e desenhado aqui: o `body_class` do child troca
   `right-sidebar` por `left-sidebar`, e o pai ja tem o par
   `.left-sidebar .content-area{float:right}` / `.left-sidebar .widget-area{float:left}`
   dentro de `min-width:768px`.
   ------------------------------------------------------------------------ */

/* --- Filtro de preco: matar o roxo do WooCommerce -----------------------
   O roxo vem do inline do pai (class-storefront-woocommerce-customizer.php),
   nao do `woocommerce.css` — o Storefront o desliga
   (`__return_empty_array`). Empate de especificidade, child vence por ordem:
   sem `!important`.
   ------------------------------------------------------------------------ */

.widget_price_filter .ui-slider .ui-slider-range,
.widget_price_filter .ui-slider .ui-slider-handle {
	background-color: var(--st-brand, #0058B6);
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
	background-color: var(--st-border, #CCD5E2);
}

/* --- O painel de filtros ------------------------------------------------ */

.st-filtros {
	margin: 0;
}

/* O <summary> e o controle de abrir/fechar, e so faz sentido no mobile: no
   desktop a coluna esta sempre visivel. Escondido com `display:none` no
   <summary>, o <details> continua exibindo o conteudo — nao e o mesmo que
   fechar. */
.st-filtros__toggle {
	display: none;
}

/* So no mobile: no desktop a coluna de filtros e a barra do pai ficam. Os
   pedacos que a folha mobile poe nos widgets somem quando eles voltam para a
   coluna (troca de breakpoint). */
.st-barra-mobile,
.st-filtros .st-folha__sec-cab,
.st-filtros .st-folha__subs,
.st-filtros .st-folha__mais,
.st-filtros .st-folha__busca {
	display: none;
}


.st-filtros__conteudo > .widget:last-child {
	margin-bottom: 0;
}

/* Piso e teto na coluna: os 21.74% do pai passam de 350px numa `.col-full`
   larga e caem a ~150px no tablet, onde a arvore so mostraria reticencias.
   O conteudo fecha a soma em 100% com a mesma expressao — os floats quebram
   de linha se passar. */
@media screen and ( min-width: 768px ) {

	.left-sidebar .widget-area {
		width: clamp( 12rem, 21.7391304348%, 16rem );
	}

	.left-sidebar .content-area {
		width: calc( 100% - clamp( 12rem, 21.7391304348%, 16rem ) - 4.347826087% );
	}
}

/* ------------------------------------------------------------------------
   MOBILE (< 768px) — a sidebar vira controle no topo, nao coluna embaixo

   `#secondary` vem depois de `#primary` no DOM; flex `order` sobe os filtros.
   Os clearfixes `::before`/`::after` do `.col-full` virariam itens de flex e
   sao neutralizados. Escopado em `.left-sidebar`: `.col-full` tambem envolve
   header e rodape.
   ------------------------------------------------------------------------ */

@media screen and ( max-width: 767px ) {

	.left-sidebar #content.site-content > .col-full {
		display: flex;
		flex-direction: column;
	}

	.left-sidebar #content.site-content > .col-full::before,
	.left-sidebar #content.site-content > .col-full::after {
		display: none;
	}

	/* Notices do WooCommerce primeiro, filtros depois, grade por ultimo. */
	.left-sidebar #content.site-content > .col-full > .woocommerce {
		order: 1;
	}

	.left-sidebar #secondary {
		order: 2;
		width: 100%;
		float: none;
		margin: 0 0 1.5em;
	}

	.left-sidebar #primary {
		order: 3;
		width: 100%;
		float: none;
	}

	.st-filtros__toggle {
		display: block;
		/* 44px de alvo de toque (WCAG 2.5.5 / HIG). O padding e a fonte do tema
		   nao garantem isso sozinhos em telas pequenas. */
		min-height: 44px;
		padding: 0.75em 1em;
		background-color: var(--st-surface, #F2F7FF);
		border: 1px solid var(--st-border, #CCD5E2);
		color: var(--st-text, #16181C);
		font-weight: var(--st-peso-semi, 600);
		cursor: pointer;
	}

	.st-filtros[open] .st-filtros__toggle {
		margin-bottom: 1em;
	}

	/* --- Barra de controles (`inc/barra-mobile.php`) ----------------------
	   Contagem a esquerda; Filtrar | Ordenar como texto com icone a direita.
	   A ordenacao e a contagem da barra de topo do pai saem; o wrapper fica,
	   porque os avisos do WC (prio 10) moram dentro dele. */
	.st-barra-mobile {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		border-bottom: 1px solid var(--st-border, #CCD5E2);
	}

	/* Barra presa abaixo do header compacto ao rolar. O sticky vai no
	   `#secondary` (a barra e o unico conteudo visivel dele), que corre no
	   `.col-full`. So com o JS da folha (`html.st-barra-presa`): sem ele o
	   filtro abre inline e um sticky alto prenderia a lista inteira. */
	html.st-barra-presa {
		/* Foco por Tab nao para sob o header compacto + a barra (45px). */
		scroll-padding-top: calc(var(--header-compacto-h) + 45px);
	}

	html.st-barra-presa .site {
		/* `hidden` do pai faz do `.site` um conteiner de rolagem que nunca
		   rola e o sticky nao prende; `clip` corta igual sem criar. */
		overflow-x: clip;
	}

	html.st-barra-presa .site-content #secondary {
		position: sticky;
		top: var(--header-compacto-h);
		z-index: 999;
	}

	/* Fundo e filete ate as bordas da tela: o produto nao aparece nas
	   goteiras. Pseudo, nao `box-shadow`: o toque na goteira cai na barra. O
	   `overflow-x:clip` do `.site` corta o excesso. */
	html.st-barra-presa .site-content #secondary::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: -100vmax;
		right: -100vmax;
		z-index: -1;
		border-bottom: 1px solid var(--st-border, #CCD5E2);
		background-color: var(--st-bg, #FFFFFF);
	}

	/* Sticky cria contexto de empilhamento: a folha e o veu, filhos dele, so
	   passam do header e da admin bar com ele elevado. */
	html.st-barra-presa .site-content #secondary:has(> .st-folha:not([hidden])) {
		z-index: 100001;
	}

	.st-barra-mobile__total {
		margin-right: auto;
		color: var(--st-text-muted, #5B6472);
		font-size: var(--st-fs-3, 0.875rem);
	}

	.st-barra-mobile__acao,
	.st-barra-mobile__acao:hover,
	.st-barra-mobile__acao:focus {
		position: relative;
		display: inline-flex;
		align-items: center;
		gap: 0.5rem;
		min-height: 44px;
		margin: 0;
		padding: 0 0.625rem;
		border: 0;
		background: none;
		color: var(--st-text, #16181C);
		font-size: var(--st-fs-4, 0.9375rem);
		font-weight: var(--st-peso-semi, 600);
		line-height: 1;
		cursor: pointer;
	}

	.st-barra-mobile__acao[hidden] {
		display: none;
	}

	/* A ultima acao encosta na goteira: sem produto, sobra so o "Filtrar". */
	.st-barra-mobile > .st-barra-mobile__acao:last-child {
		padding-right: 0;
	}

	/* Divisoria entre as duas acoes, so quando as duas existem. */
	.st-barra-mobile__acao:not([hidden]) + .st-barra-mobile__acao::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		height: 1.5rem;
		margin-top: -0.75rem;
		border-left: 1px solid var(--st-border, #CCD5E2);
	}

	.st-barra-mobile__icone {
		flex: none;
		color: var(--st-brand, #0058B6);
	}

	/* O select cobre o rotulo inteiro, com texto e fundo transparentes: o
	   toque abre o seletor nativo e o anel de foco global do select contorna o
	   rotulo. `opacity:0` esconderia o anel junto. */
	.st-barra-mobile__ordenar .woocommerce-ordering {
		position: absolute;
		inset: 0;
		margin: 0;
		padding: 0;
	}

	.st-barra-mobile__ordenar .orderby {
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: transparent;
		/* Abaixo de 16px o iOS da zoom no foco do select. */
		font-size: 16px;
		-webkit-appearance: none;
		appearance: none;
		cursor: pointer;
	}

	/* A lista de opcoes herda a cor do select no Chrome desktop. */
	.st-barra-mobile__ordenar .orderby option {
		color: var(--st-text, #16181C);
	}

	.st-filtros--barra > .st-filtros__toggle {
		display: none;
	}

	.st-filtros--barra[open] > .st-filtros__conteudo {
		padding-top: 1rem;
	}

	/* Barra de topo = a que vem antes da grade (par do `06c`: com uma barra so,
	   o irmao geral entre barras engana). */
	.left-sidebar .site-main > .storefront-sorting:not(ul.products ~ .storefront-sorting) .woocommerce-ordering,
	.left-sidebar .site-main > .storefront-sorting:not(ul.products ~ .storefront-sorting) .woocommerce-result-count {
		display: none;
	}

	.left-sidebar .site-main > .storefront-sorting:not(ul.products ~ .storefront-sorting) {
		margin-bottom: 0;
	}

	/* Etiquetas de filtro ativo a 16px do filete da barra: o respiro do
	   `#secondary` (24px) menos 8. */
	.left-sidebar .site-main > .storefront-sorting + .st-filtros-ativos {
		margin-top: -0.5rem;
	}

	/* --- Chips acima da grade (`assets/js/folha-mobile.js`) ---------------
	   Uma linha que rola com os filtros aplicados (tocar abre a secao, × tira).
	   Vai ate as bordas da tela: margem negativa = goteira do `.col-full` do pai
	   (1.41575em ate 568px, 2.617924em acima). PAR ACOPLADO. */
	html.st-chips-filtro-on .st-filtros-ativos {
		display: none;
	}

	.st-chips-filtro {
		display: flex;
		gap: 0.5rem;
		/* Mesmo ritmo de "Filtros ativos": 16px da barra, 24 ate a grade. */
		margin: -0.5rem -1.41575rem 1.5rem;
		padding: 0 1.41575rem;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.st-chips-filtro::-webkit-scrollbar {
		display: none;
	}

	/* `overflow-x` da linha corta tambem em y: o anel vai para dentro. */
	.st-chips-filtro :focus-visible {
		outline-offset: -3px;
	}

	.st-chips-filtro__chip,
	.st-chips-filtro__limpar {
		flex: none;
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		margin: 0;
		border-radius: var(--st-raio-pilula, 999px);
		font-size: var(--st-fs-3, 0.875rem);
		line-height: 1.2;
		white-space: nowrap;
		text-decoration: none;
	}

	.st-chips-filtro__chip--ativo {
		border: 1px solid var(--st-brand, #0058B6);
		background: var(--st-surface, #F2F7FF);
		color: var(--st-brand, #0058B6);
		font-weight: var(--st-peso-semi, 600);
	}

	.st-chips-filtro__abrir,
	.st-chips-filtro__abrir:hover,
	.st-chips-filtro__abrir:focus {
		display: inline-flex;
		align-items: center;
		align-self: stretch;
		/* Cobre o filete do chip: 44px de alvo, nao 42. */
		margin: -1px 0 -1px -1px;
		padding: 0 0.25rem 0 0.875rem;
		border: 0;
		border-radius: var(--st-raio-pilula, 999px) 0 0 var(--st-raio-pilula, 999px);
		background: none;
		color: inherit;
		font: inherit;
	}

	.st-chips-filtro__x {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		align-self: stretch;
		min-width: 44px;
		/* Cobre o filete do chip: 44px de alvo, nao 42. */
		margin: -1px -1px -1px -0.25rem;
		border-radius: 0 var(--st-raio-pilula, 999px) var(--st-raio-pilula, 999px) 0;
		color: inherit;
		font-size: 1.25em;
		line-height: 1;
		text-decoration: none;
	}

	.st-chips-filtro__limpar {
		padding: 0 0.5rem;
		color: var(--st-brand, #0058B6);
		font-weight: var(--st-peso-semi, 600);
	}
}

@media (min-width: 568px) and (max-width: 767px) {
	.st-chips-filtro {
		margin-left: -2.617924rem;
		margin-right: -2.617924rem;
		padding: 0 2.617924rem;
	}
}

@media (min-width: 768px) {
	.st-chips-filtro {
		display: none;
	}
}

@media screen and ( max-width: 767px ) {

	/* --- Folha de baixo (`assets/js/folha-mobile.js`) ---------------------
	   Ordenar e Filtrar. Mora no `#secondary` (`.widget-area`): as regras de
	   widget da sidebar valem aqui, dai o prefixo `.widget-area .st-folha`.
	   Pilha: veu 100000 e folha 100001, acima do header com a gaveta. */
	/* No `body`, `clip`: com o `html` travado o `hidden` dele nao vai para a
	   janela e o faria conteiner de rolagem, soltando a barra presa. */
	html.st-folha-aberta {
		overflow: hidden;
	}

	html.st-folha-aberta body {
		overflow: hidden;
		overflow: clip;
	}

	.st-folha__veu {
		position: fixed;
		inset: 0;
		z-index: 100000;
		background-color: rgba(22, 24, 28, 0.5);
		background-color: color-mix(in srgb, var(--st-text, #16181C) 50%, transparent);
		opacity: 0;
		transition: opacity 0.25s ease-out;
	}

	.st-folha__veu--aberto {
		opacity: 1;
	}

	.widget-area .st-folha {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 100001;
		display: flex;
		flex-direction: column;
		max-height: 88vh;
		max-height: 88dvh;
		border-radius: 16px 16px 0 0;
		background-color: var(--st-bg, #FFFFFF);
		color: var(--st-text, #16181C);
		box-shadow: 0 -8px 24px rgba(22, 24, 28, 0.18);
		box-shadow: 0 -8px 24px color-mix(in srgb, var(--st-text, #16181C) 18%, transparent);
		transform: translateY(100%);
		transition: transform 0.25s ease-out;
	}

	.widget-area .st-folha[hidden] {
		display: none;
	}

	.widget-area .st-folha--aberta {
		transform: none;
	}

	.st-folha__alca {
		flex: none;
		width: 40px;
		height: 4px;
		margin: var(--st-sp-2, 8px) auto 0;
		border-radius: 2px;
		background-color: var(--st-border, #CCD5E2);
	}

	.st-folha__topo {
		flex: none;
		display: flex;
		align-items: center;
		gap: 0.5rem;
		min-height: 56px;
		padding: 0 0.5rem 0 1.25rem;
		border-bottom: 1px solid var(--st-border, #CCD5E2);
	}

	.widget-area .st-folha__titulo {
		flex: 1;
		margin: 0;
		padding: 0;
		font-size: var(--st-fs-7, 1.125rem);
		font-weight: var(--st-peso-negrito, 700);
		color: var(--st-text, #16181C);
	}

	.widget-area .st-folha__limpar {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 0 0.5rem;
		color: var(--st-brand, #0058B6);
		font-weight: var(--st-peso-semi, 600);
	}

	.widget-area .st-folha__fechar,
	.widget-area .st-folha__fechar:hover,
	.widget-area .st-folha__fechar:focus {
		position: relative;
		flex: none;
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		color: var(--st-text, #16181C);
	}

	.widget-area .st-folha__fechar svg {
		display: block;
		margin: auto;
	}

	.st-folha__corpo {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 0 1.25rem;
	}

	.st-folha__pe {
		flex: none;
		padding: 0.75rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid var(--st-border, #CCD5E2);
	}

	.widget-area .st-folha__ver,
	.widget-area .st-folha__ver:hover,
	.widget-area .st-folha__ver:focus {
		width: 100%;
		min-height: 48px;
		margin: 0;
		border: 0;
		border-radius: var(--st-raio, 8px);
		background-color: var(--st-brand, #0058B6);
		color: var(--st-brand-contrast, #FFFFFF);
		font-size: var(--st-fs-5, 1rem);
		font-weight: var(--st-peso-negrito, 700);
	}

	/* Ordenar: uma linha por opcao, radio desenhado na escolhida. */
	.widget-area .st-folha__opcoes {
		margin: 0;
		padding: 0.25rem 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
		list-style: none;
	}

	.widget-area .st-folha__opcao,
	.widget-area .st-folha__opcao:hover,
	.widget-area .st-folha__opcao:focus {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		width: 100%;
		min-height: 48px;
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		color: var(--st-text, #16181C);
		font-size: var(--st-fs-5, 1rem);
		font-weight: var(--st-peso-normal, 400);
		text-align: left;
	}

	.widget-area .st-folha__opcao::before {
		content: "";
		flex: none;
		width: 22px;
		height: 22px;
		border: 2px solid var(--st-border, #CCD5E2);
		border-radius: 50%;
		box-sizing: border-box;
	}

	.widget-area .st-folha__opcao[aria-checked="true"]::before {
		border-color: var(--st-brand, #0058B6);
		background-color: var(--st-brand, #0058B6);
		box-shadow: inset 0 0 0 4px var(--st-bg, #FFFFFF);
	}

	.widget-area .st-folha__opcao[aria-checked="true"] {
		font-weight: var(--st-peso-semi, 600);
	}

	/* No mobile com JS, o Ordenar da barra abre a folha: o select some e o
	   botao cobre o rotulo inteiro. */
	.st-barra-mobile__ordenar--folha .woocommerce-ordering {
		display: none;
	}

	.st-barra-mobile__abrir,
	.st-barra-mobile__abrir:hover,
	.st-barra-mobile__abrir:focus {
		position: absolute;
		inset: 0;
		width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		cursor: pointer;
	}

	/* --- Filtrar: cada widget vira secao recolhivel ----------------------- */
	.widget-area .st-folha .st-filtros__conteudo > .widget {
		margin: 0;
		padding: 0;
		border-bottom: 1px solid var(--st-border, #CCD5E2);
	}

	.widget-area .st-folha .st-filtros__conteudo > .widget:last-child {
		border-bottom: 0;
	}

	.widget-area .st-folha .st-folha__sec > .widget-title {
		display: none;
	}

	.widget-area .st-folha .st-folha__sec:not(.st-folha__sec--aberta) > :not(.st-folha__sec-cab) {
		display: none;
	}

	.widget-area .st-folha .st-folha__sec--aberta {
		padding-bottom: 1rem;
	}

	.widget-area .st-folha__sec-cab,
	.widget-area .st-folha__sec-cab:hover,
	.widget-area .st-folha__sec-cab:focus {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		width: 100%;
		min-height: 56px;
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		color: var(--st-text, #16181C);
		font-size: var(--st-fs-5, 1rem);
		font-weight: var(--st-peso-negrito, 700);
		text-align: left;
	}

	.st-folha__sec-nome {
		flex: none;
	}

	.st-folha__sec-valor {
		flex: 1 1 auto;
		min-width: 0;
		overflow: hidden;
		color: var(--st-text-muted, #5B6472);
		font-size: var(--st-fs-3, 0.875rem);
		font-weight: var(--st-peso-normal, 400);
		text-align: right;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.st-folha__sec-valor--ativo {
		color: var(--st-brand, #0058B6);
		font-weight: var(--st-peso-semi, 600);
	}

	.st-folha__sec-seta {
		flex: none;
		width: 8px;
		height: 8px;
		margin: 0 var(--st-sp-1-5, 6px) var(--st-sp-1, 4px) auto;
		border-right: 2px solid var(--st-text-muted, #5B6472);
		border-bottom: 2px solid var(--st-text-muted, #5B6472);
		transform: rotate(45deg);
	}

	.st-folha__sec-valor + .st-folha__sec-seta {
		margin-left: 0;
	}

	.st-folha__sec--aberta > .st-folha__sec-cab .st-folha__sec-seta {
		margin-bottom: -4px;
		transform: rotate(-135deg);
	}

	/* Listas: sem o glifo do pai e sem o recuo da arvore. */
	.widget-area .st-folha .st-folha__sec ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.widget-area .st-folha .st-folha__sec li {
		margin: 0;
		padding: 0;
	}

	.widget-area .st-folha .st-folha__sec li::before {
		content: none;
		display: none;
	}

	/* Categorias: subcategorias da atual; a arvore so com "Ver todas". */
	.widget-area .st-folha .st-folha--subs:not(.st-folha--arvore) > .product-categories {
		display: none;
	}

	.widget-area .st-folha .st-folha--arvore > .st-folha__subs {
		display: none;
	}

	/* Vence o `max-width`, o recuo e o destaque de linha dos links da sidebar. */
	.widget-area .st-folha .widget_product_categories .st-folha__sub {
		display: flex;
		align-items: center;
		max-width: none;
		min-height: 48px;
		margin: 0;
		padding: 0;
		overflow: visible;
		color: var(--st-text, #16181C);
		font-weight: var(--st-peso-normal, 400);
		white-space: normal;
	}

	.st-folha__n {
		margin-left: auto;
		color: var(--st-text-muted, #5B6472);
		font-size: var(--st-fs-3, 0.875rem);
	}

	/* Arvore inteira: linha flex (nome · contagem), recuo por nivel. */
	.widget-area .st-folha .st-folha--arvore .product-categories li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	.widget-area .st-folha .st-folha--arvore .product-categories li > a {
		display: flex;
		flex: 1 1 0;
		align-items: center;
		max-width: none;
		min-height: 44px;
		margin: 0;
		padding: 0;
		color: var(--st-text, #16181C);
		font-weight: var(--st-peso-normal, 400);
	}

	.widget-area .st-folha .st-folha--arvore .product-categories li.current-cat > a {
		color: var(--st-brand, #0058B6);
		font-weight: var(--st-peso-semi, 600);
	}

	.widget-area .st-folha .st-folha--arvore .product-categories .count {
		float: none;
		color: var(--st-text-muted, #5B6472);
		font-size: var(--st-fs-3, 0.875rem);
	}

	.widget-area .st-folha .st-folha--arvore .product-categories ul.children {
		flex: 0 0 100%;
		padding-left: 1rem;
	}

	.widget-area .st-folha__mais,
	.widget-area .st-folha__mais:hover,
	.widget-area .st-folha__mais:focus {
		min-height: 44px;
		margin: 0.25rem 0 0;
		padding: 0;
		border: 0;
		background: none;
		color: var(--st-brand, #0058B6);
		font-size: var(--st-fs-5, 1rem);
		font-weight: var(--st-peso-semi, 600);
	}

	/* Marca e atributos ate 8 valores: chips. O link cobre o chip inteiro. */
	.widget-area .st-folha .st-folha--chips ul {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.widget-area .st-folha .st-folha--chips li {
		position: relative;
		display: inline-flex;
		align-items: center;
		gap: 0.375rem;
		min-height: 44px;
		padding: 0 0.875rem;
		border: 1px solid var(--st-border, #CCD5E2);
		border-radius: var(--st-raio-pilula, 999px);
		font-size: var(--st-fs-4, 0.9375rem);
	}

	.widget-area .st-folha .st-folha--chips li > a {
		margin: 0;
		padding: 0;
		color: var(--st-text, #16181C);
		font-weight: var(--st-peso-normal, 400);
		background: none;
	}

	.widget-area .st-folha .st-folha--chips li > a::after {
		content: "";
		position: absolute;
		inset: 0;
		border-radius: inherit;
	}

	.widget-area .st-folha .st-folha--chips .count {
		float: none;
		color: var(--st-text-muted, #5B6472);
		font-size: var(--st-fs-2, 0.8125rem);
	}

	.widget-area .st-folha .st-folha--chips li.chosen {
		border-color: var(--st-brand, #0058B6);
		background-color: color-mix(in srgb, var(--st-brand, #0058B6) 8%, var(--st-bg, #FFFFFF));
	}

	.widget-area .st-folha .st-folha--chips li.chosen > a {
		color: var(--st-brand, #0058B6);
		font-weight: var(--st-peso-semi, 600);
	}

	/* Mais de 8 valores: linhas com caixa; 6 visiveis ate "Ver todas". */
	.widget-area .st-folha .st-folha--linhas li {
		display: flex;
		align-items: center;
		min-height: 48px;
	}

	.widget-area .st-folha .st-folha--linhas li > a {
		display: flex;
		flex: 1;
		align-items: center;
		gap: 0.75rem;
		min-height: 48px;
		margin: 0;
		padding: 0;
		color: var(--st-text, #16181C);
		font-weight: var(--st-peso-normal, 400);
		background: none;
	}

	.widget-area .st-folha .st-folha--linhas li > a::before {
		content: "";
		flex: none;
		width: 22px;
		height: 22px;
		border: 2px solid var(--st-border, #CCD5E2);
		border-radius: 4px;
		box-sizing: border-box;
	}

	.widget-area .st-folha .st-folha--linhas li.chosen > a::before {
		border-color: var(--st-brand, #0058B6);
		background-color: var(--st-brand, #0058B6);
		box-shadow: inset 0 0 0 3px var(--st-bg, #FFFFFF);
	}

	.widget-area .st-folha .st-folha--linhas .count {
		float: none;
		color: var(--st-text-muted, #5B6472);
		font-size: var(--st-fs-3, 0.875rem);
	}

	.widget-area .st-folha .st-folha--linhas:not(.st-folha--todas):not(.st-folha--buscando) .st-folha__extra {
		display: none;
	}

	.widget-area .st-folha .st-folha--buscando .st-folha__mais {
		display: none;
	}

	/* A busca esconde por `hidden`; o `display:flex` da linha venceria o UA. */
	.widget-area .st-folha .st-folha__sec li[hidden] {
		display: none;
	}

	.widget-area .st-folha .st-folha__busca {
		width: 100%;
		min-height: 44px;
		margin: 0 0 0.5rem;
		font-size: 16px;
	}

	/* Preco: os campos do WC no lugar do slider (o JS do WC esconde os campos
	   inline; so `!important` vence o atributo `style`). */
	.widget-area .st-folha .price_slider,
	.widget-area .st-folha .price_label {
		display: none !important;
	}

	.widget-area .st-folha .price_slider_amount {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.25rem 0.75rem;
		text-align: left;
	}

	.widget-area .st-folha .price_slider_amount label.screen-reader-text {
		position: static !important;
		width: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		clip: auto;
		clip-path: none;
		color: var(--st-text-muted, #5B6472);
		font-size: var(--st-fs-2, 0.8125rem);
		white-space: normal;
		word-wrap: normal;
	}

	.widget-area .st-folha .price_slider_amount label[for="min_price"] {
		grid-area: 1 / 1;
	}

	.widget-area .st-folha .price_slider_amount label[for="max_price"] {
		grid-area: 1 / 2;
	}

	.widget-area .st-folha .price_slider_amount input#min_price,
	.widget-area .st-folha .price_slider_amount input#max_price {
		display: block !important;
		width: 100%;
		min-height: 44px;
		margin: 0;
		font-size: 16px;
	}

	.widget-area .st-folha .price_slider_amount input#min_price {
		grid-area: 2 / 1;
	}

	.widget-area .st-folha .price_slider_amount input#max_price {
		grid-area: 2 / 2;
	}

	.widget-area .st-folha .price_slider_amount .button {
		grid-column: 1 / -1;
		justify-self: start;
		min-height: 44px;
		margin-top: 0.5rem;
		float: none;
	}

	.widget-area .st-folha .price_slider_amount .clear {
		display: none;
	}
}

/* Depois das regras da folha: mesma especificidade, vence por ordem. */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {

	.widget-area .st-folha,
	.st-folha__veu {
		transition: none;
	}
}

@media screen and ( max-width: 767px ) {

	/* --- Grade no mobile: 2 colunas -------------------------------------
	   GRID, nao float: `first`/`last` de `wc_get_loop_class()` sao calculadas
	   para 3 colunas com `clear:both !important`; em grid ficam inertes. Gutter
	   por `gap`, porque `.last{margin-right:0 !important}` venceria margin.
	   `min-width: 0` impede titulo longo de esticar a coluna.
	   ------------------------------------------------------------------- */

	/* `>`: so a grade do arquivo. Descendente alcancaria relacionados/upsells
	   da PDP e cross-sells do carrinho. */
	.site-main > ul.products {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5em 1em;
		margin-bottom: 1.5em;
	}

	.site-main > ul.products::before,
	.site-main > ul.products::after {
		display: none;
	}

	.site-main > ul.products li.product {
		width: auto;
		margin: 0;
		min-width: 0;
	}
}

/* ------------------------------------------------------------------------
   MENU DO HEADER

   O menu nao tem CSS proprio: o fallback (`inc/nav-menu.php`) imita o markup
   do `wp_nav_menu()` e cai na cascata do pai.

   Sem menu nenhum, o pai ainda imprime o `button.menu-toggle` e so o esconde
   via `navigation.js` (depende de JS e pisca). Aqui ele some no HTML servido,
   por classe de body vinda do PHP (`inc/nav-menu.php`): o servidor sabe o estado.
   ------------------------------------------------------------------------ */

body.st-sem-menu-principal button.menu-toggle {
	display: none;
}

/* ------------------------------------------------------------------------
   CABECALHO DE ARQUIVO E BARRA DE CONTROLES

   Titulo e descricao saem de `inc/arquivo-header.php` (hook
   `storefront_before_content` prio 15), fora do `#primary`, no mesmo
   `.col-full` do breadcrumb. Escala propria do titulo: menor e mais pesado que
   o `h1` do pai (RN-01: o preco decide).
   ------------------------------------------------------------------------ */

.st-arquivo-header {
	margin: 0 0 1.5em;
}

/* Neutraliza `.storefront-full-width-content .woocommerce-products-header` do
   pai (`text-align:center` + ~96px de padding), que alcanca pela classe
   preservada para plugins. */
.st-arquivo-header .woocommerce-products-header {
	margin: 0;
	padding: 0;
	text-align: left;
}

/* `brands.css` do pai (body `.tax-product_brand`, 0,2,0, carregado depois do
   child) centraliza o cabecalho da marca em coluna: aqui ele volta a ser o da
   categoria, com o logo da marca a esquerda, acima do titulo. */
.tax-product_brand .st-arquivo-header .woocommerce-products-header {
	align-items: flex-start;
	margin: 0;
	text-align: left;
}

.tax-product_brand .st-arquivo-header .woocommerce-products-header .brand-thumbnail {
	align-self: flex-start;
}

/* Escopado no `__titulo`, nunca em `h1.page-title`: o pai usa essa classe em
   `404.php`, `archive.php`, `content-none.php` e `search.php`. */
.st-arquivo-header__titulo {
	margin: 0;
	font-size: var(--st-fs-10, 1.5rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.25;
	color: var(--st-text, #16181C);
}

/* As duas classes: `.term-description` (taxonomia) e `.page-description`
   (rota Loja, conteudo da pagina Loja). */
.st-arquivo-header .term-description,
.st-arquivo-header .page-description {
	margin: 0.5em 0 0;
	color: var(--st-text-muted, #515F72);
}

.st-arquivo-header .term-description > *:last-child,
.st-arquivo-header .page-description > *:last-child {
	margin-bottom: 0;
}

/* --- Breadcrumb ---------------------------------------------------------
   Navegacao de apoio: `--st-text-muted`, nao a cor do corpo. */

.woocommerce-breadcrumb {
	font-size: var(--st-fs-3, 0.875rem);
	color: var(--st-text-muted, #515F72);
}

.woocommerce-breadcrumb a {
	color: var(--st-text-muted, #515F72);
}

/* PDP: trilha so ate a categoria, numa linha (reticencias se faltar).
   Os itens vem em `.st-crumb` (inc/breadcrumb.php); o ultimo e o produto.
   `nth-child(n+5)`: so com 3+ itens (2 itens + 1 separador antes), senao
   o produto sem categoria ficaria so com "Inicio". */
body.single-product .woocommerce-breadcrumb {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

body.single-product .woocommerce-breadcrumb > .st-crumb:last-child:nth-child(n+5),
body.single-product .woocommerce-breadcrumb > .breadcrumb-separator:nth-last-child(2):nth-child(n+4) {
	display: none;
}

/* A casinha do pai sai em `a:first-of-type::before`: com cada link no proprio
   `.st-crumb`, todos seriam o primeiro do tipo. Fica so no 1o item. */
body.single-product .woocommerce-breadcrumb > .st-crumb:not(:first-child) a::before {
	content: none;
}

/* O pai varia o `margin-bottom` por breakpoint (`1.618em`, e `3.706325903em`
   em >= 768px); e ele que define o vao ate o titulo, nao o padding. */
.storefront-breadcrumb {
	padding-bottom: 0;
	margin-bottom: 0.75em;
}

/* --- Rotas SEM breadcrumb -----------------------------------------------
   Sem o `.storefront-breadcrumb` o vao ate o conteudo seria 0. O 1o conteudo
   fica onde a trilha comecaria nas outras rotas: 18px (< 768px) / 24px. Em
   `rem`: `em` resolveria contra a fonte do proprio elemento. Nao reusa a
   `no-wc-breadcrumb` do pai: o WC a remove quando ativo. */
.st-sem-breadcrumb .site-header {
	margin-bottom: 1.125rem; /* 18px */
}

@media (min-width: 768px) {

	.st-sem-breadcrumb .site-header {
		margin-bottom: 1.5rem; /* 24px */
	}
}

/* --- Loja-como-HOME: vao do header encurtado (pedido avulso de MV, 30/09) -----
   O pai declara `.home.post-type-archive-product .site-header` em (0,3,0),
   que vence a regra `.st-sem-breadcrumb` acima; `body` na frente da (0,3,1).
   Nao depende de `.st-sem-breadcrumb`: a Loja-home nunca recebe essa classe.
   Em `rem`, nunca `em`. */
body.home.post-type-archive-product .site-header {
	margin-bottom: 1.5rem; /* 24px */
}

/* --- Barra de controles (ordenacao + contagem) --------------------------
   Select nativo (zero JS; o `woocommerce.js` o submete no `change`), com
   `appearance:none`, seta propria e alvo de 44px.
   A seta e `::after` do form com `mask` + `var(--st-brand)`: data-URI em
   `background-image` nao le `var()`. `pointer-events:none` deixa o clique no
   select.
   Tudo em `rem`: o pai poe `.storefront-sorting{font-size:.875em}`. Fonte de
   16px evita o zoom do iOS ao focar.
   `display:block` no select tira o espaco de linha de base do form. */

/* `padding:0`: o pai da `.woocommerce-ordering{padding:.327em 0}`
   (woocommerce.css), que desalinha o select da contagem. */
/* Largura do rotulo mais longo, senao a opcao escolhida sai cortada. O `min()`
   protege a barra estreita do tablet, onde quem quebra e a contagem. */
.storefront-sorting .woocommerce-ordering {
	position: relative;
	width: min(19.5rem, calc(100% - 10rem));
	max-width: 100%;
	padding: 0;
}

.storefront-sorting .orderby,
.st-por-pagina__select {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 0.5rem 2.25rem 0.5rem 0.75rem;
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 4px;
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-text, #16181C);
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.5;
	text-overflow: ellipsis;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease;
}

.storefront-sorting .orderby:hover,
.st-por-pagina__select:hover {
	border-color: var(--st-brand, #0058B6);
}

/* Foco: borda na marca + halo colado, no lugar do anel global afastado (que o
   Chrome mostra tambem no clique em select). Segue visivel por teclado: borda
   >= 3:1 (WCAG 1.4.11). So neste select. */
.storefront-sorting .orderby:focus,
.storefront-sorting .orderby:focus-visible,
.st-por-pagina__select:focus,
.st-por-pagina__select:focus-visible {
	outline: 0;
	border-color: var(--st-brand, #0058B6);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--st-brand, #0058B6) 22%, transparent);
}

.storefront-sorting .woocommerce-ordering::after,
.st-por-pagina__caixa::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.875rem;
	width: 1rem;
	height: 1rem;
	margin-top: -0.5rem;
	background-color: var(--st-brand, #0058B6);
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4,6 8,10 12,6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4,6 8,10 12,6'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	pointer-events: none;
}

/* Lista aberta estilizada por `appearance: base-select` (Chrome/Edge 135+),
   ainda nativa. Sem suporte fica a lista do sistema, com o select fechado ja
   estilizado acima.
   Aqui a seta `::after` do form sai: o base-select tem o `::picker-icon`
   (refeito como mascara). `display:flex` e exigido — com `display:block` o
   icone cai abaixo do texto. O padding volta a ser simetrico. */
@supports (appearance: base-select) {

	.storefront-sorting .orderby,
	.storefront-sorting .orderby::picker(select),
	.st-por-pagina__select,
	.st-por-pagina__select::picker(select) {
		appearance: base-select;
	}

	.storefront-sorting .woocommerce-ordering::after,
	.st-por-pagina__caixa::after {
		display: none;
	}

	.storefront-sorting .orderby,
	.st-por-pagina__select {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.5rem;
		padding: 0.5rem 0.75rem;
	}

	.storefront-sorting .orderby::picker-icon,
	.st-por-pagina__select::picker-icon {
		content: "";
		flex: none;
		width: 1rem;
		height: 1rem;
		background-color: var(--st-brand, #0058B6);
		-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4,6 8,10 12,6'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4,6 8,10 12,6'/%3E%3C/svg%3E") center / contain no-repeat;
		transition: rotate 0.15s ease;
	}

	.storefront-sorting .orderby:open::picker-icon,
	.st-por-pagina__select:open::picker-icon {
		rotate: 180deg;
	}

	/* A lista: card com a MESMA borda/raio/fundo do select. `min-width` = a largura do
	   select (ancora), senao a lista encolhe para o texto do item mais longo. */
	.storefront-sorting .orderby::picker(select),
	.st-por-pagina__select::picker(select) {
		box-sizing: border-box;
		min-width: anchor-size(width);
		margin-top: var(--st-sp-1, 4px);
		padding: 0.25rem;
		border: 1px solid var(--st-border, #CCD5E2);
		border-radius: 4px;
		background: var(--st-bg, #FFFFFF);
		box-shadow: 0 8px 24px color-mix(in srgb, var(--st-text, #16181C) 14%, transparent);
	}

	.storefront-sorting .orderby option,
	.st-por-pagina__select option {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		padding: 0.625rem 0.75rem;
		border-radius: 3px;
		font-size: var(--st-fs-5, 1rem);
		font-weight: var(--st-peso-normal, 400);
		color: var(--st-text, #16181C);
		cursor: pointer;
	}

	.storefront-sorting .orderby option:hover,
	.storefront-sorting .orderby option:focus-visible,
	.st-por-pagina__select option:hover,
	.st-por-pagina__select option:focus-visible {
		background: var(--st-surface, #F2F7FF);
		outline: 0;
	}

	.storefront-sorting .orderby option:checked,
	.st-por-pagina__select option:checked {
		font-weight: var(--st-peso-semi, 600);
		color: var(--st-brand, #0058B6);
	}

	.storefront-sorting .orderby option::checkmark,
	.st-por-pagina__select option::checkmark {
		order: 1;
		margin-left: auto;
		color: var(--st-brand, #0058B6);
	}
}

.woocommerce-result-count {
	color: var(--st-text-muted, #515F72);
}

/* Contagem centrada na vertical do select, so >= 768px (no mobile a barra ja
   e flex). Alvo = a contagem irma do form; a barra de baixo e restaurada pelo
   combinador de irmao, nunca `:last-child`. */
@media screen and ( min-width: 768px ) {

	/* Ordenacao a direita, contagem a esquerda, por floats opostos (o form vem
	   antes no DOM). Sem flex aqui: encolheria o <nav> da paginacao. */
	.storefront-sorting .woocommerce-ordering {
		float: right;
		margin: 0;
	}

	/* `padding-block:0`: o pai da `.woocommerce-result-count{padding:.327em 0}`
	   (woocommerce.css). A barra de baixo devolve esse valor — PAR ACOPLADO. */
	.storefront-sorting .woocommerce-ordering + .woocommerce-result-count {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding-top: 0;
		padding-bottom: 0;
	}

	.site-main > .storefront-sorting ~ .storefront-sorting .woocommerce-ordering + .woocommerce-result-count {
		display: block;
		min-height: 0;
		padding-top: 0.327em;
		padding-bottom: 0.327em;
	}
}

/* Tablet: caixa de 9rem quebra a contagem em 2 linhas ao lado do select
   inteiro. A barra de baixo (sem form visivel) fica com a do pai. */
@media screen and ( min-width: 768px ) and ( max-width: 1023px ) {

	.storefront-sorting .woocommerce-ordering + .woocommerce-result-count {
		max-width: 9rem;
	}

	.site-main > .storefront-sorting ~ .storefront-sorting .woocommerce-ordering + .woocommerce-result-count {
		max-width: none;
	}
}

/* --- A barra duplicada do rodape ---------------------------------------
   O pai imprime `storefront_sorting_wrapper` antes e depois do loop. Na barra
   de baixo o select de ordenacao some; paginacao e contagem ficam.
   Separadas por combinador de irmao (`A ~ A`), nao por `:first-child`/
   `:last-child`: o numero de filhos do `.site-main` muda por rota. */
.site-main > .storefront-sorting ~ .storefront-sorting .woocommerce-ordering {
	display: none;
}

/* ------------------------------------------------------------------------
   TABLET (768–1023px) — 2 colunas, nao 3

   Com a sidebar, 3 colunas a 768px dariam card menor que no celular.
   `loop_shop_columns` continua 3 (`inc/layout.php`): e server-side e alimenta
   `columns-N` e `first`/`last` de `wc_get_loop_class()`. GRID pelo mesmo
   motivo do bloco mobile.

   O seletor do item carrega `[class*="columns-"]` para empatar com
   `.site-main ul.products.columns-3 li.product` (0,4,2) do pai e vencer por
   ordem, sem depender do numero de colunas.
   ------------------------------------------------------------------------ */

@media screen and ( min-width: 768px ) and ( max-width: 1023px ) {

	/* `>`: so a grade do arquivo. Descendente alcancaria `.related`/`.up-sells`
	   da PDP e `.cross-sells` do carrinho, todos `ul.products` no `.site-main`. */
	.site-main > ul.products {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2em 1.5em;
	}

	.site-main > ul.products::before,
	.site-main > ul.products::after {
		display: none;
	}

	/* `.product.product` dobrado: piso (0,5,2) para vencer
	   `.storefront-full-width-content .site-main ul.products.columns-N li.product`
	   do pai, que vale desde 768px. */
	.site-main > ul.products[class*="columns-"] li.product.product {
		width: auto;
		margin: 0;
		min-width: 0;
	}

	.st-arquivo-header__titulo {
		font-size: var(--st-fs-12, 1.75rem);
	}
}

/* ------------------------------------------------------------------------
   DESKTOP (>= 1024px) — so a escala do titulo
   ------------------------------------------------------------------------ */

@media screen and ( min-width: 1024px ) {

	.st-arquivo-header__titulo {
		font-size: 2rem;
	}
}

/* ------------------------------------------------------------------------
   MOBILE (< 768px) — encurtar a pilha antes do 1º produto

   Ordenacao e contagem dividem a linha para o 1o produto aparecer sem rolar.
   A paginacao de TOPO e escondida so no mobile: ela continua no rodape.
   ------------------------------------------------------------------------ */

@media screen and ( max-width: 767px ) {

	.st-arquivo-header {
		margin-bottom: 1em;
	}

	.st-arquivo-header__titulo {
		font-size: var(--st-fs-9, 1.375rem);
	}

	/* Ordenacao e contagem dividem a linha em vez de empilhar. */
	.storefront-sorting {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.5em 1em;
	}

	.storefront-sorting::before,
	.storefront-sorting::after {
		display: none;
	}

	.storefront-sorting .woocommerce-ordering,
	.storefront-sorting .woocommerce-result-count {
		float: none;
		margin: 0;
	}

	/* Select na largura da linha: com os 280px do desktop ele terminava 35px antes
	   da borda direita da grade de 2 colunas logo abaixo. */
	.storefront-sorting .woocommerce-ordering {
		width: 100%;
	}

	/* O wrapper de avisos vazio ainda e item de flex, e o `gap` empurrava o
	   select. `:empty` e seguro: com aviso o wrapper tem filho. */
	.storefront-sorting > .woocommerce-notices-wrapper:empty {
		display: none;
	}

	.storefront-sorting .orderby {
		max-width: 100%;
	}

	/* Esconde a paginacao em toda barra e devolve na de baixo: a que tem irma
	   antes ou vem depois da grade (a Loja-home so tem a de baixo).
	   `:first-child` falharia com o cabecalho nativo no `.site-main`. */
	.site-main > .storefront-sorting .woocommerce-pagination {
		display: none;
	}

	.site-main > .storefront-sorting ~ .storefront-sorting .woocommerce-pagination,
	.site-main > ul.products ~ .storefront-sorting .woocommerce-pagination {
		display: block;
	}
}

/* ------------------------------------------------------------------------
   BUSCA PROEMINENTE NO HEADER

   Desktop: logo | busca | carrinho na 1a linha. Mobile: busca em linha
   propria, sempre visivel. Tres escopos obrigatorios:

   1. `> .col-full`: ha dois `.col-full` no `.site-header` (o do menu e neto);
      descendente aplicaria o flex nos dois.

   2. `.site-header .site-search`, nunca solto: o pai chama
      `storefront_product_search()` tambem na barra handheld.

   3. Prefixo `.woocommerce-active .site-header`: o pai posiciona os blocos em
      (0,3,0); `.site-header .site-X` (0,2,0) perde.
   ------------------------------------------------------------------------ */

/* --- Aparencia do campo + botao de lupa --------------------- */

/* O anel de foco do header (`--st-brand-contrast`) fica 2px para FORA do
   input, sobre a marca: o form nao pode levar `overflow:hidden`. */
.site-header .site-search .widget_product_search,
.site-header .site-search form.woocommerce-product-search {
	margin-bottom: 0;
}

/* O form e a caixa (fundo, borda, raio): lupa | input. O botao vem depois do
   input no DOM e sobe por `order`. RN-07: o pai entrega `#f2f2f2` cru; branco
   sobre a marca funciona nas 5 paletas (todas tem `--st-bg` claro e marca escura). */
.site-header .site-search form.woocommerce-product-search {
	display: flex;
	align-items: stretch;
	height: 40px;
	box-sizing: border-box;
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 8px;
}

/* O anel fica no form (2px para FORA, sobre a marca), nao no input. */
.site-header .site-search form.woocommerce-product-search:focus-within {
	outline: 2px solid var(--st-brand-contrast, #FFFFFF);
	outline-offset: 2px;
}

.site-header .site-search input.search-field {
	flex: 1 1 auto;
	min-width: 0;               /* sem isto o input nao encolhe abaixo do conteudo */
	box-sizing: border-box;
	height: 100%;
	background-color: transparent;
	color: var(--st-text, #16181C);
	border: 0;
	border-radius: 0 8px 8px 0;

	/* 16px, nao os 14px do pai: abaixo disso o iOS da zoom sozinho ao focar. */
	font-size: 16px;
}

/* O pai reserva `padding: 0.618em 2.617924em` no input em (0,3,2), para a
   lupa `::before`. (0,4,2) vence; a esquerda o botao da lupa ja da o respiro. */
.site-header .site-search form.woocommerce-product-search input.search-field {
	padding: 0 0.92em 0 0;
}

.site-header .site-search form.woocommerce-product-search input.search-field:focus-visible {
	outline: none;
}

/* Neutraliza a lupa `::before` do pai (`.site-search .widget_product_search
   form::before`, base/icons.css, FA5), so no header. (0,3,1) vence o (0,2,2). */
.site-header .site-search form.woocommerce-product-search::before {
	content: none;
}

.site-header .site-search input.search-field::placeholder {
	color: var(--st-text-muted, #515F72);
	opacity: 1; /* o Firefox clareia placeholder por padrao e reprova o AA */
}

/* Botao da lupa: transparente dentro da caixa, glifo em `--st-text-muted` por
   `currentColor`. */
.site-header .site-search form.woocommerce-product-search button[type="submit"] {
	/* `position:static` devolve o botao ao fluxo do flex: o pai o deixa
	   `position:absolute` (0,3,2) e o input o cobriria. (0,4,2) vence. */
	position: static;
	order: -1;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 100%;
	margin: 0;
	padding: 0;

	/* O pai recorta o submit a 1px (padrao screen-reader: `clip` +
	   `clip-path:inset(50%)` + `overflow:hidden`). Desarmar os tres devolve o botao. */
	clip: auto;
	clip-path: none;
	overflow: visible;

	background-color: transparent;
	border: 0;
	border-radius: 8px 0 0 8px;
	color: var(--st-text-muted, #515F72);
	cursor: pointer;
}

.site-header .site-search form.woocommerce-product-search button[type="submit"]:hover {
	color: var(--st-text, #16181C);
}

/* Sobre o fundo claro da caixa o `--st-brand-contrast` do header some: anel
   interno em `--st-brand`. */
.site-header .site-search form.woocommerce-product-search button[type="submit"]:focus-visible {
	outline: 2px solid var(--st-brand, #0058B6);
	outline-offset: -4px;
}

.site-header .site-search form.woocommerce-product-search button[type="submit"] .st-busca__lupa {
	width: 18px;
	height: 18px;
}

/* --- Desktop e tablet (>= 768px): logo | busca | carrinho --------------- */

@media (min-width: 768px) {

	.woocommerce-active .site-header > .col-full {
		display: flex;
		align-items: center;
		gap: 2em;
	}

	/* O clearfix do pai vira item de flex; so existe a partir de 768px, por
	   isso a neutralizacao mora aqui. */
	.woocommerce-active .site-header > .col-full::before,
	.woocommerce-active .site-header > .col-full::after {
		display: none;
	}

	/* Desfaz float + largura fixa do pai. Especificidade IGUAL a dele (0,3,0),
	   decidida por ORDEM da cascata — o child carrega depois. */
	.woocommerce-active .site-header .site-branding,
	.woocommerce-active .site-header .site-search,
	.woocommerce-active .site-header .st-header-actions {
		float: none;
		width: auto;
		margin-right: 0;
		margin-bottom: 0;
		clear: none;
	}

	/* `order` explicito: no DOM a ordem e branding · actions · carrinho · busca;
	   o visual e logo | busca | Entrar/Ajuda | carrinho. */
	.woocommerce-active .site-header .site-branding {
		order: 1;
		flex: 0 1 auto;
		max-width: 32%;
	}

	.woocommerce-active .site-header .site-search {
		order: 2;
		flex: 1 1 auto;  /* <- a busca fica com TODA a sobra: mata o vao por construcao */
		min-width: 0;    /* sem isto o flex item nao encolhe abaixo do conteudo */

		/* Teto de seguranca acima da largura natural da busca no container de
		   1700: ela preenche ate o cluster e o carrinho encosta a direita. PAR
		   ACOPLADO com a ausencia de `margin-left:auto` no carrinho. */
		max-width: 80rem;
	}

	.woocommerce-active .site-header .st-header-actions {
		order: 3;
		flex: 0 0 auto;
	}

	.woocommerce-active .site-header .st-header-carrinho {
		order: 4;
		flex: 0 0 auto;

		/* Sem `margin-left:auto`: a busca em flex:1 ja preenche a sobra (par com
		   o teto da busca acima). */
	}
}

/* --- Mobile (< 768px): a busca passa a EXISTIR ------------------------- */

@media (max-width: 767px) {

	/* O pai desliga a busca do header com `.site-search{display:none}` em
	   `woocommerce.css` (0,1,0), devolvendo `block` so em `min-width:768px`.
	   `.site-header .site-search` vale (0,2,0) e vence por especificidade —
	   nao depende de ordem de carregamento. */
	.site-header .site-search {
		display: block;
		clear: both;      /* linha propria, abaixo do branding que flutua */
		width: 100%;

		/* `padding-top`, nao `margin-top`: com `clear`, a clearance absorve a
		   margem superior. Padding nao entra no calculo. */
		margin: 0;
		padding-top: 0.75em;
	}

	/* A Ajuda sai; no topo ficam so os icones de conta e de carrinho. A Ajuda
	   segue na gaveta ("Atendimento"). Em (0,3,0): o
	   `.site-header .st-header-acao{display:inline-flex}` (0,2,0) vem depois. */
	.site-header .st-header-actions .st-header-acao--ajuda {
		display: none;
	}

	/* Linha do logo: ☰ a esquerda; conta e carrinho a direita. Os tres sao
	   absolutos no `.site-header` (o `nav` e o `.col-full` nao sao posicionados).

	   PAR ACOPLADO: `top: 20px` = `padding-top` do `.site-header` (regra mais
	   acima); se um mudar, o outro (e o do carrinho do checkout) acompanha.
	   Alinha pelo topo do branding, cuja altura varia por tenant.

	   PAR ACOPLADO: `left`/`right` acompanham a goteira do `.col-full` do pai
	   (`2.617924em`, e `1.41575em` <= 568px). Em `rem`, nunca `em`: aqui o `em`
	   resolveria contra a fonte do proprio elemento, nao contra 16px. */
	.site-header .menu-toggle {
		position: absolute;
		top: 20px;
		left: 2.617924rem;
		right: auto;
		margin: 0;
	}

	.site-header .st-header-actions {
		display: block;
		position: absolute;
		top: 20px;
		right: calc(2.617924rem + 44px + 4px);
	}

	.site-header .st-header-carrinho {
		display: flex;
		position: absolute;
		top: 20px;
		right: 2.617924rem;
	}

	/* So o icone de conta; o rotulo segue como nome acessivel. */
	.site-header .st-header-acao--conta {
		justify-content: center;
		width: 44px;
	}

	.site-header .st-header-acao--conta .st-header-acao__txt {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		border: 0;
	}

	/* O logo abre espaco para o ☰ (44 + 8) e para conta + carrinho (44 + 4 +
	   44 + 8), truncando titulo longo em vez de passar por baixo dos icones. */
	.site-header .site-branding {
		margin-left: 52px;
		max-width: calc(100% - 52px - 100px);
		overflow: hidden;
	}

	.site-header .site-branding .site-title a {
		display: block;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* Titulo em texto um degrau abaixo do `2em` do pai, e logo em imagem na
	   altura dos icones: os dois cabem entre ☰ e conta/carrinho. */
	.site-header .site-branding .site-title {
		font-size: 1.375rem;
		line-height: 44px;
	}

	.site-header .custom-logo-link img,
	.site-header .site-logo-anchor img,
	.site-header .site-logo-link img {
		width: auto;
		max-width: 100%;
		max-height: 44px;
	}

	/* So o icone: sem borda, alvo de 44px. O rotulo "Menu" fica no `<span>`
	   com fonte zero — sai da tela e segue como nome acessivel do botao.
	   As 3 linhas sao `::before`/`::after` do botao e `span::before`
	   (absolutos no botao), encostadas na esquerda = goteira do `.col-full`. */
	.site-header button.menu-toggle,
	.site-header button.menu-toggle:hover {
		width: 44px;
		height: 44px;
		max-width: none;
		padding: 0;
		border-color: transparent;
		background-color: transparent;
	}

	.site-header button.menu-toggle span {
		font-size: 0;
	}

	.site-header button.menu-toggle::before,
	.site-header button.menu-toggle::after,
	.site-header button.menu-toggle span::before {
		left: 0;
		right: auto;
		width: 24px;
		height: 2.5px;
		margin-top: -1.25px;
	}

	.site-header button.menu-toggle::before {
		transform: translateY(-7px);
	}

	.site-header button.menu-toggle::after {
		transform: translateY(7px);
	}

	.site-header .toggled button.menu-toggle::before {
		transform: rotate(45deg);
	}

	.site-header .toggled button.menu-toggle::after {
		transform: rotate(-45deg);
	}
}

@media (max-width: 568px) {

	/* A outra metade do par acoplado acima: a goteira do `.col-full` encolhe
	   nesta faixa, e os icones acompanham. */
	.site-header .menu-toggle {
		left: 1.41575rem;
	}

	.site-header .st-header-actions {
		right: calc(1.41575rem + 44px + 4px);
	}

	.site-header .st-header-carrinho {
		right: 1.41575rem;
	}
}

/* --- Sugestoes de produto (`assets/js/busca-sugestoes.js`) --------------- */

/* Painel dentro do `.site-search`: no header compacto desce com o header fixo. */
.site-header .site-search .st-sugestoes-caixa {
	position: relative;
}

.site-header .site-search .st-sugestoes {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 1001;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-top: var(--st-sp-1-5, 6px);
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio, 8px);
	box-shadow: 0 12px 32px rgba(22, 24, 28, 0.14), 0 4px 8px rgba(22, 24, 28, 0.08);
	color: var(--st-text, #16181C);
	font-size: var(--st-fs-5, 1rem);
	line-height: 1.35;
	text-align: left;
}

.site-header .site-search .st-sugestoes[hidden],
.site-header .site-search .st-sugestoes [hidden] {
	display: none;
}

.site-header .site-search .st-sugestoes__lista {
	transition: opacity 0.15s ease-out;
}

/* Nova consulta sobre a lista anterior: esmaece em vez de piscar vazio. */
.site-header .site-search .st-sugestoes--carregando .st-sugestoes__lista {
	opacity: 0.55;
}

/* (0,4,1) empata com `.site-header a:not(...)` (0,4,1) e vence por ordem;
   as cores moram nos spans, fora do alcance do inline do pai. */
.site-header .site-search .st-sugestoes a.st-sugestoes__item,
.site-header .site-search .st-sugestoes .st-sugestoes__fantasma {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--st-sp-3, 12px);
	min-height: 64px;
	padding: var(--st-sp-2, 8px) var(--st-sp-4, 16px);
	box-sizing: border-box;
	color: var(--st-text, #16181C);
	text-decoration: none;
}

.site-header .site-search .st-sugestoes a[aria-selected="true"] {
	background-color: var(--st-surface, #F2F7FF);
	box-shadow: inset 3px 0 0 var(--st-brand, #0058B6);
}

.site-header .site-search .st-sugestoes__foto {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	box-sizing: border-box;
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 6px;
}

.site-header .site-search .st-sugestoes__foto--vazia {
	background-color: var(--st-surface, #F2F7FF);
	border-color: transparent;
	color: var(--st-text-muted, #515F72);
}

.site-header .site-search .st-sugestoes__foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.site-header .site-search .st-sugestoes__nome {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--st-text, #16181C);
	font-size: var(--st-fs-4, 0.9375rem);
}

/* O termo digitado em negrito: so peso, a tinta do nome segue. */
.site-header .site-search .st-sugestoes__nome mark {
	padding: 0;
	background: transparent;
	color: inherit;
	font-weight: var(--st-peso-negrito, 700);
}

.site-header .site-search .st-sugestoes__preco {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	white-space: nowrap;
	text-align: right;
}

.site-header .site-search .st-sugestoes__por {
	color: var(--st-price, #0A7C2F);
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.2;
}

.site-header .site-search .st-sugestoes__de {
	color: var(--st-text-muted, #515F72);
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.2;
}

.site-header .site-search .st-sugestoes__esgotado {
	color: var(--st-text-muted, #515F72);
	font-size: var(--st-fs-2, 0.8125rem);
	font-weight: var(--st-peso-semi, 600);
}

.site-header .site-search .st-sugestoes a.st-sugestoes__todos {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--st-sp-3, 12px);
	min-height: 48px;
	margin-top: var(--st-sp-1-5, 6px);
	padding: 0 var(--st-sp-4, 16px);
	box-sizing: border-box;
	border-top: 1px solid var(--st-border, #CCD5E2);
	text-decoration: none;
}

.site-header .site-search .st-sugestoes__todos-texto {
	overflow: hidden;
	color: var(--st-brand, #0058B6);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-semi, 600);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.site-header .site-search .st-sugestoes a.st-sugestoes__todos[aria-selected="true"] .st-sugestoes__todos-texto {
	text-decoration: underline;
}

/* Chevron desenhado por borda: sem icon-font. */
.site-header .site-search .st-sugestoes__seta {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-right: var(--st-sp-1, 4px);
	border-top: 2px solid var(--st-brand, #0058B6);
	border-right: 2px solid var(--st-brand, #0058B6);
	transform: rotate(45deg);
}

.site-header .site-search .st-sugestoes__vazio {
	display: flex;
	flex-direction: column;
	gap: var(--st-sp-1, 4px);
	padding: var(--st-sp-2, 8px) var(--st-sp-4, 16px) var(--st-sp-1-5, 6px);
}

.site-header .site-search .st-sugestoes__vazio-titulo {
	overflow-wrap: anywhere;
	color: var(--st-text, #16181C);
	font-weight: var(--st-peso-semi, 600);
}

.site-header .site-search .st-sugestoes__vazio-dica {
	color: var(--st-text-muted, #515F72);
	font-size: var(--st-fs-3, 0.875rem);
}

/* Esqueleto da 1a consulta: 3 linhas na geometria do item. */
@keyframes st-sugestoes-pulso {
	50% {
		opacity: 0.45;
	}
}

.site-header .site-search .st-sugestoes .st-sugestoes__fantasma {
	grid-template-columns: 48px minmax(0, 1fr);
}

.site-header .site-search .st-sugestoes__fantasma .st-sugestoes__foto,
.site-header .site-search .st-sugestoes__barra {
	background-color: var(--st-surface, #F2F7FF);
	border-color: transparent;
	animation: st-sugestoes-pulso 1.2s ease-in-out infinite;
}

.site-header .site-search .st-sugestoes__barra {
	display: block;
	width: 70%;
	height: 12px;
	border-radius: 4px;
}

.site-header .site-search .st-sugestoes__fantasma:nth-child(2) .st-sugestoes__barra {
	width: 52%;
}

.site-header .site-search .st-sugestoes__fantasmas {
	padding-bottom: var(--st-sp-1-5, 6px);
}

@media (prefers-reduced-motion: reduce) {

	.site-header .site-search .st-sugestoes__lista {
		transition: none;
	}

	.site-header .site-search .st-sugestoes__fantasma .st-sugestoes__foto,
	.site-header .site-search .st-sugestoes__barra {
		animation: none;
	}
}

@media (max-width: 767px) {

	.site-header .site-search .st-sugestoes a.st-sugestoes__item {
		padding: var(--st-sp-2, 8px) var(--st-sp-3, 12px);
	}

	.site-header .site-search .st-sugestoes__nome {
		font-size: var(--st-fs-3, 0.875rem);
	}

	.site-header .site-search .st-sugestoes__por {
		font-size: var(--st-fs-4, 0.9375rem);
	}

	.site-header .site-search .st-sugestoes a.st-sugestoes__todos {
		padding: 0 var(--st-sp-3, 12px);
	}
}

/* --- Carrinho do header (`inc/header-mobile.php`) -------------------------
   Icone + contador nas duas larguras. O contador so existe com item (sem "0"
   na tela) e vem na superficie de acento, como o badge % OFF do card. */
.site-header .st-header-carrinho {
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--st-brand-contrast, #FFFFFF);
	text-decoration: none;
}

.site-header .st-header-carrinho::before {
	content: "";
	width: 26px;
	height: 26px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-header .st-header-carrinho__rotulo {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
}

.site-header .st-header-carrinho__qtd {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	box-sizing: border-box;
	border-radius: 999px;
	background-color: var(--st-accent, #FF6800);
	color: var(--st-accent-contrast, #16181C);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

@media (min-width: 768px) {

	.site-header .st-header-carrinho {
		display: flex;
		position: relative;
	}
}

/* --- Header compacto do mobile (`assets/js/header-compacto.js`) ---------
   Com `body.st-header-compacto` o header fica fixo numa linha so:
   ☰ · busca · carrinho. O `padding-top` do body ocupa a altura original
   mais a margem de baixo (`--st-header-h`, medida pelo JS): o conteudo nao pula. */
@keyframes st-header-desce {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: none;
	}
}

@media (max-width: 767px) {

	/* Borda de baixo do header compacto: 8 + 44 (☰/carrinho) + 8 + a borda de
	   1px do pai. PAR com o padding e os 44px abaixo; o sticky da barra da
	   listagem prende aqui. No `html`: o `scroll-padding-top` le dele. */
	html {
		--header-compacto-h: 61px;
	}

	body.st-header-compacto {
		padding-top: var(--st-header-h, 0);
	}

	body.st-header-compacto .site-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1000;
		padding: 8px 0;
		box-shadow: 0 2px 8px rgba(22, 24, 28, 0.2);
		animation: st-header-desce 0.2s ease-out;
	}

	body.st-header-compacto .site-header .site-branding,
	body.st-header-compacto .site-header .st-header-actions,
	body.st-header-compacto .site-header .st-cat-faixa {
		display: none;
	}

	/* A busca ocupa o meio: 44 do ☰ / do carrinho + 8 de folga de cada lado.
	   2px em cima e embaixo centram os 40 da busca nos 44 dos icones. */
	body.st-header-compacto .site-header .site-search {
		width: auto;
		margin: 2px 52px;
		padding-top: 0;
	}

	body.st-header-compacto .site-header .menu-toggle,
	body.st-header-compacto .site-header .st-header-carrinho {
		top: 8px;
	}
}

/* A barra de admin do WP e fixa de 601 a 782px: o header compacto desce junto. */
@media (min-width: 601px) and (max-width: 767px) {

	html:has(> body.admin-bar) {
		--header-compacto-h: 107px;
	}

	body.admin-bar.st-header-compacto .site-header {
		top: 46px;
	}
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {

	body.st-header-compacto .site-header {
		animation: none;
	}
}

/* Sem menu a abrir, o ☰ some (RN-03) e o logo volta a goteira. */
@media (max-width: 767px) {

	body.st-sem-menu-principal .site-header .site-branding {
		margin-left: 0;
		max-width: calc(100% - 100px);
	}
}

/* --- Cluster de conta no header ------------------------------
   `Entrar` + `Ajuda` a direita da busca, icone + rotulo em
   --st-brand-contrast. Entre 768 e 1199px so icones; abaixo de 768px o
   cluster some (bloco mobile acima).
   ------------------------------------------------------------------------ */

/* `display:flex` so em >= 768px, nunca no base: com a mesma especificidade
   (0,2,1) do `display:none` do bloco mobile (`@media max-width:767`), viria
   depois e venceria por ordem. */
@media (min-width: 768px) {
	.site-header .st-header-actions {
		display: flex;
		align-items: center;
		gap: 1.25em;
	}
}

.site-header .st-header-acao {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 44px;                 /* alvo de toque */
	color: var(--st-brand-contrast, #FFFFFF);
	line-height: 1.2;
	white-space: nowrap;
}

/* Hover: o pai CLAREIA o texto (+65); sobre o branco isso nao muda nada (mesmo
   motivo do menu, §Header pintado). Sublinha o rotulo em vez de trocar cor. */
.site-header .st-header-acao:hover,
.site-header .st-header-acao:focus {
	color: var(--st-brand-contrast, #FFFFFF);
	text-decoration: none;
}

.site-header .st-header-acao:hover .st-header-acao__l1,
.site-header .st-header-acao:focus .st-header-acao__l1 {
	text-decoration: underline;
}

.site-header .st-header-acao__icone {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
}

.site-header .st-header-acao__txt {
	display: flex;
	flex-direction: column;
}

.site-header .st-header-acao__l1 {
	font-weight: 700;
	font-size: 0.9375rem;
}

.site-header .st-header-acao__l2 {
	font-size: 0.75rem;
	opacity: 0.9;
}

/* Entre 768 e 1199px: so o icone. O texto vira `.screen-reader-text` (nome
   acessivel preservado) e a busca respira. Alvo de 44px permanece. */
@media (min-width: 768px) and (max-width: 1199px) {
	.site-header .st-header-acao__txt {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		border: 0;
	}

	.site-header .st-header-acao {
		gap: 0;
	}

	.site-header .st-header-actions {
		gap: 0.5em;
	}
}

/* --- Mega-menu de departamentos ----------------------------

   ⚠️ Neutralizar ANTES de estilizar: o painel nasce dentro de
   `.main-navigation`, e regras de elemento do pai alcancam todo `<ul>` ali:

     .main-navigation ul ul           (0,1,2)  position / left / z-index
     .main-navigation ul li:hover > ul         left:0 (abriria no hover)
     .main-navigation ul.menu ul li a (0,2,3)  padding / font-weight / font-size
     .main-navigation ul ul li a               width:200px

   Todo seletor repete `.st-mega` para chegar a (0,3,1) e vencer as duas sem
   depender de ordem. `.site-header` impede vazar para rodape e plugins.
   ------------------------------------------------------------------------ */

.site-header .st-mega .st-mega__painel ul,
.site-header .st-mega .st-mega__painel li {
	position: static;
	float: none;
	left: auto;
	top: auto;
	right: auto;
	z-index: auto;
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Desfaz o `width:200px` do pai em `ul ul li a`. */
.site-header .st-mega .st-mega__painel a {
	width: auto;
	display: block;
}

/* O estado aberto/fechado e o `hidden` que o PHP emite e o JS alterna, nunca a
   cascata. `!important` porque a neutralizacao acima declara `display:block`.
   Os containers de coluna (`__areas`/`__subareas`) tambem precisam estar aqui,
   senao qualquer `display` neles mostra todas as colunas de uma vez. */
.site-header .st-mega .st-mega__painel[hidden],
.site-header .st-mega .st-mega__area[hidden],
.site-header .st-mega .st-mega__areas[hidden],
.site-header .st-mega .st-mega__subarea[hidden],
.site-header .st-mega .st-mega__subareas[hidden] {
	display: none !important;
}

/* --- O botao `☰ Departamentos` -------------------------------------------

   E um `<button>` numa barra de `<a>`: sem estas regras herda o fundo e o
   padding da secao de botoes deste arquivo.
   ------------------------------------------------------------------------ */

/* ⚠️ Um `::after` de terceiro (folha fora do alcance do CSSOM) imprime o
   chevron do Font Awesome em todo `<button>` do header. Neutralizado no
   destino; glifo de estado, quando houver, e declarado explicitamente. */
.site-header .st-mega .st-mega__toggle::after,
.site-header .st-mega .st-mega__toggle::before,
.site-header .st-mega .st-mega__fechar::after,
.site-header .st-mega .st-mega__fechar::before,
.site-header .st-mega .st-mega__voltar::after,
.site-header .st-mega .st-mega__voltar::before {
	content: none;
}

/* ⚠️ Chip compacto centralizado: o botao NAO deve esticar na altura cheia da
   linha nem copiar o padding do `<a>` irmao (fundo ou borda esticados ficam
   desproporcionais). */
.site-header .st-mega .st-mega__toggle,
.site-header .st-mega .st-mega__toggle:hover,
.site-header .st-mega .st-mega__toggle:focus {
	align-self: center;
	color: var(--st-brand-contrast, #FFFFFF);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	padding: 10px 16px;
	margin: 0;
	text-transform: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	width: auto;
	text-align: left;
	background-color: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 8px;
	transition: background-color 150ms ease, border-color 150ms ease;
}

.site-header .st-mega .st-mega__toggle:hover,
.site-header .st-mega .st-mega__toggle:focus,
.site-header .st-mega .st-mega__toggle[aria-expanded="true"] {
	background-color: rgba(255, 255, 255, 0.22);
	border-color: var(--st-brand-contrast, #FFFFFF);
}

/* Hamburguer + seta ("isto abre um painel"). A classe dobrada vence o
   `content:none` acima. Glifo de texto, sem asset (RN-04). */
.site-header .st-mega .st-mega__toggle.st-mega__toggle::before {
	content: '\2630';
	font-size: 0.85em;
	line-height: 1;
}

.site-header .st-mega .st-mega__toggle.st-mega__toggle::after {
	content: '\25BE';
	font-size: 0.7em;
	line-height: 1;
}

.site-header .st-mega {
	position: relative;
	/* O botao e neto do `ul` flex, entao `align-self` nele nao basta: o `<li>`
	   (esticado pelo `ul`) vira flex para centralizar o chip. */
	display: flex;
	align-items: center;
}

/* --- O painel ------------------------------------------------------------

   Geometria e estrutura aqui; cor em §Painel claro, que vale nas duas larguras
   (no mobile o painel vive na gaveta branca).
   ------------------------------------------------------------------------ */

/* Flex para a seta `›` encostar na borda via `margin-left:auto`; o `<a>` ocupa
   a linha inteira, que vira o alvo de hover. */
.site-header .st-mega .st-mega__deptos a,
.site-header .st-mega .st-mega__subs a {
	text-decoration: none;
	padding: 0.6em 1em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75em;
}

/* A seta encosta na borda da coluna, nunca no texto. */
.site-header .st-mega .st-mega__seta {
	margin-left: auto;
	flex: 0 0 auto;
	font-size: 1.25em;
	line-height: 1;
	opacity: 0.7;
}

/* Hover sem sublinhado; o fundo do hover vem de §Painel claro. */
.site-header .st-mega .st-mega__deptos a:hover,
.site-header .st-mega .st-mega__deptos a:focus,
.site-header .st-mega .st-mega__subs a:hover,
.site-header .st-mega .st-mega__subs a:focus,
.site-header .st-mega .st-mega__depto--atual > a {
	text-decoration: none;
}

/* Nivel 2 e item de navegacao (400, como o nivel 1); o titulo de grupo e o
   nivel 3, na coluna 3. */
.site-header .st-mega .st-mega__sub-link {
	font-weight: 400;
}

/* --- Os dois estados que o hover criou ----------------------------------

   `--atual` (onde estou) e `:hover` (o que aponto) usam recursos distintos:
   `--atual` e uma barra inset. `--aberto` (a coluna deste item esta na tela)
   e um terceiro estado, pintado em §Painel claro. */
.site-header .st-mega .st-mega__depto--atual > a {
	box-shadow: inset 3px 0 0 0 var(--st-accent, #FF6800);
}

/* Nivel 3: conteudo inteiro da coluna 3, sem recuo. Sem netos, nada casa.
   ⚠️ `ul.st-mega__netos` qualificado leva a (0,4,1) para vencer a
   neutralizacao `.site-header .st-mega .st-mega__painel ul` (0,3,1). */
.site-header .st-mega .st-mega__painel ul.st-mega__netos {
	padding-left: 0;
}

/* Titulo de grupo da coluna 3: hierarquia por peso e escala; a tinta vem de
   §Painel claro.
   ⚠️ `> li > a`, nao descendente: alcancaria os bisnetos.
   ⚠️ `[data-st-grupo]`: so titula quem agrupa; nivel 3 folha e link comum. */
.site-header .st-mega .st-mega__netos > li > a[data-st-grupo] {
	font-weight: 600;
	font-size: 0.9375em;
	opacity: 1;
	padding: 0.5em 1em 0.25em;
}

.site-header .st-mega .st-mega__netos a {
	font-weight: 400;
	font-size: 0.875em;
	padding: 0.35em 1em;
}

.site-header .st-mega .st-mega__netos a:hover,
.site-header .st-mega .st-mega__netos a:focus {
	opacity: 1;
	text-decoration: none;
}

/* Respiro ENTRE grupos, nunca dentro. Sem isto a coluna 3 vira uma lista so. */
.site-header .st-mega .st-mega__netos > li + li {
	margin-top: 0.75em;
}

/* ------------------------------------------------------------------------
   O 4o nivel (bisneto), aninhado sob o neto

   ⚠️ O recuo vive na LISTA, nao no link: `padding-left` no `<a>` desloca so o
   texto, e a hierarquia lida e a da caixa.
   ⚠️ `ul.st-mega__bisnetos` qualificado leva a (0,4,1) para vencer a
   neutralizacao `.site-header .st-mega .st-mega__painel ul` (0,3,1).
   A diferenca para o nivel 3 e por recuo, corpo de fonte e tom
   (`--st-text-muted`, §Painel claro).
   ------------------------------------------------------------------------ */
.site-header .st-mega .st-mega__painel ul.st-mega__bisnetos {
	padding-left: 1.2em;
}

.site-header .st-mega .st-mega__bisnetos a {
	font-weight: 400;
	font-size: 0.8125em;
	padding: 0.3em 1em;
}

.site-header .st-mega .st-mega__bisnetos a:hover,
.site-header .st-mega .st-mega__bisnetos a:focus {
	opacity: 1;
}

/* --- Geometria do painel: desktop ---------------------------------------- */

@media (min-width: 768px) {

	/* O painel ancora no `<li>` do mega, que o pai ja deixa `position:relative`.
	   ⚠️ Nunca `position:relative` em `.storefront-primary-navigation`, no
	   `.col-full` da nav ou em `nav.main-navigation`: o `offsetParent` do
	   `.menu-toggle` migra para la e o botao despenca. */
	.site-header .st-mega .st-mega__painel {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
		display: flex;
		align-items: stretch;
		/* Largura dirigida pelo conteudo: as colunas 2 e 3 nascem fechadas.
		   ⚠️ `max-content`, nunca `auto`: o containing block e o `li.st-mega`
		   (chip de ~150px), e `auto` num abspos encolheria as colunas para
		   min-content. */
		width: max-content;
		/* ⚠️ `100vw` inclui a barra de rolagem; o layout resolve contra
		   `clientWidth`, ~15px menor. */
		max-width: calc(100vw - 4em);
		/* Teto obrigatorio: catalogo grande estouraria a viewport. */
		max-height: 70vh;
	}

	/* A divisoria e `border-left` da coluna que entra: so existe quando a
	   coluna existe. */
	.site-header .st-mega .st-mega__deptos {
		flex: 0 0 16em;
		overflow-y: auto;
	}

	.site-header .st-mega .st-mega__areas {
		flex: 0 0 16em;
		overflow-y: auto;
		padding: 0.5em 0;
		border-left: 1px solid var(--st-brand, #0058B6);
	}

	/* Coluna 3 mais larga: carrega dois niveis (titulo de grupo + filhos). */
	.site-header .st-mega .st-mega__subareas {
		flex: 0 0 19em;
		overflow-y: auto;
		padding: 0.5em 0;
		border-left: 1px solid var(--st-border, #CCD5E2);
	}
}

/* --- Painel CLARO ---------------------------------------------------------

   Desktop: branco separa o painel da barra azul do header. Mobile: o painel
   vive na gaveta branca e herda o fundo dela.

   ⚠️ Todo `<a>` do header e `--st-brand-contrast` (branco) em (0,4,1)
   (`.site-header a:not(.storefront-button):not(.components-button):not(.button)`).
   Sobre branco mede 1.00:1, entao todo seletor abaixo carrega
   `.st-mega__painel` e vale (0,4,2): vence por especificidade, nao ordem.
   Link branco sobre branco aqui = falta uma regra neste bloco. */
@media (min-width: 768px) {

	.site-header .st-mega .st-mega__painel {
		background-color: var(--st-bg, #FFFFFF);
		border: 1px solid var(--st-border, #CCD5E2);
		/* Sombra em tinta neutra com alfa, sem cor de marca. */
		box-shadow: 0 12px 32px rgba(22, 24, 28, 0.14), 0 4px 8px rgba(22, 24, 28, 0.08);
	}
}

.site-header .st-mega .st-mega__painel .st-mega__deptos > li > a,
.site-header .st-mega .st-mega__painel .st-mega__subs > li > a {
	color: var(--st-text, #16181C);
}

/* Hover e `--aberto` no mesmo recurso. As variantes `:hover`/`:focus` do
   `--aberto` sao obrigatorias: uma regra de hover de fora venceria o estado
   plano, e o hover e o gesto que abre a coluna. */
.site-header .st-mega .st-mega__painel .st-mega__deptos > li > a:hover,
.site-header .st-mega .st-mega__painel .st-mega__deptos > li > a:focus,
.site-header .st-mega .st-mega__painel .st-mega__subs > li > a:hover,
.site-header .st-mega .st-mega__painel .st-mega__subs > li > a:focus,
.site-header .st-mega .st-mega__painel .st-mega__depto--aberto > a,
.site-header .st-mega .st-mega__painel .st-mega__depto--aberto > a:hover,
.site-header .st-mega .st-mega__painel .st-mega__depto--aberto > a:focus,
.site-header .st-mega .st-mega__painel .st-mega__sub--aberto > a,
.site-header .st-mega .st-mega__painel .st-mega__sub--aberto > a:hover,
.site-header .st-mega .st-mega__painel .st-mega__sub--aberto > a:focus {
	background-color: var(--st-surface, #F2F7FF);
	/* Tinta de marca passa AA sobre `--st-surface` nas 5 paletas. */
	color: var(--st-brand, #0058B6);
}

/* Item atual no painel claro: tinta de marca + 600, sem fundo (o fundo fica
   para o hover).
   ⚠️ Seletor longo de proposito: `.st-mega__depto--atual > a` perderia
   para a cor base da coluna em (0,4,2). */
.site-header .st-mega .st-mega__painel .st-mega__deptos > li.st-mega__depto--atual > a {
	background-color: transparent;
	color: var(--st-brand, #0058B6);
	font-weight: 600;
}

.site-header .st-mega .st-mega__painel .st-mega__deptos > li.st-mega__depto--atual > a:hover,
.site-header .st-mega .st-mega__painel .st-mega__deptos > li.st-mega__depto--atual > a:focus {
	background-color: var(--st-surface, #F2F7FF);
}

/* Titulo de grupo em `--st-accent-ink`: passa AA sobre branco, nunca sobre
   superficie de marca. `--st-accent` e superficie, nunca tinta. */
.site-header .st-mega .st-mega__painel .st-mega__netos > li > a[data-st-grupo] {
	color: var(--st-accent-ink, #B93800);
	opacity: 1;
}

.site-header .st-mega .st-mega__painel .st-mega__netos > li > a:not([data-st-grupo]),
.site-header .st-mega .st-mega__painel .st-mega__bisnetos > li > a {
	color: var(--st-text, #16181C);
	opacity: 1;
}

/* Nivel 4 tambem mais leve por tom (texto secundario, >5:1 sobre branco). */
.site-header .st-mega .st-mega__painel .st-mega__bisnetos > li > a {
	color: var(--st-text-muted, #515F72);
}

.site-header .st-mega .st-mega__painel .st-mega__bisnetos > li > a:hover,
.site-header .st-mega .st-mega__painel .st-mega__bisnetos > li > a:focus {
	color: var(--st-text, #16181C);
}

/* Hover da coluna 3 so no fundo: o titulo de grupo mantem a cor. */
.site-header .st-mega .st-mega__painel .st-mega__netos > li > a:hover,
.site-header .st-mega .st-mega__painel .st-mega__netos > li > a:focus,
.site-header .st-mega .st-mega__painel .st-mega__bisnetos > li > a:hover,
.site-header .st-mega .st-mega__painel .st-mega__bisnetos > li > a:focus {
	background-color: var(--st-surface, #F2F7FF);
}

/* Troca de tinta no hover, exceto no titulo de grupo.
   ⚠️ `:not([data-st-grupo])` conta na especificidade: (0,6,2) vence a cor
   base do neto em (0,5,2). */
.site-header .st-mega .st-mega__painel .st-mega__netos > li > a:not([data-st-grupo]):hover,
.site-header .st-mega .st-mega__painel .st-mega__netos > li > a:not([data-st-grupo]):focus,
.site-header .st-mega .st-mega__painel .st-mega__bisnetos > li > a:hover,
.site-header .st-mega .st-mega__painel .st-mega__bisnetos > li > a:focus {
	color: var(--st-brand, #0058B6);
}

/* --- Geometria do painel: mobile — DRILL-DOWN ---------------------------

   Abaixo de 768px a navegacao SUBSTITUI em vez de expandir: uma tela, um
   nivel, com "voltar" e "Ver tudo".
   ------------------------------------------------------------------------ */

@media (max-width: 767px) {

	.site-header .st-mega {
		position: static;
	}

	/* ⚠️ O painel fica no FLUXO da gaveta e os atalhos somem por estado
	   (`st-mega-aberto`, posta pelo JS no `ul.menu`). Nao cobrir por
	   `position:absolute`: quem rola e a gaveta, e um painel fora do fluxo nao
	   estende a altura dela. O estado vem da classe que o JS ja poe. */
	.site-header .st-mega .st-mega__painel {
		position: static;
		display: block;
		width: auto;
		max-height: none;
		border: 0;
	}

	/* A campanha fica acima do Departamentos: sumir com ela subiria o painel. */
	.site-header .main-navigation ul.menu.st-mega-aberto > li:not(.st-mega):not(.st-campanha) {
		display: none;
	}

	.site-header .st-mega .st-mega__painel-topo {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0.5em 1.41575em;
		border-bottom: 1px solid var(--st-border, #CCD5E2);
		color: var(--st-text, #16181C);
	}

	.site-header .st-mega .st-mega__painel-titulo {
		font-weight: 600;
		text-transform: uppercase;
		font-size: 0.875em;
		letter-spacing: 0.04em;
	}

	.site-header .st-mega .st-mega__fechar {
		background: transparent;
		border: 0;
		color: var(--st-text, #16181C);
		font-size: 1.5em;
		line-height: 1;
		min-width: 44px;
		min-height: 44px;
		padding: 0;
		cursor: pointer;
	}

	.site-header .st-mega .st-mega__deptos {
		border-right: 0;
	}

	/* `[hidden]` continua mandando (`display:none !important` do bloco base). */
	.site-header .st-mega .st-mega__areas {
		padding: 0;
	}

	/* Nivel 2 no fluxo; o JS esconde o nivel 1 por estado. */
	.site-header .st-mega .st-mega__area {
		position: static;
	}

	/* ⚠️ O cabecalho do painel NAO some ao entrar numa area: nunca remover do
	   fluxo algo ACIMA do alvo tocado. O foco chega no mousedown; o reflow move
	   o alvo antes do mouseup e o `click` cai no ancestral comum. */
	.site-header .st-mega .st-mega__painel--em-area .st-mega__deptos {
		display: none;
	}

	/* Terceira tela do drill: sem este marcador, niveis 2 e 3 empilhariam no
	   mesmo scroll. */
	.site-header .st-mega .st-mega__painel--em-subarea .st-mega__areas {
		display: none;
	}

	.site-header .st-mega .st-mega__area-topo {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0.5em 1.41575em;
		border-bottom: 1px solid var(--st-border, #CCD5E2);
	}

	.site-header .st-mega .st-mega__voltar {
		background: transparent;
		border: 0;
		color: var(--st-text, #16181C);
		font-family: inherit;
		font-size: 0.875em;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		min-height: 44px;
		padding: 0;
		cursor: pointer;
		display: flex;
		align-items: center;
		gap: 0.4em;
	}

	.site-header .st-mega .st-mega__voltar-seta {
		font-size: 1.4em;
		line-height: 1;
	}

	/* (0,5,1): vence o branco de `.site-header a:not(...)` (0,4,1). */
	.site-header .st-mega .st-mega__painel .st-mega__area-topo a.st-mega__ver-tudo {
		color: var(--st-brand, #0058B6);
	}

	.site-header .st-mega .st-mega__ver-tudo {
		font-size: 0.8125em;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		text-decoration: underline;
		min-height: 44px;
		display: flex;
		align-items: center;
	}

	/* ⚠️ Goteira = a do `.col-full` do pai (1.41575em abaixo de 568px), para
	   alinhar com os atalhos irmaos.
	   ⚠️ O `li` vira bloco ANTES de o botao pedir 100%: o pai declara
	   `.main-navigation ul li { display: inline-block }`, e o `width:100%`
	   resolveria contra o `li` encolhido (so parte da linha responde ao toque). */
	.site-header .main-navigation .st-mega {
		display: block;
		width: 100%;
	}

	.site-header .st-mega .st-mega__toggle {
		padding: 0.875em 1.41575em;
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}

	/* Painel aberto: o botao some e o cabecalho do painel (com o ×) assume. */
	.site-header .main-navigation ul.menu.st-mega-aberto .st-mega__toggle {
		display: none;
	}

	/* Itens do painel na mesma goteira dos atalhos e do cabecalho.
	   ⚠️ Esta regra e a dona unica do alvo de 44px: `.st-mega__subarea a` e
	   obrigatorio, porque netos e bisnetos nao estao dentro de `.st-mega__subs`. */
	.site-header .st-mega .st-mega__deptos a,
	.site-header .st-mega .st-mega__subs a,
	.site-header .st-mega .st-mega__subarea a {
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0.6em 1.41575em;
	}

	/* Separador neutro (RN-07). Na coluna 3 separa grupos, nao cada link. */
	.site-header .st-mega .st-mega__deptos > li + li,
	.site-header .st-mega .st-mega__subs > li + li,
	.site-header .st-mega .st-mega__netos > li + li {
		border-top: 1px solid var(--st-border, #CCD5E2);
	}

	/* Nivel 3 (titulo ou folha) na goteira base da tela. Em `rem`: o `em` do
	   neto resolve contra a fonte menor dele e sai da goteira. */
	.site-header .st-mega .st-mega__netos > li > a {
		padding-left: 1.41575rem;
	}

	/* O separador ja divide os grupos; o respiro do desktop sobraria. */
	.site-header .st-mega .st-mega__netos > li + li {
		margin-top: 0;
	}

	/* 4o nivel recua um degrau dentro do grupo. O alvo de 44px vem da regra
	   `.st-mega__subarea a` acima; nao redeclarar. */
	.site-header .st-mega .st-mega__bisnetos a {
		padding-left: 2.6em;
	}

	.site-header .st-mega .st-mega__painel-topo,
	.site-header .st-mega .st-mega__area-topo {
		padding-left: 1.41575em;
		padding-right: 1.41575em;
	}

	/* Seta maior no drill-down. */
	.site-header .st-mega .st-mega__seta {
		font-size: 1.4em;
		line-height: 1;
		opacity: 0.7;
	}
}

/* Desktop: titulo do painel e `area-topo` ocultos; o botao segue visivel e
   "voltar"/"Ver tudo" sao gestos de drill. */
@media (min-width: 768px) {

	.site-header .st-mega .st-mega__painel-topo,
	.site-header .st-mega .st-mega__area-topo {
		display: none;
	}
}

/* ------------------------------------------------------------------------
   GAVETA DO MENU MOBILE (`.handheld-navigation` + `assets/js/gaveta.js`)

   Abaixo de 768px o drawer do pai vira gaveta fixa que desliza da esquerda
   sobre um veu. Quem abre e o `navigation.js` do pai (`.toggled` no nav).

   ⚠️ Fica DEPOIS do bloco de foco do header (anel `--st-brand-contrast`, que
   aqui dentro mediria 1:1 sobre branco) e do header compacto (z-index 1000):
   os dois empatam em especificidade com regras daqui.
   ⚠️ Pilha: header 999 (pai) · compacto 1000 · sticky da PDP 99998 · admin bar
   99999 · header com a gaveta aberta 100000.
   ------------------------------------------------------------------------ */

.st-gaveta__veu {
	display: none;
}

@keyframes st-nivel-avanca {
	from {
		transform: translateX(100%);
	}

	to {
		transform: none;
	}
}

@keyframes st-nivel-volta {
	from {
		transform: translateX(-100%);
	}

	to {
		transform: none;
	}
}

@media (max-width: 767px) {

	/* `clip` no `body`: ver a trava da folha. */
	html.st-gaveta-aberta {
		overflow: hidden;
	}

	html.st-gaveta-aberta body {
		overflow: hidden;
		overflow: clip;
	}

	/* `--fechando`: ate a gaveta sair, ela segue acima do sticky da PDP. */
	html.st-gaveta-aberta body .site-header,
	html.st-gaveta-fechando body .site-header {
		z-index: 100000;
	}

	/* Fechada: fora da tela e `hidden` (nada dela entra no Tab). O `visibility`
	   so troca no fim do deslize. */
	.site-header .main-navigation .handheld-navigation {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 2;
		width: 85vw;
		max-width: 360px;
		max-height: none;
		margin: 0;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		background-color: var(--st-bg, #FFFFFF);
		color: var(--st-text, #16181C);
		font-size: 1rem;
		transform: translateX(-100%);
		visibility: hidden;
		transition: none;
	}

	.site-header .main-navigation.toggled .handheld-navigation {
		transform: none;
		visibility: visible;
		box-shadow: 4px 0 24px rgba(22, 24, 28, 0.24);
		box-shadow: 4px 0 24px color-mix(in srgb, var(--st-text, #16181C) 24%, transparent);
	}

	.site-header .st-gaveta__veu {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1;
		background-color: rgba(22, 24, 28, 0.5);
		background-color: color-mix(in srgb, var(--st-text, #16181C) 50%, transparent);
		opacity: 0;
		visibility: hidden;
		/* Sem cursor de ponteiro, o iOS nao entrega `click` num `div`. */
		cursor: pointer;
	}

	.site-header .main-navigation.toggled .st-gaveta__veu {
		opacity: 1;
		visibility: visible;
	}

	/* --- Topo: marca + × ------------------------------------------------- */

	/* Gruda no topo: com lista longa no drill, o × nao rola junto. */
	.site-header .handheld-navigation .st-gaveta__topo {
		position: sticky;
		top: 0;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 64px;
		padding: 10px 8px 10px 1.41575rem;
		box-sizing: border-box;
		background-color: var(--st-brand, #0058B6);
		color: var(--st-brand-contrast, #FFFFFF);
	}

	.site-header .handheld-navigation .st-gaveta__marca {
		flex: 1 1 auto;
		min-width: 0;
		overflow: hidden;
	}

	.site-header .handheld-navigation .st-gaveta__topo a.st-gaveta__nome {
		display: block;
		color: var(--st-brand-contrast, #FFFFFF);
		font-size: 1.25rem;
		font-weight: 700;
		line-height: 44px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		text-decoration: none;
	}

	.site-header .handheld-navigation .st-gaveta__topo .custom-logo-link {
		display: block;
	}

	/* (0,4,1): vence o teto de 44px do logo do header (0,2,1). */
	.site-header .handheld-navigation .st-gaveta__topo .custom-logo-link img {
		display: block;
		width: auto;
		max-width: 100%;
		max-height: 40px;
	}

	.site-header .handheld-navigation .st-gaveta__fechar,
	.site-header .handheld-navigation .st-gaveta__fechar:hover,
	.site-header .handheld-navigation .st-gaveta__fechar:focus {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
		color: var(--st-brand-contrast, #FFFFFF);
		font-size: 2rem;
		line-height: 1;
		cursor: pointer;
	}

	.site-header .handheld-navigation .st-gaveta__fechar::before,
	.site-header .handheld-navigation .st-gaveta__fechar::after {
		content: none;
	}

	/* --- Anel de foco ----------------------------------------------------- */

	/* Offset negativo: a gaveta recorta o que passa da borda. */
	.site-header .handheld-navigation a:focus-visible,
	.site-header .handheld-navigation button:focus-visible,
	.site-header .handheld-navigation [tabindex]:focus-visible {
		outline-color: var(--st-brand, #0058B6);
		outline-offset: -2px;
	}

	.site-header .handheld-navigation .st-gaveta__topo a:focus-visible,
	.site-header .handheld-navigation .st-gaveta__topo button:focus-visible {
		outline-color: var(--st-brand-contrast, #FFFFFF);
	}

	/* --- Itens: atalhos e o `☰ Departamentos` ---------------------------- */

	/* O pai faz `li{display:inline-block}`: sem isto fundo e separador ficam do
	   tamanho do texto (convencao 25). */
	.site-header .main-navigation .handheld-navigation > ul.menu > li,
	.site-header .main-navigation .handheld-navigation ul.menu .sub-menu li {
		display: block;
		width: 100%;
	}

	.site-header .main-navigation .handheld-navigation > ul.menu > li + li {
		border-top: 1px solid var(--st-border, #CCD5E2);
	}

	.site-header .main-navigation .handheld-navigation > ul.menu > li > a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0.6em 1.41575rem;
		color: var(--st-text, #16181C);
		font-size: 1rem;
		font-weight: 400;
	}

	/* Barra de hover da barra desktop: na lista vertical o destaque e o fundo. */
	.site-header .main-navigation .handheld-navigation > ul.menu > li > a::after {
		content: none;
	}

	.site-header .main-navigation .handheld-navigation > ul.menu > li > a:hover,
	.site-header .main-navigation .handheld-navigation > ul.menu > li > a:focus,
	.site-header .main-navigation .handheld-navigation > ul.menu > li:hover > a {
		background-color: var(--st-surface, #F2F7FF);
		color: var(--st-brand, #0058B6);
	}

	.site-header .main-navigation .handheld-navigation > ul.menu > li.current-menu-item > a,
	.site-header .main-navigation .handheld-navigation > ul.menu > li.current-menu-ancestor > a {
		color: var(--st-brand, #0058B6);
		font-weight: 600;
		box-shadow: inset 3px 0 0 0 var(--st-accent, #FF6800);
	}

	/* Menu curado: o tema pinta submenus e o `.dropdown-toggle` do
	   `navigation.js` do pai em branco (tinta do header). */
	.site-header .main-navigation .handheld-navigation ul.menu .sub-menu a {
		display: flex;
		align-items: center;
		min-height: 44px;
		/* O recuo do nivel vem da margem do `ul ul` do pai. */
		padding: 0.5em 1.41575rem;
		color: var(--st-text, #16181C);
		font-size: 0.9375rem;
	}

	.site-header .main-navigation .handheld-navigation ul.menu .sub-menu a:hover,
	.site-header .main-navigation .handheld-navigation ul.menu .sub-menu a:focus {
		background-color: var(--st-surface, #F2F7FF);
		color: var(--st-brand, #0058B6);
	}

	.site-header .main-navigation .handheld-navigation .dropdown-toggle,
	.site-header .main-navigation .handheld-navigation .dropdown-toggle:hover,
	.site-header .main-navigation .handheld-navigation .dropdown-toggle:focus {
		background: transparent;
		color: var(--st-text, #16181C);
		min-width: 44px;
		min-height: 44px;
	}

	/* Linha de lista, nao o chip da barra desktop. Todas as variantes: o
	   `:hover` fica preso depois do toque e o `:focus` vem do teclado. */
	.site-header .handheld-navigation .st-mega .st-mega__toggle,
	.site-header .handheld-navigation .st-mega .st-mega__toggle:hover,
	.site-header .handheld-navigation .st-mega .st-mega__toggle:focus,
	.site-header .handheld-navigation .st-mega .st-mega__toggle[aria-expanded="true"] {
		/* O `:hover`/`:focus` da barra desktop declara `inline-flex` + `auto`:
		   sem isto o botao encolhe com o foco e o toque a direita cai no `li`. */
		display: flex;
		width: 100%;
		justify-content: flex-start;
		gap: 0.6em;
		min-height: 48px;
		padding: 0.6em 1.41575rem;
		border: 0;
		border-radius: 0;
		background-color: transparent;
		color: var(--st-text, #16181C);
		font-size: 1rem;
		font-weight: 600;
		letter-spacing: 0;
	}

	.site-header .handheld-navigation .st-mega .st-mega__toggle:hover,
	.site-header .handheld-navigation .st-mega .st-mega__toggle:focus {
		background-color: var(--st-surface, #F2F7FF);
		color: var(--st-brand, #0058B6);
	}

	/* O ▾ encosta na borda, como a `›` das linhas do drill. */
	.site-header .handheld-navigation .st-mega .st-mega__toggle.st-mega__toggle::after {
		margin-left: auto;
	}

	/* O ☰ ocupa a caixa dos icones do bloco de conta (22px + gap 14): os
	   textos das linhas alinham numa coluna so. */
	.site-header .handheld-navigation .st-mega .st-mega__toggle.st-mega__toggle::before {
		flex: 0 0 22px;
		text-align: center;
	}

	.site-header .handheld-navigation .st-mega .st-mega__toggle,
	.site-header .handheld-navigation .st-mega .st-mega__toggle:hover,
	.site-header .handheld-navigation .st-mega .st-mega__toggle:focus,
	.site-header .handheld-navigation .st-mega .st-mega__toggle[aria-expanded="true"] {
		gap: 14px;
	}

	/* --- Cabecalho do painel: "‹ DEPARTAMENTOS" -------------------------
	   Na gaveta o topo ja tem o × que fecha tudo; o do painel vira o "voltar"
	   da lista, na mesma linguagem dos "‹ Hardware". O botao cobre a linha
	   inteira (alvo de 44px na largura toda) e o titulo segue por baixo. */
	.site-header .handheld-navigation .st-mega .st-mega__painel-topo {
		position: relative;
		justify-content: flex-start;
		min-height: 44px;
	}

	/* Recuo = `‹` + gap do `.st-mega__voltar`: o titulo alinha com "Hardware". */
	.site-header .handheld-navigation .st-mega .st-mega__painel-titulo {
		padding-left: 0.835em;
	}

	.site-header .handheld-navigation .st-mega .st-mega__fechar {
		position: absolute;
		inset: 0;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		width: 100%;
		padding: 0 0 0 1.41575rem;
		font-size: 1.225em;
	}

	.site-header .handheld-navigation .st-mega .st-mega__fechar > [aria-hidden="true"] {
		display: none;
	}

	.site-header .handheld-navigation .st-mega .st-mega__fechar.st-mega__fechar::before {
		content: '\2039';
		line-height: 1;
	}

	/* --- Bloco de conta (`inc/gaveta-conta.php`) --------------------------
	   Coluna flex: as acoes descem ao pe da gaveta (`margin-top:auto`). */
	.site-header .main-navigation.toggled .handheld-navigation,
	.site-header .main-navigation .handheld-navigation {
		display: flex;
		flex-direction: column;
	}

	.site-header .handheld-navigation > ul.menu,
	.site-header .handheld-navigation .st-gaveta__topo {
		flex: 0 0 auto;
	}

	/* No drill a conta sairia embaixo dos departamentos: some junto com os
	   atalhos. Irmao geral do `ul`, sem `:has()`. */
	.site-header .handheld-navigation ul.menu.st-mega-aberto ~ .st-gaveta__conta,
	.site-header .handheld-navigation ul.menu.st-mega-aberto ~ .st-gaveta__acoes {
		display: none;
	}

	.site-header .main-navigation .handheld-navigation ul.st-gaveta__lista {
		margin: 0;
		padding: 0.25em 0;
		list-style: none;
		border-top: 1px solid var(--st-border, #CCD5E2);
	}

	.site-header .main-navigation .handheld-navigation ul.st-gaveta__lista > li {
		display: block;
		width: 100%;
	}

	/* (0,5,2): vence o branco de `.site-header a:not(...)` (0,4,1). */
	.site-header .main-navigation .handheld-navigation ul.st-gaveta__lista > li > a {
		display: flex;
		align-items: center;
		gap: 14px;
		min-height: 44px;
		padding: 0.6em 1.41575rem;
		color: var(--st-text, #16181C);
		font-size: 1rem;
		font-weight: 400;
		text-decoration: none;
	}

	.site-header .main-navigation .handheld-navigation ul.st-gaveta__lista > li > a:hover,
	.site-header .main-navigation .handheld-navigation ul.st-gaveta__lista > li > a:focus {
		background-color: var(--st-surface, #F2F7FF);
		color: var(--st-brand, #0058B6);
	}

	/* Icone em tom secundario; no hover acompanha a tinta do link. */
	.site-header .handheld-navigation .st-gaveta__icone {
		flex: 0 0 22px;
		color: var(--st-text-muted, #515F72);
	}

	.site-header .handheld-navigation .st-gaveta__item:hover .st-gaveta__icone,
	.site-header .handheld-navigation .st-gaveta__item:focus .st-gaveta__icone {
		color: currentColor;
	}

	.site-header .handheld-navigation .st-gaveta__acoes {
		margin-top: auto;
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 16px 1.41575rem 24px;
	}

	/* Mesma linguagem do CTA "Comprar" do card. (0,5,1) vence (0,4,1). */
	.site-header .main-navigation .handheld-navigation .st-gaveta__acoes a.st-gaveta__botao {
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 0.75em 1em;
		border: 1px solid var(--st-brand, #0058B6);
		border-radius: 4px;
		background-color: transparent;
		color: var(--st-brand, #0058B6);
		font-size: 0.8125rem;
		font-weight: 700;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		text-decoration: none;
	}

	.site-header .main-navigation .handheld-navigation .st-gaveta__acoes a.st-gaveta__botao--entrar {
		background-color: var(--st-brand, #0058B6);
		color: var(--st-brand-contrast, #FFFFFF);
	}

	.site-header .main-navigation .handheld-navigation .st-gaveta__acoes a.st-gaveta__botao:hover {
		background-color: var(--st-surface, #F2F7FF);
	}

	.site-header .main-navigation .handheld-navigation .st-gaveta__acoes a.st-gaveta__botao--entrar:hover {
		background-color: var(--st-brand-dark, #0049A7);
		color: var(--st-brand-contrast, #FFFFFF);
	}

	/* Anel FORA do botao, sobre a gaveta clara: dentro do Entrar ele seria
	   `--st-brand` sobre `--st-brand`. */
	.site-header .handheld-navigation .st-gaveta__acoes a.st-gaveta__botao:focus-visible {
		outline-color: var(--st-brand, #0058B6);
		outline-offset: 2px;
	}
}

/* Movimento so para quem nao pediu menos. */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {

	.site-header .main-navigation .handheld-navigation {
		transition: transform 0.25s ease-out, visibility 0s linear 0.25s;
	}

	.site-header .main-navigation.toggled .handheld-navigation {
		transition: transform 0.25s ease-out, visibility 0s linear 0s;
	}

	.site-header .st-gaveta__veu {
		transition: opacity 0.25s ease-out, visibility 0s linear 0.25s;
	}

	.site-header .main-navigation.toggled .st-gaveta__veu {
		transition: opacity 0.25s ease-out, visibility 0s linear 0s;
	}

	/* Cada nivel do drill entra deslizando quando volta a renderizar. O
	   sentido vem de `--avanca`/`--volta` (`mega-menu.js`). O painel so
	   renderiza ao abrir, e no abrir a lista de departamentos vem DENTRO dele:
	   ela so anima no `--volta`, senao deslizaria em dobro. */
	.site-header .handheld-navigation .st-mega__painel,
	.site-header .handheld-navigation .st-mega__painel--avanca .st-mega__area,
	.site-header .handheld-navigation .st-mega__painel--avanca .st-mega__subarea {
		animation: st-nivel-avanca 0.22s ease-out;
	}

	.site-header .handheld-navigation .st-mega__painel--volta .st-mega__area,
	.site-header .handheld-navigation .st-mega__painel--volta .st-mega__deptos,
	.site-header .main-navigation .handheld-navigation > ul.menu > li:not(.st-mega),
	.site-header .handheld-navigation .st-mega .st-mega__toggle,
	.site-header .handheld-navigation .st-gaveta__conta,
	.site-header .handheld-navigation .st-gaveta__acoes {
		animation: st-nivel-volta 0.22s ease-out;
	}
}

/* ------------------------------------------------------------------------
   CARD DO LOOP DE ARQUIVO — o esqueleto que nao desalinha

   RN-01: 7 slots em ordem fixa, cada um podendo sumir sem desalinhar a grade.
   Escopo `.site-main > ul.products` em toda regra (convencao 17): os loops
   secundarios (`.related`, `.up-sells`, `.cross-sells`) nao sao afetados.
   ------------------------------------------------------------------------ */

/* --- Grid tambem no desktop (>= 1024px) --------------------------------
   `::before/::after` do clearfix viraria grid item e roubaria celula.

   ⚠️ Piso (0,5,2), dai o `.product.product` dobrado: o pai declara
   `.storefront-full-width-content .site-main ul.products.columns-3
   li.product{width:30.43%;float:left}` quando nao ha sidebar (varia por
   tenant). Empata e vence por ordem (o child carrega depois). */
@media screen and ( min-width: 1024px ) {

	.site-main > ul.products {
		display: grid;
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
		/* Valores do pai: row = margin-bottom do li, column = margin-right
		   do float. */
		gap: 3.706em 5.8823529412%;
	}

	.site-main > ul.products::before,
	.site-main > ul.products::after {
		display: none;
	}

	.site-main > ul.products[class*="columns-"] li.product.product {
		width: auto;
		margin: 0;
		min-width: 0;
	}
}

/* --- 4a COLUNA no desktop largo (>= 1440px) -----------------
   Faixa-alvo do card (RN-01): 201 a 266px. Com sidebar, a 1440 o conteudo
   mede ~991px: 4 colunas com goteira 1.25rem dao ~233px. Vale ate 1679 (a
   5a coluna assume depois).
   `rem`, nao `em`: medida replicada de outro elemento nao herda font-size.

   ⚠️ O breakpoint casa contra a janela; o layout e ~15px menor. A folga a
   1440 e de ~1.6px: mudar a goteira exige refazer a conta.
   ⚠️ O piso (0,5,2) do bloco de 1024 segue ativo. A classe do <ul> continua
   `columns-3` (`loop_shop_columns` e server-side), dai `[class*="columns-"]`.
   ------------------------------------------------------------------------ */

@media screen and ( min-width: 1440px ) {

	.site-main > ul.products {
		grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
		column-gap: 1.25rem;
	}
}

/* --- 5a COLUNA no desktop muito largo (>= 1680px) -----------
   PAR ACOPLADO com o teto do `.col-full` (106.25em, bloco LARGURA DO
   CONTAINER) e com a largura da sidebar (bloco LAYOUT BASE DA LOJA): mudar
   um exige refazer a conta dos outros.

   Conteudo = ink x 95.65% - sidebar (16rem a partir de ~1178px de ink),
   goteira 1.25rem. Card resultante (alvo 201-266):

     janela | layout | conteudo | 4 col | 5 col
       1440 |  1425  |  1026.9  | 241.7 | 189.4
       1680 |  1665  |  1256.2  | 299.0 | 235.2
       1799+|  1784+ |  1370.1  | 327.5 | 258.0   <- teto do container

   ⚠️ O breakpoint casa contra a janela; o layout e ~15px menor.
   ⚠️ O piso (0,5,2) do bloco de 1024 segue ativo.
   ------------------------------------------------------------------------ */

@media screen and ( min-width: 1680px ) {

	.site-main > ul.products {
		grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
	}
}

/* --- Card ganha CAIXA propria (redesign pedido por MV, 29/09) -----------
   Superficie com o mesmo vocabulario do `.summary` da PDP (`--st-bg`,
   `border-radius:8px`), so sombra, sem borda.

   Padding nao desloca a grade: com `box-sizing:border-box` do WC, as contas
   de coluna valem para a caixa externa do card.
   O badge % OFF (absoluto no `li`) nasce no canto da padding box, acima da
   foto. */
.site-main > ul.products li.product,
ul.products.st-grade-card li.product {
	padding: 1em 1em 1.191em;
	background: var(--st-bg, #FFFFFF);
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(22, 24, 28, 0.06), 0 2px 4px rgba(22, 24, 28, 0.04);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
	/* Desfaz o centro que o Storefront aplica no loop. Filhos em flex (selo,
	   nota, badge) alinham por `align-self`/`justify-content` proprios. */
	text-align: left;
}

/* Elevacao no hover. `prefers-reduced-motion` desliga so o deslocamento; a
   sombra continua como sinal. */
.site-main > ul.products li.product:hover,
ul.products.st-grade-card li.product:hover {
	box-shadow: 0 8px 24px rgba(22, 24, 28, 0.10), 0 4px 8px rgba(22, 24, 28, 0.06);
	transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {

	.site-main > ul.products li.product,
	ul.products.st-grade-card li.product {
		transition: box-shadow 0.15s ease;
	}

	.site-main > ul.products li.product:hover,
	ul.products.st-grade-card li.product:hover {
		transform: none;
	}
}

/* --- A cadeia flex que alinha o rodape ----------------------------------
   O <a> envolve foto, titulo, nota, .onsale e preco; o botao e irmao dele.
   O grid iguala a altura dos cards; esta cadeia iguala o rodape: o <a>
   estica (`flex:1`) e empurra o `.price` com `margin-top:auto`.

   ⚠️ NAO por `position:relative` no <a>: roubaria o offsetParent do badge
   % OFF, ancorado no `li`.
   `min-width:0` na cadeia: grid/flex item nasce `min-width:auto`. */
.site-main > ul.products li.product,
ul.products.st-grade-card li.product {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.site-main > ul.products li.product > a.woocommerce-LoopProduct-link,
ul.products.st-grade-card li.product > a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}

.site-main > ul.products li.product > a.woocommerce-LoopProduct-link .price,
ul.products.st-grade-card li.product > a.woocommerce-LoopProduct-link .price {
	margin-top: auto;
}

/* Filhos `inline-block` do pai viram flex item e o `stretch` default os
   esticaria em faixa de largura total; `flex-start` preserva a pilula. */
.site-main > ul.products li.product .onsale,
.site-main > ul.products li.product > .added_to_cart,
ul.products.st-grade-card li.product .onsale,
ul.products.st-grade-card li.product > .added_to_cart {
	align-self: flex-start;
}

/* --- Slot 2: foto em proporcao fixa 1:1 (decisao de MV em 01/09) --------
   `contain`, nao `cover`: foto de fornecedor sobre fundo branco; cortar a
   peca e pior que barra branca. Depende do `woocommerce_thumbnail` uncropped
   (`inc/card.php`).
   `flex-shrink:0`: a img e flex item e seria esmagada.
   `margin-bottom` em `rem`: o `1.618em` do pai abre ~26px ate o selo. */
.site-main > ul.products li.product img,
ul.products.st-grade-card li.product img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	flex-shrink: 0;
	margin-bottom: 0.5rem;
	background: var(--st-bg, #FFFFFF);
}

/* Sem foto (RN-03): fundo neutro no placeholder do WC. `has-post-thumbnail`
   vem do core (`wc_get_product_class()`). */
.site-main > ul.products li.product:not(.has-post-thumbnail) img,
ul.products.st-grade-card li.product:not(.has-post-thumbnail) img {
	background: var(--st-surface, #F2F7FF);
}

/* --- Slot 4: titulo em 2 linhas reservadas ------------------------------
   `2lh` acompanha o `line-height` do mobile; titulo curto nao abre vao entre
   a nota e o preco. */
.site-main > ul.products li.product .woocommerce-loop-product__title,
ul.products.st-grade-card li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-width: 0;
	min-height: 2lh;
}

@media (max-width: 767px) {
	.site-main > ul.products li.product .woocommerce-loop-product__title,
	ul.products.st-grade-card li.product .woocommerce-loop-product__title {
		font-size: 13px;
		line-height: 1.35;
	}
}

/* --- Slot 7: CTA em botao largura total (redesign de 29/09) -------------
   Mesmo par de cor/hover do `button.alt` (§Botoes).
   `min-height:44px` explicito: no mobile o padding + texto reduzido nao
   chegam a 44px. */
.site-main > ul.products li.product > .button,
ul.products.st-grade-card li.product > .button {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.618em;
	margin-top: 0.618em;
	padding: 0.75em 1em;
	background: var(--st-brand, #0058B6);
	border-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
	border-radius: 4px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 0.8125rem;
	transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.site-main > ul.products li.product > .button:hover,
.site-main > ul.products li.product > .button:focus,
ul.products.st-grade-card li.product > .button:hover,
ul.products.st-grade-card li.product > .button:focus {
	background: var(--st-brand, #0058B6);
	border-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
	filter: brightness(0.92);
	box-shadow: 0 4px 12px rgba(22, 24, 28, 0.15);
}

.site-main > ul.products li.product > .button:active,
ul.products.st-grade-card li.product > .button:active {
	transform: translateY(1px);
	box-shadow: 0 2px 4px rgba(22, 24, 28, 0.15);
}

/* Icone de carrinho so no "Comprar" (simples compravel em estoque). O WC poe
   `add_to_cart_button` em todo produto compravel em estoque, inclusive no
   "Ver opcoes" do variavel: o tipo entra no seletor. Mesmo SVG em mask da PDP. */
.site-main > ul.products li.product > .button.product_type_simple.add_to_cart_button::before,
ul.products.st-grade-card li.product > .button.product_type_simple.add_to_cart_button::before {
	content: '';
	display: inline-block;
	width: 1.191em;
	height: 1.191em;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* Link "Ver carrinho" que o AJAX injeta como irmao do botao: entra no fluxo,
   e o ultimo controle de cada card segue alinhado. */
.site-main > ul.products li.product > .added_to_cart,
ul.products.st-grade-card li.product > .added_to_cart {
	margin-top: 0.5em;
}

/* ------------------------------------------------------------------------
   PAINEL "ADICIONADO AO CARRINHO" (`assets/js/painel-carrinho.js`)
   ------------------------------------------------------------------------ */
ul.products li.product.st-painel-carrinho-usado > .added_to_cart {
	display: none;
}

/* A largura da barra de rolagem volta como `padding-right` (JS): sem ela os
   cards refluem. No `body`, `clip`: com o `html` travado o `hidden` dele o
   faria conteiner de rolagem e soltaria os `sticky`. */
html.st-painel-carrinho-aberto {
	overflow: hidden;
}

html.st-painel-carrinho-aberto body {
	overflow: hidden;
	overflow: clip;
}

/* Pilha da folha de filtros: veu 100000, painel 100001. */
.st-painel-carrinho__veu {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background-color: rgba(22, 24, 28, 0.5);
	background-color: color-mix(in srgb, var(--st-text, #16181C) 50%, transparent);
	opacity: 0;
	transition: opacity 0.25s ease-out;
}

.st-painel-carrinho__veu--aberto {
	opacity: 1;
}

.st-painel-carrinho {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 100001;
	display: flex;
	flex-direction: column;
	width: 420px;
	max-width: 100%;
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-text, #16181C);
	box-shadow: -8px 0 24px rgba(22, 24, 28, 0.18);
	box-shadow: -8px 0 24px color-mix(in srgb, var(--st-text, #16181C) 18%, transparent);
	transform: translateX(100%);
	transition: transform 0.25s ease-out;
}

.st-painel-carrinho[hidden],
.st-painel-carrinho__veu[hidden] {
	display: none;
}

/* 2 classes: vence o `translateY` da folha, escrito depois no `@media`. */
.st-painel-carrinho.st-painel-carrinho--aberto {
	transform: none;
}

.st-painel-carrinho:focus {
	outline: none;
}

.st-painel-carrinho__alca {
	display: none;
}

.st-painel-carrinho__topo {
	flex: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 64px;
	padding: 0 0.75rem 0 1.5rem;
	border-bottom: 1px solid var(--st-border, #CCD5E2);
}

.st-painel-carrinho .st-painel-carrinho__titulo {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--st-price, #0B7A2E);
}

.st-painel-carrinho__titulo svg {
	flex: none;
}

/* 2 classes: o inline do Customizer pinta `button:hover` e `a` com (0,1,1). */
.st-painel-carrinho .st-painel-carrinho__fechar,
.st-painel-carrinho .st-painel-carrinho__fechar:hover,
.st-painel-carrinho .st-painel-carrinho__fechar:focus {
	flex: none;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--st-text-muted, #5A6472);
}

.st-painel-carrinho__fechar svg {
	display: block;
	margin: auto;
}

/* `display:contents`: corpo, subtotal e nota viram filhos flex do painel e o
   corpo rola entre o topo e o pe. */
.st-painel-carrinho__conteudo {
	display: contents;
}

.st-painel-carrinho__corpo {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 1.5rem;
}

.st-painel-carrinho .st-painel-carrinho__novo,
.st-painel-carrinho .st-painel-carrinho__lista {
	margin: 0;
	padding: 0;
	list-style: none;
}

.st-painel-carrinho__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0;
	font-size: 0.875rem;
	line-height: 1.35;
}

.st-painel-carrinho__lista .st-painel-carrinho__item {
	border-top: 1px solid var(--st-border, #CCD5E2);
}

.st-painel-carrinho__novo .st-painel-carrinho__item {
	padding: 1rem 0;
}

.st-painel-carrinho__foto {
	flex: none;
	width: 56px;
	height: 56px;
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 6px;
	overflow: hidden;
	background-color: var(--st-bg, #FFFFFF);
}

.st-painel-carrinho__novo .st-painel-carrinho__foto {
	width: 72px;
	height: 72px;
}

.st-painel-carrinho .st-painel-carrinho__foto img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.st-painel-carrinho__nome {
	flex: 1;
	min-width: 0;
}

.st-painel-carrinho__qtd {
	display: block;
	margin-top: 0.125rem;
	font-size: 0.8125rem;
	color: var(--st-text-muted, #5A6472);
}

.st-painel-carrinho__linha-total {
	flex: none;
	font-weight: 700;
	color: var(--st-price, #0B7A2E);
	white-space: nowrap;
}

.st-painel-carrinho__outros {
	border-top: 1px solid var(--st-border, #CCD5E2);
}

.st-painel-carrinho__outros[hidden] {
	display: none;
}

.st-painel-carrinho .st-painel-carrinho__rotulo,
.st-painel-carrinho .st-painel-carrinho__mais {
	margin: 0;
	padding: 1rem 0 0.25rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--st-text-muted, #5A6472);
}

.st-painel-carrinho .st-painel-carrinho__mais {
	padding: 0.75rem 0 1rem;
	border-top: 1px solid var(--st-border, #CCD5E2);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

/* Subtotal, nota e acoes formam o pe sobre `--st-surface`. */
.st-painel-carrinho__subtotal,
.st-painel-carrinho .st-painel-carrinho__nota,
.st-painel-carrinho__acoes {
	flex: none;
	background-color: var(--st-surface, #F2F5F9);
}

.st-painel-carrinho__subtotal {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.5rem 0.25rem;
	border-top: 1px solid var(--st-border, #CCD5E2);
	color: var(--st-text-muted, #5A6472);
}

.st-painel-carrinho__subtotal strong {
	font-size: 1.125rem;
	color: var(--st-text, #16181C);
}

.st-painel-carrinho .st-painel-carrinho__nota {
	margin: 0;
	padding: 0 1.5rem 0.75rem;
	font-size: 0.8125rem;
	color: var(--st-text-muted, #5A6472);
}

.st-painel-carrinho__acoes {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	padding: 0.25rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.st-painel-carrinho .st-painel-carrinho__ir,
.st-painel-carrinho .st-painel-carrinho__ir:hover,
.st-painel-carrinho .st-painel-carrinho__ir:focus,
.st-painel-carrinho .st-painel-carrinho__continuar,
.st-painel-carrinho .st-painel-carrinho__continuar:hover,
.st-painel-carrinho .st-painel-carrinho__continuar:focus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 0 1rem;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
}

.st-painel-carrinho .st-painel-carrinho__ir,
.st-painel-carrinho .st-painel-carrinho__ir:focus {
	border: 0;
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

.st-painel-carrinho .st-painel-carrinho__ir:hover {
	background-color: var(--st-brand-hover, #004A99);
	color: var(--st-brand-contrast, #FFFFFF);
}

.st-painel-carrinho .st-painel-carrinho__continuar,
.st-painel-carrinho .st-painel-carrinho__continuar:focus {
	border: 1px solid var(--st-border, #CCD5E2);
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-text, #16181C);
}

.st-painel-carrinho .st-painel-carrinho__continuar:hover {
	border-color: var(--st-text-muted, #5A6472);
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-text, #16181C);
}

/* Celular: folha de baixo so com o item que entrou. */
@media (max-width: 767px) {
	.st-painel-carrinho {
		top: auto;
		left: 0;
		width: auto;
		max-height: 88vh;
		max-height: 88dvh;
		border-radius: 16px 16px 0 0;
		box-shadow: 0 -8px 24px rgba(22, 24, 28, 0.18);
		box-shadow: 0 -8px 24px color-mix(in srgb, var(--st-text, #16181C) 18%, transparent);
		transform: translateY(100%);
	}

	.st-painel-carrinho__alca {
		display: block;
		flex: none;
		width: 40px;
		height: 4px;
		margin: 8px auto 0;
		border-radius: 2px;
		background-color: var(--st-border, #CCD5E2);
	}

	.st-painel-carrinho__topo {
		min-height: 56px;
		padding-left: 1.25rem;
	}

	.st-painel-carrinho__corpo {
		flex: none;
		padding: 0 1.25rem;
	}

	.st-painel-carrinho .st-painel-carrinho__outros {
		display: none;
	}

	.st-painel-carrinho__subtotal,
	.st-painel-carrinho .st-painel-carrinho__nota,
	.st-painel-carrinho__acoes {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.st-painel-carrinho,
	.st-painel-carrinho__veu {
		transition: none;
	}
}

/* ------------------------------------------------------------------------
   CARD — contagem regressiva da oferta sobre o botao

   A camada vive DENTRO do `<a>` do botao (`inc/contador.php`) e o cobre por
   `inset:0`: a altura acompanha o botao sem par acoplado. Hover (so com
   mouse), foco de teclado no botao ou a classe do `contador.js` (toque)
   revelam o botao. Sem `html.st-contador-js` a camada nao aparece.
   ------------------------------------------------------------------------ */
.site-main > ul.products li.product > .button,
ul.products.st-grade-card li.product > .button {
	position: relative;
}

.site-main > ul.products li.product > .button .st-card__contador,
ul.products.st-grade-card li.product > .button .st-card__contador {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: stretch;
	overflow: hidden;
	box-sizing: border-box;
	border: 2px solid var(--st-accent, #FF6800);
	border-radius: inherit;
	background: var(--st-surface, #F2F7FF);
	color: var(--st-text, #16181C);
	text-transform: none;
	letter-spacing: normal;
	transition: opacity 0.15s ease, visibility 0s linear 0s;
}

.site-main > ul.products li.product > .button .st-card__contador-marca,
ul.products.st-grade-card li.product > .button .st-card__contador-marca {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 2.75rem;
	background: var(--st-accent, #FF6800);
	color: var(--st-accent-contrast, #16181C);
}

.site-main > ul.products li.product > .button .st-card__contador-texto,
ul.products.st-grade-card li.product > .button .st-card__contador-texto {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	line-height: 1.15;
}

.site-main > ul.products li.product > .button .st-card__contador-rotulo,
ul.products.st-grade-card li.product > .button .st-card__contador-rotulo {
	font-size: 0.625rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.site-main > ul.products li.product > .button .st-card__contador-tempo,
ul.products.st-grade-card li.product > .button .st-card__contador-tempo {
	font-size: 0.9375rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

html:not(.st-contador-js) .site-main > ul.products li.product > .button .st-card__contador,
html:not(.st-contador-js) ul.products.st-grade-card li.product > .button .st-card__contador {
	display: none;
}

.site-main > ul.products li.product.st-contador-revelado > .button .st-card__contador,
.site-main > ul.products li.product > .button:focus-visible .st-card__contador,
ul.products.st-grade-card li.product.st-contador-revelado > .button .st-card__contador,
ul.products.st-grade-card li.product > .button:focus-visible .st-card__contador {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease, visibility 0s linear 0.15s;
}

@media (hover: hover) {
	.site-main > ul.products li.product:hover > .button .st-card__contador,
	ul.products.st-grade-card li.product:hover > .button .st-card__contador {
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.15s ease, visibility 0s linear 0.15s;
	}
}

@media screen and ( max-width: 767px ) {
	.site-main > ul.products li.product > .button .st-card__contador-marca,
	ul.products.st-grade-card li.product > .button .st-card__contador-marca {
		flex-basis: 1.75rem;
	}

	.site-main > ul.products li.product > .button .st-card__contador-marca svg,
	ul.products.st-grade-card li.product > .button .st-card__contador-marca svg {
		width: 15px;
		height: 15px;
	}

	.site-main > ul.products li.product > .button .st-card__contador-rotulo,
	ul.products.st-grade-card li.product > .button .st-card__contador-rotulo {
		font-size: 0.625rem;
	}

	.site-main > ul.products li.product > .button .st-card__contador-tempo,
	ul.products.st-grade-card li.product > .button .st-card__contador-tempo {
		font-size: 0.8125rem;
	}
}

/* ------------------------------------------------------------------------
   GRADE DENSA DA LOJA-HOME — a coluna que a sidebar liberou

   Sem sidebar, o `main` da Loja-home ocupa 100% do ink. Colunas calculadas
   para manter o card na faixa da RN-01 (201-266px):

     faixa        | col | card no piso | card no topo
     768-1023     |  3  | 207.08       | ~292
     1024-1199    |  4  | 216.31       | 260.06
     1200-1439    |  5  | 204.25       | 252.05
     >=1440       |  6  | 206.87       | 266.67 (teto do container)

   Goteira 1.25rem (`rem`: medida replicada de outro elemento).
   ⚠️ Escopo `body.home.post-type-archive-product` (allowlist, convencao 14):
   categoria, tag, atributo e busca nao mudam.
   ⚠️ O piso (0,5,2) do `li.product.product` vem do bloco de 1024.
   ------------------------------------------------------------------------ */

@media screen and ( min-width: 768px ) {

	body.home.post-type-archive-product .site-main > ul.products {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}

	/* Sem a contagem, a paginacao encostaria no card: os 24px do celular. */
	body.home.post-type-archive-product .site-main > ul.products ~ .storefront-sorting {
		margin-top: 1.5rem;
	}
}

@media screen and ( min-width: 1024px ) {

	body.home.post-type-archive-product .site-main > ul.products {
		grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
		column-gap: 1.25rem;
	}
}

@media screen and ( min-width: 1200px ) {

	body.home.post-type-archive-product .site-main > ul.products {
		grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
	}
}

@media screen and ( min-width: 1440px ) {

	body.home.post-type-archive-product .site-main > ul.products {
		grid-template-columns: repeat( 6, minmax( 0, 1fr ) );
	}
}

/* ------------------------------------------------------------------------
   CARD — slot 1 (badge % OFF) e slot 6 (bloco de preco).

   RN-01: o preco e o maior salto de peso do card.
   ⚠️ O inline do Customizer do pai pinta `ul.products li.product .price` em
   (0,3,2). Todo seletor de preco aqui vale (0,4,2); sem `li.product` cairia
   para (0,3,1) e perderia em silencio.
   ------------------------------------------------------------------------ */

/* --- Slot 1: badge "% OFF" ----------------------------------------------
   ⚠️ A ancora e o `li`, ja `position:relative` pelo pai (`woocommerce.css`).
   Nao declarar `position` em outro ponto do card: um `relative` no <a>
   roubaria o offsetParent.
   Cor: fundo `--st-accent` com tinta `--st-accent-contrast`, nunca
   `--st-accent-ink` (convencao 11: acento e superficie). */
.site-main > ul.products li.product .st-card__off,
ul.products.st-grade-card li.product .st-card__off {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	padding: 0.35em 0.6em;
	border-radius: 3px;
	/* Fallback = valor da paleta DEFAULT. */
	background: var(--st-accent, #FF6800);
	color: var(--st-accent-contrast, #16181C);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

/* "Oferta!" nativo (variavel/agrupado, sem badge %): mesmo canto e mesma
   pilula do badge, fora do fluxo — em linha, ocuparia uma linha e esticaria
   a fileira inteira. Ancora no `li`, como o badge. */
.site-main > ul.products li.product .onsale,
ul.products.st-grade-card li.product .onsale {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	margin: 0;
	padding: 0.35em 0.6em;
	border: 0;
	border-radius: 3px;
	background: var(--st-accent, #FF6800);
	color: var(--st-accent-contrast, #16181C);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* --- Slot 6: o bloco de preco -------------------------------------------
   O `margin-top:auto` do `.price` (§Card do loop) segue empurrando o
   rodape; aqui tinta, escala e o vao ate o botao (o pai da `1em`). */
.site-main > ul.products li.product .price,
ul.products.st-grade-card li.product .price {
	margin-bottom: 0.5rem;
	color: var(--st-price, #0A7C2F);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
}

/* Preco riscado em linha propria: em linha, a quebra dependeria do tamanho
   do numero.
   ⚠️ `opacity:1` desfaz o `.price del{opacity:.65}` do pai; o esmaecimento
   vem so do token `--st-text-muted`. */
.site-main > ul.products li.product .price .st-card__a-partir,
ul.products.st-grade-card li.product .price .st-card__a-partir,
.site-main > ul.products li.product .price del,
ul.products.st-grade-card li.product .price del {
	display: block;
	margin: 0;
	color: var(--st-text-muted, #515F72);
	font-size: 0.8125rem;
	font-weight: 400;
	opacity: 1;
}

/* ⚠️ Peso declarado, nunca herdado: o pai declara `.price ins{font-weight:400}`.
   ⚠️ `margin-left:0` desfaz o recuo do pai, que indentaria o preco atual com
   o `del` em bloco. */
.site-main > ul.products li.product .price ins,
ul.products.st-grade-card li.product .price ins {
	margin-left: 0;
	color: var(--st-price, #0A7C2F);
	font-weight: 700;
	text-decoration: none;
	background: transparent;
}

/* Linhas "a vista" e "parcelado" (slot 6, partes 2 e 3). */
.site-main > ul.products li.product .st-card__a-vista,
.site-main > ul.products li.product .st-card__parcelado,
ul.products.st-grade-card li.product .st-card__a-vista,
ul.products.st-grade-card li.product .st-card__parcelado,
.site-main > ul.products li.product .st-card__a-vista-vago,
.site-main > ul.products li.product .st-card__parcelado-vago,
ul.products.st-grade-card li.product .st-card__a-vista-vago,
ul.products.st-grade-card li.product .st-card__parcelado-vago {
	display: block;
	color: var(--st-text-muted, #515F72);
	font-size: 0.8125rem;
	line-height: 1.3;
	/* No card de ~149px evita "PIX" ou "juros" sozinho na 2a linha. */
	text-wrap: pretty;
}

/* Parcelado com 2 linhas reservadas em toda largura: quebra conforme o valor
   e, abaixo do `.price`, desalinharia o preco dos vizinhos. Sem clamp: numero
   e valor da parcela nao podem ser cortados.
   ⚠️ 2.6em = 2 x line-height (1.3). */
.site-main > ul.products li.product .st-card__parcelado,
ul.products.st-grade-card li.product .st-card__parcelado,
.site-main > ul.products li.product .st-card__parcelado-vago,
ul.products.st-grade-card li.product .st-card__parcelado-vago {
	min-height: 2.6em;
}

/* Vaga da linha "a vista" ausente: 1 linha no desktop (1.3em = line-height). */
.site-main > ul.products li.product .st-card__a-vista-vago,
ul.products.st-grade-card li.product .st-card__a-vista-vago {
	min-height: 1.3em;
}

/* --- Mobile: a mesma hierarquia, um degrau abaixo ------------------------
   Valores para caber `R$ 2.199,90` em 700 no card de ~149px (viewport 360). */
@media screen and ( max-width: 767px ) {

	.site-main > ul.products li.product .price,
	ul.products.st-grade-card li.product .price {
		font-size: 1.125rem;
	}

	.site-main > ul.products li.product .st-card__off,
	ul.products.st-grade-card li.product .st-card__off {
		font-size: 0.6875rem;
	}

	/* Texto + icone nao cabem no padding de desktop num card de ~149px. */
	.site-main > ul.products li.product > .button,
	ul.products.st-grade-card li.product > .button {
		gap: 0.382em;
		padding: 0.618em 0.5em;
		font-size: 0.6875rem;
	}

	/* Altura reservada da linha "a vista" (mesmo mecanismo do titulo): no
	   mobile a linha "a partir de..." quebra em 2 e, abaixo do `.price`,
	   desalinharia o preco dos vizinhos.
	   ⚠️ 2.6em = 2 x line-height (1.3) da regra base; mudou font-size ou
	   line-height la, recalcular. */
	.site-main > ul.products li.product .st-card__a-vista-vago,
	ul.products.st-grade-card li.product .st-card__a-vista-vago {
		min-height: 2.6em;
	}

	.site-main > ul.products li.product .st-card__a-vista,
	ul.products.st-grade-card li.product .st-card__a-vista {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		min-height: 2.6em;
	}
}

/* ------------------------------------------------------------------------
   CARD — slots 3 (selo), 5 (nota) e 7 (estoque).

   Todo seletor e `.site-main > ul.products li.product ...`: o `>` nao
   alcanca `.related`/`.up-sells`/`.cross-sells` (convencao 17), e
   `li.product` vence o inline do Customizer do pai em (0,3,2).
   ------------------------------------------------------------------------ */

/* --- Slot 3: selo de contexto -------------------------------------------
   Pilula de apoio em `--st-surface`: o acento pertence ao badge % OFF, e
   dois acentos competiriam com o preco.
   ⚠️ `align-self:flex-start`: sem isto o `stretch` do <a> em coluna faz a
   pilula virar faixa de largura total.
   `max-width` + `ellipsis` protegem a largura da coluna; o teto de 42
   caracteres em `inc/card.php` protege contra o texto do lojista. */
.site-main > ul.products li.product .st-card__selo,
ul.products.st-grade-card li.product .st-card__selo {
	align-self: flex-start;
	/* ⚠️ `calc(100% - 1em)`, nao `100%`: com texto longo o selo encostaria nas
	   duas bordas e deixaria de ser pilula. */
	max-width: calc(100% - 1em);
	margin: 0 0 0.35em;
	padding: 0.25em 0.6em;
	border-radius: 3px;
	background: var(--st-surface, #F2F7FF);
	color: var(--st-text, #16181C);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* --- Ranking sobre a foto -----------------------------------------------
   `.st-card__midia` e a caixa posicionada em volta da img; a margem da foto
   passa para ela, senao a pilula ancoraria abaixo da imagem. Herda a pilula
   do slot 3 (fundo `--st-surface`); o acento fica so na tinta.
   ⚠️ O `relative` nunca vai no <a>: roubaria o offsetParent do badge % OFF. */
.site-main > ul.products li.product .st-card__midia,
ul.products.st-grade-card li.product .st-card__midia {
	position: relative;
	display: block;
	flex-shrink: 0;
	margin-bottom: 0.5rem;
}

.site-main > ul.products li.product .st-card__midia img,
ul.products.st-grade-card li.product .st-card__midia img {
	display: block;
	margin-bottom: 0;
}

.site-main > ul.products li.product .st-card__selo--ranking,
ul.products.st-grade-card li.product .st-card__selo--ranking {
	position: absolute;
	right: 6px;
	bottom: 6px;
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	max-width: calc(100% - 12px);
	margin: 0;
	color: var(--st-accent-ink, #B93800);
	font-weight: 700;
	box-shadow: 0 1px 3px rgba(22, 24, 28, 0.18);
}

.site-main > ul.products li.product .st-card__ranking-icone,
ul.products.st-grade-card li.product .st-card__ranking-icone {
	display: none;
	flex-shrink: 0;
	width: 1.2em;
	height: 1.2em;
}

/* --- Slot 5: nota + contagem na MESMA linha ------------------------------
   ⚠️ O `margin-inline` do `.star-rating` tem de ser zerado: o pai da
   `margin:0 auto`, e em flex a margem `auto` absorve todo o espaco livre,
   deixando `justify-content` e `gap` inertes.
   O `margin-bottom` do pai tambem sai: quem espaca o slot e o `.st-card__nota`.
   `center`, nao `baseline`: o `.star-rating` tem `overflow:hidden`, e a linha
   de base dele vira a borda de baixo, o que derruba a contagem. */
.site-main > ul.products li.product .st-card__nota,
ul.products.st-grade-card li.product .st-card__nota {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.35em;
	margin: 0 0 0.4em;
	min-width: 0;
}

.site-main > ul.products li.product .st-card__nota .star-rating,
ul.products.st-grade-card li.product .st-card__nota .star-rating {
	margin-inline: 0;
	margin-bottom: 0;
	flex-shrink: 0;
}

/* ⚠️ Mira o `::before`, NAO o `span`: o glifo das estrelas cheias e o
   pseudo-elemento, e o pai declara a cor direto nele, inline em `wp_head`
   (theme_mod `storefront_accent_color`, roxo do WC por padrao). Cor no `span`
   nao alcancaria o glifo: declaracao vence heranca.
   Especificidade: (0,4,4) contra os (0,1,2) do inline do pai. */
.site-main > ul.products li.product .star-rating span::before,
ul.products.st-grade-card li.product .star-rating span::before {
	color: var(--st-accent-ink, #B93800);
}

/* Estrelas de fundo ("vazias"): o pai nao declara cor, e elas herdariam a
   cor de link do <a>. Mesma familia da estrela cheia. */
.site-main > ul.products li.product .star-rating::before,
ul.products.st-grade-card li.product .star-rating::before {
	color: var(--st-accent-ink, #B93800);
}

/* Produto sem avaliacao: estrelas so de contorno de superficie. */
.site-main > ul.products li.product .st-card__nota--vazia .star-rating::before,
ul.products.st-grade-card li.product .st-card__nota--vazia .star-rating::before {
	color: var(--st-border, #CCD5E2);
}

/* A contagem e `aria-hidden`; o leitor de tela recebe o texto por extenso do
   `.screen-reader-text` irmao. */
.site-main > ul.products li.product .st-card__nota-contagem,
ul.products.st-grade-card li.product .st-card__nota-contagem {
	color: var(--st-text-muted, #515F72);
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
}

/* --- Slot 7: estoque ----------------------------------------------------
   Entre titulo/nota e preco, em todo card.
   Cor declarada: senao herdaria a cor de link do <a>. */
.site-main > ul.products li.product .st-card__estoque,
ul.products.st-grade-card li.product .st-card__estoque {
	display: block;
	margin: 0 0 0.5em;
	color: var(--st-text-muted, #515F72);
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.3;
}

/* Cor so no ponto; o texto herda o muted do slot. */
.site-main > ul.products li.product .st-card__estoque--disponivel::before,
ul.products.st-grade-card li.product .st-card__estoque--disponivel::before {
	content: "";
	display: inline-block;
	width: 0.5em;
	height: 0.5em;
	margin-right: 0.4em;
	border-radius: 50%;
	background: var(--st-price, #0A7C2F);
	vertical-align: 0.08em;
}

/* O unico texto com cor. `--st-accent-ink`, nunca `--st-accent`: o acento
   reprova AA como tinta (convencao 11). */
.site-main > ul.products li.product .st-card__estoque--ultimas,
ul.products.st-grade-card li.product .st-card__estoque--ultimas {
	color: var(--st-accent-ink, #B93800);
	font-weight: 600;
}

/* "Esgotado" sem vermelho: o CTA ja comunica. O esgotado nao tem `.price`:
   o rotulo ocupa o lugar dele, ancorado embaixo, na escala do preco riscado. */
.site-main > ul.products li.product .st-card__estoque--esgotado,
ul.products.st-grade-card li.product .st-card__estoque--esgotado {
	margin: auto 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
}

/* --- Mobile: a mesma hierarquia, um degrau abaixo -----------------------
   No card de ~149px (viewport 360) estrela + "(N)" cabem na linha; por isso a
   contagem visivel e "(N)", nao "N avaliacoes". */
@media screen and ( max-width: 767px ) {

	.site-main > ul.products li.product .st-card__selo,
	ul.products.st-grade-card li.product .st-card__selo {
		font-size: 0.625rem;
	}

	/* Na foto de ~110px o rotulo cobriria 3/4 da largura: o trofeu o substitui
	   na tela, e o recorte (nao `display:none`) mantem o texto para o leitor. */
	.site-main > ul.products li.product .st-card__ranking-icone,
	ul.products.st-grade-card li.product .st-card__ranking-icone {
		display: block;
	}

	.site-main > ul.products li.product .st-card__ranking-rotulo,
	ul.products.st-grade-card li.product .st-card__ranking-rotulo {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		border: 0;
		white-space: nowrap;
	}

	.site-main > ul.products li.product .st-card__nota-contagem,
	.site-main > ul.products li.product .st-card__estoque,
	ul.products.st-grade-card li.product .st-card__nota-contagem,
	ul.products.st-grade-card li.product .st-card__estoque {
		font-size: 0.6875rem;
	}

	.site-main > ul.products li.product .st-card__estoque--esgotado,
	ul.products.st-grade-card li.product .st-card__estoque--esgotado {
		font-size: 0.875rem;
	}
}

/* ========================================================================
   CARROSSEL DOS LOOPS SECUNDARIOS (relacionados e up-sells da PDP, faixas
   de vitrine da Loja-home)

   `st-grade-card` sai do PHP (`storefront_tech_card_secundario_abrir`) so nos
   loops de `STOREFRONT_TECH_LOOPS_SECUNDARIOS`: cross-sells e widgets nunca
   recebem a classe. As regras
   do card acima levam o irmao `ul.products.st-grade-card`.

   Faixa horizontal com scroll-snap nativo: arrasta no toque e rola por teclado
   sem JS; `assets/js/carrossel.js` so acrescenta as setas. Visiveis por vez:
   2 (+ espiada do 3o) / 3 / 4 / 5 / 6, a cadencia da loja-home (card na faixa
   201-266px). `--car-n` e o numero visivel; a conta da largura desconta as
   goteiras inteiras que cabem na janela (`--car-goteiras`).

   O `overflow-x` corta tambem no eixo y: o padding vertical guarda a sombra e
   o `translateY` do hover; a margem de cima o devolve, a de baixo completa o
   respiro ate a secao seguinte (1.5rem).

   Faixa que cabe inteira (`--cabe`, posta pelo JS): no mobile volta a ser a
   grade de 2 da loja, sem vazar e sem espiada que nao leva a lugar nenhum.

   Piso (0,5,2) no `li` pelo `.product.product`: empata com
   `.storefront-full-width-content .site-main ul.products.columns-N li.product`
   do pai e vence por ordem.
   ======================================================================== */
/* Mobile: a faixa vaza ate a borda da tela (`50% - 50vw`) e a espiada do 3o
   card sai da margem lateral, sem encolher o card. */
ul.products.st-grade-card {
	--car-n: 2.15;
	--car-goteiras: 2;
	--car-gap: 1em;
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: none;
	grid-auto-columns: calc( ( 100% - var( --car-goteiras ) * var( --car-gap ) ) / var( --car-n ) );
	gap: var( --car-gap );
	margin: -0.5rem calc( 50% - 50vw ) 0.5rem 0;
	padding: 0.5rem 0 1rem;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

ul.products.st-grade-card::-webkit-scrollbar {
	display: none;
}

ul.products.st-grade-card::before,
ul.products.st-grade-card::after {
	display: none;
}

ul.products.st-grade-card[class*="columns-"] li.product.product {
	width: auto;
	margin: 0;
	min-width: 0;
	float: none;
	scroll-snap-align: start;
}

ul.products.st-grade-card:focus-visible {
	outline: 2px solid var( --st-brand, #0058B6 );
	outline-offset: 2px;
}

@media screen and ( min-width: 768px ) {

	ul.products.st-grade-card {
		--car-n: 3;
		--car-goteiras: 2;
		--car-gap: 1.5em;
		margin-right: 0;
	}
}

@media screen and ( min-width: 1024px ) {

	ul.products.st-grade-card {
		--car-n: 4;
		--car-goteiras: 3;
		--car-gap: 1.25rem;
	}
}

@media screen and ( min-width: 1200px ) {

	ul.products.st-grade-card {
		--car-n: 5;
		--car-goteiras: 4;
	}
}

@media screen and ( min-width: 1440px ) {

	ul.products.st-grade-card {
		--car-n: 6;
		--car-goteiras: 5;
	}
}

/* --- Setas (criadas pelo JS) --------------------------------------------
   `[hidden]` quando tudo cabe na faixa; desativada (ponta da faixa) some.
   Alvo de toque 44px (WCAG 2.5.5).
   Centro na altura da FOTO, nao do card. Com mouse, aparecem no hover ou no
   foco do carrossel; no toque, ficam sempre visiveis. */
.st-carrossel {
	position: relative;
}

.st-carrossel__seta {
	position: absolute;
	top: 30%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var( --st-border, #CCD5E2 );
	border-radius: 50%;
	background: var( --st-bg, #FFFFFF );
	box-shadow: 0 4px 12px rgba( 22, 24, 28, 0.12 );
	color: var( --st-text, #16181C );
	cursor: pointer;
	transform: translateY( -50% );
	transition: opacity 0.15s ease, background-color 0.15s ease;
}

.st-carrossel__seta[hidden] {
	display: none;
}

.st-carrossel__seta--anterior {
	left: -12px;
}

.st-carrossel__seta--proxima {
	right: -12px;
}

/* Chevron desenhado por borda: sem icon-font. */
.st-carrossel__seta::before {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.st-carrossel__seta--anterior::before {
	margin-left: 4px;
	transform: rotate( -135deg );
}

.st-carrossel__seta--proxima::before {
	margin-right: 4px;
	transform: rotate( 45deg );
}

.st-carrossel__seta:hover,
.st-carrossel__seta:focus-visible {
	background: var( --st-surface, #F2F7FF );
}

.st-carrossel__seta:focus-visible {
	outline: 2px solid var( --st-brand, #0058B6 );
	outline-offset: 2px;
}

/* `visibility`, nao `opacity`: o pai forca `button:disabled{opacity:.5 !important}`. */
.st-carrossel__seta:disabled {
	visibility: hidden;
}

@media ( hover: hover ) {

	.st-carrossel__seta {
		opacity: 0;
	}

	.st-carrossel:hover .st-carrossel__seta,
	.st-carrossel:focus-within .st-carrossel__seta {
		opacity: 1;
	}
}

/* No toque o gesto e o arraste e a espiada sinaliza a rolagem: setas so
   cobririam a foto do 1o card e a propria espiada. */
@media screen and ( max-width: 767px ) {

	.st-carrossel__seta {
		display: none;
	}

	ul.products.st-grade-card.st-grade-card--cabe {
		margin-right: 0;
		grid-auto-columns: calc( ( 100% - var( --car-gap ) ) / 2 );
	}
}

/* ========================================================================
   PAGINACAO DO ARQUIVO

   Escopo fechado em `.site-main > .storefront-sorting`: `.woocommerce-pagination`
   tambem sai de `[products paginate]` e `.pagination` sai do blog. Fora da
   barra do arquivo a paginacao segue o desenho do pai.
   ------------------------------------------------------------------------ */

/* O `float:right` do pai vive em `@media(min-width:768px)`; abaixo disso
   voltam o `padding:1em 0` e o `border-width:1px 0` dele. Zerar os tres
   cobre as duas faixas. */
.site-main > .storefront-sorting .woocommerce-pagination {
	float: none;
	width: 100%;
	border: 0;
	padding: 0;
	text-align: center;
}

/* O `text-align:center` repete o do pai de proposito: o alinhamento fica
   nosso e nao depende de update do pai. */

/* A barra de baixo empilha contagem e numeros: sem isto o float da
   `.woocommerce-result-count` passaria por cima dos numeros centralizados.
   `column` em todas as larguras: a regra mobile de `.storefront-sorting` tambem
   e flex, e o mesmo eixo evita que `flex-basis`/`width` mudem de sentido. */
.site-main > .storefront-sorting ~ .storefront-sorting {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2rem;
}

/* Obrigatorio junto do flex acima: o clearfix `::before`/`::after` do pai
   (so em >= 768px) viraria flex item e cobraria o `gap` 3x. */
.site-main > .storefront-sorting ~ .storefront-sorting::before,
.site-main > .storefront-sorting ~ .storefront-sorting::after {
	display: none;
}

/* Alvo de toque de 44px (WCAG 2.5.5) e tinta da paleta.
   `:not(.dots)`: as reticencias (a partir de ~10 paginas) nao sao clicaveis, e
   o fundo transparente que o pai lhes da em (0,4,1) tem de sobreviver.
   `font-size` em `rem` corta a heranca do `.875em` do `.storefront-sorting`. */
.site-main > .storefront-sorting .woocommerce-pagination .page-numbers li .page-numbers:not(.dots) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.5rem;
	border: 1px solid var(--st-border, #CCD5E2);
	background-color: var(--st-surface, #F2F7FF);
	color: var(--st-text, #16181C);
	font-size: var(--st-fs-5, 1rem);
	line-height: 1;
}

/* Flex + `gap`, nao inline-block + margin: o whitespace do HTML de
   `paginate_links()` somava ~2,8px por junta e quebrava a barra em duas
   linhas a 360px. */
.site-main > .storefront-sorting .woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem;
	margin: 0;
}

/* Mesma armadilha: o clearfix `::before`/`::after` do pai em `ul.page-numbers`
   viraria flex item e tiraria os numeros do centro. */
.site-main > .storefront-sorting .woocommerce-pagination ul.page-numbers::before,
.site-main > .storefront-sorting .woocommerce-pagination ul.page-numbers::after {
	display: none;
}

/* Reticencias: so altura e centragem, para alinhar a linha de base com a dos
   numeros; sem fundo, sem borda, sem `min-width`. */
.site-main > .storefront-sorting .woocommerce-pagination .page-numbers li .page-numbers.dots {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0 0.25rem;
}

/* Pagina atual. O inline do Customizer do pai pinta este elemento em (0,4,1);
   este seletor e (0,6,1) para vencer por especificidade, nao por ordem. */
.site-main > .storefront-sorting .woocommerce-pagination .page-numbers li .page-numbers.current {
	border-color: var(--st-brand, #0058B6);
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

/* Duas listas de numeros (`inc/paginacao.php`): a larga a partir de 1024px, a
   estreita abaixo (a 768 a coluna ao lado da sidebar tem ~450px e a larga
   quebra). (0,4,2) vence o `display:flex` do `ul.page-numbers` acima. */
.site-main > .storefront-sorting .woocommerce-pagination ul.page-numbers.st-pag-estreita {
	display: none;
}

@media screen and ( max-width: 1023px ) {

	.site-main > .storefront-sorting .woocommerce-pagination ul.page-numbers.st-pag-larga {
		display: none;
	}

	.site-main > .storefront-sorting .woocommerce-pagination ul.page-numbers.st-pag-estreita {
		display: flex;
	}
}

/* --- "Mostrar N por pagina" ---------------------------------------------
   Select com o mesmo desenho do de ordenacao (regras compartilhadas acima).
   `order:-1`: vem primeiro na barra de baixo em todas as larguras. */
.st-por-pagina {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	order: -1;
	margin: 0;
	color: var(--st-text-muted, #515F72);
	font-size: var(--st-fs-5, 1rem);
}

.st-por-pagina__caixa {
	position: relative;
	width: 5.5rem;
}

/* A partir de 768px a barra de baixo vira linha: seletor a esquerda, numeros a
   direita, contagem centrada no vao entre eles (ou sozinha, no centro). */
@media screen and ( min-width: 768px ) {

	.site-main > .storefront-sorting ~ .storefront-sorting {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.site-main > .storefront-sorting ~ .storefront-sorting .woocommerce-result-count {
		margin-inline: auto;
	}

	.site-main > .storefront-sorting ~ .storefront-sorting .woocommerce-pagination {
		width: auto;
		margin-left: auto;
	}
}

/* O hover NAO usa `--st-brand` de fundo: sob o anel de foco
   `outline:2px solid var(--st-brand)` o contraste cairia a 1:1 e o foco sumiria. */
.site-main > .storefront-sorting .woocommerce-pagination .page-numbers li a.page-numbers:hover {
	border-color: var(--st-text-muted, #515F72);
	background-color: var(--st-bg, #FFFFFF);
}

/* ========================================================================
   ESTADO SEM PRODUTO

   Substitui a `.woocommerce-info` nativa nas listagens vazias
   (`inc/estado-vazio.php`). Pensado para reuso (404, carrinho vazio, busca):
   nao depende de nada do arquivo de produto.

   A `.woocommerce-info` NAO e neutralizada globalmente: ela serve conta,
   carrinho e checkout. Troca-se o callback, nao a classe.
   Tamanhos em `rem`, nunca `em`.
   ------------------------------------------------------------------------ */

/* Repoe o respiro que a `margin-bottom` da caixa nativa dava (2.618rem, o
   ritmo do pai). */
.site-main .st-vazio {
	max-width: 42rem;     /* medida de linha: 45-75 CPL */
	margin: 0 auto 2.618rem;
	padding: 2rem 0 0;
	text-align: center;
}

.site-main .st-vazio__titulo {
	margin: 0 0 0.5rem;
	font-size: var(--st-fs-10, 1.5rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.25;
	color: var(--st-text, #16181C);
}

.site-main .st-vazio__apoio {
	margin: 0 0 1.5rem;
	font-size: var(--st-fs-5, 1rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
	text-wrap: pretty;
}

/* Fora do header a busca cai no default do pai: as regras de busca do header
   sao escopadas em `.site-header .site-search`. */
.site-main .st-vazio__busca {
	margin: 0 0 1.5rem;
}

.site-main .st-vazio__busca form {
	display: flex;
	gap: 0.5rem;
	margin: 0;
}

.site-main .st-vazio__busca .search-field {
	flex: 1 1 auto;
	min-width: 0;   /* sem isto o input nao encolhe e estoura a coluna no mobile */
}

/* Alvo de toque de 44x44 (WCAG 2.5.5); o `.button` do pai nao garante altura. */
.site-main .st-vazio__acao {
	margin: 0;
}

.site-main .st-vazio__busca button[type="submit"],
.site-main .st-vazio__acao .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.5rem 1.25rem;
}

/* O regime `subcategories` (wrapper `.storefront-sorting` vazio com 0 produtos)
   NAO e tratado aqui: o estado nao e alcancavel com as options default. */

/* ========================================================================
   PAGINA DE PRODUTO: galeria, bloco de compra e CTA fixo

   O PHP correspondente vive em `inc/single-produto.php`.
   ======================================================================== */

/* ------------------------------------------------------------------------
   1. A foto principal preenche a coluna — COM TETO NA FONTE

   O prefixo `.storefront-full-width-content` leva o seletor a (0,4,1), que
   empata com o pai e vence por ordem de carga; sem ele fica (0,3,1) e perde.
   ------------------------------------------------------------------------ */
/* `width: auto`, NAO `width: 100%`: a imagem vale o tamanho intrinseco e o
   `max-width:100%` a limita a coluna. Foto grande preenche, foto pequena nao
   estica (o `max-width` resolve contra o wrapper, nunca contra o arquivo). */
.storefront-full-width-content.single-product div.product .woocommerce-product-gallery__image img,
.storefront-full-width-content.single-product div.product .woocommerce-product-gallery__wrapper img {
	width: auto;
	max-width: 100%;
	height: auto;
}

/* O FlexSlider crava height INLINE na .flex-viewport (= altura natural da foto
   no momento do init). Alargar a foto sem isto clipa a imagem. */
.storefront-full-width-content.single-product div.product .flex-viewport {
	height: auto !important;
}

/* ------------------------------------------------------------------------
   2. Miniaturas: UMA linha embaixo da foto, com rolagem lateral

   Qualquer numero de fotos cabe numa linha (em % a 5a quebrava). 64px no
   celular, 80px a partir de 768 — acima do alvo de 44px. O `float` e as % do
   pai saem; o `.st-pdp-topo` no seletor empata com o (0,6,2) do pai e vence
   por ordem.
   ------------------------------------------------------------------------ */
.single-product div.product .woocommerce-product-gallery .flex-viewport {
	margin-bottom: 0.5rem;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::before,
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::after {
	content: none;
}

.single-product div.product .st-pdp-topo .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li,
.single-product div.product .st-pdp-topo .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
	flex: 0 0 64px;
	width: 64px;
	margin: 0;
	float: none;
	scroll-snap-align: start;
}

@media screen and ( min-width: 768px ) {

	.single-product div.product .st-pdp-topo .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li,
	.single-product div.product .st-pdp-topo .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
		flex-basis: 80px;
		width: 80px;
	}
}

/* A thumb do servidor e 1:1 (crop obrigatorio — height vazio e fatal no caminho
   que consome o tamanho como array). A proporcao casa com a da foto aqui. */
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* ------------------------------------------------------------------------
   BLOCO DA PDP NA LARGURA DA LOJA

   O bloco ocupa a largura util do container: `min(1700, clientWidth - 83,77)`.
   A foto nunca passa dos 800px da fonte (`single_image_width`).
   ------------------------------------------------------------------------ */

@media screen and ( min-width: 1500px ) {

	/* Sem teto: o bloco ocupa a largura util do container. */
	.woocommerce-page.storefront-full-width-content.single-product div.product {
		max-width: none;
	}

	/* Teto de nitidez: a fonte tem 800px.
	   `min(100%, 800px)`, nunca `800px` seco: esta regra substitui o
	   `max-width:100%` do bloco 1 (especificidade maior), e os dois tetos — o da
	   coluna e o da fonte — precisam valer juntos. */
	.woocommerce-page.storefront-full-width-content.single-product div.product .woocommerce-product-gallery__image img,
	.woocommerce-page.storefront-full-width-content.single-product div.product .woocommerce-product-gallery__wrapper img {
		max-width: min( 100%, 800px );
	}
}

/* ------------------------------------------------------------------------
   FOTO INTEIRA NA PRIMEIRA TELA

   Lado a lado (>= 768), a altura da foto principal tem teto na janela: 240px
   cobrem cabecalho, breadcrumb e folga ate a dobra; com 2+ fotos, mais 90px
   para a linha de miniaturas (80 + 8 de margem); 360px e o piso para janela
   baixa; 800px e o teto da fonte. Com `width`/`height` em `auto`, os dois
   `max-*` preservam a proporcao — a foto nunca e cortada nem esticada. Fica
   alinhada a esquerda, onde ancora o `.onsale`.

   A lupa do zoom (absolute, `right:.875em` no pai) ficaria na borda da
   COLUNA, longe da foto encolhida: ancora em `left` pela largura da foto,
   `min(coluna, fonte, teto)`.
   O `.zoomImg` nao e afetado: o jquery.zoom poe `max-height:none` inline.

   A largura da coluna da galeria (`teto` no maximo) e do grid do
   `.st-pdp-topo`, mais abaixo.
   ------------------------------------------------------------------------ */
@media screen and ( min-width: 768px ) {

	.woocommerce-page.storefront-full-width-content.single-product div.product {
		--foto-teto: clamp( 360px, 100vh - 240px, 800px );
	}

	/* As miniaturas so nascem no JS do FlexSlider; os slides irmaos ja vem no
	   HTML, entao o teto vale desde o primeiro paint, sem salto de layout. */
	.woocommerce-page.storefront-full-width-content.single-product div.product:has( .woocommerce-product-gallery__image + .woocommerce-product-gallery__image ) {
		--foto-teto: clamp( 360px, 100vh - 330px, 800px );
	}

	.woocommerce-page.storefront-full-width-content.single-product div.product .woocommerce-product-gallery__image img,
	.woocommerce-page.storefront-full-width-content.single-product div.product .woocommerce-product-gallery__wrapper img {
		max-height: var( --foto-teto );
	}

	.woocommerce-page.storefront-full-width-content.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
		right: auto;
		left: calc( min( 100%, 800px, var( --foto-teto ) ) - 2em - 0.875em );
	}
}

/* ------------------------------------------------------------------------
   ZOOM DA FOTO (assets/js/pdp-zoom.js)
   ------------------------------------------------------------------------ */

/* O `!important` vence o tamanho do arquivo que o jquery.zoom crava inline.
   A `.zoomImg` fica sobre o link da foto: sem `pointer-events` o clique nao
   abre o PhotoSwipe. */
.single-product div.product .woocommerce-product-gallery__image .zoomImg {
	width: var( --st-zoom-w, auto ) !important;
	height: auto !important;
	pointer-events: none;
}

@media ( hover: hover ) and ( pointer: fine ) {

	.single-product div.product .woocommerce-product-gallery__image,
	.single-product div.product .woocommerce-product-gallery__image a {
		cursor: zoom-in;
	}
}

/* Os icones do PhotoSwipe sao um sprite branco: o `invert` os escurece. No
   foco a inversao sai, senao o anel de `--st-brand` tambem inverte e cai
   abaixo de 3:1. */
.pswp .pswp__bg {
	background: var( --st-bg );
}

.pswp .pswp__top-bar,
.pswp .pswp__ui--fit .pswp__top-bar,
.pswp .pswp__caption,
.pswp .pswp__ui--fit .pswp__caption {
	background: transparent;
}

.pswp .pswp__caption__center,
.pswp .pswp__error-msg {
	color: var( --st-text );
}

.pswp .pswp__img--placeholder--blank {
	background: var( --st-surface );
}

.pswp .pswp__preloader__donut {
	border-color: var( --st-text );
	border-bottom-color: transparent;
	border-left-color: transparent;
}

.pswp .pswp__counter {
	color: var( --st-text );
	opacity: 1;
}

.pswp .pswp__button {
	filter: invert( 1 );
}

.pswp .pswp__button:focus-visible {
	filter: none;
	background-color: var( --st-text );
}

.pswp .st-pswp-dica {
	position: absolute;
	bottom: 4.5rem;
	left: 50%;
	z-index: 1600;
	margin: 0;
	padding: 0.5rem 1rem;
	transform: translateX( -50% );
	border-radius: 999px;
	background: var( --st-text );
	color: var( --st-bg );
	font-size: 0.875rem;
	white-space: nowrap;
	pointer-events: none;
	animation: st-pswp-dica 4s ease forwards;
}

@keyframes st-pswp-dica {
	0%, 75% { opacity: 1; }
	100% { opacity: 0; }
}

@media ( prefers-reduced-motion: reduce ) {

	.pswp .st-pswp-dica {
		animation: none;
	}
}

/* ------------------------------------------------------------------------
   TOPO DA PDP: galeria | informacoes | caixa de compra

   `.st-pdp-topo` (inc/single-produto.php) envolve selo, galeria,
   `.st-pdp-info` (marca, titulo, nota, Destaques, atalhos, meta) e o
   `.summary`, que vira a caixa de compra.

     < 768      uma coluna: foto, titulo, caixa, Destaques
     768–1279   foto | titulo, caixa, Destaques
     >= 1280    foto | informacoes | caixa (sticky)

   Abaixo de 1280 o `.st-pdp-info` e `display:contents`: os filhos dele se
   intercalam com a caixa por `order`, e o preco fica logo abaixo do titulo.
   A coluna da galeria nunca passa do teto da foto; a sobra vai para
   a coluna seguinte. So o `body.single-product` ganha colunas: o
   `[product_page]` (body de pagina, com sidebar) fica empilhado.
   ------------------------------------------------------------------------ */
.single-product div.product .st-pdp-topo {
	position: relative;
	margin-bottom: 2.617924em;
}

.single-product div.product .st-pdp-topo > .woocommerce-product-gallery,
.single-product div.product .st-pdp-topo > .summary {
	float: none;
	width: auto;
	margin-right: 0;
}

body.single-product div.product .st-pdp-topo > .woocommerce-product-gallery,
body.single-product div.product .st-pdp-topo > .summary {
	margin-bottom: 0;
}

@media screen and ( max-width: 1279px ) {

	body.single-product div.product .st-pdp-topo {
		display: flex;
		flex-direction: column;
		gap: 1.191rem;
	}

	body.single-product div.product .st-pdp-topo > .st-pdp-info {
		display: contents;
	}

	body.single-product .st-pdp-info > * { order: 5; }
	body.single-product .st-pdp-info > .storefront-wc-brands-single-product { order: 1; }
	body.single-product .st-pdp-info > .product_title { order: 2; }
	body.single-product .st-pdp-info > .woocommerce-product-rating { order: 3; }
	body.single-product div.product .st-pdp-topo > .summary { order: 4; }

	/* O vao da coluna e o `gap`; as margens dos filhos somariam a ele. */
	body.single-product div.product .st-pdp-topo .st-pdp-info > * {
		margin-top: 0;
		margin-bottom: 0;
	}

	/* Rotulo e lista formam um bloco so, como na coluna larga. */
	body.single-product div.product .st-pdp-topo .st-pdp-info > .st-pdp-info__rotulo {
		margin-bottom: calc( 0.5rem - 1.191rem );
	}
}

/* Celular: marca, titulo e nota sobem acima da foto. O selo vira item do
   fluxo logo antes da galeria, com altura fixa e margem negativa que devolve
   o espaco dele: fica 1rem dentro da foto sem depender do topo do bloco. */
@media screen and ( max-width: 767px ) {

	body.single-product .st-pdp-info > .storefront-wc-brands-single-product { order: -3; }
	body.single-product .st-pdp-info > .product_title { order: -2; }
	body.single-product .st-pdp-info > .woocommerce-product-rating { order: -1; }

	body.single-product div.product .st-pdp-topo > .onsale {
		position: relative;
		top: auto;
		left: auto;
		align-self: flex-start;
		display: inline-flex;
		align-items: center;
		box-sizing: border-box;
		height: 2rem;
		margin: 1rem 0 calc( -3rem - 1.191rem ) 1rem;
	}
}

@media screen and ( min-width: 768px ) and ( max-width: 1279px ) {

	/* Grid de 2 colunas com as mesmas `order`: a galeria ocupa todas as linhas
	   e a ultima (`1fr`) absorve a sobra quando a foto e mais alta que a
	   coluna — sem ela a sobra se repartiria em vaos entre os blocos. */
	body.single-product div.product .st-pdp-topo {
		display: grid;
		grid-template-columns: min( 39.1304347826%, var( --foto-teto ) ) minmax( 0, 1fr );
		grid-template-rows: repeat( 12, auto ) 1fr;
		column-gap: 4.3478260870%;
		row-gap: 0;
		align-items: start;
	}

	body.single-product div.product .st-pdp-topo > *,
	body.single-product div.product .st-pdp-topo .st-pdp-info > * {
		grid-column: 2;
		margin-bottom: 1.191rem;
	}

	body.single-product div.product .st-pdp-topo > .woocommerce-product-gallery {
		grid-column: 1;
		grid-row: 1 / -1;
		margin-bottom: 0;
	}

	body.single-product div.product .st-pdp-topo > .summary {
		margin-bottom: 1.191rem;
	}

	/* Abspos com posicao no grid ancora na area dele: fica sobre a galeria. */
	body.single-product div.product .st-pdp-topo > .onsale {
		grid-column: 1;
		grid-row: 1;
	}

	body.single-product div.product .st-pdp-topo .st-pdp-info > .st-pdp-info__rotulo {
		margin-bottom: 0.5rem;
	}
}

@media screen and ( min-width: 1280px ) {

	/* Galeria em 1.15 : 1 com a coluna de informacoes, com teto na foto. */
	body.single-product div.product .st-pdp-topo {
		display: grid;
		grid-template-columns:
			min( ( 100% - 80px - 440px ) * 0.5349, var( --foto-teto ) )
			minmax( 0, 1fr )
			440px;
		column-gap: 40px;
		align-items: start;
	}

	body.single-product div.product .st-pdp-topo > * {
		grid-column: 1 / -1;
	}

	body.single-product div.product .st-pdp-topo > .woocommerce-product-gallery,
	body.single-product div.product .st-pdp-topo > .onsale {
		grid-column: 1;
		grid-row: 1;
	}

	body.single-product div.product .st-pdp-topo > .st-pdp-info {
		grid-column: 2;
		grid-row: 1;
		padding-top: 4px;
	}

	/* Sticky so anda se o item nao esticar ate a altura da linha. */
	body.single-product div.product .st-pdp-topo > .summary {
		grid-column: 3;
		grid-row: 1;
		align-self: start;
		position: sticky;
		top: 1rem;
	}

	/* Sticky falha com ancestral `overflow` != `visible` (clearfix do pai). */
	.woocommerce-page.storefront-full-width-content.single-product div.product {
		overflow: visible;
	}

	/* O pai poe `overflow-x:hidden` no `.site`: o `overflow-y` vira `auto` e o
	   `.site` vira um conteiner de rolagem que nunca rola — o sticky para de
	   funcionar. `clip` corta igual sem criar conteiner. */
	body.single-product .site {
		overflow-x: clip;
	}

	.woocommerce-page.storefront-full-width-content.single-product div.product::after {
		content: '';
		display: block;
		clear: both;
	}
}

/* --- Coluna de informacoes ------------------------------------------------ */
.single-product .st-pdp-info .storefront-wc-brands-single-product {
	margin: 0 0 0.618rem;
}

.single-product .st-pdp-info .storefront-wc-brands-single-product img {
	max-height: 30px;
	width: auto;
}

.single-product div.product .st-pdp-info .product_title {
	margin: 0 0 0.618rem;
	font-size: 1.625rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--st-text, #16181C);
}

.single-product div.product .st-pdp-info .woocommerce-product-rating {
	margin: 0 0 1.125rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--st-border, #CCD5E2);
	font-size: 0.875rem;
}

.single-product div.product .st-pdp-info .woocommerce-product-rating .star-rating {
	float: none;
	display: inline-block;
	margin: 0 0.5rem 0 0;
	vertical-align: middle;
}

.single-product div.product .st-pdp-info .woocommerce-product-rating .woocommerce-review-link {
	color: var(--st-text-muted, #515F72);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.single-product div.product .st-pdp-info .woocommerce-product-rating .woocommerce-review-link:hover {
	color: var(--st-brand, #0058B6);
}

.single-product .st-pdp-info .st-pdp-info__rotulo {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--st-text-muted, #515F72);
}

.single-product div.product .st-pdp-info .woocommerce-product-details__short-description {
	margin: 0 0 1.125rem;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--st-text, #16181C);
}

.single-product div.product .st-pdp-info .woocommerce-product-details__short-description > :last-child {
	margin-bottom: 0;
}

.single-product div.product .st-pdp-info .woocommerce-product-details__short-description ul {
	margin: 0;
	list-style: none;
}

.single-product div.product .st-pdp-info .woocommerce-product-details__short-description li {
	position: relative;
	padding: 0.375rem 0 0.375rem 1.625rem;
	border-bottom: 1px dashed var(--st-border, #CCD5E2);
}

.single-product div.product .st-pdp-info .woocommerce-product-details__short-description li::before {
	content: "✓";
	position: absolute;
	left: 0.25rem;
	top: 0.375rem;
	color: var(--st-price, #0A7C2F);
	font-weight: 700;
}

/* --- Caixa de compra --------------------------------------------------- */
/* Frete compacto: o padding do plugin e pintado por ID (secao do frete). */
.single-product div.product .st-pdp-topo > .summary #woocommerce-correios-calculo-de-frete-na-pagina-do-produto {
	padding: 0.75rem;
}

.single-product div.product .st-pdp-topo > .summary #woocommerce-correios-calculo-de-frete-na-pagina-do-produto .col-75 > p {
	margin: 0 0 0.375rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--st-text, #16181C);
}

.single-product div.product .st-pdp-topo > .summary #woocommerce-correios-calculo-de-frete-na-pagina-do-produto input[type="text"] {
	padding: 0.5em 0.75em;
}

/* A tabela de resultado do frete existe vazia ate a cotacao e carrega a
   margem do `table` do pai. */
.single-product div.product .st-pdp-topo > .summary #woocommerce-correios-calculo-de-frete-na-pagina-do-produto .resultado-frete table {
	margin: 0;
}

/* Variavel: o pai da 1em de padding ao `form` e ao bloco do botao, e 1em de
   margem a celula do select; o vao entre blocos passa a ser so o 0.809rem. */
.single-product div.product .st-pdp-topo > .summary form.variations_form {
	padding: 0;
}

.single-product div.product .st-pdp-topo > .summary .woocommerce-variation-add-to-cart {
	padding-top: 0;
}

.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations td.value {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0;
}

/* O pai limita o select a 70%; o link "Limpar" divide a linha com ele. */
.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select {
	flex: 1 1 auto;
	min-width: 0;
	max-width: none;
	min-height: 44px;
	margin: 0;
	border-radius: 6px;
}

.single-product div.product .st-pdp-topo > .summary form.variations_form .reset_variations {
	flex: 0 0 auto;
	margin: 0;
	font-size: 0.8125rem;
}

.single-product div.product .st-pdp-topo > .summary .single_variation_wrap .woocommerce-variation:not(:empty) {
	margin-bottom: 0.809rem;
}

/* Selos fecham a caixa: o respiro de baixo e o padding dela. */
.single-product div.product .st-pdp-topo > .summary .st-selos {
	margin-bottom: 0;
	font-size: 0.875rem;
}

/* Divisor entre o bloco de preco e o de compra. */
.single-product div.product .st-pdp-topo > .summary.entry-summary > .stock {
	padding-top: 0.809rem;
	border-top: 1px solid var(--st-border, #CCD5E2);
}

/* Na caixa os atributos empilham: lado a lado o `<select>` corta
   "Escolha uma opção". */
.single-product div.product .st-pdp-topo > .summary form.cart table.variations {
	grid-template-columns: 1fr;
}

/* ------------------------------------------------------------------------
   Chips de variacao

   `assets/js/variacoes.js` monta os chips e poe `.st-chips-ativo` no form;
   o select segue no DOM como fonte de verdade do WC, so visualmente oculto.
   Sem o script nada disto casa e fica o select.
   ------------------------------------------------------------------------ */
.single-product div.product .st-pdp-topo > .summary form.variations_form.st-chips-ativo table.variations {
	position: relative;
}

.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select.st-chips-select {
	position: absolute;
	width: 1px;
	min-width: 0;
	height: 1px;
	min-height: 0;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations tr.st-chips-linha {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations tr.st-chips-linha th,
.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations tr.st-chips-linha td {
	display: block;
	width: auto;
	padding: 0;
	border: 0;
}

/* "Limpar" sobe para a linha do 1o rotulo: ao lado dos chips ele roubaria a
   largura da fileira. A ancora e a tabela porque o link so existe na ultima
   linha e limpa todos os atributos. */
.single-product div.product .st-pdp-topo > .summary form.variations_form.st-chips-ativo .reset_variations {
	position: absolute;
	top: 0;
	right: 0;
	line-height: 1.5;
}

.single-product div.product .st-pdp-topo > .summary form.variations_form .st-chips {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 0.5rem;
	min-width: 0;
}

.single-product div.product .st-pdp-topo > .summary form.variations_form .st-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	max-width: 100%;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0.5rem 0.875rem;
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 6px;
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-text, #16181C);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	overflow-wrap: anywhere;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.single-product div.product .st-pdp-topo > .summary form.variations_form .st-chip__input {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.single-product div.product .st-pdp-topo > .summary form.variations_form .st-chip:hover {
	border-color: var(--st-text-muted, #515F72);
}

/* Marcado: borda de 2px sem mexer na caixa (a 2a linha e o inset). */
.single-product div.product .st-pdp-topo > .summary form.variations_form .st-chip:has(.st-chip__input:checked) {
	border-color: var(--st-brand, #0058B6);
	box-shadow: inset 0 0 0 1px var(--st-brand, #0058B6);
	background-color: color-mix(in srgb, var(--st-brand, #0058B6) 8%, var(--st-bg, #FFFFFF));
}

/* O radio e invisivel: o anel vai no chip. */
.single-product div.product .st-pdp-topo > .summary form.variations_form .st-chip:has(.st-chip__input:focus-visible) {
	outline: 2px solid var(--st-brand, #0058B6);
	outline-offset: 2px;
}

.single-product div.product .st-pdp-topo > .summary form.variations_form .st-chip--esgotado .st-chip__texto {
	color: var(--st-text-muted, #515F72);
	text-decoration: line-through;
}

.single-product div.product .st-pdp-topo > .summary form.variations_form .st-chip--indisponivel {
	border-style: dashed;
	background-color: transparent;
	color: var(--st-text-muted, #515F72);
	cursor: not-allowed;
}

.single-product div.product .st-pdp-topo > .summary form.variations_form .st-chip--indisponivel:hover {
	border-color: var(--st-border, #CCD5E2);
}

/* Atributo com opcoes demais para chips: lista aberta estilizada, como a da
   barra de ordenacao (Chrome/Edge 135+). A seta em `background-image` sai:
   o base-select desenha o `::picker-icon`. */
@supports (appearance: base-select) {

	.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select:not(.st-chips-select),
	.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select:not(.st-chips-select)::picker(select) {
		appearance: base-select;
	}

	.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select:not(.st-chips-select) {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.5rem;
		padding: 0.5rem 0.75rem;
		background-image: none;
	}

	.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select:not(.st-chips-select)::picker-icon {
		content: "";
		flex: none;
		width: 1rem;
		height: 1rem;
		background-color: var(--st-brand, #0058B6);
		-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4,6 8,10 12,6'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4,6 8,10 12,6'/%3E%3C/svg%3E") center / contain no-repeat;
		transition: rotate 0.15s ease;
	}

	.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select:not(.st-chips-select):open::picker-icon {
		rotate: 180deg;
	}

	/* `max-height`: com dezenas de opcoes a lista rola em vez de passar da tela. */
	.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select:not(.st-chips-select)::picker(select) {
		box-sizing: border-box;
		min-width: anchor-size(width);
		max-height: min(20rem, 60vh);
		margin-top: 4px;
		padding: 0.25rem;
		border: 1px solid var(--st-border, #CCD5E2);
		border-radius: 6px;
		background: var(--st-bg, #FFFFFF);
		box-shadow: 0 8px 24px color-mix(in srgb, var(--st-text, #16181C) 14%, transparent);
	}

	.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select:not(.st-chips-select) option {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		padding: 0.625rem 0.75rem;
		border-radius: 3px;
		font-size: 1rem;
		font-weight: 400;
		color: var(--st-text, #16181C);
		cursor: pointer;
	}

	.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select:not(.st-chips-select) option:hover,
	.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select:not(.st-chips-select) option:focus-visible {
		background: var(--st-surface, #F2F7FF);
		outline: 0;
	}

	.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select:not(.st-chips-select) option:checked {
		font-weight: 600;
		color: var(--st-brand, #0058B6);
	}

	.single-product div.product .st-pdp-topo > .summary form.variations_form table.variations select:not(.st-chips-select) option::checkmark {
		order: 1;
		margin-left: auto;
		color: var(--st-brand, #0058B6);
	}
}

/* ------------------------------------------------------------------------
   3. Preco heroi — a PDP passa a falar a mesma lingua do card

   Mesmo tratamento de preco do card da grade: `--st-price` e peso de heroi.
   O token tem contraste AA sobre `--st-bg` em todas as paletas.
   ------------------------------------------------------------------------ */
.single-product div.product .summary .price {
	color: var(--st-price, #0A7C2F);
	font-weight: 700;
	line-height: 1.2;
}

/* O "de" riscado recua: e ancora de comparacao, nao informacao concorrente. */
.single-product div.product .summary .price del {
	color: var(--st-text-muted, #515F72);
	font-weight: 400;
	font-size: .68em;
	opacity: 1;
}

.single-product div.product .summary .price ins {
	text-decoration: none;
	font-weight: 700;
}

/* ------------------------------------------------------------------------
   4. Bloco de compra: o frete ANTES do botao

   `form.cart` e `.woocommerce-variation-add-to-cart` recebem do pai o clearfix
   `::before`/`::after`; sem `content:none` eles viram flex items e se
   intercalam entre os itens ordenados.

   O grouped fica de fora: o form dele carrega a tabela de produtos, que nao
   pode virar flex item. Por isso o escopo e POSITIVO (`product-type-simple` /
   `product-type-external`), nunca `form.cart:not(.variations_form)`, que
   casaria com o grouped (`cart grouped_form`).

   Reordenar por `order`, nao por PHP: o Melhor Envio escolhe o hook em
   `plugins_loaded` prio 9, antes do tema, e o filtro da option nem dispara
   quando ela nao tem linha no banco.
   ------------------------------------------------------------------------ */
.single-product div.product.product-type-simple form.cart::before,
.single-product div.product.product-type-simple form.cart::after,
.single-product div.product.product-type-external form.cart::before,
.single-product div.product.product-type-external form.cart::after,
.single-product div.product .woocommerce-variation-add-to-cart::before,
.single-product div.product .woocommerce-variation-add-to-cart::after {
	content: none;
}

.single-product div.product.product-type-simple form.cart,
.single-product div.product.product-type-external form.cart,
.single-product div.product .woocommerce-variation-add-to-cart {
	display: flex;
	flex-direction: column;
}

.single-product div.product.product-type-simple form.cart .single_add_to_cart_button,
.single-product div.product.product-type-external form.cart .single_add_to_cart_button,
.single-product div.product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
	order: 2;
}

.single-product div.product.product-type-simple form.cart .containerCalculator,
.single-product div.product.product-type-external form.cart .containerCalculator,
.single-product div.product .woocommerce-variation-add-to-cart .containerCalculator {
	order: 1;
}

/* O `div.quantity` existe mesmo com input `type="hidden"` (o wrapper e do
   template) e traz `float:left` + `margin-right:14px` do pai: no flex a margem
   abriria um vao vazio no bloco de compra. */
.single-product div.product form.cart .quantity {
	float: none;
	margin: 0;
}

/* ------------------------------------------------------------------------
   5. Botao de compra em largura de decisao

   O pai nao declara `width` para `.single_add_to_cart_button` (a largura era
   intrinseca), entao (0,1,0) basta.
   ------------------------------------------------------------------------ */
.single-product div.product .single_add_to_cart_button {
	width: 100%;
}

/* ------------------------------------------------------------------------
   6. Barra fixa de compra — embaixo, e tambem no mobile

   O pai entrega a barra e o JS, ligados por default. Faltam: posicionamento
   abaixo de 768 (la so ha `display:none`, por isso o bloco e redeclarado com
   `display:block`) e a barra no rodape em vez do topo.

   Quem esconde a barra em repouso e o `transform`, nao o `top:0`: ele tem de
   apontar para baixo, senao a barra aparece no 1o paint (o JS do pai so aplica
   as classes de animacao depois). `top:auto` e obrigatorio: o `top:0` do pai
   somado ao `bottom` estica a barra pela viewport.

   `.single-product` leva o seletor a (0,2,0): vence o inline do Customizer
   (0,1,0) e empata com `.admin-bar ...--slideInDown` (`top:32px`), vencendo por
   ordem. As classes `--slideInDown`/`--slideOutUp` sao do JS do pai; troca-se
   so o `animation-name`, sem redefinir os keyframes globais do pai.
   ------------------------------------------------------------------------ */
/* Faixa encostada em `bottom:0`: deslocar 100% da propria altura basta para
   sair da viewport. */
@keyframes st-tech-slideInUp {
	from { transform: translate3d(0, 100%, 0); }
	to   { transform: translate3d(0, 0, 0); }
}

@keyframes st-tech-slideOutDown {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(0, 100%, 0); }
}

.single-product .storefront-sticky-add-to-cart {
	display: block;
	position: fixed;
	top: auto;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99998;
	overflow: hidden;
	padding: 1em;
	box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
	transform: translate3d(0, 100%, 0);
	animation-duration: .5s;
	animation-fill-mode: both;
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-text, #16181C);
}

.single-product .storefront-sticky-add-to-cart--slideInDown {
	animation-name: st-tech-slideInUp;
}

.single-product .storefront-sticky-add-to-cart--slideOutUp {
	animation-name: st-tech-slideOutDown;
}

/* Mobile: a linha flex do pai, desenhada para desktop, quebraria em varias
   linhas e viraria bloco. Ficam foto, titulo em 1 linha, preco e botao; saem
   o rotulo "Voce esta visualizando:" e as estrelas, que forcam a quebra. */
@media screen and ( max-width: 767px ) {

	/* A goteira lateral e a do `.col-full`, a mesma do conteudo; a barra so da o
	   respiro vertical e a area segura do iPhone. */
	.single-product .storefront-sticky-add-to-cart {
		padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
		border-top: 1px solid var(--st-border, #CCD5E2);
		box-shadow: 0 -4px 12px rgba(22, 24, 28, 0.08);
	}

	/* O `display:flex` do pai para este elemento so existe em
	   `@media(min-width:768px)`; abaixo disso o container e `block` e os filhos
	   empilham. */
	.single-product .storefront-sticky-add-to-cart__content {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-start;
		gap: 12px;
	}

	.single-product .storefront-sticky-add-to-cart__content img {
		box-sizing: border-box;
		width: 48px;
		height: 48px;
		max-width: none;
		flex: 0 0 48px;
		margin: 0;
		padding: 2px;
		object-fit: contain;
		border: 1px solid var(--st-border, #CCD5E2);
		border-radius: 8px;
		background-color: var(--st-bg, #FFFFFF);
	}

	.single-product .storefront-sticky-add-to-cart__content-product-info {
		display: flex;
		flex-direction: column;
		gap: 2px;
		flex: 1 1 auto;
		min-width: 0;
	}

	/* O rotulo do pai e um `<span>` que envolve o texto E o `<strong>` do
	   titulo — nao da para esconder o rotulo sem esconder o titulo junto.
	   Entao o `<span>` vira 1 linha truncada e o `font-size: 0` mata o texto
	   solto, com o `<strong>` reacendendo o titulo. */
	.single-product .storefront-sticky-add-to-cart__content-title {
		display: block;
		font-size: 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* As reticencias moram no `<strong>`: no `<span>` de fonte 0 elas somem. */
	.single-product .storefront-sticky-add-to-cart__content-title strong {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: 0.8125rem;
		font-weight: 400;
		line-height: 1.35;
		color: var(--st-text, #16181C);
	}

	/* `nowrap` + ellipsis: o preco de variavel e uma faixa (mais o texto do
	   `screen-reader-text`) e, num container estreito, quebraria em varias
	   linhas e inflaria a barra. */
	.single-product .storefront-sticky-add-to-cart__content-price {
		display: block;
		font-size: 1.0625rem;
		font-weight: 700;
		line-height: 1.25;
		color: var(--st-price, #0A7C2F);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* So o preco atual: o riscado (`del`, `aria-hidden`) tomava a largura e
	   cortava o que vale. O `screen-reader-text` do WC segue lendo os dois. */
	.single-product .storefront-sticky-add-to-cart__content-price del {
		display: none;
	}

	.single-product .storefront-sticky-add-to-cart__content-price ins {
		font-weight: inherit;
		text-decoration: none;
	}

	.single-product .storefront-sticky-add-to-cart__content-price .st-card__a-partir {
		font-size: 0.75rem;
		font-weight: 400;
		color: var(--st-text-muted, #515F72);
	}

	.single-product .storefront-sticky-add-to-cart__content .star-rating {
		display: none;
	}

	.single-product .storefront-sticky-add-to-cart__content-button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 auto;
		width: auto;
		min-width: 0;
		min-height: 44px;
		margin: 0;
		padding: 0 16px;
		font-size: 0.9375rem;
		font-weight: 700;
		white-space: nowrap;
	}
}

/* Abaixo de 375px "a partir de R$ 0.000,00" nao cabe ao lado do botao em 17px. */
@media screen and ( max-width: 374px ) {

	.single-product .storefront-sticky-add-to-cart__content-price {
		font-size: 1rem;
	}
}

/* Reserva o vao da barra fixa compacta no fim da PDP do mobile. */
@media screen and ( max-width: 767px ) {

	/* 8 + 48 + 8 + 1 da borda, mais a area segura: a altura da barra. */
	.single-product {
		padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px));
	}
}

@media screen and ( min-width: 768px ) {

	.single-product {
		padding-bottom: 0;
	}
}

/* ========================================================================
   FATIA 2.3 — RF-03: preco da PDP com Pix

   Com desconto do Pix, `.st-pdp-preco` (de riscado -> Pix heroi -> cartao)
   substitui o `.price` nativo. Sem Pix, o `.price` segue heroi e o parcelado
   vem abaixo dele.
   ======================================================================== */

.single-product div.product .summary.entry-summary > .st-pdp-preco {
	margin: 0 0 0.809rem;
	line-height: 1.25;
}

.single-product div.product .summary.entry-summary > .st-pdp-preco .st-pdp-preco__de {
	margin: 0;
	color: var(--st-text-muted, #515F72);
	font-size: .875rem;
}

.single-product div.product .summary.entry-summary > .st-pdp-preco .st-pdp-preco__de del {
	color: var(--st-danger, #B42318);
	opacity: 1;
}

.single-product div.product .summary.entry-summary > .st-pdp-preco .st-pdp-preco__a-vista {
	margin: .125rem 0 0;
	color: var(--st-price, #0A7C2F);
	font-weight: 700;
	line-height: 1.1;
}

.single-product div.product .summary.entry-summary > .st-pdp-preco .st-pdp-preco__valor {
	display: block;
	font-size: 2rem;
}

.single-product div.product .summary.entry-summary > .st-pdp-preco .st-pdp-preco__rotulo {
	display: block;
	margin-top: .125rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
}

.single-product div.product .summary.entry-summary > .st-pdp-preco .st-pdp-preco__parcelado {
	margin: .625rem 0 0;
}

.single-product div.product .summary.entry-summary > .st-pdp-preco .st-pdp-preco__parcelado strong {
	color: var(--st-text, #16181C);
	font-weight: 700;
}

/* Discreta de proposito: contextualiza, nunca decide. Cinza de texto secundario,
   peso normal, um degrau abaixo do corpo. Vale solta (sem Pix) e dentro do bloco. */
.single-product div.product .summary.entry-summary .st-pdp-preco__parcelado {
	margin-top: 0;
	color: var(--st-text-muted, #515F72);
	font-size: .875rem;
	font-weight: 400;
	line-height: 1.3;
}

/* ========================================================================
   FAIXA DA CAMPANHA NA PDP (`inc/promo-pdp.php`)

   Emitida duas vezes, uma por largura: `.st-promo--caixa` dentro da caixa de
   compra, acima do preco (`order:2`, o preco e 3); `.st-promo--topo` como
   primeiro item do `.st-pdp-topo` no celular, acima da marca (-3). Fora da
   PDP (`[product_page]`, sem `body.single-product`) so a da caixa.
   ======================================================================== */
.st-promo {
	display: flex;
	flex-direction: column;
	gap: var(--st-sp-3, 12px);
	box-sizing: border-box;
	margin: 0;
	padding: var(--st-sp-3, 12px) var(--st-sp-4, 16px);
	border-radius: var(--st-raio-lg, 12px);
	background: var(--st-text, #16181C);
	color: var(--st-surface, #EFF9FD);
	line-height: 1.2;
}

.single-product div.product .summary.entry-summary > .st-promo {
	order: 2;
	margin-bottom: var(--st-sp-4, 16px);
}

.single-product div.product .st-pdp-topo > .st-promo--topo {
	display: none;
}

@media screen and ( max-width: 767px ) {

	body.single-product div.product .st-pdp-topo > .st-promo--topo {
		display: flex;
		order: -4;
	}

	body.single-product div.product .summary.entry-summary > .st-promo--caixa {
		display: none;
	}
}

.st-promo__info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--st-sp-2, 8px) var(--st-sp-3, 12px);
}

.st-promo .st-promo__nome {
	color: var(--st-accent, #FF6800);
	font-size: var(--st-fs-8, 1.25rem);
	font-weight: var(--st-peso-extra, 800);
	letter-spacing: .02em;
	text-decoration: none;
}

.st-promo .st-promo__nome:hover {
	color: var(--st-accent, #FF6800);
	text-decoration: underline;
}

/* O anel padrao e da cor da marca: some no fundo escuro. */
.st-promo .st-promo__nome:focus-visible {
	outline: 2px solid var(--st-surface, #EFF9FD);
	outline-offset: 2px;
}

.st-promo__dados {
	display: flex;
	flex-wrap: wrap;
	gap: var(--st-sp-2, 8px);
}

.st-promo__chip {
	padding: var(--st-sp-1-5, 6px) var(--st-sp-2-5, 10px);
	border-radius: var(--st-raio, 8px);
	font-size: var(--st-fs-3, .875rem);
	font-weight: var(--st-peso-extra, 800);
	line-height: 1.2;
	white-space: nowrap;
}

.st-promo__chip--off {
	background: var(--st-accent, #FF6800);
	color: var(--st-accent-contrast, #16181C);
}

.st-promo__chip--qtd {
	background: var(--st-price, #0A7C2F);
	color: var(--st-price-contrast, #FFFFFF);
}

/* Sem o script o tempo do servidor congelaria. */
.st-promo__tempo {
	display: none;
}

html.st-contador-js .st-promo__tempo {
	display: flex;
	padding-top: var(--st-sp-3, 12px);
	border-top: 1px solid var(--st-text-muted, #49626D);
	border-top-color: color-mix( in srgb, var(--st-surface, #EFF9FD) 25%, transparent );
}

.st-promo__cel {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 0;
}

.st-promo__cel + .st-promo__cel {
	border-left: 1px solid var(--st-text-muted, #49626D);
	border-left-color: color-mix( in srgb, var(--st-surface, #EFF9FD) 25%, transparent );
}

.st-promo__num {
	font-size: var(--st-fs-10, 1.5rem);
	font-weight: var(--st-peso-extra, 800);
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.st-promo__rot {
	color: var(--st-surface, #EFF9FD);
	color: color-mix( in srgb, var(--st-surface, #EFF9FD) 78%, transparent );
	font-size: var(--st-fs-1, .75rem);
}

/* ========================================================================
   TABELA DE PARCELAS NA PDP (`inc/single-produto.php`)

   Caixa do Avise-me (`--st-surface` com borda). Uma coluna: o `.summary` tem
   ~350px e "12x de R$ 1.234,56 (4% de juros)" nao cabe em meia largura.
   ======================================================================== */
.single-product div.product .summary.entry-summary > .st-parcelas {
	margin: 0 0 0.809rem;
	padding: 12px 16px;
	background-color: var(--st-surface, #F2F7FF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 8px;
}

.single-product div.product .st-parcelas__titulo {
	margin: 0 0 8px;
	color: var(--st-text, #16181C);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
}

.single-product div.product .st-parcelas__lista {
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-product div.product .st-parcelas__item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	column-gap: 8px;
	margin: 0;
	padding: 2px 0;
	color: var(--st-text, #16181C);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.single-product div.product .st-parcelas__item + .st-parcelas__item {
	border-top: 1px solid var(--st-border, #CCD5E2);
}

.single-product div.product .st-parcelas__juros {
	color: var(--st-text-muted, #515F72);
}

/* 5+ parcelas: duas colunas, com o lado direito comecando na 7a. */
@media screen and ( min-width: 400px ) {

	.single-product div.product .st-parcelas__lista:has(.st-parcelas__item:nth-child(5)) {
		column-count: 2;
		column-gap: 20px;
	}

	.single-product div.product .st-parcelas__lista:has(.st-parcelas__item:nth-child(5)) .st-parcelas__item {
		break-inside: avoid;
		font-size: 0.75rem;
	}
}

/* ========================================================================
   AVISO DE ESTOQUE NA PDP (RF-05)

   O `<p class="stock">` e do core; texto e classe extra vem de
   `inc/single-produto.php`. Aqui so se resolve a cascata:

   1. O pai pinta `.stock.in-stock`/`.stock.out-of-stock` com hex fixo em
      (0,2,0), folha regular; o escopo abaixo, (0,5,2), vence sem forcar.
   2. O `::before` do pai poe um glifo de icon-font com recuo so em alguns
      estados. `content` (e nao `display`) remove o conteudo de vez; glifo de
      icon-font vira letra solta sob auto-traducao ou falha da webfont.
   3. Escopo POSITIVO (`.product-type-simple`), obrigatorio: o `.summary` tambem
      contem o estoque dos filhos do grouped e da variacao escolhida, que o PHP
      nao trata. Nunca por exclusao.
   4. 14px, o texto auxiliar: o `line-height` do pai resolve contra a fonte do
      elemento, entao o `form.cart` sobe junto; a margem de baixo e `rem`.
   ======================================================================== */
.single-product div.product.product-type-simple .summary p.stock {
	color: var(--st-text-muted, #515F72);
	font-size: 0.875rem;
	font-weight: 400;
}

.single-product div.product.product-type-simple .summary p.stock::before {
	content: none;
}

/* O unico estado com tinta, espelhando o card. `--st-accent-ink` e a versao de
   texto do acento: o `--st-accent` e superficie e reprova AA como tinta.
   Fallback = valor da paleta default, nunca o medido na loja-teste. */
.single-product div.product.product-type-simple .summary p.stock.st-pdp-estoque--ultimas {
	color: var(--st-accent-ink, #B93800);
	font-weight: 600;
}

/* "Esgotado" sem vermelho: o CTA ja some (o `simple.php` nao emite o `<form>`).
   O peso 600 e o unico diferenciador e depende da webfont que o pai carrega;
   sem ela vira sintetico. */
.single-product div.product.product-type-simple .summary p.stock.st-pdp-estoque--esgotado {
	font-weight: 600;
}

/* ========================================================================
   AVISE-ME NA PDP (`inc/avise.php`, `assets/js/avise.js`)

   Ocupa o lugar do botao de compra do esgotado: mesmo botao `.alt` em largura
   de decisao. O `[hidden]` precisa de regra: o `display:grid` do bloco e dos
   forms venceria o atributo.
   ======================================================================== */
.single-product div.product .st-avise {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 16px;
	background-color: var(--st-surface, #F2F7FF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 8px;
}

/* Margem so no visivel: o oculto do variavel nao soma no ritmo da caixa. */
.single-product div.product .st-avise:not([hidden]) {
	margin-bottom: 1.5rem;
}

.single-product div.product .st-avise__pedir,
.single-product div.product .st-avise__inscrito {
	display: grid;
	gap: 12px;
	margin: 0;
}

.single-product div.product .st-avise[hidden],
.single-product div.product .st-avise [hidden] {
	display: none;
}

/* Variacao esgotada: o aviso substitui o botao desabilitado e o frete. */
.single-product div.product form.variations_form.st-avise-ativo .woocommerce-variation-add-to-cart {
	display: none;
}

.single-product div.product .st-avise p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--st-text, #16181C);
}

.single-product div.product .st-avise strong {
	font-weight: 600;
	overflow-wrap: anywhere;
}

.single-product div.product .st-avise .st-avise__botao {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	margin: 0;
	text-align: center;
}

/* So texto: cancelar e a acao secundaria, nunca concorre com a compra. */
.single-product div.product .st-avise .st-avise__cancelar {
	justify-self: start;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--st-brand, #0058B6);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.single-product div.product .st-avise .st-avise__cancelar:hover {
	background: none;
	color: var(--st-brand-hover, #003F9D);
}

/* ========================================================================
   RF-01: ficha de especificacoes tecnicas da PDP

   Tabela do WooCommerce (`single-product/product-attributes.php`, sem
   override), tirada da aba e com moldura propria.

   O pai desenfileira o CSS do WC (`woocommerce_enqueue_styles` vazio): nao ha
   regra do core para `shop_attributes` a vencer, e o empilhamento mobile do
   `woocommerce-smallscreen.css` some junto — o `@media` do fim o repoe.

   `clear:both` e estrutural: a secao vem depois dos floats da galeria e do
   `.summary`, e sem ele sobe por cima deles (o `overflow:hidden` do
   `div.product` cria BFC no pai, nao limpa o irmao).

   Par rotulo/valor sem zebra: separacao por regua; rotulo por peso e cor.
   ======================================================================== */
.single-product .st-specs {
	clear: both;
	margin: 0 0 3.706325903em;
}

/* Titulo de secao, nao de pagina: desce dos 32px herdados para 22,652px, um
   degrau abaixo do preco-heroi, com regua no lugar de peso. */
.single-product .st-specs__titulo {
	margin: 0 0 1.41575em;
	padding-bottom: 0.618em;
	border-bottom: 1px solid var(--st-border, #CCD5E2);
	font-size: 22.652px;
	font-weight: 600;
	color: var(--st-text, #16181C);
}

.single-product .st-specs table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

.single-product .st-specs th,
.single-product .st-specs td {
	padding: 0.809em 0;
	border-bottom: 1px solid var(--st-border, #CCD5E2);
	text-align: left;
	vertical-align: top;
	line-height: 1.5;
}

/* Zebra e fundo de celula vem do inline do Customizer do pai, ate (0,2,4).
   Para vencer sem `!important`, o seletor carrega a classe do core: (0,3,3). */
.single-product .st-specs .woocommerce-product-attributes tbody tr th,
.single-product .st-specs .woocommerce-product-attributes tbody tr td {
	background-color: transparent;
}

.single-product .st-specs th {
	width: 34%;
	padding-right: 1.41575em;
	font-weight: 600;
	color: var(--st-text-muted, #515F72);
}

.single-product .st-specs td {
	color: var(--st-text, #16181C);
}

/* O core passa cada valor por `wpautop()`, entao todo `td` tem um `<p>`; a
   `margin-bottom` de paragrafo do pai abriria a linha. */
.single-product .st-specs td p {
	margin: 0;
	padding: 0;
}

/* Valor que e link (atributo de taxonomia publica) usa a mesma tinta dos
   demais valores; a affordance fica no sublinhado, nao na cor (WCAG 1.4.1).
   Foco e hover voltam a marca. */
.single-product .st-specs td a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* Fallback = `--st-brand` da paleta default, nunca o medido na loja-teste. */
.single-product .st-specs td a:hover,
.single-product .st-specs td a:focus {
	color: var(--st-brand, #0058B6);
}

/* Empilhamento mobile: repoe o `tr{display:block}` do
   `woocommerce-smallscreen.css`, que o pai desenfileira. */
@media (max-width: 767px) {
	.single-product .st-specs table,
	.single-product .st-specs tbody,
	.single-product .st-specs tr,
	.single-product .st-specs th,
	.single-product .st-specs td {
		display: block;
		width: auto;
	}

	.single-product .st-specs tr {
		padding: 0.809em 0;
		border-bottom: 1px solid var(--st-border, #CCD5E2);
	}

	.single-product .st-specs th,
	.single-product .st-specs td {
		padding: 0;
		border-bottom: 0;
	}

	.single-product .st-specs th {
		margin-bottom: 0.191em;
		font-size: 0.875em;
	}
}

/* ========================================================================
   RF-04: avaliacoes e nota da PDP

   Lista, formulario e selo de comprador verificado sao os do WooCommerce, sem
   override. Aqui: o bloco sai da aba para o eixo da pagina, as estrelas vao
   para a paleta e o controle de avaliacao fica tocavel.

   `clear:both` e estrutural: sem descricao a barra de abas some, e sem
   atributo a ficha tambem — esta secao pode ser o unico limpador dos floats da
   galeria e do `.summary`.

   Fora da aba deixam de casar `.woocommerce-tabs .panel h2:first-of-type` e
   `.hentry .entry-content a` do pai: titulo e sublinhado de link sao repostos
   abaixo.

   Estrelas: nunca `.single-product .star-rating` — `.single-product` e classe
   do body e alcancaria relacionados, upsell e a barra fixa; cada regra nomeia
   o ancestral (`.summary` ou `.st-reviews`). Pinta-se o `::before`, nunca o
   `span`: quem pinta e o pseudo, pelo inline do Customizer. `--st-accent-ink`,
   nao `--st-accent`: estrela e tinta.
   ======================================================================== */
.single-product .st-reviews {
	clear: both;
	margin: 0 0 3.706325903em;
}

/* Repoe o degrau tipografico que a regra da aba dava (ver cabecalho). */
.single-product .st-reviews .woocommerce-Reviews-title {
	margin: 0 0 1.41575em;
	padding-bottom: 0.618em;
	border-bottom: 1px solid var(--st-border, #CCD5E2);
	font-size: 22.652px;
	font-weight: 600;
	color: var(--st-text, #16181C);
}

.single-product .st-reviews #comments .commentlist a,
.single-product .st-reviews #review_form_wrapper a {
	text-decoration: underline;
}

/* --- O resumo de nota -----------------------------------------------------
   Media em corpo grande a esquerda, estrelas e contagem ao lado. A media usa
   22,652px, abaixo do preco-heroi. */
.single-product .st-reviews__resumo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.618em 1em;
	margin: 0 0 1.618em;
	padding: 1.191em;
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 3px;
}

.single-product .st-reviews__media {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	color: var(--st-text, #16181C);
}

.single-product .st-reviews__media-escala {
	font-size: 0.5em;
	font-weight: 400;
	color: var(--st-text-muted, #515F72);
}

/* Zera o `margin-inline` do `.star-rating` do pai, que centraliza e
   descolaria a nota da media. */
.single-product .st-reviews__estrelas .star-rating {
	margin: 0;
}

.single-product .st-reviews__contagem {
	margin: 0;
	font-size: 0.875em;
	color: var(--st-text-muted, #515F72);
}

/* --- Estrelas de LEITURA (summary, resumo e lista) ------------------------
   Escopo por ancestral nomeado; ver cabecalho. */
.single-product .summary .star-rating span::before,
.single-product .st-pdp-info .star-rating span::before,
.single-product .st-reviews__estrelas .star-rating span::before,
.single-product .st-reviews .commentlist .star-rating span::before {
	color: var(--st-accent-ink, #B93800);
}

/* As estrelas vazias sao o `::before` do wrapper; sem esta regra herdariam a
   cor do contexto (na lista, a do link). */
.single-product .summary .star-rating::before,
.single-product .st-pdp-info .star-rating::before,
.single-product .st-reviews__estrelas .star-rating::before,
.single-product .st-reviews .commentlist .star-rating::before {
	color: var(--st-border, #CCD5E2);
}

/* A barra fixa repete a nota do produto. Escopo nomeado: `.single-product`
   sozinho alcancaria relacionados e upsell. */
.single-product .storefront-sticky-add-to-cart__content .star-rating span::before {
	color: var(--st-accent-ink, #B93800);
}

.single-product .storefront-sticky-add-to-cart__content .star-rating::before {
	color: var(--st-border, #CCD5E2);
}

/* --- Selo de comprador verificado ----------------------------------------
   Nativo do WC (`review-meta.php`), estilizado como selo.
   ⚠️ Vence `#reviews .commentlist li p.meta .verified` (1,3,2).
   Fundo de token declarado em `inc/palettes.php`: `var()` de token inexistente
   cai sempre no fallback. */
.single-product .st-reviews .commentlist .woocommerce-review__verified {
	display: inline-block;
	margin-left: 0.382em;
	padding: 0.15em 0.5em;
	border-radius: 2px;
	background: var(--st-surface, #F2F7FF);
	font-size: 0.75em;
	font-style: normal;
	font-weight: 600;
	color: var(--st-price, #0A7C2F);
}

/* --- Estado SEM avaliacao — 93,75% das PDPs desta loja --------------------
   A copy e a do core, intocada (troca-la exigiria override); muda so a caixa
   azul do aviso nativo. Nao reusa `.st-vazio`: produto sem avaliacao e estado
   normal de catalogo, nao beco sem saida. */
.single-product .st-reviews .woocommerce-noreviews {
	margin: 0 0 1.618em;
	padding: 1.191em;
	border: 1px dashed var(--st-border, #CCD5E2);
	border-radius: 3px;
	background: none;
	font-size: 1em;
	color: var(--st-text-muted, #515F72);
}

.single-product .st-reviews .woocommerce-noreviews::before {
	content: none;
}

/* --- O formulario --------------------------------------------------------
   O `#respond` do pai traz padding e fundo `rgba(0,0,0,.0125)` em (1,0,0);
   fora da aba vira uma faixa cinza. Troca-se por moldura explicita. */
.single-product .st-reviews #respond {
	padding: 1.191em;
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 3px;
	background: none;
}

.single-product .st-reviews #reply-title {
	display: block;
	margin-bottom: 0.809em;
	font-size: 1.129em;
	font-weight: 600;
}

/* --- 🔴 O controle de avaliacao: alvo de toque e cor ----------------------
   `single-product.js` esconde o `<select id="rating">` e injeta
   `<p class="stars">` com ancoras. O pai dimensiona cada uma em `1em` (16px) e
   pinta o ativo com roxo fixo em tres regras, ate (0,4,2). Aqui: alvo de 44px
   e cor da paleta.
   O `::before` do pai e absoluto, `1em` no canto superior esquerdo: a caixa
   dele cresce junto com o `<a>` e centraliza. */
.single-product .st-reviews p.stars a {
	width: 44px;
	height: 44px;
}

.single-product .st-reviews p.stars a::before {
	width: 44px;
	height: 44px;
	line-height: 44px;
	font-size: 1.25em;
	text-align: center;
}

.single-product .st-reviews p.stars:hover a::before,
.single-product .st-reviews p.stars.selected a.active::before,
.single-product .st-reviews p.stars.selected a:not(.active)::before {
	color: var(--st-accent-ink, #B93800);
}

@media (max-width: 767px) {
	.single-product .st-reviews__resumo {
		gap: 0.382em 0.809em;
	}

	.single-product .st-reviews__media {
		font-size: 27.65px;
	}

	/* O `#respond` do pai ja cai para 1.618em abaixo de 768; aqui o valor e o
	   mesmo do resumo, para as duas molduras casarem. */
	.single-product .st-reviews #respond,
	.single-product .st-reviews__resumo,
	.single-product .st-reviews .woocommerce-noreviews {
		padding: 0.955em;
	}
}

/* ========================================================================
   RF-06: selo de garantia e nota fiscal

   `<ul class="st-selos">` de `inc/single-produto.php`, dentro do `.summary`,
   entre o botao de compra e o SKU.

   Do `ul` do pai neutralizam-se `margin-left:3em` e `list-style:disc`; a
   `margin-bottom` fica (mesmo ritmo dos irmaos no `.summary`).
   Sem tamanho de fonte: margem e `line-height` resolvem contra a fonte do
   elemento. Marcador `✓` Unicode em `::before`, nunca glifo de icon-font.
   Fallback de cor = valor da paleta default, nunca o medido.

   Escopo por `.single-product` sem exigir a classe no body: no
   `[product_page id]` o WC embrulha a saida num `div.single-product`.
   ======================================================================== */
.single-product .summary .st-selos {
	margin: 0 0 1.41575em;
	padding: 0;
	list-style: none;
}

.single-product .summary .st-selos__item {
	position: relative;
	padding-left: 1.5em;
	color: var(--st-text-muted, #515F72);
}

/* O `✓` sai do fluxo (`position:absolute` + `left:0`) para que o texto de 2
   linhas alinhe pela margem do texto, e nao pela do marcador. */
.single-product .summary .st-selos__item::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--st-price, #0A7C2F);
	font-weight: 700;
}

/* ========================================================================
   Carrinho (bloco Gutenberg `woocommerce/cart`, estado COM ITEM)

   `/cart/` e o bloco `wp:woocommerce/cart` (`.wp-block-woocommerce-cart`),
   NAO o shortcode classico: `.woocommerce-cart-form`/`.cart_totals` NAO
   existem no DOM.

   O CSS do bloco vence por ESPECIFICIDADE (seletores de 2-4 classes), nao por
   ordem: cada override que compete com ele leva `!important`. Escopo
   `body.woocommerce-cart` em tudo.

   Layout por `@media` de viewport, nunca pelas classes `is-large`/`is-medium`
   nem pelo `@container` do bloco: a linha do item e um grid proprio em toda
   largura, entao nenhum dos dois modos nativos chega a aparecer.

   Composicao: fundo neutro na pagina; itens e resumo em cartoes brancos. O
   fundo so vale com a tabela de itens no DOM — o carrinho vazio e outra tela.
   Abaixo do bloco, a secao de sugestoes (`inc/carrinho.php`) com a faixa e o
   card da Loja-home.
   ======================================================================== */

body.woocommerce-cart:has(table.wc-block-cart-items) {
	background-color: color-mix(in srgb, var(--st-text, #16181C) 4%, var(--st-bg, #FFFFFF));
}

/* 1. ALINHAMENTO — PAR ACOPLADO: o pai declara, em `@media(min-width:66.4989em)`,
   `.storefront-align-wide.storefront-full-width-content .hentry .entry-content
   .alignwide{margin-left:calc(25% - 25vw);padding-left:1.41575em}` (0,5,0), que
   desalinha o bloco ~21px do H1. O fix mira so o bloco, nunca o `.col-full`
   (compartilhado por header/rodape). */
body.woocommerce-cart .entry-content .wp-block-woocommerce-cart.alignwide {
	margin-left: 0 !important;   /* vence o calc(25% - 25vw) do pai (0,5,0) */
	margin-right: 0 !important;
	max-width: none !important;  /* ocupa a caixa do conteudo, alinhado ao H1 */
	padding-left: 0 !important;  /* o pai poe 1.41575em de padding no alignwide */
	padding-right: 0 !important;
}

/* 2. Titulo — mesma escala do cabecalho de arquivo (`.st-arquivo-header__titulo`).
   PAR ACOPLADO no vao: o pai poe `padding:0 0 5.9968em` em
   `.storefront-full-width-content.woocommerce-cart .entry-header` (0,3,1),
   `@media(min-width:768px)`; mesma especificidade, vence por ORDEM. */
body.woocommerce-cart.storefront-full-width-content .entry-header {
	padding-bottom: 1em;
}

body.woocommerce-cart .hentry .entry-header .entry-title {
	margin: 0;
	text-align: left;
	font-size: var(--st-fs-10, 1.5rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.25;
	color: var(--st-text, #16181C);
}

/* 3. Duas colunas: itens fluidos, resumo de 360px. Abaixo de 1024 o resumo
   desce para baixo dos itens. `display`/`flex-wrap` do layout sao do bloco
   (0,1,0) e do `@container` dele: `!important`. */
body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout {
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start;
	gap: var(--st-sp-6, 24px);
	margin-bottom: 0 !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart__main {
	flex: 1 1 auto;
	width: auto !important;        /* vence `width:65%` do bloco */
	min-width: 0;
	padding: 0 !important;         /* vence o `padding-right` de vao do bloco */
}

body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
	flex: 0 0 360px;
	width: 360px !important;       /* vence `width:35%` do bloco */
}

/* Fixo ao rolar so quando a janela comporta o resumo inteiro (cupom aberto
   + rodape ~ 640px); em tela baixa o CTA nunca fica preso fora dela. */
@media screen and ( min-width: 1024px ) and ( min-height: 760px ) {

	body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
		position: sticky;
		top: 24px;
	}
}

@media screen and ( max-width: 1023px ) {

	body.woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout {
		flex-direction: column !important;
		align-items: stretch;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
		flex-basis: auto;
		width: 100% !important;
	}
}

/* 4. Cartoes. A sombra sai do texto da paleta, nunca de cor literal. */
body.woocommerce-cart table.wc-block-cart-items,
body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
	background-color: var(--st-bg, #FFFFFF) !important;      /* vence `table.wc-block-cart-items{background:none !important}` do bloco */
	border: 1px solid var(--st-border, #CCD5E2) !important;  /* vence o filete do `@container` do bloco */
	border-radius: var(--st-raio-lg, 12px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

/* 5. TABELA → lista de linhas em grid. `table`/`tbody` viram bloco para cada
   `tr` ser um grid proprio; as celulas `product`/`wrap`/`quantity` somem
   (`display:contents`) e nome, preco, stepper e lixeira viram itens do grid da
   linha sem mexer no DOM do React. */
body.woocommerce-cart table.wc-block-cart-items {
	display: block !important;
	width: 100% !important;
	margin: 0;
	overflow: hidden;
	border-spacing: 0;
}

body.woocommerce-cart table.wc-block-cart-items > tbody,
body.woocommerce-cart table.wc-block-cart-items > thead {
	display: block;
}

body.woocommerce-cart table.wc-block-cart-items td,
body.woocommerce-cart table.wc-block-cart-items th {
	border: 0 !important;           /* vence o `border-top` das celulas do `@container` */
	padding: 0 !important;
	background: none;
}

/* Cabecalho da tabela = faixa de rotulos do cartao. */
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header {
	display: grid !important;       /* o bloco o esconde (`display:none`) em container estreito */
	grid-template-columns: 96px minmax(0, 1fr) 168px 150px;
	column-gap: var(--st-sp-5, 20px);
	padding: var(--st-sp-3-5, 14px) var(--st-sp-5, 20px);
	border-bottom: 1px solid var(--st-border, #CCD5E2);
	font-size: var(--st-fs-1, 0.75rem);
	font-weight: var(--st-peso-semi, 600);
	letter-spacing: 0.04em;
	color: var(--st-text-muted, #515F72);
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header-image {
	grid-column: 1 / 3;
	width: auto !important;
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header-product {
	display: none;
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header-total {
	grid-column: 4;
	width: auto !important;
	text-align: right;
}

/* Linha: foto | nome + preco unitario | quantidade | total. As 5 faixas
   (1fr nas pontas) centralizam o texto contra a foto. */
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row {
	display: grid !important;
	grid-template-columns: 96px minmax(0, 1fr) 168px 150px !important;
	grid-template-rows: 1fr auto auto auto auto 1fr;
	column-gap: var(--st-sp-5, 20px) !important;
	row-gap: var(--st-sp-1, 4px);
	padding: var(--st-sp-5, 20px) !important;
	border-bottom: 1px solid var(--st-border, #CCD5E2) !important;
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row:last-child {
	border-bottom: 0 !important;
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__product,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__wrap {
	display: contents !important;
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
	grid-column: 1 !important;
	grid-row: 1 / -1 !important;
	align-self: center;
	width: 96px;
}

/* `max-width` junto do `width`: os dois se combinam (o menor vence). */
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
	display: block;
	width: 96px !important;
	max-width: 96px !important;
	height: 96px;
	object-fit: contain;
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-bg, #FFFFFF);
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
	grid-column: 2;
	grid-row: 2;
	max-width: none;
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.35;
	color: var(--st-text, #16181C);
	text-decoration: none !important;  /* vence `.hentry .entry-content a` do pai (0,3,0) */
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name:hover {
	color: var(--st-brand, #0058B6);
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices {
	grid-column: 2;
	grid-row: 3;
	font-size: var(--st-fs-2, 0.8125rem);
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices .wc-block-components-product-price__value,
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices del {
	color: var(--st-text-muted, #515F72);
	font-weight: var(--st-peso-normal, 400);
}

/* Selo de encomenda/ultimas unidades: filho condicional do `wrap`, entre o
   nome e o preco no DOM. Sem posicao propria, a auto-colocacao do grid o
   jogaria na primeira celula livre. */
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__wrap > .wc-block-components-product-badge {
	grid-column: 2;
	grid-row: 4;
	justify-self: start;
	margin: 2px 0 0;
	padding: 2px var(--st-sp-2, 8px);
	border: 1px solid var(--st-accent-ink, #B93800);
	border-radius: var(--st-raio-pilula, 999px);
	background: none;
	color: var(--st-accent-ink, #B93800);
	font-size: var(--st-fs-1, 0.75rem);
	font-weight: var(--st-peso-semi, 600);
	text-transform: none;
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata {
	grid-column: 2;
	grid-row: 5;
	margin: 0;
	font-size: var(--st-fs-2, 0.8125rem);
	color: var(--st-text-muted, #515F72);
}

/* Descricao curta fora; metadados de variacao (mesmo wrapper) ficam. */
body.woocommerce-cart .wc-block-components-product-metadata__description {
	display: none;
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
	grid-column: 3 !important;
	grid-row: 1 / -1 !important;
	align-self: center;
	display: flex !important;
	align-items: center;
	gap: var(--st-sp-2, 8px) !important;
	padding: 0 !important;
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
	grid-column: 4 !important;
	grid-row: 1 / -1 !important;
	align-self: center;
	display: block !important;
	text-align: right;
}

body.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: var(--st-sp-1-5, 6px);
}

/* Total da LINHA no verde de preco (RN-01): e o maior peso da linha. */
body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price__value {
	font-size: var(--st-fs-8, 1.25rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.2;
	color: var(--st-price, #0A7C2F);
}

body.woocommerce-cart .wc-block-cart-item__total .wc-block-components-sale-badge {
	margin: 0;
	padding: 2px var(--st-sp-2, 8px);
	border: 0;
	border-radius: var(--st-raio-pilula, 999px);
	background-color: color-mix(in srgb, var(--st-price, #0A7C2F) 8%, var(--st-bg, #FFFFFF));
	color: var(--st-price, #0A7C2F);
	font-size: var(--st-fs-1, 0.75rem);
	font-weight: var(--st-peso-semi, 600);
	text-transform: none;
	white-space: nowrap;
}

/* 6. Stepper em pilula: − | n | +. A ordem visual e por `order` (no DOM o
   input vem primeiro). */
body.woocommerce-cart .wc-block-components-quantity-selector {
	display: inline-flex !important;
	align-items: stretch;
	width: 120px !important;
	height: 40px;
	margin: 0 !important;
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-bg, #FFFFFF);
}

body.woocommerce-cart .wc-block-components-quantity-selector::after {
	display: none;                   /* filete de foco do bloco; o anel fica no `:focus-within` */
}

body.woocommerce-cart .wc-block-components-quantity-selector:focus-within {
	border-color: var(--st-brand, #0058B6);
}

body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--minus { order: 1; }
body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input       { order: 2; }
body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--plus  { order: 3; }

body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	flex: 0 0 40px;
	min-width: 40px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--st-brand, #0058B6) !important;
	font-size: var(--st-fs-8, 1.25rem) !important;
	font-weight: var(--st-peso-semi, 600);
	line-height: 1;
	opacity: 1 !important;
	cursor: pointer;
}

body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--minus {
	border-radius: 7px 0 0 7px !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--plus {
	border-radius: 0 7px 7px 0 !important;
}

/* Anel por DENTRO da pilula: com `offset` positivo ele cairia sobre o vizinho
   e sobre a borda, e os tres controles pareceriam um so. */
body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus-visible,
body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input:focus-visible {
	outline: 2px solid var(--st-brand, #0058B6);
	outline-offset: -2px;
}

body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover:not(:disabled) {
	background-color: var(--st-surface, #F2F7FF) !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled {
	color: var(--st-border, #CCD5E2) !important;
	cursor: default;
}

body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
	flex: 1 1 auto;
	width: 40px !important;
	min-width: 0;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--st-text, #16181C);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-negrito, 700);
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

body.woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-outer-spin-button,
body.woocommerce-cart .wc-block-components-quantity-selector__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Lixeira: botao quadrado, vermelho de perigo so na intencao. */
body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__remove-link {
	display: inline-flex !important;   /* o bloco a esconde em container estreito */
	align-items: center;
	justify-content: center;
	width: 40px !important;
	height: 40px !important;
	border-radius: var(--st-raio, 8px) !important;
	color: var(--st-text-muted, #515F72) !important;
	text-decoration: none !important;
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__remove-link:hover {
	color: var(--st-danger, #B42318) !important;
	background-color: color-mix(in srgb, var(--st-danger, #B42318) 8%, var(--st-bg, #FFFFFF)) !important;
}

body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__remove-link svg {
	width: 22px;
	height: 22px;
}

/* Faixa intermediaria (itens estreitos ao lado do resumo, ou tablet): a
   quantidade desce para baixo do preco unitario e o total fica na ponta. */
@media screen and ( min-width: 768px ) and ( max-width: 1279px ) {

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header,
	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row {
		grid-template-columns: 96px minmax(0, 1fr) 150px !important;
	}

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header-total {
		grid-column: 3;
	}

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row {
		grid-template-rows: 1fr auto auto auto auto auto 1fr;
	}

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
		grid-column: 2 !important;
		grid-row: 6 !important;
		margin-top: var(--st-sp-2, 8px);
	}

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
		grid-column: 3 !important;
	}
}

/* 7. Celular e tablet estreito: foto | conteudo; o total desce para baixo do
   preco unitario e o stepper vai para o pe, com a lixeira na ponta. */
@media screen and ( max-width: 767px ) {

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__header {
		display: none !important;
	}

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row {
		grid-template-columns: 80px minmax(0, 1fr) !important;
		grid-template-rows: auto;
		column-gap: var(--st-sp-3-5, 14px) !important;
		padding: var(--st-sp-4, 16px) !important;
	}

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image {
		grid-row: 1 / 6 !important;
		align-self: start;
		width: 80px;
	}

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
		width: 80px !important;
		max-width: 80px !important;
		height: 80px;
	}

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name { grid-row: 1; }
	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices { grid-row: 2; }
	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__wrap > .wc-block-components-product-badge { grid-row: 3; }
	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-metadata { grid-row: 4; }

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
		grid-column: 2 !important;
		grid-row: 5 !important;
		align-self: start;
		text-align: left;
	}

	body.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--st-sp-1, 4px) var(--st-sp-2, 8px);
	}

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
		grid-column: 1 / -1 !important;
		grid-row: 6 !important;
		justify-content: space-between;
		margin-top: var(--st-sp-2, 8px);
		padding-top: var(--st-sp-3, 12px) !important;
		border-top: 1px dashed var(--st-border, #CCD5E2);
	}

	/* Alvo de toque >= 44px so no celular; no desktop a densidade fica. */
	/* A borda de 1px fica fora do alvo: a pilula mede 46 para o botao medir 44. */
	body.woocommerce-cart .wc-block-components-quantity-selector {
		width: 134px !important;
		height: 46px;
	}

	body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
		flex-basis: 44px;
		min-width: 44px;
		min-height: 44px;
	}

	body.woocommerce-cart table.wc-block-cart-items .wc-block-cart-item__remove-link {
		width: 44px !important;
		height: 44px !important;
	}
}

/* 8. Sugestoes ("Combina com seu carrinho"): faixa e card sao os da
   Loja-home (`ul.products.st-grade-card`); aqui so o vao ate o carrinho. A
   secao congela no 1o paint (fora do React): some quando o carrinho esvazia. */
body.woocommerce-cart .st-vitrine--carrinho {
	margin-top: 40px;
}

body.woocommerce-cart .wp-block-woocommerce-cart:has(.wp-block-woocommerce-empty-cart-block) ~ .st-vitrine--carrinho {
	display: none;
}

/* 8b. Carrinho vazio (`inc/carrinho.php`): a composicao `.st-vazio` da
   listagem sem produto com um icone de carrinho, e a faixa "Ofertas" da
   Loja-home abaixo. */
:is(body.woocommerce-cart .st-vazio--carrinho, body.error404 .st-vazio--404)::before {
	content: "";
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	background-color: var(--st-text-muted, #515F72);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 10.2a1.5 1.5 0 0 0 1.5 1.1h8.4a1.5 1.5 0 0 0 1.5-1.1L20.5 8H6.2'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.25'/%3E%3Ccircle cx='17' cy='19.5' r='1.25'/%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='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 10.2a1.5 1.5 0 0 0 1.5 1.1h8.4a1.5 1.5 0 0 0 1.5-1.1L20.5 8H6.2'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.25'/%3E%3Ccircle cx='17' cy='19.5' r='1.25'/%3E%3C/svg%3E") center / contain no-repeat;
}

:is(body.woocommerce-cart .st-vitrine--carrinho-vazio, body.error404 .st-vitrine--404) {
	margin-top: 1rem;
}

/* 9. Resumo do pedido. */
body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
	padding: var(--st-sp-6, 24px) !important;
}

body.woocommerce-cart .wc-block-cart__totals-title {
	display: flex !important;          /* o bloco o esconde em container estreito */
	align-items: center;
	gap: var(--st-sp-2, 8px);
	margin: 0 0 var(--st-sp-1, 4px) !important;
	padding: 0 0 var(--st-sp-4, 16px) !important;
	border-bottom: 1px solid var(--st-border, #CCD5E2);
	font-size: var(--st-fs-7, 1.125rem) !important;
	font-weight: var(--st-peso-negrito, 700) !important;
	text-transform: none !important;
	letter-spacing: 0;
	color: var(--st-text, #16181C);
}

/* Icone de recibo por `mask`: pinta com a cor de marca da paleta. */
body.woocommerce-cart .wc-block-cart__totals-title::before {
	content: "";
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	background-color: var(--st-brand, #0058B6);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14v18l-3-2-2 2-2-2-2 2-2-2-3 2z'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h3'/%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='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14v18l-3-2-2 2-2-2-2 2-2-2-3 2z'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h3'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper {
	padding: var(--st-sp-3-5, 14px) 0 !important;
	border-top: 1px solid var(--st-border, #CCD5E2) !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper:first-of-type,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-cart__totals-title + .wc-block-components-totals-wrapper {
	border-top: 0 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-totals-block {
	padding: 0 !important;          /* o vao entre linhas ja e o padding de cada `totals-wrapper` */
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-item__description:empty {
	display: none;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-item {
	font-size: var(--st-fs-4, 0.9375rem);
	color: var(--st-text-muted, #515F72);
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-item__value strong {
	color: var(--st-text, #16181C);
	font-weight: var(--st-peso-semi, 600);
	text-transform: none;
}

/* TOTAL geral em tinta de texto, nao verde-preco: o total nao afirma meio de
   pagamento. Alvo: o valor do RODAPE (`totals-footer-item`), nunca o de LINHA. */
body.woocommerce-cart .wc-block-components-totals-footer-item {
	align-items: baseline;
	margin-top: 0 !important;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-negrito, 700);
	color: var(--st-text, #16181C);
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--st-text, #16181C);
	font-size: var(--st-fs-12, 1.75rem);
	font-weight: var(--st-peso-extra, 800);
	line-height: 1.1;
}

/* Cupom: gatilho do accordion e botao APLICAR (`__button`, so existe
   expandido) na cor da marca. */
body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
	min-height: 44px;
	margin: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	display: flex !important;
	align-items: center;
	color: var(--st-brand, #0058B6);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-semi, 600);
}

body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button-icon {
	top: 50% !important;
	transform: translateY(-50%);
	fill: currentColor;
}

body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"] .wc-block-components-panel__button-icon {
	transform: translateY(-50%) rotate(180deg);
}

body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-text-input input {
	border: 1px solid var(--st-border, #CCD5E2) !important;
	border-radius: var(--st-raio, 8px) !important;
}

body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-text-input input:focus {
	border-color: var(--st-brand, #0058B6) !important;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button {
	background-color: var(--st-brand, #0058B6) !important;  /* nasce #333 no bloco */
	color: var(--st-brand-contrast, #FFFFFF) !important;
	border-radius: var(--st-raio, 8px) !important;
	font-weight: var(--st-peso-semi, 600);
}

/* 10. CTA "Finalizar Compra" — `<a>`, NAO `.button`: nao herda `.button.alt`.
   Nasce `#333` (bloco) e sublinhado (`.hentry .entry-content a` do pai, 0,3,0). */
body.woocommerce-cart .wc-block-cart__submit {
	margin: var(--st-sp-2, 8px) 0 0 !important;
}

body.woocommerce-cart .wc-block-cart__submit-button {
	min-height: 52px;
	background-color: var(--st-brand, #0058B6) !important;  /* vence #333 do bloco (.contained) */
	color: var(--st-brand-contrast, #FFFFFF) !important;
	border-radius: var(--st-raio, 8px) !important;
	font-size: var(--st-fs-6, 1.0625rem) !important;
	font-weight: var(--st-peso-negrito, 700);
	text-decoration: none !important;                       /* vence `.hentry .entry-content a` (0,3,0) */
	box-shadow: none !important;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:focus {
	background-color: var(--st-brand-hover, #003F9D) !important;
	color: var(--st-brand-contrast, #FFFFFF) !important;
}

body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text {
	display: inline-flex;
	align-items: center;
	gap: var(--st-sp-2, 8px);
}

/* Cadeado por `mask` em `currentColor`: acompanha a tinta do botao. */
body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text::before {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%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='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Barra fixa NATIVA do CTA ate 782px (o JS do bloco liga `--sticky` ao rolar;
   a sombra e o `::before` do bloco). */
body.woocommerce-cart .wc-block-cart__submit-container--sticky {
	padding: var(--st-sp-3, 12px) var(--st-sp-4, 16px) !important;
	border-top: 1px solid var(--st-border, #CCD5E2);
}

/* 11. Rodape do resumo (`inc/carrinho.php`): Continuar comprando + selos. */
body.woocommerce-cart .st-carrinho-rodape {
	margin-top: var(--st-sp-1, 4px);
}

/* No 1o paint o rodape vem dentro do skeleton (inclusive com o carrinho vazio). */
body.woocommerce-cart .wp-block-woocommerce-cart.is-loading .st-carrinho-rodape {
	visibility: hidden;
}

body.woocommerce-cart .st-carrinho-continuar {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	color: var(--st-brand, #0058B6);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-semi, 600);
	text-decoration: none !important;  /* vence `.hentry .entry-content a` do pai (0,3,0) */
}

body.woocommerce-cart .st-carrinho-continuar:hover {
	text-decoration: underline !important;
}

body.woocommerce-cart .st-carrinho-rodape .st-selos {
	margin: var(--st-sp-2, 8px) 0 0;
	padding: var(--st-sp-4, 16px) 0 0;
	border-top: 1px solid var(--st-border, #CCD5E2);
	list-style: none;
}

body.woocommerce-cart .st-carrinho-rodape .st-selos__item {
	position: relative;
	padding-left: 1.5em;
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

body.woocommerce-cart .st-carrinho-rodape .st-selos__item + .st-selos__item {
	margin-top: var(--st-sp-1, 4px);
}

body.woocommerce-cart .st-carrinho-rodape .st-selos__item::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--st-price, #0A7C2F);
	font-weight: var(--st-peso-negrito, 700);
}

/* ========================================================================
   Checkout FECHADO — header e rodape

   Escopo: `body.woocommerce-checkout:not(.woocommerce-order-received)`, as
   classes que o `saas_loja_checkout_fechado()` do nucleo le. O header mantem
   so `.site-branding` e o carrinho; o carrinho fica visivel tambem no mobile:
   e o unico caminho de volta para corrigir o pedido, ja que a barra handheld
   tambem sai aqui. Formulario, trilha e cartoes estao no CSS do nucleo.
   ======================================================================== */

/* 1. Header fechado — allowlist do que FICA (branding + carrinho). O cluster
   `.st-header-actions` (Entrar/Ajuda) sai: convida a deixar o fluxo. */
body.woocommerce-checkout:not(.woocommerce-order-received) .site-header .site-search,
body.woocommerce-checkout:not(.woocommerce-order-received) .site-header .st-header-actions,
body.woocommerce-checkout:not(.woocommerce-order-received) .site-header .secondary-navigation,
body.woocommerce-checkout:not(.woocommerce-order-received) .site-header .storefront-primary-navigation,
body.woocommerce-checkout:not(.woocommerce-order-received) .header-widget-region,
body.woocommerce-checkout:not(.woocommerce-order-received) a.skip-link[href="#site-navigation"] {
	display: none;
}

/* Sem a busca em flex:1, nada empurra o carrinho: ele encosta a direita. */
body.woocommerce-checkout:not(.woocommerce-order-received) .site-header .st-header-carrinho {
	margin-left: auto;
}

/* 2. Rodape fechado — so a linha de copyright/privacidade fica. */
body.woocommerce-checkout:not(.woocommerce-order-received) .storefront-handheld-footer-bar {
	display: none;
}

/* 3. No mobile o carrinho e o mesmo icone das outras rotas; sem o ☰ (a nav
   sai), o branding volta a encostar na goteira. */
@media (max-width: 767px) {

	/* A branding divide a linha com o carrinho: reserva o espaco e trunca com
	   reticencias em vez de sobrepor (titulo de qualquer tamanho). */
	body.woocommerce-checkout:not(.woocommerce-order-received) .site-header .site-branding {
		margin-left: 0; /* sem o ☰ (a nav sai no checkout fechado) */
		max-width: calc(100% - 150px);
		overflow: hidden;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .site-header .site-branding .site-title a {
		display: block;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .site-header .site-branding .site-description {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

/* "Compra segura": centro do header, so com largura para nao encostar na marca. */
body.woocommerce-checkout:not(.woocommerce-order-received) .site-header .st-ck-seguro {
	display: none;
}

@media (min-width: 1024px) {

	body.woocommerce-checkout:not(.woocommerce-order-received) .site-header .col-full {
		position: relative;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .site-header .st-ck-seguro {
		display: inline-flex;
		align-items: center;
		gap: var(--st-sp-1-5, 6px);
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		font-size: var(--st-fs-3, 0.875rem);
		font-weight: var(--st-peso-semi, 600);
		color: var(--st-brand-contrast, #FFFFFF);
	}
}

/* ========================================================================
   Busca do endereco pelo CEP (checkout e editar endereco)
   ======================================================================== */

.st-cep-status {
	display: block;
	margin-top: var(--st-sp-1, 4px);
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.4;
	color: var(--st-text-muted, #5B6472);
}

/* ========================================================================
   Campos opcionais recolhidos e CPF conferido (checkout e editar endereco)
   ======================================================================== */

/* Coluna alinhada pelo pe: o link fica na altura do campo vizinho do par. */
.form-row.st-recolhido {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.form-row.st-recolhido > label,
.form-row.st-recolhido > .woocommerce-input-wrapper {
	display: none;
}

.form-row .st-revelar {
	align-self: flex-start;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: var(--st-brand, #0058B6);
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-semi, 600);
	text-decoration: underline;
	cursor: pointer;
}

.form-row .st-revelar:hover {
	background: none;
	color: var(--st-brand-hover, #003F9D);
}

.woocommerce-additional-fields.st-notas > h3 {
	display: none;
}

:is(body.woocommerce-checkout, body.st-conta-endereco-form) .form-row .checkout-inline-error-message {
	margin: var(--st-sp-1, 4px) 0 0;
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.4;
	color: var(--st-danger, #B42318);
}

/* Telefone e Celular sao par; o que sobra sozinho (o outro desligado no WC ou
   no Brazilian Market) ocupa a linha inteira. */
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper:not(:has(#billing_phone_field)) #billing_cellphone_field,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper:not(:has(#billing_cellphone_field)) #billing_phone_field,
body.st-conta-endereco-form .woocommerce-address-fields__field-wrapper:not(:has(#billing_phone_field)) #billing_cellphone_field,
body.st-conta-endereco-form .woocommerce-address-fields__field-wrapper:not(:has(#billing_cellphone_field)) #billing_phone_field {
	grid-column: 1 / -1;
}

/* ========================================================================
   Personalidade da PDP (linguagem tech, densidade, cara)

   Vocabulario de card da PDP: fundo `--st-surface`/`--st-bg`, contorno
   `--st-border`, raio 8px, sombra sutil; `--st-brand` so como ACENTO (barra
   vertical de secao, thumb ativa). Nenhuma cor fora das paletas (RN-07).
   ======================================================================== */

/* ------------------------------------------------------------------------
   1b. .summary vira CARD em todos os breakpoints

   Fundo `--st-bg`, nao surface: o card ja e o foco visual da tela.
   ------------------------------------------------------------------------ */
.woocommerce.single-product div.product .summary.entry-summary {
	padding: 1.191em 1.191em 1.5em;
	background: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(22, 24, 28, 0.06), 0 2px 4px rgba(22, 24, 28, 0.04);
}

/* Barra da marca no topo do card — mesma linguagem do cabecalho de secao
   (item 2). */
.woocommerce.single-product div.product .summary.entry-summary {
	border-top: 4px solid var(--st-brand, #0058B6);
}

@media (max-width: 767px) {
	.woocommerce.single-product div.product .summary.entry-summary {
		padding: 0.809em;
	}
}

/* ------------------------------------------------------------------------
   1d. Caixa de compra em flex + order. O DOM segue a ordem dos hooks do WC;
   a ordem VISUAL e a dos `order` abaixo.
   ------------------------------------------------------------------------ */
.single-product div.product .summary.entry-summary {
	display: flex;
	flex-direction: column;
}

.single-product div.product .summary.entry-summary > .price { order: 3; }
/* O bloco do Pix e o parcelado solto levam o MESMO `order` do preco: sem ele caem
   em `order:0` e sobem acima do preco. Empatadas, seguem a ordem do DOM. */
.single-product div.product .summary.entry-summary > .st-pdp-preco,
.single-product div.product .summary.entry-summary > .st-pdp-preco__parcelado { order: 3; }
.single-product div.product .summary.entry-summary > .stock { order: 5; }
.single-product div.product .summary.entry-summary > form.cart { order: 6; }
/* O aviso do esgotado ocupa o lugar do `form.cart`; no variavel vem depois dele no DOM. */
.single-product div.product .summary.entry-summary > .st-avise { order: 6; }
/* Parcelas e selos empatam no 7: seguem a ordem do DOM (hooks 32 e 35). */
.single-product div.product .summary.entry-summary > .st-parcelas,
.single-product div.product .summary.entry-summary > .st-selos { order: 7; }

/* ------------------------------------------------------------------------
   1c. DENSIDADE interna do card — MV pediu 26/09: "muito vazio, tudo
   muito espaçado, título com fonte muito grande".
   ------------------------------------------------------------------------ */

/* Paragrafos do .summary sem a margem do pai (1.41575em). Preco, estoque e
   linhas de preco ficam fora: tem margem propria. */
.single-product div.product .summary > p:not(.price):not(.stock):not(.st-pdp-preco__parcelado) {
	margin: 0 0 0.618em;
}

/* SEM margin-top em `form.cart`: a margem inferior do `p.stock`, logo antes na
   ordem visual, ja e o vao; somar empilharia os dois. */
.single-product div.product .summary form.cart table.variations {
	margin: 0 0 0.809em;
}

/* ------------------------------------------------------------------------
   1d. DENSIDADE, 2a RODADA — o RITMO entre blocos

   So as margens ENTRE blocos mudam. Ficam de fora o padding LATERAL do card
   (ancora `.st-selos`, `.product_meta`, `.st-pdp-atalhos` e a largura util
   do `form.cart`) e a fonte/peso do `.price` (RN-01).

   PAR ACOPLADO com o Melhor Envio: `.containerCalculator` e DOM do plugin. Se
   ele mudar as classes, estas regras param de alcancar em silencio e a coluna
   volta a crescer. So o ar em volta e tocado, nunca o conteudo.
   ------------------------------------------------------------------------ */

/* `rem`, NUNCA `em`: o `em` resolve contra a fonte do proprio preco (~32px) e
 * 0.809em daria os mesmos 25,9px da margem do `p` do pai. */
.single-product div.product .summary.entry-summary > .price {
	margin-bottom: 0.809rem;
}

.single-product div.product .summary.entry-summary > form.cart {
	margin-bottom: 0.809em;
}

/* Selos em ZERO: a coluna e flex e as margens SOMAM em vez de colapsar; o
   `margin-bottom` do form ja e o vao. */
.single-product div.product .summary.entry-summary > .st-selos {
	margin-top: 0;
}

/* Aviso de estoque: vao ate o CTA = o 0.809rem do preco (+ 16px de padding do
   form), o mesmo vao de frete -> selos. */
.single-product div.product .summary.entry-summary > .stock {
	margin-bottom: 0.809rem;
}

/* "Em estoque" em verde semantico + `✓` Unicode em `::before` — NUNCA glifo
   de icon-font (vira letra solta). Escopo positivo `.product-type-simple`:
   grouped e variation tambem geram `p.stock` dentro do `.summary`.
   `--st-price` da 5,33:1 sobre o branco. */
.single-product div.product.product-type-simple .summary p.stock.st-pdp-estoque--disponivel {
	position: relative;
	/* `rem`: 24px como nos selos, com a fonte do aviso em 14px. */
	padding-left: 1.5rem;
	color: var(--st-price, #0A7C2F);
	font-weight: 600;
}

.single-product div.product.product-type-simple .summary p.stock.st-pdp-estoque--disponivel::before {
	content: "✓";
	position: absolute;
	left: 0;
	margin: 0;
	font-family: inherit;
	font-weight: 700;
}

/* Bloco de frete: so as MARGENS. O padding e pintado pela secao `11`, por ID
 * (vence qualquer classe) — ajustar la. */
.single-product div.product.product-type-simple form.cart .containerCalculator,
.single-product div.product.product-type-external form.cart .containerCalculator,
.single-product div.product .woocommerce-variation-add-to-cart .containerCalculator {
	margin-top: 0;
	margin-bottom: 0.809rem;
}

/* ------------------------------------------------------------------------
   2. Cabecalho de secao unificado — barra vertical colorida

   Vence a `border-bottom` das regras da ficha e das avaliacoes por ORDEM
   (esta secao vem depois, mesmo seletor).
   ------------------------------------------------------------------------ */
.single-product .st-specs__titulo,
.single-product .st-reviews .woocommerce-Reviews-title,
.single-product div.product .related.products > h2,
.single-product div.product .up-sells.products > h2,
.single-product .woocommerce-tabs .panel > h2:first-child {
	position: relative;
	margin: 0 0 1.191em;
	padding: 0.1em 0 0.1em 0.75em;
	border-bottom: 0;
	font-size: 22.652px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--st-text, #16181C);
	text-align: left; /* vence `text-align:center` do pai em `.related > h2` */
}

.single-product .st-specs__titulo::before,
.single-product .st-reviews .woocommerce-Reviews-title::before,
.single-product div.product .related.products > h2::before,
.single-product div.product .up-sells.products > h2::before,
.single-product .woocommerce-tabs .panel > h2:first-child::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.15em;
	bottom: 0.15em;
	width: 6px;
	border-radius: 3px;   /* metade da largura — sem isto a barra deixa de ser pilula */
	background: var(--st-brand, #0058B6);
}

/* ------------------------------------------------------------------------
   2b. A MESMA barra nos titulos da SIDEBAR

   Mesma barra de 6px e recuo de 0.75em da PDP, nao maior: a sidebar e a
   caixa mais estreita do site e o recuo sai da medida de linha. Peso 600: o
   300 do pai some ao lado de uma barra solida.
   ------------------------------------------------------------------------ */
.widget-area .widget .widget-title,
.widget-area .widget .widgettitle {
	position: relative;
	padding-left: 0.75em;
	font-weight: 600;
	color: var(--st-brand-dark, #0049A7);
}

.widget-area .widget .widget-title::before,
.widget-area .widget .widgettitle::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.15em;
	/* Desconta o `padding-bottom:1em` do pai, que separa o texto do filete. */
	bottom: 1.15em;
	width: 6px;
	border-radius: 3px;
	background: var(--st-brand, #0058B6);
}

/* Icone de pasta das categorias na cor da marca. O alvo e o `::before` do
   `li.cat-item` (glifo do pai), nunca o do `<a>`, que nao existe — o seletor
   errado pintaria nada, sem erro. */
.widget-area .widget_product_categories .cat-item::before {
	color: var(--st-brand, #0058B6);
}

/* "‹ Pai" acima do ramo da categoria vista (`inc/layout.php`): link de texto,
   sem a pasta que o pai poe em todo `li` da lista. */
.widget-area .widget_product_categories li.st-cat-voltar {
	padding-left: 0;
	font-size: 0.875rem;
}

.widget-area .widget_product_categories li.st-cat-voltar::before {
	content: none;
	display: none;
}

.widget-area .widget_product_categories li.st-cat-voltar > a {
	color: var(--st-text-muted, #515F72);
	font-weight: 400;
}

/* ------------------------------------------------------------------------
   Links da sidebar: destaque de LINHA, sem sublinhado

   O sublinhado do pai esta em REPOUSO (`.widget-area .widget a`, (0,2,1)); a
   regra abaixo empata e vence por ORDEM.

   Geometria (padding/margem/raio) no REPOUSO, so a tinta no hover — senao a
   linha salta sob o mouse. O `margin-left` negativo devolve o alinhamento.

   O destaque cobre so o NOME: o contador e irmao do `<a>` com `float:right`
   do pai, e pintar os dois daria dois retangulos separados por um vao branco.
   Fundo no `li` cobriria o `ul.children`.
   ------------------------------------------------------------------------ */
.widget-area .widget a {
	text-decoration: none;
}

.widget-area .widget_product_categories li > a,
.widget-area .widget_layered_nav li > a {
	padding: 0.1em 0.35em;
	margin-left: -0.35em;
	border-radius: 3px;
}

.widget-area .widget_product_categories li > a:hover,
.widget-area .widget_product_categories li > a:focus,
.widget-area .widget_layered_nav li > a:hover,
.widget-area .widget_layered_nav li > a:focus {
	background-color: var(--st-surface, #F2F7FF);
	color: var(--st-brand, #0058B6);
}

/* O contador segue a TINTA do nome (sem fundo — ver o docblock acima). */
.widget-area .widget_product_categories li > a:hover + .count,
.widget-area .widget_product_categories li > a:focus + .count,
.widget-area .widget_layered_nav li > a:hover + .count,
.widget-area .widget_layered_nav li > a:focus + .count {
	color: var(--st-brand, #0058B6);
}

/* Nome numa linha so, com reticencias; o `title` do `<a>` guarda o nome
   inteiro. `vertical-align:top`: com `overflow:hidden` a baseline do
   inline-block vira a borda de baixo e desalinharia do contador. */
.widget-area .widget_product_categories li > a {
	display: inline-block;
	max-width: calc( 100% - 3em );
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	vertical-align: top;
}

/* "Aplicar filtros" (`assets/js/filtros-aplicar.js`): so com mudanca
   pendente, preso no pe da coluna enquanto ela rola. Na folha quem aplica e o
   pe dela. O `hidden` do pai no `.site` faria dele um conteiner de rolagem e
   o sticky nao andaria; `clip` corta igual sem criar. */
html.st-aplicar-js .site {
	overflow-x: clip;
}

.widget-area .st-aplicar {
	position: sticky;
	bottom: 0;
	z-index: 2;
	margin-top: 1rem;
	padding: 0.75rem 0 1rem;
	background-color: var(--st-bg, #FFFFFF);
}

.widget-area .st-aplicar .st-aplicar__botao,
.widget-area .st-aplicar .st-aplicar__botao:hover,
.widget-area .st-aplicar .st-aplicar__botao:focus {
	width: 100%;
	min-height: 44px;
	border-color: var(--st-brand, #0058B6);
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
	font-weight: var(--st-peso-semi, 600);
}

.widget-area .st-folha .st-aplicar {
	display: none;
}

/* Com o JS, mexer no preco marca pendencia e o "Aplicar filtros" aplica: o
   "Filtrar" do widget sobra. Enter no campo aplica (`filtros-aplicar.js`). */
html.st-aplicar-js .widget-area .widget_price_filter .price_slider_amount button[type="submit"] {
	display: none;
}

/* Categoria ATUAL em tinta de marca — peso nao, que mudaria a largura e
   reflowaria a arvore. */
.widget-area .widget_product_categories li.current-cat > a {
	color: var(--st-brand, #0058B6);
}

/* ------------------------------------------------------------------------
   3. Ficha de especificacoes — CARD, zebra e 2 colunas em telas grandes

   2 colunas SEM Grid, sem JS: `column-count:2` na `tbody` + `display:flex`
   no `tr` + `break-inside:avoid`, para o par rotulo/valor nao se partir.
   ------------------------------------------------------------------------ */
.single-product .st-specs {
	padding: 1.5em 1.618em;
	background: var(--st-surface, #F2F7FF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 8px;
	margin: 0 0 2em;
}

/* Zebra: impares `--st-bg`, pares `--st-surface-dark`. O `.st-specs` no
   seletor vence o `transparent` da ficha base. */
.single-product .st-specs .woocommerce-product-attributes tbody tr:nth-child(odd) th,
.single-product .st-specs .woocommerce-product-attributes tbody tr:nth-child(odd) td {
	background-color: var(--st-bg, #FFFFFF);
}

.single-product .st-specs .woocommerce-product-attributes tbody tr:nth-child(even) th,
.single-product .st-specs .woocommerce-product-attributes tbody tr:nth-child(even) td {
	background-color: var(--st-surface-dark, #EBF0F8);
}

.single-product .st-specs th,
.single-product .st-specs td {
	padding: 0.809em 1em;
	border-bottom: 0;
	line-height: 1.5;
}

.single-product .st-specs table {
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid var(--st-border, #CCD5E2);
}

/* Acima de 1200px, tabela em 2 colunas. */
@media (min-width: 1200px) {

	.single-product .st-specs .woocommerce-product-attributes tbody {
		column-count: 2;
		column-gap: 2em;
	}

	.single-product .st-specs .woocommerce-product-attributes tbody tr {
		display: flex;
		break-inside: avoid;
		align-items: baseline;
	}

	.single-product .st-specs .woocommerce-product-attributes tbody tr th {
		flex: 0 0 40%;
	}

	.single-product .st-specs .woocommerce-product-attributes tbody tr td {
		flex: 1;
	}
}

/* ------------------------------------------------------------------------
   4. Avaliacoes — REVERSAO DA 2.5 (borda 3px vira 8px, dashed vira solid)

   Resumo, formulario e sem-avaliacao no vocabulario de card da PDP.
   ------------------------------------------------------------------------ */
.single-product .st-reviews {
	margin: 0 0 2em;
}

.single-product .st-reviews__resumo,
.single-product .st-reviews #respond,
.single-product .st-reviews .woocommerce-noreviews {
	padding: 1.5em 1.618em;
	background: var(--st-surface, #F2F7FF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 8px;
	border-style: solid;
}

/* HERO da media da nota. */
.single-product .st-reviews__media {
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
}

.single-product .st-reviews .woocommerce-noreviews {
	color: var(--st-text-muted, #515F72);
	font-style: italic;
}

/* ------------------------------------------------------------------------
   5. Descricao (aba do pai) — nasce sem estilo proprio no child.

   O `.woocommerce-tabs .panel` do pai vem com `width:~65%; float:right`
   (abas verticais a esquerda); com a `ul.tabs` escondida, o painel ficaria
   deslocado a direita.
   ------------------------------------------------------------------------ */
.single-product .woocommerce-tabs .panel {
	width: 100%;
	float: none;
	padding: 1.5em 1.618em;
	background: var(--st-surface, #F2F7FF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 8px;
	margin: 0 0 2em;
}

/* A `ul.tabs` sai: o rotulo e redundante com o `<h2>` do painel. */
.single-product .woocommerce-tabs ul.tabs {
	display: none;
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after {
	display: none;
}

/* ------------------------------------------------------------------------
   6. Galeria — thumbs com estado ativo VISUAL

   O FlexSlider marca a thumb corrente com `.flex-active` no `<img>`; o pai
   nao pinta esse estado.
   ------------------------------------------------------------------------ */
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	border-radius: 4px;
	border: 2px solid transparent;
	opacity: 0.7;
	transition: border-color 0.15s ease, opacity 0.15s ease;
	cursor: pointer;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
	opacity: 0.9;
	border-color: var(--st-border, #CCD5E2);
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	opacity: 1;
	border-color: var(--st-brand, #0058B6);
}

/* ------------------------------------------------------------------------
   7. Detalhes de personalidade na coluna de compra
   ------------------------------------------------------------------------ */

/* Preco no topo da caixa, o maior salto de peso dela (RN-01: o preco decide). */
.single-product div.product .summary > .price {
	position: relative;
	margin: 0 0 0.809em;
	font-size: 2.125rem;
	font-weight: 700;
	line-height: 1.1;
}

/* Esgotado: `single-product/price.php` emite o `<p>` sem condicao, e o preco
   vem vazio (`inc/esgotado.php`). O template nao deixa espaco dentro do `<p>`. */
.single-product div.product .summary > .price:empty {
	display: none;
}

/* ------------------------------------------------------------------------
   7b. Ícone de carrinho no CTA — Pichau/KaBuM! poem icone dentro do
   botao "Comprar". SVG data-URI (byte-local, RN-04). */
.single-product div.product form.cart .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.618em;
}

.single-product div.product form.cart .single_add_to_cart_button::before {
	content: '';
	display: inline-block;
	width: 1.191em;
	height: 1.191em;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* Preco RISCADO (`.price del`) e o "a partir de" da faixa: discretos, em
   linha propria acima do vigente. */
.single-product div.product .summary > .price .st-card__a-partir,
.single-product div.product .summary > .price del {
	display: block;
	margin-bottom: 0.125rem;
	font-size: 0.441em;
	font-weight: 400;
	color: var(--st-text-muted, #515F72);
	opacity: 1;
}

.single-product div.product .summary > .price ins {
	text-decoration: none;
	background: none;
}

/* `.product_meta` na coluna de informacoes: uma linha por dado. */
.single-product div.product .st-pdp-info .product_meta {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 0.8125rem;
	color: var(--st-text-muted, #515F72);
}

/* CTA hover — feedback fisico sem mudar cor (a paleta fala). */
.single-product div.product form.cart .single_add_to_cart_button {
	transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.single-product div.product form.cart .single_add_to_cart_button:hover,
.single-product div.product form.cart .single_add_to_cart_button:focus {
	filter: brightness(0.92);
	box-shadow: 0 4px 12px rgba(22, 24, 28, 0.15);
}

.single-product div.product form.cart .single_add_to_cart_button:active {
	transform: translateY(1px);
	box-shadow: 0 2px 4px rgba(22, 24, 28, 0.15);
}

/* ------------------------------------------------------------------------
   8d. Atalhos "Especificacoes / Avaliacoes / Descricao" na coluna de
   informacoes, em pilula, ancorando nas secoes abaixo da dobra.

   Emitido por `storefront_tech_pdp_atalhos()` (single-produto.php).
   ------------------------------------------------------------------------ */
.single-product div.product .st-pdp-info .st-pdp-atalhos {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1rem;
}

/* `min-height` 44px: alvo de toque. */
.single-product div.product .st-pdp-info .st-pdp-atalhos__link {
	display: inline-flex;
	align-items: center;
	gap: 0.382em;
	min-height: 44px;
	padding: 0 0.875rem;
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 999px;
	background: var(--st-bg, #FFFFFF);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--st-text, #16181C);
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.single-product div.product .st-pdp-info .st-pdp-atalhos__link:hover,
.single-product div.product .st-pdp-info .st-pdp-atalhos__link:focus {
	border-color: var(--st-brand, #0058B6);
	color: var(--st-brand, #0058B6);
}

.single-product div.product .st-pdp-info .st-pdp-atalhos__link::after {
	content: '↓';
	color: var(--st-brand, #0058B6);
	line-height: 1;
}

/* ------------------------------------------------------------------------
   8. Selos (2.6) — apenas espaco acima, sem borda dupla

   SEM border-top: mesmo motivo do `.product_meta` (item 7).
   ------------------------------------------------------------------------ */
.single-product div.product .summary .st-selos {
	margin-top: 1.191em;
}

/* ------------------------------------------------------------------------
   8b. Badge "OFERTA!" — reposicionar sobre a FOTO da galeria

   A `.woocommerce-product-gallery` vira ancora (`position:relative`) e o
   `.onsale` vai para o canto superior esquerdo da foto. Tamanho e cor do
   badge sao definidos em outra secao; aqui so POSICAO e SOMBRA.
   ------------------------------------------------------------------------ */
.single-product div.product .woocommerce-product-gallery {
	position: relative;
}

.single-product div.product .st-pdp-topo > .onsale {
	position: absolute;
	top: 1em;
	left: 1em;
	z-index: 5;
	margin: 0;
	box-shadow: 0 2px 8px rgba(22, 24, 28, 0.15);
}

/* ------------------------------------------------------------------------
   8c. Variacoes lado a lado, com <select> estilizado

   `display:grid` na table + `display:contents` no `tbody`, para os `<tr>`
   (um por atributo) subirem para a grade. Seta do select em SVG data-URI
   (byte-local, RN-04).
   ------------------------------------------------------------------------ */
@media (min-width: 480px) {

	.single-product div.product form.cart table.variations {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.618em 1em;
		border: 0;
	}

	.single-product div.product form.cart table.variations tbody {
		display: contents;
	}

	.single-product div.product form.cart table.variations tr {
		display: flex;
		flex-direction: column;
		gap: 0.25em;
	}

	.single-product div.product form.cart table.variations th,
	.single-product div.product form.cart table.variations td {
		display: block;
		width: auto;
		padding: 0;
		border: 0;
	}
}

/* Rotulo dos atributos: peso 600, cor text-muted, tamanho pequeno */
.single-product div.product form.cart table.variations th.label,
.single-product div.product form.cart table.variations th label {
	font-size: 0.875em;
	font-weight: 600;
	color: var(--st-text-muted, #515F72);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* SELECT estilizado — arrow via SVG data-URI (byte-local, RN-04) */
.single-product div.product form.cart table.variations select {
	width: 100%;
	padding: 0.618em 2.2em 0.618em 0.809em;
	background-color: var(--st-bg, #FFFFFF);
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235A6270' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4,6 8,10 12,6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75em center;
	background-size: 1em;
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 4px;
	font-size: 1em;
	line-height: 1.5;
	color: var(--st-text, #16181C);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.single-product div.product form.cart table.variations select:focus {
	border-color: var(--st-brand, #0058B6);
	box-shadow: 0 0 0 3px rgba(11, 92, 168, 0.15);
	outline: 0;
}

.single-product div.product form.cart table.variations select:hover {
	border-color: var(--st-text-muted, #515F72);
}

/* Link "Limpar" das variacoes: mais discreto, alinhado a direita */
.single-product div.product form.cart .reset_variations {
	display: inline-block;
	margin: 0.618em 0 0;
	padding: 0;
	background: none;
	border: 0;
	color: var(--st-text-muted, #515F72);
	font-size: 0.875em;
	text-decoration: underline;
	cursor: pointer;
}

.single-product div.product form.cart .reset_variations:hover,
.single-product div.product form.cart .reset_variations:focus {
	color: var(--st-brand, #0058B6);
}

/* ------------------------------------------------------------------------
   9. Produtos RELACIONADOS — respiro do bloco (mesma linguagem)

   So o WRAPPER da secao; o card do produto e de outra secao.
   ------------------------------------------------------------------------ */
.single-product .related.products,
.single-product .up-sells.products {
	/* `clear`: sem ele a CAIXA da secao sobe ate o topo da galeria e a borda
	   aparece solta no vao entre galeria e card. */
	clear: both;
	margin-top: 2em;
	padding-top: 1.618em;
	border-top: 1px solid var(--st-border, #CCD5E2);
}

/* ------------------------------------------------------------------------
   10. Formulario de avaliacao — bordas modernas nos inputs

   Altura do textarea capada: o padrao de rows varia por navegador.
   ------------------------------------------------------------------------ */
.single-product .st-reviews #respond .comment-form-author input,
.single-product .st-reviews #respond .comment-form-email input,
.single-product .st-reviews #respond .comment-form-comment textarea {
	width: 100%;
	padding: 0.618em 0.809em;
	background: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 4px;
	font-size: 1em;
	line-height: 1.5;
	color: var(--st-text, #16181C);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.single-product .st-reviews #respond .comment-form-comment textarea {
	min-height: 5em;
	max-height: 10em;
	resize: vertical;
}

/* ------------------------------------------------------------------------
   10c. Grid do form — o pai poe `.comment-form-author, .comment-form-email`
   em `width:47%; float:left`; zerados, o grid pega os `<p>` como celulas.
   ------------------------------------------------------------------------ */
.single-product .st-reviews #respond .comment-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
}

/* Zera o `width:47%` e float que o Storefront cravou nos <p> wrappers */
.single-product .st-reviews #respond .comment-form-author,
.single-product .st-reviews #respond .comment-form-email {
	width: auto;
	float: none;
	margin: 0;
}

.single-product .st-reviews #respond .comment-form-comment,
.single-product .st-reviews #respond .comment-form-cookies-consent,
.single-product .st-reviews #respond .comment-notes,
.single-product .st-reviews #respond .form-submit,
.single-product .st-reviews #respond .comment-form-rating {
	grid-column: 1 / -1;
}

.single-product .st-reviews #respond .comment-form-author label,
.single-product .st-reviews #respond .comment-form-email label,
.single-product .st-reviews #respond .comment-form-comment label,
.single-product .st-reviews #respond .comment-form-rating label {
	display: block;
	margin: 0 0 0.382em;
	font-size: 0.875em;
	font-weight: 600;
	color: var(--st-text-muted, #515F72);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.single-product .st-reviews #respond .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.875em;
	color: var(--st-text-muted, #515F72);
}

.single-product .st-reviews #respond .form-submit .submit {
	padding: 0.809em 2em;
	background: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
	border: 0;
	border-radius: 4px;
	font-size: 1em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.single-product .st-reviews #respond .form-submit .submit:hover,
.single-product .st-reviews #respond .form-submit .submit:focus {
	filter: brightness(0.92);
	box-shadow: 0 4px 12px rgba(22, 24, 28, 0.15);
}

.single-product .st-reviews p.stars {
	display: inline-flex;
	gap: 0.191em;
	margin: 0 0 0.618em;
}

.single-product .st-reviews p.stars a:hover {
	transform: scale(1.08);
}

.single-product .st-reviews #respond input:focus,
.single-product .st-reviews #respond textarea:focus {
	border-color: var(--st-brand, #0058B6);
	box-shadow: 0 0 0 3px rgba(11, 92, 168, 0.15);
	outline: 0;
}

/* Botao ENVIAR do form de review como CTA na cor da marca. */
.single-product .st-reviews #respond .form-submit .submit {
	padding: 0.618em 1.618em;
	background: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
	border: 0;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
	transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.single-product .st-reviews #respond .form-submit .submit:hover,
.single-product .st-reviews #respond .form-submit .submit:focus {
	filter: brightness(0.92);
	box-shadow: 0 4px 12px rgba(22, 24, 28, 0.15);
}

/* ------------------------------------------------------------------------
   11. Caixa de FRETE (plugin de Correios) — personalidade e destaque

   Selecionado pelo ID do plugin: a classe `.containerCalculator` e generica
   e pode existir em outros plugins de frete.
   ------------------------------------------------------------------------ */
/* Mesma caixa da `.price` (fundo, raio e padding em rem). Este seletor por ID
   e quem pinta o padding: ajustes de densidade moram aqui, nao na 1d. */
.single-product div.product .summary #woocommerce-correios-calculo-de-frete-na-pagina-do-produto {
	padding: 0.809rem 1.191rem;
	background: var(--st-surface, #F2F7FF);
	border: 0;
	border-radius: 6px;
}

.single-product div.product .summary #woocommerce-correios-calculo-de-frete-na-pagina-do-produto h2 {
	margin: 0 0 0.618em;
	padding: 0;
	border: 0;
	font-size: 1em;
	font-weight: 600;
	color: var(--st-text, #16181C);
	line-height: 1.4;
	text-transform: none;
}

/* Input de CEP: mesma linguagem dos inputs do form de review. */
.single-product div.product .summary #woocommerce-correios-calculo-de-frete-na-pagina-do-produto input[type="text"] {
	padding: 0.618em 0.809em;
	background: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 4px;
	font-size: 1em;
	line-height: 1.5;
	color: var(--st-text, #16181C);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.single-product div.product .summary #woocommerce-correios-calculo-de-frete-na-pagina-do-produto input[type="text"]:focus {
	border-color: var(--st-brand, #0058B6);
	box-shadow: 0 0 0 3px rgba(11, 92, 168, 0.15);
	outline: 0;
}

/* ------------------------------------------------------------------------
   11b. Calculadora de frete (Melhor Envio, modo integrador)

   Resultado em lista de cartoes, sem tabela nem rolagem horizontal. As
   colunas do plugin chegam na ordem transportadora, servico, prazo, valor.
   ------------------------------------------------------------------------ */
.single-product div.product .summary form.cart:has(> .me-cep-calc) {
	padding-top: 0;
}

.single-product div.product .summary .me-cep-calc {
	margin: 0 0 var(--st-sp-3, 12px);
	padding: var(--st-sp-3, 12px) var(--st-sp-4, 16px);
	background: var(--st-surface, #F2F7FF);
	border: 0;
	border-radius: 6px;
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__title {
	margin: 0 0 var(--st-sp-2, 8px);
	font-size: var(--st-fs-2, 0.8125rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.4;
	color: var(--st-text, #16181C);
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__input {
	max-width: 12rem;
	padding: 0.618em 0.809em;
	background: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 4px;
	font-size: 1em;
	line-height: 1.5;
	color: var(--st-text, #16181C);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__input:focus {
	border-color: var(--st-brand, #0058B6);
	box-shadow: 0 0 0 3px rgba(11, 92, 168, 0.15);
	outline: 0;
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__result {
	margin-top: var(--st-sp-2, 8px);
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__loading,
.single-product div.product .summary .me-cep-calc .me-cep-calc__error {
	font-size: var(--st-fs-3, 0.875rem);
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__loading {
	color: var(--st-text-muted, #515F72);
	opacity: 1;
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__error {
	color: var(--st-danger, #B3261E);
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__table-wrap {
	overflow: visible;
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__table,
.single-product div.product .summary .me-cep-calc .me-cep-calc__table tbody {
	display: block;
	width: 100%;
	min-width: 0;
	margin: 0;
	border: 0;
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__table thead {
	display: none;
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__table tbody {
	display: grid;
	gap: var(--st-sp-1-5, 6px);
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__table tbody tr {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas:
		"svc svc price"
		"co time price";
	align-items: center;
	padding: var(--st-sp-2, 8px) var(--st-sp-3, 12px);
	background: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 6px;
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__table tbody td {
	display: block;
	padding: 0;
	background: transparent;
	border: 0;
	white-space: normal;
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.4;
	color: var(--st-text-muted, #515F72);
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__table tbody td:nth-child(1) {
	grid-area: co;
	font-size: var(--st-fs-1, 0.75rem);
	font-weight: var(--st-peso-semi, 600);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__table tbody td:nth-child(1):not(:empty)::after {
	content: "\00b7";
	margin: 0 var(--st-sp-1-5, 6px);
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__table tbody td:nth-child(2) {
	grid-area: svc;
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-semi, 600);
	color: var(--st-text, #16181C);
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__table tbody td:nth-child(3) {
	grid-area: time;
	white-space: nowrap;
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__table tbody td:nth-child(4) {
	grid-area: price;
	padding-left: var(--st-sp-3, 12px);
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-negrito, 700);
	text-align: right;
	white-space: nowrap;
	color: var(--st-price, #0A7C2F);
}

/* Celular: transportadora, servico e prazo em 3 linhas. */
@media screen and ( max-width: 480px ) {

	.single-product div.product .summary .me-cep-calc .me-cep-calc__table tbody tr {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"co price"
			"svc price"
			"time price";
	}

	.single-product div.product .summary .me-cep-calc .me-cep-calc__table tbody td:nth-child(1):not(:empty)::after {
		content: none;
	}
}

.single-product div.product .summary .me-cep-calc .me-cep-calc__note {
	margin-top: 2px;
	font-size: var(--st-fs-1, 0.75rem);
	font-weight: var(--st-peso-normal, 400);
	color: var(--st-text-muted, #515F72);
}

/* ------------------------------------------------------------------------
   12. Cabecalho de secao: pequeno detalhe de personalidade

   Regua decorativa apos o texto do titulo, com fade ate a borda.
   ------------------------------------------------------------------------ */
.single-product .st-specs__titulo,
.single-product .st-reviews .woocommerce-Reviews-title,
.single-product .woocommerce-tabs .panel > h2:first-child,
.single-product div.product .related.products > h2,
.single-product div.product .up-sells.products > h2 {
	display: flex;
	align-items: center;
	gap: 0.75em;
}

/* O titulo das avaliacoes e "N avaliacoes para <span>Nome</span>": num flex,
   texto e span viram dois itens lado a lado. `contents` junta os dois numa
   linha de texto so. */
.single-product .st-reviews .woocommerce-Reviews-title > span {
	display: contents;
}

/* A "regua" apos o texto: cresce e ganha um fade em direcao a borda. */
.single-product .st-specs__titulo::after,
.single-product .st-reviews .woocommerce-Reviews-title::after,
.single-product .woocommerce-tabs .panel > h2:first-child::after,
.single-product div.product .related.products > h2::after,
.single-product div.product .up-sells.products > h2::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(to right, var(--st-border, #CCD5E2), transparent);
	margin-left: 0.191em;
}

/* ========================================================================
   HERO DA LOJA-HOME: carrossel de banners de ponta a ponta
   ======================================================================== */

/* Com o hero, o banner encosta no header. Vence a regra da Loja-home
   (`body.home.post-type-archive-product .site-header`, 0,3,1). */
body.st-com-hero.home.post-type-archive-product .site-header {
	margin-bottom: 0;
}

.st-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0 0 8px;
}

/* Controles vem antes do trilho no DOM (ordem de Tab); na tela, embaixo,
   fora da arte do lojista. */
.st-hero__controles {
	order: 1;
}

/* Arte de 1920x300; acima do teto corta em cima e embaixo, nunca nas
   laterais. `width` explicito: com o teto, o `aspect-ratio` encolheria a
   largura. No celular, 4:3 so se todos os slides tem imagem propria; senao
   3:1, o miolo da arte de desktop. */
.st-hero__trilho {
	display: flex;
	width: 100%;
	aspect-ratio: 32 / 5;
	max-height: 340px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	background: var( --st-surface, #F2F7FF );
}

.st-hero__trilho::-webkit-scrollbar {
	display: none;
}

@media screen and ( max-width: 767px ) {

	.st-hero__trilho {
		aspect-ratio: 3 / 1;
	}

	.st-hero--mobile .st-hero__trilho {
		aspect-ratio: 4 / 3;
	}
}

.st-hero__slide {
	flex: 0 0 100%;
	height: 100%;
	margin: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.st-hero__link,
.st-hero picture {
	display: block;
	height: 100%;
}

.st-hero .st-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.st-hero__link:focus-visible {
	outline: 2px solid var( --st-brand, #0058B6 );
	outline-offset: -4px;
}

/* --- Setas e controles (criados pelo JS) -------------------------------
   Setas sobre o trilho, centradas na altura dele (a caixa inclui a linha de
   controles de 44px). So com mouse ou foco; no toque, arrasto + bolinhas. */
.st-hero__seta {
	position: absolute;
	top: calc( 50% - 22px );
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var( --st-border, #CCD5E2 );
	border-radius: 50%;
	background: var( --st-bg, #FFFFFF );
	box-shadow: 0 4px 12px rgba( 22, 24, 28, 0.12 );
	color: var( --st-text, #16181C );
	cursor: pointer;
	opacity: 0;
	transform: translateY( -50% );
	transition: opacity 0.15s ease, background-color 0.15s ease;
}

.st-hero__seta--anterior {
	left: 24px;
}

.st-hero__seta--proxima {
	right: 24px;
}

.st-hero__seta::before {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.st-hero__seta--anterior::before {
	margin-left: 4px;
	transform: rotate( -135deg );
}

.st-hero__seta--proxima::before {
	margin-right: 4px;
	transform: rotate( 45deg );
}

.st-hero__seta:hover,
.st-hero__seta:focus-visible {
	background: var( --st-surface, #F2F7FF );
}

.st-hero__seta:focus-visible {
	outline: 2px solid var( --st-brand, #0058B6 );
	outline-offset: 2px;
}

@media ( hover: hover ) {

	.st-hero__seta {
		display: flex;
	}

	.st-hero:hover .st-hero__seta,
	.st-hero:focus-within .st-hero__seta {
		opacity: 1;
	}
}

.st-hero__controles {
	display: flex;
	align-items: center;
	justify-content: center;
}

.st-hero__ponto,
.st-hero__pausa {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var( --st-text-muted, #515F72 );
	cursor: pointer;
}

/* Inativa em `--st-text-muted`: componente de interface pede 3:1 (WCAG 1.4.11). */
.st-hero__ponto::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var( --st-text-muted, #515F72 );
	transition: width 0.2s ease, background-color 0.2s ease;
}

.st-hero__ponto[aria-current="true"]::before {
	width: 24px;
	background: var( --st-brand, #0058B6 );
}

.st-hero__ponto:hover::before {
	background: var( --st-text, #16181C );
}

.st-hero__ponto[aria-current="true"]:hover::before {
	background: var( --st-brand-hover, #003F9D );
}

/* Pausa: duas barras; parado: triangulo de "retomar". */
.st-hero__pausa::before {
	content: "";
	box-sizing: border-box;
	width: 10px;
	height: 12px;
	border-left: 3px solid currentColor;
	border-right: 3px solid currentColor;
}

.st-hero__pausa--parado::before {
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 10px solid currentColor;
	border-right: 0;
}

.st-hero__pausa:hover {
	color: var( --st-text, #16181C );
}

.st-hero__ponto:focus-visible,
.st-hero__pausa:focus-visible {
	outline: 2px solid var( --st-brand, #0058B6 );
	outline-offset: -6px;
	border-radius: 8px;
}

@media ( prefers-reduced-motion: reduce ) {

	.st-hero__ponto::before,
	.st-hero__seta {
		transition: none;
	}
}

/* ========================================================================
   CATEGORIAS EM DESTAQUE DA LOJA-HOME
   ======================================================================== */
/* Sem hero, o vao do topo e so o `margin-bottom` do header (24/18px). */
.st-cats {
	margin: 0 0 2rem;
}

.st-com-hero .st-cats {
	margin-top: 0.5rem;
}

/* Mesmo titulo de secao da PDP ("Produtos relacionados"): barra de marca,
   texto e regua. */
.st-cats__titulo,
.st-vitrine__titulo {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75em;
	margin: 0 0 1rem;
	padding: 0.1em 0 0.1em 0.75em;
	font-size: 22.652px;
	font-weight: 700;
	line-height: 1.2;
	color: var( --st-text, #16181C );
}

.st-cats__titulo::before,
.st-vitrine__titulo::before {
	content: "";
	position: absolute;
	top: 0.15em;
	bottom: 0.15em;
	left: 0;
	width: 6px;
	border-radius: 3px;
	background: var( --st-brand, #0058B6 );
}

.st-cats__titulo::after,
.st-vitrine__titulo::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient( to right, var( --st-border, #CCD5E2 ), transparent );
}

.st-cats__carrossel {
	position: relative;
}

/* Itens por tela em `--cats-n`; no celular, 3,5 deixa a sobra a vista. */
.st-cats__lista {
	--cats-n: 3.5;
	--cats-gap: 12px;
	display: flex;
	gap: var( --cats-gap );
	margin: 0;
	padding: 0 0 4px;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.st-cats__lista::-webkit-scrollbar {
	display: none;
}

@media screen and ( min-width: 768px ) {

	.st-cats__lista {
		--cats-n: 5;
		--cats-gap: 16px;
	}
}

@media screen and ( min-width: 1024px ) {

	.st-cats__lista {
		--cats-n: 6;
	}
}

@media screen and ( min-width: 1440px ) {

	.st-cats__lista {
		--cats-n: 8;
		--cats-gap: 20px;
	}
}

.st-cats__item {
	flex: 0 0 calc( ( 100% - ( var( --cats-n ) - 1 ) * var( --cats-gap ) ) / var( --cats-n ) );
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
}

.st-cats__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.625rem;
	height: 100%;
	color: var( --st-text, #16181C );
	text-align: center;
	text-decoration: none;
}

/* Vitrine: o produto pousa num pedestal eliptico (`::before`) com sombra
   (`::after`). A foto fica acima dos dois, ancorada pela BASE: com
   `contain` centralizado, foto larga e baixa flutuaria longe do disco. A
   base da caixa fica na metade de baixo do pedestal (13% contra o centro
   em 21%): PNG de produto costuma trazer ate ~13% de margem transparente
   embaixo, e o produto desenhado ainda pousa no centro do disco. */
.st-cats__foto {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 0;
	aspect-ratio: 1 / 1;
	padding: 6% 12% 13%;
}

.st-cats__foto::before {
	content: "";
	position: absolute;
	right: 6%;
	bottom: 8%;
	left: 6%;
	height: 26%;
	border-radius: 50%;
	background: var( --st-surface, #F2F7FF );
	box-shadow: inset 0 -3px 0 var( --st-border, #CCD5E2 );
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.st-cats__foto::after {
	content: "";
	position: absolute;
	right: 12%;
	bottom: 2%;
	left: 12%;
	height: 8%;
	border-radius: 50%;
	background: radial-gradient( closest-side, rgba( 22, 24, 28, 0.16 ), transparent );
}

.st-cats .st-cats__img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 50% 100%;
	transition: transform 0.2s ease;
}

.st-cats__nome {
	display: -webkit-box;
	max-width: 100%;
	overflow: hidden;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	overflow-wrap: anywhere;
	hyphens: auto;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

@media screen and ( min-width: 768px ) {

	.st-cats__nome {
		font-size: 0.9375rem;
	}
}

.st-cats__link:hover,
.st-cats__link:focus-visible {
	color: var( --st-brand, #0058B6 );
}

.st-cats__link:hover .st-cats__foto::before,
.st-cats__link:focus-visible .st-cats__foto::before {
	background: var( --st-surface-dark, #EBF0F8 );
	box-shadow: inset 0 -3px 0 var( --st-brand, #0058B6 );
}

.st-cats__link:hover .st-cats__img,
.st-cats__link:focus-visible .st-cats__img {
	transform: translateY( -6px );
}

.st-cats__link:focus-visible {
	outline: 2px solid var( --st-brand, #0058B6 );
	outline-offset: 2px;
}

/* --- Setas e bolinhas (criadas pelo JS) --------------------------------
   Setas so com mouse; centradas na FOTO (quadrada, a largura do item). */
.st-cats__seta {
	position: absolute;
	top: calc( ( 100% - 3.5rem ) / 2 );
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var( --st-border, #CCD5E2 );
	border-radius: 50%;
	background: var( --st-bg, #FFFFFF );
	box-shadow: 0 4px 12px rgba( 22, 24, 28, 0.12 );
	color: var( --st-text, #16181C );
	cursor: pointer;
	transform: translateY( -50% );
}

.st-cats__seta--anterior {
	left: -12px;
}

.st-cats__seta--proxima {
	right: -12px;
}

.st-cats__seta::before {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.st-cats__seta--anterior::before {
	margin-left: 4px;
	transform: rotate( -135deg );
}

.st-cats__seta--proxima::before {
	margin-right: 4px;
	transform: rotate( 45deg );
}

.st-cats__seta:hover,
.st-cats__seta:focus-visible {
	background: var( --st-surface, #F2F7FF );
}

.st-cats__seta:focus-visible {
	outline: 2px solid var( --st-brand, #0058B6 );
	outline-offset: 2px;
}

/* `visibility`: o pai forca `button:disabled{opacity:.5 !important}`. */
.st-cats__seta:disabled {
	visibility: hidden;
}

@media ( hover: hover ) {

	.st-cats__seta {
		display: flex;
	}
}

.st-cats__carrossel--cabe .st-cats__seta {
	display: none;
}

.st-cats__pontos {
	display: flex;
	justify-content: center;
}

.st-cats__pontos[hidden] {
	display: none;
}

.st-cats__ponto {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.st-cats__ponto::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var( --st-text-muted, #515F72 );
	transition: width 0.2s ease, background-color 0.2s ease;
}

.st-cats__ponto[aria-current="true"]::before {
	width: 24px;
	background: var( --st-brand, #0058B6 );
}

.st-cats__ponto:focus-visible {
	outline: 2px solid var( --st-brand, #0058B6 );
	outline-offset: -6px;
	border-radius: 8px;
}

@media ( prefers-reduced-motion: reduce ) {

	.st-cats__foto::before,
	.st-cats .st-cats__img,
	.st-cats__ponto::before {
		transition: none;
	}

	.st-cats__link:hover .st-cats__img,
	.st-cats__link:focus-visible .st-cats__img {
		transform: none;
	}
}


/* ========================================================================
   FAIXAS DE VITRINE DA LOJA-HOME
   O carrossel e o card sao os de `ul.products.st-grade-card`; aqui so o
   ritmo entre faixas e o titulo da grade que vem depois delas.
   ======================================================================== */
/* Padding, nao margem: no mobile o `.content-area` nao flutua e a margem da
   ultima faixa colapsaria com a do titulo da grade. Vao de 40px entre o fim
   de um bloco e o titulo do seguinte, igual depois das categorias. */
.st-vitrine {
	padding: 0.5rem 0;
}

.st-vitrine__titulo--grade {
	margin-top: 0.5rem;
}


/* ========================================================================
   FAIXAS PERSONALIZADAS: "VER TODOS"
   So existe com link. A margem do titulo passa ao cabecalho; o alvo de 44px
   do link transborda a linha por margem negativa, sem mudar o vao entre
   faixas.
   ======================================================================== */
.st-vitrine__cabeca {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1rem;
}

.st-vitrine__cabeca > .st-vitrine__titulo {
	flex: 1;
	min-width: 0;
	margin: 0;
}

.st-vitrine__cabeca .st-vitrine__titulo-link,
.st-vitrine__cabeca .st-vitrine__titulo-link:visited {
	font-weight: inherit;
	color: inherit;
	text-decoration: none;
}

.st-vitrine__cabeca .st-vitrine__titulo-link:hover {
	color: var( --st-brand, #0058B6 );
}

.st-vitrine__cabeca > .st-vitrine__ver-todos {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 0.3em;
	min-height: 44px;
	margin: -8px 0;
	padding: 0 0.25rem;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	color: var( --st-brand, #0058B6 );
	text-decoration: none;
	white-space: nowrap;
}

/* Texto alternativo vazio: a seta nao entra no nome acessivel. */
.st-vitrine__cabeca > .st-vitrine__ver-todos::after {
	content: "\203A";
	content: "\203A" / "";
	font-size: 1.35em;
	line-height: 1;
	transition: transform 0.15s ease;
}

.st-vitrine__cabeca > .st-vitrine__ver-todos:hover::after,
.st-vitrine__cabeca > .st-vitrine__ver-todos:focus-visible::after {
	transform: translateX( 3px );
}

@media ( prefers-reduced-motion: reduce ) {

	.st-vitrine__cabeca > .st-vitrine__ver-todos::after {
		transition: none;
	}
}


/* ========================================================================
   BANNERS INTERMEDIARIOS DA LOJA-HOME
   Layout pela quantidade de imagens. Proporcao fixa e `cover`: arte de
   qualquer tamanho nao desalinha a fileira.
   ======================================================================== */
/* Padding, nao margem: mesmo ritmo e mesmo motivo de `.st-vitrine`. */
.st-banners {
	padding: 0.5rem 0 2rem;
}

.st-banners__trilho {
	display: grid;
	grid-template-columns: minmax( 0, 1fr );
	gap: 16px;
}

.st-banners--2 .st-banners__trilho {
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.st-banners--3 .st-banners__trilho {
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
}

.st-banners--4 .st-banners__trilho {
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
}

.st-banners__item {
	min-width: 0;
}

.st-banners__link,
.st-banners picture {
	display: block;
	border-radius: 8px;
}

.st-banners .st-banners__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	background: var( --st-surface, #F2F7FF );
	object-fit: cover;
}

.st-banners--1 .st-banners__img {
	aspect-ratio: 17 / 3;
}

.st-banners--2 .st-banners__img {
	aspect-ratio: 14 / 5;
}

.st-banners__link:focus-visible,
.st-banners__trilho:focus-visible {
	outline: 2px solid var( --st-brand, #0058B6 );
	outline-offset: -4px;
}

@media screen and ( max-width: 767px ) {

	.st-banners--1 .st-banners__img {
		aspect-ratio: 3 / 1;
	}

	.st-banners--mobile .st-banners__img {
		aspect-ratio: 2 / 1;
	}

	.st-banners--2 .st-banners__trilho {
		grid-template-columns: minmax( 0, 1fr );
		gap: 12px;
	}

	/* 3-4 blocos: rolagem nativa com encaixe; o bloco seguinte aparece cortado
	   para mostrar que a faixa continua. */
	.st-banners--3 .st-banners__trilho,
	.st-banners--4 .st-banners__trilho {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.st-banners--3 .st-banners__trilho::-webkit-scrollbar,
	.st-banners--4 .st-banners__trilho::-webkit-scrollbar {
		display: none;
	}

	.st-banners--3 .st-banners__item,
	.st-banners--4 .st-banners__item {
		flex: 0 0 77%;
		scroll-snap-align: start;
	}
}


/* ========================================================================
   FAIXA DE MARCAS DA LOJA-HOME
   Logo em circulo com o nome embaixo; sem logo, as iniciais sobre a
   superficie. Abaixo de 1024, fileira rolavel por toque; acima, fileira
   unica que encolhe: quebrar linha deixaria marca orfa.
   ======================================================================== */
/* Padding, nao margem: mesmo ritmo e mesmo motivo de `.st-vitrine`. */
.st-marcas {
	padding: 0.5rem 0 2rem;
}

.st-marcas__lista {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.st-marcas__lista::-webkit-scrollbar {
	display: none;
}

.st-marcas__item {
	flex: 0 0 84px;
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
}

@media screen and ( min-width: 768px ) {

	.st-marcas__item {
		flex-basis: 96px;
	}
}

@media screen and ( min-width: 1024px ) {

	.st-marcas__lista {
		gap: 8px;
		overflow: visible;
		scroll-snap-type: none;
	}

	.st-marcas__item {
		flex: 1 1 0;
		max-width: 160px;
	}
}

.st-marcas__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 4px 0;
	border-radius: 8px;
	color: var( --st-text, #16181C );
	text-align: center;
	text-decoration: none;
}

.st-marcas__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min( 72px, 100% );
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 1px solid var( --st-border, #CCD5E2 );
	border-radius: 50%;
	background: var( --st-bg, #FFFFFF );
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

@media screen and ( min-width: 768px ) {

	.st-marcas__logo {
		width: min( 80px, 100% );
	}
}

.st-marcas .st-marcas__img {
	display: block;
	width: 76%;
	height: 76%;
	object-fit: contain;
}

.st-marcas__logo--iniciais {
	background: var( --st-surface, #F2F7FF );
}

.st-marcas__iniciais {
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.02em;
	color: var( --st-brand, #0058B6 );
}

.st-marcas__nome {
	max-width: 100%;
	overflow: hidden;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.st-marcas__link:hover,
.st-marcas__link:focus-visible {
	color: var( --st-brand, #0058B6 );
}

.st-marcas__link:hover .st-marcas__logo,
.st-marcas__link:focus-visible .st-marcas__logo {
	border-color: var( --st-brand, #0058B6 );
	box-shadow: inset 0 0 0 1px var( --st-brand, #0058B6 );
}

.st-marcas__link:focus-visible {
	outline: 2px solid var( --st-brand, #0058B6 );
	outline-offset: -2px;
}

@media ( prefers-reduced-motion: reduce ) {

	.st-marcas__logo {
		transition: none;
	}
}


/* ========================================================================
   FILTROS ATIVOS
   Etiquetas entre a barra de ordenacao e a grade; cada uma remove o seu
   filtro.
   ======================================================================== */
.st-filtros-ativos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin: 0 0 1.5rem;
}

/* A barra do pai termina com margem de 2.617924em (36,6px); as etiquetas
   sao uma sub-linha dela, nao um bloco da grade. */
.storefront-sorting + .st-filtros-ativos {
	margin-top: -1.25rem;
}

.st-filtros-ativos__titulo {
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-semi, 600);
	color: var( --st-text-muted, #515F72 );
}

.st-filtros-ativos__lista {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.st-filtros-ativos__lista > li {
	margin: 0;
}

.st-filtros-ativos__chip,
.st-filtros-ativos__limpar {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.2;
	text-decoration: none;
}

.st-filtros-ativos__chip {
	gap: 0.5rem;
	padding: 0 0.75rem 0 1rem;
	border: 1px solid var( --st-border, #CCD5E2 );
	border-radius: var(--st-raio-pilula, 999px);
	background: var( --st-surface, #F2F7FF );
	color: var( --st-text, #16181C );
}

.st-filtros-ativos__chip:hover {
	border-color: var( --st-brand, #0058B6 );
	color: var( --st-text, #16181C );
}

.st-filtros-ativos__x {
	font-size: 1.25em;
	line-height: 1;
	color: var( --st-text-muted, #515F72 );
}

.st-filtros-ativos__limpar {
	padding: 0 0.25rem;
	color: var( --st-brand, #0058B6 );
}

/* ========================================================================
   MENSAGENS DO WOOCOMMERCE

   Sucesso, aviso e erro viram cartao claro: filete e icone na cor do papel
   (`--st-price`, `--st-text-muted`, `--st-danger`), texto em `--st-text`.
   O icone e um circulo com o simbolo vazado (mascara com `<mask>` interno),
   no `::before`, no lugar do Font Awesome do pai. Escopo `.site-content`:
   (0,2,0) vence o `woocommerce.css` do pai em (0,1,0).
   O HTML e o CSS da mensagem de "adicionado ao carrinho" vem do
   `saas-loja-nucleo`; aqui fica o cartao.
   ======================================================================== */
.site-content .woocommerce-message,
.site-content .woocommerce-info,
.site-content .woocommerce-error {
	position: relative;
	display: flow-root;
	margin-left: 0;
	margin-bottom: 1.5rem;
	padding: var(--st-sp-3-5, 14px) var(--st-sp-4, 16px) var(--st-sp-3-5, 14px) 52px;
	border: 1px solid var(--st-border, #CCD5E2);
	border-left: 4px solid var(--st-text-muted, #515F72);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-text, #16181C);
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.5;
	box-shadow: var(--st-sombra-1, 0 1px 2px color-mix(in srgb, var(--st-text, #16181C) 6%, transparent));
}

.site-content .woocommerce-message {
	border-left-color: var(--st-price, #0A7C2F);
}

.site-content .woocommerce-error {
	border-left-color: var(--st-danger, #B42318);
}

/* Mensagens do topo da pagina (PDP, loja): o breadcrumb ja da o respiro de
   cima; o pai soma 2.6em a primeira em (0,4,0). */
.site-content > .col-full > .woocommerce > .woocommerce-message:first-child,
.site-content > .col-full > .woocommerce > .woocommerce-info:first-child,
.site-content > .col-full > .woocommerce > .woocommerce-error:first-child {
	margin-top: 0;
}

/* Nao e controle: o WC so o foca para o leitor de tela anunciar. */
.site-content .woocommerce-message:focus,
.site-content .woocommerce-info:focus,
.site-content .woocommerce-error:focus {
	outline: 0;
}

.site-content .woocommerce-message::before,
.site-content .woocommerce-info::before,
.site-content .woocommerce-error::before {
	content: "";
	display: block;
	position: absolute;
	top: 14px;
	left: 16px;
	width: 22px;
	height: 22px;
	background-color: var(--st-text-muted, #515F72);
	font-family: inherit;
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Ccircle cx='12' cy='7' r='1.4' fill='black'/%3E%3Cpath d='M12 10.5v7' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/mask%3E%3Ccircle cx='12' cy='12' r='12' fill='black' mask='url(%23m)'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Ccircle cx='12' cy='7' r='1.4' fill='black'/%3E%3Cpath d='M12 10.5v7' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/mask%3E%3Ccircle cx='12' cy='12' r='12' fill='black' mask='url(%23m)'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-content .woocommerce-message::before {
	background-color: var(--st-price, #0A7C2F);
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpath d='M7 12.4l3.3 3.3L17.2 8.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='12' cy='12' r='12' fill='black' mask='url(%23m)'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpath d='M7 12.4l3.3 3.3L17.2 8.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Ccircle cx='12' cy='12' r='12' fill='black' mask='url(%23m)'/%3E%3C/svg%3E");
}

.site-content .woocommerce-error::before {
	background-color: var(--st-danger, #B42318);
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpath d='M12 6.5v7' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.3' r='1.4' fill='black'/%3E%3C/mask%3E%3Ccircle cx='12' cy='12' r='12' fill='black' mask='url(%23m)'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpath d='M12 6.5v7' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.3' r='1.4' fill='black'/%3E%3C/mask%3E%3Ccircle cx='12' cy='12' r='12' fill='black' mask='url(%23m)'/%3E%3C/svg%3E");
}

.site-content .woocommerce-message a:not(.button),
.site-content .woocommerce-info a:not(.button),
.site-content .woocommerce-error a:not(.button) {
	color: var(--st-brand, #0058B6);
	text-decoration: underline;
}

.site-content .woocommerce-message a:not(.button):hover,
.site-content .woocommerce-info a:not(.button):hover,
.site-content .woocommerce-error a:not(.button):hover {
	color: var(--st-brand-hover, #003F9D);
	opacity: 1;
}

/* Botao do WC ("Ver carrinho", "Continuar comprando"): o pai o deixa como
   link com filete. Margem negativa centra os 40px na linha de 22,5px. */
.site-content .woocommerce-message .button,
.site-content .woocommerce-info .button,
.site-content .woocommerce-error .button {
	display: inline-flex;
	align-items: center;
	float: right;
	min-height: 40px;
	margin: -9px 0 -9px 1rem;
	padding: 0 var(--st-sp-4, 16px);
	border: 0;
	border-radius: 6px;
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.2;
	text-decoration: none;
	box-shadow: none;
}

.site-content .woocommerce-message .button:hover,
.site-content .woocommerce-info .button:hover,
.site-content .woocommerce-error .button:hover {
	background-color: var(--st-brand-hover, #003F9D);
	color: var(--st-brand-contrast, #FFFFFF);
	opacity: 1;
}

/* Minha Conta, aviso so com texto e botao: no celular o float a direita
   encavala as linhas. O texto solto vira um item so do flex, por isso o
   ajuste so vale sem outro elemento filho; o botao desce para o fim. */
@media (max-width: 767px) {

	body.st-conta .site-content :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):has(> .button):not(:has(> :not(.button))) {
		display: flex;
		flex-wrap: wrap;
	}

	body.st-conta .site-content :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):has(> .button):not(:has(> :not(.button)))::after {
		display: none;
	}

	body.st-conta .site-content :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):has(> .button):not(:has(> :not(.button))) > .button {
		order: 1;
		flex: 1 1 100%;
		justify-content: center;
		float: none;
		min-height: 44px;
		margin: var(--st-sp-3, 12px) 0 0;
	}
}

/* ========================================================================
   Confirmacao do pedido (`order-received`) — topo com estado, trilha,
   resumo, bloco do gateway, itens e enderecos em cartoes
   ======================================================================== */

body.woocommerce-order-received {
	background-color: color-mix(in srgb, var(--st-text, #16181C) 4%, var(--st-bg, #FFFFFF));
}

/* O topo traz o proprio `h1`; sem ele (key invalida, login, verificar e-mail)
   o titulo da pagina fica. */
body.st-pedido-com-topo .hentry .entry-header {
	display: none;
}

body.woocommerce-order-received .hentry .entry-header .entry-title {
	margin: 0;
	font-size: var(--st-fs-10, 1.5rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.25;
	color: var(--st-text, #16181C);
}

body.woocommerce-order-received .woocommerce-order,
body.woocommerce-order-received .entry-content > .woocommerce {
	display: flex;
	flex-direction: column;
	gap: var(--st-sp-4, 16px);
}

/* Sem pedido na tela (login, verificar e-mail, key invalida) a coluna e a de
   formulario; com o topo, a da tabela de itens. */
body.woocommerce-order-received .entry-content > .woocommerce {
	max-width: 560px;
	margin: 0 auto 2.618em;
}

body.st-pedido-com-topo .entry-content > .woocommerce {
	max-width: 880px;
}

body.woocommerce-order-received .woocommerce-order > *,
body.woocommerce-order-received .entry-content > .woocommerce > * {
	margin: 0;
}

/* Cartoes. O topo e o resumo (ou as acoes do recusado) formam um so. */
body.woocommerce-order-received .st-pedido-topo,
body.woocommerce-order-received .woocommerce-order > .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-order > .woocommerce-thankyou-order-failed-actions,
:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento,
body.woocommerce-order-received .woocommerce-order > .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-order > .woocommerce-customer-details,
body.woocommerce-view-order .woocommerce-MyAccount-content > .woocommerce-order-details,
body.woocommerce-view-order .woocommerce-MyAccount-content > .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-thankyou-order-received,
body.woocommerce-order-received .entry-content > .woocommerce > form {
	box-sizing: border-box;
	padding: var(--st-sp-6, 24px) var(--st-sp-8, 32px);
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

body.woocommerce-order-received .st-pedido-topo {
	padding-top: var(--st-sp-8, 32px);
	padding-bottom: var(--st-sp-5, 20px);
	border-bottom: 0;
	border-radius: var(--st-raio-lg, 12px) var(--st-raio-lg, 12px) 0 0;
	box-shadow: none;
}

body.woocommerce-order-received .woocommerce-order > .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-order > .woocommerce-thankyou-order-failed-actions {
	margin-top: -16px;
	border-top: 0;
	border-radius: 0 0 var(--st-raio-lg, 12px) var(--st-raio-lg, 12px);
}

body.woocommerce-order-received .st-pedido-topo ~ .woocommerce-thankyou-order-received,
body.woocommerce-order-received .st-pedido-topo ~ .woocommerce-thankyou-order-failed {
	display: none;
}

body.woocommerce-view-order .woocommerce-MyAccount-content > .woocommerce-order-details,
body.woocommerce-view-order .woocommerce-MyAccount-content > .woocommerce-customer-details,
body.woocommerce-view-order .woocommerce-MyAccount-content > .st-pedido-pagamento {
	margin: 0 0 var(--st-sp-4, 16px);
}

/* Topo */
body.woocommerce-order-received .st-pedido-topo__cabeca {
	display: flex;
	align-items: flex-start;
	gap: var(--st-sp-4, 16px);
}

body.woocommerce-order-received .st-pedido-topo__icone {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: color-mix(in srgb, var(--st-brand, #0058B6) 12%, var(--st-bg, #FFFFFF));
	color: var(--st-brand, #0058B6);
}

body.woocommerce-order-received .st-pedido-topo--ok .st-pedido-topo__icone {
	background-color: color-mix(in srgb, var(--st-price, #0A7C2F) 12%, var(--st-bg, #FFFFFF));
	color: var(--st-price, #0A7C2F);
}

body.woocommerce-order-received .st-pedido-topo--erro .st-pedido-topo__icone {
	background-color: color-mix(in srgb, var(--st-danger, #B42318) 12%, var(--st-bg, #FFFFFF));
	color: var(--st-danger, #B42318);
}

body.woocommerce-order-received .st-pedido-topo--neutro .st-pedido-topo__icone {
	background-color: color-mix(in srgb, var(--st-text-muted, #515F72) 12%, var(--st-bg, #FFFFFF));
	color: var(--st-text-muted, #515F72);
}

body.woocommerce-order-received .st-pedido-topo__titulo {
	margin: var(--st-sp-1, 4px) 0 var(--st-sp-1-5, 6px);
	font-size: var(--st-fs-11, 1.625rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--st-text, #16181C);
}

body.woocommerce-order-received .st-pedido-topo__texto,
body.woocommerce-order-received .st-pedido-topo__email {
	margin: 0;
	font-size: var(--st-fs-5, 1rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

body.woocommerce-order-received .st-pedido-topo__texto a {
	color: var(--st-text, #16181C);
	font-weight: var(--st-peso-semi, 600);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.woocommerce-order-received .st-pedido-topo__email {
	margin-top: var(--st-sp-2, 8px);
	font-size: var(--st-fs-3, 0.875rem);
}

body.woocommerce-order-received .st-pedido-topo__email strong {
	color: var(--st-text, #16181C);
	font-weight: var(--st-peso-semi, 600);
	overflow-wrap: anywhere;
}

/* Trilha: a linha antes de cada etapa liga o centro da anterior ao dela. */
:is(body.woocommerce-order-received, body.st-conta-painel, body.st-conta-pedidos, body.st-conta-pedido) .st-pedido-trilha {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: var(--st-sp-7, 28px) 0 var(--st-sp-1, 4px);
	padding: 0;
	list-style: none;
}

:is(body.woocommerce-order-received, body.st-conta-painel, body.st-conta-pedidos, body.st-conta-pedido) .st-pedido-trilha__etapa {
	position: relative;
	padding: 34px var(--st-sp-1, 4px) 0;
	text-align: center;
}

:is(body.woocommerce-order-received, body.st-conta-painel, body.st-conta-pedidos, body.st-conta-pedido) .st-pedido-trilha__etapa + .st-pedido-trilha__etapa::before {
	content: "";
	position: absolute;
	top: 12px;
	right: calc(50% + 16px);
	left: calc(-50% + 16px);
	height: 2px;
	border-radius: 1px;
	background-color: var(--st-border, #CCD5E2);
}

:is(body.woocommerce-order-received, body.st-conta-painel, body.st-conta-pedidos, body.st-conta-pedido) .st-pedido-trilha__etapa--feita + .st-pedido-trilha__etapa::before {
	background-color: var(--st-price, #0A7C2F);
}

:is(body.woocommerce-order-received, body.st-conta-painel, body.st-conta-pedidos, body.st-conta-pedido) .st-pedido-trilha__marca {
	position: absolute;
	top: 0;
	left: 50%;
	box-sizing: border-box;
	width: 26px;
	height: 26px;
	margin-left: -13px;
	border: 2px solid var(--st-border, #CCD5E2);
	border-radius: 50%;
	background-color: var(--st-bg, #FFFFFF);
}

:is(body.woocommerce-order-received, body.st-conta-painel, body.st-conta-pedidos, body.st-conta-pedido) .st-pedido-trilha__etapa--feita .st-pedido-trilha__marca {
	border-color: var(--st-price, #0A7C2F);
	background-color: var(--st-price, #0A7C2F);
}

:is(body.woocommerce-order-received, body.st-conta-painel, body.st-conta-pedidos, body.st-conta-pedido) .st-pedido-trilha__etapa--feita .st-pedido-trilha__marca::after {
	content: "";
	position: absolute;
	top: 5px;
	left: 8px;
	width: 5px;
	height: 10px;
	border: solid var(--st-price-contrast, #FFFFFF);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

:is(body.woocommerce-order-received, body.st-conta-painel, body.st-conta-pedidos, body.st-conta-pedido) .st-pedido-trilha__etapa--atual .st-pedido-trilha__marca {
	border-color: var(--st-brand, #0058B6);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--st-brand, #0058B6) 18%, transparent);
}

:is(body.woocommerce-order-received, body.st-conta-painel, body.st-conta-pedidos, body.st-conta-pedido) .st-pedido-trilha__etapa--atual .st-pedido-trilha__marca::after {
	content: "";
	position: absolute;
	inset: 5px;
	border-radius: 50%;
	background-color: var(--st-brand, #0058B6);
}

:is(body.woocommerce-order-received, body.st-conta-painel, body.st-conta-pedidos, body.st-conta-pedido) .st-pedido-trilha__rotulo {
	display: block;
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.3;
	color: var(--st-text-muted, #515F72);
}

:is(body.woocommerce-order-received, body.st-conta-painel, body.st-conta-pedidos, body.st-conta-pedido) .st-pedido-trilha__etapa--feita .st-pedido-trilha__rotulo,
:is(body.woocommerce-order-received, body.st-conta-painel, body.st-conta-pedidos, body.st-conta-pedido) .st-pedido-trilha__etapa--atual .st-pedido-trilha__rotulo {
	color: var(--st-text, #16181C);
	font-weight: var(--st-peso-semi, 600);
}

/* Resumo (`ul.order_details` do core): o pai desenha a borda serrilhada nos
   pseudo-elementos e o Customizer pinta o fundo. */
:is(body.woocommerce-order-received, body.woocommerce-view-order .st-pedido-pagamento) ul.order_details {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--st-sp-4, 16px) var(--st-sp-6, 24px);
	list-style: none;
	background: var(--st-bg, #FFFFFF);
}

body.woocommerce-order-received .woocommerce-order > .woocommerce-order-overview {
	padding-top: 0;
	padding-bottom: var(--st-sp-6, 24px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

body.woocommerce-order-received .woocommerce-order > .woocommerce-order-overview::before {
	content: "";
	display: block;
	position: static;
	grid-column: 1 / -1;
	width: auto;
	height: 1px;
	margin: 0 0 var(--st-sp-1, 4px);
	background: var(--st-border, #CCD5E2);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order .st-pedido-pagamento) ul.order_details::after,
:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento ul.order_details::before {
	display: none;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order .st-pedido-pagamento) ul.order_details > li,
:is(body.woocommerce-order-received, body.woocommerce-view-order .st-pedido-pagamento) ul.order_details > li:first-child,
:is(body.woocommerce-order-received, body.woocommerce-view-order .st-pedido-pagamento) ul.order_details > li:last-child {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.4;
	text-transform: none;
	color: var(--st-text-muted, #515F72);
}

/* O topo ja diz para onde o e-mail foi. */
body.woocommerce-order-received .woocommerce-order-overview__email {
	display: none;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order .st-pedido-pagamento) ul.order_details > li strong {
	display: block;
	margin-top: 2px;
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-semi, 600);
	color: var(--st-text, #16181C);
	overflow-wrap: anywhere;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order .st-pedido-pagamento) ul.order_details > li.woocommerce-order-overview__total strong {
	color: var(--st-price, #0A7C2F);
	font-weight: var(--st-peso-negrito, 700);
}

body.woocommerce-order-received .woocommerce-order > .woocommerce-thankyou-order-failed-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--st-sp-2, 8px);
	padding-top: var(--st-sp-2, 8px);
	padding-bottom: var(--st-sp-8, 32px);
	padding-left: calc(var(--st-sp-8, 32px) + 56px + var(--st-sp-4, 16px));
	color: var(--st-text, #16181C);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

body.woocommerce-order-received .st-pedido-topo--falhou {
	padding-bottom: var(--st-sp-3, 12px);
}

body.woocommerce-order-received .woocommerce-thankyou-order-failed-actions::before {
	display: none;
}

body.woocommerce-order-received .woocommerce-thankyou-order-failed-actions .button {
	min-height: 48px;
	margin: 0;
	padding: 0 var(--st-sp-7, 28px);
	display: inline-flex;
	align-items: center;
	border-radius: var(--st-raio, 8px);
}

body.woocommerce-order-received .woocommerce-thankyou-order-failed-actions .button:first-child {
	background-color: var(--st-brand, #0058B6);
	border-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.woocommerce-order-received .woocommerce-thankyou-order-failed-actions .button:first-child:hover {
	background-color: var(--st-brand-hover, #003F9D);
	color: var(--st-brand-contrast, #FFFFFF);
}

/* Bloco do gateway (Asaas: Pix, boleto, cartao) */
:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento {
	border-top: 4px solid var(--st-brand, #0058B6);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento__valor {
	margin: 0 0 var(--st-sp-4, 16px);
	font-size: var(--st-fs-8, 1.25rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.3;
	color: var(--st-text, #16181C);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento__valor strong {
	color: var(--st-price, #0A7C2F);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento .woocommerce-order-details {
	margin: 0;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento .woocommerce-order-details__title {
	display: none;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento ul.order_details {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento ul.order_details > li,
:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento ul.order_details > li:first-child,
:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento ul.order_details > li:last-child {
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.5;
	color: var(--st-text, #16181C);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento ul.order_details > li + li {
	margin-top: var(--st-sp-4, 16px);
}

/* O pai pinta todo `li` do `ul.order_details`, inclusive a lista de passos do Pix. */
:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento ul.order_details li li {
	padding: 0;
	border: 0;
	font-size: inherit;
	text-transform: none;
}

/* O plugin vira a coluna abaixo de 992 (`column-reverse`, lista acima do QR). */
:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento .asaas-pix-instructions {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: var(--st-sp-6, 24px);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento .js-pix-qr-code {
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 200px;
	height: 200px;
	padding: var(--st-sp-2, 8px);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio, 8px);
	/* Zona de silencio do QR: branco em qualquer paleta. */
	background-color: #FFFFFF;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento .asaas-pix-instructions__list {
	margin: 0;
	padding-left: 1.25em;
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento .asaas-pix-instructions__list li + li {
	margin-top: var(--st-sp-1-5, 6px);
}

/* O plugin deixa o codigo numa linha com rolagem (`nowrap`, 40px). */
:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento .woocommerce-order-details__asaas-pix-payload {
	overflow: visible;
	height: auto;
	white-space: normal;
	margin: 0 0 var(--st-sp-3, 12px);
	padding: var(--st-sp-3, 12px) var(--st-sp-3-5, 14px);
	border: 1px dashed var(--st-border, #CCD5E2);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-surface, #F2F7FF);
	font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
	font-size: var(--st-fs-1, 0.75rem);
	line-height: 1.5;
	color: var(--st-text, #16181C);
	word-break: break-all;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: var(--st-sp-2, 8px) 0 0;
	padding: 0 var(--st-sp-7, 28px);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-brand, #0058B6);
	border-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento .button:hover {
	background-color: var(--st-brand-hover, #003F9D);
	border-color: var(--st-brand-hover, #003F9D);
	color: var(--st-brand-contrast, #FFFFFF);
}

/* Itens e totais */
:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-order-details__title,
:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-column__title {
	margin: 0 0 var(--st-sp-3, 12px);
	font-size: var(--st-fs-7, 1.125rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.3;
	color: var(--st-text, #16181C);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details {
	margin: 0;
	border: 0;
	background: none;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details thead {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details th,
:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details td,
:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details tbody tr:nth-child(2n) td {
	padding: var(--st-sp-2, 8px) 0;
	border: 0;
	background: none;
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.4;
	vertical-align: middle;
	color: var(--st-text, #16181C);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details tbody td {
	padding: var(--st-sp-3, 12px) 0;
	border-bottom: 1px solid var(--st-border, #CCD5E2);
}

/* `float` e nao grid/flex no `td`: trocar o `display` da celula tira a
   semantica de tabela em alguns leitores de tela. */
:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details td.product-name {
	padding-right: var(--st-sp-4, 16px);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details .st-pedido-thumb {
	float: left;
	box-sizing: border-box;
	width: 56px;
	height: 56px;
	margin: 0 var(--st-sp-3, 12px) 0 0;
	padding: var(--st-sp-1, 4px);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-bg, #FFFFFF);
	object-fit: contain;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details .st-pedido-nome {
	display: block;
	overflow: hidden;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details .st-pedido-nome a {
	color: var(--st-text, #16181C);
	font-weight: var(--st-peso-semi, 600);
	text-decoration: none;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details .st-pedido-nome a:hover {
	text-decoration: underline;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details td.product-name .product-quantity {
	display: block;
	margin-left: 68px;
	font-size: var(--st-fs-2, 0.8125rem);
	font-weight: var(--st-peso-normal, 400);
	color: var(--st-text-muted, #515F72);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details td.product-name .wc-item-meta {
	margin: 2px 0 0 68px;
	font-size: var(--st-fs-2, 0.8125rem);
	color: var(--st-text-muted, #515F72);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details td.product-total {
	text-align: right;
	white-space: nowrap;
	font-weight: var(--st-peso-semi, 600);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details tfoot th {
	font-weight: var(--st-peso-normal, 400);
	color: var(--st-text-muted, #515F72);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details tfoot td {
	text-align: right;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details .shipped_via {
	display: block;
	font-size: var(--st-fs-2, 0.8125rem);
	color: var(--st-text-muted, #515F72);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details tfoot tr:first-child > * {
	padding-top: var(--st-sp-4, 16px);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details tfoot tr:has(.st-pedido-total) > * {
	padding-top: var(--st-sp-3, 12px);
	border-top: 1px solid var(--st-border, #CCD5E2);
	font-size: var(--st-fs-7, 1.125rem);
	font-weight: var(--st-peso-negrito, 700);
	color: var(--st-text, #16181C);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details .st-pedido-total {
	color: var(--st-price, #0A7C2F);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details tfoot tr:has(.order-actions--heading) > * {
	padding-top: var(--st-sp-4, 16px);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details .order-actions-button {
	display: inline;
	min-height: 0;
	margin: 0 0 0 var(--st-sp-4, 16px);
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-normal, 400);
	color: var(--st-text-muted, #515F72);
	text-decoration: underline;
	text-underline-offset: 3px;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details .order-actions-button:hover {
	background: none;
	color: var(--st-danger, #B42318);
}

/* Enderecos */
:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-customer-details .col2-set.addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--st-sp-6, 24px);
	float: none;
	width: auto;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-customer-details .col2-set.addresses::before,
:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-customer-details .col2-set.addresses::after {
	display: none;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-customer-details .col2-set.addresses .woocommerce-column {
	float: none;
	width: auto;
	margin: 0;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-customer-details address {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.6;
	color: var(--st-text-muted, #515F72);
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-customer-details address p {
	margin: var(--st-sp-2, 8px) 0 0;
}

:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-customer-details address p::before {
	display: none;
}

/* Saidas */
body.woocommerce-order-received .st-pedido-acoes {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--st-sp-3, 12px) var(--st-sp-6, 24px);
	padding: var(--st-sp-2, 8px) 0 0;
}

body.woocommerce-order-received .st-pedido-acoes .button {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	margin: 0;
	padding: 0 var(--st-sp-8, 32px);
	border-radius: var(--st-raio, 8px);
}

body.woocommerce-order-received .st-pedido-acoes__link {
	font-weight: var(--st-peso-semi, 600);
	color: var(--st-text, #16181C);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Sem pedido na tela (key invalida), login e verificar e-mail */
body.woocommerce-order-received .woocommerce-thankyou-order-received {
	font-size: var(--st-fs-7, 1.125rem);
	font-weight: var(--st-peso-semi, 600);
	color: var(--st-text, #16181C);
}

body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
	content: "✓";
	margin-right: var(--st-sp-2-5, 10px);
	color: var(--st-price, #0A7C2F);
	font-weight: var(--st-peso-negrito, 700);
}

body.woocommerce-order-received .entry-content > .woocommerce > form .form-row {
	float: none;
	width: auto;
	margin: 0 0 var(--st-sp-4, 16px);
	padding: 0;
}

/* Mesmo campo do checkout: o pai desenha `input.input-text` com `border:0` e
   fundo cinza. */
body.woocommerce-order-received .entry-content > .woocommerce > form .input-text {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	border: 1px solid color-mix(in srgb, var(--st-text, #16181C) 50%, var(--st-bg, #FFFFFF));
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-bg, #FFFFFF);
	box-shadow: none;
	font-size: 16px;
	color: var(--st-text, #16181C);
}

body.woocommerce-order-received .entry-content > .woocommerce > form .input-text:hover {
	border-color: var(--st-text-muted, #515F72);
}

body.woocommerce-order-received .entry-content > .woocommerce > form .password-input {
	display: block;
	position: relative;
}

body.woocommerce-order-received .entry-content > .woocommerce > form .show-password-input {
	top: 50%;
	right: 4px;
	width: 40px;
	height: 40px;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	background: none;
	color: var(--st-text-muted, #515F72);
}

body.woocommerce-order-received .hentry .entry-header {
	margin: 0 0 var(--st-sp-4, 16px);
	padding: 0;
	border: 0;
	text-align: center;
}

body.woocommerce-order-received .entry-content > .woocommerce > form .button {
	min-height: 48px;
	padding: 0 var(--st-sp-8, 32px);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-brand, #0058B6);
	border-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

@media (max-width: 767px) {

	body.woocommerce-order-received .st-pedido-topo,
	body.woocommerce-order-received .woocommerce-order > .woocommerce-order-overview,
	:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento,
	body.woocommerce-order-received .woocommerce-order > .woocommerce-order-details,
	body.woocommerce-order-received .woocommerce-order > .woocommerce-customer-details,
	body.woocommerce-view-order .woocommerce-MyAccount-content > .woocommerce-order-details,
	body.woocommerce-view-order .woocommerce-MyAccount-content > .woocommerce-customer-details,
	body.woocommerce-order-received .woocommerce-thankyou-order-received,
	body.woocommerce-order-received .entry-content > .woocommerce > form {
		padding-right: var(--st-sp-5, 20px);
		padding-left: var(--st-sp-5, 20px);
	}

	body.woocommerce-order-received .st-pedido-topo {
		padding-top: var(--st-sp-6, 24px);
	}

	body.woocommerce-order-received .st-pedido-topo__icone {
		width: 44px;
		height: 44px;
	}

	body.woocommerce-order-received .st-pedido-topo__icone svg {
		width: 22px;
		height: 22px;
	}

	body.woocommerce-order-received .st-pedido-topo__titulo {
		margin-top: 2px;
		font-size: var(--st-fs-9, 1.375rem);
	}

	:is(body.woocommerce-order-received, body.woocommerce-view-order .st-pedido-pagamento) ul.order_details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details td.product-name {
		padding-right: var(--st-sp-3, 12px);
	}

	:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details .st-pedido-thumb {
		width: 44px;
		height: 44px;
		margin-right: var(--st-sp-2-5, 10px);
		padding: 2px;
	}

	:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details td.product-name .product-quantity,
	:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-table--order-details td.product-name .wc-item-meta {
		margin-left: 54px;
	}

	body.woocommerce-order-received .woocommerce-order > .woocommerce-thankyou-order-failed-actions {
		padding: var(--st-sp-2, 8px) var(--st-sp-5, 20px) var(--st-sp-6, 24px);
	}

	body.woocommerce-order-received .woocommerce-thankyou-order-failed-actions .button {
		flex: 1 1 100%;
		justify-content: center;
	}

	:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento .asaas-pix-instructions {
		flex-direction: column;
		align-items: center;
	}

	:is(body.woocommerce-order-received, body.woocommerce-view-order) .st-pedido-pagamento .button,
	body.woocommerce-order-received .st-pedido-acoes .button {
		width: 100%;
		justify-content: center;
	}

	body.woocommerce-order-received .st-pedido-acoes {
		flex-direction: column;
	}

	:is(body.woocommerce-order-received, body.woocommerce-view-order) .woocommerce-customer-details .col2-set.addresses {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ========================================================================
   Minha Conta — entrar e cadastro (`body.st-conta-entrar`, `inc/conta.php`)
   ======================================================================== */

body.st-conta-entrar {
	background-color: color-mix(in srgb, var(--st-text, #16181C) 4%, var(--st-bg, #FFFFFF));
}

/* PAR ACOPLADO: o pai poe `padding:0 0 5.9968em` em
   `.storefront-full-width-content.woocommerce-account .entry-header` (0,3,0),
   `@media(min-width:768px)`. */
body.st-conta-entrar.storefront-full-width-content .entry-header,
body.st-conta-senha.storefront-full-width-content .entry-header {
	padding-bottom: 1.5em;
}

body.st-conta-entrar .hentry .entry-header .entry-title,
body.st-conta-senha .hentry .entry-header .entry-title {
	margin: 0;
	text-align: center;
	font-size: var(--st-fs-12, 1.75rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.25;
	color: var(--st-text, #16181C);
}

body.st-conta-entrar #customer_login,
body.st-conta-entrar .woocommerce > form.login {
	box-sizing: border-box;
	max-width: 960px;
	margin: 0 auto 3em;
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

/* Mensagens do WC saem do pai acima do `#primary`: na largura do cartao. */
body.st-conta-entrar .site-content > .col-full > .woocommerce {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}

body.st-conta-entrar--so-login .site-content > .col-full > .woocommerce {
	max-width: 480px;
}

/* Vence `.col2-set#customer_login{width:100%;float:left}` do pai (1,1,0). */
body.st-conta-entrar #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	float: none;
	width: auto;
}

/* O clearfix do `.col2-set` viraria item do grid. */
body.st-conta-entrar #customer_login::before,
body.st-conta-entrar #customer_login::after {
	content: none;
}

/* (1,3,1): vence tambem o `.page-template-template-fullwidth-php` do pai (1,3,0). */
body.st-conta-entrar.woocommerce-account #customer_login .col-1,
body.st-conta-entrar.woocommerce-account #customer_login .col-2 {
	float: none;
	width: auto;
	margin: 0;
	padding: 40px;
}

body.st-conta-entrar #customer_login .col-2 {
	background-color: var(--st-surface, #F2F7FF);
	border-left: 1px solid var(--st-border, #CCD5E2);
	border-radius: 0 11px 11px 0;
}

body.st-conta-entrar .woocommerce > form.login {
	max-width: 480px;
	padding: 40px;
}

/* Sem cadastro, o "Entrar" repete o H1: fica so para leitor de tela. */
body.st-conta-entrar .woocommerce > h2 {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.st-conta-entrar #customer_login h2 {
	font-size: var(--st-fs-9, 1.375rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.3;
	color: var(--st-text, #16181C);
	margin: 0 0 0.25em;
}

body.st-conta-entrar .woocommerce-form-login,
body.st-conta-entrar .woocommerce-form-register {
	margin: 0;
	padding: 0;
	border: 0;
}

body.st-conta-entrar .st-conta__lead {
	margin: 0 0 1.5em;
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-entrar .st-conta__vantagens {
	display: grid;
	gap: var(--st-sp-2-5, 10px);
	margin: -0.5em 0 1.75em;
	padding: 0;
	list-style: none;
}

body.st-conta-entrar .st-conta__vantagens li {
	position: relative;
	padding-left: 30px;
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.5;
	color: var(--st-text, #16181C);
}

body.st-conta-entrar .st-conta__vantagens li::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: var(--st-brand, #0058B6);
}

body.st-conta-entrar .st-conta__vantagens li::after {
	content: "";
	position: absolute;
	top: 6px;
	left: 7px;
	width: 5px;
	height: 9px;
	border: solid var(--st-brand-contrast, #FFFFFF);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

body.st-conta-entrar .woocommerce-form .form-row {
	margin: 0 0 1.125em;
	padding: 0;
}

body.st-conta-entrar .woocommerce-form .form-row-wide > label {
	display: block;
	margin-bottom: 0.375em;
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.4;
}

body.st-conta-entrar .woocommerce-form .form-row label .required {
	color: var(--st-danger, #B42318);
	text-decoration: none;
	border-bottom: 0;
}

/* `border` inteiro: o pai desenha `input.input-text` com `border:0` + fundo
   cinza. Contorno com 50% do texto para passar 3:1 (WCAG 1.4.11). */
body.st-conta-entrar .woocommerce-form input.input-text {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0.6180469716em 0.875em;
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-text, #16181C);
	border: 1px solid color-mix(in srgb, var(--st-text, #16181C) 50%, var(--st-bg, #FFFFFF));
	border-radius: var(--st-raio, 8px);
	box-shadow: none;
	font-size: 16px;
}

body.st-conta-entrar .woocommerce-form input.input-text:hover {
	border-color: var(--st-text-muted, #515F72);
}

/* Olho da senha: o `.password-input` e o botao vem do JS do WC. O pai so
   posiciona o botao; a superficie vem da regra global de `button`. */
body.st-conta-entrar .woocommerce-form .password-input {
	position: relative;
	display: block;
}

body.st-conta-entrar .woocommerce-form .password-input input.input-text {
	padding-right: 48px;
}

body.st-conta-entrar .woocommerce-form .show-password-input {
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0 var(--st-raio, 8px) var(--st-raio, 8px) 0;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-entrar .woocommerce-form .show-password-input:hover {
	background: none;
	color: var(--st-text, #16181C);
}

body.st-conta-entrar .woocommerce-form .show-password-input.display-password::after {
	color: var(--st-brand, #0058B6);
}

body.st-conta-entrar .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: var(--st-sp-2, 8px);
	margin: 0;
	font-size: var(--st-fs-4, 0.9375rem);
	cursor: pointer;
}

body.st-conta-entrar .woocommerce-form-login__rememberme input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--st-brand, #0058B6);
}

body.st-conta-entrar .woocommerce-form-login__submit,
body.st-conta-entrar .woocommerce-form-register__submit {
	display: block;
	float: none;
	width: 100%;
	min-height: 48px;
	margin: 1.25em 0 0;
	border-width: 1px;
	border-style: solid;
	border-radius: var(--st-raio, 8px);
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-negrito, 700);
}

body.st-conta-entrar .woocommerce-form-register__submit {
	margin-top: 0;
}

body.st-conta-entrar .woocommerce-form-login__submit {
	background-color: var(--st-brand, #0058B6);
	border-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.st-conta-entrar .woocommerce-form-login__submit:hover {
	background-color: var(--st-brand-hover, #003F9D);
	border-color: var(--st-brand-hover, #003F9D);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.st-conta-entrar .woocommerce-form-register__submit {
	background-color: var(--st-bg, #FFFFFF);
	border-color: var(--st-brand, #0058B6);
	color: var(--st-brand, #0058B6);
}

body.st-conta-entrar .woocommerce-form-register__submit:hover {
	background-color: var(--st-brand, #0058B6);
	border-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.st-conta-entrar .woocommerce-form-login .lost_password {
	margin: 1.25em 0 0;
	text-align: center;
	font-size: var(--st-fs-4, 0.9375rem);
}

body.st-conta-entrar .woocommerce-form-register > p:not(.form-row):not(.st-conta__lead),
body.st-conta-entrar .woocommerce-form-register .woocommerce-privacy-policy-text p {
	margin: 0 0 1em;
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

@media screen and ( max-width: 1023px ) {

	body.st-conta-entrar #customer_login,
	body.st-conta-entrar:not(.st-conta-entrar--so-login) .site-content > .col-full > .woocommerce {
		max-width: 560px;
	}

	body.st-conta-entrar #customer_login {
		grid-template-columns: minmax(0, 1fr);
	}

	body.st-conta-entrar #customer_login .col-2 {
		border-left: 0;
		border-top: 1px solid var(--st-border, #CCD5E2);
		border-radius: 0 0 11px 11px;
	}
}

@media screen and ( max-width: 767px ) {

	body.st-conta-entrar.storefront-full-width-content .entry-header,
	body.st-conta-senha.storefront-full-width-content .entry-header {
		padding-bottom: 1em;
	}

	body.st-conta-entrar .hentry .entry-header .entry-title,
	body.st-conta-senha .hentry .entry-header .entry-title {
		font-size: var(--st-fs-10, 1.5rem);
	}

	body.st-conta-entrar #customer_login .col-1,
	body.st-conta-entrar #customer_login .col-2,
	body.st-conta-entrar .woocommerce > form.login {
		padding: var(--st-sp-6, 24px) var(--st-sp-5, 20px);
	}
}

/* ========================================================================
   Minha Conta — logada (`body.st-conta`, `body.st-conta-painel`; `inc/conta.php`)
   Perfil + menu na lateral em todo endpoint; painel so na rota sem endpoint.
   ======================================================================== */

body.st-conta-painel,
body.st-conta-downloads,
body.st-conta-pagamento {
	background-color: color-mix(in srgb, var(--st-text, #16181C) 4%, var(--st-bg, #FFFFFF));
}

/* PAR ACOPLADO: `padding-bottom:5.9968em` do pai, ver §entrar e cadastro. */
body.st-conta.storefront-full-width-content .entry-header {
	padding-bottom: 1.5em;
}

body.st-conta .hentry .entry-header,
body.st-conta .hentry .entry-content > .woocommerce {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

body.st-conta .hentry .entry-header .entry-title {
	margin: 0;
	text-align: left;
	font-size: var(--st-fs-12, 1.75rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.25;
	color: var(--st-text, #16181C);
}

/* Perfil e menu formam um so cartao. */
body.st-conta .st-conta-perfil {
	display: flex;
	align-items: center;
	gap: var(--st-sp-3, 12px);
	box-sizing: border-box;
	padding: var(--st-sp-5, 20px);
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px) var(--st-raio-lg, 12px) 0 0;
}

body.st-conta .st-conta-perfil__avatar {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
	font-size: var(--st-fs-7, 1.125rem);
	font-weight: var(--st-peso-negrito, 700);
	letter-spacing: 0.02em;
}

body.st-conta .st-conta-perfil__texto {
	display: grid;
	min-width: 0;
}

body.st-conta .st-conta-perfil__nome,
body.st-conta .st-conta-perfil__email {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

body.st-conta .st-conta-perfil__nome {
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.35;
	color: var(--st-text, #16181C);
}

body.st-conta .st-conta-perfil__email {
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.4;
	color: var(--st-text-muted, #515F72);
}

/* (0,3,1): vence a largura/float do pai em `.page-template-template-fullwidth-php`
   e `.left-sidebar:not(...)` (0,3,0). */
body.st-conta.woocommerce-account .woocommerce-MyAccount-navigation,
body.st-conta.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	margin: 0;
}

body.st-conta .woocommerce-MyAccount-navigation {
	box-sizing: border-box;
	padding: var(--st-sp-2, 8px);
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-top: 0;
	border-radius: 0 0 var(--st-raio-lg, 12px) var(--st-raio-lg, 12px);
}

body.st-conta .hentry .entry-content .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	border-top: 0;
}

body.st-conta .hentry .entry-content .woocommerce-MyAccount-navigation ul li {
	border-bottom: 0;
}

body.st-conta .hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a {
	display: flex;
	align-items: center;
	gap: var(--st-sp-3, 12px);
	min-height: 44px;
	box-sizing: border-box;
	padding: var(--st-sp-2-5, 10px) var(--st-sp-3, 12px);
	border-radius: var(--st-raio, 8px);
	color: var(--st-text, #16181C);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: 500;
	line-height: 1.3;
}

body.st-conta .hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a:hover {
	background-color: var(--st-surface, #F2F7FF);
}

body.st-conta .hentry .entry-content .woocommerce-MyAccount-navigation ul li.is-active a {
	background-color: color-mix(in srgb, var(--st-brand, #0058B6) 10%, var(--st-bg, #FFFFFF));
	color: var(--st-brand, #0058B6);
	font-weight: var(--st-peso-semi, 600);
}

body.st-conta .hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: var(--st-sp-1-5, 6px);
	padding-top: var(--st-sp-1-5, 6px);
	border-top: 1px solid var(--st-border, #CCD5E2);
}

body.st-conta .hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--st-text-muted, #515F72);
}

/* Icone do menu: mascara SVG no lugar do glifo Font Awesome do pai, que fica
   a direita com 25% de opacidade. Endpoint sem icone proprio cai no da conta. */
body.st-conta .woocommerce-MyAccount-navigation ul li a::before {
	content: "";
	flex: 0 0 auto;
	float: none;
	width: 20px;
	height: 20px;
	margin: 0;
	opacity: 1;
	background-color: currentColor;
	-webkit-mask: var(--conta-icone) center / contain no-repeat;
	mask: var(--conta-icone) center / contain no-repeat;
}

body.st-conta .woocommerce-MyAccount-navigation li {
	--conta-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

body.st-conta .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard {
	--conta-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E");
}

body.st-conta .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders {
	--conta-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5V8Z'/%3E%3Cpath d='m3 8 9 5 9-5'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E");
}

body.st-conta .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--avisos {
	--conta-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E");
}

body.st-conta .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads {
	--conta-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
}

body.st-conta .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address {
	--conta-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

body.st-conta .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--payment-methods {
	--conta-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3Cpath d='M6 15h4'/%3E%3C/svg%3E");
}

body.st-conta .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account {
	--conta-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M6 16a3 3 0 0 1 6 0'/%3E%3Cpath d='M15 10h3M15 14h3'/%3E%3C/svg%3E");
}

body.st-conta .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout {
	--conta-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='m16 17 5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E");
}

/* Volta um nivel: "Minha conta" nos endpoints, "Meus pedidos" no pedido. */
body.st-conta .st-conta-voltar {
	display: inline-flex;
	align-items: center;
	gap: var(--st-sp-2-5, 10px);
	min-height: 44px;
	margin: 0 0 var(--st-sp-1, 4px);
	color: var(--st-text-muted, #515F72);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-semi, 600);
	text-decoration: none;
}

body.st-conta .st-conta-voltar::before {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: 3px;
	border: solid currentColor;
	border-width: 2px 2px 0 0;
	transform: rotate(-135deg);
}

body.st-conta .st-conta-voltar:hover {
	color: var(--st-brand, #0058B6);
}

/* ------------------------------------------------------------------------
   Painel
   ------------------------------------------------------------------------ */

body.st-conta-painel .st-painel {
	display: grid;
	gap: var(--st-sp-6, 24px);
}

body.st-conta-painel .st-painel h2 {
	margin: 0;
	color: var(--st-text, #16181C);
	font-weight: var(--st-peso-negrito, 700);
}

body.st-conta-painel .st-painel p {
	margin: 0;
}

body.st-conta-painel .st-painel__ola {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--st-sp-4, 16px) var(--st-sp-6, 24px);
	overflow: hidden;
	padding: var(--st-sp-7, 28px) var(--st-sp-8, 32px);
	border-radius: var(--st-raio-lg, 12px);
	background: linear-gradient(120deg, var(--st-brand, #0058B6) 0%, color-mix(in srgb, var(--st-brand, #0058B6) 70%, var(--st-text, #16181C)) 100%);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.st-conta-painel .st-painel__ola::before {
	content: "";
	position: absolute;
	top: -60%;
	right: -6%;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--st-brand-contrast, #FFFFFF) 16%, transparent) 0%, transparent 70%);
	pointer-events: none;
}

body.st-conta-painel .st-painel__ola-texto {
	position: relative;
	min-width: 0;
}

body.st-conta-painel .st-painel .st-painel__titulo {
	font-size: var(--st-fs-11, 1.625rem);
	line-height: 1.25;
	color: var(--st-brand-contrast, #FFFFFF);
	overflow-wrap: anywhere;
}

body.st-conta-painel .st-painel .st-painel__apoio {
	margin-top: var(--st-sp-1, 4px);
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.5;
	color: color-mix(in srgb, var(--st-brand-contrast, #FFFFFF) 88%, var(--st-brand, #0058B6));
}

body.st-conta-painel .st-painel__sair {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	min-height: 44px;
	box-sizing: border-box;
	padding: 0 var(--st-sp-4-5, 18px);
	border: 1px solid color-mix(in srgb, var(--st-brand-contrast, #FFFFFF) 60%, transparent);
	border-radius: var(--st-raio-pilula, 999px);
	color: var(--st-brand-contrast, #FFFFFF);
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-semi, 600);
	text-decoration: none;
}

body.st-conta-painel .st-painel__sair:hover {
	background-color: color-mix(in srgb, var(--st-brand-contrast, #FFFFFF) 14%, transparent);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.st-conta-painel .st-painel__sair:focus-visible {
	outline: 2px solid var(--st-brand-contrast, #FFFFFF);
	outline-offset: 2px;
}

:is(body.st-conta-painel, body.st-conta-pedidos, body.st-conta-downloads, body.st-conta-pagamento) .st-painel__cartao {
	box-sizing: border-box;
	padding: var(--st-sp-6, 24px) var(--st-sp-7, 28px);
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

body.st-conta-painel .st-painel__cab {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--st-sp-4, 16px);
}

body.st-conta-painel .st-painel .st-painel__subtitulo {
	font-size: var(--st-fs-7, 1.125rem);
	line-height: 1.3;
}

body.st-conta-painel .st-painel__todos {
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-semi, 600);
	color: var(--st-brand, #0058B6);
	white-space: nowrap;
}

body.st-conta-painel .st-painel__resumo {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--st-sp-5, 20px);
	margin-top: var(--st-sp-4, 16px);
}

body.st-conta-painel .st-painel__resumo--sem-fotos {
	grid-template-columns: minmax(0, 1fr) auto;
}

body.st-conta-painel .st-painel__fotos {
	display: flex;
	gap: var(--st-sp-2, 8px);
}

body.st-conta .st-painel__foto,
body.st-conta .st-painel__mais {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-bg, #FFFFFF);
}

body.st-conta .st-painel__foto img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

body.st-conta .st-painel__mais {
	background-color: var(--st-surface, #F2F7FF);
	color: var(--st-text-muted, #515F72);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-semi, 600);
}

body.st-conta-painel .st-painel .st-painel__numero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--st-sp-1-5, 6px) var(--st-sp-2-5, 10px);
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.4;
	color: var(--st-text, #16181C);
}

body.st-conta .st-painel__status {
	display: inline-flex;
	align-items: center;
	padding: 2px var(--st-sp-2-5, 10px);
	border-radius: var(--st-raio-pilula, 999px);
	font-size: var(--st-fs-1, 0.75rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.5;
}

body.st-conta .st-painel__status--ok {
	color: var(--st-price, #0A7C2F);
	background-color: color-mix(in srgb, var(--st-price, #0A7C2F) 10%, var(--st-bg, #FFFFFF));
}

body.st-conta .st-painel__status--espera {
	color: var(--st-accent-ink, #B93800);
	background-color: color-mix(in srgb, var(--st-accent-ink, #B93800) 10%, var(--st-bg, #FFFFFF));
}

body.st-conta .st-painel__status--erro {
	color: var(--st-danger, #B42318);
	background-color: color-mix(in srgb, var(--st-danger, #B42318) 10%, var(--st-bg, #FFFFFF));
}

body.st-conta .st-painel__status--neutro {
	color: var(--st-text-muted, #515F72);
	background-color: var(--st-surface, #F2F7FF);
}

body.st-conta-painel .st-painel .st-painel__meta {
	margin-top: 2px;
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-painel .st-painel .st-painel__valor {
	margin-top: 2px;
	font-size: var(--st-fs-6, 1.0625rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.4;
	color: var(--st-text, #16181C);
}

body.st-conta-painel .st-painel .st-painel__ver {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	box-sizing: border-box;
	padding: 0 var(--st-sp-5, 20px);
	border: 1px solid var(--st-brand, #0058B6);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-brand, #0058B6);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-negrito, 700);
	white-space: nowrap;
}

body.st-conta-painel .st-painel .st-painel__ver:hover {
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.st-conta-painel .st-painel .st-pedido-trilha {
	margin: var(--st-sp-5, 20px) 0 0;
	padding-top: var(--st-sp-5, 20px);
	border-top: 1px solid var(--st-border, #CCD5E2);
}

/* Vazio: a composicao `.st-vazio` dentro do cartao. */
.site-main :is(.st-painel, :is(.st-conta-pedidos, .st-conta-downloads, .st-conta-pagamento) .woocommerce-MyAccount-content) .st-vazio--painel {
	max-width: none;
	margin: 0;
	padding: 36px var(--st-sp-7, 28px);
}

:is(body.st-conta-painel, body.st-conta-pedidos, body.st-conta-downloads, body.st-conta-pagamento) .st-painel__vazio-icone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: var(--st-sp-3, 12px);
	border-radius: 50%;
	background-color: color-mix(in srgb, var(--st-brand, #0058B6) 10%, var(--st-bg, #FFFFFF));
	color: var(--st-brand, #0058B6);
}

:is(body.st-conta-painel .st-painel, body.st-conta-pedidos, body.st-conta-downloads, body.st-conta-pagamento) .st-vazio--painel .st-vazio__titulo {
	margin: 0 0 0.5rem;
	font-size: var(--st-fs-8, 1.25rem);
}

:is(body.st-conta-painel .st-painel, body.st-conta-pedidos, body.st-conta-downloads, body.st-conta-pagamento) .st-vazio--painel .st-vazio__apoio {
	margin-bottom: 1.25rem;
}

:is(body.st-conta-painel .st-painel, body.st-conta-pedidos, body.st-conta-downloads, body.st-conta-pagamento) .st-vazio--painel .st-vazio__acao .button {
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
	font-weight: var(--st-peso-negrito, 700);
}

:is(body.st-conta-painel .st-painel, body.st-conta-pedidos, body.st-conta-downloads, body.st-conta-pagamento) .st-vazio--painel .st-vazio__acao .button:hover {
	background-color: var(--st-brand-hover, #003F9D);
}

/* Atalhos */
body.st-conta-painel .st-painel__grade {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--st-sp-3, 12px);
	margin: var(--st-sp-3, 12px) 0 0;
	padding: 0;
	list-style: none;
}

body.st-conta-painel .st-painel__grade li {
	margin: 0;
}

body.st-conta-painel .st-painel__atalho {
	display: flex;
	align-items: center;
	gap: var(--st-sp-3-5, 14px);
	height: 100%;
	box-sizing: border-box;
	padding: var(--st-sp-4, 16px) 40px var(--st-sp-4, 16px) var(--st-sp-4, 16px);
	position: relative;
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	color: var(--st-text, #16181C);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.st-conta-painel .st-painel__atalho::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	margin-top: -5px;
	border: solid var(--st-text-muted, #515F72);
	border-width: 2px 2px 0 0;
	transform: rotate(45deg);
}

body.st-conta-painel .st-painel__atalho:hover {
	border-color: var(--st-brand, #0058B6);
	box-shadow: 0 4px 14px color-mix(in srgb, var(--st-brand, #0058B6) 14%, transparent);
	color: var(--st-text, #16181C);
}

body.st-conta-painel .st-painel__atalho:hover::after {
	border-color: var(--st-brand, #0058B6);
}

body.st-conta-painel .st-painel__icone {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background-color: color-mix(in srgb, var(--st-brand, #0058B6) 10%, var(--st-bg, #FFFFFF));
	color: var(--st-brand, #0058B6);
}

body.st-conta-painel .st-painel__texto {
	display: grid;
	gap: 2px;
	min-width: 0;
}

body.st-conta-painel .st-painel__nome {
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.35;
}

body.st-conta-painel .st-painel__desc {
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.4;
	color: var(--st-text-muted, #515F72);
}

@media screen and ( min-width: 1024px ) {

	/* Perfil e menu na coluna 1; o conteudo ocupa as duas linhas da coluna 2. */
	body.st-conta .hentry .entry-content > .woocommerce {
		display: grid;
		grid-template-columns: 272px minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		column-gap: var(--st-sp-8, 32px);
		align-items: start;
	}

	body.st-conta .hentry .entry-content > .woocommerce::before,
	body.st-conta .hentry .entry-content > .woocommerce::after {
		content: none;
	}

	body.st-conta .st-conta-perfil {
		grid-column: 1;
		grid-row: 1;
	}

	body.st-conta.woocommerce-account .woocommerce-MyAccount-navigation {
		grid-column: 1;
		grid-row: 2;
	}

	body.st-conta.woocommerce-account .woocommerce-MyAccount-content {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	/* A lateral ja leva ao painel. */
	body.st-conta .st-conta-voltar--conta {
		display: none;
	}
}

@media screen and ( max-width: 1023px ) {

	/* O menu nao vem antes do conteudo: no painel os atalhos e o "Sair da conta"
	   fazem o papel dele; nos endpoints, o link de voltar e a gaveta. */
	body.st-conta .st-conta-perfil,
	body.st-conta.woocommerce-account .woocommerce-MyAccount-navigation {
		display: none;
	}
}

@media screen and ( max-width: 767px ) {

	body.st-conta.storefront-full-width-content .entry-header {
		padding-bottom: 1em;
	}

	body.st-conta .hentry .entry-header .entry-title {
		font-size: var(--st-fs-10, 1.5rem);
	}

	body.st-conta-painel .st-painel {
		gap: var(--st-sp-4, 16px);
	}

	body.st-conta-painel .st-painel__ola {
		flex-direction: column;
		align-items: flex-start;
		padding: 22px var(--st-sp-5, 20px);
	}

	body.st-conta-painel .st-painel .st-painel__titulo {
		font-size: var(--st-fs-9, 1.375rem);
	}

	:is(body.st-conta-painel, body.st-conta-pedidos, body.st-conta-downloads, body.st-conta-pagamento) .st-painel__cartao {
		padding: var(--st-sp-5, 20px);
	}

	body.st-conta-painel .st-painel__resumo {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--st-sp-3-5, 14px);
	}

	body.st-conta-painel .st-painel .st-painel__ver {
		width: 100%;
	}

	body.st-conta-painel .st-painel__grade {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-main :is(.st-painel, :is(.st-conta-pedidos, .st-conta-downloads, .st-conta-pagamento) .woocommerce-MyAccount-content) .st-vazio--painel {
		padding: var(--st-sp-7, 28px) var(--st-sp-5, 20px);
	}
}

/* ========================================================================
   Minha Conta — pedidos (`body.st-conta-pedidos`, `inc/conta-pedidos.php`)
   Um cartao por pedido: cabecalho (numero, status, data, total), corpo
   (miniaturas, resumo, colunas de plugin, acoes) e a trilha so enquanto o
   pedido anda. O cartao e container: o arranjo segue a largura dele, que
   muda com a lateral, nao a da janela.
   ======================================================================== */

body.st-conta-pedidos {
	background-color: color-mix(in srgb, var(--st-text, #16181C) 4%, var(--st-bg, #FFFFFF));
}

body.st-conta-pedidos .st-pedidos {
	display: grid;
	gap: var(--st-sp-4, 16px);
}

body.st-conta-pedidos .st-pedidos p {
	margin: 0;
}

body.st-conta-pedidos .st-pedidos .st-pedidos__contagem {
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.4;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-pedidos .st-pedidos__lista {
	display: grid;
	gap: var(--st-sp-4, 16px);
	margin: 0;
	padding: 0;
	list-style: none;
}

body.st-conta-pedidos .st-pedidos__item {
	margin: 0;
	container-type: inline-size;
}

body.st-conta-pedidos .st-pedido-card {
	overflow: hidden;
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.st-conta-pedidos .st-pedido-card:hover {
	border-color: color-mix(in srgb, var(--st-brand, #0058B6) 45%, var(--st-border, #CCD5E2));
	box-shadow: var(--st-sombra-3, 0 6px 18px color-mix(in srgb, var(--st-text, #16181C) 10%, transparent));
}

/* Cabecalho */
body.st-conta-pedidos .st-pedido-card__cab {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"id   total"
		"data total";
	align-items: center;
	gap: var(--st-sp-1, 4px) var(--st-sp-6, 24px);
	padding: var(--st-sp-4, 16px) var(--st-sp-6, 24px);
	background-color: color-mix(in srgb, var(--st-text, #16181C) 3%, var(--st-bg, #FFFFFF));
	border-bottom: 1px solid var(--st-border, #CCD5E2);
}

body.st-conta-pedidos .st-pedido-card__id {
	grid-area: id;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--st-sp-1-5, 6px) var(--st-sp-3, 12px);
	min-width: 0;
}

body.st-conta-pedidos .st-pedidos .st-pedido-card__numero {
	margin: 0;
	font-size: var(--st-fs-6, 1.0625rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.35;
}

/* O pai fixa `h2 a{font-weight:300}`. */
body.st-conta-pedidos .st-pedido-card__numero a {
	font-weight: inherit;
	color: var(--st-text, #16181C);
	text-decoration: none;
}

body.st-conta-pedidos .st-pedido-card__numero a:hover {
	color: var(--st-brand, #0058B6);
	text-decoration: underline;
}

body.st-conta-pedidos .st-pedidos .st-pedido-card__data {
	grid-area: data;
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.4;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-pedidos .st-pedidos .st-pedido-card__total {
	grid-area: total;
	display: grid;
	justify-items: end;
	line-height: 1.25;
}

body.st-conta-pedidos .st-pedido-card__rotulo {
	font-size: var(--st-fs-1, 0.75rem);
	font-weight: var(--st-peso-semi, 600);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-pedidos .st-pedido-card__valor {
	font-size: var(--st-fs-8, 1.25rem);
	font-weight: var(--st-peso-negrito, 700);
	color: var(--st-text, #16181C);
	white-space: nowrap;
}

/* Corpo */
body.st-conta-pedidos .st-pedido-card__corpo {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--st-sp-4, 16px) var(--st-sp-5, 20px);
	padding: var(--st-sp-5, 20px) var(--st-sp-6, 24px);
}

body.st-conta-pedidos .st-pedido-card__corpo--sem-fotos {
	grid-template-columns: minmax(0, 1fr) auto;
}

body.st-conta-pedidos .st-pedido-card__fotos {
	display: flex;
	gap: var(--st-sp-2, 8px);
}

body.st-conta-pedidos .st-pedido-card__info {
	display: grid;
	gap: 2px;
	min-width: 0;
}

body.st-conta-pedidos .st-pedidos .st-pedido-card__produto {
	overflow: hidden;
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.4;
	color: var(--st-text, #16181C);
	white-space: nowrap;
	text-overflow: ellipsis;
}

body.st-conta-pedidos .st-pedidos .st-pedido-card__resumo {
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-pedidos .st-pedido-card__extras {
	display: flex;
	flex-wrap: wrap;
	gap: var(--st-sp-1, 4px) var(--st-sp-4, 16px);
	margin: var(--st-sp-1-5, 6px) 0 0;
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.5;
}

body.st-conta-pedidos .st-pedido-card__extras > div {
	display: inline-flex;
	gap: var(--st-sp-1-5, 6px);
}

body.st-conta-pedidos .st-pedido-card__extras dt {
	font-weight: var(--st-peso-normal, 400);
	color: var(--st-text-muted, #515F72);
}

body.st-conta-pedidos .st-pedido-card__extras dt::after {
	content: ":";
}

body.st-conta-pedidos .st-pedido-card__extras dd {
	margin: 0;
	font-weight: var(--st-peso-semi, 600);
	color: var(--st-text, #16181C);
}

/* Acoes: Pagar cheio, Ver pedido com contorno, Cancelar so texto. */
body.st-conta-pedidos .st-pedido-card__acoes {
	display: flex;
	flex-direction: column;
	gap: var(--st-sp-2, 8px);
	min-width: 168px;
}

body.st-conta-pedidos .st-pedido-card .st-pedido-card__acao {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 0 var(--st-sp-4-5, 18px);
	border: 1px solid var(--st-brand, #0058B6);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-brand, #0058B6);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
}

body.st-conta-pedidos .st-pedido-card .st-pedido-card__acao:hover {
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.st-conta-pedidos .st-pedido-card .st-pedido-card__acao--pay {
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.st-conta-pedidos .st-pedido-card .st-pedido-card__acao--pay:hover {
	border-color: var(--st-brand-hover, #003F9D);
	background-color: var(--st-brand-hover, #003F9D);
}

body.st-conta-pedidos .st-pedido-card .st-pedido-card__acao--order-again {
	border-color: var(--st-border, #CCD5E2);
	color: var(--st-text, #16181C);
}

body.st-conta-pedidos .st-pedido-card .st-pedido-card__acao--order-again:hover {
	border-color: var(--st-brand, #0058B6);
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-brand, #0058B6);
}

body.st-conta-pedidos .st-pedido-card .st-pedido-card__acao--cancel {
	border-color: transparent;
	background-color: transparent;
	color: var(--st-danger, #B42318);
	font-weight: var(--st-peso-semi, 600);
}

body.st-conta-pedidos .st-pedido-card .st-pedido-card__acao--cancel:hover {
	background-color: color-mix(in srgb, var(--st-danger, #B42318) 8%, var(--st-bg, #FFFFFF));
	color: var(--st-danger, #B42318);
}

/* Trilha compacta, so com o pedido em andamento. */
body.st-conta-pedidos .st-pedido-card__trilha {
	padding: 0 var(--st-sp-6, 24px) var(--st-sp-4-5, 18px);
}

body.st-conta-pedidos .st-pedido-card .st-pedido-trilha {
	margin: 0;
	padding-top: var(--st-sp-4, 16px);
	border-top: 1px dashed var(--st-border, #CCD5E2);
}

body.st-conta-pedidos .st-pedido-card .st-pedido-trilha__rotulo {
	font-size: var(--st-fs-1, 0.75rem);
}

/* Paginacao */
body.st-conta-pedidos .st-pedidos__paginacao {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--st-sp-3, 12px);
	margin-top: var(--st-sp-2, 8px);
}

body.st-conta-pedidos .st-pedidos__pag-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--st-sp-2, 8px);
	min-height: 44px;
	box-sizing: border-box;
	padding: 0 var(--st-sp-4-5, 18px);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-pilula, 999px);
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-text, #16181C);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-semi, 600);
	text-decoration: none;
}

body.st-conta-pedidos a.st-pedidos__pag-btn:hover {
	border-color: var(--st-brand, #0058B6);
	color: var(--st-brand, #0058B6);
}

body.st-conta-pedidos .st-pedidos__pag-btn--off {
	opacity: 0.45;
}

body.st-conta-pedidos .st-pedidos__pag-btn--anterior::before,
body.st-conta-pedidos .st-pedidos__pag-btn--proxima::after {
	content: "";
	width: 7px;
	height: 7px;
	border: solid currentColor;
	border-width: 2px 2px 0 0;
}

body.st-conta-pedidos .st-pedidos__pag-btn--anterior::before {
	transform: rotate(-135deg);
}

body.st-conta-pedidos .st-pedidos__pag-btn--proxima::after {
	transform: rotate(45deg);
}

body.st-conta-pedidos .st-pedidos__pag-pos {
	font-size: var(--st-fs-4, 0.9375rem);
	color: var(--st-text-muted, #515F72);
}

body.st-conta-pedidos .st-pedidos .st-pedidos__fora {
	padding: var(--st-sp-6, 24px);
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
}

/* Cartao estreito (lateral ao lado ou tablet): acoes descem para uma linha. */
@container (max-width: 760px) {

	body.st-conta-pedidos .st-pedido-card__corpo {
		grid-template-columns: auto minmax(0, 1fr);
	}

	body.st-conta-pedidos .st-pedido-card__corpo--sem-fotos {
		grid-template-columns: minmax(0, 1fr);
	}

	body.st-conta-pedidos .st-pedido-card__acoes {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-end;
		min-width: 0;
	}

	body.st-conta-pedidos .st-pedido-card .st-pedido-card__acao {
		min-width: 148px;
	}

	body.st-conta-pedidos .st-pedido-card .st-pedido-card__acao--cancel {
		min-width: 0;
	}
}

/* Celular: miniaturas acima do resumo; o total segue a direita do numero. */
@container (max-width: 480px) {

	body.st-conta-pedidos .st-pedido-card__cab {
		gap: var(--st-sp-1, 4px) var(--st-sp-4, 16px);
		padding: var(--st-sp-3-5, 14px) var(--st-sp-4, 16px);
	}

	body.st-conta-pedidos .st-pedido-card__corpo {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--st-sp-3-5, 14px);
		padding: var(--st-sp-4, 16px);
	}

	body.st-conta-pedidos .st-pedido-card .st-pedido-card__acao {
		flex: 1 1 0;
		min-width: 0;
	}

	body.st-conta-pedidos .st-pedido-card .st-pedido-card__acao--cancel {
		flex: 0 0 auto;
	}

	body.st-conta-pedidos .st-pedido-card__trilha {
		padding: 0 var(--st-sp-4, 16px) var(--st-sp-4, 16px);
	}

	body.st-conta-pedidos .st-pedido-card__valor {
		font-size: var(--st-fs-7, 1.125rem);
	}
}

/* ========================================================================
   Minha Conta — ver pedido (`body.st-conta-pedido`, `inc/conta-pedido.php`)
   Topo com faixa no tom do status (numero, selo, data, total), frase do
   estado, trilha e acoes; atualizacoes da loja em linha do tempo. Tabela,
   enderecos e bloco do gateway seguem da §Confirmacao do pedido.
   ======================================================================== */

body.st-conta-pedido {
	background-color: color-mix(in srgb, var(--st-text, #16181C) 4%, var(--st-bg, #FFFFFF));
}

/* O topo traz o proprio `h1`. */
body.st-conta-pedido .hentry .entry-header {
	display: none;
}

/* Topo */
body.st-conta-pedido .st-pedido-resumo {
	--tom: var(--st-brand, #0058B6);
	overflow: hidden;
	margin: 0 0 var(--st-sp-4, 16px);
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

body.st-conta-pedido .st-pedido-resumo--ok {
	--tom: var(--st-price, #0A7C2F);
}

body.st-conta-pedido .st-pedido-resumo--espera {
	--tom: var(--st-accent-ink, #B93800);
}

body.st-conta-pedido .st-pedido-resumo--erro {
	--tom: var(--st-danger, #B42318);
}

body.st-conta-pedido .st-pedido-resumo--neutro {
	--tom: var(--st-text-muted, #515F72);
}

body.st-conta-pedido .st-pedido-resumo__cab {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--st-sp-4, 16px) var(--st-sp-5, 20px);
	padding: var(--st-sp-6, 24px) var(--st-sp-7, 28px);
	background: linear-gradient(120deg, color-mix(in srgb, var(--tom) 10%, var(--st-bg, #FFFFFF)) 0%, var(--st-bg, #FFFFFF) 70%);
	border-bottom: 1px solid var(--st-border, #CCD5E2);
}

body.st-conta-pedido .st-pedido-resumo__cab::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background-color: var(--tom);
}

body.st-conta-pedido .st-pedido-resumo__icone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background-color: color-mix(in srgb, var(--tom) 14%, var(--st-bg, #FFFFFF));
	color: var(--tom);
}

body.st-conta-pedido .st-pedido-resumo__id {
	min-width: 0;
}

body.st-conta-pedido .st-pedido-resumo__linha {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--st-sp-1-5, 6px) var(--st-sp-3, 12px);
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__titulo {
	margin: 0;
	font-size: var(--st-fs-10, 1.5rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--st-text, #16181C);
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__meta {
	margin: var(--st-sp-1, 4px) 0 0;
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__total {
	display: grid;
	justify-items: end;
	margin: 0;
	line-height: 1.25;
}

body.st-conta-pedido .st-pedido-resumo__rotulo {
	font-size: var(--st-fs-1, 0.75rem);
	font-weight: var(--st-peso-semi, 600);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-pedido .st-pedido-resumo__valor,
body.st-conta-pedido .st-pedido-resumo__valor .amount {
	font-size: var(--st-fs-10, 1.5rem);
	font-weight: var(--st-peso-negrito, 700);
	color: var(--st-text, #16181C);
	white-space: nowrap;
}

body.st-conta-pedido .st-pedido-resumo__corpo {
	padding: var(--st-sp-5, 20px) var(--st-sp-7, 28px) var(--st-sp-6, 24px);
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__texto {
	margin: 0;
	font-size: var(--st-fs-5, 1rem);
	line-height: 1.5;
	color: var(--st-text, #16181C);
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-trilha {
	margin: var(--st-sp-6, 24px) 0 0;
}

/* Acoes: Pagar cheio, Comprar de novo com contorno, Cancelar so texto. */
body.st-conta-pedido .st-pedido-resumo__acoes {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--st-sp-2-5, 10px) var(--st-sp-3, 12px);
	margin-top: var(--st-sp-6, 24px);
	padding-top: var(--st-sp-5, 20px);
	border-top: 1px solid var(--st-border, #CCD5E2);
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__acao,
body.st-conta-pedido .saas-nfe .saas-nfe__link--danfe {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 0 var(--st-sp-5, 20px);
	border: 1px solid var(--st-brand, #0058B6);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-brand, #0058B6);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__acao:hover,
body.st-conta-pedido .saas-nfe .saas-nfe__link--danfe:hover {
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__acao--pay {
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__acao--pay:hover {
	border-color: var(--st-brand-hover, #003F9D);
	background-color: var(--st-brand-hover, #003F9D);
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__acao--order-again {
	border-color: var(--st-border, #CCD5E2);
	color: var(--st-text, #16181C);
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__acao--order-again:hover {
	border-color: var(--st-brand, #0058B6);
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-brand, #0058B6);
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__acao--cancel {
	min-width: 0;
	border-color: transparent;
	background-color: transparent;
	color: var(--st-danger, #B42318);
	font-weight: var(--st-peso-semi, 600);
}

body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__acao--cancel:hover {
	background-color: color-mix(in srgb, var(--st-danger, #B42318) 8%, var(--st-bg, #FFFFFF));
	color: var(--st-danger, #B42318);
}

body.st-conta-pedido .st-pedido-resumo__ajuda {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-left: auto;
	color: var(--st-text-muted, #515F72);
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-semi, 600);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.st-conta-pedido .st-pedido-resumo__ajuda:hover {
	color: var(--st-brand, #0058B6);
}

body.st-conta-pedido .st-pedido-status-plugin {
	margin: 0 0 var(--st-sp-4, 16px);
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

/* Atualizacoes: linha do tempo, a mais recente em cima e na marca. */
body.st-conta-pedido .st-pedido-notas,
body.st-conta-pedido .saas-nfe {
	box-sizing: border-box;
	margin: 0 0 var(--st-sp-4, 16px);
	padding: var(--st-sp-6, 24px) var(--st-sp-8, 32px);
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

body.st-conta-pedido .st-pedido-notas .st-pedido-notas__titulo,
body.st-conta-pedido .saas-nfe .saas-nfe__titulo {
	margin: 0 0 var(--st-sp-5, 20px);
	font-size: var(--st-fs-7, 1.125rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.3;
	color: var(--st-text, #16181C);
}

body.st-conta-pedido .st-pedido-notas__lista {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.st-conta-pedido .st-pedido-notas__item {
	position: relative;
	margin: 0;
	padding: 0 0 22px 34px;
}

body.st-conta-pedido .st-pedido-notas__item:last-child {
	padding-bottom: 0;
}

body.st-conta-pedido .st-pedido-notas__item:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 20px;
	bottom: 0;
	left: 8px;
	width: 2px;
	border-radius: 1px;
	background-color: var(--st-border, #CCD5E2);
}

body.st-conta-pedido .st-pedido-notas__marca {
	position: absolute;
	top: 2px;
	left: 0;
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	border: 2px solid var(--st-border, #CCD5E2);
	border-radius: 50%;
	background-color: var(--st-bg, #FFFFFF);
}

body.st-conta-pedido .st-pedido-notas__item--recente .st-pedido-notas__marca {
	border-color: var(--st-brand, #0058B6);
	background-color: var(--st-brand, #0058B6);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--st-brand, #0058B6) 18%, transparent);
}

body.st-conta-pedido .st-pedido-notas .st-pedido-notas__data {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--st-sp-1, 4px) var(--st-sp-2-5, 10px);
	margin: 0;
	font-size: var(--st-fs-2, 0.8125rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-pedido .st-pedido-notas__selo {
	display: inline-flex;
	padding: 1px var(--st-sp-2, 8px);
	border-radius: var(--st-raio-pilula, 999px);
	background-color: color-mix(in srgb, var(--st-brand, #0058B6) 10%, var(--st-bg, #FFFFFF));
	color: var(--st-brand, #0058B6);
	font-size: var(--st-fs-1, 0.75rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.5;
}

body.st-conta-pedido .st-pedido-notas__texto {
	margin-top: var(--st-sp-1, 4px);
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.55;
	color: var(--st-text, #16181C);
	overflow-wrap: anywhere;
}

body.st-conta-pedido .st-pedido-notas__texto p {
	margin: 0 0 0.5em;
}

body.st-conta-pedido .st-pedido-notas__texto p:last-child {
	margin-bottom: 0;
}

/* Nota fiscal do `saas-erp-sync`: marcacao e classes sao contrato do plugin; o
   CSS dele sai em `storefront_tech_pedido_nfe_sem_css_do_plugin`. Cartao e
   titulo com as atualizacoes; DANFE com as acoes do topo. */
body.st-conta-pedido .saas-nfe .saas-nfe__lista {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.st-conta-pedido .saas-nfe .saas-nfe__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"numero acoes"
		"data   acoes"
		"chave  acoes";
	align-items: center;
	gap: 2px var(--st-sp-6, 24px);
	margin: 0;
	padding: var(--st-sp-4, 16px) 0;
	border-top: 1px solid var(--st-border, #CCD5E2);
}

body.st-conta-pedido .saas-nfe .saas-nfe__item:first-child {
	padding-top: 0;
	border-top: 0;
}

body.st-conta-pedido .saas-nfe .saas-nfe__item:last-child {
	padding-bottom: 0;
}

body.st-conta-pedido .saas-nfe__numero {
	grid-area: numero;
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.4;
	color: var(--st-text, #16181C);
}

body.st-conta-pedido .saas-nfe__data,
body.st-conta-pedido .saas-nfe__situacao {
	grid-area: data;
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-pedido .saas-nfe__chave {
	grid-area: chave;
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
	color: var(--st-text-muted, #515F72);
	overflow-wrap: anywhere;
}

body.st-conta-pedido .saas-nfe__acoes {
	grid-area: acoes;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: var(--st-sp-2, 8px) var(--st-sp-3, 12px);
}

body.st-conta-pedido .saas-nfe .saas-nfe__link--xml {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 var(--st-sp-2, 8px);
	color: var(--st-brand, #0058B6);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.2;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}

body.st-conta-pedido .saas-nfe .saas-nfe__link--xml:hover {
	color: var(--st-brand-hover, #003F9D);
}

body.st-conta-pedido .saas-nfe__item--cancelada .saas-nfe__numero,
body.st-conta-pedido .saas-nfe__item--cancelada .saas-nfe__chave {
	color: var(--st-text-muted, #515F72);
	text-decoration: line-through;
}

body.st-conta-pedido .saas-nfe__item--cancelada .saas-nfe__situacao {
	justify-self: start;
	margin: 2px 0;
	padding: 1px var(--st-sp-2, 8px);
	border-radius: var(--st-raio-pilula, 999px);
	background-color: color-mix(in srgb, var(--st-danger, #B42318) 8%, var(--st-bg, #FFFFFF));
	color: var(--st-danger, #B42318);
	font-size: var(--st-fs-1, 0.75rem);
	font-weight: var(--st-peso-semi, 600);
}

@media screen and ( max-width: 767px ) {

	body.st-conta-pedido .st-pedido-resumo__cab {
		grid-template-columns: auto minmax(0, 1fr);
		gap: var(--st-sp-3-5, 14px);
		padding: var(--st-sp-5, 20px);
	}

	body.st-conta-pedido .st-pedido-resumo__icone {
		width: 44px;
		height: 44px;
	}

	body.st-conta-pedido .st-pedido-resumo__icone svg {
		width: 24px;
		height: 24px;
	}

	body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__titulo {
		font-size: var(--st-fs-9, 1.375rem);
	}

	body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__total {
		grid-column: 1 / -1;
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: var(--st-sp-3, 12px);
		padding-top: var(--st-sp-3-5, 14px);
		border-top: 1px dashed var(--st-border, #CCD5E2);
	}

	body.st-conta-pedido .st-pedido-resumo__valor,
	body.st-conta-pedido .st-pedido-resumo__valor .amount {
		font-size: var(--st-fs-8, 1.25rem);
	}

	body.st-conta-pedido .st-pedido-resumo__corpo {
		padding: var(--st-sp-4-5, 18px) var(--st-sp-5, 20px) var(--st-sp-5, 20px);
	}

	body.st-conta-pedido .st-pedido-resumo .st-pedido-trilha__rotulo {
		font-size: var(--st-fs-1, 0.75rem);
	}

	body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__acao {
		flex: 1 1 0;
		min-width: 0;
	}

	body.st-conta-pedido .st-pedido-resumo .st-pedido-resumo__acao--cancel {
		flex: 0 0 auto;
	}

	body.st-conta-pedido .st-pedido-resumo__ajuda {
		flex: 1 1 100%;
		justify-content: center;
		margin-left: 0;
	}

	body.st-conta-pedido .st-pedido-notas,
	body.st-conta-pedido .saas-nfe {
		padding: var(--st-sp-5, 20px);
	}

	body.st-conta-pedido .saas-nfe .saas-nfe__item {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"numero"
			"data"
			"chave"
			"acoes";
	}

	body.st-conta-pedido .saas-nfe__acoes {
		justify-content: space-between;
		margin-top: var(--st-sp-2-5, 10px);
	}

	body.st-conta-pedido .saas-nfe .saas-nfe__link--danfe {
		flex: 1 1 auto;
	}
}

/* ========================================================================
   Minha Conta — endereços (`body.st-conta-enderecos`, `inc/conta-enderecos.php`)
   Um cartão por endereço: cabeçalho (ícone, título, apoio), endereço formatado
   e a ação. Sem cadastro, o cartão vira convite com o botão na marca.
   ======================================================================== */

body.st-conta-enderecos {
	background-color: color-mix(in srgb, var(--st-text, #16181C) 4%, var(--st-bg, #FFFFFF));
}

body.st-conta-enderecos .st-enderecos {
	display: grid;
	gap: var(--st-sp-4, 16px);
}

body.st-conta-enderecos .st-enderecos p {
	margin: 0;
}

body.st-conta-enderecos .st-enderecos .st-enderecos__intro {
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-enderecos .st-enderecos__lista {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--st-sp-4, 16px);
	margin: 0;
	padding: 0;
	list-style: none;
}

body.st-conta-enderecos .st-enderecos__lista--1 {
	grid-template-columns: minmax(0, 560px);
}

body.st-conta-enderecos .st-enderecos__item {
	display: flex;
	margin: 0;
}

body.st-conta-enderecos .st-endereco {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	box-sizing: border-box;
	padding: var(--st-sp-6, 24px);
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

body.st-conta-enderecos .st-endereco--vazio {
	background-color: color-mix(in srgb, var(--st-text, #16181C) 2%, var(--st-bg, #FFFFFF));
	border-style: dashed;
	box-shadow: none;
}

body.st-conta-enderecos .st-endereco__cab {
	display: flex;
	align-items: flex-start;
	gap: var(--st-sp-3, 12px);
}

body.st-conta-enderecos .st-endereco__icone {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: color-mix(in srgb, var(--st-brand, #0058B6) 10%, var(--st-bg, #FFFFFF));
	color: var(--st-brand, #0058B6);
}

body.st-conta-enderecos .st-endereco--vazio .st-endereco__icone {
	background-color: var(--st-surface, #F2F7FF);
	color: var(--st-text-muted, #515F72);
}

body.st-conta-enderecos .st-endereco__titulos {
	flex: 1 1 auto;
	min-width: 0;
}

body.st-conta-enderecos .st-enderecos .st-endereco__titulo {
	margin: 0;
	font-size: var(--st-fs-6, 1.0625rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.35;
	color: var(--st-text, #16181C);
}

body.st-conta-enderecos .st-enderecos .st-endereco__apoio {
	margin-top: 2px;
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.4;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-enderecos .st-enderecos .st-endereco__corpo {
	flex: 1 1 auto;
	margin: var(--st-sp-4, 16px) 0 0;
	padding-top: var(--st-sp-4, 16px);
	border-top: 1px solid var(--st-border, #CCD5E2);
	font-size: var(--st-fs-4, 0.9375rem);
	font-style: normal;
	line-height: 1.55;
	color: var(--st-text, #16181C);
	overflow-wrap: anywhere;
}

body.st-conta-enderecos .st-enderecos .st-endereco__corpo--vazio {
	border-top-style: dashed;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-enderecos .st-endereco__extra {
	margin-top: var(--st-sp-2, 8px);
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-enderecos .st-endereco .st-endereco__acao {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 44px;
	box-sizing: border-box;
	margin: var(--st-sp-5, 20px) 0 0;
	padding: 0 var(--st-sp-4-5, 18px);
	border: 1px solid var(--st-brand, #0058B6);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-brand, #0058B6);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
}

body.st-conta-enderecos .st-endereco .st-endereco__acao:hover {
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.st-conta-enderecos .st-endereco .st-endereco__acao--novo {
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

body.st-conta-enderecos .st-endereco .st-endereco__acao--novo:hover {
	border-color: var(--st-brand-hover, #003F9D);
	background-color: var(--st-brand-hover, #003F9D);
}

/* Cabeçalho, endereço e botão dos cartões lado a lado partilham as linhas da
   grade: divisor e botão alinham mesmo com apoio de 1 e 2 linhas. */
@supports (grid-template-rows: subgrid) {

	@media screen and ( min-width: 768px ) {

		body.st-conta-enderecos .st-enderecos__item {
			display: grid;
			grid-row: span 4;
			grid-template-rows: subgrid;
			row-gap: 0;
		}

		body.st-conta-enderecos .st-endereco {
			display: grid;
			grid-row: 1 / -1;
			grid-template-rows: subgrid;
			row-gap: 0;
		}

		body.st-conta-enderecos .st-endereco__cab {
			grid-row: 1;
		}

		body.st-conta-enderecos .st-enderecos .st-endereco__corpo {
			grid-row: 2;
		}

		body.st-conta-enderecos .st-endereco__extra {
			grid-row: 3;
		}

		body.st-conta-enderecos .st-endereco .st-endereco__acao {
			grid-row: 4;
			justify-self: start;
		}
	}
}

@media screen and ( max-width: 767px ) {

	body.st-conta-enderecos .st-enderecos__lista,
	body.st-conta-enderecos .st-enderecos__lista--1 {
		grid-template-columns: minmax(0, 1fr);
	}

	body.st-conta-enderecos .st-endereco {
		padding: var(--st-sp-5, 20px);
	}

	body.st-conta-enderecos .st-endereco .st-endereco__acao {
		align-self: stretch;
	}
}

/* ========================================================================
   Minha Conta — editar endereço (`body.st-conta-endereco-form`) e detalhes
   da conta (`body.st-conta-dados`); fundo, rótulo e campo valem também na
   senha perdida (`body.st-conta-senha`)
   Os formulários são do core; o tema os põe num cartão, em grade de 2 colunas,
   com o mesmo campo do checkout e o botão na marca.
   ======================================================================== */

:is(body.st-conta-endereco-form, body.st-conta-dados, body.st-conta-senha) {
	background-color: color-mix(in srgb, var(--st-text, #16181C) 4%, var(--st-bg, #FFFFFF));
}

:is(body.st-conta-endereco-form, body.st-conta-dados) .woocommerce-MyAccount-content > form {
	box-sizing: border-box;
	padding: var(--st-sp-7, 28px);
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

body.st-conta-endereco-form .woocommerce-MyAccount-content > form > h2 {
	margin: 0 0 var(--st-sp-5, 20px);
	padding-bottom: var(--st-sp-4, 16px);
	border-bottom: 1px solid var(--st-border, #CCD5E2);
	font-size: var(--st-fs-8, 1.25rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.3;
	color: var(--st-text, #16181C);
}

body.st-conta-endereco-form .woocommerce-address-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--st-sp-5, 20px);
}

body.st-conta-endereco-form .woocommerce-address-fields__field-wrapper .form-row {
	float: none;
	box-sizing: border-box;
	width: auto;
	margin: 0 0 var(--st-sp-4-5, 18px);
	padding: 0;
}

body.st-conta-endereco-form .woocommerce-address-fields__field-wrapper .form-row-wide {
	grid-column: 1 / -1;
}

:is(body.st-conta-endereco-form, body.st-conta-dados, body.st-conta-senha) .form-row label {
	display: block;
	margin: 0 0 var(--st-sp-1, 4px);
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.4;
	color: var(--st-text, #16181C);
}

/* O WC esconde o rótulo do complemento; sem ele o campo fica sem nome. */
body.st-conta-endereco-form #billing_address_2_field label.screen-reader-text,
body.st-conta-endereco-form #shipping_address_2_field label.screen-reader-text {
	position: static !important;
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	margin: 0 0 var(--st-sp-1, 4px);
	overflow: visible;
}

:is(body.st-conta-endereco-form, body.st-conta-dados, body.st-conta-senha) .form-row label .required {
	color: var(--st-danger, #B42318);
	text-decoration: none;
	border-bottom: 0;
	cursor: default;
}

:is(body.st-conta-endereco-form, body.st-conta-dados, body.st-conta-senha) .form-row label .optional {
	font-weight: var(--st-peso-normal, 400);
	color: var(--st-text-muted, #515F72);
}

/* `border` inteiro: o pai desenha `input.input-text` com `border:0` + fundo
   cinza. Contorno com 50% do texto para passar 3:1 (WCAG 1.4.11); 16px evita o
   zoom do iOS. */
:is(body.st-conta-endereco-form, body.st-conta-dados, body.st-conta-senha) input.input-text,
:is(body.st-conta-endereco-form, body.st-conta-dados, body.st-conta-senha) .select2-container .select2-selection--single {
	box-sizing: border-box;
	min-height: 48px;
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-text, #16181C);
	border: 1px solid color-mix(in srgb, var(--st-text, #16181C) 50%, var(--st-bg, #FFFFFF));
	border-radius: var(--st-raio, 8px);
	box-shadow: none;
	font-size: 16px;
}

:is(body.st-conta-endereco-form, body.st-conta-dados, body.st-conta-senha) input.input-text {
	width: 100%;
	padding: 0.6180469716em 0.875em;
}

/* Campo válido fica neutro: sai a barra verde do pai
   (`.form-row.woocommerce-validated input.input-text`, (0,3,1)) — verde é o
   token do preço (RN-01). */
:is(body.st-conta-endereco-form, body.st-conta-dados, body.st-conta-senha) .form-row input.input-text {
	box-shadow: none;
}

:is(body.st-conta-endereco-form, body.st-conta-dados, body.st-conta-senha) input.input-text:hover,
:is(body.st-conta-endereco-form, body.st-conta-dados, body.st-conta-senha) .select2-container .select2-selection--single:hover {
	border-color: var(--st-text-muted, #515F72);
}

/* select2 mede a largura no init; sem isto fica mais estreito que o input. */
body.st-conta-endereco-form .form-row .select2-container {
	width: 100% !important;
}

body.st-conta-endereco-form .select2-container .select2-selection--single {
	height: auto !important; /* select2.css crava 28px */
	padding: 0.6180469716em 0.875em;
}

body.st-conta-endereco-form .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 1.618;
	color: var(--st-text, #16181C);
}

body.st-conta-endereco-form .select2-container .select2-selection--single .select2-selection__arrow {
	top: 0;
	right: 6px;
	height: 100%;
}

/* Inválido: borda + anel externo de 1px (não muda a altura do par da grade). */
:is(body.st-conta-endereco-form, body.st-conta-dados, body.st-conta-senha) .form-row.woocommerce-invalid input.input-text,
body.st-conta-endereco-form .form-row.woocommerce-invalid .select2-container .select2-selection--single {
	border-color: var(--st-danger, #B42318);
	box-shadow: 0 0 0 1px var(--st-danger, #B42318);
}

body.st-conta-endereco-form .woocommerce-address-fields > p:last-child {
	margin: var(--st-sp-2, 8px) 0 0;
}

:is(body.st-conta-endereco-form, body.st-conta-dados) .woocommerce-MyAccount-content > form .button:is([name="save_address"], [name="save_account_details"]) {
	min-height: 48px;
	margin: 0;
	padding: 0 var(--st-sp-8, 32px);
	border: 0;
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.2;
}

:is(body.st-conta-endereco-form, body.st-conta-dados) .woocommerce-MyAccount-content > form .button:is([name="save_address"], [name="save_account_details"]):hover {
	background-color: var(--st-brand-hover, #003F9D);
}

/* Sem país escolhido o core entrega `address_1` sem `form-row-wide`: a linha
   inteira é fixada por id, para o pareamento abaixo não deslocar. */
body.st-conta-endereco-form .woocommerce-address-fields__field-wrapper :is(
	#billing_address_1_field, #billing_state_field, #billing_email_field, #billing_persontype_field, #billing_cpf_field,
	#shipping_address_1_field, #shipping_state_field
) {
	grid-column: 1 / -1;
}

/* Pares curtos lado a lado; o resto da linha segue inteiro. */
@media screen and ( min-width: 768px ) {

	body.st-conta-endereco-form .woocommerce-address-fields__field-wrapper :is(
		#billing_country_field, #billing_postcode_field, #billing_number_field, #billing_address_2_field,
		#billing_neighborhood_field, #billing_city_field, #billing_phone_field, #billing_cellphone_field,
		#shipping_country_field, #shipping_postcode_field, #shipping_number_field, #shipping_address_2_field,
		#shipping_neighborhood_field, #shipping_city_field
	) {
		grid-column: auto;
	}
}

@media screen and ( max-width: 767px ) {

	:is(body.st-conta-endereco-form, body.st-conta-dados) .woocommerce-MyAccount-content > form {
		padding: var(--st-sp-5, 20px);
	}

	body.st-conta-endereco-form .woocommerce-address-fields__field-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}

	:is(body.st-conta-endereco-form, body.st-conta-dados) .woocommerce-MyAccount-content > form .button:is([name="save_address"], [name="save_account_details"]) {
		width: 100%;
	}
}

/* ------------------------------------------------------------------------
   Detalhes da conta: o `form` é a grade (os campos são filhos diretos);
   "Seus dados" e a troca de senha são duas seções do mesmo cartão.
   ------------------------------------------------------------------------ */

body.st-conta-dados .woocommerce-EditAccountForm {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--st-sp-5, 20px);
}

body.st-conta-dados .woocommerce-EditAccountForm > * {
	grid-column: 1 / -1;
}

body.st-conta-dados .woocommerce-EditAccountForm > :is(.form-row-first, .form-row-last) {
	grid-column: auto;
}

body.st-conta-dados .woocommerce-EditAccountForm > .clear {
	display: none;
}

body.st-conta-dados .woocommerce-EditAccountForm .form-row {
	float: none;
	box-sizing: border-box;
	width: auto;
	margin: 0 0 var(--st-sp-4-5, 18px);
	padding: 0;
}

body.st-conta-dados .woocommerce-EditAccountForm .st-conta-dados__titulo,
body.st-conta-dados .woocommerce-EditAccountForm fieldset > legend {
	display: block;
	width: 100%;
	margin: 0 0 var(--st-sp-5, 20px);
	padding: 0 0 var(--st-sp-4, 16px);
	border-bottom: 1px solid var(--st-border, #CCD5E2);
	font-size: var(--st-fs-8, 1.25rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.3;
	color: var(--st-text, #16181C);
}

/* O pai pinta o `fieldset` de cinza com padding. */
body.st-conta-dados .woocommerce-EditAccountForm fieldset {
	margin: var(--st-sp-3, 12px) 0 0;
	padding: 0;
	background: none;
	border: 0;
}

body.st-conta-dados .woocommerce-EditAccountForm fieldset > legend {
	float: left;
}

body.st-conta-dados .woocommerce-EditAccountForm fieldset > legend + * {
	clear: left;
}

body.st-conta-dados #account_display_name_description {
	display: block;
	margin-top: var(--st-sp-1-5, 6px);
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.4;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-dados #account_display_name_description em {
	font-style: normal;
}

/* Olho da senha: o `.password-input` e o botão vêm do JS do WC. */
:is(body.st-conta-dados .woocommerce-EditAccountForm, body.st-conta-senha .woocommerce-ResetPassword) .password-input {
	position: relative;
	display: block;
}

:is(body.st-conta-dados .woocommerce-EditAccountForm, body.st-conta-senha .woocommerce-ResetPassword) .password-input input.input-text {
	padding-right: 48px;
}

:is(body.st-conta-dados .woocommerce-EditAccountForm, body.st-conta-senha .woocommerce-ResetPassword) .show-password-input {
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0 var(--st-raio, 8px) var(--st-raio, 8px) 0;
	color: var(--st-text-muted, #515F72);
}

:is(body.st-conta-dados .woocommerce-EditAccountForm, body.st-conta-senha .woocommerce-ResetPassword) .show-password-input:hover {
	background: none;
	color: var(--st-text, #16181C);
}

:is(body.st-conta-dados .woocommerce-EditAccountForm, body.st-conta-senha .woocommerce-ResetPassword) .show-password-input.display-password::after {
	color: var(--st-brand, #0058B6);
}

body.st-conta-dados .woocommerce-EditAccountForm > p:has(> .button[name="save_account_details"]) {
	margin: var(--st-sp-2, 8px) 0 0;
}

@media screen and ( max-width: 767px ) {

	body.st-conta-dados .woocommerce-EditAccountForm {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ========================================================================
   Minha Conta — senha perdida (`body.st-conta-senha`, `inc/conta.php`)
   Pedido do link, confirmação e nova senha no cartão de 480px do login;
   campo e olho da senha das regras de formulário da conta.
   ======================================================================== */

body.st-conta-senha .site-content > .col-full > .woocommerce,
body.st-conta-senha .entry-content > .woocommerce > :is(.woocommerce-message, .woocommerce-error, .woocommerce-info) {
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

body.st-conta-senha .woocommerce-ResetPassword,
body.st-conta-senha .entry-content > .woocommerce > .woocommerce-message + p {
	box-sizing: border-box;
	max-width: 480px;
	margin: 0 auto 1.5em;
	padding: 40px;
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

body.st-conta-senha .entry-content > .woocommerce > .woocommerce-message + p {
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.6;
	color: var(--st-text, #16181C);
}

body.st-conta-senha .woocommerce-ResetPassword > p:first-child {
	margin: 0 0 1.5em;
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-senha .woocommerce-ResetPassword .form-row {
	float: none;
	width: auto;
	margin: 0 0 1.125em;
	padding: 0;
}

body.st-conta-senha .woocommerce-ResetPassword > .form-row:last-of-type {
	margin: 0;
}

body.st-conta-senha .woocommerce-ResetPassword .clear {
	display: none;
}

body.st-conta-senha .woocommerce-ResetPassword .button[type="submit"] {
	width: 100%;
	min-height: 48px;
	margin: 0.5em 0 0;
	border: 0;
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-negrito, 700);
}

body.st-conta-senha .woocommerce-ResetPassword .button[type="submit"]:hover {
	background-color: var(--st-brand-hover, #003F9D);
}

body.st-conta-senha .st-conta-senha__voltar {
	max-width: 480px;
	margin: 0 auto 3em;
	text-align: center;
	font-size: var(--st-fs-4, 0.9375rem);
	color: var(--st-text-muted, #515F72);
}

body.st-conta-senha .st-conta-senha__voltar a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: var(--st-peso-semi, 600);
	color: var(--st-brand, #0058B6);
}

@media screen and ( max-width: 767px ) {

	body.st-conta-senha .woocommerce-ResetPassword,
	body.st-conta-senha .entry-content > .woocommerce > .woocommerce-message + p {
		padding: var(--st-sp-6, 24px) var(--st-sp-5, 20px);
	}
}

/* ========================================================================
   Minha Conta — downloads e métodos de pagamento (`body.st-conta-downloads`,
   `body.st-conta-pagamento`, `inc/conta-secundarias.php`)
   A tabela do core num cartão; no celular, um cartão por linha. Sem item, o
   vazio da conta (§logada).
   ======================================================================== */

body.st-conta-downloads .woocommerce-order-downloads {
	margin: 0;
}

:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) thead th {
	padding: var(--st-sp-3, 12px) var(--st-sp-5, 20px);
	background-color: color-mix(in srgb, var(--st-text, #16181C) 3%, var(--st-bg, #FFFFFF));
	border-bottom: 1px solid var(--st-border, #CCD5E2);
	font-size: var(--st-fs-2, 0.8125rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.4;
	text-align: left;
	color: var(--st-text-muted, #515F72);
}

/* `tr:nth-child(n)`: vence a listra das linhas pares do pai. */
:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) tbody tr:nth-child(n) td {
	padding: var(--st-sp-4, 16px) var(--st-sp-5, 20px);
	background-color: var(--st-bg, #FFFFFF);
	border-top: 1px solid var(--st-border, #CCD5E2);
	font-size: var(--st-fs-4, 0.9375rem);
	line-height: 1.4;
	vertical-align: middle;
	color: var(--st-text, #16181C);
}

:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) tbody tr:first-child td {
	border-top: 0;
}

:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) :is(td.download-product, td.payment-method-method) {
	font-weight: var(--st-peso-semi, 600);
}

:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) :is(td.download-file, td.payment-method-actions) {
	text-align: right;
}

:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) :is(.woocommerce-MyAccount-downloads-file, td.payment-method-actions .button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--st-sp-2, 8px);
	min-height: 44px;
	box-sizing: border-box;
	padding: 0 var(--st-sp-4, 16px);
	border: 1px solid var(--st-brand, #0058B6);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-bg, #FFFFFF);
	color: var(--st-brand, #0058B6);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.2;
	text-align: left;
	text-decoration: none;
	box-shadow: none;
}

:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) .woocommerce-MyAccount-downloads-file::before {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%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='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) :is(.woocommerce-MyAccount-downloads-file, td.payment-method-actions .button):hover {
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
}

@media screen and ( max-width: 767px ) {

	:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods),
	:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) tbody {
		display: grid;
		gap: var(--st-sp-3, 12px);
		overflow: visible;
		background: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) thead {
		display: none;
	}

	:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) tbody tr {
		display: grid;
		gap: var(--st-sp-1, 4px);
		padding: var(--st-sp-4, 16px);
		background-color: var(--st-bg, #FFFFFF);
		border: 1px solid var(--st-border, #CCD5E2);
		border-radius: var(--st-raio-lg, 12px);
		box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
	}

	:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) tbody tr:nth-child(n) td,
	:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) tbody tr:first-child td {
		display: flex;
		justify-content: space-between;
		gap: var(--st-sp-3, 12px);
		padding: 0;
		background: none;
		border: 0;
		font-size: var(--st-fs-3, 0.875rem);
		text-align: right;
	}

	:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) tbody td::before {
		content: attr(data-title);
		float: none;
		margin-right: auto;
		font-weight: var(--st-peso-normal, 400);
		text-align: left;
		color: var(--st-text-muted, #515F72);
	}

	:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) tbody td:is(.download-product, .download-file, .payment-method-method, .payment-method-actions)::before,
	:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) tbody td::after {
		content: none;
	}

	:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) tbody tr:nth-child(n) :is(td.download-product, td.payment-method-method) {
		margin-bottom: var(--st-sp-1, 4px);
		font-size: var(--st-fs-5, 1rem);
		text-align: left;
	}

	:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) :is(td.download-file, td.payment-method-actions) {
		margin-top: var(--st-sp-2, 8px);
	}

	:is(body.st-conta-downloads .woocommerce-table--order-downloads, body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods) :is(.woocommerce-MyAccount-downloads-file, td.payment-method-actions .button) {
		width: 100%;
	}
}

body.st-conta-pagamento td.payment-method-actions .button + .button {
	margin-left: var(--st-sp-2, 8px);
}

/* Sem cartão salvo o core imprime "Adicionar método de pagamento" solto. */
body.st-conta-pagamento .woocommerce-MyAccount-content > a.button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: var(--st-sp-4, 16px);
	padding: 0 var(--st-sp-4-5, 18px);
	border-radius: var(--st-raio, 8px);
	background-color: var(--st-brand, #0058B6);
	color: var(--st-brand-contrast, #FFFFFF);
	font-weight: var(--st-peso-negrito, 700);
}

@media screen and ( max-width: 767px ) {

	/* O core separa os botões com `&nbsp;`, que vira item do flex: sem `gap` e
	   com fonte 0 ele não ocupa espaço. */
	body.st-conta-pagamento .woocommerce-MyAccount-paymentMethods tbody tr:nth-child(n) td.payment-method-actions {
		gap: 0;
		font-size: 0;
	}

	body.st-conta-pagamento td.payment-method-actions .button {
		flex: 1 1 0;
		width: auto;
		margin: 0;
	}

	body.st-conta-pagamento td.payment-method-actions .button + .button {
		margin-left: var(--st-sp-2, 8px);
	}
}

/* ========================================================================
   Página não encontrada (`body.error404`, `inc/pagina-404.php`)
   ======================================================================== */

/* Ícone, tamanho e vão da faixa vêm das regras do carrinho vazio (§8b); aqui só a lupa. */
body.error404 .st-vazio--404::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5M8.5 8.5l4 4M12.5 8.5l-4 4'/%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='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5M8.5 8.5l4 4M12.5 8.5l-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ========================================================================
   Rodapé (`inc/rodape.php`, `assets/js/rodape.js`)
   ======================================================================== */

.site-footer {
	padding: 40px 0 24px;
}

.st-rodape a:not(.button) {
	text-decoration: none;
}

.st-rodape a:not(.button):hover {
	text-decoration: underline;
}

.st-rodape__colunas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

/* Abaixo de 1024 a marca abre a grade numa linha só: em par, deixaria um vão ao lado. */
.st-rodape__col--marca {
	grid-column: 1 / -1;
}

@media screen and ( min-width: 1024px ) {

	.st-rodape__col--marca {
		grid-column: auto;
	}
}

@media screen and ( max-width: 767px ) {

	.st-rodape__col--marca {
		padding: var(--st-sp-4, 16px) 0 var(--st-sp-6, 24px);
	}
}

@media screen and ( min-width: 1024px ) {

	/* Uma linha com quantas colunas a loja tiver (some coluna sem dado). */
	.st-rodape__colunas {
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
		grid-template-columns: none;
		gap: var(--st-sp-6, 24px);
	}
}

.st-rodape .st-rodape__titulo {
	margin: 0 0 12px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
}

.st-rodape__lista,
.st-rodape__redes,
.st-rodape__selos .st-selos {
	margin: 0;
	padding: 0;
	list-style: none;
}

.st-rodape__lista li {
	font-size: 0.875rem;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.st-rodape__lista li + li {
	margin-top: 8px;
}

.st-rodape__lista a {
	display: inline-block;
	padding: 2px 0;
}

.st-rodape__redes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

/* 44px de alvo; o anel de 2px do bloco de foco precisa do raio para não cortar. */
.st-rodape__rede {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid color-mix(in srgb, var(--st-brand-contrast, #FFFFFF) 40%, transparent);
	border-radius: 50%;
}

.st-rodape__rede:hover {
	background-color: color-mix(in srgb, var(--st-brand-contrast, #FFFFFF) 16%, transparent);
}

.st-rodape__selos .st-selos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
}

.st-rodape__selos .st-selos__item {
	position: relative;
	padding-left: 1.5em;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.5;
}

.st-rodape__selos .st-selos__item::before {
	content: "✓";
	position: absolute;
	left: 0;
	font-weight: 700;
}

.st-rodape__base {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--st-sp-4, 16px) var(--st-sp-8, 32px);
	margin-top: var(--st-sp-6, 24px);
	padding-top: var(--st-sp-6, 24px);
	border-top: 1px solid color-mix(in srgb, var(--st-brand-contrast, #FFFFFF) 24%, transparent);
}

.st-rodape__legal {
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.st-rodape__legal p {
	margin: 0;
}

/* Newsletter: cartão acima do `<footer>`; o formulário vem do núcleo. */
.st-news-faixa {
	padding-block: var(--st-sp-10, 40px);
	background: var(--st-bg, #FFFFFF);
	color: var(--st-text, #16181C);
}

.st-news-faixa__dentro {
	display: grid;
	gap: var(--st-sp-8, 32px);
	padding: var(--st-sp-6, 24px);
	border-radius: var(--st-raio-lg, 12px);
	background: var(--st-surface, #F4F6F9);
}

@media screen and ( min-width: 768px ) {

	.st-news-faixa__dentro {
		padding: var(--st-sp-12, 48px);
	}
}

@media screen and ( min-width: 1200px ) {

	.st-news-faixa__dentro {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		gap: var(--st-sp-12, 48px);
		align-items: center;
	}
}

.st-news-faixa .st-news-faixa__titulo {
	margin: 0;
	color: var(--st-brand, #0058B6);
	font-size: var(--st-fs-10, 1.5rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.25;
}

@media screen and ( min-width: 1200px ) {

	.st-news-faixa .st-news-faixa__titulo {
		font-size: var(--st-fs-12, 1.75rem);
	}
}

.st-news-faixa .st-news-faixa__subtitulo {
	margin: var(--st-sp-8, 32px) 0 var(--st-sp-4, 16px);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.4;
}

.st-news-faixa__beneficios {
	display: grid;
	gap: var(--st-sp-4, 16px);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media screen and ( min-width: 768px ) {

	.st-news-faixa__beneficios {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--st-sp-6, 24px);
	}
}

.st-news-faixa__beneficio {
	display: flex;
	align-items: flex-start;
	gap: var(--st-sp-3, 12px);
	margin: 0;
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.45;
}

.st-news-faixa__beneficio-icone {
	flex: none;
	color: var(--st-brand, #0058B6);
}

.st-news {
	margin: 0;
}

.st-news__campos {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--st-sp-2, 8px);
}

.st-news-faixa .st-news__input {
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 0 var(--st-sp-4, 16px);
	border: 1px solid var(--st-border, #D5DCE5);
	border-radius: var(--st-raio, 8px);
	background: var(--st-bg, #FFFFFF);
	color: var(--st-text, #1A1D21);
	font-size: var(--st-fs-5, 1rem);
	box-shadow: none;
}

.st-news-faixa .st-news__botao {
	min-height: 48px;
	margin: 0;
	padding: 0 var(--st-sp-6, 24px);
	border: 0;
	border-radius: var(--st-raio, 8px);
	background: var(--st-accent, #FF6800);
	color: var(--st-accent-contrast, #16181C);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-negrito, 700);
	white-space: nowrap;
}

.st-news-faixa .st-news__botao:hover {
	background: color-mix(in srgb, var(--st-accent, #FF6800) 88%, var(--st-text, #16181C));
}

.st-news__consent {
	margin: var(--st-sp-3, 12px) 0 0;
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.5;
}

.st-news-faixa .st-news__consent a:not(.button) {
	color: inherit;
	text-decoration: underline;
}

.st-news__msg {
	margin: var(--st-sp-2, 8px) 0 0;
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.5;
}

.st-news__msg:empty {
	display: none;
}

/* Pagamento e entrega: logos em fichas claras para qualquer cor de marca. */
.st-rodape__faixa-meios {
	display: flex;
	flex-wrap: wrap;
	gap: var(--st-sp-6, 24px) var(--st-sp-8, 32px);
	margin-top: var(--st-sp-8, 32px);
	padding-top: var(--st-sp-6, 24px);
	border-top: 1px solid color-mix(in srgb, var(--st-brand-contrast, #FFFFFF) 24%, transparent);
}

.st-rodape__meios {
	flex: 1 1 280px;
	min-width: 0;
}

.st-rodape__logos {
	display: flex;
	flex-wrap: wrap;
	gap: var(--st-sp-2, 8px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.st-rodape__meio {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 40px;
	padding: var(--st-sp-1, 4px);
	border-radius: var(--st-raio, 8px);
	background: var(--st-surface, #FFFFFF);
}

.st-rodape__meio img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.st-rodape__meio--texto {
	width: auto;
	padding: 0 var(--st-sp-3, 12px);
	color: var(--st-text, #1A1D21);
	font-size: var(--st-fs-1, 0.75rem);
	font-weight: var(--st-peso-negrito, 700);
	white-space: nowrap;
}

.st-rodape__selos {
	margin-top: var(--st-sp-6, 24px);
}

.st-rodape__colunas + .st-rodape__selos {
	margin-top: var(--st-sp-8, 32px);
	padding-top: var(--st-sp-6, 24px);
	border-top: 1px solid color-mix(in srgb, var(--st-brand-contrast, #FFFFFF) 24%, transparent);
}

.st-credito {
	margin: 0;
	font-size: var(--st-fs-2, 0.8125rem);
	line-height: 1.6;
	text-align: right;
}

.st-credito__marca {
	display: inline-flex;
	align-items: center;
	gap: var(--st-sp-2, 8px);
	margin-right: var(--st-sp-2, 8px);
	vertical-align: middle;
}

.st-credito__logo {
	display: block;
	width: auto;
	height: 32px;
}

.st-rodape__logo img {
	display: block;
	width: auto;
	max-width: min(200px, 100%);
	height: auto;
	max-height: 56px;
}

.st-rodape a.st-rodape__nome:not(.button) {
	font-size: var(--st-fs-10, 1.5rem);
	font-weight: var(--st-peso-extra, 800);
	line-height: 1.2;
}

.st-rodape__slogan {
	margin: var(--st-sp-3, 12px) 0 0;
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.5;
	color: color-mix(in srgb, var(--st-brand-contrast, #FFFFFF) 85%, transparent);
}

.st-rodape a.st-credito__link:not(.button) {
	font-weight: var(--st-peso-negrito, 700);
	text-decoration: underline;
}

@media screen and ( max-width: 767px ) {

	.site-footer {
		padding: 8px 0 24px;
	}

	.st-rodape__colunas {
		display: block;
	}

	/* Filete só em cima e só entre colunas: o bloco seguinte (selos, linha legal)
	   traz o próprio `border-top`, e a última coluna muda com o dado da loja. */
	.st-rodape__col + .st-rodape__col {
		border-top: 1px solid color-mix(in srgb, var(--st-brand-contrast, #FFFFFF) 24%, transparent);
	}

	.st-rodape__col--atendimento {
		padding: 16px 0 24px;
	}

	.st-rodape__col[data-st-recolhe]:not(.st-rodape__col--acordeao) {
		padding: 16px 0;
	}

	.st-rodape .st-rodape__col--acordeao .st-rodape__titulo {
		margin: 0;
	}

	.st-rodape__lista a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0;
	}

	.st-rodape__lista li + li {
		margin-top: 0;
	}

	.st-rodape__horario {
		padding: 10px 0;
	}

	.st-rodape__col--acordeao .st-rodape__lista:not([hidden]) {
		padding-bottom: 12px;
	}

	.st-rodape .st-rodape__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 52px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: inherit;
		font: inherit;
		text-align: left;
	}

	/* O pai esconde todo `button::after`. */
	.st-rodape .st-rodape__toggle::after {
		content: "";
		display: block;
		width: 8px;
		height: 8px;
		margin-right: 4px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
	}

	.st-rodape .st-rodape__toggle[aria-expanded="true"]::after {
		transform: translateY(2px) rotate(-135deg);
	}

	.st-rodape__colunas + .st-rodape__selos {
		margin-top: 0;
	}

	.st-rodape__faixa-meios {
		margin-top: 0;
	}

	.st-rodape__selos .st-selos {
		flex-direction: column;
	}

	.st-rodape__base {
		flex-direction: column;
		align-items: flex-start;
	}

	.st-credito {
		text-align: left;
	}
}

/* ========================================================================
   Página do link da newsletter (`.st-news-pagina`, núcleo `modulos/newsletter.php`)
   ======================================================================== */

.st-news-pagina {
	display: flex;
	justify-content: center;
	padding: var(--st-sp-8, 32px) 0;
}

.st-news-pagina__cartao {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 480px;
	padding: var(--st-sp-8, 32px) var(--st-sp-6, 24px);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	background: var(--st-bg, #FFFFFF);
	box-shadow: var(--st-sombra-1, 0 1px 2px color-mix(in srgb, var(--st-text, #16181C) 6%, transparent));
	text-align: center;
}

.st-news-pagina__icone {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: var(--st-sp-4, 16px);
	border-radius: 50%;
	background: var(--st-accent, #FF6A00);
	color: var(--st-accent-contrast, #FFFFFF);
}

.st-news-pagina--confirmado .st-news-pagina__icone {
	background: var(--st-price, #0A7C2F);
	color: var(--st-price-contrast, #FFFFFF);
}

.st-news-pagina--cancelado .st-news-pagina__icone,
.st-news-pagina--removido .st-news-pagina__icone {
	background: var(--st-surface, #F2F7FF);
	color: var(--st-text, #1A1D21);
}

.st-news-pagina--invalido .st-news-pagina__icone {
	background: var(--st-danger, #B42318);
	color: var(--st-bg, #FFFFFF);
}

.st-news-pagina__icone::before {
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	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='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-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='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.st-news-pagina--confirmado .st-news-pagina__icone::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.st-news-pagina--cancelado .st-news-pagina__icone::before,
.st-news-pagina--removido .st-news-pagina__icone::before,
.st-news-pagina--invalido .st-news-pagina__icone::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E");
}

.st-news-pagina .st-news-pagina__titulo {
	margin: 0 0 var(--st-sp-2, 8px);
	font-size: var(--st-fs-10, 1.5rem);
	font-weight: var(--st-peso-negrito, 700);
	line-height: 1.3;
}

.st-news-pagina__texto {
	margin: 0 0 var(--st-sp-6, 24px);
	color: var(--st-text-muted, #4B5563);
	font-size: var(--st-fs-5, 1rem);
	line-height: 1.5;
}

.st-news-pagina form {
	width: 100%;
	margin: 0 0 var(--st-sp-4, 16px);
}

.st-news-pagina .button.st-news-pagina__botao {
	width: 100%;
	min-height: 48px;
	border-radius: var(--st-raio, 8px);
	background: var(--st-accent, #FF6A00);
	color: var(--st-accent-contrast, #FFFFFF);
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-negrito, 700);
}

.st-news-pagina .button.st-news-pagina__botao:hover {
	background: color-mix(in srgb, var(--st-accent, #FF6A00) 88%, var(--st-text, #1A1D21));
}

.st-news-pagina__voltar {
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-semi, 600);
}

/* ========================================================================
   Páginas de leitura (`body.st-leitura`, `inc/leitura.php`)
   ======================================================================== */

/* PAR ACOPLADO: `.hentry .entry-header{margin-bottom; border-bottom}` do pai;
   o filete da página é o da `.st-leitura__data`. */
body.st-leitura .hentry .entry-header {
	margin: 0;
	padding: 0;
	border: 0;
}

body.st-leitura .hentry .entry-header .entry-title {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--st-text, #16181C);
}

body.st-leitura .st-leitura__data {
	margin: 8px 0 0;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--st-border, #CCD5E2);
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--st-text-muted, #515F72);
}

body.st-leitura .hentry .entry-content {
	max-width: 32rem;
	padding-top: 28px;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--st-text, #16181C);
}

body.st-leitura .hentry .entry-content > :first-child {
	margin-top: 0;
}

body.st-leitura .hentry .entry-content p {
	margin: 0 0 1.25em;
}

/* PAR ACOPLADO: `ul,ol{margin:0 0 1.41575em 3em}` do pai; o recuo segura o
   marcador `outside` dentro da coluna. */
body.st-leitura .hentry .entry-content ul,
body.st-leitura .hentry .entry-content ol {
	margin: 0 0 1.25em 1.5em;
}

body.st-leitura .hentry .entry-content li {
	margin-bottom: 0.4em;
}

/* PAR ACOPLADO: `.storefront-align-wide.storefront-full-width-content .hentry
   .entry-content .alignwide/.alignfull` do pai (0,5,0), margem negativa em vw.
   Na coluna, alinhado vira largura da coluna. */
body.st-leitura.storefront-full-width-content .hentry .entry-content :is(.alignwide, .alignfull) {
	width: auto;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

body.st-leitura .hentry .entry-content h2 {
	margin: 2em 0 0.6em;
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--st-text, #16181C);
}

body.st-leitura .hentry .entry-content h3 {
	margin: 1.6em 0 0.5em;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--st-text, #16181C);
}

body.st-leitura .hentry .entry-content a {
	color: var(--st-brand, #0058B6);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

body.st-leitura .hentry .entry-content a:hover {
	text-decoration-thickness: 2px;
}

body.st-leitura .st-leitura__lateral {
	display: grid;
	gap: 16px;
	align-content: start;
}

body.st-leitura .st-leitura__cartao {
	box-sizing: border-box;
	padding: 8px;
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: 12px;
}

body.st-leitura .st-leitura__cartao .st-leitura__titulo {
	margin: 0;
	padding: 12px 12px 8px;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--st-text-muted, #515F72);
}

body.st-leitura .st-leitura__cartao ul {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.st-leitura .st-leitura__cartao li {
	margin: 0;
}

body.st-leitura .st-leitura__cartao li a {
	display: flex;
	align-items: center;
	min-height: 44px;
	box-sizing: border-box;
	padding: 10px 12px;
	border-radius: 8px;
	color: var(--st-text, #16181C);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	overflow-wrap: anywhere;
}

body.st-leitura .st-leitura__cartao li a:hover {
	background-color: var(--st-surface, #F2F7FF);
}

body.st-leitura .st-leitura__nav li a[aria-current="page"] {
	background-color: color-mix(in srgb, var(--st-brand, #0058B6) 10%, var(--st-bg, #FFFFFF));
	color: var(--st-brand, #0058B6);
	font-weight: 600;
}

body.st-leitura .st-leitura__horario {
	margin: 0;
	padding: 0 12px 4px;
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--st-text-muted, #515F72);
}

@media screen and ( min-width: 1024px ) {

	body.st-leitura--lateral .hentry {
		display: grid;
		grid-template-columns: 272px minmax(0, 32rem);
		grid-template-areas:
			"lateral cabeca"
			"lateral data"
			"lateral texto"
			"lateral editar";
		grid-template-rows: auto auto 1fr auto;
		column-gap: 48px;
		align-items: start;
	}

	body.st-leitura--lateral .hentry .entry-header {
		grid-area: cabeca;
	}

	body.st-leitura--lateral .hentry .st-leitura__data {
		grid-area: data;
	}

	body.st-leitura--lateral .hentry .entry-content {
		grid-area: texto;
	}

	body.st-leitura--lateral .hentry .edit-link {
		grid-area: editar;
	}

	body.st-leitura--lateral .hentry .st-leitura__lateral {
		grid-area: lateral;
	}
}

@media screen and ( max-width: 1023px ) {

	body.st-leitura .st-leitura__lateral {
		max-width: 32rem;
		margin-top: 40px;
	}
}

@media screen and ( max-width: 767px ) {

	body.st-leitura .hentry .entry-header .entry-title {
		font-size: 1.625rem;
	}

	body.st-leitura .st-leitura__data {
		padding-bottom: 20px;
	}

	body.st-leitura .hentry .entry-content {
		padding-top: 20px;
		font-size: 1rem;
	}

	body.st-leitura .hentry .entry-content h2 {
		font-size: 1.25rem;
	}

	/* O Atendimento do rodapé, aberto nesta largura, vem logo abaixo. */
	body.st-leitura .st-leitura__ajuda,
	body.st-leitura .st-leitura__lateral--so-ajuda {
		display: none;
	}
}

/* ========================================================================
   Minha Conta — avisos (`body.st-conta-avisos`, `inc/conta-avisos.php`)
   Um cartão por aviso: foto, nome, estado e Remover. Sem aviso, o vazio da
   conta (§logada).
   ======================================================================== */

body.st-conta-avisos {
	background-color: color-mix(in srgb, var(--st-text, #16181C) 4%, var(--st-bg, #FFFFFF));
}

body.st-conta-avisos .st-avisos {
	display: grid;
	gap: var(--st-sp-4, 16px);
}

body.st-conta-avisos .st-avisos p {
	margin: 0;
}

body.st-conta-avisos .st-avisos .st-avisos__contagem {
	font-size: var(--st-fs-3, 0.875rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.4;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-avisos .st-avisos__lista {
	display: grid;
	gap: var(--st-sp-3, 12px);
	margin: 0;
	padding: 0;
	list-style: none;
}

body.st-conta-avisos .st-avisos__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--st-sp-4, 16px);
	margin: 0;
	padding: var(--st-sp-4, 16px) var(--st-sp-5, 20px);
	background-color: var(--st-bg, #FFFFFF);
	border: 1px solid var(--st-border, #CCD5E2);
	border-radius: var(--st-raio-lg, 12px);
	box-shadow: var(--st-sombra-2, 0 1px 3px color-mix(in srgb, var(--st-text, #16181C) 8%, transparent));
}

body.st-conta-avisos .st-avisos__info {
	display: grid;
	gap: 2px;
	min-width: 0;
}

body.st-conta-avisos .st-avisos__nome {
	overflow: hidden;
	font-size: var(--st-fs-5, 1rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.4;
	color: var(--st-text, #16181C);
	text-decoration: none;
	white-space: nowrap;
	text-overflow: ellipsis;
}

body.st-conta-avisos .st-avisos__nome:hover {
	color: var(--st-brand, #0058B6);
	text-decoration: underline;
}

body.st-conta-avisos .st-avisos .st-avisos__estado {
	font-size: var(--st-fs-3, 0.875rem);
	line-height: 1.5;
	color: var(--st-text-muted, #515F72);
}

body.st-conta-avisos .st-avisos .st-avisos__estado--disponivel {
	color: var(--st-price, #0A7C2F);
	font-weight: var(--st-peso-semi, 600);
}

body.st-conta-avisos .st-avisos__form {
	margin: 0;
}

/* Mesmo "Cancelar" só texto do cartão de pedido. */
body.st-conta-avisos .st-avisos .st-avisos__remover {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	padding: 0 var(--st-sp-3-5, 14px);
	border: 1px solid transparent;
	border-radius: var(--st-raio, 8px);
	background-color: transparent;
	box-shadow: none;
	color: var(--st-danger, #B42318);
	font-size: var(--st-fs-4, 0.9375rem);
	font-weight: var(--st-peso-semi, 600);
	line-height: 1.2;
	cursor: pointer;
}

body.st-conta-avisos .st-avisos .st-avisos__remover:hover {
	background-color: color-mix(in srgb, var(--st-danger, #B42318) 8%, var(--st-bg, #FFFFFF));
	color: var(--st-danger, #B42318);
}

@media screen and ( max-width: 479px ) {

	body.st-conta-avisos .st-avisos__item {
		grid-template-columns: auto minmax(0, 1fr);
		padding: var(--st-sp-3-5, 14px) var(--st-sp-4, 16px);
	}

	body.st-conta-avisos .st-avisos__nome {
		white-space: normal;
	}

	body.st-conta-avisos .st-avisos__form {
		grid-column: 2;
	}

	body.st-conta-avisos .st-avisos .st-avisos__remover {
		margin-left: -14px;
	}
}
