* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Baloo 2', cursive;
}

body {
  background: linear-gradient(135deg, #1f2937, #111827);
  color: white;
  overflow-x: hidden;
}

/* HEADER */
.header {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #ff8c00;
}

.nav a {
  margin-left: 18px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

/* HERO */
.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Animated Background */
.bg-animation span {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(120px);
  animation: move 15s infinite alternate ease-in-out;
}

.bg-animation span:nth-child(1) {
  top: -100px;
  left: -100px;
  background: rgba(255, 115, 0, 0.3);
}

.bg-animation span:nth-child(2) {
  bottom: -120px;
  right: -120px;
  background: rgba(255, 200, 0, 0.3);
  animation-duration: 18s;
}

.bg-animation span:nth-child(3) {
  top: 40%;
  left: 60%;
  background: rgba(255, 80, 80, 0.3);
  animation-duration: 20s;
}

@keyframes move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, -50px); }
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.title {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(90deg, #ff8c00, #ff2d55);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 1s ease forwards;
}

.subtitle {
  margin-top: 15px;
  font-size: 20px;
  opacity: 0.9;
  animation: fadeUp 1.5s ease forwards;
}

.cta-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 28px;
  background: #ff8c00;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  color: white;
  transition: 0.3s ease;
}

.cta-btn:hover {
  transform: scale(1.05);
  background: #ff6b00;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255,255,255,0.05);
  font-size: 14px;
}

.container {
  padding: 40px 20px;
}

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

.product-card {
  background: rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 12px;
  text-align: center;
}

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

.product-card h3 {
  margin: 10px 0;
}

.product-card button {
  padding: 8px 15px;
  border: none;
  border-radius: 20px;
  background: #ff8c00;
  color: white;
  cursor: pointer;
}

#cart-items p {
  margin: 8px 0;
}

.container {
  padding: 40px 20px;
  min-height: 80vh;
}

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

.product-card {
  background: rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: 12px;
  transition: 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  background: #222;
}

.product-info {
  margin-top: 10px;
}

.product-info h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.product-info p {
  font-size: 13px;
  opacity: 0.8;
}

.cart-item {
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.qty-controls button {
  padding: 5px 12px;
  border: none;
  background: #ff8c00;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.remove-btn {
  margin-top: 5px;
  background: crimson;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* ============================= */
/* LIGHTBOX STYLE */
/* ============================= */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  border-radius: 12px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ============================= */
/* CART BADGE */
/* ============================= */
.cart-link {
  position: relative;
}

.cart-badge {
  background: #ff8c00;
  color: white;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  right: -12px;
}

/* ============================= */
/* TOAST NOTIFICATION */
/* ============================= */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1f2937;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  opacity: 0;
  transition: 0.4s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
