/* Metz Feestdagen bestelformulier. Neemt het lettertype van het thema over. */
.metz-fd {
	--mfd-accent: #0b4f6c;
	--mfd-accent-dark: #083a50;
	--mfd-border: #dcdfe3;
	--mfd-soft: #f4f7f9;
	--mfd-text: #1f2a30;
	--mfd-muted: #5f6b73;
	--mfd-radius: 10px;
	color: var(--mfd-text);
	max-width: 860px;
	margin: 0 auto;
	box-sizing: border-box;
}
.metz-fd *, .metz-fd *::before, .metz-fd *::after { box-sizing: border-box; }
.metz-fd__title { margin: 0 0 .4em; }
.metz-fd__intro { color: var(--mfd-muted); margin-bottom: 1.5em; }
.metz-fd__intro p { margin: 0 0 .6em; }

.metz-fd__step { border: 0; padding: 0; margin: 0 0 2em; min-width: 0; }
.metz-fd__step legend { font-size: 1.25em; font-weight: 700; margin-bottom: .8em; padding: 0; display: flex; align-items: center; gap: .5em; }
.metz-fd__num { display: inline-flex; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--mfd-accent); color: #fff; font-size: .8em; align-items: center; justify-content: center; }

.metz-fd__products { display: grid; gap: 12px; }
.metz-fd__product { display: flex; gap: 16px; align-items: center; border: 1px solid var(--mfd-border); border-radius: var(--mfd-radius); padding: 14px 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.metz-fd__product.is-selected { border-color: var(--mfd-accent); box-shadow: 0 0 0 1px var(--mfd-accent); }
.metz-fd__img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; flex: none; }
.metz-fd__pinfo { flex: 1; min-width: 0; }
.metz-fd__pinfo h3 { margin: 0 0 .2em; font-size: 1.05em; }
.metz-fd__pinfo p { margin: 0 0 .35em; color: var(--mfd-muted); font-size: .92em; line-height: 1.4; }
.metz-fd__price { font-weight: 700; }
.metz-fd__price span { font-weight: 400; color: var(--mfd-muted); font-size: .9em; }

.metz-fd__qty { display: grid; grid-template-columns: 38px 52px 38px; grid-template-rows: auto auto; gap: 4px 0; align-items: center; flex: none; }
.metz-fd__qty small { grid-column: 1 / -1; text-align: center; color: var(--mfd-muted); font-size: .78em; }
.metz-fd__qty button { width: 38px; height: 38px; border: 1px solid var(--mfd-border); background: var(--mfd-soft); color: var(--mfd-text); font-size: 1.2em; line-height: 1; cursor: pointer; padding: 0; border-radius: 0; }
.metz-fd__qty button:first-child { border-radius: 8px 0 0 8px; }
.metz-fd__qty button:nth-child(3) { border-radius: 0 8px 8px 0; }
.metz-fd__qty button:hover { background: #e7edf1; }
.metz-fd__qty input { width: 52px; height: 38px; border: 1px solid var(--mfd-border); border-left: 0; border-right: 0; text-align: center; font-size: 1em; padding: 0; margin: 0; border-radius: 0; -moz-appearance: textfield; appearance: textfield; background: #fff; color: var(--mfd-text); }
.metz-fd__qty input::-webkit-outer-spin-button, .metz-fd__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.metz-fd__label { display: block; font-weight: 600; margin: 1em 0 .5em; }
.metz-fd__choices { display: flex; flex-wrap: wrap; gap: 10px; }
.metz-fd__choice { position: relative; cursor: pointer; }
.metz-fd__choice input { position: absolute; opacity: 0; pointer-events: none; }
.metz-fd__choice > span { display: flex; flex-direction: column; border: 1px solid var(--mfd-border); border-radius: var(--mfd-radius); padding: 10px 14px; background: #fff; min-width: 150px; transition: border-color .15s, background .15s; }
.metz-fd__choice small { color: var(--mfd-muted); font-size: .8em; margin-top: 2px; }
.metz-fd__choice input:checked + span { border-color: var(--mfd-accent); background: var(--mfd-soft); box-shadow: 0 0 0 1px var(--mfd-accent); }
.metz-fd__choice input:focus-visible + span { outline: 2px solid var(--mfd-accent); outline-offset: 2px; }
.metz-fd__choice input:disabled + span { opacity: .45; cursor: not-allowed; }
.metz-fd__choice[hidden] { display: none; }
.metz-fd__hint { color: var(--mfd-muted); font-size: .9em; }

.metz-fd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.metz-fd__grid label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .95em; }
.metz-fd__full { grid-column: 1 / -1; }
.metz-fd__input { width: 100%; padding: 10px 12px; border: 1px solid var(--mfd-border); border-radius: 8px; font: inherit; font-weight: 400; background: #fff; color: var(--mfd-text); }
.metz-fd__input:focus { outline: none; border-color: var(--mfd-accent); box-shadow: 0 0 0 2px rgba(11, 79, 108, .15); }
select.metz-fd__input { max-width: 320px; }
.metz-fd__slotwrap[hidden] { display: none; }
.metz-fd__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.metz-fd__summary { background: var(--mfd-soft); border-radius: var(--mfd-radius); padding: 20px; }
.metz-fd__summary h3 { margin: 0 0 .6em; }
.metz-fd__lines { list-style: none; margin: 0 0 .8em; padding: 0; }
.metz-fd__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; margin: 0; }
.metz-fd__lines li span:last-child { white-space: nowrap; }
.metz-fd__empty { color: var(--mfd-muted); }
.metz-fd__total { display: flex; justify-content: space-between; border-top: 1px solid var(--mfd-border); padding-top: 10px; font-size: 1.15em; }
.metz-fd__terms { display: block; margin-top: 14px; font-size: .95em; }
.metz-fd__errors { margin-top: 14px; padding: 10px 14px; background: #fdecea; color: #8a1c1c; border-radius: 8px; font-size: .95em; }
.metz-fd__submit { display: block; width: 100%; margin-top: 16px; padding: 14px 20px; border: 0; border-radius: 8px; background: var(--mfd-accent); color: #fff; font: inherit; font-weight: 700; font-size: 1.05em; cursor: pointer; }
.metz-fd__submit:hover { background: var(--mfd-accent-dark); }
.metz-fd__submit:disabled { opacity: .6; cursor: wait; }
.metz-fd__secure { text-align: center; color: var(--mfd-muted); font-size: .85em; margin: 10px 0 0; }

.metz-fd__notice { padding: 14px 18px; border-radius: 8px; background: var(--mfd-soft); margin-bottom: 1.5em; }
.metz-fd__notice--warn { background: #fff6e0; }
.metz-fd__thanks h2 { margin-top: 0; }

@media (max-width: 600px) {
	.metz-fd__product { flex-wrap: wrap; }
	.metz-fd__img { width: 64px; height: 64px; }
	.metz-fd__qty { margin-left: auto; }
	.metz-fd__grid { grid-template-columns: 1fr; }
	.metz-fd__choice { flex: 1 1 100%; }
}
