.compare-content {
    position: relative;
}
@media (min-width: 767px) {
    .compare-content {
        min-height: 50vh;
    }
}
@media (min-width: 768px) and (max-width: 1000px) {
    .compare-content:has(.sticky-compare) .scroll-buttons #scroll-right {
        right: -36px;
    }
}
.compare-content .compare-overlay {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10;
}
.compare-content .return-to-shop {
    margin: 20px 0 35px;
}
@media(max-width: 768px){
    .compare-content .return-to-shop {
        margin: 20px 0 150px;
    }
}
.compare-content .return-to-shop a {
    text-decoration: underline;
}
.compare-content .return-to-shop a:hover {
    text-decoration: none;
}
.compare-content .section-page .container {
    margin: 0;
}
.compare-content .attribute_name, .compare-content .attribute_value {
    padding: 8px 8px 8px 20px;
    text-align: center;
}
.scroll-buttons {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Центрирование по высоте */
    pointer-events: none;
    z-index: 99;
    left: 0;
    /* Фиксированное значение */
    transition: none;
}
@media (max-width: 375px) {
    .scroll-buttons {
        top: 150px !important;
    }
}
.scroll-buttons button.disabled {
    visibility: hidden;
}
.scroll-buttons #scroll-left {
    left: -13px;
}
@media (max-width: 1000px) {
    .scroll-buttons #scroll-left {
        left: -9px;
    }
}
@media (max-width: 375px) {
    .scroll-buttons #scroll-left {
        left: 0;
    }
}
.scroll-buttons #scroll-right {
    right: -13px;
}
.scroll-buttons button {
    pointer-events: auto;
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    background: #fff;
    color: var(--gpo-style-color);
    padding: 7px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(43, 43, 43, 0.3);
    z-index: 3;
}
.scroll-buttons button i {
    font-size: 14px;
}
.scroll-buttons button i:before {
    width: fit-content;
    margin-right: 0;
}
.scroll-buttons button:hover {
    background: var(--gpo-style-color);
    border-color: var(--gpo-style-color);
    color: #fff;
}
@media (max-width: 1000px) {
    .compare-products.scrolled .attribute_value-name {
        color: #afafaf;
        display: block;
    }
}
@media (min-width: 1000px) {
    .compare-products.scrolled th:first-child, .compare-products.scrolled td:first-child {
        display: none;
    }
}
.compare-products__actions.mobile-actions {
    display: none;
}
@media (max-width: 1000px) {
    .compare-products__actions.mobile-actions {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 16px;
        align-items: center;
    }
}
.compare-products__tool {
    vertical-align: bottom;
    padding-right: 20px !important;
    border-bottom: 1px solid #e4e4e4 !important;
    border-top: 1px solid #e4e4e4 !important;
}
.compare-products__actions {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
    font-size: 14px;
}
.compare-products__actions .compare-products__hide {
    display: flex;
    align-items: center;
    cursor: pointer;
    line-height: 100%;
}
.compare-products__actions .compare-products__hide input#compare_products_hide {
    min-width: 14px;
    max-width: 14px;
    height: 14px;
    max-height: 14px;
    min-height: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 2px;
    border: 1px solid #2B2B2B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.compare-products__actions .compare-products__hide label {
    display: flex;
    text-align: left;
    cursor: pointer;
}
.compare-products__actions .compare-products__hide .icon-check:before {
    content: '';
    margin-right: 0;
    font-size: 10px;
    display: flex;
    border-radius: 1px;
    align-items: center;
    justify-content: center;
    line-height: 100%;
    background: var(--gpo-style-color);
    width: 10px;
    height: 10px;
}
.compare-products__checkbox-item__input.icon-check + .compare-products__checkbox-item__caption:after{
    opacity: 1;
}
.compare-products__actions .compare-products__clear {
    cursor: pointer;
    color: rgba(43, 43, 43, 0.6);
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 0;
    text-decoration: underline;
    transition: all 0.3s ease;
    width: 100%;
}
.compare-products__actions .compare-products__clear:hover {
    color: var(--gpo-style-color);
    transition: all 0.3s ease;
}
@media (max-width: 1000px) {
    .compare-products__actions .compare-products__clear {
        width: fit-content;
    }
}
.compare-page .content-title {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin-bottom: 30px;
}
.compare-page #footer_site_map {
    display: none;
}
.compare-page .col-full {
    padding: 0;
}
.compare-page tbody, .compare-page td, .compare-page tfoot, .compare-page th, .compare-page thead, .compare-page tr {
    border: none;
}
.compare-wrapper .page_main_title {
    margin-top: 25px;
}
@media (max-width: 1200px) {
    .compare-wrapper {
        margin: 0 18px;
    }
}
@media (max-width: 1000px) {
    .compare-wrapper {
        margin: 0;
    }
}
.compare-products {
    overflow: hidden;
    margin-bottom: 50px;
    margin-right: 3px;
    border-radius:0;
}
@media (max-width: 1000px) {
    .compare-products {
        margin-right: 0;
        border-left: 1px solid #e4e4e4 !important;
    }
}
.compare-products span.woocommerce-Price-currencySymbol {
    font-size: 14px;
}
.compare-products .instock {
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 0;
}
.compare-products .onbackorder {
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 0;
    color: #9a9a9a;
}
.compare-products .outofstock {
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 0;
    color: red;
}
.compare-products .product-compare-remove {
    cursor: pointer;
    width: fit-content;
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    padding: 5px;
    border: none !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.compare-products .product-compare-remove svg path {
    transition: all 0.3s ease;
}
.compare-products .product-compare-remove:hover {
    transition: all 0.3s ease;
}
.compare-products .product-compare-remove:hover svg path {
    transition: all 0.3s ease;
    fill: var(--gpo-style-color);
}
.compare-products .same {
    /*background-color: #F7F7F7 !important;*/
    background-color: color-mix(in srgb, var(--gpo-style-color), white 70%) !important;

}
.compare-products .same-one {
    /*background-color: #EBEBEB !important;*/
    background-color: color-mix(in srgb, var(--gpo-style-color), white 55%) !important;
}

.compare-products .attribute_value-name {
    display: none;
}
@media (max-width: 1000px) {
    .compare-products .attribute_value-name {
        display: block;
        color: #afafaf;
    }
}
.compare-products table {
    margin: -1px;
    border-collapse: collapse;
    width: 100%;
    display: inline;
    border: none;
}
.compare-products table th {
    padding: 6px 41px 18px;
}
@media (max-width: 1000px) {
    .compare-products table th {
        padding: 16px 12px;
    }
}
@media (max-width: 600px) {
    .compare-products table th {
        padding: 13px 12px 16px;
    }
}
.compare-products table th:first-child {
    padding-left: 20px;
}
.compare-products table td {
    vertical-align: middle;
    padding: 11px 20px;
    text-align: center;
    border: none !important;
    border-bottom: 1px solid #e4e4e4 !important;
    border-top: 1px solid #e4e4e4 !important;
}
.compare-products table td p {
    font-size: 14px;
}
.compare-products table th{
    border-top: 1px solid #e4e4e4 !important;
}
.compare-products table th, .compare-products table td {
    position: relative;
    border-bottom: 1px solid #e4e4e4 !important;
    border-left: 1px solid #e4e4e4 !important;
    /* Устанавливает границы для ячеек */
}
.compare-products table tr td:last-child,.compare-products table tr th:last-child{
    border-right: 1px solid #e4e4e4 !important;
}
.compare-products table p {
    margin-bottom: 0;
}
.compare-products table:not(.has-background) tbody tr:nth-child(2n), .compare-products table:not(.has-background) tbody tr:nth-child(1n) {
    background-color: #fff;
}
.compare-products table:not(.has-background) tbody tr:nth-child(2n):hover td {
    background-color: #fff;
}
.compare-products thead {
    z-index: 11;
    background-color: #fff;
    top: 0;
}
.compare-products thead th {
    background-color: #fff;
}
.compare-products thead .compare-products__head .compare-product {
    vertical-align: baseline;
}
.compare-products thead .compare-products__head .compare-product__head {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 1000px) {
    .compare-products thead .compare-products__head .compare-product__head {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media (max-width: 1300px) {
    .compare-products thead .compare-products__head .compare-product__head {
        flex-direction: column !important;
        align-items: center;
    }
}
@media (max-width: 1000px) {
    .compare-products thead .compare-products__head .compare-product__head img {
        max-width: 76px;
    }
}
.compare-products thead .compare-products__head .compare-product__head.sticky-compare {
    flex-direction: row;
    z-index: 3;
}
@media (max-width: 1000px) {
    .compare-products thead .compare-products__head.sticky-compare th {
        padding: 16px 12px;
    }
}
@media (max-width: 600px) {
    .compare-products thead .compare-products__head.sticky-compare th {
        padding: 18px 12px 16px;
    }
}
.compare-products thead .compare-products__head.sticky-compare .compare-product__head {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
@media (max-width: 1300px) {
    .compare-products thead .compare-products__head.sticky-compare .compare-product__head {
        flex-direction: column;
    }
}
.compare-products thead .compare-products__head.sticky-compare .compare-product__head img {
    max-width: 76px;
}
.compare-products thead .compare-products__head.sticky-compare .compare-product__head .compare-product__info {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 0;
    justify-content: space-between;
}
.compare-products thead .compare-products__head.sticky-compare .compare-product__head .compare-product__title {
    text-align: start;
    width: 100%;
}
@media (max-width: 1300px) {
    .compare-products thead .compare-products__head.sticky-compare .compare-product__head .compare-product__title {
        text-align: center;
        margin: 0 0 10px;
    }
}
.compare-products table:not(.has-background) tbody tr:nth-child(2n) td, .compare-products fieldset, .compare-products fieldset legend {
    background-color: #fff;
}
.compare-products .btn-green-back svg {
    display: none;
}
@media (max-width: 1000px) {
    .compare-products .btn-green-back {
        background: #fff;
        margin: 0 auto;
        padding: 0;
    }
    .compare-products .btn-green-back:hover {
        background: #fff;
        box-shadow: none;
    }
    .compare-products .btn-green-back span {
        display: none;
    }
    .compare-products .btn-green-back svg {
        display: block;
    }
}
@media (max-width: 600px) {
    .compare-products .btn-green-back {
        margin: 0;
    }
}
.compare-products .one-click {
    border: 0.07rem solid #090;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 0.7rem;
    color: #090;
    font-weight: 400;
    padding: 0.375rem 0.938rem;
}
.compare-products .one-click:hover {
    background: #090;
    color: #fff;
}
.compare-products .sticky-compare .price {
    width: 100%;
    text-align: start;
    justify-content: flex-start;
}
@media (max-width: 1300px) {
    .compare-products .sticky-compare .price {
        text-align: center;
        justify-content: center;
    }
}
.compare-products.scrolled thead {
    box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.09);
}
.compare-products.scrolled thead th {
    padding: 50px 12px 16px;
}
.compare-products.scrolled thead th:first-child {
    padding-left: 28px;
}
.sticky-column {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    border: 1px solid #e4e4e4;
}
.compare-product__info {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 1000px) {
    .compare-product__info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        flex: 1;
    }
}
@media (max-width: 600px) {
    .compare-product__info {
        width: 100%;
    }
}
.sticky-compare {
    position: fixed;
    overflow: hidden;
    /* Hide overflow */
    z-index: 10;
    background-color: #fff;
    /* Ensure background is set */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Optional: add shadow for better visibility */
}
.sticky-compare .price {
    text-align: left;
    margin-bottom: 0;
}
@media (max-width: 1300px) {
    .sticky-compare .price {
        text-align: center;
        margin: 0;
    }
}
.sticky-compare .compare-product__head img {
    max-width: 76px !important;
}
.sticky-compare .compare-product__head .main_page_slid_bottom_one_click {
    justify-content: flex-start;
}
@media (max-width: 1000px) {
    .sticky-compare #scroll-right {
        right: -35px;
    }
}
/* Добавьте стили для корректного отображения липкой первой колонки */
.compare-products td:first-child {
    font-size: 14px;
}
.compare-products th:first-child, .compare-products td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    border-bottom: 1px solid #e4e4e4 !important;
    text-align: start;
}
@media (max-width: 1000px) {
    .compare-products th:first-child, .compare-products td:first-child {
        left: 0;
    }
}
.compare-products th:first-child {
    border-bottom: 1px solid #e4e4e4 !important;
    border-top: 1px solid #e4e4e4 !important;
}
.compare-page tr:last-child{
    border-bottom: 1px solid #e4e4e4 !important;
}
.compare-products__head th:first-child {
    border-top: none !important;
}
/* Увеличиваем z-index для заголовка при sticky состоянии */
.compare-products th:first-child {
    z-index: 3;
}
.compare-product__head .compare-product__title {
    color: #2B2B2B;
    font-size: 14px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 7px;
}
@media (max-width: 1000px) {
    .compare-product__head .compare-product__title {
        width: 100%;
    }
}
.compare-product__head .compare-product__sku {
    display: none;
}
@media (max-width: 1000px) {
    .compare-product__head .compare-product__sku {
        display: block;
        width: 100%;
        color: #262626;
        font-size: 12px;
        font-weight: 500;
        line-height: 100%;
        letter-spacing: 0;
        text-align: start;
        margin-bottom: 14px;
    }
}
@media (max-width: 600px) {
    .compare-product__head .compare-product__sku {
        text-align: center;
        margin-top: 15px;
        width: 100%;
    }
}
.compare-product__head .compare-product__price {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    margin-bottom: 10px;
}
@media (max-width: 1300px) {
    .compare-product__head .compare-product__price {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        text-align: center;
        flex-wrap: wrap;
        row-gap: 10px;
    }
}
@media (max-width: 1000px) {
    .compare-product__head .compare-product__price {
        margin: 0 auto;
        flex-direction: row;
        flex-wrap: nowrap;
        width: auto;
        border-radius: 50px;
        padding: 0 0 0 10px;
        border:1px solid var(--gpo-style-color) !important;
    }
    .compare-product__head .compare-product__price .price {
        margin-right: 6px;
    }
}
.compare-product__head .price {
    font-weight: 500;
    width: 100%;
    align-items: center;
    justify-content: center;
}
@media (max-width: 1000px) {
    .compare-product__head .price {
        font-size: 13px;
        margin-bottom: 0;
        width: fit-content;
        line-height: 1;
    }
}
.compare-product__head .price bdi {
    font-weight: 600;
    color: #2B2B2B;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -7%;
    text-align: center;
}
@media (max-width: 1000px) {
    .compare-product__head .price bdi {
        font-size: 13px;
        display: flex;
        flex-wrap: wrap;
        text-align: start;
        min-width: max-content;
    }
}
.compare-product__head .price ins {
    background: none !important;
}
.compare-product__head .price ins bdi {
    font-weight: 600;
    color: var(--gpo-style-color);
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -7%;
    text-align: center;
}
@media (max-width: 1000px) {
    .compare-product__head .price ins bdi {
        font-size: 13px;
    }
}
.compare-product__head .price.price_super_sale bdi {
    color: #005db4;
}
.compare-product__head .price.price_super_sale bdi:before {
    top: calc(50% - 9px);
}
.compare-product__head .price:has(span) {
    display: flex;
}
.compare-product__head .price:has(del) del {
    display: none;
}
.shop_attributes {
    width: 100%;
}
.compare-content table:not(.has-background) th {
    background-color: #fff;
}
.compare-content table:not(.has-background) tbody td {
    background-color: #fff;
}
.compare-content table:not(.has-background) tbody tr:nth-child(2n) td, .compare-content fieldset, .compare-content fieldset legend {
    background-color: #fff;
}
.compare-product__head picture img {
    width: auto;
}
.compare-product__head .main_page_slid_bottom_one_click {
    justify-content: center;
}
@media (max-width: 1000px) {
    .compare-product__head .main_page_slid_bottom_one_click {
        width: auto;
    }
}
.compare-product__head .main_page_slid_bottom_one_click a {
    font-size: 14px;
    padding: 3px 19px;
    line-height: normal;
}
/*.compare-product__head .main_page_slid_bottom_one_click a.ajax_add_to_cart {*/
/*    color: #fff;*/
/*    background: var(--gpo-style-color);*/
/*    border: 1px solid var(--gpo-style-color);*/
/*    text-decoration: none;*/
/*    border-radius: 20px;*/
/*}*/
/*.compare-product__head .main_page_slid_bottom_one_click a.ajax_add_to_cart:hover {*/
/*    color: #8e1913 !important;*/
/*    background: #fff;*/
/*}*/
/*.compare-product__head .main_page_slid_bottom_one_click a.ajax_add_to_cart.loading:hover {*/
/*    color: #fff !important;*/
/*}*/
.compare-product__head .main_page_slid_bottom_one_click a.added_to_cart.wc-forward {
    display: none !important;
}
@media (min-width: 1000px) {
    .compare-product__head .main_page_slid_bottom_one_click a svg {
        display: none;
    }
    .compare-product__head .main_page_slid_bottom_one_click a svg.desc-svg {
        display: block;
    }
}
@media (max-width: 1000px) {
    .compare-product__head .main_page_slid_bottom_one_click a {
        padding: 1px 4px;
        width: auto;
        min-width: 26px;
        min-height: 26px;
        width: 30px;
        height: 30px;
    }
    .compare-product__head .main_page_slid_bottom_one_click a svg{
        position: relative;
        right: -2px;
    }
    .compare-product__head .main_page_slid_bottom_one_click a span {
        display: none;
    }
    .compare-product__head .main_page_slid_bottom_one_click a.added_to_cart.wc-forward {
        display: none !important;
    }
}
.special-page-empty {
    margin-bottom: 45px !important;
}
.icon-instock{
    position: relative;
}
.icon-instock:before{
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    margin-top: -5px;
    width: 10px;
    height: 5px;
    border-radius: 1px;
    border-left: 4px solid var(--gpo-style-color);
    border-bottom: 4px solid var(--gpo-style-color);
    transform: rotate(-45deg);
    transition: all 0.3s ease;
}

.scroll-buttons .icon-arrow_next svg{
    position: relative;
    right: -1px;
    top: 1px;
}

.scroll-buttons .icon-arrow_prev svg{
    position: relative;
    right: 1px;
    top: 1px;
}

.scroll-buttons #scroll-left:hover svg path, .scroll-buttons #scroll-right:hover svg path{
    stroke: #fff !important;
}

a.compare-product__thumb{
    margin-bottom: 10px;
}