:root {
  --primary: #C89B6D;
  --secondary: #2C2C2C;
  --light: #F8F8F8;
  --border: #E5E5E5;
  --text: #555;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background: var(--light);
}
/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0; /* IMPORTANT fix */
  height: 70px;
  background: #11C3FE;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 40px; /* clean padding */
  box-sizing: border-box;

  z-index: 1000;
}

/* LOGO */
.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* NAV LINKS */
nav {
  display: flex;
  gap: 40px; /* instead of margin-right */
}

nav a {
  text-decoration: none;
  color: black;
  font-size: 16px;
}

.login {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
}
/* HAMBURGER ICON */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 220px;
    flex-direction: column;
    gap: 20px;
    padding: 20px;

    display: none;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .login {
    display: none; /* optional */
  }
}
/* MAIN */
.container {
  display: flex;
  padding: 20px;
  margin-top: 70px;
}

/* SIDEBAR */
.sidebar {
  width: 250px;
  background: white;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.sidebar h4 {
  margin-top: 15px;
  margin-bottom: 5px;
}

.sidebar input,
.sidebar select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid var(--border);
  border-radius: 5px;
}

.tags span {
  display: inline-block;
  background: #eee;
  padding: 5px 10px;
  margin: 5px;
  border-radius: 20px;
  font-size: 12px;
}

.features label {
  display: block;
  margin-top: 5px;
}

.search-btn {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 5px;
}

/* CONTENT */
.content {
  flex: 1;
  margin-left: 20px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sort button {
  border: none;
  background: #eee;
  padding: 5px 10px;
  margin-left: 5px;
  cursor: pointer;
}

.sort .active {
  background: var(--primary);
  color: white;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* CARD */
.card {
  background:linear-gradient(90deg,#27b0d8,#5c4cff);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: white;
  padding: 5px 10px;
  font-size: 12px;
}

.card h3 {
  padding: 10px;
}

.card p {
  padding: 0 10px;
  color: var(--text);
}

.info {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  font-size: 12px;
}

.bottom {
  display: flex;
  justify-content: flex-end;
  padding: 10px;
}

.price {
  color: var(--primary);
  font-weight: bold;
}