/*
	Cookie consent banner
*/

	.cookie-consent {
		left: 24px;
		bottom: 24px;
		z-index: 9010;
		position: fixed;
		box-sizing: border-box;
		width: 300px;
		max-height: calc(100vh - 48px);
		overflow: auto;
		padding: 24px 20px 14px;
		color: #616161;
		font-family: 'Poppins', sans-serif;
		background: #fff;
		border-radius: 16px;
		box-shadow: 0 8px 32px rgba(76, 72, 115, 0.22);
		animation: cookie-consent-in ease 0.3s;
	}

		.cookie-consent[hidden],
		.cookie-consent-reopen[hidden] {
			display: none;
		}

	.cookie-consent-close {
		top: 12px;
		right: 12px;
		position: absolute;
		display: flex;
		width: 28px;
		height: 28px;
		align-items: center;
		justify-content: center;
		color: #333;
		border: 0;
		border-radius: 50%;
		background: transparent;
		cursor: pointer;
	}

		.cookie-consent-close:hover {
			background: #f2f1f7;
		}

	.cookie-consent-title {
		margin: 0 28px 12px 0;
		color: #333;
		font-size: 16px;
		font-weight: 600;
		line-height: 1.35;
	}

	.cookie-consent-text {
		margin-bottom: 16px;
		font-size: 12px;
		line-height: 1.6;
	}

		.cookie-consent-text a {
			color: var(--walton-light-purple);
			text-decoration: underline;
		}

	.cookie-consent-actions {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	/* Accept and reject stay the same size, so neither choice is nudged. */
	.cookie-consent-button {
		display: block;
		width: 100%;
		height: 38px;
		padding: 0 16px;
		color: var(--walton-purple);
		font-family: inherit;
		font-size: 12px;
		font-weight: 600;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		border: 1px solid var(--walton-purple);
		border-radius: 19px;
		background: #fff;
		cursor: pointer;
		transition: background ease 0.2s, color ease 0.2s;
	}

		.cookie-consent-button:hover {
			background: #f2f1f7;
		}

	.cookie-consent-button-accept {
		color: #fff;
		background: var(--walton-purple);
	}

		.cookie-consent-button-accept:hover {
			background: #3b3860;
		}

	.cookie-consent-reopen {
		left: 16px;
		bottom: 16px;
		z-index: 9010;
		position: fixed;
		display: flex;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		color: var(--walton-purple);
		border: 0;
		border-radius: 50%;
		background: #fff;
		box-shadow: 0 4px 16px rgba(76, 72, 115, 0.22);
		cursor: pointer;
	}

	/* The theme removes outlines globally; keyboard users still need to see focus. */
	.cookie-consent button:focus-visible,
	.cookie-consent a:focus-visible,
	.cookie-consent-reopen:focus-visible {
		outline: 2px solid var(--walton-light-purple);
		outline-offset: 2px;
	}

	@keyframes cookie-consent-in {
		from {
			opacity: 0;
			transform: translateY(16px);
		}
	}

	@media (prefers-reduced-motion: reduce) {
		.cookie-consent {
			animation: none;
		}
	}

@media (max-width: 767px)
{
	.cookie-consent {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
		max-height: calc(100vh - 24px);
	}
}
