/* TUNAS — Custom Styles */
:root {
    --green-dark:  #1B5E20;
    --green-mid:   #2E7D32;
    --green-fresh: #43A047;
    --green-light: #E8F5E9;
    --green-lime:  #76C442;
}

*,:before,:after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #F1F8F2; }
::-webkit-scrollbar-thumb { background: #A5D6A7; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #43A047; }

body { font-family: 'Plus Jakarta Sans', sans-serif; background:#fff; color:#1a1a1a; }

/* ---- Navbar underline for active link ---- */
.nav-active {
    color: #2E7D32 !important;
    border-bottom: 2px solid #43A047;
    padding-bottom: 2px;
}

/* ---- Hero badge pill ---- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #2E7D32;
    letter-spacing: 0.04em;
}

/* ---- Section heading with leaf icon ---- */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a1a;
}

/* ---- Category Card ---- */
.cat-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.cat-card:hover {
    border-color: #A5D6A7;
    box-shadow: 0 8px 24px rgba(30,90,40,0.10);
    transform: translateY(-3px);
}
.cat-card .cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #F1F8F2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-card:hover .cat-icon { background: #E8F5E9; }
.cat-card .cat-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1.5px solid #D1D5DB;
    font-size: 12px;
    color: #9CA3AF;
    transition: border-color 0.2s, color 0.2s;
}
.cat-card:hover .cat-arrow { border-color: #43A047; color: #43A047; }

/* ---- Product Card ---- */
.product-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}
.product-card:hover {
    box-shadow: 0 8px 28px rgba(30,90,40,0.10);
    transform: translateY(-3px);
}
.product-card .img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    background: #F8FBF8;
    overflow: hidden;
}
.product-card .img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card .grade-badge {
    position: absolute;
    top: 8px; left: 8px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.badge-premium  { background:#DCFCE7; color:#15803D; }
.badge-gradea   { background:#D1FAE5; color:#065F46; }
.badge-gradeb   { background:#FEF9C3; color:#854D0E; }
.badge-organik  { background:#FEF3C7; color:#92400E; }
.badge-unggul   { background:#D1FAE5; color:#065F46; }
.product-card .wish-btn {
    position: absolute;
    top: 8px; right: 8px;
    width: 28px; height: 28px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.product-card .wish-btn:hover { color: #EF4444; border-color: #FECACA; }
.product-card .card-body {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-card .cart-btn {
    width: 100%;
    padding: 8px;
    background: #2E7D32;
    color: white;
    font-weight: 700;
    font-size: 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background 0.2s;
}
.product-card .cart-btn:hover { background: #1B5E20; }
.product-card .cart-btn:disabled { background: #D1D5DB; color: #9CA3AF; cursor: not-allowed; }

/* ---- Trust bar ---- */
.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.trust-item .trust-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid #E5E7EB;
    background: #F9FAF9;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Testimonial card ---- */
.testi-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---- FAQ Chat window ---- */
#faq-chat-window { transition: all 0.28s cubic-bezier(0.4,0,0.2,1); }

/* ---- Animations ---- */
@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(67,160,71,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(67,160,71,0); }
    100% { box-shadow: 0 0 0 0 rgba(67,160,71,0); }
}
.btn-pulse { animation: pulseRing 2.5s infinite; }

@keyframes fadeUp {
    from { opacity:0; transform:translateY(16px); }
    to   { opacity:1; transform:translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.5s ease forwards; }

/* ---- Hide scrollbar utility ---- */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

