/* --- Merged from category_css.blade.php --- */
/* CSS for Category Page - Complete Refined Version */

    :root {
        --versus-primary: #1e4d8b;
        --versus-primary-hover: #153a6b;
        --versus-accent: #d00707;
        --versus-border: #f0f0f0;
        --versus-text-main: #1a1a1a;
        --versus-text-muted: #666;
        --versus-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
        --versus-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    /* Container & Layout */
    .versus-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
        box-sizing: border-box;
        width: 100%;
    }

    .versus-header {
        background: linear-gradient(135deg, #0f2b5b, #1e4d8b);
        color: white;
        padding: 20px 0;
        margin-bottom: 40px;
        width: 100%;
    }

    /* Breadcrumb - RTL/LTR Sensitive */
    .versus-breadcrumb {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 24px;
        font-size: 14px;
    }

    .versus-breadcrumb-item {
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        transition: color 0.2s;
    }

    .versus-breadcrumb-item:hover {
        color: #fff;
    }

    .versus-breadcrumb-separator {
        color: rgba(255, 255, 255, 0.4);
    }

    [dir="rtl"] .versus-breadcrumb-separator {
        transform: scaleX(-1);
    }

    .versus-header-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .versus-title {
        font-size: 38px;
        font-weight: 800;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .versus-subtitle {
        font-size: 17px;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 32px;
    }

    /* Integrated Search Bar Styling */
    .versus-category-search {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .versus-search-wrapper {
        display: flex;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        height: 56px;
        align-items: stretch;
    }

    .versus-search-input {
        flex: 1;
        border: none;
        padding: 0 24px;
        font-size: 16px;
        color: #333;
        outline: none;
        background: transparent;
    }

    .versus-search-button {
        width: 64px;
        background: var(--versus-primary);
        color: white;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
        font-size: 20px;
    }

    .versus-search-button:hover {
        background: var(--versus-primary-hover);
    }

    /* Main Grid & Content Area */
    .versus-page {
        padding-bottom: 80px;
    }

    .versus-main {
        display: flex;
        gap: 32px;
    }

    .versus-sidebar {
        width: 300px;
        flex-shrink: 0;
    }

    .versus-content {
        flex: 1;
        min-width: 0;
    }

    /* Toolbar & View Toggles */
    .versus-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        margin-bottom: 30px;
        background: #fff;
        border-radius: 12px;
        border: 1px solid var(--versus-border);
        position: relative;
        z-index: 10;
        gap: 16px;
    }

    /* Toolbar Integrated Search Styling */
    .versus-toolbar .versus-category-search {
        max-width: 320px;
        margin: 0;
        flex: 1;
        display: flex;
        align-items: center;
    }

    .versus-toolbar .versus-category-search form {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
    }

    .versus-toolbar .versus-search-wrapper {
        height: 38px;
        border: 1px solid var(--versus-border);
        box-shadow: none;
        border-radius: 8px;
        background: #fbfcfd;
        transition: all 0.2s ease;
    }

    .versus-toolbar .versus-search-wrapper:focus-within {
        border-color: var(--versus-primary);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    }

    .versus-toolbar .versus-search-input {
        padding: 0 16px;
        font-size: 13px;
        color: var(--versus-text-main);
    }

    .versus-toolbar .versus-search-button {
        width: 38px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--versus-primary);
        color: white;
        font-size: 13px;
        cursor: pointer;
        transition: background-color 0.2s;
        border: none;
        padding: 0;
        outline: none;
    }

    .versus-toolbar .versus-search-button:hover {
        background: #0a58ca;
    }

    /* RTL/LTR Alignment: Sorting Start, View End */
    [dir="rtl"] .versus-toolbar {
        flex-direction: row;
    }

    [dir="ltr"] .versus-toolbar {
        flex-direction: row;
    }

    .versus-sort-options {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .versus-sort-dropdown {
        position: relative;
        display: flex;
        align-items: center;
    }

    .versus-sort-desktop-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 600;
        color: var(--versus-text-muted);
        white-space: nowrap;
    }

    .versus-sort-desktop-label i {
        color: var(--versus-primary);
        font-size: 16px;
    }

    .versus-sort-dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f5f5f5;
        border: 1px solid var(--versus-border);
        padding: 8px 16px;
        font-size: 14px;
        font-weight: 600;
        color: var(--versus-text-muted);
        cursor: pointer;
        transition: all 0.2s;
        border-radius: 10px;
    }

    .versus-sort-dropdown-toggle:hover {
        background: #eee;
    }

    .versus-sort-dropdown.active .versus-sort-dropdown-toggle {
        border-color: var(--versus-primary);
        color: var(--versus-primary);
    }

    .versus-sort-dropdown-toggle i:first-child {
        color: var(--versus-primary);
        font-size: 16px;
    }

    .versus-sort-current {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .current-sort-label {
        color: var(--versus-primary);
        font-weight: 700;
    }

    .toggle-icon {
        font-size: 10px;
        opacity: 0.5;
        display: none;
        /* Desktop */
    }

    .versus-sort-menu {
        display: flex;
        gap: 8px;
        background: #f5f5f5;
        padding: 4px;
        border-radius: 10px;
        margin-inline-start: 12px;
    }

    .versus-sort-btn {
        border: none;
        background: transparent;
        padding: 6px 16px;
        font-size: 13.5px;
        font-weight: 600;
        color: #555;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s;
        white-space: nowrap;
    }

    .versus-sort-btn:hover {
        color: var(--versus-primary);
        background: rgba(30, 77, 139, 0.05);
    }

    .versus-sort-btn.active {
        background: #fff;
        color: var(--versus-primary);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    /* Responsive Toolbar Wrap */
    @media (max-width: 1200px) {
        .versus-toolbar {
            padding: 12px 16px !important;
            gap: 12px !important;
            flex-wrap: wrap !important;
        }

        .versus-sort-options {
            order: 1 !important;
        }

        .versus-view-options {
            order: 2 !important;
            margin-inline-start: auto !important;
        }

        .versus-toolbar .versus-category-search {
            max-width: 100% !important;
            width: 100% !important;
            order: 3 !important;
            margin-top: 4px !important;
        }
    }

    /* Mobile Responsive Dropdown */
    @media (max-width: 768px) {
        .versus-sort-menu {
            position: absolute;
            top: 100%;
            inset-inline-start: 0;
            margin-top: 8px;
            background: #fff;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            border: 1px solid var(--versus-border);
            flex-direction: column;
            width: 200px;
            padding: 8px;
            display: none;
            /* Hidden until clicked */
            z-index: 100;
            margin-inline-start: 0;
        }

        .versus-sort-dropdown.active .versus-sort-menu {
            display: flex;
        }

        .versus-sort-dropdown.active .toggle-icon {
            transform: rotate(180deg);
        }

        .versus-sort-btn {
            width: 100%;
            text-align: inherit;
            padding: 10px 16px;
        }

        .toggle-icon {
            display: block;
        }

        .current-sort-label {
            display: inline-block;
        }
    }

    .versus-view-options {
        display: flex;
        gap: 4px;
        padding: 4px;
        background: #f5f5f5;
        border-radius: 10px;
    }

    .versus-view-btn {
        width: 38px;
        height: 38px;
        border: none;
        background: transparent;
        color: #777;
        cursor: pointer;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }

    .versus-view-btn i {
        font-size: 16px;
    }

    .versus-view-btn:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    .versus-view-btn.active {
        background: #fff;
        color: var(--versus-primary);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    /* GRID VIEW - REFINED */
    .versus-category-products.versus-category-grid-view {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
        margin-bottom: 40px;
    }

    @media (max-width: 1400px) {
        .versus-category-products.versus-category-grid-view {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 20px;
        }
    }

    @media (max-width: 1200px) {
        .versus-category-products.versus-category-grid-view {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 16px;
        }
    }

    @media (max-width: 992px) {
        .versus-category-products.versus-category-grid-view {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }
    }

    @media (max-width: 576px) {
        .versus-category-products.versus-category-grid-view {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }
    }

    /* Product Card Design */
    .versus-category-product-card {
        background: #fff;
        border: 1px solid var(--versus-border);
        border-radius: 16px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-width: 0;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        position: relative;
        box-sizing: border-box;
    }

    .versus-category-product-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--versus-shadow-md);
        border-color: rgba(30, 77, 139, 0.2);
    }

    /* Uniform Image Sizes */
    .versus-category-product-image {
        width: 100%;
        height: 160px;
        margin-bottom: 16px;
        background: #fff;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .versus-category-product-image a {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        box-sizing: border-box;
    }

    .versus-category-product-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        aspect-ratio: 1/1;
        transition: transform 0.6s ease;
    }

    .versus-category-product-card:hover .versus-category-product-image img {
        transform: scale(1.1);
    }

    /* Compare Button */
    .versus-add-to-compare {
        position: absolute;
        top: 12px;
        inset-inline-start: 12px;
        z-index: 5;
        width: 34px;
        height: 34px;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: var(--versus-shadow-sm);
        transition: all 0.2s;
        padding: 0;
    }

    .versus-add-to-compare:hover {
        background: var(--versus-primary);
        color: #fff;
        border-color: var(--versus-primary);
    }

    .versus-add-to-compare.active {
        background: #28a745;
        border-color: #28a745;
        color: #fff;
    }

    .versus-add-text {
        display: none;
    }

    /* Info & Specs */
    .versus-category-product-title {
        font-size: 15px;
        font-weight: 700;
        margin: 0 0 12px;
        line-height: 1.4;
        height: 42px; /* Fixed height for 2 lines */
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        color: var(--versus-text-main);
    }

    .versus-category-product-title a {
        color: inherit;
        text-decoration: none;
    }

    .versus-category-product-props {
        list-style: none;
        padding: 0;
        margin: 0 0 15px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex: 1;
        min-height: 120px; /* Ensure all cards have space for specs */
        overflow: hidden;
    }

    .versus-category-prop {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: var(--versus-text-muted);
        height: 28px; /* Fixed height for vertical alignment */
        overflow: hidden;
    }

    .versus-category-prop-title {
        display: none;
    }

    .versus-category-prop-value {
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Limit items in Grid View (Max 6) - We now show up to 6 for comparison */
    .versus-category-products.versus-category-grid-view .versus-category-prop:nth-child(n+7) {
        display: none !important;
    }

    .versus-category-prop-icon {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--versus-primary);
        background: rgba(30, 77, 139, 0.05);
        border-radius: 6px;
        font-size: 11px;
    }

    .versus-category-prop-value {
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
        letter-spacing: -0.2px;
    }

    /* Bottom / Price Area */
    .versus-category-product-bottom {
        border-top: 1px solid var(--versus-border);
        padding-top: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center children horizontally */
        gap: 12px;
        margin-top: auto;
        /* Push to bottom */
    }

    .versus-category-list-view .versus-category-product-bottom {
        margin-top: 0;
        align-items: inherit;
        /* Reset for list view layout */
    }

    .versus-category-product-score {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Center stars and score */
        gap: 8px;
    }

    .versus-category-score-stars {
        display: flex;
        gap: 2px;
    }

    .versus-category-star {
        width: 14px;
        height: 14px;
        color: #ddd;
    }

    .versus-category-star.active {
        color: #ffc107;
    }

    .versus-category-score-value {
        font-weight: 700;
        font-size: 13px;
    }

    .versus-category-price {
        font-size: 19px;
        color: var(--versus-accent);
        font-weight: 800;
        text-align: start;
        display: flex;
        align-items: baseline;
        gap: 6px;
    }

    .versus-category-currency {
        font-size: 13px;
        color: var(--versus-text-muted);
        font-weight: normal;
    }

    .versus-category-grid-view .versus-category-prop-list-only {
        display: none;
    }

    .versus-category-grid-view .versus-category-price-list {
        display: none;
    }

    /* LIST VIEW LAYOUT */
    .versus-category-products.versus-category-list-view {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .versus-category-list-view .versus-category-product-card {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 10px;
        align-items: center;
        padding: 24px;
        position: relative;
    }

    .versus-category-list-view .versus-category-product-bottom {
        display: none;
    }

    .versus-category-list-view .versus-category-product-top {
        display: contents;
    }

    .versus-category-list-view .versus-category-product-image {
        width: 100%;
        height: 160px;
        margin-bottom: 0;
        flex-shrink: 0;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .versus-category-list-view .versus-category-product-info {
        text-align: start;
    }

    .versus-category-list-view .versus-category-product-title {
        font-size: 18px;
        font-weight: bold;
        height: auto;
        -webkit-line-clamp: 1;
        margin-bottom: 8px;
    }

    .versus-category-list-view .versus-category-meta-row {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
        flex-wrap: wrap;
    }

    .versus-category-list-view .versus-category-product-props {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
        margin-top: 16px;
        min-height: auto;
    }

    .versus-category-list-view .versus-category-prop {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        height: auto;
    }

    .versus-category-list-view .versus-category-prop-icon {
        background: #f0f4f8;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: var(--versus-primary);
    }

    .versus-category-list-view .versus-category-prop-value {
        font-size: 11px;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: var(--versus-text-main);
        width: 100%;
        margin-top: 4px;
    }

    /* Score and Price Styles */
    .versus-category-list-view .versus-category-score-list {
        font-size: 11px;
        color: var(--versus-text-muted);
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 0;
        background: #f8fbff;
        padding: 4px 10px;
        border-radius: 6px;
        border: 1px solid #e1efff;
        width: fit-content;
    }

    .versus-category-list-view .versus-category-price-list {
        display: flex;
        align-items: baseline;
        gap: 6px;
        background: transparent;
        padding: 0;
        border: none;
        width: fit-content;
    }

    .versus-category-list-view .versus-category-price-value {
        font-size: 19px;
        font-weight: 800;
        color: var(--versus-accent);
    }

    .versus-category-list-view .versus-category-price-currency {
        font-size: 12px;
        color: var(--versus-text-muted);
        font-weight: normal;
    }

    .versus-category-grid-view .versus-category-score-list {
        display: none;
    }

    .versus-category-list-view .versus-category-score-grid {
        display: none;
    }

    .versus-category-list-view .versus-category-score-list {
        font-size: 11px;
        color: var(--versus-text-muted);
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 0;
        background: #f8fbff;
        padding: 4px 10px;
        border-radius: 6px;
        width: fit-content;
        border: 1px solid #e1efff;
    }

    .versus-category-list-view .versus-category-star {
        width: 9px;
        height: 9px;
    }

    .versus-category-list-view .versus-category-score-value {
        font-weight: 700;
        color: var(--versus-text-main);
    }

    @media (max-width: 768px) {
        .versus-main {
            flex-direction: column;
        }

        .versus-sidebar {
            width: 100%;
        }

        .versus-category-list-view .versus-category-product-card {
            display: flex !important;
            flex-direction: column !important;
            align-items: stretch !important;
            padding: 16px !important;
        }

        .versus-category-list-view .versus-category-product-top {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            gap: 16px !important;
            width: 100% !important;
        }

        .versus-category-list-view .versus-category-product-image {
            width: 100% !important;
            max-width: 200px !important;
            height: 180px !important;
            padding-top: 0 !important;
            margin: 0 auto !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .versus-category-list-view .versus-category-product-info {
            width: 100% !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }

        .versus-category-list-view .versus-category-product-title {
            text-align: center !important;
            font-size: 16px !important;
            margin-bottom: 12px !important;
        }

        .versus-category-list-view .versus-category-meta-row {
            justify-content: center !important;
            width: 100% !important;
            gap: 16px !important;
            margin-bottom: 16px !important;
        }

        .versus-category-list-view .versus-category-product-bottom {
            width: 100% !important;
            border-inline-start: 0 !important;
            border-top: 1px solid var(--versus-border) !important;
            padding: 16px 0 0 !important;
            margin: 16px 0 0 !important;
            text-align: center !important;
        }
        
        .versus-category-list-view .versus-category-product-props {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 12px !important;
            width: 100% !important;
            text-align: center !important;
            margin-top: 12px !important;
        }

        .versus-category-list-view .versus-category-prop {
            align-items: center !important;
            text-align: center !important;
        }

        .versus-category-list-view .versus-category-prop-header {
            justify-content: center !important;
        }
    }

    /* PAGINATION */
    .versus-pagination {
        display: flex;
        justify-content: center;
        margin-top: 60px;
    }

    .versus-pagination-list {
        display: flex;
        gap: 10px;
        list-style: none;
        padding: 0;
    }

    .versus-page-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        height: 44px;
        padding: 0 14px;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 12px;
        color: #444;
        text-decoration: none;
        font-weight: 700;
        transition: all 0.2s;
    }

    .versus-page-link:hover {
        border-color: var(--versus-primary);
        color: var(--versus-primary);
        background: #f8fbff;
    }

    .versus-page-link.active {
        background: var(--versus-primary);
        color: #fff;
        border-color: var(--versus-primary);
        box-shadow: 0 5px 15px rgba(30, 77, 139, 0.2);
    }

    /* CONTENT SECTION (READ MORE) */
    .versus-content-section {
        background: #fff;
        border-radius: 20px;
        padding: 40px;
        margin-top: 60px;
        margin-bottom: 60px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        border: 1px solid var(--versus-border);
        width: 100%;
        box-sizing: border-box;
    }

    .versus-content-wrapper {
        position: relative;
    }

    .versus-content-checkbox {
        display: none;
    }

    .versus-content-body {
        max-height: 280px;
        overflow: hidden;
        transition: max-height 0.8s ease;
        position: relative;
        line-height: 1.8;
    }

    .versus-content-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 120px;
        background: linear-gradient(transparent, #fff);
        pointer-events: none;
    }

    .versus-content-button {
        display: block;
        margin: 32px auto 0;
        padding: 12px 40px;
        border: 2px solid var(--versus-accent);
        color: var(--versus-accent);
        background: transparent;
        border-radius: 40px;
        cursor: pointer;
        font-weight: 800;
        transition: all 0.2s;
        text-align: center;
    }

    .versus-content-button:hover {
        background: var(--versus-accent);
        color: #fff;
    }

    .versus-content-checkbox:checked+.versus-content-body {
        max-height: 20000px;
    }

    .versus-content-checkbox:checked+.versus-content-body .versus-content-overlay {
        display: none;
    }

    .versus-content-button::before {
        content: attr(data-more);
    }

    .versus-content-checkbox:checked~.versus-content-button::before {
        content: attr(data-less);
    }

    /* Premium Specifications List View Layout */
    .versus-category-list-view .versus-category-prop {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
        height: auto;
        width: 100%;
        overflow: hidden;
    }

    .versus-category-list-view .versus-category-prop-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .versus-category-list-view .versus-category-prop-icon {
        background: #f0f4f8;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        color: var(--versus-primary);
        flex-shrink: 0;
    }

    .versus-category-list-view .versus-category-prop-title {
        display: block !important;
        font-size: 9px !important;
        line-height: 1.1;
        color: var(--versus-text-muted);
        opacity: 0.85;
        text-transform: uppercase;
        font-weight: 700;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100% - 30px);
    }

    .versus-category-list-view .versus-category-prop-value {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: var(--versus-text-main);
        width: 100%;
        margin-top: 2px;
    }

    /* Expert Review Accordion Styles */
    .versus-category-product-review-accordion {
        grid-column: 1 / -1 !important; /* Spans both columns in List View */
        width: 100%;
        margin-top: 16px;
        box-sizing: border-box;
        text-align: start;
        display: block;
    }

    .versus-category-review-toggle {
        display: none !important; /* Hide by default in Grid View */
    }

    .versus-category-list-view .versus-category-review-toggle {
        display: flex !important; /* Show only in List View */
        margin-inline-start: auto; /* Push to far right in LTR, far left in RTL */
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: #0d6efd !important; /* Beautiful blue arrow to match premium style */
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        outline: none !important;
        font-size: 20px;
        padding: 0;
    }

    .versus-category-list-view .versus-category-review-toggle:hover {
        color: #0a58ca !important;
        transform: scale(1.1);
    }

    .versus-category-review-collapse {
        margin-top: 12px;
        background: #fcfdfe;
        border: 1px solid #eef4f9;
        border-radius: 12px;
        padding: 16px 20px;
        box-sizing: border-box;
        font-size: 13px;
        line-height: 1.6;
        color: var(--versus-text-muted);
        animation: versusFadeIn 0.3s ease-out;
        width: 100%;
    }

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

    .versus-category-review-content {
        font-size: 13px;
        line-height: 1.6;
        color: var(--versus-text-muted);
        text-align: justify;
        white-space: pre-line; /* Preserves paragraph line breaks beautifully */
    }

    .versus-category-review-content p {
        margin-bottom: 12px;
    }

    .versus-category-review-content p:last-child {
        margin-bottom: 0;
    }

    /* Keep accordion visible ONLY in List View */
    .versus-category-grid-view .versus-category-product-review-accordion {
        display: none !important;
    }

    /* Shimmer Skeleton Loader */
    .versus-skeleton-card {
        background: #fff;
        border: 1px solid var(--versus-border);
        border-radius: 16px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 450px;
        box-sizing: border-box;
        position: relative;
        overflow: hidden;
    }

    .versus-skeleton-top {
        display: flex;
        flex-direction: column;
        gap: 16px;
        flex: 1;
    }

    .versus-skeleton-image {
        width: 100%;
        height: 160px;
        border-radius: 12px;
        background: #f0f0f0;
    }

    .versus-skeleton-info {
        display: flex;
        flex-direction: column;
        gap: 12px;
        flex: 1;
    }

    .versus-skeleton-title {
        height: 20px;
        width: 70%;
        border-radius: 4px;
        background: #f0f0f0;
    }

    .versus-skeleton-props {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 8px;
    }

    .versus-skeleton-prop {
        height: 14px;
        width: 100%;
        border-radius: 4px;
        background: #f0f0f0;
    }

    .versus-skeleton-prop:nth-child(even) {
        width: 85%;
    }

    .versus-skeleton-bottom {
        border-top: 1px solid var(--versus-border);
        padding-top: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: auto;
    }

    .versus-skeleton-score {
        height: 14px;
        width: 50%;
        border-radius: 4px;
        background: #f0f0f0;
    }

    .versus-skeleton-price {
        height: 22px;
        width: 60%;
        border-radius: 6px;
        background: #f0f0f0;
    }

    /* List View Skeleton Adjustments */
    .versus-category-list-view .versus-skeleton-card {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 20px;
        align-items: center;
        padding: 24px;
        min-height: auto;
    }

    .versus-category-list-view .versus-skeleton-top {
        display: contents;
    }

    .versus-category-list-view .versus-skeleton-image {
        width: 100%;
        height: 160px;
        margin-bottom: 0;
    }

    .versus-category-list-view .versus-skeleton-info {
        text-align: start;
        width: 100%;
    }

    .versus-category-list-view .versus-skeleton-title {
        height: 24px;
        width: 40%;
        margin-bottom: 8px;
    }

    .versus-category-list-view .versus-skeleton-props {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 12px;
        margin-top: 16px;
        width: 100%;
    }

    .versus-category-list-view .versus-skeleton-prop {
        height: 38px;
        width: 100%;
        border-radius: 8px;
    }

    .versus-category-list-view .versus-skeleton-bottom {
        display: none;
    }

    /* Shimmer Animation */
    .shimmer {
        position: relative;
        overflow: hidden;
        background-color: #f6f7f8;
    }

    .shimmer::after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        transform: translateX(-100%);
        background-image: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.2) 20%,
            rgba(255, 255, 255, 0.5) 60%,
            rgba(255, 255, 255, 0) 100%
        );
        animation: shimmer 1.5s infinite;
        content: '';
    }

    @keyframes shimmer {
        100% {
            transform: translateX(100%);
        }
    }

