/* Matches the site: Julius Sans One headings, charcoal buttons, Montserrat for form text. */
.wfb-enq {
	--wfb-ink: #2d2e33;
	--wfb-muted: #6b6d74;
	--wfb-line: #d6d6d9;
	--wfb-field: #fff;
	--wfb-selected: #f1f1f2;
	--wfb-error: #b3322b;
	--wfb-warn: #f6ecd2;
	--wfb-display: "Julius Sans One", sans-serif;
	--wfb-text: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	color: var(--wfb-ink);
	font-family: var(--wfb-text);
	font-size: 15px;
	line-height: 1.5;
	max-width: 640px;
}
.wfb-enq * { box-sizing: border-box; }
.wfb-enq p { margin: 0; }

/* progress */
.wfb-enq .wfb-enq__progress { display: flex; gap: 6px; list-style: none; margin: 0 0 28px; padding: 0; }
.wfb-enq .wfb-enq__progress li {
	flex: 1;
	margin: 0;
	padding-top: 10px;
	border-top: 3px solid var(--wfb-line);
	font: 400 12px/1.3 var(--wfb-display);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wfb-muted);
}
.wfb-enq .wfb-enq__progress li.is-on { border-color: var(--wfb-ink); color: var(--wfb-ink); }

.wfb-enq [hidden] { display: none !important; }

/* steps and fields */
.wfb-enq .wfb-enq__step { border: 0; margin: 0; padding: 0; display: grid; gap: 20px; min-width: 0; }
.wfb-enq .wfb-enq__step legend {
	font: 400 22px/1.3 var(--wfb-display);
	letter-spacing: .04em;
	margin: 0 0 20px;
	padding: 0;
}
.wfb-enq .wfb-enq__field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.wfb-enq .wfb-enq__field > label,
.wfb-enq .wfb-enq__label {
	font: 600 12px/1.3 var(--wfb-text);
	letter-spacing: .08em;
	text-transform: uppercase;
	margin: 0;
}
.wfb-enq .wfb-enq__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 540px) { .wfb-enq .wfb-enq__row { grid-template-columns: 1fr; } }

.wfb-enq input[type="text"], .wfb-enq input[type="email"], .wfb-enq input[type="tel"],
.wfb-enq input[type="date"], .wfb-enq select, .wfb-enq textarea {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	font: 400 16px/1.4 var(--wfb-text);
	color: var(--wfb-ink);
	background-color: var(--wfb-field);
	border: 1px solid var(--wfb-line);
	border-radius: 6px;
	box-shadow: none;
}
.wfb-enq select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232d2e33' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.wfb-enq .wfb-enq__money { position: relative; }
.wfb-enq .wfb-enq__money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--wfb-muted); pointer-events: none; }
.wfb-enq .wfb-enq__money input { padding-left: 28px; }
.wfb-enq textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; }
.wfb-enq input[type="file"] { font: 400 14px var(--wfb-text); }
.wfb-enq input[type="file"]:disabled { opacity: .5; }
.wfb-enq .wfb-enq__files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wfb-enq .wfb-enq__files:empty { display: none; }
.wfb-enq .wfb-enq__files li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 12px; border: 1px solid var(--wfb-line); border-radius: 6px; font-size: 14px; }
.wfb-enq .wfb-enq__files span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wfb-enq .wfb-enq__files button { flex: none; margin: 0; padding: 4px 10px; font: 500 13px var(--wfb-text); color: var(--wfb-ink); background: #fff; border: 1px solid var(--wfb-line); border-radius: 999px; cursor: pointer; }
.wfb-enq .wfb-enq__files button:hover { border-color: var(--wfb-ink); }
.wfb-enq input:focus, .wfb-enq select:focus, .wfb-enq textarea:focus { border-color: var(--wfb-ink); outline: none; }
.wfb-enq :focus-visible { outline: 2px solid var(--wfb-ink); outline-offset: 2px; }

/* occasion cards and pills */
.wfb-enq .wfb-enq__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wfb-enq .wfb-enq__card, .wfb-enq .wfb-enq__pill { position: relative; cursor: pointer; margin: 0; }
.wfb-enq .wfb-enq__card input, .wfb-enq .wfb-enq__pill input { position: absolute; opacity: 0; pointer-events: none; }
.wfb-enq .wfb-enq__card span {
	display: block;
	padding: 14px 16px;
	border: 1px solid var(--wfb-line);
	border-radius: 6px;
	font: 500 15px/1.3 var(--wfb-text);
	transition: border-color .15s, background-color .15s;
}
.wfb-enq .wfb-enq__card:hover span, .wfb-enq .wfb-enq__pill:hover span { border-color: var(--wfb-muted); }
.wfb-enq .wfb-enq__card input:checked + span,
.wfb-enq .wfb-enq__pill input:checked + span { border-color: var(--wfb-ink); background: var(--wfb-selected); box-shadow: inset 0 0 0 1px var(--wfb-ink); }
.wfb-enq .wfb-enq__card input:focus-visible + span,
.wfb-enq .wfb-enq__pill input:focus-visible + span { outline: 2px solid var(--wfb-ink); outline-offset: 2px; }

.wfb-enq .wfb-enq__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.wfb-enq .wfb-enq__pill span {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--wfb-line);
	border-radius: 999px;
	font: 400 14px/1.3 var(--wfb-text);
	transition: border-color .15s, background-color .15s;
}

