@charset "UTF-8";
/* line 1, order-desk.scss */
.stribog-order-desk,
.stribog-order-desk * {
  box-sizing: border-box; }

/* line 6, order-desk.scss */
.stribog-order-desk {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 55px;
  color: #111; }

/* =========================================================
   ЗАГОЛОВОК
========================================================= */
/* line 19, order-desk.scss */
.sod-head {
  margin-bottom: 24px; }

/* line 23, order-desk.scss */
.sod-title {
  margin: 0 0 9px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  color: #111; }

/* line 31, order-desk.scss */
.sod-subtitle {
  max-width: 760px;
  margin: 0;
  color: #777;
  font-size: 15px;
  line-height: 1.6; }

/* =========================================================
   ОСНОВНАЯ СЕТКА
========================================================= */
/* line 44, order-desk.scss */
.sod-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 24px;
  align-items: stretch; }

/* =========================================================
   ЧАТ
========================================================= */
/* line 56, order-desk.scss */
.sod-chat {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.035); }

/* line 68, order-desk.scss */
.sod-chat-top {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 19px;
  border-bottom: 1px solid #ededed;
  background: #fff; }

/* line 83, order-desk.scss */
.sod-chat-name {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: #111; }

/* line 94, order-desk.scss */
.sod-chat-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto; }

/* line 103, order-desk.scss */
.sod-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #888; }

/* line 114, order-desk.scss */
.sod-status-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65a061; }

/* =========================================================
   КНОПКИ В ШАПКЕ ЧАТА
========================================================= */
/* line 130, order-desk.scss */
.sod-mobile-close {
  display: none; }

/* line 134, order-desk.scss */
.sod-expand {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: .15s ease; }

