/* ==============================
   Hibachi W · Header Base · FINAL
   适用：所有页面（含广告落地页）
============================== */

/* ---------- Sticky wrapper & Header Shell ---------- */
.sticky-wrapper{
  position: relative;
  z-index: 1001;
  background: none;
  border: 0;
  box-shadow: none;
}

/* 主 header 容器 */
.th-header.header-layout6{
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  background: #15213a;
  border-bottom: 1px solid #182f5c;
}

/* JS 会加这个 class，但我们用 sticky，所以不需要额外 padding */
body.with-fixed-header{ padding-top: 0; }

/* 包裹整条导航区域 */
.th-header .menu-area{
  background: transparent;
  padding: 10px 0;
}

/* 可选 logo 背景 */
.logo-bg[aria-hidden="true"]{ pointer-events: none; }

/* ---------- Logo ---------- */
.header-logo img{
  height: 70px;
  width: auto;
}
@media (min-width: 992px){
  .header-logo img{ height: 64px; }
}

/* ---------- Desktop Main Menu ---------- */
.main-menu > ul{
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-menu > ul > li{ position: relative; }

.main-menu > ul > li > a,
.hw-nav-link{
  display: inline-block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: color .18s ease;
}
.main-menu > ul > li > a:hover,
.main-menu > ul > li > a:focus,
.hw-nav-link:hover,
.hw-nav-link:focus{
  color: var(--hw-orange, #ff4f00);
}

/* < 992px 隐藏 Desktop 主导航（兜底） */
@media (max-width: 991.98px){
  .main-menu{ display: none !important; }
}

/* ---------- Header 按钮区 ---------- */
.header-button{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Mobile BOOK NOW 按钮（默认显示，桌面端隐藏） */
.btn-header-mobile{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 9999px;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  background-color: #ff4f00;
  color: #ffffff;
  transition: background-color .18s ease, box-shadow .18s ease, transform .1s ease;
}
.btn-header-mobile:hover,
.btn-header-mobile:focus{
  background-color: #e04600;
  box-shadow: 0 10px 22px rgba(255, 79, 0, 0.3);
  color: #ffffff;
}

/* Telephone Icon 按钮：样式（默认跟随 header 正常显示） */
.call-btn-inline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ff4f00;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: background-color .18s ease, transform .1s ease, box-shadow .18s ease;
}
.call-btn-inline i{ line-height: 1; }
.call-btn-inline:hover,
.call-btn-inline:focus{
  background-color: #ff6733;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* ≥992px：隐藏 Mobile CTA */
@media (min-width: 992px){
  .btn-header-mobile{ display: none !important; }
}

/* ---------- Mobile Hamburger Button ---------- */
.th-menu-toggle{
  width: 47px;
  height: 47px;
  background-color: var(--hw-orange, #ff4f00);
  color: #ffffff !important;
  border: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  transition: background 0.3s ease;
}
.th-menu-toggle:hover,
.th-menu-toggle:focus{
  background-color: var(--hw-orange-soft, #ff6a2a);
  color: #111;
}
@media (min-width: 992px){
  .th-menu-toggle{ display: none !important; }
}

/* =========================
   Mobile Menu Overlay
========================= */
.th-menu-wrapper{
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.th-menu-wrapper[hidden]{ display: block; }
.th-menu-wrapper.th-body-visible{
  opacity: 1;
  visibility: visible;
}
.th-menu-wrapper .th-menu-area{
  width: 100%;
  max-width: 220px;
  background-color: #f2f4f7;
  border-right: 1px solid #dde2ea;
  height: 100%;
  position: relative;
  left: -110%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 12px;
}
.th-menu-wrapper.th-body-visible .th-menu-area{
  left: 0;
  opacity: 1;
  visibility: visible;
}

/* mobile nav 列表 */
.th-mobile-menu ul{
  list-style: none;
  margin: 0;
  padding: 0 18px 24px;
}
.th-mobile-menu ul li{
  display: flex;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}
.th-mobile-menu ul li a.hw-nav-link{
  font-size: 15px;
  font-weight: 500;
  color: #111827 !important;
}

/* 关闭按钮 */
.th-menu-close{
  color: #6b7280;
  font-size: 28px;
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
}
.th-menu-close:hover{ opacity: 0.8; }

/* mobile logo */
.th-menu-wrapper .mobile-logo{
  margin-bottom: 28px;
  text-align: left;
}
.th-menu-wrapper .mobile-logo img{
  width: 140px;
  height: auto;
}

/* 手机端 overlay 细节 */
@media (max-width: 991.98px){
  .th-menu-wrapper .mobile-logo{ padding-left: 12px; }
  .th-mobile-menu ul{ padding-left: 18px; padding-right: 0; }
  .th-menu-wrapper .th-menu-area{ padding-right: 12px; }
}

/* =========================
   Desktop Header 对齐优化
========================= */
@media (min-width: 992px){
  .th-header .menu-area{
    display: flex;
    align-items: center;
  }
  .th-header .menu-area .row{
    align-items: center;
    justify-content: flex-start;
    column-gap: 40px;
  }
  .header-layout6 .header-button{
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

/* =========================
   Landing Google（广告页）规则
   - 禁用菜单
   - 仅移动端显示“浮动电话”
========================= */

/* 菜单打开：锁滚动 */
body.menu-open{ overflow: hidden; }
html.hw-menu-open{ touch-action: none; }
@media (min-width: 992px){
  .landing-google .call-btn-inline{
    display: none !important;
  }
}

.th-header .main-menu > ul{
  display: flex;
  gap: 32px;   /* 原来一般是 16~20，可调 24 / 28 / 32 */
}
