/* Foundry Kit front-end: quote form, demo switcher, mobile call bar. Uses the theme's tokens. */
.fxk-form { display: grid; gap: 0.25rem; }
.fxk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.fxk-field { margin: 0 0 0.9rem; display: grid; gap: 0.35rem; }
.fxk-field label { font-weight: 600; font-size: 0.9375rem; }
.fxk-form input:not([type="hidden"]),
.fxk-form select,
.fxk-form textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-size: 1rem;
	padding: 0.8rem 0.95rem;
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--base);
	border: 1.5px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--sm, 8px);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fxk-form input:focus,
.fxk-form select:focus,
.fxk-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent);
}
.fxk-small { font-size: 0.8125rem; color: var(--wp--preset--color--muted); margin: 0.25rem 0 0.75rem; }
.fxk-submit { width: 100%; cursor: pointer; border: 0; }
.fxk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fxk-notice { padding: 1rem 1.1rem; border-radius: var(--wp--custom--radius--sm, 8px); margin-bottom: 1.25rem; line-height: 1.5; }
.fxk-notice strong { display: block; }
.fxk-notice--ok { background: color-mix(in srgb, var(--wp--preset--color--accent) 12%, var(--wp--preset--color--base)); border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent); }
.fxk-notice--err { background: #fdecea; color: #7a1c13; border: 1px solid #f3b5ad; }
@media (max-width: 600px) { .fxk-row { grid-template-columns: 1fr; } }

/* Demo skin switcher */
.fxk-switcher {
	position: fixed; z-index: 9999; left: 50%; bottom: 1rem; transform: translateX(-50%);
	display: flex; align-items: center; gap: 0.25rem; padding: 0.35rem;
	background: #14171a; color: #fff; border-radius: 999px;
	box-shadow: 0 20px 40px -12px rgba(0,0,0,.45);
	font: 600 0.8125rem/1 "Plus Jakarta Sans", system-ui, sans-serif;
	max-width: calc(100vw - 2rem); overflow-x: auto;
}
.fxk-switcher > span { padding: 0 0.6rem 0 0.75rem; opacity: 0.6; white-space: nowrap; }
.fxk-switcher a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.75rem; border-radius: 999px; color: #fff; text-decoration: none; white-space: nowrap; }
.fxk-switcher a:hover { background: rgba(255,255,255,.1); }
.fxk-switcher a[aria-current] { background: #fff; color: #14171a; }
.fxk-switcher i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); }

/* Mobile call bar */
.fxk-callbar { display: none; }
@media (max-width: 781px) {
	.fxk-callbar {
		position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
		display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
		padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
		background: var(--wp--preset--color--base); border-top: 1px solid var(--wp--preset--color--line);
	}
	.fxk-callbar a {
		display: flex; justify-content: center; align-items: center; gap: 0.4rem;
		padding: 0.85rem; border-radius: var(--wp--custom--button-radius, 10px);
		font-weight: 700; text-decoration: none; font-size: 0.9375rem;
	}
	.fxk-callbar .fxk-call { background: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
	.fxk-callbar .fxk-quote { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-ink); }
	body.has-fxk-callbar { padding-bottom: 4.5rem; }
	body.has-fxk-callbar .fxk-switcher { bottom: 5.25rem; }
}
