/* Desktop order-popup (local static fallback) */
html.order-popup-open,
body.order-popup-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* Desktop order-popup strict parity fixes (after switching to original DOM attrs) */
.overlay-new {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 145;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
}
body.order-popup-open .overlay-new {
  display: block;
}
#desktop-order-popup.modal.order-popup {
  background: rgb(29, 29, 31) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  flex-direction: column !important;
  max-height: 95% !important;
  min-height: 90% !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 130px 0 !important;
}

#desktop-order-popup.modal.order-popup.is-scrollable {
  overflow-y: auto !important;
}

#desktop-order-popup .order-popup__scroll-spacer,
#desktop-order-popup .order-popup__form-scroll-spacer {
  flex: 0 0 0 !important;
  height: 0 !important;
  width: 100% !important;
  pointer-events: none !important;
}

#desktop-order-popup.is-scrollable .order-popup__form-scroll-spacer {
  flex-basis: 170px !important;
  height: 170px !important;
}

@media (max-width: 768px) {
  #desktop-order-popup.is-scrollable .order-popup__form-scroll-spacer {
    flex-basis: 0 !important;
    height: 0 !important;
  }
}

@media (min-width: 1025px) {
  #desktop-order-popup .contact-form__messenger-links {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 34px !important;
  }
}

#desktop-order-popup .order-popup__meta .lead {
  max-width: 350px !important;
}

#desktop-order-popup .contact-form__messenger[data-v-2ee28934] {
  margin-top: 0 !important;
}

#desktop-order-popup .contact-form__form-title {
  display: none !important;
}

#desktop-order-popup .contact-form__messenger-links a {
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 46px !important;
  min-height: 46px !important;
  opacity: 0.5 !important;
}

#desktop-order-popup .contact-form__messenger-links a:hover {
  opacity: 1 !important;
}

#desktop-order-popup .contact-form__messenger-links a img {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
  display: block !important;
}

#desktop-order-popup .privacy-check__mask {
  border-radius: 4px !important;
}

#desktop-order-popup .privacy-check__text a {
  text-decoration: underline !important;
}

#desktop-order-popup .form__submit.btn[data-v-111f0665] {
  width: 250px !important;
  flex: 0 0 250px !important;
  min-width: 200px !important;
  max-width: 250px !important;
  height: 46px !important;
  padding: 0 24px !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  opacity: 0.5 !important;
}

@media (max-width: 768px) {
  #desktop-order-popup .form__submit.btn[data-v-111f0665].is-disabled {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    color: rgba(255, 255, 255, 0.62) !important;
    opacity: 0.62 !important;
  }

  #desktop-order-popup .form__submit.btn[data-v-111f0665].is-disabled .btn__text,
  #desktop-order-popup .form__submit.btn[data-v-111f0665].is-disabled .btn__arrow path {
    color: rgba(255, 255, 255, 0.62) !important;
    stroke: rgba(255, 255, 255, 0.62) !important;
  }

  #desktop-order-popup .form__submit.btn[data-v-111f0665].is-disabled .btn__overlay {
    display: none !important;
  }
}

#desktop-order-popup .form__submit.btn[data-v-111f0665]:hover {
  color: #000 !important;
  opacity: 1 !important;
}

#desktop-order-popup .form__submit.btn[data-v-111f0665]:hover .btn__text,
#desktop-order-popup .form__submit.btn[data-v-111f0665]:hover .btn__arrow path {
  color: #000 !important;
  stroke: #000 !important;
}

#desktop-order-popup .form__submit.btn[data-v-111f0665]:active {
  color: rgb(99, 99, 99) !important;
}

#desktop-order-popup .form__submit.btn[data-v-111f0665]:active .btn__text,
#desktop-order-popup .form__submit.btn[data-v-111f0665]:active .btn__arrow path {
  color: rgb(99, 99, 99) !important;
  stroke: rgb(99, 99, 99) !important;
}

#desktop-order-popup .form__submit .btn__overlay {
  display: block !important;
  background-color: #fff !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

#desktop-order-popup .form__submit .btn__text,
#desktop-order-popup .form__submit .btn__arrow {
  position: relative !important;
  z-index: 1 !important;
}

#desktop-order-popup .form__submit:hover .btn__overlay {
  width: 250% !important;
  height: 560px !important;
}

#desktop-order-popup .order-popup__inner[data-v-2ee28934] {
  width: 80% !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: space-between !important;
  padding: 0 !important;
}

#desktop-order-popup .order-popup__content[data-v-2ee28934],
#desktop-order-popup .form-wrap[data-v-8ad2fcbc] {
  width: 50% !important;
  max-width: 50% !important;
  flex: 0 0 50% !important;
}

