/* Базовые стили bootstrap 5 */
.d-flex {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
}
.gap-2 {
  -webkit-gap: 0.5rem !important;
  -ms-gap: 0.5rem !important;
  gap: 0.5rem !important;
}
.gap-3 {
  -webkit-gap: 1rem !important;
  -ms-gap: 1rem !important;
  gap: 1rem !important;
}
.align-items-center {
  -webkit-box-align: center !important;
  -webkit-align-items: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
}
.justify-content-between {
  -webkit-box-pack: justify !important;
  -webkit-justify-content: space-between !important;
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
}
.flex-wrap {
  -webkit-flex-wrap: wrap !important;
  -ms-flex-wrap: wrap !important;
  flex-wrap: wrap !important;
}
.w-100 {
  width: 100% !important;
}
.position-relative {
  position: relative !important;
}
/* Отступы для виджетов внутри */
.prodajushhaya-widget {
  margin-bottom: 12px;
}
.sidebar {
  position: relative;
}
.promo-bar {
  z-index: 9;
}
.promo-bar a.callback {
  line-height: 100%;
  text-align: center;
}
.promo-bar .promo-text {
  line-height: 100%;
}

.prodajushhaya-floating-sidebar {
  z-index: 0;
}

.psp-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 99999;
}

.psp-modal.show {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.psp-modal-dialog {
  max-width: 600px;
  width: 90%;
  background: #fff;
  border-radius: 8px;
  max-height: 100vh;
  overflow-y: auto;
}

.psp-modal-body {
  padding: 20px;
  position: relative;
}

.psp-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.call-to-action-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
.social .social__link,
.call-to-action-mobile .social__link {
  width: 35px;
  height: 35px;
  background: white;
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-shadow: rgba(0, 0, 0, 0.09) 0px 4px 20px;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 4px 20px;
  cursor: pointer;
  border: none;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.social__svg,
.social a img {
  width: 16px !important;
  height: 16px !important;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
}
.social__svg:hover {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}
.link-wrap {
  -webkit-gap: 10px;
  -ms-gap: 10px;
  gap: 10px;
}
.sidebar-baner {
  height: 180px;
  background-position: center;
}
.sidebar-baner {
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-box-shadow: 0 14px 34px rgba(0, 29, 104, 0.12);
  box-shadow: 0 14px 34px rgba(0, 29, 104, 0.12);
  border-radius: 10px;
  height: 270px;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-gap: 20px;
  -ms-gap: 20px;
  gap: 20px;
  padding: 15px;
  margin-bottom: 20px;
}
.sidebar-baner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  background-size: cover;
  z-index: 0;
}
.baner-title {
  font-size: 24px;
  line-height: 100%;
  font-weight: normal;
  text-align: center;
}
@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }
}
@media (max-width: 768px) {
  .call-to-action-mobile .social__link {
    width: 20px;
    height: 20px;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .call-to-action-mobile .social__svg {
    width: 10px;
    height: 10px;
  }

  .call-to-action-mobile .call-to-text {
    font-size: 14px;
    line-height: 100%;
  }
}
@media (max-width: 420px) {
  .call-to-action-mobile .call-to-text {
    font-size: 12px;
  }
  .call-to-action-mobile .link-wrap {
    -webkit-gap: 5px;
    -ms-gap: 5px;
    gap: 5px;
  }
}

/*
 * =========================================================================
 * ГЛОБАЛЬНЫЕ ЦВЕТА И ПЕРЕМЕННЫЕ (для имитации Bootstrap)
 * =========================================================================
 */
/*
 * =========================================================================
 * ГЛОБАЛЬНЫЕ ЦВЕТА И ПЕРЕМЕННЫЕ (УДАЛЕНЫ)
 * =========================================================================
 */

/* =========================================================================
 * УТИЛИТЫ (Имитация классов Bootstrap)
 * =========================================================================
 */
.bg-primary {
  /* Исходное: rgba(48, 127, 226, 1) или #007bff */
  background-color: #007bff !important;
}
.bg-success {
  /* Исходное: rgba(25, 135, 84, 1) или #28a745 */
  background-color: #28a745 !important;
}
.bg-danger {
  /* Исходное: rgba(220, 53, 69, 1) или #dc3545 */
  background-color: #dc3545 !important;
}

.d-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.flex-wrap {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.flex-nowrap {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}
.align-items-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.justify-content-center {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.justify-content-between {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.gap-2 {
  gap: calc(1rem * 0.5); /* 0.5rem */
}
.gap-3 {
  gap: 1rem;
}
.p-2 {
  padding: calc(1rem * 0.5) !important; /* 0.5rem */
}
.py-2 {
  padding-top: calc(1rem * 0.5) !important; /* 0.5rem */
  padding-bottom: calc(1rem * 0.5) !important; /* 0.5rem */
}
.px-3 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.pb-3 {
  padding-bottom: 1rem !important;
}
.m-0 {
  margin: 0 !important;
}
.w-100 {
  width: 100% !important;
}

/* Цвет текста */
.text-white {
  color: #fff !important;
}
.text-primary {
  color: #007bff !important;
}
.text-muted {
  color: #6c757d !important;
}
.text-center {
  text-align: center !important;
}

/* Позиционирование */
.position-relative {
  position: relative !important;
}

/* Отзывчивость */
.col {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 0%;
  flex: 1 0 0%;
}
.container,
.container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: calc(1rem * 0.75); /* 0.75rem */
  padding-left: calc(1rem * 0.75); /* 0.75rem */
}

/* Классы скрытия/отображения */
.d-lg-none {
  display: block !important;
} /* По умолчанию видим на мобайле */

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  .text-lg-end {
    text-align: right !important;
  }
}
