/*
 * FreedomCart 3.0 — frontend design system
 * Scope: .fc-checkout-shell (checkout) + legacy receipt/account/store/notice selectors.
 * Self-contained: no imports, no url() assets, no external fonts.
 */

/* === Shell & Tokens === */
.fc-checkout-shell {
	--fc-header: #111827;
	--fc-accent: #0f766e;
	--fc-button: #111827;
	--fc-button-text: #ffffff;
	--fc-bump-bg: #f6fbfa;
	--fc-surface: #ffffff;
	--fc-surface-2: #f8fafc;
	--fc-text: #0f172a;
	--fc-muted: #64748b;
	--fc-border: #e2e8f0;
	--fc-border-strong: #cbd5e1;
	--fc-ring: rgba(15, 118, 110, 0.25);
	--fc-radius: 12px;
	--fc-radius-sm: 8px;
	--fc-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
	--fc-error: #dc2626;
	--fc-success: #059669;
	--fc-font: inherit;
	box-sizing: border-box;
	color: var(--fc-text);
	font-family: var(--fc-font);
	width: 100%;
}

.fc-checkout-shell *,
.fc-checkout-shell *::before,
.fc-checkout-shell *::after {
	box-sizing: border-box;
}

.fc-checkout-shell [hidden] {
	display: none !important;
}

.fc-checkout-shell img {
	max-width: 100%;
}

/* === Theme: Midnight (tokens) === */
.fc-theme-midnight {
	--fc-header: #f1f5f9;
	--fc-accent: #2dd4bf;
	--fc-button: #0d9488;
	--fc-button-text: #ffffff;
	--fc-bump-bg: #11302b;
	--fc-surface: #0f172a;
	--fc-surface-2: #1e293b;
	--fc-text: #f1f5f9;
	--fc-muted: #94a3b8;
	--fc-border: #334155;
	--fc-border-strong: #475569;
	--fc-ring: rgba(45, 212, 191, 0.28);
	--fc-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 44px -18px rgba(0, 0, 0, 0.65);
	color-scheme: dark;
}