/* line 161, order-desk.scss */
.sod-expand:hover {
  border-color: #bbb;
  background: #f7f7f7; }

/* =========================================================
   СООБЩЕНИЯ
========================================================= */
/* line 171, order-desk.scss */
.sod-messages {
  height: 440px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 22px 20px;
  background: #fbfbfb;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; }

/* line 186, order-desk.scss */
.sod-message {
  display: flex;
  width: 100%;
  margin-bottom: 18px; }

/* line 194, order-desk.scss */
.sod-message--assistant {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px; }

/* line 201, order-desk.scss */
.sod-message--user {
  justify-content: flex-end; }

/* line 205, order-desk.scss */
.sod-message-content {
  min-width: 0;
  max-width: 78%; }

/* =========================================================
   АВАТАР
========================================================= */
/* line 215, order-desk.scss */
.sod-avatar {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff; }

/* line 231, order-desk.scss */
.sod-avatar img {
  display: block !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  max-width: 40px !important;
  min-height: 40px;
  max-height: 40px !important;
  object-fit: cover;
  object-position: center; }

/* =========================================================
   ПУЗЫРИ
========================================================= */
/* line 252, order-desk.scss */
.sod-bubble {
  position: relative;
  padding: 12px 14px 23px;
  border-radius: 13px;
  font-size: 14px;
  line-height: 1.5; }

/* line 263, order-desk.scss */
.sod-message--assistant .sod-bubble {
  border: 1px solid #e8e8e8;
  border-top-left-radius: 4px;
  background: #f7f7f7;
  color: #222; }

/* line 272, order-desk.scss */
.sod-message--user .sod-bubble {
  width: auto;
  max-width: 62%;
  border-top-right-radius: 4px;
  background: #e7f1ff;
  color: #222; }

/* line 283, order-desk.scss */
.sod-time {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: 9px;
  line-height: 1;
  color: #999; }

/* =========================================================
   БЫСТРЫЕ КНОПКИ
========================================================= */
/* line 300, order-desk.scss */
.sod-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px; }

/* line 309, order-desk.scss */
.sod-chip {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 9px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
  touch-action: manipulation;
  transition: .15s ease; }

/* line 332, order-desk.scss */
.sod-chip:hover {
  border-color: #aaa;
  background: #fafafa; }

/* =========================================================
   ПРЕВЬЮ ПРИКРЕПЛЁННЫХ ИЗОБРАЖЕНИЙ
========================================================= */
/* line 342, order-desk.scss */
.sod-preview-strip {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 13px 0;
  background: #fff; }

/* line 354, order-desk.scss */
.sod-preview-strip.is-visible {
  display: flex; }

/* line 358, order-desk.scss */
.sod-preview-item {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f3; }

/* line 374, order-desk.scss */
.sod-preview-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; }

/* line 383, order-desk.scss */
.sod-preview-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #171717;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation; }

/* =========================================================
   НИЖНЯЯ СТРОКА ЧАТА
========================================================= */
/* line 416, order-desk.scss */
.sod-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 13px;
  border-top: 1px solid #ededed;
  background: #fff; }

/* line 429, order-desk.scss */
.sod-attach {
  flex: 0 0 42px;
  width: 42px;
  height: 44px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 21px;
  line-height: 42px;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation; }

/* line 454, order-desk.scss */
.sod-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  max-height: 120px;
  resize: none;
  padding: 11px 13px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 14px;
  line-height: 1.45; }

/* line 481, order-desk.scss */
.sod-input:focus {
  border-color: #999; }

/* line 485, order-desk.scss */
.sod-input::placeholder {
  color: #aaa; }

/* line 489, order-desk.scss */
.sod-send {
  flex: 0 0 50px;
  width: 50px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #171717;
  color: #fff;
  font-size: 21px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation; }

/* line 514, order-desk.scss */
.sod-send:hover {
  background: #333; }

/* =========================================================
   ПРАВАЯ КОЛОНКА
========================================================= */
/* line 523, order-desk.scss */
.sod-side {
  padding: 21px;
  border: 1px solid #e3e3e3;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.025); }

/* line 534, order-desk.scss */
.sod-side-title {
  margin: 0 0 23px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 600;
  color: #111; }

/* line 544, order-desk.scss */
.sod-step {
  display: flex;
  gap: 12px;
  padding-bottom: 19px;
  margin-bottom: 19px;
  border-bottom: 1px solid #eee; }

/* line 555, order-desk.scss */
.sod-step-number {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f3f3;
  color: #222;
  font-size: 12px;
  font-weight: 600; }

/* line 575, order-desk.scss */
.sod-step-text {
  min-width: 0; }

/* line 579, order-desk.scss */
.sod-step-text strong {
  display: block;
  margin-bottom: 5px;
  color: #222;
  font-size: 13px;
  line-height: 1.35; }

/* line 590, order-desk.scss */
.sod-step-text span {
  display: block;
  color: #777;
  font-size: 12px;
  line-height: 1.5; }

/* line 599, order-desk.scss */
.sod-side-note {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  padding: 14px;
  border-radius: 9px;
  background: #f7f7f7; }

/* line 612, order-desk.scss */
.sod-side-note-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 50%;
  font-size: 12px; }

/* line 628, order-desk.scss */
.sod-side-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.3; }

/* line 637, order-desk.scss */
.sod-side-note span {
  display: block;
  color: #777;
  font-size: 11px;
  line-height: 1.4; }

/* =========================================================
   ПРЕИМУЩЕСТВА
========================================================= */
/* line 651, order-desk.scss */
.sod-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px; }

/* line 660, order-desk.scss */
.sod-benefit {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px; }

/* line 669, order-desk.scss */
.sod-benefit-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  color: #555;
  font-size: 10px; }

/* line 687, order-desk.scss */
.sod-benefit strong {
  display: block;
  margin-bottom: 2px;
  color: #333;
  font-size: 12px;
  line-height: 1.3; }

/* line 698, order-desk.scss */
.sod-benefit span {
  display: block;
  color: #999;
  font-size: 11px;
  line-height: 1.3; }

/* =========================================================
   БЛОКИРОВКА СТРАНИЦЫ ПОД FULLSCREEN / EXPANDED
========================================================= */
/* line 712, order-desk.scss */
html.sod-page-locked,
body.sod-page-locked {
  overflow: hidden !important; }

/* =========================================================
   DESKTOP — РАЗВЁРНУТЫЙ ЧАТ
========================================================= */
/* line 722, order-desk.scss */
body.sod-desktop-expanded .sod-chat {
  position: fixed !important;
  z-index: 999999;
  top: 18px !important;
  right: 18px !important;
  bottom: 18px !important;
  left: 18px !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.16); }

/* line 750, order-desk.scss */
body.sod-desktop-expanded .sod-chat-top {
  flex: 0 0 auto; }

/* line 754, order-desk.scss */
body.sod-desktop-expanded .sod-messages {
  flex: 1 1 auto;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important; }

/* line 764, order-desk.scss */
body.sod-desktop-expanded .sod-input-wrap {
  flex: 0 0 auto; }

/* =========================================================
   ПЛАНШЕТ / MOBILE

   ВАЖНО: на мобильном ДЕФОЛТНОЕ состояние чата — это
   fullscreen. Так убирается "мигание" обычной страницы
   при загрузке и при повторном открытии: браузер сразу,
   без ожидания JS, рисует чат в fullscreen-виде.

   "Свёрнутая" карточка чата (видна страница целиком,
   чат — обычный блок в потоке) — это ИСКЛЮЧЕНИЕ,
   включается явным классом body.sod-mobile-collapsed,
   который ставит JS ПОСЛЕ закрытия чата пользователем.
========================================================= */
@media (max-width: 900px) {
  /* line 785, order-desk.scss */
  .stribog-order-desk {
    padding: 22px 15px 40px; }

  /* line 789, order-desk.scss */
  .sod-layout {
    grid-template-columns: minmax(0, 1fr); }

  /* line 793, order-desk.scss */
  .sod-side {
    display: none; }

  /* line 797, order-desk.scss */
  .sod-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* line 801, order-desk.scss */
  .sod-expand {
    display: none; }

  /* =======================================================
     FULLSCREEN — ДЕФОЛТ на мобильном/планшете
  ======================================================= */
  /* line 810, order-desk.scss */
  .sod-chat {
    position: fixed !important;
    z-index: 999999;
    top: var(--sod-vv-top, 0px) !important;
    left: var(--sod-vv-left, 0px) !important;
    width: var(--sod-vv-width, 100vw) !important;
    height: var(--sod-vv-height, 100dvh) !important;
    max-width: none !important;
    max-height: none !important;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: none !important;
    overflow: hidden !important; }

  /* line 841, order-desk.scss */
  .sod-chat-top {
    flex: 0 0 auto;
    min-height: 58px;
    padding: max(10px, env(safe-area-inset-top)) 12px 10px;
    border-bottom: 1px solid #e9e9e9;
    background: #fff; }

  /* line 857, order-desk.scss */
  .sod-mobile-close {
    display: flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #111;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation; }

  /* line 886, order-desk.scss */
  .sod-mobile-close:active {
    background: #f3f3f3; }

  /* line 890, order-desk.scss */
  .sod-chat-name {
    font-size: 15px; }

  /*
    В fullscreen СКРОЛЛИТСЯ ТОЛЬКО область сообщений.
  */
  /* line 898, order-desk.scss */
  .sod-messages {
    flex: 1 1 auto;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 16px 11px 20px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #fbfbfb;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y; }

  /*
    Поле ввода — отдельный нижний ряд.
    Оно НЕ скроллится вместе с сообщениями.
  */
  /* line 926, order-desk.scss */
  .sod-input-wrap {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    gap: 7px;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid #e8e8e8;
    background: #fff; }

  /* line 945, order-desk.scss */
  .sod-input {
    min-width: 0;
    height: 46px;
    min-height: 46px;
    max-height: 110px;
    padding: 11px 12px;
    font-size: 16px;
    line-height: 22px;
    overflow-y: auto;
    border-radius: 10px;
    -webkit-appearance: none;
    appearance: none; }

  /* line 965, order-desk.scss */
  .sod-input::placeholder {
    font-size: 16px;
    line-height: 22px; }

  /* line 971, order-desk.scss */
  .sod-attach {
    flex: 0 0 44px;
    width: 44px;
    height: 46px;
    line-height: 44px;
    border-radius: 10px; }

  /* line 982, order-desk.scss */
  .sod-send {
    flex: 0 0 48px;
    width: 48px;
    height: 46px;
    line-height: 46px;
    border-radius: 10px; }

  /* line 994, order-desk.scss */
  .sod-avatar {
    flex-basis: 34px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
    min-height: 34px; }

  /* line 1004, order-desk.scss */
  .sod-avatar img {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
    max-width: 34px !important;
    min-height: 34px;
    max-height: 34px !important; }

  /* line 1015, order-desk.scss */
  .sod-message-content {
    max-width: calc(100% - 42px); }

  /* line 1019, order-desk.scss */
  .sod-message--user .sod-bubble {
    max-width: 88%; }

  /* line 1023, order-desk.scss */
  .sod-bubble {
    font-size: 14px;
    line-height: 1.45; }

  /* line 1028, order-desk.scss */
  .sod-chip {
    min-height: 38px;
    padding: 9px 11px;
    font-size: 13px; }

  /* =======================================================
     СВЁРНУТОЕ состояние — ИСКЛЮЧЕНИЕ.
     Включается через body.sod-mobile-collapsed
     после того как пользователь нажал ×.
  ======================================================= */
  /* line 1043, order-desk.scss */
  body.sod-mobile-collapsed .sod-chat {
    position: static !important;
    z-index: auto;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 440px !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e3e3e3 !important;
    border-radius: 13px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.035) !important;
    overflow: hidden !important; }

  /* line 1068, order-desk.scss */
  body.sod-mobile-collapsed .sod-chat-top {
    padding: 16px 19px;
    border-bottom: 1px solid #ededed; }

  /* line 1074, order-desk.scss */
  body.sod-mobile-collapsed .sod-mobile-close {
    display: none; }

  /* line 1078, order-desk.scss */
  body.sod-mobile-collapsed .sod-messages {
    height: 100% !important;
    padding: 22px 20px; }

  /* line 1084, order-desk.scss */
  body.sod-mobile-collapsed .sod-input-wrap {
    padding: 12px 13px; } }
/* =========================================================
   ТЕЛЕФОН — СВЁРНУТАЯ КАРТОЧКА НА УЗКИХ ЭКРАНАХ

   Действует только вместе с body.sod-mobile-collapsed
   (закрытый fullscreen). Пока fullscreen открыт,
   правила из блока выше (900px) его перекрывают.
========================================================= */
@media (max-width: 600px) {
  /* line 1101, order-desk.scss */
  .stribog-order-desk {
    padding: 15px 10px 25px; }

  /* line 1105, order-desk.scss */
  .sod-head {
    margin-bottom: 16px; }

  /* line 1109, order-desk.scss */
  .sod-title {
    margin-bottom: 7px;
    font-size: 25px; }

  /* line 1115, order-desk.scss */
  .sod-subtitle {
    font-size: 13px;
    line-height: 1.5; }

  /* line 1120, order-desk.scss */
  .sod-subtitle br {
    display: none; }

  /* line 1124, order-desk.scss */
  body.sod-mobile-collapsed .sod-chat {
    border-radius: 10px !important; }

  /* line 1128, order-desk.scss */
  body.sod-mobile-collapsed .sod-chat-top {
    min-height: 52px;
    padding: 13px; }

  /* line 1134, order-desk.scss */
  body.sod-mobile-collapsed .sod-chat-name {
    font-size: 14px; }

  /* line 1138, order-desk.scss */
  body.sod-mobile-collapsed .sod-status {
    font-size: 11px; }

  /* line 1142, order-desk.scss */
  body.sod-mobile-collapsed .sod-messages {
    height: 430px !important;
    min-height: 0;
    max-height: 430px;
    overflow-y: auto;
    padding: 15px 10px; }

  /* line 1153, order-desk.scss */
  body.sod-mobile-collapsed .sod-message--assistant {
    gap: 7px; }

  /* line 1157, order-desk.scss */
  body.sod-mobile-collapsed .sod-avatar {
    flex-basis: 32px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px; }

  /* line 1167, order-desk.scss */
  body.sod-mobile-collapsed .sod-avatar img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    max-width: 32px !important;
    min-height: 32px;
    max-height: 32px !important; }

  /* line 1178, order-desk.scss */
  body.sod-mobile-collapsed .sod-message-content {
    max-width: calc(100% - 39px); }

  /* line 1182, order-desk.scss */
  body.sod-mobile-collapsed .sod-bubble {
    padding: 10px 11px 21px;
    font-size: 13px;
    line-height: 1.45; }

  /* line 1189, order-desk.scss */
  body.sod-mobile-collapsed .sod-message--user .sod-bubble {
    max-width: 88%; }

  /* line 1193, order-desk.scss */
  body.sod-mobile-collapsed .sod-quick {
    gap: 6px; }

  /* line 1197, order-desk.scss */
  body.sod-mobile-collapsed .sod-chip {
    min-height: 34px;
    padding: 8px 9px;
    font-size: 11px; }

  /* line 1205, order-desk.scss */
  body.sod-mobile-collapsed .sod-input-wrap {
    gap: 6px;
    padding: 8px; }

  /* line 1211, order-desk.scss */
  body.sod-mobile-collapsed .sod-attach {
    flex-basis: 38px;
    width: 38px;
    height: 42px;
    line-height: 40px;
    font-size: 19px; }

  /* line 1222, order-desk.scss */
  body.sod-mobile-collapsed .sod-input {
    min-height: 42px;
    padding: 10px;
    font-size: 16px; }

  /* line 1230, order-desk.scss */
  body.sod-mobile-collapsed .sod-send {
    flex-basis: 44px;
    width: 44px;
    height: 42px;
    line-height: 42px;
    font-size: 19px; }

  /* line 1241, order-desk.scss */
  body.sod-mobile-collapsed .sod-benefits {
    display: none; } }
