body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

#catalog {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.product {
    background-color: #ffffff;
    margin: 1px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    width: 135px;
}

.product img {
    max-width: 100%;
    height: auto;
}

.product h2 {
    font-size: 1.2em;
    margin: 10px 0;
}

.product p {
    font-size: 1em;
    color: #888;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* Header Styles */
header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

/* Product Details Styles */
#product-details {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.product-image {
    max-width: 50%;
    margin-right: 20px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.product-info {
    flex-grow: 1;
}

.product-info h2 {
    font-size: 2em;
    margin: 10px 0;
    color: #333;
}

.product-info p {
    font-size: 1.4em;
    color: #888;
    margin-bottom: 10px;
}

.product-info button {
    background-color: #ff6600;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 1.6em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

/* Product Button Hover Effect */
.product-info button:hover {
    background-color: #ff9900;
}

.button1 {
    background-color: #ff6600;
    color: #fff;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

/* Product Button Hover Effect */
.button1:hover {
    background-color: #ff9900;
}
/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
}


/* Responsive Design */
@media (max-width: 768px) {
    #product-details {
        flex-direction: column;
        align-items: center;
    }
    
    .product-image {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
}
