/* KBM rc.86 cascade consolidation — non-header remainder of kbm-theme-visual-experience-v9.css. Header selectors moved to kbm-theme-header-authority-86.css. */
/* KBM Theme Core rc.68 — V9 Visual Experience Authority.
 * Shell-only polish; Core remains business/card/filter/data authority. */
:root{
  --kbm-vx9-drawer-w:420px;
  --kbm-vx9-header-elev:0 10px 28px rgba(7,29,45,.07);
  --kbm-vx9-drawer-elev:-22px 0 72px rgba(7,29,45,.26);
  --kbm-vx9-appbar-elev:0 -10px 34px rgba(7,29,45,.13);
}






/* Smart submit: full label at the top, compact + after meaningful scroll. */
body.kbm-theme-core .kbm-theme-btn--smart-submit{position:relative;overflow:hidden;transition:width 180ms cubic-bezier(.2,.8,.2,1),min-width 180ms ease,padding 180ms ease,border-radius 180ms ease,transform 160ms ease,box-shadow 160ms ease!important}
body.kbm-theme-core .kbm-theme-btn--smart-submit .kbm-theme-btn__smart-icon{display:grid;place-items:center;width:0;opacity:0;font:900 25px/1 Estedad,Tahoma,sans-serif;transition:width 160ms ease,opacity 160ms ease}
body.kbm-theme-core .kbm-theme-btn--smart-submit .kbm-theme-btn__label{display:inline-block;max-width:180px;opacity:1;white-space:nowrap;overflow:hidden;transition:max-width 160ms ease,opacity 120ms ease}


/* Drawer: account-first IA inspired by high-trust marketplace apps. */

@media (max-width:1320px){
  :root{--kbm-header-drawer:var(--kbm-vx9-drawer-w)}
  
  
  
  
  

  
  
  
  
  
  
  
  

  
  
  
  

  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
  
  
  
}



/* VR09: compact native mobile product navigation; existing controllers retained. */
@media(max-width:980px){
body.kbm-theme-core #kbm-app-bar{inset-inline:0!important;bottom:0!important;min-height:60px!important;height:calc(60px + env(safe-area-inset-bottom,0px))!important;padding:4px 8px env(safe-area-inset-bottom,0px)!important;gap:4px!important;border:0!important;border-top:1px solid #dce4e8!important;border-radius:0!important;background:#fff!important;box-shadow:0 -3px 14px rgba(16,44,66,.06)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.kbm-theme-core #kbm-app-bar .kbm-quf-app-bar__item{min-height:50px!important;height:50px!important;padding:4px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#52697a!important;transform:none!important;box-shadow:none!important}
body.kbm-theme-core #kbm-app-bar .kbm-quf-app-bar__item--active{background:#fff4bf!important;color:#102c42!important;box-shadow:none!important}
body.kbm-theme-core #kbm-app-bar [data-key="submit"]{background:#102c42!important;color:white!important;-webkit-text-fill-color:white!important;transform:none!important;min-width:0!important;max-width:none!important;width:100%!important;min-height:50px!important;border-radius:8px!important;box-shadow:none!important}
body.kbm-theme-core #kbm-app-bar .kbm-quf-app-bar__icon,body.kbm-theme-core #kbm-app-bar .kbm-quf-app-bar__icon img,body.kbm-theme-core #kbm-app-bar .kbm-quf-app-bar__icon svg{width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;min-height:22px!important;transform:none!important}
body.kbm-theme-core #kbm-app-bar .kbm-quf-app-bar__label{font-size:11px!important;line-height:1.4!important;font-weight:600!important;opacity:1!important;max-height:none!important;margin:0!important;color:inherit!important;-webkit-text-fill-color:inherit!important}
body.kbm-theme-core #kbm-mobile-more .kbm-theme-mobile-more__sheet{border-radius:12px 12px 0 0!important;background:#fff!important;padding:16px!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;box-shadow:none!important}
body.kbm-theme-core #kbm-mobile-more .kbm-theme-mobile-more__grid{gap:8px!important}
body.kbm-theme-core #kbm-mobile-more .kbm-theme-mobile-more__grid>a{border-radius:8px!important;padding:12px!important;border:1px solid #dce4e8!important;background:white!important;box-shadow:none!important;min-height:64px!important}
body.kbm-theme-core #kbm-mobile-more .kbm-theme-mobile-more__grid>a b{font-size:14px!important}body.kbm-theme-core #kbm-mobile-more .kbm-theme-mobile-more__grid>a small{font-size:12px!important;color:#52697a!important}
body.kbm-theme-core.kbm-theme-has-mobile-appbar{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))!important}
}

@media (prefers-reduced-motion:reduce){
  body.kbm-theme-core .kbm-theme-btn--smart-submit,
body.kbm-theme-core .kbm-theme-btn--smart-submit *,
body.kbm-theme-core .kbm-theme-mobile-appbar *{transition:none!important;animation:none!important}
}

/* rc.69 — Visual Icon Library 02 theme surface bridge */
body.kbm-theme-core .kbm-media8-img{display:block;object-fit:contain;object-position:center;max-width:100%;max-height:100%;filter:none!important}

















body.kbm-theme-core .kbm-theme-btn__smart-icon{display:grid!important;place-items:center!important}
body.kbm-theme-core .kbm-theme-btn__smart-icon .kbm-media8-img{width:16px!important;height:16px!important;max-width:16px!important;max-height:16px!important;object-fit:contain!important}
body.kbm-theme-core .kbm-quf-app-bar__icon .kbm-media8-img{width:30px!important;height:30px!important}
body.kbm-theme-core .kbm-theme-mobile-more__icon .kbm-media8-img{width:28px!important;height:28px!important}
body.kbm-theme-core .kbm-theme-footer__social .kbm-media8-img{width:24px!important;height:24px!important}


/* rc70 icon optical-size overrides */






/* rc.78: keep the desktop header on one line when zooming out. */

