/*
 * PixelCam compare presentation layer.
 *
 * The vendor-compatible table remains available for compatibility. This
 * layer reshapes the active markup into a commerce-first comparison surface inspired by
 * the compact product cards and alternating specification rows used by large
 * Vietnamese electronics retailers.
 */
.br_new_compare_block_wrap {
    --pixelcam-compare-ink: #242124;
    --pixelcam-compare-muted: #6f6a68;
    --pixelcam-compare-accent: #b6532a;
    --pixelcam-compare-accent-dark: #8f3e20;
    --pixelcam-compare-border: #eaded9;
    --pixelcam-compare-soft: #f7f2f0;
    --pixelcam-compare-label: #f1eeec;
    --pixelcam-compare-column: 280px;
    color: var(--pixelcam-compare-ink);
    font-family: inherit;
    margin: 0 auto 32px;
    max-width: 1180px;
}

/* -------------------------------------------------------------------------
 * PixelCam Compare UI contract
 * The vendor stylesheet remains loaded for compatibility. This final layer
 * owns the product-comparison surface, its states, and its responsive rules.
 * ------------------------------------------------------------------------- */
.br_new_compare_block_wrap {
    --pc-compare-ink: #262321;
    --pc-compare-muted: #716b67;
    --pc-compare-subtle: #f8f5f3;
    --pc-compare-surface: #ffffff;
    --pc-compare-border: #e6ddd8;
    --pc-compare-border-strong: #d8c5bb;
    --pc-compare-accent: #b6532a;
    --pc-compare-accent-dark: #8f3e20;
    --pc-compare-success: #2e8657;
    --pc-compare-danger: #a9473d;
    --pc-compare-radius-sm: 10px;
    --pc-compare-radius-md: 14px;
    --pc-compare-radius-lg: 18px;
    --pc-compare-motion-fast: 120ms;
    --pc-compare-motion-base: 200ms;
    color: var(--pc-compare-ink);
    font-family: inherit;
    margin: 0 auto 32px;
    max-width: 1180px;
}

.br_new_compare_block_wrap,
.br_new_compare_block_wrap * {
    box-sizing: border-box;
}

.br_new_compare_block_wrap button,
.br_new_compare_block_wrap input {
    font: inherit;
}

.br_new_compare_block_wrap button {
    cursor: pointer;
}

.pixelcam-compare-header {
    align-items: flex-end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 0 0 18px;
    padding: 0 4px;
}

