/*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;  }*/
.properties-heading { display: none !important;  }
.tabs > ul:nth-child(1) > li:nth-child(3){ display: none !important;  }
.page_not_found .image svg {
  max-width: 20%;
}
.js-popup-block-adaptive > div:nth-child(3) > div:nth-child(1) > div:nth-child(5){display:none;}
#bx_3966226736_96726 > div:nth-child(2) > div:nth-child(7) > div:nth-child(1) > div:nth-child(1) > div:nth-child(3){display:none;}
.preview_text{display:none;}

/* Mobile home page: keep the hero copy visible instead of showing only its image. */
@media (max-width: 767px) {
  body.front_page .banners-big--adaptive-3 .banners-big__item {
    height: 560px;
    min-height: 560px;
    padding-top: 0;
    position: relative;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__item::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .22));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__adaptive-img {
    background-position: center;
    z-index: 0;
  }

  body.front_page .banners-big--adaptive-3 .target {
    display: none;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__inner-wrap,
  body.front_page .banners-big--adaptive-3 .banners-big__inner,
  body.front_page .banners-big--adaptive-3 .banners-big__text {
    height: 100%;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__inner-wrap {
    z-index: 2;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__text {
    display: block;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    transform: none;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 28px 4px 24px;
    text-align: left;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__inner,
  body.front_page .banners-big--adaptive-3 .banners-big__inner-wrap {
    height: 100%;
    min-height: 0;
    transform: none;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__inner {
    display: block;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__title,
  body.front_page .banners-big--adaptive-3 .banners-big__title h1,
  body.front_page .banners-big--adaptive-3 .banners-big__title-link {
    display: block;
    max-height: none;
    overflow: visible;
    transform: none;
    -webkit-line-clamp: unset;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__text-wrapper {
    display: block;
    flex: none;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__text > :not(.banners-big__buttons),
  body.front_page .banners-big--adaptive-3 .main-slider__item:not(.vvideo) .banners-big__buttons {
    display: block;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__title-link {
    display: block;
    max-width: 560px;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__title,
  body.front_page .banners-big--adaptive-3 .banners-big__title h1 {
    color: #fff;
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.2;
    width: 100%;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__text-wrapper {
    display: flex;
    margin-top: 12px;
    max-width: 560px;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__text-block {
    color: #fff;
    display: block;
    font-size: 14px;
    line-height: 1.45;
    margin-top: 0;
    max-height: none;
    overflow: visible;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__buttons {
    margin-top: 18px;
    position: relative;
    z-index: 3;
  }

  body.front_page .banners-big--adaptive-3 .banners-big__buttons-item:nth-child(n + 2) {
    display: none;
  }
}

/* On narrow phones show the catalogue grid immediately, without a horizontal swipe. */
@media (max-width: 600px) {
  body.front_page .catalog-block .js_append.mobile-scrolled {
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding-inline: 0 !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  body.front_page .catalog-block .js_append.mobile-scrolled > .catalog-block__wrapper {
    box-sizing: border-box !important;
    flex: 0 0 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  body.front_page .catalog-block__item,
  body.front_page .catalog-block__inner,
  body.front_page .catalog-block__info,
  body.front_page .catalog-block__info-top,
  body.front_page .catalog-block__info-inner {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.front_page .catalog-block__inner {
    display: flex !important;
    flex-direction: column !important;
  }

  body.front_page .catalog-block__info {
    position: relative !important;
    z-index: 2 !important;
    margin-top: 14px !important;
    padding-top: 4px !important;
  }

  body.front_page .catalog-block__info-title,
  body.front_page .catalog-block__info-title a {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    padding-top: 2px !important;
    margin-top: 0 !important;
    -webkit-line-clamp: unset !important;
  }

  /* Lower homepage product slider: one complete card per mobile viewport. */
  body#main.front_page .catalog_slider_template .slider-solution.mobile-offset {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  body#main.front_page .catalog_slider_template .slider-solution .swiper-wrapper.mobile-scrolled--items-2 {
    align-items: stretch !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  body#main.front_page .catalog_slider_template .slider-solution .swiper-wrapper.mobile-scrolled--items-2 > .deal.swiper-slide {
    box-sizing: border-box !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body#main.front_page .catalog_slider_template .deal__image,
  body#main.front_page .catalog_slider_template .deal__col,
  body#main.front_page .catalog_slider_template .deal__col--description,
  body#main.front_page .catalog_slider_template .catalog-block__info-title,
  body#main.front_page .catalog_slider_template .catalog-block__info-title a,
  body#main.front_page .catalog_slider_template .catalog-block__info-title span {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body#main.front_page .catalog_slider_template .deal__image {
    aspect-ratio: auto !important;
    order: 1 !important;
    flex: 0 0 calc(100vw - 32px) !important;
    height: calc(100vw - 32px) !important;
    min-height: calc(100vw - 32px) !important;
    max-height: calc(100vw - 32px) !important;
    overflow: hidden !important;
  }

  body#main.front_page .catalog_slider_template .deal__image img,
  body#main.front_page .catalog_slider_template .deal__image picture,
  body#main.front_page .catalog_slider_template .deal__image picture img {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  body#main.front_page .catalog_slider_template .deal__image .image-list,
  body#main.front_page .catalog_slider_template .deal__image .image-list-wrapper,
  body#main.front_page .catalog_slider_template .deal__image .image-list__link,
  body#main.front_page .catalog_slider_template .deal__image .section-gallery-wrapper,
  body#main.front_page .catalog_slider_template .deal__image .section-gallery-wrapper__item {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }

  body#main.front_page .catalog_slider_template .deal__image .section-gallery-wrapper__item {
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  body#main.front_page .catalog_slider_template .deal__col--description {
    display: flex !important;
    order: 2 !important;
    flex: 0 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
    margin-top: 12px !important;
  }

  body#main.front_page .catalog_slider_template .deal__col--280 {
    display: flex !important;
    order: 3 !important;
    flex: 0 0 auto !important;
    margin-top: 12px !important;
  }

  body#main.front_page .catalog_slider_template .catalog-block__info-tech,
  body#main.front_page .catalog_slider_template .deal__price,
  body#main.front_page .catalog_slider_template .catalog-block__info-bottom1 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body#main.front_page .catalog_slider_template .catalog-block__info-bottom1 .btn,
  body#main.front_page .catalog_slider_template .deal__col--280 .btn {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body#main.front_page .catalog_slider_template .catalog-block__info-title,
  body#main.front_page .catalog_slider_template .catalog-block__info-title a,
  body#main.front_page .catalog_slider_template .catalog-block__info-title span {
    display: block !important;
    max-height: none !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    padding-top: 2px !important;
    -webkit-box-orient: initial !important;
    -webkit-line-clamp: unset !important;
  }

  body.front_page #main .sections-tile .grid-list.mobile-scrolled {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 !important;
    overflow: visible;
    padding: 0 var(--theme-page-width-padding) !important;
  }

  body.front_page #main .sections-tile .grid-list.mobile-scrolled > *:where(a, div) {
    box-sizing: border-box;
    min-width: 0;
    width: auto;
  }

  body.front_page .sections-tile__item {
    padding: 14px;
  }

  body.front_page .sections-tile__item-link {
    gap: 14px;
  }
}

@media (max-width: 380px) {
  body.front_page .banners-big--adaptive-3 .banners-big__item {
    height: 600px;
    min-height: 600px;
  }

  body.front_page #main .sections-tile .grid-list.mobile-scrolled {
    grid-template-columns: 1fr;
  }
}

/* Keep the primary mobile navigation, including Catalogue, always on screen. */
@media (max-width: 991px) {
  body .bottom-icons-panel__content:not(.bottom-icons-panel__content--buy-buttons) {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
  }

  body .bottom-icons-panel__content:not(.bottom-icons-panel__content--buy-buttons) > :nth-child(n + 6) {
    display: none;
  }

  body .bottom-icons-panel__content-link {
    max-width: none;
    min-width: 0;
    width: 100%;
  }
}

/* Compact branded product advantages: price and manufacturer quality. */
.tizers-linked-template [id$="_10"] .tizers-list__item-image-picture {
  content: url("/upload/iblock/aa4/p5pk6jys6ivvv62h8a1hcayu3wq89319.svg");
}

.tizers-linked-template [id$="_12"] .tizers-list__item-image-picture {
  content: url("/upload/iblock/d18/5pr4s3b31j01jpiiz3yryvbux3wqarci.svg");
}

.tizers-linked-template [id$="_10"] :is(.tizers-list__item-image-picture, .tizers-list__item-image-icon),
.tizers-linked-template [id$="_12"] :is(.tizers-list__item-image-picture, .tizers-list__item-image-icon) {
  display: block;
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain;
}

/* CODEx: catalog prices are indicative minimums.
 * Keep basket/order totals exact; this applies only to product price widgets. */
body#main :is(
  .catalog-detail,
  .catalog-list,
  .catalog-block,
  .catalog_slider_template,
  .catalog-table,
  .catalog-complect,
  .fast-view,
  .js-popup-price
) .price__new-val::before {
  content: "от\00a0";
}

/* FGOS 2026-10-25: purchase bar is not the five-column navigation. */
@media (max-width: 991px) {
  body .bottom-icons-panel__content--buy-buttons { display: block; width: 100%; }
  body .bottom-icons-panel__content--buy-buttons .catalog-detail__cart { width: 100%; box-sizing: border-box; }
  body .bottom-icons-panel__content--buy-buttons .to_cart { white-space: nowrap; min-height: 48px; }
}

/* FGOS 2026-10-25: align catalog grid rows without truncating titles. */
@media (max-width: 991px) {
 body#main .catalog-block__wrapper.grid-list__item { display: flex; }
 body#main .catalog-block__wrapper.grid-list__item > .catalog-block__item {
   display: flex; flex-direction: column; flex: 1 1 auto; height: 100% !important;
 }
 body#main .catalog-block__wrapper.grid-list__item .catalog-block__inner {
   flex: 1 1 auto !important; height: 100% !important;
 }
 body#main .catalog-block__wrapper.grid-list__item .catalog-block__info {
   flex: 1 1 auto !important;
 }
 body#main .catalog-block__wrapper.grid-list__item .catalog-block__info-top {
   display: flex; flex-direction: column; flex: 1 1 auto;
 }
 body#main .catalog-block__wrapper.grid-list__item .catalog-block__info-inner {
   display: flex; flex-direction: column; flex: 1 1 auto;
 }
 body#main .catalog-block__wrapper.grid-list__item .catalog-block__info-tech { margin-top: auto; }
 body#main .catalog-block__wrapper.grid-list__item .catalog-block__info-bottom { margin-top: auto; }
}
