/**
 * Landing page delivery form.
 *
 * Colours are --lcf-* variables so the Elementor Style tab can restyle the
 * form without touching layout. Everything is scoped under .lcf.
 */

.lcf {
	--lcf-accent: #d50f2d;
	--lcf-text: #111827;
	--lcf-muted: #5f6672;
	--lcf-background: #ffffff;
	--lcf-border: #e3e5e8;
	--lcf-input: #ffffff;
	--lcf-radius: 14px;
	--lcf-control-radius: 8px;
	--lcf-ease: cubic-bezier(0.2, 0, 0, 1);

	display: grid;
	gap: 16px;
	margin: 0;
	padding: 22px;
	color: var(--lcf-text);
	background: var(--lcf-background);
	border: 1px solid var(--lcf-border);
	border-radius: var(--lcf-radius);
	font-size: 15px;
	line-height: 1.5;
}

.lcf *,
.lcf *::before,
.lcf *::after {
	box-sizing: border-box;
}

.lcf [hidden] {
	display: none !important;
}

.lcf .lcf__title {
	margin: 0;
	padding: 0;
	color: inherit;
	font-size: 1.25em;
	font-weight: 700;
	line-height: 1.3;
}

.lcf .lcf__field {
	display: grid;
	gap: 6px;
}

.lcf .lcf__label {
	color: var(--lcf-text);
	font-size: 0.9em;
	font-weight: 600;
}

.lcf .lcf__input {
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 12px 14px;
	color: var(--lcf-text);
	background: var(--lcf-input);
	border: 1px solid var(--lcf-border);
	border-radius: var(--lcf-control-radius);
	box-shadow: none;
	font: inherit;
	line-height: 1.4;
}

.lcf .lcf__input--address {
	min-height: 96px;
	resize: vertical;
}

.lcf .lcf__input::placeholder {
	color: var(--lcf-muted);
	opacity: 1;
}

/* Replaces the parent theme's blue dotted focus ring. */
.lcf .lcf__input:focus,
.lcf .lcf__input:focus-visible {
	border-color: var(--lcf-accent);
	outline: 0;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--lcf-accent) 15%, transparent);
}

.lcf .lcf__field.has-error .lcf__input {
	border-color: var(--lcf-accent);
}

.lcf .lcf__error {
	margin: 0;
	color: var(--lcf-accent);
	font-size: 0.9em;
	font-weight: 600;
}

.lcf .lcf-placeholder {
	padding: 24px;
	color: #5f6672;
	text-align: center;
	background: #f7f8fa;
	border: 1px dashed #d1d5db;
	border-radius: 14px;
}

.lcf .lcf-placeholder p {
	margin: 0;
}

@media (max-width: 640px) {
	.lcf {
		padding: 18px;
	}
}
