/* VF3 P14 | scoped homepage detail & UX corrections, from VFF.zip */
:root{--vf3p14-blue:#2879b7;--vf3p14-yellow:#f6c445;--vf3p14-ink:#173c5b}

/* 1. Three region tabs take their own full-width row. The version selector precedes the unit note below. */
body.auto-home-universal #gia-lan-banh .vf3-regional-controls{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:flex-start!important;gap:14px!important;width:100%!important;margin:0 0 16px!important
}
body.auto-home-universal #gia-lan-banh .vf3-region-tabbar{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  flex:0 0 auto!important;min-width:0!important;width:100%!important;margin:0!important
}
body.auto-home-universal #gia-lan-banh .vf3-region-toolbar{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:flex-start!important;gap:14px 24px!important;flex-wrap:wrap!important;
  width:100%!important;padding:0!important;margin:0!important;background:none!important;border:0!important
}
body.auto-home-universal #gia-lan-banh .vf3-region-version{
  order:0!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  flex:0 0 auto!important;gap:10px!important;width:auto!important;min-width:0!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;background:transparent!important;color:var(--vf3p14-ink)!important;
  font-size:13px!important;font-weight:800!important;white-space:normal!important
}
body.auto-home-universal #gia-lan-banh .vf3-region-version select{
  width:auto!important;min-width:170px!important;max-width:min(250px,70vw)!important;
  min-height:42px!important;padding:8px 34px 8px 12px!important;background:#fff!important;
  border:1px solid #bfdaee!important;border-radius:10px!important;
  color:var(--vf3p14-ink)!important;font-size:13px!important;font-weight:650!important;
  box-shadow:none!important
}
body.auto-home-universal #gia-lan-banh .vf3-region-quick-note{
  order:1!important;flex:0 1 auto!important;min-width:0!important;
  margin:0!important;padding:0!important;color:#647e93!important;
  font-size:13px!important;line-height:1.6!important
}
body.auto-home-universal #gia-lan-banh .vf3-region-tabbar button.is-active{
  color:#fff!important;background:var(--vf3p14-blue)!important
}
body.auto-home-universal #gia-lan-banh .vf3-region-tabbar button.is-active:hover,
body.auto-home-universal #gia-lan-banh .vf3-region-tabbar button.is-active:focus-visible{
  color:var(--vf3p14-yellow)!important
}
body.auto-home-universal #gia-lan-banh .vf3-region-tabbar button:focus-visible,
body.auto-home-universal #gia-lan-banh select:focus-visible{
  outline:2px solid var(--vf3p14-yellow)!important;outline-offset:2px!important
}

/* 2. Category icons are white on the blue card in the default state. Explicitly target the Bootstrap ::before glyph. */
body.auto-home-universal #tong-quan .vf3-p10-category .vf3-p10-category-icon,
body.auto-home-universal #tong-quan .vf3-p10-category .vf3-p10-category-icon i.bi,
body.auto-home-universal #tong-quan .vf3-p10-category .vf3-p10-category-icon i.bi::before{
  color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;
  filter:none!important;text-shadow:none!important
}
body.auto-home-universal #tong-quan .vf3-p10-category .vf3-p10-category-icon{
  background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.24)!important
}
body.auto-home-universal #tong-quan .vf3-p10-category:hover .vf3-p10-category-icon,
body.auto-home-universal #tong-quan .vf3-p10-category:hover .vf3-p10-category-icon i.bi,
body.auto-home-universal #tong-quan .vf3-p10-category:hover .vf3-p10-category-icon i.bi::before,
body.auto-home-universal #tong-quan .vf3-p10-category:focus-visible .vf3-p10-category-icon i.bi::before{
  color:var(--vf3p14-yellow)!important;-webkit-text-fill-color:var(--vf3p14-yellow)!important
}
/* Arrow icons on blue action labels should be visible too. */
body.auto-home-universal #tong-quan .vf3-p10-category .vf3-p10-category-body em i,
body.auto-home-universal #tong-quan .vf3-p10-category .vf3-p10-category-body em i::before{
  color:#fff!important;-webkit-text-fill-color:#fff!important
}
body.auto-home-universal #tong-quan .vf3-p10-category:hover .vf3-p10-category-body em i,
body.auto-home-universal #tong-quan .vf3-p10-category:hover .vf3-p10-category-body em i::before{
  color:var(--vf3p14-yellow)!important;-webkit-text-fill-color:var(--vf3p14-yellow)!important
}

/* 3. Fix editorial research width: previous patch changed width but the grid item still occupied only column one. */
body.auto-home-universal #tong-quan.auto-u-overview > .vf3-p14-research-wide{
  display:block!important;grid-column:1/-1!important;grid-row:3!important;
  min-width:0!important;width:100%!important;max-width:none!important;
  margin:6px 0 0!important;padding:24px 0 0!important;border-top:1px solid #dce8f2!important
}
body.auto-home-universal #tong-quan .vf3-p14-research-wide .auto-u-research-content{
  display:block!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;border:0!important
}
body.auto-home-universal #tong-quan .vf3-p14-research-wide :is(p,h3,h4,ul,ol,blockquote){
  max-width:none!important;width:auto!important
}
body.auto-home-universal .auto-u-stack > .auto-u-panel .auto-u-research-content{
  min-width:0!important;max-width:none!important;width:100%!important
}

/* 4. Small homepage polish: keep selected section, headings, price totals on the same blue/gold visual system. */
body.auto-home-universal .auto-u-anchor a.is-active{
  color:var(--vf3p14-blue)!important;border-bottom-color:var(--vf3p14-yellow)!important
}
body.auto-home-universal .auto-u-anchor a:hover{
  color:var(--vf3p14-blue)!important;border-bottom-color:var(--vf3p14-yellow)!important
}
body.auto-home-universal .auto-u-heading > b{color:var(--vf3p14-blue)!important}
body.auto-home-universal #gia-lan-banh .vf3-region-total{color:var(--vf3p14-blue)!important;font-weight:850!important}
body.auto-home-universal #gia-lan-banh .vf3-region-footer a:hover,
body.auto-home-universal #gia-lan-banh .vf3-region-footer a:focus-visible{
  background:#216898!important;color:var(--vf3p14-yellow)!important
}

@media(max-width:767px){
  body.auto-home-universal #tong-quan.auto-u-overview > .vf3-p14-research-wide{
    grid-column:1!important;grid-row:4!important;padding-top:18px!important
  }
  body.auto-home-universal #gia-lan-banh .vf3-region-toolbar{gap:8px!important;align-items:flex-start!important;flex-direction:column!important}
  body.auto-home-universal #gia-lan-banh .vf3-region-version{width:100%!important;justify-content:space-between!important}
  body.auto-home-universal #gia-lan-banh .vf3-region-version select{min-width:0!important;width:min(65%,230px)!important}
  body.auto-home-universal #gia-lan-banh .vf3-region-quick-note{font-size:12px!important}
}
@media(max-width:430px){
  body.auto-home-universal #gia-lan-banh .vf3-region-tabbar button{font-size:12px!important;padding:10px 4px!important}
}
