/* =================================================
   CATEGORY PRODUCTS PAGE — ENHANCED UI
   Scoped to .view-id-category_products.view-display-id-page_1
   and shared with brand products page.
   ================================================= */

/* =================================================
   SECTION 1: CATEGORY HERO BANNER
   ================================================= */

.cat-hero {
    background: linear-gradient(135deg, #1a0000 0%, #3d0000 50%, #c40000 100%);
    padding: 26px 28px;
    margin-top: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.cat-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    pointer-events: none;
}

.cat-hero::after {
    content: '';
    position: absolute;
    bottom: -60%;
    right: 20%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.cat-hero__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Content — full width now that icon and badges are removed */
.cat-hero__content {
    flex: 1;
    min-width: 0;
}

.cat-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.cat-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cat-hero__breadcrumb a:hover {
    color: #ffffff;
}

.cat-hero__sep {
    opacity: 0.4;
}

.cat-hero__title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.cat-hero__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
    max-width: 520px;
}

/* Badge strip */
.cat-hero__badge-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.cat-hero__badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    backdrop-filter: blur(6px);
}

/* =================================================
   SECTION 2: ACTIVE FILTER CHIPS
   ================================================= */

.cat-filter-chips {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff8f8;
    border: 1px solid #f5d5d5;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 4px;
    animation: fadeSlideIn 0.25s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cat-filter-chips__label {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cat-filter-chips__list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

/* Individual chip */
.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid #c40000;
    border-radius: 20px;
    padding: 4px 10px 4px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #c40000;
    cursor: default;
    transition: all 0.2s ease;
    animation: chipPop 0.2s ease;
}

@keyframes chipPop {
    0%   { transform: scale(0.8); opacity: 0; }
    70%  { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.cat-chip__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #c40000;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.cat-chip__remove:hover {
    background: #a00000;
    transform: scale(1.15);
}

.cat-filter-chips__clear {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cat-filter-chips__clear:hover {
    border-color: #c40000;
    color: #c40000;
    background: #fff8f8;
}

/* =================================================
   SECTION 3: RESULTS TOOLBAR (category variant)
   ================================================= */

.cat-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f7f7f7;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 10px 16px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.cat-results-toolbar__count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.cat-results-toolbar__count svg {
    color: #c40000;
    flex-shrink: 0;
}

.cat-count-value {
    color: #c40000;
}

.cat-results-toolbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cat-results-toolbar__sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-sort-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    margin: 0;
}

.cat-sort-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.cat-sort-select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 7px 34px 7px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
    min-width: 160px;
}

.cat-sort-select:focus,
.cat-sort-select:hover {
    border-color: #c40000;
}

.cat-sort-chevron {
    position: absolute;
    right: 10px;
    pointer-events: none;
    color: #666;
}

/* =================================================
   SECTION 4: GRID / LIST VIEW TOGGLE
   ================================================= */

.cat-view-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #ebebeb;
    border-radius: 8px;
    padding: 3px;
}

/* Also style the xp-results-toolbar version */
.xp-results-toolbar .cat-view-toggle {
    background: #ebebeb;
}

.cat-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat-view-btn:hover {
    color: #c40000;
    background: rgba(196, 0, 0, 0.08);
}

