/* HÀO DRINK shared header normalization — loaded last on public pages */
.header{position:relative;z-index:100;background:#fff;width:100%;}
.header .header-container{width:min(100% - 40px, 1320px)!important;max-width:1320px!important;min-width:0!important;margin:0 auto!important;padding:12px 0!important;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;gap:clamp(10px,1.15vw,18px)!important;box-sizing:border-box!important;overflow:visible!important;}
.header .header-container>.logo{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;gap:3px!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;white-space:nowrap!important;text-decoration:none!important;line-height:1!important;font-size:clamp(20px,1.65vw,28px)!important;font-weight:800!important;letter-spacing:-.65px!important;color:#202b23!important;}
.header .header-container>.logo img,.header .header-container>.logo svg{display:block!important;width:34px!important;height:34px!important;flex:0 0 34px!important;object-fit:contain!important;margin:0 5px 0 0!important;}
.header .header-container>.logo span:nth-of-type(1){color:#4d805b!important;font-weight:850!important;}
.header .header-container>.logo span:nth-of-type(2){color:#202b23!important;font-weight:850!important;}
.header .header-container>.navbar,.header .header-container>.nav{display:flex!important;flex:0 1 auto!important;align-items:center!important;justify-content:center!important;gap:clamp(9px,1.05vw,17px)!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;white-space:nowrap!important;overflow:visible!important;}
.header .header-container>.navbar a,.header .header-container>.nav a{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-width:0!important;max-width:none!important;padding:10px 2px!important;margin:0!important;font-size:clamp(12px,.92vw,14px)!important;line-height:1.25!important;font-weight:650!important;white-space:nowrap!important;text-decoration:none!important;}
.header .header-container>.header-search{display:flex!important;flex:1 1 150px!important;width:auto!important;max-width:190px!important;min-width:115px!important;margin:0!important;}
.header .header-search input{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
.header .header-container>#user-header{display:flex!important;flex:0 0 auto!important;min-width:0!important;max-width:180px!important;align-items:center!important;justify-content:center!important;margin:0!important;}
.header .header-container>.cart{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;max-width:150px!important;min-width:0!important;margin:0!important;white-space:nowrap!important;}
.header .mobile-menu-toggle{display:none!important;}
/* Avoid accidental long words, oversized children, and viewport-level horizontal overflow. */
.header,.header *{box-sizing:border-box;}
@media(max-width:1100px) and (min-width:701px){
 .header .header-container{width:calc(100% - 28px)!important;gap:9px!important;}
 .header .header-container>.logo{font-size:20px!important;letter-spacing:-.5px!important;}
 .header .header-container>.logo img,.header .header-container>.logo svg{width:29px!important;height:29px!important;flex-basis:29px!important;}
 .header .header-container>.navbar,.header .header-container>.nav{gap:9px!important;}
 .header .header-container>.navbar a,.header .header-container>.nav a{font-size:12px!important;}
 .header .header-container>.header-search{max-width:145px!important;min-width:95px!important;}
 .header .header-container>.cart{padding:9px 11px!important;}
}
@media(max-width:700px){
 .header .header-container{width:calc(100% - 28px)!important;max-width:none!important;min-width:0!important;margin:0 auto!important;padding:10px 0!important;display:grid!important;grid-template-columns:minmax(0,1fr) 34px 38px 38px!important;grid-template-areas:"logo user cart menu"!important;align-items:center!important;justify-content:stretch!important;gap:7px!important;overflow:visible!important;}
 .header .header-container>.logo{grid-area:logo!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;font-size:clamp(17px,4.6vw,21px)!important;letter-spacing:-.45px!important;}
 .header .header-container>.logo img,.header .header-container>.logo svg{width:27px!important;height:27px!important;flex-basis:27px!important;margin-right:3px!important;}
 .header .header-container>.navbar,.header .header-container>.nav{display:none!important;}
 .header .header-container>.header-search,.header .header-container>.account-header-search{display:none!important;}
 .header .header-container>#user-header{grid-area:user!important;width:32px!important;min-width:32px!important;max-width:32px!important;justify-self:center!important;}
 .header .user-header-guest,.header .user-header-admin{display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;min-width:0!important;}
 .header .user-header-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border-radius:50%!important;white-space:nowrap!important;}
 .header .user-header-link .user-header-text{display:none!important;}
 .header .header-container>.cart{grid-area:cart!important;justify-self:center!important;position:relative!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border-radius:50%!important;font-size:16px!important;}
 .header .header-container>.cart span{display:none!important;}
 .header .header-container>.cart b{position:absolute!important;top:-4px!important;right:-4px!important;display:flex!important;align-items:center!important;justify-content:center!important;width:17px!important;min-width:17px!important;height:17px!important;padding:0!important;font-size:10px!important;line-height:1!important;}
 .header .mobile-menu-toggle{grid-area:menu!important;display:inline-flex!important;position:static!important;align-items:center!important;justify-content:center!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border:1px solid #dce8de!important;border-radius:50%!important;background:#fff!important;color:#356f49!important;font-size:25px!important;line-height:1!important;cursor:pointer!important;box-shadow:none!important;}
 .header .mobile-menu-toggle span{display:block!important;font-size:25px!important;line-height:1!important;}
}
@media(max-width:360px){.header .header-container{width:calc(100% - 20px)!important;grid-template-columns:minmax(0,1fr) 30px 34px 34px!important;gap:5px!important}.header .header-container>.logo{font-size:16px!important}.header .header-container>.logo img,.header .header-container>.logo svg{width:24px!important;height:24px!important;flex-basis:24px!important}.header .header-container>.cart,.header .mobile-menu-toggle{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}}

/* Hotfix: keep login/account icon visible in the mobile header. */
@media (max-width:700px){
 html body header.header > .header-container > #user-header,
 html body header.header > .header-container #user-header{
   display:flex!important; visibility:visible!important; opacity:1!important;
   grid-area:user!important; align-items:center!important; justify-content:center!important;
   width:32px!important; min-width:32px!important; max-width:32px!important;
   height:36px!important; min-height:36px!important; margin:0!important; padding:0!important;
   overflow:visible!important; position:relative!important;
 }
 html body header.header #user-header .user-header-guest,
 html body header.header #user-header .user-header-admin{
   display:flex!important; visibility:visible!important; opacity:1!important;
   align-items:center!important; justify-content:center!important; width:100%!important;
 }
 html body header.header #user-header .user-header-link{
   display:inline-flex!important; visibility:visible!important; opacity:1!important;
   align-items:center!important; justify-content:center!important;
   width:32px!important; min-width:32px!important; height:32px!important; min-height:32px!important;
   padding:0!important; border:1px solid #dce8de!important; border-radius:50%!important;
   background:#fff!important; color:#356f49!important; text-decoration:none!important;
 }
 html body header.header #user-header .user-header-icon{display:inline-flex!important;visibility:visible!important;font-size:16px!important;}
 html body header.header #user-header .user-header-text{display:none!important;}
}
