body .main {
    position: relative;
}

.rating-category {
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    text-align: right;
}

.rating-category .rating {
    display: inline-block;
}

.catalog-search {
    margin: 0 0 15px;
}

.catalog-search input {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.catalog-search form span.catalog-down {
    white-space: nowrap;
}

.catalog-search form {
    width: calc(100% - 80px);
    display: inline-block;
}

.catalog-search input {
    font-size: 17px;
    margin-right: 1px;
    padding: 2px 0 3px 7px;
}

.catalog-search input[type="text"] {
    width: 200px;
}

.grid-details.cad-filters {
    display: inline-block;
    width: initial;
    float: left;
    padding: 0px;
    margin: 5px 0;
}

.view-type {
    display: inline-block;
    padding: 0px;
    top: 0px;
    position: relative;
    float: right;
}

.view-type div.active {
    border: 2px solid #676767;
}

.view-type .tile-view {
    border: 2px solid transparent;
    width: 34px;
    height: 32px;
    background: url("images/tile-view.ca8475e9ffba.png") no-repeat center;
    display: inline-block;
    padding: 0 1px;
}

.view-type .list-view {
    border: 2px solid transparent;
    width: 34px;
    height: 32px;
    background: url("images/list-view.eb86d596d760.png") no-repeat center;
    display: inline-block;
    padding: 0 1px;
}

.catalog-section {
    display: inline-block;
    text-align: center;
    margin: 4px;
}

.catalog-element {
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    float: left;
    padding: 10px;
}

.catalog-element:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, .5);
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    padding: 10px;
}

.tile-wrapper {
    display: inline-block;
    text-align: center;
}

.catalog-search .button {
    margin-right: 3px;
}

.aksessuary  .button {
    float: right;
}

.catalog-section .catalog-item {
    display: inline-block;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    position: relative;
    width: 196px;
    height: 162px;
    border: 2px solid #dddddd;
    text-align: center;
    overflow: hidden;
}

.catalog-section .catalog-item img {
    max-width: 100%;
}

.catalog-section .catalog-item:hover {
    -o-transition: .2s;
}

.catalog-section .catalog-title {
    text-align: center;
    display: block;
    background: rgb(204 204 204);
    max-height: 38px;
    position: absolute;
    color: #fff;
    width: 100%;
    bottom: 0;
    padding: 4px;
}

.catalog-section .catalog-filter {
    margin-top: 50px;
    overflow: auto;
}

.catalog-filter {
    display: inline-block;
    width: 100%;
    position: relative;
    padding: 0px;
}

.catalog-filter .filter-item {
    display: inline-block;
    line-height: 35px;
    width: 33.33%;
    float: left;
    margin: 2px 0;
    position: relative;
}

.catalog-filter .filter-item .currency-set {
    float: left;
    width: 100%;
}

.catalog-filter .filter-item span {
    width: 40%;
    padding: 0 5px;
}

.catalog-filter .filter-item.action {
    text-align: center;
    float: right;
}

.catalog-filter .filter-item.action a {
    width: 60%;
}

.catalog-filter .filter-item select {
    width: 60%;
    float: right;
}

.catalog-filter .filter-item a {
    line-height: normal;
    margin-left: 40%;
}

/* список товарів каталогу */
.catalog-products {
    list-style: none;
    width: 100%;
    display: inline-block;
    margin: 0;
    padding: 0 5px;
    text-align: left;
}

.catalog-products li {
    text-align: left;
    border-radius: 3px;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    position: relative;
    overflow: auto;
    clear: both;
    min-height: 120px;
    margin: 15px 0px;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
}

.catalog-products.tile-view li {
    margin-right: 15px;
}

.catalog-products .name {
    font-size: 18px;
    padding: 0 0 12px;
    max-height: 48px;
    overflow: hidden;
}

.catalog-products .detail .name h3 {
    margin: 4px 0 10px;
}

.catalog-products .name a {
    text-decoration: none;
    word-break: break-all;
    font-size: 13px;
}

.catalog-products .name a:hover {
    text-decoration: underline;
}

.catalog-products .image {
    left: 0;
    top: 0;
    float: left;
    position: relative;
}

.catalog-products.tile-view .image {
    margin-bottom: 10px;
}

.catalog-products .image img {
    display: table-cell;
    vertical-align: middle;
    margin: 0 auto;
}

