/* Functional Aspro order form inside the redesign modal shell. */
.redesign-aspro-form-frame {
  position: relative;
  z-index: 10000;
  display: block !important;
}

.redesign-aspro-form-frame .privacy-policy-msg,
.redesign-aspro-form-frame .processing-block {
  display: none !important;
}

.order-product-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
  padding: 16px;
  background: var(--popup-bg);
}

.order-product-popup > .modal__window-style-1 {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.order-product-popup .modal__window-form-1 {
  margin: 0 auto;
}

.order-product-popup .order-product-popup__description {
  margin-bottom: 20px;
}

.order-product-popup .order-product-popup__caption {
  margin-bottom: 8px;
  color: var(--colorGray);
  font: var(--font-small);
}

.order-product-popup .order-product-popup__captcha-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
}

.order-product-popup .order-product-popup__captcha-row img {
  display: block;
  max-width: 100%;
  height: auto;
}

.order-product-popup .refresh {
  display: inline-block;
  margin-top: 8px;
  color: var(--colorOrange);
  font: var(--font-small);
}

.order-product-popup .form__item-hint {
  display: block;
  margin-top: 6px;
  color: var(--colorGray);
  font: var(--font-small);
}

.order-product-popup .form__item-error {
  z-index: 1;
}

.order-product-popup .form__item-submit {
  width: 100%;
}

@media all and (min-width: 765px) {
  .order-product-popup {
    padding: 32px;
  }
}
