/*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;  }*/

.banners-big__depend-height {
    display: flex;
    aspect-ratio: 2.53;
    height: auto;
}

.catalog-img-aspect-horizontal .image-list-wrapper {
    --img-aspect-ratio: 3 / 2;
}

.gallery-type-horizontal .detail-gallery-big-aspect-wrapper {
    --gallery-aspect-ratio: 3 / 2;
}

.sku-props--detail .sku-props__value--pict {
    height: calc(var(--pict-prop-size) / 1.5);
}

.ui-card__image--banner-ratio-full-width-rectangle {
    aspect-ratio: 3 / 2;
    height: auto;
    min-height: auto;
    --ratio: 66.66%;
}

.detail .sp-container img {
    object-fit: contain;
    height: auto;
}

@media (max-width: 991px) {
    .detail .sp-container img {
        object-fit: contain;
    }

    .detail .sp-image img {
        width: auto;
        margin: 0 auto;
        display: block
    }
}

@media (max-width: 767px) {
    .banners-big__depend-height {
        aspect-ratio: 0.63;
    }

    .banners-big--adaptive-3 .banners-big__item {
        aspect-ratio: 0.63;
        /* height: 100%; */
        padding-top: 0;
    }

}

.landings-list.landings-list-template .grid-list__item,
.landings-list.landings-list-2-template .grid-list__item {
    height: 320px;
}

.layout .top-content-block .ui-cards.grid-list {
    grid-template-columns: repeat(10, 1fr);
}

.layout .top-content-block .ui-cards.grid-list .cover::before {
    display: none;
}

.layout .top-content-block .ui-cards.grid-list .cover {
    text-decoration: none;
}

.layout .top-content-block .ui-cards.grid-list .ui-card__info--absolute {
    position: static;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ui-card__title.color_light {
    font-size: 15px;
    color: #000;
    -webkit-line-clamp: unset;
    -moz-line-clamp: unset;
    line-clamp: unset;
    display: block;
    -webkit-box-orient: unset;
    -moz-box-orient: unset;
    overflow: visible;
    text-overflow: clip;
    word-break: normal;
    word-wrap: normal;
    max-height: none;
    height: auto;
    white-space: normal;
}

.layout .top-content-block .ui-cards.grid-list .color_light--opacity {
    color: #000;
}

.layout .top-content-block .ui-cards.grid-list .svg.white-stroke svg use {
    color: #000;
}

/* Каталог */

.layout .sections-block.main-template .ui-cards .ui-card.grid-list__item a.cover::before {
    display: none;
}

.layout .sections-block.main-template .ui-cards .ui-card.grid-list__item a.cover {
    text-decoration: none;
}

.layout .sections-block.main-template .ui-cards.grid-list {
    grid-template-columns: repeat(6, 1fr);
}

.layout .sections-block.main-template .ui-cards.grid-list .ui-card__info--absolute {
    position: static;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.layout .sections-block.main-template .ui-card__title.color_light {
    font-size: 15px;
    color: #000;
    -webkit-line-clamp: unset;
    -moz-line-clamp: unset;
    line-clamp: unset;
    display: block;
    -webkit-box-orient: unset;
    -moz-box-orient: unset;
    overflow: visible;
    text-overflow: clip;
    word-break: normal;
    word-wrap: normal;
    max-height: none;
    height: auto;
    white-space: normal;
}

.layout .sections-block.main-template .ui-cards.grid-list .color_light--opacity {
    color: #000;
}

.layout .sections-block.main-template .ui-cards.grid-list .svg.white-stroke svg use {
    color: #000;
}

.ui-cards.grid-list .ui-card.grid-list__item.outer-rounded-x .cover::before {
    display: none;
}

.ui-cards.grid-list .ui-card.grid-list__item.outer-rounded-x .ui-card__info.ui-card__info--absolute {
    position: static;
}

.ui-cards.grid-list .ui-card.grid-list__item.outer-rounded-x .cover {
    text-decoration: none;
}

.ui-cards.grid-list .ui-card.grid-list__item.outer-rounded-x .ui-card__title.color_light {
    color: #000;
}

.ui-cards.grid-list .ui-card.grid-list__item.outer-rounded-x .font_13.color_light--opacity {
    color: #000;
}


@media screen and (max-width: 1339.98px) {
    .layout .top-content-block .ui-cards.grid-list {
        grid-template-columns: repeat(5, 1fr);
    }

    .layout .sections-block.main-template .ui-cards.grid-list {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 999px) {
    .layout .top-content-block .ui-cards.grid-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .layout .sections-block.main-template .ui-cards.grid-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    #main .ui-cards.mobile-scrolled--items-2 .ui-card.grid-list__item {
        width: 160px !important;
    }

    .layout .sections-block.main-template .ui-cards.grid-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.banners-with-text-list.banners-with-text-bg-template .ui-cards.grid-list .ui-card.grid-list__item.outer-rounded-x .font_13.color_light--opacity {
    color: #fff;
}

.banners-with-text-list.banners-with-text-bg-template .ui-cards.grid-list .ui-card.grid-list__item.outer-rounded-x .ui-card__info.ui-card__info--absolute {
    position: absolute;
}

@media (max-width: 600px) {
    .services-detail__bottom-info .filter-panel .line-block--flex-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-detail__bottom-info .filter-panel .dropdown-select:not(.dropdown-select--wide) .dropdown-menu-wrapper {
        left: 0 !important;
        right: auto !important;
    }
}