/* ФЗ-152: cookie-баннер и галочка согласия */
.fz152-banner {
	--fz152-bg: #ffffff;
	--fz152-text: #2b2f33;
	position: fixed;
	z-index: 99999;
	bottom: 16px;
	left: 50%;
	transform: translate(-50%, 20px);
	width: calc(100% - 32px);
	max-width: 960px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 16px 24px;
	padding: 16px 20px;
	background: var(--fz152-bg);
	color: var(--fz152-text);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .16);
	font-size: 14px;
	line-height: 1.45;
	opacity: 0;
	transition: opacity .3s ease, transform .3s ease;
}
.fz152-banner[hidden] { display: none !important; }
.fz152-banner--visible { opacity: 1; transform: translate(-50%, 0); }
.fz152-banner--bottom-left,
.fz152-banner--bottom-right { max-width: 420px; flex-direction: column; align-items: stretch; transform: translateY(20px); }
.fz152-banner--bottom-left { left: 16px; }
.fz152-banner--bottom-right { left: auto; right: 16px; }
.fz152-banner--bottom-left.fz152-banner--visible,
.fz152-banner--bottom-right.fz152-banner--visible { transform: translateY(0); }

.fz152-banner__text { flex: 1 1 auto; }
.fz152-banner__text a { color: var(--fz152-accent, #2b7a78); text-decoration: underline; }
.fz152-banner__buttons { display: flex; gap: 8px; flex: 0 0 auto; }
.fz152-banner__btn {
	cursor: pointer;
	border: 1px solid var(--fz152-accent, #2b7a78);
	border-radius: 8px;
	padding: 10px 22px;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transition: filter .15s ease;
}
.fz152-banner__btn:hover { filter: brightness(1.08); }
.fz152-banner__btn--accept { background: var(--fz152-accent, #2b7a78); color: #fff; }
.fz152-banner__btn--decline { background: transparent; color: var(--fz152-accent, #2b7a78); }

@media (max-width: 640px) {
	.fz152-banner { flex-direction: column; align-items: stretch; bottom: 8px; width: calc(100% - 16px); padding: 14px 16px; }
	.fz152-banner--bottom-left, .fz152-banner--bottom-right { left: 8px; right: 8px; max-width: none; }
	.fz152-banner__buttons { justify-content: stretch; }
	.fz152-banner__btn { flex: 1 1 0; }
}

/* Галочка в формах */
.fz152-consent { display: block; margin: 10px 0 14px; font-size: 13px; line-height: 1.4; text-align: left; }
.fz152-consent__label { display: flex !important; align-items: flex-start; gap: 8px; cursor: pointer; font-weight: normal; margin: 0; }
.fz152-consent__input { flex: 0 0 auto; margin: 2px 0 0 !important; width: 16px !important; height: 16px !important; appearance: auto !important; -webkit-appearance: checkbox !important; position: static !important; opacity: 1 !important; }
.fz152-consent__text a { color: inherit; text-decoration: underline; }
.fz152-consent .wpcf7-not-valid-tip { margin-top: 4px; }
.fz152-disabled { opacity: .55; cursor: not-allowed !important; }
.fz152-consent + .fz152-consent { margin-top: -6px; }
