/* Asamedia Pustaka - Core Utilities & Inner Pages (Clean & Lightweight) */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f1f5f9;
    color: #0f172a;
}
.t-center { text-align: center; }
.cursor-pointer { cursor: pointer; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.font-medium { font-weight: 600; }
.font-bold, .font-black { font-weight: 800; }

/* Card & Section */
.section {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}
.bread-crumb {
    padding: 10px 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 12.5px;
}

/* Keranjang & Checkout */
.keranjang, .produk .produk-item, .table-item, .pesanan-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.keranjang .img, .produk .produk-item .img, .pesanan-item .produk-item .img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    margin: auto;
}
.cebox { width: 20px; height: 20px; }

/* Metode Pembayaran & TriPay */
.metodebayar, .metode-item, .tripay_payment {
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    margin-bottom: 10px;
}
.metodebayar.active, .metode-item.active, .tripay_payment.active {
    border-color: #1659a8;
    background: rgba(22, 89, 168, 0.06);
}
.metodebayar .fa-check-circle, .metode-item .cek {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #16a34a;
    display: none;
}
.metodebayar.active .fa-check-circle, .metode-item.active .cek { display: block; }

/* Ulasan & Pesan Live Chat */
.ulasan {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    background: #f8fafc;
}
.pesan { overflow-y: auto; max-height: 65vh; padding-bottom: 20px; }
.pesan .pesanwrap { display: flex; padding: 4px; }
.pesan .isipesan {
    padding: 8px 14px;
    max-width: 82%;
    border-radius: 12px;
    font-size: 13px;
}
.pesan .center { justify-content: center; }
.pesan .center .isipesan { background: #e2e8f0; color: #334155; }
.pesan .right { justify-content: flex-end; }
.pesan .right .isipesan { background: #1659a8; color: #ffffff; }
.pesan .left { justify-content: flex-start; }
.pesan .left .isipesan { background: #f1f5f9; color: #0f172a; border: 1px solid #cbd5e1; }

/* Pagination & Footer */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.pagination .item {
    padding: 6px 14px;
    border-radius: 10px;
    background: #e2e8f0;
    color: #0f172a;
    font-weight: 700;
}
.pagination .item.active, .pagination .item:hover {
    background: #1659a8;
    color: #ffffff;
    text-decoration: none;
}
.foot-menu { list-style: none; padding: 0; }
.foot-menu li a { display: block; padding: 3px 0; }

/* Live Chat Sticky */
.chat-sticky {
    position: fixed;
    bottom: 76px;
    right: 14px;
    background: #16a34a;
    color: #ffffff !important;
    border-radius: 99px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    z-index: 1035;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3);
}
