/* adaptive */
@media screen and  (min-width: 1px) and (max-width: 1000px) {
    .catalog-stock__wrapper {
        margin-left: 24px;
        margin-right: 24px;
    }
    
    .catalog-stock__wrapper  .catalog-stock__wrapper{
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .table-block.brands-auto-modification {
        margin-top: 0;
    }
    
    .table-block.brands-auto-modification a {
        display: block;
    }
    .catalog-stock_item__additional_info .catalog-stock_tab__label,
    .catalog-stock_item__additional_info:before {
        display: none;
    }    
    .catalog-stock_tab-content {
        display: block;
        padding-top: 0;
    }
    .catalog-stock_tab-content__item p b {
        line-height: 20px;
        margin-bottom: 10px;
    }    
    .catalog-stock_tab__label_mobile {
        display: block;
        height: 60px;
        line-height: 60px;
        font-size: 18px;
        position: relative;
        cursor: pointer;
    }
    .catalog-stock_tab__label_mobile:before {
        content: '';
        display: block;
        height: 1px;
        background: #d8d8d8;
        width: calc(100% + 48px);
        margin-left: -24px;
    }
    .catalog-stock_tab__label_mobile:after {
            content: '';
            display: block;
            width: 8px;
            height: 8px;
            border-top: 2px solid #000000;
            border-left: 2px solid #000000;
            moz-transform: rotate(225deg);
            -ms-transform: rotate(225deg);
            -webkit-transform: rotate(225deg);
            -o-transform: rotate(225deg);
            transform: rotate(225deg);
            position: absolute;
            top: 24px;
            right: 0;
    }
    .catalog-stock_tab-content_mobile-wrapper {
        padding-bottom: 20px;
        padding-top: 5px;
    }
    input[name="catalog-tab-mobile"]:checked + .catalog-stock_tab__label_mobile:after {
        moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -webkit-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            top: 31px;
    }
    
    .catalog-stock_tab-content:last-child:after {
        content: '';
        display: block;
        height: 1px;
        background: #d8d8d8;
        width: calc(100% + 48px);
        margin-left: -24px;
    }
    .catalog-stock_tab-content_mobile-wrapper {
        display: none;
    }
    
    #catalog-stock_tab_mobile_01:checked ~ #catalog-stock_tab-content_mobile-wrapper_01,
    #catalog-stock_tab_mobile_02:checked ~ #catalog-stock_tab-content_mobile-wrapper_02,
    #catalog-stock_tab_mobile_03:checked ~ #catalog-stock_tab-content_mobile-wrapper_03 {
        display: block;
    }
    .catalog-stock__callback .mobile-only {
        display: inline;
    }
     .catalog-stock__callback .desktop-only {
        display: none !important;
    }
}

@media screen and  (min-width: 1px) and (max-width: 650px) {
    .catalog-stock__modification-list {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
    
    .catalog-stock__title {
        margin-bottom: 17px;
        font-size: 24px;
    }
    
    .catalog-stock__title sup {
        white-space: normal;
    }
    
    .catalog-stock__title b {
        display: block;
    }
    
    .catalog-stock__subtitle {
        font-size: 24px;
        margin-bottom: 17px;
    }
    .catalog-stock__item.has_stock_image {
        display: block;
    }
    .has_stock_image .catalog-stock__item_info {
        display: block;
        width: 100%;
        padding-left: 0;
    }
    
    .has_stock_image .catalog-stock__item_img {
        position: relative;
        margin-bottom: 25px;
        right: auto;
        top: auto;
        display: block;
        width: 100%;
        max-width: 300px;
        margin-right: 0;
    }
    
    .catalog-stock__item_info p {
        margin-bottom: 27px;
    }
    
    .catalog-stock__item_info p b {
        display: block;
    }
    
    .catalog-stock__item_stock {
        margin-bottom: 12px;
    }
    
    .catalog-stock__item_price {
        margin-bottom: 18px;
    }
    .catalog-stock__item_button {
        width: 160px;
    }
    .catalog-stock__actions {
        padding-bottom: 90px;
    }
    
    .catalog-stock__callback_wrapper, .has_stock_image .catalog-stock__callback_wrapper {
       margin-top: 20px;
    }
}


@media screen and  (min-width: 1px) and (max-width: 480px) {
    .catalog-stock__wrapper {
        margin-left: 16px;
        margin-right: 16px;
    }
    
    .catalog-stock__item_img {
        width: 100%;
    }
    
      .catalog-stock_tab__label_mobile:before {        
        width: calc(100% + 32px);
        margin-left: -16px;
    }
    
    .catalog-stock_tab-content:last-child:after {
        width: calc(100% + 32px);
        margin-left: -16px;
    }
}

/* stock item page */ 
@media screen and  (min-width: 1px) and (max-width: 650px) {
    .catalog-stock__table_select div {
        display: block;
        width: 100%;
        margin-right: 0;
    }
    
    .catalog-stock__table_select div:nth-child(1) {
        padding-right: 0;
        margin-bottom: 11px;
    }
    
    .catalog-stock__table_select div:nth-child(2) {
        padding-left: 0;
    }
    
    .catalog-stock__table_select__spacer {
        height: 108px;
    }
    
    .catalog-stock__table, .catalog-stock__table_row, .catalog-stock__table_td {
        display: block;
    }
    
    .catalog-stock__table_row {
        position: relative;
        border-bottom: 1px solid #12b00b;
        padding-top: 10px;
    }
    
    .catalog-stock__table_td {
        border-bottom: none !important;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 7px;
        padding-top: 0;
        text-align: left !important;
    }
    
    .catalog-stock__table_td-cart {
        position: absolute;
        right: 4px;
        bottom: 4px;
    }
    
    .catalog-stock__table_td-photo, .catalog-stock__table_td-photo-img {
        display: none !important;
    }
    
    .catalog-stock__table_td-brand .stock-photo, 
    .catalog-stock__table_td-brand .google-image-search-link {
        display: inline-block;
        margin-top: -2px;
        vertical-align: top;
        margin-left: 3px;
    }
    
    .catalog-stock__table_td-brand, .catalog-stock__table_td-price {
        width: calc(100% - 80px);
    }
    
    .catalog-stock__table_td-price {
        padding-top: 8px !important;
        padding-bottom: 10px !important;
    }
    
    .cart_plus {
        width: 70px;
        height: 50px;
    }
    .catalog-stock__table_td.has-item-link a.item-link {
        padding-top: 0;
        padding-bottom: 5px;
    }
    
    .catalog-stock__table_td.catalog-stock__table_td-brand.has-item-link a.item-link {
        display: inline;
    }
}

@media screen and  (min-width: 1px) and (max-width: 480px) {
    .item-page_warehouse-form .search-form-label {
        display: block;
        width: 100%;
        margin-right: 0;
    }
    
    .item-page_warehouse-form .search-form-label.desktop{
        display: none;
    }
    
    .item-page_warehouse-form .search-form-select--warehouse-maker, .item-page_warehouse-form .search-form-select--warehouse-model {
        width: 100%;
    }
    
    .search-form-select--warehouse-modification {
        display: blok;
        width: 100%;
    }
    #content .catalog-stock__callback a {
        display: inline-block;
        margin-top: 10px;
    }
}