.pixelcam-compare-eyebrow {
    color: var(--pc-compare-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.pixelcam-compare-header h2 {
    color: var(--pc-compare-ink);
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -.025em;
    line-height: 1.1;
    margin: 0 0 8px;
}

.pixelcam-compare-header p:not(.pixelcam-compare-eyebrow) {
    color: var(--pc-compare-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    max-width: 520px;
}

.pixelcam-compare-header-count {
    color: var(--pc-compare-muted);
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    padding-bottom: 4px;
}

body .br_new_compare_block .pixelcam-compare-toolbar {
    align-items: center;
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px !important;
    padding: 0 4px !important;
}

body .br_new_compare_block .pixelcam-compare-toolbar-primary,
body .br_new_compare_block .pixelcam-compare-toolbar-link {
    align-items: center;
    border-radius: var(--pc-compare-radius-sm);
    display: inline-flex !important;
    font-size: 13px !important;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    line-height: 1.2;
    min-height: 44px;
    padding: 10px 15px !important;
    text-decoration: none;
    transition: background-color var(--pc-compare-motion-fast) ease, border-color var(--pc-compare-motion-fast) ease, color var(--pc-compare-motion-fast) ease, transform var(--pc-compare-motion-fast) ease;
}

body .br_new_compare_block .pixelcam-compare-toolbar-primary {
    background: var(--pc-compare-accent) !important;
    border: 1px solid var(--pc-compare-accent) !important;
    color: #fff !important;
}

body .br_new_compare_block .pixelcam-compare-toolbar-primary svg {
    fill: none;
    height: 17px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
    width: 17px;
}

body .br_new_compare_block .pixelcam-compare-toolbar-link {
    background: var(--pc-compare-surface) !important;
    border: 1px solid var(--pc-compare-border) !important;
    color: var(--pc-compare-ink) !important;
}

body .br_new_compare_block .pixelcam-compare-toolbar-link.br_remove_all_compare {
    color: var(--pc-compare-danger) !important;
}

body .br_new_compare_block .pixelcam-compare-toolbar-primary:hover,
body .br_new_compare_block .pixelcam-compare-toolbar-primary:focus-visible {
    background: var(--pc-compare-accent-dark) !important;
    border-color: var(--pc-compare-accent-dark) !important;
    transform: translateY(-1px);
}

body .br_new_compare_block .pixelcam-compare-toolbar-link:hover,
body .br_new_compare_block .pixelcam-compare-toolbar-link:focus-visible {
    background: #fff8f4 !important;
    border-color: var(--pc-compare-border-strong) !important;
    transform: translateY(-1px);
}

.pixelcam-compare-toolbar-primary:focus-visible,
.pixelcam-compare-toolbar-link:focus-visible,
.pixelcam-compare-picker-close:focus-visible,
.pixelcam-compare-picker-item:focus-visible,
.pixelcam-compare-empty-card__link:focus-visible {
    outline: 3px solid rgba(182, 83, 42, .28) !important;
    outline-offset: 2px;
}

.pixelcam-compare-picker[hidden] {
    display: none !important;
}

.pixelcam-compare-picker {
    background: var(--pc-compare-surface);
    border: 1px solid var(--pc-compare-border);
    border-radius: var(--pc-compare-radius-md);
    box-shadow: 0 12px 28px rgba(52, 35, 27, .09);
    margin: 0 4px 18px;
    padding: 16px;
}

.pixelcam-compare-picker-header {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pixelcam-compare-picker-title,
.pixelcam-compare-picker-hint {
    margin: 0;
}

.pixelcam-compare-picker-title {
    font-size: 15px;
    font-weight: 800;
}

.pixelcam-compare-picker-hint {
    color: var(--pc-compare-muted);
    font-size: 12px;
    margin-top: 3px;
}

.pixelcam-compare-picker-close {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--pc-compare-muted);
    display: inline-flex;
    font-size: 22px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    margin: -4px -4px 0 0;
    width: 36px;
}

.pixelcam-compare-picker-close:hover {
    background: var(--pc-compare-subtle);
    color: var(--pc-compare-ink);
}

.pixelcam-compare-picker-search {
    align-items: center;
    background: #fbfaf9;
    border: 1px solid var(--pc-compare-border);
    border-radius: var(--pc-compare-radius-sm);
    display: flex;
    gap: 10px;
    min-height: 48px;
    padding: 0 13px;
}

.pixelcam-compare-picker-search svg {
    fill: none;
    height: 19px;
    stroke: var(--pc-compare-muted);
    stroke-linecap: round;
    stroke-width: 1.8;
    width: 19px;
}

.pixelcam-compare-picker-input {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--pc-compare-ink);
    flex: 1 1 auto;
    font-size: 16px !important;
    min-width: 0;
    outline: 0 !important;
    padding: 11px 0 !important;
}

.pixelcam-compare-picker-search:focus-within {
    border-color: var(--pc-compare-accent);
    box-shadow: 0 0 0 3px rgba(182, 83, 42, .12);
}

.pixelcam-compare-picker-results {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
    max-height: min(360px, calc(100dvh - 300px));
    overflow: auto;
    overscroll-behavior: contain;
    padding: 1px;
    scrollbar-gutter: stable;
}

.pixelcam-compare-picker-empty {
    color: var(--pc-compare-muted);
    font-size: 13px;
    grid-column: 1 / -1;
    margin: 0;
    padding: 16px 8px;
    text-align: center;
}

.pixelcam-compare-picker-item {
    align-items: center;
    background: var(--pc-compare-surface);
    border: 1px solid var(--pc-compare-border);
    border-radius: var(--pc-compare-radius-sm);
    color: var(--pc-compare-ink);
    display: flex;
    gap: 10px;
    min-height: 72px;
    padding: 8px;
    text-align: left;
    transition: background-color var(--pc-compare-motion-fast) ease, border-color var(--pc-compare-motion-fast) ease, transform var(--pc-compare-motion-fast) ease;
    width: 100%;
}

.pixelcam-compare-picker-item:hover:not(:disabled) {
    background: #fff8f4;
    border-color: var(--pc-compare-border-strong);
    transform: translateY(-1px);
}

.pixelcam-compare-picker-item:disabled {
    cursor: default;
    opacity: .68;
}

.pixelcam-compare-picker-item-image,
.pixelcam-compare-picker-item-image-placeholder {
    align-items: center;
    background: var(--pc-compare-subtle);
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 52px;
    height: 52px;
    justify-content: center;
    overflow: hidden;
    width: 52px;
}

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

.pixelcam-compare-picker-item-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pixelcam-compare-picker-item-content strong {
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.3;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pixelcam-compare-picker-item-content > span {
    color: var(--pc-compare-muted);
    font-size: 12px;
    line-height: 1.2;
}

.pixelcam-compare-picker-item-status {
    color: var(--pc-compare-accent);
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 800;
}

.pixelcam-compare-picker-item-status.is-selected {
    color: var(--pc-compare-success);
}

.pixelcam-compare-picker-item-status.is-disabled {
    color: var(--pc-compare-muted);
}

.pixelcam-compare-picker-skeleton {
    display: grid;
    gap: 8px;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pixelcam-compare-picker-skeleton span {
    background: linear-gradient(90deg, #f2eeeb 25%, #faf8f6 50%, #f2eeeb 75%);
    background-size: 200% 100%;
    border-radius: var(--pc-compare-radius-sm);
    height: 72px;
}

body .br_new_compare_block .br_top_table .pixelcam-compare-product-card {
    border-radius: var(--pc-compare-radius-md) !important;
    min-height: 0;
}

body .br_new_compare_block .pixelcam-compare-card {
    min-height: 314px;
    padding: 14px 16px 16px !important;
}

body .br_new_compare_block .pixelcam-compare-card-media {
    background: var(--pc-compare-subtle);
    border-radius: var(--pc-compare-radius-sm);
    height: 154px;
    margin-bottom: 13px !important;
}

body .br_new_compare_block .pixelcam-compare-card-media img {
    height: 142px !important;
    max-height: 142px !important;
}

body .br_new_compare_block .pixelcam-compare-card h3 {
    font-size: 16px !important;
    letter-spacing: -.01em;
    margin-bottom: 8px !important;
    min-height: 42px;
}

body .br_new_compare_block .pixelcam-compare-card-price {
    color: var(--pc-compare-accent) !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
}

body .br_new_compare_block .pixelcam-compare-remove {
    height: 36px;
    right: 10px;
    top: 10px;
    width: 36px;
}

body .br_new_compare_block .pixelcam-compare-empty-card {
    min-height: 314px;
    padding: 14px !important;
}

body .br_new_compare_block .pixelcam-compare-empty-card__link {
    align-items: center;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    border-radius: var(--pc-compare-radius-sm);
    color: var(--pc-compare-accent) !important;
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
    padding: 14px !important;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

body .br_new_compare_block .pixelcam-compare-empty-card__plus {
    align-items: center;
    background: #fff;
    border: 1px solid var(--pc-compare-border-strong);
    border-radius: 50%;
    display: inline-flex;
    height: 54px;
    justify-content: center;
    margin-bottom: 12px;
    width: 54px;
}

body .br_new_compare_block .pixelcam-compare-empty-card__plus svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
    width: 22px;
}

body .br_new_compare_block .pixelcam-compare-empty-card__link:hover,
body .br_new_compare_block .pixelcam-compare-empty-card__link:focus-visible {
    background: #fff8f4 !important;
    color: var(--pc-compare-accent-dark) !important;
}

body .br_new_compare_block .pixelcam-compare-empty-card__link:hover .pixelcam-compare-empty-card__plus,
body .br_new_compare_block .pixelcam-compare-empty-card__link:focus-visible .pixelcam-compare-empty-card__plus {
    background: var(--pc-compare-accent);
    border-color: var(--pc-compare-accent);
    color: #fff;
}

body .br_new_compare_block .pixelcam-compare-empty-card__label {
    font-size: 14px;
    font-weight: 800;
}

body .br_new_compare_block .pixelcam-compare-empty-card__description {
    color: var(--pc-compare-muted);
    font-size: 12px;
    margin-top: 4px;
}

body .br_new_compare_block .pixelcam-compare-empty-cell {
    background: #fbf9f7 !important;
}

body .br_new_compare_block .br_new_compare {
    border: 1px solid var(--pc-compare-border) !important;
    border-radius: var(--pc-compare-radius-md) !important;
    margin-top: 20px !important;
}

body .br_new_compare_block .br_left_table {
    background: var(--pc-compare-subtle) !important;
    min-width: 224px !important;
    width: 224px !important;
}

body .br_new_compare_block .br_right_table {
    margin-left: 224px !important;
}

body .br_new_compare_block .br_left_table th,
body .br_new_compare_block .br_left_table td,
body .br_new_compare_block .br_right_table th,
body .br_new_compare_block .br_right_table td {
    border-bottom: 1px solid #eee7e3 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    padding: 11px 14px !important;
}

body .br_new_compare_block .br_left_table .br_lined_attribute_left,
body .br_new_compare_block .br_right_table .br_lined_attribute_right {
    color: var(--pc-compare-accent-dark) !important;
    font-size: 11px !important;
    letter-spacing: .06em;
    text-transform: none;
}

.pixelcam-compare-is-loading {
    min-height: 240px;
    position: relative;
}

.pixelcam-compare-loading {
    align-items: center;
    background: rgba(248, 245, 243, .94);
    color: var(--pc-compare-muted);
    display: flex;
    flex-direction: column;
    gap: 10px;
    inset: 0;
    justify-content: center;
    position: absolute;
    z-index: 8;
}

.pixelcam-compare-loading-spinner {
    animation: pixelcam-compare-spin 800ms linear infinite;
    border: 2px solid var(--pc-compare-border-strong);
    border-right-color: var(--pc-compare-accent);
    border-radius: 50%;
    height: 24px;
    width: 24px;
}

.pixelcam-compare-feedback {
    align-items: center;
    background: var(--pc-compare-subtle);
    border: 1px solid var(--pc-compare-border);
    border-radius: var(--pc-compare-radius-md);
    color: var(--pc-compare-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 24px auto;
    max-width: 420px;
    padding: 28px 20px;
    text-align: center;
}

.pixelcam-compare-feedback strong {
    color: var(--pc-compare-ink);
}

.pixelcam-compare-retry {
    background: var(--pc-compare-accent);
    border: 1px solid var(--pc-compare-accent);
    border-radius: var(--pc-compare-radius-sm);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    min-height: 44px;
    padding: 10px 16px;
}

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

#br_popup .br_popup_wrapper {
    height: min(calc(100vh - 32px), 920px) !important;
    max-width: 1280px !important;
    width: min(calc(100vw - 32px), 1280px) !important;
}

#br_popup .br_popup_wrapper .popup_animation {
    background: #f7f3f1 !important;
    border: 1px solid rgba(112, 86, 74, .14);
    border-radius: var(--pc-compare-radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 62px 28px 24px !important;
}

#br_popup .br_popup_header {
    color: var(--pc-compare-ink);
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.2;
    margin: 0 0 18px;
    padding: 0 4px;
    text-align: left;
}

#br_popup .br_popup_inner {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 0 !important;
}

#br_popup .br_popup_close {
    align-items: center;
    background: #fff;
    border: 1px solid var(--pc-compare-border) !important;
    border-radius: 50%;
    color: var(--pc-compare-muted);
    display: inline-flex;
    font-size: 22px;
    height: 40px;
    justify-content: center;
    line-height: 1;
    right: 14px;
    top: 14px;
    width: 40px;
}

#br_popup .br_popup_close:hover,
#br_popup .br_popup_close:focus-visible {
    background: #fff8f4;
    border-color: var(--pc-compare-border-strong) !important;
    color: var(--pc-compare-accent);
}

#br_popup .br_new_compare_block_wrap {
    --pixelcam-compare-column: 1fr;
    margin: 0 auto 16px;
    max-width: none;
    width: 100%;
}

