/*
 * Caramba Moreno Woo Delivery Date — express-CTA layout.
 *
 * This stylesheet owns ONLY the row layout of the express upsell. The button's
 * shape, colour and corner radius come from the active theme's `.button` rule —
 * deliberately do NOT add border-radius, colours or borders here.
 *
 * Making .cm-wdd-cta a flex row also neutralises the historical collision bug:
 * the button keeps the `.add_to_cart_button` class (themes often `float` it for
 * shop-loop cards), but `float` has no effect on a flex item, so the button can
 * no longer be pulled into the middle of the message text.
 */

.cm-wdd-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-top: .5em;
}

.cm-wdd-cta-message {
	flex: 1 1 14em;
	min-width: 0;
}

/* Doubled class raises specificity above the theme's `.add_to_cart_button`
 * without !important; we only drop inherited margin and keep the label on one
 * line. Everything else (padding, colour, radius) stays inherited from .button. */
.cm-wdd-cta-button.cm-wdd-cta-button {
	flex: 0 0 auto;
	margin: 0;
	white-space: nowrap;
}
