/* V3.17.30 - Header Zalo contact */
.cnl-zalo-header{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;text-decoration:none!important;padding:8px 13px;border-radius:999px;background:#fff4df;color:#b51c14;font-weight:900;font-size:22px;line-height:1.1;position:relative;transform:translate(var(--cnl-zalo-x,0px),var(--cnl-zalo-y,0px));max-width:100%;box-sizing:border-box}
.cnl-zalo-header[hidden]{display:none!important}.cnl-zalo-icon{display:grid;place-items:center;background:#087dff;color:white;font:700 12px Arial,sans-serif;border-radius:50%;height:36px;width:36px;flex-shrink:0;box-shadow:inset 0 0 0 4px #fff,0 0 0 2px #087dff}.cnl-zalo-number{font:inherit;color:inherit}
body>header{position:relative}body>header>.cnl-zalo-header{grid-area:zalo;justify-self:center}
@media(min-width:701px){body>header>.cnl-zalo-header{position:absolute;left:50%;top:42%;transform:translate(calc(-50% + var(--cnl-zalo-x,0px)),var(--cnl-zalo-y,0px));z-index:2;font-size:min(var(--cnl-zalo-fontsize,22px),22px)}}
@media(max-width:700px){body>header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:'zalo zalo' 'brand actions' 'nav nav'!important;align-items:center!important}body>header>.cnl-zalo-header{grid-area:zalo;justify-self:center;margin:0 auto 4px;z-index:3;font-size:var(--cnl-zalo-fontsize,20px);padding:5px 12px}body>header>.brand{grid-area:brand}body>header>.header-actions{grid-area:actions}body>header>nav{grid-area:nav}}
@media(max-width:380px){body>header>.cnl-zalo-header{font-size:min(var(--cnl-zalo-fontsize,20px),19px)}.cnl-zalo-icon{width:31px;height:31px;font-size:10px}}
.cnl-global-header .cnl-zalo-header{grid-area:zalo;justify-self:center}
@media(max-width:700px){.cnl-global-header:has(.cnl-zalo-header:not([hidden])){grid-template-areas:'zalo zalo' 'brand actions' 'nav nav';padding-top:7px}.cnl-global-header .cnl-zalo-header{font-size:var(--cnl-zalo-fontsize,20px)}}
@media(min-width:701px){.cnl-global-header:has(.cnl-zalo-header:not([hidden])){grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:'brand zalo actions' 'nav nav nav'}}

/* V3.17.31: Desktop contact sits in normal header flow, never overlays navigation. */
@media (min-width:851px){
 body>header{height:auto!important;min-height:var(--header-height,72px);display:grid!important;grid-template-columns:minmax(90px,1fr) auto minmax(180px,1fr);grid-template-areas:"brand zalo actions" "nav nav nav";column-gap:18px;row-gap:5px;padding-top:9px;padding-bottom:9px;align-items:center}
 body>header>.brand{grid-area:brand;justify-self:start}
 body>header>.cnl-zalo-header,body>header>.cnl-zalo-header:not([hidden]){grid-area:zalo;position:relative!important;left:auto!important;top:auto!important;transform:translate(var(--cnl-zalo-x,0px),var(--cnl-zalo-y,0px))!important;justify-self:center;z-index:1;max-width:100%;font-size:min(var(--cnl-zalo-fontsize,22px),22px)}
 body>header>.header-actions{grid-area:actions;justify-self:end}
 body>header>nav{grid-area:nav;justify-content:center;flex-wrap:wrap;gap:clamp(12px,2vw,26px);width:100%;padding:5px 0 2px}
 .cnl-global-header:has(.cnl-zalo-header:not([hidden])){grid-template-columns:minmax(90px,1fr) auto minmax(180px,1fr)!important;grid-template-areas:"brand zalo actions" "nav nav nav"!important}
 .cnl-global-header .cnl-zalo-header{position:relative!important;left:auto!important;top:auto!important;transform:translate(var(--cnl-zalo-x,0px),var(--cnl-zalo-y,0px))!important;max-width:100%}
}
/* Keep existing Zalo placement on mobile; enlarge and balance account/cart controls. */
@media(max-width:700px){
 body>header .header-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
 body>header .header-actions button{font-size:clamp(13px,3.25vw,16px)!important;min-height:43px;padding:10px clamp(9px,2.3vw,13px)!important;line-height:1.2;white-space:nowrap}
 body>header .header-actions .sticky-cart{gap:5px}
 .cnl-global-actions a{font-size:clamp(13px,3.25vw,16px)!important;min-height:43px;display:inline-flex;align-items:center;justify-content:center;padding:10px clamp(8px,2.2vw,13px)!important}
}
@media(max-width:380px){body>header .header-actions button,.cnl-global-actions a{font-size:13px!important;padding-left:8px!important;padding-right:8px!important}}
