body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.container {
  display: flex;
  padding: 20px;
  gap: 20px;
}

.product-section {
  flex: 3;
}

.product-section h2 {
  margin-bottom: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-card img {
  width: auto;
  height: 400px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.product-card button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
}

.bundle-cart {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  height: fit-content;
}

.bundle-cart h3 {
  margin-top: 0;
}

.cart-info {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

#cartList {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

#cartList li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.cart-actions {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-left: auto;
}

.cart-actions button {
  background-color: #ddd;
  border: none;
  padding: 5px;
  cursor: pointer;
  border-radius: 3px;
}

.totals p {
  margin: 8px 0;
}

#checkoutBtn {
  width: 100%;
  background: #000;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Responsive styles */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    padding: 10px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .bundle-cart {
    margin-top: 20px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .product-card img {
    height: 220px;
  }
  .bundle-cart {
    padding: 10px;
  }
  .product-card {
    padding: 5px;
  }
  .totals p {
    font-size: 14px;
  }
  #checkoutBtn {
    padding: 8px;
    font-size: 16px;
  }
}
