/* ============================
   Hibachi W · Menu Page Styles
   Scope: body.w-menu-page 仅菜单页生效
   ============================ */
:root {
  /* 可按需覆写 */
  --hw-orange: #ff4f00;
  --hw-orange-hover: #ff6f33;
  --hw-blue: #4169e1;
  --hw-blue-dark: #003399;
  --hw-blue-strong: #002fff;
  --hw-text: #443a3ae6;
  --hw-heading: #000;
  --hw-muted: #333;
  --hw-border: #eee;
  --hw-bg-soft: #f9f6f2;
  --hw-bg-softer: #f6f1ec;
  --hw-bg-open: #f2ede9;
  --hw-shadow: rgba(0,0,0,.04);
}
/* 页面作用域开关：仅菜单页启用平滑滚动 */
body.w-menu-page { scroll-behavior: smooth; }

/* ---------------- Headings ---------------- */
.w-menu-page h1 {
  font-weight: 700;
  color: var(--hw-heading);
  font-size: clamp(25px, 3.2vw, 29px);
  line-height: 1.4;
  margin: 18px 0;
}

.w-menu-page h2 {
  font-weight: 700;
  color: var(--hw-orange);
  font-size: clamp(24px, 2.6vw, 26px);
  line-height: 1.3;
  margin: 25px 0;
}

.w-menu-page h3 {
  font-weight: 600;
  color: var(--hw-muted);
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.35;
  margin: 5px 0 15px;
}

/* ---------------- Base Text ---------------- */
.w-menu-page p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--hw-text);
  margin: 0 0 12px;
}

.w-menu-page .content p { color: var(--hw-text); }

.w-menu-page .content li {
  font-size: 16px;
  color: var(--hw-text);
  line-height: 1.55;
  margin: 4px 0;
}

/* 仅屏读可见 */
.w-menu-page .sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* 列表强调 */
.w-menu-page .blue-list li {
  color: var(--hw-text);
  font-weight: 600;
}

/* 内联链接 */
.w-menu-page .inline-links {
  font-size: 15px;
  font-weight: 600;
  color: var(--hw-blue);
  text-decoration: underline;
}
.w-menu-page .inline-links:hover,
.w-menu-page .inline-links:focus {
  color: var(--hw-orange);
}

/* 说明/提示 */
.w-menu-page .note {
  font-size: 14px;
  color: var(--hw-blue-dark);
  margin: -15px 0 20px;
}
.w-menu-page .note strong { color: var(--hw-blue-strong); }

/* ---------------- Booking / CTA ---------------- */
.w-menu-page .booking-wrap {
  text-align: center;
  margin: 15px 0 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  line-height: 28px;
  font-size: 17px;
}

.w-menu-page .btn {
  margin: 20px 0;
  display: inline-block;
  padding: 12px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-family: inherit;
  border: 0;
  cursor: pointer;
  transition:
    background-color .2s ease,
    box-shadow .2s ease,
    color .2s ease;
}

.w-menu-page .btn--primary {
  background: var(--hw-orange);
  color: #fff;
}
.w-menu-page .btn--primary:hover { background: var(--hw-orange-hover); }
.w-menu-page .btn--primary:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(255,79,0,.25);
}

@media (max-width: 576px) {
  .w-menu-page .btn {
    max-width: 420px;
    margin: 8px 0 15px;
  }
}

/* ---------------- FAQ ---------------- */
.w-menu-page .faq-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.w-menu-page .faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 32px;
  text-align: left;
}

@media (min-width: 992px) {
  .w-menu-page .faq-grid { grid-template-columns: 1fr 1fr; }
}

.w-menu-page .faq-item {
  border: 1px solid var(--hw-border);
  border-radius: 12px;
  background: var(--hw-bg-soft);
  transition: background .2s, border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.w-menu-page .faq-item:hover {
  border-color: #e8e1db;
  background: var(--hw-bg-softer);
}
.w-menu-page .faq-item[open] {
  background: var(--hw-bg-open);
  border-color: #eadfd7;
  box-shadow: 0 6px 14px var(--hw-shadow);
}

.w-menu-page .faq-item summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
}
.w-menu-page .faq-item summary::-webkit-details-marker { display: none; }

