/*
 * Visual padrão de todas as lojas (carregado pelo header.php), trazido do tema novo:
 *  - topo branco com busca arredondada e barra de categorias na cor da loja (com destaque ao passar o mouse)
 *  - banner arredondado quando a opção de banner do ADM é a 2 (descolada); a opção 1 continua de ponta a ponta
 *  - lista de categorias da home em cartões + carrossel arredondado ao lado
 *  - faixa de vantagens abaixo do banner (loja.php)
 * Cores do ADM: --cor-barra_menu (marca), --cor-fonte (texto sobre a marca), --cor-secundaria (destaque).
 * No tema novo (tema-novo.on) as regras de css/tema-novo.css têm prioridade.
 */
:root {
	--vb-marca: var(--cor-barra_menu, #1f3c88);
	--vb-sobre-marca: var(--cor-fonte, #ffffff);
	--vb-destaque: var(--cor-secundaria, #ff6a3d);
	--vb-fundo: #f5f6fa;
	--vb-texto: #121620;
	--vb-suave: #6b7488;
	--vb-borda: #e6e9f0;
	--vb-sombra: 0 1px 2px rgba(18, 22, 32, .04), 0 10px 30px -14px rgba(18, 22, 32, .22);
	--vb-sombra-alta: 0 26px 50px -22px rgba(18, 22, 32, .38);
	--vb-fonte: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- topo ---------- */
html body #menu_top .navbar {
	background: rgba(255, 255, 255, .94) !important; backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--vb-borda); box-shadow: 0 6px 24px -18px rgba(18, 22, 32, .35) !important;
	padding-top: .65rem; padding-bottom: .65rem; font-family: var(--vb-fonte);
}
html body #menu_top .navbar-logo img { max-height: 52px; width: auto; border-radius: 10px; }
html body #menu_top .navbar-brand strong, html body #menu_top .nome_empresa strong {
	font-family: var(--vb-fonte); font-weight: 800; letter-spacing: -.02em; color: var(--vb-texto); font-size: 1.05rem;
}
html body .header-search {
	background: var(--vb-fundo) !important; border: 1.5px solid transparent !important; border-radius: 999px !important;
	height: 48px; box-shadow: none !important; transition: border-color .15s, background .15s;
}
html body .header-search:focus-within { background: #fff !important; border-color: var(--vb-marca) !important; box-shadow: 0 0 0 4px color-mix(in srgb, var(--vb-marca) 14%, transparent) !important; }
html body .header-search-input { background: transparent !important; font-size: .95rem; font-family: var(--vb-fonte); }
html body .header-search-btn, html body .mobile-search-btn {
	background: var(--vb-marca) !important; color: var(--vb-sobre-marca) !important; border-radius: 999px !important;
	width: 40px; height: 40px; margin-right: 4px; border: 0;
}
html body .header-search-btn i, html body .mobile-search-btn i { color: var(--vb-sobre-marca) !important; }
html body #menu_top .nav-link {
	color: var(--vb-texto) !important; font-family: var(--vb-fonte); font-weight: 600 !important; font-size: .8rem;
	border-radius: 12px; padding: .45rem .7rem !important; transition: background .15s;
}
html body #menu_top .nav-link:hover { background: var(--vb-fundo); }
html body #menu_top .badge, html body .cart-count-badge { background: var(--vb-destaque) !important; color: #fff !important; box-shadow: 0 0 0 2px #fff; border-radius: 999px; }
html body .header-search-dropdown { border-radius: 16px; border: 1px solid var(--vb-borda); box-shadow: var(--vb-sombra-alta); overflow: hidden; }
html body .header-search-result:hover { background: var(--vb-fundo); }
html body .mobile-search-bar { background: var(--vb-fundo); border-radius: 999px; border: 1.5px solid transparent; }
html body .mobile-icon-link i, html body .mobile-menu-btn i { color: var(--vb-texto) !important; }

/* ---------- barra de categorias ---------- */
html body .cat-nav { background: var(--vb-marca) !important; border: 0 !important; box-shadow: 0 10px 24px -20px rgba(18, 22, 32, .6); }
html body .cat-nav-link {
	color: var(--vb-sobre-marca) !important; font-family: var(--vb-fonte); font-weight: 700 !important; font-size: .78rem !important;
	letter-spacing: .02em; border-radius: 999px; padding: .5rem 1rem !important; opacity: .92; transition: background .15s, opacity .15s;
}
/* destaque ao passar o mouse: pílula clara em volta da categoria */
html body .cat-nav-item:hover > .cat-nav-link, html body .cat-nav-item:hover > a.cat-nav-link {
	background: color-mix(in srgb, var(--vb-sobre-marca) 16%, transparent) !important; opacity: 1; color: var(--vb-sobre-marca) !important;
}
html body .cat-nav-arrow, html body .cat-nav-toggle { background: var(--vb-marca) !important; color: var(--vb-sobre-marca) !important; }
html body .cat-nav-arrow i, html body .cat-nav-toggle i { color: var(--vb-sobre-marca) !important; }

/* ---------- banner: arredondado só na opção 2 (descolada) ---------- */
html body .banners.banners--opcao2 { padding: 1.25rem 1.25rem 0; }
html body .banners--opcao2 .carousel { border-radius: 24px; overflow: hidden; box-shadow: var(--vb-sombra-alta); }
html body .banners .carousel-indicators li { width: 26px; height: 6px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .6); }
html body .banners .carousel-indicators li.active { background: #fff; width: 40px; }

/* ---------- home: categorias em cartões + carrossel ao lado ---------- */
html body .menu-vert .list-group { box-shadow: none !important; margin: 0 0 .5rem; }
html body .menu-vert .list-group-item {
	border: 1px solid var(--vb-borda) !important; border-radius: 14px !important; background: #fff; padding: .85rem 1.1rem !important;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
html body .menu-vert .list-group-item a {
	font-family: var(--vb-fonte) !important; font-weight: 700 !important; font-size: .9rem; text-transform: uppercase;
	color: var(--vb-texto) !important; display: flex; align-items: center; gap: .6rem; width: 100%;
}
html body .menu-vert .list-group-item a::after { content: '\203A'; margin-left: auto; font-size: 1.3rem; line-height: 1; color: var(--vb-suave); transition: transform .15s, color .15s; }
html body .menu-vert .list-group-item:hover { transform: translateX(4px); border-color: var(--vb-marca) !important; box-shadow: var(--vb-sombra); background: #fff !important; }
html body .menu-vert .list-group-item:hover a { color: var(--vb-marca) !important; }
html body .menu-vert .list-group-item:hover a::after { color: var(--vb-marca); transform: translateX(3px); }
html body #lancamento_vertical { background: var(--vb-marca) !important; border-color: var(--vb-marca) !important; }
html body #lancamento_vertical a, html body #lancamento_vertical a::after { color: var(--vb-sobre-marca) !important; }
html body #carouselExampleControls2 { border-radius: 22px; overflow: hidden; box-shadow: var(--vb-sombra-alta); }
html body #carouselExampleControls2 img { max-height: 380px !important; min-height: 300px; object-fit: cover; }
html body #carouselExampleControls2 .carousel-indicators li { width: 22px; height: 5px; border-radius: 999px; border: 0; }

/* ---------- faixa de vantagens ---------- */
.tn-vantagens {
	max-width: 1320px; margin: 1.25rem auto 0; padding: 0 1.25rem; font-family: var(--vb-fonte);
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem;
}
.tn-vantagem {
	display: flex; align-items: center; gap: .85rem; background: #fff; border: 1px solid var(--vb-borda); border-radius: 16px;
	padding: .95rem 1.1rem; box-shadow: var(--vb-sombra); transition: transform .15s, box-shadow .15s; text-decoration: none !important;
}
a.tn-vantagem:hover { transform: translateY(-2px); box-shadow: var(--vb-sombra-alta); }
.tn-vantagem > i {
	width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem;
	background: color-mix(in srgb, var(--vb-destaque) 14%, white); color: var(--vb-destaque);
}
.tn-vantagem strong { display: block; font-size: .9rem; font-weight: 800; color: var(--vb-texto); }
.tn-vantagem span { display: block; font-size: .78rem; color: var(--vb-suave); line-height: 1.3; }

@media (max-width: 991px) {
	.tn-vantagens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
	html body .banners.banners--opcao2 { padding: .75rem .75rem 0; }
	html body .banners--opcao2 .carousel { border-radius: 16px; }
	.tn-vantagens { padding: 0 .75rem; gap: .5rem; }
	.tn-vantagem { padding: .75rem; gap: .6rem; }
	.tn-vantagem span { display: none; }
}

/* ---------- grade "Compre por categoria" (loja.php) ---------- */
.tn-categorias { max-width: 1320px; margin: 2.5rem auto 1rem; padding: 0 1.25rem; font-family: var(--vb-fonte); }
.tn-secao-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.tn-secao-topo h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--vb-texto); font-family: var(--vb-fonte); }
.tn-secao-topo a { font-weight: 700; font-size: .9rem; color: var(--vb-marca) !important; white-space: nowrap; text-decoration: none !important; }
.tn-secao-topo a i { transition: transform .15s; }
.tn-secao-topo a:hover i { transform: translateX(3px); }
.tn-categorias-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; }
.tn-categoria {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; overflow: hidden;
	border-radius: 20px; box-shadow: var(--vb-sombra); isolation: isolate; transition: transform .25s, box-shadow .25s; text-decoration: none !important;
	background: linear-gradient(160deg, color-mix(in srgb, var(--vb-marca) 70%, white), var(--vb-marca));
}
.tn-categoria img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.tn-categoria::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 14, 22, .78), rgba(10, 14, 22, 0) 60%); }
.tn-categoria:hover { transform: translateY(-4px); box-shadow: var(--vb-sombra-alta); }
.tn-categoria:hover img { transform: scale(1.07); }
.tn-categoria-nome { padding: 1rem; color: #fff; font-weight: 800; font-size: 1rem; line-height: 1.2; letter-spacing: -.01em; }

/* sem foto: arte padrão transparente sobre as cores da loja (3 variações alternadas) */
html body .tn-categoria.tn-categoria--padrao::after { background: linear-gradient(to top, rgba(10, 14, 22, .45), rgba(10, 14, 22, 0) 55%); }
html body .tn-categoria.tn-categoria--v0 { background: linear-gradient(160deg, color-mix(in srgb, var(--vb-marca) 62%, white), var(--vb-marca)); }
html body .tn-categoria.tn-categoria--v1 { background: linear-gradient(160deg, color-mix(in srgb, var(--vb-destaque) 62%, white), var(--vb-destaque)); }
html body .tn-categoria.tn-categoria--v2 { background: linear-gradient(150deg, var(--vb-marca), color-mix(in srgb, var(--vb-marca) 45%, var(--vb-destaque))); }

@media (max-width: 991px) {
	.tn-categorias-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
	.tn-categorias { padding: 0 .75rem; }
	.tn-categorias-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
	.tn-secao-topo h2 { font-size: 1.25rem; }
}

/* ---------- vitrine e rodapé no padrão do layout novo (copiado de tema/src/layout-novo.css) ---------- */
:root { --tn-fonte: var(--vb-fonte); --tn-marca: var(--vb-marca); --tn-sobre-marca: var(--vb-sobre-marca); --tn-destaque: var(--vb-destaque); --tn-fundo: var(--vb-fundo);
	--tn-texto: var(--vb-texto); --tn-suave: var(--vb-suave); --tn-borda: var(--vb-borda); --tn-sombra: var(--vb-sombra); --tn-sombra-alta: var(--vb-sombra-alta); }
.tn-faixa, .tn-beneficios, .tn-rodape { font-family: var(--vb-fonte); }
html body .tn-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 1.25rem; }
html body .tn-marca { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
html body .tn-marca img { height: 52px; width: auto; max-width: 140px; object-fit: contain; }
html body .tn-marca span { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; color: var(--tn-texto); line-height: 1.15; max-width: 170px; }
html body .tn-marca--clara span { color: #fff; }
html body .tn-faixa { margin-top: 3rem; }
html body .tn-faixa-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
html body .tn-faixa-topo h2 { margin: 0; font-size: 1.65rem; font-weight: 800; letter-spacing: -.025em; color: var(--tn-texto); }
html body .tn-faixa-topo p { margin: .2rem 0 0; color: var(--tn-suave); font-size: .92rem; }
html body .tn-faixa-acoes { display: flex; align-items: center; gap: .5rem; }
html body .tn-faixa-acoes a { font-weight: 700; font-size: .9rem; color: var(--tn-marca) !important; margin-right: .4rem; }
html body .tn-seta { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--tn-borda); background: #fff; color: var(--tn-texto); display: grid; place-items: center; transition: .15s; }
html body .tn-seta:hover { background: var(--tn-marca); border-color: var(--tn-marca); color: var(--tn-sobre-marca); }
html body .tn-faixa-lista { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 1rem) / 5); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .25rem .1rem 1rem; }
html body .tn-faixa-lista::-webkit-scrollbar { display: none; }
html body .tn-card { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border-radius: 20px; border: 1px solid var(--tn-borda); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
html body .tn-card:hover { transform: translateY(-4px); box-shadow: var(--tn-sombra-alta); border-color: transparent; }
html body .tn-card-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; padding: .9rem; }
html body .tn-card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
html body .tn-card:hover .tn-card-img img { transform: scale(1.06); }
html body .tn-card-selo { position: absolute; top: .75rem; left: .75rem; background: var(--tn-destaque); color: #fff; font-weight: 800; font-size: .75rem; padding: .25rem .55rem; border-radius: 8px; }
html body .tn-card-selo--cinza { background: #6b7488; left: auto; right: .75rem; }
html body .tn-card-corpo { display: flex; flex-direction: column; flex: 1; padding: .2rem 1rem 1rem; }
html body .tn-card-cat { font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--tn-destaque); }
html body .tn-card-nome { margin-top: .25rem; font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--tn-texto) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
html body .tn-card-nome:hover { color: var(--tn-marca) !important; }
html body .tn-card-estrelas { min-height: 6px; font-size: .78rem; }
html body .tn-card-rodape { margin-top: auto; padding-top: .6rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; }
html body .tn-card-preco s { display: block; font-size: .78rem; color: var(--tn-suave); }
html body .tn-card-preco strong { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--tn-texto); }
html body .tn-card-btn { flex-shrink: 0; height: 42px; min-width: 42px; padding: 0 .85rem; border: 0; border-radius: 12px; background: var(--tn-marca); color: var(--tn-sobre-marca); font-weight: 700; font-size: .82rem; display: inline-flex; align-items: center; gap: .45rem; transition: background .15s, transform .15s; }
html body .tn-card-btn:hover { background: var(--tn-destaque); transform: translateY(-1px); }
html body .tn-card-btn:disabled { background: var(--tn-borda); color: var(--tn-suave); }
html body .tn-card-login { font-size: .8rem; font-weight: 700; color: var(--tn-marca) !important; }
html body .tn-beneficios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 3rem; background: #fff; border-radius: 22px; border: 1px solid var(--tn-borda); overflow: hidden; }
html body .tn-beneficios > div { display: flex; gap: .85rem; align-items: center; padding: 1.3rem 1.25rem; border-right: 1px solid var(--tn-borda); }
html body .tn-beneficios > div:last-child { border-right: 0; }
html body .tn-beneficios i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; background: color-mix(in srgb, var(--tn-marca) 10%, white); color: var(--tn-marca); }
html body .tn-beneficios span { font-size: .8rem; color: var(--tn-suave); line-height: 1.35; }
html body .tn-beneficios strong { display: block; font-size: .92rem; color: var(--tn-texto); }
html body .tn-rodape { margin-top: 4.5rem; background: #0f1320; color: #aeb6c7; }
html body .tn-rodape-grade { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3rem; }
html body .tn-rodape h4 { color: #fff; font-size: .95rem; font-weight: 800; margin-bottom: 1rem; }
html body .tn-rodape a { color: #aeb6c7 !important; }
html body .tn-rodape a:hover { color: #fff !important; }
html body .tn-rodape-grade > div > a { display: block; padding: .3rem 0; font-size: .92rem; }
html body .tn-rodape-marca p { margin: 1rem 0; font-size: .9rem; line-height: 1.6; }
html body .tn-rodape-marca img { background: #fff; border-radius: 12px; padding: 4px; }
html body .tn-redes { display: flex; gap: .5rem; }
html body .tn-redes a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; font-size: 1.05rem; }
html body .tn-redes a:hover { background: var(--tn-destaque); color: #fff !important; }
html body .tn-rodape-contato p { display: flex; gap: .7rem; font-size: .9rem; margin-bottom: .75rem; }
html body .tn-rodape-contato i { color: var(--tn-destaque); margin-top: .2rem; width: 16px; }
html body .tn-rodape-base { border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }
html body .tn-rodape-base .tn-wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.1rem; padding-bottom: 1.1rem; }
html body .tn-cadeado { opacity: .5; margin: 0 .3rem; }
@media (max-width: 1199px) {
	html body .tn-faixa-lista { grid-auto-columns: calc((100% - 3 * 1rem) / 4); }
}
@media (max-width: 991px) {
	html body .tn-faixa-lista { grid-auto-columns: calc((100% - 2 * 1rem) / 3); }
	html body .tn-beneficios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body .tn-beneficios > div:nth-child(2) { border-right: 0; }
	html body .tn-beneficios > div:nth-child(-n+2) { border-bottom: 1px solid var(--tn-borda); }
	html body .tn-rodape-grade { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
	html body .tn-wrap { padding: 0 .85rem; }
	html body .tn-marca span { font-size: .92rem; }
	html body .tn-faixa { margin-top: 2.25rem; }
	html body .tn-faixa-topo h2 { font-size: 1.3rem; }
	html body .tn-seta { display: none; }
	html body .tn-faixa-lista { grid-auto-columns: 46%; gap: .7rem; }
	html body .tn-card-corpo { padding: .1rem .75rem .8rem; }
	html body .tn-card-nome { font-size: .84rem; }
	html body .tn-card-preco strong { font-size: 1.05rem; }
	html body .tn-card-rodape { flex-direction: column; align-items: stretch; }
	html body .tn-card-btn { justify-content: center; }
	html body .tn-beneficios { grid-template-columns: 1fr; }
	html body .tn-beneficios > div { border-right: 0; border-bottom: 1px solid var(--tn-borda); }
	html body .tn-rodape-grade { grid-template-columns: 1fr; gap: 1.75rem; }
}
html body .tn-card-preco strong { white-space: nowrap; font-size: 1.15rem; }
html body .tn-card-btn { padding: 0 .7rem; }
@media (min-width: 1200px) and (max-width: 1399px) {
	html body .tn-card-btn span { display: none; }
}
@media (max-width: 991px) {
	html body .tn-beneficios { width: auto; margin-left: 1.25rem; margin-right: 1.25rem; padding: 0; }
}
@media (max-width: 575px) {
	html body .tn-beneficios { margin-left: .85rem; margin-right: .85rem; }
	html body .tn-beneficios > div { padding: 1rem; }
}

/* rodapé: cores do ADM e logo centralizada em cima do nome */
html body .tn-rodape { background: var(--rod-fundo, #0f1320); color: var(--rod-texto, #aeb6c7); }
html body .tn-rodape a, html body .tn-rodape-marca p, html body .tn-rodape-contato p { color: var(--rod-texto, #aeb6c7) !important; }
html body .tn-rodape-base { color: var(--rod-texto, #aeb6c7); }
html body .tn-rodape-marca { text-align: center; }
html body .tn-marca--rodape { flex-direction: column; justify-content: center; gap: .6rem; }
html body .tn-marca--rodape span { max-width: none; }
html body .tn-rodape-marca .tn-redes { justify-content: center; }
html body .tn-rodape-marca img { height: 64px; }

/* menu vertical da home: imagem no formato 1320x600 (2,2:1) e a lista ocupa a mesma altura */
html body .menu-vert { height: 100%; display: flex; flex-direction: column; gap: .5rem; }
html body .menu-vert .list-group { flex: 1; margin: 0 !important; }
html body .menu-vert .list-group-item { height: 100%; padding-top: .35rem !important; padding-bottom: .35rem !important; }
html body #carouselExampleControls2 img { aspect-ratio: 2.2 / 1; height: auto !important; min-height: 0 !important; max-height: none !important; }
@media (max-width: 991px) {
	html body .menu-vert .list-group-item { height: auto; padding-top: .85rem !important; padding-bottom: .85rem !important; }
}
html body .tn-rodape-grade > .tn-rodape-marca > a.tn-marca--rodape { display: inline-flex; align-items: center; }
html body .tn-rodape-grade > .tn-rodape-marca { display: flex; flex-direction: column; align-items: center; }
/* lista de categorias ao lado da imagem: sem margem extra embaixo */
html body .menu-vert { padding-bottom: 0; }
@media (min-width: 992px) { html body .col-lg-4:has(> .menu-vert) { margin-bottom: 0 !important; } }

/* ---------- topo no padrão do layout novo (tn/topo.php; copiado de tema/src/layout-novo.css) ---------- */
.tn-topo, .tn-aviso, .tn-gaveta { font-family: var(--vb-fonte); }
html body { padding-top: 0 !important; }
html body .carrinho-flutuante { display: none !important; }   /* o carrinho fica no topo */
html body .tn-aviso { background: color-mix(in srgb, var(--tn-marca) 88%, black); color: rgba(255,255,255,.88); font-size: .8rem; }
html body .tn-aviso .tn-wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 36px; }
html body .tn-aviso i { color: var(--tn-destaque); margin-right: .3rem; }
html body .tn-aviso-dir { display: flex; gap: 1.25rem; }
html body .tn-aviso a { color: rgba(255,255,255,.88) !important; font-weight: 600; }
html body .tn-aviso a:hover { color: #fff !important; }
html body .tn-topo { position: sticky; top: 0; z-index: 1030; background: #fff; transition: box-shadow .2s; }
html body .tn-topo--rolou { box-shadow: 0 10px 30px -18px rgba(18,22,32,.45); }
html body .tn-topo-linha { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
html body .tn-marca { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
html body .tn-marca img { height: 52px; width: auto; max-width: 140px; object-fit: contain; }
html body .tn-marca span { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; color: var(--tn-texto); line-height: 1.15; max-width: 170px; }
html body .tn-marca--clara span { color: #fff; }
html body .tn-busca { flex: 1; position: relative; display: flex; align-items: center; height: 52px; border-radius: 16px; background: var(--tn-fundo); border: 2px solid transparent; transition: border-color .15s, background .15s, box-shadow .15s; }
html body .tn-busca:focus-within { background: #fff; border-color: var(--tn-marca); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tn-marca) 12%, transparent); }
html body .tn-busca > i { position: absolute; left: 1.1rem; color: var(--tn-suave); }
html body .tn-busca input { flex: 1; height: 100%; border: 0; background: transparent; padding: 0 1rem 0 2.9rem; font-size: 1rem; outline: none; color: var(--tn-texto); }
html body .tn-busca button { height: 40px; margin-right: 6px; padding: 0 1.4rem; border: 0; border-radius: 12px; background: var(--tn-marca); color: var(--tn-sobre-marca); font-weight: 700; }
html body .tn-busca .header-search-dropdown { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; background: #fff; }
html body .tn-acoes { display: flex; align-items: center; gap: .35rem; }
html body .tn-acao { display: flex; align-items: center; gap: .6rem; padding: .5rem .75rem; border-radius: 14px; border: 0; background: none; color: var(--tn-texto) !important; font-weight: 700; font-size: .88rem; line-height: 1.1; text-align: left; transition: background .15s; }
html body .tn-acao:hover { background: var(--tn-fundo); }
html body .tn-acao > i, html body .tn-carrinho-icone > i { font-size: 1.45rem; color: var(--tn-marca); }
html body .tn-acao small { display: block; font-weight: 500; font-size: .72rem; color: var(--tn-suave); }
html body .tn-carrinho-icone { position: relative; display: inline-flex; }
html body .tn-carrinho-icone b { position: absolute; top: -8px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--tn-destaque); color: #fff; font-size: .7rem; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
html body .tn-carrinho-icone b.vazio { display: none; }
html body .tn-conta { position: relative; }
html body .tn-conta-menu { position: absolute; right: 0; top: 100%; min-width: 210px; background: #fff; border-radius: 16px; box-shadow: var(--tn-sombra-alta); border: 1px solid var(--tn-borda); padding: .4rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 5; }
html body .tn-conta:hover .tn-conta-menu, html body .tn-conta:focus-within .tn-conta-menu { opacity: 1; visibility: visible; transform: none; }
html body .tn-conta-menu a { display: flex; gap: .6rem; align-items: center; padding: .6rem .75rem; border-radius: 10px; font-weight: 600; font-size: .9rem; }
html body .tn-conta-menu a:hover { background: var(--tn-fundo); }
html body .tn-icone-btn { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--tn-fundo); color: var(--tn-texto); font-size: 1.15rem; display: grid; place-items: center; }
html body .tn-so-cel { display: none; }
html body .tn-nav { border-top: 1px solid var(--tn-borda); border-bottom: 1px solid var(--tn-borda); background: #fff; }
html body .tn-nav-linha { display: flex; align-items: center; gap: 1rem; height: 54px; }
html body .tn-departamentos { position: relative; flex-shrink: 0; }
html body .tn-dep-btn { height: 40px; padding: 0 1.1rem; border: 0; border-radius: 12px; background: var(--tn-marca); color: var(--tn-sobre-marca); font-weight: 700; font-size: .88rem; display: flex; align-items: center; gap: .55rem; }
html body .tn-dep-seta { font-size: .7rem; transition: transform .2s; }
html body .tn-departamentos.aberto .tn-dep-seta { transform: rotate(180deg); }
html body .tn-dep-painel { position: absolute; left: 0; top: calc(100% + 8px); width: min(880px, 92vw); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1.25rem; padding: 1.25rem; background: #fff; border-radius: 20px; box-shadow: var(--tn-sombra-alta); border: 1px solid var(--tn-borda); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; z-index: 20; }
html body .tn-departamentos.aberto .tn-dep-painel { opacity: 1; visibility: visible; transform: none; }
html body .tn-dep-item { padding: .25rem 0 .6rem; }
html body .tn-dep-grupo { display: flex; align-items: center; gap: .7rem; font-weight: 800; font-size: .95rem; color: var(--tn-texto) !important; padding: .35rem; border-radius: 12px; }
html body .tn-dep-grupo:hover { background: var(--tn-fundo); color: var(--tn-marca) !important; }
html body .tn-dep-foto { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; background: linear-gradient(150deg, color-mix(in srgb, var(--tn-marca) 60%, white), var(--tn-marca)) center/cover; }
html body .tn-dep-sub { display: block; margin-left: 3.6rem; padding: .2rem 0; font-size: .85rem; color: var(--tn-suave) !important; }
html body .tn-dep-sub:hover { color: var(--tn-marca) !important; }
html body .tn-nav-links { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
html body .tn-nav-links::-webkit-scrollbar { display: none; }
html body .tn-nav-links a { white-space: nowrap; padding: .5rem .85rem; border-radius: 10px; font-weight: 600; font-size: .88rem; color: var(--tn-texto) !important; }
html body .tn-nav-links a:hover { background: var(--tn-fundo); color: var(--tn-marca) !important; }
html body .tn-gaveta-fundo { position: fixed; inset: 0; background: rgba(10,14,22,.45); z-index: 1040; opacity: 0; visibility: hidden; transition: .2s; }
html body .tn-gaveta { position: fixed; top: 0; bottom: 0; left: 0; width: min(330px, 86vw); background: #fff; z-index: 1041; transform: translateX(-100%); transition: transform .25s; overflow-y: auto; padding: 1rem; }
html body .tn-gaveta.aberta { transform: none; }
html body .tn-gaveta-fundo.aberta { opacity: 1; visibility: visible; }
html body .tn-gaveta-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: 1.1rem; }
html body .tn-gaveta-conta { display: flex; gap: .6rem; align-items: center; padding: .9rem 1rem; border-radius: 14px; background: var(--tn-marca); color: var(--tn-sobre-marca) !important; font-weight: 700; }
html body .tn-gaveta-titulo { margin: 1.25rem 0 .4rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tn-suave); }
html body .tn-gaveta-link { display: block; padding: .7rem .5rem; border-bottom: 1px solid var(--tn-borda); font-weight: 600; }
html body .tn-cat-foto { width: 112px; height: 112px; border-radius: 999px; overflow: hidden; display: block; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--tn-borda), var(--tn-sombra); transition: box-shadow .2s, transform .2s; background: linear-gradient(150deg, color-mix(in srgb, var(--tn-marca) 62%, white), var(--tn-marca)); }
html body .tn-cat-foto--v2 { background: linear-gradient(150deg, var(--tn-marca), color-mix(in srgb, var(--tn-marca) 45%, var(--tn-destaque))); }
html body .tn-faixa-acoes a { font-weight: 700; font-size: .9rem; color: var(--tn-marca) !important; margin-right: .4rem; }
html body .tn-seta:hover { background: var(--tn-marca); border-color: var(--tn-marca); color: var(--tn-sobre-marca); }
html body .tn-card-nome:hover { color: var(--tn-marca) !important; }
html body .tn-card-btn { flex-shrink: 0; height: 42px; min-width: 42px; padding: 0 .85rem; border: 0; border-radius: 12px; background: var(--tn-marca); color: var(--tn-sobre-marca); font-weight: 700; font-size: .82rem; display: inline-flex; align-items: center; gap: .45rem; transition: background .15s, transform .15s; }
html body .tn-card-login { font-size: .8rem; font-weight: 700; color: var(--tn-marca) !important; }
html body .tn-beneficios i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; background: color-mix(in srgb, var(--tn-marca) 10%, white); color: var(--tn-marca); }
@media (max-width: 1199px) {
	html body .tn-acao span:not(.tn-carrinho-icone) { display: none; }
}
@media (max-width: 991px) {
	html body .tn-so-cel { display: grid; }
	html body .tn-so-pc { display: none !important; }
	html body .tn-topo-linha { flex-wrap: wrap; gap: .6rem; min-height: 0; padding-top: .7rem; padding-bottom: .7rem; }
	html body .tn-marca { flex: 1; }
	html body .tn-marca img { height: 42px; }
	html body .tn-busca { order: 5; flex-basis: 100%; height: 48px; }
	html body .tn-busca button { padding: 0 1rem; }
	html body .tn-nav { display: none; }
	html body .tn-aviso-dir a:not(:last-child) { display: none; }
}
@media (max-width: 575px) {
	html body .tn-aviso .tn-wrap > span:first-child { display: none; }
	html body .tn-aviso .tn-wrap { justify-content: center; }
	html body .tn-marca span { font-size: .92rem; }
}
html body main, html body #sobre { padding-top: 1.25rem !important; }
html body .tn-marca--rodape { flex-direction: column; justify-content: center; gap: .6rem; }
html body .tn-marca--rodape span { max-width: none; }
html body .tn-gaveta-link, html body .tn-gaveta a:not(.tn-gaveta-conta), html body .tn-topo a { color: var(--vb-texto); text-decoration: none; }

/* ---------- catálogo e cartões de produto antigos (catalogo.php, filtro_catalogo.php, "outros produtos"), igual ao homol ---------- */
html body:has(#catalogo_produtos1) { background: var(--vb-fundo); }
html body .card-box, html body #menu_lateral_catalogo { font-family: var(--vb-fonte); }
html body .card-box {
	width: 100% !important; max-width: 260px; border-radius: 18px !important; overflow: hidden; background: #fff;
	border: 1px solid var(--tn-borda) !important; box-shadow: var(--tn-sombra) !important; transition: transform .2s, box-shadow .2s;
}
html body .card-box:hover { transform: translateY(-4px); box-shadow: var(--tn-sombra-alta) !important; }
html body .card-box .card-img { background: var(--tn-fundo); padding: 1rem; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
html body .card-box .card-img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s; }
html body .card-box:hover .card-img img { transform: scale(1.05); }
html body .card-box .card-body { padding: .9rem 1rem .4rem !important; }
html body .card-box .card-title { font-size: .68rem !important; letter-spacing: .08em; color: var(--tn-destaque) !important; font-weight: 800 !important; text-transform: uppercase; }
html body .card-box .card-body p.text-start, html body .card-box .card-body p.text-start strong, html body .card-box .card-body p.text-start a {
	font-size: .88rem !important; font-weight: 700 !important; color: var(--tn-texto) !important; line-height: 1.35; text-transform: none;
}
html body .card-box .card-footer { background: #fff !important; border-top: 0 !important; padding: 0 1rem 1rem !important; }
html body .card-box .card-footer strong { font-size: 1.25rem !important; font-weight: 800 !important; color: var(--tn-texto); }
html body .card-box s { color: var(--tn-suave); font-size: .8rem; }

/* estrelas e estoque */
html body .estrelas { color: #f5b301; font-size: .75rem; }
html body .estoque-badge { border-radius: 999px; font-weight: 700; font-size: .68rem; padding: .2rem .55rem; }

/* quantidade + botão do carrinho (fExibeCarrinho) */
html body .cart-add-wrap { display: inline-flex; align-items: center; gap: 4px; background: var(--tn-fundo); padding: 4px; border-radius: 999px; margin-top: .35rem; }
html body .qty-btn { width: 30px; height: 30px; border-radius: 999px !important; border: 0 !important; background: #fff !important; font-weight: 800; color: var(--tn-texto); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
html body .qty-btn:hover { background: var(--tn-marca) !important; color: var(--tn-sobre-marca) !important; }
html body .qty-input { width: 34px !important; height: 30px; border: 0 !important; background: transparent !important; font-weight: 700; text-align: center; }
html body .btn-cart-add {
	width: 38px !important; height: 38px !important; border-radius: 999px !important; border: 0 !important;
	background: var(--tn-destaque) !important; color: #fff !important; box-shadow: 0 8px 16px -8px var(--tn-destaque) !important;
	transition: transform .15s;
}
html body .btn-cart-add i { color: #fff !important; }
html body .btn-cart-add:hover { transform: scale(1.08); }
html body .btn-cart-add:disabled, html body .cart-add-wrap--disabled .btn-cart-add { background: var(--tn-borda) !important; box-shadow: none !important; }

/* paginação */
html body .pag-lanc-btn, html body .pagination .page-link {
	border-radius: 999px !important; border: 1px solid var(--tn-borda) !important; background: #fff; color: var(--tn-texto) !important; font-weight: 700; min-width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
}
/* ============================== CATÁLOGO ============================== */
html body #menu_lateral_catalogo .categorias, html body .list-group-flush { border-radius: 18px; }
html body #menu_lateral_catalogo .form-check-input { accent-color: var(--tn-marca); }
html body #menu_lateral_catalogo .form-check-label { font-weight: 600 !important; text-transform: none !important; color: var(--tn-texto); }
html body .filtro-breadcrumb { border-radius: 999px; }
html body .ordernar { border-radius: 999px !important; }
html body .badge-qtd-selecionados { background: var(--tn-destaque) !important; }
/* ============================== CATÁLOGO: FILTROS ============================== */
html body .tn-oculto, html body .tn-recolhido { display: none !important; }
html body .tn-ver-mais { border: 0; background: none; color: var(--tn-marca); font-weight: 700; font-size: .8rem; padding: .3rem 0 .6rem 1.6rem; cursor: pointer; }
html body .tn-ver-mais:hover { text-decoration: underline; }
/* ============================== CATÁLOGO (títulos dos filtros) ============================== */
html body #menu_lateral_catalogo [style*="Oswald"] { font-family: var(--tn-fonte) !important; font-weight: 800 !important; letter-spacing: .04em; font-size: .78rem; }
html body #menu_lateral_catalogo { background: #fff; border-radius: 20px; border: 1px solid var(--tn-borda); padding: 1rem .9rem; box-shadow: var(--tn-sombra); }
/* catálogo: cartão cresce com o nome (o CSS antigo fixava 495px e cortava nomes de 2 linhas) */
html body #catalogo_produtos1 .card { height: auto !important; min-height: 0; }
html body #catalogo_produtos1 .card-box .card-body { overflow: visible; min-height: 92px; }
html body #catalogo_produtos1 .card-img img { height: 230px; }
html body .pagination { flex-wrap: wrap; gap: 6px; justify-content: center; }
html body .pagination .page-item { margin: 0 !important; }
html body .pagination.pg-blue .page-item.active .page-link, html body .pagination .page-item.active .page-link { background: var(--vb-marca) !important; border-color: var(--vb-marca) !important; color: var(--vb-sobre-marca) !important; }
