.snz-payment-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px 0;
	padding: 4px;
	background: #f5f2ec;
	border-radius: 10px;
	border: 1px solid #ebe5dc;
}

.snz-payment-tab {
	flex: 1 1 0;
	min-width: 0;
	border: none;
	background: transparent;
	color: #5c574f;
	font-family: "Tajawal", system-ui, -apple-system, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	padding: 12px 10px;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.snz-payment-tab:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.65);
	color: #2f4e36;
}

.snz-payment-tab.is-active {
	background: #fff;
	color: #425931;
	box-shadow: 0 2px 8px rgba(66, 89, 49, 0.12);
}

.snz-payment-tab:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Hide Pixel UI when another tab is active (wallet / BNPL). */
body.snz-payment-tab-wallet .payment_method_paymob-pixel .payment_box,
body.snz-payment-tab-wallet #paymob-elements,
body.snz-payment-tab-bnpl .payment_method_paymob-pixel .payment_box,
body.snz-payment-tab-bnpl #paymob-elements {
	display: none !important;
}

/* Card checkout hides Place order because Pixel has its own pay button.
   Wallet and installments still submit through the WooCommerce button. */
body.snz-payment-tab-wallet #place_order,
body.snz-payment-tab-bnpl #place_order,
body.snz-payment-tab-wallet .place-order,
body.snz-payment-tab-bnpl .place-order {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	height: auto !important;
	max-height: none !important;
}

.snz-payment-tab-empty {
	margin: 8px 0 12px 0;
	padding: 14px 16px;
	border-radius: 8px;
	background: #fdfbf7;
	border: 1px dashed #d8d0c4;
	color: #7c7971;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

html[dir="rtl"] .snz-payment-tabs {
	direction: rtl;
}

html[dir="ltr"] .snz-payment-tabs {
	direction: ltr;
}

@media (max-width: 640px) {
	.snz-payment-tabs {
		flex-direction: column;
	}
	.snz-payment-tab {
		flex: 1 1 auto;
		width: 100%;
		text-align: center;
	}
}