/* === Theme: Glass (tokens + backdrop) === */
.fc-theme-glass {
	--fc-header: #1e1b4b;
	--fc-accent: #6366f1;
	--fc-button: #4f46e5;
	--fc-button-text: #ffffff;
	--fc-bump-bg: #eef2ff;
	--fc-surface-2: #f4f7fc;
	--fc-shadow: 0 8px 32px rgba(31, 38, 135, 0.14);
	background: linear-gradient(135deg, #eef2ff 0%, #fdf2f8 45%, #ecfeff 100%);
	border-radius: calc(var(--fc-radius) + 12px);
	padding: clamp(16px, 3.5vw, 44px);
}

/* === Theme: Bold (tokens) === */
.fc-theme-bold {
	--fc-header: #111111;
	--fc-accent: #e11d48;
	--fc-button: #111111;
	--fc-button-text: #ffffff;
	--fc-bump-bg: #fffbeb;
	--fc-surface: #ffffff;
	--fc-surface-2: #f4f4f5;
	--fc-text: #111111;
	--fc-muted: #44403c;
	--fc-border: #111111;
	--fc-border-strong: #111111;
	--fc-ring: rgba(17, 17, 17, 0.18);
	--fc-shadow: 6px 6px 0 #111111;
}

/* === Theme: Soft (tokens) === */
.fc-theme-soft {
	--fc-header: #57534e;
	--fc-accent: #7c3aed;
	--fc-button: #8b5cf6;
	--fc-button-text: #ffffff;
	--fc-bump-bg: #f5f3ff;
	--fc-surface: #fffdfa;
	--fc-surface-2: #fdf7f2;
	--fc-text: #423c52;
	--fc-muted: #8d86a0;
	--fc-border: #eadff0;
	--fc-border-strong: #ddcfe8;
	--fc-ring: rgba(196, 160, 255, 0.28);
	--fc-radius: 18px;
	--fc-radius-sm: 12px;
	--fc-shadow: 0 2px 4px rgba(167, 139, 250, 0.08), 0 18px 40px -18px rgba(251, 146, 160, 0.28);
}

/* === Radius Modifiers === */
.fc-radius-sharp {
	--fc-radius: 4px;
	--fc-radius-sm: 3px;
}

/* .fc-radius-rounded = token defaults (themes may enlarge) */

.fc-radius-pill {
	--fc-radius: 22px;
	--fc-radius-sm: 12px;
}

.fc-radius-pill .fc-button {
	border-radius: 999px;
}

/* === Base === */
.fc-checkout {
	font-size: 15px;
	line-height: 1.5;
	margin: 0 auto;
	width: 100%;
}

.fc-checkout a {
	color: var(--fc-accent, #0f766e);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fc-checkout a:hover {
	text-decoration-thickness: 2px;
}

/* === Layouts === */
.fc-layout-card,
.fc-layout-minimal {
	max-width: 760px;
}

.fc-layout-split {
	max-width: 1040px;
}

.fc-main {
	min-width: 0;
}

.fc-aside {
	margin-top: 26px;
	min-width: 0;
}

.fc-layout-split .fc-panel {
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.85fr);
	padding: 0;
}

.fc-layout-split .fc-main {
	padding: clamp(22px, 3.5vw, 32px);
}

.fc-layout-split .fc-aside {
	background: var(--fc-surface-2);
	border-left: 1px solid var(--fc-border);
	border-radius: 0 var(--fc-radius) var(--fc-radius) 0;
	margin-top: 0;
	padding: clamp(20px, 3vw, 28px);
	position: relative;
}

.fc-layout-split .fc-order-summary {
	position: sticky;
	top: 24px;
}

.fc-layout-minimal .fc-panel {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

/* === Panel === */
.fc-panel {
	background: var(--fc-surface);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	box-shadow: var(--fc-shadow);
	padding: clamp(20px, 4vw, 32px);
}

.fc-layout-card .fc-order-summary {
	background: var(--fc-surface-2);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	padding: clamp(18px, 3vw, 24px);
}

.fc-layout-minimal .fc-order-summary {
	background: var(--fc-surface);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius);
	box-shadow: var(--fc-shadow);
	padding: clamp(18px, 3vw, 24px);
}

/* === Notices (in-shell) === */
.fc-checkout .fc-notices {
	display: grid;
	gap: 10px;
}

.fc-checkout .fc-notices:not(:empty) {
	margin-bottom: 18px;
}

.fc-checkout .fc-notice {
	animation: fc-fade-slide-in 0.25s ease both;
	margin: 0;
}

/* === Progress === */
.fc-progress {
	align-items: center;
	display: flex;
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}

.fc-progress-step {
	align-items: center;
	color: var(--fc-muted);
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
	min-width: 0;
}

.fc-progress-step + .fc-progress-step {
	flex: 1 1 auto;
}

.fc-progress-step + .fc-progress-step::before {
	background: var(--fc-border);
	border-radius: 1px;
	content: "";
	flex: 1 1 24px;
	height: 2px;
	margin: 0 12px;
	min-width: 24px;
	transition: background-color 0.2s ease;
}

.fc-progress-num {
	align-items: center;
	background: var(--fc-surface);
	border: 2px solid var(--fc-border-strong);
	border-radius: 50%;
	color: var(--fc-muted);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	height: 28px;
	justify-content: center;
	line-height: 1;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	width: 28px;
}

.fc-progress-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.fc-progress-step.is-active {
	color: var(--fc-text);
}

.fc-progress-step.is-active .fc-progress-num {
	border-color: var(--fc-accent, #0f766e);
	box-shadow: 0 0 0 4px var(--fc-ring);
	color: var(--fc-accent, #0f766e);
}

.fc-progress-step.is-done .fc-progress-num {
	background: var(--fc-accent, #0f766e);
	border-color: var(--fc-accent, #0f766e);
	color: transparent;
	font-size: 0;
}

.fc-progress-step.is-done .fc-progress-num::after {
	color: var(--fc-button-text, #ffffff);
	content: "\2713";
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
}

.fc-progress-step.is-done .fc-progress-label {
	color: var(--fc-text);
}

.fc-progress-step.is-active::before,
.fc-progress-step.is-done::before {
	background: var(--fc-accent, #0f766e);
}

/* === Steps === */
/* Steps are hidden only when JS has booted (.fc-js) — without JS every field
   stays visible so required consent boxes remain reachable. */
.fc-has-steps.fc-js .fc-step {
	display: none;
}

.fc-has-steps:not(.fc-js) .fc-progress,
.fc-has-steps:not(.fc-js) .fc-step-back {
	display: none;
}

.fc-has-steps.fc-js .fc-step.is-active {
	animation: fc-fade-slide-in 0.28s ease both;
	display: block;
}

.fc-step-back {
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: var(--fc-muted);
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 14px -8px;
	padding: 6px 8px;
	transition: color 0.15s ease;
}

.fc-step-back:hover {
	color: var(--fc-accent, #0f766e);
}

/* === Product === */
.fc-product-visual {
	border-radius: calc(var(--fc-radius) - 4px);
	margin-bottom: 18px;
	overflow: hidden;
}

.fc-product-visual img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	max-height: 360px;
	object-fit: cover;
	width: 100%;
}

.fc-product-head {
	align-items: flex-start;
	border-bottom: 1px solid var(--fc-border);
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 16px;
}

.fc-product-head h3 {
	color: var(--fc-header, var(--fc-text));
	font-size: clamp(20px, 3vw, 24px);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin: 0;
}

.fc-price {
	color: var(--fc-accent, #0f766e);
	font-size: 18px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* === Headings === */
.fc-fields-heading {
	color: var(--fc-header, #0f172a);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.01em;
	margin: 22px 0 12px;
}

.fc-address-heading {
	color: var(--fc-header, var(--fc-text));
	font-size: 14px;
	font-weight: 700;
	grid-column: 1 / -1;
	letter-spacing: 0.01em;
	margin: 10px 0 0;
}

/* === Fields === */
.fc-checkout label {
	display: block;
}

.fc-field-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fc-field-grid .fc-size-small {
	max-width: 200px;
}

.fc-field-grid .fc-size-large {
	grid-column: span 2;
}

.fc-field-grid .fc-size-full {
	grid-column: 1 / -1;
}

.fc-field-grid label > span,
.fc-custom-field > span,
.fc-coupon > span,
.fc-plan-list > span,
.fc-payment-methods > span {
	color: var(--fc-text);
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin-bottom: 6px;
}

.fc-custom-field {
	display: block;
	margin-top: 16px;
}

.fc-checkout input[type="text"],
.fc-checkout input[type="email"],
.fc-checkout input[type="tel"],
.fc-checkout input[type="number"],
.fc-checkout input[type="url"],
.fc-checkout input[type="password"],
.fc-checkout select,
.fc-checkout textarea {
	background: var(--fc-surface);
	border: 1.5px solid var(--fc-border-strong);
	border-radius: var(--fc-radius-sm);
	color: var(--fc-text);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	min-height: 46px;
	padding: 10px 13px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
	width: 100%;
}

.fc-checkout select {
	padding-right: 32px;
}

.fc-checkout textarea {
	min-height: 96px;
	resize: vertical;
}

.fc-checkout input::placeholder,
.fc-checkout textarea::placeholder {
	color: var(--fc-muted);
	opacity: 1;
}

.fc-checkout input[type="text"]:focus,
.fc-checkout input[type="email"]:focus,
.fc-checkout input[type="tel"]:focus,
.fc-checkout input[type="number"]:focus,
.fc-checkout input[type="url"]:focus,
.fc-checkout input[type="password"]:focus,
.fc-checkout select:focus,
.fc-checkout textarea:focus {
	border-color: var(--fc-accent, #0f766e);
	box-shadow: 0 0 0 4px var(--fc-ring);
	outline: none;
}

.fc-checkout input.is-invalid,
.fc-checkout select.is-invalid,
.fc-checkout textarea.is-invalid {
	border-color: var(--fc-error);
	box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.fc-field-error {
	animation: fc-fade-slide-in 0.2s ease both;
	color: var(--fc-error);
	display: block;
	font-size: 12px;
	font-weight: 600;
	margin-top: 6px;
}

/* === Hidden Labels === */
.fc-hide-labels .fc-field-grid label > span,
.fc-hide-labels .fc-custom-field > span,
.fc-hide-labels .fc-coupon > span {
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

/* === Quantity === */
.fc-qty-wrap {
	background: var(--fc-surface);
	border: 1.5px solid var(--fc-border-strong);
	border-radius: var(--fc-radius-sm);
	display: inline-flex;
	overflow: hidden;
	vertical-align: middle;
}

.fc-qty-btn {
	background: var(--fc-surface-2);
	border: 0;
	color: var(--fc-text);
	cursor: pointer;
	flex: 0 0 auto;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	height: 44px;
	line-height: 1;
	transition: background-color 0.15s ease, color 0.15s ease;
	width: 44px;
}

.fc-qty-btn:hover {
	background: var(--fc-border);
	color: var(--fc-accent, #0f766e);
}

.fc-checkout .fc-qty-wrap .fc-qty {
	-moz-appearance: textfield;
	appearance: textfield;
	border: 0;
	border-left: 1px solid var(--fc-border);
	border-radius: 0;
	border-right: 1px solid var(--fc-border);
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	min-height: 44px;
	text-align: center;
	width: 64px;
}

.fc-checkout .fc-qty-wrap .fc-qty:focus {
	box-shadow: inset 0 0 0 2px var(--fc-ring);
}

.fc-qty-wrap .fc-qty::-webkit-inner-spin-button,
.fc-qty-wrap .fc-qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* === Plans === */
.fc-plan-list {
	margin-top: 18px;
}

.fc-plan {
	background: var(--fc-surface);
	border: 1.5px solid var(--fc-border);
	border-radius: var(--fc-radius-sm);
	cursor: pointer;
	display: block;
	margin-top: 10px;
	padding: 14px 16px;
	position: relative;
	transition: all 0.18s ease;
}

.fc-plan:hover {
	border-color: var(--fc-border-strong);
	box-shadow: var(--fc-shadow);
	transform: translateY(-1px);
}

.fc-plan-input {
	height: 1px;
	margin: 0;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.fc-plan-body {
	display: block;
	min-width: 0;
	padding-left: 32px;
	position: relative;
}

.fc-plan-body::before {
	background: var(--fc-surface);
	border: 2px solid var(--fc-border-strong);
	border-radius: 50%;
	content: "";
	height: 20px;
	left: 0;
	position: absolute;
	top: 1px;
	transition: border-color 0.18s ease, border-width 0.18s ease;
	width: 20px;
}

.fc-plan-body strong {
	color: var(--fc-text);
	display: block;
	font-size: 15px;
	font-weight: 700;
}

.fc-plan-body em {
	color: var(--fc-accent, #0f766e);
	display: block;
	font-style: normal;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	margin-top: 2px;
}

.fc-plan:has(.fc-plan-input:checked),
.fc-plan.is-on {
	background: rgba(15, 118, 110, 0.05);
	background: color-mix(in srgb, var(--fc-accent, #0f766e) 6%, var(--fc-surface));
	border-color: var(--fc-accent, #0f766e);
	box-shadow: 0 0 0 1px var(--fc-accent, #0f766e);
}

.fc-plan:has(.fc-plan-input:checked) .fc-plan-body::before,
.fc-plan.is-on .fc-plan-body::before,
.fc-plan-input:checked ~ .fc-plan-body::before {
	border-color: var(--fc-accent, #0f766e);
	border-width: 6px;
}

/* === Bumps === */
.fc-bump-list {
	display: grid;
	gap: 12px;
	margin-top: 22px;
}

.fc-bump {
	align-items: flex-start;
	animation: fc-bump-glow 1.8s ease-in-out 0.6s 2;
	background: var(--fc-bump-bg, #f6fbfa);
	border: 2px dashed rgba(15, 118, 110, 0.45);
	border-color: color-mix(in srgb, var(--fc-accent, #0f766e) 45%, transparent);
	border-radius: var(--fc-radius-sm);
	cursor: pointer;
	display: flex;
	gap: 14px;
	padding: 16px;
	position: relative;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.fc-bump:hover {
	border-color: var(--fc-accent, #0f766e);
}

.fc-bump-input {
	height: 1px;
	margin: 0;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.fc-bump-image {
	border-radius: calc(var(--fc-radius-sm) - 2px);
	flex: 0 0 auto;
	height: 72px;
	object-fit: cover;
	width: 72px;
}

.fc-bump-image-right .fc-bump-image {
	order: 3;
}

.fc-bump-image-top {
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr);
}

.fc-bump-image-top .fc-bump-image {
	height: auto;
	max-height: 180px;
	width: 100%;
}

.fc-bump-image-hidden .fc-bump-image {
	display: none;
}

.fc-bump-body {
	display: block;
	flex: 1;
	min-width: 0;
	padding-left: 34px;
	position: relative;
}

.fc-bump-body::before {
	background: var(--fc-surface, #ffffff);
	border: 2px solid var(--fc-border-strong, #cbd5e1);
	border-radius: 6px;
	content: "";
	height: 22px;
	left: 0;
	position: absolute;
	top: 0;
	transition: background-color 0.18s ease, border-color 0.18s ease;
	width: 22px;
}

.fc-bump-body::after {
	border: solid #ffffff;
	border-width: 0 2.5px 2.5px 0;
	content: "";
	height: 11px;
	left: 8px;
	position: absolute;
	top: 4px;
	transform: rotate(45deg) scale(0);
	transition: transform 0.18s ease;
	width: 6px;
}

.fc-bump-headline {
	color: var(--fc-header, inherit);
	display: block;
	font-weight: 800;
	margin-bottom: 4px;
}

.fc-bump-body strong {
	display: block;
	font-weight: 700;
}

.fc-bump-body em {
	color: var(--fc-accent, #0f766e);
	display: block;
	font-style: normal;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	margin-top: 3px;
}

.fc-bump-body small {
	color: var(--fc-muted);
	display: block;
	font-size: 13px;
	margin-top: 4px;
}

.fc-bump:has(.fc-bump-input:checked),
.fc-bump.is-on {
	animation: fc-pop 0.3s ease;
	border-color: var(--fc-accent, #0f766e);
	border-style: solid;
	box-shadow: 0 0 0 1px var(--fc-accent, #0f766e);
}

.fc-bump:has(.fc-bump-input:checked) .fc-bump-body::before,
.fc-bump.is-on .fc-bump-body::before,
.fc-bump-input:checked ~ .fc-bump-body::before {
	background: var(--fc-accent, #0f766e);
	border-color: var(--fc-accent, #0f766e);
}

.fc-bump:has(.fc-bump-input:checked) .fc-bump-body::after,
.fc-bump.is-on .fc-bump-body::after,
.fc-bump-input:checked ~ .fc-bump-body::after {
	transform: rotate(45deg) scale(1);
}

/* === Legal === */
.fc-legal {
	display: grid;
	gap: 8px;
	margin-top: 20px;
}

.fc-legal label {
	align-items: flex-start;
	color: var(--fc-text);
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 10px;
	line-height: 1.45;
	margin: 0;
}

.fc-legal input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	background: var(--fc-surface);
	border: 2px solid var(--fc-border-strong);
	border-radius: 5px;
	cursor: pointer;
	flex: 0 0 auto;
	height: 18px;
	margin: 1px 0 0;
	position: relative;
	transition: background-color 0.15s ease, border-color 0.15s ease;
	width: 18px;
}

.fc-legal input[type="checkbox"]::after {
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	content: "";
	height: 9px;
	left: 4px;
	position: absolute;
	top: 1px;
	transform: rotate(45deg) scale(0);
	transition: transform 0.15s ease;
	width: 5px;
}

.fc-legal input[type="checkbox"]:checked {
	background: var(--fc-accent, #0f766e);
	border-color: var(--fc-accent, #0f766e);
}

.fc-legal input[type="checkbox"]:checked::after {
	transform: rotate(45deg) scale(1);
}

.fc-legal input[type="checkbox"].is-invalid {
	border-color: var(--fc-error);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.fc-legal .fc-field-error {
	flex-basis: 100%;
	margin: 0 0 0 28px;
}

/* === Payment Methods === */
.fc-payment-methods {
	display: grid;
	gap: 10px;
	margin-top: 22px;
}

.fc-payment-methods > span {
	margin-bottom: 0;
}

.fc-method {
	align-items: center;
	background: var(--fc-surface);
	border: 1.5px solid var(--fc-border);
	border-radius: var(--fc-radius-sm);
	cursor: pointer;
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 14px;
	position: relative;
	transition: all 0.18s ease;
}

.fc-method:hover {
	border-color: var(--fc-border-strong);
	box-shadow: var(--fc-shadow);
	transform: translateY(-1px);
}

.fc-method input[type="radio"] {
	height: 1px;
	margin: 0;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.fc-method-body {
	flex: 1;
	min-width: 0;
	padding-left: 32px;
	position: relative;
}

.fc-method-body::before {
	background: var(--fc-surface);
	border: 2px solid var(--fc-border-strong);
	border-radius: 50%;
	content: "";
	height: 20px;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: border-color 0.18s ease, border-width 0.18s ease;
	width: 20px;
}

.fc-method-body strong {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
}

.fc-method-hint {
	color: var(--fc-muted);
	display: block;
	font-size: 12px;
	font-style: normal;
	margin-top: 2px;
}

.fc-method-mark {
	display: inline-flex;
	flex: 0 0 auto;
	margin-left: auto;
}

.fc-method-mark svg {
	display: block;
	height: 28px;
	width: auto;
}

.fc-method:has(input:checked),
.fc-method.is-on {
	background: rgba(15, 118, 110, 0.05);
	background: color-mix(in srgb, var(--fc-accent, #0f766e) 6%, var(--fc-surface));
	border-color: var(--fc-accent, #0f766e);
	box-shadow: 0 0 0 1px var(--fc-accent, #0f766e);
}

.fc-method:has(input:checked) .fc-method-body::before,
.fc-method.is-on .fc-method-body::before,
.fc-method input:checked ~ .fc-method-body::before {
	border-color: var(--fc-accent, #0f766e);
	border-width: 6px;
}

/* === Order Summary === */
.fc-summary-title {
	color: var(--fc-header, var(--fc-text));
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	margin: 0 0 14px;
}

.fc-summary-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fc-summary-item {
	align-items: flex-start;
	border-bottom: 1px dashed var(--fc-border);
	display: flex;
	font-size: 14px;
	gap: 10px;
	padding: 10px 0;
}

.fc-summary-item.is-entering {
	animation: fc-fade-slide-in 0.25s ease both;
}

.fc-item-name {
	flex: 1;
	min-width: 0;
}

.fc-item-plan {
	color: var(--fc-muted);
	display: block;
	font-size: 12px;
	font-style: normal;
	margin-top: 2px;
}

.fc-item-qty {
	color: var(--fc-muted);
	flex: 0 0 auto;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.fc-item-amount {
	flex: 0 0 auto;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	white-space: nowrap;
}

/* === Coupon === */
.fc-coupon-row {
	margin-top: 16px;
}

.fc-coupon {
	display: block;
}

.fc-coupon-controls {
	display: flex;
}

.fc-checkout .fc-coupon-controls input {
	border-bottom-right-radius: 0;
	border-right: 0;
	border-top-right-radius: 0;
	flex: 1;
	font-weight: 600;
	letter-spacing: 0.04em;
	min-width: 0;
	position: relative;
}

.fc-checkout .fc-coupon-controls input:focus {
	z-index: 1;
}

.fc-checkout .fc-coupon-controls input[readonly] {
	background: var(--fc-surface-2);
	color: var(--fc-muted);
}

.fc-coupon-apply {
	background: transparent;
	border: 1.5px solid var(--fc-accent, #0f766e);
	border-radius: 0 var(--fc-radius-sm) var(--fc-radius-sm) 0;
	color: var(--fc-accent, #0f766e);
	cursor: pointer;
	flex: 0 0 auto;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	min-height: 46px;
	padding: 0 16px;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fc-coupon-apply:hover {
	background: rgba(15, 118, 110, 0.08);
	background: color-mix(in srgb, var(--fc-accent, #0f766e) 10%, transparent);
}

.fc-coupon-apply:disabled {
	cursor: default;
	opacity: 0.6;
}

.fc-coupon-apply.is-remove {
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
}

.fc-coupon-status {
	font-size: 12.5px;
	font-weight: 600;
	margin: 8px 0 0;
}

.fc-coupon-status.is-valid {
	color: var(--fc-success);
}

.fc-coupon-status.is-valid::before {
	content: "\2713 ";
	font-weight: 800;
}

.fc-coupon-status.is-invalid {
	color: var(--fc-error);
}

/* === Summary Lines & Total === */
.fc-summary-lines {
	display: grid;
	gap: 8px;
	margin: 14px 0 0;
}

.fc-line {
	display: flex;
	font-size: 13.5px;
	justify-content: space-between;
	margin: 0;
}

.fc-line dt {
	color: var(--fc-muted);
	font-weight: 500;
	margin: 0;
}

.fc-line dd {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	margin: 0;
}

.fc-line-discount dd {
	color: var(--fc-success);
}

.fc-summary {
	margin-top: 14px;
}

.fc-summary-total {
	align-items: center;
	border-top: 1px solid var(--fc-border);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding-top: 14px;
}

.fc-summary-total > div > span {
	font-size: 15px;
	font-weight: 700;
}

.fc-total-note {
	color: var(--fc-muted);
	display: block;
	font-size: 12px;
	margin-top: 2px;
}

.fc-total {
	color: var(--fc-header, var(--fc-text));
	font-size: 18px;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	white-space: nowrap;
}

.fc-total.is-changed {
	animation: fc-tick 0.35s ease;
}

/* === Button === */
.fc-button {
	align-items: center;
	background: var(--fc-button, #111827);
	border: 0;
	border-radius: var(--fc-radius-sm);
	color: var(--fc-button-text, #ffffff);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	gap: 2px;
	justify-content: center;
	letter-spacing: 0.01em;
	line-height: 1.2;
	margin-top: 18px;
	min-height: 52px;
	padding: 14px 20px;
	position: relative;
	transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.fc-button:hover {
	box-shadow: 0 10px 24px -10px var(--fc-button, #111827);
	color: var(--fc-button-text, #ffffff);
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.fc-button:active {
	box-shadow: none;
	transform: translateY(0) scale(0.99);
}

.fc-button:disabled {
	box-shadow: none;
	cursor: default;
	filter: none;
	opacity: 0.7;
	transform: none;
}

.fc-button-line {
	align-items: center;
	display: inline-flex;
	gap: 8px;
	justify-content: center;
}

.fc-button-icon.dashicons {
	font-size: 18px;
	height: 18px;
	line-height: 18px;
	width: 18px;
}

.fc-button small {
	display: block;
	font-size: 12px;
	font-weight: 500;
	opacity: 0.85;
}

.fc-button.is-loading {
	pointer-events: none;
}

.fc-button.is-loading .fc-button-line,
.fc-button.is-loading small {
	opacity: 0.65;
}

.fc-button-spinner {
	animation: fc-spin 0.7s linear infinite;
	border: 2.5px solid rgba(255, 255, 255, 0.35);
	border-color: color-mix(in srgb, var(--fc-button-text, #ffffff) 35%, transparent);
	border-radius: 50%;
	border-top-color: var(--fc-button-text, #ffffff);
	height: 18px;
	margin-top: -9px;
	position: absolute;
	right: 18px;
	top: 50%;
	width: 18px;
}

.fc-button.is-loading .fc-button-spinner {
	display: block;
}

/* === Trust & Badges === */
.fc-trust {
	align-items: center;
	color: var(--fc-muted);
	display: flex;
	font-size: 13px;
	gap: 7px;
	justify-content: center;
	margin: 14px 0 0;
}

.fc-trust-lock {
	flex: 0 0 auto;
	height: 14px;
	width: 14px;
}

.fc-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 12px;
}

.fc-badge {
	align-items: center;
	border: 1px solid var(--fc-border);
	border-radius: 6px;
	color: var(--fc-muted);
	display: inline-flex;
	filter: grayscale(1);
	font-size: 11px;
	font-weight: 700;
	gap: 5px;
	height: 26px;
	letter-spacing: 0.04em;
	opacity: 0.85;
	padding: 0 9px;
	white-space: nowrap;
}

.fc-badge svg {
	display: block;
	height: 14px;
	width: auto;
}

.fc-form-footer {
	color: var(--fc-muted, #4b5563);
	font-size: 13px;
	margin-top: 16px;
	text-align: center;
}

.fc-form-footer a {
	color: var(--fc-accent, #0f766e);
}

/* === Theme Details: Midnight === */
.fc-theme-midnight .fc-checkout input[type="text"],
.fc-theme-midnight .fc-checkout input[type="email"],
.fc-theme-midnight .fc-checkout input[type="tel"],
.fc-theme-midnight .fc-checkout input[type="number"],
.fc-theme-midnight .fc-checkout input[type="url"],
.fc-theme-midnight .fc-checkout input[type="password"],
.fc-theme-midnight .fc-checkout select,
.fc-theme-midnight .fc-checkout textarea {
	background: var(--fc-surface-2);
	border-color: var(--fc-border);
}

.fc-theme-midnight .fc-checkout input:-webkit-autofill,
.fc-theme-midnight .fc-checkout textarea:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #1e293b inset;
	-webkit-text-fill-color: #f1f5f9;
	caret-color: #f1f5f9;
}

.fc-theme-midnight .fc-plan,
.fc-theme-midnight .fc-method {
	background: rgba(255, 255, 255, 0.02);
}

.fc-theme-midnight .fc-plan-body::before,
.fc-theme-midnight .fc-method-body::before,
.fc-theme-midnight .fc-bump-body::before {
	background: var(--fc-surface-2);
}

.fc-theme-midnight .fc-bump {
	background: var(--fc-bump-bg, rgba(45, 212, 191, 0.07));
}

.fc-theme-midnight .fc-qty-wrap {
	background: var(--fc-surface-2);
}

.fc-theme-midnight .fc-qty-btn {
	background: rgba(255, 255, 255, 0.06);
}

.fc-theme-midnight .fc-qty-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--fc-accent, #2dd4bf);
}

.fc-theme-midnight .fc-checkout .fc-coupon-controls input[readonly] {
	background: rgba(255, 255, 255, 0.04);
}

.fc-theme-midnight .fc-coupon-apply.is-remove {
	background: rgba(220, 38, 38, 0.16);
	border-color: rgba(248, 113, 113, 0.4);
	color: #fca5a5;
}

.fc-theme-midnight .fc-layout-card .fc-order-summary,
.fc-theme-midnight .fc-layout-minimal .fc-order-summary {
	background: var(--fc-surface-2);
	border-color: var(--fc-border);
}

.fc-theme-midnight .fc-badge {
	opacity: 0.7;
}

.fc-theme-midnight .fc-checkout .fc-notice {
	background: var(--fc-surface-2);
	border-color: var(--fc-border);
	color: var(--fc-text);
}

/* === Theme Details: Glass === */
.fc-theme-glass .fc-panel {
	box-shadow: 0 8px 32px rgba(31, 38, 135, 0.14);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.fc-theme-glass {
		--fc-surface: rgba(255, 255, 255, 0.72);
		--fc-surface-2: rgba(255, 255, 255, 0.5);
		--fc-border: rgba(255, 255, 255, 0.55);
		--fc-border-strong: rgba(100, 116, 139, 0.4);
	}

	.fc-theme-glass .fc-panel,
	.fc-theme-glass .fc-layout-card .fc-order-summary,
	.fc-theme-glass .fc-layout-minimal .fc-order-summary,
	.fc-theme-glass .fc-layout-split .fc-aside {
		-webkit-backdrop-filter: blur(14px) saturate(1.4);
		backdrop-filter: blur(14px) saturate(1.4);
	}

	.fc-theme-glass .fc-checkout input[type="text"],
	.fc-theme-glass .fc-checkout input[type="email"],
	.fc-theme-glass .fc-checkout input[type="tel"],
	.fc-theme-glass .fc-checkout input[type="number"],
	.fc-theme-glass .fc-checkout input[type="url"],
	.fc-theme-glass .fc-checkout input[type="password"],
	.fc-theme-glass .fc-checkout select,
	.fc-theme-glass .fc-checkout textarea {
		background: rgba(255, 255, 255, 0.66);
	}

	.fc-theme-glass .fc-plan,
	.fc-theme-glass .fc-method {
		background: rgba(255, 255, 255, 0.5);
	}

	.fc-theme-glass .fc-qty-btn {
		background: rgba(255, 255, 255, 0.45);
	}

	.fc-theme-glass .fc-badge {
		background: rgba(255, 255, 255, 0.4);
	}
}

/* === Theme Details: Bold === */
.fc-theme-bold .fc-panel {
	border-width: 2px;
}

.fc-theme-bold .fc-product-head h3 {
	font-size: clamp(24px, 3.5vw, 30px);
	font-weight: 900;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.fc-theme-bold .fc-fields-heading,
.fc-theme-bold .fc-summary-title {
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.fc-theme-bold .fc-checkout input[type="text"],
.fc-theme-bold .fc-checkout input[type="email"],
.fc-theme-bold .fc-checkout input[type="tel"],
.fc-theme-bold .fc-checkout input[type="number"],
.fc-theme-bold .fc-checkout input[type="url"],
.fc-theme-bold .fc-checkout input[type="password"],
.fc-theme-bold .fc-checkout select,
.fc-theme-bold .fc-checkout textarea {
	border-width: 2px;
}

.fc-theme-bold .fc-checkout input[type="text"]:focus,
.fc-theme-bold .fc-checkout input[type="email"]:focus,
.fc-theme-bold .fc-checkout input[type="tel"]:focus,
.fc-theme-bold .fc-checkout input[type="number"]:focus,
.fc-theme-bold .fc-checkout input[type="url"]:focus,
.fc-theme-bold .fc-checkout input[type="password"]:focus,
.fc-theme-bold .fc-checkout select:focus,
.fc-theme-bold .fc-checkout textarea:focus {
	border-color: #111111;
	box-shadow: 3px 3px 0 var(--fc-accent, #0f766e);
}

.fc-theme-bold .fc-plan,
.fc-theme-bold .fc-method,
.fc-theme-bold .fc-qty-wrap {
	border-width: 2px;
}

.fc-theme-bold .fc-plan:hover,
.fc-theme-bold .fc-method:hover {
	box-shadow: 4px 4px 0 #111111;
	transform: translate(-2px, -2px);
}

.fc-theme-bold .fc-plan:has(.fc-plan-input:checked),
.fc-theme-bold .fc-plan.is-on,
.fc-theme-bold .fc-method:has(input:checked),
.fc-theme-bold .fc-method.is-on {
	box-shadow: 4px 4px 0 var(--fc-accent, #0f766e);
}

.fc-theme-bold .fc-bump {
	border-color: #111111;
}

.fc-theme-bold .fc-bump:has(.fc-bump-input:checked),
.fc-theme-bold .fc-bump.is-on {
	box-shadow: 4px 4px 0 var(--fc-accent, #0f766e);
}

.fc-theme-bold .fc-layout-card .fc-order-summary,
.fc-theme-bold .fc-layout-minimal .fc-order-summary {
	border: 2px solid #111111;
	box-shadow: 6px 6px 0 #111111;
}

.fc-theme-bold .fc-layout-split .fc-aside {
	border-left-width: 2px;
}

.fc-theme-bold .fc-button {
	border: 2px solid #111111;
	box-shadow: 4px 4px 0 #111111;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.fc-theme-bold .fc-button:hover {
	box-shadow: 6px 6px 0 #111111;
	filter: none;
	transform: translate(-2px, -2px);
}

.fc-theme-bold .fc-button:active {
	box-shadow: 1px 1px 0 #111111;
	transform: translate(2px, 2px);
}

.fc-theme-bold .fc-progress-num {
	border-color: #111111;
	color: #111111;
}

.fc-theme-bold .fc-coupon-apply {
	border-width: 2px;
}

.fc-theme-bold .fc-badge {
	border-color: #111111;
	color: #111111;
	filter: none;
	opacity: 1;
}

/* === Theme Details: Soft === */
.fc-theme-soft .fc-product-head h3 {
	color: var(--fc-header, #574b75);
	font-weight: 700;
}

.fc-theme-soft .fc-layout-card .fc-order-summary,
.fc-theme-soft .fc-layout-minimal .fc-order-summary {
	background: linear-gradient(165deg, #fdf7f2 0%, #f6f2fb 100%);
	border-color: #efe7f4;
}

.fc-theme-soft .fc-layout-split .fc-aside {
	background: linear-gradient(180deg, #fdf7f2 0%, #f6f2fb 100%);
	border-left-color: #efe7f4;
}

.fc-theme-soft .fc-plan,
.fc-theme-soft .fc-method {
	border-radius: 14px;
}

.fc-theme-soft .fc-bump {
	border-radius: 16px;
}

.fc-theme-soft .fc-button {
	border-radius: 16px;
	box-shadow: 0 10px 24px -10px rgba(244, 114, 182, 0.35);
}

.fc-theme-soft .fc-button:hover {
	box-shadow: 0 14px 30px -10px rgba(244, 114, 182, 0.45);
}

.fc-theme-soft .fc-qty-wrap {
	border-radius: 12px;
}

.fc-theme-soft .fc-summary-item {
	border-bottom-color: #efe7f4;
}

.fc-theme-soft .fc-summary-total {
	border-top-color: #efe7f4;
}

/* === Keyframes === */
@keyframes fc-fade-slide-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fc-pop {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.015);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes fc-tick {
	0% {
		transform: scale(1);
	}
	40% {
		color: var(--fc-accent, #0f766e);
		transform: scale(1.06);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes fc-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes fc-bump-glow {
	0%,
	100% {
		box-shadow: 0 0 0 0 transparent;
	}
	50% {
		border-color: var(--fc-accent, #0f766e);
		box-shadow: 0 0 0 4px var(--fc-ring);
	}
}

/* === Focus === */
.fc-checkout-shell button:focus-visible,
.fc-checkout-shell a:focus-visible,
.fc-checkout-shell input[type="checkbox"]:focus-visible,
.fc-checkout-shell input[type="radio"]:focus-visible {
	outline: 2px solid var(--fc-accent, #0f766e);
	outline-offset: 2px;
}

.fc-plan:has(.fc-plan-input:focus-visible),
.fc-bump:has(.fc-bump-input:focus-visible),
.fc-method:has(input:focus-visible) {
	outline: 2px solid var(--fc-accent, #0f766e);
	outline-offset: 2px;
}

.fc-plan-input:focus-visible ~ .fc-plan-body::before,
.fc-bump-input:focus-visible ~ .fc-bump-body::before,
.fc-method input:focus-visible ~ .fc-method-body::before {
	box-shadow: 0 0 0 4px var(--fc-ring);
}

/* === Responsive: 860px === */
@media (max-width: 860px) {
	.fc-layout-split .fc-panel {
		display: block;
	}

	.fc-layout-split .fc-main {
		padding: clamp(18px, 4vw, 26px);
	}

	.fc-layout-split .fc-aside {
		border-left: 0;
		border-radius: 0 0 var(--fc-radius) var(--fc-radius);
		border-top: 1px solid var(--fc-border);
	}

	.fc-layout-split .fc-order-summary {
		position: static;
	}

	.fc-checkout .fc-button {
		bottom: 12px;
		box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.08), 0 10px 24px -10px var(--fc-button, #111827);
		position: sticky;
		z-index: 5;
	}
}

/* === Responsive: 560px === */
@media (max-width: 560px) {
	.fc-panel {
		padding: 16px;
	}

	.fc-layout-split .fc-main,
	.fc-layout-split .fc-aside {
		padding: 16px;
	}

	.fc-layout-card .fc-order-summary,
	.fc-layout-minimal .fc-order-summary {
		padding: 16px;
	}

	.fc-field-grid {
		grid-template-columns: 1fr;
	}

	.fc-field-grid .fc-size-large {
		grid-column: auto;
	}

	.fc-field-grid .fc-size-small {
		max-width: none;
	}

	.fc-qty-wrap {
		display: flex;
		width: 100%;
	}

	.fc-checkout .fc-qty-wrap .fc-qty {
		flex: 1;
		width: auto;
	}

	.fc-progress-label {
		display: none;
	}

	.fc-progress {
		margin-bottom: 20px;
	}

	.fc-product-head {
		display: block;
	}

	.fc-price {
		margin-top: 8px;
		white-space: normal;
	}

	.fc-bump {
		flex-wrap: wrap;
	}

	.fc-bump-image {
		height: 56px;
		width: 56px;
	}

	.fc-bump-image-top .fc-bump-image {
		height: auto;
		width: 100%;
	}

	.fc-method-mark svg {
		height: 22px;
	}
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
	.fc-checkout-shell,
	.fc-checkout-shell *,
	.fc-checkout-shell *::before,
	.fc-checkout-shell *::after,
	.fc-notice,
	.fc-receipt *,
	.fc-account *,
	.fc-store-grid * {
		animation: none !important;
		transition: none !important;
	}

	.fc-checkout-shell {
		scroll-behavior: auto;
	}
}

/* === Legacy: Notices (standalone-safe) === */
.fc-notice {
	background: var(--fc-surface, #ffffff);
	border: 1px solid var(--fc-border, #e2e8f0);
	border-left: 4px solid var(--fc-accent, #0f766e);
	border-radius: var(--fc-radius-sm, 8px);
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	box-sizing: border-box;
	color: var(--fc-text, #0f172a);
	font-size: 14px;
	line-height: 1.5;
	margin: 16px 0;
	padding: 14px 16px;
}

.fc-notice.fc-error {
	border-left-color: var(--fc-error, #dc2626);
}

.fc-notice.fc-success {
	border-left-color: var(--fc-success, #059669);
}

.fc-redirect-notice {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #0f766e;
	border-radius: 8px;
	box-sizing: border-box;
	color: #334155;
	font-size: 14px;
	margin: 16px 0;
	padding: 14px 16px;
}

/* === Legacy: Receipt & Account === */
.fc-receipt-page {
	box-sizing: border-box;
	margin: 40px auto;
	max-width: 900px;
	padding: 0 20px;
}

.fc-receipt,
.fc-account {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
	box-sizing: border-box;
	color: #0f172a;
	line-height: 1.55;
	max-width: 760px;
	padding: clamp(20px, 4vw, 30px);
	width: 100%;
}

.fc-receipt *,
.fc-account * {
	box-sizing: border-box;
}

.fc-receipt h2,
.fc-account h2 {
	color: #0f172a;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.01em;
	margin: 0 0 8px;
}

.fc-receipt h3,
.fc-account h3 {
	color: #0f172a;
	font-size: 17px;
	font-weight: 700;
	margin: 22px 0 8px;
}

.fc-receipt p,
.fc-account p {
	color: #475569;
	margin: 8px 0;
}

.fc-receipt-logo {
	display: block;
	height: auto;
	margin: 0 0 20px;
	max-height: 90px;
	max-width: 220px;
	object-fit: contain;
	width: auto;
}

.fc-receipt table,
.fc-account table {
	border-collapse: collapse;
	margin-top: 16px;
	width: 100%;
}

.fc-receipt th,
.fc-account th {
	border-bottom: 1px solid #e2e8f0;
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 10px 12px;
	text-align: left;
	text-transform: uppercase;
}

.fc-receipt td,
.fc-account td {
	border-bottom: 1px solid #eef2f7;
	font-variant-numeric: tabular-nums;
	padding: 12px;
	text-align: left;
	vertical-align: top;
}

.fc-receipt tbody tr:hover td,
.fc-account tbody tr:hover td {
	background: #f8fafc;
}

.fc-receipt tfoot th {
	border-bottom: 0;
	color: #0f172a;
	font-size: 16px;
	letter-spacing: 0;
	text-transform: none;
}

.fc-receipt tfoot td {
	border-bottom: 0;
	font-size: 16px;
	font-weight: 800;
}

.fc-receipt a,
.fc-account a {
	color: #0f766e;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* === Legacy: Downloads & License === */
.fc-downloads {
	margin-top: 24px;
}

.fc-downloads ul {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.fc-downloads li {
	align-items: baseline;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: space-between;
	margin: 8px 0;
	padding: 11px 14px;
}

.fc-downloads li a {
	color: #0f766e;
	font-weight: 700;
	text-decoration: none;
}

.fc-downloads li a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fc-downloads li.is-locked span {
	color: #94a3b8;
	font-weight: 700;
}

.fc-downloads li small,
.fc-license-box small {
	color: #64748b;
}

.fc-access-instructions,
.fc-license-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-sizing: border-box;
	margin-top: 20px;
	padding: 18px;
}

.fc-license-box h3 {
	margin-top: 0;
}

.fc-license-box code {
	background: #0f172a;
	border-radius: 6px;
	color: #ffffff;
	display: inline-block;
	font-size: 13px;
	letter-spacing: 0.06em;
	padding: 6px 10px;
}

/* === Legacy: Store === */
.fc-store-grid {
	box-sizing: border-box;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.fc-store-grid * {
	box-sizing: border-box;
}

.fc-store-product {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	color: #0f172a;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 18px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.fc-store-product:hover {
	border-color: #cbd5e1;
	box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.18);
	transform: translateY(-3px);
}

.fc-store-image {
	display: block;
	margin: -18px -18px 14px;
}

.fc-store-product img {
	aspect-ratio: 16 / 10;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.fc-store-product h3 {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	margin: 10px 0 6px;
}

.fc-store-product p {
	color: #64748b;
	font-size: 14px;
	margin: 0 0 10px;
}

.fc-store-price {
	color: var(--fc-accent, #0f766e);
	font-size: 16px;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
}

.fc-store-button {
	background: var(--fc-button, #111827);
	border-radius: 10px;
	color: var(--fc-button-text, #ffffff);
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	margin-top: 14px;
	padding: 11px 16px;
	text-align: center;
	text-decoration: none;
	transition: filter 0.15s ease, transform 0.15s ease;
}

.fc-store-button:hover {
	color: var(--fc-button-text, #ffffff);
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.fc-store-button:focus-visible {
	outline: 2px solid var(--fc-accent, #0f766e);
	outline-offset: 2px;
}

/* === Print === */
@media print {
	.fc-receipt,
	.fc-receipt-page,
	.fc-account,
	.fc-store-product,
	.fc-panel,
	.fc-order-summary,
	.fc-button,
	.fc-store-button {
		box-shadow: none !important;
	}

	.fc-receipt,
	.fc-account {
		border-color: #d1d5db;
	}

	.fc-receipt-page {
		margin: 0 auto;
	}

	.fc-receipt tbody tr:hover td,
	.fc-account tbody tr:hover td {
		background: transparent;
	}
}
