/* Cookie consent banner (gwh_consent.js) */
.gwh-cc {
	position: fixed;
	left: var(--gutter, 24px);
	bottom: 24px;
	z-index: 10000;
	max-width: 520px;
	width: calc(100% - 2 * var(--gutter, 24px));
	font-family: inherit;
}

.gwh-cc__box {
	background: var(--white, #fff);
	color: var(--text-primary, #1A1D29);
	border: 1px solid var(--border, #E5E7EB);
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(26, 29, 41, .18);
	padding: 20px 22px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
}

.gwh-cc__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	color: var(--primary, #1D4289);
}

.gwh-cc__text {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-secondary, #6B7280);
}

.gwh-cc__text a {
	color: var(--secondary, #00A3A1);
	text-decoration: underline;
}

.gwh-cc__opts {
	display: grid;
	gap: 10px;
	margin: 0 0 16px;
}

.gwh-cc__opts[hidden] {
	display: none;
}

.gwh-cc__opt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px;
	background: var(--light-bg, #F5F7FA);
	border-radius: 10px;
	cursor: pointer;
}

.gwh-cc__opt-info {
	display: grid;
	gap: 2px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--text-secondary, #6B7280);
}

.gwh-cc__opt-info strong {
	font-size: 14px;
	color: var(--text-primary, #1A1D29);
}

.gwh-cc__switch {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	position: relative;
	width: 40px;
	height: 22px;
	margin: 0;
	border-radius: 11px;
	background: #C9CED6;
	cursor: pointer;
	transition: background .2s;
}

.gwh-cc__switch::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	transition: transform .2s;
}

.gwh-cc__switch:checked {
	background: var(--secondary, #00A3A1);
}

.gwh-cc__switch:checked::after {
	transform: translateX(18px);
}

.gwh-cc__switch:disabled {
	opacity: .6;
	cursor: default;
}

.gwh-cc__switch:focus-visible,
.gwh-cc__btn:focus-visible {
	outline: 2px solid var(--primary, #1D4289);
	outline-offset: 2px;
}

.gwh-cc__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gwh-cc__btn {
	flex: 1 1 auto;
	padding: 10px 16px;
	border-radius: 999px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}

.gwh-cc__btn--ghost {
	background: transparent;
	color: var(--primary, #1D4289);
	border: 1px solid var(--primary, #1D4289);
}

.gwh-cc__btn--ghost:hover {
	background: var(--light-bg, #F5F7FA);
}

.gwh-cc__btn--primary {
	background: var(--primary, #1D4289);
	color: #fff;
	border: 1px solid var(--primary, #1D4289);
}

.gwh-cc__btn--primary:hover {
	background: #17366f;
}

.footer-cookie-link {
	color: inherit;
	opacity: .8;
	text-decoration: underline;
	cursor: pointer;
}

@media (max-width: 600px) {
	.gwh-cc {
		bottom: 12px;
	}

	.gwh-cc__box {
		padding: 16px;
	}

	.gwh-cc__btn {
		flex-basis: 100%;
	}
}
