/* Nyota Hoverboards: equal order/WhatsApp actions and contact lead modal. */
.contact-action-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 10px;
}

.contact-action-row > button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 58px;
  margin: 0 !important;
  padding: 12px 16px !important;
  border-radius: 13px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: .01em !important;
  white-space: normal;
}

.contact-action-row .contact-primary-order {
  color: #071a3b !important;
  background: linear-gradient(135deg, #ffe276, #efb819) !important;
  border: 2px solid #ffd65a !important;
}

.contact-product-whatsapp {
  position: relative;
  isolation: isolate;
  gap: 9px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  border: 2px solid #62ef9a !important;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55), 0 12px 28px rgba(18, 140, 126, .38);
  animation: nyota-whatsapp-glow 1.8s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.contact-product-whatsapp i {
  font-size: 23px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .2));
}

.contact-product-whatsapp:hover,
.contact-product-whatsapp:focus-visible {
  color: #ffffff !important;
  background: linear-gradient(135deg, #2be26f, #0f7f70) !important;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 0 0 6px rgba(37, 211, 102, .2), 0 16px 34px rgba(18, 140, 126, .48) !important;
}

@keyframes nyota-whatsapp-glow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .48), 0 12px 28px rgba(18, 140, 126, .34);
  }
  50% {
    transform: scale(1.018);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0), 0 16px 34px rgba(18, 140, 126, .5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-product-whatsapp { animation: none; }
}

.premium-footer-action.contact-footer-trigger {
  appearance: none;
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.contact-lead-modal { z-index: 1080; }
.contact-lead-modal .modal-dialog {
  width: min(610px, calc(100vw - 28px));
  max-width: 610px;
  margin: 14px auto;
}

.contact-lead-modal .modal-content {
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(160deg, #0e3a77 0%, #082653 54%, #061a3b 100%);
  border: 1px solid rgba(117, 221, 255, .44);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .48);
}

.contact-lead-modal .modal-header {
  position: relative;
  align-items: flex-start;
  padding: 22px 64px 19px 24px;
  color: #ffffff;
  background: #102f61;
  border: 0;
  border-top: 5px solid #ffd65a;
}

.contact-lead-modal .modal-header > div { min-width: 0; }
.contact-modal-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #7bdcff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
}

.contact-lead-modal .modal-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.13;
}

.contact-lead-modal .modal-header p {
  margin: 7px 0 0;
  color: #e4efff;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.contact-lead-modal .btn-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  opacity: 1;
  filter: invert(1);
}

