/* NUS cookie consent — Accept / Reject / Manage preferences */

.nus-cookie[hidden],
.nus-cookie__banner[hidden],
.nus-cookie__overlay[hidden],
.nus-cookie__panel[hidden] {
	display: none !important;
}

.nus-cookie__banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	padding: 16px;
	pointer-events: none;
}

.nus-cookie__inner {
	pointer-events: auto;
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	padding: 18px 22px;
	border-radius: 16px;
	background: #193513;
	color: #f7faf3;
	box-shadow: 0 18px 48px rgba(25, 53, 19, 0.35);
}

.nus-cookie__copy {
	flex: 1 1 320px;
	min-width: 0;
}

.nus-cookie__title {
	display: block;
	font-family: var(--nus-font-head, inherit);
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0 0 4px;
	color: #fff;
}

.nus-cookie__msg {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: rgba(247, 250, 243, 0.92);
}

.nus-cookie__privacy {
	color: #dce25a;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.nus-cookie__privacy:hover,
.nus-cookie__privacy:focus {
	color: #fff;
}

.nus-cookie__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.nus-cookie__btn {
	appearance: none;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 10px 16px;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nus-cookie__btn--accept {
	background: #b7a801;
	color: #193513;
}

.nus-cookie__btn--accept:hover,
.nus-cookie__btn--accept:focus {
	background: #dce25a;
}

.nus-cookie__btn--reject {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}

.nus-cookie__btn--reject:hover,
.nus-cookie__btn--reject:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.nus-cookie__btn--manage {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.nus-cookie__btn--manage:hover,
.nus-cookie__btn--manage:focus {
	background: rgba(255, 255, 255, 0.2);
}

.nus-cookie__overlay {
	position: fixed;
	inset: 0;
	z-index: 100001;
	background: rgba(18, 28, 14, 0.55);
}

.nus-cookie__panel {
	position: fixed;
	z-index: 100002;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(520px, calc(100vw - 32px));
	max-height: min(90vh, 640px);
	overflow: auto;
	background: #fff;
	color: #4e4e4e;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(25, 53, 19, 0.28);
	outline: none;
}

.nus-cookie__panel-head,
.nus-cookie__panel-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid #e8eee2;
}

.nus-cookie__panel-foot {
	border-bottom: 0;
	border-top: 1px solid #e8eee2;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.nus-cookie__panel-head strong {
	font-family: var(--nus-font-head, inherit);
	font-size: 1.15rem;
	color: #193513;
}

.nus-cookie__icon-close {
	appearance: none;
	border: 0;
	background: transparent;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	color: #193513;
	padding: 0 4px;
}

.nus-cookie__panel-body {
	padding: 8px 20px 16px;
	display: grid;
	gap: 10px;
}

.nus-cookie__cat {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid #eef2ea;
	margin: 0;
	cursor: pointer;
}

.nus-cookie__cat:last-child {
	border-bottom: 0;
}

.nus-cookie__cat-text {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.nus-cookie__cat-title {
	font-weight: 650;
	color: #193513;
}

.nus-cookie__cat-desc {
	font-size: 0.9rem;
	line-height: 1.4;
	color: #5f6758;
}

.nus-cookie__badge {
	flex: 0 0 auto;
	font-size: 0.78rem;
	font-weight: 650;
	color: #193513;
	background: #eef5e4;
	border-radius: 999px;
	padding: 6px 10px;
	white-space: nowrap;
}

.nus-cookie__cat input[type='checkbox'] {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 4px;
	accent-color: #193513;
	flex: 0 0 auto;
}

.nus-cookie__panel .nus-cookie__btn--reject {
	color: #193513;
	border-color: rgba(25, 53, 19, 0.35);
}

.nus-cookie__panel .nus-cookie__btn--reject:hover,
.nus-cookie__panel .nus-cookie__btn--reject:focus {
	background: #f3f6ec;
	border-color: #193513;
}

.nus-cookie__link {
	appearance: none;
	border: 0;
	background: none;
	padding: 0;
	margin: 0;
	font: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.footer-copyright .nus-cookie__link {
	color: inherit;
	vertical-align: baseline;
}

.footer-copyright .nus-cookie__link:hover,
.footer-copyright .nus-cookie__link:focus {
	opacity: 0.85;
}

html.nus-cookie-panel-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.nus-cookie__actions {
		width: 100%;
	}

	.nus-cookie__btn {
		flex: 1 1 auto;
		text-align: center;
	}
}
