/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, Arial, sans-serif;
  background: #f6f8fb;
  color: #1f2937;
}

/* ========== HEADER ========== */
.header {
  background: #cfe8ff; /* pastel blue */
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 700;
}

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

#searchInput {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  width: 200px;
}

.favourite-icon {
  font-size: 20px;
  cursor: pointer;
}

/* ========== MENU ========== */
.menu {
  background: #ffffff;
  padding: 10px 24px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  border-bottom: 1px solid #e5e7eb;
}

.menu a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  white-space: nowrap;
}

.menu a.active {
  color: #2563eb;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 4px;
}

/* ========== PRODUCT GRID ========== */
.container {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.card h3 {
  font-size: 15px;
  margin: 10px 0 6px;
}

.card p {
  font-size: 14px;
  color: #2563eb;
  font-weight: 600;
}

/* ========== LOADER ========== */
#loader {
  text-align: center;
  padding: 24px;
  color: #6b7280;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
  #searchInput {
    width: 140px;
  }
}

