body {
    font-family: "Poppins", sans-serif;
    background-color: #f4f8ff !important;
    margin: 0;
    padding: 0;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card img {
    max-width: 100%;
    border-radius: 10px;
}

.product-title {
  display: block;                 
  font-weight: bold;
  font-size: 0.875rem;            
  margin-bottom: 0.125rem;        
  white-space: nowrap;           
  overflow: hidden;              
  text-overflow: ellipsis;      
  max-width: 100%;               
}

main,
.container {
    padding-bottom: 4rem; 
}

.text {
    color: #f58220;
}

.font-bold {
    font-weight: bold;
}

.text-lg {
    font-size: 1.125rem;
}

.select-none {
    user-select: none;
}

.font-[Inter] {
    font-family: 'Inter', sans-serif;
}

.bg-white {
    background-color: white;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-start {
    align-items: flex-start;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-gray-400 {
    color: #cbd5e0;
}

.mb-0\.5 {
    margin-bottom: 0.125rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-yellow-400 {
    color: #fbbf24;
}

.space-x-1 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0.25rem;
}

article {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Nama produk berubah warna saat hover card */
article:hover .product-title {
  color: #F7941D !important;
}

/* Efek animasi saat tap di mobile */
article:active,
article:focus-visible {
  transform: translateY(-6px) scale(0.98);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

a > article {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a:hover > article {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

a:active > article,
a:focus-visible > article {
  transform: translateY(-6px) scale(0.98);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}