:root {
    --forte-orange: #f58220;
    --forte-orange-dark: #d9650c;
    --forte-orange-soft: #fff2e6;
    --forte-ink: #20242a;
    --forte-muted: #707780;
    --forte-line: #e4e7eb;
    --forte-surface: #ffffff;
    --forte-canvas: #f5f6f8;
    --forte-success: #248f53;
    --forte-danger: #c83c3c;
    --forte-radius: 12px;
    --forte-shadow: 0 10px 30px rgba(25, 31, 40, .08);
}

.forte-compare {
    --compare-label-width: 230px;
    color: var(--forte-ink);
    background: var(--forte-canvas);
    font-family: "PT Sans", Roboto, Arial, sans-serif;
    padding: 0 0 56px;
}

.compare-vue-root,
.compare-vue-fragment {
    display: contents;
}

.compare-async-status {
    position: fixed;
    z-index: 2100;
    top: 18px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(245, 130, 32, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 35px rgba(25, 31, 40, .16);
    color: var(--forte-ink);
    font: 700 13px/1 "PT Sans", Roboto, Arial, sans-serif;
    transform: translateX(-50%);
}

.compare-async-spinner {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(245, 130, 32, .22);
    border-top-color: var(--forte-orange);
    border-radius: 50%;
    animation: compare-spin .7s linear infinite;
}

.forte-compare button.is-pending {
    cursor: wait;
    opacity: .55;
    pointer-events: none;
}

.compare-async-enter-active,
.compare-async-leave-active {
    transition: opacity .16s ease, transform .16s ease;
}

.compare-async-enter-from,
.compare-async-leave-to {
    opacity: 0;
    transform: translate(-50%, -8px);
}

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

@media (prefers-reduced-motion: reduce) {
    .compare-async-spinner {
        animation-duration: 1.4s;
    }

    .compare-async-enter-active,
    .compare-async-leave-active {
        transition: none;
    }
}

.forte-compare *,
.forte-compare *::before,
.forte-compare *::after {
    box-sizing: border-box;
}

.compare-container {
    width: 100%;
    margin: 0 auto;
    padding-right: 48px;
    padding-left: 48px;
}

.compare-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--forte-muted);
    font-size: 14px;
}

.compare-breadcrumb a {
    color: var(--forte-muted);
}

.compare-breadcrumb a:hover {
    color: var(--forte-orange-dark);
}

.compare-breadcrumb i {
    font-size: 9px;
    opacity: .65;
}

.compare-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0 20px;
}

.compare-page-header h1,
.compare-section-heading h2,
.compare-empty h2 {
    margin: 0;
    color: var(--forte-ink);
    font-weight: 700;
    letter-spacing: -.025em;
}

.compare-page-header h1 {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.08;
}

.compare-eyebrow {
    margin: 0 0 7px;
    color: var(--forte-orange-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.compare-lead {
    margin: 7px 0 0;
    color: var(--forte-muted);
    font-size: 16px;
}

.compare-header-actions,
.compare-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.compare-action-btn,
.compare-add-btn,
.compare-primary-btn,
.compare-outline-btn,
.compare-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid var(--forte-line);
    border-radius: 9px;
    background: var(--forte-surface);
    color: var(--forte-ink);
    font: inherit;
    font-weight: 700;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.compare-action-btn {
    flex: 0 0 auto;
    height: 42px;
    padding: 0 15px;
    white-space: nowrap;
}

.compare-action-btn:hover,
.compare-add-btn:hover,
.compare-outline-btn:hover {
    border-color: var(--forte-orange);
    color: var(--forte-orange-dark);
}

.compare-action-btn.is-danger {
    color: var(--forte-danger);
}

.compare-category-nav {
    position: sticky;
    z-index: 60;
    top: 0;
    margin: 0 0 14px;
    padding: 8px 0;
    background: #f5f6f8;
}

.compare-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
}

.compare-tabs::-webkit-scrollbar {
    display: none;
}

.compare-tab {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 9px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #e9ebee;
    color: #4d535b;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.compare-tab strong {
    display: grid;
    place-items: center;
    min-width: 23px;
    height: 23px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(32, 36, 42, .08);
    font-size: 12px;
}

.compare-tab.is-active {
    border-color: rgba(245, 130, 32, .16);
    background: var(--forte-surface);
    box-shadow: 0 5px 18px rgba(25, 31, 40, .09);
    color: var(--forte-ink);
}

.compare-tab.is-active strong {
    background: var(--forte-orange-soft);
    color: var(--forte-orange-dark);
}

.compare-panel:not(.is-active) {
    display: none;
}

.compare-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.compare-statline {
    color: var(--forte-muted);
    font-size: 14px;
}

.compare-statline strong {
    color: var(--forte-ink);
}

.compare-statline span {
    margin: 0 6px;
    color: #b2b7bd;
}

.compare-add-btn {
    min-height: 40px;
    padding: 0 14px;
    color: var(--forte-orange-dark);
}

.compare-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--forte-ink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.compare-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.compare-switch-track {
    position: relative;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #cdd1d6;
    transition: background .2s ease;
}

.compare-switch-track::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    content: "";
    transition: transform .2s ease;
}

