.custom-order-modal__body .wpcf7-form>div {
  margin-bottom: 24px;
}

.custom-order-modal__body .submitBtn p span {
  display: none;
}

.custom-order-modal__body .wpcf7-form>div.picture>p:nth-child(2) {
  margin-bottom: 20px;
}

.custom-order-modal__body .wpcf7-form>div.picture>p:nth-child(3) {
  color: var(--branding-primary-1100, #000);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.custom-order-modal__body .wpcf7-form>div.picture>p:nth-child(3) span {
  color: var(--branding-primary-1100, #666);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.custom-order-modal__body .wpcf7-form>div.submitBtn,
.custom-order-modal__body .wpcf7-form>div.description {
  margin: 0;
}

.custom-order-modal__body .wpcf7-form>div.submitBtn {
  position: fixed;
  bottom: 20px;
  margin: 0;
  padding: 0;
  z-index: 10;
  background: #f3f1ee;
  width: 780px;
}

.custom-order-modal__body .wpcf7-form>div.submitBtn p {
  margin-bottom: 0 !important;
}

.custom-order-modal__body .wpcf7-form>div.description {
  margin-top: 5px;
}

.custom-order-modal__body .wpcf7-form>div.picture>p:first-child {
  margin-bottom: 10px;
}

.custom-order-modal__body .wpcf7-form div label {
  margin-bottom: 0;
}

.custom-order-modal__body .wpcf7-form>div>p:first-child {
  color: var(--branding-secondary-80, #443C33);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 10px;
}

.custom-order-modal__body .wpcf7-form>div>p:first-child span {
  color: var(--Statuses-Error, #D73737);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
}

.custom-order-modal__body .wpcf7-form div.description p:first-child {
  color: var(--branding-secondary-60, #736D66);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control label {
  display: flex;
  align-items: center;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control label input {
  margin: 0;
  margin-right: 10px;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-radio label input {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  margin-right: 10px;
  background-color: transparent;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-radio input[type="radio"] {
  display: none !important;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-radio label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  margin-bottom: 0;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-radio label span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 10px;
  background: #fff;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-radio input[type="radio"]:checked+span:before {
  background-color: #7F664D;
  border-color: #F2F3F5;
  content: "●";
  font-size: 16px;
  line-height: 16px;
  text-align: center;
  color: #150B00;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control label span {
  color: var(--branding-secondary-80, #443C33);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.custom-order-modal__body .wpcf7-form div.subscribe .wpcf7-form-control-wrap .wpcf7-form-control label span {
  color: var(--branding-secondary-60, #333);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  font-family: "GraphikRegular", "Graphik", sans-serif;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-textarea,
.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-email,
.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-text,
.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-select {
  height: 32px;
  border: none !important;
  box-shadow: none;
  border-bottom: 1px solid #A19D99 !important;
  border-radius: 0;
  padding: 0;
  min-height: 20px;
  margin: 0;
  background-color: transparent;
  color: #000;
  overflow-y: hidden;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-select {
  color: #8B8D90;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-select.selected-after-first {
  color: #000;
}

.custom-order-modal__body .wpcf7-form div.SourceTracking {
  margin: 0;
  opacity: 0;
}

.custom-order-modal__body .wpcf7-form div.SourceTracking>p {
  margin: 0;
}

.custom-order-modal__body .wpcf7-form div.SourceTracking .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-text {
  min-height: 1px;
  border: none !important;
  line-height: 0;
  height: 1px;
}

.custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-select.BusinessType001 {
  padding-right: 30px;
  white-space: normal;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.custom-order-modal__body .wpcf7-form div.Country .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-text {
  padding-left: 52px;
}

.custom-order-modal__body .wpcf7-form input[type="file"] {
  width: 180px;
  height: 180px;
  border: none !important;
  border-radius: 0;
  background: url("/wp-content/themes/child-f/assets/landingpage/2026/customOrder/upload.svg") center/100% no-repeat;
  color: transparent;
  cursor: pointer;
  padding: 0;
}

.custom-order-modal__body .wpcf7-form input[type="file"]::file-selector-button {
  visibility: hidden;
}

.custom-order-modal__body .wpcf7-form input[type="file"]::-webkit-file-upload-button {
  visibility: hidden;
}

.custom-order-modal__body .co-upload-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.custom-order-modal__body .co-upload-row .co-upload-preview {
  display: flex;
  gap: 20px;
  flex-direction: row;
}

.custom-order-modal__body .co-upload-preview .co-upload-item img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #d2c8bc;
  border-radius: 4px;
  background: #fff;
  max-width: none;
}

.custom-order-modal__body .co-form-panel.is-hidden {
  display: none;
}

.custom-order-modal__body .co-success-panel {
  display: none;
  gap: 24px;
  align-items: flex-start;
}

.custom-order-modal__body .co-success-panel.is-active {
  display: flex;
}

.custom-order-modal__body .co-success__text h4 {
  margin: 0 0 12px;
  font-family: Montserrat !important;
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

.custom-order-modal__body .co-success__text ol {
  margin: 0 0 24px 20px;
  padding: 0;
  color: #2f2b27;
  font-size: 14px;
  line-height: 22px;
}

.custom-order-modal__body .co-success__confirm {
  width: 100%;
  padding: 12px 0;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.custom-order-modal__body .co-success__image {
  flex: 0 0 240px;
}

.custom-order-modal__body .co-success__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

@media screen and (max-width: 768px) {
  .custom-order-modal__body .co-success-panel {
    flex-direction: column;
  }

  .custom-order-modal__body .co-success__image {
    width: 100%;
    flex: none;
  }
}

.custom-order-modal__body .wpcf7-form div.fieldhalfcls.tel button.iti__selected-country {
  min-height: 23px;
}

.custom-order-modal__body .wpcf7-form div.fieldhalfcls.tel button.iti__selected-country .iti__selected-dial-code {
  margin-top: 3px;
}

.custom-order-modal__body .country-select .flag.us {
  width: 16px;
}

.custom-order-modal__body .wpcf7-form div.fieldhalfcls {
  width: 49.45% !important;
  float: left;
  margin-right: 0.5%;
}

.custom-order-modal__body .wpcf7-form div.submitBtn .wpcf7-submit {
  margin: 0;
  color: var(--Grey-White, #FFF);
  text-align: center;
  font-size: 18px;
  font-family: Montserrat !important;
  font-weight: 600;
  line-height: 24px;
  padding: 12px 0;
  width: 100%;
  border-radius: 0;
  opacity: 0.5;
  background: var(--branding-primary-1100, #000);
  border: none !important;
  text-transform: none;
}

.custom-order-modal__body .wpcf7 {
  padding: 0 20px;
}

.custom-order-modal__body .wpcf7 form {
  margin-bottom: 20px;
}

.custom-order-modal__body>div.wpcf7 form.promoteform {
  margin-left: auto;
  margin-right: auto;
}

.custom-order-modal__body>div.wpcf7 #promotesourceid05 {
  display: none;
}

.custom-order-modal__body>div.wpcf7 .wpcf7-not-valid-tip {
  margin-top: -20px;
  z-index: 3;
  opacity: 1;
}

.custom-order-modal__body form.promoteform>p.subcls001 {
  max-height: 40px;
}

.custom-order-modal__body form.promoteform textarea {
  resize: none;
  min-height: 80px;
  background-color: transparent;
  color: #000 !important;
}

.custom-order-modal__body form.promoteform input.wpcf7-form-control.wpcf7-email {
  background-color: transparent;
  height: 39px;
  color: #000 !important;
}

.custom-order-modal__body form textarea,
.custom-order-modal__body form input {
  border-radius: 4px;
  border: 1px solid #000 !important;
}

.custom-order-modal__body form.wpcf7-form p.subcls001 input {
  border-radius: 4px;
  font-size: 1.02em;
  max-height: 50px;
}

.custom-order-modal__body form textarea::placeholder,
.custom-order-modal__body form input::placeholder {
  color: #8B8D90 !important;
}

.custom-order-modal__body form.wpcf7-form p.subcls005 input {
  margin: auto;
  background-color: #191919 !important;
  border: 2px solid #191919 !important;
  font-size: 16px;
}

.custom-order-modal__body a.popacls>div {
  max-width: 210px;
  margin: auto;
  border-radius: 4px;
  background-color: #191919;
  color: #fff !important;
  cursor: pointer;
  border: unset !important;
  font-size: 16px !important;
}

.custom-order-modal__body a.popcls:hover div {
  background-color: #000;
  color: #fff !important;
  border-radius: 4px !important;
}

.custom-order-modal__body form .wpcf7-submit {
  background-color: #000 !important;
}

.custom-order-modal__body form .wpcf7-submit:hover {
  background-color: #111 !important;
}

/* 显示字段级别的错误提示 */
.custom-order-modal__body .wpcf7-form .wpcf7-not-valid-tip {
  display: block !important;
  color: #D73737;
  font-size: 12px;
  margin-top: 5px;
}

/* 错误字段边框高亮 */
.custom-order-modal__body .wpcf7-form .wpcf7-not-valid {
  border-color: #D73737 !important;
}

@media screen and (max-width:640px) {
  .custom-order-modal__body a.popacls>div {
    font-size: 14px !important;
    height: 30px;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .custom-order-modal__body a.popacls>div {
    height: 56px;
  }
}

@media screen and (max-width:590px) {
  .custom-order-modal__body form textarea {
    padding-top: 4px;
    font-size: 10px;
    height: 20px;
  }

  .custom-order-modal__body>div.wpcf7 .wpcf7-not-valid-tip {
    display: block !important;
    margin-top: 3px;
    font-size: 10px;
    color: #D73737;
  }
}

@media screen and (max-width:450px) {
  .custom-order-modal__body>div.wpcf7 form.promoteform {
    width: 100%;
    margin-top: 30px;
    max-width: 400px;
  }
}

@media screen and (max-width:380px) {
  .custom-order-modal__body form.wpcf7-form p.subcls001 input.wpcf7-submit {
    min-width: 130px;
    font-size: 0.62em;
    max-height: 30px;
  }
}

.custom-order-modal__body input[type="checkbox"] {
  display: none !important;
}

.custom-order-modal__body label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  margin-bottom: 0;
  font-weight: 400;
}

.custom-order-modal__body label span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 10px;
  background: #fff;
}

.custom-order-modal__body input[type="checkbox"]:checked+span:before {
  background-color: #7F664D;
  border-color: #F2F3F5;
  content: "●";
  font-size: 16px;
  line-height: 16px;
  text-align: center;
  color: #150B00;
}

.custom-order-modal__body .wpcf7 form.wpcf7-form .wpcf7-not-valid-tip {
  padding: 0;
  font-size: 12px;
  margin-top: 5px;
}

.custom-order-modal__body .wpcf7 form.wpcf7-form .wpcf7-not-valid-tip:after {
  display: none;
}

@media screen and (max-width: 767px) {
  .custom-order-modal__body .wpcf7-form div.fieldhalfcls {
    width: 100% !important;
  }

  .custom-order-modal__body .co-upload-row {
    grid-template-columns: repeat(1, 1fr);
  }

  .custom-order-modal__body .co-upload-row .co-upload-preview {
    display: flex;
    gap: 20px;
    flex-direction: column;
  }

  .custom-order-modal__body .wpcf7-form>div>p:first-child {
    font-size: 12px;
    line-height: 18px;
  }

  .custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-textarea,
  .custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-email,
  .custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-text,
  .custom-order-modal__body .wpcf7-form div .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-select {
    height: 21px;
    font-size: 14px;
    line-height: 21px;
  }

  .custom-order-modal__body input[type="checkbox"]:checked+span:before {
    top: auto;
    transform: unset;
  }

  .custom-order-modal__body .wpcf7-form>div.picture>p:nth-child(3) {
    font-size: 14px;
    line-height: 21px;
  }

  .custom-order-modal__body .wpcf7-form>div.picture>p:nth-child(3) span {
    font-size: 12px;
    line-height: 18px;
  }

  .custom-order-modal__body .wpcf7-form>div.submitBtn {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    background: #fff;
    padding: 20px;
    z-index: 10;
  }

  .custom-order-modal__body .wpcf7-form div.fieldhalfcls .iti__country-container {
    top: -4px;
  }

  .custom-order-modal__body .wpcf7-form div.submitBtn .wpcf7-submit {
    font-size: 14px;
    line-height: 21px;
    padding: 10px 0;
  }

  .custom-order-modal__body .wpcf7 {
    padding: 0;
  }

  .custom-order-modal__body .wpcf7-form>div {
    padding: 0 20px;
  }

  .custom-order-modal__body .wpcf7-form>div.submitBtn p {
    margin-bottom: 0;
  }

  .custom-order-modal__body .wpcf7 form {
    margin-bottom: 0;
  }
}