* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background: #0b0b0b;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Video */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(40%);
  z-index: -2;
}

header {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.1);
}

h1 {
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
}

.filters {
  margin-top: 10px;
}

select, .cart-link {
  padding: 8px 12px;
  margin: 5px;
  border-radius: 8px;
  border: 2px solid #00ffff;
  background: transparent;
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.cart-link:hover, select:hover {
  background: #00ffff;
  color: #000;
  box-shadow: 0 0 10px #00ffff;
}

#productContainer, #cartContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  flex: 1;
}

.product-card, .cart-card {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  width: 220px;
  text-align: center;
  padding: 15px;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(0,255,255,0.2);
  overflow: hidden;
  word-wrap: break-word;
}

.product-card:hover, .cart-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

.product-card img, .cart-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.product-card h3, .cart-card h3 {
  color: #00ffff;
  margin-bottom: 8px;
}

button {
  margin-top: 8px;
  padding: 8px 15px;
  border: none;
  border-radius: 6px;
  background: #00ffff;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

button:hover {
  background: #007bff;
  color: #fff;
  box-shadow: 0 0 10px #00ffff;
}

.favorite {
  background: #ff0066;
  color: #fff;
}

footer {
  text-align: center;
  padding: 10px;
  background: rgba(255,255,255,0.08);
}

.total-section {
  text-align: center;
  margin: 20px;
  font-size: 1.2em;
}

@media (max-width: 600px) {
  #productContainer, #cartContainer {
    flex-direction: column;
    align-items: center;
  }

  .product-card, .cart-card {
    width: 85%;
  }

  select, .cart-link {
    width: 90%;
  }
}