.catalog-products .detail {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.catalog-products .detail .manufacturer-image {
    display: inline;
    float: left;
    margin-right: 5px;
    position: relative;
    top: -5px;
}

.catalog-products .detail .description p {
    margin: 1px 0;
}

.catalog-products .image a {
    display: table-cell;
    outline: none;
    width: 230px;
    height: 182px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #c9c9c9;
    border-radius: 3px;
    background: #fff;
    padding: 10px;
}

.catalog-products .manufacturer-number {
    font-size: 11px;
    max-height: 38px;
    margin-bottom: 6px;
    overflow: hidden;
    margin-top: 4px;
}

.catalog-products.tile-view .manufacturer-number {
    font-size: 11px;
}

.catalog-products.tile-view .description-block,
.catalog-products .description {
    width: 100%;
    display: inline-block;
}

.catalog-products .description {
    order: 3;
}

.catalog-products.tile-view .description-block {
    order: 2;
}

.catalog-products.tile-view .manufacturer-label {
    display: none;
}

.catalog-products.list-view .manufacturer-number {
    margin-bottom: 15px;
}

.catalog-products .properties {
    padding-left: 0;
}

.catalog-products .properties p {
    margin: 0;
    padding: 0;
}

.catalog-products .description {
    padding-left: 0;
    overflow: hidden;
    max-height: 120px;
    clear: both;
}

.catalog-products .description:hover {
    overflow-y: auto;
}

.catalog-products .description ul {
    list-style: disc;
    margin: 0;
    padding: 0 0 0 15px;
}

.catalog-products .description ul li {
    min-height: 0;
    margin: 0;
    padding: 0;
}

.catalog-products .price {
    margin-right: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #04990b;
    float: left;
}

.catalog-products .buy {
    display: inline-table;
    padding: 0 0;
    margin-top: 2px;
}

.catalog-products .delivery {
    padding: 0;
    width: 100%;
}

.catalog-products li:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, .5);
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

.catalog-products li {
    text-align: left;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    overflow: visible;
}

.catalog-products .price-block {
    position: absolute;
    bottom: 10px;
    left: 0;
    padding: 0 10px;
    display: inline-block;
    width: 100%;
}

.catalog-products .buy {
    width: 100%;
}

.catalog-products.tile-view .price-block {
    display: table;
}

.catalog-products.tile-view .price-block .delivery {
    display: table-header-group;
    width: 100%;
}

.catalog-products.tile-view .price-block .delivery > span {
    display: inline-block;
    margin-bottom: 5px;
}

.catalog-products.tile-view .price-block .buy {
    display: table-footer-group;
    width: 100%;
}

.catalog-products li {
    width: 250px;
    height: 500px;
    clear: none;
    display: inline-block;
    overflow: hidden;
}

.catalog-products .image img {
    max-width: 176px;
    max-height: 160px;
}

.catalog-products .price-block a.button {
    float: right;
    padding: 5px 10px;
}

/* карточка товару каталогу */
.catalog-product {
    width: 100%;
    overflow: hidden;
    margin: 10px 0 20px;
}
.catalog-product-panel {
    position: relative;
    height: 250px;
    overflow: hidden;
    display: grid;
}

.catalog-product-panel.open {
    height: initial;
}

.catalog-product-panel .show-all{
    position: absolute;
    right: 5px;
    bottom: 2px;
    z-index: 9999;
}

.catalog-product-panel a.button {
    padding: 5px 20px;
    width: 145px;
}

.catalog-product-panel::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.catalog-product-panel.open::after {
    opacity: 0;
}

.catalog-product .properties, .catalog-product .properties-rating, .catalog-product .description {
    width:initial!important;
}

.show-all {
    display: inline-block;
    padding: 5px 14px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    border: 1px solid #1a5189;
    border-radius: 3px;
    background: #7098c1;
}

.show-all:hover {
    background-color: #e6e6e6;
    border-color: #999;
    color: #000;
}

.show-all:active {
    background-color: #ddd;
    border-color: #888;
}

.show-all:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.catalog-product-image img a {
    display: table-cell;
}

.catalog-product-image img {
    display: table-cell;
    outline: none;
    width: 250px;
    height: 250px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #cfdfe7;
    border-radius: 3px;
    background: #fff;
}

.catalog-product .image a:hover {
    border-color: #676767;
}

.catalog-product .description {
    margin: 0 0 4px;
    text-align: left;
}

.catalog-product .properties, .catalog-product .properties-rating, .catalog-product .description {
    margin: 0;
    display: inline-block;
    float: right;
    width: calc(100% - 290px);
}

.catalog-product .cars {
    margin-top: 5px;
    margin-bottom: 5px;
    width: calc(100% - 290px);
    float: right;
}

.car-link.tip {
    display: inline-block;
    float: right;
}

.catalog-product .car-link.tip {
    float: left;
}

.catalog-product .description h3 {
    padding: 0;
    font-size: 14px;
    line-height: 14px;
    margin: 10px 0 8px;
}

.catalog-product .properties p {
    margin: 5px 0 5px;
    padding: 0;
    display: inline-block;
    width: 100%;
}

.catalog-product .property {
    color: #aaa;
    float: left;
    display: inline-block;
}

.catalog-product .value {
    padding-left: 10px;
    display: inline-block;
}

