/* MASTORE cookie consent banner — black/white, animated. */

.mcc {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 9990;
	display: flex;
	justify-content: center;
	pointer-events: none;
}

.mcc[hidden] {
	display: none !important;
}

.mcc__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: 560px;
	padding: 18px 44px 18px 18px;
	border-radius: 18px;
	background: #000;
	color: #fff;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
	pointer-events: auto;
	transform: translateY(24px) scale(.98);
	opacity: 0;
	transition: transform .55s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
}

.mcc.is-visible .mcc__inner {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.mcc__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: #fff;
	color: #000;
}

.mcc__icon svg {
	position: relative;
	z-index: 1;
}

.mcc__icon::before {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .35);
	opacity: 0;
	transform: scale(.85);
}

.mcc.is-visible .mcc__icon::before {
	animation: mcc-ring 2.6s cubic-bezier(.16, 1, .3, 1) .5s infinite;
}

@keyframes mcc-ring {
	0% { opacity: .6; transform: scale(.85); }
	70% { opacity: 0; transform: scale(1.35); }
	100% { opacity: 0; transform: scale(1.35); }
}

.mcc__text {
	flex: 1 1 auto;
	min-width: 0;
}

.mcc__text p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #e4e4e7;
}

.mcc__text a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.mcc__actions {
	flex: 0 0 auto;
}

.mcc__accept {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #000;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	transition: background .18s ease, transform .12s ease;
}

.mcc__accept:hover {
	background: #e4e4e7;
}

.mcc__accept:active {
	transform: scale(.96);
}

.mcc__close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1px solid #3f3f46;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease;
}

.mcc__close:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, .08);
}

.mcc__close svg {
	pointer-events: none;
}

@media (max-width: 640px) {
	.mcc {
		left: 10px;
		right: 10px;
		bottom: calc(74px + env(safe-area-inset-bottom));
	}

	.mcc__inner {
		max-width: none;
		padding: 16px 16px 16px 16px;
		border-radius: 16px;
		align-items: flex-start;
		flex-wrap: wrap;
		row-gap: 14px;
	}

	.mcc__icon {
		width: 34px;
		height: 34px;
	}

	.mcc__text {
		flex: 1 1 auto;
	}

	.mcc__actions {
		width: 100%;
		flex-basis: 100%;
		margin: 0;
	}

	.mcc__accept {
		width: 100%;
	}

	.mcc__close {
		top: 14px;
		right: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mcc__inner {
		transition: opacity .3s ease;
		transform: none !important;
	}

	.mcc.is-visible .mcc__icon::before {
		animation: none;
	}
}
