/** Ask Price — form/modal (from landing form tokens, scoped .ap-*) */
.ap-btn-trigger {
  background: #c8a84b !important;
  color: #0d1f3c !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 14px 28px !important;
  border: none !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block !important;
  letter-spacing: 0.3px !important;
  transition: background 0.2s, transform 0.15s !important;
  font-family: 'DM Sans', sans-serif !important;
}
.ap-btn-trigger:hover {
  background: #e8c96a !important;
  transform: translateY(-1px) !important;
  color: #0d1f3c !important;
  text-decoration: none !important;
}
.ap-ask-price .ap-form-card {
  background: #ffffff !important;
  border-radius: 6px !important;
  padding: 32px 28px !important;
}
.ap-ask-price .ap-form-card h3 {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  color: #0d1f3c !important;
}
.ap-ask-price .ap-form-card > p {
  font-size: 0.82rem !important;
  color: #4a5568 !important;
  margin-bottom: 22px !important;
}
.ap-ask-price .ap-form-group { margin-bottom: 14px !important; }
.ap-ask-price .ap-form-group label {
  display: block !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: #0d1f3c !important;
  margin-bottom: 5px !important;
  letter-spacing: 0.3px !important;
}
.ap-ask-price .ap-form-group input,
.ap-ask-price .ap-form-group select,
.ap-ask-price .ap-form-group textarea {
  width: 100% !important;
  padding: 10px 13px !important;
  border: 1.5px solid #e2d9c8 !important;
  border-radius: 3px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.88rem !important;
  color: #0d1f3c !important;
  background: #ffffff !important;
  transition: border-color 0.2s !important;
  outline: none !important;
  box-shadow: none !important;
}
.ap-ask-price .ap-form-group input:focus,
.ap-ask-price .ap-form-group select:focus,
.ap-ask-price .ap-form-group textarea:focus {
  border-color: #c8a84b !important;
  box-shadow: none !important;
}
.ap-ask-price .ap-form-group textarea {
  resize: vertical !important;
  min-height: 72px !important;
}
.ap-ask-price .ap-form-submit {
  width: 100% !important;
  background: #c8a84b !important;
  color: #0d1f3c !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  padding: 13px !important;
  border: none !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  margin-top: 6px !important;
  transition: background 0.2s !important;
  font-family: 'DM Sans', sans-serif !important;
}
.ap-ask-price .ap-form-submit:hover { background: #e8c96a !important; }
.ap-ask-price .ap-form-submit__label {
  pointer-events: none !important;
}
.ap-ask-price .ap-form-submit:disabled,
.ap-ask-price .ap-form-submit.ap-form-submit--busy,
.ap-ask-price .ap-form-submit.oi-form-submit--busy {
  cursor: wait !important;
  opacity: 0.92 !important;
}
/* Block theme pseudo “SENDING” overlays on our submit control */
.ap-ask-price .ap-form-submit:disabled::before,
.ap-ask-price .ap-form-submit:disabled::after,
.ap-ask-price .ap-form-submit.ap-form-submit--busy::before,
.ap-ask-price .ap-form-submit.ap-form-submit--busy::after,
.ap-ask-price .ap-form-submit.oi-form-submit--busy::before,
.ap-ask-price .ap-form-submit.oi-form-submit--busy::after {
  content: none !important;
  display: none !important;
}
.ap-ask-price .ap-form-note {
  font-size: 0.73rem !important;
  color: #999999 !important;
  text-align: center !important;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

/* ── Form thank-you / error alert ── */
.ap-ask-price .ap-form-msg {
  display: none !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 14px 16px !important;
  border-radius: 6px !important;
  margin-bottom: 18px !important;
  text-align: left !important;
  border: 1px solid transparent !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}
.ap-ask-price .ap-form-msg.ap-form-msg--visible,
.ap-ask-price .ap-form-msg.oi-form-msg--visible {
  display: flex !important;
}
.ap-ask-price .ap-form-msg__icon {
  flex-shrink: 0 !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-top: 2px !important;
}
.ap-ask-price .ap-form-msg__body {
  flex: 1 !important;
  min-width: 0 !important;
}
.ap-ask-price .ap-form-msg__title {
  display: block !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  margin: 0 0 6px 0 !important;
  font-family: 'DM Sans', sans-serif !important;
  line-height: 1.25 !important;
}
.ap-ask-price .ap-form-msg__text {
  margin: 0 !important;
  font-size: 0.84rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  opacity: 0.95 !important;
}
.ap-ask-price .ap-form-msg--success {
  background: #e6f4ee !important;
  border-color: #b2d8c2 !important;
  color: #14543a !important;
}
.ap-ask-price .ap-form-msg--success .ap-form-msg__icon {
  background: #c8ecd8 !important;
  color: #14543a !important;
}
.ap-ask-price .ap-form-msg--success .ap-form-msg__title {
  color: #0d4d2e !important;
}
.ap-ask-price .ap-form-msg--success .ap-form-msg__text {
  color: #1a5c40 !important;
}
.ap-ask-price .ap-form-msg--error {
  background: #fdf2f2 !important;
  border-color: #f0c4c4 !important;
  color: #8b1a1a !important;
}
.ap-ask-price .ap-form-msg--error .ap-form-msg__icon {
  background: #fad7d7 !important;
  color: #8b1a1a !important;
}
.ap-ask-price .ap-form-msg--error .ap-form-msg__title {
  color: #6b1515 !important;
}
.ap-ask-price .ap-form-msg--error .ap-form-msg__text {
  color: #7a2222 !important;
}

/* Modal */
.ap-ask-price { font-family: 'DM Sans', sans-serif; color: #0d1f3c; }
.ap-ask-price[hidden] { display: none !important; }
.ap-modal-backdrop {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(13, 31, 60, 0.55);
}
.ap-modal {
  position: fixed; z-index: 99999; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 48px); overflow-y: auto;
  background: #fff; border-radius: 6px;
  box-shadow: 0 12px 40px rgba(13, 31, 60, 0.25);
}
.ap-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: #0d1f3c; color: #fff;
}
.ap-modal__header h3 {
  margin: 0; font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700; color: #fff;
}
.ap-modal__close {
  background: transparent; border: none; color: #e8c96a;
  font-size: 1.75rem; line-height: 1; cursor: pointer; padding: 0 4px;
}
.ap-modal__close:hover { color: #fff; }
.ap-modal__product {
  font-size: 0.82rem; color: #4a5568; margin: 0 0 16px;
}
body.ap-modal-open { overflow: hidden; }