.w-menu-page .faq-item summary .faq-title {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  color: #1f1f1f;
  font-size: 16px;
  line-height: 1.3;
}

.w-menu-page .faq-item summary::after {
  content: "+";
  font-weight: 900;
  font-size: 24px;
  color: #ff5a00;
  margin-left: 12px;
  line-height: 1;
}
.w-menu-page .faq-item[open] summary::after { content: "−"; }

.w-menu-page .faq-body {
  background: #fafafab8;
  border-top: 1px solid #f1ebe6;
  padding: 14px 18px 18px;
  color: #444;
  line-height: 1.65;
  font-size: 15px;
}

.w-menu-page .faq-text a {
  color: var(--hw-blue);
  font-weight: 600;
  text-decoration: underline;
}
.w-menu-page .faq-text a:hover { color: var(--hw-orange); }

@media (max-width: 575.98px) {
  .w-menu-page .faq-item summary { padding: 16px 18px; }
  .w-menu-page .faq-item summary .faq-title { font-size: 16px; }
}

/* ---------------- TOC Chips ---------------- */
.w-menu-page .page-toc {
  max-width: 1080px;
  margin: 12px auto;
  position: relative;
}
.w-menu-page .page-toc > .page-toc__scroller{
  btn-space: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 8px var(--btn-space) 10px !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--btn-space), #000 calc(100% - var(--btn-space)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--btn-space), #000 calc(100% - var(--btn-space)), transparent 100%);
}
.w-menu-page .page-toc__scroller::-webkit-scrollbar { display: none; }

.w-menu-page .chip{
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
  padding: 8px 12px;                 /* 去掉重复写法，保留小号 */
  border: 1px solid var(--hw-border);
  border-radius: 999px;
  background: #fff;
  color: var(--hw-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.w-menu-page .chip:hover{
  border-color: var(--hw-orange);
  color: var(--hw-orange);
  background: #fff7f2;
}
.w-menu-page .page-toc .chip.active{
  background: var(--hw-orange);
  color: #fff;
}

.w-menu-page .page-toc__btn{
  position: absolute;
  top: 50%;
  transform: translateY(5%);
  font-size: 24px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: transparent;
  color: var(--hw-orange);
  border: 0; border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0);
  z-index: 2; cursor: pointer;
}
.w-menu-page .page-toc__btn.prev{ left: 5px; }
.w-menu-page .page-toc__btn.next{ right: 10px; }

@media (min-width: 768px){
  .w-menu-page .page-toc__scroller{
    overflow-x: visible;
    flex-wrap: wrap;
    gap: 10px;
    -webkit-mask-image: none;
            mask-image: none;
    padding: 8px 0 10px !important;
  }
  .w-menu-page .page-toc__btn{ display: none !important; }
}

/* ---------------- Anchors / Sections ---------------- */
.w-menu-page #appetizers,
.w-menu-page #hibachi-combo,
.w-menu-page #pricing,
.w-menu-page #upgrades,
.w-menu-page #sides,
.w-menu-page #sushi-platters,
.w-menu-page #house-special,
.w-menu-page #desserts,
.w-menu-page #ramune-soda,
.w-menu-page #protein,
.w-menu-page #table-rentals,
.w-menu-page #faq { scroll-margin-top: 210px; }

@media (max-width: 767.98px){
  .w-menu-page #appetizers,
  .w-menu-page #hibachi-combo,
  .w-menu-page #pricing,
  .w-menu-page #upgrades,
  .w-menu-page #sides,
  .w-menu-page #sushi-platters,
  .w-menu-page #house-special,
  .w-menu-page #desserts,
  .w-menu-page #ramune-soda,
  .w-menu-page #protein,
  .w-menu-page #table-rentals,
  .w-menu-page #faq { scroll-margin-top: 150px; }
}

/* ---------------- SEO Links ---------------- */
.w-menu-page .seo-link-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.w-menu-page .seo-link-show {
  margin-top: 10px;
  text-align: center;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}