#desktop-order-popup .form-wrap[data-v-8ad2fcbc] {
  margin-top: -25px !important;
}

#desktop-order-popup .form__grid[data-v-8ad2fcbc] {
  display: flex !important;
}

#desktop-order-popup .form__grid-item[data-v-8ad2fcbc]:last-child {
  width: 0 !important;
  margin-left: 0 !important;
  overflow: hidden !important;
}

#desktop-order-popup .privacy-check[data-v-8ad2fcbc] {
  line-height: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  margin-top: 40px !important;
}

#desktop-order-popup.is-thank-you .order-popup__inner[data-v-2ee28934] {
  width: 80% !important;
  margin: 0 auto !important;
  min-height: calc(100vh - 200px) !important;
  display: block !important;
}

#desktop-order-popup.is-thank-you #form.form-wrap[data-v-2ee28934] {
  min-height: 320px !important;
  box-sizing: border-box !important;
}

#desktop-order-popup.is-thank-you .form-success__inner[data-v-a1ad29aa] {
  height: 100% !important;
  position: relative !important;
}

#desktop-order-popup .form__grid-item[data-v-8ad2fcbc]:first-child .form__group[data-v-8ad2fcbc] {
  margin-bottom: 16.7px !important;
}

#desktop-order-popup .form__group.form__comments[data-v-8ad2fcbc] {
  margin-bottom: 16.7px !important;
}

#desktop-order-popup .form__comments[data-v-8ad2fcbc] {
  overflow: visible !important;
  transition: margin-bottom 0.15s linear !important;
}

#desktop-order-popup .form__comments textarea.form__control[data-v-8ad2fcbc] {
  max-height: none !important;
  min-height: 4.5em !important;
  height: 4.5em;
  overflow: hidden !important;
  resize: none !important;
}

@media (min-width: 769px) {
  #desktop-order-popup .form__group.form__group--sub[data-v-8ad2fcbc] {
    margin-top: 48px !important;
  }
}

#desktop-order-popup .form__group.is-focused .form__label[data-v-8ad2fcbc],
#desktop-order-popup .form__group.is-filled .form__label[data-v-8ad2fcbc] {
  transform: translate3d(0, -2em, 0) !important;
  font-size: 0.625em !important;
}

@media (max-width: 425px) {
  #desktop-order-popup .form__group.is-focused .form__label[data-v-8ad2fcbc],
  #desktop-order-popup .form__group.is-filled .form__label[data-v-8ad2fcbc] {
    font-size: 0.875em !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #desktop-order-popup.modal.order-popup {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 76px 0 !important;
    box-sizing: border-box !important;
  }

  #desktop-order-popup .order-popup__inner[data-v-2ee28934] {
    width: 87% !important;
    min-height: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 40px !important;
    box-sizing: border-box !important;
  }

  #desktop-order-popup .order-popup__content[data-v-2ee28934],
  #desktop-order-popup .form-wrap[data-v-8ad2fcbc] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  #desktop-order-popup .form-wrap[data-v-8ad2fcbc] {
    margin-top: -28px !important;
  }

  #desktop-order-popup .order-popup__meta .lead {
    max-width: none !important;
  }

  #desktop-order-popup .form__grid[data-v-8ad2fcbc] {
    display: flex !important;
    flex-direction: column !important;
  }

  #desktop-order-popup .form__grid-item[data-v-8ad2fcbc] {
    width: 100% !important;
    max-width: 100% !important;
  }

  #desktop-order-popup .form__grid-item[data-v-8ad2fcbc]:last-child {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    overflow: visible !important;
  }

  #desktop-order-popup .form__submit.btn[data-v-111f0665] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }
}

