/* Wanderly Contact Country & WhatsApp V2.2: isolated Contact page enhancement. */
body.contact-ui-v2-page .contact-country-wrap { position: relative; width: 100%; }
body.contact-ui-v2-page .contact-country-field input { width: 100%; }
body.contact-ui-v2-page .w-country-list {
  position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 6px);
  max-height: 284px; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid #b7c9bd; border-radius: 15px;
  background: #fff; box-shadow: 0 15px 34px rgba(10,46,80,.18);
  padding: 5px; text-align: left;
}
body.contact-ui-v2-page .w-country-list[hidden] { display: none !important; }
body.contact-ui-v2-page .w-country-option {
  padding: 12px; border-radius: 10px; cursor: pointer; display: flex;
  width: 100%; border: 0; background: transparent; font: inherit; text-align: left;
  justify-content: space-between; align-items: center; gap: 10px;
  font-size: .92rem; line-height: 1.3; color: #0A2E50;
}
body.contact-ui-v2-page .w-country-option:hover,
body.contact-ui-v2-page .w-country-option[aria-selected="true"] {
  background: #eaf4ed; color: #156C53;
}
body.contact-ui-v2-page .w-country-option-name { font-weight: 600; }
body.contact-ui-v2-page .w-country-option-code { white-space: nowrap; color: #156C53; font-weight: 700; }
body.contact-ui-v2-page .w-country-note,
body.contact-ui-v2-page .w-phone-note {
  display: block; margin: 6px 2px 0; color: #53697a;
  font-size: .78rem; font-weight: 500; line-height: 1.4;
}
body.contact-ui-v2-page .w-phone-wrap { position: relative; }
body.contact-ui-v2-page .w-phone-code {
  position: absolute; top: 50%; left: 12px; transform: translateY(-50%);
  border: 1px solid #c8d7ce; border-radius: 8px; padding: 7px 9px;
  color: #156C53; background: #f2f8f4; font-size: .88rem;
  line-height: 1; font-weight: 700; pointer-events: none;
}
body.contact-ui-v2-page .w-phone-code[data-active="false"] { display: none; }
body.contact-ui-v2-page .w-phone-code[data-active="true"] { display: none; }
/* The international prefix is part of the text field, so it is included in submitted emails. */
@media (max-width: 640px) {
  body.contact-ui-v2-page .w-country-list { max-height: 250px; }
  body.contact-ui-v2-page .w-country-option { padding: 13px 11px; }
}
