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

.py-1 {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.py-2 {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.py-3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-4 {
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
}

.single-menu-item {
    position: relative;
    padding: 5px;
}

.single-menu-item::after {
    content: '!';
    position: absolute;
    color: #ffff;

    top: 0px;
    right: 0px;
    transform: translate(63%, -1%);
    font-size: 12px;
    border-radius: 17px;
    text-align: center;
    line-height: 17px;
    min-width: 17px;
    padding: 0 4px;
    background-color: var(--theme-more-color);

    white-space: nowrap;
    z-index: 2;
}

.image-list-wrapper img {
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    pointer-events: none;
}

.sku-props__value--pict {
    padding-right: 35px;
}

.properties-table-item {
    margin-top: 0;
}

.table-props-rows .catalog-table__info-bottom {
    align-items: center;
}

@media (min-width: 992px) {
    .table-props-rows .catalog-table__info-bottom {
        flex: 0 0 365px;
        width: 350px;
    }
}

.catalog-table__item-wrapper {
    height: calc(100% - 30px);
}

.search-form {
    display: flex;
    flex-direction: column;
    margin: 50px 0 15px 0;
}

.catalog-search-subtitle {
    font-size: 18px;
}

.catalog-form-container {
    width: 100%;
    max-width: 600px;
}

ul li:before {
    content: "";
    width: 0;
    height: 0;
}

.form-suppliers {
    max-width: 800px;
    width: 800px;
}

.form-container {
    display: flex;
    justify-content: center;
}

.sticker__item--native,
.sticker__item--tovar_zveno {
    --sticker_color: #0FA0BA !important;
}

.sticker__item--partner,
.sticker__item--tovar_partnera {
    --sticker_color: #A474F8 !important;
}

.sticker__item--foreign_partner,
.sticker__item--tovar_so_sklada_v_kitae {
    position: relative;
    --sticker_color: #EF3425 !important;
    padding-left: 25px;
    z-index: 1;
}

.sticker__item--foreign_partner::after,
.sticker__item--tovar_so_sklada_v_kitae::after {
    content: url("/bitrix/templates/aspro-lite/assets/images/icons/partner_logo.svg");
    position: absolute;
    opacity: 1;
    z-index: -1;
    top: 3px;
    left: 2px;
}

.wrapper {
    width: auto;
}

.header-cabinet__name {
    text-align: center;
}

/*---------suppliers---------*/

.banner-suppliers {
    display: flex;
    width: 100%;
    max-height: 500px;
    height: 500px;
}


.banner-suppliers__block-text {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: inherit;
    background: -webkit-linear-gradient(90deg, #ffdd58,#ffca56,#feb252);
    background: linear-gradient(90deg, #ffdd58,#ffca56,#feb252);
}

.banner-suppliers__block-text > div {
    margin-left: 200px;
}

.banner-suppliers__title {
    color: black;
    font-size: 40px;
    max-width: 500px;
    line-height: 55px;
    text-transform: uppercase;
}

.banner-suppliers__title > span {
    font-weight: 700;
    color: #3198B4;
}

.banner-suppliers__subtitle {
    margin-top: 10px;
    font-size: 25px;
}

.banner-suppliers__button {
    padding-top: 20px;
}

.banner-suppliers__block-image {
    width: fit-content;
    height: 100%;
}

.banner-suppliers__block-image > img {
    width: 100%;
    object-fit: cover;
    object-position: top center;
    height: 100%;
}

.preview-suppliers__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.preview-suppliers__icon {
    width: 100px;
    height: 100%;
    display: flex;
    justify-content: center;
}

.preview-suppliers__img {
    width: 100%;
    object-fit: contain;
    object-position: center;
    height: 100%;
}
/*.preview-suppliers > div:last-child .preview-suppliers__img {*/
/*    width: 75%;*/
/*}*/
/*.preview-suppliers > div:first-child .preview-suppliers__img  {*/
/*    width: 55%;*/
/*}*/


.about-company__list {
    display: flex;
    gap: 100px;
    align-items: center;
}

.about-company__icon > img{
    width: 70px;
    height: 70px;
}

.about-company__text {
    width: 350px;
}

.about-company__group-subtitle {
    width: 250px;
}

.about-company__text-group {
    display: flex;
    gap: 20px;
}

.about-gap {
    gap: 30px;
}

.sklad > h3, .form-contacts > h3, .about-company__title > h3 {
    font-weight: 700;
}

.sklad > div {
    margin-bottom: 20px;
    font-size: 16px;
}

.form-contacts > div {
    margin-bottom: 40px;
}

@media (max-width: 1400px) {
    .banner-suppliers__block-text > div {
        margin-left: 100px;
    }
}

@media (max-width: 1160px) {
    .banner-suppliers__block-text > div {
        margin-left: 50px;
    }

    .banner-suppliers__title {
        font-size: 28px;
        line-height: 35px;
    }

    .banner-suppliers__subtitle {
        font-size: 20px;
    }
}

@media (max-width: 1030px) {
    .banner-suppliers__block-text > div {
        margin-left: 30px;
    }
    
}
body #title-search form, body .mobileheader__search form {
    margin-bottom: 0;
}
body .mobileheader__search {
    display: none;
}

body .mobileheader__search .search-input-close {
    display: none;
}

@media (max-width: 691px) {
    body#main .mobileheader__search {
        display: flex;
    }

    body#main .mobileheader__item--right-icons .line-block, body#main .search .dropdown-select.searchtype {
        display: none;
    }


    .preview-suppliers__text {
        max-width: none;
        width: 300px;
        margin-top: 40px;
    }

    /*.preview-suppliers__card:first-child .preview-suppliers__text {*/
    /*    margin-top: 0;*/
    /*}*/

    #middle-image {
        padding-top: 0;
    }

    /*.preview-suppliers {*/
    /*    margin-top: 150px;*/
    /*}*/

    .banner-suppliers__block-text > div {
        margin-left: 15px;
    }

    .banner-suppliers__title {
        font-size: 20px;
        line-height: 25px;
    }

    .banner-suppliers__subtitle {
        font-size: 15px;
    }


    .preview-suppliers {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        /*margin-top: 150px;*/
    }

    .about-company {
        /*padding-top: 250px;*/
    }

    .about-company__list .about-company__text-group {
        gap: 0;
        flex-direction: column;
    }
}