.compare-switch input:checked + .compare-switch-track {
    background: var(--forte-orange);
}

.compare-switch input:checked + .compare-switch-track::after {
    transform: translateX(18px);
}

.compare-switch input:focus-visible + .compare-switch-track {
    outline: 3px solid rgba(245, 130, 32, .25);
    outline-offset: 2px;
}

.compare-switch-mobile {
    display: none;
}

.compare-insights {
    margin: 22px 0 0;
    padding: 22px;
    border: 1px solid #f0dfcf;
    border-radius: var(--forte-radius);
    background: linear-gradient(135deg, #fff 0%, #fff8f1 100%);
}

.compare-diff-empty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #cfe8d9;
    border-radius: 10px;
    background: #f1fbf5;
    color: var(--forte-success);
}

.compare-diff-empty[hidden] {
    display: none;
}

.compare-diff-empty > i {
    font-size: 22px;
}

.compare-diff-empty strong,
.compare-diff-empty span {
    display: block;
}

.compare-diff-empty span {
    margin-top: 2px;
    color: #627168;
    font-size: 13px;
}

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

.compare-section-heading h2 {
    font-size: 24px;
}

.compare-section-heading > span {
    color: var(--forte-muted);
    font-size: 13px;
}

.compare-insight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.compare-insight-card {
    contain: layout paint style;
    min-width: 0;
    padding: 15px;
    border: 1px solid #eee4dc;
    border-radius: 10px;
    background: rgba(255, 255, 255, .88);
}

.compare-insight-card h3 {
    min-height: 40px;
    margin: 0 0 12px;
    color: var(--forte-ink);
    font-size: 15px;
    line-height: 1.3;
}

.compare-insight-value {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 0;
    border-top: 1px solid #f0f1f3;
    font-size: 13px;
}

.compare-insight-value span {
    min-width: 0;
    overflow: hidden;
    color: var(--forte-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compare-insight-value strong {
    color: var(--forte-ink);
    text-align: right;
}

.compare-product-stage,
.compare-spec-stage {
    overflow: hidden;
    border: 1px solid var(--forte-line);
    border-radius: var(--forte-radius);
    background: var(--forte-surface);
    box-shadow: var(--forte-shadow);
}

.compare-product-grid,
.compare-product-dock-grid {
    display: grid;
    grid-template-columns: var(--compare-label-width) repeat(4, minmax(0, 1fr));
}

.compare-product-grid::before,
.compare-product-dock-grid::before {
    content: "";
    min-width: 0;
    border-right: 1px solid var(--forte-line);
    background: #fafbfc;
}

.compare-product-grid > * {
    min-width: 0;
    border-right: 1px solid var(--forte-line);
}

.compare-product-grid > *:last-child {
    border-right: 0;
}

.compare-spec-stage {
    margin-top: 22px;
    content-visibility: auto;
    contain-intrinsic-block-size: 900px;
}

.compare-spec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 86px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--forte-line);
}

