*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f1f2f6;
}

.header{
    background-color: #333333;
    color: white;
    text-align: center;
}

.subheader{
    padding: 20px 0 10px;
}

.subheader h1{
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 5px;
}

.subheader p {
    font-size: 14px;
    color: #cccccc;
}

.navbar{
    background-color: #444444;
}

.nav-links{
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-links > li {
    position: relative;
}

.nav-links a{
    display: block;
    padding: 12px 25px;
    color: #ffff00;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

.nav-links li:hover a{
    color: #ff0000;
}

.dropdown-menu{
    position: absolute;
    top: 100%;
    left: 0;
    width: 160px;
    list-style: none;
    z-index: 100;
    background: linear-gradient(to right, #000000, #888888);
    border: 1px dashed #ffffff;
    display: none;
}

.dropdown-menu li{
    border-bottom: 1px dashed #666666;
}

.dropdown-menu li:last-child{
    border-bottom: none;
}

.dropdown-menu a {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: normal;
    color: #ffff00;
    text-align: left;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.products-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

.product-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px 15px;
    text-align: center;
    flex: 0 0 calc(25% - 15px);
    max-width: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-img {
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card h3 {
    font-size: 16px;
    color: #111111;
    margin-bottom: 8px;
    font-weight: bold;
}

.product-card .price {
    font-size: 14px;
    color: #777777;
    margin-bottom: 12px;
}

.btn-add {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 4px; 
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-add:hover {
    background-color: #218838;
}