.ss-eds-delivery-estimate,
.ss-eds-error-default p {
	background-color: #272727;
	border-radius: 6px;
	color: #fff;
	margin: 1rem 0 0;
	padding: 5px;
	text-align: center;
}

/*
 * Retain the snapshot 3.2 Classic cart layout. Blocks add their own totals
 * wrapper class through the supported SlotFill and are not constrained by
 * these Classic-only width rules.
 */
.cart_totals .ss-eds-delivery-estimate,
.cart_totals .ss-eds-error-default p {
	display: inline-block;
	margin: 1rem auto;
	padding: 5px 10%;
	width: 50%;
}

.ss-eds-delivery-estimate[data-status="pending"] {
	cursor: progress;
	opacity: 0.85;
}

.ss-eds-delivery-estimate[data-status="error"] {
	background-color: #7a1f1f;
}

@media screen and (max-width: 993px) {
	.cart_totals .ss-eds-delivery-estimate,
	.cart_totals .ss-eds-error-default p {
		display: block;
		margin: 20px auto 1rem;
		padding: 5px;
		/*
		 * Snapshot 3.2 used 30%, which compresses the delivery sentence into
		 * a narrow word column on phone layouts. Auto width retains the
		 * Classic totals boundary while making the complete promise readable.
		 */
		width: auto;
	}
}
