.productcomparison-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.productcomparison-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 50px;
    float: none;
}

.productcomparison-header {
    width: 100%;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    float: left;
}

.productcomparison-header .page-heading {
    margin: 0;
    text-align: center;
    flex: 1 1 auto;
}

.productcomparison-clear {
    min-height: 36px;
    padding: 0 18px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    background: #fff;
}

.productcomparison-clear:hover {
    border-color: #faa322;
    background: #faa322;
    color: #fff;
    text-decoration: none;
}

.productcomparison-empty {
    width: 100%;
    padding: 30px 24px;
    margin: 0 0 30px 0;
    border: 1px solid #f4d9b2;
    background: #fef6e8;
    box-sizing: border-box;
    color: #4e4e4e;
    text-align: center;
    float: left;
}

.productcomparison-empty p {
    margin: 0;
    font-size: 15px;
}

.productcomparison-toolbar {
    width: 100%;
    margin: 0 0 12px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    float: left;
}

.productcomparison-group-toggle,
.productcomparison-diff-toggle {
    min-height: 36px;
    padding: 0 18px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.productcomparison-group-toggle:hover,
.productcomparison-group-toggle.active,
.productcomparison-diff-toggle:hover,
.productcomparison-diff-toggle.active {
    border-color: #faa322;
    background: #faa322;
    color: #fff;
}

.productcomparison-wrap {
    width: 100%;
    border: 1px solid #e5e5e5;
    margin: 0 0 30px 0;
    background: #fff;
    box-sizing: border-box;
    overflow-x: auto;
    float: left;
}

.productcomparison-mode.inactive {
    display: none;
}

.productcomparison-tabs {
    min-width: 720px;
    padding: 12px 12px 0;
    border-bottom: 1px solid #e5e5e5;
    background: #f7f7f7;
    display: flex;
    gap: 6px;
    box-sizing: border-box;
}

.productcomparison-tab {
    min-height: 36px;
    padding: 0 18px;
    border: 1px solid #d9d9d9;
    border-bottom: 0;
    border-radius: 2px 2px 0 0;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.productcomparison-tab:hover,
.productcomparison-tab.active {
    border-color: #faa322;
    background: #faa322;
    color: #fff;
}

.productcomparison-group {
    min-width: 720px;
    border-bottom: 1px solid #e5e5e5;
}

.productcomparison-group:last-of-type {
    border-bottom: 0;
}

.productcomparison-group.hidden {
    display: none;
}

.productcomparison-group.inactive {
    display: none;
}

.productcomparison-group-title {
    padding: 14px 18px;
    background: #333;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.productcomparison-products,
.productcomparison-feature-values {
    min-width: 720px;
    display: flex;
    align-items: stretch;
}

.productcomparison-products {
    background: #fff;
    border-bottom: 1px solid #f4d9b2;
}

.productcomparison-products-sticky {
    position: fixed;
    top: 0;
    z-index: 100;
    display: none;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
    pointer-events: auto;
}

.productcomparison-products-sticky .product_attributes,
.productcomparison-products-sticky a {
    pointer-events: none;
}

.productcomparison-products-sticky .productcomparison-remove {
    pointer-events: auto;
}

.productcomparison-products-sticky.visible {
    display: block;
}

.productcomparison-products-sticky .productcomparison-products {
    border-bottom: 1px solid #f4d9b2;
    will-change: transform;
}

.productcomparison-product,
.productcomparison-feature-value {
    flex: 1 1 0;
    min-width: 180px;
    box-sizing: border-box;
}

.productcomparison-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 20px 18px 18px;
    border-left: 1px solid #e8e8e8;
    text-align: center;
}

.productcomparison-product-suggestion {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.productcomparison-suggestion-inner {
    width: 100%;
    min-height: 150px;
    padding: 20px;
    border: 1px dashed #d9d9d9;
    border-radius: 2px;
    background: #fafafa;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.productcomparison-suggestion-title {
    margin: 0 0 8px;
    color: #333;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.productcomparison-suggestion-text {
    max-width: 220px;
    color: #777;
    font-size: 13px;
    line-height: 1.45;
}

.productcomparison-product:first-child,
.productcomparison-feature-value:first-child {
    border-left: 0;
}

.productcomparison-features {
    min-width: 720px;
}

.productcomparison-feature {
    border-bottom: 1px solid #e8e8e8;
}

.productcomparison-feature:last-child {
    border-bottom: 0;
}

.productcomparison-feature.hidden {
    display: none;
}

.productcomparison-feature-name {
    padding: 14px 18px;
    background: #fef6e8;
    color: #333;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    border-bottom: 1px solid #f4d9b2;
}

.productcomparison-feature-value {
    padding: 15px 18px;
    border-left: 1px solid #e8e8e8;
    color: #4e4e4e;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.productcomparison-feature:hover .productcomparison-feature-value {
    background: #fffaf1;
}

.productcomparison-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.productcomparison-image img {
    max-width: 120px;
    max-height: 120px;
    height: auto;
    width: auto;
    display: block;
}

.productcomparison-name {
    display: block;
    min-height: 38px;
    margin: 0 0 8px;
    color: #333;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
}

.productcomparison-name:hover {
    color: #af1329;
    text-decoration: none;
}

.productcomparison-product .product_attributes {
    width: 100%;
    margin: 0 0 12px;
    padding: 10px 0;
    border-top: 1px solid #cacaca;
    border-bottom: 1px solid #cacaca;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.productcomparison-product .product_attributes_group_name,
.productcomparison-product .product_attributes_value {
    margin: 0;
    color: #caa56d;
    font-size: 14px;
    line-height: 1.3;
}

.productcomparison-product .product_attributes_value {
    color: #767676;
}

.productcomparison-product .jcf-select {
    width: 100%;
    max-width: 120px;
    float: none;
    text-align: left;
}

.productcomparison-price {
    height: auto;
    min-height: 48px;
    width: fit-content;
    margin: auto auto 0 !important;
    float: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.productcomparison-price.product_price_with_discount {
    margin-top: 0;
}

.productcomparison-price p.sale {
    background: #f66f79;
    padding: 3px 11px;
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    display: inline-block;
    border-radius: 20px;
    float: left;
    margin: 0;
}

.productcomparison-price .productcomparison-discount {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 8px 0 0;
}

.productcomparison-price .tovar_cena {
    margin: -8px 0 0 0;
    white-space: nowrap;
}

.productcomparison-price.product_price_with_discount .tovar_cena {
    margin: -5px 0 0 0;
    float: none;
}

.productcomparison-price .cat_num {
    margin: 0;
}

.productcomparison-price.product_price_with_discount .cat_num {
    margin: 10px 0 -10px 0;
}

.productcomparison-price .tovar_cena span {
    font-size: 25px;
    letter-spacing: -2px;
    color: #333;
    font-weight: 700;
}

.productcomparison-price.product_price_with_discount .tovar_cena span {
    margin: 0 0 0 5px;
}

.productcomparison-price .tovar_skidka {
    width: auto;
    margin: 2px 0 0;
    text-align: center;
    color: #767676;
    font-size: 16px;
    float: none;
    clear: none;
}

.productcomparison-price .tovar_skidka i {
    margin: 4px 0 0 0;
    font-size: 13px;
    white-space: nowrap;
    font-style: normal;
    position: relative;
}

.productcomparison-price .tovar_skidka i:before {
    content: "";
    position: absolute;
    top: 7px;
    left: -4px;
    right: -6px;
    z-index: 2;
    border-bottom: 1px solid #727272;
    transform: rotate(-4deg);
}

.productcomparison-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 23px;
    height: 23px;
    padding: 0;
    line-height: 20px;
    border-radius: 2px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #979797;
    font-size: 18px;
    cursor: pointer;
}

.productcomparison-remove:hover {
    border-color: #faa322;
    background: #faa322;
    color: #fff;
}

.productcomparison-note {
    padding: 22px 18px;
    color: #777;
    font-style: italic;
}

.productcomparison-empty-value {
    color: #b5b5b5;
}

.productcomparison-no-differences {
    min-width: 720px;
    padding: 22px 18px;
    box-sizing: border-box;
    color: #777;
    text-align: center;
}

.productcomparison-no-differences.hidden {
    display: none;
}

@media (max-width: 767px) {
    .productcomparison-products-sticky {
        height: auto !important;
    }

    .productcomparison-products-sticky .productcomparison-image {
        display: none;
    }

    .productcomparison-header {
        display: block;
    }

    .productcomparison-header .page-heading {
        margin: 0 0 15px;
    }

    .productcomparison-clear {
        width: 100%;
        box-sizing: border-box;
    }

    .productcomparison-toolbar {
        display: block;
    }

    .productcomparison-group-toggle,
    .productcomparison-diff-toggle {
        width: 100%;
        margin: 0 0 8px;
    }

    .productcomparison-products,
    .productcomparison-feature-values,
    .productcomparison-features,
    .productcomparison-tabs,
    .productcomparison-group,
    .productcomparison-no-differences {
        min-width: 640px;
    }

    .productcomparison-product,
    .productcomparison-feature-value,
    .productcomparison-feature-name {
        padding: 13px 12px;
    }

    .productcomparison-product,
    .productcomparison-feature-value {
        min-width: 150px;
    }
}
