.teahouse-dispatch-status {
	--th-dispatch-green: #006b4f;
	--th-dispatch-gold: #c79a3b;
	--th-dispatch-bg: #f1f7ef;
	--th-dispatch-border: #d9e8d5;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 8px 13px;
	border: 1px solid var(--th-dispatch-border);
	border-radius: 8px;
	background: var(--th-dispatch-bg);
	color: var(--th-dispatch-green);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: .01em;
	vertical-align: middle;
	box-sizing: border-box;
}

.teahouse-dispatch-status__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(0, 107, 79, .12);
}

.teahouse-dispatch-status__icon::before,
.teahouse-dispatch-status__icon::after {
	content: "";
	position: absolute;
	box-sizing: border-box;
}

.teahouse-dispatch-status.is-today .teahouse-dispatch-status__icon::before {
	width: 11px;
	height: 11px;
	border: 1.7px solid var(--th-dispatch-gold);
	border-radius: 50%;
}

.teahouse-dispatch-status.is-today .teahouse-dispatch-status__icon::after {
	width: 4px;
	height: 5px;
	left: 10px;
	top: 6px;
	border-left: 1.7px solid var(--th-dispatch-gold);
	border-bottom: 1.7px solid var(--th-dispatch-gold);
}

.teahouse-dispatch-status.is-tomorrow .teahouse-dispatch-status__icon::before {
	width: 11px;
	height: 10px;
	border: 1.6px solid var(--th-dispatch-gold);
	border-radius: 2px;
}

.teahouse-dispatch-status.is-tomorrow .teahouse-dispatch-status__icon::after {
	width: 7px;
	height: 1.6px;
	top: 8px;
	background: var(--th-dispatch-gold);
	transform: rotate(28deg);
}

.single-product form.cart .teahouse-dispatch-status--product {
	flex: 0 0 auto;
	margin-left: 8px;
}

.teahouse-dispatch-row td {
	padding-top: 7px !important;
	padding-bottom: 11px !important;
	border-bottom: 0 !important;
}

.teahouse-dispatch-status--totals {
	width: 100%;
	justify-content: flex-start;
}

/* WoodMart clones the product form into a compact mobile sticky bar. */
.wd-sticky-btn .teahouse-dispatch-status {
	display: none !important;
}

@media (max-width: 767px) {
	.woocommerce-checkout-review-order-table .cart-subtotal > td,
	.woocommerce-checkout-review-order-table .order-total > td,
	.woocommerce-cart .cart_totals .shop_table .order-total > td {
		min-width: 112px;
	}

	.woocommerce-checkout-review-order-table .cart-subtotal .amount,
	.woocommerce-checkout-review-order-table .order-total .amount,
	.woocommerce-cart .cart_totals .shop_table .order-total .amount {
		display: inline-block;
		white-space: nowrap;
	}

	.single-product form.cart .teahouse-dispatch-status--product {
		flex: 1 1 100%;
		margin: 10px 0 0;
		width: 100%;
		justify-content: center;
	}

	.teahouse-dispatch-status {
		min-height: 40px;
		padding: 9px 12px;
		font-size: 13px;
	}

	.teahouse-dispatch-row td {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}
