.mac-floating-logos {
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	top: 50%;
	transform: translate(-18px, -50%);
	transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
	visibility: hidden;
	z-index: 850;
}

.mac-floating-logos.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translate(0, -50%);
	visibility: visible;
}

.mac-floating-logos-inner {
	background: rgba(255, 255, 255, .96);
	border: 1px solid var(--tj-color-border-1);
	border-left: 0;
	border-radius: 0 12px 12px 0;
	box-shadow: 0 18px 45px rgba(15, 23, 42, .13);
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 7px 5px;
}

.mac-floating-logo-item {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, .08);
	border-radius: 8px;
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	height: 85px;
	justify-content: center;
	padding: 7px;
	transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
	width: 85px;
}

.mac-floating-logo-item img {
	display: block;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.mac-floating-logo-text {
	color: var(--tj-color-heading-primary);
	display: block;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.05;
	max-width: 100%;
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.mac-floating-logo-item:has(.mac-floating-logo-text) img {
	max-height: calc(100% - 18px);
}

a.mac-floating-logo-item:hover,
a.mac-floating-logo-item:focus {
	border-color: var(--tj-color-theme-primary);
	box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
	transform: translateX(3px);
}

.mac-floating-logos-mobile {
	display: none;
	opacity: 0;
	pointer-events: none;
	transition: opacity .28s ease, visibility .28s ease;
	visibility: hidden;
}

.mac-floating-logos-mobile.is-visible {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.mac-floating-toggle {
	align-items: center;
	background: var(--tj-color-theme-primary);
	border: 0;
	border-radius: 0 12px 12px 0;
	box-shadow: 0 14px 32px rgba(15, 23, 42, .2);
	color: #fff;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	left: 0;
	position: fixed;
	top: 56%;
	transform: translateX(0);
	transition: background .25s ease, transform .25s ease;
	width: 46px;
	z-index: 902;
}

.mac-floating-toggle:hover,
.mac-floating-toggle:focus {
	background: var(--tj-color-theme-dark-4);
	color: #fff;
}

.mac-floating-toggle .material-symbols-outlined,
.mac-floating-close .material-symbols-outlined {
	font-size: 22px;
}

.mac-floating-panel {
	background: #fff;
	border: 1px solid var(--tj-color-border-1);
	border-left: 0;
	border-radius: 0 14px 14px 0;
	box-shadow: 0 22px 55px rgba(15, 23, 42, .18);
	left: 0;
	max-width: calc(100vw - 32px);
	padding: 14px;
	position: fixed;
	top: 50%;
	transform: translate(-110%, -50%);
	transition: transform .3s ease;
	width: 224px;
	z-index: 903;
}

.mac-floating-logos-mobile.is-open .mac-floating-panel {
	transform: translate(0, -50%);
}

.mac-floating-logos-mobile.is-open .mac-floating-toggle {
	transform: translateX(-120%);
}

.mac-floating-panel-header {
	align-items: center;
	border-bottom: 1px solid var(--tj-color-border-1);
	color: var(--tj-color-heading-primary);
	display: flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: space-between;
	margin-bottom: 12px;
	padding-bottom: 10px;
	text-transform: uppercase;
}

.mac-floating-close {
	align-items: center;
	background: var(--tj-color-grey-1);
	border: 0;
	border-radius: 999px;
	color: var(--tj-color-heading-primary);
	display: inline-flex;
	height: 32px;
	justify-content: center;
	transition: background .25s ease, color .25s ease;
	width: 32px;
}

.mac-floating-close:hover,
.mac-floating-close:focus {
	background: var(--tj-color-theme-primary);
	color: #fff;
}

.mac-floating-panel-logos {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mac-floating-panel-logos .mac-floating-logo-item {
	height: 64px;
	width: 100%;
}

.mac-floating-panel-logos .mac-floating-logo-text {
	font-size: 9px;
}

@media (max-width: 991px) {
	.mac-floating-logos {
		display: none;
	}

	.mac-floating-logos-mobile {
		display: block;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mac-floating-logo-item,
	.mac-floating-logos,
	.mac-floating-logos-mobile,
	.mac-floating-panel,
	.mac-floating-toggle {
		transition: none;
	}
}
