/* Systema Sales Campaign — cart isolation chooser (classic + block surfaces). */

.sscn-cart-split {
	margin: 0 0 24px;
	padding: 16px 18px;
	border: 1px solid #e2e2e2;
	border-left: 4px solid #2e7d32;
	border-radius: 8px;
	background: #f7faf7;
	box-sizing: border-box;
}
.sscn-cart-split__head h3 { margin: 0 0 4px; }
.sscn-cart-split__head p { margin: 0 0 12px; color: #444; }

.sscn-baskets {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.sscn-basket {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px 14px;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	background: #fff;
}
.sscn-basket__title { margin: 0; font-size: 1em; }
.sscn-basket__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sscn-basket__items li { display: flex; align-items: center; gap: 10px; font-size: .92em; }
.sscn-basket__thumb { flex: 0 0 auto; width: 40px; height: 40px; object-fit: cover; border-radius: 4px; background: #f0f0f1; }
.sscn-basket__name { color: #333; flex: 1 1 auto; }
.sscn-basket__qty { white-space: nowrap; color: #777; font-variant-numeric: tabular-nums; margin-left: auto; }
.sscn-basket__amt { white-space: nowrap; color: #555; font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }
.sscn-basket__subtotal { display: flex; justify-content: space-between; gap: 10px; padding-top: 6px; border-top: 1px solid #eee; font-weight: 600; }
.sscn-basket .sscn-proceed { margin-top: auto; }

.sscn-split__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.sscn-proceed.button {
	background: #2e7d32;
	color: #fff;
	border: 0;
	padding: 10px 16px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	display: inline-block;
	text-align: center;
}
.sscn-proceed.button:hover { background: #256628; color: #fff; }

/* Core block buttons blocked while the cart mixes campaign + regular items. */
.sscn-blocked {
	opacity: .5 !important;
	pointer-events: none !important;
	cursor: not-allowed !important;
	filter: grayscale( 40% );
}

@media ( max-width: 600px ) {
	.sscn-baskets { grid-template-columns: 1fr; }
	.sscn-split__actions .sscn-proceed { width: 100%; }
}

/* Cart acknowledgments injected above the proceed / place-order button. */
.sscn-cart-acks--inline {
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: rgba( 0, 0, 0, .02 );
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-sizing: border-box;
}
.sscn-cart-acks--inline .sscn-ack { margin: 0; font-size: .95em; line-height: 1.5; }
.sscn-cart-acks--inline .sscn-ack--required { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.sscn-cart-acks--inline .sscn-ack--required .sscn-ack-check { margin: .2em 0 0; flex: 0 0 auto; width: 18px; height: 18px; }
.sscn-cart-acks--inline .sscn-ack-text a { text-decoration: underline; }
.sscn-cart-acks--inline .sscn-ack-missing { outline: 2px solid #b32d2e; outline-offset: 5px; border-radius: 4px; }
