* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000;
    color: white;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

#products {
    display: grid;
    gap: 24px; 
    padding: 32px 0; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.product-card {
    background-color: #333;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.product-card img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.product-card-content {
    padding: 16px;
}

.product-card-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.product-card-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 12px;
}

.product-card-button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.product-card-button:hover {
    background-color: #212529;
}

@media (min-width: 768px) {
    #products {
        grid-template-columns: repeat(2, 1fr); 
        gap: 16px;
    }
    
    .product-card {
        max-width: 350px;
    }
}

@media (min-width: 1024px) {
    #products {
        grid-template-columns: repeat(4, 1fr); 
        gap: 12px;
    }
    
    .product-card {
        max-width: 250px;
    }
}

@media (max-width: 767px) {
    #products {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .product-card {
        max-width: 100%;
    }
}

#cart {
    background-color: #1a1a1a;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 32px;
}

#cart h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 24px;
    font-weight: 600;
}

.cart-items {
    display: grid;
    gap: 16px;
}

.cart-item {
    background-color: #050607;
    padding: 16px;
    border-radius: 8px;
    color: white;
}

.cart-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.cart-item p {
    margin: 0;
}