/* kv_subnav_offcanvas.css — responsive sub-navigation (founder 2026-09-16: "replace all such scrollable navigation with
   offcanvas on click on a floating button on responsive view"). Desktop untouched. On <= 991.98px the horizontal
   page-group tab strip (.kv-subnav) is hidden and a floating round button opens a 70%-wide offcanvas styled like
   the global dark sidebar, listing the same links with the active one highlighted. Shared by the Merchant Panel and
   PAdmin (padmin/includes + merchant/includes render the strip; assets/newjs/kv_subnav_offcanvas.js builds the panel). */
.kv-subnav-fab, .kv-subnav-oc { display: none; }
@media (max-width: 991.98px) {
  .kv-subnav { display: none !important; }
  .kv-subnav-fab { display: inline-flex; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--kv-bottombar-h, 0px)); z-index: 1045;
    width: 52px; height: 52px; border-radius: 50%; align-items: center; justify-content: center; border: 0; cursor: pointer;
    background: var(--kv-subnav-bg, #0f172a); color: #fff; box-shadow: 0 8px 24px rgba(15, 23, 42, .35); }
  .kv-subnav-fab i { font-size: 22px; line-height: 1; }
  .kv-subnav-fab .kv-subnav-fab__badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; padding: 0 6px;
    background: var(--bs-primary, #4338ca); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
  .kv-subnav-oc { display: block; }
  .kv-subnav-oc.offcanvas { width: 70vw; max-width: 360px; background: var(--kv-subnav-bg, #0f172a); color: #e2e8f0; border-left: 0; }
  .kv-subnav-oc .offcanvas-header { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .kv-subnav-oc .offcanvas-title { color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
  .kv-subnav-oc .btn-close { filter: invert(1) grayscale(1); opacity: .8; }
  .kv-subnav-oc .kv-subnav-oc__group { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; padding: 14px 16px 4px; }
  .kv-subnav-oc .kv-subnav-oc__link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #e2e8f0; text-decoration: none; border-radius: 10px; margin: 2px 8px; min-height: 44px; }
  .kv-subnav-oc .kv-subnav-oc__link i { width: 22px; text-align: center; font-size: 18px; opacity: .9; }
  .kv-subnav-oc .kv-subnav-oc__link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  .kv-subnav-oc .kv-subnav-oc__link.active { background: var(--bs-primary, #4338ca); color: #fff; font-weight: 600; }
  .kv-subnav-oc .offcanvas-body { padding: 8px 0 24px; }
}
