/* T13 side-cart summary. Plain class rules, not :where(): the box sits inside the theme's own total row, whose centered text
   and bold must not reach it. Colors come from --eikst-ms-* variables with neutral fallbacks. */

.eikst-ms {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	background: var(--eikst-ms-bg, #f6f7f7);
	color: var(--eikst-ms-text, #1e1e1e);
	font-weight: 400;
	font-size: 14px;
	line-height: 1.4;
	text-align: start;
}
/* In a narrow cart the amount drops under its label rather than out of the box. */
.eikst-ms__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 12px;
	padding: 2px 0;
}
.eikst-ms__row > span:first-child {
	flex: 1 1 0;
}
.eikst-ms__row > span:last-child {
	flex: none;
	margin-inline-start: auto;
}
.eikst-ms__row small {
	display: block;
	color: var(--eikst-ms-muted, #555);
	font-size: 12px;
}
.eikst-ms__off {
	color: var(--eikst-ms-off, #b42318);
}
.eikst-ms__free {
	color: var(--eikst-ms-free, #2d6a2d);
	font-weight: 700;
}
.eikst-ms__row--total {
	margin-top: 4px;
	padding-top: 6px;
	border-top: 1px solid var(--eikst-ms-line, #ccc);
	font-weight: 700;
	font-size: 16px;
}

/* The block drawer: WooCommerce's own subtotal row steps aside only when the box is there. */
.eikst-ms-wrap {
	margin-bottom: 12px;
}
.eikst-ms-wrap + .wc-block-mini-cart__footer-subtotal {
	display: none;
}