.compare-spec-header h2 {
    margin: 0;
    color: var(--forte-ink);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.compare-spec-header > div > span {
    display: block;
    margin-top: 4px;
    color: var(--forte-muted);
    font-size: 13px;
}

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

.compare-table .compare-label-column {
    width: var(--compare-label-width);
}

.compare-table th,
.compare-table td {
    border: 0;
    border-right: 1px solid var(--forte-line);
    border-bottom: 1px solid var(--forte-line);
    vertical-align: top;
}

.compare-table tr > *:last-child {
    border-right: 0;
}

.compare-table tbody tr:last-child > * {
    border-bottom: 0;
}

.compare-product-cell {
    min-width: 0;
    background: #fff;
}

.compare-product-card {
    position: relative;
    contain: layout paint style;
    display: flex;
    flex-direction: column;
    height: 424px;
    min-width: 0;
    padding: 14px 14px 0;
    text-align: left;
}

.compare-product-status {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
}

.compare-product-status.is-stock {
    background: #effaf2;
    color: var(--forte-success);
}

.compare-product-status.is-out {
    background: var(--forte-orange-soft);
    color: var(--forte-orange-dark);
}

.compare-remove {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--forte-line);
    border-radius: 7px;
    background: #fff;
    color: #858b92;
    cursor: pointer;
}

.compare-remove:hover {
    background: #fff1f1;
    color: var(--forte-danger);
}

.compare-product-image {
    display: flex;
    flex: 0 0 156px;
    align-items: center;
    justify-content: center;
    height: 156px;
    min-height: 156px;
    margin: 18px 0 6px;
}

.compare-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.compare-product-meta {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 17px;
    margin-bottom: 5px;
    color: var(--forte-muted);
    font-size: 11px;
}

.compare-product-meta .is-stock {
    color: var(--forte-success);
}

.compare-product-meta .is-out {
    color: var(--forte-orange-dark);
}

.compare-product-title {
    display: -webkit-box;
    flex: 0 0 59px;
    height: 59px;
    min-height: 59px;
    overflow: hidden;
    color: var(--forte-ink);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.compare-product-title:hover {
    color: var(--forte-orange-dark);
}

.compare-product-rating {
    display: flex;
    flex: 0 0 25px;
    align-items: center;
    gap: 8px;
    min-height: 25px;
    margin: 2px 0 8px;
    color: var(--forte-muted);
    font-size: 11px;
}

.compare-product-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--forte-orange);
    font-size: 12px;
}

.compare-product-buy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 48px 40px;
    align-items: stretch;
    gap: 5px;
    margin-top: 12px;
    margin-right: -2px;
    margin-bottom: 4px;
    margin-left: -2px;
}

.compare-product-price {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    flex-direction: column;
    min-width: 0;
    min-height: 48px;
    padding: 5px 11px;
    border-radius: 9px;
    background: #f3f4f5;
}

.compare-product-price strong,
.compare-suggestion-price {
    color: var(--forte-ink);
    font-size: 20px;
    line-height: 1.05;
}

.compare-product-price strong {
    display: block;
    overflow: hidden;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compare-product-price small,
.compare-product-price del {
    margin-top: 3px;
    overflow: hidden;
    color: var(--forte-muted);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compare-icon-btn,
.compare-cart-btn {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 40px;
    padding: 0;
    border: 1px solid var(--forte-line);
    border-radius: 9px;
    background: #fff;
    color: #8a9097;
    font: inherit;
    cursor: pointer;
}

.compare-cart-btn {
    color: var(--forte-orange-dark);
}

.compare-icon-btn:hover,
.compare-cart-btn:hover {
    border-color: var(--forte-orange);
    background: var(--forte-orange-soft);
    color: var(--forte-orange-dark);
}

.compare-icon-btn .is-active {
    color: var(--forte-orange-dark);
}

.compare-cart-btn:disabled,
.compare-icon-btn:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.compare-product-cell.is-suggestion {
    background: #fafafa;
}

.compare-suggestion-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--forte-orange-soft);
    color: var(--forte-orange-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.compare-suggestion-card .compare-product-title {
    min-height: 54px;
    -webkit-line-clamp: 2;
}

.compare-suggestion-price {
    display: block;
    margin: auto 0 12px;
}

.compare-outline-btn {
    width: 100%;
    min-height: 38px;
    padding: 0 8px;
    background: transparent;
    color: var(--forte-orange-dark);
    font-size: 12px;
}

.compare-empty-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 424px;
    padding: 20px;
    border: 0;
    background: transparent;
    color: var(--forte-muted);
    cursor: pointer;
}

.compare-empty-slot > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 13px;
    border: 1px dashed var(--forte-orange);
    border-radius: 50%;
    background: var(--forte-orange-soft);
    color: var(--forte-orange-dark);
}

.compare-empty-slot strong {
    margin-bottom: 4px;
    color: var(--forte-ink);
}

.compare-empty-slot small {
    max-width: 145px;
}

