.etx-cookie,
.etx-cookie-modal {
	position: fixed;
	z-index: 99999;
}

.etx-cookie[hidden],
.etx-cookie-modal[hidden] {
	display: none;
}

.etx-cookie {
	right: 20px;
	bottom: 20px;
	left: 20px;
	display: flex;
	justify-content: center;
	pointer-events: none;
}

.etx-cookie__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 22px;
	width: min(980px, 100%);
	padding: 22px;
	border: 1px solid rgba(201, 151, 40, 0.35);
	border-radius: 8px;
	background: #fffaf1;
	box-shadow: 0 18px 50px rgba(54, 33, 22, 0.18);
	color: #432d22;
	pointer-events: auto;
}

.etx-cookie__eyebrow {
	margin: 0 0 8px;
	color: #9a6b22;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.etx-cookie h2,
.etx-cookie-modal h2 {
	margin: 0 0 10px;
	color: #3b281f;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	line-height: 1.1;
}

.etx-cookie p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
}

.etx-cookie__links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 10px !important;
}

.etx-cookie__links a,
.etx-cookie-link {
	color: #6f4e2d;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.etx-cookie__actions,
.etx-cookie-modal__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: flex-end;
}

.etx-cookie__actions {
	min-width: 260px;
}

.etx-cookie__button {
	min-height: 42px;
	padding: 10px 16px;
	border: 1px solid #c99728;
	border-radius: 7px;
	background: #fffaf1;
	color: #432d22;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.etx-cookie__button--primary {
	border-color: #432d22;
	background: #432d22;
	color: #fffaf1;
}

.etx-cookie__button--ghost {
	border-color: rgba(67, 45, 34, 0.3);
	background: transparent;
}

.etx-cookie-modal {
	inset: 0;
	display: grid;
	place-items: center;
	padding: 18px;
	background: rgba(28, 18, 13, 0.5);
}

.etx-cookie-modal__card {
	width: min(720px, 100%);
	max-height: min(760px, 92vh);
	overflow: auto;
	border-radius: 8px;
	background: #fffaf1;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
	color: #432d22;
}

.etx-cookie-modal__header,
.etx-cookie-modal__body,
.etx-cookie-modal__footer {
	padding: 20px;
}

.etx-cookie-modal__header {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(201, 151, 40, 0.25);
}

.etx-cookie-modal__close {
	width: 40px;
	height: 40px;
	border: 1px solid rgba(67, 45, 34, 0.25);
	border-radius: 7px;
	background: #fff;
	color: #432d22;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.etx-cookie-modal__body {
	display: grid;
	gap: 14px;
}

.etx-cookie-option {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	border: 1px solid rgba(201, 151, 40, 0.3);
	border-radius: 8px;
	background: #fff;
}

.etx-cookie-option h3,
.etx-cookie-option strong {
	display: block;
	margin: 0 0 6px;
	color: #3b281f;
	font-size: 17px;
}

.etx-cookie-option p,
.etx-cookie-option small {
	display: block;
	margin: 0;
	color: #795f50;
	font-size: 14px;
	line-height: 1.45;
}

.etx-cookie-option input {
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	accent-color: #c99728;
}

.etx-cookie-option__locked {
	padding: 7px 10px;
	border-radius: 999px;
	background: #f5ead7;
	color: #6f4e2d;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.etx-cookie-modal__footer {
	border-top: 1px solid rgba(201, 151, 40, 0.25);
}

@media (max-width: 720px) {
	.etx-cookie {
		right: 10px;
		bottom: 10px;
		left: 10px;
	}

	.etx-cookie__panel {
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.etx-cookie h2,
	.etx-cookie-modal h2 {
		font-size: 24px;
	}

	.etx-cookie__actions,
	.etx-cookie-modal__footer {
		justify-content: stretch;
	}

	.etx-cookie__button {
		width: 100%;
	}

	.etx-cookie-option {
		align-items: flex-start;
	}
}
