/* --- GLOBAL STYLE --- */
body {
    background-color: #f8f9fa; /* Abu-abu sangat muda (mirip Facebook/Tokped) */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- NAVBAR --- */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Bayangan halus di menu */
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.5rem;
}

/* --- CARD PRODUK (KOTAK BARANG) --- */
.product-card {
    background: white;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease; /* Animasi halus */
    overflow: hidden;
    height: 100%;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-5px); /* Naik sedikit saat disentuh mouse */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Bayangan makin tebal */
}

.product-img-container {
    height: 100px; /* Tinggi gambar seragam */
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-container img {
    height: 100%;
    width: 150%;
    object-fit: contain; /* Gambar pas di kotak tanpa gepeng */
    padding: 1px;
    transition: transform 0.3s;
}

.product-card:hover .product-img-container img {
    transform: scale(1.05); /* Zoom dikit saat hover */
}

.card-body {
    padding: 1px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Batasi teks judul max 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.product-price {
    color: #fa591d; /* Warna Oranye Shopee/Tokped */
    font-weight: bold;
    font-size: 0.8rem;
}

/* --- TOMBOL --- */
.btn-primary {
    background: linear-gradient(45deg, #0d6efd, #0a58ca);
    border: none;
    font-weight: 500;
}

.btn-success {
    background: linear-gradient(45deg, #198754, #146c43);
    border: none;
}

/* --- BANNER HERO --- */
.hero-banner {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

/* --- FOOTER --- */
footer {
    background-color: #fff;
    border-top: 1px solid #e9ecef;
    margin-top: 50px;
}