/* WE Softeners site banner: the site's light blue and navy, Quattrocento Sans, pill buttons. */

.wesb-stack {
	position: relative;
	z-index: 1000;
}

.wesb {
	position: relative;
	background: #53beed;
	font-family: "Quattrocento Sans", sans-serif;
	color: #fff;
}

.wesb[hidden] {
	display: none;
}

.wesb + .wesb {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.wesb--navy {
	background: #121e89;
}

/* Christmas: navy with a faint snowfall texture */
.wesb--christmas {
	background-color: #121e89;
	background-image:
		radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.6px),
		radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.6px);
	background-position: 0 0, 11px 13px;
	background-size: 22px 26px;
}

.wesb__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 16px;
	max-width: 1316px;
	margin: 0 auto;
	padding: 11px 64px;
	text-align: center;
}

.wesb__icon {
	flex: none;
	color: #53beed;
}

.wesb .wesb__text {
	margin: 0;
	font-family: "Quattrocento Sans", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
}

.wesb .wesb__link {
	display: inline-flex;
	align-items: center;
	padding: 6px 16px;
	border-radius: 25px;
	background: #fff;
	font-family: "Quattrocento Sans", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	color: #121e89;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s;
}

.wesb .wesb__link:hover,
.wesb .wesb__link:focus-visible {
	background: #121e89;
	color: #fff;
}

.wesb--navy .wesb__link,
.wesb--christmas .wesb__link {
	background: #53beed;
	color: #fff;
}

.wesb--navy .wesb__link:hover,
.wesb--navy .wesb__link:focus-visible,
.wesb--christmas .wesb__link:hover,
.wesb--christmas .wesb__link:focus-visible {
	background: #fff;
	color: #121e89;
}

/* The theme styles every button, so the close button resets its own look. */
.wesb .wesb__close {
	position: absolute;
	top: 50%;
	right: 14px;
	display: grid;
	place-items: center;
	width: 34px;
	min-width: 0;
	height: 34px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: #fff;
	opacity: 0.8;
	cursor: pointer;
	transform: translateY(-50%);
}

.wesb .wesb__close:hover,
.wesb .wesb__close:focus-visible {
	background: rgba(255, 255, 255, 0.15);
	opacity: 1;
}

@media (max-width: 767px) {
	.wesb__inner {
		justify-content: flex-start;
		padding: 10px 52px 10px 16px;
		text-align: left;
	}

	.wesb__icon {
		display: none;
	}

	.wesb .wesb__text {
		font-size: 14px;
	}

	.wesb .wesb__link {
		padding: 5px 12px;
		font-size: 13px;
	}

	.wesb .wesb__close {
		right: 8px;
	}
}

/* Settings > Site banner */
.wesb-admin__card {
	max-width: 900px;
}

.wesb-admin__status {
	margin-left: 8px;
	padding: 2px 10px;
	border-radius: 12px;
	background: #f0f0f1;
	font-size: 12px;
	font-weight: 400;
	vertical-align: middle;
}

.wesb-admin__preview .wesb {
	border-radius: 6px;
	overflow: hidden;
}
