button.ml-btn {
	line-height: normal;
}

.mk-cookie {
	position: fixed;
	bottom: 32px;
	left: 32px;
	z-index: 100;
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-sizing: border-box;
	width: min(560px, calc(100% - 40px));
	padding: 26px;
	border: 1px solid #fff;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 24px 64px rgba(28, 35, 64, 0.08);
	-webkit-backdrop-filter: blur(20px) saturate(160%);
	backdrop-filter: blur(20px) saturate(160%);
}

.mk-cookie[hidden],
.mk-cookie-choices[hidden],
.mk-cookie-done[hidden] {
	display: none;
}

.mk-cookie__head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.mk-cookie__badge {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	background: #fff;
	box-shadow: inset 0 1px 0 #fff, 0 24px 60px rgba(28, 35, 64, 0.04);
	color: var(--wp--preset--color--accent);
}

.mk-cookie__title,
.mk-cookie-choices__title {
	margin: 0;
	color: var(--wp--preset--color--heading);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.3px;
	line-height: 1.6;
}

.mk-cookie__text {
	margin: 0;
	color: var(--wp--preset--color--body-strong);
	font-size: 15px;
	line-height: 1.65;
}

.mk-cookie__text a {
	color: var(--wp--preset--color--accent);
}

.mk-cookie__buttons,
.mk-cookie-choices__buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.mk-cookie__manage {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 8px;
	border: none;
	background: none;
	color: var(--wp--preset--color--accent);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

.mk-cookie-choices {
	position: fixed;
	inset: 0;
	z-index: 110;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(15, 18, 53, 0.3);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.mk-cookie-choices__dialog {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: min(600px, 100%);
	max-height: 100%;
	padding: 28px;
	overflow-y: auto;
	border-radius: 30px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(28, 35, 64, 0.08);
}

.mk-cookie-choices__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-bottom: 18px;
}

.mk-cookie-choices__intro {
	display: flex;
	align-items: center;
	gap: 14px;
}

.mk-cookie-choices__titles {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mk-cookie-choices__subtitle {
	margin: 0;
	color: var(--wp--preset--color--body);
	font-size: 14px;
}

.mk-cookie-choices__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 1px 6px;
	border: none;
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--primary);
	font-family: inherit;
	cursor: pointer;
}

.mk-cookie-choices__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 0;
	border-top: 1px solid var(--wp--preset--color--divider);
}

.mk-cookie-choices__label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: start;
}

.mk-cookie-choices__name {
	color: var(--wp--preset--color--heading);
	font-size: 15.5px;
	font-weight: 600;
}

.mk-cookie-choices__text {
	color: var(--wp--preset--color--body);
	font-size: 14px;
	line-height: 1.6;
}

.mk-cookie-choices__always {
	flex: none;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--tint);
	color: var(--wp--preset--color--accent);
	font-size: 13px;
	font-weight: 500;
}

.mk-cookie-choices__switch {
	display: flex;
	flex: none;
	justify-content: flex-start;
	width: 50px;
	height: 30px;
	padding: 4px;
	border: none;
	border-radius: 999px;
	background: var(--wp--preset--color--border-strong);
	cursor: pointer;
	transition: background 0.2s;
}

.mk-cookie-choices__switch[aria-checked="true"] {
	justify-content: flex-end;
	background: var(--mk-navy);
}

.mk-cookie-choices__switch span {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(17, 17, 66, 0.18);
}

.mk-cookie-choices__buttons {
	padding-top: 18px;
	border-top: 1px solid var(--wp--preset--color--divider);
}

.mk-cookie-done {
	position: fixed;
	bottom: 32px;
	left: 32px;
	z-index: 100;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 8px 8px 16px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(28, 35, 64, 0.08);
}

.mk-cookie-done__message {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--wp--preset--color--heading);
	font-size: 14.5px;
}

.mk-cookie-done__message .mk-icon {
	color: var(--wp--preset--color--accent);
}

.mk-cookie-done__again {
	padding: 8px 14px;
	border: none;
	border-radius: 999px;
	background: var(--wp--preset--color--tint);
	color: var(--wp--preset--color--accent);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
}

.mk-cookie-done__close {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-left: -8px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--body);
	cursor: pointer;
}

@media (max-width: 620px) {

	.mk-cookie__text,
	.mk-cookie-choices__subtitle,
	.mk-cookie-choices__text,
	.mk-cookie-done__message {
		font-size: 13px;
		line-height: 1.6;
	}
}