.wfb-enq .wfb-enq__check,
.wfb-enq .wfb-enq__field > .wfb-enq__check { display: flex; gap: 10px; align-items: flex-start; font: 400 14px/1.5 var(--wfb-text); letter-spacing: 0; text-transform: none; color: var(--wfb-muted); margin: 0; cursor: pointer; }
.wfb-enq .wfb-enq__check input { margin: 3px 0 0; flex: none; }
.wfb-enq .wfb-enq__check a { color: var(--wfb-ink); text-decoration: underline; }

/* messages */
.wfb-enq .wfb-enq__hint { font-size: 13px; color: var(--wfb-muted); }
.wfb-enq .wfb-enq__note { font-size: 14px; padding: 10px 12px; border-radius: 6px; background: var(--wfb-warn); }
.wfb-enq .wfb-enq__error { font-size: 13px; line-height: 1.4; color: var(--wfb-error); }
.wfb-enq .has-error input, .wfb-enq .has-error select, .wfb-enq .has-error textarea { border-color: var(--wfb-error); }
.wfb-enq .wfb-enq__banner {
	margin: 0 0 20px;
	padding: 12px 14px;
	border-left: 3px solid var(--wfb-error);
	background: #fbeceb;
	font-size: 14px;
}

.wfb-enq .wfb-enq__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* buttons: same as the site's main buttons (Add to cart, Start enquiry here): Astra global blue, darker blue on hover */
.wfb-enq .wfb-enq__actions { display: flex; gap: 10px; margin-top: 28px; }
.wfb-enq .wfb-enq__btn,
.wfb-enq .wfb-enq__btn:focus {
	flex: 1;
	margin: 0;
	padding: 14px 22px;
	font: 400 16px/1.4 var(--wfb-display);
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
	background: var(--ast-global-color-0, #046bd2);
	border: 1px solid var(--ast-global-color-0, #046bd2);
	border-radius: 4px;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.wfb-enq .wfb-enq__btn:hover,
.wfb-enq .wfb-enq__btn:focus-visible { color: #fff; background: var(--ast-global-color-1, #045cb4); border-color: var(--ast-global-color-1, #045cb4); }
.wfb-enq .wfb-enq__btn:disabled { opacity: .6; cursor: wait; }
.wfb-enq .wfb-enq__btn--ghost,
.wfb-enq .wfb-enq__btn--ghost:focus { flex: 0 0 auto; color: var(--wfb-ink); background: #fff; border-color: var(--wfb-line); }
.wfb-enq .wfb-enq__btn--ghost:hover,
.wfb-enq .wfb-enq__btn--ghost:focus-visible { border-color: var(--wfb-ink); background: var(--wfb-selected); }

/* done */
.wfb-enq .wfb-enq__done { padding: 24px; border: 1px solid var(--wfb-line); border-radius: 6px; background: var(--wfb-selected); display: grid; gap: 8px; }
.wfb-enq .wfb-enq__done h3 { margin: 0; font: 400 20px/1.3 var(--wfb-display); letter-spacing: .04em; }
.wfb-enq .wfb-enq__done:focus { outline: none; }
.wfb-enq .wfb-enq__tasting { display: grid; gap: 14px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--wfb-line); }
.wfb-enq a.wfb-enq__btn { display: block; text-align: center; text-decoration: none; }

@media (prefers-reduced-motion: reduce) { .wfb-enq * { transition: none !important; } }
