.compare-page {
    max-width: 1320px;
    padding-top: 24px;
    padding-bottom: 80px;
    color: #173c35
}

.compare-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 34px;
    color: #80908a;
    font-size: 14px
}

    .compare-breadcrumb a {
        color: #60756e;
        text-decoration: none
    }

        .compare-breadcrumb a:hover {
            color: #173c35
        }

.compare-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px
}

    .compare-heading h1 {
        margin: 10px 0 8px;
        color: #173c35;
        font-family: Georgia,"Times New Roman",serif;
        font-size: clamp(36px,4vw,52px);
        font-weight: 500;
        line-height: 1.08;
        letter-spacing: -1.3px
    }

    .compare-heading p {
        margin: 0;
        color: #7a8882;
        font-size: 16px
    }

.compare-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #315f52;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none
}

    .compare-continue:hover {
        color: #173c35
    }

.compare-state {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 42px 24px;
    border: 1px solid #dce6dd;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 16px 40px rgba(23,60,53,.045)
}

    .compare-state h2 {
        margin: 16px 0 8px;
        color: #173c35;
        font-family: Georgia,"Times New Roman",serif;
        font-size: 27px;
        font-weight: 500
    }

    .compare-state p {
        max-width: 530px;
        margin: 0 0 22px;
        color: #788880;
        font-size: 15px;
        line-height: 1.65
    }

.compare-state-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf4ed;
    color: #315f52;
    font-size: 25px
}

.compare-state-error .compare-state-icon {
    background: #fff1ed;
    color: #b95e4d
}

.compare-spinner {
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    border: 3px solid #e1eae2;
    border-top-color: #315f52;
    border-radius: 50%;
    animation: compare-spin .8s linear infinite
}

@keyframes compare-spin {
    to {
        transform: rotate(360deg)
    }
}

.compare-primary-button, .compare-secondary-button, .compare-clear-button, .compare-remove {
    font-family: inherit;
    cursor: pointer
}

.compare-primary-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 1px solid #173c35;
    border-radius: 10px;
    background: #173c35;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s ease,border-color .18s ease,transform .18s ease
}

    .compare-primary-button:hover {
        border-color: #28594f;
        background: #28594f;
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px)
    }

    .compare-primary-button:disabled, .compare-secondary-button:disabled, .compare-remove:disabled {
        opacity: .55;
        cursor: wait;
        transform: none
    }

.compare-product-actions > .compare-cart-qty-stepper {
    flex: 1;
    min-width: 0
}

    .compare-product-actions > .compare-cart-qty-stepper .cart-qty-value {
        min-width: 30px
    }

.compare-notice {
    margin-bottom: 18px;
    padding: 12px 16px;
    border: 1px solid #dce6dd;
    border-radius: 10px;
    background: #f4f8f3;
    color: #315f52;
    font-size: 14px
}

.compare-content {
    overflow: hidden;
    border: 1px solid #dce6dd;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(23,60,53,.045)
}

.compare-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid #e8eee8;
    background: #fbfcfa
}

    .compare-toolbar > div {
        display: flex;
        flex-direction: column;
        gap: 4px
    }

    .compare-toolbar strong {
        font-size: 16px
    }

    .compare-toolbar span {
        color: #80908a;
        font-size: 13px
    }

.compare-clear-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid #e3e9e3;
    border-radius: 9px;
    background: #fff;
    color: #7d625d;
    font-size: 13px;
    font-weight: 700
}

    .compare-clear-button:hover {
        border-color: #e7c9c3;
        background: #fff8f6;
        color: #a54f42
    }

.compare-table-scroll {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain
}

.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed
}

    .compare-table th, .compare-table td {
        width: 260px;
        padding: 18px 20px;
        border-right: 1px solid #edf1ed;
        border-bottom: 1px solid #edf1ed;
        vertical-align: middle;
        text-align: left
    }

        .compare-table th:first-child, .compare-table td:first-child {
            width: 245px
        }

    .compare-table thead th {
        vertical-align: top;
        background: #fff
    }

        .compare-table thead th:first-child {
            position: sticky;
            left: 0;
            z-index: 3;
            background: #fbfcfa
        }

    .compare-table tbody th {
        position: sticky;
        left: 0;
        z-index: 2;
        background: #fbfcfa;
        color: #53665f;
        font-size: 14px;
        font-weight: 700
    }

    .compare-table tbody td {
        color: #273f38;
        font-size: 14px;
        line-height: 1.55
    }

    .compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td {
        border-bottom: 0
    }

    .compare-table th:last-child, .compare-table td:last-child {
        border-right: 0
    }

