* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background */
body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #e5e7eb;
  min-height: 100vh;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 22px;
  text-align: center;
  font-size: 20px;
}

/* Layout */
.container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 25px;
  padding: 25px;
}

/* Glass Card Base */
.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 25px;
}

/* Product Card */
.products-grid div {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s, box-shadow 0.35s;
}

.products-grid div:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(37,99,235,0.4);
}

.products-grid img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.6));
}

/* Text */
.products-grid h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.3;
}

.products-grid p {
  font-size: 16px;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 14px;
}

/* Buttons */
button {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  padding: 11px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.35s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59,130,246,0.6);
}

/* Cart */
.cart-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  height: fit-content;
}

#cart div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  font-size: 14px;
  gap: 8px;
}

/* Remove Button */
#cart button {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  padding: 6px 10px;
  border-radius: 8px;
}

#cart button:hover {
  box-shadow: 0 6px 20px rgba(239,68,68,0.6);
}

/* Total */
#total {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 600;
  color: #4ade80;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }
}
