  :root {
            --primary: #FF6B00;
            --primary-dark: #e55a00;
            --primary-light: #fff0eb;
            --dark: #1a1a1a;
            --dark-light: #2d2d2d;
            --gray-dark: #4d4d4d;
            --gray: #808080;
            --gray-light: #b3b3b3;
            --gray-lighter: #e6e6e6;
            --gray-lightest: #f5f5f5;
            --white: #ffffff;
            --success: #00b207;
            --warning: #ff9f00;
            --danger: #ea4d4d;
            --shadow: 0 2px 8px rgba(0,0,0,0.08);
            --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
            --shadow-heavy: 0 4px 12px rgba(0,0,0,0.15);
            --radius: 8px;
            --radius-sm: 4px;
            --radius-lg: 12px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

        body {
            background: #eaeded;
            color: var(--dark);
            line-height: 1.6;
            font-size: 14px;
            width: 100%;
            overflow-x: hidden;
        }

        .cart-toggle, .cart-sidebar, #cartToggle, .fa-shopping-cart, .fa-shopping-bag, .cart-indicator { display: none !important; }

        /* ===== BREADCRUMB ===== */
        .premium-breadcrumb { background: #fff; padding: 10px 0; border-bottom: 1px solid #ddd; width: 100%; }
        .breadcrumb-content { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
        .breadcrumb-item { display: inline-flex; align-items: center; gap: 6px; color: #555; font-size: 13px; }
        .breadcrumb-item a { color: #007185; text-decoration: none; }
        .breadcrumb-item a:hover { color: #c7511f; text-decoration: underline; }
        .breadcrumb-separator { color: #aaa; margin: 0 4px; font-size: 11px; }

        /* ===== MAIN PAGE LAYOUT ===== */
        .page-wrapper {
            max-width: 1500px;
            margin: 16px auto;
            padding: 0 16px;
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        /* ===================================================
           AMAZON-STYLE LEFT FILTER SIDEBAR
        =================================================== */
        .filter-sidebar {
            width: 240px;
            min-width: 240px;
            flex-shrink: 0;
        }

        .filter-sidebar-heading {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
            font-weight: 700;
            color: #111;
            padding: 12px 14px;
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 4px;
            margin-bottom: 10px;
        }
        .filter-sidebar-heading i { color: #ff6b00; font-size: 15px; }

        .filter-panel {
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 4px;
            margin-bottom: 10px;
            overflow: hidden;
        }

        .filter-panel-head {
            padding: 12px 14px 10px;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            user-select: none;
        }

        .filter-panel-title {
            font-size: 14px;
            font-weight: 700;
            color: #111;
            letter-spacing: 0.1px;
        }

        .filter-panel-toggle {
            font-size: 12px;
            color: #888;
            transition: transform 0.2s;
        }

        .filter-panel.collapsed .filter-panel-toggle {
            transform: rotate(-90deg);
        }

        .filter-panel-body {
            padding: 12px 14px;
        }

        .filter-panel.collapsed .filter-panel-body {
            display: none;
        }

        /* Price range filter */
        .price-range-row {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 10px;
        }

        .price-input {
            width: 80px;
            padding: 5px 8px;
            border: 1px solid #888;
            border-radius: 3px;
            font-size: 13px;
            color: #111;
            background: #fff;
        }

        .price-input:focus { outline: none; border-color: #e77600; box-shadow: 0 0 0 2px rgba(231,118,0,0.2); }

        .price-sep { font-size: 13px; color: #555; }

        .price-go-btn {
            padding: 5px 12px;
            background: #e8e8e8;
            border: 1px solid #aaa;
            border-radius: 3px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            color: #111;
            transition: background 0.15s;
        }
        .price-go-btn:hover { background: #d5d5d5; }

        /* Rating filter */
        .rating-option {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 4px 0;
            cursor: pointer;
            border-radius: 3px;
            transition: background 0.15s;
        }
        .rating-option:hover { background: #f7f7f7; }
        .rating-option input[type="radio"] { accent-color: #e77600; cursor: pointer; }
        .rating-stars-filter { color: #ffb100; font-size: 12px; letter-spacing: -1px; }
        .rating-label { font-size: 12.5px; color: #007185; cursor: pointer; }
        .rating-label:hover { color: #c7511f; text-decoration: underline; }

        /* Checkbox filters */
        .check-option {
            display: flex;
            align-items: center;
            gap: 7px;
            padding: 4px 0;
            cursor: pointer;
        }
        .check-option input[type="checkbox"] { accent-color: #e77600; cursor: pointer; width: 14px; height: 14px; }
        .check-label { font-size: 12.5px; color: #111; cursor: pointer; }
        .check-label:hover { color: #c7511f; text-decoration: underline; }

        /* Sort options inside filter */
        .sort-option {
            display: flex;
            align-items: center;
            gap: 7px;
            padding: 5px 0;
            cursor: pointer;
            border-radius: 3px;
        }
        .sort-option:hover { background: #f7f7f7; }
        .sort-option input[type="radio"] { accent-color: #e77600; cursor: pointer; }
        .sort-label { font-size: 12.5px; color: #111; cursor: pointer; }

        /* Clear filters link */
        .clear-filters-btn {
            display: block;
            text-align: center;
            margin-top: 8px;
            padding: 7px;
            background: #fff;
            border: 1px solid #aaa;
            border-radius: 3px;
            font-size: 12.5px;
            color: #555;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.15s, border-color 0.15s;
        }
        .clear-filters-btn:hover { background: #f5f5f5; border-color: #888; color: #111; }

        /* ===================================================
           RIGHT CONTENT AREA
        =================================================== */
        .content-area {
            flex: 1;
            min-width: 0;
        }

        /* Results bar */
        .results-bar {
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 10px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
            flex-wrap: wrap;
            gap: 8px;
        }

        .results-count { font-size: 13.5px; color: #555; }
        .results-count strong { color: #c7511f; font-weight: 700; }
        .results-sort-label { font-size: 13px; color: #555; font-weight: 600; margin-right: 6px; }
        .results-sort-select {
            padding: 5px 10px;
            border: 1px solid #ccc;
            border-radius: 3px;
            font-size: 13px;
            color: #111;
            background: #fff;
            cursor: pointer;
        }
        .results-sort-select:focus { outline: none; border-color: #e77600; }

        /* ===================================================
           PRODUCTS GRID — 4 per row (Desktop)
        =================================================== */
        .products-grid-premium {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            width: 100%;
        }

        @media (max-width: 1100px) {
            .products-grid-premium { grid-template-columns: repeat(3, 1fr); }
        }

        /* ==============================================
           PRODUCT CARD DESIGN — SAME AS ORIGINAL
        ============================================== */
        .product-card-premium {
            background: #fff;
            position: relative;
            display: flex;
            flex-direction: column;
            cursor: pointer;
            transition: box-shadow 0.2s;
            overflow: hidden;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        .product-card-premium:hover {
            box-shadow: 0 4px 18px rgba(0,0,0,0.14);
            z-index: 2;
            border-color: #aaa;
        }

        /* IMAGE AREA */
        .product-image-container-premium {
            position: relative;
            width: 100%;
            padding-top: 100%;
            overflow: hidden;
            background: #f7f7f7;
            flex-shrink: 0;
        }

        .product-image-premium {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}
        .product-card-premium:hover .product-image-premium {
            transform: scale(1.04);
        }

        /* SAVINGS BADGE */
        .ali-savings-badge {
            position: absolute;
            top: 0; left: 0;
            background: #e8360d;
            color: #fff;
            font-size: 9px;
            font-weight: 800;
            padding: 4px 8px 4px 6px;
            display: flex;
            align-items: center;
            gap: 3px;
            z-index: 5;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            line-height: 1;
        }
        .ali-savings-badge i { color: #ffd600; font-size: 8px; }

        /* HEART BUTTON */
        .ali-heart-btn {
            position: absolute;
            bottom: 7px; right: 7px;
            width: 26px; height: 26px;
            border-radius: 50%;
            background: rgba(255,255,255,0.93);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 5;
            box-shadow: 0 1px 4px rgba(0,0,0,0.18);
            font-size: 11px;
            color: #bbb;
            transition: color 0.2s, transform 0.2s;
        }
        .ali-heart-btn:hover { color: #e8360d; transform: scale(1.12); }
        .ali-heart-btn.wishlisted { color: #e8360d; }

        /* INFO AREA */
        .product-info-premium {
            padding: 8px 10px 10px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        /* PRODUCT NAME */
        .product-name-premium {
            font-size: 12.5px;
            color: #111;
            font-weight: 400;
            line-height: 1.45;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 36px;
            margin-bottom: 6px;
        }

        /* PRICE ROW */
        .product-price-premium { margin-bottom: 5px; }

        .ali-price-row {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 5px;
        }

        .ali-price-now { font-size: 17px; font-weight: 800; color: #e8360d; line-height: 1; white-space: nowrap; }
        .ali-price-original { font-size: 11px; color: #999; text-decoration: line-through; white-space: nowrap; }

        /* Countdown timer */
        .ali-timer {
            background: #1a1a1a;
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            padding: 2px 5px;
            border-radius: 2px;
            letter-spacing: 0.5px;
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        /* Circle cart button */
        .ali-cart-btn {
            margin-left: auto;
            width: 28px; height: 28px; min-width: 28px;
            border-radius: 50%;
            background: #fff;
            border: 1.5px solid #ccc;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 11px;
            color: #555;
            transition: background 0.2s, border-color 0.2s, color 0.2s;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .ali-cart-btn:hover { background: #e8360d; border-color: #e8360d; color: #fff; }

        /* ALERT LABELS */
        .ali-alert-row {
            font-size: 10.5px;
            color: #e8360d;
            font-weight: 600;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 4px;
            flex-wrap: wrap;
        }
        .ali-alert-tag {
            background: #fff0ee;
            border: 1px solid #ffc5bb;
            color: #e8360d;
            font-size: 9.5px;
            font-weight: 700;
            padding: 1px 5px;
            border-radius: 2px;
            white-space: nowrap;
        }

        /* RATING + SOLD */
        .product-rating-premium { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
        .rating-stars-premium { color: #ffb100; font-size: 10px; letter-spacing: -0.5px; }
        .rating-count-premium { font-size: 10.5px; color: #888; }
        .product-sold-premium { font-size: 10.5px; color: #888; display: flex; align-items: center; gap: 3px; margin-bottom: 5px; }
        .product-sold-premium i { color: #ff6b00; font-size: 9px; }

        /* STAR SELLER BADGE */
        .ali-star-seller {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            background: #fffae6;
            border: 1px solid #ffe066;
            color: #8a6900;
            font-size: 9.5px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 3px;
            width: fit-content;
        }
        .ali-star-seller i { color: #ffd600; font-size: 9px; }

        /* PRODUCT BUTTONS REMOVED */
        .product-buttons-premium, .btn-add-cart-premium, .btn-buy-now-premium { display: none !important; }

        /* Mobile filter button */
        .mobile-filter-btn { display: none; }

        /* ===================================================
           🔥 AMAZON-STYLE PAGINATION
        =================================================== */
        .pagination-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 24px 0 10px;
            gap: 4px;
            flex-wrap: wrap;
        }

        .page-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 36px;
            height: 36px;
            padding: 0 10px;
            border: 1px solid #ddd;
            background: #fff;
            color: #111;
            font-size: 13px;
            font-weight: 500;
            border-radius: 4px;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.15s, border-color 0.15s, color 0.15s;
            user-select: none;
        }

        .page-btn:hover {
            background: #f0f0f0;
            border-color: #aaa;
            color: #111;
        }

        .page-btn.active {
            background: #fff;
            border: 2px solid #111;
            color: #111;
            font-weight: 700;
            pointer-events: none;
        }

        .page-btn.disabled {
            color: #aaa;
            border-color: #e5e5e5;
            background: #fafafa;
            cursor: default;
            pointer-events: none;
        }

        .page-btn.prev-next {
            font-size: 13px;
            gap: 4px;
            padding: 0 12px;
        }

        .page-dots {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 36px;
            height: 36px;
            font-size: 14px;
            color: #555;
            cursor: default;
            letter-spacing: 1px;
        }

        /* ===================================================
           🔥 RELATED SEARCHES SECTION
        =================================================== */
        .related-searches-section {
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 18px 20px 14px;
            margin-top: 20px;
        }

        .related-searches-title {
            font-size: 16px;
            font-weight: 700;
            color: #111;
            margin-bottom: 14px;
            padding-bottom: 10px;
            border-bottom: 1px solid #f0f0f0;
        }

        .related-searches-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }

        .related-search-chip {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background: #fff;
            color: #111;
            font-size: 13px;
            text-decoration: none;
            cursor: pointer;
            transition: background 0.15s, border-color 0.15s, color 0.15s;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .related-search-chip:hover {
            background: #f7f7f7;
            border-color: #bbb;
            color: #c7511f;
        }

        .related-search-chip i {
            color: #888;
            font-size: 13px;
            flex-shrink: 0;
        }

        .related-search-chip:hover i {
            color: #c7511f;
        }




        /* ===================================================
           🔥🔥 MOBILE VIEW — 1 Product Per Row
        =================================================== */
        @media (max-width: 860px) {
            .page-wrapper { flex-direction: column; padding: 0 8px; }
            
            .filter-sidebar-heading { display: none; }
            
            .mobile-filter-btn {
                display: flex;
                align-items: center;
                gap: 6px;
                padding: 8px 14px;
                background: #fff;
                border: 1px solid #ccc;
                border-radius: 4px;
                font-size: 13px;
                font-weight: 600;
                cursor: pointer;
                margin-bottom: 12px;
                width: 100%;
            }
            
            .products-grid-premium { 
                grid-template-columns: 1fr; 
                gap: 8px; 
            }
            
            .product-card-premium {
                flex-direction: row;
                border-radius: 8px;
                padding: 0;
                cursor: pointer;
                min-height: 170px;
                position: relative;
                transition: box-shadow 0.15s;
                border: 1px solid #ddd;
            }
            
            .product-card-premium:active {
                box-shadow: 0 2px 10px rgba(0,0,0,0.1);
                border-color: #007185;
            }
            
            .product-image-container-premium {
                width: 140px;
                min-width: 140px;
                padding-top: 0;
                height: 170px;
                position: relative;
                flex-shrink: 0;
                border-radius: 8px 0 0 8px;
                background: #f7f7f7;
            }
            
            .product-image-premium {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    border-radius: 8px 0 0 8px;
}
            
            .ali-savings-badge {
                top: 6px; left: 0;
                font-size: 8px;
                padding: 3px 6px 3px 4px;
                border-radius: 0 2px 2px 0;
            }
            
            .product-info-premium {
                flex: 1;
                padding: 10px 10px 8px;
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                min-width: 0;
            }
            
            .product-name-premium {
                font-size: 13px;
                font-weight: 500;
                color: #0F1111;
                line-height: 1.4;
                -webkit-line-clamp: 2;
                min-height: auto;
                margin-bottom: 6px;
                letter-spacing: -0.1px;
            }
            
            .product-price-premium { margin-bottom: 4px; }
            
            .ali-price-row {
                display: flex;
                align-items: baseline;
                flex-wrap: wrap;
                gap: 6px;
            }
            
            .ali-price-now { 
                font-size: 18px; 
                font-weight: 700; 
                color: #B12704;
            }
            
            .ali-price-original { 
                font-size: 11px; 
                color: #565959;
            }
            
            .product-rating-premium { margin-bottom: 3px; }
            .rating-stars-premium { font-size: 10px; }
            .rating-count-premium { font-size: 10px; color: #007185; }
            
            .product-sold-premium { 
                font-size: 11px; 
                color: #565959;
                margin-bottom: 4px;
            }
            
            .ali-alert-row {
                font-size: 11px;
                margin-bottom: 4px;
                color: #B12704;
                font-weight: 600;
            }
            
            .ali-alert-tag {
                font-size: 10px;
                padding: 2px 5px;
            }
            
            .ali-star-seller {
                font-size: 10px;
                padding: 2px 7px;
                margin-top: 2px;
            }
            
            .ali-timer {
                font-size: 9px;
                padding: 2px 5px;
            }
            
            .ali-heart-btn {
                bottom: auto;
                top: 8px;
                right: 8px;
                width: 28px;
                height: 28px;
                font-size: 12px;
                box-shadow: 0 2px 6px rgba(0,0,0,0.15);
                background: rgba(255,255,255,0.95);
            }
            
            .ali-cart-btn { display: none; }
            
            .filter-sidebar {
                display: none;
                width: 100%;
                min-width: unset;
                position: fixed;
                top: 0; left: 0; right: 0; bottom: 0;
                z-index: 9999;
                overflow-y: auto;
                background: #fff;
                padding: 16px;
            }
            .filter-sidebar.open { display: block; }
            
            .filter-sidebar-close {
                display: flex !important;
                align-items: center;
                gap: 8px;
                margin-bottom: 14px;
                font-size: 15px;
                font-weight: 700;
                cursor: pointer;
                color: #111;
            }

            /* Related searches mobile */
            .related-searches-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .related-search-chip {
                font-size: 12px;
                padding: 8px 10px;
            }

            /* Pagination mobile */
            .page-btn { min-width: 32px; height: 32px; font-size: 12px; }
            .page-dots { min-width: 28px; height: 32px; }
        }

        @media (max-width: 480px) {
            .product-image-container-premium {
                width: 120px;
                min-width: 120px;
                height: 150px;
            }
            
            .product-name-premium { font-size: 12px; }
            .ali-price-now { font-size: 16px; }

            .related-searches-grid {
                grid-template-columns: 1fr 1fr;
                gap: 6px;
            }

            .related-search-chip {
                font-size: 11px;
                padding: 7px 8px;
                gap: 6px;
            }
        }

        .filter-sidebar-close { display: none; }

        /* ===================================================
           CART NOTIFICATION
        =================================================== */
        .cart-notification-premium {
            position: fixed;
            bottom: 24px; right: 24px;
            background: var(--success);
            color: var(--white);
            padding: 16px 20px;
            border-radius: var(--radius);
            box-shadow: var(--shadow-heavy);
            display: none;
            align-items: center;
            gap: 12px;
            z-index: 10001;
            animation: slideInRight 0.4s ease;
            max-width: 320px;
        }
        @media (max-width: 860px) { .cart-notification-premium { left: 16px; right: 16px; bottom: 16px; max-width: none; } }
        @keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
        .notification-icon-premium { font-size: 24px; }
        .notification-content-premium h4 { font-size: 16px; margin-bottom: 4px; font-weight: 600; }
        .notification-content-premium p { font-size: 14px; opacity: 0.9; }

        .pagination-premium { display: none !important; }

        /* EMPTY STATE */
        .empty-state-premium { text-align: center; padding: 60px 20px; background: #fff; border-radius: 4px; border: 1px solid #ddd; }
        .empty-state-icon-premium { font-size: 64px; color: var(--gray-lighter); margin-bottom: 24px; }
        .empty-state-title-premium { font-size: 24px; color: var(--dark); margin-bottom: 12px; font-weight: 600; }
        .empty-state-message-premium { color: var(--gray); font-size: 16px; max-width: 400px; margin: 0 auto 24px; line-height: 1.6; }
        .btn-primary-premium { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: var(--white); padding: 12px 24px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; transition: background 0.3s; }
        .btn-primary-premium:hover { background: var(--primary-dark); color: var(--white); }

        .loading-premium { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: var(--white); animation: spin 1s ease-in-out infinite; }
        @keyframes spin { to { transform: rotate(360deg); } }