  /* страница контакты */
  .custom-container .content-withe {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .custom-container .content-withe .content-withe_item {
    border-radius: 18px;
    background: #fff;
    padding: 20px;
  }
  .custom-container .top-h1 {
    color: #2a2a2a;
    leading-trim: both;
    text-edge: cap;
    font-family: "Bounded Variable", sans-serif !important;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
    margin: 40px 0;
  }
  .custom-container .content-withe {
    color: #2a2a2a;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 23.4px */
  }
  .custom-container .content-withe strong {
    font-weight: 400;
  }

  .custom-container .content-withe strong.content-withe_item-subtitle {
    color: #2a2a2a;
    font-family: "Bounded Variable", sans-serif !important;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    display: block;
    margin-bottom: 16px;
  }
  .content-withe_item-2 {
    color: #868686;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 23.4px */
  }

  .wbutton_garrow.tg-button {
    width: fit-content;
    gap: 86px;
    margin-top: 16px;
  }

  .wbutton_garrow.tg-button::after {
    background-image: url(./img/last_design_added/tg-new.svg);
  }

  @media (max-width: 768px) {
    .custom-container .top-h1 {
      margin: 20px 0;
      color: #2a2a2a;
      font-size: 20px;
      font-style: normal;
      font-weight: 700;
      line-height: 120%; /* 24px */
      text-transform: uppercase;
    }
    .custom-container .content-withe strong.content-withe_item-subtitle{
      font-size: 18px;

    }
    .breadcrumbs {
      font-size: 16px;
    }
    .custom-container .content-withe .content-withe_item {
      padding: 14px 20px;
    }
    .custom-container .content-withe strong {
      font-size: 18px;
      margin-bottom: 8px;
    }
    .wbutton_garrow.tg-button {
      margin-top: 8px;
      gap: 10px;
      width: 100%;
    }
    .custom-container .content-withe {
      font-size: 16px;
    }
    .content-withe_item-2 {
      font-size: 16px;
    }
  }

  /* правовые доки */

  .privacy-docs {
    display: flex;
    flex-direction: column;
    max-width: 534px;
    gap: 14px;
  }
  .privacy-docs .wbutton_garrow {
    gap: 10px;
  }
  .privacy-table {
    display: block;
    overflow-x: auto;
    table-layout: auto;
    width: 100%;
  }

  .privacy-table tbody {
    min-width: 500px;
  }

  .content-withe_item h2 {
    font-size: 18px;
    line-height: normal;
    margin: 20px 0;
  }

  .content-withe_item h2.instructions-title {
    font-family: "Bounded Variable", sans-serif !important;
    font-size: 32px;
    margin: 0;
  }

  .instructions-button {
    max-width: 435px;
    gap: 30px;
  }

  .content-withe_item iframe {
    border-radius: 12px;
    overflow: hidden;
  }

  @media (max-width: 768px) {
    .content-withe_item h2.instructions-title {
      font-size: 18px;
    }
    .instructions-button {
      max-width: 100%;
    }
    .content-withe_item iframe {
      height: 200px;
    }
  }

  /* вход */
  .oauth-form-page {
    margin-top: 125px;
    flex-grow: 1;
    display: flex;
    align-items: center;
  }
  .page-id-7113 .oauth-form-page {
    margin: auto !important;
  }
  .oauth-auth-form .oauth-wrapper {
    padding: 24px;
    background: #ffffff;
    border-radius: 18px;
    width: 400px;
  }
  .title_login_form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 24px;
    font-weight: 700;
    font-family: "Bounded Variable", sans-serif !important;
  }
  .title_login_form::before {
    content: "";
    background: url(./img/last_design_added/login-icon.svg) no-repeat center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-size: cover;
  }

  .subtitle_login_form {
    margin: 8px 0 10px 0;
    color: #2a2a2a;
    font-size: 18px;
  }
  .form_input_container {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .oauth-wrapper .type_text {
    background: transparent;
    border: #d5d7da 1px solid;
    border-radius: 8px;
    padding: 10px 14px;

    font-size: 16px;
    width: 100%;
  }

  .oauth-wrapper .form_input_container-label {
    margin-top: 10px;
  }
  .checkbox input:checked ~ .checkbox__text::after {
    width: 23px;
    height: 23px;
    background-color: #989843;
  }

  .checkbox__text {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 2px 0 0 31px;
    cursor: pointer;
    display: block;
    color: #7f7f7f;
  }

  .form_input_remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
  }

  .forgot a {
    color: #989843;
    margin-right: 0;
    font-weight: 600;
  }

  .oauth-login-form .simple-button {
    width: 100%;
    margin: 32px 0 12px 0;
  }

  .button-show-password.active {
    color: #989843;
  }

  #register-new-user.simple-button {
    width: 100%;
    margin: 32px 0 12px 0;
  }

  .checkbox__text:before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 23px;
    height: 23px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 3px;
    border-radius: 3px;
  }

  .form_input_container_reg {
    margin: 10px 0;
  }

  .mts-modal {
    display: none;
    position: fixed;
    z-index: 9999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .mts-modal-content {
    margin: 10% auto;
    max-width: 450px;
    padding: 24px;
    border-radius: 12px;
  }
  #mts-step-phone
  .mts-form-group{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  #mts-step-phone

  .mts-form-group input{
    width: 100%;
    border: 1px solid #D5D7DA;
    padding: 10px 14px;
    border-radius: 12px;
  }
  .mts-send-code{
    margin-top: 10px;
  }
  #mts-step-verify{
    margin-top: 20px;


  }
  .mts-title{
    font-family: "Bounded Variable", sans-serif !important;
  font-weight: 566;
  font-size: 26px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;

  }
  .mts-code-label{
  font-weight: 400;
  font-size: 20px;
  line-height: 20px;
  margin: 18px 0 10px 0;
  letter-spacing: 0%;
  text-align: center;
  color: #2A2A2A;

  }
  .mts-phone{
  font-weight: 400;
  font-size: 20px;
  line-height: 20px;
  color: #2A2A2A;
  letter-spacing: 0%;
  text-align: center;

  }
  .mts-code-inputs{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
  }
  .mts-code-inputs input{
    width: 50px;
  height: 60px;
  border-radius: 8px;
  margin: 18px 0;
  padding-top: 10px;
  padding-right: 14px;
  padding-bottom: 10px;
  padding-left: 14px;
  border: 1px solid #D5D7DA;
  box-shadow: 0px 1px 2px 0px #0A0D120D;
  color: #717680;
  font-weight: 400;
  font-size: 24px;
  line-height: 20px;
  letter-spacing: 0%;
  text-align: center;


  }
  .mts-countdown{
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0%;
  text-align: center;
  color: #2A2A2A;
  margin: 10px 0 3px 0;
  }
  #mts-verify-code,
  #mts-resend-btn,
  #mts-send-code {
    width: 100%;
  }
  .mts-code-digit:focus {
    border-color: #989843;
    outline: none;
    box-shadow: 0 0 5px #9898437e;
  }
  .mts-code-digit.filled {
    border-color: #989843;
  }

  .oauth-wrapper .simple-button-type-2,
  .oauth-wrapper .simple-button {
    width: 100%;
  }
  .btn_login_form_show-save {
    margin: 10px 0;
  }
  @media (max-width: 550px) {
    .oauth-auth-form .oauth-wrapper {
      width: 350px;
    }
    .form_input_remember {
      gap: 20px;
    }
  }

  /* заявка на консультацию */
  .modal.show .modal-dialog {
    max-width: 640px !important;
    margin: 0 !important;

    max-height: 90%;
    overflow: auto;
    border-radius: 12px;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
  }

  .form-container__form-popup form {
    padding: 24px 24px 0 24px;
    border-radius: 12px;
    background: #fff;
    box-shadow:
      0px 20px 24px -4px rgba(128, 151, 190, 0.1),
      0px 8px 8px -4px rgba(10, 13, 18, 0.04);
    display: flex;
    flex-direction: column;

    gap: 16px;
  }
  .close-mob::before,
  .close-mob::after,
  .close::before,
  .close::after {
    background-color: #717680;
    height: 16px;
    width: 2px;
    left: 0;
    top: 0;
  }

  .form-container__form-popup form .form-title:not(:last-child) {
    grid-column: 1 / -1;
    color: #181d27;
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    font-family: "Bounded Variable", sans-serif !important;
    line-height: 28px; /* 107.692% */
    margin: 0px 0 0 0;
  }

  .form-outer .form-subtitle {
    grid-column: 1 / -1;
    color: #2a2a2a;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0 !important;
    position: relative;
    top: -5px;
  }
  .form-field-wrapper:has(.js-open-drawer) {
    display: flex ;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .form-field-wrapper:has(.js-open-drawer) .text-field-label{
    width: 50%;
  }
  .form-field-wrapper:has(.js-open-drawer) .js-open-drawer{
    width: 50%;
text-align: right;
color: #989843;
  }

  .form-field-wrapper:has(.js-open-drawer) input{
    width: 100%;
    margin-top: 6px !important;
  }

  .modal-flag {
    display: none;
  }
  form .form-field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  form .submit-field-wrapper {
    position: sticky;
    padding-bottom: 24px;
    padding-top: 14px;
    background: white;
    bottom: 0;
    order: 9999;
  }
  form .submit-field-wrapper button {
    border-radius: 8px;
    background: #989843;
    display: flex;
    height: 60px;
    justify-content: center;
    align-items: center;
    padding: 19px 30px;
    color: #fff;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;

    position: sticky;
    bottom: 0;
  }
  .custom--check + label {
    display: flex;
    color: #414651;

  }
  .custom--check + label a {
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
  text-underline-offset: 3px;
    color: #414651;
  }
  form .form-field-wrapper input {
    border: 1px solid #d5d7da;
    border-radius: 8px;
    padding-top: 10px;
    padding-right: 14px;
    padding-bottom: 10px;
    padding-left: 14px;
    width: 100%;
  }
.form-required-error {
    border-color: #ff4444 !important;
}
.iti__country-list{
  border-radius: 8px;
  box-shadow: 0px 4px 24px 0px #2F43230D !important;
padding: 14px 7px 14px 14px !important;
border: none !important;
margin: 5px 0 0 0 !important;
}

.form-popup-bottom-important{
      background-image: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12.5' r='10' stroke='%23414651' stroke-width='1.5'/%3E%3Cpath d='M12 7.5V13.5' stroke='%23414651' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='16.5' r='1' fill='%23414651'/%3E%3C/svg%3E");
         background-repeat: no-repeat;
    background-position: left 3px;
    background-size: 17px;
    padding: 0 0 0 22px;
    margin: 10px 0 0 0;
}
.form-popup-bottom-important a{
  font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-underline-offset: 3px;
    color: #414651;
}

.iti__country{
border-radius: 8px !important;
padding-top: 8px !important;
padding-right: 10px !important;
padding-bottom: 8px !important;
padding-left: 10px !important;

}
.iti__country.iti__highlight{
  background: #F0F0E6 !important;
}

.form-required-error[data-error]:after {
    content: attr(data-error);
    display: block;
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
}
  .submit-field-wrapper {
    order: 9999;
  }

  .where-connect {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }
  .where-connect > div {
    border: 1px solid #d5d7da;
    padding: 10px 10px 10px 18px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    color: #181d27;
    align-items: center;
    gap: 10px;
    transition: 0.5s;
    cursor: pointer;
  }

  .where-connect > div.active {
    background: #eff4e4;
    border: 1px solid #989843;
  }

  .where-connect > div > div {
    width: 40px;
    min-width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: cover;

    background-size: 27px;
    background-position: center;

    background-color: white;
    border-radius: 6px;
  }

  .where-connect__wa .where-connect__img {
    background: url(./img/last_design_added/wa.svg) no-repeat center;
    background-size: contain;
  }
  .where-connect__tg .where-connect__img {
    background: url(./img/last_design_added/tg.svg) no-repeat center;
    background-size: contain;
  }
  .where-connect__max .where-connect__img {
    background: url(./img/last_design_added/max.svg) no-repeat center;
    background-size: contain;
  }

  /* Затемнение фона */
  .drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .drawer-backdrop_active {
    opacity: 1;
    visibility: visible;
  }

  /* Основной контейнер drawer'а */
  .drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 425px;
    background-color: #ffffff;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
  }

  .drawer_active {
    transform: translateX(0);
  }

  /* Контент */
  .drawer__content {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  /* Шапка */
  .drawer__header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: flex-end;
  }

  .drawer__close-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    fill: currentColor;
  }

  .drawer__close-icon:hover {
    opacity: 0.7;
  }

  /* Тело */
  .drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px 24px;
  }

  /* Заголовок */
  .drawer__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #1a1a1a;
  }

  /* Текстовый контент */
  .drawer__text {
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
  }

  .drawer__text p {
    margin: 0 0 16px;
  }

  .drawer__text strong {
    font-weight: 600;
    color: #1a1a1a;
  }

  /* Изображения */
  .drawer__image {
    width: 100%;
    height: auto;
    margin: 8px 0 16px;
    border-radius: 4px;
  }

  /* Стили для скроллбара */
  .drawer__body::-webkit-scrollbar {
    width: 4px;
  }

  .drawer__body::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .drawer__body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
  }

  .drawer__body::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
  }

  .form-container__form {
    overflow-y: hidden;
  }

  @media (max-width: 768px) {
    .where-connect {
      grid-template-columns: 1fr;
    }
  }
  /* Контейнер кастомного селекта */
  .custom-select-container {
    position: relative;
    display: inline-block;
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    user-select: none;
  }

  /* Кнопка-триггер */
  .custom-select-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    background-color: #fff;
  border: 1px solid #D5D7DA;  border-radius: 8px;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    transition: 0.3s;
  }

  .custom-select-button:hover {
    border-color: #999;
  }

  .custom-select-button.open {
    border-color: #666;
    border: 1px solid #989843;
  }

  .custom-select-button-text {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .custom-select-arrow {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23717680' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");    background-repeat: no-repeat;
      background-position: center;
        background-size: 24px 24px;
      width: 24px;
      height: 24px;
  }

  .custom-select-button.open .custom-select-arrow {
    transform: rotate(180deg);
  }

  /* Список опций */
  .custom-select-options {

  box-shadow: 0px 4px 24px 0px #2F43230D;
    padding: 14px;


    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    list-style: none;
    background-color: #fff;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
  }

  .custom-select-options.open {
    opacity: 1;
    visibility: visible;
  }

  /* Опционально: открытие вверх */
  .custom-select-container.open-up .custom-select-options {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 4px;
  }

  /* Элемент опции */
  .custom-select-option {
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.2s;
  }

  .custom-select-option:hover,
  .custom-select-option.hover {
    background-color: #f5f5f5;
  }

  .custom-select-option.selected {
    background-color: #F0F0E6;
  }

  .custom-select-option.disabled {
    color: #999;
    cursor: not-allowed;
    background-color: #f9f9f9;
  }

  /* Адаптация под модальные окна */
  .modal-content .custom-select-container {
    width: 100%;
  }