/* --- Merged from category_filter_css.blade.php --- */
.versus-notification {
        position: fixed;
        bottom: 24px;
        right: 24px;
        padding: 12px 24px;
        border-radius: 8px;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        color: #333;
        font-size: 14px;
        transform: translateY(100px);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .versus-notification.show {
        transform: translateY(0);
        opacity: 1;
    }

    .versus-notification.success {
        background: #4CAF50;
        color: white;
    }

    .versus-notification.warning {
        background: #FFC107;
        color: #333;
    }

    .versus-notification.error {
        background: #F44336;
        color: white;
    }

    .versus-filter-options {
        max-height: 300px;
        overflow-y: auto;
        padding-right: 4px;
        margin-top: 16px;
    }

    .versus-filter-option {
        display: flex;
        align-items: center;
        padding: 8px 12px;
        border-radius: 8px;
        transition: background-color 0.2s;
        cursor: pointer;
        margin-bottom: 4px;
    }

    .versus-filter-option:hover {
        background-color: rgba(30, 77, 139, 0.1);
    }

    .versus-filter-label {
        flex: 1;
        margin: 0 12px;
        font-size: 14px;
        color: #333;
    }

    .versus-filter-count {
        background: #f0f4f8;
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 12px;
        color: #666;
        min-width: 32px;
        text-align: center;
    }

    .versus-no-results,
    .versus-no-brands {
        text-align: center;
        padding: 24px 16px;
        color: #666;
        font-size: 14px;
        background: #f8f9fa;
        border-radius: 8px;
        margin-top: 16px;
    }

    .versus-filter-search {
        position: relative;
        margin-top: 16px;
    }

    .versus-filter-search input {
        width: 100%;
        padding: 10px 36px 10px 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 14px;
        transition: all 0.3s;
    }

    .versus-filter-search input:focus {
        border-color: #1e4d8b;
        box-shadow: 0 0 0 3px rgba(30, 77, 139, 0.1);
        outline: none;
    }

    .versus-search-icon {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }

    .versus-search-icon svg {
        width: 16px;
        height: 16px;
    }

    @media (max-width: 768px) {
        .versus-filter-options {
            max-height: 250px;
        }

        .versus-filter-option {
            padding: 6px 10px;
        }

        .versus-filter-label {
            font-size: 13px;
        }

        .versus-filter-count {
            font-size: 11px;
            padding: 2px 6px;
        }
    }

    .versus-sidebar {
        width: 280px;
        flex-shrink: 0;
    }

    /* Filter Wrapper Styles - Shared between Sidebar and Mobile Drawer */
    .versus-filters-wrapper {
        background: #fff;
        border-radius: 16px;
        border: 1px solid var(--versus-border);
        overflow: hidden;
    }

    .versus-filters-header {
        padding: 20px;
        border-bottom: 1px solid var(--versus-border);
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f8fbff;
    }

    .versus-filters-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        color: var(--versus-primary);
    }

    .versus-filters-clear {
        background: none;
        border: none;
        color: var(--versus-primary);
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 4px;
        transition: background 0.2s;
    }

    .versus-filter-section {
        border-bottom: 1px solid var(--versus-border);
    }

    .versus-filter-section:last-child {
        border-bottom: none;
    }

    .versus-filter-title {
        padding: 16px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        transition: background 0.2s;
    }

    .versus-filter-title:hover {
        background: #fcfcfc;
    }

    .versus-filter-group-header {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 700;
        font-size: 15px;
        color: var(--versus-text-main);
    }

    .versus-filter-group-icon {
        width: 32px;
        height: 32px;
        background: rgba(30, 77, 139, 0.08);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--versus-primary);
    }

    .versus-filter-title i.fa-chevron-down {
        font-size: 12px;
        color: #999;
        transition: transform 0.3s;
    }

    .versus-filter-section.active .versus-filter-title i.fa-chevron-down {
        transform: rotate(180deg);
    }

    .versus-filter-content {
        padding: 0;
        display: none;
    }

    .versus-filter-section.active .versus-filter-content {
        display: block;
    }

    /* Property Styling */
    .versus-property-section {
        padding: 0 20px;
        border-bottom: 1px solid #f9f9f9;
    }

    .versus-property-title {
        padding: 12px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-size: 14px;
        font-weight: 700;
        color: #555;
    }

    .versus-property-title i {
        font-size: 10px;
        color: #ccc;
        transition: transform 0.3s;
    }

    .versus-property-section.active .versus-property-title i {
        transform: rotate(180deg);
    }

    .versus-property-values {
        display: none;
        padding: 10px 0 20px;
    }

    .versus-property-section.active .versus-property-values {
        display: block;
    }

    .versus-price-range {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
    }

    .versus-price-input {
        flex: 1;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 13px;
    }

    .versus-price-separator {
        color: #666;
        font-size: 13px;
    }

    .versus-price-apply {
        width: 100%;
        padding: 8px;
        background: #1e4d8b;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 13px;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .versus-price-apply:hover {
        background: #0f2b5b;
    }

    .versus-filter-search {
        margin-bottom: 12px;
    }

    .versus-filter-search-input {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 13px;
    }

    .versus-filter-items {
        max-height: 200px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 4px;
    }

    .versus-filter-items::-webkit-scrollbar {
        width: 4px;
    }

    .versus-filter-items::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .versus-filter-items::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

    .versus-filter-item {
        display: flex;
        align-items: center;
        padding: 6px 0;
        cursor: pointer;
        user-select: none;
    }

    .versus-filter-checkbox {
        width: 18px;
        height: 18px;
        border: 2px solid #ddd;
        border-radius: 4px;
        margin-left: 8px;
        position: relative;
        transition: all 0.2s;
    }

    .versus-filter-item input:checked + .versus-filter-checkbox {
        background: #1e4d8b;
        border-color: #1e4d8b;
    }

    .versus-filter-item input:checked + .versus-filter-checkbox::after {
        content: '';
        position: absolute;
        left: 5px;
        top: 2px;
        width: 4px;
        height: 8px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    .versus-filter-label {
        flex: 1;
        font-size: 13px;
        color: #333;
    }

    .versus-filter-count {
        font-size: 12px;
        color: #666;
    }

    .versus-filter-item input {
        display: none;
    }

    @media (max-width: 992px) {
        .versus-main {
            flex-direction: column;
        }

        .versus-sidebar {
            width: 100%;
            margin-bottom: 24px;
        }

        /* Hide the original sidebar on mobile as we use the cloned drawer */
        .versus-sidebar {
            display: none !important;
        }

        .versus-filters-wrapper {
            position: static;
        }
    }

    .versus-mobile-filter-btn {
        display: none;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: var(--versus-primary);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        margin-bottom: 24px;
        width: 100%;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(30, 77, 139, 0.2);
    }

    .versus-mobile-filter-btn i {
        font-size: 16px;
    }

    @media (max-width: 992px) {
        .versus-mobile-filter-btn {
            display: flex;
        }
    }

    .versus-active-filters {
        padding: 12px 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .versus-active-filters-content {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .versus-active-filter-tag {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 10px;
        background: #f0f4f8;
        border-radius: 16px;
        font-size: 12px;
        color: #1e4d8b;
        cursor: pointer;
        transition: all 0.2s;
    }

    .versus-active-filter-tag:hover {
        background: #e2e8f0;
    }

    .versus-active-filter-tag i {
        font-size: 10px;
        color: #666;
    }

    .versus-filter-group-header {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .versus-filter-group-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f0f4f8;
        border-radius: 6px;
        color: #1e4d8b;
    }

    .versus-property-section {
        margin: 12px 0;
        padding-right: 12px;
        border-right: 2px solid #f0f4f8;
    }

    .versus-property-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        cursor: pointer;
        transition: all 0.2s;
    }

    .versus-property-title span {
        font-size: 13px;
        color: #666;
    }

    .versus-property-title i {
        font-size: 10px;
        color: #999;
        transition: transform 0.2s;
    }

    .versus-property-section.active .versus-property-title i {
        transform: rotate(180deg);
    }

    .versus-property-values {
        display: none;
        padding: 8px 0;
    }

    .versus-property-section.active .versus-property-values {
        display: block;
    }

    .versus-filter-items {
        max-height: 150px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #ccc #f1f1f1;
    }

    .versus-filter-items::-webkit-scrollbar {
        width: 4px;
    }

    .versus-filter-items::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .versus-filter-items::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

    .versus-filter-items::-webkit-scrollbar-thumb:hover {
        background: #999;
    }

    .versus-filter-show-more,
    .versus-filter-show-more-properties,
    .versus-filter-show-more-groups {
        display: block;
        width: 100%;
        padding: 8px;
        margin-top: 12px;
        background: #f8f9fa;
        border: 1px dashed #ddd;
        border-radius: 8px;
        color: #1e4d8b;
        font-size: 13px;
        cursor: pointer;
        transition: all 0.2s;
        text-align: center;
        font-weight: 500;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }

    .versus-filter-show-more:hover,
    .versus-filter-show-more-properties:hover,
    .versus-filter-show-more-groups:hover {
        background: #f0f4f8;
        border-color: #1e4d8b;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    }

    .versus-filter-show-more i,
    .versus-filter-show-more-properties i,
    .versus-filter-show-more-groups i {
        font-size: 11px;
    }

    .versus-filters-apply {
        background: #1e4d8b;
        color: white;
        border: none;
        padding: 12px;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        box-shadow: 0 4px 12px rgba(30, 77, 139, 0.2);
    }

    .versus-filters-apply:hover {
        background: #153a6b;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(30, 77, 139, 0.3);
    }

    /* Mobile Filter Drawer Styles */
    .versus-filter-drawer {
        position: fixed;
        top: 0;
        inset-inline-start: -100%;
        width: 100%;
        max-width: 320px;
        height: 100%;
        background: #fff;
        z-index: 9999;
        transition: inset-inline-start 0.3s cubic-bezier(0, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        box-shadow: 0 0 25px rgba(0,0,0,0.15);
    }

    .versus-filter-drawer.active {
        inset-inline-start: 0;
    }

    .versus-filter-drawer-header {
        padding: 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f8fbff;
    }

    .versus-filter-drawer-title {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        color: var(--versus-primary);
    }

    .versus-filter-drawer-close {
        background: none;
        border: none;
        padding: 5px;
        cursor: pointer;
        color: #666;
    }

    .versus-filter-drawer-content {
        flex: 1;
        overflow-y: auto;
        padding: 0;
        background: #fff;
    }

    .versus-filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 9998;
        display: none;
        backdrop-filter: blur(3px);
    }

    .versus-filter-overlay.active {
        display: block;
    }

    /* Accessibility & Touch Targets */
    .versus-filter-item, 
    .versus-filter-title, 
    .versus-property-title {
        min-height: 44px; /* Apple/Google recommended minimum touch target */
        padding: 10px 0;
    }

    .versus-filter-label {
        font-size: 14px;
        line-height: 1.4;
    }

    .versus-filter-checkbox {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    /* Hide drawer on desktop to prevent duplication */
    @media (min-width: 993px) {
        .versus-filter-drawer, .versus-filter-overlay {
            display: none !important;
        }
    }

    /* Responsive adjustments */
    @media (max-width: 992px) {
        .versus-mobile-filter-btn {
            display: flex;
            width: 100%;
            justify-content: center;
            padding: 14px;
            font-weight: 700;
            background: var(--versus-primary);
            color: #fff;
            border-radius: 12px;
            margin-bottom: 24px;
            border: none;
            box-shadow: 0 4px 12px rgba(30, 77, 139, 0.2);
        }
    }