.compare-product-dock {
    position: sticky;
    z-index: 55;
    top: 62px;
    height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .18s ease, transform .18s ease;
}

.compare-product-dock.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.compare-product-dock-inner {
    overflow: hidden;
    border: 1px solid var(--forte-line);
    border-radius: 0 0 12px 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(25, 31, 40, .15);
}

.compare-product-dock-grid > * {
    min-width: 0;
    border-right: 1px solid var(--forte-line);
}

.compare-product-dock-grid > *:last-child {
    border-right: 0;
}

.compare-dock-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: minmax(48px, auto) 30px;
    column-gap: 9px;
    min-width: 0;
    min-height: 98px;
    padding: 8px 9px;
}

.compare-dock-card > img {
    grid-row: 1 / 3;
    width: 58px;
    height: 78px;
    object-fit: contain;
}

.compare-dock-info {
    min-width: 0;
}

.compare-dock-info a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--forte-ink);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.compare-dock-info strong {
    display: block;
    margin-top: 3px;
    color: var(--forte-ink);
    font-size: 14px;
}

.compare-dock-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 5px;
}

.compare-dock-actions button {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--forte-line);
    border-radius: 7px;
    background: #fff;
    color: #858b92;
    font-size: 11px;
}

.compare-dock-actions button:hover {
    border-color: var(--forte-orange);
    color: var(--forte-orange-dark);
}

.compare-dock-actions button:disabled {
    opacity: .4;
}

.compare-dock-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    min-height: 98px;
    border: 0;
    background: #fafafa;
    color: var(--forte-muted);
    font: inherit;
    font-size: 11px;
}

.compare-dock-empty i {
    color: var(--forte-orange-dark);
}

.compare-section-row th {
    padding: 0;
    background: #f0f1f3;
}

.compare-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: var(--forte-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.compare-section-toggle i {
    color: #8a9097;
    font-size: 11px;
    transition: transform .2s ease;
}

.compare-section-toggle[aria-expanded="false"] i {
    transform: rotate(180deg);
}

.compare-attribute-row th,
.compare-attribute-row td {
    min-height: 54px;
    padding: 16px 17px;
    background: #fff;
    color: var(--forte-ink);
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

.compare-attribute-row th {
    position: relative;
    background: #fafafa;
    font-weight: 400;
}

.compare-attribute-row:hover th,
.compare-attribute-row:hover td {
    background: #fffaf5;
}

.compare-attribute-row td.has-difference {
    color: #15181c;
    font-weight: 700;
}

.compare-attribute-row td.is-best-value {
    background: #f1fbf5;
    color: #176c3b;
}

.compare-best-label {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #d9f3e4;
    color: #176c3b;
    font-size: 10px;
    font-weight: 700;
}

.compare-diff-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 7px 1px 0;
    border-radius: 50%;
    background: var(--forte-orange);
}

.compare-missing,
.compare-empty-value {
    color: #b3b8be !important;
    font-weight: 400 !important;
}

.forte-compare.is-diff-only .compare-attribute-row[data-diff="0"],
.forte-compare.is-diff-only .compare-mobile-attribute[data-diff="0"] {
    display: none;
}

.compare-no-data {
    padding: 42px !important;
    color: var(--forte-muted);
    text-align: center;
}

.compare-panel-footer {
    display: flex;
    justify-content: flex-end;
    padding: 18px 0 0;
}

.compare-clear-category {
    border: 0;
    background: transparent;
    color: var(--forte-danger);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.compare-clear-category:hover {
    text-decoration: underline;
}

.compare-mobile {
    display: none;
}

.compare-empty {
    display: flex;
    align-items: center;
    flex-direction: column;
    max-width: 760px;
    margin: 30px auto 0;
    padding: 64px 28px;
    border: 1px solid var(--forte-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--forte-shadow);
    text-align: center;
}

.compare-empty-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--forte-orange-soft);
    color: var(--forte-orange-dark);
    font-size: 27px;
}

.compare-empty h2 {
    font-size: 28px;
}

.compare-empty > p:not(.compare-eyebrow) {
    max-width: 520px;
    margin: 13px auto 22px;
    color: var(--forte-muted);
}

.compare-primary-btn {
    min-height: 44px;
    padding: 0 20px;
    border-color: var(--forte-orange);
    background: var(--forte-orange);
    color: #fff;
}

.compare-primary-btn:hover {
    background: var(--forte-orange-dark);
    color: #fff;
}

