.adamo-cookie-consent,
.adamo-cookie-modal,
.adamo-cookie-settings-button {
	box-sizing: border-box;
	color: #000;
	font-family: inherit;
	letter-spacing: 0;
}

.adamo-cookie-consent[hidden],
.adamo-cookie-modal[hidden],
.adamo-cookie-settings-button[hidden] {
	display: none !important;
}

.adamo-cookie-consent *,
.adamo-cookie-modal *,
.adamo-cookie-settings-button {
	box-sizing: border-box;
	letter-spacing: 0;
}

.adamo-cookie-consent {
	position: fixed;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 99990;
	display: block;
}

.adamo-cookie-consent__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	width: min(1120px, 100%);
	margin: 0 auto;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #000;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}

.adamo-cookie-consent__title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.adamo-cookie-consent__text,
.adamo-cookie-modal__intro,
.adamo-cookie-modal__operator,
.adamo-cookie-modal__legal {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
}

.adamo-cookie-consent__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.35;
}

.adamo-cookie-consent a,
.adamo-cookie-modal a {
	color: #000;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.adamo-cookie-consent__actions,
.adamo-cookie-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.adamo-cookie-consent__actions {
	min-width: 360px;
}

.adamo-cookie-consent__button,
.adamo-cookie-settings-button,
.adamo-cookie-modal__close {
	appearance: none;
	border: 1px solid #000;
	border-radius: 0;
	background: #fff;
	color: #000;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	transition: none;
}

.adamo-cookie-consent__button {
	min-height: 38px;
	padding: 8px 12px;
}

.adamo-cookie-consent__button--primary {
	background: #000;
	color: #fff;
}

.adamo-cookie-consent__button:hover,
.adamo-cookie-consent__button:focus,
.adamo-cookie-settings-button:hover,
.adamo-cookie-settings-button:focus,
.adamo-cookie-modal__close:hover,
.adamo-cookie-modal__close:focus {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.adamo-cookie-modal {
	position: fixed;
	inset: 0;
	z-index: 99991;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}

.adamo-cookie-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .42);
}

.adamo-cookie-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: min(600px, 100%);
	max-height: min(86vh, 680px);
	overflow: auto;
	padding: 18px;
	background: #fff;
	border: 1px solid #000;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
}

.adamo-cookie-modal__header {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	justify-content: space-between;
}

.adamo-cookie-modal__header h2 {
	margin: 0;
	color: #000;
	font-size: 20px;
	line-height: 1.25;
}

.adamo-cookie-modal__eyebrow {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

.adamo-cookie-modal__close {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	padding: 0;
	font-size: 22px;
	line-height: 28px;
}

.adamo-cookie-modal__operator {
	padding: 8px 10px;
	border: 1px solid #d9d9d9;
	background: #fafafa;
	font-size: 12px;
}

.adamo-cookie-modal__categories {
	display: grid;
	gap: 8px;
}

.adamo-cookie-category {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #d9d9d9;
	cursor: pointer;
}

.adamo-cookie-category--required {
	cursor: default;
	background: #fafafa;
}

.adamo-cookie-category__main {
	display: grid;
	gap: 2px;
}

.adamo-cookie-category__name {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.adamo-cookie-category__description {
	font-size: 12px;
	line-height: 1.45;
}

.adamo-cookie-category input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #000;
}

.adamo-cookie-settings-button {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 99989;
	min-height: 32px;
	padding: 7px 10px;
	font-size: 12px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}

body.adamo-cookie-modal-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	.adamo-cookie-consent {
		right: 10px;
		bottom: 10px;
		left: 10px;
	}

	.adamo-cookie-consent__panel {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 12px;
	}

	.adamo-cookie-consent__actions {
		min-width: 0;
		width: 100%;
		justify-content: stretch;
	}

	.adamo-cookie-consent__button {
		width: 100%;
	}

	.adamo-cookie-modal {
		align-items: center;
		padding: 12px;
	}

	.adamo-cookie-modal__dialog {
		width: calc(100vw - 24px);
		max-height: calc(100vh - 24px);
		padding: 14px;
	}

	.adamo-cookie-modal__header h2 {
		font-size: 18px;
	}

	.adamo-cookie-category {
		grid-template-columns: minmax(0, 1fr) 22px;
		padding: 9px 10px;
	}

	.adamo-cookie-category__description {
		font-size: 12px;
	}

	.adamo-cookie-modal__actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.adamo-cookie-settings-button {
		left: 10px;
		bottom: 10px;
		max-width: calc(100vw - 20px);
	}
}