/* catalog stock slide table */
@media screen and  (min-width: 1px) and (max-width: 1000px) {
    .slide-table__title {
        font-size: 20px;
        margin-top: 30px;
    }
}
@media screen and  (min-width: 1px) and (max-width: 650px) {
    
    .slide-table__table {
        display: block;
    }
    .slide-table__tr, 
    .slide-table__wrapper .slide-table__tr.slide-table__tr_visible, 
    #open-slide-table:checked + .slide-table__wrapper .slide-table__tr {
        display: block;
        border-bottom: 1px solid #e0e0e0;
        padding: 10px 20px 10px 20px;
        position: relative;
    }
    #open-slide-table:checked + .slide-table__wrapper .slide-table__tr:last-child {
        border-bottom: none;
    }
    .slide-table__td {
        border-bottom: none;
        display: block;
        padding: 5px 0;
    }
    .slide-table__td_img {
        display: none !important;
    }
    .slide-table__td_cart {
        position: absolute;
        right: 5px;
        bottom: 12px;
    }
    #open-slide-table:checked + .slide-table__wrapper .slide-table__tr:nth-child(2) .slide-table__td {
        border-bottom: 0;
    }
    .slide-table__table .google-image-search-link, .slide-table__table .stock-photo {
        display: inline-block;
    }
    #content .slide-table__td.slide-table__td_brand a.item-link {
        display: inline;
    }
    .slide-table__tr:hover .slide-table__td {
        background: none;
    }
    .stock-photo.show-part-images {
        border: none;
    }
}

/* catalog stock title with link // bottom & top*/
@media screen and  (min-width: 1px) and (max-width: 1000px) {
    .catalog-stock__top-title {
        display: block;
        padding: 20px 15px;
    }
    .catalog-stock__top-title.has-image {
        padding: 15px 20px;
    }
    .has-image .catalog-stock__top-title_text, .catalog-stock__top-title_text, .catalog-stock__top-title_link  {
        width: 100%;
        text-align: left;
        margin-top: 7px;
        max-width: 100%;
    }
    .catalog-stock__top-title_link {
        padding-left: 0;
    }
    
    .catalog-stock__top-title a {
        font-size: 15px !important;
        
    }
    .catalog-stock__other-parts-link {
        display: block;
    }
    .catalog-stock__other-parts-link .link-button:first-child, 
    .catalog-stock__other-parts-link .link-button:last-child {
        display: block;
        width: 100%;
        margin: 0 0 10px 0;
        max-width: 100%;
    }
        
}
@media screen and  (min-width: 1px) and (max-width: 650px) {    
    .catalog-stock__other-parts-link {
        margin-left: 0;
        margin-right: 0;
    }
}

/* top fixed selects */
@media screen and  (min-width: 1px) and (max-width: 1000px) {
  .catalog-stock__table_select__wrapper.fixed-form {
        top: 56px;
        width: 100% !important;
        left: 0;
        background: #ffffff;
    }
}

