.ploko-consent {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 99999;
	padding: 12px 16px 16px;
	pointer-events: none;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.ploko-consent.is-visible {
	pointer-events: auto;
	opacity: 1;
	transform: translateY(0);
}

.ploko-consent[hidden] {
	display: none !important;
}

.ploko-consent__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 16px 18px;
	border-radius: 14px;
	background: #fff;
	color: #290b50;
	box-shadow: 0 16px 48px rgba(41, 11, 80, 0.18);
	border: 1px solid rgba(41, 11, 80, 0.08);
	display: flex;
	flex-wrap: wrap;
	gap: 14px 20px;
	align-items: center;
	justify-content: space-between;
}

.ploko-consent__text {
	margin: 0;
	flex: 1 1 280px;
	font-size: 0.9rem;
	line-height: 1.55;
}

.ploko-consent__link {
	color: #9c275f;
	font-weight: 600;
	text-decoration: underline;
}

.ploko-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ploko-consent__btn {
	border: 0;
	border-radius: 10px;
	padding: 10px 16px;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
}

.ploko-consent__btn--ghost {
	background: #f3ecff;
	color: #290b50;
	border: 1px solid rgba(41, 11, 80, 0.14);
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		box-shadow 0.2s ease;
}

.ploko-consent .ploko-consent__btn--ghost:hover,
.ploko-consent .ploko-consent__btn--ghost:focus-visible {
	background: #e8dcf5 !important;
	color: #290b50 !important;
	border-color: rgba(41, 11, 80, 0.28) !important;
	box-shadow: none !important;
	transform: none !important;
	filter: none !important;
}

.ploko-consent .ploko-consent__btn--ghost:active {
	background: #ddd0ef !important;
	color: #290b50 !important;
}

.ploko-consent__btn--primary {
	background: linear-gradient(135deg, #290b50 0%, #5a2480 100%);
	color: #fff;
	transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.ploko-consent .ploko-consent__btn--primary:hover,
.ploko-consent .ploko-consent__btn--primary:focus-visible {
	filter: brightness(1.06);
	color: #fff !important;
	box-shadow: 0 6px 20px rgba(41, 11, 80, 0.25);
	transform: none !important;
}

.ploko-consent__link:hover {
	color: #290b50;
}

@media (max-width: 640px) {
	.ploko-consent__actions {
		width: 100%;
	}

	.ploko-consent__btn {
		flex: 1 1 auto;
	}
}