.compare-label-cell {
    height: 50px
}

    .compare-label-cell .section-kicker {
        display: block;
        margin-bottom: 7px
    }

    .compare-label-cell strong {
        display: block;
        color: #173c35;
        font-size: 17px
    }

.compare-product-cell {
    height: 100%;
    min-height: 330px
}

.compare-product-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 290px;
    flex-direction: column;
    align-items: flex-start
}

.compare-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #e2eae2;
    border-radius: 50%;
    background: #fff;
    color: #83928b;
    font-size: 17px;
    box-shadow: 0 5px 14px rgba(23,60,53,.08)
}

    .compare-remove:hover {
        border-color: #e7c9c3;
        background: #fff8f6;
        color: #b25448
    }

.compare-product-image {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 14px;
    border-radius: 12px;
    background: #f5f7f4
}

    .compare-product-image img {
        max-width: 90%;
        max-height: 140px;
        object-fit: contain;
        mix-blend-mode: multiply
    }

.compare-product-card h2 {
    width: 100%;
    min-height: 44px;
    margin: 0 0 10px;
    padding-right: 10px;
    color: #173c35;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45
}

    .compare-product-card h2 a {
        color: inherit;
        text-decoration: none
    }

        .compare-product-card h2 a:hover {
            color: #54795f
        }

.compare-product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    color: #173c35;
    font-size: 17px;
    font-weight: 800
}

    .compare-product-price del {
        color: #9aa59f;
        font-size: 13px;
        font-weight: 400
    }

.compare-product-actions {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto
}

    .compare-product-actions .compare-primary-button {
        flex: 1;
        min-width: 0;
        padding: 0 10px;
        font-size: 13px
    }

.compare-secondary-button {
    width: 46px;
    height: 46px;
    flex: none;
    border: 1px solid #dce6dd;
    border-radius: 10px;
    background: #fff;
    color: #315f52;
    font-size: 20px
}

    .compare-secondary-button:hover, .compare-secondary-button.is-active {
        border-color: #c5d9c7;
        background: #eef5ed;
        color: #315f52
    }

        .compare-secondary-button.is-active i {
            color: #a54f5e
        }

.compare-price-value {
    font-size: 15px
}

.compare-availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700
}

    .compare-availability.is-available {
        color: #477b54
    }

    .compare-availability.is-unavailable {
        color: #ab695e
    }

.compare-rating {
    color: #6c672e
}

    .compare-rating i {
        color: #c59a3b
    }

    .compare-rating small {
        display: block;
        margin-top: 3px;
        color: #8a9690;
        font-size: 12px
    }

.compare-muted {
    color: #8a9690
}

.compare-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4
}

.compare-section-row th {
    position: static !important;
    padding: 12px 20px;
    background: #eff5ef !important;
    color: #315f52 !important;
    font-size: 12px !important;
    letter-spacing: .1em;
    text-transform: uppercase
}

.compare-mobile-hint {
    display: none;
    margin: 12px 2px 0;
    color: #829089;
    font-size: 12px;
    text-align: center
}

.compare-empty .compare-state {
    display: flex
}

@media(max-width:767px) {
    .compare-page {
        padding-top: 18px;
        padding-bottom: 54px
    }

    .compare-breadcrumb {
        margin-bottom: 24px;
        font-size: 13px
    }

    .compare-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 24px
    }

        .compare-heading h1 {
            font-size: 38px
        }

        .compare-heading p {
            font-size: 15px
        }

    .compare-continue {
        margin: 0
    }

    .compare-toolbar {
        align-items: flex-start;
        padding: 16px;
        flex-direction: column
    }

    .compare-clear-button {
        width: 100%;
        justify-content: center
    }

    .compare-table th, .compare-table td {
        padding: 14px 12px
    }

        .compare-table th:first-child, .compare-table td:first-child {
            width: 150px
        }

    .compare-table th, .compare-table td {
        width: 220px
    }

    .compare-label-cell strong {
        font-size: 15px
    }

    .compare-table tbody th {
        font-size: 13px
    }

    .compare-table tbody td {
        font-size: 13px
    }

    .compare-product-image {
        height: 135px
    }

        .compare-product-image img {
            max-height: 118px
        }

    .compare-product-card {
        min-height: 280px
    }

    .compare-product-cell {
        min-height: 315px
    }

    .compare-mobile-hint {
        display: block
    }

    .compare-state {
        min-height: 260px;
        padding: 30px 20px
    }

        .compare-state h2 {
            font-size: 24px
        }
}

@media(prefers-reduced-motion:reduce) {
    .compare-spinner {
        animation: none
    }

    .compare-primary-button {
        transition: none
    }
}
