/* Batch D2 public chrome. Sigma remains the DOM owner; UI Core owns this adapter. */
body.catlo-global-design-v2 {
  --catlo-mobile-tab-height:64px;
}

@media (prefers-reduced-motion:reduce) {
  body.catlo-global-design-v2 .catlo-site-header,
  body.catlo-global-design-v2 .catlo-site-search-shell {
    transition:none;
  }
}

body.catlo-global-design-v2 .catlo-visually-hidden {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  padding:0!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
}

body.catlo-global-design-v2 .catlo-site-header {
  position:relative;
  z-index:var(--catlo-z-header,1000);
  isolation:isolate;
  min-height:72px;
  padding:0 15px;
  border-bottom:1px solid var(--catlo-line);
  background:var(--catlo-surface)!important;
}

body.catlo-global-design-v2 .catlo-site-header>.wrapper {
  width:min(var(--catlo-container-width),calc(100% - 24px));
}

body.catlo-global-design-v2 .catlo-site-header__inner { min-height:72px; }
body.catlo-global-design-v2 .catlo-site-header__inner #logo { position:relative;z-index:2; }
body.catlo-global-design-v2 .catlo-site-header__inner .nav {
  position:relative;
  z-index:2;
  height:72px;
  gap:4px;
}

body.catlo-global-design-v2 .catlo-site-header .catlo-homepage__desktop-nav,
body.catlo-global-design-v2 .catlo-site-header .catlo-homepage__mobile-actions,
body.catlo-global-design-v2 .catlo-site-header .catlo-recruitment-menu,
body.catlo-global-design-v2 .catlo-site-header .nav>a[href*="friends"],
body.catlo-global-design-v2 .catlo-site-header .nav>a.logout2 { display:none!important; }

body.catlo-global-design-v2 .catlo-site-header .nav>a {
  box-sizing:border-box;
  height:44px;
  min-height:44px;
  margin:14px 0;
  padding:8px 10px;
  border-radius:10px;
  color:var(--catlo-ink);
  font-size:14px;
  line-height:26px;
}

body.catlo-global-design-v2 .catlo-site-header .nav>a:hover {
  border-color:var(--catlo-line);
  background:var(--catlo-primary-soft);
  color:var(--catlo-primary-hover);
}

body.catlo-global-design-v2 .catlo-header-account-menu {
  position:relative;
  flex:0 0 auto;
}

body.catlo-global-design-v2 .catlo-site-header .catlo-header-account {
  display:inline-flex;
  height:44px;
  min-height:44px;
  min-width:0;
  margin:14px 0;
  padding:5px 8px 5px 5px;
  box-sizing:border-box;
  align-items:center;
  gap:8px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:var(--catlo-ink);
  font:inherit;
  cursor:pointer;
}

body.catlo-global-design-v2 .catlo-site-header .catlo-header-account:hover,
body.catlo-global-design-v2 .catlo-site-header .catlo-header-account[aria-expanded="true"] {
  border-color:var(--catlo-line);
  background:var(--catlo-primary-soft);
}

body.catlo-global-design-v2 .catlo-header-account__avatar {
  display:block;
  width:32px;
  height:32px;
  flex:0 0 32px;
  border-radius:50%;
  object-fit:cover;
}

body.catlo-global-design-v2 .catlo-header-account__chevron {
  width:16px;
  height:16px;
  flex:0 0 16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  transition:transform .15s ease;
}

body.catlo-global-design-v2 .catlo-header-account[aria-expanded="true"] .catlo-header-account__chevron {
  transform:rotate(180deg);
}

body.catlo-global-design-v2 .catlo-header-account-dropdown {
  position:absolute;
  z-index:1100;
  top:66px;
  right:0;
  width:248px;
  padding:6px;
  box-sizing:border-box;
  border:1px solid var(--catlo-line);
  border-radius:12px;
  background:var(--catlo-surface);
  box-shadow:0 8px 24px rgba(15,23,42,.12);
  flex-direction:column;
}

