/* Custom CSS for Product Listing Page */
        /* Color Palette */
        :root {
            --primary: #6a5acd;      /* Slate blue */
            --secondary: #ff69b4;    /* Hot pink */
            --accent: #ff1493;       /* Deep pink */
            --light-blue: #e6f0ff;   /* Very light blue */
            --light-pink: #fff0f5;   /* Lavender blush */
            --dark: #4b0082;         /* Indigo */
            --text: #333333;
            --light: #f8f9fa;
        }
        
        body {
            
            color: var(--text);
            background-color: #fefefe;
        }
        
        .navbar {
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            color: white !important;
        }
        
        .nav-link {
            color: rgba(255,255,255,0.85) !important;
            font-weight: 500;
        }
        
        .nav-link:hover, .nav-link.active {
            color: white !important;
        }
        
        .page-header {
            background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-pink) 100%);
            padding: 60px 0 40px;
            margin-bottom: 30px;
        }
        
        .book-card {
            transition: transform 0.3s, box-shadow 0.3s;
            border: none;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            height: 100%;
            border-radius: 12px;
            overflow: hidden;
            background: white;
            margin-bottom: 25px;
        }
        
        .book-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(106, 90, 205, 0.2);
        }
        
        .book-cover {
            height: 250px;
            object-fit: cover;
            width: 100%;
        }
        
        .price {
            color: var(--accent);
            font-weight: bold;
            font-size: 1.2rem;
        }
        
        .old-price {
            text-decoration: line-through;
            color: #999;
            font-size: 0.9rem;
            margin-left: 5px;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
            border: none;
            border-radius: 30px;
            padding: 10px 25px;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(106, 90, 205, 0.4);
        }
        
        .btn-secondary {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
            border: none;
            border-radius: 30px;
            padding: 10px 25px;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .btn-secondary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
        }
        
        .btn-outline-primary {
            border: 2px solid var(--primary);
            color: var(--primary);
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .btn-outline-primary:hover {
            background: var(--primary);
            color: white;
        }
        
        .filter-sidebar {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            margin-bottom: 30px;
            position: sticky;
            top: 20px;
        }
        
        .filter-header {
            border-bottom: 2px solid var(--light-blue);
            padding-bottom: 15px;
            margin-bottom: 20px;
            font-weight: 700;
            color: var(--dark);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .filter-group {
            margin-bottom: 25px;
        }
        
        .filter-title {
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--dark);
            font-size: 1.1rem;
        }
        
        .form-check-label {
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            width: 100%;
        }
        
        .form-check-input:checked {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        .count-badge {
            background: var(--light-blue);
            color: var(--primary);
            border-radius: 20px;
            padding: 2px 10px;
            font-size: 0.8rem;
        }
        
        .discount-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.8rem;
        }
        
        .rating {
            color: #ffc107;
        }
        
        .sort-options {
            background: white;
            border-radius: 12px;
            padding: 15px 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            margin-bottom: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .results-count {
            color: var(--dark);
            font-weight: 600;
        }
        
        .pagination .page-link {
            color: var(--primary);
            border: 1px solid var(--light-blue);
            padding: 10px 18px;
        }
        
        .pagination .page-item.active .page-link {
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
            border-color: var(--primary);
        }
        
        .pagination .page-link:hover {
            background-color: var(--light-blue);
            border-color: var(--primary);
        }
        
        .footer {
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
            color: white;
            padding: 60px 0 30px;
            margin-top: 50px;
        }
        
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            transition: all 0.3s;
        }
        
        .social-links a:hover {
            background: var(--secondary);
            transform: translateY(-3px);
        }
        
        .price-range {
            width: 100%;
            margin: 15px 0;
        }
        
        .price-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
        }
        
        .filter-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .filter-tag {
            background: var(--light-blue);
            color: var(--primary);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
        }
        
        .filter-tag .close {
            margin-left: 8px;
            cursor: pointer;
        }
        
        .clear-filters {
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .clear-filters:hover {
            text-decoration: underline;
        }
        
        @media (max-width: 768px) {
            .filter-sidebar {
                position: static;
                margin-bottom: 20px;
            }
            
            .sort-options {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .sort-options > div {
                margin-bottom: 15px;
                width: 100%;
            }
        }
