/**
 * Multicraft File Uploader — product page styling. Theme-token driven with safe fallbacks
 * so it reads on either a light or dark single-product template.
 */
.mfu {
	--mfu-brand: var( --wp--preset--color--brand, #1f6feb );
	--mfu-line: rgba( 127, 127, 127, 0.4 );
	--mfu-soft: rgba( 127, 127, 127, 0.08 );
	box-sizing: border-box;
	display: block;
	max-width: 640px;
}
.mfu * { box-sizing: border-box; }

.mfu__drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
	padding: 40px 24px;
	border: 2px dashed var( --mfu-line );
	border-radius: 8px;
	background: var( --mfu-soft );
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.mfu__drop:hover,
.mfu__drop:focus-visible,
.mfu__drop.is-over {
	border-color: var( --mfu-brand );
	background: rgba( 31, 111, 235, 0.06 );
	outline: none;
}
.mfu__icon { opacity: 0.75; margin-bottom: 4px; }
.mfu__drop-title { font-weight: 700; font-size: 16px; }
.mfu__drop-sub { font-size: 13px; opacity: 0.7; }

.mfu__result {
	border: 1px solid var( --mfu-line );
	border-radius: 8px;
	padding: 16px 18px;
	background: var( --mfu-soft );
}
.mfu__file {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.mfu__file-name { font-weight: 700; word-break: break-word; }
.mfu__remove {
	flex: 0 0 auto;
	width: 26px; height: 26px;
	border: 1px solid var( --mfu-line );
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font-size: 18px; line-height: 1;
	cursor: pointer;
}
.mfu__remove:hover { border-color: var( --mfu-brand ); color: var( --mfu-brand ); }
.mfu__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
}
.mfu__size { font-size: 14px; opacity: 0.8; }
.mfu__price { font-size: 20px; font-weight: 800; }
.mfu__price .amount { color: var( --mfu-brand ); }
.mfu__warn {
	margin: 12px 0 0;
	font-size: 13px;
	color: #b26a00;
}

.mfu__error {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 4px;
	background: rgba( 200, 0, 0, 0.08 );
	border: 1px solid rgba( 200, 0, 0, 0.35 );
	font-size: 14px;
}
.mfu__help { margin: 12px 0 0; font-size: 13px; opacity: 0.7; }

.mfu__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 16px;
	min-height: 50px;
	padding: 0 20px;
	border: 0;
	border-radius: 4px;
	background: var( --mfu-brand );
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	cursor: pointer;
	transition: filter 0.15s ease;
}
.mfu__cta:hover { filter: brightness( 1.08 ); }
.mfu__cta[disabled],
.mfu__cta[aria-busy="true"] { opacity: 0.6; cursor: default; }
