/* Дополнения для сайта: виджет Bitrix24, страница политики, подпись разработчика.
   Подключается последним, после css/mark.css. */

/* ---------- Виджет Bitrix24 (форма заявки) ---------- */
.b24-slot { min-width: 0; width: 100%; color-scheme: light; }
/* галочка согласия: обычный размер, слева от текста, светлая рамка вместо тёмного квадрата */
.b24-slot label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  text-align: left !important;
  cursor: pointer;
}
.b24-slot label input[type=checkbox] {
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #857A6B !important;
  border-radius: 2px !important;
  accent-color: #C2185B;
  cursor: pointer;
}
.b24-slot .b24-form-control-desc {
  display: block !important;
  text-align: left !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #5E564C !important;
}
.b24-slot .b24-form-control-required { color: #C2185B !important; }
.b24-slot .b24-form-wrapper,
.b24-slot .b24-form {
  width: 100% !important;
  max-width: none !important;
}
.b24-slot .b24-form-control {
  width: 100% !important;
  box-sizing: border-box !important;
}
.form-consent-note { margin-top: 16px; }
.form-consent-note a,
.footer__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Футер ---------- */
.footer__note { line-height: 1.8; }
.footer__note a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Страница политики ---------- */
.legal__inner {
  max-width: 760px;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.legal__inner h1 { margin-top: 16px; }
.legal__inner h2 {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
}
.legal__inner p { margin-top: 12px; line-height: 1.7; }
.legal__sub { padding-left: 1.25rem; }
.legal__inner a { text-decoration: underline; text-underline-offset: 3px; }
.legal__date { color: var(--ink-soft); font-size: .875rem; }
.ph {
  padding: 0 4px;
  background: #FFE58A;
  color: var(--ink);
}