.compare-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(20, 24, 30, .22);
}

.compare-modal .modal-header {
    align-items: flex-start;
    padding: 22px 24px;
    border-bottom-color: var(--forte-line);
}

.compare-modal .modal-title {
    color: var(--forte-ink);
    font-size: 24px;
    font-weight: 700;
}

.compare-modal .modal-body {
    padding: 22px 24px 26px;
}

.compare-search-label {
    display: block;
    margin-bottom: 8px;
    color: var(--forte-muted);
    font-size: 13px;
}

.compare-search-wrap {
    position: relative;
}

.compare-search-wrap > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 15px;
    color: #9298a0;
    transform: translateY(-50%);
}

.compare-search-wrap .form-control {
    height: 48px;
    padding-left: 42px;
    border: 1px solid var(--forte-line);
    border-radius: 9px;
}

.compare-search-wrap .form-control:focus {
    border-color: var(--forte-orange);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, .14);
}

.compare-search-results {
    display: grid;
    gap: 8px;
    max-height: 390px;
    overflow-y: auto;
    margin-top: 13px;
}

.compare-search-item {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--forte-line);
    border-radius: 9px;
    background: #fff;
    color: var(--forte-ink);
    font: inherit;
    text-align: left;
}

.compare-search-item:hover {
    border-color: var(--forte-orange);
    background: #fffaf5;
}

.compare-search-item img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.compare-search-item strong {
    font-size: 14px;
}

.compare-search-item span {
    color: var(--forte-orange-dark);
    font-size: 13px;
    font-weight: 700;
}

.compare-search-hint {
    padding: 24px;
    color: var(--forte-muted);
    text-align: center;
}

