/* ═══════════════════════════════════════════════════════════
   YELLA BOTTOM NAV — Variant C: Minimal Segmented
   Single source of truth — no conflicts
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

/* Container */
.yella-bnav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 390px !important;
  margin: 0 auto !important;
  z-index: 1000 !important;
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-top: 1px solid rgba(0,0,0,0.04) !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  padding: 0 4px !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
}

/* Regular items */
.yella-bnav__item {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  border: none !important;
  background: none !important;
  cursor: pointer !important;
  padding: 10px 0 12px !important;
  position: relative !important;
  -webkit-tap-highlight-color: transparent !important;
}
.yella-bnav__item:active {
  background: rgba(0,0,0,0.03) !important;
}

/* Icons */
.yella-bnav__icon {
  width: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}
.yella-bnav__icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke: #BFBFBF !important;
  fill: none !important;
  transition: stroke 0.2s !important;
}

/* Labels */
.yella-bnav__label {
  font-size: 10px !important;
  font-weight: 500 !important;
  color: #BFBFBF !important;
  transition: color 0.2s !important;
  line-height: 1 !important;
}

/* Active state */
.yella-bnav__item.active .yella-bnav__label {
  color: #1A1A1A !important;
  font-weight: 700 !important;
}
.yella-bnav__item.active .yella-bnav__icon svg {
  stroke: #1A1A1A !important;
}
/* Top line indicator */
.yella-bnav__item.active::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 20% !important;
  right: 20% !important;
  height: 2.5px !important;
  border-radius: 0 0 2px 2px !important;
  background: #1A1A1A !important;
}

/* Cart button — dark segment, slightly taller */
.yella-bnav__item--cart {
  flex: 1.3 !important;
  padding: 6px 0 12px !important;
}
.yella-bnav__item--cart .yella-bnav__icon {
  width: 44px !important;
  height: 32px !important;
  background: #1A1A1A !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.yella-bnav__item--cart .yella-bnav__icon svg {
  stroke: #CCFF00 !important;
  width: 18px !important;
  height: 18px !important;
}
.yella-bnav__item--cart .yella-bnav__label {
  color: #1A1A1A !important;
  font-weight: 600 !important;
}
.yella-bnav__item--cart.active::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 20% !important;
  right: 20% !important;
  height: 2.5px !important;
  border-radius: 0 0 2px 2px !important;
  background: #1A1A1A !important;
}

/* Badge */
.yella-bnav__badge {
  position: absolute !important;
  top: -4px !important;
  right: calc(50% - 26px) !important;
  background: #E11D48 !important;
  color: #FFF !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  min-width: 16px !important;
  height: 16px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 4px !important;
  line-height: 1 !important;
}

/* Scroll to top — above nav */
#back-top {
  bottom: 80px !important;
  right: 16px !important;
  z-index: 999 !important;
}
#back-top .btn-back-top {
  width: 40px !important;
  height: 40px !important;
  background: #1A1A1A !important;
  color: #CCFF00 !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

} /* end @media */
