@charset "UTF-8";
:root {
  --ext-c: var(--clr, #141414);
  --ext-bg: var(--f, #fff);
  --ext-line: var(--grey-10, #e8e8e8);
  --ext-main: var(--main, #e02a1c);
  --ext-main-hover: var(--hover, #bd2b1f);
  --ext-muted: var(--grey-60, #727272);
  --ext-br: var(--br, .25rem);
  --ext-radius: .5rem;
  --ext-shadow: var(--box-shadow, 0 4px 14px rgba(0,0,0,.08));
  --ext-font: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --ext-order-max: 920px;
}

.extshop-order {
  /* компактный серый статус справа от имени */
  /* индикатор "обработка…" — бегущая полоска */
}
.extshop-order__card {
  position: relative;
  width: min(var(--ext-order-max), 94vw);
  border-radius: var(--ext-radius);
  -webkit-box-shadow: var(--ext-shadow);
          box-shadow: var(--ext-shadow);
  background: var(--ext-bg);
  overflow: auto;
  margin: 0 auto;
  line-height: 100%;
}
.extshop-order_hide {
  display: none;
}
.extshop-order__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 901;
}
.extshop-order__window {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-line-pack: center;
      align-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 902;
}
.extshop-order__window > * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.extshop-order__window form, .extshop-order__window header, .extshop-order__window .extshop-order__state, .extshop-order__window .extshop-order-overlay {
  font-family: var(--ext-font);
}
.extshop-order__window .extshop-order__window {
  display: block;
  max-width: 720px;
  width: min(720px, 94vw);
  border-radius: var(--ext-radius);
  -webkit-box-shadow: var(--ext-shadow);
          box-shadow: var(--ext-shadow);
  position: relative;
  padding-bottom: 0.5rem;
}
.extshop-order__window > .extshop-order__close, .extshop-order__window > .extshop-order-overlay, .extshop-order__window > .extshop-order__state {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: 1/1;
}
.extshop-order__window > .extshop-order-overlay,
.extshop-order__window .extshop-order__state {
  display: none;
}
.extshop-order__window > .extshop-order-overlay.d-flex,
.extshop-order__window .extshop-order__state:not([hidden]) {
  display: -ms-grid;
  display: grid;
  place-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
}
.extshop-order__window > .extshop-order__close {
  position: absolute;
  top: 1rem;
  right: calc(50% - 360px);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--ext-line);
  background: var(--ext-bg);
  color: var(--ext-c);
  display: -ms-grid;
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-box-shadow: var(--ext-shadow);
          box-shadow: var(--ext-shadow);
}
@media (max-width: 820px) {
  .extshop-order__window > .extshop-order__close {
    right: 1rem;
  }
}
.extshop-order__window button.extshop-order-fileitem__del {
  padding: 1px 6px;
}
.extshop-order__window .extshop-order__window,
.extshop-order__window .extshop-order__form,
.extshop-order__window .extshop-order__header {
  background: var(--ext-bg);
  color: var(--ext-c);
}
.extshop-order__close {
  position: absolute;
  top: 1rem;
  right: 1.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: -ms-grid;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid var(--ext-line);
  background: #fff;
  color: var(--ext-c);
}
.extshop-order__header {
  padding: 1.25rem 1.75rem 0.75rem;
  border-bottom: 1px solid var(--ext-line);
}
.extshop-order__title {
  margin: 0 0 0.25rem 0 !important;
  font-size: var(--h4, 1.25rem);
}
.extshop-order__subtitle {
  margin: 0;
  color: var(--ext-muted);
  font-size: var(--f14, 0.875rem);
}
.extshop-order__form {
  padding: 1rem 1.75rem 1.25rem;
}
.extshop-order__grid {
  display: -ms-grid;
  display: grid;
  gap: 0.75rem;
  -ms-grid-columns: 1fr 0.75rem 1fr;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
}
@media (max-width: 640px) {
  .extshop-order__grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.extshop-order__label {
  display: inline-block;
  margin-bottom: 0.375rem;
}
.extshop-order__req {
  color: var(--ext-main);
  margin-left: 0.25rem;
}
.extshop-order__input, .extshop-order__textarea {
  width: 100%;
  border: 1px solid var(--ext-line);
  border-radius: var(--ext-br);
  padding: 0.75rem 0.875rem;
  background: var(--ext-bg);
  font-size: var(--f14, 0.875rem);
  line-height: 1.2;
}
.extshop-order__input:hover, .extshop-order__textarea:hover {
  border-color: var(--grey-40);
}
.extshop-order__input::-webkit-input-placeholder, .extshop-order__textarea::-webkit-input-placeholder {
  font-size: var(--f14, 0.875rem);
  line-height: 1.2;
  color: var(--grey-40, #a1a1a1);
  opacity: 1;
}
.extshop-order__input::-moz-placeholder, .extshop-order__textarea::-moz-placeholder {
  font-size: var(--f14, 0.875rem);
  line-height: 1.2;
  color: var(--grey-40, #a1a1a1);
  opacity: 1;
}
.extshop-order__input:-ms-input-placeholder, .extshop-order__textarea:-ms-input-placeholder {
  font-size: var(--f14, 0.875rem);
  line-height: 1.2;
  color: var(--grey-40, #a1a1a1);
  opacity: 1;
}
.extshop-order__input::-ms-input-placeholder, .extshop-order__textarea::-ms-input-placeholder {
  font-size: var(--f14, 0.875rem);
  line-height: 1.2;
  color: var(--grey-40, #a1a1a1);
  opacity: 1;
}
.extshop-order__input::placeholder, .extshop-order__textarea::placeholder {
  font-size: var(--f14, 0.875rem);
  line-height: 1.2;
  color: var(--grey-40, #a1a1a1);
  opacity: 1;
}
.extshop-order__input:focus, .extshop-order__textarea:focus {
  outline: 0;
  border-color: var(--ext-main);
  -webkit-box-shadow: 0 0 0 3px color-mix(in srgb, var(--ext-main) 20%, transparent);
          box-shadow: 0 0 0 3px color-mix(in srgb, var(--ext-main) 20%, transparent);
}
.extshop-order__error {
  display: block;
  color: var(--stop, #ff0000);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  min-height: 1em;
}
.extshop-order__field--layout {
  grid-column: 1/-1;
}
.extshop-order__dropzone {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  border: 2px dashed var(--ext-line);
  border-radius: var(--ext-br);
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
  background: #fff;
}
.extshop-order__dropzone.is-drag {
  border-color: var(--ext-main);
}
.extshop-order__dropzone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.extshop-order__dropzone span {
  color: var(--ext-muted);
  font-size: 16px;
  line-height: 100%;
  text-align: center;
  margin: 1rem auto;
}
.extshop-order__dropzone, .extshop-order__dropzone * {
  cursor: pointer;
}
.extshop-order__hint {
  color: var(--ext-muted);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  line-height: 100%;
}
.extshop-order__filelist {
  list-style: none;
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.5rem 0.5rem;
  margin-top: 0.5rem;
  padding: 0;
}
.extshop-order-fileitem {
  border: 1px solid var(--ext-line);
  border-radius: var(--ext-br);
  background: #fff;
  padding: 0.5rem 0.625rem;
}
.extshop-order-fileitem__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.extshop-order-fileitem__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 150%;
}
.extshop-order-fileitem__del {
  border: 0;
  background: transparent;
  color: var(--ext-muted);
  cursor: pointer;
  font-size: 18px;
}
.extshop-order-fileitem__progress {
  height: 3px;
  background: var(--ext-line);
  border-radius: 99px;
  margin-top: 0.5rem;
  overflow: hidden;
}
.extshop-order-fileitem__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ext-main);
  -webkit-transition: width 0.2s;
  transition: width 0.2s;
}
.extshop-order-fileitem_error {
  border-color: var(--stop, #f00);
}
.extshop-order-fileitem_done .extshop-order-fileitem__progress {
  display: none;
}
.extshop-order-fileitem__status {
  font-size: 12px;
  color: var(--grey-60, #727272);
  margin-left: auto;
  margin-right: 0.5rem;
}
.extshop-order-fileitem_processing .extshop-order-fileitem__progress {
  display: block;
  position: relative;
  overflow: hidden;
}
.extshop-order-fileitem_processing .extshop-order-fileitem__progress span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  will-change: transform;
  -webkit-transform: translateX(-60%);
          transform: translateX(-60%);
  -webkit-animation: ext-order-indeterminate 1.4s infinite linear;
          animation: ext-order-indeterminate 1.4s infinite linear;
}
@-webkit-keyframes ext-order-indeterminate {
  0% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  100% {
    -webkit-transform: translateX(160%);
            transform: translateX(160%);
  }
}
@keyframes ext-order-indeterminate {
  0% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  100% {
    -webkit-transform: translateX(160%);
            transform: translateX(160%);
  }
}
.extshop-order__field--textarea {
  grid-column: 1/-1;
}
.extshop-order__consent {
  grid-column: 1/-1;
  color: var(--ext-muted);
  font: inherit;
}
.extshop-order__consent .main-user-consent-request {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 0.5rem 1fr;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  font: inherit;
  line-height: 1.4;
}
.extshop-order__consent .main-user-consent-request input[type=checkbox] {
  margin: 0;
  margin-top: 0.1rem;
}
.extshop-order__consent .main-user-consent-request-announce-link {
  font: inherit;
  color: var(--ext-muted);
}
.extshop-order__consent .main-user-consent-request-popup {
  font: inherit;
}
.extshop-order__consent .main-user-consent-request-popup-text {
  line-height: 1.45;
}
.extshop-order__checkbox {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}
.extshop-order__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5rem;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  margin-top: 0.5rem;
}
.extshop-order__btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  border-radius: var(--ext-br);
  padding: 0.9rem 1.1rem;
  font: 600 16px/1 var(--ext-font);
  cursor: pointer;
  background: var(--ext-main);
  color: #fff;
  -webkit-transition: 0.15s ease;
  transition: 0.15s ease;
  min-height: 44px;
  padding: 0.9rem 1.1rem;
}
.extshop-order__btn:hover {
  background: var(--ext-main-hover);
}
.extshop-order__btn--ghost {
  background: #fff;
  color: var(--ext-c);
  border: 1px solid var(--ext-line);
  padding: 0.9rem 1.1rem;
}
.extshop-order__state {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--ext-bg) 85%, transparent);
  border-radius: var(--ext-radius);
  z-index: 2;
}
.extshop-order__spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--ext-line);
  border-top-color: var(--ext-main);
  -webkit-animation: extspin 1s linear infinite;
          animation: extspin 1s linear infinite;
  margin-bottom: 0.5rem;
}
@-webkit-keyframes extspin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes extspin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.extshop-order__state-text {
  color: var(--ext-muted);
}
.extshop-order-waiting {
  pointer-events: none;
  opacity: 0.7;
}

.extshop-order-files {
  grid-column: 1/-1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.extshop-order-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.extshop-order-overlay__content {
  background: var(--ext-bg);
  color: var(--ext-c);
  border-radius: var(--ext-radius);
  padding: 1.2rem 1.4rem;
  -webkit-box-shadow: var(--ext-shadow);
          box-shadow: var(--ext-shadow);
}