@media (max-width: 1199.98px) {
    .compare-container {
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media (max-width: 1100px) {

    .forte-compare {
        --compare-label-width: 190px;
    }

    .compare-insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compare-product-card {
        padding: 12px;
    }

    .compare-product-title {
        flex-basis: 52px;
        height: 52px;
        min-height: 52px;
        font-size: 13px;
    }

    .compare-product-price {
        padding-right: 8px;
        padding-left: 8px;
    }

    .compare-product-price strong {
        font-size: 14px;
    }

    .compare-dock-card {
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-rows: 52px 28px;
        column-gap: 6px;
        padding: 7px;
    }

    .compare-dock-card > img {
        grid-row: 1;
        width: 42px;
        height: 52px;
    }

    .compare-dock-info a {
        font-size: 10px;
    }

    .compare-dock-info strong {
        overflow: hidden;
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .compare-dock-actions {
        grid-row: 2;
        grid-column: 1 / -1;
    }

}

@media (max-width: 767.98px) {
    .forte-compare {
        padding-bottom: 32px;
    }

    .compare-container {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }

    .compare-breadcrumb {
        min-height: 42px;
        font-size: 12px;
    }

    .compare-page-header {
        display: block;
        padding: 10px 0 18px;
    }

    .compare-page-header h1 {
        font-size: 29px;
    }

    .compare-lead {
        font-size: 14px;
    }

    .compare-header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 16px;
    }

    .compare-action-btn {
        min-height: 40px;
        padding: 0 10px;
        font-size: 13px;
    }

    .compare-category-nav {
        margin-right: -15px;
        margin-bottom: 12px;
        margin-left: -15px;
        padding: 8px 15px;
    }

    .compare-tab {
        min-height: 38px;
        padding: 0 11px;
        font-size: 13px;
    }

    .compare-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
        margin-bottom: 14px;
    }

    .compare-toolbar-actions {
        justify-content: space-between;
        width: 100%;
    }

    .compare-switch-mobile {
        display: inline-flex;
    }

    .compare-add-btn {
        min-height: 38px;
        padding: 0 10px;
        font-size: 13px;
    }

    .compare-switch {
        font-size: 13px;
    }

    .compare-insights {
        margin-right: -15px;
        margin-left: -15px;
        padding: 17px 15px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .compare-section-heading {
        display: block;
    }

    .compare-section-heading h2 {
        font-size: 20px;
    }

    .compare-section-heading > span {
        display: none;
    }

    .compare-insight-grid {
        display: flex;
        gap: 9px;
        overflow-x: auto;
        padding-bottom: 3px;
        scroll-snap-type: x mandatory;
    }

    .compare-insight-card {
        flex: 0 0 79%;
        scroll-snap-align: start;
    }

    .compare-desktop,
    .compare-product-dock,
    .compare-panel-footer {
        display: none;
    }

    .compare-panel.is-active {
        display: flex;
        flex-direction: column;
    }

    .compare-toolbar {
        order: 1;
    }

    .compare-mobile {
        display: contents;
    }

    .compare-mobile-products {
        order: 2;
    }

    .compare-insights {
        order: 3;
    }

    .compare-mobile-table,
    .compare-mobile > .compare-no-data {
        order: 4;
    }

    .compare-mobile > .compare-clear-category {
        order: 5;
    }

    .compare-mobile-products {
        position: sticky;
        z-index: 50;
        top: 56px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 132px;
        margin: 0 -15px;
        border-top: 1px solid var(--forte-line);
        border-bottom: 1px solid var(--forte-line);
        background: #fff;
        box-shadow: 0 8px 20px rgba(25, 31, 40, .08);
    }

    .compare-mobile-slot:first-child {
        border-right: 1px solid var(--forte-line);
    }

    .compare-mobile-card {
        min-width: 0;
        padding: 8px 9px 10px;
    }

    .compare-mobile-nav {
        display: grid;
        grid-template-columns: 27px 1fr 27px;
        align-items: center;
        margin-bottom: 5px;
    }

    .compare-mobile-nav button {
        display: grid;
        place-items: center;
        width: 27px;
        height: 27px;
        border: 0;
        border-radius: 50%;
        background: #f0f1f3;
        color: #555b63;
        font-size: 9px;
    }

    .compare-mobile-counter {
        color: var(--forte-muted);
        font-size: 11px;
        text-align: center;
    }

    .compare-mobile-card-body {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 8px;
        min-width: 0;
    }

    .compare-mobile-card-body img {
        width: 48px;
        height: 67px;
        object-fit: contain;
    }

    .compare-mobile-card-body > div {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        min-width: 0;
    }

    .compare-mobile-card-body a {
        display: -webkit-box;
        overflow: hidden;
        color: var(--forte-ink);
        font-size: 11px;
        font-weight: 700;
        line-height: 1.25;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .compare-mobile-card-body strong {
        margin-top: auto;
        color: var(--forte-ink);
        font-size: 14px;
    }

    .compare-mobile-add {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        min-height: 131px;
        padding: 10px;
        border: 0;
        background: #fafafa;
        color: var(--forte-muted);
        font: inherit;
        font-size: 12px;
        text-align: center;
    }

    .compare-mobile-add i {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--forte-orange-soft);
        color: var(--forte-orange-dark);
    }

    .compare-mobile-table {
        margin: 14px -15px 0;
        border-top: 1px solid var(--forte-line);
        background: #fff;
    }

    .compare-mobile-section {
        content-visibility: auto;
        contain-intrinsic-block-size: 240px;
    }

    .compare-mobile-section-title {
        min-height: 50px;
        padding: 0 13px;
        background: #eff1f3;
        font-size: 15px;
    }

    .compare-mobile-attribute {
        border-bottom: 1px solid var(--forte-line);
    }

    .compare-mobile-attribute-name {
        padding: 11px 15px 6px;
        color: var(--forte-muted);
        font-size: 12px;
    }

    .compare-mobile-values {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .compare-mobile-values > div {
        min-width: 0;
        min-height: 46px;
        padding: 8px 15px 12px;
        color: var(--forte-ink);
        font-size: 13px;
        font-weight: 700;
        overflow-wrap: anywhere;
    }

    .compare-mobile-values > div.is-best-value {
        background: #f1fbf5;
        color: #176c3b;
    }

    .compare-mobile-values > div:first-child {
        border-right: 1px solid var(--forte-line);
    }

    .compare-clear-category {
        display: block;
        margin: 20px auto 0;
    }

    .compare-empty {
        margin-top: 8px;
        padding: 44px 18px;
    }

    .compare-empty h2 {
        font-size: 23px;
    }

    .compare-modal .modal-dialog {
        margin: 12px;
    }

    .compare-modal .modal-header,
    .compare-modal .modal-body {
        padding: 18px;
    }

    .compare-search-item {
        grid-template-columns: 48px 1fr;
    }

    .compare-search-item img {
        width: 48px;
        height: 48px;
    }

    .compare-search-item > span {
        grid-column: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .forte-compare *,
    .forte-compare *::before,
    .forte-compare *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
