/*
 * Cookie consent banner — fixed bottom, charcoal, architectural.
 */

.mcci-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	background: var( --wp--preset--color--charcoal, #1e1d1b );
	color: var( --wp--preset--color--light, #f9f8f6 );
	border-top: 1px solid rgba( 255, 255, 255, 0.15 );
	transform: translateY( 100% );
	transition: transform var( --wp--custom--motion--standard, 500ms ease-in-out );
}

.mcci-consent.is-visible {
	transform: translateY( 0 );
}

.mcci-consent__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var( --wp--preset--spacing--30, 24px );
	max-width: 1440px;
	margin: 0 auto;
	padding: var( --wp--preset--spacing--30, 24px ) clamp( 1.25rem, 4vw, 3rem );
}

.mcci-consent__text {
	margin: 0;
	max-width: 62ch;
	font-size: var( --wp--preset--font-size--small, 0.875rem );
	line-height: 1.6;
}

.mcci-consent__text a {
	color: var( --wp--preset--color--sage-light, #a8a488 );
	text-decoration: underline;
}

.mcci-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.mcci-consent__btn {
	appearance: none;
	cursor: pointer;
	padding: 12px 24px;
	font-family: inherit;
	font-size: var( --wp--preset--font-size--label, 0.75rem );
	text-transform: uppercase;
	letter-spacing: var( --wp--custom--tracking--label, 0.2em );
	text-decoration: none;
	border: 1px solid var( --wp--preset--color--light, #f9f8f6 );
	background: transparent;
	color: var( --wp--preset--color--light, #f9f8f6 );
	transition: background var( --wp--custom--motion--standard, 500ms ease-in-out ), color var( --wp--custom--motion--standard, 500ms ease-in-out );
	line-height: 1;
}

.mcci-consent__btn.is-solid {
	background: var( --wp--preset--color--light, #f9f8f6 );
	color: var( --wp--preset--color--charcoal, #1e1d1b );
}

.mcci-consent__btn:hover {
	background: var( --wp--preset--color--sage-light, #a8a488 );
	border-color: var( --wp--preset--color--sage-light, #a8a488 );
	color: var( --wp--preset--color--charcoal, #1e1d1b );
}

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

@media ( max-width: 700px ) {
	.mcci-consent__actions {
		width: 100%;
	}
	.mcci-consent__btn {
		flex: 1;
		text-align: center;
	}
}
