body {
  font-family: "Poppins", sans-serif;
  background: #f5f7fa;
  margin: 0;
  padding: 0;
}
.floating-cart {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #009fd4, #0078a0);
  color: white;
  font-size: 22px;
  font-weight: bold;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  cursor: grab;
  z-index: 2000;
  user-select: none;
  transition: transform 0.2s ease;
}

.floating-cart:active {
  cursor: grabbing;
  transform: scale(0.95);
}

#cart-count {
  position: absolute;
  top: 8px;
  right: 8px;
  background: red;
  color: white;
  font-size: 14px;
  font-weight: bold;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.cart-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #fff;
  border: 2px solid #009fd4;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease;
  z-index: 3000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.navbar {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #eee;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #009fd4;
  text-decoration: none;
  margin-right: 10px;
}

.nav-links a {
  color: black;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #009fd4;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links .active {
  color: #009fd4;
}

.nav-links a:hover::after,
.nav-links .active::after {
  width: 100%;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: #009fd4;
  color: white;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
  color: #3d626e;
  display: block;
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  justify-items: center;
  margin: 50px 80px;
}

.produk-item {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 220px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeIn 0.7s ease;
}

.produk-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.produk-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.produk-item h3 {
  font-size: 18px;
  color: #222;
}

.produk-item p {
  color: #009fd4;
  font-weight: bold;
}

.btn-detail {
  background: #00b8e6;
  border: none;
  padding: 10px 18px;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-detail:hover {
  background: #009fd4;
  transform: scale(1.05);
}
footer {
  background: #fff;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 50px;
  font-size: 14px;
  color: #234;
}

footer a {
  color: #00b8e6;
  text-decoration: none;
  margin: 0 6px;
}

footer a:hover {
  text-decoration: underline;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
