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

body {
  font-family: Inter, sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f1f5f9;
  min-height: 100vh;
}

/* Theme */
:root {
  --primary: #7c3aed;
  --accent: #22d3ee;
  --glass: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.1);
  --radius: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(15,23,42,0.7);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

input {
  padding: 10px 14px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: white;
  outline: none;
}

input::placeholder {
  color: #94a3b8;
}

button {
  border: none;
  border-radius: 50px;
  padding: 10px 18px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.05);
}

button.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: white;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.hero h1 {
  font-size: 48px;
  background: linear-gradient(to right, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  margin-top: 14px;
  color: #94a3b8;
}

.hero img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transition: 0.4s;
}

.hero img:hover {
  transform: scale(1.05);
}

/* SECTION TITLE */
.section-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* FILTERS */
.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.filters button {
  background: var(--glass);
  border: 1px solid var(--border);
}

.filters button.active {
  background: linear-gradient(to right, var(--primary), var(--accent));
}

/* PRODUCTS GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 16px;
}
a {
  text-decoration: none;
  color: inherit;
}
.cart-icon {
  text-decoration: none;
}

.price {
  color: #94a3b8;
  margin-top: 6px;
}

.rating {
  font-size: 13px;
  color: #cbd5e1;
  margin-top: 4px;
}

.card-body button {
  width: 100%;
  margin-top: 14px;
}

/* FLOATING CART */
.floating-cart {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  transition: 0.3s;
}

.floating-cart:hover {
  transform: scale(1.1);
}

.floating-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  display: none;
}

/* DRAWER */
.drawer {
  background: #0f172a;
  border-right: 1px solid var(--border);
}

.drawer-links a,
.drawer-links button {
  background: var(--glass);
  border: 1px solid var(--border);
  color: white;
  border-radius: 12px;
}

/* FOOTER */
footer {
  margin-top: 80px;
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  color: #94a3b8;
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 520px) {
  .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
  .card img {
  height: 250px;
}
    .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .logo {
    text-align: center;
  }

  .nav-right {
    width: 100%;
    display: flex;
    gap: 10px;
  }

  .nav-right input {
    flex: 1;
  }

  .cart-icon {
    text-decoration: none;
  }

}
  
  
}