
.comp-table {
    position: relative;
    display: flex;
    flex-direction: column;
}
.comp-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    color: #fff;
    background: #229512;
}
.comp-head,
.comp-body {
    position: relative;
    display: flex;
    align-items: stretch;
}
.comp-aside {
    flex: 1 0 100%;
    max-width: 200px;
}
.comp-content {
    position: relative;
    width: 100%;
    max-width: calc(100% - 200px);
}
.comp-cols {
    display: flex;
    align-items: stretch;
    overflow: hidden;
}
.comp-cols .slick-list {
    min-width: 100%;
}

.comp-col {
    width: 100%;
    max-width: 20%;
}
.comp-col > * {
    width: 100%;
}

.comp-col {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: center;
}

.comp-body-aside-cell,
.comp-body-cell {
    min-height: 40px;
}

.comp-head-content {
    position: relative;
}
.comp-body-content {
    overflow: hidden;
}

.comp-table {
    /*margin-left: auto;*/
    margin-right: auto;
    border: 1px solid #e5e5e5;
}

.comp-aside {
    /*border-right: 1px solid #e5e5e5;*/
}
.comp-body-cell + .comp-body-cell,
.comp-body-aside-cell + .comp-body-aside-cell {
    border-top: 1px solid #e5e5e5;
}
.comp-col  {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}
/*.comp-col:nth-child(4) ~ .comp-col:last-child {*/
/*    border-right-color: transparent;*/
/*}*/
.comp-top {
    border-bottom: 1px solid #e5e5e5;
}

.comp-body-aside-cell,
.comp-body-cell {
    padding: 10px 15px;
}

.comp-main {
    position: relative;
}

.comp-bar {
    padding: 13px 30px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background-color: #000;
}

.comp-body-cell:nth-child(even),
.comp-body-aside-cell:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.comp-body-aside-cell {
    font-weight: 700;
}

.comp-body-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.comp-arrow.comp-arrow {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    transition: ease 0.2s;
}
.comp-arrow:not(.slick-disabled):active {
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
}
.comp-arrow.slick-disabled {
    visibility: hidden;
    /*cursor: not-allowed;*/
    /*color: rgba(0, 0, 0, 0.3)!important;*/
    /*border-color: transparent!important;*/
    /*background-color: #e5e5e5!important;*/
}
.comp-table .btn.slick-hidden {
    display: none!important;
}
.comp-arrow.comp-action-prev {
    left: -20px;
}
.comp-arrow.comp-action-next {
    right: -20px;
}

.comp-sticky .comp-aside,
.comp-head .comp-aside {
    display: flex;
    align-items: center;
    font-weight: 700;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.02);
}
.comp-content .slick-track .comp-head-col {
    flex: 1 0 auto;
    height: auto;
}

.comp-table .slick-list,
.comp-table .slick-track {
    min-width: 100%;
}

.comp-top label > * {
    vertical-align: middle;
}

.comp-top label .icheckbox_minimal-custom {
    margin-right: 3px;
}

.comp-table .comp-body .has-diff {
    /*font-weight: 700;*/
    /*background-color: rgba(255, 188, 60, 0.18);*/
}

.comp-title.comp-title {
    font-size: 22px;
    font-weight: 900;
}

.comp-head .comp-cols .slick-active + .slick-active:not(:last-child) {
    box-shadow: none;
}

.comp-arrow.comp-arrow {
    display: none;
    padding: 0;
    background-color: transparent;
    width: 40px;
    height: 40px;
}
.comp-arrow.comp-arrow > .icon{
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
}

.comp-arrow.comp-arrow > .icon svg{
    width: 20px;
    height: 21px;
}

.slick-initialized .comp-arrow.comp-arrow {
    display: block;
}

.comp-sticky .comp-product-action-remove {
    display: none;
}

.comp-rwd-name {
    display: none;
    width: 100%;
    padding: 9px 10px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #3a393b;
    background-color: rgba(0, 0, 0, 0.1);
}

.comp-sticky {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
    box-shadow: 0 6px 3px -4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s, top 0s, pointer-events 0s;
}
.comp-sticky .comp-product {
    align-items: flex-start;
    flex-direction: row;
    padding: 8px 22px 8px 10px;
    text-align: left;
}
.comp-sticky .comp-product-img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin-bottom: 0;
}
.comp-sticky .comp-product-body {
    padding-left: 10px;
}
.comp-sticky .comp-product-name {
    display: -webkit-box; /* Works for non-IE */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    visibility: visible;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}
.comp-sticky .comp-product-manufacturer {
    display: none;
}
.comp-sticky .comp-product-price {
    justify-content: flex-start;
    padding-top: 5px;
}
.comp-sticky .comp-product-price .price-box .price:not(.price-old) {
    font-size: 14px;
}
.comp-sticky .comp-product-price .shop-add-to-basket {
    display: none;
}

.comp-sticky:not([class*="affixHandler"]),
.comp-sticky.affixHandler-top {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
}

.comp-sticky.affixHandler-middle {
    position: fixed;
    top: 0;
}

.comp-sticky.affixHandler-bottom {
    position: absolute;
    bottom: 0;
}