body.catlo-global-design-v2 .catlo-header-account-dropdown[hidden] { display:none; }

body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a[role="menuitem"] {
  display:flex;
  position:relative;
  float:none;
  clear:none;
  width:100%;
  height:36px;
  min-height:36px;
  margin:0;
  padding:8px 10px;
  box-sizing:border-box;
  align-items:center;
  gap:10px;
  border-radius:8px;
  border:0;
  color:var(--catlo-ink);
  font-size:14.5px;
  font-weight:500;
  line-height:20px;
  white-space:nowrap;
  word-break:normal;
  text-decoration:none;
}

body.catlo-global-design-v2 .catlo-site-header #catlo-header-account-dropdown > a[role="menuitem"]::before {
  content:"";
  width:18px;
  height:18px;
  flex:0 0 18px;
  background:var(--catlo-ink-2,#475569);
  -webkit-mask:var(--catlo-account-menu-icon) center/18px 18px no-repeat;
  mask:var(--catlo-account-menu-icon) center/18px 18px no-repeat;
  opacity:1;
}

body.catlo-global-design-v2 .catlo-site-header #catlo-header-account-dropdown > a:nth-of-type(1) {
  --catlo-account-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Cpath d='M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E");
}
body.catlo-global-design-v2 .catlo-site-header #catlo-header-account-dropdown > a:nth-of-type(2) {
  --catlo-account-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}
body.catlo-global-design-v2 .catlo-site-header #catlo-header-account-dropdown > a:nth-of-type(3) {
  --catlo-account-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M3 20a6 6 0 0 1 12 0M14 20a5 5 0 0 1 7-4.6'/%3E%3C/svg%3E");
}
body.catlo-global-design-v2 .catlo-site-header #catlo-header-account-dropdown > a:nth-of-type(4) {
  --catlo-account-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
}
body.catlo-global-design-v2 .catlo-site-header #catlo-header-account-dropdown > a:nth-of-type(5) {
  --catlo-account-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a15 15 0 0 1 0 18M12 3a15 15 0 0 0 0 18'/%3E%3C/svg%3E");
}
body.catlo-global-design-v2 .catlo-site-header #catlo-header-account-dropdown > a:nth-of-type(6) {
  --catlo-account-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M10 21h4'/%3E%3C/svg%3E");
}
body.catlo-global-design-v2 .catlo-site-header #catlo-header-account-dropdown > a:nth-of-type(7) {
  --catlo-account-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06-2.86 2.86-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 0-.4 1.1V21H9.5v-.1A1.7 1.7 0 0 0 8.4 19.4a1.7 1.7 0 0 0-1.88.34l-.06.06-2.86-2.86.06-.06A1.7 1.7 0 0 0 4 15a1.7 1.7 0 0 0-.6-1 1.7 1.7 0 0 0-1.1-.4H2V9.5h.3A1.7 1.7 0 0 0 4 8.4a1.7 1.7 0 0 0-.34-1.88l-.06-.06L6.46 3.6l.06.06A1.7 1.7 0 0 0 8.4 4a1.7 1.7 0 0 0 1-.6A1.7 1.7 0 0 0 9.8 2H14a1.7 1.7 0 0 0 .4 1.4 1.7 1.7 0 0 0 1 .6 1.7 1.7 0 0 0 1.48-.34l.06-.06 2.86 2.86-.06.06A1.7 1.7 0 0 0 19.4 8a1.7 1.7 0 0 0 .6 1 1.7 1.7 0 0 0 1.1.4h.9v4.1h-.9a1.7 1.7 0 0 0-1.7 1.5z'/%3E%3C/svg%3E");
}
body.catlo-global-design-v2 .catlo-site-header #catlo-header-account-dropdown > a:nth-of-type(8) {
  --catlo-account-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M10 4H5v16h5M14 8l4 4-4 4M18 12H9'/%3E%3C/svg%3E");
}
/* "Kênh bán hàng" (replaced Chat Website): store icon, whatever its position. */
body.catlo-global-design-v2 .catlo-site-header #catlo-header-account-dropdown > a.catlo-header-account-dropdown__channels {
  --catlo-account-menu-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16v10H4zM3 10l2-6h14l2 6M8 14h3M15 14h1'/%3E%3C/svg%3E");
}

