/* General styles */
body {
    background-color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
.main-container {
    text-align: center; /* Center all text content */
    margin-bottom: 20px; /* Add some bottom margin */
}

.main-container h2 {
    color: #FF0000; /* Red font color */
    font-family: "Lumanosimo", cursive;
    font-size: 28px; /* Adjust font size as needed */
    position: relative; /* Positioning for the line */
    display: inline-block; /* Display as block element */
}

.main-container h2::before {
    content: ""; /* Create the line */
    position: absolute;
    top: 5px; /* Position the line at the top of the heading */
    left: 0;
    width: 100%; /* Full width */
    height: 2px; /* Line thickness */
    background-color: #FF0000; /* Red color */
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden; /* Add overflow hidden to prevent horizontal scrolling */
}

h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

p {
    font-size: 20px; /* Increase font size for better readability */
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product {
    width: 100%; /* Make products full width */
    max-width: 300px; /* Limit maximum width */
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    margin-bottom: 20px; /* Add some space between products */
}
.product img {
    width: 200px; /* Set a fixed width */
    height: 200px; /* Set a fixed height */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
    border-radius: 8px;
    margin-bottom: 20px;
}


.product h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.product p.price {
    font-size: 18px;
    color: #00c;
    font-weight: bold;
    margin-bottom: 15px;
}

.buttons {
    display: flex;
    justify-content: center;
}

.add-to-cart,
.buy-now {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ffa500;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 5px; /* Add some space between buttons */
}

.add-to-cart:hover,
.buy-now:hover {
    background-color: #f2c082;
}

/* Media queries for responsiveness */
@media (max-width: 1200px) {
    .product {
        width: calc(33.33% - 20px); /* Adjust width for three columns */
    }
}

@media (max-width: 768px) {
    .product {
        width: calc(50% - 20px); /* Adjust width for two columns */
    }
}

@media (max-width: 576px) {
    .product {
        width: 100%; /* Make products full width on smaller screens */
    }
}
