/*
 * Consent checkbox: registration, checkout (single field), account preferences.
 */
body.woocommerce-checkout form.checkout > .tsst-email-consent,
#ha-payment form.checkout > .tsst-email-consent,
.woocommerce-checkout form.checkout > .tsst-email-consent {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative !important;
	z-index: 10 !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 28px !important;
	margin: 0 0 16px !important;
	padding: 10px 0 14px !important;
	overflow: visible !important;
	color: #111 !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	background: #fff !important;
	border-bottom: 1px solid #eee;
}

.woocommerce-checkout .tsst-email-consent,
form.woocommerce-form-register .tsst-email-consent,
.tsst-email-preferences .tsst-email-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 14px;
	padding: 8px 0;
	float: none;
	width: 100%;
	color: #111;
	font-size: 14px;
	line-height: 1.4;
}

.woocommerce-checkout .tsst-email-consent label,
form.woocommerce-form-register .tsst-email-consent label,
.tsst-email-preferences .tsst-email-consent label {
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	cursor: pointer;
	width: 100%;
	color: inherit;
}

.woocommerce-checkout .tsst-email-consent input[type="checkbox"],
form.woocommerce-form-register .tsst-email-consent input[type="checkbox"],
.tsst-email-preferences .tsst-email-consent input[type="checkbox"] {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: static !important;
	width: 16px !important;
	height: 16px !important;
	margin: 3px 0 0 !important;
	flex: 0 0 16px;
	appearance: auto;
	accent-color: #111;
}

.tsst-email-preferences {
	margin: 24px 0;
	padding: 16px 0 0;
	border: 0;
	border-top: 1px solid #eee;
}

.tsst-email-preferences legend {
	padding: 0 0 8px;
	font-weight: 600;
	font-size: 16px;
}