#br_popup .br_new_compare_block .br_top_table,
#br_popup .br_new_compare_block .br_new_compare {
    width: 100% !important;
}

#br_popup .br_new_compare_block .br_main_top {
    margin-left: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
}

#br_popup .br_new_compare_block .br_top_table table,
#br_popup .br_new_compare_block .br_right_table table {
    border-spacing: 10px 0 !important;
    table-layout: fixed !important;
    width: 100% !important;
}

#br_popup .br_new_compare_block .br_top_table table > tbody > tr > td:first-child {
    display: none !important;
}

#br_popup .br_new_compare_block .pixelcam-compare-product-card {
    max-width: none !important;
    min-width: 0 !important;
    width: auto !important;
}

#br_popup .br_new_compare_block .br_right_table {
    margin-left: 224px !important;
    width: calc(100% - 224px) !important;
}

#br_popup .br_new_compare_block .br_right_table th,
#br_popup .br_new_compare_block .br_right_table td {
    min-width: 0 !important;
    width: auto !important;
}

#br_popup .br_new_compare_block .br_top_table .pixelcam-compare-product-card--empty {
    height: clamp(304px, 32vw, 360px) !important;
}

#br_popup .br_new_compare_block .pixelcam-compare-empty-card {
    inset: 1px !important;
    min-height: 0 !important;
}

@media (max-width: 767px) {
    .pixelcam-compare-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 14px;
    }

    .pixelcam-compare-header-count {
        padding-bottom: 0;
    }

    .pixelcam-compare-toolbar {
        align-items: stretch !important;
    }

    body .br_new_compare_block .pixelcam-compare-toolbar-primary,
    body .br_new_compare_block .pixelcam-compare-toolbar-link {
        flex: 1 1 auto;
        min-width: 0;
    }

    .pixelcam-compare-picker-results,
    .pixelcam-compare-picker-skeleton {
        grid-template-columns: 1fr;
    }

    body .br_new_compare_block .pixelcam-compare-card,
    body .br_new_compare_block .pixelcam-compare-empty-card {
        min-height: 292px;
        padding: 12px !important;
    }

    body .br_new_compare_block .pixelcam-compare-card-media {
        height: 136px;
    }

    body .br_new_compare_block .pixelcam-compare-card-media img {
        height: 124px !important;
        max-height: 124px !important;
    }

    body .br_new_compare_block .br_left_table {
        min-width: 144px !important;
        width: 144px !important;
    }

    body .br_new_compare_block .br_right_table {
        margin-left: 144px !important;
    }

    #br_popup .br_popup_wrapper {
        height: calc(100dvh - 16px) !important;
        width: calc(100vw - 16px) !important;
    }

    #br_popup .br_popup_wrapper .popup_animation {
        border-radius: 16px;
        padding: 56px 12px calc(14px + env(safe-area-inset-bottom)) !important;
    }

    #br_popup .br_popup_header {
        font-size: 16px;
        margin-bottom: 14px;
    }

    #br_popup .br_new_compare_block .br_main_top {
        overflow-x: auto !important;
    }

    #br_popup .br_new_compare_block .br_top_table table {
        min-width: max-content !important;
        width: max-content !important;
    }

    #br_popup .br_new_compare_block .pixelcam-compare-product-card {
        max-width: 220px !important;
        min-width: 220px !important;
        width: 220px !important;
    }

    #br_popup .br_new_compare_block .br_top_table .pixelcam-compare-product-card--empty {
        height: 304px !important;
    }

    #br_popup .br_new_compare_block .br_right_table {
        margin-left: 144px !important;
        width: calc(100% - 144px) !important;
    }

    #br_popup .br_new_compare_block .br_right_table table {
        min-width: max-content !important;
        width: max-content !important;
    }

    #br_popup .br_new_compare_block .br_right_table th,
    #br_popup .br_new_compare_block .br_right_table td {
        min-width: 220px !important;
        width: 220px !important;
    }
}

/* Final PixelCam contract: keep the refactored surface authoritative after
 * the legacy compatibility rules above and after popup AJAX replacements. */
.br_new_compare_block_wrap {
    color: #262321;
    max-width: 1180px;
}

body .br_new_compare_block .pixelcam-compare-header {
    align-items: flex-end;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 0 0 18px !important;
    padding: 0 4px !important;
}

body .br_new_compare_block .pixelcam-compare-header h2 {
    color: #262321;
    font-size: clamp(24px, 3vw, 32px) !important;
    line-height: 1.1;
    margin: 0 0 8px !important;
}

body .br_new_compare_block .pixelcam-compare-header p {
    color: #716b67;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

body .br_new_compare_block .pixelcam-compare-toolbar {
    align-items: center;
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px !important;
    padding: 0 4px !important;
}

body .br_new_compare_block .pixelcam-compare-toolbar-primary,
body .br_new_compare_block .pixelcam-compare-toolbar-link {
    align-items: center;
    border-radius: 10px !important;
    display: inline-flex !important;
    font-size: 13px !important;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    min-height: 44px !important;
    padding: 10px 15px !important;
    text-decoration: none;
}

body .br_new_compare_block .pixelcam-compare-toolbar-primary {
    background: #b6532a !important;
    border: 1px solid #b6532a !important;
    color: #fff !important;
}

body .br_new_compare_block .pixelcam-compare-toolbar-primary:hover,
body .br_new_compare_block .pixelcam-compare-toolbar-primary:focus-visible {
    background: #8f3e20 !important;
    border-color: #8f3e20 !important;
    color: #fff !important;
}

body .br_new_compare_block .pixelcam-compare-toolbar-link {
    background: #fff !important;
    border: 1px solid #e6ddd8 !important;
    color: #262321 !important;
}

body .br_new_compare_block .pixelcam-compare-toolbar-link.br_remove_all_compare {
    color: #a9473d !important;
}

body .br_new_compare_block .pixelcam-compare-picker {
    background: #fff;
    border: 1px solid #e6ddd8;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(52, 35, 27, .09);
    margin: 0 4px 18px;
    padding: 16px;
}

body .br_new_compare_block .pixelcam-compare-picker[hidden] {
    display: none !important;
}

body .br_new_compare_block .pixelcam-compare-picker-search {
    min-height: 48px;
}

body .br_new_compare_block .pixelcam-compare-picker-item {
    min-height: 72px;
}

body .br_new_compare_block .br_top_table table {
    border-collapse: separate !important;
    border-spacing: 10px 0 !important;
    table-layout: fixed !important;
    width: 100% !important;
}

body .br_new_compare_block .br_top_table table > tbody > tr > td:first-child {
    display: none !important;
}

body .br_new_compare_block .pixelcam-compare-product-card {
    max-width: none !important;
    min-width: 0 !important;
    width: auto !important;
}

body .br_new_compare_block .pixelcam-compare-card,
body .br_new_compare_block .pixelcam-compare-empty-card {
    min-height: 314px !important;
}

body .br_new_compare_block .pixelcam-compare-card-media {
    height: 188px !important;
}

body .br_new_compare_block .pixelcam-compare-card-media img {
    height: 142px !important;
    max-height: 142px !important;
}

body .br_new_compare_block .pixelcam-compare-empty-card__link {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    color: #b6532a !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
    padding: 14px !important;
    text-align: center;
    width: 100% !important;
}

body .br_new_compare_block .pixelcam-compare-empty-card__plus {
    align-items: center;
    background: #fff;
    border: 1px solid #d8c5bb;
    border-radius: 50%;
    display: inline-flex;
    height: 54px !important;
    justify-content: center;
    margin-bottom: 12px;
    width: 54px !important;
}

body .br_new_compare_block .pixelcam-compare-empty-card__plus svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
    width: 22px;
}

