* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
body {
    background-color: azure;
    font-family: Arial, sans-serif;
}
header {
    background-color: #222222;
    color: #ffffff;
    padding: 16px;
    text-align: center;
}
nav {
    display: flex;
    justify-content: center;
    background-color: #555555;
    padding: 10px;
}
nav a {
    color: yellow;
    text-decoration: none;
    margin: 0 16px;
}
nav a:hover {
    color: red;
}
ul {
    list-style-type: none;
}
ul li {
    display: inline-block;
    width: 150px;
    position: relative;
    text-align: center;
}


.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 150px;
    background-color: #555555;
    z-index: 10;
}
.submenu li {
    display: block;
    width: 100%;
}
.submenu li a {
    display: block;
    margin: 0;
    padding: 10px;
    text-align: left;
    border-bottom: 1px dotted #ccc;
}
.submenu li a:hover {
    background-color: #333333;
    color: yellow;
}

ul li:hover .submenu {
    display: block;
}


.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.product {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.product img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}
.product h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}
.product p {
    color: #888;
    font-size: 13px;
    margin-bottom: 15px;
}
.product button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}
.product button:hover {
    background-color: #45a049;
}