/* BelZAP — единый премиальный стиль кнопок (hero, слайдер, каталог, подписка) */
:root {
	--bz-btn-red: #c8102e;
	--bz-btn-red-dark: #9e0c24;
	--bz-btn-red-light: #e82248;
	--bz-btn-glow: rgba(200, 16, 46, 0.42);
}

/* --- База для всех целевых кнопок --- */
.bz-home-hero__btn,
.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn,
.header-menu__btn.btn,
.subscribe__btn.btn {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
	border-radius: 10px !important;
	border: none !important;
	box-sizing: border-box;
	cursor: pointer;
	transition:
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		background 0.28s ease,
		border-color 0.28s ease,
		color 0.2s ease;
}

.bz-home-hero__btn::before,
.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn::before,
.header-menu__btn.btn::before,
.subscribe__btn.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -120%;
	width: 55%;
	height: 100%;
	background: linear-gradient(
		105deg,
		transparent 0%,
		rgba(255, 255, 255, 0.08) 35%,
		rgba(255, 255, 255, 0.32) 50%,
		rgba(255, 255, 255, 0.08) 65%,
		transparent 100%
	);
	transform: skewX(-18deg);
	pointer-events: none;
	z-index: 1;
}

.bz-home-hero__btn::after,
.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn::after,
.header-menu__btn.btn::after,
.subscribe__btn.btn::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
	pointer-events: none;
	z-index: 1;
}

/* --- Primary (красный градиент) --- */
.bz-home-hero__btn--primary,
.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn,
.header-menu__btn.btn,
.subscribe__btn.btn {
	color: #fff !important;
	background: linear-gradient(
		145deg,
		var(--bz-btn-red-light) 0%,
		var(--bz-btn-red) 42%,
		var(--bz-btn-red-dark) 100%
	) !important;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.12) inset,
		0 10px 28px var(--bz-btn-glow),
		0 4px 12px rgba(0, 0, 0, 0.18) !important;
}

.bz-home-hero__btn--primary:hover,
.bz-home-hero__btn--primary:focus,
.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn:hover,
.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn:focus,
.header-menu__btn.btn:hover,
.header-menu__btn.btn:focus,
.subscribe__btn.btn:hover,
.subscribe__btn.btn:focus {
	color: #fff !important;
	background: linear-gradient(
		145deg,
		#f02850 0%,
		var(--bz-btn-red) 38%,
		#8a0a1e 100%
	) !important;
	transform: translateY(-3px) scale(1.02);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.18) inset,
		0 16px 40px rgba(200, 16, 46, 0.52),
		0 8px 20px rgba(0, 0, 0, 0.22) !important;
}

.bz-home-hero__btn--primary:hover::before,
.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn:hover::before,
.header-menu__btn.btn:hover::before,
.subscribe__btn.btn:hover::before,
.bz-home-hero__btn--primary:focus::before,
.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn:focus::before,
.header-menu__btn.btn:focus::before,
.subscribe__btn.btn:focus::before {
	animation: bz-btn-shine 0.65s ease;
}

@keyframes bz-btn-shine {
	0% {
		left: -120%;
	}
	100% {
		left: 140%;
	}
}

.bz-home-hero__btn:active,
.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn:active,
.header-menu__btn.btn:active,
.subscribe__btn.btn:active {
	transform: translateY(-1px) scale(1);
	transition-duration: 0.1s;
}

/* --- Ghost (hero «Оставить заявку») --- */
.bz-home-hero__btn--ghost {
	color: rgba(255, 255, 255, 0.96) !important;
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.14) 0%,
		rgba(255, 255, 255, 0.06) 100%
	) !important;
	border: 1.5px solid rgba(255, 255, 255, 0.42) !important;
	backdrop-filter: blur(8px);
	box-shadow:
		0 8px 24px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.bz-home-hero__btn--ghost:hover,