body .br_new_compare_block .pixelcam-compare-empty-card__link:hover,
body .br_new_compare_block .pixelcam-compare-empty-card__link:focus-visible {
    background: #fff8f4 !important;
    color: #8f3e20 !important;
}

body .br_new_compare_block .br_new_compare {
    border: 1px solid #e6ddd8 !important;
    border-radius: 14px !important;
    margin-top: 20px !important;
}

body .br_new_compare_block .br_left_table {
    background: #f8f5f3 !important;
    min-width: 224px !important;
    width: 224px !important;
}

body .br_new_compare_block .br_right_table {
    margin-left: 224px !important;
    width: calc(100% - 224px) !important;
}

body .br_new_compare_block .br_left_table th,
body .br_new_compare_block .br_left_table td,
body .br_new_compare_block .br_right_table th,
body .br_new_compare_block .br_right_table td {
    border-bottom: 1px solid #eee7e3 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    padding: 11px 14px !important;
}

#br_popup .br_popup_wrapper {
    height: min(calc(100vh - 32px), 920px) !important;
    max-width: 1280px !important;
    width: min(calc(100vw - 32px), 1280px) !important;
}

#br_popup .br_popup_wrapper .popup_animation {
    background: #f7f3f1 !important;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 62px 28px 24px !important;
}

#br_popup .br_popup_header {
    color: #262321;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 18px;
    padding: 0 4px;
    text-align: left;
}

#br_popup .br_popup_inner {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 0 !important;
}

#br_popup .br_popup_close {
    align-items: center;
    background: #fff;
    border: 1px solid #e6ddd8 !important;
    border-radius: 50%;
    color: #716b67;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    right: 14px;
    top: 14px;
    width: 40px;
}

#br_popup .br_popup_close:hover,
#br_popup .br_popup_close:focus-visible {
    background: #fff8f4;
    border-color: #d8c5bb !important;
    color: #b6532a;
}

#br_popup .br_new_compare_block .br_main_top {
    margin-left: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
}

@media (max-width: 767px) {
    body .br_new_compare_block .pixelcam-compare-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    body .br_new_compare_block .pixelcam-compare-toolbar {
        align-items: stretch !important;
    }

    body .br_new_compare_block .pixelcam-compare-toolbar-primary,
    body .br_new_compare_block .pixelcam-compare-toolbar-link {
        flex: 1 1 auto;
        min-width: 0;
    }

    body .br_new_compare_block .pixelcam-compare-picker-results,
    body .br_new_compare_block .pixelcam-compare-picker-skeleton {
        grid-template-columns: 1fr;
    }

    body .br_new_compare_block .pixelcam-compare-card,
    body .br_new_compare_block .pixelcam-compare-empty-card {
        min-height: 292px !important;
    }

    #br_popup .br_popup_wrapper {
        height: calc(100dvh - 16px) !important;
        width: calc(100vw - 16px) !important;
    }

    #br_popup .br_popup_wrapper .popup_animation {
        border-radius: 16px;
        padding: 56px 12px calc(14px + env(safe-area-inset-bottom)) !important;
    }

    #br_popup .br_popup_header {
        font-size: 16px;
        margin-bottom: 14px;
    }

    #br_popup .br_new_compare_block .br_main_top {
        overflow-x: auto !important;
    }

    #br_popup .br_new_compare_block .br_top_table table {
        min-width: max-content !important;
        width: max-content !important;
    }

    #br_popup .br_new_compare_block .pixelcam-compare-product-card {
        max-width: 220px !important;
        min-width: 220px !important;
        width: 220px !important;
    }

    #br_popup .br_new_compare_block .br_right_table {
        margin-left: 144px !important;
        width: calc(100% - 144px) !important;
    }

    #br_popup .br_new_compare_block .br_right_table table {
        min-width: max-content !important;
        width: max-content !important;
    }

    #br_popup .br_new_compare_block .br_right_table th,
    #br_popup .br_new_compare_block .br_right_table td {
        min-width: 220px !important;
        width: 220px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .br_new_compare_block_wrap *,
    .br_new_compare_block_wrap *::before,
    .br_new_compare_block_wrap *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Final precedence pass: these selectors deliberately sit after the
 * vendor-compatible rules above so the PixelCam contract wins consistently
 * after AJAX refreshes and theme-specific defaults. */
body .br_new_compare_block .pixelcam-compare-toolbar-primary {
    background: #b6532a !important;
    border-color: #b6532a !important;
    color: #fff !important;
}

body .br_new_compare_block .pixelcam-compare-toolbar-link {
    border-radius: 10px !important;
    min-height: 44px !important;
}

body .br_new_compare_block .pixelcam-compare-card,
body .br_new_compare_block .pixelcam-compare-empty-card {
    min-height: 314px !important;
}

body .br_new_compare_block .pixelcam-compare-empty-card__link {
    background: transparent !important;
    border: 0 !important;
    color: #b6532a !important;
    width: 100% !important;
}

body .br_new_compare_block .pixelcam-compare-empty-card__plus {
    height: 54px !important;
    width: 54px !important;
}

#br_popup .br_popup_wrapper {
    max-width: 1280px !important;
    width: min(calc(100vw - 32px), 1280px) !important;
}

#br_popup .br_popup_wrapper .popup_animation {
    display: flex;
    flex-direction: column;
    padding: 62px 28px 24px !important;
}

#br_popup .br_popup_header {
    color: #262321;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 18px;
    padding: 0 4px;
    text-align: left;
}

#br_popup .br_popup_inner {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 0 !important;
}

#br_popup .br_new_compare_block .br_right_table {
    margin-left: 224px !important;
    width: calc(100% - 224px) !important;
}

