:root {
  --primary: #4f46e5;
  --bg: #f5f5f5;
  --text: #333;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

header {
  background: var(--primary);
  color: white;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.login-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.login-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.login-btn:active {
  transform: scale(0.96);
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.product h3 {
  margin-top: 0.8rem;
}

.btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

.btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.96);
}


.btn:hover {
  background: #3730a3;
}

footer {
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  background: #eee;
  font-size: 0.9rem;
}


