.crombie-top-bar {
	position: relative;
	width: 100%;
	min-height: 70px;
	max-height: 70px;
	display: flex;
	align-items: stretch;
	overflow: hidden;
	transition: transform 0.4s ease-in-out;
}

.crombie-top-bar.is-dismissed {
	transform: translateY(-100%);
	pointer-events: none;
}

.crombie-top-bar__track {
	position: relative;
	flex: 1;
	width: 100%;
	min-height: inherit;
}

.crombie-top-bar__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease-in-out;
}

.crombie-top-bar__slide.is-active {
	opacity: 1;
	visibility: visible;
}

.crombie-top-bar__content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	width: 100%;
	max-width: 1280px;
}

.crombie-top-bar__text {
	flex: 0 1 auto;
	text-align: center;
}

.crombie-top-bar__text,
.crombie-top-bar__text p {
	margin: 0;
	color: #FFFFFF;
	font-family: "Hanken Grotesk", sans-serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 1.2;
}

.crombie-top-bar__cta {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	padding: 10px 22px;
	border-radius: 27px;
	background-color: #000000;
	color: #FFFFFF;
	font-family: "Hanken Grotesk", sans-serif;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.crombie-top-bar__cta:hover {
	background-color: #FFC433;
	color: #000000;
}

.crombie-top-bar__close {
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
	background: transparent;
	border: 0;
	color: #FFFFFF;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
	z-index: 2;
	transition: opacity 0.2s ease;
}

.crombie-top-bar__close:hover {
	opacity: 0.7;
}

@media (max-width: 1024px) {
	.crombie-top-bar__content {
		gap: 16px;
	}
	.crombie-top-bar__text,
	.crombie-top-bar__text p {
		font-size: 17px;
	}
	.crombie-top-bar__cta {
		padding: 8px 18px;
		font-size: 14px;
	}
}

@media (max-width: 640px) {
	.crombie-top-bar__slide {
		padding: 10px 44px 10px 16px;
	}
	.crombie-top-bar__content {
		flex-direction: column;
		gap: 8px;
	}
	.crombie-top-bar__text,
	.crombie-top-bar__text p {
		font-size: 14px;
	}
	.crombie-top-bar__cta {
		padding: 6px 14px;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.crombie-top-bar,
	.crombie-top-bar__slide {
		transition: none;
	}
}
