/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

.gap--6 {
  gap: 6px !important;
}

.gap--8 {
  gap: 8px;
}

.gap--12 {
  gap: 12px !important;
}

.gap--16 {
  gap: 16px;
}

.gap--20 {
  gap: 20px;
}

.gap--24 {
  gap: 24px;
}

.gap--30 {
  gap: 30px;
}

.gap--32 {
  gap: 32px;
}

.gap--40 {
  gap: 40px;
}

.mt--0 {
  margin-top: 0px !important;
}

.mt--2 {
  margin-top: 2px !important;
}

.mt--4 {
  margin-top: 4px !important;
}

.mt--6 {
  margin-top: 6px !important;
}

.mt--8 {
  margin-top: 8px !important;
}

.mt--10 {
  margin-top: 10px !important;
}

.mt--12 {
  margin-top: 12px !important;
}

.mt--14 {
  margin-top: 14px !important;
}

.mt--16 {
  margin-top: 16px !important;
}

.mt--20 {
  margin-top: 20px !important;
}

.mt--24 {
  margin-top: 24px !important;
}

.mt--30 {
  margin-top: 30px !important;
}

.mt--40 {
  margin-top: 40px !important;
}

.mb--0 {
  margin-bottom: 0px !important;
}

.mb--2 {
  margin-bottom: 2px !important;
}

.mb--4 {
  margin-bottom: 4px !important;
}

.mb--6 {
  margin-bottom: 6px !important;
}

.mb--8 {
  margin-bottom: 8px !important;
}

.mb--10 {
  margin-bottom: 10px !important;
}

.mb--12 {
  margin-bottom: 12px !important;
}

.mb--14 {
  margin-bottom: 14px !important;
}

.mb--16 {
  margin-bottom: 16px !important;
}

.mb--20 {
  margin-bottom: 20px !important;
}

.mb--24 {
  margin-bottom: 24px !important;
}

.mb--30 {
  margin-bottom: 30px !important;
}

.mb--40 {
  margin-bottom: 40px !important;
}

.mb--60 {
  margin-bottom: 60px !important;
}

.mr--auto {
  margin-right: auto !important;
}

.ml--auto {
  margin-left: auto !important;
}

.p--20 {
  padding: 20px;
}

.pr--16 {
  padding-right: 16px !important;
}

.pl--0 {
  padding-left: 0 !important;
}

.pl--16 {
  padding-left: 16px !important;
}

.pr--20 {
  padding-right: 20px !important;
}

.pl--20 {
  padding-left: 20px !important;
}

.pt--20 {
  padding-top: 20px !important;
}

.pb--0 {
  padding-bottom: 0px !important;
}

.pb--2 {
  padding-bottom: 2px !important;
}

.pb--4 {
  padding-bottom: 4px !important;
}

.pb--6 {
  padding-bottom: 6px !important;
}

.pb--8 {
  padding-bottom: 8px !important;
}

.pb--10 {
  padding-bottom: 10px !important;
}

.pb--20 {
  padding-bottom: 20px !important;
}

.fill-basic-text-black,
.fill-basic-text-black path,
.fill-basic-text-black use,
.fill-basic-text-black-block path,
.fill-basic-text-black-block use {
  fill: var(--basic_text_black);
}

.phones__phone-link.phones__phone-first{
    user-select: none;
}

ul>li::before {
  background-color: var(--theme-base-color);
}

/* custom styles poverka detail */

.poverka-text-detail {
  font-weight: 500;
}

.field-poverka__label {
  padding: 0 0 0 28px;
  position: relative;
  z-index: 1;
  cursor: pointer;
  outline: none;
  display: flex;
  margin: 0;
  min-height: 20px;
  overflow: hidden;
  line-height: calc(1em + 6px);
}
.field-poverka__input {
  display: block;
  width: 0px;
  height: 0;
  line-height: 0px;
  margin: 0px;
  pointer-events: none;
  opacity: 0;
}
.field-poverka__text {
  user-select: none;
}
.field-poverka__checkbox {
  border-radius: 4px;
  position: absolute;
  top: 0px;
  left: 0;
  height: 20px;
  width: 20px;
  box-sizing: border-box;
  background: #fff;
  background: var(--darkerblack_bg_black);
  border: 1px solid #dadada;
  border: 1px solid var(--input_border_color);
  transition: all 250ms cubic-bezier(0.4, 0, 0.23, 1);
  transition: all ease 0.3s;
}

