/* 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;
  }
}

.formaction .button.loading{
  pointer-events: none;
  opacity: 0.8;
}
.formaction .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;
}
