.nc-floating-link-banner {
	position: fixed;
	right: 0;
	bottom: var(--nc-floating-banner-bottom, 120px);
	z-index: 9999;
	width: clamp(180px, 22vw, 300px);
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nc-floating-link-banner.is-before-threshold,
.nc-floating-link-banner.is-hidden {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateX(16px);
}

.nc-floating-link-banner__link,
.nc-floating-link-banner__link img,
.nc-floating-link-banner__link span,
.nc-floating-link-banner__image {
	display: block;
}

.nc-floating-link-banner__image {
	width: 100%;
	height: auto;
}

.nc-floating-link-banner__close {
	position: absolute;
	top: -12px;
	right: 0;
	z-index: 2;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #34475b;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
	cursor: pointer;
}

.nc-floating-link-banner__close::before,
.nc-floating-link-banner__close::after {
	content: "";
	position: absolute;
	top: 13px;
	left: 7px;
	width: 14px;
	height: 2px;
	background: #fff;
}

.nc-floating-link-banner__close::before {
	transform: rotate(45deg);
}

.nc-floating-link-banner__close::after {
	transform: rotate(-45deg);
}

.nc-link-banners {
	width: 100%;
	margin: 48px 0;
}

.nc-link-banners__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	justify-content: center;
	padding: 0;
	margin: 0;
	list-style: none;
}

.nc-link-banners__list[data-count="1"] {
	grid-template-columns: minmax(0, 520px);
	justify-content: center;
}

.nc-link-banners__list[data-count="2"] {
	grid-template-columns: repeat(2, minmax(0, 520px));
	justify-content: center;
}

.nc-link-banners__list[data-count="3"] {
	gap: 18px;
}

.nc-link-banners__item {
	min-width: 0;
	margin: 0;
	padding: 0;
}

.nc-link-banners__link {
	display: block;
	overflow: hidden;
	background: #f4f5f7;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.nc-link-banners__link:hover,
.nc-link-banners__link:focus {
	opacity: 0.88;
	transform: translateY(-2px);
}

.nc-link-banners__image {
	display: block;
	width: 100%;
	height: auto;
}

@media screen and (max-width: 767px) {
	.nc-floating-link-banner {
		width: min(220px, calc(100vw - 32px));
	}

	.nc-link-banners {
		width: 100%;
		margin: 32px 0;
	}

	.nc-link-banners__list,
	.nc-link-banners__list[data-count="1"],
	.nc-link-banners__list[data-count="2"] {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}
