/* kit_auth_base.css — стили, которые нужны на любой странице, даже когда форма входа не загружена
   (25.10.2026, ленивая форма входа — rf_auth_lazy.js). Побайтная копия двух разделов kit_auth.css:
   мобильная шторка «Учетная запись» и всплывающие уведомления CS-Cart. Правя их в kit_auth.css — править и здесь. */

/* ============================================================================
   15.07: kit-стиль мобильной шторки «Учетная запись» (sticky-панель,
   content.post.tpl -> .kit-account-drawer). Поле «Отслеживание заказа» убрано
   настройкой display_track_orders=N; CSS прячет на случай включения обратно.
   ========================================================================== */
.kit-account-drawer {
  /* bottom-sheet: прижата к НИЗУ ЭКРАНА (тема позиционировала от триггера —
     кнопки уезжали за вьюпорт); высота не больше экрана, внутренний скролл,
     отступ под home-бар iPhone */
  position: fixed !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  max-height: calc(100dvh - 24px) !important;
  overflow-y: auto !important;
  z-index: 1090 !important;
  margin: 0 !important;
  padding: 20px 16px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  border: 0 !important;
  border-radius: 20px 20px 0 0 !important;
  background: #fff !important;
  box-shadow: 0 -12px 40px rgba(13, 11, 38, 0.18) !important;
}
.kit-account-drawer > .ty-dropdown-box__title {
  margin: 0 0 6px !important;
  padding: 0 44px 0 2px !important;
  border: 0 !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #121a33 !important;
  background: transparent !important;
}
/* круглый крестик как в попапе входа + тач-зона */
.kit-account-drawer .ut2-btn-close {
  top: 12px !important;
  right: 12px !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f2f4f8 !important;
  color: #526071 !important;
  opacity: 1 !important;
}
.kit-account-drawer .ut2-btn-close i {
  font-size: 18px !important;
  line-height: 38px !important;
  color: #526071 !important;
}
/* строки-ссылки: высокие тап-цели, шеврон, волосяные разделители */
.kit-account-drawer .ty-account-info {
  margin: 0 0 8px !important;
  padding: 0 !important;
}
.kit-account-drawer .ty-account-info__item {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #eef1f6 !important;
  list-style: none !important;
}
.kit-account-drawer .ty-account-info__item:last-child {
  border-bottom: 0 !important;
}
.kit-account-drawer .ty-account-info__name {
  padding: 10px 2px !important;
  font-weight: 600 !important;
  color: #121a33 !important;
}
.kit-account-drawer .ty-account-info__a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 50px !important;
  padding: 0 26px 0 2px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #121a33 !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
}
.kit-account-drawer .ty-account-info__a::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #a7b0c4;
  border-top: 2px solid #a7b0c4;
  transform: translateY(-50%) rotate(45deg);
}
/* трекинг-блок — прячем насовсем (продублировано настройкой) */
.kit-account-drawer .track-orders,
.kit-account-drawer .ty-account-info__orders {
  display: none !important;
}
/* кнопки: колонка на всю ширину, стиль = попап входа */
.kit-account-drawer .ty-account-info__buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
}
.kit-account-drawer .ty-account-info__buttons .ty-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 12px 18px !important;
  border: 0 !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.kit-account-drawer .ty-account-info__buttons .ty-btn__primary {
  background: #6428ff !important;
  color: #fff !important;
}
.kit-account-drawer .ty-account-info__buttons .ty-btn__primary:active {
  background: #521ee8 !important;
}
.kit-account-drawer .ty-account-info__buttons .ty-btn__secondary,
.kit-account-drawer .ty-account-info__buttons .ty-btn__tertiary {
  background: #f2f4f8 !important;
  color: #121a33 !important;
}

/* ============================================================================
   Всплывающие уведомления CS-Cart — в наш стиль (глобально: они появляются на
   всём сайте — ЛК, checkout, корзина). Только .notification-content.alert-*,
   чтобы не задеть прочие .alert-* элементы.
   ========================================================================== */
.notification-content.alert {
  position: relative !important;
  margin: 0 0 10px !important;
  padding: 13px 42px 13px 16px !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 36px rgba(18, 24, 40, 0.16) !important;
  background: #fff !important;
  color: #121a33 !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  text-shadow: none !important;
}
.notification-content.alert strong {
  display: block !important;
  margin: 0 0 3px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  opacity: 0.9;
}
.notification-content .cm-notification-close {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  opacity: 0.5 !important;
  text-shadow: none !important;
  cursor: pointer !important;
}
.notification-content .cm-notification-close:hover {
  opacity: 1 !important;
  background: rgba(0, 0, 0, 0.06) !important;
}
.notification-content.alert-success {
  background: #eefaf1 !important;
  color: #1f6b43 !important;
  box-shadow: 0 14px 36px rgba(18, 24, 40, 0.14), inset 0 0 0 1px rgba(44, 122, 79, 0.16) !important;
}
.notification-content.alert-info {
  background: #eef1ff !important;
  color: #33357a !important;
  box-shadow: 0 14px 36px rgba(18, 24, 40, 0.14), inset 0 0 0 1px rgba(58, 54, 112, 0.14) !important;
}
.notification-content.alert-warning {
  background: #fff7ec !important;
  color: #9a5b12 !important;
  box-shadow: 0 14px 36px rgba(18, 24, 40, 0.14), inset 0 0 0 1px rgba(154, 91, 18, 0.16) !important;
}
.notification-content.alert-danger,
.notification-content.alert-error {
  background: #fef2f2 !important;
  color: #c0342b !important;
  box-shadow: 0 14px 36px rgba(18, 24, 40, 0.14), inset 0 0 0 1px rgba(192, 52, 43, 0.16) !important;
}

/* «Расширенные» центрированные уведомления (.cm-notification-content-extended) —
   в тот же стиль (белая карточка, чистый крестик, аккуратный заголовок). */
.cm-notification-content-extended {
  border-radius: 16px !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: 0 20px 60px rgba(18, 24, 40, 0.22) !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  color: #121a33 !important;
  overflow: hidden !important;
}
.cm-notification-content-extended .ui-dialog-titlebar,
.cm-notification-content-extended .title {
  border: 0 !important;
  background: transparent !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #121a33 !important;
}
.cm-notification-content-extended .close,
.cm-notification-content-extended .cm-notification-close {
  border-radius: 8px !important;
  background: transparent !important;
  color: #526071 !important;
  opacity: 0.6 !important;
  text-shadow: none !important;
}
.cm-notification-content-extended .close:hover,
.cm-notification-content-extended .cm-notification-close:hover {
  opacity: 1 !important;
  background: rgba(0, 0, 0, 0.06) !important;
}

/* Двойной крестик у нотификаций: тема добавляет ::before-иконку X поверх текстового «×».
   Прячем псевдо-иконку — остаётся один чистый крестик. */
.notification-content .cm-notification-close::before,
.notification-content .cm-notification-close::after,
.notification-content .close::before,
.notification-content .close::after,
.cm-notification-content-extended .close::before,
.cm-notification-content-extended .close::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