@media (max-width: 767px) {
    body .br_new_compare_block .pixelcam-compare-card,
    body .br_new_compare_block .pixelcam-compare-empty-card {
        min-height: 292px !important;
    }

    #br_popup .br_popup_wrapper .popup_animation {
        padding: 56px 12px calc(14px + env(safe-area-inset-bottom)) !important;
    }

    #br_popup .br_popup_header {
        font-size: 16px;
        margin-bottom: 14px;
    }

    #br_popup .br_new_compare_block .br_right_table {
        margin-left: 144px !important;
        width: calc(100% - 144px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .br_new_compare_block_wrap *,
    .br_new_compare_block_wrap *::before,
    .br_new_compare_block_wrap *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

.pixelcam-compare-empty-state {
    align-items: center;
    background: var(--pixelcam-compare-soft);
    border: 1px solid var(--pixelcam-compare-border);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    margin: 24px auto;
    max-width: 560px;
    padding: 48px 24px;
    text-align: center;
}

.pixelcam-compare-empty-state__icon {
    align-items: center;
    background: #fff;
    border: 1px solid var(--pixelcam-compare-border);
    border-radius: 50%;
    color: var(--pixelcam-compare-accent);
    display: inline-flex;
    font-size: 24px;
    height: 56px;
    justify-content: center;
    margin-bottom: 16px;
    width: 56px;
}

.pixelcam-compare-empty-state h2 {
    font-size: clamp(20px, 3vw, 28px);
    margin: 0 0 8px;
}

.pixelcam-compare-empty-state p {
    color: var(--pixelcam-compare-muted);
    margin: 0 0 20px;
    max-width: 420px;
}

.pixelcam-compare-empty-state__link {
    align-items: center;
    background: var(--pixelcam-compare-accent) !important;
    border: 0 !important;
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex;
    min-height: 44px;
    padding: 10px 18px;
    text-decoration: none;
}

body .berocket_show_compare_toolbar {
    align-items: center;
    background: var(--accent, #b54718);
    border-radius: 999px;
    bottom: max(16px, env(safe-area-inset-bottom));
    box-shadow: 0 8px 22px rgba(36, 33, 36, .16);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 4px;
    height: auto;
    line-height: 1.2;
    min-height: 44px;
    padding: 8px 14px;
    right: 16px;
}

body .berocket_show_compare_toolbar:hover,
body .berocket_show_compare_toolbar:focus-visible {
    background: var(--accent-dark, #8f3e20);
    color: #fff;
}

body .berocket_show_compare_toolbar:focus-visible,
body .berocket_hide_compare_toolbar:focus-visible {
    outline: 2px solid var(--accent, #b54718);
    outline-offset: 3px;
}

body .berocket_compare_widget_toolbar {
    border-top: 1px solid var(--border, #e8dfe3);
    border-radius: 16px 16px 0 0;
    bottom: 0;
    box-shadow: 0 -12px 32px rgba(36, 33, 36, .12);
    left: 16px;
    max-height: min(90dvh, 420px);
    padding: 18px 52px 18px 18px;
    right: 16px;
}

body .berocket_compare_widget_toolbar .berocket_open_compare {
    background: var(--accent, #b54718);
    border-radius: 8px;
    color: #fff;
    min-height: 44px;
    padding: 12px 16px;
}

body .br_new_compare_block_wrap a {
    color: var(--pixelcam-compare-accent);
}

body .br_new_compare_block_wrap a:hover,
body .br_new_compare_block_wrap a:focus-visible {
    color: var(--pixelcam-compare-accent-dark);
}

/* Toolbar: keep the two actions visually quiet, like a comparison utility. */
body .br_new_compare_block .pixelcam-compare-toolbar {
    align-items: center;
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px !important;
    padding: 0 !important;
}

body .br_new_compare_block .pixelcam-compare-toolbar-link {
    align-items: center;
    background: #fff !important;
    border: 1px solid var(--pixelcam-compare-border) !important;
    border-radius: 999px;
    color: var(--pixelcam-compare-accent) !important;
    display: inline-flex !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.2;
    max-width: none !important;
    min-height: 44px;
    padding: 8px 14px !important;
    position: static !important;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

body .br_new_compare_block .pixelcam-compare-toolbar-link:hover,
body .br_new_compare_block .pixelcam-compare-toolbar-link:focus-visible {
    background: #fff7f3 !important;
    border-color: #d4a28f !important;
    transform: translateY(-1px);
}

/* Product cards sit above the table, matching a retail comparison header. */
body .br_new_compare_block .br_top_table {
    padding: 0 !important;
    top: auto !important;
}

body .br_new_compare_block .br_top_table table,
body .br_new_compare_block .br_top_table table tr,
body .br_new_compare_block .br_top_table table td,
body .br_new_compare_block .br_top_table table th {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

body .br_new_compare_block .br_top_table table {
    background: transparent !important;
    border: 0 !important;
    border-spacing: 8px 0 !important;
    table-layout: fixed;
    width: max-content !important;
}

body .br_new_compare_block .br_top_table table > tbody > tr > td:first-child {
    background: transparent !important;
    border: 0 !important;
    min-width: 220px !important;
    width: 220px !important;
}

body .br_new_compare_block .br_top_table .pixelcam-compare-product-card {
    background: #fff !important;
    border: 1px solid var(--pixelcam-compare-border) !important;
    border-radius: 16px !important;
    max-width: var(--pixelcam-compare-column) !important;
    min-width: var(--pixelcam-compare-column) !important;
    padding: 0 !important;
    vertical-align: top !important;
    width: var(--pixelcam-compare-column) !important;
}

body .br_new_compare_block .br_top_table .pixelcam-compare-product-card--empty {
    background: var(--pixelcam-compare-soft) !important;
    border: 1px dashed #d7c2b8 !important;
    height: 360px !important;
    position: relative !important;
}

body .br_new_compare_block .pixelcam-compare-empty-card {
    align-items: stretch;
    display: flex !important;
    height: auto !important;
    inset: 1px !important;
    min-height: 0 !important;
    padding: 16px !important;
    position: absolute !important;
}

body .br_new_compare_block .pixelcam-compare-empty-card__link {
    align-items: center;
    border-radius: 12px;
    color: var(--pixelcam-compare-accent) !important;
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
    padding: 18px 12px !important;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

body .br_new_compare_block .pixelcam-compare-empty-card__link:hover,
body .br_new_compare_block .pixelcam-compare-empty-card__link:focus-visible {
    background: #fff8f4;
    color: var(--pixelcam-compare-accent-dark) !important;
    transform: translateY(-1px);
}

body .br_new_compare_block .pixelcam-compare-empty-card__link:focus-visible {
    outline: 3px solid rgba(182, 83, 42, .28);
    outline-offset: 2px;
}

body .br_new_compare_block .pixelcam-compare-empty-card__plus {
    align-items: center;
    background: #fff;
    border: 1px solid #d7c2b8;
    border-radius: 50%;
    display: inline-flex;
    font-size: 30px;
    font-weight: 400;
    height: 60px;
    justify-content: center;
    line-height: 1;
    margin-bottom: 14px;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
    width: 60px;
}

body .br_new_compare_block .pixelcam-compare-empty-card__link:hover .pixelcam-compare-empty-card__plus,
body .br_new_compare_block .pixelcam-compare-empty-card__link:focus-visible .pixelcam-compare-empty-card__plus {
    background: var(--pixelcam-compare-accent);
    border-color: var(--pixelcam-compare-accent);
    color: #fff;
}

body .br_new_compare_block .pixelcam-compare-empty-card__label {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

body .br_new_compare_block .pixelcam-compare-empty-card__description {
    color: var(--pixelcam-compare-muted);
    font-size: 12px;
    line-height: 1.4;
    margin-top: 5px;
}

body .br_new_compare_block .pixelcam-compare-card {
    align-items: stretch;
    display: flex !important;
    flex-direction: column;
    min-height: 360px;
    padding: 16px !important;
    position: relative !important;
}

body .br_new_compare_block .pixelcam-compare-card-media {
    align-items: center;
    background: #faf7f5;
    border: 1px solid #f0e7e2 !important;
    border-radius: 12px;
    display: flex !important;
    height: 188px;
    justify-content: center;
    margin: 0 0 16px !important;
    overflow: hidden;
    padding: 8px !important;
}

body .br_new_compare_block .pixelcam-compare-card-media img {
    display: block !important;
    height: 172px !important;
    max-height: 172px !important;
    max-width: 100% !important;
    object-fit: contain;
    width: auto !important;
}

body .br_new_compare_block .pixelcam-compare-card-content {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
}

body .br_new_compare_block .pixelcam-compare-card h3 {
    font-size: 17px !important;
    font-weight: 700;
    line-height: 1.35 !important;
    margin: 0 28px 10px 0 !important;
    min-height: 46px;
    padding: 0 !important;
    text-align: left !important;
    white-space: normal !important;
}

body .br_new_compare_block .pixelcam-compare-card h3 a {
    color: var(--pixelcam-compare-ink) !important;
    text-decoration: none;
}

body .br_new_compare_block .pixelcam-compare-card-price {
    color: var(--pixelcam-compare-accent) !important;
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.35 !important;
    margin: 0 0 10px !important;
    text-align: left !important;
    white-space: normal !important;
}

body .br_new_compare_block .pixelcam-compare-card-price del {
    color: var(--pixelcam-compare-muted);
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    margin-right: 5px;
}

body .br_new_compare_block .pixelcam-compare-card-price ins {
    text-decoration: none;
}

body .br_new_compare_block .pixelcam-compare-stock {
    align-items: center;
    color: var(--pixelcam-compare-muted);
    display: inline-flex;
    font-size: 13px;
    gap: 6px;
    line-height: 1.2;
    margin-top: auto;
}

body .br_new_compare_block .pixelcam-compare-stock > span {
    background: #b9c2bc;
    border-radius: 50%;
    display: inline-block;
    height: 8px;
    width: 8px;
}

body .br_new_compare_block .pixelcam-compare-stock.in-stock > span {
    background: #2e9b62;
}

body .br_new_compare_block .pixelcam-compare-stock.out-of-stock > span {
    background: #c65c4c;
}

body .br_new_compare_block .pixelcam-compare-remove {
    align-items: center;
    background: #fff !important;
    border: 1px solid var(--pixelcam-compare-border) !important;
    border-radius: 50%;
    color: var(--pixelcam-compare-muted) !important;
    display: inline-flex !important;
    font-size: 20px;
    height: 44px;
    justify-content: center;
    line-height: 1;
    padding: 0 !important;
    position: absolute !important;
    right: 12px;
    text-decoration: none;
    top: 12px;
    width: 44px;
    z-index: 2;
}

body .br_new_compare_block .pixelcam-compare-remove:hover,
body .br_new_compare_block .pixelcam-compare-remove:focus-visible {
    background: #fff7f3 !important;
    border-color: #d4a28f !important;
    color: var(--pixelcam-compare-accent) !important;
}

body .br_new_compare_block .br_main_top {
    margin-left: 220px !important;
    overflow-x: auto !important;
}

body .br_new_compare_block .br_top_table .br_main_top {
    right: 0;
}

body .br_new_compare_block .br_top_table table > tbody > tr:nth-child(2) > td,
body .br_new_compare_block .br_top_table table > tbody > tr:nth-child(2) > th {
    background: transparent !important;
    border: 0 !important;
    min-width: var(--pixelcam-compare-column) !important;
    padding: 10px 10px 0 !important;
    width: var(--pixelcam-compare-column) !important;
}

body .br_new_compare_block .pixelcam-compare-action {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 14px !important;
}

body .br_new_compare_block .pixelcam-compare-action .button,
body .br_new_compare_block .pixelcam-compare-action .add_to_cart_button {
    align-items: center;
    background: var(--pixelcam-compare-accent) !important;
    border: 1px solid var(--pixelcam-compare-accent) !important;
    border-radius: 8px !important;
    color: #fff !important;
    display: inline-flex !important;
    font-size: 14px !important;
    font-weight: 700;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px !important;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
    width: 100%;
}

body .br_new_compare_block .pixelcam-compare-action .button:hover,
body .br_new_compare_block .pixelcam-compare-action .button:focus-visible,
body .br_new_compare_block .pixelcam-compare-action .add_to_cart_button:hover,
body .br_new_compare_block .pixelcam-compare-action .add_to_cart_button:focus-visible {
    background: var(--pixelcam-compare-accent-dark) !important;
    transform: translateY(-1px);
}

/* Comparison matrix: a quiet label rail and zebra-striped specification rows. */
body .br_new_compare_block .br_new_compare {
    background: #fff !important;
    border: 1px solid var(--pixelcam-compare-border) !important;
    border-radius: 16px !important;
    margin-top: 24px !important;
    overflow: hidden !important;
    padding: 0 !important;
}

body .br_new_compare_block .br_left_table {
    background: var(--pixelcam-compare-label) !important;
    border: 0 !important;
    min-width: 220px !important;
    width: 220px !important;
}

body .br_new_compare_block .br_right_table {
    background: #fff !important;
    margin-left: 220px !important;
    overflow-x: auto !important;
}

body .br_new_compare_block .br_left_table,
body .br_new_compare_block .br_right_table table {
    border-collapse: collapse !important;
}

body .br_new_compare_block .br_left_table th,
body .br_new_compare_block .br_left_table td,
body .br_new_compare_block .br_right_table th,
body .br_new_compare_block .br_right_table td {
    border: 0 !important;
    border-bottom: 1px solid #eee8e5 !important;
    color: var(--pixelcam-compare-ink) !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    padding: 12px 16px !important;
    text-align: left !important;
    vertical-align: middle !important;
    white-space: normal !important;
}

body .br_new_compare_block .br_right_table th,
body .br_new_compare_block .br_right_table td {
    min-width: var(--pixelcam-compare-column) !important;
    width: var(--pixelcam-compare-column) !important;
}

body .br_new_compare_block .br_left_table tr:nth-child(even) th,
body .br_new_compare_block .br_right_table tbody tr:nth-child(even) td {
    background: #fcfbfa !important;
}

body .br_new_compare_block .br_left_table .br_lined_attribute_left,
body .br_new_compare_block .br_right_table .br_lined_attribute_right {
    background: var(--pixelcam-compare-soft) !important;
    color: var(--pixelcam-compare-accent-dark) !important;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: .04em;
    padding-bottom: 9px !important;
    padding-top: 9px !important;
    text-transform: uppercase;
}

body .br_new_compare_block .br_right_table tbody td {
    color: #3d3938 !important;
}

body .br_new_compare_block .br_top_table table,
body .br_new_compare_block .br_right_table table {
    min-width: max-content !important;
}

body .br_new_compare_block .br_right_table tbody td a {
    color: var(--pixelcam-compare-accent) !important;
}

body .br_new_compare_block .br_right_table .stock {
    align-items: center;
    color: #2e8657 !important;
    display: inline-flex;
    font-size: 13px !important;
    font-weight: 700;
    gap: 6px;
    margin: 0 !important;
}

body .br_new_compare_block .br_right_table .stock::before {
    background: #2e9b62;
    border-radius: 50%;
    content: '';
    display: inline-block;
    height: 7px;
    width: 7px;
}

body .br_new_compare_block .br_right_table .br_description_row td div {
    max-height: 96px;
    overflow: hidden;
    white-space: normal !important;
}

body .br_new_compare_block .br_right_table .br_description_row p {
    margin: 0 0 6px !important;
    white-space: normal !important;
}

/* CellphoneS-style flow: product cards stay above the matrix. */
body .br_new_compare_block .br_top_table .br_main_top {
    position: static !important;
}

body .br_new_compare_block .pixelcam-compare-empty-cell {
    background: var(--pixelcam-compare-soft) !important;
    border-bottom-color: #eee4df !important;
}

@media (max-width: 767px) {
    .br_new_compare_block_wrap {
        --pixelcam-compare-column: 238px;
        margin-bottom: 24px;
    }

    body .br_new_compare_block .pixelcam-compare-toolbar {
        gap: 6px;
        margin-bottom: 12px !important;
    }

    body .br_new_compare_block .pixelcam-compare-toolbar-link {
        font-size: 12px !important;
        min-height: 44px;
        padding: 8px 12px !important;
    }

    body .br_new_compare_block .br_main_top {
        margin-left: 0 !important;
    }

    body .br_new_compare_block .br_top_table table > tbody > tr > td:first-child {
        display: none !important;
    }

    body .br_new_compare_block .pixelcam-compare-card {
        min-height: 326px;
        padding: 14px 14px 13px !important;
    }

    body .br_new_compare_block .br_top_table .pixelcam-compare-product-card--empty {
        height: 326px !important;
    }

    body .br_new_compare_block .pixelcam-compare-empty-card {
        min-height: 0 !important;
        padding: 14px !important;
    }

    body .br_new_compare_block .pixelcam-compare-empty-card__plus {
        font-size: 26px;
        height: 52px;
        margin-bottom: 12px;
        width: 52px;
    }

    body .br_new_compare_block .pixelcam-compare-card-media {
        height: 150px !important;
        margin-bottom: 10px !important;
    }

    body .br_new_compare_block .pixelcam-compare-card-media img {
        height: 138px !important;
        max-height: 138px !important;
    }

    body .br_new_compare_block .pixelcam-compare-card h3 {
        font-size: 15px !important;
        min-height: 42px;
    }

    body .br_new_compare_block .pixelcam-compare-card-price {
        font-size: 16px !important;
    }

    body .br_new_compare_block .br_new_compare {
        border-radius: 12px !important;
        margin-top: 16px !important;
    }

    body .br_new_compare_block .br_left_table {
        min-width: 148px !important;
        width: 148px !important;
    }

    body .br_new_compare_block .br_right_table {
        margin-left: 148px !important;
    }

    body .br_new_compare_block .br_left_table th,
    body .br_new_compare_block .br_left_table td,
    body .br_new_compare_block .br_right_table th,
    body .br_new_compare_block .br_right_table td {
        font-size: 13px !important;
        padding: 10px 12px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body .br_new_compare_block *,
    body .br_new_compare_block *::before,
    body .br_new_compare_block *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Compare popup: use the panel width instead of leaving an empty right rail. */
#br_popup .br_popup_wrapper {
    height: calc(100vh - 32px) !important;
    max-height: 900px !important;
    max-width: 1320px !important;
    width: calc(100vw - 32px) !important;
}

#br_popup .br_popup_wrapper .popup_animation {
    background: #f7f3f1 !important;
    border: 1px solid rgba(112, 86, 74, .14);
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(36, 33, 36, .16), 0 8px 18px rgba(36, 33, 36, .08);
    overflow: hidden;
    padding: 58px 24px 28px !important;
}

#br_popup .br_popup_inner {
    overscroll-behavior: contain;
    padding: 0 !important;
}

#br_popup .br_popup_inner > .br_new_compare_block_wrap {
    margin: 0 auto 16px;
    max-width: none;
    width: 100%;
}

#br_popup .br_popup_close {
    align-items: center;
    background: #fff;
    border: 1px solid var(--pixelcam-compare-border, #eaded9);
    border-radius: 50%;
    color: var(--pixelcam-compare-muted, #6f6a68);
    display: inline-flex;
    font-size: 22px;
    height: 44px;
    justify-content: center;
    line-height: 1;
    right: 12px;
    top: 12px;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
    width: 44px;
}

#br_popup .br_popup_close:hover,
#br_popup .br_popup_close:focus-visible {
    background: #fff7f3;
    border-color: #d4a28f;
    color: var(--pixelcam-compare-accent, #b6532a);
    opacity: 1;
    transform: translateY(-1px);
}

#br_popup .br_popup_close:focus-visible {
    outline: 3px solid rgba(182, 83, 42, .28);
    outline-offset: 2px;
}

#br_popup .br_new_compare_block_wrap {
    --pixelcam-compare-column: 280px;
}

#br_popup .pixelcam-compare-toolbar-status {
    color: var(--pixelcam-compare-muted, #6f6a68);
    font-size: 13px;
    font-weight: 600;
    margin-right: auto;
}

#br_popup .br_new_compare_block .br_top_table,
#br_popup .br_new_compare_block .br_new_compare {
    width: 100% !important;
}

#br_popup .br_new_compare_block .br_main_top {
    /* The grid already reserves the 220px comparison-label rail. */
    margin-left: 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
}

#br_popup .br_new_compare_block .br_top_table table {
    border-collapse: separate !important;
    border-spacing: 16px 0 !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    width: 100% !important;
}

#br_popup .br_new_compare_block .br_top_table table > tbody > tr > td:first-child {
    display: none !important;
}

#br_popup .br_new_compare_block .pixelcam-compare-product-card {
    box-sizing: border-box !important;
    max-width: none !important;
    min-width: 0 !important;
    width: auto !important;
}

#br_popup .br_new_compare_block .pixelcam-compare-product-card--empty {
    background: #fbf7f5 !important;
}

#br_popup .br_new_compare_block .pixelcam-compare-empty-card {
    min-height: clamp(304px, 32vw, 360px);
}

