body {
  padding-top: 60px;
  background-color: #f8f9fa;
}

.products {
  padding: 2rem 0;
}

.product-item {
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.product-description {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.product-price {
  font-size: 1.25rem;
  font-weight: bold;
  color: #0d6efd;
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.btn-buy {
  width: 100%;
  padding: 0.5rem;
  background: #0d6efd;
  color: white;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease;
  display: block;
  font-size: 0.9rem;
}

.btn-buy:hover {
  background: #0b5ed7;
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}
.product-image-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 200px; /* Sesuaikan dengan kebutuhan */
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-item:hover .product-image {
  transform: scale(1.1); /* Zoom level, bisa disesuaikan */
}

@media (max-width: 576px) {
  .product-item {
    flex: 0 0 48%; /* Mengatur lebar card menjadi 48% */
    margin: 1%; /* Menambahkan margin agar ada jarak antar card */
  }
}
.social-links a {
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: inherit;
}

.social-links a:hover .bi-instagram {
  background: linear-gradient(
    45deg,
    #f58529,
    #dd2a7b,
    #8134b8,
    #515bd4,
    #00a7e1
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-links a:hover .bi-youtube {
  color: #ff0000;
}

.social-links a:hover .bi-tiktok {
  color: #000000;
}

.social-links a:hover .bi-whatsapp {
  color: #25d366;
}
