/* [cravalori_banner] - mirror of the theme's .shopBanner, fixed on the left edge */

.cmp-banner {
	position: fixed;
	left: 0;
	top: 18%;
	z-index: 100;
	display: flex;
	align-items: center;
	gap: 12px;
	width: auto;
	height: var(--crea-side-banner-height, 100px); /* same height as the theme's .shopBanner */
	padding: 15px 20px 15px 15px;
	background-color: var(--crea-blue, #172A46);
	border: 2px solid var(--crea-blue, #172A46);
	border-left: 0;
	border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
	box-sizing: border-box;
	color: var(--crea-white, #fff);
}

.cmp-banner__icon {
	flex-shrink: 0;
	width: 2.8rem;
	height: 2.8rem;
	color: var(--crea-gold, #C9A24D);
}

.cmp-banner__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.cmp-banner__title {
	font-family: var(--crea-h-font, "Playfair Display", Georgia, serif);
	font-size: 1.8rem;
	font-weight: 600;
	color: var(--crea-white, #fff);
}

.cmp-banner__price {
	margin-top: 0.2rem;
	font-family: var(--crea-font, "Inter", Arial, sans-serif);
	font-size: 1.5rem;
	font-weight: 700;
	white-space: nowrap;
	color: var(--crea-gold, #C9A24D);
}

.cmp-banner__sep {
	color: var(--crea-light-blue, #9FB3D9);
	font-weight: 400;
}

/* First version: visible only to logged-in users (WordPress adds .logged-in to <body>). */
/*body:not(.logged-in) .cmp-banner {*/
/*	display: none;*/
/*}*/

@media (max-width: 767px) {
	.cmp-banner {
		gap: 8px;
		padding: 10px 12px 10px 10px;
		border-top-right-radius: 10px;
		border-bottom-right-radius: 10px;
	}

	.cmp-banner__icon {
		width: 2.4rem;
		height: 2.4rem;
	}

	.cmp-banner__title {
		font-size: 1.6rem;
	}

	.cmp-banner__price {
		font-size: 1.4rem;
	}
}