/* Elush Shipping — shipping options (front-end: cart & checkout) */

/* The totals/order-review table right-aligns its value column; force the whole
   shipping-options area back to left-aligned so labels and descriptions read cleanly. */
.woocommerce .shipping td,
.woocommerce-checkout-review-order-table .shipping td,
.cart_totals .shipping td,
ul.woocommerce-shipping-methods,
#shipping_method {
	text-align: left !important;
}

ul.woocommerce-shipping-methods,
#shipping_method {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.woocommerce-shipping-methods li,
#shipping_method li {
	margin: 0 0 6px;
	text-align: left;
	/* The theme applies a hanging indent (padding-left:22px + text-indent:-22px)
	   to shipping <li>s, which indents every wrapped description line by 22px.
	   Neutralise it so all lines sit flush-left. !important is required to beat
	   the theme's high-specificity #shipping_method rule. */
	padding-left: 0 !important;
	text-indent: 0 !important;
}

/* Store Pick Up group note must sit ABOVE the first store's radio.
   The note is rendered inside that store's <li> (after the radio/label), so we
   turn the <li> into a wrapping flex row and pull the note to the top with order. */
ul.woocommerce-shipping-methods li:has(> .elush-pickup-group-note),
#shipping_method li:has(> .elush-pickup-group-note) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 6px;
}

.elush-pickup-group-note {
	order: -1;
}

.elush-pickup-group-note,
.elush-rate-desc,
.elush-pickup-group-note p,
.elush-rate-desc p {
	flex-basis: 100%;
	width: 100%;
	/* The totals / order-review table centres its cell content; force every
	   line (including wrapped continuation lines) hard left. */
	text-align: left !important;
}

.elush-pickup-group-note {
	margin: 4px 0;
	/* No left padding so the note text lines up with the radio button and the
	   other option text at the far left. */
	padding: 8px 10px 8px 0;
	background: #f6f7f7;
	font-size: 0.9em;
	line-height: 1.4;
}

.elush-rate-desc {
	margin: 2px 0 4px;
	font-size: 0.85em;
	line-height: 1.4;
	color: #555;
}

.elush-pickup-group-note p:last-child,
.elush-rate-desc p:last-child {
	margin-bottom: 0;
}
