body {
  font-family: 'Poppins', sans-serif;
  background: #f9fbfd;
  margin: 0;
  color: #333;
}

header {
  background: #007bff;
  color: white;
  text-align: center;
  padding: 30px 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8em;
  font-weight: bold;
}

.logo span {
  color: #fff4c2;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
  transition: 0.2s;
}

nav a:hover {
  text-decoration: underline;
}

.tagline {
  margin-top: 10px;
  font-size: 1rem;
  opacity: 0.9;
}

.search-section {
  text-align: center;
  margin: 25px auto;
}

#search {
  width: 80%;
  max-width: 400px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  outline: none;
  font-size: 1rem;
}

#search:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 50px;
  padding: 0 15px;
}

.product {
  background: white;
  border-radius: 12px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.product img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 10px;
}

.product h3 {
  font-size: 1.1rem;
  margin: 10px 0 5px;
}

.product p {
  font-weight: 600;
  color: #007bff;
  margin: 5px 0 15px;
}

button {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.95rem;
}

button:hover {
  background: #005fcc;
}

footer {
  background: #f1f4f9;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #555;
}

footer a {
  color: #007bff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Pop-up Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Kotak Pop-up */
.popup-box {
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 380px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  animation: popupIn 0.2s ease-in-out;
}

@keyframes popupIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-box h3 {
  margin-top: 0;
  color: #333;
}

.popup-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.btn-cancel,
.btn-confirm {
  border: none;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn-cancel {
  background: #ccc;
  color: #333;
}

.btn-cancel:hover {
  background: #b0b0b0;
}

.btn-confirm {
  background: #007bff;
  color: #fff;
}

.btn-confirm:hover {
  background: #005fcc;
}
