/**
 * Aviso de cookies: ilha de vidro claro, pequena, no canto (mesma família do header).
 * Mock aprovado (09/10/2026): mockup/assets/js/cookies.js na home do mock.
 * Vars do tema com fallback hardcoded: o consentimento não pode depender do tema.
 */
.baly-consent {
	position: fixed;
	z-index: 99990;
	left: 16px;
	bottom: 16px;
	width: min(372px, calc(100vw - 24px));
	padding: 14px 14px 14px 16px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .72);
	-webkit-backdrop-filter: blur(18px) saturate(170%);
	backdrop-filter: blur(18px) saturate(170%);
	border: 1px solid rgba(0, 0, 0, .06);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .6);
	font-family: var(--fonte, 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif);
	color: var(--baly-preto, #0A0A0A);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .3s ease, transform .4s cubic-bezier(.2, .7, .2, 1), bottom .4s cubic-bezier(.2, .7, .2, 1);
}
.baly-consent[hidden] { display: none; }
.baly-consent.is-visivel { opacity: 1; transform: none; }

.baly-consent__txt {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	color: #2b2b2b;
}
.baly-consent__txt a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}
.baly-consent__txt a:hover { text-decoration-thickness: 2px; }

/* Recusar e Aceitar do MESMO tamanho: a ANPD exige que recusar seja tão fácil quanto
   aceitar. O preto cheio só marca a ação positiva; o amarelo fica para o botão de compra. */
.baly-consent__acoes {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 12px;
}
.baly-consent__btn {
	appearance: none;
	cursor: pointer;
	min-width: 96px;
	height: 36px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1.5px solid var(--baly-preto, #0A0A0A);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .01em;
	transition: background .16s ease, color .16s ease;
}
.baly-consent__btn--rec { background: transparent; color: var(--baly-preto, #0A0A0A); }
.baly-consent__btn--rec:hover { background: rgba(0, 0, 0, .06); }
.baly-consent__btn--ok { background: var(--baly-preto, #0A0A0A); color: #fff; }
.baly-consent__btn--ok:hover { background: #2b2b2b; }
.baly-consent__btn:focus-visible { outline: 2px solid var(--baly-preto, #0A0A0A); outline-offset: 3px; }

/* Celular: largura entre os gutters, botões dividindo a linha. */
@media (max-width: 559px) {
	.baly-consent {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
		padding: 12px 12px 12px 14px;
		border-radius: 18px;
	}
	.baly-consent__acoes { margin-top: 10px; }
	.baly-consent__btn { flex: 1; min-width: 0; }
}

/* Sobe acima das barras fixas de compra do celular (hotsites Kids e FuelTech: pílula de
   ~64px a 12px do chão) e da barra de pagamento do checkout. */
@media (max-width: 991px) {
	body:has(.kz-barra.is-visivel) .baly-consent,
	body:has(.barra-compra.is-visivel) .baly-consent { bottom: 88px; }
}
@media (max-width: 919px) {
	body:has(.co-barra:not(.co-barra--oculta)) .baly-consent { bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
	.baly-consent { transition: opacity .01s; transform: none; }
}