@media (max-width: 425px) {
  #desktop-order-popup .modal-close.order-popup__cross,
  #desktop-order-popup .modal-close[data-v-2ee28934] {
    top: calc(34px + env(safe-area-inset-top, 0px)) !important;
    right: 10% !important;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  #desktop-order-popup.modal.order-popup {
    background: rgb(25, 26, 27) !important;
    padding-top: calc(80px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    align-items: unset !important;
    justify-content: unset !important;
    max-height: none !important;
    min-height: 100vh !important;
  }

  #desktop-order-popup .order-popup__inner[data-v-2ee28934] {
    width: 80% !important;
    max-width: 80% !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 50px !important;
    flex-direction: column !important;
    display: flex !important;
    align-items: stretch !important;
    min-height: 0 !important;
  }

  #desktop-order-popup .order-popup__content[data-v-2ee28934],
  #desktop-order-popup .form-wrap[data-v-8ad2fcbc] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  #desktop-order-popup .form-wrap[data-v-8ad2fcbc] {
    margin-top: 0 !important;
  }

  #desktop-order-popup .order-popup__meta[data-v-2ee28934] {
    margin-right: 0 !important;
  }

  #desktop-order-popup .order-popup__meta h2[data-v-2ee28934],
  #desktop-order-popup .order-popup__meta h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    color: #fff !important;
    max-width: 282px !important;
    margin: 0 0 30px !important;
  }

  #desktop-order-popup .order-popup__meta .lead[data-v-2ee28934],
  #desktop-order-popup .order-popup__meta .lead {
    font-size: 18px !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin: 0 !important;
    max-width: 282px !important;
  }

  #desktop-order-popup .contact-form__messenger[data-v-2ee28934] {
    margin-top: 50px !important;
    margin-bottom: 40px !important;
  }

  #desktop-order-popup .contact-form__messenger-title[data-v-2ee28934] {
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
  }

  #desktop-order-popup .contact-form__form-title {
    display: block !important;
    margin-bottom: 30px !important;
  }

  #desktop-order-popup .contact-form__messenger-links {
    display: block !important;
    line-height: 0 !important;
  }

  #desktop-order-popup .contact-form__messenger-links a {
    background: none !important;
    border-radius: 0 !important;
    display: inline-block !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    vertical-align: top !important;
  }

  #desktop-order-popup .contact-form__messenger-links a + a {
    margin-left: 15px !important;
  }

  #desktop-order-popup .contact-form__messenger-links a img {
    width: 46px !important;
    height: 46px !important;
    display: block !important;
    opacity: 1 !important;
  }

  #desktop-order-popup .form__grid-item[data-v-8ad2fcbc]:last-child {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  #desktop-order-popup .form__grid-item[data-v-8ad2fcbc]:first-child .form__group[data-v-8ad2fcbc] {
    margin-bottom: 16.7px !important;
  }

  #desktop-order-popup .form__group.form__comments[data-v-8ad2fcbc] {
    margin-bottom: 16.7px !important;
  }

  #desktop-order-popup .form__group--sub[data-v-8ad2fcbc] {
    position: relative !important;
    top: unset !important;
    margin-top: 64.5px !important;
  }

  #desktop-order-popup .form__submit.btn[data-v-111f0665] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    height: 56px !important;
    padding: 0 24px !important;
    border-radius: 30px !important;
    opacity: 1 !important;
    color: #000 !important;
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 40px !important;
  }

  #desktop-order-popup .form__submit .btn__text[data-v-111f0665],
  #desktop-order-popup .form__submit .btn__arrow {
    color: #000 !important;
  }

  #desktop-order-popup .form__submit .btn__arrow path {
    stroke: #000 !important;
  }

  #desktop-order-popup .form__submit:hover .btn__overlay[data-v-111f0665],
  #desktop-order-popup .form__submit.btn[data-v-111f0665]:hover .btn__overlay {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }

  #desktop-order-popup .form__submit.btn[data-v-111f0665]:hover {
    color: #000 !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  #desktop-order-popup .form__submit.btn[data-v-111f0665]:hover .btn__text,
  #desktop-order-popup .form__submit.btn[data-v-111f0665]:hover .btn__arrow path {
    color: #000 !important;
    stroke: #000 !important;
  }

  /* На тач-устройствах hover-стейт приводит к «прыжку» кнопки после tap */
  #desktop-order-popup .form__submit.btn[data-v-111f0665],
  #desktop-order-popup .form__submit.btn[data-v-111f0665] .btn__text,
  #desktop-order-popup .form__submit.btn[data-v-111f0665] .btn__arrow path {
    transition: none !important;
  }

  #desktop-order-popup .form__submit-error {
    margin-top: -24px !important;
    margin-bottom: 14px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: rgba(255, 120, 120, 0.95) !important;
    min-height: 18px !important;
  }

  #desktop-order-popup .privacy-check[data-v-8ad2fcbc] {
    height: auto !important;
    min-height: 0 !important;
    align-items: flex-start !important;
    margin-top: 0 !important;
    line-height: 1.35 !important;
  }

  #desktop-order-popup .privacy-check__text[data-v-8ad2fcbc],
  #desktop-order-popup .privacy-check__text {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.45) !important;
  }

  #desktop-order-popup.is-thank-you .form-success__socials img {
    width: 46px !important;
    height: auto !important;
  }

  #desktop-order-popup.is-thank-you .order-popup__inner[data-v-2ee28934] {
    min-height: calc(100vh - 200px) !important;
  }
}