@media (max-width: 572px) {
    .banner-suppliers__block-image {
        width: min-content;
    }

    /*.preview-suppliers {*/
    /*    margin-top: 350px;*/
    /*}*/

    .about-company {
        margin-top: 50px;
    }
}

@media (max-width: 484px) {
    .banner-suppliers__title {
        margin-right: 15px;
    }
}
/*---------suppliers---------*/





@media (max-width: 600px) {
    .sticker__item--foreign_partner::after,
    .sticker__item--tovar_so_sklada_v_kitae::after {
        top: 1px;
        left: 1px;
    }
}

@media (max-width: 483px) {
    .sticker__item--foreign_partner::after,
    .sticker__item--tovar_so_sklada_v_kitae::after {
        top: 1px;
        left: 1px;
    }
}

@media (min-width: 990px) and (max-width: 1180px) {
    .hidden-button {
        display: none;
    }
}

@media (min-width: 601px) {
    .catalog-table__item .image-list {
        width: 120px !important;
    }
}

@media (max-width: 601px) {
    .catalog-table__item-wrapper {
        height: auto;
    }
}

@media (min-width: 991px) and (max-width: 1060px) {
    .compact {
        flex-direction: column !important;
        margin-bottom: -40px !important;
    }
}

.js_wrapper_items .group_description_block img {
    max-width: 100%;
    height: auto;
}

.js_wrapper_items .js-popup-title {
    font-weight: normal;
    color: #545454;
}

.js_wrapper_items .price__new-val {
    font-size: 20px;
}

.title-search-result .price__new-val {
    font-weight: 800;
    font-size: 15px;
}

.main {
    background-color: #f7f7f7;
}

.headers-container {
    box-shadow: 0 3px 20px rgba(34, 34, 34, .1);
}

.catalog-block__item,
.catalog-table__item {
    background: #fff;
}

.drag-block.container.BRANDS .grid-list {
    --gap: 10px!important;
}

.drag-block.container.BRANDS .grid-list .bordered {
    border: none!important;
}

.bordered {
    border: none;
    box-shadow: 0 3px 20px rgba(34, 34, 34, .1);
}

.catalog-table__item.bordered {
    box-shadow: none;
}

.catalog-block__wrapper:hover,
.catalog-table__item:hover {
    background: #fff;
    box-shadow: 0 3px 20px rgba(34, 34, 34, .1);
}

.catalog-items {
    /*--theme-outer-border-radius: 0;*/
}

.arrow_scroll_init .arrows_wrapper .arrow.arrow_left {
    left: 0;
}

.arrow_scroll_init .arrows_wrapper .arrow.arrow_right {
    right: 0;
}

.arrow_scroll_init .arrows_wrapper .arrow {
    border-radius: var(--border-radius);
    height: 28px;
    font-size: 0px;
    line-height: 28px;
    padding: 0px 7px 0px 8px;
    background-color: rgb(233, 233, 233);
    width: auto;
    top: 50%;
    transform: translateY(-50%);
}

