.size-line, .all-size-line {
    margin: 7px 0px;
}

.item_main_info:after {
    content: "";
    display: table;
    clear: both;
}
.btn_radius__25 {
    border-radius: 25px !important;
}
.catalog_detail .item_main_info .item_slider .slick-slide img {
    border-radius: 25px !important;
}
.item_main_info {
    width: 100% !important;
    padding: 0;
    max-width: unset;
    margin: 0 !important;
}

.size-line {
    display: flex;
    justify-content: center;
}

.size-button, .all-size-button {
    display: inline-block;
    padding: 7px 12px;
    margin: 0 5px;
    /*border: 1px solid #000;*/
    background: #fbfbfb;
    position: relative;
    top: -1px;
}

.btn-plus, .all-btn-plus {
    display: inline-block;
    padding: 7px 10px;
    margin: 0 5px;
    /*border: 1px solid #000;*/
    background: #fbfbfb;
    font-size: 16px;
    user-select: none;
}

.size-line > input.size-count, .all-size-line > input.all-size-count {
    display: inline-block;
    padding: 7px 0;
    margin: 0px 5px 0 5px;
    border: 0;
    width: 40px;
    height: 31px;
    position: relative;
    top: -1px;
    background: transparent;
    text-align: center;
    font-size: 15px;
    color: #d51459;
}

.btn-minus, .all-btn-minus {
    display: inline-block;
    padding: 7px 12px;
    margin: 0 5px;
    /*border: 1px solid #000;*/
    background: #fbfbfb;
    font-size: 16px;
    user-select: none;
}

.btn-plus:hover, .btn-minus:hover, .all-btn-plus:hover, .all-btn-minus:hover{
    cursor: pointer;
}

.size-price, .all-size-price {
    display: inline-block;
    text-align: center;
    font-size: 15px;
}

.prop-header {
    font-size: 18px;
    color: #000;
    margin: 0 0 15px 5px;
}

.size-col {
    display: inline-block;
    width: 60%;
    float: left;
}

.size-buttons-head-item {
    display: inline-block;
    width: 72px;
}

.size-col:last-child{
    width: 40%;
}

.catalog_detail .item_main_info .right_info {
     padding-left: unset !important;
}

.catalog_detail .item_main_info .right_info .info_item {
    width: 50%;
    float: right;
}

.all-cost {
    color: #000;
    font-size: 26px;
    font-weight: 600;
    margin-top: 30px;
    line-height: 30px;
}

.sizes-check{
    display: none;
}

.sizes-check+label::before{
    content: "";
    width: 15px;
    height: 15px;
    border: 1px solid #000;
    display: inline-block;
    position: relative;
    top: 4px;
    margin-right: 5px;
}

.sizes-check:checked+label::before{
    background: url(/local/templates/aspro_mshop/images/icons_wish.png) 0px 0px no-repeat;
    background-position: -2px -1px;
}

.sizes-check-label{
    cursor: pointer;
    user-select: none;
    margin-left: 5px;
}

@media screen and (max-width: 990px){
    .size-col {
        width: 100%;
    }
}

/* кнопки корзины */
#size-controls .to-cart, #size-controls .in-cart{
    margin: 15px auto 5px;
}

#size-controls .big_btn{
    width: 100%;
}

#size-controls .button_block{
    width: 62%;
    padding-top: 20px;
}

.btn-plus:hover, .btn-minus:hover,
.all-btn-plus:hover, .all-btn-minus:hover
{
    color: #fff;
    background: #c45f7f;
}

/* картинка */
/*.catalog_detail .item_main_info {*/
/*    overflow: hidden;*/
/*}*/

.catalog_detail .item_main_info .item_slider{
    width: 100% !important;
}

.catalog_detail .item_main_info .img_wrapper{
    float: left;
}

/*@media screen and (min-width: 990px){*/
    .detail-side-pictures{
        width: 25%;
        display: block;
        float: left;
        padding: 0 10px;
    }

    .catalog_detail .item_main_info .item_slider {
        padding: 10px 0 29px 0 !important;
    }

    .slides {
        width: 70% !important;
        height: auto !important;
        display: block;
        float: left;
    }

    .detail-side-pictures img{
        cursor: pointer;
        user-select: none;
    }

    .loupe{
        z-index: 999;
        cursor: crosshair;
    }
/*}*/
/* /картинка */

/* цены */
.price-wrapper {
    display: inline-block;
    min-width: 140px;
    text-align: left;
}

.price-name {
    font-size: 16px;
    color: #000;
    font-weight: bold;
    margin-bottom: 5px;
}

.price-value, .price {
    width: 100%;
    font-size: 23px;
    font-weight: 600;
    color: #000;
}

.price-description {
    display: block;
    line-height: 30px;
    color: #000;
    font-size: 15px;
}

.price-wrapper.colored .price-description {
    color: #d51559;
}

.price-wrapper.colored .price-value {
    color: #d51559;
}

.joint-link-container {
    font-size: 15px;
    color: #000;
    padding: 15px 0;
    border-bottom: 1px solid #f2f2f2;
}