#br_popup .br_new_compare_block .pixelcam-compare-product-card + .pixelcam-compare-product-card {
	border-left-color: #e2d5cf !important;
}

#br_popup .br_new_compare_block .pixelcam-compare-empty {
	color: var(--pixelcam-compare-muted, #6f6a68);
	display: inline-block;
	font-weight: 600;
}

#br_popup .br_new_compare_block .pixelcam-compare-card-media {
    height: clamp(172px, 19vw, 220px);
}

#br_popup .br_new_compare_block .pixelcam-compare-card-media img {
    height: clamp(156px, 17vw, 204px) !important;
    max-height: clamp(156px, 17vw, 204px) !important;
}

#br_popup .br_new_compare_block .br_right_table {
    margin-left: 220px !important;
    width: calc(100% - 220px) !important;
}

#br_popup .br_new_compare_block .br_right_table table {
    border-collapse: separate !important;
    border-spacing: 16px 0 !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    width: 100% !important;
}

#br_popup .br_new_compare_block .br_right_table th,
#br_popup .br_new_compare_block .br_right_table td {
    min-width: 0 !important;
    width: auto !important;
}

@media (max-width: 767px) {
    #br_popup .br_new_compare_block_wrap {
        --pixelcam-compare-column: 220px;
    }

    #br_popup .br_popup_wrapper {
        height: calc(100dvh - 16px) !important;
        width: calc(100vw - 16px) !important;
    }

    #br_popup .br_popup_wrapper .popup_animation {
        border-radius: 16px;
        padding: 54px 10px calc(16px + env(safe-area-inset-bottom)) !important;
    }

    #br_popup .br_popup_close {
        right: 8px;
        top: 8px;
    }

    #br_popup .br_new_compare_block .br_main_top {
        margin-left: 0 !important;
        overflow-x: auto !important;
        width: 100% !important;
    }

    #br_popup .br_new_compare_block .br_top_table table {
	border-spacing: 12px 0 !important;
        min-width: max-content !important;
        width: max-content !important;
    }

    #br_popup .br_new_compare_block .pixelcam-compare-product-card {
        max-width: 220px !important;
        min-width: 220px !important;
        width: 220px !important;
    }

    #br_popup .br_new_compare_block .pixelcam-compare-card {
        min-height: 304px;
        padding: 12px 12px 11px !important;
    }

    #br_popup .br_new_compare_block .pixelcam-compare-empty-card {
        min-height: 304px;
        padding: 12px !important;
    }

    #br_popup .pixelcam-compare-toolbar-status {
        flex-basis: 100%;
        margin-bottom: 2px;
    }

    #br_popup .br_new_compare_block .pixelcam-compare-card-media {
        height: 142px;
        margin-bottom: 9px !important;
    }

    #br_popup .br_new_compare_block .pixelcam-compare-card-media img {
        height: 130px !important;
        max-height: 130px !important;
    }

    #br_popup .br_new_compare_block .br_right_table {
        margin-left: 148px !important;
        width: calc(100% - 148px) !important;
    }

    #br_popup .br_new_compare_block .br_right_table table {
	border-spacing: 12px 0 !important;
        min-width: max-content !important;
        width: max-content !important;
    }

    #br_popup .br_new_compare_block .br_right_table th,
    #br_popup .br_new_compare_block .br_right_table td {
        min-width: 220px !important;
        width: 220px !important;
    }
}

