body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('../images/produkti.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

header {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon img {
    width: 30px;
    height: 30px;
}

#cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 4px 8px;
    font-size: 12px;
}

.products-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.products-section {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
}

.products-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #2c3e50;
    font-size: 1.2em;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid rgba(221, 221, 221, 0.5);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    backdrop-filter: blur(2px);
}

.product-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.95);
}

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.product-card h3 {
    margin: 10px 0;
}

.product-card .price {
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.2em;
}

.add-to-cart {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.add-to-cart:hover {
    background-color: #34495e;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    width: 70%;
    max-width: 700px;
    border-radius: 8px;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 28px;
}

#cart-items {
    margin: 20px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

#checkout-btn {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

#checkout-btn:hover {
    background-color: #219a52;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    color: white;
    font-size: 0.8em;
    font-weight: bold;
}

.badge.new {
    background-color: #27ae60;
}

.badge.promo {
    background-color: #e74c3c;
}

.old-price {
    text-decoration: line-through;
    color: #95a5a6;
    margin-right: 10px;
    font-size: 0.9em;
}

.new-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2em;
} 