/* ==========================================================================
   LACI WIDGET & BILAH TOMBOL KANAN — Dar Ibnu Abbas
   Diekstrak dari laci-widget.blade.php agar HTML lebih ringan & bisa di-cache.
   Perbaikan A1: .dibas-drawer.is-open dipastikan memunculkan panel (translateX(0) + visibility:visible).
   ========================================================================== */
.dibas-dock {
    position: fixed; right: 0; top: 55%; transform: translateY(-50%); z-index: 9000;
    display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
#dibasDockItems { display: flex !important; }
.dibas-dock-btn {
    display: flex; align-items: center; gap: 7px;
    padding: 7px 10px 7px 11px;
    border-radius: 11px 0 0 11px;
    background: linear-gradient(135deg, #0b1150 0%, #17238a 100%);
    color: #f3e5b8; border: 1.5px solid #c9a227; border-right: 0;
    box-shadow: -3px 4px 12px rgba(11, 17, 80, .24);
    font-size: 11px; font-weight: 700; cursor: pointer;
    transition: padding-right .18s ease, background .18s ease;
    white-space: nowrap;
}
.dibas-dock-btn:hover { padding-right: 15px; background: linear-gradient(135deg, #141f85 0%, #202fa8 100%); color: #fff; }
.dibas-dock-btn i { font-size: 13px; color: #fde047; min-width: 15px; text-align: center; }
@media (max-width: 640px) {
    .dibas-dock-btn { padding: 9px; }
    .dibas-dock-btn span { display: none; }
    .dibas-dock-btn:hover span { display: none; }
    .dibas-dock-btn i { font-size: 15px; }
}

.dibas-drawer-bg {
    position: fixed; inset: 0; z-index: 99960;
    background: rgba(7, 11, 46, .58); backdrop-filter: blur(2px);
    opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.dibas-drawer-bg.is-open { opacity: 1; pointer-events: auto; }
.dibas-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 99965;
    width: min(500px, 94vw); background: #fcf9f2;
    border-left: 2px solid #c9a227;
    box-shadow: -12px 0 36px rgba(7, 11, 46, .35);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), visibility .28s ease;
    display: flex; flex-direction: column;
}
.dibas-drawer.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.dibas-drawer-head {
    background: linear-gradient(135deg, #0b1150 0%, #162285 100%);
    color: #f3e5b8; padding: 13px 16px;
    border-bottom: 2px solid #c9a227;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.dibas-drawer-body {
    flex: 1; overflow-y: auto; padding: 16px;
    -webkit-overflow-scrolling: touch;
}
/* Hilangkan scroll ganda di dalam panel Cek Ongkir (A5) */
.dibas-drawer-body #okTarifList {
    max-height: none !important;
    overflow-y: visible !important;
}