/* -------------------------------------------------------------------------
 * Compare page polish
 * Keep the empty label rail intentional, make product columns feel like one
 * aligned row, and neutralise the vendor table's auto-expanding label table.
 * ------------------------------------------------------------------------- */
body .br_new_compare_block .pixelcam-compare-header {
    border-bottom: 1px solid var(--pc-compare-border);
    margin-bottom: 16px !important;
    padding: 0 4px 20px !important;
}

body .br_new_compare_block .pixelcam-compare-header-count {
    align-self: flex-end;
    color: var(--pc-compare-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: .01em;
    padding-bottom: 3px;
}

body .br_new_compare_block .br_top_table .br_main_top {
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr);
    margin-left: 0 !important;
    overflow: visible !important;
    width: 100% !important;
}

body .br_new_compare_block .br_top_table .br_main_top > table {
    grid-column: 2;
    grid-row: 1;
    min-width: 0 !important;
    table-layout: fixed !important;
    width: 100% !important;
}

body .br_new_compare_block .pixelcam-compare-top-rail {
    align-items: flex-start;
    background: var(--pixelcam-compare-label);
    border: 1px solid var(--pc-compare-border);
    border-right: 0;
    border-radius: var(--pc-compare-radius-md) 0 0 var(--pc-compare-radius-md);
    color: var(--pc-compare-muted);
    display: flex !important;
    flex-direction: column;
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
    min-height: 100%;
    padding: 24px 20px !important;
    position: relative;
}