.field-poverka__label:has(:checked) .field-poverka__checkbox {
  background-color: var(--theme-base-color);
  border: none;
}

.field-poverka__label:has(:checked) .field-poverka__checkbox:before {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--color-light-gray);
  cursor: pointer;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6.66697 10.1138L12.7952 3.9856L13.738 4.9284L6.66697 11.9994L2.42432 7.75685L3.36712 6.81405L6.66697 10.1138Z' fill='white'/%3E%3C/svg%3E");
}

.basket-poverka {
    color: #226d0b;
}
/* custom styles poverka detailcustom styles poverka detail END */

/* убрать стоимость доставки в карточке sale.order.ajax  */
.bx-soa-pp-list-description {
  display: none !important;
}

/* Свернуть капчу  */
.SmartCaptcha-Shield.SmartCaptcha-Shield_visible.SmartCaptcha-Shield_position_right{
  transform: translateX(0) !important;
}

/* Скрыть replain в попапе  */
#__replain_widget {
  z-index: 2999 !important; /* Устанавливаем высокий приоритет отображения */
}

/* Фон загрузки в темной теме  */
.theme-dark .loading-state-before:before{
  background: rgba(83, 82, 82, 0.4) url("/bitrix/templates/aspro-premier/images/loaders/double_ring.svg") center 50px no-repeat !important;
}

/* Убрать обрезание иконки тегов в шапке  */
.scroll-header-tags__item-container .icon-block__icon{
  margin: 2px;
}

/* Добавить contain для изображений в услугах и в изображениях галлереи */
.gallery-detail .ui-card__img{
  object-fit: contain;
}

.color_red  {
  color: red;
}

/* Баг с отображением подсказки в смарт фильтре каталога */
.form-checkbox__label.form-checkbox__label--toggle{
  overflow: visible;
}

.form-checkbox__label.form-checkbox__label--toggle .bx_filter_input_checkbox{
  display: flex;
  align-items: center;
}
/* Баг с отображением подсказки в смарт фильтре каталога END */

/* Баг с вертикальным скролом у каруселей на главной */
.mobile-scrolled{
  overflow-y: hidden;
}
/* Баг с вертикальным скролом у каруселей на главной END */

/* Баг с высотой в контактах на главной */
@media (max-width: 768px) {
    .map-list__items-wrapper {
        --container-height: max-content;
    }
}
/* Баг с высотой в контактах на главной END */

/* Перенос 2-го элемента в заголовке если нет места, как в дет. заказа  END */
.topic__heading{
  flex-wrap: wrap;
}
/* Перенос 2-го элемента в заголовке если нет места, как в дет. заказа */

.swiper-button-next, .swiper-button-prev{
  user-select: none;
}

/* Баг с кривыми изображения в выпадающей корзине в ПК версии */
.dropdown-product__item-image img{
  object-fit: contain;
  max-height: 64px;
}
/* Баг с кривыми изображения в выпадающей корзине в ПК версии END */

/*Надпись скидки для неавторизованных пользователей*/
.sale_block_price_after_au{
    display: inline-block!important;
}
.price_after_au{
    display: block!important;
}
.sale_block .sale_block_price_after_au{
    margin-top: 10px;
}
.sale_block .text_price_after_au{
    background:#1f8300;
    margin: 0 0 5px;
    color: #fff;
}
.sale_block.sale_block_price_after_au .text{
    padding: 4px 10px;
}

.sale_block .text {
    display: inline-block;
    font-size: 12px;
    line-height: 16px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
/*Надпись скидки для неавторизованных пользователей END*/