/**
 * FMEP Shipping Date – front-end styles.
 * Kept minimal so the theme stays in charge. Override the custom properties in your theme
 * (or a Divi module's custom CSS), e.g.:  .fmep-sd-notice { --fmep-sd-accent: #2e7d32; }
 */
.fmep-sd-notice {
	--fmep-sd-accent: currentColor;
	--fmep-sd-background: rgba( 0, 0, 0, 0.04 );
	--fmep-sd-radius: 4px;

	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.6em;
	text-align: start; /* Don't inherit right-aligned price columns from order tables. */
	margin: 0 0 1em;
	padding: 0.75em 1em;
	border-left: 3px solid var( --fmep-sd-accent );
	border-radius: var( --fmep-sd-radius );
	background: var( --fmep-sd-background );
	line-height: 1.4;
}

.fmep-sd-notice__icon {
	flex: 0 0 auto;
	color: var( --fmep-sd-accent );
}

/* Row in the classic order review table. */
.fmep-sd-row td {
	text-align: start;
	padding-left: 0;
	padding-right: 0;
}

.fmep-sd-row .fmep-sd-notice {
	margin: 0.5em 0 0;
}

/* Checkout block order summary. */
.fmep-sd-notice--blocks {
	margin: 0.5em 0 0;
}

/* Thank-you page and My Account → order. */
.fmep-sd-notice--order {
	margin: 1em 0 2em;
}

/* No extra space when the notice is the last element of a card or block. */
.fmep-sd-notice:last-child {
	margin-bottom: 0;
}

/* Product page. */
.fmep-sd-notice--product {
	margin: 1em 0;
}

/* Product lists: one compact line, no box. */
.fmep-sd-notice--loop {
	display: block;
	margin: 0.25em 0 0.5em;
	padding: 0;
	border: 0;
	background: none;
	font-size: 0.85em;
	opacity: 0.8;
}

.fmep-sd-notice[hidden] {
	display: none;
}
