.product:not(.block__list-item) {
    border: solid 1px #E8EAEC;
    background-color: #fff;
    border-radius: 4px;
}
.product__top {
    height: 172px;
    border-bottom: solid 1px #E8EAEC;
    position: relative;
}
.product__top img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
}
.btn-favorite {
    display: block;
    cursor: pointer;
    padding: 5px;
    width: 18px;
    height: 16px;
    margin: -5px;
    line-height: 0;
    background: 50% url('/images/bookmark.svg') no-repeat transparent;
    background-size: 18px auto;
    transition: all .3s;
}
.btn-favorite:hover {
    background-image: url('/images/bookmark-blue.svg');
}
.btn-favorite.active {
    background-image: url('/images/login-bookmark.svg');
}
.product__top .btn-favorite {
    position: absolute;
    top: 14px;
    right: 14px;
}
.product__bottom {
    padding: 12px 16px 16px;
}
.product__bottom--flexible {
    position: relative;
    padding-bottom: 76px;
}
.product__name {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product__name a {
    color: #1E2F46;
}
.product__name a:hover {
    color: #0868C2;
}
.product .block__text {
    margin-bottom: 16px;
}
.product__props {
    border: none;
}
.product__props tr:not(:first-child) td {
    padding-top: 8px;
}
.product__props td {
    font-size: 14px;
    line-height: 20px;
}
.product__props td:nth-child(1) {
    color: #788290;
    min-width: 81px;
}
.product__props td:nth-child(2) {
    padding-left: 12px;
    color: #1E2F46;
}
.product__props td:nth-child(3) {
    white-space: nowrap;
    text-align: right;
    padding-left: 11px;
    font-weight: 700;
    color: #1E2F46;
}
.product__props-container {
    position: relative;
    margin-top: 12px;
    padding-top: 11px;
}
.product__props-container:before {
    content: '';
    position: absolute;
    height: 1px;
    background-color: #EEEEEE;
    top: 0;
    left: 0;
    right: 0;
}
.product__props input[type="text"] {
    padding: 3px 12px;
    width: 50px;
    margin-right: 6px;
}
.product__prop-checkboxes div:not(:first-child) {
    margin-top: 11px;
}
.product__options-wrapper {
    overflow: hidden;
    margin-right: -16px;
}
/*.product__options {*/
.product__options > div > div {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow-x: auto;
    /*padding-bottom: 30px;*/
    /*margin-bottom: -30px;*/
    margin-bottom: 0 !important;
    padding-bottom: 10px
}
.product__options > div > div > span {
    margin-top: 9px;
}
.product__options .mCS-dark.mCSB_scrollTools .mCSB_draggerRail {
    background-color: #9d9b9b26;
}
.product__options .mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: #ccccccbf;
}
.product__options .mCSB_container {
    /*margin-bottom: 10px !important;*/
}
.product__options .mCSB_scrollTools.mCSB_scrollTools_horizontal {
    bottom: -12px;
}
.product__options label {
    position: relative;
}
.product__options label input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}
.product__options label span {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    margin-right: 4px;
    border: solid 1px #E8EAEC;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    line-height: 32px;
    color: #1E2F46;
    cursor: pointer;
    transition: all .3s;
}
.product__options label input:checked + span {
    color: #0868C2;
    border-color: #0868C2;
}
.product__options > span {
    font-size: 18px;
    line-height: 24px;
    color: #1E2F46;
}
.product__controls {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product__bottom--flexible .product__controls {
    position: absolute;
    margin-top: 0;
    left: 16px;
    right: 16px;
    bottom: 16px;
}
.product__controls--block {
    display: block;
}
.product__price {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    color: #1E2F46;
}
.product form {
    margin: 0;
    padding: 0;
}


.library-right .product__options > div > div {
    padding-bottom: 21px;
}
.library-right .product__options .mCSB_scrollTools.mCSB_scrollTools_horizontal {
    bottom: -2px;
}
.library-right .product__options .mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    margin: 0;
}
.library-right .product__options .mCS-dark.mCSB_scrollTools .mCSB_draggerRail {
    margin: -1px 0 0;
}


@media (min-width: 768px) {
    .product__name {
        font-size: 18px;
        line-height: 24px;
    }
    .product__bottom {
        padding: 20px 24px 24px;
    }
    .product__bottom--flexible {
        padding-bottom: 89px;
    }
    .product__options > span {
        margin-left: 12px;
    }
    .product__controls {
        margin-top: 21px;
    }
    .product__bottom--flexible .product__controls {
        margin-top: 0;
        left: 24px;
        right: 24px;
        bottom: 24px;
    }
    .product__price {
        font-size: 18px;
        line-height: 24px;
    }
    .btn-favorite {
        width: 24px;
        height: 21px;
        background-size: 24px auto;
    }
    .product__top .btn-favorite {
        top: 23px;
        right: 23px;
    }
}