.drag-block.container .index-block {
    --darkgrey_bg_black: var(--light, rgba(136, 136, 136, 0.1)) var(--dark, #343434);
}

.bx-soa-cart-t,
.bx-soa-cart-d {
    --black_bg_black: var(--light, #f7f7f7) var(--dark, #1b1b1b);
}

.catalog-table__wrapper.grid-list__item .btn.to_cart {
    text-wrap: nowrap
}

.catalog-table .catalog-table__info-top .custom-link {
    max-width: 90% !important;
}

.catalog-items .grid-list__item .image-list img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.line-block--block .tab-content-block .catalog-items .grid-list__item .image-list img {
    height: 96%;
    width: 96%;
}

.detail-block.articleSearch .swiper-wrapper {
    height: auto;
}

@media (max-width: 600px) {
    body .js-btn-state-wrapper .btn, body .js-replace-more.btn {
        text-wrap: nowrap;
    }
    .buy_block .btn {
        text-wrap-mode: nowrap;
    }
    .price .line-block {
        align-items: center;
    }
}
#main .heading-icons .btn-heading.btn_heading--with_title
{
    font-size: 14px;
}


html .simple_basket_mode {
  /*  font-size: 15px!important;*/
    font-style normal
font-variant-alternates normal
font-variant-caps normal
font-variant-east-asian normal
font-variant-emoji normal
font-variant-ligatures normal
font-variant-numeric normal
font-variant-position normal
  
}

html .simple_basket_mode .bx-soa-item-sklad-block, 
html .simple_basket_mode .bx-soa-item-delivery-block
{
    font-size: 12px;
}

.form-checkbox__box {
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    box-sizing: border-box;
    background: var(--darkerblack_bg_black);
    border: 1px solid var(--input_border_color);
    transition: all 250ms cubic-bezier(.4,0,.23,1);
    transition: all ease .3s;
}
.form-checkbox__input:checked + .form-checkbox__label .form-checkbox__box, .form-checkbox.relative:has(:checked) .form-checkbox__box {
    border: 8px solid #999;
    border-color: var(--theme-base-color);
    background-color: #999;
    background-color: var(--theme-base-color);
}

.form-checkbox__input:checked + .form-checkbox__label .form-checkbox__box:before, .form-checkbox.relative:has(:checked) .form-checkbox__box:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    left: -1px;
    top: 2px;
    width: 4px;
    height: 8px;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    content: "";
    box-sizing: content-box;
    transform-origin: 0 100%;
    animation: checkbox-check 125ms 250ms cubic-bezier(.4,0,.23,1) forwards;
}

.form-checkbox__label:not(.form-checkbox__label--sm)
{
    font-size: .875rem;
}

body .form-checkbox__input--visible
{
    display: block;
    visibility: hidden;
    width: 0;
    height: 0;
    line-height: 0;
    margin: 0;
}
body label.form-checkbox__label {
    --checkbox-offset: 35px;
    padding: 0 0 0 var(--checkbox-offset);
    position: relative;
    z-index: 1;
    cursor: pointer;
    outline: none;
    display: block;
    margin: 0;
    color: #666;
    color: var(--lite_basic_text_black);
    line-height: calc(1em + 7px);
    line-height: 24px;
    min-height: 24px;
}

.form .licence_block {
    margin: 0;
    position: relative;
    display: block;
    box-shadow: none;
    font-size: 12px;
    line-height: calc(1em + 4px);
    padding: 6px 0 3px 0;
    text-align: left;
}

/*
.simple_basket_mode .font_14 {
  font-size: 14px;
  line-height: calc(1em + 7px);
}

.simple_basket_mode .font_13 {
  font-size: 13px;

  line-height: calc(1em + 7px);
}

.simple_basket_mode .font_xs {
  font-size: 13px;

  line-height: calc(1em + 7px);
}


#main .heading-icons .btn-heading.btn_heading--with_title .title
{
   font-size: 14px;

}
#basket-root .basket-item-info-name-link
{
    font-size: 12px;
}



.simple_basket_mode  .bx-soa-cart-t, .simple_basket_mode  .bx-soa-cart-d
{
    font-size: 12px;
}

.simple_basket_mode ..bx-soa-cart-total-line
{
     font-size: 12px;
}

.simple_basket_mode  .bx-soa-pp-company-label .properties__title
{
    font-size: 12px;
}

#bx-soa-order-form
{

    font-size: 12px !important;
}

.simple_basket_mode .bx-soa-person-type label
{
    font-size: 13px !important;    
}

#bx-soa-order-main .bx-soa .bx-soa-custom-label, #bx-soa-order-main .bx-soa .form-group label, #bx-soa-order-main .bx-soa .form-group .bx-soa-customer-label
{
    font-size: 12px;
}

.simple_basket_mode .filter label.bx-soa-pp-company-label>span
{

    font-size: 12px !important;
}

*/