body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: #9dbdd9;
  color: #333;
}
.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);
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.navbar {
  background: #fff;
  width: 100%;
  padding: 12px 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  display : flex;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}



.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu li a.active,
.nav-menu li a:hover {
  color: #009fd4;
}

.auth-buttons {
  display: flex;
  align-items: center;
}

.auth-buttons a {
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-login {
  border: 1px solid #00b8e6;
  color: #00b8e6;
}

.btn-register {
  background: #00b8e6;
  color: #fff;
  margin-left: 10px;
  border: 1px solid #00b8e6;
}

.btn-login:hover {
  background: #00b8e6;
  color: #fff;
}

.btn-register:hover {
  background: #00a4cf;
}
.hero {
  background: #009fd4;
  color: white;
  text-align: center;
  padding: 90px 20px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h1 span {
  color: #ffd700;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom : 30px;
}

.hero .btn-utama {
  display: inline-block;
  background: #ffffff;
  color: #0077b6;
  padding: 12px 28px;
  border-radius: 12px;
  margin-top: 45px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.hero .btn-utama:hover {
  background: #ffd700;
  color: #1a1a1a;
}
.section-title {
  text-align: center;
  font-size: 28px;
  margin-top: 40px;
  color: #0077b6;
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  justify-content: center;
  justify-items: center;
  margin-top: 30px;
}

.produk-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: 200px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produk-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.produk-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.harga {
  color: #00b8e6;
  font-weight: bold;
  margin: 5px 0;
}
.lihat-lainnya-container {
  margin-top: 40px;
  text-align: center;
}
.btn-lihat-lainnya {
  display: inline-block;
  background: #00b8e6;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.btn-lihat-lainnya:hover {
  background: #044c62;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}
.btn-detail {
  background-color: #00b8e6;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-detail:hover {
  background-color: #009fd4;
}

footer {
  background: #fff;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 50px;
}

footer a {
  color: #00b8e6;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
.popup-message {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #00b894;
  color: #fff;
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  animation: fadeInOut 3s ease forwards;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  90% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
}
@media (max-width: 1024px) {
  .produk-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .produk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .produk-grid {
    grid-template-columns: 1fr;
  }
}
