.hyan-mobile-nav,.hyan-mobile-sheet{display:none}
@media (max-width:849px){
 :root{--hyan-keyboard-offset:0px}
 body.hyan-mobile-nav-enabled #wrapper{padding-bottom:96px}
 .hyan-mobile-nav{
  display:block;position:fixed;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));
  z-index:99990;width:min(calc(100vw - 20px),430px);transform:translateX(-50%);
  transition:transform .22s ease,opacity .2s ease
 }
 .hyan-mobile-nav__glass{
  display:flex;align-items:center;gap:3px;height:70px;padding:7px;
  border:1px solid rgba(255,255,255,.24);border-radius:32px;
  background:linear-gradient(135deg,rgba(69,93,71,.82),rgba(42,68,49,.69));
  box-shadow:0 18px 46px rgba(20,35,25,.28),inset 0 1px 0 rgba(255,255,255,.24);
  backdrop-filter:blur(26px) saturate(150%);-webkit-backdrop-filter:blur(26px) saturate(150%)
 }
 .hyan-mobile-nav__item{
  -webkit-appearance:none;appearance:none;position:relative;display:flex;align-items:center;
  justify-content:center;gap:0;flex:1 1 0;min-width:0;height:56px;margin:0!important;
  padding:0 9px!important;border:0!important;border-radius:25px!important;background:transparent!important;
  color:rgba(247,247,238,.68)!important;box-shadow:none!important;text-transform:none!important;
  line-height:1!important;vertical-align:middle!important;outline:0;transition:flex .22s ease,background .22s ease,color .22s ease
 }
 .hyan-mobile-nav__item:focus-visible{outline:2px solid rgba(255,255,255,.75);outline-offset:2px}
 .hyan-mobile-nav__item.is-active{
  flex:1.72 1 0;gap:8px;background:rgba(248,247,241,.93)!important;color:#3c6046!important;
  box-shadow:0 8px 22px rgba(20,35,25,.18),inset 0 1px 0 rgba(255,255,255,.96)!important
 }
 .hyan-mobile-nav__icon{
  position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 24px;
  width:24px;height:24px;line-height:0
 }
 .hyan-mobile-nav__icon svg{
  display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;transform:none
 }
 .hyan-mobile-nav__label{
  display:block;max-width:0;overflow:hidden;opacity:0;white-space:nowrap;
  font:600 13px/1 'DarleySans',Arial,sans-serif;letter-spacing:.01em;
  transition:max-width .22s ease,opacity .18s ease
 }
 .hyan-mobile-nav__item.is-active .hyan-mobile-nav__label{max-width:92px;opacity:1}
 .hyan-mobile-nav__cart-count{
  position:absolute;right:-7px;top:-8px;display:flex;align-items:center;justify-content:center;
  min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#f2f1e7;color:#31513a;
  font:700 9px/1 Arial,sans-serif;border:1px solid rgba(49,81,58,.16);
  box-shadow:0 2px 8px rgba(22,38,27,.16)
 }
 .hyan-mobile-nav__cart-count.is-empty{display:none}
 .hyan-mobile-nav__item.is-active .hyan-mobile-nav__cart-count{background:#546a50;color:#fff;border-color:rgba(255,255,255,.82)}

 .hyan-mobile-sheet{
  position:fixed;inset:0;display:block;z-index:99989;pointer-events:none;opacity:0;
  transition:opacity .2s ease
 }
 .hyan-mobile-sheet.is-open{pointer-events:auto;opacity:1}
 .hyan-mobile-sheet__backdrop{
  -webkit-appearance:none;appearance:none;position:absolute;inset:0;margin:0!important;border:0!important;
  background:rgba(18,30,21,.28)!important;box-shadow:none!important;
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)
 }
 .hyan-mobile-sheet__panel{
  position:absolute;left:12px;right:12px;bottom:calc(90px + env(safe-area-inset-bottom));
  max-height:min(62vh,520px);overflow:auto;padding:12px 14px 16px;border-radius:26px;
  border:1px solid rgba(255,255,255,.42);
  background:linear-gradient(145deg,rgba(247,246,239,.86),rgba(231,233,224,.73));
  box-shadow:0 24px 60px rgba(18,33,22,.26),inset 0 1px 0 rgba(255,255,255,.84);
  backdrop-filter:blur(30px) saturate(155%);-webkit-backdrop-filter:blur(30px) saturate(155%);
  transform:translateY(18px);transition:transform .22s ease,bottom .14s ease
 }
 .hyan-mobile-sheet.is-open .hyan-mobile-sheet__panel{transform:translateY(0)}
 .hyan-mobile-sheet__handle{width:38px;height:4px;margin:0 auto 10px;border-radius:4px;background:rgba(70,93,73,.24)}
 .hyan-mobile-sheet__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
 .hyan-mobile-sheet__head h2{
  margin:0;color:#294632;font:400 28px/1.05 'SacViet','Times New Roman',serif
 }
 .hyan-mobile-sheet__close{
  -webkit-appearance:none;appearance:none;display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;margin:0!important;padding:0!important;border:1px solid rgba(84,106,80,.16)!important;
  border-radius:18px!important;background:rgba(255,255,255,.46)!important;color:#4d6553!important;
  box-shadow:none!important;font:300 25px/1 Arial,sans-serif!important
 }
 .hyan-mobile-sheet__intro,.hyan-mobile-sheet__hint{
  margin:0 0 14px;color:#5d685f;font-size:13.5px;line-height:1.6
 }
 .hyan-mobile-sheet__hint{margin:10px 2px 0;font-size:12px;color:#747c75}
 .hyan-mobile-sheet__primary{
  display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;
  margin-top:14px;padding:0 16px;border-radius:16px;background:#546a50;color:#fff!important;
  font:600 13px/1 'DarleySans',Arial,sans-serif;text-decoration:none!important;box-shadow:0 8px 20px rgba(45,73,52,.15)
 }
 .hyan-mobile-search-form{position:relative;display:flex;align-items:center;gap:8px;margin:0}
 .hyan-mobile-search-form input[type=search]{
  flex:1;min-width:0;height:50px;margin:0;padding:0 12px 0 42px;border:1px solid rgba(84,106,80,.2);
  border-radius:17px;background:rgba(255,255,255,.62);box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  font-size:16px;color:#2d4032
 }
 .hyan-mobile-search-form input[type=search]:focus{
  border-color:rgba(84,106,80,.42);box-shadow:0 0 0 3px rgba(84,106,80,.08)
 }
 .hyan-mobile-search-form__icon{
  position:absolute;left:13px;top:14px;z-index:1;display:flex;width:21px;height:21px;color:#546a50;line-height:0
 }
 .hyan-mobile-search-form__icon svg{
  display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round
 }
 .hyan-mobile-search-form button[type=submit]{
  -webkit-appearance:none;appearance:none;flex:0 0 66px;height:50px;margin:0!important;padding:0!important;
  border:0!important;border-radius:17px!important;background:#546a50!important;color:#fff!important;
  font:600 13px/1 'DarleySans',Arial,sans-serif!important;text-transform:none!important;box-shadow:none!important
 }
 .hyan-mobile-sheet__quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .hyan-mobile-sheet__quick-grid a{
  display:flex;align-items:center;gap:9px;min-height:54px;padding:0 13px;border:1px solid rgba(84,106,80,.13);
  border-radius:16px;background:rgba(255,255,255,.45);color:#36513d!important;text-decoration:none!important;font-size:13px
 }
 .hyan-mobile-sheet__quick-grid svg{
  width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round
 }
 .hyan-mobile-sheet__chips{display:flex;flex-wrap:wrap;gap:8px}
 .hyan-mobile-sheet__chips a{
  display:inline-flex;align-items:center;min-height:40px;padding:0 13px;border:1px solid rgba(84,106,80,.18);
  border-radius:14px;background:rgba(255,255,255,.5);color:#405c47!important;text-decoration:none!important;font-size:12.5px
 }
 .hyan-mobile-contact{display:grid;gap:9px}
 .hyan-mobile-contact a{
  display:flex;flex-direction:column;gap:4px;padding:13px 14px;border:1px solid rgba(84,106,80,.14);
  border-radius:16px;background:rgba(255,255,255,.48);text-decoration:none!important
 }
 .hyan-mobile-contact strong{color:#314d38;font-size:14px}
 .hyan-mobile-contact span{color:#717971;font-size:11.5px}
 .hyan-mobile-cart__body .woocommerce-mini-cart{margin:0 0 8px;max-height:280px;overflow:auto}
 .hyan-mobile-cart__body .woocommerce-mini-cart-item{
  min-height:72px;padding:8px 24px 8px 74px!important;border-bottom:1px solid rgba(84,106,80,.1)
 }
 .hyan-mobile-cart__body .woocommerce-mini-cart-item img{
  position:absolute;left:0;top:7px;width:58px;height:58px;object-fit:cover;border-radius:10px
 }
 .hyan-mobile-cart__body .woocommerce-mini-cart__total{margin:10px 0 0;padding:10px 0 0;border-top:1px solid rgba(84,106,80,.14)}
 .hyan-mobile-cart__body .woocommerce-mini-cart__buttons{display:none!important}
 .hyan-mobile-cart__body .woocommerce-mini-cart__empty-message{margin:4px 0 2px;color:#697269;font-size:13px}
 body.hyan-keyboard-open .hyan-mobile-nav{
  opacity:0;pointer-events:none;transform:translate(-50%,120%)
 }
 body.hyan-keyboard-open .hyan-mobile-sheet[data-sheet="search"] .hyan-mobile-sheet__panel{
  bottom:calc(12px + var(--hyan-keyboard-offset))
 }
 body.hyan-keyboard-open .hyan-mobile-sheet[data-sheet="search"] .hyan-mobile-sheet__backdrop{
  background:rgba(18,30,21,.2)!important
 }

 .single-product.hyan-mobile-nav-enabled .hyan-mobile-buybar{
  bottom:calc(90px + env(safe-area-inset-bottom))!important;z-index:99980;
  left:10px!important;right:auto!important;width:calc(100vw - 20px)!important;
  border:1px solid rgba(255,255,255,.4)!important;border-radius:18px!important;
  background:rgba(246,245,236,.86)!important;box-shadow:0 16px 36px rgba(22,38,27,.16)!important;
  backdrop-filter:blur(22px) saturate(150%)!important;-webkit-backdrop-filter:blur(22px) saturate(150%)!important
 }
 .single-product.hyan-mobile-nav-enabled #wrapper{padding-bottom:166px!important}

 /* Flatsome mobile menu: same glass language */
 #main-menu.mobile-sidebar{background:transparent!important}
 #main-menu.mobile-sidebar .sidebar-menu{
  min-height:100%;padding:18px 14px 110px;
  background:linear-gradient(145deg,rgba(241,240,229,.86),rgba(226,230,220,.72))!important;
  border-right:1px solid rgba(255,255,255,.42);
  box-shadow:18px 0 50px rgba(18,33,22,.22);
  backdrop-filter:blur(28px) saturate(150%);-webkit-backdrop-filter:blur(28px) saturate(150%)
 }
 #main-menu .nav-sidebar{padding:0}
 #main-menu .nav-sidebar>li{border:0!important;margin:4px 0}
 #main-menu .nav-sidebar>li>a{
  min-height:48px;padding:0 14px!important;border-radius:15px;
  color:#344d3a!important;font:600 14px/1 'DarleySans',Arial,sans-serif!important;
  text-transform:none!important;letter-spacing:0!important
 }
 #main-menu .nav-sidebar>li.current-menu-item>a,
 #main-menu .nav-sidebar>li>a:hover{background:rgba(255,255,255,.56)!important}
 #main-menu .header-search-form{margin:0 0 14px!important}
 #main-menu .searchform .flex-row{border-radius:17px;overflow:hidden;border:1px solid rgba(84,106,80,.15);background:rgba(255,255,255,.48)}
 #main-menu .searchform input{background:transparent!important;border:0!important;box-shadow:none!important}
 #main-menu .searchform button{background:rgba(84,106,80,.12)!important;color:#49614e!important}
}
@media (max-width:390px){
 .hyan-mobile-nav{width:calc(100vw - 14px);bottom:calc(8px + env(safe-area-inset-bottom))}
 .hyan-mobile-nav__glass{height:64px;padding:5px;border-radius:29px}
 .hyan-mobile-nav__item{height:54px;padding:0 7px!important;border-radius:24px!important}
 .hyan-mobile-nav__item.is-active{gap:6px;flex:1.78 1 0}
 .hyan-mobile-nav__label{font-size:12px}
 .hyan-mobile-sheet__panel{left:9px;right:9px;bottom:calc(82px + env(safe-area-inset-bottom));border-radius:24px}
 .single-product.hyan-mobile-nav-enabled .hyan-mobile-buybar{
  bottom:calc(82px + env(safe-area-inset-bottom))!important;left:7px!important;width:calc(100vw - 14px)!important
 }
}
@media (prefers-reduced-motion:reduce){
 .hyan-mobile-nav,.hyan-mobile-nav__item,.hyan-mobile-nav__label,.hyan-mobile-sheet,.hyan-mobile-sheet__panel{transition:none}
}

/* Active pill sizing: keep Vietnamese labels fully visible */
@media (max-width:849px){
 .hyan-mobile-nav__item{
   flex:1 1 0!important;
   min-width:42px!important
 }
 .hyan-mobile-nav__item.is-active{
   flex:0 0 auto!important;
   min-width:max-content!important;
   padding-left:11px!important;
   padding-right:13px!important
 }
 .hyan-mobile-nav__item.is-active .hyan-mobile-nav__label{
   max-width:120px!important;
   width:auto!important;
   overflow:visible!important;
   text-overflow:clip!important
 }
}
@media (max-width:390px){
 .hyan-mobile-nav__item{min-width:40px!important}
 .hyan-mobile-nav__item.is-active{
   padding-left:9px!important;
   padding-right:11px!important
 }
 .hyan-mobile-nav__item.is-active .hyan-mobile-nav__label{
   max-width:112px!important
 }
}
