body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f8f8f8;
}

h1 {
    text-align: center;
    color: #333;
}

.produk-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Menjaga jarak antar produk */
}

.produk {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: calc(25% - 20px); /* Mengatur lebar produk untuk 4 kolom */
    width: 100%;
    margin-bottom: 20px; /* Jarak antar baris */
    box-sizing: border-box; /* Menyertakan padding dan border dalam lebar */
}

.produk img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.produk h2 {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

.produk p {
    margin: 5px 0;
    color: #666;
}

@media (max-width: 900px) {
    .produk {
        max-width: calc(33.33% - 20px); /* 3 kolom pada layar menengah */
    }
}

@media (max-width: 600px) {
    .produk {
        max-width: calc(50% - 20px); /* 2 kolom pada layar kecil */
    }
}

@media (max-width: 400px) {
    .produk {
        max-width: 100%; /* 1 kolom pada layar sangat kecil */
    }
}

/* Animasi loading */
.loading {
    display: none; /* Tersembunyi secara default */
    text-align: center;
    margin: 30px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.produk img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease; /* Animasi saat gambar dihover */
}

.produk img:hover {
    transform: scale(1.1); /* Zoom gambar saat dihover */
}


.product-info {
    position: relative;
}

.product-details {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ccc;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.product:hover .product-details {
    display: block;
}


.kategori-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.kategori-dropdown {
    padding: 10px 20px;
    border-radius: 25px; /* Rounded corners */
    background-color: #fff;
    border: 2px solid #ddd;
    font-size: 16px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.kategori-dropdown:focus {
    border-color: #007bff; /* Border color on focus */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* Blue shadow on focus */
}

.kategori-dropdown:hover {
    border-color: #007bff; /* Change border color on hover */
}

.kategori-dropdown option {
    padding: 10px;
    background-color: #fff; /* Option background color */
    color: #333;
}

/* For Mobile responsiveness */
@media (max-width: 600px) {
    .kategori-dropdown {
        width: 100%;
        padding: 12px;
    }
}
.wa-button {
    display: flex; /* Menggunakan flexbox untuk mengatur ikon dan teks */
    align-items: center; /* Memposisikan ikon dan teks secara vertikal di tengah */
    justify-content: center; /* Memposisikan ikon dan teks secara horizontal di tengah */
    padding: 10px 20px;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    margin: 10px auto; /* Menempatkan tombol di tengah */
}

.wa-button:hover {
    background-color: #128C7E; /* Darker green on hover */
}

.wa-button i {
    margin-right: 8px; /* Jarak antara ikon dan teks */
    font-size: 18px; /* Ukuran ikon */
}

.loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.loading img {
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
p{
    text-align: justify;
    margin-bottom: 20px; /* Sesuaikan jarak antar paragraf */
}

/* Modal styling */




