.compare-select-page {
    padding-bottom: 140px;
}

.compare-select-page section.section.section--back {
    border-top: 1px solid #414042;
}

.compare-select-page section.section.section--back .section--inner {
    max-width: 1800px;
    margin: 0 auto;
}

.compare-select-page h1 {
    text-align: center;
    font-size: 60px;
    line-height: 1;
    margin: 0 auto 0;
    max-width: 800px;
    padding: 0 20px;
}

.compare-select-page .category-tabs {
    display: flex;
    justify-content: center;
    margin: 45px 0 5px;
    flex-wrap: wrap;
    padding: 0 20px;
    gap: 16px;
}

.compare-select-page .form-container form>p {
    font-size: 20px;
}

.compare-select-page .category-tabs .category-tab {
    padding: 8px 20px 10px;
    border: 1px solid #CECECE;

    cursor: pointer;
    font-size: 20px;
    font-family: 'Barlow Condensed';
    margin: 0 !important;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    line-height: 1;
    transition: all 0.3s;
}

.compare-select-page .category-tabs .category-tab.active {
    background-color: #009DD6;
    border-color: #009DD6;
    color: #fff;
}

.compare-select-page .form-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 20px;
}

.compare-select-page .form-container form {
    text-align: center;
}

.compare-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    justify-content: flex-start;
    row-gap: 40px;
    margin-bottom: 40px;
}

.compare-product-grid .product {
    border: 0 !important;
    overflow: hidden;
    width: 25%;
    text-align: center;
    position: relative;
    border-radius: 0;
    padding: 30px 0 40px;
}


.compare-product-grid .product img {
    width: 100%;
    height: auto;
}



.compare-product-grid .product .product-info {
    padding: 10px;
}



.compare-product-grid .product input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.compare-product-grid .product input[type="checkbox"]:checked+img+.product-info::before {
    content: "";
    position: absolute;
    top: 0;
    width: 37px;
    background: #009DD6;
    height: 37px;
    left: 0;
}

.compare-product-grid .product input[type="checkbox"]:checked+img+.product-info::after {
    content: "-";
    position: absolute;
    top: 0;
    font-size: 26px;
    color: #fff;
    left: 0;
    width: 37px;
    height: 37px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
}

.compare-product-grid .product input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.compare-product-grid .product:has(input:checked)::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    top: 0;
    left: 0;

}



.compare-product-grid .product h3 {
    font-size: 24px;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 0.72px;
}


.compare-select-page .product.disabled {
    opacity: 0.5;
}

.message {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: red;
}


.compare-result-page h1 {
    text-align: center;
    font-size: 60px;
    line-height: 1;
    margin: 0 auto 0;
    max-width: 800px;
    padding: 0 20px;
}

.compare-result-page section.section.section--back {
    border-top: 1px solid #414042;
    padding-top: 40px;
}

.compare-result-page section.section.section--back .section--inner {
    max-width: 1800px;
    margin: 0 auto;
}

.compare-result-page .compare-result-top-part {
    max-width: 1350px;
    padding: 0 20px;
    margin: 0 auto;
}

.compare-result-page ul.compare-nav-inner {
    display: flex;
    list-style: none;
    border-bottom: 2px solid #414042;
    justify-content: flex-start;
    padding: 0;
    flex-wrap: wrap;
    margin: 50px 0 0;
    padding: 0;
}

.compare-result-page ul.compare-nav-inner li a {
    padding: 10px 30px 16px 30px;
    position: relative;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Barlow Condensed';
    color: #414042;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    display: inline-block;
}

.compare-result-page ul.compare-nav-inner li a.active {
    color: #009DD6;
}

.compare-result-page ul.compare-nav-inner li a.active::after {
    content: "";
    position: absolute;
    background: #009DD6;
    width: 100%;
    height: 8px;
    left: 0;
    bottom: -2px;
}

.compare-result-page .compare-products-preview {
    display: flex;
    flex-wrap: wrap;
}

.compare-result-page .compare-products-preview .column {
    width: 20%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.compare-result-page .compare-products-preview .column .image {
    padding-top: 120%;
    position: relative;
}

.compare-result-page .compare-products-preview .column .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 90%;
}

