.cct-header-cart-slot:not(:has(.cct-header-cart)) {
	display: none;
}

/* Same capsule as .cct-calc-mobile-header-btn when that control is actually visible. */
header a.cct-header-cart.cct-calc-mobile-header-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	box-sizing: border-box;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	max-width: calc(100vw - 172px);
	flex: 0 1 auto;
	align-self: center;
	padding: 4px 8px;
	border: 1px solid rgba(28, 191, 214, 0.45);
	border-radius: 999px;
	background: rgba(15, 30, 105, 0.55);
	color: #9ef8ed;
	font-family: 'Proxima Nova Th', sans-serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	cursor: pointer;
	overflow: visible;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

header a.cct-header-cart.cct-calc-mobile-header-btn:hover,
header a.cct-header-cart.cct-calc-mobile-header-btn:focus-visible {
	border-color: rgba(28, 191, 214, 0.75);
	background: rgba(15, 30, 105, 0.85);
	box-shadow: 0 0 20px rgba(28, 191, 214, 0.2);
	color: #fff;
	outline: none;
}

header a.cct-header-cart .cct-calc-mobile-header-btn__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	color: #1cbfd6;
}

header a.cct-header-cart .cct-calc-mobile-header-btn__svg {
	display: block;
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	max-width: none;
	flex: 0 0 18px;
}

header a.cct-header-cart .cct-calc-mobile-header-btn__body {
	display: inline-flex;
	align-items: baseline;
	gap: 0.12em;
	min-width: 0;
	white-space: nowrap;
}

header a.cct-header-cart .cct-calc-mobile-header-btn__price {
	font-family: 'Proxima Nova Th', sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: inherit;
}

header a.cct-header-cart .ruble {
	font-family: 'Rubl Sign', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 0.9em;
	line-height: 22px;
	letter-spacing: 0;
	color: inherit;
	-webkit-text-fill-color: currentColor;
	vertical-align: baseline;
}

@media screen and (min-width: 992px) {
	header .header-r {
		display: flex;
		align-items: flex-start;
		justify-content: flex-end;
	}

	header .header-contacts {
		display: block;
	}

	header a.cct-header-cart {
		margin-top: -4px;
		margin-right: 28px;
	}
}

@media screen and (max-width: 991px) {
	header .header-wrapper {
		flex-flow: row;
		align-items: center;
	}

	header a.logo,
	header span.logo {
		order: 1;
		margin-right: auto;
	}

	header .header-r {
		display: flex;
		align-items: center;
		order: 2;
		min-width: 0;
		width: auto;
	}

	header .header-contacts {
		display: none;
	}

	header .header-l {
		order: 3;
	}

	header a.cct-header-cart {
		margin-right: 0;
	}

	header .header-wrapper:has(.cct-header-cart) .top-tel {
		margin-left: 16px;
	}

	header a.cct-calc-mobile-header-btn.cct-header-cart.cct-header-cart--calc-page {
		display: none;
	}
}
