/* Main Sales Page Styling */
    .sales-page {
        padding: 2rem 0rem;
        max-width: 1400px;
        margin: 0 auto;
        background: linear-gradient(to bottom, #fff9f9, #ffffff);
    }
    
    .page-header {
        text-align: center;
        margin-bottom: 2.5rem;
        position: relative;
    }
    
    .page-header h2 {
        font-size: 2.5rem;
        color: #d32f2f; /* Red theme color */
        margin-bottom: 0.5rem;
        font-weight: 700;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    }
    
    .sale-badge {
        position: absolute;
        top: -10px;
        right: 20%;
        background: linear-gradient(135deg, #ff5252, #d32f2f);
        color: white;
        padding: 0.5rem 1.5rem;
        border-radius: 30px;
        font-weight: bold;
        transform: rotate(5deg);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        z-index: 1;
    }
    
    /* Product Grid */
    .product-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 0.1rem;
        padding: 0 0.3rem;
    }
    
    /* Product Card */
    .product-card {
        background: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(211, 47, 47, 0.1); /* Red tint shadow */
        transition: all 0.3s ease;
        position: relative;
        border: 1px solid #ffebee; /* Light red border */
    }
    
    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(211, 47, 47, 0.2);
    }
    
    .product-image-container {
        position: relative;
        width: 100%;
        height: 250px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff;
        padding: 15px;
        box-sizing: border-box;
    }
    
    .product-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        mix-blend-mode: multiply;
    }
    
    .product-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        background: linear-gradient(135deg, #ff5252, #d32f2f);
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 3px;
        font-size: 0.8rem;
        font-weight: bold;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    .product-info {
        padding: 1.5rem;
        background: #fff;
        border-top: 1px solid #ffebee;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
        color: #333;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .product-price {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .current-price {
        font-size: 1.5rem;
        font-weight: 700;
        color: #d32f2f;
    }
    
    .original-price {
        font-size: 1rem;
        text-decoration: line-through;
        color: #95a5a6;
    }
    
    .discount-percent {
        background: #ffebee;
        color: #d32f2f;
        padding: 0.2rem 0.5rem;
        border-radius: 3px;
        font-size: 0.8rem;
        font-weight: 600;
    }
    
    .view-btn {
        display: inline-block;
        width: 100%;
        padding: 0.75rem;
        background: linear-gradient(135deg, #d32f2f, #b71c1c);
        color: white;
        text-align: center;
        border-radius: 5px;
        font-weight: 600;
        transition: all 0.3s ease;
        text-decoration: none;
        border: none;
        cursor: pointer;
    }
    
    .view-btn:hover {
        background: linear-gradient(135deg, #b71c1c, #8e0000);
        transform: translateY(-2px);
    }
    
    .fire-icon {
        color: #ffab00;
        margin-right: 5px;
    }
    
    /* Countdown Timer for Flash Sale */
    .flash-sale-timer {
        background: #d32f2f;
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        display: inline-block;
        margin-bottom: 1rem;
        font-weight: bold;
    }
    
    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .product-grid {
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 1.5rem;
        }
        
        .page-header h2 {
            font-size: 2rem;
        }
        
        .product-image-container {
            height: 200px;
        }
        
        .sale-badge {
            right: 10%;
        }
    }
    
    @media (max-width: 576px) {
        .product-grid {
            grid-template-columns: 1fr 1fr;
            gap: 0.2rem;
        }
        
        .product-image-container {
            height: 150px;
            padding: 10px;
        }
        
        .product-info {
            padding: 1rem;
        }
        
        .product-info h3 {
            font-size: 1rem;
        }
        
        .current-price {
            font-size: 1.2rem;
        }
        
        .page-header h2 {
            font-size: 1.8rem;
        }
        
        .sale-badge {
            position: static;
            display: inline-block;
            margin-top: 0.5rem;
            transform: rotate(0);
        }
    }

.pagination {
    text-align: center;
    margin: 30px 0;
}

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

.pagination-list li {
    display: inline;
}

.pagination-list a,
.pagination-list span {
    padding: 8px 14px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.pagination-list .active span,
.pagination-list a:hover {
    background-color: #ff9800;
    color: white;
    border-color: #ff9800;
}