/* CG Black Friday Look 1.1.1: "Up to X% off" tag in the sale bar (CompleteGrow Sitewide Sale). */

/* Stacked tag: "UP TO 36% OFF" in the sale name's orange, "selected sizes" underneath. */
.cgbf-up {
	flex: 0 0 auto; display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px;
	font-style: normal; text-transform: none; white-space: nowrap;
}
.cgbf-up__t {
	color: #F59A4E; font-family: var(--cg4-sans, inherit); font-size: 12px; font-weight: 700; line-height: 1.1;
	letter-spacing: .14em; text-transform: uppercase;
}
.cgbf-up__s {
	color: inherit; opacity: .78; font-family: var(--cg4-sans, inherit); font-size: 11px; font-weight: 400; line-height: 1.15;
	letter-spacing: .02em;
}
.cgbf-up.is-short .cgbf-up__s { display: none; }
.cgbf-up.is-off { display: none !important; }
.cgbf-up-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Only while the bar shows the sale (not before it starts, not after it ends). */
.cg4-bar:not([data-phase="active"]):not([data-phase="final"]) .cgbf-up,
.cg4-bar:not([data-phase="active"]):not([data-phase="final"]) .cgbf-up-sr { display: none !important; }

/* Phones: one line beside "BLACK FRIDAY" (BLACK FRIDAY | UP TO 36% OFF), headline below. The bar keeps its height. */
@media (max-width: 600px) {
	.cg4-bar__text.cgbf-has-up { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 5px; row-gap: 0; }
	.cg4-bar__text.cgbf-has-up .cg4-bar__event { order: 1; }
	.cg4-bar__text.cgbf-has-up .cgbf-up { order: 2; flex-direction: row; align-items: center; gap: 0; }
	.cg4-bar__text.cgbf-has-up .cgbf-up::before { content: ""; flex: 0 0 auto; width: 1px; height: 9px; margin-right: 5px; background: currentColor; opacity: .35; }
	.cg4-bar__text.cgbf-has-up .cgbf-up__t { font-size: 8px; letter-spacing: .1em; }
	.cg4-bar__text.cgbf-has-up .cgbf-up__s { display: none; }
	.cg4-bar__text.cgbf-has-up::after { content: ""; order: 3; flex-basis: 100%; height: 0; }
	.cg4-bar__text.cgbf-has-up .cg4-bar__headline { order: 4; margin-top: 4px; }
}