body .br_new_compare_block .pixelcam-compare-top-rail::after {
    background: var(--pc-compare-border-strong);
    content: '';
    height: 28px;
    left: 20px;
    position: absolute;
    top: 24px;
    width: 2px;
}

body .br_new_compare_block .pixelcam-compare-top-rail span {
    color: var(--pc-compare-accent-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    margin: 0 0 6px !important;
    padding-left: 12px !important;
    text-transform: uppercase;
}

body .br_new_compare_block .pixelcam-compare-top-rail strong {
    color: var(--pc-compare-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    padding-left: 12px !important;
}

body .br_new_compare_block .pixelcam-compare-top-rail small {
    color: var(--pc-compare-muted);
    font-size: 12px;
    line-height: 1.45;
    margin-top: 8px !important;
    padding-left: 12px !important;
}

body .br_new_compare_block .pixelcam-compare-top-rail::after {
    height: 76px;
    top: 50%;
    transform: translateY(-50%);
}

body .br_new_compare_block .br_top_table .pixelcam-compare-product-card {
    vertical-align: top !important;
}

body .br_new_compare_block .pixelcam-compare-card,
body .br_new_compare_block .pixelcam-compare-empty-card {
    height: 100%;
}

body .br_new_compare_block .pixelcam-compare-card {
    min-height: 430px !important;
}

body .br_new_compare_block .br_left_table {
    max-width: 220px !important;
    table-layout: fixed !important;
    width: 220px !important;
}

body .br_new_compare_block .br_left_table th {
    overflow-wrap: anywhere;
}

body .br_new_compare_block .br_right_table {
    margin-left: 220px !important;
    width: calc(100% - 220px) !important;
}

body .br_new_compare_block .br_right_table tbody tr:not(:has(.br_lined_attribute_right)):nth-child(even) td,
body .br_new_compare_block .br_left_table tr:not(:has(.br_lined_attribute_left)):nth-child(even) th {
    background: #fcfbfa !important;
}

/* The compare page already has a theme-level page title. Keep one heading
 * there and move the useful product count into the action row. The popup
 * keeps its own internal header because it has no page title behind it. */
body .pixelcam-compare-page .pixelcam-compare-header {
    display: none !important;
}

body .pixelcam-compare-page .pixelcam-compare-toolbar {
    margin-top: 16px !important;
}

body .pixelcam-compare-page .pixelcam-compare-toolbar-status {
    color: var(--pc-compare-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    margin-left: auto;
    padding-left: 12px;
}

@media (max-width: 767px) {
    body .br_new_compare_block .pixelcam-compare-header {
        padding-bottom: 16px !important;
    }

    body .br_new_compare_block .pixelcam-compare-toolbar-primary {
        flex: 1 0 100%;
        width: 100%;
    }

    body .br_new_compare_block .pixelcam-compare-toolbar-link {
        flex: 1 1 0;
        width: 0;
    }

    body .br_new_compare_block .br_top_table .br_main_top {
        display: block !important;
        overflow-x: auto !important;
        width: 100% !important;
    }

    body .br_new_compare_block .br_top_table .br_main_top > table {
        min-width: max-content !important;
        table-layout: fixed !important;
        width: max-content !important;
    }

    body .br_new_compare_block .pixelcam-compare-top-rail {
        display: none !important;
    }

    body .br_new_compare_block .pixelcam-compare-card {
        min-height: 326px !important;
    }

    body .br_new_compare_block .br_left_table {
        max-width: 148px !important;
        width: 148px !important;
    }

    body .br_new_compare_block .br_right_table {
        margin-left: 148px !important;
        width: calc(100% - 148px) !important;
    }

    body .pixelcam-compare-page .pixelcam-compare-toolbar-status {
        flex-basis: 100%;
        margin-left: 0;
        padding-left: 0;
        text-align: right;
    }
}

/* Keep product names inside their own comparison column. The storefront
 * theme gives headings a shrink-to-content width, which lets long names
 * overlap the next card in the comparison rail. */
body .br_new_compare_block .pixelcam-compare-card h3 {
    align-self: stretch !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    text-wrap: wrap !important;
    width: 100% !important;
}

body .br_new_compare_block .pixelcam-compare-card h3 a {
    display: block;
    max-width: 100%;
    overflow-wrap: inherit;
}
