/* MARK: - Order Modal */
/* #region Order Modal */
.ordermodal {
  width: 550px;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch;
  justify-content: center;
  position: relative;
  transform: translateX(50%) !important;
  transition: transform 0.4s ease, opacity 0.4s ease !important;
  margin-left: auto;
}

.hystmodal {
  backdrop-filter: blur(2px);
  overscroll-behavior: none;
}

.hystmodal--active {
  background: rgba(0, 0, 0, 0.5);
}

.hystmodal::before {
  display: none !important;
}

.hystmodal--active .ordermodal {
  transform: translateX(0px) !important;
}

#jsOrderModal {
  z-index: 400;
}

.modalcloser {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: auto;
  aspect-ratio: 1 / 1;
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  outline: none !important;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0 0 0 0;
}

.modalcloser img {
  display: block;
  margin: auto;
  width: 60%;
  height: auto;
  opacity: 0.7;
}

.ordermodal__wrap {
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px 40px;

  @media (max-width: 767px) {
    padding: 20px 20px 40px;
  }
}

.ordermodal__title.title {
  text-align: center;
  font-size: 48px;
  line-height: 1.13;

  @media (max-width: 767px) {
    text-align: left;
    font-size: 33px;
  }
}

.ordermodal__socblock {
  border-radius: 20px;
  background: #EEF7FF;
  padding: 36px 40px;
  max-width: 405px;
  width: 100%;
  margin: 35px auto 0;

  @media (max-width: 767px) {
    padding: 25px 20px;
    margin-top: 30px;
    max-width: none;
  }
}

.ordermodal__h3 {
  color: #0A3654;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 120%;

  @media (max-width: 767px) {
    font-size: 15px;
  }
}

.ordermodal__socwrap {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  max-width: 100%;
}

.ordermodal__socwrap:first-child {
  margin-top: 0;
}

.ordermodal__soclink {
  min-width: 0;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 100px;
  width: 55px;
  height: auto;
  aspect-ratio: 1 / 1;
}

.ordermodal__soclink:hover {
  opacity: 0.8;
}

.ordermodal__soclink img {
  display: block;
  width: 18px;
  height: auto;
}