.compare-result-page .compare-products-preview .column .title {
    background: #414042;
    color: #fff;
    flex-grow: 1;
    margin-top: auto;
    padding: 14px 0px 14px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-result-page .compare-products-preview .column .title h3 {
    font-size: 22px;
    margin: 0;
    width: 100%;
    padding: 0px 10px 0px;
    text-align: center;
    line-height: 1.1;
    border-right: 4px solid #757575;
}

.compare-result-page .compare-products-preview .column:last-child .title h3 {
    border-right: 0;
}

.compare-result-page .compare-result-info-part {
    max-width: 1350px;
    padding: 0 20px;
    margin: 0 auto 60px;
}

.compare-result-page .compare-result-info-part table.compare-table tr:nth-child(odd) {
    background: #F1F2F2;
}

.compare-result-page .compare-result-info-part table.compare-table tr {
    display: flex;
    flex-wrap: wrap;
}

.compare-result-page .compare-result-info-part table.compare-table tr td {
    width: 20%;
    border: 0;
    padding: 8px 10px;
    font-size: 15px;
    line-height: 1.5;
}

.compare-result-page .compare-products-preview .column:first-child .title {
    background: #fff;
    color: #414042;
}

.compare-result-page .compare-products-preview .column:first-child .title h3 {
    font-size: 22px;
    margin: 0;
    width: 100%;
    padding: 0px 10px 0px;
    text-align: left;
    line-height: 1.1;
    border-right: 0;
}

.compare-result-page .compare-result-info-part table.compare-table {
    width: 100%;
}

.compare-result-page {
    padding-bottom: 140px;
}

.compare-result-page .compare-products-preview .column .title h3 a {
    color: #fff;
}

@media(max-width:1200px) {
    .compare-product-grid .product h3 {
        font-size: 20px;
        letter-spacing: 0.6px;

    }

    .compare-result-page .compare-products-preview .column .title h3 {
        font-size: 20px;

    }

    .compare-result-page .compare-products-preview .column:first-child .title h3 {
        font-size: 20px;
    }

    .compare-result-page ul.compare-nav-inner li a {
        padding: 10px 22px 16px 22px;
        font-size: 18px;
        letter-spacing: 1.4px;
    }

}

@media(max-width:991px) {
    .compare-result-page ul.compare-nav-inner li a {
        padding: 10px 11px 16px 11px;
        font-size: 16px;
        letter-spacing: 1.2px;
    }

    .compare-result-page .compare-products-preview .column:first-child .title h3,
    .compare-result-page .compare-products-preview .column .title h3 {
        font-size: 16px;
    }

    .compare-result-page .compare-result-info-part table.compare-table tr td {
        padding: 7px 7px;
        font-size: 14px;
    }

    .compare-result-page h1,
    .compare-select-page h1 {
        font-size: 44px;
    }
}

@media(max-width:767px) {
    .compare-product-grid .product {
        width: 50%;
        padding: 20px 0 20px;
    }

    .compare-product-grid .product h3 {
        font-size: 14px;
        letter-spacing: 0.03px;
    }

    .compare-product-grid .product .product-info {
        padding: 8px;
    }

    .compare-select-page .category-tabs {
        margin: 35px 0 5px;
        gap: 10px;
    }

    .compare-select-page h1 {
        font-size: 32px;
    }

    .compare-select-page {
        padding-bottom: 100px;
    }

    .compare-select-page .form-container form>p {
        font-size: 18px;
    }

    .compare-select-page .category-tabs .category-tab {
        padding: 8px 15px 10px;
        font-size: 16px;
    }

    .compare-product-grid {
        row-gap: 20px;
    }

    .compare-result-page h1 {
        font-size: 32px;
    }

    .compare-result-wrap {
        overflow-x: auto;
    }

    .compare-result-page .compare-result-top-part,
    .compare-result-page .compare-result-info-part {
        min-width: 840px;
    }

    .compare-result-page .compare-result-info-part {
        margin: 0 auto 30px;
    }

    .compare-result-page .compare-more {
        margin-top: 30px;
    }

    .compare-result-page ul.compare-nav-inner {
        justify-content: flex-start;
        margin: 30px 0 0;
    }

    .compare-result-page .compare-products-preview .column:first-child .title h3,
    .compare-result-page .compare-products-preview .column .title h3 {
        font-size: 12px;
    }

    .compare-result-page .compare-result-info-part table.compare-table tr td {
        font-size: 13px;
    }
}