.swhw-notice-bar {
	position: relative;
	z-index: 100;
	width: 100%;
	min-height: 38px;
	background: var(--swhw-notice-bg, #018b5a);
	color: var(--swhw-notice-color, #fff);
	font-family: var(--swhw-notice-font-family, inherit);
	font-size: var(--swhw-notice-font-size, 0.75em);
	font-weight: var(--swhw-notice-font-weight, 400);
	line-height: 1.35;
}

.swhw-notice-bar.is-sticky {
	position: sticky;
	top: var(--swhw-admin-offset, 0px);
	z-index: 9999;
}

.admin-bar {
	--swhw-admin-offset: 32px;
}

body.swhw-has-sticky-notice header.elementor-sticky--active,
body.swhw-has-sticky-notice [data-elementor-type="header"] .elementor-sticky--active,
body.swhw-has-sticky-notice #ast-fixed-header,
body.swhw-has-sticky-notice .ast-sticky-active,
body.swhw-has-sticky-notice header.site-header.is-sticky,
body.swhw-has-sticky-notice header.site-header.sticky,
body.swhw-has-sticky-notice header.sticky-header,
body.swhw-has-sticky-notice .header-sticky.is-sticky {
	top: calc(var(--swhw-admin-offset, 0px) + var(--swhw-notice-height, 38px)) !important;
}

.swhw-notice-bar__viewport {
	width: min(100% - 32px, 1600px);
	margin-inline: auto;
	overflow: hidden;
}

.swhw-notice-bar__track {
	display: grid;
	grid-template-columns: repeat(var(--swhw-notice-current-visible, var(--swhw-notice-visible, 3)), minmax(0, 1fr));
	align-items: center;
	min-height: 38px;
}

.swhw-notice-bar__item {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 16px;
	text-align: center;
}

.swhw-notice-bar.is-enhanced .swhw-notice-bar__item:not(.is-visible) {
	display: none;
}

.swhw-notice-bar__icon {
	display: inline-flex;
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	align-items: center;
	justify-content: center;
}

.swhw-notice-bar__icon svg {
	display: block;
	max-width: 100%;
	max-height: 100%;
}

.swhw-notice-bar__text,
.swhw-notice-bar__text p {
	margin: 0;
}

.swhw-notice-bar__text strong,
.swhw-notice-bar__text b {
	font-weight: 700;
}

.swhw-notice-bar a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 1024px) {
	.swhw-notice-bar__track {
		grid-template-columns: minmax(0, 1fr);
	}
	.swhw-notice-bar__viewport {
		width: 100%;
	}
}

@media (max-width: 782px) {
	.admin-bar {
		--swhw-admin-offset: 46px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.swhw-notice-bar.is-enhanced .swhw-notice-bar__item.is-visible {
		animation: swhw-notice-enter 220ms ease both;
	}
	@keyframes swhw-notice-enter {
		from { opacity: 0; transform: translate3d(8px, 0, 0); }
		to { opacity: 1; transform: translate3d(0, 0, 0); }
	}
}