.ordermodal__hr {
  margin-top: 30px;
  margin-bottom: 30px;
  height: 1px;
  background: #000;
  opacity: 0.1;
  display: block;

  @media (max-width: 767px) {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

.ordermodal__h4 {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
}

.ordermodal__h4 br {
  @media (max-width: 767px) {
    display: none;
  }
}

.ordermodal__formwrap {
  width: 100%;
  max-width: 365px;
  margin: 35px auto 0;

  @media (max-width: 767px) {
    margin-top: 20px;
    max-width: none;
  }
}

.formrow {
  margin-bottom: 8px;
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch;
  justify-content: flex-start;
}

.formrow input[type="text"] {
  display: block;
  appearance: none;
  border-radius: 14px;
  background: #E9F2F9;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #000;
  font-weight: 500;
  padding: 0 18px;
  border: none;
  outline: none;
  width: 100%;
  height: 55px;
}

.formrow input[type="text"][aria-invalid="true"] {
  border-bottom: 1px solid red;
}

.formrow label {
  display: block;
  position: absolute;
  left: 18px;
  top: 0;
  font-size: 14px;
  height: 55px;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
  font-weight: 500;
  transform-origin: top left;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

.formrow:has(input:focus-within) label,
.formrow:has(input:not(:placeholder-shown)) label {
  transform: scale(0.7) translateY(-5px);
  opacity: 0.5;
}

.formrow input:focus-within,
.formrow input:not(:placeholder-shown) {
  padding-top: 15px;
}

.formrow textarea {
  display: block;
  appearance: none;
  border-radius: 14px;
  background: #E9F2F9;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #000;
  font-weight: 500;
  padding: 18px;
  border: none;
  outline: none;
  width: 100%;
  min-height: 120px;
  resize: vertical;
}

.formrow textarea[aria-invalid="true"] {
  border-bottom: 1px solid red;
}

.formrow:has(textarea) label {
  height: auto;
  top: 18px;
  align-items: flex-start;
}

.formrow:has(textarea:focus-within) label,
.formrow:has(textarea:not(:placeholder-shown)) label {
  transform: scale(0.7) translateY(-9px);
  opacity: 0.5;
}

.formrow ul {
  order: 3;
  margin: 0px 10px 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.4;
  color: #d93025;
  padding: 2px 18px;
  background: #fce8e6;
  border-radius: 0 0 100px 100px;
}

.formaction {
  margin-top: 32px;

  @media (max-width: 767px) {
    margin-top: 20px;
  }
}

.formaction .button {
  width: 100%;
  height: 67px;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;

  @media (max-width: 767px) {
    height: 60px;
    font-size: 15px;
    border-radius: 100px;
  }
}

.button.loading {
  pointer-events: none;
  opacity: 0.8;
}

.button.loading::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 100px;
  background: url(../img/spinner.svg) center center no-repeat;
  background-size: contain;
}








.thanks__main.hero__main {
  min-height: calc(100vh - 108px);
  padding-bottom: 80px;
}

.thanks__h2 {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 30px;

  @media (max-width: 1200px) {
    font-size: 17px;
  }

  @media (max-width: 992px) {
    font-size: 16px;
  }

  @media (max-width: 767px) {
    font-size: 15px;
  }
}

.thanks__bg {
  @media (max-width: 767px) {
    display: none !important;
  }
}

.thanks__socblock {
  margin: 0;
  margin-bottom: 40px;

  @media (max-width: 767px) {
    margin-bottom: 0;
  }
}

.thanks__actions.hero__actions {
  @media (max-width: 767px) {
    margin-top: 30px;
  }
}









.mainpage {
  margin-top: 70px;
  padding-bottom: 60px;

  @media (max-width: 767px) {
    margin-top: 30px;
    padding-bottom: 50px;
  }
}

.mainpage__title {
  font-size: 48px;
  line-height: 1.2;

  @media (max-width: 767px) {
    font-size: 28px;
  }
}

.mainpage__content {
  margin-top: 40px;
}






/* MARK: - PopUp Form */
/* #region PopUp Form */
.js-scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 300px;
  pointer-events: none;
}

.popform{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;

  @media (max-width: 767px) {
    right: 15px;
  }
}

.popform__buttons {
  display: flex;
  position: relative;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.popform__button {
  display: flex;
  position: relative;
  z-index: 5;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #f4c500;
  color: #0A3654;
  box-shadow: 0 0 10px rgba(255, 211, 0, 0.3);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;

  @media (max-width: 767px) {
    width: 55px;
    height: 55px;
  }
}

.popform__button--blue{
  background: linear-gradient(90deg, rgb(42, 171, 238) 0%, rgb(34, 158, 217) 100%);
  box-shadow: none;
}

.popform__buttons.is-visible .popform__button{
  opacity: 1;
  pointer-events: auto;
}

.popform__button:hover {
  transform: scale(1.06);
}

.popform__button svg {
  display: block;
  margin: auto;
}

.popform__box,
.popshare{
  width: 380px;
  display: block;
  padding: 20px 30px 30px;
  position: absolute;
  right: 0px;
  bottom: 70px;
  z-index: 200;
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 20px;

  @media (max-width: 767px) {
    bottom: 65px;
    max-width: calc(100vw - 30px);
    border-radius: 15px;
  }
}

.popshare{
  position: absolute;
  right: calc(100% + 10px);
  top: auto;
  bottom: 70px;
  left: auto;
  top: auto;
  width: 310px;

  @media (max-width: 767px) {
    right: 0;
    width: calc(100vw - 30px);
    bottom: calc(100% + 8px);
  }
}

.popform__box.is-open,
.popshare.is-open{
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.popform__close {
  font-size: 30px;
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
  border: none;
  background: #fff;
}


.popform__header {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 10;
  padding-bottom: 15px;

  @media (max-width: 767px) {
    align-items: flex-end;
  }
}

.popform__pic {
  width: 90px;
  display: block;
  flex-shrink: 0;

  @media (max-width: 767px) {
    width: 80px;
  }
}

.popform__titles {
  flex-grow: 1;
  margin-left: -5px;
}

.popform__h1 {
  font-size: 19px;
  line-height: 1.4;
  padding-bottom: 5px;
  font-weight: 700;

  @media (max-width: 767px) {
    font-size: 18px;
  }
}

.popform__h2 {
  font-size: 14px;
  line-height: 1.3;
  opacity: 0.7;
}

.popform__middle {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 15px;
}

.popform__middlelabel {
  display: block;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.7;
}

.popform__middleicons {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.popform__middleicons a {
  height: 30px;
  width: auto;
  min-width: 30px;
  border-radius: 100px;
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  background-color: #eff4fa;
  font-size: 13px;
  font-weight: 500;
}

.popform__middleicons img {
  width: 16px;
  height: auto;
  display: block;
}

.popform__formwrap {
  margin-top: 20px;
}

.popform__action {
  margin-top: 10px;
}

.popform__action .button {
  width: 100%;
  height: 55px;
  font-size: 16px;
  --br: 14px;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.popshare__title{
  text-align: center;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  opacity: 0.7;
}

.popshare__links{
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.popshare__link{
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  background-color: #eff4fa;
  width: 50px;
  height: auto;
  aspect-ratio: 1 / 1;
}

.popshare__link img{
  display: block;
  width: 20px;
  height: auto;
  margin: auto;
}

.popshare__link:hover{
  opacity: 0.7;
}

/* #endregion PopUp Form */