body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a:nth-of-type(4),
body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a:nth-of-type(6) {
  margin-top:5px;
}
body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a:nth-of-type(4)::after,
body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a:nth-of-type(6)::after {
  content:"";
  position:absolute;
  top:-3px;
  right:4px;
  left:4px;
  height:1px;
  background:var(--catlo-line);
}

body.catlo-global-design-v2 .catlo-header-account-dropdown__friends > span:first-child {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}

body.catlo-global-design-v2 .catlo-header-account-dropdown__badge {
  display:inline-flex;
  min-width:20px;
  height:18px;
  margin-left:auto;
  padding:0 5px;
  box-sizing:border-box;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:var(--catlo-danger);
  color:#fff;
  font-size:10px;
  font-weight:800;
  line-height:18px;
}
body.catlo-global-design-v2 .catlo-header-account-dropdown__badge[hidden] { display:none; }

body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a[role="menuitem"]:hover,
body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a[role="menuitem"]:focus-visible {
  background:var(--catlo-primary-soft);
  color:var(--catlo-primary-hover);
}
body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a[role="menuitem"]:focus:not(:focus-visible):not(:hover) {
  background:transparent;
  border-color:transparent;
  outline:none;
  box-shadow:none;
}
body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a[role="menuitem"]:focus-visible {
  outline:3px solid color-mix(in srgb,var(--catlo-primary) 28%,transparent);
  outline-offset:-2px;
}

body.catlo-global-design-v2 .catlo-header-account-dropdown__separator {
  display:block;
  height:1px;
  margin:4px;
  background:var(--catlo-line);
}

body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a[role="menuitem"].catlo-header-account-dropdown__logout,
body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a[role="menuitem"].catlo-header-account-dropdown__logout:focus:not(:focus-visible):not(:hover) {
  background:transparent;
  color:var(--catlo-danger,#b42318);
}
body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a[role="menuitem"].catlo-header-account-dropdown__logout:hover,
body.catlo-global-design-v2 .catlo-site-header .nav #catlo-header-account-dropdown > a[role="menuitem"].catlo-header-account-dropdown__logout:focus-visible {
  background:var(--catlo-danger-soft,#fff1f0);
  color:var(--catlo-danger,#b42318);
}

body.catlo-global-design-v2 .catlo-site-header .nav>a.publish {
  min-width:100px;
  padding-inline:18px;
  border-color:var(--catlo-primary);
  background:var(--catlo-primary);
  color:var(--catlo-surface);
  text-align:center;
}

body.catlo-global-design-v2 .catlo-site-header .nav>a.publish:hover {
  border-color:var(--catlo-primary-hover);
  background:var(--catlo-primary-hover);
  box-shadow:none;
  color:var(--catlo-surface);
}

body.catlo-global-design-v2 .catlo-site-header .catlo-header-communication {
  display:inline-flex;
  position:relative;
  align-items:center;
  gap:6px;
}

body.catlo-global-design-v2 .catlo-site-header .nav>.catlo-notification {
  height:44px;
  align-self:center;
}

body.catlo-global-design-v2 .catlo-site-header .catlo-header-communication__icon svg,
body.catlo-global-design-v2 .catlo-site-header .catlo-notification__button svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

body.catlo-global-design-v2 .catlo-site-header .catlo-header-communication__icon,
body.catlo-global-design-v2 .catlo-site-header .catlo-notification__trigger-icon-wrap {
  position:relative;
  overflow:visible;
}

body.catlo-global-design-v2 .catlo-site-header .catlo-shared-badge,
body.catlo-global-design-v2 .catlo-site-header .catlo-notification__badge,
body.catlo-global-design-v2 .catlo-mobile-tabbar__badge {
  display:inline-flex;
  min-width:18px;
  height:18px;
  padding:0 4px;
  box-sizing:border-box;
  align-items:center;
  justify-content:center;
  border:2px solid var(--catlo-surface);
  border-radius:999px;
  background:var(--catlo-danger);
  color:var(--catlo-surface);
  font-size:10px;
  font-weight:800;
  line-height:14px;
}

body.catlo-global-design-v2 .catlo-site-header .catlo-shared-badge[hidden],
body.catlo-global-design-v2 .catlo-site-header .catlo-notification__badge[hidden],
body.catlo-global-design-v2 .catlo-mobile-tabbar__badge[hidden] { display:none; }

body.catlo-global-design-v2 .catlo-site-header .catlo-header-communication__icon>.catlo-shared-badge,
body.catlo-global-design-v2 .catlo-site-header .catlo-notification__trigger-icon-wrap>.catlo-notification__badge {
  position:absolute;
  z-index:2;
  top:-6px;
  right:-8px;
  left:auto;
  margin:0;
}

body.catlo-global-design-v2 .catlo-site-header .catlo-header-communication__label,
body.catlo-global-design-v2 .catlo-site-header .catlo-notification__label {
  margin-left:8px;
}

body.catlo-global-design-v2 .catlo-site-search-shell {
  position:absolute;
  z-index:3;
  top:14px;
  left:50%;
  width:min(510px,38vw);
  transform:translateX(-50%);
}

body.catlo-global-design-v2 .catlo-site-search {
  display:grid;
  height:44px;
  grid-template-columns:minmax(0,1fr) max-content max-content;
  align-items:stretch;
  overflow:hidden;
  border:1px solid var(--catlo-line-strong);
  border-radius:12px;
  background:var(--catlo-surface);
}

body.catlo-global-design-v2 .catlo-site-search:focus-within {
  border-color:var(--catlo-primary);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--catlo-primary) 20%,transparent);
}

