.container {
    max-width: 1200px; /* Adjust as needed */
    margin: 15px auto;
    padding: 0 15px;
}

.product-card {
    border: 1px solid #ddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Ensure image doesn't overflow */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s; /* Smooth hover effect */
}

.product-card:hover {
    transform: scale(1.02); /* Slight zoom on hover */
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15); /* Darker shadow on hover */
}

.image-container {
    height: 200px; /* Fixed height for the image section */
    width: 100%; /* Full width */
    overflow: hidden; /* Hide overflow to keep it clean */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    background-color: #f9f9f9; /* Light gray background for empty spaces */
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes the image fill the container */
    display: block; /* Ensures the image is treated as a block element */
}

.card-body {
    padding: 10px;
    text-align: left; /* Align text to the left */
}

.price {
    color: rgb(233, 20, 20); /* Highlight price in red */
    margin-bottom: 1px; /* Reduced space below the price */
    font-weight: bold; /* Make the price more prominent */
    font-family: cursive; /* Optional: Styling for the font */
}

.card-title {
    font-size: 1.1rem; /* Slightly smaller font size */
    margin-bottom: 2px; /* Reduced space below the product name */
}

.seller {
    color: #777;
    font-size: 0.9rem; /* Smaller font size */
    margin-bottom: 5px; /* Reduced space below the seller information */
}

.view-details {
    width: 100%; /* Make button full width */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .col-md-3 {
        width: 50%; /* Two columns on medium screens */
    }
}

@media (max-width: 576px) {
    .col-md-3, .col-sm-6 {
        width: 50%; /* Two columns on small screens */
    }
}

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    background-color: black;
    padding-left: 20px;
}

/* Link Style */
.dropdown-toggle {
    text-decoration: none;
    font-size: 1.2em;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    display: block;
    text-align: left;
}

/* Hover Effect */
.dropdown-toggle:hover {
    color: #fff;
    transform: scale(1.05);
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #00000083; /* Match the header background color */
    width: 50%; /* Full width under the header */
    height: -100%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 0; /* No rounded corners to align with header */
    overflow: hidden;
    z-index: 4;
    top: 100%; /* Positioned directly below the header */
    left: 0;
}

/* Menu Links */
.dropdown-menu a {
    display: block;
    text-decoration: none;
    color: #fff; /* White for better contrast */
    padding: 10px 15px;
    transition: background-color 0.3s;
    text-align: left;
}

/* Hover Effect on Menu Links */
.dropdown-menu a:hover {
    background-color: #f44336;
    color: #fff;
}

/* Show Dropdown Menu on Hover */
.dropdown:hover .dropdown-menu {
    display: block;
}
.new-badge {
    position: relative;
    top: 10%;
    left: 0%;
    background: red;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0%;
    text-transform: uppercase;
    z-index: 1000;
    
}

