/* Custom order lightbox */
.custom-order-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.custom-order-modal.open {
  display: flex;
}

.custom-order-box {
  position: relative;
  width: min(620px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
  padding: 30px;
}

.custom-order-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.custom-order-box h2 {
  margin: 0 44px 8px 0;
  font-size: 2rem;
}

.custom-order-intro {
  color: var(--grey);
  line-height: 1.5;
  margin-bottom: 20px;
}

#customOrderForm {
  display: grid;
  gap: 14px;
}

#customOrderForm label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

#customOrderForm input,
#customOrderForm textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
}

#customOrderForm input:focus,
#customOrderForm textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}

.custom-order-honeypot {
  display: none !important;
}

.custom-order-submit {
  width: 100%;
  margin-top: 6px;
}

.custom-order-output {
  margin-top: 16px;
}

.custom-order-success,
.custom-order-error,
.custom-order-sending {
  padding: 14px;
  border-radius: 12px;
  line-height: 1.5;
}

.custom-order-success {
  background: #eef8ef;
  border: 1px solid #b8dfbd;
  color: #144d1e;
}

.custom-order-error {
  background: #fff0f0;
  border: 1px solid #e2b5b5;
  color: #7a1111;
}

.custom-order-sending {
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--black);
}
