.body-section {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 15px;
    max-width: 1200px; /* Adjust as per your needs */
}

.product-section {
    flex-grow: 1;
    max-width: 75%;
    box-sizing: border-box;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Spacing between product cards */
}

.sidenav-section {
    max-width: 25%;
    flex-grow: 1;
    padding: 15px;
    box-sizing: border-box;
    background-color: #f5f5f5; /* Light background for side nav */
    border-radius: 5px;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: calc(33.33% - 15px); /* Adjust card width */
    box-sizing: border-box;
    text-align: center; /* Center content */
}

.product-card img.product-image {
    width: 100%;
    height: auto;
    max-height: 200px; /* Limit the image height */
    object-fit: cover; /* Ensure image maintains aspect ratio and fills */
    border-radius: 5px; /* Optional: match border radius */
    margin-bottom: 10px; /* Spacing below the image */
}

.product-card h3 {
    margin: 0 0 10px;
}

.product-card p {
    margin: 0;
}

.category-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin: 10px 0;
}

.category-list li a {
    text-decoration: none;
    color: #007bff; /* Bootstrap default blue */
}

.category-list li a:hover {
    text-decoration: underline;
}

.marketplace-container {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.categories-sidebar {
    width: 250px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.categories-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.categories-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.categories-list:hover {
    color: #007bff;
}

.category-link {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 8px 0;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: color 0.3s ease;

}

.category-link:hover {
    color: #007bff;
}