.tutek-consent[hidden],
.tutek-consent-modal[hidden],
.tutek-consent-category[hidden] {
	display: none !important;
}

.tutek-consent {
	position: fixed;
	z-index: 100000;
	right: 1.25rem;
	bottom: 1.25rem;
	left: 1.25rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2rem;
	align-items: end;
	max-width: 1180px;
	margin-inline: auto;
	padding: clamp(1.25rem, 2.5vw, 2rem);
	border: 1px solid #fff;
	background: #090909;
	color: #fff;
	box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 30%);
}

.tutek-consent h2,
.tutek-consent p {
	margin: 0;
	color: inherit;
}

.tutek-consent h2 {
	margin-bottom: 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	line-height: 1;
}

.tutek-consent p {
	max-width: 740px;
}

.tutek-consent a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.tutek-consent__eyebrow {
	margin-bottom: 0.8rem !important;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.tutek-consent__actions {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	gap: 0.6rem;
	justify-content: end;
}

.tutek-consent__button {
	min-height: 3rem;
	padding: 0.8rem 1.1rem;
	border: 1px solid currentColor;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

.tutek-consent__button:hover,
.tutek-consent__button:focus-visible {
	background: #fff;
	color: #090909;
}

.tutek-consent__button--primary {
	border-color: #0021c5;
	background: #0021c5;
	color: #fff;
}

.tutek-consent__button--secondary {
	border-color: #fff;
	background: #fff;
	color: #090909;
}

.tutek-consent__button--secondary:hover,
.tutek-consent__button--secondary:focus-visible {
	border-color: #0021c5;
	background: #0021c5;
	color: #fff;
}

.tutek-consent__button--text {
	grid-column: 1 / -1;
	justify-self: end;
	min-height: auto;
	padding: 0.35rem 0;
	border: 0;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.tutek-consent-modal {
	position: fixed;
	z-index: 100001;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1rem;
}

.tutek-consent-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(9 9 9 / 75%);
}

.tutek-consent-modal__dialog {
	position: relative;
	width: min(680px, 100%);
	max-height: calc(100vh - 2rem);
	overflow: auto;
	border: 1px solid #090909;
	background: #f4f1e9;
	color: #090909;
	box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 35%);
}

.tutek-consent-modal__header,
.tutek-consent-modal__footer {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem;
}

.tutek-consent-modal__header {
	border-bottom: 1px solid #090909;
}

.tutek-consent-modal__header h2 {
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 2.3rem);
}

.tutek-consent-modal__close {
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid #090909;
	border-radius: 0;
	background: transparent;
	color: #090909;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}

.tutek-consent-category {
	display: flex;
	gap: 1.5rem;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 1.25rem;
	border-bottom: 1px solid rgb(9 9 9 / 25%);
}

.tutek-consent-category h3,
.tutek-consent-category p,
.tutek-consent-category strong,
.tutek-consent-category small {
	display: block;
	margin: 0;
	color: inherit;
}

.tutek-consent-category p,
.tutek-consent-category small {
	margin-top: 0.3rem;
	font-size: 0.9rem;
	line-height: 1.45;
}

.tutek-consent-category input {
	flex: 0 0 auto;
	width: 1.5rem;
	height: 1.5rem;
	accent-color: #0021c5;
}

.tutek-consent-category__required {
	flex: 0 0 auto;
	padding: 0.4rem 0.55rem;
	background: #090909;
	color: #fff;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.7rem;
	font-weight: 700;
}

.tutek-consent-modal__footer a {
	color: #090909;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.tutek-consent-modal__footer .tutek-consent__button {
	color: #fff;
}

.tutek-consent-open {
	overflow: hidden;
}

.tutek-privacy-settings {
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	text-decoration: underline;
	text-underline-offset: 0.22em;
	cursor: pointer;
}

.tutek-privacy-settings:hover,
.tutek-privacy-settings:focus-visible {
	color: #fff;
	text-decoration-thickness: 2px;
}

.tutek-privacy-policy {
	max-width: 880px;
	padding-block: clamp(2rem, 5vw, 5rem);
}

.tutek-privacy-policy h2 {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	font-size: clamp(1.55rem, 3vw, 2.3rem);
	line-height: 1.05;
}

.tutek-privacy-policy p,
.tutek-privacy-policy li {
	font-size: clamp(1rem, 1.5vw, 1.12rem);
	line-height: 1.65;
}

.tutek-privacy-policy__meta {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.76rem !important;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

@media (max-width: 760px) {
	.tutek-consent {
		right: 0.65rem;
		bottom: 0.65rem;
		left: 0.65rem;
		grid-template-columns: 1fr;
		gap: 1.25rem;
		max-height: calc(100vh - 1.3rem);
		overflow: auto;
	}

	.tutek-consent__actions {
		grid-template-columns: 1fr;
		justify-content: stretch;
	}

	.tutek-consent__button,
	.tutek-consent__button--text {
		grid-column: auto;
		justify-self: stretch;
		width: 100%;
	}

	.tutek-consent-modal__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.tutek-consent-modal__footer .tutek-consent__button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tutek-consent *,
	.tutek-consent-modal * {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
