/* HelloProVision Marketing – sütisáv. A téma felülírhatja a változókat (:root { --hpv-c-accent: … }). */
.hpv-consent {
	--hpv-c-bg: #fff;
	--hpv-c-text: #1d1d1f;
	--hpv-c-muted: #5b5b66;
	--hpv-c-line: rgba(0, 0, 0, .12);
	--hpv-c-on-accent: #fff;
	position: fixed;
	z-index: 2147483000;
	left: 16px;
	right: 16px;
	bottom: 16px;
	display: flex;
	justify-content: center;
	pointer-events: none;
	font: inherit;
}
.hpv-consent[hidden] { display: none; }
.hpv-consent__in {
	pointer-events: auto;
	max-width: 980px;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1.25rem;
	padding: 1rem 1.25rem;
	background: var(--hpv-c-bg);
	color: var(--hpv-c-text);
	border: 1px solid var(--hpv-c-line);
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
	font-size: .92rem;
	line-height: 1.5;
}
.hpv-consent__text { margin: 0; flex: 1 1 360px; }
.hpv-consent__text a { color: inherit; text-decoration: underline; }
.hpv-consent__prefs { flex: 1 1 100%; display: grid; gap: .5rem; padding: .25rem 0; }
.hpv-consent__prefs[hidden] { display: none; }
.hpv-consent__cat { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; }
.hpv-consent__cat input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--hpv-c-accent, #1d1d1f); flex: none; }
.hpv-consent__cat small { color: var(--hpv-c-muted); }
.hpv-consent__cat.is-locked { cursor: default; opacity: .8; }
.hpv-consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.hpv-consent__btn {
	appearance: none;
	min-height: 44px;
	padding: .6rem 1.1rem;
	border-radius: 999px;
	border: 2px solid var(--hpv-c-accent, #1d1d1f);
	background: transparent;
	color: var(--hpv-c-text);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.2;
}
.hpv-consent__btn.is-primary { background: var(--hpv-c-accent, #1d1d1f); color: var(--hpv-c-on-accent); }
.hpv-consent__btn[hidden], .hpv-consent__link[hidden] { display: none; }
.hpv-consent__btn:focus-visible, .hpv-consent__link:focus-visible, .hpv-consent-reopen:focus-visible { outline: 3px solid var(--hpv-c-accent, #1d1d1f); outline-offset: 2px; }
.hpv-consent__link { appearance: none; background: none; border: 0; padding: .5rem .25rem; color: var(--hpv-c-text); font: inherit; text-decoration: underline; cursor: pointer; }
.hpv-consent-reopen {
	position: fixed;
	z-index: 2147482999;
	left: 14px;
	bottom: 14px;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, .12);
	background: #fff;
	color: #1d1d1f;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
	cursor: pointer;
	opacity: .85;
}
.hpv-consent-reopen:hover { opacity: 1; }
.hpv-consent-reopen[hidden] { display: none; }
@media (max-width: 600px) {
	.hpv-consent { left: 8px; right: 8px; bottom: 8px; }
	.hpv-consent__in { padding: .85rem 1rem; gap: .6rem; font-size: .84rem; line-height: 1.45; }
	.hpv-consent__text { flex-basis: 100%; }
	.hpv-consent__actions { width: 100%; }
	.hpv-consent__btn { flex: 1 1 40%; min-height: 42px; padding: .5rem .7rem; }
	.hpv-consent__link { flex: 1 1 100%; padding: .15rem; }
}
@media (prefers-reduced-motion: no-preference) {
	.hpv-consent__in { animation: hpv-consent-in .25s ease-out; }
	@keyframes hpv-consent-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
}