.cat-view-btn.active {
    background: #ffffff;
    color: #c40000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* =================================================
   SECTION 5: LIST VIEW LAYOUT
   ================================================= */

.product-grid.list-view {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
}

.product-grid.list-view .product-grid__item {
    width: 100%;
}

.product-grid.list-view .product-card {
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px;
    padding: 14px 18px;
}

.product-grid.list-view .product-card__image-wrapper {
    width: 110px;
    height: 110px;
    min-width: 110px;
    aspect-ratio: 1/1;
    flex-shrink: 0;
}

.product-grid.list-view .product-card__content {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.product-grid.list-view .product-card__title {
    -webkit-line-clamp: 1;
    line-clamp: 1;
    flex: 1;
    min-width: 160px;
    font-size: 15px;
}

.product-grid.list-view .product-card__price-row {
    margin: 0;
    align-items: center;
    flex-shrink: 0;
    min-width: 120px;
}

.product-grid.list-view .product-card__action {
    width: auto;
    flex-shrink: 0;
}

.product-grid.list-view .product-card__action .btn-add-to-cart {
    white-space: nowrap;
    width: auto;
    min-width: 120px;
}

/* =================================================
   SECTION 6: PRODUCT CARD — COMPARE CHECKBOX
   ================================================= */

.product-card__image-wrapper {
    position: relative;
}

.product-card__compare-wrap {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.product-card__compare-cb {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.product-card__compare-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid #ddd;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.product-card__compare-badge::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 1.5px solid #aaa;
    border-radius: 3px;
    background: #fff;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.product-card__compare-wrap:hover .product-card__compare-badge {
    border-color: #c40000;
    color: #c40000;
    background: rgba(255, 255, 255, 0.95);
}

.product-card__compare-wrap:hover .product-card__compare-badge::before {
    border-color: #c40000;
}

/* Checked state */
.product-card__compare-cb:checked + .product-card__compare-badge {
    background: #c40000;
    border-color: #c40000;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(196, 0, 0, 0.3);
}

.product-card__compare-cb:checked + .product-card__compare-badge::before {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.6);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Max compare reached — disable unchecked boxes */
.compare-limit-reached .product-card__compare-cb:not(:checked) + .product-card__compare-badge {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

/* =================================================
   SECTION 7: COMPARE DRAWER (sticky bottom)
   ================================================= */

.cat-compare-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: #ffffff;
    border-top: 2px solid #c40000;
    box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.15);
    padding: 12px 20px;
    animation: slideUpDrawer 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpDrawer {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.cat-compare-drawer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cat-compare-drawer__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
    white-space: nowrap;
    flex-shrink: 0;
}

.cat-compare-drawer__label svg {
    color: #c40000;
}

.cat-compare-items {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    flex-wrap: wrap;
}

.cat-compare-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1.5px dashed #ddd;
    border-radius: 8px;
    padding: 6px 14px;
    min-width: 140px;
    min-height: 38px;
    font-size: 12.5px;
    color: #aaa;
    transition: all 0.2s ease;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.cat-compare-slot.filled {
    background: #fff5f5;
    border-color: #c40000;
    border-style: solid;
    color: #222;
    font-weight: 600;
    font-size: 12px;
    justify-content: space-between;
    gap: 8px;
}

.cat-compare-slot__empty {
    font-style: italic;
}

.cat-compare-slot__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.cat-compare-slot__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c40000;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.cat-compare-slot__remove:hover {
    background: #a00000;
}

.cat-compare-drawer__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cat-compare-btn {
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.cat-compare-btn--compare {
    background: #c40000;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(196, 0, 0, 0.25);
}

.cat-compare-btn--compare:hover:not(:disabled) {
    background: #a30000;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(196, 0, 0, 0.35);
}

.cat-compare-btn--compare:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cat-compare-btn--clear {
    background: transparent;
    color: #888;
    border: 1px solid #ddd;
}

.cat-compare-btn--clear:hover {
    border-color: #c40000;
    color: #c40000;
}

/* =================================================
   SECTION 8: PRICE RANGE SLIDER (sidebar)
   ================================================= */

.sidebar-price-filter {
    padding: 0 0 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
}

.sidebar-price-filter__title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #444 !important;
    margin: 0 0 16px !important;
    display: block;
}

.sidebar-price-filter__range-wrap {
    position: relative;
    height: 24px;
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.sidebar-price-filter__track {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: #e5e5e5;
    border-radius: 4px;
}

.sidebar-price-filter__fill {
    position: absolute;
    height: 4px;
    background: #c40000;
    border-radius: 4px;
    pointer-events: none;
}

.sidebar-price-filter__input {
    position: absolute;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    height: 4px;
    outline: none;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar-price-filter__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c40000;
    cursor: pointer;
    pointer-events: auto;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(196, 0, 0, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sidebar-price-filter__input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c40000;
    cursor: pointer;
    pointer-events: auto;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(196, 0, 0, 0.35);
    transition: transform 0.15s ease;
}

.sidebar-price-filter__input::-webkit-slider-thumb:hover,
.sidebar-price-filter__input::-webkit-slider-thumb:active {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(196, 0, 0, 0.45);
}

.sidebar-price-filter__labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.sidebar-price-filter__value {
    font-size: 13px;
    font-weight: 700;
    color: #222;
}

.sidebar-price-filter__separator {
    font-size: 12px;
    color: #aaa;
}

.sidebar-price-filter__apply {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 9px 12px;
    background: #c40000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    text-align: center;
}

.sidebar-price-filter__apply:hover {
    background: #a30000;
    transform: translateY(-1px);
}

/* =================================================
   SECTION 9: BRAND FILTER COUNT BADGES
   ================================================= */

.sidebar_first .form-check {
    justify-content: space-between !important;
}

.filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    background: #f0f0f0;
    color: #888;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.sidebar_first .form-check:hover .filter-count-badge,
.sidebar_first .form-check-input:checked ~ .filter-count-badge {
    background: #c40000;
    color: #fff;
}

/* =================================================
   RESPONSIVE
   ================================================= */

@media (max-width: 1024px) {
    .cat-hero__badge-wrap {
        display: none;
    }
}

@media (max-width: 768px) {
    .cat-hero {
        padding: 20px 20px 18px;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .cat-hero__inner {
        gap: 14px;
    }

    .cat-hero__icon-wrap {
        width: 50px;
        height: 50px;
    }

    .cat-hero__title {
        font-size: 20px;
    }

    .cat-hero__desc {
        font-size: 13px;
    }

    .cat-results-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cat-results-toolbar__right {
        width: 100%;
        justify-content: space-between;
    }

    .cat-sort-select {
        min-width: 130px;
    }

    .cat-compare-drawer__inner {
        gap: 10px;
    }

    .cat-compare-slot {
        min-width: 100px;
    }

    /* List view on mobile: revert to grid */
    .product-grid.list-view {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .product-grid.list-view .product-card {
        flex-direction: column !important;
    }
}

@media (max-width: 480px) {
    .cat-hero__icon-wrap {
        display: none;
    }

    .cat-hero__title {
        font-size: 18px;
    }

    .cat-compare-drawer {
        padding: 10px 12px;
    }

    .cat-compare-items {
        display: none;
    }

    .cat-compare-btn--compare {
        flex: 1;
    }
}

/* =================================================
   XP TOOLBAR — make it flex-end aligned with the toggle
   ================================================= */
.xp-results-toolbar {
    align-items: center;
}

.xp-results-toolbar .cat-view-toggle {
    margin-left: 4px;
}

.filter-count-badge:empty {
    display: none !important;
}

.filter-count-badge.is-zero {
    opacity: 0.5;
}

.product-grid__item.is-hidden,
.product-grid__item:has(.product-card.is-hidden),
.product-card.is-hidden {
    display: none !important;
}

/* =================================================
   SECTION 10: PRODUCT COMPARISON MODAL OVERLAY
   ================================================= */

.cat-compare-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.25s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.cat-compare-modal {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: popUpModal 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popUpModal {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

.cat-compare-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: linear-gradient(135deg, #1a0000 0%, #3d0000 50%, #c40000 100%);
    color: #ffffff;
}

.cat-compare-modal__title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-compare-modal__title-wrap svg {
    color: #ff4d4d;
}

.cat-compare-modal__title {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.cat-compare-modal__close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
}

.cat-compare-modal__close:hover {
    background: #c40000;
    transform: scale(1.1);
}

.cat-compare-modal__body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 75px);
}

.cat-compare-table {
    display: grid;
    gap: 16px;
}

.cat-compare-row {
    display: grid;
    grid-template-columns: 140px repeat(var(--compare-cols, 2), 1fr);
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.cat-compare-row:last-child {
    border-bottom: none;
}

.cat-compare-row--header {
    align-items: start;
    padding-top: 0;
}

.cat-compare-row__label {
    font-size: 13px;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cat-compare-row__col {
    padding: 0 8px;
    font-size: 14px;
    color: #333;
}

.cat-compare-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cat-compare-card__img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 12px;
    mix-blend-mode: multiply;
}

.cat-compare-card__brand {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cat-compare-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
    line-height: 1.3;
}

.cat-compare-card__price {
    font-size: 18px;
    font-weight: 800;
    color: #c40000;
}

.cat-compare-card__badge {
    display: inline-block;
    padding: 3px 8px;
    background: #e6f4ea;
    color: #137333;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 6px;
}

.cat-compare-card__btn {
    margin-top: 14px;
    width: 100%;
    padding: 9px 12px;
    background: #c40000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cat-compare-card__btn:hover {
    background: #a00000;
}
