.gcfb {
	--gcfb-width: 360px;
	--gcfb-bottom: 32px;
	--gcfb-edge: 24px;
	position: fixed;
	bottom: var(--gcfb-bottom);
	z-index: 99990;
	display: none;
	width: min(var(--gcfb-width), calc(100vw - (var(--gcfb-edge) * 2)));
	margin: 0;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .4s ease, visibility .4s ease;
}

.gcfb,
.gcfb * {
	box-sizing: border-box;
}

.gcfb--desktop {
	display: block;
}

.gcfb--left {
	left: var(--gcfb-edge);
}

.gcfb--right {
	right: var(--gcfb-edge);
}

.gcfb--center {
	left: 50%;
	transform: translateX(-50%);
}

.gcfb.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.gcfb.is-dismissed {
	display: none !important;
}

.gcfb__link,
.gcfb__image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}

.gcfb__link {
	overflow: hidden;
	border-radius: 4px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
	text-decoration: none !important;
	transition: transform .25s ease, box-shadow .25s ease;
}

.gcfb__link:hover,
.gcfb__link:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
}

.gcfb > .gcfb__image {
	border-radius: 4px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.gcfb__close {
	position: absolute;
	top: -16px;
	right: -16px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0 0 2px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
	color: #222;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	appearance: none;
}

.gcfb__close:hover,
.gcfb__close:focus-visible {
	background: #222;
	color: #fff;
}

@media screen and (max-width: 767px) {
	.gcfb {
		--gcfb-edge: 12px;
	}

	.gcfb--desktop {
		display: none !important;
	}

	.gcfb--mobile {
		display: block;
	}

	.gcfb__close {
		top: -13px;
		right: -9px;
		width: 30px;
		height: 30px;
		font-size: 21px;
	}
}

@media screen and (min-width: 768px) {
	.gcfb--mobile {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gcfb,
	.gcfb__link {
		transition: none;
	}
}
