.cookie-consent {
	--bg: #fff;
	--accent: #0db17a;
	--text: #222;
	position: fixed;
	inset: auto 16px 16px 16px;
	max-width: 920px;
	width: calc(100% - 32px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
	border-radius: 12px;
	padding: 18px;
	display: none;
	z-index: 9999;
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
	background: var(--bg);
	color: var(--text);
}

.cookie-consent[data-open='true'] {
	display: block;
}

.cookie-consent__grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: start;
}

.cookie-consent__left {
	padding-right: 8px;
}

.cookie-consent__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
}

.cookie-consent__text {
	margin: 0 0 10px;
	color: #555;
	font-size: 14px;
	line-height: 1.4;
}

.cookie-consent__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
}

.btn {
	padding: 10px 14px;
	border-radius: 10px;
	border: 0;
	font-weight: 600;
	cursor: pointer;
	background: #f2f2f2;
}

.btn--primary {
	background: var(--accent);
	color: #fff;
}

.btn--ghost {
	background: transparent;
	border: 1px solid #ddd;
}

.cookie-consent__manage {
	margin-top: 12px;
	border-top: 1px dashed #e6e6e6;
	padding-top: 12px;
	display: none;
}

.cookie-consent__manage[data-open='true'] {
	display: block;
}

.cookie-consent__category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #f5f5f5;
}

.cookie-consent__category strong {
	font-size: 14px;
}

.cookie-consent__category small {
	display: block;
	color: #666;
	font-size: 13px;
}

.switch {
	width: 48px;
	height: 28px;
	background: #ddd;
	border-radius: 999px;
	position: relative;
	cursor: pointer;
}

.switch__dot {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	transition: all 0.18s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.switch[data-on='true'] {
	background: var(--accent);
}

.switch[data-on='true'] .switch__dot {
	transform: translateX(20px);
}

.cookie-consent__manage-actions {
	margin-top: 10px;
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.cookie-consent__learn-more {
	max-width: 260px;
	font-size: 13px;
	color: #666;
	margin: 0 0 6px;
}

.cookie-consent__learn-more-link {
	color: var(--accent);
	font-weight: 600;
}

.cookie-consent__privacy-note {
	font-size: 12px;
	color: #999;
	margin: 0;
}

@media (max-width: 720px) {
	.cookie-consent {
		padding: 14px;
		border-radius: 10px;
	}

	.cookie-consent__grid {
		grid-template-columns: 1fr;
	}

	.cookie-consent__actions {
		justify-content: flex-start;
	}
}
