/**
 * Hamenagen - באנר הסכמת עוגיות.
 */

.hm-cookie-consent,
.hm-cookie-consent * {
	box-sizing: border-box;
	font-family: "פולין", "Polin", "Assistant", sans-serif !important;
}

.hm-cookie-consent[hidden] {
	display: none !important;
}

.hm-cookie-consent {
	position: fixed;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 999999;
	display: flex;
	justify-content: center;
	pointer-events: none;
}

.hm-cookie-consent__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: min(100%, 980px);
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 22px;
	background: rgba(30, 30, 58, 0.96);
	color: #ffffff;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
	pointer-events: auto;
	backdrop-filter: blur(12px);
}

.hm-cookie-consent__copy {
	flex: 1;
	min-width: 0;
}

.hm-cookie-consent__copy h2 {
	margin: 0 0 6px !important;
	color: #ffffff !important;
	font-size: 1.05rem !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
}

.hm-cookie-consent__copy p {
	margin: 0 !important;
	color: rgba(255, 255, 255, 0.82) !important;
	font-size: 0.92rem !important;
	line-height: 1.65 !important;
}

.hm-cookie-consent__copy a {
	color: #ffffff !important;
	font-weight: 800 !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.hm-cookie-consent__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
}

.hm-cookie-consent__btn {
	border: 0 !important;
	border-radius: 999px !important;
	padding: 11px 18px !important;
	font-size: 0.92rem !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	cursor: pointer !important;
	box-shadow: none !important;
	white-space: nowrap;
}

.hm-cookie-consent__btn--primary {
	background: #cb1e53 !important;
	color: #ffffff !important;
}

.hm-cookie-consent__btn--secondary {
	background: rgba(255, 255, 255, 0.1) !important;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.hm-cookie-consent__btn:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.75) !important;
	outline-offset: 3px !important;
}

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

	.hm-cookie-consent__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 16px;
		border-radius: 18px;
	}

	.hm-cookie-consent__actions {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.hm-cookie-consent__btn {
		width: 100%;
	}
}