* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #0f0f1a;
  color: white;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #7c5cff;
}

.search {
  width: 40%;
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  outline: none;
}

/* HERO */
.hero {
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: radial-gradient(circle, #7c5cff33, transparent);
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.hero button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background: #7c5cff;
  color: white;
  border-radius: 10px;
  cursor: pointer;
}

/* PRODUCTS */
.products {
  padding: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 15px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.card button {
  margin-top: 10px;
  width: 100%;
  padding: 8px;
  border: none;
  background: #7c5cff;
  color: white;
  border-radius: 10px;
  cursor: pointer;
}

/* CART */
.cart {
  position: fixed;
  right: -400px;
  top: 0;
  width: 350px;
  height: 100%;
  background: #1a1a2e;
  padding: 20px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.cart.active {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.cart-footer {
  margin-top: auto;
}

.checkout {
  width: 100%;
  padding: 10px;
  background: #00c896;
  border: none;
  color: white;
  border-radius: 10px;
  cursor: pointer;
}