.vd-benefit-home {
	box-sizing: border-box;
	width: min(902px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 22px;
	background: #fff;
	color: #171b18;
	box-shadow: 0 28px 80px rgba(0, 24, 13, .28);
	font-family: "Noto Sans Thai", "Noto Sans", system-ui, sans-serif;
	overflow: auto;
}
.vd-benefit-home *, .vd-benefit-home *::before, .vd-benefit-home *::after { box-sizing: border-box; }
.vd-benefit-home::backdrop { background: rgba(0, 13, 7, .72); backdrop-filter: blur(3px); }
.vd-benefit-home__shell { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 528px; }
.vd-benefit-home__visual { position: relative; background-image: var(--vd-benefit-image, url("vide-benefit-home-woman.png")); background-position: center; background-size: cover; overflow: hidden; }
.vd-benefit-home__visual span { display: none; }
.vd-benefit-home__content { position: relative; display: flex; min-height: 528px; padding: 58px clamp(52px, 5.5vw, 80px) 46px; }
.vd-benefit-home__content > section { display: flex; flex-direction: column; width: 100%; max-width: 340px; margin: auto; }
.vd-benefit-home__close { position: absolute; top: 18px; right: 20px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: #343a35; font: 300 30px/1 sans-serif; cursor: pointer; }
.vd-benefit-home__close:hover { background: transparent; color: #007b45; }
.vd-benefit-home h2 { margin: 0 0 16px; color: #10251a; font-size: clamp(28px, 3.2vw, 36px); font-weight: 500; line-height: 1.22; letter-spacing: -.025em; text-align: center; }
.vd-benefit-home h2 > span { display: block; }
.vd-benefit-home__title-detail { margin-top: 2px; font-size: .72em; line-height: 1.14; }
.vd-benefit-home section > p { margin: 0 0 34px; color: #59635d; font-size: 15px; line-height: 1.5; text-align: center; }
.vd-benefit-home form { margin: 0; }
.vd-benefit-home form > label:not(.vd-benefit-home__privacy-consent) { display: none; }
.vd-benefit-home__sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vd-benefit-home__contact-field { display: block; }
.vd-benefit-home__contact-control { position: relative; display: flex; align-items: stretch; width: 100%; height: 52px; overflow: hidden; border: 1px solid #ccd3cd; border-radius: 12px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.vd-benefit-home__contact-icon { position: absolute; z-index: 1; top: 50%; left: 14px; display: grid; width: 17px; height: 17px; place-items: center; transform: translateY(-50%); color: #2f3b34; font-size: 16px; line-height: 1; pointer-events: none; }
.vd-benefit-home__contact-field select,
.vd-benefit-home__contact-field input[name="contact"] { height: 100%; min-width: 0; border: 0; border-radius: 0; background: transparent; color: #171b18; font: inherit; font-size: 16px; }
.vd-benefit-home__contact-field select { flex: 0 0 62px; padding: 0 20px 0 34px; border-right: 1px solid #ccd3cd; font-weight: 600; cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none; color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1.5 2 4.5 4 4.5-4' fill='none' stroke='%2359635d' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 10px 7px; }
.vd-benefit-home__contact-field select option { color: #171b18; }
.vd-benefit-home__contact-field input[name="contact"], .vd-benefit-home__contact-field input[name="contact"]::placeholder { flex: 1 1 auto; padding: 0 14px; text-align: center !important; text-indent: 0; }
/* Every text/select input in this popup, focused or not — the contact
   pill's select/input, and the 6 OTP digit boxes — stays borderless on
   focus. Scoping this to specific fields one at a time kept missing boxes
   (the OTP digits still showed the browser's native blue ring); this now
   covers every input/select under .vd-benefit-home in one place. */
.vd-benefit-home input, .vd-benefit-home select { outline: 0 !important; box-shadow: none !important; }
.vd-benefit-home input:focus, .vd-benefit-home input:focus-visible,
.vd-benefit-home select:focus, .vd-benefit-home select:focus-visible { outline: 0 !important; box-shadow: none !important; border-color: #d5d9d6; }
.vd-benefit-home__contact-field select:focus, .vd-benefit-home__contact-field select:focus-visible,
.vd-benefit-home__contact-field input[name="contact"]:focus, .vd-benefit-home__contact-field input[name="contact"]:focus-visible { border-color: #ccd3cd; }
/* One focus ring for the combined channel selector and contact field. The
   divider follows it so the control never looks like two mismatched inputs. */
.vd-benefit-home__contact-control:focus-within { border-color: #007b45; box-shadow: 0 0 0 1px #007b45; }
.vd-benefit-home__contact-control:focus-within select { border-right-color: #007b45; }
.vd-benefit-home__privacy-consent { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; color: #43564b; font-size: 13px; line-height: 1.35; text-align: center; cursor: pointer; }
.vd-benefit-home__privacy-consent input { appearance: none; flex: 0 0 auto; width: 18px; height: 18px; margin: 0; border: 2px solid #007b45; border-radius: 4px; background: #fff; accent-color: #007b45; cursor: pointer; }
.vd-benefit-home__privacy-consent input:checked { background: #007b45 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.4'/%3E%3C/svg%3E") center/13px no-repeat; }
.vd-benefit-home__privacy-consent a { color: #006d3d; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.vd-benefit-home__otp-fields { display: flex; justify-content: center; gap: 12px; margin: 0; padding: 0; border: 0; }
.vd-benefit-home__otp-fields legend { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vd-benefit-home__otp-fields input { width: 48px; height: 56px; padding: 0; border: 1px solid #d5d9d6; border-radius: 9px; background: #fff; color: #171b18; font: inherit; font-size: 22px; font-weight: 500; line-height: 1; text-align: center; }
.vd-benefit-home__primary { display: block; width: min(288px, 100%); min-height: 56px; margin: 10px auto 0; padding: 0 20px; border: 1px solid #007b45; border-radius: 999px; background: #007b45; color: #fff; font: inherit; font-size: 16px; font-weight: 650; cursor: pointer; }
.vd-benefit-home__primary:disabled { opacity: .58; cursor: wait; }
.vd-benefit-home__later, .vd-benefit-home__resend, .vd-benefit-home__back { display: block; margin: 14px auto 0; padding: 6px; border: 0; background: transparent; color: #006d3d; font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; }
.vd-benefit-home__back { margin: 0 0 18px; padding-left: 0; }
.vd-benefit-home__resend:disabled { color: #909891; cursor: default; }
.vd-benefit-home__footer { width: 100%; margin: 30px 0 0; color: #59635d; font-size: 13px; line-height: 1.45; text-align: center; }
.vd-benefit-home__footer p { margin: 0; }
.vd-benefit-home__terms-brand { white-space: nowrap; }
.vd-benefit-home__status { min-height: 21px; margin: 7px 0 !important; font-size: 13px !important; line-height: 1.5 !important; text-align: center; }
.vd-benefit-home--otp section > h2 + p { margin-bottom: 20px; }
.vd-benefit-home--otp .vd-benefit-home__status:empty { min-height: 0; margin: 0 !important; }
.vd-benefit-home--otp .vd-benefit-home__primary { margin-top: 20px; }
.vd-benefit-home__status[data-state="error"] { color: #a12e2e; }
.vd-benefit-home__status[data-state="success"] { color: #007b45; }
.vd-benefit-home__check { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 0 18px; border-radius: 50%; background: #e7f5ed; color: #007b45; font-size: 27px; font-weight: 700; }
.vd-benefit-home__code { display: flex; align-items: center; gap: 12px; margin: 20px 0; padding: 12px 12px 12px 20px; border: 1px solid #bfd7c8; border-radius: 14px; background: #f0f8f3; }
.vd-benefit-home__code > span:not(.vd-benefit-home__sr-only) { flex: 0 0 auto; color: #59635d; font-size: 18px; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.vd-benefit-home__code strong { flex: 0 0 auto; margin-left: auto; color: #006837; font-size: 27px; letter-spacing: .12em; text-align: right; white-space: nowrap; }
.vd-benefit-home__code button { display: grid; flex: 0 0 42px; width: 42px; min-height: 38px; place-items: center; padding: 0; border: 1px solid #007b45; border-radius: 9px; background: #fff; color: #006837; font: inherit; font-size: 17px; cursor: pointer; }
.vd-benefit-home button:hover:not(:disabled) { filter: brightness(.95); }
.vd-benefit-home button:focus-visible, .vd-benefit-home a:focus-visible { outline: 3px solid rgba(0, 123, 69, .25); outline-offset: 2px; }
.vd-benefit-home [hidden] { display: none !important; }
.vd-benefit-home--otp, .vd-benefit-home--success { width: min(542px, calc(100% - 32px)); }
.vd-benefit-home--otp .vd-benefit-home__shell, .vd-benefit-home--success .vd-benefit-home__shell { display: block; }
.vd-benefit-home--otp .vd-benefit-home__visual, .vd-benefit-home--success .vd-benefit-home__visual { display: none; }
.vd-benefit-home--otp .vd-benefit-home__content, .vd-benefit-home--success .vd-benefit-home__content { padding: 52px 48px 38px; }
.vd-benefit-home--otp .vd-benefit-home__content > section, .vd-benefit-home--success .vd-benefit-home__content > section { max-width: 440px; }
.vd-benefit-home--otp h2, .vd-benefit-home--success h2 { font-size: clamp(29px, 6vw, 40px); }
.vd-benefit-home--otp section > p, .vd-benefit-home--success section > p { font-size: 17px; }
.vd-benefit-home--otp .vd-benefit-home__back { position: absolute; top: 18px; left: 20px; margin: 0; }
.vd-benefit-home--success .vd-benefit-home__content { min-height: 528px; padding: 44px 48px 46px; }
.vd-benefit-home--success .vd-benefit-home__content > section { min-height: 438px; margin: 0 auto; justify-content: space-between; }
.vd-benefit-home--success .vd-benefit-home__check { width: 72px; height: 72px; margin: 0 auto 26px; font-size: 34px; }
.vd-benefit-home--success .vd-benefit-home__success-copy { margin-bottom: 28px; text-align: center; }
.vd-benefit-home--success h2 { margin-bottom: 18px; }
.vd-benefit-home--success section > .vd-benefit-home__success-copy > p { margin: 0; }
.vd-benefit-home--success .vd-benefit-home__code { margin: 0 0 24px; }
.vd-benefit-home--success .vd-benefit-home__status { position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* A successful apply stays visually quiet, but an apply failure must be
   readable: the shopper needs its reason before choosing the retry action. */
.vd-benefit-home--success .vd-benefit-home__status[data-state="error"] { position: static; width: auto; height: auto; min-height: 21px; margin: 7px 0 !important; overflow: visible; clip: auto; white-space: normal; }
.vd-benefit-home--success .vd-benefit-home__primary { margin: 0 auto; }
@media (max-width: 720px) {
	.vd-benefit-home { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
	.vd-benefit-home__shell { display: block; min-height: 0; }
	.vd-benefit-home__visual { display: none; }
	.vd-benefit-home__content { min-height: min(528px, calc(100dvh - 24px)); }
	.vd-benefit-home__content { padding: 68px 24px 36px; }
	.vd-benefit-home h2 { font-size: clamp(27px, 9vw, 36px); }
	.vd-benefit-home section > p { font-size: 16px; }
	.vd-benefit-home__footer { width: 100%; margin: 28px 0 0; }
	.vd-benefit-home__contact-field select, .vd-benefit-home__contact-field input[name="contact"] { font-size: 16px; }
	.vd-benefit-home__contact-field select { flex-basis: 58px; padding-left: 34px; }
	.vd-benefit-home__otp-fields { gap: 8px; }
	.vd-benefit-home__otp-fields input { width: min(48px, calc((100vw - 104px) / 6)); }
	.vd-benefit-home__code { gap: 8px; padding-left: 14px; }
	.vd-benefit-home__code > span:not(.vd-benefit-home__sr-only) { font-size: 17px; }
	.vd-benefit-home__code strong { min-width: 0; font-size: 22px; letter-spacing: .08em; }
	.vd-benefit-home__code button { flex-basis: 38px; width: 38px; }
	.vd-benefit-home--otp .vd-benefit-home__content, .vd-benefit-home--success .vd-benefit-home__content { padding: 52px 24px 32px; }
	.vd-benefit-home--success .vd-benefit-home__content { min-height: min(528px, calc(100dvh - 24px)); padding: 40px 24px 36px; }
}
@media (prefers-reduced-motion: reduce) { .vd-benefit-home::backdrop { backdrop-filter: none; } }