.contact-lead-form {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-lead-modal .modal-body {
  min-height: 0;
  padding: 22px 24px 16px;
  overflow-y: auto;
}

.contact-product-preview {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 10px;
  color: #071a3b;
  background: #ffffff;
  border: 2px solid #7bdcff;
  border-radius: 16px;
}

.contact-product-preview img {
  display: block;
  width: 108px;
  height: 108px;
  padding: 4px;
  object-fit: contain;
  object-position: center;
  background: #f1f7ff;
  border-radius: 12px;
}

.contact-product-preview span,
.contact-product-preview strong,
.contact-product-preview small { display: block; }
.contact-product-preview span {
  margin-bottom: 4px;
  color: #087da9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
}
.contact-product-preview strong {
  color: #071a3b;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}
.contact-product-preview small {
  margin-top: 5px;
  color: #8a5a00;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.contact-lead-form label {
  display: block;
  margin: 12px 0 7px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.contact-lead-form input[type="text"],
.contact-lead-form input[type="tel"] {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 12px 15px;
  color: #071a3b;
  -webkit-text-fill-color: #071a3b;
  background: #ffffff;
  border: 2px solid #7bdcff;
  border-radius: 13px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 750;
  outline: none;
}

.contact-lead-form input::placeholder {
  color: #63738a;
  -webkit-text-fill-color: #63738a;
  opacity: 1;
}

.contact-lead-form input:focus {
  border-color: #ffd65a;
  box-shadow: 0 0 0 4px rgba(255, 214, 90, .2);
}

.contact-form-error {
  min-height: 21px;
  margin-top: 9px;
  color: #ffd6dc;
  font-size: 14px;
  font-weight: 800;
}

.contact-privacy {
  margin: 3px 0 0;
  color: #e4efff;
  font-size: 12px;
  line-height: 1.45;
}

.contact-privacy i { color: #ffd65a; }

.contact-lead-modal .modal-footer {
  display: block;
  padding: 14px 24px 19px;
  background: #061a3b;
  border: 0;
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  padding: 12px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #20c763, #0c9445);
  border: 2px solid #45df83;
  border-radius: 13px;
  box-shadow: 0 12px 28px rgba(10, 148, 67, .25);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.contact-submit.is-call {
  color: #071a3b;
  background: linear-gradient(135deg, #ffe276, #efb819);
  border-color: #ffd65a;
}

.contact-submit:disabled { opacity: .72; cursor: wait; }
.contact-submit i { font-size: 21px; }

.contact-direct-link {
  display: block;
  margin-top: 11px;
  color: #d8e8ff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-direct-link:hover { color: #ffffff; }

@media (max-width: 767.98px) {
  .contact-action-row { grid-template-columns: 1fr; gap: 9px; }
  .contact-action-row > button { min-height: 56px; font-size: 15px !important; }
  .contact-lead-modal .modal-dialog {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
    margin: 6px auto;
  }
  .contact-lead-modal .modal-content {
    max-height: calc(100dvh - 12px);
    border-radius: 17px;
  }
  .contact-lead-modal .modal-header { padding: 16px 54px 14px 15px; }
  .contact-lead-modal .modal-title { font-size: 24px; }
  .contact-lead-modal .modal-header p { font-size: 13px; }
  .contact-lead-modal .btn-close { top: 13px; right: 12px; }
  .contact-lead-modal .modal-body { padding: 15px 12px 11px; }
  .contact-product-preview {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px;
  }
  .contact-product-preview img { width: 82px; height: 82px; }
  .contact-product-preview strong { font-size: 15px; }
  .contact-product-preview small { font-size: 12px; }
  .contact-lead-form label { margin-top: 9px; font-size: 14px; }
  .contact-lead-form input[type="text"],
  .contact-lead-form input[type="tel"] { min-height: 54px; }
  .contact-lead-modal .modal-footer { padding: 10px 12px 13px; }
  .contact-submit { min-height: 56px; font-size: 14px; }
}

/* High-contrast order form: intentionally last so theme styles cannot wash out text. */
.contact-lead-modal .modal-content,
.contact-lead-modal .contact-lead-form,
.contact-lead-modal .modal-body {
  color: #fff !important;
  background: linear-gradient(160deg, #123f7c 0%, #082b60 58%, #061f49 100%) !important;
}

.contact-lead-modal .modal-title,
.contact-lead-modal .modal-header p,
.contact-lead-modal .contact-lead-form label,
.contact-lead-modal .contact-privacy {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .42);
}

.contact-lead-modal .modal-title {
  overflow-wrap: anywhere;
  line-height: 1.16;
}

.contact-lead-modal .modal-header p { color: #eaf4ff !important; -webkit-text-fill-color: #eaf4ff !important; }
.contact-lead-modal .contact-lead-form label { font-size: 16px !important; font-weight: 900 !important; }

.contact-lead-modal .contact-product-preview,
.contact-lead-modal input[type="text"],
.contact-lead-modal input[type="tel"] {
  color: #061a3b !important;
  -webkit-text-fill-color: #061a3b !important;
  background: #fff !important;
  opacity: 1 !important;
}

.contact-lead-modal input::placeholder {
  color: #52647d !important;
  -webkit-text-fill-color: #52647d !important;
  opacity: 1 !important;
}

.contact-lead-modal .contact-product-preview span { color: #006f9d !important; -webkit-text-fill-color: #006f9d !important; }
.contact-lead-modal .contact-product-preview strong { color: #061a3b !important; -webkit-text-fill-color: #061a3b !important; overflow-wrap: anywhere; }
.contact-lead-modal .contact-product-preview small { color: #805100 !important; -webkit-text-fill-color: #805100 !important; }
.contact-lead-modal .contact-form-error { color: #fff1f3 !important; -webkit-text-fill-color: #fff1f3 !important; }
.contact-lead-modal .contact-direct-link { color: #fff !important; -webkit-text-fill-color: #fff !important; opacity: 1 !important; }

@media (max-width: 767.98px) {
  .contact-lead-modal .modal-title { font-size: 20px !important; }
  .contact-lead-modal .modal-header p { font-size: 12px !important; }
  .contact-lead-modal .contact-lead-form label { font-size: 14px !important; }
  .contact-lead-modal .contact-product-preview img { object-fit: contain !important; }
}
