@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@600;700&display=swap');
:root{--paper:#faf7f1;--white:#fff;--ink:#2d2926;--muted:#746c65;--line:#eee4dc;--red:#a13b2d;--green:#4b6651;--sand:#f3e8da}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px 'Noto Sans SC',system-ui,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #e29553;outline-offset:3px}.site-shell{max-width:1280px;margin:auto;padding:0 28px}.site-header{height:82px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:700;letter-spacing:.05em}.brand-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--red);color:#fff;font:700 24px 'Noto Serif SC',serif}.brand small{display:block;color:var(--muted);font:10px Georgia,serif;letter-spacing:.22em}.header-order{padding:10px 16px;border:1px solid var(--ink);border-radius:99px;background:transparent;font-size:14px;font-weight:700}.header-order span,.floating-order span{display:inline-grid;place-items:center;min-width:23px;height:23px;margin-left:5px;padding:0 5px;border-radius:50%;background:var(--red);color:#fff;font-size:12px}.hero{display:grid;grid-template-columns:40% 60%;min-height:390px;overflow:hidden;border-radius:23px;background:#efe1cc}.hero-copy{padding:48px 42px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.eyebrow{margin:0;color:var(--red);font-size:12px;font-weight:700;letter-spacing:.16em}.hero h1{margin:13px 0 17px;font:700 clamp(43px,4.7vw,65px)/1.23 'Noto Serif SC',serif;letter-spacing:-.04em}.hero-copy p{max-width:380px;margin:0;color:#625950;line-height:1.85}.hero-link{margin-top:23px;padding:11px 18px;border-radius:99px;background:var(--red);color:white;font-size:14px;font-weight:700}.hero-link span{margin-left:12px}.hero-photo{position:relative;min-height:390px}.hero-photo img{width:100%;height:100%;display:block;object-fit:cover}.hero-photo span{position:absolute;right:16px;bottom:16px;padding:8px 12px;border-radius:99px;background:#fffefaeb;font-size:12px;font-weight:700}.menu-section{padding:58px 0 76px}.menu-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:22px}.menu-heading h2{margin:6px 0 9px;font:700 clamp(29px,3vw,40px) 'Noto Serif SC',serif}.menu-heading p:last-child{margin:0;color:var(--muted);line-height:1.7}.menu-total{display:flex;align-items:baseline;gap:7px;white-space:nowrap}.menu-total strong{color:var(--red);font:38px Georgia,serif}.menu-total span{color:var(--muted);font-size:13px}.menu-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:27px 0 9px}.filters{display:flex;gap:8px;overflow-x:auto;padding:3px 0}.filter{flex:none;padding:9px 16px;border:1px solid var(--line);border-radius:99px;background:transparent;color:#5e564f;font-size:14px}.filter.active{background:var(--red);border-color:var(--red);color:#fff;font-weight:700}.search{display:flex;align-items:center;gap:5px;min-width:224px;padding:0 12px;border:1px solid var(--line);border-radius:99px;background:#fff}.search-icon{font-size:25px;line-height:1;color:var(--muted)}.search input{width:100%;height:42px;border:0;outline:0;background:transparent;font-size:14px}.result-count{min-height:22px;margin:0 0 12px;color:var(--muted);font-size:13px}.dish-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.dish-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 43%;min-height:246px;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:var(--white);transition:transform .2s,box-shadow .2s}.dish-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px #533c2814}.dish-card.selected{border-color:var(--red);box-shadow:0 0 0 2px #a13b2d21}.dish-body{position:relative;z-index:1;display:flex;flex-direction:column;padding:19px 0 17px 21px}.dish-emoji{font-size:27px;line-height:1}.dish-meta{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.pill{padding:3px 7px;border-radius:99px;background:#e9f0e8;color:var(--green);font-size:10px;font-weight:700}.pill.weekend{background:#f6ecde;color:#9b5f2a}.dish-body h3{margin:10px 0 5px;font-size:18px;line-height:1.35}.dish-body p{max-width:270px;margin:0;color:var(--muted);font-size:12px;line-height:1.5}.dish-facts{display:flex;flex-wrap:wrap;gap:4px 11px;margin-top:auto;padding-top:12px;color:#73527d;font-size:11px;font-weight:700}.dish-facts b{color:var(--ink);font-size:14px}.dish-photo{display:flex;align-items:center;justify-content:center;min-width:0;padding:12px 12px 12px 0}.dish-photo img{width:min(100%,235px);aspect-ratio:1;object-fit:cover;border-radius:50%;box-shadow:0 12px 20px #53433122}.pick-button{position:absolute;right:15px;bottom:14px;z-index:2;width:38px;height:38px;border:0;border-radius:50%;background:#302e32;color:#fff;font-size:25px;line-height:1}.selected .pick-button{background:var(--red)}.no-results{text-align:center;padding:50px;color:var(--muted)}footer{padding:26px 0 38px;border-top:1px solid var(--line);text-align:center;color:var(--muted);font-size:13px}.floating-order{position:fixed;z-index:3;left:50%;bottom:16px;transform:translateX(-50%);min-width:230px;padding:12px 18px;border:0;border-radius:99px;background:var(--red);color:white;box-shadow:0 12px 30px #40261c46;font-weight:700}.floating-order span{background:#fff;color:var(--red)}.overlay{position:fixed;z-index:10;inset:0;background:#1b151376}.drawer{position:absolute;right:0;top:0;bottom:0;display:flex;flex-direction:column;width:min(440px,100%);background:var(--paper)}.drawer-head{display:flex;align-items:flex-start;justify-content:space-between;padding:24px 24px 17px;border-bottom:1px solid var(--line)}.drawer-head h2{margin:6px 0 0;font:700 26px 'Noto Serif SC',serif}.icon-button{width:35px;height:35px;border:0;border-radius:50%;background:var(--sand);font-size:24px}.order-items{flex:1;overflow:auto;padding:10px 24px}.order-item{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.order-item img{width:60px;height:60px;border-radius:50%;object-fit:cover}.order-item strong{font-size:15px}.order-item small{display:block;color:var(--muted);margin-top:4px}.remove-button{width:29px;height:29px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);font-size:18px}.empty-order{padding:55px 10px;text-align:center;color:var(--muted);line-height:1.8}.order-bottom{padding:17px 24px 22px;border-top:1px solid var(--line);background:#fff}.order-bottom label{font-size:14px;font-weight:700}.order-bottom textarea{width:100%;min-height:72px;margin-top:8px;padding:10px;border:1px solid var(--line);border-radius:10px;resize:vertical;background:var(--paper);font-size:14px}.sharing-note{margin:8px 0 12px;color:var(--muted);font-size:12px;line-height:1.6}.primary-button,.secondary-button{width:100%;padding:12px;border-radius:10px;font-size:14px;font-weight:700}.primary-button{border:1px solid var(--red);background:var(--red);color:#fff}.secondary-button{margin-top:8px;border:1px solid var(--red);background:#fff;color:var(--red)}.primary-button:disabled,.secondary-button:disabled{opacity:.5;cursor:not-allowed}.feedback{min-height:18px;margin:8px 0 0;color:var(--green);font-size:13px}
@media(max-width:800px){.site-shell{padding:0 15px}.site-header{height:72px}.brand{font-size:18px}.brand-icon{width:39px;height:39px;font-size:20px}.header-order{padding:8px 11px;font-size:12px}.hero{display:flex;flex-direction:column-reverse}.hero-photo{height:210px;min-height:210px}.hero-copy{padding:26px 23px 31px}.hero h1{font-size:42px;margin:10px 0}.hero-copy p{font-size:14px}.menu-section{padding-top:43px}.menu-heading h2{font-size:29px}.menu-heading p:last-child{font-size:13px}.menu-total strong{font-size:28px}.menu-controls{display:block}.filters{margin-bottom:11px}.search{width:100%}.dish-grid{grid-template-columns:1fr}.dish-card{min-height:230px}.dish-photo img{max-width:210px}}
@media(max-width:400px){.dish-card{grid-template-columns:minmax(0,1fr) 39%;min-height:238px}.dish-body{padding-left:15px}.dish-body h3{font-size:16px}.dish-photo{padding-right:7px}.dish-photo img{width:100%}.dish-facts{font-size:10px;gap:2px 7px}.dish-facts b{font-size:12px}}
.estimate-note{max-width:900px;margin:25px auto 0;color:var(--muted);font-size:12px;line-height:1.8}.estimate-note a{color:var(--red);text-decoration:underline}.order-estimate{padding:13px 0;color:var(--red);font-size:14px;font-weight:700}
.hero,.hero-photo{height:300px;min-height:300px}.hero-copy{padding-top:26px;padding-bottom:26px}.hero h1{font-size:clamp(41px,4vw,55px)}.menu-section{padding-top:37px}.dish-body p{font-size:14px}.dish-facts{font-size:12px}
@media(max-width:800px){.hero{height:auto}.hero-photo{height:150px;min-height:150px}.hero-copy{padding:17px 20px 22px}.hero h1{font-size:34px}.hero-copy p{line-height:1.6}.hero-link{margin-top:14px}.menu-section{padding-top:32px}}
.hero-copy{padding-top:17px;padding-bottom:17px}.hero h1{margin:9px 0 10px;font-size:clamp(39px,3.6vw,48px);line-height:1.15}.hero-copy p{font-size:14px;line-height:1.65}.hero-link{margin-top:15px;padding:9px 16px}
.hero,.hero-photo{height:270px;min-height:270px}.menu-section{padding-top:26px}.menu-controls{margin-top:20px}
@media(max-width:800px){.hero{height:auto;min-height:0}.hero-photo{height:150px;min-height:150px}.hero h1{font-size:34px}.menu-section{padding-top:30px}}

/* 窄屏优先：分类完整露出，卡片图文并排，操作避开 iPhone 底部安全区。 */
@media(max-width:480px){
  .site-shell{padding-left:16px;padding-right:16px}
  .site-header{height:68px}
  .header-order{min-height:44px}
  .hero{border-radius:18px}
  .hero-photo{height:156px;min-height:156px}
  .hero-copy{padding:18px 20px 22px}
  .hero h1{font-size:33px}
  .menu-heading{align-items:flex-start}
  .menu-heading h2{font-size:27px}
  .menu-heading p:last-child{max-width:280px;font-size:12px}
  .menu-total{align-self:center}
  .menu-total strong{font-size:27px}
  .filters{flex-wrap:wrap;overflow:visible;gap:7px;margin-bottom:13px}
  .filter{min-height:42px;padding:8px 11px;font-size:13px}
  .search{min-width:0}
  .search input{font-size:16px}
  .dish-card{grid-template-columns:minmax(0,1fr) 39%;min-height:224px}
  .dish-body{padding:16px 0 15px 17px}
  .dish-body h3{font-size:17px}
  .dish-body p{font-size:12px;line-height:1.45}
  .dish-facts{padding-right:5px;font-size:11px}
  .dish-photo{padding:10px 8px 10px 0}
  .pick-button{width:44px;height:44px;right:12px;bottom:12px}
  .floating-order{bottom:max(14px,env(safe-area-inset-bottom));min-height:48px}
  .menu-section{padding-bottom:82px}
  .drawer-head{padding-top:max(22px,env(safe-area-inset-top))}
  .order-bottom{padding-bottom:max(20px,env(safe-area-inset-bottom))}
}

.drawer-actions{display:flex;align-items:center;gap:8px}
.clear-button{min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--red);font-size:13px;font-weight:700;white-space:nowrap}
.clear-button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:480px){.drawer-head h2{font-size:23px}.drawer-actions .icon-button{width:40px;height:40px;flex:none}}