.comp-sticky .btn.btn.comp-arrow {
    width: 36px;
    height: 36px;
    line-height: 34px;
}
.comp-sticky.affixHandler-middle .comp-head .comp-arrow,
.comp-sticky.affixHandler-bottom .comp-head .comp-arrow {
    opacity: 0;
}


/***************************************************
 * PRODUCT
 */

.comp-product {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 15px 30px;
    text-align: center;
}

.comp-product-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.comp-product-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    padding-bottom: 10px;
}
.comp-product-img img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.comp-product-options {
    z-index: 10;
    position: absolute;
    top: 6px;
    right: 6px;
}
.comp-product-options > * {
    display: block;
    height: 32px;
    width: 32px;
    line-height: 30px;
    font-size: 0;
    color: #000;
    border-radius: 50%;
    transition: all 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.comp-product-options > * + * {
    margin-top: 4px;
}
.comp-product-options > * .fa {
    vertical-align: middle;
    font-size: 16px;
    height: 18px;
}
.comp-product-options > * .fa:before {
    vertical-align: top;
}

.comp-product-options .comp-product-action-remove {
    color: #aa1717;
}
.comp-product-options > *:hover {
    color: #fff;
    background-color: #000;
}

.comp-product-name {
    font-weight: 400;
    font-size: 14px;
    color: #000;
}
.comp-spec-value{
    font-size: 14px;
}
.comp-product-name:hover {
    color: var(--color-primary);
}
.comp-product-manufacturer {
    margin-top: 5px;
    font-size: 14px;
}
.comp-product-price {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    margin-top: auto;
    min-height: 50px;
}
.comp-product-price .price-box .price:not(.price-old) {
    font-size: 16px;
    color: #000;
}

.comp-table--4 {
    max-width: 1315px;
}
.comp-table--3 {
    max-width: 1035px;
}
.comp-table--2 {
    max-width: 755px;
}
.comp-table--1 {
    max-width: 475px;
}

.comp-table--4 .comp-col {
    max-width: 25%;
}
.comp-table--3 .comp-col {
    max-width: 33.33333%;
}
.comp-table--2 .comp-col {
    max-width: 50%;
}
.comp-table--1 .comp-col {
    max-width: 100% !important;
}


/************************************************************
 * RWD
 */

@media screen and (max-width: 1366px) {
    .comp-content {
        max-width: calc(100% - 160px);
    }
    .comp-aside {
        max-width: 160px;
    }

    .comp-product {
        padding-left: 25px;
        padding-right: 25px;
    }
}
@media screen and (max-width: 1280px) {
    .comp-col {
        max-width: 25%;
    }
    /*.comp-col:nth-child(3) ~ .comp-col:last-child {*/
    /*    border-right-color: transparent;*/
    /*}*/
}
@media screen and (max-width: 1139px) {
    .comp-top {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .comp-title.comp-title {
        font-size: 20px;
    }
    .comp-bar {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 18px;
    }
}
@media screen and (max-width: 1024px) {
    .comp-body-cell:nth-child(2n),
    .comp-body-aside-cell:nth-child(2n) {
        background-color: transparent;
    }

    /*.comp-col:nth-last-child(1):first-child,*/
    /*.comp-col:nth-last-child(2):first-child {*/
    /*    border-left: 1px solid rgba(0, 0, 0, 0.1);*/
    /*}*/
    .comp-table--4 .comp-col,
    .comp-col {
        max-width: 33.33333%;
    }
}
@media screen and (max-width: 960px) {
    .comp-aside.comp-aside {
        display: none;
    }
    .comp-content {
        max-width: 100%;
    }

    .comp-body-cell {
        padding: 0;
        justify-content: flex-start;
    }

    .comp-rwd-name {
        display: block;
    }
    .comp-spec-value {
        padding: 8px 10px;
    }

    .comp-cols .slick-track {
        display: flex;
        justify-content: center;
    }
}
@media screen and (max-width: 767px) {
    .comp-table,
    .comp-body .comp-aside {
        font-size: 14px;
    }
    .comp-sticky .comp-product {
        padding-right: 18px;
    }
}
@media screen and (max-width: 580px) {
    .comp-col.comp-col {
        max-width: 50%;
    }
    /*.comp-col:nth-child(1) ~ .comp-col:last-child {*/
    /*    border-right-color: transparent;*/
    /*}*/

    /*.comp-col:nth-last-child(1):first-child,*/
    /*.comp-col:nth-last-child(2):first-child {*/
    /*    border-left-color: transparent;*/
    /*}*/
}
@media screen and (max-width: 420px) {
    .comp-sticky .comp-product-img {
        width: 50px;
        height: 50px;
    }
    .comp-sticky .comp-product-name {
        word-break: break-word;
    }
    .comp-sticky .comp-product-price .price-box .price:not(.price-old) {
        font-size: 13px;
    }

    .comp-product {
        padding-left: 20px;
        padding-right: 20px;
    }

    .comp-product-name {
        font-size: 13px;
    }
    .btn.btn.comp-arrow.comp-arrow {
        width: 36px;
        height: 36px;
        line-height: 34px;
    }
}

.comp-product-price .btn .caption {
    margin-left: 16px;
    line-height: 1;
}

.comp-product-price .price-gross{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comp-product-price .price-gross .price-old{
    order: -1;
}