/* Header chung cho MOI trang cong khai (dot 3): cung chieu cao, cung mau nen, cung vi tri.
   Logo trai — menu giua — EN/VI + gio (chi trang shop) + Dang nhap/Dang ky phai.
   Trang shop hien ten shop dung o logo (sl-logo--shop), khong con thanh navy "Ve trang chu" rieng.
   Dung bien mau cua tung trang (shop.css: --bg/--text/--line theo giao dien; landing: --bg/--line o :root),
   thieu bien thi dung gia tri mac dinh cua nhan dien AIP. */
.sl-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--bg, #F2F6FC) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line, #DCE6F2); color: var(--text, var(--ink, #0A2540)); }
.sl-header-in { display: flex; align-items: center; gap: 16px; height: 58px; }
.sl-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: inherit; text-decoration: none; white-space: nowrap; flex: none; min-width: 0; }
.sl-logo .ic { color: var(--accent, #0B63E5); width: 22px; height: 22px; flex: none; }
.sl-logo b { color: var(--accent, #0B63E5); }
.sl-logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line, #DCE6F2); background: var(--surface, #fff); flex: none; }
.sl-shopname { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.sl-shopname #store-name { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-shopname .sub { font-size: 12px; color: var(--muted, var(--mute, #42597A)); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-nav { display: flex; gap: 2px; align-items: center; margin: 0 auto; }
.sl-nav > a { padding: 8px 10px; border-radius: 8px; color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sl-nav > a:hover { background: var(--accent-soft, rgba(11, 99, 229, .08)); }
.sl-nav-auth { display: none; }
.sl-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.sl-lang, .sl-cart, .sl-call { height: 40px; min-width: 40px; border-radius: 50%; background: var(--surface, #fff); border: 1px solid var(--line, #DCE6F2); display: inline-flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; font-weight: 700; font-size: 13px; padding: 0 8px; position: relative; cursor: pointer; }
.sl-lang:hover, .sl-cart:hover, .sl-call:hover { border-color: var(--accent, #0B63E5); }
.sl-cart .ic, .sl-call .ic { width: 20px; height: 20px; }
.sl-btn { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 8px; border: 1px solid var(--text, var(--ink, #0A2540)); background: var(--surface, #fff); color: inherit; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.sl-btn.primary { background: var(--accent, #0B63E5); border-color: var(--accent, #0B63E5); color: #fff; }
.sl-burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line, #DCE6F2); background: var(--surface, #fff); flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; color: inherit; flex: none; }
.sl-burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
/* Mobile (<=860px): menu + nut Dang nhap/Dang ky chui vao panel mo bang nut burger; header van cao 58px. */
@media (max-width: 860px) {
  .sl-header-in { gap: 8px; }
  .sl-nav { display: none; position: absolute; top: 58px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface, #fff); border-bottom: 1px solid var(--line, #DCE6F2); padding: 6px 14px 12px; box-shadow: 0 18px 30px -18px rgba(10, 37, 64, .35); margin: 0; }
  .sl-header.open .sl-nav { display: flex; }
  .sl-nav > a { padding: 11px 8px; font-size: 15px; border-bottom: 1px solid var(--line, #DCE6F2); }
  .sl-nav-auth { display: flex; gap: 8px; padding-top: 10px; }
  .sl-nav-auth a { flex: 1; text-align: center; padding: 11px 8px; border-radius: 8px; border: 1px solid var(--text, var(--ink, #0A2540)); color: inherit; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
  .sl-nav-auth a:last-child { background: var(--accent, #0B63E5); border-color: var(--accent, #0B63E5); color: #fff; }
  .sl-actions .sl-btn { display: none; }
  .sl-burger { display: inline-flex; }
}
@media (max-width: 400px) {
  .sl-logo { font-size: 17px; }
  .sl-shopname #store-name { font-size: 15px; }
}
