@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar */
.navbar { box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav-link { font-weight: 500; cursor: pointer; transition: 0.3s; }
.nav-link:hover, .nav-link.active { color: #ffc107 !important; }

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(17, 75, 23, 0.85), rgba(33, 37, 41, 0.95)), url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1920&q=80') center/cover;
    color: white;
    padding: 100px 0;
}

/* Product Cards */
.product-card {
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #ffffff;
    overflow: hidden;
}
.product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #198754;
}
.product-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background-color: #e9ecef;
}
.badge-kategori {
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: 600;
    z-index: 2;
}

/* Input Quantity */
.input-qty-container input[type="number"] {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    border: 1px solid #ced4da;
}
.input-qty-container input[type="number"]:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

/* Sticky Cart */
.sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 1030;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 2px solid #198754;
}
.sticky-cart.show { transform: translateY(0); }

/* Floating WA */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1020;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.float-wa:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

/* Footer */
footer { margin-top: auto; background-color: #212529; color: #adb5bd; }
footer a { color: #adb5bd; text-decoration: none; transition: 0.3s; }
footer a:hover { color: #ffc107; }

/* Print Layout Invoice */
@media print {
    body { background: white; font-size: 14px; }
    .no-print, nav, footer { display: none !important; }
    .invoice-container { box-shadow: none !important; border: none !important; padding: 0 !important; }
    .table-dark th { color: #000 !important; background-color: #f8f9fa !important; border-bottom: 2px solid #000; }
}