/* Notice bar */

.noticebar {
	position: relative;
	width: 100%;
	margin: 0;
	color: #fff;
	background: #000;
	border: none;
	border-radius: 0;
	font-size: 0.9375rem;
	line-height: 1.4;
	text-align: center;
}

.noticebar .contentcontainer {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.3125rem 0;
}

.noticebar p {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin: 0 auto;
	color: inherit;
}

.noticebar .button1 {
	min-height: auto;
	margin: 0 0 0 0.25rem;
	padding: 0.4rem 0.775rem;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1;
	vertical-align: middle;
}

/* Notice bar labels */

.noticebar.noticebar-highlight-news p::before,
.noticebar.noticebar-highlight-sale p::before,
.noticebar.noticebar-highlight-maintenance p::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0.1875rem 0.4375rem;
	color: #fff;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 800;
	line-height: 1;
	text-transform: capitalize;
	vertical-align: middle;
}

.noticebar.noticebar-highlight-news p::before {
	content: "News";
	background: purple;
}

.noticebar.noticebar-highlight-sale p::before {
	content: "Sale";
	background: red;
}

.noticebar.noticebar-highlight-maintenance p::before {
	content: "Maintenance";
	color: var(--color-badge-new-foreground);
	background: var(--color-badge-new-background);
	background: linear-gradient(
		var(--gradient-degrees),
		var(--color-badge-new-background-gradient-top) 0,
		var(--color-badge-new-background-gradient-middle) 50%,
		var(--color-badge-new-background-gradient-bottom) 100%
	);
}

/* Close button */

.notice .notice-close a,
.noticebar .notice-close a {
	position: absolute;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	color: inherit;
	text-decoration: none;
}

.notice .notice-close a::after,
.noticebar .notice-close a::after {
	content: "\f00d";
	font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1;
	color: var(--color-secondary-background);
}

.notice .notice-close a {
	top: -1rem;
	right: -0.5rem;
}

.noticebar .notice-close a {
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}

.notice.notice-noticebar .notice-close a::after,
.noticebar .notice-close a::after {
	color: var(--color-gradient-3-foreground-bold);
}

.noticebar .notice-close a:hover::after,
.noticebar .notice-close a:focus::after {
	color: var(--color-primary-background);
}

/* Responsive */

@media (max-width: 650px) {

	.noticebar {
		font-size: 0.875rem;
	}

	.noticebar .contentcontainer {
		min-height: auto;
		padding: 0.625rem 0;
	}

	.noticebar p {
		gap: 0.375rem;
	}

	.noticebar .button1 {
		margin-top: 0.25rem;
	}

}