/* 菜单页导航：桌面居中，窄屏独占第二行，避免挤压点菜单按钮。 */
.site-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px}
.site-nav{display:flex;align-items:center;justify-content:center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:99px;background:#fff}
.site-nav-link{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:99px;color:var(--muted);font-size:14px;font-weight:700;white-space:nowrap}
.site-nav-link.active{background:var(--red);color:#fff}
.header-order{justify-self:end}
.banquet-hero{background:#f1dfd0}
@media(max-width:800px){
  .site-header{height:auto;min-height:112px;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:10px 0}
  .site-nav{grid-column:1/-1;grid-row:2;justify-self:center}
  .site-nav-link{min-height:39px;padding:0 24px;font-size:13px}
}
@media(max-width:480px){.site-header{min-height:114px}.brand{font-size:17px}.site-nav{width:100%;max-width:280px}.site-nav-link{flex:1}}

/* 只轮播右侧餐桌照片，左侧文案始终保持不动。 */
.carousel{overflow:hidden;background:#d9c9b2}
.carousel .carousel-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;visibility:hidden;transition:opacity .45s ease,visibility .45s ease}
.carousel .carousel-slide.active{opacity:1;visibility:visible}
.carousel .photo-caption{top:12px;right:12px;bottom:auto;height:max-content}
.carousel-controls{position:absolute;z-index:2;left:50%;bottom:11px;display:flex;align-items:center;gap:8px;transform:translateX(-50%);padding:4px 7px;border-radius:99px;background:#241b17b8;backdrop-filter:blur(5px)}
.carousel-arrow{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;font-size:26px;line-height:1}
.carousel-arrow:hover,.carousel-arrow:focus-visible{background:#ffffff35}
.carousel-dots{display:flex;align-items:center;gap:7px}
.carousel-dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#ffffff8a}
.carousel-dot.active{width:20px;border-radius:99px;background:#fff}
@media(max-width:800px){.carousel .photo-caption{font-size:10px;padding:5px 8px}.carousel-controls{bottom:6px}.carousel-arrow{width:34px;height:34px}.carousel-dot{width:9px;height:9px}}
@media(prefers-reduced-motion:reduce){.carousel .carousel-slide{transition:none}}

/* 页面切换按钮移到菜单标题旁；回顶按钮始终固定在左下角。 */
.site-header{display:flex;align-items:center;justify-content:space-between}
.menu-heading-main{flex:1;min-width:0}
.menu-title-row{display:flex;align-items:center;gap:18px}
.menu-title-row h2{margin:6px 0 9px}
.menu-title-row .site-nav{flex:none}
.back-to-top{position:fixed;z-index:4;left:max(20px,env(safe-area-inset-left));bottom:max(20px,env(safe-area-inset-bottom));display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--red);box-shadow:0 8px 22px #40261c25;font-size:28px;font-weight:700;line-height:1}
.back-to-top:hover{background:var(--red);color:#fff}
@media(max-width:800px){
  .site-header{height:72px;min-height:0;padding:0}
  .menu-heading{display:block}
  .menu-title-row{justify-content:space-between;gap:8px}
  .menu-title-row .site-nav{gap:2px;padding:3px}
  .menu-title-row .site-nav-link{min-height:38px;padding:0 10px;font-size:12px}
  .menu-total{margin-top:8px}
  .back-to-top{left:max(16px,env(safe-area-inset-left));bottom:max(14px,env(safe-area-inset-bottom));width:46px;height:46px}
}
@media(max-width:480px){
  .site-header{height:68px;min-height:0}
  .menu-title-row h2{font-size:27px;white-space:nowrap}
  .menu-title-row .site-nav{width:auto;max-width:none}
  .menu-title-row .site-nav-link{flex:none}
}
@media(max-width:360px){
  .menu-title-row h2{font-size:22px}
  .menu-title-row .site-nav-link{padding:0 7px;font-size:11px}
  .floating-order{left:auto;right:12px;min-width:180px;transform:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Shared family order controls stay compact and readable on narrow phones. */
.shared-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:15px 0 2px;padding:12px 14px;border:1px solid #ead9c9;border-radius:14px;background:#fffaf3;font-size:13px}
.shared-controls strong{margin-right:4px;color:#633a2f}
.shared-controls button,.shared-controls select{min-height:36px;padding:5px 11px;border:1px solid #dfc8b8;border-radius:99px;background:#fff;color:#71382e;font-size:13px;font-weight:700}
.shared-controls button:hover{border-color:var(--red)}
.shared-controls button:disabled{opacity:.5}
.shared-status{color:var(--muted)}
.pick-button{font-size:20px;font-weight:700}
@media(max-width:480px){.shared-controls{margin-top:13px}.shared-controls strong{width:100%}}
