/* 自然温和餐饮视觉：暖白底、深灰正文、陶土橙主操作、低装饰物理感 */
body {
 --restaurant-cream:#FAF7F2;
 --restaurant-card-bg:#FFFFFF;
 --restaurant-ink:#2B2523;
 --restaurant-muted:#6B5F58;
 --restaurant-accent:#A94F2D;
 --restaurant-accent-hover:#8B4027;
 --restaurant-soft:#F4ECE2;
 --restaurant-soft-hover:#EAE0D3;
 --restaurant-border:#E4D7CA;
 --restaurant-saffron:var(--restaurant-accent);
}
/* 餐厅顾客界面统一样式；质朴自然，覆盖旧商城模板视觉 */
body { background:var(--restaurant-cream); color:var(--restaurant-ink); font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
body .col-full { max-width:1180px; padding:0 28px; margin-left:auto; margin-right:auto; }
body .site-header { background:var(--restaurant-card-bg); border-bottom:1px solid var(--restaurant-border); margin-bottom:0!important; padding:0; }
body .site-content { padding-top:24px; }
body .content-area { float:none!important; width:100%!important; margin-right:0!important; }
body .site-main { margin-bottom:0; }
body .site-footer { margin-top:40px; padding:32px 0 60px; background:var(--restaurant-soft); color:var(--restaurant-muted); border-top:1px solid var(--restaurant-border); }
body .storefront-breadcrumb,body .widget-area,body .storefront-handheld-footer-bar { display:none!important; }
body .entry-header h1 { color:var(--restaurant-ink); font-size:clamp(24px,3.2vw,34px); font-weight:700; letter-spacing:-.02em; margin-bottom:18px; }
.restaurant-header { max-width:1180px; margin:auto; padding:18px 28px; display:flex; align-items:center; gap:24px; }
.restaurant-brand { display:flex; align-items:baseline; gap:10px; color:var(--restaurant-ink)!important; text-decoration:none; font-size:18px; font-weight:700; letter-spacing:-.02em; min-width:0; }
.restaurant-brand-mark { display:none!important; }
.restaurant-brand small { display:inline-block; font-size:12px; font-weight:400; letter-spacing:0; color:var(--restaurant-muted); margin-left:6px; }
.restaurant-brand>span:last-child { min-width:0; }
.restaurant-header nav { margin-left:auto; display:flex; align-items:center; gap:20px; }
.restaurant-header nav a { color:var(--restaurant-muted); font-size:14px; text-decoration:none; font-weight:600; white-space:nowrap; padding:8px 0; }
.restaurant-header nav a[aria-current] { color:var(--restaurant-accent); }
.restaurant-header-cart { border-radius:6px; background:var(--restaurant-soft); padding:8px 12px!important; }
.restaurant-cart-count { display:inline-grid; place-items:center; min-width:20px; height:20px; border-radius:4px; background:var(--restaurant-accent); color:#fff; font-size:12px; margin-left:3px; }
.restaurant-languages { display:flex; gap:2px; border:1px solid var(--restaurant-border); border-radius:6px; padding:2px; flex-shrink:0; }
.restaurant-languages a { white-space:nowrap; min-width:44px; padding:5px 8px; font-size:12px; color:var(--restaurant-muted); text-decoration:none; border-radius:4px; }
.restaurant-languages a[aria-current] { background:var(--restaurant-accent); color:#fff; font-weight:600; }
.restaurant-preview { padding:5px 16px; text-align:center; font-size:11px; letter-spacing:.02em; color:var(--restaurant-muted); background:var(--restaurant-soft); border-bottom:1px solid var(--restaurant-border); }
.restaurant-footer { display:grid; grid-template-columns:1.2fr 1fr .85fr; gap:28px; font-size:13px; line-height:1.6; }
.restaurant-footer strong { color:var(--restaurant-ink); font-weight:600; }
.restaurant-footer p { margin:6px 0; color:var(--restaurant-muted); }
.restaurant-footer a { color:var(--restaurant-ink); text-decoration:none; }
.restaurant-footer a:hover { text-decoration:underline; }
.restaurant-footer nav { display:flex; flex-direction:column; gap:8px; }
.restaurant-copyright { margin-top:24px; font-size:12px; color:var(--restaurant-muted); }
/* 汉字装饰标记：呼应中式餐饮的编辑感排版 */
.restaurant-home-mark { display:inline-block; margin-right:10px; font-family:Georgia,"Times New Roman","Songti SC","SimSun","Noto Serif CJK SC","Source Han Serif SC","WenQuanYi Zen Hei",serif; font-size:24px; line-height:1; font-weight:400; color:var(--restaurant-accent); vertical-align:-.06em; }
.restaurant-menu-hero h1 .restaurant-home-mark { margin-right:12px; font-size:26px; }
.restaurant-home-story { position:relative; overflow:hidden; }
.restaurant-home-story .restaurant-home-watermark { position:absolute; right:2%; top:-26px; z-index:0; font-family:Georgia,"Times New Roman","Songti SC","SimSun","Noto Serif CJK SC","Source Han Serif SC","WenQuanYi Zen Hei",serif; font-size:clamp(120px,18vw,220px); line-height:1; color:var(--restaurant-accent); opacity:.07; pointer-events:none; user-select:none; }
.restaurant-home-story>div { position:relative; z-index:1; }
.restaurant-menu-lead { margin:0 0 8px; max-width:42em; font-size:15px; line-height:1.7; color:var(--restaurant-muted); }
.restaurant-menu-hero { padding:10px 0 20px; }
.restaurant-menu-hero h1 { font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-weight:700; font-size:clamp(26px,3.5vw,38px); letter-spacing:-.02em; color:var(--restaurant-ink); margin:4px 0 8px; line-height:1.2; }
.restaurant-menu-hero p:not(.restaurant-eyebrow) { font-size:14px; color:var(--restaurant-muted); margin-bottom:8px; }
.restaurant-eyebrow { display:none!important; }
.restaurant-booking-cta { margin-top:8px; }
.restaurant-view-dish { width:auto; display:inline-flex; align-items:center; background:transparent; color:var(--restaurant-muted); padding:8px 10px; border:0; border-radius:4px; cursor:pointer; text-decoration:none; font-size:13px; font-weight:500; min-height:44px; }
.restaurant-view-dish:hover { color:var(--restaurant-accent); text-decoration:underline; }
.restaurant-header nav a,.restaurant-languages a { min-height:44px; display:inline-flex; align-items:center; justify-content:center; }
.restaurant-header nav a:focus-visible,.restaurant-languages a:focus-visible,.restaurant-view-dish:focus-visible,.restaurant-menu-tools button:focus-visible { outline:3px solid var(--restaurant-accent); outline-offset:3px; }
.restaurant-menu-reset { padding:8px 12px; border:1px solid var(--restaurant-border); border-radius:6px; background:#fff; color:var(--restaurant-muted); min-height:44px; font-size:12px; cursor:pointer; }
.restaurant-menu-tools [hidden],.restaurant-booking-layout [hidden],.restaurant-booking-receipt [hidden] { display:none!important; }
.restaurant-booking-date-status { grid-column:1/-1; margin:0; padding:10px 12px; border-radius:6px; color:#8c4438; background:#fff0e9; font-size:13px; }
.restaurant-booking-draft-note { font-size:13px; color:var(--restaurant-muted); padding:8px 12px; border-radius:6px; background:var(--restaurant-soft); }
.restaurant-booking-save { margin-top:20px; padding:16px 0; border:0; border-top:1px solid var(--restaurant-border); background:transparent; }
.restaurant-receipt-copy { border:1px solid var(--restaurant-border); border-radius:6px; background:#fff; color:var(--restaurant-ink); min-height:44px; padding:8px 14px; font-size:13px; cursor:pointer; }
.restaurant-booking-save>a { display:inline-flex; align-items:center; min-height:44px; margin:0 10px; color:var(--restaurant-accent); text-decoration:none; }
.restaurant-booking-save>a:hover { text-decoration:underline; }
.restaurant-receipt-feedback:empty { display:none; }
.restaurant-receipt-feedback { font-size:13px; margin:10px 0 0; color:var(--restaurant-muted); }
.restaurant-receipt-url { width:100%; min-height:44px; font-size:13px; margin-top:8px; border:1px solid var(--restaurant-border); border-radius:6px; padding:8px; background:#fff; }
.restaurant-booking-cancel-confirm { padding:14px; border:1px solid #eed5cd; border-radius:6px; background:#fff5ef; }
.restaurant-booking-cancel-confirm p { font-size:14px; margin:0 0 12px; color:var(--restaurant-ink); }
.restaurant-booking-cancel-confirm button { min-height:44px; }
body.restaurant-dialog-open { overflow:hidden; }
body.restaurant-selection-open { overflow:hidden!important; }
.restaurant-dialog-link.button { display:flex; justify-content:center; align-items:center; width:100%; min-height:44px; margin-top:16px; font-size:14px; border-radius:6px; }
#restaurant-dish-dialog { overscroll-behavior:contain; }
#restaurant-dish-dialog img[hidden] { display:none!important; }
.restaurant-dialog-no-image .restaurant-dialog-copy { padding-top:40px; }
.restaurant-booking-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr); gap:24px; align-items:start; }
.restaurant-booking-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.restaurant-booking-fields label { font-size:14px; font-weight:600; color:var(--restaurant-ink); }
.restaurant-booking-fields input,.restaurant-booking-fields select { display:block; width:100%; min-height:46px; margin-top:6px; border:1px solid var(--restaurant-border); border-radius:6px; background:#fff; padding:10px 12px; color:var(--restaurant-ink); font:inherit; box-shadow:none; }
.restaurant-booking-phone { grid-column:1/-1; }
.restaurant-booking-fields small { display:block; margin-top:6px; font-weight:400; color:var(--restaurant-muted); }
.restaurant-booking-help { font-size:13px; color:var(--restaurant-muted); margin:18px 0; }
.restaurant-booking-aside { background:transparent; border:0; padding:18px 0 0; border-top:1px solid var(--restaurant-border); }
.restaurant-booking-aside h2 { font-size:18px; font-weight:700; color:var(--restaurant-ink); margin-top:0; }
.restaurant-booking-error { color:#9c3027; background:#fff0e9; border-radius:6px; padding:12px; }
.restaurant-booking-honey { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.restaurant-booking-receipt { max-width:680px; margin:auto; }
.restaurant-booking-receipt h2 { color:var(--restaurant-ink); font-size:22px; font-weight:700; }
.restaurant-booking-receipt dl { display:grid; grid-template-columns:120px 1fr; gap:12px; margin:20px 0; }
.restaurant-booking-receipt dt { color:var(--restaurant-muted); font-weight:500; }
.restaurant-booking-receipt dd { margin:0; color:var(--restaurant-ink); font-weight:600; }
.restaurant-booking-actions { display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin-top:20px; }
.restaurant-booking-actions form { margin:0; }
.restaurant-booking-cancel { color:#8c4438; background:transparent; text-decoration:underline; padding:8px; cursor:pointer; }
html:lang(zh) .restaurant-menu-hero h1 { font-family:system-ui,"Microsoft YaHei",sans-serif; font-weight:700; font-size:clamp(24px,3.2vw,36px); line-height:1.3; }
.restaurant-dialog-badges .restaurant-menu-badges { margin:10px 0!important; }
@media(max-width:720px) { .restaurant-booking-layout { grid-template-columns:1fr; } }
@media(max-width:420px) { .restaurant-booking-fields { gap:12px; } .restaurant-booking-receipt dl { grid-template-columns:85px 1fr; } }
.restaurant-open-status { display:inline-flex; font-size:12px; gap:6px; color:#4c6753; border-radius:4px; background:#edf0e6; padding:5px 8px; }

/* 菜单工具栏：轻量无边框、扁平文本型筛选 */
.restaurant-menu-tools { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:16px; }
.restaurant-menu-search { flex:1 1 280px; max-width:420px; }
.restaurant-menu-search span { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
.restaurant-menu-search input { width:100%; min-height:44px; border:1px solid var(--restaurant-border); border-radius:6px; background:#fff; box-shadow:none; padding:10px 14px; font-size:14px; }
.restaurant-diet-filters { display:flex; gap:4px; }
.restaurant-diet-filters button { border:1px solid transparent; border-radius:4px; padding:8px 12px; background:transparent; color:var(--restaurant-muted); font-size:13px; font-weight:500; min-height:44px; cursor:pointer; }
.restaurant-diet-filters button:hover { color:var(--restaurant-ink); background:var(--restaurant-soft); }
.restaurant-diet-filters button[aria-pressed="true"] { background:var(--restaurant-soft); color:var(--restaurant-accent); font-weight:700; border-color:var(--restaurant-border); }
#restaurant-filter-count { margin:0 0 0 auto; color:var(--restaurant-muted); font-size:12px; }
.restaurant-menu-search input::placeholder { color:var(--restaurant-muted); opacity:1; }
.restaurant-booking-fields input:focus-visible,.restaurant-booking-fields select:focus-visible,.restaurant-booking-receipt button:focus-visible,#restaurant-dish-dialog button:focus-visible,#restaurant-dish-dialog a:focus-visible { outline:3px solid var(--restaurant-accent); outline-offset:3px; }

/* Storefront's overflow-x:hidden creates a scroll ancestor and prevents sticky navigation. */
@supports (overflow-x:clip) {
 body.restaurant-mobile-menu:not(.restaurant-dialog-open),body.restaurant-mobile-menu .site { overflow-x:clip; overflow-y:visible; }
}

/* 分类导航：平整纯净，无弥散阴影 */
body .restaurant-menu-category-nav { top:8px; padding:6px 0; border:0; border-bottom:1px solid var(--restaurant-border); background:var(--restaurant-cream); box-shadow:none; border-radius:0; }
body .restaurant-menu-category-nav ul { flex-wrap:nowrap; overflow-x:auto; gap:4px; scrollbar-width:thin; }
body .restaurant-menu-category-nav a { white-space:nowrap; min-height:44px; font-size:13px; font-weight:500; padding:0 12px; background:transparent; border:0; border-radius:4px; color:var(--restaurant-muted); text-decoration:none!important; }
body .restaurant-menu-category-nav a[aria-current],body .restaurant-menu-category-nav a:hover { background:var(--restaurant-soft); color:var(--restaurant-accent); font-weight:700; }
body .restaurant-menu-category-nav a[aria-current] { box-shadow:inset 0 -2px var(--restaurant-accent); }
body .restaurant-menu-category-nav::after { content:""; display:none; position:absolute; right:0; top:0; bottom:0; width:28px; background:linear-gradient(90deg,transparent,var(--restaurant-cream) 80%); pointer-events:none; }
body .restaurant-menu-category-nav.has-more-right::after { display:block; }
body .restaurant-menu-category-nav::before { content:""; display:none; position:absolute; right:5px; top:calc(50% - 4px); width:7px; height:7px; border-top:1px solid var(--restaurant-muted); border-right:1px solid var(--restaurant-muted); transform:rotate(45deg); z-index:1; pointer-events:none; }
body .restaurant-menu-category-nav.has-more-right::before { display:block; }
body .restaurant-menu-section { scroll-margin-top:80px; margin-bottom:32px; }
body .restaurant-menu-section>h2 { font-size:21px; font-weight:700; color:var(--restaurant-ink); border:0; border-bottom:1px solid var(--restaurant-border); padding-bottom:8px; margin-bottom:16px; letter-spacing:-.02em; }

/* 菜品列表：桌面 3 列，平实无大框与无 hover 浮动投影 */
body .restaurant-menu-section ul.products { grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:16px!important; }
body ul.products:before,body ul.products:after { display:none!important; content:none!important; }
body .restaurant-menu-section ul.products li.product { border-radius:8px!important; border:1px solid var(--restaurant-border)!important; box-shadow:none!important; background:#fff!important; width:auto!important; transition:none!important; padding:16px!important; box-sizing:border-box; }
body .restaurant-menu-section ul.products li.product:hover { border-color:var(--restaurant-border)!important; transform:none!important; box-shadow:none!important; }
body .restaurant-menu-section ul.products li.product a.woocommerce-LoopProduct-link { padding:0!important; margin:0!important; }
body .restaurant-menu-section ul.products li.product a.woocommerce-LoopProduct-link img { width:100%!important; height:auto!important; aspect-ratio:16/10; object-fit:cover; border-radius:6px; margin:0!important; padding:0!important; display:block; }
body .restaurant-menu-section ul.products li.product:hover a.woocommerce-LoopProduct-link img { transform:none!important; }
body .restaurant-menu-section ul.products li.product .woocommerce-loop-product__title { font-size:16px!important; font-weight:700!important; color:var(--restaurant-ink)!important; line-height:1.35!important; margin:14px 0 4px!important; padding:0!important; min-height:0!important; }
body .restaurant-menu-section ul.products li.product .price { order:5; padding:0!important; margin:8px 0 12px!important; color:var(--restaurant-ink)!important; font-size:16px!important; font-weight:700!important; }
body .restaurant-menu-chinese-name { order:2; margin:2px 0 4px!important; padding:0!important; color:var(--restaurant-accent)!important; font-family:Georgia,"Times New Roman","Songti SC","SimSun",serif; font-size:14px!important; line-height:1.4!important; }
body .restaurant-menu-section .restaurant-menu-desc { order:3; margin:4px 0 6px!important; padding:0!important; font-size:13px!important; line-height:1.5!important; color:var(--restaurant-muted)!important; min-height:0; -webkit-line-clamp:2; }

/* 菜品标记：普通文本感，少胶囊彩色块 */
body .restaurant-menu-badges { order:4; display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0 0 6px!important; padding:0!important; font-size:12px; }
body .restaurant-menu-badge { font-size:12px!important; font-weight:400!important; padding:0!important; border-radius:0!important; background:transparent!important; border:0!important; color:var(--restaurant-muted)!important; }
body .restaurant-menu-badge::after { content:"·"; margin-left:6px; }
body .restaurant-menu-badge:last-child::after { content:""; margin-left:0; }
body .restaurant-menu-badge--dietary { color:#4c6753!important; font-weight:600!important; }
body .restaurant-menu-badge--spice { color:#a86539!important; }
body .restaurant-menu-section .restaurant-menu-allergens { order:6; color:var(--restaurant-muted); font-size:11px; line-height:1.45; margin:0 0 10px; padding:0; }
body .restaurant-menu-allergen-codes { display:inline-block; margin-left:6px; letter-spacing:.06em; color:var(--restaurant-accent); font-weight:700; white-space:nowrap; }
body .restaurant-menu-section .restaurant-menu-allergens strong { font-weight:500; }

/* 菜品操作行：紧凑整齐 */
body .restaurant-menu-section .restaurant-card-controls { margin:0!important; padding:0!important; }
.restaurant-add { width:100%; min-height:44px; padding:10px 14px; border:1px solid var(--restaurant-border); color:var(--restaurant-ink); background:var(--restaurant-soft); border-radius:6px; font-size:13px; font-weight:650; }
.restaurant-add:hover { background:var(--restaurant-accent); color:#fff; }
.restaurant-quantity { display:flex; align-items:center; justify-content:space-between; gap:6px; min-height:44px; padding:2px; background:var(--restaurant-soft); border:1px solid var(--restaurant-border); border-radius:6px; }
.restaurant-quantity button { width:38px; height:38px; border-radius:4px; background:#fff; padding:0; color:var(--restaurant-ink); font-size:20px; line-height:1; }
.restaurant-qty { font-size:14px; font-weight:700; color:var(--restaurant-ink); }
body .restaurant-card-controls [hidden],body .restaurant-menu-section ul.products li.product[hidden],body .restaurant-menu-section[hidden],body .restaurant-menu-category-nav li[hidden],body #restaurant-menu-no-results[hidden] { display:none!important; }
.restaurant-card-controls button:disabled { opacity:.5; cursor:wait; }

/* 菜单底部 intro：平实温和卡片，CTA 为轻量文字链接 44px */
body .restaurant-menu-intro { margin:30px 0 0; border:1px solid var(--restaurant-border); background:#fff; box-shadow:none; padding:20px; border-radius:8px; }
body .restaurant-menu-intro h2 { color:var(--restaurant-ink); font-family:inherit; font-weight:700; font-size:20px; margin:4px 0 8px; }
body .restaurant-menu-intro__copy p,body .restaurant-menu-intro__details { color:var(--restaurant-muted); font-size:14px; line-height:1.55; }
.restaurant-booking-footer-link { display:inline-flex; align-items:center; min-height:44px; color:var(--restaurant-accent); font-weight:600; font-size:14px; text-decoration:none; margin-top:8px; }
.restaurant-booking-footer-link:hover { text-decoration:underline; }

/* 购物车与悬浮条 */
body .restaurant-floating-cart-bar { max-width:540px; bottom:max(16px,env(safe-area-inset-bottom)); }
body .restaurant-floating-cart-inner { background:var(--restaurant-ink); border:0; border-radius:8px; padding:10px 14px; }
body .restaurant-floating-cart-badge { background:var(--restaurant-accent); border-radius:4px; }
body .restaurant-floating-cart-title { color:#fff; font-size:14px; }
body .restaurant-floating-cart-btn { background:var(--restaurant-accent); color:#fff!important; box-shadow:none; min-height:44px; padding:9px 16px; border-radius:6px; font-weight:600; }
body .restaurant-floating-cart-btn:hover { background:var(--restaurant-accent-hover); }
.restaurant-cart-status { position:fixed; bottom:96px; left:50%; transform:translateX(-50%) translateY(10px); opacity:0; pointer-events:none; z-index:10001; background:var(--restaurant-ink); color:#fff; padding:10px 16px; border-radius:6px; font-size:13px; max-width:calc(100% - 32px); box-shadow:0 4px 12px rgba(0,0,0,.15); transition:opacity .2s,transform .2s; }
.restaurant-cart-status.is-visible { opacity:1; transform:translateX(-50%) translateY(0); }
.restaurant-cart-status.is-error { background:#8e362a; }

/* 菜品详情弹窗：朴素实用 */
#restaurant-dish-dialog { padding:0; border:1px solid var(--restaurant-border); border-radius:8px; width:min(480px,calc(100% - 24px)); max-height:86vh; background:#fff; color:var(--restaurant-ink); box-shadow:0 8px 30px rgba(0,0,0,.12); scrollbar-width:thin; scrollbar-color:#BCA48C transparent; }
#restaurant-dish-dialog::backdrop { background:rgba(43,37,35,.6); backdrop-filter:none; }
.restaurant-dialog-image { width:100%; aspect-ratio:16/10; max-height:28vh; object-fit:cover; }
.restaurant-dialog-close { position:absolute; right:10px; top:10px; width:44px; height:44px; border-radius:4px; padding:0; color:var(--restaurant-ink); background:#ffffffee; font-size:24px; cursor:pointer; }
.restaurant-dialog-copy { padding:20px; }
.restaurant-dialog-copy h2 { font-size:20px; font-weight:700; line-height:1.3; letter-spacing:-.02em; margin-bottom:10px; color:var(--restaurant-ink); }
.restaurant-dialog-description { color:var(--restaurant-muted); font-size:14px; line-height:1.55; }
.restaurant-dialog-allergens { font-size:12px; color:var(--restaurant-muted); }
.restaurant-dialog-price { font-size:18px; font-weight:700; color:var(--restaurant-accent); margin:14px 0; }
.restaurant-dialog-controls .restaurant-card-controls { margin:0 0 14px; }
.restaurant-dialog-link { font-size:13px; color:var(--restaurant-muted); text-decoration:none; }
.restaurant-dialog-link:hover { color:var(--restaurant-accent); text-decoration:underline; }

/* 页面信息与卡片：平铺白色，去除浮夸外框 */
.restaurant-info-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.restaurant-info-card { border:1px solid var(--restaurant-border); background:#fff; border-radius:8px; padding:24px; line-height:1.6; }
.restaurant-info-card h2 { font-size:19px; font-weight:700; color:var(--restaurant-ink); margin:20px 0 8px; }
.restaurant-info-card h2:first-child { margin-top:0; }
.restaurant-info-card p { color:var(--restaurant-muted); font-size:14px; }
.restaurant-info-card a { color:var(--restaurant-ink); }

/* 主按钮：陶土橙实心 */
body .button,body button[type="submit"],body input[type="submit"] { border-radius:6px; background:var(--restaurant-accent); color:#fff; font-weight:600; min-height:44px; }
body .restaurant-order-notice { background:var(--restaurant-soft); color:var(--restaurant-muted); border-left:3px solid #779062; margin-bottom:20px; padding:12px 14px; border-radius:4px; }
body .restaurant-order-notice strong { color:var(--restaurant-ink); }
.restaurant-order-notice p { margin:4px 0 0; }
body .wc-block-cart,body .wc-block-checkout { color:var(--restaurant-ink); font-size:14px; }
body .wc-block-cart__submit-button,body .wc-block-components-checkout-place-order-button { background:var(--restaurant-accent)!important; border-radius:6px!important; color:#fff!important; min-height:48px; font-weight:600; }
body .wc-block-components-text-input input,body .wc-block-components-combobox-control input,body .wc-block-components-select__select,body .restaurant-pickup-date-filter select { border-color:var(--restaurant-border)!important; border-radius:6px!important; background:#fff!important; box-shadow:none!important; min-height:46px; }
body .wc-block-components-totals-wrapper { border-color:var(--restaurant-border); }
body .wc-block-checkout__sidebar { background:#fff; border:1px solid var(--restaurant-border); padding:16px; border-radius:8px; }
body .wc-block-components-form .wc-block-components-text-input label { color:var(--restaurant-muted); }
.restaurant-pickup-date-filter { margin:0 0 12px; }
.restaurant-pickup-date-filter label { font-size:13px; display:block; margin-bottom:4px; color:var(--restaurant-muted); }
.restaurant-pickup-date-filter select { width:100%; padding:8px 10px; }
.restaurant-confirmation { background:#fff; border:1px solid var(--restaurant-border); border-radius:8px; padding:24px; margin:20px 0; }
.restaurant-confirmation h2 { color:var(--restaurant-ink); font-size:24px; font-family:inherit; font-weight:700; margin:6px 0 12px; }
.restaurant-confirmation-time { font-size:18px; font-weight:700; color:var(--restaurant-accent); }
.restaurant-back { display:inline-block; margin-bottom:14px; font-size:13px; color:var(--restaurant-muted); text-decoration:none; }
.restaurant-back:hover { color:var(--restaurant-accent); text-decoration:underline; }
body.single-product .summary h1 { color:var(--restaurant-ink); font-size:28px; line-height:1.25; font-weight:700; }
body.single-product .restaurant-menu-desc,body.single-product .restaurant-menu-badges,body.single-product .restaurant-menu-allergens { margin-left:0!important; margin-right:0!important; }
body.single-product .restaurant-menu-desc { display:block; min-height:0; }
body.single-product .woocommerce-product-gallery img { border-radius:8px; }
body .woocommerce-MyAccount-navigation ul { border-radius:6px; background:var(--restaurant-soft); padding:8px 16px; }
body .woocommerce-MyAccount-navigation li { border-color:var(--restaurant-border); }
body .woocommerce-MyAccount-navigation a { color:var(--restaurant-muted); }
body a:focus-visible,body button:focus-visible,body input:focus-visible,body select:focus-visible { outline:3px solid var(--restaurant-accent); outline-offset:3px; }

@media(min-width:768px) { body.woocommerce-cart .entry-content,body.woocommerce-checkout .entry-content { max-width:1100px; margin:auto; } }
@media(max-width:960px) {
 .restaurant-header { flex-wrap:wrap; gap:12px; padding:16px 20px; }
 .restaurant-header nav { gap:16px; }
 .restaurant-brand { font-size:16px; }
 body .restaurant-menu-section ul.products { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
}

@media(max-width:640px) {
 body .col-full { padding:0 14px; margin:0; }
 body .site-content { padding-top:14px; }
 .restaurant-header { padding:14px; gap:12px; }
 .restaurant-brand { font-size:15px; flex:1; }
 .restaurant-languages { margin-left:auto; order:1; }
 .restaurant-header nav { order:2; width:100%; margin-left:0; gap:0; justify-content:space-between; }
 .restaurant-header nav a { font-size:12px; }
 .restaurant-preview { font-size:10px; }
 .restaurant-menu-hero { padding:6px 0 14px; }
 .restaurant-menu-hero h1 { font-size:24px; }
 .restaurant-menu-hero p:not(.restaurant-eyebrow) { font-size:13px; line-height:1.45; }
 .restaurant-menu-tools { gap:8px; }
 .restaurant-menu-search { flex-basis:100%; max-width:none; }
 .restaurant-diet-filters { gap:4px; }
 .restaurant-diet-filters button { padding:6px 10px; font-size:12px; }
 body .restaurant-menu-category-nav { margin:0 0 16px; padding:4px 0; }
 body .restaurant-menu-section { padding:0; margin-bottom:24px; }
 body .restaurant-menu-section>h2 { font-size:18px; margin-bottom:10px; }
 body .restaurant-menu-section ul.products { grid-template-columns:1fr!important; padding:0!important; gap:0!important; }
 body .restaurant-menu-section ul.products li.product { border-radius:0!important; border-width:0 0 1px 0!important; border-color:var(--restaurant-border)!important; padding:14px!important; }
 body .restaurant-menu-section ul.products li.product:last-child { border-bottom:0!important; }
 body .restaurant-menu-section ul.products li.product a img { aspect-ratio:1; }
 body .restaurant-menu-intro { margin:20px 0 0; padding:16px; }
 body .restaurant-floating-cart-bar { bottom:max(10px,env(safe-area-inset-bottom)); width:calc(100% - 20px); }
 .restaurant-info-grid,.restaurant-footer { grid-template-columns:1fr; gap:20px; }
 .restaurant-info-card { padding:18px; }
 body .site-footer { padding:24px 0 80px; margin-top:24px; }
 body .wc-block-checkout__sidebar { padding:12px; }
 .restaurant-dialog-copy { padding:16px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
/* 自取限定挪威，无需顾客重复选择国家；服务端保留 NO 地址默认值。 */
body.woocommerce-checkout .wc-block-components-address-form__country { display: none; }
body .restaurant-norwegian-info { font-size: .78rem; line-height: 1.5; color: var(--restaurant-muted); }

/* 手机堂食菜单：首屏紧凑横向图文列表，以分隔线替代卡片包裹框，无左右溢出 */
.restaurant-mobile-actions { display:none; }
.restaurant-reset-icon { display:none; }
.restaurant-filter-meta { display:flex; align-items:center; gap:8px; margin-left:auto; flex-shrink:0; }
.restaurant-filter-meta #restaurant-filter-count { white-space:nowrap; }

/* 弹窗只有说明区域滚动，关闭与预约始终留在视野内。 */
#restaurant-dish-dialog[open] { display:flex; flex-direction:column; overflow:hidden; }
.restaurant-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-shrink:0; padding:8px 12px 8px 16px; border-bottom:1px solid var(--restaurant-border); font-size:13px; font-weight:600; color:var(--restaurant-muted); }
.restaurant-dialog-header .restaurant-dialog-close { position:static; flex-shrink:0; background:transparent; }
.restaurant-dialog-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.restaurant-dialog-footer { display:flex; align-items:center; gap:12px; flex-shrink:0; padding:12px 16px; border-top:1px solid var(--restaurant-border); background:#fff; }
.restaurant-dialog-footer .restaurant-dialog-price { margin:0; white-space:nowrap; font-size:18px; }
.restaurant-dialog-footer .restaurant-dialog-link { display:flex; align-items:center; justify-content:center; flex:1; min-width:0; min-height:44px; text-align:center; }
.restaurant-dialog-footer .restaurant-dialog-link.button { width:auto; margin:0; }
.restaurant-booking-summary { padding:10px 12px; border:1px solid var(--restaurant-border); border-radius:6px; background:#fff; margin:12px 0; }
.restaurant-booking-summary[hidden] { display:none; }
.restaurant-booking-summary small { display:block; font-size:12px; color:var(--restaurant-muted); margin-bottom:2px; }
.restaurant-booking-summary strong { display:block; font-size:14px; color:var(--restaurant-ink); overflow-wrap:anywhere; }
.restaurant-booking-fields [aria-invalid=true] { border:2px solid #a13b30; background:#fff6f1; }
.restaurant-booking-fields .restaurant-field-error { color:#9c3027; font-size:13px; margin-top:4px; }
.restaurant-field-error[hidden],.restaurant-booking-error[hidden] { display:none!important; }
body .restaurant-menu-category-nav[hidden] { display:none!important; }
.restaurant-menu-empty-state { border:1px solid var(--restaurant-border); border-radius:8px; padding:24px; background:#fff; text-align:center; }
.restaurant-menu-empty-state p { margin:0 0 16px; font-size:14px; color:var(--restaurant-muted); }
.restaurant-menu-empty-state button { min-height:44px; border-radius:6px; background:var(--restaurant-accent); color:white; }

@media(max-width:640px) {
 .restaurant-dialog-header { padding-left:14px; }
 .restaurant-dialog-body .restaurant-dialog-image { max-height:22vh; }
 .restaurant-dialog-copy { padding:14px; }
 .restaurant-dialog-copy h2 { font-size:18px; margin-bottom:10px; }
 .restaurant-dialog-footer { padding:10px 14px; gap:10px; }
 .restaurant-dialog-footer .restaurant-dialog-price { font-size:16px; }
 .restaurant-dialog-footer .restaurant-dialog-link { font-size:12px; }
 body.restaurant-dining .restaurant-header { padding:6px 14px 2px; gap:2px 10px; }
 body.restaurant-dining .restaurant-brand { font-size:14px; line-height:1.25; gap:6px; }
 body.restaurant-dining .restaurant-brand small { display:none; }
 body.restaurant-dining .restaurant-languages { padding:1px; gap:0; border-color:var(--restaurant-border); }
 body.restaurant-dining .restaurant-languages a { min-width:44px; padding:4px; font-size:12px; }
 body.restaurant-dining .restaurant-header nav { gap:4px; }
 body.restaurant-dining .restaurant-header nav a { flex:1; border-radius:4px; font-size:13px; }
 body.restaurant-dining .restaurant-header nav a[aria-current] { background:var(--restaurant-soft); color:var(--restaurant-ink); }
 body.restaurant-dining .restaurant-preview { padding:2px 12px; font-size:10px; line-height:1.4; }
 body.restaurant-dining .site-content { padding-top:10px; }
 body.restaurant-mobile-menu .restaurant-menu-hero { padding:0 0 8px; }
 body.restaurant-mobile-menu .restaurant-menu-hero h1 { font-size:24px; line-height:1.25; margin:0 0 4px; }
 html:lang(zh) body.restaurant-mobile-menu .restaurant-menu-hero h1 { font-size:22px; line-height:1.3; }
 body.restaurant-mobile-menu .restaurant-menu-hero p { margin:0; font-size:13px; line-height:1.45; }
 body.restaurant-mobile-menu .restaurant-booking-cta { display:none; }
 body.restaurant-mobile-menu .restaurant-menu-tools { gap:4px; margin-bottom:6px; }
 body.restaurant-mobile-menu .restaurant-menu-search input { min-height:44px; font-size:15px; padding:8px 12px; }
 body.restaurant-mobile-menu .restaurant-diet-filters button { padding:6px 8px; font-size:12px; }
 body.restaurant-mobile-menu #restaurant-filter-count { flex:1; min-width:0; font-size:11px; line-height:1.3; text-align:right; }
 body.restaurant-mobile-menu .restaurant-filter-meta #restaurant-filter-count { flex:none; min-width:0; }
 body.restaurant-mobile-menu .restaurant-menu-reset { width:44px; min-width:44px; padding:0; }
 body.restaurant-mobile-menu .restaurant-reset-label { display:none; }
 body.restaurant-mobile-menu .restaurant-reset-icon { display:inline; font-size:20px; line-height:1; }
 body.restaurant-mobile-menu .restaurant-menu-category-nav { padding:0; margin-bottom:8px; top:6px; }
 body.restaurant-mobile-menu .restaurant-menu-category-nav ul { scrollbar-width:thin; scrollbar-color:var(--restaurant-border) transparent; }
 body.restaurant-mobile-menu .restaurant-menu-category-nav ul::-webkit-scrollbar { height:3px; }
 body.restaurant-mobile-menu .restaurant-menu-category-nav ul::-webkit-scrollbar-thumb { background:var(--restaurant-border); border-radius:3px; }
 body.restaurant-mobile-menu .restaurant-menu-category-nav a { min-height:44px; padding:0 10px; font-size:12px; }
 body.restaurant-mobile-menu .restaurant-menu-section { scroll-margin-top:68px; margin-bottom:20px; }
 body.restaurant-mobile-menu .restaurant-menu-section>h2 { font-size:18px; padding-bottom:6px; margin-bottom:8px; }
 body.restaurant-mobile-menu .restaurant-menu-section ul.products { gap:0!important; }
 body.restaurant-mobile-menu .restaurant-menu-section ul.products li.product { border-radius:0!important; border-width:0 0 1px 0!important; background:#fff!important; padding:14px!important; }
 body.restaurant-mobile-menu .restaurant-menu-section ul.products li.product:hover { transform:none!important; }
 body.restaurant-mobile-menu .restaurant-menu-section ul.products li.product .woocommerce-LoopProduct-link { display:grid!important; grid-template-columns:92px minmax(0,1fr); gap:0 12px; padding:0!important; }
 body.restaurant-mobile-menu .restaurant-menu-section ul.products li.product .woocommerce-LoopProduct-link img { grid-column:1; grid-row:1/4; width:92px!important; height:92px!important; aspect-ratio:1; border-radius:6px; margin:0!important; align-self:start; object-fit:cover; }
 body.restaurant-mobile-menu .restaurant-menu-section ul.products li.product .woocommerce-loop-product__title { grid-column:2; grid-row:1; font-size:15px!important; font-weight:650!important; margin:0!important; line-height:1.3!important; }
 body.restaurant-mobile-menu .restaurant-menu-section ul.products li.product .price { grid-column:2; grid-row:2; font-size:15px!important; margin:3px 0 4px!important; color:var(--restaurant-ink)!important; }
 body.restaurant-mobile-menu .restaurant-menu-section ul.products li.product .restaurant-menu-badges { grid-column:2; grid-row:3; align-self:start; margin:0!important; gap:4px; font-size:11px; }
 body.restaurant-mobile-menu .restaurant-menu-section ul.products li.product .restaurant-menu-badge { font-size:11px!important; }
 body.restaurant-mobile-menu .restaurant-menu-section ul.products li.product .restaurant-menu-desc { grid-column:1/-1; grid-row:4; margin:6px 0 0!important; min-height:0; font-size:13px!important; color:var(--restaurant-muted)!important; line-height:1.4!important; }
 body.restaurant-mobile-menu .restaurant-menu-section ul.products li.product .restaurant-menu-allergens { grid-column:1/-1; grid-row:5; margin:4px 0 0; font-size:11px; color:var(--restaurant-muted); }
 body.restaurant-mobile-menu .restaurant-menu-section .restaurant-norwegian-info { display:none; }
 body.restaurant-mobile-menu .restaurant-card-controls { margin:8px 0 0; }
 body.restaurant-mobile-menu .restaurant-card-controls.restaurant-dining-controls { display:flex; align-items:center; justify-content:space-between; gap:10px; }
 body.restaurant-mobile-menu .restaurant-view-dish { min-height:44px; font-size:13px; font-weight:500; border-radius:4px; padding:8px 0; color:var(--restaurant-muted); }
 body.restaurant-mobile-menu .restaurant-view-dish:hover { color:var(--restaurant-accent); text-decoration:underline; }
 body.restaurant-mobile-menu .restaurant-mobile-actions { position:fixed; z-index:30; left:0; right:0; bottom:0; display:flex; gap:10px; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); background:#ffffffee; border-top:1px solid var(--restaurant-border); box-shadow:0 -2px 10px rgba(0,0,0,.06); }
 .restaurant-mobile-actions a { display:flex; align-items:center; justify-content:center; gap:6px; min-height:46px; font-size:14px; font-weight:600; text-decoration:none; border-radius:6px; }
 .restaurant-mobile-call { flex:1; background:var(--restaurant-soft); color:var(--restaurant-ink)!important; border:1px solid var(--restaurant-border); }
 .restaurant-mobile-book { flex:1.5; background:var(--restaurant-accent); color:#fff!important; }
 body.restaurant-dialog-open .restaurant-mobile-actions,body.restaurant-search-editing .restaurant-mobile-actions { display:none!important; }
 body.restaurant-dining .site-footer { padding-bottom:30px; }
 body.restaurant-mobile-menu .site-footer { padding-bottom:calc(96px + env(safe-area-inset-bottom)); }
 body.restaurant-dining .restaurant-footer { gap:16px; font-size:13px; }
 body.restaurant-dining .restaurant-footer nav { flex-direction:row; flex-wrap:wrap; gap:4px 16px; }
 body.restaurant-dining .restaurant-footer nav a { min-height:44px; display:inline-flex; align-items:center; }
 body.restaurant-booking-page .entry-header h1 { font-size:24px; margin-bottom:14px; }
 body.restaurant-booking-page .restaurant-info-card { padding:18px 0; border:0; background:transparent; border-radius:0; }
 body.restaurant-booking-page .restaurant-booking-layout { gap:16px; }
 body.restaurant-booking-page .restaurant-booking-fields { gap:12px; }
 body.restaurant-booking-page .restaurant-booking-fields input,body.restaurant-booking-page .restaurant-booking-fields select { font-size:15px; min-height:48px; min-width:0; padding:10px; }
 body.restaurant-booking-page #restaurant-booking-form>button[type=submit] { width:100%; min-height:48px; font-size:15px; border-radius:6px; }
 body.restaurant-booking-page .restaurant-booking-fields small { font-size:12px; line-height:1.45; }
 body.restaurant-booking-page .restaurant-booking-help { margin:14px 0; }
 body.restaurant-booking-page .restaurant-booking-aside { padding:14px 0 0; }
 body.restaurant-booking-page .restaurant-booking-aside h2 { font-size:17px; margin:0 0 6px; }
 body.restaurant-booking-page .restaurant-booking-aside p { font-size:13px; margin-bottom:8px; }
 body.restaurant-dining #restaurant-dish-dialog { max-height:calc(100dvh - 24px); }
}
@media(max-width:359px) {
 body.restaurant-mobile-menu .restaurant-menu-section ul.products li.product .woocommerce-LoopProduct-link { grid-template-columns:78px minmax(0,1fr); gap:0 10px; padding:0!important; }
 body.restaurant-mobile-menu .restaurant-menu-section ul.products li.product .woocommerce-LoopProduct-link img { width:78px!important; height:78px!important; }
 body.restaurant-mobile-menu .restaurant-card-controls { margin:6px 0 0; }
 body.restaurant-booking-page .restaurant-booking-fields label[for=booking-date],body.restaurant-booking-page .restaurant-booking-fields label[for=booking-time] { grid-column:1/-1; }
}

/* 免登录选菜：清单独立于商城购物车，与手机预约浮栏共用位置 */
.restaurant-dining-bar-selection { display:flex; align-items:center; justify-content:space-between; width:100%; gap:12px; }
.restaurant-dining-bar-selection[hidden] { display:none!important; }
.restaurant-dining-bar-meta { min-width:0; flex:1; }
.restaurant-dining-bar-meta strong,.restaurant-dining-bar-meta small { display:block; overflow-wrap:anywhere; }
.restaurant-dining-bar-meta strong { color:var(--restaurant-ink); font-size:14px; font-weight:650; }
.restaurant-dining-bar-meta small { font-size:12px; color:var(--restaurant-muted); line-height:1.4; margin-top:1px; }
.restaurant-dining-review { flex-shrink:0; min-height:44px; padding:8px 14px; background:var(--restaurant-accent); color:#fff; border-radius:6px; font-size:13px; font-weight:600; }
body .restaurant-mobile-actions.has-dining-selection { position:fixed; z-index:30; left:50%; right:auto; transform:translateX(-50%); width:calc(100% - 24px); max-width:600px; bottom:max(14px,env(safe-area-inset-bottom)); display:flex; padding:10px 14px; background:#fff; border:1px solid var(--restaurant-border); border-radius:8px; box-shadow:0 4px 18px rgba(0,0,0,.1); }
.restaurant-mobile-actions.has-dining-selection>.restaurant-mobile-call,.restaurant-mobile-actions.has-dining-selection>.restaurant-mobile-book { display:none; }
body.restaurant-selection-open .restaurant-mobile-actions,body.restaurant-dialog-open .restaurant-mobile-actions { display:none!important; }
body.restaurant-mobile-menu.restaurant-has-dining-selection .site-footer { padding-bottom:110px; }

/* 菜品列表选菜控件：支持与查看菜品单行并排展示，按钮按内容自适应宽度 */
.restaurant-card-controls.restaurant-dining-controls { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.restaurant-card-controls.restaurant-dining-controls>.restaurant-view-dish { width:auto; flex:0 0 auto; min-width:0; }
.restaurant-card-controls [data-dining-add] { background:var(--restaurant-accent); color:white; border-radius:6px; min-height:44px; padding:8px 14px; font-size:13px; font-weight:600; flex:0 0 auto; cursor:pointer; }
.restaurant-card-controls [data-dining-add]:disabled { cursor:default; }
.restaurant-dining-quantity { display:flex; align-items:center; justify-content:space-between; gap:4px; min-height:44px; background:var(--restaurant-soft); border:1px solid var(--restaurant-border); border-radius:6px; flex:0 0 auto; max-width:160px; }
.restaurant-dining-quantity[hidden] { display:none!important; }
.restaurant-dining-quantity button { display:flex; justify-content:center; align-items:center; background:transparent; color:var(--restaurant-ink); min-width:44px; width:44px; min-height:44px; height:44px; padding:0; border-radius:4px; font-size:20px; flex-shrink:0; cursor:pointer; }
.restaurant-dining-quantity button:disabled { opacity:.45; cursor:default; }
.restaurant-dining-qty { min-width:20px; padding:0 4px; font-size:14px; font-weight:700; text-align:center; }
.restaurant-dialog-controls .restaurant-card-controls.restaurant-dining-controls { margin:14px 0 0; }

/* 选菜清单抽屉弹窗：平实清晰 */
#restaurant-selection-dialog { padding:0; border:1px solid var(--restaurant-border); border-radius:8px; width:min(520px,calc(100% - 24px)); max-height:calc(100dvh - 24px); background:#fff; color:var(--restaurant-ink); box-shadow:0 8px 30px rgba(0,0,0,.15); }
#restaurant-selection-dialog[open] { display:flex; flex-direction:column; overflow:hidden; }
#restaurant-selection-dialog::backdrop { background:rgba(43,37,35,.6); backdrop-filter:none; }
#restaurant-selection-dialog.is-fallback { position:fixed; z-index:10000; top:50%; left:50%; transform:translate(-50%,-50%); margin:0; box-shadow:0 0 0 100vmax rgba(43,37,35,.6); }
.restaurant-selection-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; flex-shrink:0; border-bottom:1px solid var(--restaurant-border); }
.restaurant-selection-header h2 { margin:0; font-size:18px; font-weight:700; color:var(--restaurant-ink); }
.restaurant-selection-close { width:44px; min-width:44px; height:44px; padding:0; background:transparent; color:var(--restaurant-ink); border-radius:4px; font-size:24px; cursor:pointer; }
.restaurant-selection-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 16px 16px; }
.restaurant-selection-list { list-style:none; margin:0; padding:0; }
.restaurant-selection-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--restaurant-border); }
.restaurant-selection-item { min-width:0; flex:1; }
.restaurant-selection-item strong,.restaurant-selection-item small { display:block; overflow-wrap:anywhere; }
.restaurant-selection-item strong { font-size:14px; font-weight:600; color:var(--restaurant-ink); line-height:1.4; }
.restaurant-selection-item small { color:var(--restaurant-muted); font-size:12px; margin-top:2px; }
.restaurant-selection-row .restaurant-dining-quantity { flex:0 0 auto; }
.restaurant-selection-clear { min-height:44px; background:transparent; color:var(--restaurant-muted); font-size:12px; padding:8px 0; text-decoration:underline; cursor:pointer; }
.restaurant-selection-clear[hidden],.restaurant-selection-empty[hidden] { display:none!important; }
.restaurant-selection-empty { padding:16px 0 4px; font-size:14px; color:var(--restaurant-muted); }
.restaurant-selection-note { color:var(--restaurant-muted); font-size:12px; line-height:1.5; margin:10px 0 0; }
.restaurant-selection-footer { display:flex; align-items:center; gap:12px; flex-shrink:0; padding:14px 16px; border-top:1px solid var(--restaurant-border); background:#fff; }
.restaurant-selection-total { margin:0; flex:1; min-width:0; }
.restaurant-selection-total small { display:block; font-size:11px; color:var(--restaurant-muted); }
.restaurant-selection-total strong { display:block; font-size:17px; font-weight:700; color:var(--restaurant-accent); overflow-wrap:anywhere; }
.restaurant-selection-book { display:flex; align-items:center; justify-content:center; min-height:44px; min-width:0; max-width:60%; padding:8px 14px!important; font-size:13px; font-weight:600; text-align:center; }
.restaurant-selection-book { background:var(--restaurant-accent)!important; color:#fff!important; border-radius:6px; }
.restaurant-dining-saved { margin:12px 0; overflow-wrap:anywhere; }
.restaurant-dining-saved ul { margin:6px 0 10px 16px; }

@media(max-width:640px) {
 body.restaurant-mobile-menu .restaurant-mobile-actions.has-dining-selection { left:0; right:0; bottom:0; transform:none; width:100%; max-width:none; border-radius:0; border-width:1px 0 0; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); }
 .restaurant-dining-bar-meta strong { font-size:13px; }
 .restaurant-dining-review { padding:8px 12px; font-size:13px; }
 .restaurant-selection-header { padding:10px 14px; }
 .restaurant-selection-body { padding:0 14px 14px; }
 .restaurant-selection-footer { padding:10px 14px; gap:10px; }
 .restaurant-selection-book { font-size:13px; max-width:58%; padding:8px 10px!important; }
 .restaurant-selection-total strong { font-size:16px; }
}
@media(max-width:359px) {
 .restaurant-card-controls.restaurant-dining-controls { gap:6px; }
 .restaurant-card-controls.restaurant-dining-controls>.restaurant-view-dish { font-size:12px; padding:8px 0; }
 .restaurant-card-controls [data-dining-add] { font-size:12px; padding:8px 10px; }
 .restaurant-dining-quantity { gap:2px; max-width:140px; }
 .restaurant-selection-row { gap:6px; }
 .restaurant-selection-item strong { font-size:13px; }
 .restaurant-selection-footer { flex-wrap:wrap; }
 .restaurant-selection-book { max-width:none; width:100%; }
}

/* 基础商城样式的颜色补齐；几何、触摸区域和状态开关保持原有规则。 */
body .restaurant-menu-section ul.products li.product { background:#fff!important; }
body ul.products li.product .price .woocommerce-Price-currencySymbol { color:inherit!important; }
.restaurant-info-card.restaurant-booking-aside { background:transparent; }
.restaurant-view-dish,.restaurant-receipt-copy,.restaurant-mobile-call,
.restaurant-dining-menu-link,.restaurant-dialog-link { color:var(--restaurant-accent); }
.restaurant-mobile-call { color:var(--restaurant-accent)!important; }
body a:focus,body button:focus,body input:focus,body select:focus { outline-color:var(--restaurant-accent); }
body .restaurant-booking-dining-quantity input { background:#fff; }
body .button:hover,body button[type="submit"]:hover,body input[type="submit"]:hover,
.restaurant-mobile-book:hover,.restaurant-dining-review:hover,
.restaurant-card-controls [data-dining-add]:hover { background:var(--restaurant-accent-hover); }
.restaurant-selection-book:hover { background:var(--restaurant-accent-hover)!important; }
.restaurant-dining-quantity button:hover,.restaurant-selection-close:hover { background:var(--restaurant-soft-hover); }
.restaurant-cart-status { background:var(--restaurant-ink); }
.restaurant-cart-status.is-error { background:#8e362a; }

/* 挪威餐厅典雅温和视觉：挪威第一预订风格覆盖（chinapalacerestaurant.no 质感） */
body {
 --restaurant-cream: #FAF7F2;
 --restaurant-card-bg: #FFFFFF;
 --restaurant-ink: #2B2523;
 --restaurant-muted: #6B5F58;
 --restaurant-accent: #641F27;
 --restaurant-accent-hover: #50181F;
 --restaurant-gold: #9C7A3C;
 --restaurant-soft: #F4ECE2;
 --restaurant-soft-hover: #EAE0D3;
 --restaurant-border: #E4D7CA;
 --restaurant-saffron: var(--restaurant-accent);
}

/* 经典 Georgia 衬线标题体系 */
body .entry-header h1,
body .restaurant-menu-hero h1,
body .restaurant-brand,
body .restaurant-menu-section > h2,
body .restaurant-menu-section ul.products li.product .woocommerce-loop-product__title,
body .restaurant-menu-intro h2,
body .restaurant-confirmation h2,
body .restaurant-info-card h2,
body .restaurant-booking-receipt h2,
body #restaurant-dish-dialog h2,
body #restaurant-selection-dialog h2,
body .restaurant-booking-aside h2,
body .restaurant-booking-aside h3 {
 font-family: Georgia, Cambria, "Times New Roman", Times, serif;
 letter-spacing: -0.01em;
}
html:lang(zh) body .restaurant-menu-hero h1 {
 font-family: "Songti SC", "SimSun", Georgia, "Microsoft YaHei", serif;
}

/* 桌面端预订主按钮与导航栏 */
.restaurant-header nav a.restaurant-nav-book {
 background: var(--restaurant-accent);
 color: #fff !important;
 padding: 8px 16px !important;
 border-radius: 6px;
 font-weight: 600;
 letter-spacing: 0.01em;
 transition: background 0.15s ease-in-out;
}
.restaurant-header nav a.restaurant-nav-book:hover {
 background: var(--restaurant-accent-hover);
 color: #fff !important;
 text-decoration: none;
}
.restaurant-header nav a.restaurant-nav-book[aria-current="page"] {
 box-shadow: inset 0 0 0 1px var(--restaurant-gold);
}

/* 移动端 320-640 紧凑头部：品牌行居左，语言居右；第二行导航平铺，超出自然换行 */
@media (max-width: 640px) {
 .restaurant-header, body.restaurant-dining .restaurant-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
  gap: 8px 12px;
 }
 .restaurant-brand, body.restaurant-dining .restaurant-brand {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 1.25;
  color: var(--restaurant-ink) !important;
 }
 .restaurant-brand small, body.restaurant-dining .restaurant-brand small {
  display: none;
 }
 .restaurant-languages, body.restaurant-dining .restaurant-languages {
  order: 2;
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  gap: 2px;
  border: 1px solid var(--restaurant-border);
  border-radius: 6px;
  padding: 2px;
  background: #fff;
 }
 .restaurant-languages a, body.restaurant-dining .restaurant-languages a {
  min-width: 44px;
  min-height: 44px;
  padding: 4px 6px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 4px;
  color: var(--restaurant-muted);
 }
 .restaurant-languages a:hover {
  color: var(--restaurant-ink);
  background: var(--restaurant-soft);
 }
 .restaurant-languages a[aria-current], body.restaurant-dining .restaurant-languages a[aria-current] {
  background: var(--restaurant-accent);
  color: #fff;
  font-weight: 600;
 }
 .restaurant-header nav, body.restaurant-dining .restaurant-header nav {
  order: 3;
  width: 100%;
  margin-left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 2px;
 }
 .restaurant-header nav a, body.restaurant-dining .restaurant-header nav a {
  flex: 1 1 calc(33.333% - 6px);
  min-width: 68px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--restaurant-ink);
 }
 .restaurant-header nav a.restaurant-nav-book, body.restaurant-dining .restaurant-header nav a.restaurant-nav-book {
  background: var(--restaurant-accent);
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
  padding: 6px 10px;
 }
 .restaurant-header nav a.restaurant-nav-book:hover {
  background: var(--restaurant-accent-hover);
 }
 .restaurant-header nav a[aria-current]:not(.restaurant-nav-book), body.restaurant-dining .restaurant-header nav a[aria-current]:not(.restaurant-nav-book) {
  background: var(--restaurant-soft);
  color: var(--restaurant-ink);
  font-weight: 600;
 }
}
