/* fm-storefront round 4: Monster Kitchen 到會 page (FM only, /page/catering). Lives inside the FM frame (header, lantern,
   footer, WhatsApp bubble, phone bottom nav untouched). The menu's own dark green + cream (Canva PDF) is used for the 到會
   section only. One card style, one radius (8px / 6px inner), one button family. No scroll/entrance animation. */
.fm-catering{--mk-green:#3f5650;--mk-green-dk:#2f403b;--mk-cream:#f4eedf;--mk-cream-dk:#e7dfca;--mk-line:#d8d1bf;--mk-ink:#1f2a27;--mk-muted:#56635f;--mk-err:#b3261e;--mk-wa:#167a43;--mk-ease:cubic-bezier(.23,1,.32,1)}
.fm-catering .page_title{width:auto}
.fm-catering .page_title h1{margin:0;font-size:18px;line-height:30px;font-weight:900;letter-spacing:2px;color:#231f20}
.fm-cat{margin:20px 15px 48px;color:var(--mk-ink);font-size:16px;line-height:1.6}
.fm-cat *,.fm-cat *::before,.fm-cat *::after{box-sizing:border-box}
.fm-cat ::selection{background:var(--mk-green);color:#fff}
.fm-cat b,.fm-cat strong{font-weight:700}
.fm-cat a{color:var(--mk-green-dk);text-decoration:underline;text-underline-offset:3px}
.fm-cat a:focus-visible,.fm-cat button:focus-visible,.fm-cat input:focus-visible,.fm-cat select:focus-visible,.fm-cat textarea:focus-visible,.fm-cat [tabindex]:focus-visible{outline:3px solid #e3a008;outline-offset:2px}
.fm-cat-h2{margin:0 0 8px;font-size:24px;line-height:1.3;font-weight:700;color:var(--mk-green-dk)}

/* (a)+(b) hero: intro + photos */
.fm-cat-hero{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:32px;align-items:center;padding:40px;border-radius:8px;background:var(--mk-green);color:var(--mk-cream)}
.fm-cat-intro h2{margin:0 0 14px;font-size:34px;line-height:1.2;font-weight:700;letter-spacing:.5px;color:#fff;text-wrap:balance}
.fm-cat-intro-text{margin:0 0 16px;max-width:36em;font-size:17px;line-height:1.75}
.fm-cat-set-line{margin:0 0 20px;font-size:20px}
.fm-cat-set-line .fm-cat-price{display:inline-block;margin-left:6px;padding:2px 10px;border-radius:6px;background:var(--mk-cream);color:var(--mk-green-dk);font-weight:700;font-variant-numeric:tabular-nums}
.fm-cat-contact{margin:0 0 24px;padding:0;list-style:none;font-size:15px;line-height:1.6}
.fm-cat-contact li{display:flex;gap:12px;padding:6px 0;border-top:1px solid rgba(244,238,223,.25)}
.fm-cat-contact li:last-child{border-bottom:1px solid rgba(244,238,223,.25)}
.fm-cat-contact-k{flex:0 0 3em;color:#cfd8d4}
.fm-cat-hero .fm-cat-contact a{color:#fff;font-weight:700}
.fm-cat-hero-photo{margin:0;overflow:hidden;border-radius:6px;background:var(--mk-green-dk)}
.fm-cat-hero-photo img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
/* round 4b: photos 2..6 = one row under intro + hero photo (desktop), n = how many */
.fm-cat-photos{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0}
.fm-cat-photos.n1{grid-template-columns:minmax(0,1fr)}
.fm-cat-photos.n2,.fm-cat-photos.n4{grid-template-columns:repeat(2,minmax(0,1fr))}
.fm-cat-photos.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.fm-cat-photos figure{margin:0;overflow:hidden;border-radius:6px;background:var(--mk-green-dk)}
.fm-cat-photos img{display:block;width:100%;height:auto;object-fit:cover;aspect-ratio:5/6}
.fm-cat-photos.n1 img,.fm-cat-photos.n2 img{aspect-ratio:4/3}

/* buttons: one family */
.fm-cat-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 28px;border:0;border-radius:6px;font-size:17px;font-weight:700;line-height:1.2;text-decoration:none!important;cursor:pointer;transition:transform 160ms var(--mk-ease),background-color 160ms ease;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.fm-cat-btn:active{transform:scale(.97)}
.fm-cat-btn-cream{background:var(--mk-cream);color:var(--mk-green-dk)!important}
.fm-cat-btn-cream:hover{background:#fff}
.fm-cat-btn-go{width:100%;background:var(--mk-green);color:#fff}
.fm-cat-btn-go:hover{background:var(--mk-green-dk)}
.fm-cat-btn-go:disabled{opacity:.55;cursor:not-allowed;transform:none}
.fm-cat-btn-wa{width:100%;max-width:420px;min-height:56px;font-size:19px;background:var(--mk-wa);color:#fff!important}
.fm-cat-btn-wa:hover{background:#11663a}

/* (c) order form */
.fm-cat-order{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start;margin-top:24px}
.fm-cat-main{min-width:0}
.fm-cat-main>.fm-cat-h2{margin-top:8px}
.fm-cat-lead{margin:0 0 16px;max-width:46em;color:var(--mk-ink)}
.fm-cat-card{margin:0 0 16px;padding:20px 24px 22px;border:1px solid var(--mk-line);border-radius:8px;background:#fff;min-width:0}
.fm-cat-card.has-err{border-color:var(--mk-err);box-shadow:0 0 0 1px var(--mk-err)}
.fm-cat-card-h{float:left;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;width:100%;margin:0 0 14px;padding:0;border:0;font-size:20px;line-height:1.3;font-weight:700;color:var(--mk-green-dk)}
.fm-cat-card>:not(legend){clear:both}
.fm-cat-card::after{content:"";display:table;clear:both}
.fm-cat-pick{padding:2px 10px;border-radius:6px;background:var(--mk-cream);color:var(--mk-green-dk);font-size:14px;font-weight:700}
.fm-cat-count{margin-left:auto;font-size:15px;font-weight:400;color:var(--mk-muted);font-variant-numeric:tabular-nums}
.fm-cat-cat.is-done .fm-cat-count{color:var(--mk-green-dk);font-weight:700}
.fm-cat-cat.is-done .fm-cat-count::before{content:"";display:inline-block;width:9px;height:5px;margin:0 6px 4px 0;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(-45deg)}
.fm-cat-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.fm-cat-items>li{min-width:0}
.fm-cat-item{position:relative;display:grid;grid-template-columns:22px auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:52px;height:100%;margin:0;padding:10px 12px;border:1px solid var(--mk-line);border-radius:6px;background:#fff;font-weight:400;font-size:16px;line-height:1.45;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color 120ms ease,border-color 120ms ease,opacity 160ms ease}
.fm-cat-item input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.fm-cat-box{width:22px;height:22px;border:2px solid #8a958f;border-radius:5px;background:#fff;transition:background-color 120ms ease,border-color 120ms ease}
.fm-cat-item input[type=radio]+.fm-cat-box{border-radius:50%}
.fm-cat-item input:checked+.fm-cat-box{border-color:var(--mk-green);background:var(--mk-green);box-shadow:inset 0 0 0 3px #fff}
.fm-cat-item input[type=checkbox]:checked+.fm-cat-box{box-shadow:none;background:var(--mk-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.fm-cat-item input:focus-visible+.fm-cat-box{outline:3px solid #e3a008;outline-offset:2px}
.fm-cat-item.is-on{border-color:var(--mk-green);background:#eef3f1;box-shadow:inset 0 0 0 1px var(--mk-green)}
@media (hover:hover){.fm-cat-item:hover{border-color:var(--mk-green)}}
.fm-cat-cat.is-full .fm-cat-item:not(.is-on){opacity:.45}
.fm-cat-cat.is-full .fm-cat-item:not(.is-on):hover{opacity:.7}
.fm-cat-item.is-refused{animation:fm-cat-nudge 260ms var(--mk-ease)}
@keyframes fm-cat-nudge{0%,100%{transform:translateX(0)}30%{transform:translateX(-4px)}65%{transform:translateX(3px)}}
.fm-cat-code{min-width:2.4em;padding:1px 6px;border-radius:5px;background:var(--mk-cream);color:var(--mk-green-dk);font-size:14px;font-weight:700;text-align:center;font-variant-numeric:tabular-nums}
.fm-cat-name{min-width:0;overflow-wrap:anywhere}
.fm-cat-tags{display:inline;margin-left:2px}
.fm-cat-tag{display:inline-block;margin:0 0 0 4px;vertical-align:1px}
.fm-cat-tag{padding:0 6px;border-radius:4px;font-size:12px;line-height:20px;font-weight:700;white-space:nowrap}
.fm-cat-tag.is-rec{background:#fbeec2;color:#6b4e00}
.fm-cat-tag.is-hot{background:#fde3de;color:#9c2416}
.fm-cat-tag.is-veg{background:#dcefd9;color:#2a5f25}
.fm-cat-tag:not(.is-rec):not(.is-hot):not(.is-veg){background:#eceae4;color:#3d4542}
.fm-cat-extra{font-size:15px;font-weight:700;color:var(--mk-green-dk);white-space:nowrap;font-variant-numeric:tabular-nums}
/* round 4d: surcharge = price over a small「每套菜式收一次」(once per menu) so the dish name keeps its width */
.fm-cat-sur{display:flex;flex-direction:column;align-items:flex-end;line-height:1.25}
.fm-cat-sur small{font-size:12px;font-weight:400;color:var(--mk-muted)}
.fm-cat-full{margin:-6px 0 10px;font-size:15px;color:var(--mk-muted)}
.fm-cat-full:empty{display:none}
.fm-cat-full.is-alert{color:var(--mk-err);font-weight:700}
.fm-cat-err{margin:0 0 10px;font-size:15px;font-weight:700;color:var(--mk-err)}
.fm-cat-errors{margin:0 0 16px;padding:14px 18px;border-radius:8px;background:#fdecea;color:var(--mk-err)}
.fm-cat-errors ul{margin:6px 0 0;padding-left:1.2em;list-style:disc}
.fm-cat-errors a{color:var(--mk-err)}
.fm-cat-err a{white-space:nowrap}
.fm-cat-set-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.fm-cat-set-opts{display:flex;flex-wrap:wrap;gap:8px}
.fm-cat-set-opt{display:flex;align-items:center;gap:12px;margin:0;font-size:20px;font-weight:700}
.fm-cat-set-opt .fm-cat-only{position:absolute;opacity:0;pointer-events:none}
.fm-cat-set-opt .fm-cat-price{color:var(--mk-green-dk);font-variant-numeric:tabular-nums}
.fm-cat-qty label{display:block;margin:0 0 4px;font-size:15px;font-weight:700}
.fm-cat-qty small{display:block;margin-top:4px;color:var(--mk-muted);font-size:13px}
/* round 4d: max 40 online; the WhatsApp link is the way forward above that, the hint turns red when the count is over */
.fm-cat-qty small a{display:inline-block;white-space:nowrap;padding:4px 0;color:var(--mk-green-dk);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.fm-cat-qty small.is-bad{color:var(--mk-err);font-weight:700}
.fm-cat-stepper{display:inline-flex;align-items:stretch;border:1px solid var(--mk-line);border-radius:6px;overflow:hidden}
.fm-cat-step{width:48px;min-height:48px;border:0;background:var(--mk-cream);color:var(--mk-green-dk);font-size:22px;font-weight:700;cursor:pointer;touch-action:manipulation;transition:background-color 120ms ease}
.fm-cat-step:active{background:var(--mk-cream-dk)}
.fm-cat-step:disabled{color:#a7aea9;cursor:not-allowed}
.fm-cat-stepper input{width:56px;border:0;text-align:center;font-size:18px;font-weight:700;-moz-appearance:textfield;appearance:textfield}
.fm-cat-stepper input::-webkit-inner-spin-button,.fm-cat-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.fm-cat-zones{grid-template-columns:repeat(2,minmax(0,1fr))}
.fm-cat-zones .fm-cat-item{grid-template-columns:22px minmax(0,1fr) auto}
.fm-cat-note{margin:12px 0 0;font-size:14px;line-height:1.65;color:var(--mk-muted)}
.fm-cat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.fm-cat-wide{grid-column:1/-1}
.fm-cat-field label{display:block;margin:0 0 6px;font-size:15px;font-weight:700}
.fm-cat-field input,.fm-cat-field select,.fm-cat-field textarea{display:block;width:100%;min-height:48px;padding:10px 12px;border:1px solid #9aa49f;border-radius:6px;background:#fff;color:var(--mk-ink);font-size:16px;line-height:1.4}
.fm-cat-field textarea{min-height:96px;resize:vertical}
.fm-cat-field input:focus,.fm-cat-field select:focus,.fm-cat-field textarea:focus{border-color:var(--mk-green)}
.fm-cat-field small{display:block;margin-top:5px;font-size:13px;line-height:1.5;color:var(--mk-muted)}
.fm-cat-field .fm-cat-err{margin:6px 0 0}
.fm-cat-field[hidden]{display:none}
.fm-cat-hp{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.fm-cat-submit{margin:4px 0 0}
.fm-cat-small{margin:10px 0 0;font-size:14px;line-height:1.6;color:var(--mk-muted)}

/* round 4c: per head, two menus, 加購 — same tokens, card, item and radius scale as round 4 (no new style system) */
.fm-cat [hidden]{display:none!important}
.fm-cat-set-min{display:inline-block;margin-left:10px;font-size:16px;color:#cfd8d4}
.fm-cat-contact-en{display:block;margin-top:2px;font-size:13px;line-height:1.5;color:#cfd8d4}
.fm-cat-rate{margin:0;font-size:18px;font-weight:700}
.fm-cat-rate .fm-cat-price{color:var(--mk-green-dk);font-size:22px;font-variant-numeric:tabular-nums}
.fm-cat-rate-min{margin-left:10px;padding:2px 10px;border-radius:6px;background:var(--mk-cream);color:var(--mk-green-dk);font-size:14px}
.fm-cat-two{margin-top:16px;padding-top:16px;border-top:1px solid #eee8da}
.fm-cat-two-opt{grid-template-columns:22px minmax(0,1fr);max-width:520px;font-weight:700}
.fm-cat-two-opt.is-off{cursor:not-allowed;opacity:.55}
.fm-cat-two-opt.is-off:hover{border-color:var(--mk-line)}
.fm-cat-two-why{display:block;margin:6px 0 0;font-size:14px;color:var(--mk-muted)}
.fm-cat-split{display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:12px 20px;margin-top:14px}
.fm-cat-split-sum{margin:0;font-size:14px;color:var(--mk-muted)}
.fm-cat-split-sum b{color:var(--mk-green-dk)}
.fm-cat-split-sum b.is-bad{color:var(--mk-err)}
.fm-cat-menu-h{display:flex;align-items:baseline;gap:4px;margin:28px 0 12px;padding:10px 16px;border-radius:6px;background:var(--mk-green);color:#fff;font-size:20px;font-weight:700}
.fm-cat-menu-n{font-size:16px;font-weight:400;color:var(--mk-cream)}
.fm-cat-more{margin-top:14px;border-top:1px solid #eee8da}
.fm-cat-more>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 0 0;font-size:16px;font-weight:700;color:var(--mk-green-dk);cursor:pointer;list-style:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.fm-cat-more>summary::-webkit-details-marker{display:none}
.fm-cat-more>summary::after{content:"";flex:0 0 auto;width:9px;height:9px;margin:0 6px 4px auto;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform 160ms var(--mk-ease)}
.fm-cat-more[open]>summary::after{transform:rotate(-135deg);margin-bottom:-2px}
.fm-cat-more>summary:focus-visible{outline:3px solid #e3a008;outline-offset:2px}
.fm-cat-more-n{font-size:14px;font-weight:700;color:var(--mk-green-dk)}
.fm-cat-more-note{margin:4px 0 10px;font-size:14px;line-height:1.6;color:var(--mk-muted)}
.fm-cat-more-note .js-more-wait{display:block;color:var(--mk-err)}
.fm-cat-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.fm-cat-chips>li{min-width:0;max-width:100%}
.fm-cat-chip{position:relative;display:flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:8px 12px;border:1px solid var(--mk-line);border-radius:6px;background:#fff;font-size:15px;font-weight:400;line-height:1.4;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color 120ms ease,border-color 120ms ease,opacity 160ms ease}
.fm-cat-chip input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.fm-cat-chip .fm-cat-box{flex:0 0 20px;width:20px;height:20px}
.fm-cat-chip input:checked+.fm-cat-box{border-color:var(--mk-green);background:var(--mk-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.fm-cat-chip input:focus-visible+.fm-cat-box{outline:3px solid #e3a008;outline-offset:2px}
.fm-cat-chip .fm-cat-code{min-width:2.2em;font-size:13px}
.fm-cat-chip.is-on{border-color:var(--mk-green);background:#eef3f1}
.fm-cat-chip:has(input:disabled){cursor:not-allowed;opacity:.45}
.fm-cat-chip.is-included{text-decoration:line-through}
@media (hover:hover){.fm-cat-chip:hover{border-color:var(--mk-green)}}
.fm-cat-sum-menu-h{margin:10px 0 4px;font-size:14px;font-weight:700;color:#fff}
.fm-cat-sum-q{font-size:12px}
.fm-cat-table-h th{padding-top:16px;font-size:17px;color:var(--mk-green-dk)}
.fm-cat-total-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px}
.fm-cat-total-row b{font-variant-numeric:tabular-nums}
.fm-cat-table-note{font-size:14px;color:var(--mk-muted)}

/* sticky summary: desktop side panel */
.fm-cat-summary{position:sticky;top:16px;border-radius:8px;background:var(--mk-green);color:var(--mk-cream);overflow:hidden}
.fm-cat-sum-panel{padding:20px 20px 8px}
.fm-cat-sum-panel h3{margin:0 0 10px;font-size:18px;font-weight:700;color:#fff}
.fm-cat-sum-set{margin:0 0 2px;font-size:15px}
/* round 4d: cutlery = people + 2, under the people line */
.fm-cat-sum-cut{margin:0 0 10px;font-size:14px;color:#cfd8d4}
.fm-cat-sum-cut b{color:#fff;font-variant-numeric:tabular-nums}
.fm-cat-sum-cats{margin:0 0 12px;padding:0;list-style:none;font-size:14px;line-height:1.45}
.fm-cat-sum-cats li{display:grid;grid-template-columns:5.5em minmax(0,1fr);gap:8px;padding:5px 0;border-top:1px solid rgba(244,238,223,.2)}
.fm-cat-sum-cats .k{color:#cfd8d4}
.fm-cat-sum-cats .v{color:#fff;overflow-wrap:anywhere}
.fm-cat-sum-cats li.is-todo .v{color:#f6c9a8}
.fm-cat-sum-money{margin:0;font-size:15px}
.fm-cat-sum-money div{display:flex;justify-content:space-between;padding:3px 0}
.fm-cat-sum-money dt{font-weight:400;color:#cfd8d4}
.fm-cat-sum-money dd{margin:0;font-variant-numeric:tabular-nums}
.fm-cat-sum-money [hidden]{display:none}
.fm-cat-sum-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;padding:14px 20px;background:var(--mk-green-dk)}
.fm-cat-sum-progress{font-size:15px}
.fm-cat-sum-total{font-size:15px}
.fm-cat-sum-total b{margin-left:4px;font-size:24px;color:#fff;font-variant-numeric:tabular-nums}
.fm-cat-sum-toggle{display:none}
.fm-cat-sum-note{margin:0;padding:0 20px 14px;background:var(--mk-green-dk);font-size:12px;color:#cfd8d4}

/* (d) notes */
.fm-cat-notes{margin-top:24px;padding:28px}
.fm-cat-notes-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 40px;margin-top:8px}
.fm-cat-notes p{margin:0 0 8px}
.fm-cat-fees{display:inline-grid;grid-template-columns:auto auto;gap:2px 20px;margin:0 0 10px}
.fm-cat-fees div{display:contents}
.fm-cat-fees dt{font-weight:400}
.fm-cat-fees dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
.fm-cat-bullets{margin:0;padding-left:1.2em;list-style:disc}
.fm-cat-bullets li{margin:0 0 6px}
.fm-cat-ask{margin:16px 0 0!important;padding-top:14px;border-top:1px solid var(--mk-line)}

/* thank-you page */
.fm-cat-done{max-width:820px;margin-left:auto;margin-right:auto}
.fm-cat-thanks{padding:32px;text-align:center}
.fm-cat-thanks h2{margin:0 0 10px;font-size:28px;line-height:1.3;font-weight:700;color:var(--mk-green-dk);text-wrap:balance}
.fm-cat-no{margin:0 0 14px;font-size:18px}
.fm-cat-no b{display:inline-block;margin-left:6px;padding:2px 12px;border-radius:6px;background:var(--mk-cream);color:var(--mk-green-dk);font-size:24px;letter-spacing:1px;font-variant-numeric:tabular-nums}
.fm-cat-next{max-width:34em;margin:0 auto 20px;line-height:1.7}
.fm-cat-call{margin:14px 0 0;font-size:17px}
.fm-cat-table{width:100%;font-size:16px;line-height:1.55}
.fm-cat-table th{width:7em;padding:8px 12px 8px 0;vertical-align:top;font-weight:700;color:var(--mk-green-dk)}
.fm-cat-table td{padding:8px 0;vertical-align:top;overflow-wrap:anywhere}
.fm-cat-table tbody tr+tr th,.fm-cat-table tbody tr+tr td{border-top:1px solid #eee8da}
.fm-cat-table tfoot th,.fm-cat-table tfoot td{border-top:1px solid var(--mk-line);font-variant-numeric:tabular-nums}
.fm-cat-total th,.fm-cat-total td{font-size:20px;font-weight:700;color:var(--mk-green-dk)}
.fm-cat-pre{white-space:pre-line}

/* tablet + phone: one column, summary = bar above FM's bottom nav (<1200px) */
@media (max-width:991px){
  .fm-cat-hero{grid-template-columns:minmax(0,1fr);padding:28px 24px;gap:24px}
  .fm-cat-hero-photo img{aspect-ratio:4/3}
  .fm-cat-order{grid-template-columns:minmax(0,1fr)}
  .fm-cat-summary{position:fixed;top:auto;left:0;right:0;bottom:0;z-index:9980;border-radius:0;box-shadow:0 -4px 16px rgba(0,0,0,.18)}
  .fm-cat-sum-panel{display:none;max-height:55vh;overflow:auto;overscroll-behavior:contain}
  .fm-cat-summary.is-open .fm-cat-sum-panel{display:block}
  .fm-cat-sum-bar{flex-wrap:nowrap;padding:10px 16px}
  .fm-cat-sum-total b{font-size:20px}
  .fm-cat-sum-toggle{display:block;min-height:44px;padding:0 14px;border:1px solid rgba(244,238,223,.6);border-radius:6px;background:transparent;color:#fff;font-size:15px;font-weight:700;touch-action:manipulation}
  .fm-cat-sum-note{display:none}
  .fm-cat-sum-q{display:none}
  .fm-cat-summary.is-open .fm-cat-sum-note{display:block;padding-top:0}
  .fm-cat-sum-open .fm-whatsapp-shortcut{display:none}
  body.fm-cat-page{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  html{scroll-padding-bottom:calc(150px + env(safe-area-inset-bottom))}
}
@media (max-width:1199px){
  .fm-cat-page .fm-cat-summary{bottom:calc(65px + env(safe-area-inset-bottom))}
  body.fm-cat-page{padding-bottom:calc(66px + 72px + env(safe-area-inset-bottom))!important}
  .fm-cat-page .fm-whatsapp-shortcut{bottom:calc(80px + 70px + env(safe-area-inset-bottom))}
}
@media (min-width:992px) and (max-width:1199px){
  .fm-cat-page .fm-cat-summary{bottom:auto}
  body.fm-cat-page{padding-bottom:calc(66px + env(safe-area-inset-bottom))!important}
  .fm-cat-page .fm-whatsapp-shortcut{bottom:calc(80px + env(safe-area-inset-bottom))}
}
@media (max-width:767px){
  .fm-cat{margin:16px 12px 32px}
  .fm-cat-hero{padding:24px 18px;margin:0 -12px;border-radius:0}
  .fm-cat-intro h2{font-size:26px}
  .fm-cat-intro-text{font-size:16px}
  .fm-cat-hero .fm-cat-btn{width:100%}
  /* photos: swipe on phone (scroll-snap), each photo nearly full width so the next one peeks */
  .fm-cat-hero-photo{margin:0 -4px}
  .fm-cat-hero-photo img{aspect-ratio:4/5}
  .fm-cat-photos,.fm-cat-photos.n1,.fm-cat-photos.n2,.fm-cat-photos.n3,.fm-cat-photos.n4{display:flex;gap:10px;margin:0 -18px;padding:0 18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 18px;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .fm-cat-photos::-webkit-scrollbar{display:none}
  .fm-cat-photos figure{flex:0 0 72%;scroll-snap-align:start}
  .fm-cat-photos.n1 figure{flex-basis:100%}
  .fm-cat-photos img,.fm-cat-photos.n1 img,.fm-cat-photos.n2 img{aspect-ratio:5/6}
  .fm-cat-card{padding:16px 14px 18px}
  .fm-cat-card-h{font-size:19px}
  .fm-cat-items,.fm-cat-zones,.fm-cat-grid{grid-template-columns:minmax(0,1fr)}
  .fm-cat-notes-grid{grid-template-columns:minmax(0,1fr)}
  .fm-cat-notes{padding:20px 16px}
  .fm-cat-thanks{padding:24px 16px}
  .fm-cat-thanks h2{font-size:23px}
  .fm-cat-table th{width:5em}
  .fm-cat-split{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fm-cat-chips>li{flex:1 1 100%}
  .fm-cat-menu-h{margin-top:22px;font-size:18px}
}
@media (prefers-reduced-motion:reduce){.fm-cat *{transition:none!important;animation:none!important}}
.fm-cat-wa-chip{display:inline-flex;align-items:center;min-height:32px;padding:2px 14px;margin:2px 4px;line-height:1.2;border-radius:999px;background:var(--mk-wa);color:#fff!important;font-weight:600;text-decoration:none!important;vertical-align:middle;transition:background .15s var(--mk-ease),transform .1s var(--mk-ease)}.fm-cat-wa-chip:hover{background:#11663a}.fm-cat-wa-chip:active{transform:scale(.97)}

/* round 4g (Owner 2026-12-02): date calendar under the date field; full days 已滿 (cream, red label, not pickable). Same tokens,
   radius and press feedback as the rest of the 到會 form; 46px day cells for touch; no entrance animation. */
.fm-cat-cal{margin-top:10px;padding:10px 12px 12px;max-width:380px;border:1px solid var(--mk-line);border-radius:8px;background:#fff}
.fm-cat-cal-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 4px}
.fm-cat-cal-title{font-size:16px;font-weight:700;color:var(--mk-green-dk);font-variant-numeric:tabular-nums}
.fm-cat-cal-nav{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--mk-green-dk);cursor:pointer;transition:background .15s var(--mk-ease),transform .1s var(--mk-ease)}
.fm-cat-cal-nav:active{transform:scale(.97)}
.fm-cat-cal-nav:disabled{color:#b9c0bd;cursor:default;transform:none}
.fm-cat-cal-week,.fm-cat-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.fm-cat-cal-week span{padding:2px 0 4px;text-align:center;font-size:13px;color:var(--mk-muted)}
.fm-cat-day{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:46px;padding:2px 0;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--mk-ink);font:inherit;font-size:15px;line-height:1.15;font-variant-numeric:tabular-nums;cursor:pointer;transition:background .15s var(--mk-ease),border-color .15s var(--mk-ease),transform .1s var(--mk-ease)}
.fm-cat-day:active{transform:scale(.97)}
.fm-cat-day:disabled{color:#a7afac;cursor:default;transform:none}
.fm-cat-day small{display:block;margin-top:1px;font-size:11px;font-weight:700;letter-spacing:.5px;color:var(--mk-err)}
.fm-cat-day.is-full{background:var(--mk-cream);color:var(--mk-muted)}
.fm-cat-day.is-on{background:var(--mk-green);border-color:var(--mk-green);color:#fff;font-weight:700}
.fm-cat-day.is-on.is-full{background:var(--mk-cream);border-color:var(--mk-err);color:var(--mk-ink)}
@media (hover:hover){.fm-cat-day:not(:disabled):not(.is-on):hover{border-color:var(--mk-green)}.fm-cat-cal-nav:not(:disabled):hover{background:var(--mk-cream)}}
.fm-cat-cal-key{display:flex;align-items:center;gap:6px;margin:8px 0 0;font-size:13px;color:var(--mk-muted)}
.fm-cat-cal-swatch{display:inline-block;padding:1px 6px;border-radius:4px;background:var(--mk-cream);color:var(--mk-err);font-size:11px;font-weight:700;letter-spacing:.5px}
.fm-cat-full-list{margin:6px 0 0;font-size:14px;font-weight:700;line-height:1.5;color:var(--mk-green-dk)}
.fm-cat-full-list[hidden],.fm-cat-err[hidden]{display:none}
.fm-cat-has-cal input[type=date]::-webkit-calendar-picker-indicator{display:none}
