/**
 * FC DE/EU Helper front-end styles.
 *
 * Theme-neutral baseline only:
 * - no hard-coded brand colors,
 * - no forced font family,
 * - cart notice has no visible box by default,
 * - detailed project styling remains in the central FluentSnippets CSS.
 */

.fcdeu-price-notice,
.fcdeu-cart-notice,
.fcdeu-checkout-notice {
	box-sizing: border-box;
	font-family: inherit;
	color: inherit;
}

.fcdeu-price-notice {
	display: block;
	margin: 0.4rem 0 1rem;
	font-size: 0.85em;
	line-height: 1.35;
}

/*
 * Cart notice baseline:
 * The project CSS controls width, alignment, gaps and an optional border.
 * The helper itself intentionally shows plain text without a visible box.
 */
.fcdeu-cart-notice {
	display: block;
	margin: 0.5rem 0 1rem;
	padding: 0;
	border: 0 solid transparent;
	border-radius: 0;
	background: transparent;
	font-size: inherit;
	line-height: inherit;
}

.fcdeu-checkout-notice {
	display: block;
	margin-block: 1rem;
	padding: 0.875rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 0.25rem;
	font-size: inherit;
	line-height: inherit;
}

.fcdeu-cart-notice p,
.fcdeu-checkout-notice p {
	margin: 0;
}

.fcdeu-checkout-notice__intro + .fcdeu-checkout-notice__links {
	margin-top: 0.5rem;
}

.fcdeu-new-tab-indicator {
	display: inline-block;
	margin-inline-start: 0.18em;
	font-size: 0.78em;
	line-height: 1;
	text-decoration: none;
}

.fcdeu-page-link,
.fcdeu-price-notice a,
.fcdeu-cart-notice a,
.fcdeu-checkout-notice a {
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.fcdeu-withdrawal-entry {
	display: inline-block;
	box-sizing: border-box;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.fcdeu-withdrawal-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.65rem 1rem;
	border: 2px solid currentColor;
	border-radius: 0.25rem;
	font-weight: 700;
	text-decoration: none;
}

.fcdeu-withdrawal-global {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 9998;
	max-width: calc(100vw - 2rem);
}

.fcdeu-withdrawal-global .fcdeu-withdrawal-button {
	background: #fff;
	color: #111;
	box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.18);
}

.fcdeu-preview {
	max-width: 52rem;
	padding: 0.75rem;
	background: #fff;
	border: 1px dashed #a7aaad;
}

@media (max-width: 480px) {
	.fcdeu-withdrawal-global {
		right: 0.75rem;
		bottom: 0.75rem;
		max-width: calc(100vw - 1.5rem);
	}

	.fcdeu-withdrawal-global .fcdeu-withdrawal-button {
		font-size: 0.875rem;
	}
}

.fcdeu-price-notice--card {
	font-size: 0.85em;
	line-height: 1.35;
	margin-top: 0.25rem;
}
