/* Contact form: theme palette, rounded fields, deep green button. */
.wd-cf { display: grid; gap: 14px; font-family: var(--theme-font-family, Lexend, sans-serif); }
.wd-cf__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .wd-cf__row { grid-template-columns: 1fr; } }
.wd-cf__f { display: grid; gap: 6px; }
.wd-cf__f span { font-size: 13px; font-weight: 600; color: var(--wd-deep, var(--theme-palette-color-2, #0e3d27)); }
.wd-cf input[type="text"], .wd-cf input[type="email"], .wd-cf input[type="tel"], .wd-cf select, .wd-cf textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 16px;
	border: 1px solid var(--wd-line, var(--theme-palette-color-5, #d3e6d9));
	border-radius: 14px;
	background: var(--wd-white, var(--theme-palette-color-8, #fff));
	font: inherit;
	font-size: 15px;
	color: var(--theme-text-color, #1a1a17);
	box-shadow: none;
}
.wd-cf textarea { resize: vertical; min-height: 130px; }
.wd-cf input:focus, .wd-cf select:focus, .wd-cf textarea:focus {
	outline: 0;
	border-color: var(--wd-accent, var(--theme-palette-color-1, #1e7a4c));
	box-shadow: 0 0 0 3px rgba(30, 122, 76, .18);
}
.wd-cf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wd-cf__btn {
	justify-self: start;
	min-height: 50px;
	padding: 0 30px;
	border: 0;
	border-radius: 999px;
	background: var(--wd-deep, var(--theme-palette-color-2, #0e3d27));
	color: #fff;
	font-family: var(--theme-button-font-family, Montserrat, sans-serif);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform .15s ease, filter .15s ease;
}
.wd-cf__btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
.wd-cf__btn:disabled { opacity: .6; cursor: wait; }
.wd-cf__msg { margin: 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.wd-cf__msg.is-ok { background: var(--wd-soft, var(--theme-palette-color-6, #e4f2e8)); color: var(--wd-deep, var(--theme-palette-color-2, #0e3d27)); }
.wd-cf__msg.is-err { background: #fde8e6; color: #b42318; }

/* equal field heights and alignment regardless of theme input styles */
.wd-cf__f { align-content: start; }
.wd-cf input[type="text"], .wd-cf input[type="email"], .wd-cf input[type="tel"], .wd-cf select {
	height: 52px !important;
	min-height: 0 !important;
	margin: 0 !important;
}
.wd-cf textarea { margin: 0 !important; }
.wd-cf .is-bad { border-color: #b42318 !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, .15) !important; }

/* ── +91 / WE prefixed fields ───────────────────────────────────────────── */
.wd-cf__f > label { display: block; }
.wd-cf__grp { position: relative; display: flex; align-items: stretch; border: 1px solid var(--wd-line, var(--theme-palette-color-5, #d3e6d9)); border-radius: 14px; background: var(--wd-white, var(--theme-palette-color-8, #fff)); overflow: hidden; }
.wd-cf__grp:focus-within { border-color: var(--wd-accent, var(--theme-palette-color-1, #1e7a4c)); box-shadow: 0 0 0 3px rgba(30, 122, 76, .18); }
.wd-cf__pre { display: flex; align-items: center; padding: 0 14px; background: var(--wd-soft, var(--theme-palette-color-6, #e4f2e8)); color: var(--wd-deep, var(--theme-palette-color-2, #0e3d27)); font-size: 14px; font-weight: 800; letter-spacing: .02em; border-right: 1px solid var(--wd-line, var(--theme-palette-color-5, #d3e6d9)); }
.wd-cf .wd-cf__grp input[type="text"], .wd-cf .wd-cf__grp input[type="tel"] { flex: 1 1 auto; min-width: 0; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
.wd-cf .wd-cf__grp input.is-bad { box-shadow: none !important; }
.wd-cf__grp:has(.is-bad) { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); }
.wd-cf__grp--order.is-locked { background: #f4f7f5; }
.wd-cf__grp--order.is-locked input { cursor: pointer; }
.wd-cf__unlock { flex: none; margin: 6px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--wd-deep, var(--theme-palette-color-2, #0e3d27)); color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.wd-cf__unlock[hidden] { display: none; }
.wd-cf__hint { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: #6b7280; }
.wd-cf__hint.is-ok { color: #0f7a45; font-weight: 700; }
.wd-cf__hint.is-warn { color: #b45309; }
.wd-cf__count { justify-self: end; font-size: 12px; color: #6b7280; }
.wd-cf__count.is-max { color: #b42318; font-weight: 700; }

/* ── match game popup ──────────────────────────────────────────────────── */
.wd-qz { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(14, 40, 28, .55); backdrop-filter: blur(3px); }
.wd-qz__box { position: relative; width: min(100%, 420px); max-height: calc(100vh - 32px); overflow: auto; padding: 26px 22px 22px; border-radius: 22px; background: #fff; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); font-family: var(--theme-font-family, Lexend, sans-serif); color: var(--wd-deep, var(--theme-palette-color-2, #0e3d27)); }
.wd-qz__box h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.wd-qz__sub { margin: 0 0 16px; font-size: 13.5px; line-height: 1.5; color: #5b6b62; }
.wd-qz__x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f5f2; color: var(--wd-deep, #0e3d27); font-size: 22px; line-height: 1; cursor: pointer; }
.wd-qz__sum { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px 0 14px; }
.wd-qz__q { font-size: 34px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.wd-qz__eq { font-size: 30px; font-weight: 700; color: #6b7a72; }
.wd-qz .wd-qz__a { width: 92px; height: 58px; padding: 0 8px; border: 2px solid var(--wd-line, #d3e6d9); border-radius: 14px; background: #fff; text-align: center; font: inherit; font-size: 28px; font-weight: 800; color: var(--wd-deep, #0e3d27); box-sizing: border-box; }
.wd-qz .wd-qz__a:focus { outline: 0; border-color: var(--wd-accent, #1e7a4c); box-shadow: 0 0 0 3px rgba(30, 122, 76, .18); }
.wd-qz__go { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 999px; background: var(--wd-deep, #0e3d27); color: #fff; font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; cursor: pointer; }
.wd-qz__go:disabled { opacity: .6; cursor: wait; }
.wd-qz__msg { min-height: 20px; margin: 12px 0 0; font-size: 13px; font-weight: 600; color: #5b6b62; text-align: center; }
.wd-qz__msg.is-bad { color: #b42318; }

/* ── thank-you that replaces the form ─────────────────────────────────── */
.wd-cf__thanks { display: grid; justify-items: center; gap: 10px; padding: 40px 24px; text-align: center; border: 1px solid var(--wd-line, var(--theme-palette-color-5, #d3e6d9)); border-radius: 22px; background: linear-gradient(180deg, var(--wd-soft, var(--theme-palette-color-6, #e4f2e8)), #fff); outline: 0; font-family: var(--theme-font-family, Lexend, sans-serif); }
.wd-cf__tick { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--wd-accent, var(--theme-palette-color-1, #1e7a4c)); color: #fff; box-shadow: 0 12px 24px -12px rgba(30, 122, 76, .8); }
.wd-cf__thanks h3 { margin: 6px 0 0; font-size: 26px; font-weight: 800; color: var(--wd-deep, var(--theme-palette-color-2, #0e3d27)); }
.wd-cf__thanks p { margin: 0; max-width: 420px; font-size: 15.5px; line-height: 1.6; color: #3f4f46; }

/* refund form: the send button is off until phone + order number match */
.wd-cf__btn.is-gated, .wd-cf__btn.is-gated:hover { opacity: .45; cursor: not-allowed; transform: none; filter: none; }
.wd-cf__gate { margin: 10px 4px 0; font-size: 13px; line-height: 1.45; color: #5d6c64; }
.wd-cf__gate[hidden] { display: none; }
