/**
 * Нижняя панель быстрых контактов (#sushka-dock) — footer.php.
 * Вынесено в assets: Astra грузит style из assets/css/minified/, корневой style.css на фронте не используется.
 */
.sushka-dock {
	display: none;
	box-sizing: border-box;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	width: 100%;
	max-width: 100vw;
	margin: 0;
	padding: 0 0 env(safe-area-inset-bottom, 0);
	flex-direction: row;
	align-items: stretch;
	justify-content: stretch;
	background: #141414;
	box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06), 0 -6px 20px rgba(0, 0, 0, 0.18);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.sushka-dock__btn {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 5px 2px 6px;
	margin: 0;
	border: 0;
	border-radius: 0;
	text-decoration: none !important;
	box-sizing: border-box;
	font-size: 9px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.95) !important;
	-webkit-tap-highlight-color: transparent;
	transition: filter 0.12s ease, opacity 0.12s ease;
}

.sushka-dock__btn:link,
.sushka-dock__btn:visited,
.sushka-dock__btn:hover,
.sushka-dock__btn:active,
.sushka-dock__btn:focus {
	color: rgba(255, 255, 255, 0.95) !important;
	outline: none;
}

.sushka-dock__btn:active {
	opacity: 0.9;
	filter: brightness(1.08);
}

.sushka-dock__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	line-height: 1;
}

.sushka-dock__icon i {
	font-size: 15px;
	color: #fff !important;
}

.sushka-dock__icon--img img {
	display: block;
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.sushka-dock__text {
	display: block;
	max-width: 100%;
	padding: 0 1px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sushka-dock__btn--phone {
	background: #d94f28;
}

.sushka-dock__btn--max {
	background: #0062e8;
}

.sushka-dock__btn--wa {
	background: #1fad55;
}

.sushka-dock__btn--tg {
	background: #1e9fd6;
}

@media screen and (max-width: 992px) {
	.sushka-dock {
		display: flex !important;
	}

	body.sushka-dock-active {
		padding-bottom: calc(46px + env(safe-area-inset-bottom, 0px));
	}
}

@media screen and (min-width: 993px) {
	.sushka-dock {
		display: none !important;
	}
}
