    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --accent: #f59e0b;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    /* --- GLOBAL RESETS --- */
    body {
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
        color: var(--text-main);
        background-color: var(--bg-light);
        line-height: 1.6;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #0f172a;
        font-weight: 700;
        margin-bottom: 0.75em;
    }

    a {
        color: var(--primary);
        text-decoration: none;
        transition: color 0.2s;
    }

    a:hover {
        color: var(--primary-dark);
    }

    /* --- LAYOUT UTILS --- */
    .ct-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .pl-grid {
        display: grid;
        gap: 24px;
    }

    .pl-card {
        background: white;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 24px;
        border: 1px solid var(--border);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .pl-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    /* --- BUTTONS --- */
    .pl-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.2s;
        cursor: pointer;
        border: none;
    }

    .pl-btn-primary {
        background: var(--primary);
        color: white;
    }

    .pl-btn-primary:hover {
        background: var(--primary-dark);
        color: white;
    }

    .pl-btn-outline {
        background: transparent;
        border: 1px solid var(--border);
        color: var(--text-main);
    }

    .pl-btn-outline:hover {
        border-color: var(--primary);
        color: var(--primary);
        background: #eff6ff;
    }

    .pl-btn-sm {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    /* --- BADGES & CHIPS --- */
    .pl-badge {
        display: inline-block;
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .pl-badge-new {
        background: #dcfce7;
        color: #166534;
    }

    .pl-badge-hot {
        background: #fee2e2;
        color: #991b1b;
    }

    /* --- HEADER / NAV --- */
    .pl-header {
        background: white;
        border-bottom: 1px solid var(--border);
        padding: 15px 0;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .pl-nav-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .pl-logo {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--primary);
        letter-spacing: -1px;
    }

    .pl-main-menu ul {
        display: flex;
        gap: 20px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .pl-main-menu a {
        color: var(--text-main);
        font-weight: 500;
    }

    .pl-main-menu a:hover {
        color: var(--primary);
    }

    /* --- HERO SECTION (Front Page) --- */
    .pl-hero-section {
        background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
        padding: 60px 0;
        text-align: center;
        border-bottom: 1px solid var(--border);
    }

    .pl-hero-title {
        font-size: 3rem;
        font-weight: 900;
        margin-bottom: 20px;
        line-height: 1.1;
        background: linear-gradient(to right, #2563eb, #4f46e5);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .pl-hero-subtitle {
        font-size: 1.25rem;
        color: var(--text-muted);
        max-width: 600px;
        margin: 0 auto 30px;
    }

    /* --- SEARCH BAR --- */
    .pl-search-wrapper {
        max-width: 600px;
        margin: 0 auto;
        position: relative;
    }

    .pl-search-input {
        width: 100%;
        padding: 16px 24px;
        padding-left: 50px;
        border-radius: 50px;
        border: 2px solid var(--border);
        font-size: 1.1rem;
        transition: border-color 0.2s, box-shadow 0.2s;
        outline: none;
    }

    .pl-search-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    }

    .pl-search-icon {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        pointer-events: none;
    }

    /* --- MARKET CARDS --- */
    .pl-market-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
        padding: 40px 0;
    }

    .pl-market-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .pl-market-img {
        height: 180px;
        background: #f1f5f9;
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
    }

    .pl-market-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .pl-market-card:hover .pl-market-img img {
        transform: scale(1.05);
    }

    .pl-market-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .pl-market-meta {
        font-size: 0.9rem;
        color: var(--text-muted);
        margin-bottom: 15px;
        display: flex;
        gap: 15px;
    }

    .pl-market-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    /* --- PHONE CARDS --- */
    .pl-phone-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
        padding: 20px 0;
    }

    .pl-phone-card {
        text-align: center;
        padding: 20px;
        position: relative;
    }

    .pl-phone-thumb {
        height: 200px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pl-phone-thumb img {
        max-height: 100%;
        width: auto;
        object-fit: contain;
    }

    .pl-phone-title {
        font-size: 1.1rem;
        margin-bottom: 5px;
        line-height: 1.3;
    }

    .pl-phone-price {
        color: var(--primary);
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .pl-phone-specs {
        display: flex;
        justify-content: center;
        gap: 10px;
        font-size: 0.8rem;
        color: var(--text-muted);
        flex-wrap: wrap;
    }

    .pl-spec-item {
        background: #f1f5f9;
        padding: 4px 8px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    /* Fix for icons */
    .pl-spec-item svg {
        width: 14px !important;
        height: 14px !important;
        flex-shrink: 0;
        color: #999 !important;
    }

    /* --- FOOTER --- */
    .pl-footer {
        background: white;
        border-top: 1px solid var(--border);
        padding: 40px 0;
        margin-top: 60px;
        text-align: center;
        color: var(--text-muted);
    }

    /* --- RESPONSIVE --- */
    @media (max-width: 768px) {
        .pl-hero-title {
            font-size: 2rem;
        }

        .pl-nav-flex {
            flex-direction: column;
            gap: 15px;
        }

        .pl-hero-inner {
            grid-template-columns: 1fr !important;
        }
    }

    /* --- SINGLE PHONE PAGE ENHANCEMENTS --- */

    .pl-card-box {
        background: white;
        border-radius: 16px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        border: 1px solid #e5e7eb;
        overflow: hidden;
    }

    /* Hero */
    .pl-hero-inner {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 40px;
    }

    @media (max-width: 768px) {
        .pl-hero-inner {
            grid-template-columns: 1fr;
            text-align: center;
        }
    }

    .pl-qs-item {
        background: #f9fafb;
        padding: 15px;
        border-radius: 12px;
        text-align: center;
        border: 1px solid #f3f4f6;
        transition: transform 0.2s;
    }

    .pl-qs-item:hover {
        transform: translateY(-3px);
        border-color: #e5e7eb;
    }

    /* Spec Sections */
    .pl-spec-section {
        margin-bottom: 15px;
    }

    .pl-spec-section h3 {
        font-size: 1rem;
        margin: 0;
        padding: 10px 15px;
        background: #f9fafb;
        border-bottom: 1px solid #e5e7eb;
    }

    .pl-spec-section table {
        width: 100%;
        border-collapse: collapse;
    }

    .pl-spec-section th,
    .pl-spec-section td {
        padding: 6px 12px;
        border-bottom: 1px solid #f3f4f6;
        font-size: 0.9rem;
    }

    .pl-spec-section th {
        background: #fff;
        color: #6b7280;
        font-weight: 500;
        width: 130px;
        /* Fixed width for labels */
        text-align: left;
        vertical-align: top;
    }

    .pl-spec-section td {
        color: #111827;
        font-weight: 500;
        line-height: 1.4;
    }

    .pl-spec-section tr:last-child th,
    .pl-spec-section tr:last-child td {
        border-bottom: none;
    }

    /* Review & Opinions */
    .pl-review-section,
    .pl-pros-cons,
    #opinions {
        background: white;
        border-radius: 16px;
        padding: 30px;
        border: 1px solid #e5e7eb;
    }

    .pl-post-content h2,
    .pl-post-content h3 {
        margin-top: 1.5em;
        margin-bottom: 0.5em;
        font-weight: 700;
    }

    .pl-post-content p {
        margin-bottom: 1.5em;
        line-height: 1.8;
        color: #374151;
    }

    /* Sidebar */
    .pl-sticky-sidebar {
        position: sticky;
        top: 20px;
    }

    .pl-shop-list a:hover {
        background: #f3f4f6;
        border-color: #d1d5db;
    }

    /* =========================================
   Redesigned Phone Card (GSMArena Style)
   ========================================= */

    /* Grid Layout for Archive */
    .pl-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
        padding: 20px 0;
    }

    /* Card Container */
    .pl-card {
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 100%;
        position: relative;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .pl-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.1);
        border-color: #d1d5db;
    }

    .pl-card-link {
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    /* Thumbnail Area */
    .pl-thumb {
        position: relative;
        padding-top: 60%;
        /* 16:9 Aspect Ratio */
        background: #f9fafb;
        overflow: hidden;
        border-bottom: 1px solid #f3f4f6;
    }

    .pl-thumb img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 85%;
        max-height: 85%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .pl-card:hover .pl-thumb img {
        transform: translate(-50%, -50%) scale(1.08);
    }

    /* Content Area */
    .pl-card-content {
        padding: 16px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    /* Title */
    .pl-card-content h2 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #111827;
        margin: 0 0 6px 0;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Release Info */
    .pl-release-info {
        font-size: 0.75rem;
        color: #9ca3af;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    /* Specs Grid (Mini Icons) */
    .pl-specs-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 16px;
        margin-top: auto;
        /* Pushes to bottom if content is short */
    }

    .pl-spec-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.8rem;
        color: #4b5563;
        background: #f3f4f6;
        padding: 6px 8px;
        border-radius: 6px;
    }

    .pl-spec-item svg {
        width: 14px;
        height: 14px;
        color: #6b7280;
        flex-shrink: 0;
    }

    .pl-spec-text {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
    }

    .pl-spec-val {
        font-weight: 600;
        color: #374151;
    }

    .pl-spec-sub {
        font-size: 0.7rem;
        color: #9ca3af;
    }

    /* Price Button */
    .pl-price-btn {
        margin-top: 12px;
        background: #eff6ff;
        color: var(--pl-primary);
        text-align: center;
        padding: 10px;
        border-radius: 8px;
        font-weight: 700;
        font-size: 0.95rem;
        transition: all 0.2s;
    }

    .pl-card:hover .pl-price-btn {
        background: var(--pl-primary);
        color: #fff;
    }

    /* Blog Filters */
    .pl-blog-filters {
        display: flex;
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .pl-filter-link {
        text-decoration: none;
        color: #777;
        font-weight: 500;
        font-size: 0.95rem;
        white-space: nowrap;
        padding-bottom: 2px;
        border-bottom: 2px solid transparent;
        transition: color 0.2s;
    }

    .pl-filter-link:hover,
    .pl-filter-link.active {
        color: var(--pl-primary);
        border-bottom-color: var(--pl-primary);
    }

    /* Blog Card Tweaks */
    .pl-blog-meta {
        display: flex;
        gap: 10px;
        font-size: 0.75rem;
        color: #999;
        margin-bottom: 5px;
    }

    .pl-cat {
        color: var(--pl-primary);
        font-weight: 600;
        text-transform: uppercase;
    }/* --- Single Phone Enhancements --- */

/* Sticky Nav */
.pl-sticky-nav-container {
    height: 60px; /* Placeholder to prevent jump */
    margin-bottom: 20px;
}

.pl-sticky-nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 90;
    width: 100%;
    transition: all 0.3s;
}

.pl-sticky-nav.is-sticky {
    position: fixed;
    top: 0; /* Adjust if header is sticky */
    left: 0;
    right: 0;
    padding: 0 20px;
}

.pl-sticky-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.pl-nav-link {
    display: block;
    padding: 15px 5px;
    color: #4b5563;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.pl-nav-link:hover,
.pl-nav-link.active {
    color: var(--pl-primary);
    border-bottom-color: var(--pl-primary);
}

/* Compare Toggle */
.pl-compare-btn {
    background: #fff;
    border: 1px solid var(--pl-primary);
    color: var(--pl-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pl-compare-btn:hover {
    background: #eff6ff;
}

.pl-compare-btn.active {
    background: var(--pl-primary);
    color: #fff;
}

/* Verdict Section */
.pl-verdict-box {
    background: linear-gradient(to right, #f0f9ff, #e0f2fe);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.pl-verdict-box h3 {
    color: #0369a1;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pl-verdict-content {
    color: #0c4a6e;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- ARCHIVE FILTERS --- */
.pl-filters {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filter-group {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1.5rem;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group h4 {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    color: #111827;
    font-weight: 600;
}

.pl-range-inputs {
    display: flex;
    gap: 10px;
}

.pl-checkbox-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pl-checkbox-list li {
    margin-bottom: 0.5rem;
}

.pl-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
}

.pl-checkbox-label input[type='checkbox'],
.pl-checkbox-label input[type='radio'] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}


/* --- 3-COLUMN LAYOUT --- */
.pl-content-grid-3col {
    display: grid;
    grid-template-columns: 180px 1fr 280px;
    gap: 30px;
    align-items: start;
}

.pl-left-nav-col {
    position: sticky;
    top: 20px;
}

.pl-left-sticky-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.pl-left-sticky-nav li {
    border-bottom: 1px solid #f3f4f6;
}

.pl-left-sticky-nav li:last-child {
    border-bottom: none;
}

.pl-left-sticky-nav a {
    display: block;
    padding: 12px 15px;
    color: #4b5563;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.pl-left-sticky-nav a:hover,
.pl-left-sticky-nav a.active {
    background: #eff6ff;
    color: var(--pl-primary);
    border-left: 3px solid var(--pl-primary);
    padding-left: 12px;
}

@media (max-width: 1024px) {
    .pl-content-grid-3col {
        grid-template-columns: 1fr;
    }
    .pl-left-nav-col {
        display: none; /* Hide on mobile or convert to horizontal */
    }
}


/* ============================================================
   PAKISTANILIVING — FINAL CSS v1.0
   ? AntiGravity-safe
   ? Spec icons fully stable
   ? No conflicts with previous .pl-spec-item classes
   ? Archive & Card layout fully consistent
   ============================================================ */

/* --------------------------
   ROOT OVERRIDES & VARIABLES
-------------------------- */
:root {
    --plx-bg: #f3f4f6;
    --plx-text: #374151;
    --plx-muted: #6b7280;
    --plx-radius: 6px;
    --plx-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* --------------------------
   ARCHIVE GRID (Card Layout)
-------------------------- */
.plx-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

/* --------------------------
   CARD CONTAINER
-------------------------- */
.plx-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--plx-shadow);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.plx-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.12);
    border-color: #d1d5db;
}

/* --------------------------
   IMAGE THUMB
-------------------------- */
.plx-thumb {
    position: relative;
    padding-top: 62%;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
    overflow: hidden;
}

.plx-thumb img {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.plx-card:hover .plx-thumb img {
    transform: translate(-50%, -50%) scale(1.08);
}

/* --------------------------
   TITLE AREA
-------------------------- */
.plx-card-title {
    padding: 14px 16px 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
    min-height: 48px;
}

/* --------------------------
   MINI SPEC ICON GRID
   (Optimized + Stable)
-------------------------- */
.plx-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 16px 16px;
}

/* FINAL SPEC ITEM (protected namespace) */
.plx-spec {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: var(--plx-bg);
    padding: 6px 8px;
    border-radius: var(--plx-radius);
    font-size: 0.8rem;
    color: var(--plx-text);
    white-space: nowrap;
}

/* --------------------------
   ICON OPTIMIZATION
-------------------------- */
.plx-spec svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    flex-shrink: 0 !important;
    color: var(--plx-muted) !important;
    opacity: 0.9;
    stroke-width: 1.8;
    transition: color 0.2s ease;
}

.plx-card:hover .plx-spec svg {
    color: #4b5563 !important;
    opacity: 1;
}

/* --------------------------
   PRICE BUTTON (clean version)
-------------------------- */
.plx-price {
    margin: auto 16px 16px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.23s ease;
}

.plx-card:hover .plx-price {
    background: #2563eb;
    color: #fff;
}

/* --------------------------
   RESPONSIVE FIXES
-------------------------- */
@media (max-width: 480px) {
    .plx-spec-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   ARCHIVE TOOLBAR & GRID CONTROLS
   ============================================================ */

/* GRID COLUMNS */
.plx-archive-grid.plx-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
.plx-archive-grid.plx-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }
.plx-archive-grid.plx-grid-5 { grid-template-columns: repeat(5, 1fr) !important; }

/* LIST VIEW */
.plx-archive-grid.plx-list-view {
    grid-template-columns: 1fr !important;
}
.plx-archive-grid.plx-list-view .plx-card {
    flex-direction: row;
    align-items: center;
    padding: 10px;
}
.plx-archive-grid.plx-list-view .plx-thumb {
    width: 120px;
    padding-top: 0;
    height: 120px;
    flex-shrink: 0;
    border-bottom: none;
    border-right: 1px solid #f3f4f6;
}
.plx-archive-grid.plx-list-view .plx-thumb img {
    position: static;
    transform: none;
    max-height: 100%;
    max-width: 100%;
}
.plx-archive-grid.plx-list-view .plx-card-title {
    flex-grow: 1;
    padding: 0 20px;
    font-size: 1.2rem;
}
.plx-archive-grid.plx-list-view .plx-spec-grid {
    display: flex;
    gap: 15px;
    padding: 0 20px;
}
.plx-archive-grid.plx-list-view .plx-price {
    margin: 0 20px 0 0;
    width: auto;
    min-width: 140px;
}

/* TOOLBAR FIXES */
.pl-sort select {
    background-color: #fff;
    color: #374151;
    font-size: 0.95rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.pl-btn-compare {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border: 1px solid #1d4ed8;
}
.pl-btn-compare:hover {
    background-color: #1d4ed8 !important;
}

.pl-view-btn.active {
    background-color: #eff6ff !important;
    color: #2563eb !important;
    border-color: #bfdbfe !important;
}


/* ============================================================
   SIDEBAR & FILTER UI IMPROVEMENTS
   ============================================================ */

/* Sidebar Container */
.pl-filters {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    align-self: start;
    position: sticky;
    top: 20px;
}

/* Filter Groups */
.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}
.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Checkbox List */
.pl-checkbox-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}
.pl-checkbox-list li {
    margin-bottom: 8px;
}
.pl-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
    transition: color 0.2s;
}
.pl-checkbox-label:hover {
    color: #2563eb;
}
.pl-checkbox-label input {
    accent-color: #2563eb;
    width: 16px;
    height: 16px;
}

/* Price Slider */
.pl-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 5px;
    outline: none;
    margin: 10px 0;
}
.pl-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Clear Button */
.pl-clear-filter {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    background: #fef2f2;
    color: #dc2626 !important;
    transition: all 0.2s;
}
.pl-clear-filter:hover {
    background: #fee2e2;
}

/* Price Capsule (Archive) */
.plx-price {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    margin: auto 15px 15px;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: 1px solid #dbeafe;
}
.plx-card:hover .plx-price {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

