body {
  font-family: 'Segoe UI', sans-serif;
  background: #f2f2f2ff;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  animation: fadeIn 1s ease-in-out;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #1e40af; /* biru laut (navy blue) */
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 26px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Search Box */
.search-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.search-box {
  position: relative;
  width: 60%;
  background-color: #f1f5f9;
  border-radius: 50px;
  box-shadow: 0px 6px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.search-box input[type="text"] {
  width: 100%;
  padding: 12px 40px 12px 15px;
  font-size: 16px;
  border-radius: 50px;
  border: none;
  outline: none;
  color: #333;
  background-color: #f1f5f9;
}

.search-box button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1e40af; /* biru laut */
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: white;
  padding: 8px 10px;
  border-radius: 50%;
}

.search-box button:hover {
  background-color: #152e8aff; /* biru laut lebih gelap saat hover */
}

/* Main content */
.main-content {
  padding: 40px;
}

h2 {
  text-align: center;
  color: #1e3a8a; /* tetap warna biru navy */
  margin-bottom: 47px;
  font-size: 36px;
  font-weight: 600;
  text-transform: uppercase;
}

.produk-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 55px;
  justify-items: center;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  padding: 20px;
  width: 100%;
  max-width: 320px;
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  background-color: #f2f9f1ff;
}

.card h3 {
  margin: 10px 0 5px;
  color: #0f172a;
  font-size: 18px;
  text-align: center;
}

.card p {
  margin: 4px 0;
  color: #334155;
  font-size: 14px;
}

.card input[type="number"] {
  width: 70px;
  padding: 8px;
  margin: 10px auto;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
}

.card form button {
  background-color: #1e40af; /* biru laut */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
  transition: background-color 0.2s ease;
}

.card form button:hover {
  background-color: #152e8aff; /* biru laut gelap */
}

.disabled {
  background-color: #d4d6d3ff !important;
  cursor: not-allowed;
}

/* Login Button */
.login-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  background-color: #152e8aff; /* biru laut gelap */
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
  background-color: #0e1f63ff; /* biru laut lebih gelap saat hover */
}

.login-btn i {
  margin-right: 8px;
}