body.catlo-global-design-v2 .catlo-site-search label { margin:0; }
body.catlo-global-design-v2 .catlo-site-search__query {
  display:flex;
  min-width:0;
  align-items:center;
  gap:8px;
  padding-left:12px;
}
body.catlo-global-design-v2 .catlo-site-search__query svg,
body.catlo-global-design-v2 .catlo-site-search__submit svg {
  width:18px;
  height:18px;
  flex:0 0 18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.catlo-global-design-v2 .catlo-site-search :where(input,select) {
  width:100%;
  height:42px;
  min-height:42px;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  outline:0;
  background:transparent;
  box-shadow:none;
  color:var(--catlo-ink);
  font:inherit;
  font-size:14px;
}
body.catlo-global-design-v2 .catlo-site-search__location {
  position:relative;
  min-width:140px;
  border-left:1px solid var(--catlo-line);
}
body.catlo-global-design-v2 .catlo-site-search__location select {
  width:auto;
  min-width:140px;
  padding:0 30px 0 12px;
  white-space:nowrap;
  cursor:pointer;
}
body.catlo-global-design-v2 .catlo-site-search__submit {
  display:inline-flex;
  width:auto;
  min-width:max-content;
  height:44px;
  margin:-1px -1px -1px 0;
  padding:0 13px;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid var(--catlo-primary);
  border-radius:0 11px 11px 0;
  background:var(--catlo-primary);
  color:var(--catlo-surface);
  font-size:14px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  word-break:normal;
}
body.catlo-global-design-v2 .catlo-site-search__submit:hover { background:var(--catlo-primary-hover); }
body.catlo-global-design-v2 .catlo-site-mobile-notification-slot { display:none; }
body.catlo-global-design-v2 .catlo-notification__scrim { display:none; }
body.catlo-global-design-v2 .catlo-mobile-tabbar { display:none; }

@media (min-width:768px) {
  body.home.catlo-global-design-v2 section.home-search { display:none; }
  body.catlo-global-design-v2 .catlo-site-header .catlo-header-brand__descriptor { display:none; }
  body.catlo-global-design-v2 .catlo-site-search__location { min-width:140px; }
  body.catlo-global-design-v2 .catlo-site-header__inner .nav { gap:12px; }
}

@media (min-width:1100px) {
  body.catlo-global-design-v2 .catlo-site-header {
    display:flex;
    width:100%;
    min-width:0;
    padding-inline:max(15px,calc((100% - var(--catlo-container-width)) / 2));
    box-sizing:border-box;
    align-items:center;
    gap:12px;
  }
  body.catlo-global-design-v2 .catlo-site-header>.wrapper,
  body.catlo-global-design-v2 .catlo-site-header>.wrapper>.catlo-site-header__inner { display:contents; }
  body.catlo-global-design-v2 .catlo-site-header__inner #logo {
    order:1;
    min-width:0;
    flex:0 0 auto;
  }
  body.catlo-global-design-v2 .catlo-site-search-shell {
    position:static;
    order:2;
    width:auto;
    min-width:0;
    max-width:560px;
    margin:0;
    flex:1 1 auto;
    transform:none;
  }
  body.catlo-global-design-v2 .catlo-site-search { width:100%; }
  body.catlo-global-design-v2 .catlo-site-header__inner .nav {
    order:3;
    min-width:0;
    height:72px;
    margin:0;
    flex:0 0 auto;
    gap:12px;
  }
  body.catlo-global-design-v2 .catlo-site-header .nav>a,
  body.catlo-global-design-v2 .catlo-site-header .nav>details,
  body.catlo-global-design-v2 .catlo-site-header .nav>.catlo-header-account-menu { flex-shrink:0; }
  body.catlo-global-design-v2 .catlo-site-header .catlo-header-account__name {
    max-width:clamp(88px,10vw,140px);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
}

/* Two explicit footer rows prevent text from entering sibling content. */
body.catlo-global-design-v2 .catlo-site-footer { padding:0;border-top:1px solid var(--catlo-line);background:var(--catlo-surface); }
body.catlo-global-design-v2 .catlo-site-footer__content {
  display:block;
  width:min(var(--catlo-container-width),calc(100% - 40px));
  margin:0 auto;
  padding:16px 0 14px;
  box-sizing:border-box;
}
body.catlo-global-design-v2 .catlo-site-footer__top {
  display:flex;
  min-width:0;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
body.catlo-global-design-v2 .catlo-footer-brand {
  display:flex;
  width:min(430px,42%);
  min-width:0;
  margin:0;
  align-items:center;
  gap:10px;
  float:none;
  clear:none;
}
body.catlo-global-design-v2 .catlo-footer-brand p { flex:1 1 auto;min-width:0;margin:0;white-space:normal;overflow-wrap:anywhere; }
body.catlo-global-design-v2 .catlo-footer-brand .footer-brand { flex:0 0 auto; }
body.catlo-global-design-v2 .catlo-footer__copy { display:block;margin-top:10px;color:var(--catlo-ink-2);font-size:13px;line-height:18px; }
body.catlo-global-design-v2 .catlo-site-footer__links {
  display:flex;
  flex:1 1 auto;
  min-width:0;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:6px 14px;
}
body.catlo-global-design-v2 .catlo-site-footer__links a {
  color:var(--catlo-ink-2);
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
}
body.catlo-global-design-v2 .catlo-site-footer__links a:hover { color:var(--catlo-primary-hover); }
body.catlo-global-design-v2 .catlo-site-footer__content>.clear { display:none; }

@media (min-width:1100px) and (max-width:1280px) {
  body.catlo-global-design-v2 .catlo-site-search { grid-template-columns:minmax(0,1fr) max-content max-content; }
  body.catlo-global-design-v2 .catlo-site-header .catlo-header-communication__label,
  body.catlo-global-design-v2 .catlo-site-header .catlo-notification__label,
  body.catlo-global-design-v2 .catlo-site-header .catlo-header-account__name { display:none!important; }
}

@media (min-width:768px) and (max-width:1099px) {
  body.catlo-global-design-v2 .catlo-site-header { min-height:132px; }
  body.catlo-global-design-v2 .catlo-site-header__inner { min-height:68px;align-items:center; }
  body.catlo-global-design-v2 .catlo-site-search-shell {
    top:80px;
    width:min(560px,calc(100% - 48px));
  }
  body.catlo-global-design-v2 .catlo-site-search { grid-template-columns:minmax(0,1fr) max-content 48px; }
  body.catlo-global-design-v2 .catlo-site-search__submit {
    width:49px;
    min-width:49px;
    padding:0;
  }
  body.catlo-global-design-v2 .catlo-site-search__submit span {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
    white-space:nowrap;
  }
  body.catlo-global-design-v2 .catlo-site-header .catlo-header-communication__label,
  body.catlo-global-design-v2 .catlo-site-header .catlo-notification__label,
  body.catlo-global-design-v2 .catlo-site-header .catlo-header-account__name { display:none!important; }
}

@media (max-width:767px) {
  body.catlo-global-design-v2 {
    padding-top:116px;
    padding-bottom:calc(var(--catlo-mobile-tab-height) + env(safe-area-inset-bottom));
  }
  body.catlo-global-design-v2.catlo-hub-page { padding-top:58px;padding-bottom:0; }
  body.catlo-global-design-v2 .catlo-site-header {
    position:fixed;
    z-index:1000;
    top:0;
    right:0;
    left:0;
    width:100%;
    height:116px;
    min-height:116px;
    padding:0 12px;
    box-sizing:border-box;
    transition:height 160ms ease,min-height 160ms ease,box-shadow 160ms ease;
  }
  body.catlo-global-design-v2.osc-has-admin-header .catlo-site-header { top:46px;margin-top:46px; }
  body.catlo-global-design-v2 .catlo-site-header>.wrapper { position:relative;z-index:4;width:100%;background:var(--catlo-surface); }
  body.catlo-global-design-v2 .catlo-site-header__inner { position:relative;z-index:6;min-height:58px;height:58px; }
  body.catlo-global-design-v2 .catlo-site-header__inner #logo { max-width:calc(100% - 56px); }
  body.catlo-global-design-v2 .catlo-site-header #logo .catlo-header-brand { min-height:58px; }
  body.catlo-global-design-v2 .catlo-site-header #logo .catlo-header-brand__symbol { height:36px; }
  body.catlo-global-design-v2 .catlo-site-header #logo .catlo-header-brand__name { font-size:22px; }
  body.catlo-global-design-v2 .catlo-site-header .catlo-header-brand__descriptor { display:none!important; }
  body.catlo-global-design-v2 .catlo-site-header .menu-icon,
  body.catlo-global-design-v2 .catlo-site-header .nav,
  body.catlo-global-design-v2 .catlo-site-header .catlo-homepage__mobile-actions { display:none!important; }
  body.catlo-global-design-v2 .catlo-site-search-shell {
    display:block;
    position:absolute;
    top:58px;
    left:12px;
    width:calc(100% - 24px);
    transform:none;
    opacity:1;
    visibility:visible;
    transition:transform 160ms ease,opacity 120ms ease,visibility 0s linear;
  }
  body.catlo-global-design-v2 .catlo-site-header.catlo-site-header--compact {
    height:58px;
    min-height:58px;
    box-shadow:0 5px 16px rgba(15,23,42,.08);
  }
  body.catlo-global-design-v2 .catlo-site-header.catlo-site-header--compact .catlo-site-search-shell {
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-56px);
    transition:transform 160ms ease,opacity 100ms ease,visibility 0s linear 160ms;
  }
  body.catlo-global-design-v2.catlo-hub-page .catlo-site-header {
    height:58px;
    min-height:58px;
  }
  body.catlo-global-design-v2.catlo-hub-page .catlo-site-search-shell { display:none; }
  body.catlo-global-design-v2 .catlo-site-search { height:48px;grid-template-columns:minmax(0,1fr) max-content 48px;border-radius:12px; }
  body.catlo-global-design-v2 .catlo-site-search :where(input,select) { height:46px;min-height:46px;font-size:13px; }
  body.catlo-global-design-v2 .catlo-site-search__query { padding-left:10px;gap:6px; }
  body.catlo-global-design-v2 .catlo-site-search__location,
  body.catlo-global-design-v2 .catlo-site-search__location select { min-width:112px; }
  body.catlo-global-design-v2 .catlo-site-search__location select { padding:0 24px 0 8px; }
  body.catlo-global-design-v2 .catlo-site-search__submit { width:49px;height:48px;padding:0;border-radius:0 11px 11px 0; }
  body.catlo-global-design-v2 .catlo-site-search__submit span { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot {
    display:flex;
    position:relative;
    z-index:8;
    top:auto;
    right:auto;
    width:44px;
    height:44px;
    margin-left:auto;
    flex:0 0 44px;
    align-items:center;
    justify-content:center;
  }
  body.catlo-global-design-v2 .catlo-site-mobile-bell,
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot>.catlo-notification {
    display:flex;
    width:44px;
    height:44px;
    margin:0;
    align-items:center;
    justify-content:center;
    color:var(--catlo-ink);
  }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot>.catlo-notification>summary {
    display:flex;
    width:44px;
    min-width:44px;
    height:44px;
    min-height:44px;
    padding:0;
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    border:0;
  }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot>.catlo-notification>summary > * {
    pointer-events:none;
  }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot .catlo-notification__label {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
  }
  /* Badge sits on the bell's top-right shoulder, never over the bell itself. */
  body.catlo-global-design-v2 .catlo-site-header .catlo-site-mobile-notification-slot .catlo-notification__trigger-icon-wrap>.catlo-notification__badge {
    left:11px;
    right:auto;
    top:-8px;
    height:18px;
    min-height:18px;
    min-width:18px;
    padding:0 4px;
    line-height:14px;
  }
  body.catlo-global-design-v2 .catlo-site-mobile-bell svg { width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot .catlo-notification__panel {
    position:fixed;
    z-index:10020;
    right:0;
    bottom:0;
    left:0;
    top:auto;
    width:100%;
    max-width:none;
    height:auto;
    max-height:85dvh;
    grid-template-rows:auto minmax(0,1fr) auto;
    border-right:0;
    border-bottom:0;
    border-left:0;
    border-radius:18px 18px 0 0;
    padding-bottom:env(safe-area-inset-bottom);
    box-shadow:0 -16px 48px rgba(15,23,42,.2);
  }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot .catlo-notification__panel::before {
    display:block;
    z-index:3;
    top:7px;
    right:50%;
    width:38px;
    height:4px;
    border:0;
    border-radius:999px;
    background:var(--catlo-line-strong);
    transform:translateX(50%);
  }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot .catlo-notification__header {
    position:sticky;
    z-index:2;
    top:0;
    height:58px;
    min-height:58px;
    padding-top:12px;
  }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot .catlo-notification__content {
    max-height:none;
    overflow-y:auto;
  }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot .catlo-notification__close { display:inline-flex; }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot .catlo-notification__panel footer {
    position:sticky;
    z-index:2;
    bottom:0;
    padding-bottom:max(3px,env(safe-area-inset-bottom));
  }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot .catlo-notification__scrim {
    display:block;
    position:fixed;
    z-index:10019;
    inset:0;
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    border:0;
    background:rgba(15,23,42,.48);
  }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot .catlo-notification:not([open]) .catlo-notification__scrim {
    display:none;
  }
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot .catlo-notification[open] .catlo-notification__panel {
    animation:catlo-mobile-sheet-enter 200ms ease-out;
  }
  body.catlo-global-design-v2.catlo-notification-open .catlo-site-header {
    z-index:10030;
  }

  body.catlo-global-design-v2 .catlo-mobile-tabbar {
    display:grid;
    position:fixed;
    z-index:1001;
    right:0;
    bottom:0;
    left:0;
    height:calc(var(--catlo-mobile-tab-height) + env(safe-area-inset-bottom));
    padding:0 4px env(safe-area-inset-bottom);
    box-sizing:border-box;
    grid-template-columns:repeat(5,minmax(0,1fr));
    border-top:1px solid var(--catlo-line);
    background:var(--catlo-surface);
    box-shadow:0 -4px 18px rgba(15,23,42,.08);
  }
  body.catlo-global-design-v2.catlo-hub-page .catlo-mobile-tabbar { display:none; }
  body.catlo-global-design-v2 .catlo-mobile-tabbar__item {
    display:flex;
    position:relative;
    min-width:0;
    min-height:56px;
    padding:6px 2px 4px;
    box-sizing:border-box;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:2px;
    border-radius:10px;
    color:var(--catlo-ink-2);
    font-size:11px;
    font-weight:600;
    line-height:14px;
    text-decoration:none;
  }
  body.catlo-global-design-v2 .catlo-mobile-tabbar__item.is-active { color:var(--catlo-primary); }
  body.catlo-global-design-v2 .catlo-mobile-tabbar__icon { display:grid;position:relative;width:26px;height:26px;place-items:center; }
  body.catlo-global-design-v2 .catlo-mobile-tabbar__icon svg { width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
  body.catlo-global-design-v2 .catlo-mobile-tabbar__item--publish { color:var(--catlo-primary);font-weight:700; }
  body.catlo-global-design-v2 .catlo-mobile-tabbar__item--publish .catlo-mobile-tabbar__icon {
    width:48px;
    height:48px;
    margin-top:-24px;
    border:4px solid var(--catlo-surface);
    border-radius:50%;
    background:var(--catlo-primary);
    box-shadow:0 5px 14px rgba(21,87,214,.28);
    color:var(--catlo-surface);
  }
  body.catlo-global-design-v2 .catlo-mobile-tabbar__item--publish .catlo-mobile-tabbar__label { margin-top:-1px; }
  /* Anchored to the icon (item centre), not to the item's far edge. */
  body.catlo-global-design-v2 .catlo-mobile-tabbar__badge { position:absolute;top:3px;left:calc(50% + 3px);right:auto;z-index:1; }

  /* Mobile tab Tin nhắn replaces the floating launcher. */
  body.catlo-global-design-v2 .catlo-floating-chat { display:none!important; }
  body.catlo-global-design-v2.item .catlo-item-contact-actions {
    bottom:calc(var(--catlo-mobile-tab-height) + env(safe-area-inset-bottom))!important;
    z-index:999!important;
  }
  body.catlo-global-design-v2.item #content { padding-bottom:72px; }

  body.catlo-global-design-v2 .catlo-site-footer__content { width:calc(100% - 32px);padding:10px 0 calc(10px + env(safe-area-inset-bottom)); }
  body.catlo-global-design-v2 .catlo-site-footer__top { align-items:stretch;flex-direction:column;gap:8px; }
  body.catlo-global-design-v2 .catlo-footer-brand { width:100%;align-items:center;justify-content:flex-start;flex-direction:row;gap:10px; }
  body.catlo-global-design-v2 .catlo-footer-brand p { width:auto;text-align:left; }
  body.catlo-global-design-v2 .catlo-site-footer__links { display:grid;width:100%;margin:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;justify-content:stretch; }
  body.catlo-global-design-v2 .catlo-site-footer__links a { min-height:16px;white-space:normal;font-size:12px;line-height:16px; }
  body.catlo-global-design-v2 .catlo-footer__copy { margin-top:6px;font-size:13px;line-height:18px; }
}

@keyframes catlo-mobile-sheet-enter {
  from { transform:translateY(100%); }
  to { transform:translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  body.catlo-global-design-v2 .catlo-site-mobile-notification-slot .catlo-notification[open] .catlo-notification__panel {
    animation:none;
  }
}

@media (prefers-reduced-motion:reduce) {
  body.catlo-global-design-v2 .catlo-site-header,
  body.catlo-global-design-v2 .catlo-site-search-shell {
    transition:none;
  }
}
