/* Kelira Affiliate Engine — cookie consent banner. */
.ae-consent {
	position: fixed; inset: auto 0 0 0; z-index: 9999;
	display: flex; justify-content: center;
	padding: 1rem; pointer-events: none;
}
.ae-consent[hidden] { display: none; }
.ae-consent__box {
	pointer-events: auto;
	max-width: 720px; width: 100%;
	background: #fff; color: #1c1a18;
	border: 1px solid var(--wp--preset--color--border, #e0ebe8);
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(16,24,40,.22);
	padding: 1.4rem 1.5rem;
	font-size: .95rem; line-height: 1.55;
	animation: ae-consent-in .25s ease;
}
@keyframes ae-consent-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.ae-consent__title { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 800; }
.ae-consent__text { margin: 0 0 1rem; color: #41504e; }
.ae-consent__text a { color: var(--wp--preset--color--accent, #0d9488); font-weight: 600; }

.ae-consent__cats { display: grid; gap: .6rem; margin: 0 0 1rem; }
.ae-consent__cat { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; }
.ae-consent__cat input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--wp--preset--color--accent, #0d9488); }

.ae-consent__actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.ae-consent__btn {
	box-sizing: border-box; cursor: pointer; border-radius: 10px;
	font-weight: 700; font-size: .92rem; padding: .65em 1.2em; border: 1px solid transparent;
	transition: filter .15s ease, background .15s ease;
}
.ae-consent__btn--primary { background: var(--wp--preset--color--accent, #0d9488); color: #fff; }
.ae-consent__btn--primary:hover { filter: brightness(1.08); }
.ae-consent__btn--save { background: var(--wp--preset--color--accent, #0d9488); color: #fff; }
.ae-consent__btn--ghost { background: #fff; color: #1c1a18; border-color: var(--wp--preset--color--border, #e0ebe8); }
.ae-consent__btn--ghost:hover { background: #f3f7f6; }

@media (max-width: 560px) {
	.ae-consent { padding: .5rem; }
	.ae-consent__actions { justify-content: stretch; }
	.ae-consent__btn { flex: 1 1 auto; }
}