@media screen and (max-width: 990px){
    .price-wrapper {
        display: inline-block;
        min-width: 140px;
        text-align: left;
        width: 100% !important;
    }

    .price-name {
        width: 30% !important;
        display: inline-block;
        text-align: right;
        padding-right: 2%;
    }

    .price-value {
        width: 30% !important;
        display: inline-block;
        font-size: 17px;
    }

    .price-description {
        width: 30% !important;
        display: inline-block;
    }

    .joint-link-container {
        border-top: 1px solid #f2f2f2;
    }

    .catalog_detail .element_detail_text{
        padding: 0 !important;
    }
}
/* /цены */

.colors-wrapper {
    display: block;
    float: left;
    margin: 15px 0;
}

/* верхние свойства */
.info_item .top_info, .info_item .middle_info {
    padding: 0 0 29px 0px !important;
    overflow: visible;
}

.detail-prices-wrapper {
    padding-top: 15px;
}

.top-props{
    display: inline-block;
    width: 45%;
    float: left;
    font-size: 15px;
    color: #000;
}

.top-props .prop-name {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 25px;
}

.prop-description::after {
    content: "";
    display: block;
    position: absolute;
    border: 12px solid transparent;
    width: 0px;
    height: 0px;
    border-top-color: #fff;
    filter: drop-shadow(0px 3px 2px #00000020);
    bottom: -23px;
    left: 40%;
}
.prop-description {
    display: none;
    position: absolute;
    width: 200px;
    background: #fff;
    padding: 10px;
    font-size: 11px;
    line-height: 11px;
    border-radius: 5px;
    box-shadow: 0px 0px 4px 0px #00000057;
    color: #000;
    bottom: 24px;
    left: -95px;
    text-align: justify;
}

.prop-description-opener {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    color: #ff2a57;
    font-size: 9px;
    line-height: 13px;
    border: 1px solid #ec407a;
    border-radius: 50%;
    text-align: center;
    margin-left: 5px;
    vertical-align: super;
    cursor: pointer;
}

.prop-description-opener:hover .prop-description {
    display: block;
}

#pagetitle{
    display: none;
}

.top_info .element-name {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #000;
}

.brand-title {
    display: block;
    height: auto;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    color: #000;
    width: 100%;
}

.brand_picture {
    display: block;
    width: 100%;
    position: relative;
    margin: 0;
}
/* /верхние свойства */

/* кнопки под фотографией */
.detail-buttons.top_info {
    width: 90%;
    text-align: right;
    margin-top: 0px;
    height: 40px;
    position: relative;
    /*top: -35px;*/
    z-index: 3;
    float: left;
}

.detail-buttons.top_info span{
    border: 0 !important;
}

.detail-buttons .rating {
    margin-bottom: -8px;
}
.detail-buttons>div {
    display: inline-block;
    width: 120px;
}

@media screen and (max-width: 990px){
    .detail-buttons{
        display: block;
        position: relative;
        top: 0px !important;
        margin-left: 20%;
        width: 85% !important;
    }

    .right_info {
        float: left;
        width: 100%;
        margin: 0;
        border: 0 !important;
    }

    .info_item .top_info{
        border: 0 !important;
    }

    .catalog_detail .item_main_info .right_info .info_item{
        width: 100%;
    }

    .brand.iblock {
        width: 50% !important;
        display: inline-block;
        padding: 0 !important;
    }

    .top_info .element-name {
        margin-bottom: 20px;
        text-align: left;
        font-size: 19px;
    }

    .disclaimer {
        padding-top: 15px;
    }

    .top-props {
        width: 100%;
    }

    .info_item .top_info .brand {
        margin-top: 5px;
    }

    .catalog_detail .item_main_info {
        width: 100%;
    }

    .dimensions .row {
        width: 100% !important;
    }

    .props_block .char {
        width: 45% !important;
    }
}
/* /кнопки под фотографией */

/* линии */
.item_slider::after,
.info_item::before{
    display: none !important;
}

.catalog_detail .item_main_info {
    border: 0 !important;
    width: 90%;
    margin: 0 auto;
}
/* /линии */

/* таблица размеров */
.disclaimer {
    font-size: 15px;
    color: #000;
    margin-bottom: 15px;
}

.dimensions .row {
    width: 65%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    /* border-bottom: 1px solid; */
}
.dimensions div {
    font-size: 15px;
    color: #000;
}

.dimensions .row div {
    display: inline-block;
    text-align: center;
    width: 15%;
    padding: 5px;
}

.tabs-head {
    width: 100%;
}
/* /таблица размеров */

.colors-wrapper .fast_view_block {
    display: none;
}

@media screen and (min-width: 990px){

}

@media screen and (max-width: 990px){
    .item_slider .slides{
        padding: 0 !important;
    }
}

body .item_main_info .item_slider {
    display: block !important;
}

.item_slider:not(.flex) .slides li {
    position: relative !important;
    overflow: unset !important;
    height: unset !important;
}

.item_slider .slides li img, .item_slider .thumbs li img {
    position: relative !important;
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

@media screen and (max-width: 990px) {
    .item_slider .slides li img, .item_slider .thumbs li img {
        /*max-height: 362px !important;*/
    }

    .size-col.with-all-cost {
        width:100%;
        text-align: right;
    }

    .size-col.with-all-cost .button_block {
        width: calc( 100% - 42px ) !important;
        display: block;
        margin: 0;
    }
}

.big_btn.in-cart.button {
    background: #15d41f;
}