/* 🌌 BACKGROUND */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #1e1e2f, #2a2a40);
  color: white;
}

/* 🔥 GLASS NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.2);

  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar h2 {
  margin: 0;
}

/* SEARCH */
.navbar input {
  width: 40%;
  padding: 10px;
  border-radius: 20px;
  border: none;
  outline: none;
}

/* RIGHT SIDE */
.nav-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  position: relative;
}

/* 👤 PROFILE */
.profile img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.profile img:hover {
  transform: scale(1.1);
}

/* 🛒 CART */
.cart-link {
  position: relative;
  font-size: 18px;
}

/* 🔴 BADGE */
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: red;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  padding: 3px 6px;
  font-weight: bold;
}

/* BUTTON */
.navbar button {
  background: linear-gradient(45deg,#ff7e5f,#feb47b);
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 20px;
  color: white;
}

/* 🎯 HERO */
.hero {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  background: url('https://images.unsplash.com/photo-1528701800489-20be9c7d9f7f') center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

/* TEXT ABOVE */
.hero h1,
.hero p,
.hero button {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 36px;
}

.hero button {
  margin-top: 15px;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(45deg,#ff7e5f,#feb47b);
  color: white;
  cursor: pointer;
  font-weight: bold;
}

/* 🛍️ SECTION */
.section-title {
  text-align: center;
  margin: 30px 0;
}

/* 🔥 GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 30px;
}

/* 🔥 CARD */
.product-card {
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
  position: relative;
}

/* 💰 SALE BADGE */
.product-card::before {
  content: "🔥 SALE";
  position: absolute;
  top: 10px;
  left: 10px;
  background: red;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
}

/* 🖼️ IMAGE */
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  transition: 0.4s;
}

/* 🔥 IMAGE ZOOM */
.product-card:hover img {
  transform: scale(1.15);
}

/* ✨ HOVER */
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(255,126,95,0.6);
}

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

/* PRICE */
.product-card p {
  color: #00ff99;
  font-weight: bold;
}

/* ⭐ RATING */
.rating {
  color: gold;
  margin: 5px 0;
  font-size: 14px;
}

/* BUTTON */
.product-card button {
  margin-top: 10px;
  padding: 10px;
  border-radius: 20px;
  border: none;
  background: linear-gradient(45deg,#ff7e5f,#feb47b);
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.product-card button:hover {
  opacity: 0.9;
}

/* ❤️ WISHLIST */
.wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.wishlist:hover {
  transform: scale(1.3);
}

.wishlist:active {
  transform: scale(1.6);
}

/* 🛒 BUTTON CLICK */
.cart-btn {
  transition: 0.2s;
}

.cart-btn:active {
  transform: scale(0.9);
}

/* 🛍️ CART PAGE */
.cart-container {
  padding: 30px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  background: rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* 💳 CHECKOUT */
.checkout-btn {
  padding: 12px 25px;
  background: linear-gradient(45deg,#ff7e5f,#feb47b);
  border: none;
  border-radius: 20px;
  color: white;
  cursor: pointer;
}