/* KHF Bottom Nav Solid Sticky Final
   Fokus: menu bawah jelas, pekat, tidak blink, dan posisi fixed stabil. */
html{
  scroll-padding-bottom:120px !important;
}
body{
  padding-bottom:calc(112px + env(safe-area-inset-bottom,0px)) !important;
}

.khf-bottom-v11{
  position:fixed !important;
  left:50% !important;
  right:auto !important;
  top:auto !important;
  bottom:calc(10px + env(safe-area-inset-bottom,0px)) !important;
  transform:translate3d(-50%,0,0) !important;
  width:min(680px,calc(100vw - 28px)) !important;
  height:86px !important;
  min-height:86px !important;
  max-height:86px !important;
  z-index:2147482500 !important;
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  align-items:center !important;
  gap:10px !important;
  padding:10px !important;
  margin:0 !important;
  border-radius:30px !important;
  border:1px solid rgba(255,174,45,.32) !important;
  background:#090909 !important;
  box-shadow:
    0 22px 60px rgba(0,0,0,.72),
    0 0 0 1px rgba(255,255,255,.035) inset,
    0 0 34px rgba(255,141,16,.10) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  opacity:1 !important;
  visibility:visible !important;
  overflow:hidden !important;
  pointer-events:auto !important;
  user-select:none !important;
  -webkit-user-select:none !important;
  backface-visibility:hidden !important;
  -webkit-backface-visibility:hidden !important;
  will-change:auto !important;
  contain:layout paint style !important;
  isolation:isolate !important;
  transition:none !important;
  animation:none !important;
}

.khf-bottom-v11::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  border-radius:inherit !important;
  pointer-events:none !important;
  background:
    radial-gradient(circle at 14% 16%,rgba(255,184,58,.16),transparent 34%),
    radial-gradient(circle at 86% 12%,rgba(255,124,18,.10),transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,0)) !important;
  opacity:1 !important;
  animation:none !important;
  transition:none !important;
}

.khf-bottom-v11,
.khf-bottom-v11 *,
.khf-bottom-v11 *::before,
.khf-bottom-v11 *::after{
  box-sizing:border-box !important;
  animation:none !important;
  transition:none !important;
}

.khf-bottom-v11 a{
  position:relative !important;
  z-index:1 !important;
  min-width:0 !important;
  width:100% !important;
  height:66px !important;
  min-height:66px !important;
  max-height:66px !important;
  margin:0 !important;
  padding:8px 4px !important;
  border-radius:22px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  text-decoration:none !important;
  color:#e8e8e8 !important;
  background:transparent !important;
  border:1px solid transparent !important;
  box-shadow:none !important;
  opacity:1 !important;
  font-family:"DM Sans",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:-.02em !important;
  outline:none !important;
  -webkit-tap-highlight-color:transparent !important;
  transform:none !important;
}

.khf-bottom-v11 a:active,
.khf-bottom-v11 a:focus,
.khf-bottom-v11 a:hover{
  transform:none !important;
  text-decoration:none !important;
}

.khf-bottom-v11 .ico{
  width:31px !important;
  height:31px !important;
  min-width:31px !important;
  min-height:31px !important;
  border-radius:13px !important;
  display:grid !important;
  place-items:center !important;
  color:inherit !important;
  background:transparent !important;
  opacity:1 !important;
  line-height:1 !important;
  transform:none !important;
}

.khf-bottom-v11 .ico svg{
  width:22px !important;
  height:22px !important;
  display:block !important;
  stroke:currentColor !important;
  fill:none !important;
  stroke-width:2.35 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}

.khf-bottom-v11 .txt{
  display:block !important;
  max-width:100% !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
  color:inherit !important;
  opacity:1 !important;
  line-height:1 !important;
  text-align:center !important;
  text-shadow:none !important;
  transform:none !important;
}

.khf-bottom-v11 a.active,
.khf-bottom-v11 a[aria-current="page"]{
  color:#170b02 !important;
  background:linear-gradient(135deg,#ffe7b2 0%,#ffc24c 42%,#ff8a18 100%) !important;
  border-color:rgba(255,238,191,.60) !important;
  box-shadow:
    0 14px 34px rgba(255,150,24,.30),
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -18px 30px rgba(183,77,0,.12) !important;
}

.khf-bottom-v11 a.active .ico,
.khf-bottom-v11 a[aria-current="page"] .ico{
  background:rgba(56,25,0,.13) !important;
  color:#170b02 !important;
}

.khf-bottom-v11 a.active .txt,
.khf-bottom-v11 a[aria-current="page"] .txt{
  color:#170b02 !important;
  font-weight:950 !important;
}

/* CS button jangan nutup menu bawah */
#cs-fab,
.cs-fab,
[data-cs-fab],
.floating-cs,
.cs-floating{
  bottom:calc(104px + env(safe-area-inset-bottom,0px)) !important;
}
#cs-popup,
.cs-popup,
[data-cs-popup]{
  bottom:calc(172px + env(safe-area-inset-bottom,0px)) !important;
}

@media (max-width:560px){
  .khf-bottom-v11{
    width:calc(100vw - 24px) !important;
    height:84px !important;
    min-height:84px !important;
    max-height:84px !important;
    bottom:calc(8px + env(safe-area-inset-bottom,0px)) !important;
    padding:9px !important;
    gap:8px !important;
    border-radius:28px !important;
  }
  .khf-bottom-v11 a{
    height:66px !important;
    min-height:66px !important;
    max-height:66px !important;
    border-radius:22px !important;
    font-size:11.5px !important;
    gap:6px !important;
  }
  .khf-bottom-v11 .ico{
    width:30px !important;
    height:30px !important;
    min-width:30px !important;
    min-height:30px !important;
  }
  .khf-bottom-v11 .ico svg{
    width:21px !important;
    height:21px !important;
  }
  body{
    padding-bottom:calc(110px + env(safe-area-inset-bottom,0px)) !important;
  }
}

@media (max-width:370px){
  .khf-bottom-v11{
    width:calc(100vw - 18px) !important;
    gap:6px !important;
    padding:8px !important;
  }
  .khf-bottom-v11 a{
    font-size:10.5px !important;
  }
}