.catalog-product .price {
    font-size: 18px;
    font-weight: 700;
    color: #0ea512;
    margin: 16px 0 16px 210px;
}

.catalog-product .buy {
    margin: 4px 0 4px 210px;
}

.catalog-product .product-image {
    position: relative;
    float: left;
    width: 250px;
    margin-right: 20px;
}

.catalog-product .product-image > a {
    display: inline-block;
    width: 250px;
    height: 250px;
    padding: 0px;
    position: relative;
    text-align: center;
    background: #eaeaea;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.catalog-product .product-image > a img {
    width: initial;
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.catalog-product .product-image ul.images {
    list-style: none;
    clear: left;
    margin: 0;
    width: 100%;
    padding: 0;
    max-height: 170px;
    overflow: hidden;
}

.catalog-product .product-image ul.images li {
    border: 1px solid #cfdfe7;
    margin-right: 2px;
    height: 80px;
    width: 77px;
    display: inline-block;
    margin: 3px;
    text-align: center;
    vertical-align: middle;
    padding: 2px;
    background: #fff;
    float: left;
}

.catalog-product .product-image ul.images li a {
    display: inline-block;
    font-size: 0;
    position: relative;
    width: 100%;
    height: 100%;
}

.catalog-product .product-image ul.images li a img {
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.catalog-product .product-image ul.images li a:hover {
    border-color: #85c8e4;
}

.catalog-products .rating-comments {
    display: inline-block;
    margin-bottom: 2px;
}

.catalog-products.tile-view .rating-comments {
    width: 100%;

}

.catalog-products.tile-view .rating-comments .rating-vc {
    float: right;
}

.catalog-products .rating-comments .icon, .rating-comments .comments-wrapper .comment {
    width: initial;
}

.rating-comments .rating, .rating-comments .rating-static, .rating-comments .rating-vc {
    float: left;
    margin: 0;
    display: inline-block;
}

.catalog-product .rating-comments > div:first-child, .catalog-products .rating-comments > div:first-child {
    display: inline-block;
    float: left;
    margin-right: 6px;
}

ul.simple-cars-tip {
    list-style: none;
    padding: 0;
    color: #ce4552;
}

ul.simple-cars-tip li{
    width: 310px;
}

ul.simple-cars-tip span.car {
    text-align: left;
}

ul.simple-cars-tip span.years {
    font-weight: bold;
    color: #3a84ac;
}

@media screen and (max-width:1000px) {
    .catalog-filter .filter-item {
        width: 50%;
        padding-left: 5px;
    }

    .catalog-products {
        text-align: center;
    }

    .catalog-products li {
        margin-right: 10px;
    }

    .view-type {
        display: none;
    }

    .catalog-search form {
        width: 100%;
    }

    .catalog-products .image {
        margin-bottom: 10px;
    }

    .catalog-products .description {
        overflow-y: auto;
    }

    .catalog-products .rating-comments {
        position: static;
        width: 100%;
    }

    .catalog-products .rating-comments .rating-vc {
        float: right;
    }

    .catalog-products .manufacturer-label {
        display: none;
    }

    .catalog-products .price-block {
        display: table;
    }

    .catalog-products .price-block .delivery {
        display: table-header-group;
        width: 100%;
    }

    .catalog-products .price-block .buy {
        display: table-footer-group;
        width: 100%;
    }

    .catalog-products .detail {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .catalog-products .rating-comments {
        width: 100%;
        order: 1;
    }

    .catalog-products .description {
        order: 3;
    }

    .catalog-products .description-block {
        order: 2;
    }

}

@media screen and (min-width:1000px) {
    .catalog-products .manufacturer-number {
        font-size: 17px;
    }

    .catalog-products.list-view .price-block {
        float: right;
        display: inline-block;
        width: 200px;
        position: static;
    }

    .catalog-products.list-view li {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .catalog-products.list-view .price-block a.button {
        float: left;
        width: 100%;
        text-align: center;
    }

    .catalog-products.list-view .description-block {
        float: none;
        clear: both;
        max-width: 500px;
    }

    .catalog-products.list-view .detail {
        display: inline-block;
        width: calc(100% - 430px);
        min-height: 162px;
        padding-left: 10px;
    }

    .catalog-products.list-view .buy {
        margin-top: 44px;
    }

    .catalog-products.list-view .price {
        float: none;
        margin-bottom: 5px;
    }

    .catalog-products.list-view .price span {
        font-size: 33px;
    }

    .catalog-products.list-view .price sup {
        font-size: 15px;
    }

    .catalog-products.list-view .price em {
        font-size: 24px;
        color: #5f9aba;
        font-style: normal;
    }

    .catalog-products.list-view .button {
        float: left;
    }

    .catalog-products.list-view .delivery {
        margin-top: 8px;
    }

    .catalog-products.list-view .price-block {
        text-align: center;
    }

    .catalog-product .cars {
        width: calc(100% - 290px);
    }

}

@media screen and (max-width:768px) {
    .catalog-filter .filter-item {
        width: 100%;
    }

    .catalog-table .catalog-name {
        width: 30%;
    }

    .catalog-table .manufacturer, .catalog-table .product-number {
        width: 40%;
    }

    .catalog-table .info, .catalog-table .product-image {
        width: 10%;
    }

    .catalog-table .product-name {
        width: 65%;
    }

    .catalog-table .product-name span {
        text-align: left;
        margin-left: 10px;
    }

    .catalog-table .price {
        width: 25%;
    }

    .catalog-table .cart {
        width: 10%;
    }

    table.catalog-table td > * {
        display: inline-block;
        text-align: center;
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    table.catalog-table td {
        position: relative;
        display: inline-block;
        height: 50px;
    }

    .grid-details.cad-filters {
        width: 100%;
        padding: 0;
    }

    .comment-product-form, .comments-list-w {
        width: 100%;
        float: left;
    }

    .comment-product-form .comment-button {
        width: 100%;
    }

    .comment-product-form {
        padding-right: 0;
    }

}

@media screen and (max-width:620px) {
    .catalog-product-panel {
        height: 260px;
    }
    .catalog-product-panel .show-all {
        bottom: 0;
    }

    .catalog-product .product-image {
        float: initial;
    }

    .catalog-search form span.catalog-down {
        display: inline-block;
        margin: 5px 0;
    }

    .catalog-filter .filter-item, .catalog-filter .filter-item select {
        width: 100%;
    }

    .catalog-filter .filter-item span {
        width: 100%;
        margin-top: 5px;
        position: inherit;
        top: inherit;
    }

    .catalog-filter .filter-item, .catalog-filter .filter-item select {
        width: 100%;
        margin-bottom: 5px;
    }

    .catalog-filter .filter-item span {
        width: 100%;
        margin-top: 5px;
        position: inherit;
        top: inherit;
    }

    .catalog-filter .filter-item a {
        width: 100%;
        margin-left: 0;
    }

    .catalog-product .properties p, .catalog-product .properties-rating {
        border-bottom: 1px solid #e3e3e3;
        padding-bottom: 2px;
    }

    .catalog-product .properties * {
        font-size: 14px;
    }

    .catalog-product .properties-rating {
        width: 100%;
        font-size: 0;
    }

    .catalog-product .properties-rating span {
        font-size: 13px;
    }

    .catalog-product .property, .catalog-product .value {
        width: 50%;
        display: inline-block;
        text-align: left;
    }

    .catalog-product .properties .property {
        font-weight: normal;
    }

    .catalog-product .product-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
    }

    .catalog-product .cars {
        float: left;
    }

    .catalog-product .product-image > a {
        width: 100%;
        margin-bottom: 15px;
    }

    .catalog-product .properties, .catalog-product .description {
        width: 100%;
    }

    .catalog-product .product-image ul.images {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        max-height: 85px;
    }

    .catalog-product .product-image ul.images li {
        float: none;
    }

    .catalog-product .product-image ul.images li:first-child {
        margin-left: 0;
    }

    .catalog-products {
        padding: 0;
    }

    .catalog-product .product-image ul.images {
        float: none;
        margin: 1px;
    }

    .catalog-product .rating-comments .comments-wrapper {
        padding-left: 0;
    }

    .catalog-products .description {
        max-height: 129px;
    }

    .catalog-products li {
        height: initial;
        width: 100%;
        padding: 10px;
    }

    .catalog-products .price-block {
        position: static;
        padding: 0;
        margin-top: 10px;
        text-align: center;
    }

    .catalog-product .product-image > a {
        width: 100%;
    }

    .catalog-products .image {
        width: 100%;
        border-bottom: 1px solid #c9c9c9;
        margin-bottom: 10px;
        padding-bottom: 17px;
    }

    .catalog-products .image a {
        width: 100%;
        display: inline-block;
        height: initial;
        border: none;
    }

    .catalog-products .image a img {
        max-width: 100%;
        max-height: 300px;
    }

    .catalog-products .price {
        font-size: 20px;
    }

    .catalog-search input[type="text"] {
        width: calc(100% - 85px);
    }

    .catalog-search .button {
        width: 80px;
        margin-right: 0;
    }

    .catalog-section {
        margin: 0;
        width: 100%;
        margin-bottom: 20px;
    }

    .catalog-section .catalog-item {
        width: 100%;
        height: initial;
    }

    .catalog-section .catalog-item img {
        width: 100%;
    }

    .catalog-element {
        width: 100%;
        padding: 0;
    }

    .catalog-element:hover {
        box-shadow: none;
        padding: 0;
    }

}

