.myank-enquiry-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(20, 24, 30, 0.62);
  padding: 20px 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.myank-enquiry-overlay.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.myank-enquiry-popup {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  margin: auto;
  font-family: 'Inter', sans-serif;
  color: #1B2430;
}

.myank-popup-top {
  height: 5px;
  background: linear-gradient(90deg, #C1701A 0%, #C1701A 33%, #d9a5a5 33%, #d9a5a5 66%, #1B2430 66%);
}

.myank-popup-head {
  padding: 20px 22px 4px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.myank-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.myank-brand-tri {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.myank-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.myank-brand-sub {
  font-size: 9px;
  color: #5B6570;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
  line-height: 1.3;
}

.myank-popup-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #E3E1DB;
  background: #fff;
  color: #5B6570;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.myank-popup-close:hover {
  background: #F7F6F2;
}

.myank-popup-body {
  padding: 4px 22px 22px;
}

.myank-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 8px 0 6px;
}

.myank-subline {
  font-size: 12.5px;
  color: #5B6570;
  line-height: 1.55;
  margin: 0 0 16px;
}

.myank-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.myank-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.myank-field-full {
  width: 100%;
}

.myank-field label {
  font-size: 11px;
  font-weight: 600;
  color: #1B2430;
  margin-bottom: 0;
}

.myank-req {
  color: #C1701A;
}

.myank-opt {
  color: #9AA3AC;
  font-weight: 400;
  font-size: 10.5px;
}

.myank-field input,
.myank-field textarea {
  border: 1.4px solid #E3E1DB;
  border-radius: 8px;
  padding: 10px 11px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1B2430;
  background: #FCFCFB;
  width: 100%;
}

.myank-field textarea {
  resize: vertical;
  min-height: 72px;
}

.myank-field input:focus,
.myank-field textarea:focus {
  outline: none;
  border-color: #C1701A;
  box-shadow: 0 0 0 3px rgba(193, 112, 26, 0.12);
}

.myank-phone-wrap {
  display: flex;
  align-items: stretch;
  border: 1.4px solid #E3E1DB;
  border-radius: 8px;
  overflow: hidden;
  background: #FCFCFB;
}

.myank-phone-wrap:focus-within {
  border-color: #C1701A;
  box-shadow: 0 0 0 3px rgba(193, 112, 26, 0.12);
}

.myank-phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #F1EFE9;
  color: #1B2430;
  font-size: 13px;
  font-weight: 600;
  border-right: 1.4px solid #E3E1DB;
  white-space: nowrap;
}

.myank-phone-wrap input {
  border: none;
  border-radius: 0;
  box-shadow: none;
  flex: 1;
  min-width: 0;
  background: #FCFCFB;
}

.myank-phone-wrap input:focus {
  outline: none;
  box-shadow: none;
}

.myank-phone-wrap .form-control {
  border: none;
  box-shadow: none;
  background: #FCFCFB;
}

.myank-char-count {
  float: right;
  font-size: 10px;
  font-weight: 500;
  color: #9AA3AC;
}

.myank-cta-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.myank-btn {
  flex: 1;
  border: none;
  border-radius: 9px;
  padding: 12px 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.myank-btn-primary {
  background: #C1701A;
  color: #fff;
  box-shadow: 0 8px 18px rgba(193, 112, 26, 0.28);
}

.myank-btn-primary:hover {
  background: #985614;
}

.myank-btn-secondary {
  background: #fff;
  color: #1B2430;
  border: 1.4px solid #E3E1DB;
}

.myank-btn-secondary:hover {
  background: #F7F6F2;
}

.myank-foot-note {
  margin-top: 12px;
  font-size: 11px;
  color: #5B6570;
}

.myank-trust {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #E3E1DB;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 10px;
  color: #9AA3AC;
}

.myank-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.myank-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C1701A;
  flex-shrink: 0;
}

body.myank-popup-open {
  overflow: hidden;
}

@media (max-width: 576px) {
  .myank-enquiry-overlay {
    padding: 10px;
    align-items: flex-start;
  }

  .myank-enquiry-popup {
    max-width: 100%;
    border-radius: 12px;
  }

  .myank-popup-head,
  .myank-popup-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .myank-headline {
    font-size: 18px;
  }

  .myank-row,
  .myank-cta-row {
    flex-direction: column;
  }

  .myank-btn {
    width: 100%;
  }
}
