/**
 * Order banner – sotto header-desktop-menu (desktop) / mobile-banner-top (mobile)
 * Override Nooo_OrderBanner::customer-group-banner.css
 */

.customer-group-banner-content {
	width: 100%;
}

.page-header .customer-banner-section {
	position: static;
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #3a3a3a;
	border-top: 2px solid #c30016;
	box-shadow: none;
	z-index: auto;
}

.page-header .customer-banner-section .container {
	max-width: 1260px;
	padding-left: 20px;
	padding-right: 20px;
}

.page-header .customer-banner-section .mobile-toggle-banner {
	display: none !important;
}

.page-header .customer-banner-section .customer-banner-elements {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 0;
}

.page-header .customer-banner-section .customer-banner-slide {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}

.page-header .customer-banner-section .customer-banner-slide-item {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
}

.page-header .customer-banner-section .customer-banner-slide-item:not(:first-of-type) {
	display: none;
}

.page-header .customer-banner-section .customer-banner-track {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
}

.page-header .customer-banner-section .banner-label {
	flex: 0 0 auto;
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--banner-label-color, #ffffff);
	white-space: nowrap;
}

.page-header .customer-banner-section .banner-label b {
	font-weight: 700;
}

.page-header .customer-banner-section .customer-banner-progress {
	position: relative;
	flex: 1 1 auto;
	min-width: 80px;
	height: 8px;
	margin: 0;
	border: none;
	border-radius: 9999px;
	background-color: #dfdfdf;
	overflow: hidden;
}

.page-header .customer-banner-section .customer-banner-progress:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: var(--banner-progress, 0%);
	border-radius: 9999px;
	background-color: var(--banner-progress-color, #c30016);
	z-index: 1;
}

.page-header .customer-banner-section .customer-banner-slide-item.customer-banner-completed .customer-banner-progress:after {
	background-color: var(--banner-progress-color, #14ae5c);
}

.page-header .customer-banner-section .banner-amount-remaining {
	flex: 0 0 auto;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.2;
	color: var(--banner-label-color, #ffffff);
	white-space: nowrap;
}

.page-header .customer-banner-section .customer-banner-button {
	flex: 0 0 auto;
	margin: 0;
}

.page-header .customer-banner-section .customer-banner-button a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	height: 36px;
	padding: 0 22px;
	border-radius: 9999px;
	background-color: #ffffff;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.2;
	color: #3a3a3a;
	text-decoration: none;
	white-space: nowrap;
}

.page-header .customer-banner-section .customer-banner-button a svg {
	display: none;
}

.page-header .customer-banner-section .customer-banner-button.button-enabled a {
	background-color: #ffffff;
	color: #3a3a3a;
	pointer-events: auto;
	cursor: pointer;
}

.page-header .customer-banner-section .customer-banner-button.button-disabled a {
	background-color: #bdbdbd;
	color: #ffffff;
	pointer-events: none;
	cursor: default;
}

@media (max-width: 991px) {

	.page-header .customer-banner-section .container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.page-header .customer-banner-section .customer-banner-elements {
		flex-wrap: wrap;
		gap: 10px;
		padding: 10px 0 12px;
	}

	.page-header .customer-banner-section .customer-banner-slide {
		flex: 1 1 100%;
		order: 1;
	}

	.page-header .customer-banner-section .customer-banner-button {
		flex: 1 1 100%;
		order: 2;
	}

	.page-header .customer-banner-section .customer-banner-button a {
		width: 100%;
		max-width: none;
		height: 40px;
		font-size: 14px;
	}

	.page-header .customer-banner-section .banner-label {
		font-size: 12px;
	}

	.page-header .customer-banner-section .banner-amount-remaining {
		font-size: 12px;
	}
}