/* ═══ Closure Banner — coerente con cc-banner (cookie_consent.css) ═══ */

/* --- Variante "bar": barra sito-wide sotto <body>, come cc-banner --- */
.gcb-bar {
	background: #1a2e1b;
	color: #f0f0f0;
	box-shadow: 0 2px 12px rgba(0,0,0,0.15);
	font-family: inherit;
	font-size: 13px;
	line-height: 1.6;
	position: relative;
	z-index: 999;
}

.gcb-bar .gcb-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	position: relative;
	padding-right: 40px;
	border-left: 3px solid #4a8c5c;
}

.gcb-bar.gcb-active .gcb-inner {
	border-left-color: #c9a227;
}

.gcb-bar .gcb-icon {
	color: #4a8c5c;
	flex-shrink: 0;
}

.gcb-bar.gcb-active .gcb-icon {
	color: #c9a227;
}

.gcb-bar .gcb-text {
	color: #d4d4d4;
}

.gcb-bar .gcb-close {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #888;
	font-size: 18px;
	cursor: pointer;
	padding: 6px 8px;
	line-height: 1;
	border-radius: 4px;
	transition: color 0.2s, background 0.2s;
}

.gcb-bar .gcb-close:hover {
	color: #fff;
	background: rgba(255,255,255,0.1);
}

/* --- Variante "inline": box compatto sotto i tempi di spedizione (prodotto) --- */
.gcb-inline {
	margin-top: 10px;
	background: #f4f8f5;
	border-left: 3px solid #4a8c5c;
	border-radius: 0 8px 8px 0;
	padding: 10px 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #2c4a2e;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.gcb-inline.gcb-active {
	background: #fdf6e3;
	border-left-color: #c9a227;
	color: #5c4a13;
}

.gcb-inline .gcb-icon {
	flex-shrink: 0;
	color: #4a8c5c;
	margin-top: 1px;
}

.gcb-inline.gcb-active .gcb-icon {
	color: #c9a227;
}

/* --- Variante "cart": box centrato tra il carrello e i totali --- */
.gcb-cart {
	max-width: 720px;
	margin: 0 auto 18px auto;
	background: #1a2e1b;
	color: #f0f0f0;
	border-radius: 10px;
	padding: 14px 20px;
	text-align: center;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.gcb-cart .gcb-icon {
	color: #4a8c5c;
	margin-right: 6px;
}

.gcb-cart.gcb-active .gcb-icon {
	color: #c9a227;
}

.gcb-cart .gcb-text {
	color: #e0e0e0;
}

@media (max-width: 480px) {
	.gcb-bar .gcb-inner {
		font-size: 12px;
		padding: 10px 16px 10px 36px;
	}
	.gcb-cart {
		font-size: 13px;
		padding: 12px 16px;
	}
}