.bz-home-hero__btn--ghost:focus {
	color: #fff !important;
	background: linear-gradient(
		145deg,
		rgba(255, 255, 255, 0.22) 0%,
		rgba(255, 255, 255, 0.1) 100%
	) !important;
	border-color: rgba(255, 255, 255, 0.72) !important;
	transform: translateY(-3px) scale(1.02);
	box-shadow:
		0 14px 32px rgba(0, 0, 0, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Стрелка hero primary */
.bz-home-hero__btn--primary::after {
	content: '→';
	position: static;
	display: inline;
	margin-left: 10px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	box-shadow: none;
	opacity: 0.92;
	z-index: 2;
}

/* Hero: чуть крупнее */
@media (min-width: 520px) {
	.bz-home-hero__btn {
		min-height: 52px;
		min-width: 210px;
		padding: 0 28px !important;
	}
}

/* Слайдер */
.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn {
	height: auto !important;
	font-size: 11px !important;
	text-transform: uppercase;
}

/* Каталог в шапке */
.header-menu__btn.btn {
	min-height: 40px;
	padding: 0 20px !important;
	font-size: 11px !important;
	border-radius: 8px !important;
}

.header-menu__btn.btn .header-menu__icon {
	position: relative;
	z-index: 2;
}

/* Мобильная кнопка «Каталог» — только xs/sm, на ПК скрыта (есть .header-menu__btn) */
@media (max-width: 991px) {
	.menu-open.btn {
		position: relative;
		overflow: hidden;
		isolation: isolate;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		min-height: 34px;
		height: 34px;
		padding: 0 14px !important;
		font-size: 11px !important;
		font-weight: 700 !important;
		line-height: 1.2 !important;
		letter-spacing: 0.05em;
		text-transform: uppercase;
		text-decoration: none !important;
		white-space: nowrap;
		border-radius: 8px !important;
		border: none !important;
		box-sizing: border-box;
		cursor: pointer;
		color: #fff !important;
		background: linear-gradient(
			145deg,
			var(--bz-btn-red-light) 0%,
			var(--bz-btn-red) 42%,
			var(--bz-btn-red-dark) 100%
		) !important;
		box-shadow:
			0 1px 0 rgba(255, 255, 255, 0.12) inset,
			0 10px 28px var(--bz-btn-glow),
			0 4px 12px rgba(0, 0, 0, 0.18) !important;
		transition:
			transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
			box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
			background 0.28s ease;
	}

	.menu-open.btn::before,
	.menu-open.btn::after {
		content: '';
		position: absolute;
		pointer-events: none;
		z-index: 1;
	}

	.menu-open.btn::before {
		top: 0;
		left: -120%;
		width: 55%;
		height: 100%;
		background: linear-gradient(
			105deg,
			transparent 0%,
			rgba(255, 255, 255, 0.08) 35%,
			rgba(255, 255, 255, 0.32) 50%,
			rgba(255, 255, 255, 0.08) 65%,
			transparent 100%
		);
		transform: skewX(-18deg);
	}

	.menu-open.btn::after {
		inset: 0;
		border-radius: inherit;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
	}

	.menu-open.btn:hover,
	.menu-open.btn:focus {
		color: #fff !important;
		background: linear-gradient(
			145deg,
			#f02850 0%,
			var(--bz-btn-red) 38%,
			#8a0a1e 100%
		) !important;
		transform: translateY(-3px) scale(1.02);
		box-shadow:
			0 1px 0 rgba(255, 255, 255, 0.18) inset,
			0 16px 40px rgba(200, 16, 46, 0.52),
			0 8px 20px rgba(0, 0, 0, 0.22) !important;
	}

	.menu-open.btn .menu-open__icon,
	.menu-open.btn .menu-open__title {
		position: relative;
		z-index: 2;
	}

	.menu-open.btn .menu-open__icon {
		margin-right: 6px;
	}
}

@media (min-width: 992px) {
	.menu-open.btn {
		display: none !important;
	}
}

/* Каталог в шапке (ПК) */
.menu1 .menu__header,
.menu.menu1.new .menu__header {
	color: #fff !important;
	background: linear-gradient(
		145deg,
		var(--bz-btn-red-light) 0%,
		var(--bz-btn-red) 42%,
		var(--bz-btn-red-dark) 100%
	) !important;
	box-shadow: 0 2px 12px rgba(200, 16, 46, 0.28);
}

.menu1 .menu__header-title,
.menu.menu1.new .menu__header-title {
	color: #fff !important;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.menu1 .menu__header-icon,
.menu.menu1.new .menu__header-icon {
	color: #fff !important;
}

.menu1 .menu__header-icon.fa-times,
.menu.menu1.new .menu__header-icon.fa-times {
	background: rgba(0, 0, 0, 0.12) !important;
}

/* Подписка в подвале */
.subscribe__btn.btn {
	min-height: 40px;
	height: 40px !important;
	padding: 0 22px !important;
	width: auto !important;
	font-size: 11px !important;
}

@media (max-width: 767px) {
	.subscribe__btn.btn {
		width: 100% !important;
		min-height: 46px;
		height: 46px !important;
		margin-top: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bz-home-hero__btn,
	.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn,
	.header-menu__btn.btn,
	.subscribe__btn.btn {
		transition: background 0.2s ease, box-shadow 0.2s ease;
	}

	.bz-home-hero__btn:hover,
	.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn:hover,
	.header-menu__btn.btn:hover,
	.subscribe__btn.btn:hover {
		transform: none;
	}

	.bz-home-hero__btn:hover::before,
	.home-page .uni-slideshow_v2 .uni-slideshow_v2__btn:hover::before,
	.header-menu__btn.btn:hover::before,
	.subscribe__btn.btn:hover::before {
		animation: none;
	}
}
