body {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f5f5f5;
    color: #222;
}


/* Galvene */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}


.logo img {
    max-width: 220px;
}


nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #222;
    font-weight: bold;
}


nav a:hover {
    color: #e30613;
}



/* Produktu sadaļa */

main h2 {
    margin-bottom: 20px;
}


.product {
    background: white;
    width: 260px;
    display: inline-block;
    vertical-align: top;

    margin: 10px;
    padding: 20px;

    border-radius: 12px;

    box-shadow: 0 3px 10px rgba(0,0,0,0.1);

    transition: 0.2s;
}


.product:hover {
    transform: translateY(-5px);
}


.product h3 {
    margin-top: 0;
    font-size: 20px;
}


.product p {
    margin: 8px 0;
}



.product strong {
    color: #555;
}



/* Cena */

.product p:last-child {
    font-size: 18px;
    font-weight: bold;
    color: #e30613;
}



/* Kājene */

footer {
    margin-top: 40px;
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}



/* Telefoniem */

@media(max-width:700px){

    .site-header {
        flex-direction: column;
    }


    nav {
        margin-top:20px;
    }


    .product {
        width: calc(100% - 40px);
    }

}
.product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}


.button {
    display: inline-block;
    background: #e30613;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
}


.button:hover {
    background: #b0000d;
}


.price {
    font-size: 22px;
    font-weight: bold;
    color: #e30613;
}
.products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}


.product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
}


.no-image {
    height: 180px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}


.price {
    font-size: 22px;
    font-weight: bold;
    color: #e30613;
}


.button {
    display: inline-block;
    background: #e30613;
    color: white;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
}


.button:hover {
    background: #b0000d;
}

.product-page {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
}


.product-image-large {
    width: 300px;
    max-width: 100%;
    height: auto;
}


.product-page h1 {
    margin-top: 20px;
}


.product-page .button {
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.cart-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}