/* #311 官网点单页 /order/。2026-11-20 改成 App 式（样稿第七版，叶伟 11-19 20:56「现在的设计方向很不错」）。
 * 白底、暖色卡片底 #FFF8F2、品牌深棕红 #6E2A1C、方角（按钮 10px、小标签 6px）；不用米白底、胶囊按钮、编号、等宽小字标签。
 * 手机（<1024px）：一屏不滚的外框，从上到下是官网顶栏、日期一排、日期框和 20:00 前后、左栏 92px + 右边清单（只有清单自己滚）、
 *   购物车栏，最下面是官网的底部四格。一行一项：60px 小图、名字、一行说明、价钱、加减。
 * 电脑（≥1024px）：整页滚，左栏 200px、中间两列卡片、右栏「你的单」。
 * 加减是 30px 的方钮，四周各多出 7px 的点按区（合 44px）；其余能点的不小于 40px。色值同设计规范 docs/design/官网改版-20261007/设计规范-tokens.json。 */
body.osw-order-page { margin: 0; background: #FFFFFF; }
/* 顶栏里已经有语言切换：TranslatePress 自己浮在角上的那个收起来（全站别的页靠 body.osw-v7，这一页的 body class 没有它） */
body.osw-order-page .trp-floating-switcher, body.osw-order-page .trp-language-switcher-container, body.osw-order-page #trp-floater-ls { display: none !important; }
/* 外框：顶栏 + 点单面板正好占满屏幕里四格以上的那一块。后台工具条在的时候（自己人登录着）再让出它的高度。 */
.oo-page { --oo-top-gap: 0px; --oo-tab-gap: 0px; display: flex; flex-direction: column; overflow: hidden;
  height: calc(100vh - var(--oo-tab-gap) - var(--oo-top-gap)); height: calc(100dvh - var(--oo-tab-gap) - var(--oo-top-gap)); }
.oo-page.has-tab { --oo-tab-gap: calc(var(--osw-tab-h, 64px) + env(safe-area-inset-bottom, 0px)); }
body.admin-bar .oo-page { --oo-top-gap: 46px; }
@media (min-width: 783px) { body.admin-bar .oo-page { --oo-top-gap: 32px; } }
.oo-page > .topbar { flex: none; }
.osw-order {
  --oo-bg: #FFFFFF; --oo-card: #FFF8F2; --oo-tag: #FFE8DA; --oo-brand: #6E2A1C; --oo-brand-mid: #914032; --oo-text: #3A2A22; --oo-muted: #8A5A50;
  --oo-line: #EAD3C6; --oo-hair: #F3E6DE; --oo-gift: #2F6B4F; --oo-gift-bg: #EAF3EE; --oo-warn: #6A4512; --oo-warn-bg: #FFF4E5;
  --oo-serif: 'Noto Serif SC', serif;
  position: relative; isolation: isolate; flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--oo-bg); color: var(--oo-text);
  font-family: 'Noto Sans SC', system-ui, -apple-system, sans-serif; font-size: 14px; font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
.osw-order *, .osw-order *::before, .osw-order *::after { box-sizing: border-box; }
.osw-order button { font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.osw-order button[disabled] { cursor: default; }
.osw-order a { color: var(--oo-brand); }
.osw-order :focus-visible { outline: 2px solid var(--oo-brand); outline-offset: 2px; }
.oo-noscript { padding: 24px 16px; }
.oo-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 日期一排：一格一天，横着滑 */
.oo-dates { position: relative; flex: none; display: flex; gap: 6px; padding: 8px 12px 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.oo-dates::-webkit-scrollbar { display: none; }
.oo-chip { flex: none; min-width: 54px; height: 52px; padding: 0 5px; border: 1px solid var(--oo-line); border-radius: 10px; background: #FFFFFF; color: var(--oo-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.oo-chip span { font-size: 11px; color: var(--oo-muted); white-space: nowrap; }
.oo-chip b { font-family: var(--oo-serif); font-size: 17px; font-weight: 700; }
.oo-chip.we { background: var(--oo-card); }
.oo-chip.on { background: var(--oo-brand); border-color: var(--oo-brand); color: #FFFFFF; }
.oo-chip.on span { color: #FFFFFF; }
.oo-chip[disabled] { opacity: .45; }

/* 日期框（点开是系统日历，能选 14 天以后的日子）和 20:00 前后 */
.oo-controls { flex: none; display: flex; align-items: center; gap: 8px; padding: 4px 12px 8px; border-bottom: 1px solid var(--oo-hair); }
.oo-date { position: relative; flex: 1; min-width: 0; height: 40px; border: 1px solid var(--oo-line); border-radius: 10px; background: #FFFFFF; display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 13px; }
.oo-date-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oo-date-kind { display: none; }
.oo-date svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--oo-muted); stroke-width: 2; stroke-linecap: round; }
.oo-date input, .oo-date select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; margin: 0; cursor: pointer; font-size: 16px; }
.oo-seg-lead { flex: none; font-size: 12px; color: var(--oo-muted); }
.oo-seg { display: flex; flex: none; border: 1px solid var(--oo-line); border-radius: 10px; overflow: hidden; }
.oo-seg button { height: 38px; padding: 0 9px; border: 0; background: #FFFFFF; color: var(--oo-text); font-size: 13px; white-space: nowrap; }
.oo-seg button.on { background: var(--oo-brand); color: #FFFFFF; }
.oo-seg button[disabled] { color: #B9A39A; }

/* 手机上「已选」一条（叶伟 11-20 17:43「当客户选完之后，他已经选好的东西应该直接显示出来」）：日期框下面、清单上面，不跟着清单滚。
 * 一格一项「名字 ×份数」，横着滑；满 RM499 免门票多一格绿的。点哪一格都打开「已选的」那一层。没选东西时这一格是空的，不占地方。
 * 方角（8px），不用胶囊。电脑上右栏「你的单」一直在，这一条不出（见下面 ≥1024px）。 */
.oo-picked { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 0 6px 12px; background: var(--oo-card); border-bottom: 1px solid var(--oo-hair); }
.oo-picked:empty { display: none; }
.oo-picked-k { flex: none; font-size: 12px; font-weight: 700; color: var(--oo-brand); }
.oo-picked-list { flex: 1; min-width: 0; display: flex; gap: 6px; padding-right: 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.oo-picked-list::-webkit-scrollbar { display: none; }
.osw-order .oo-pick { flex: none; display: inline-flex; align-items: center; gap: 3px; max-width: 168px; height: 32px; padding: 0 9px; border: 1px solid var(--oo-line); border-radius: 8px;
  background: #FFFFFF; color: var(--oo-text); font-size: 12px; line-height: 1; white-space: nowrap; }
.oo-pick-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.oo-pick b { flex: none; font-weight: 700; color: var(--oo-brand); }
.osw-order .oo-pick.is-af { border-color: var(--oo-gift); background: var(--oo-gift-bg); color: var(--oo-gift); font-weight: 700; }

/* 左栏 + 清单 */
.oo-body { flex: 1; min-height: 0; display: flex; }
.oo-cats { position: relative; width: 92px; flex: none; background: var(--oo-card); overflow-y: auto; display: flex; flex-direction: column; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.oo-cats::-webkit-scrollbar { display: none; }
.osw-order .oo-cat { position: relative; flex: none; min-height: 50px; display: flex; align-items: center; padding: 4px 8px 4px 9px; border-left: 3px solid transparent; color: var(--oo-text); text-decoration: none; font-size: 13px; line-height: 1.3; }
.osw-order .oo-cat.on { background: #FFFFFF; border-left-color: var(--oo-brand); color: var(--oo-brand); font-weight: 700; }
.oo-cat b { position: absolute; top: 5px; right: 5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 6px; background: var(--oo-brand); color: #FFFFFF; font-size: 11px; line-height: 18px; text-align: center; font-weight: 500; }
.oo-cat-grp { flex: none; padding: 12px 8px 2px 12px; font-size: 11px; color: var(--oo-muted); }
.oo-list { flex: 1; min-width: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.oo-sec { scroll-margin-top: 0; }
.oo-cat-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 0 6px 0 12px; background: #FFFFFF; }
.oo-cat-head h2 { margin: 0; min-width: 0; font-family: var(--oo-serif); font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--oo-brand-mid); }
.oo-rule { flex: none; min-width: 44px; height: 36px; padding: 0 6px; border: 0; background: none; color: var(--oo-muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.oo-note { margin: 0 12px 8px; padding: 0; font-size: 12px; line-height: 1.5; color: var(--oo-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.oo-giftline { display: flex; align-items: flex-start; gap: 6px; margin: 0 12px 8px; padding: 6px 8px; border-radius: 8px; background: var(--oo-gift-bg); font-size: 12px; line-height: 1.45; color: var(--oo-gift); }
.oo-giftline svg, .oo-giftbar svg, .oo-afbar svg { width: 14px; height: 14px; margin-top: 2px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.osw-order .oo-bundle { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 12px 12px; padding: 12px; border: 1px solid var(--oo-line); border-radius: 10px; background: var(--oo-card); color: var(--oo-text); font-size: 13px; text-decoration: none; }
.oo-bundle b { flex: none; color: var(--oo-brand); font-weight: 700; white-space: nowrap; }
.osw-order .oo-group { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-top: 1px solid var(--oo-hair); color: var(--oo-gift); font-size: 13px; text-decoration: none; }

/* 一行一项 */
.oo-it { display: flex; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--oo-hair); background: #FFFFFF; scroll-margin-top: 40px; }
.oo-ph { display: block; flex: none; width: 60px; height: 60px; border-radius: 8px; object-fit: cover; background: var(--oo-card); }
.oo-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.oo-row-head { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; }
.oo-name { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--oo-text); text-wrap: balance; }
/* 有「详情 ›」的行：名字是同一个链接、小图点了也弹「详情」（叶伟 11-20「能不能直接点套餐的名字，就可以直接进入到详情呢」）；名字的样子不变 */
.osw-order a.oo-name { color: var(--oo-text); text-decoration: none; }
@media (hover: hover) { .osw-order a.oo-name:hover { text-decoration: underline; text-underline-offset: 3px; } }
.oo-ph[data-act] { cursor: pointer; }
.oo-tag { display: inline-block; flex: none; font-size: 11px; line-height: 18px; padding: 0 6px; border-radius: 6px; background: var(--oo-tag); color: var(--oo-brand); white-space: nowrap; }
.osw-order a.oo-tag-go { position: relative; text-decoration: none; }
.oo-tag-go::before, .oo-more::before { content: ""; position: absolute; inset: -10px -6px; }
.oo-tag.is-on { background: var(--oo-brand); color: #FFFFFF; }
.oo-subline { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.oo-sub { flex: 0 1 auto; min-width: 0; font-size: 12px; color: var(--oo-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.osw-order .oo-more { position: relative; flex: none; font-size: 12px; text-decoration: none; white-space: nowrap; }
.oo-tiers { font-size: 12px; color: var(--oo-muted); font-variant-numeric: tabular-nums; }
.oo-tiers > span { white-space: nowrap; }
/* 价在左、加减器在右，两栏：右栏永远留够加减器展开的宽度（见 .oo-act.is-add），所以加第一份时这一行不会变样；
 * 左栏排不下「金额 / 单位」时，单位整块落到金额下面。 */
.oo-pr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 6px; min-height: 32px; }
.oo-price { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; font-family: var(--oo-serif); font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--oo-brand-mid); }
.oo-amt { white-space: nowrap; }
.oo-price sup { font-size: 10px; font-weight: 700; vertical-align: super; line-height: 0; }
.oo-price small { font-family: 'Noto Sans SC', system-ui, sans-serif; font-size: 11px; font-weight: 400; line-height: 1.3; color: var(--oo-muted); white-space: nowrap; }
.oo-s2 { font-size: 11px; line-height: 1.4; color: var(--oo-muted); }
.oo-ref, .oo-s2 s, .oo-was { color: var(--oo-muted); white-space: nowrap; }
.oo-it.is-off .oo-price { color: var(--oo-muted); font-size: 15px; }
.oo-act { display: flex; align-items: center; justify-content: flex-end; }
.oo-act.is-add { min-width: 84px; }   /* 能加进单的行：只有一颗「+」时也留够加减器展开后的宽度（30 + 2 + 20 + 2 + 30） */
.is-flash { animation: oo-flash 1.6s ease-out 1; }
@keyframes oo-flash { 0% { background: var(--oo-tag); } 100% { background: #FFFFFF; } }

/* 加减：30px 方钮，点按区四周各多 7px（合 44px）。「金额 + 加减器」在 360px 宽的手机上要排得下一行，所以钮不做大。 */
.oo-step { display: flex; align-items: center; justify-content: flex-end; gap: 2px; flex: none; }
.oo-qty { min-width: 20px; text-align: center; font-weight: 700; font-size: 14px; }
.oo-plus, .oo-minus { position: relative; width: 30px; height: 30px; flex: none; border-radius: 9px; font-size: 19px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0; }
.oo-plus::before, .oo-minus::before { content: ""; position: absolute; inset: -7px; }
.oo-plus { border: 0; background: var(--oo-brand); color: #FFFFFF; }
.oo-plus[disabled] { background: #C9B2A8; }
.oo-minus { border: 1px solid var(--oo-line); background: #FFFFFF; color: var(--oo-brand); }
.oo-add { min-height: 40px; padding: 0 14px; flex: none; border: 0; border-radius: 10px; background: var(--oo-brand); color: #FFFFFF; font-size: 13px; font-weight: 500; white-space: nowrap; }
.oo-status { flex: none; max-width: 104px; font-size: 12px; line-height: 1.3; color: var(--oo-muted); text-align: right; }
.osw-order a.oo-status { min-height: 40px; display: flex; align-items: center; justify-content: flex-end; color: var(--oo-brand); text-decoration: underline; text-underline-offset: 3px; }
.oo-gift-tag { color: var(--oo-gift); }

/* 窄手机收紧：左栏、行内留白、小图各让一点，「金额 + 加减器」才排得下一行（375px 和 360px 两档）；
 * 340px 以下（老小屏、把显示调到最大的手机）不出小图，把宽度让给名字和价钱。 */
@media (max-width: 380px) {
  .oo-cats { width: 84px; }
  .oo-cat b { top: 3px; right: 3px; }
  .oo-it { padding-left: 10px; padding-right: 10px; }
  .oo-cat-head { padding-left: 10px; }
  .oo-note, .oo-giftline { margin-left: 10px; margin-right: 10px; }
}
@media (max-width: 365px) {
  .oo-cats { width: 80px; }
  .oo-ph { width: 52px; height: 52px; }
  .oo-price { font-size: 17px; }
}
@media (max-width: 340px) {
  .oo-ph { display: none; }
  .oo-seg-lead { display: none; }   /* 「按摩」两个字让给日期框；两颗钮自己带读屏说明 */
}

/* 体验价那一段：左边那句体验价，右边和别的行一样的「+」，加了以后「− 1 +」（叶伟 11-20「这个不统一呀」；原来是一颗「选 / 已选」勾选框）。
 * 右边留够加减器展开的宽度（同 .oo-act.is-add），加第一份时这一行不变样。 */
.oo-trial-pick { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; }
.oo-trial-text { flex: 1; min-width: 0; font-size: 12px; line-height: 1.45; color: var(--oo-muted); }
.oo-trial-act { flex: none; min-width: 84px; display: flex; align-items: center; justify-content: flex-end; }

/* 购物车栏：上面一条提示（一次一条），下面袋子、合计、去结算 */
.oo-side { display: none; }
.oo-foot { position: relative; z-index: 6; flex: none; background: #FFFFFF; border-top: 1px solid var(--oo-line); }
.oo-gate, .oo-giftbar, .oo-afbar { display: flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 12px; line-height: 1.45; }
.oo-gate { background: var(--oo-warn-bg); border-bottom: 1px solid #F0D9B5; color: var(--oo-warn); }
.oo-gate > span { flex: 1; min-width: 0; }
.oo-gate .oo-add { background: var(--oo-warn); }
.oo-giftbar, .oo-afbar { align-items: flex-start; background: var(--oo-gift-bg); border-bottom: 1px solid #D5E6DB; color: var(--oo-gift); }
.oo-giftbar > span, .oo-afbar > span { flex: 1; min-width: 0; }
.oo-have { min-height: 32px; padding: 0 2px; border: 0; background: none; color: var(--oo-brand); font-size: 12px; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.oo-have.on { flex: none; align-self: center; color: var(--oo-gift); }
.oo-msg { margin: 0; padding: 8px 12px; background: #FDECE8; border-bottom: 1px solid #F3C9BF; font-size: 12px; line-height: 1.45; color: #8F2A16; }
.oo-foot-row { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 12px; }
.oo-bag { position: relative; width: 44px; height: 44px; flex: none; border: 1px solid var(--oo-line); border-radius: 12px; background: var(--oo-card); color: var(--oo-brand); display: flex; align-items: center; justify-content: center; padding: 0; }
.oo-bag svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.oo-bag b { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 6px; background: var(--oo-brand); color: #FFFFFF; font-size: 11px; line-height: 18px; text-align: center; font-weight: 500; }
.oo-bag[disabled] { color: #C9B2A8; }
.oo-total { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oo-total span { font-size: 11px; line-height: 1.35; color: var(--oo-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oo-total strong { font-family: var(--oo-serif); font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--oo-text); white-space: nowrap; }
.oo-total small { font-family: 'Noto Sans SC', system-ui, sans-serif; font-size: 10px; font-weight: 400; color: var(--oo-muted); }
.oo-total .oo-voucher { margin-top: 1px; font-size: 11px; line-height: 1.4; white-space: normal; }
.oo-go { height: 44px; padding: 0 18px; flex: none; border: 0; border-radius: 10px; background: var(--oo-brand); color: #FFFFFF; font-size: 15px; font-weight: 500; white-space: nowrap; }
.oo-go[disabled] { background: #C9B2A8; }

/* 弹出的那一层：从购物车栏上面升起来，盖住清单；购物车栏照样能点 */
.oo-sheet { position: absolute; left: 0; right: 0; top: 0; bottom: var(--oo-foot-h, 76px); z-index: 5; display: flex; flex-direction: column; justify-content: flex-end; }
.oo-scrim { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: rgba(46, 33, 27, .5); }
.oo-sheet-card { position: relative; max-height: 88%; display: flex; flex-direction: column; background: #FFFFFF; border-radius: 14px 14px 0 0; }
.oo-sheet-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 0 4px 0 14px; border-bottom: 1px solid var(--oo-hair); }
.oo-sheet-head h2 { margin: 0; font-family: var(--oo-serif); font-size: 16px; font-weight: 700; color: var(--oo-brand-mid); }
.oo-x { width: 44px; height: 44px; flex: none; border: 0; background: none; color: var(--oo-muted); display: flex; align-items: center; justify-content: center; padding: 0; }
.oo-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.oo-sheet-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.oo-lines { list-style: none; margin: 0; padding: 0 14px; }
.oo-lines li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--oo-hair); }
.oo-lines li:last-child { border-bottom: 0; }
.oo-line-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oo-line-t b { font-size: 14px; font-weight: 500; line-height: 1.35; }
.oo-line-t small { font-size: 12px; color: var(--oo-muted); }
.oo-rule-text { margin: 0; padding: 12px 14px 16px; font-size: 13px; line-height: 1.7; color: var(--oo-text); }
/* 「详情」那一层（2026-11-20）：上面一张大图，下面一行说明、价钱和加减（同清单那一行，放在上半截，手机上不用滚就点得到），
 * 再下面介绍、注意事项、「完整介绍 ›」。手机上和「已选」那一层一样从购物车栏上面升起来；电脑上见下面 ≥1024px 那一段。 */
.oo-more-box { display: flex; flex-direction: column; }
.oo-more-ph { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; max-height: 32vh; object-fit: cover; background: var(--oo-card); }
.oo-more-tx { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px 16px; }
.oo-more-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.oo-more-sub .oo-sub { white-space: normal; }
.oo-more-tx .oo-pr { min-height: 40px; }
.oo-more-p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: var(--oo-text); }
.oo-more-p + .oo-more-p { margin-top: 4px; }
.oo-more-notes { margin: 10px 0 0; padding: 8px 10px 8px 26px; border-radius: 8px; background: var(--oo-card); font-size: 12px; line-height: 1.6; color: var(--oo-muted); }
.oo-more-notes li + li { margin-top: 4px; }
.osw-order .oo-more-full { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; margin-top: 4px; font-size: 13px; text-decoration: none; }

/* 追踪插件的 WhatsApp 绿泡泡浮在购物车栏上方，不压「去结算」。栏高随提示条变，order.js 每次画完写 --oo-foot-h。
 * 页面上有底部四格时再抬高四格的高度（壳的那条规则只按四格抬，这条更具体，排在它后面生效）。 */
@media (max-width: 1023px) {
  body.osw-order-page .osp-fab { bottom: calc(var(--oo-foot-h, 76px) + 12px) !important; }
  body.osw-order-page:has(.osw-tabbar):not(.osw-tab-wait) .osp-fab { bottom: calc(var(--oo-foot-h, 76px) + var(--osw-tab-h, 64px) + 12px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* 电脑：页面照常往下滚，不锁屏高。三栏：左边分类（跟着滚）、中间清单（一行一项）、右边「你的单」（跟着滚）。
 * 左右边线和官网顶栏对齐（osw07.css .container：最宽 1200px、两边 48px）。 */
@media (min-width: 1024px) {
  .oo-page, body.admin-bar .oo-page { height: auto; overflow: visible; }
  .osw-order { display: grid; grid-template-columns: 184px minmax(0, 1fr) 320px; grid-template-areas: "dates dates dates" "ctl ctl ctl" "cats list side"; column-gap: 24px; align-items: start; box-sizing: border-box; max-width: 1200px; margin: 0 auto; padding: 0 48px 48px; }
  .oo-dates { grid-area: dates; padding: 20px 0 6px; flex-wrap: wrap; overflow: visible; }
  .oo-controls { grid-area: ctl; max-width: 560px; padding: 6px 0 20px; border-bottom: 0; }
  .oo-date-kind { display: inline; }
  .oo-body { display: contents; }
  .oo-picked { display: none; }
  .oo-cats { grid-area: cats; width: auto; position: sticky; top: 16px; max-height: calc(100vh - 32px); border-radius: 12px; }
  .osw-order .oo-cat { min-height: 46px; padding: 4px 14px; font-size: 14px; }
  .oo-cat b { top: 50%; right: 10px; transform: translateY(-50%); }
  .oo-cat-grp { padding: 14px 14px 2px 17px; }
  .oo-list { grid-area: list; overflow: visible; }
  .oo-sec { margin-bottom: 28px; scroll-margin-top: 16px; }
  .oo-sec > .oo-it { margin-top: 8px; border: 1px solid var(--oo-line); border-radius: 12px; padding: 12px 16px; gap: 14px; scroll-margin-top: 16px; }
  .oo-cat-head { position: static; min-height: 0; padding: 0; }
  .oo-cat-head h2 { font-size: 20px; }
  .oo-rule { display: none; }
  .oo-note { margin: 6px 0 4px; font-size: 13px; display: block; -webkit-line-clamp: unset; overflow: visible; }
  .oo-giftline { margin: 8px 0 0; }
  .osw-order .oo-bundle { margin: 8px 0 0; }
  .osw-order .oo-group { margin-top: 8px; border: 1px dashed var(--oo-line); border-radius: 12px; }
  .oo-ph { width: 72px; height: 72px; }
  .oo-name { font-size: 16px; }
  .oo-sub, .osw-order .oo-more { font-size: 13px; }
  .oo-side { grid-area: side; display: block; position: sticky; top: 16px; border: 1px solid var(--oo-line); border-radius: 12px; overflow: hidden; background: #FFFFFF; }
  body.admin-bar .oo-cats, body.admin-bar .oo-side { top: 48px; max-height: calc(100vh - 64px); }
  .oo-side h2 { margin: 0; padding: 14px 16px 8px; font-family: var(--oo-serif); font-size: 16px; color: var(--oo-brand-mid); }
  .oo-side-empty { margin: 0; padding: 0 16px 12px; color: var(--oo-muted); font-size: 13px; }
  .oo-side-lines { list-style: none; margin: 0; padding: 0 16px 10px; max-height: 44vh; overflow-y: auto; }
  .oo-side-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--oo-hair); font-size: 13px; }
  .oo-side-lines b { white-space: nowrap; }
  .oo-side-bars > * { border-top: 1px solid var(--oo-hair); }
  .oo-side .oo-foot-row { flex-direction: column; align-items: stretch; padding: 12px 16px 16px; }
  .oo-side .oo-total strong { font-size: 22px; }
  .oo-side .oo-go { width: 100%; height: 48px; font-size: 16px; }
  .oo-foot, .oo-sheets { display: none; }
  /* 电脑上弹出的只有「详情」那一层：盖住整个窗口，屏幕中间一张卡（右栏「你的单」被盖住，关掉就回来） */
  .oo-sheets.has-more { display: block; position: fixed; inset: 0; z-index: 1000; }
  .oo-sheets.has-more .oo-sheet { position: absolute; inset: 0; justify-content: center; align-items: center; padding: 32px 24px; }
  .oo-sheets.has-more .oo-sheet-card { width: 100%; max-width: 560px; max-height: 100%; border-radius: 14px; overflow: hidden; }
  .oo-sheets.has-more .oo-more-ph { max-height: 300px; }
  /* 「确认这一单」在电脑上也是居中的一张卡（之前这一层在电脑上不显示，点「去结算」看不到确认页） */
  .oo-sheets.has-confirm { display: block; position: fixed; inset: 0; z-index: 1000; }
  .oo-sheets.has-confirm .oo-sheet { position: absolute; inset: 0; justify-content: center; align-items: center; padding: 32px 24px; }
  .oo-sheets.has-confirm .oo-sheet-card { width: 100%; max-width: 520px; max-height: 100%; border-radius: 14px; overflow: hidden; }
}

/* 0.9.110 按清单补（叶伟 10-10 23:49）：每行「详情 ›」进单品页；列表底下「几个人来」「预订前，先说清楚」两块和付款图标行 */
.oo-infos { display: flex; flex-direction: column; gap: 10px; padding: 16px 12px 20px; border-top: 1px solid var(--oo-hair); }
.osw-order .oo-help { min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; padding: 0 2px; color: var(--oo-gift); font-size: 13px; text-decoration: none; }
.oo-info { border: 1px solid var(--oo-line); border-radius: 10px; background: var(--oo-card); padding: 0 12px; }
.oo-info > summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--oo-brand); }
.oo-info > summary::-webkit-details-marker { display: none; }
.oo-info > summary::after { content: "+"; font-size: 18px; font-weight: 400; }
.oo-info[open] > summary::after { content: "−"; }
.oo-info dl { margin: 0 0 8px; }
.oo-info dt { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--oo-text); }
.oo-info dd { margin: 2px 0 0; font-size: 12.5px; color: var(--oo-muted); }
.oo-info ul { margin: 0 0 8px; padding-left: 18px; font-size: 12.5px; color: var(--oo-muted); }
.oo-info li + li { margin-top: 4px; }
.oo-info-fine { margin: 0 0 10px; font-size: 11.5px; color: var(--oo-muted); }
.oo-info-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 10px; font-size: 13px; }
.osw-order .oo-info-links a { min-height: 32px; display: inline-flex; align-items: center; }
@media (min-width: 1024px) { .oo-infos { padding: 0; border-top: 0; margin-top: 8px; } }
@media (prefers-reduced-motion: reduce) { .is-flash { animation: none; } }

/* 11-20 晚 Air 装后核：Hello 父主题 reset.css 的 [type=button]:hover/:focus、button:hover/:focus{color:#fff;background-color:#c36;text-decoration:none}（0,2,0）
   比上面这些按钮的类选择器（0,1,0、0,1,1）高：点了「+」焦点留在加号上就成粉红，弹层右上的 × 是粉方块，鼠标停在遮罩上整块玫红。
   每种按钮的 :hover、:focus 都按 .osw-order button.xxx（0,3,1 起）写回原来的底色、字色，不依赖样式表加载顺序（同 osw07.css 0.9.78 的写法）。 */
.osw-order button.oo-chip:hover, .osw-order button.oo-chip:focus { background: #FFFFFF; color: var(--oo-text); }
.osw-order button.oo-chip.we:hover, .osw-order button.oo-chip.we:focus { background: var(--oo-card); }
.osw-order button.oo-chip.on:hover, .osw-order button.oo-chip.on:focus { background: var(--oo-brand); color: #FFFFFF; }
.osw-order .oo-seg button:hover, .osw-order .oo-seg button:focus { background: #FFFFFF; color: var(--oo-text); }
.osw-order .oo-seg button.on:hover, .osw-order .oo-seg button.on:focus { background: var(--oo-brand); color: #FFFFFF; }
.osw-order .oo-seg button[disabled]:hover { background: #FFFFFF; color: #B9A39A; }
.osw-order button.oo-pick:hover, .osw-order button.oo-pick:focus { background: #FFFFFF; color: var(--oo-text); }
.osw-order button.oo-pick.is-af:hover, .osw-order button.oo-pick.is-af:focus { background: var(--oo-gift-bg); color: var(--oo-gift); }
.osw-order button.oo-rule:hover, .osw-order button.oo-rule:focus { background: none; color: var(--oo-muted); text-decoration: underline; }
.osw-order button.oo-plus:hover, .osw-order button.oo-plus:focus { background: var(--oo-brand); color: #FFFFFF; }
.osw-order button.oo-plus[disabled]:hover { background: #C9B2A8; }
.osw-order button.oo-minus:hover, .osw-order button.oo-minus:focus { background: #FFFFFF; color: var(--oo-brand); }
.osw-order button.oo-add:hover, .osw-order button.oo-add:focus { background: var(--oo-brand); color: #FFFFFF; }
.osw-order .oo-gate button.oo-add:hover, .osw-order .oo-gate button.oo-add:focus { background: var(--oo-warn); }
.osw-order button.oo-have:hover, .osw-order button.oo-have:focus { background: none; color: var(--oo-brand); text-decoration: underline; }
.osw-order button.oo-have.on:hover, .osw-order button.oo-have.on:focus { color: var(--oo-gift); }
.osw-order button.oo-bag:hover, .osw-order button.oo-bag:focus { background: var(--oo-card); color: var(--oo-brand); }
.osw-order button.oo-bag[disabled]:hover { color: #C9B2A8; }
.osw-order button.oo-go:hover, .osw-order button.oo-go:focus { background: var(--oo-brand); color: #FFFFFF; }
.osw-order button.oo-go[disabled]:hover { background: #C9B2A8; }
.osw-order button.oo-scrim:hover, .osw-order button.oo-scrim:focus { background: rgba(46, 33, 27, .5); }
.osw-order button.oo-x:hover, .osw-order button.oo-x:focus { background: none; color: var(--oo-muted); }

/* ---- 焕新段 A（2026-11-25，开关 onespa_order_confirm；关着时 .oo-a、body.oo-a-on 都不出，下面这些全不生效） ---- */
/* 点单页只留底部一个购物袋：页头那个数的是上一次进结账页时购物车里的，和底部对不上（走查 P2-10） */
body.oo-a-on .topbar .osw-cart { display: none; }
/* 袋子换深色实心圆，和底部四格「点单」那格的线框图标分开；件数角标用出错红（品牌红棕分得开） */
.oo-a .oo-foot .oo-bag { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--oo-brand); color: #FFFFFF; }
.oo-a .oo-foot .oo-bag[disabled] { background: #F5F3F1; color: #7A6A63; }
.oo-a .oo-foot .oo-bag b { top: -4px; right: -4px; border-radius: 9px; background: #B3261E; color: #FFFFFF; }
/* 购物条左半边整块能点：拉开已选清单 */
.oo-a .oo-total-btn { flex: 1; min-width: 0; min-height: 44px; margin: 0; padding: 0; border: 0; background: none; color: inherit; text-align: left; display: flex; flex-direction: column; }
.oo-a .oo-total-btn[disabled] { opacity: 1; }
.oo-a .oo-total-btn .oo-count { display: flex; align-items: center; min-width: 0; }
.oo-a .oo-total-btn .oo-count em { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-style: normal; }
.oo-a .oo-up { flex: none; margin-left: 6px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--oo-brand); }
/* 加一份时飞进袋子的小点 */
.oo-fly { position: fixed; z-index: 90; width: 12px; height: 12px; border-radius: 50%; background: #B3261E; pointer-events: none; }
/* 已选清单：顶上「清空」（点两下才清）、满了最后一行写免掉的那张门票（绿） */
.oo-clear { margin-left: auto; height: 44px; padding: 0 12px; border: 0; background: none; color: var(--oo-muted); font-size: 14px; white-space: nowrap; }
.oo-clear.is-armed { color: #B3261E; font-weight: 700; }
.oo-lines li.oo-af-row, .oo-lines li.oo-af-row .oo-line-t b, .oo-lines li.oo-af-row small { color: var(--oo-gift); }
.oo-af-amt { flex: none; white-space: nowrap; font-size: 14px; }
/* 「确认这一单」：盖住购物条，自己有付款按钮 */
.oo-sheet.is-confirm { bottom: 0; z-index: 7; }
.oo-sheet.is-confirm .oo-sheet-card { max-height: 94%; }
.oo-cf-when { margin: 0; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 15px; font-weight: 700; color: var(--oo-text); border-bottom: 1px solid var(--oo-hair); }
.oo-cf-when span { font-weight: 400; color: var(--oo-muted); white-space: nowrap; }
.oo-cf-lines { list-style: none; margin: 0; padding: 4px 14px; }
.oo-cf-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--oo-hair); font-size: 15px; }
.oo-cf-lines li span { min-width: 0; text-wrap: pretty; }
.oo-cf-lines li b, .oo-cf-sum dd { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.oo-cf-sum { margin: 0; padding: 6px 14px 4px; }
.oo-cf-sum div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; color: var(--oo-muted); }
.oo-cf-sum dt, .oo-cf-sum dd { margin: 0; }
.oo-cf-sum .is-free { color: var(--oo-gift); font-weight: 700; }
.oo-cf-sum .is-total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--oo-line); font-size: 18px; font-weight: 700; color: var(--oo-text); }
.oo-cf-sum .is-total dd { font-family: var(--oo-serif); color: var(--oo-brand-mid); }
.oo-cf-note { margin: 8px 14px 0; font-size: 13px; color: var(--oo-muted); }
.oo-cf-err { margin: 10px 14px 0; padding: 10px 12px; border-radius: 10px; background: #FDECEA; color: #B3261E; font-size: 14px; line-height: 1.5; text-wrap: pretty; }
/* 「确认这一单」原地问门票（叶伟 2026-11-22 11:31；规则 官网点单页.md 第 3d 节）：按钮一行一个，字不折行 */
.oo-cf-tk { display: flex; flex-direction: column; gap: 8px; margin: 10px 14px 0; padding: 12px; border-radius: 10px; background: #FFF6EE; }
html.osw-lamp .osw-order .oo-cf-tk { margin-left: 0; margin-right: 0; }
.oo-cf-tk-t { margin: 0 0 2px; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--oo-text); text-wrap: pretty; }
.osw-order button.oo-cf-tk-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--oo-brand); border-radius: 10px; background: #FFFFFF; color: var(--oo-brand); font-size: 15px; font-weight: 700; white-space: nowrap; }
.osw-order button.oo-cf-tk-btn:hover, .osw-order button.oo-cf-tk-btn:focus { background: #FFFFFF; color: var(--oo-brand); }
.osw-order button.oo-cf-tk-btn.is-go, .osw-order button.oo-cf-tk-btn.is-go:hover, .osw-order button.oo-cf-tk-btn.is-go:focus { background: var(--oo-brand); color: #FFFFFF; }
.osw-order button.oo-cf-tk-btn.is-have { border-style: dashed; font-weight: 400; }
.osw-order button.oo-cf-tk-btn[disabled] { opacity: .55; }
.oo-cf-tk-form { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--oo-hair); }
.oo-cf-tk-form b { font-size: 15px; color: var(--oo-text); }
.oo-cf-tk-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--oo-muted); }
.osw-order .oo-cf-tk-form input { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--oo-line); border-radius: 10px; background: #FFFFFF; color: var(--oo-text); font-size: 16px; }
.oo-cf-tk-err { margin: 0; padding: 8px 10px; border-radius: 8px; background: #FDECEA; color: #B3261E; font-size: 14px; line-height: 1.5; text-wrap: pretty; }
/* 门票那一块里的说明和结果（当场登录、门票在别的日子）：小一号的灰字；is-ok 是要客人看到的那一句，用正文色 */
.oo-cf-tk-say { margin: 0; font-size: 13px; line-height: 1.5; color: var(--oo-muted); text-wrap: pretty; }
.oo-cf-tk-say.is-ok { font-size: 14px; color: var(--oo-text); }
.oo-cf-tk-wa { font-size: 15px; color: var(--oo-brand); text-decoration: underline; text-underline-offset: 3px; }
.oo-cf-foot { flex: none; border-top: 1px solid var(--oo-hair); background: #FFFFFF; }
.oo-cf-acts { display: flex; flex-direction: column; gap: 8px; padding: 10px 14px 4px; }
.osw-order .oo-cf-pay { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--oo-brand); color: #FFFFFF; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.osw-order .oo-cf-pay[disabled] { background: #F5F3F1; color: #7A6A63; }
.oo-cf-alt { min-height: 48px; padding: 0 16px; border: 1.5px solid var(--oo-brand); border-radius: 10px; background: #FFFFFF; color: var(--oo-brand); font-size: 15px; white-space: nowrap; }
.oo-cf-back { display: block; margin: 0 auto 6px; min-height: 44px; padding: 0 16px; border: 0; background: none; color: var(--oo-brand); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
/* 段 A 新加的按钮也照上面「按钮不变粉红」那一段（reset 的 [type=button]:hover、:focus 是 0,2,0）：点过、按住还是自己的颜色。
   深色袋子要压过上面 .osw-order button.oo-bag:hover 那条浅底（0,3,1），所以带上 .oo-a 和 .oo-foot */
.osw-order button.oo-total:hover, .osw-order button.oo-total:focus { background: none; color: inherit; }
.osw-order button.oo-clear:hover, .osw-order button.oo-clear:focus { background: none; color: var(--oo-muted); }
.osw-order button.oo-clear.is-armed:hover, .osw-order button.oo-clear.is-armed:focus { color: #B3261E; }
.osw-order button.oo-cf-chg { border: 0; background: none; color: var(--oo-brand); }
.osw-order button.oo-cf-chg:hover, .osw-order button.oo-cf-chg:focus { background: none; color: var(--oo-brand); }
/* 「留一盏灯」页头右边的「清空」（order.js 里带 LAMP 的那段才画它；样子在 lamp 样式表里，这里只挡旧站那条整站按钮规则） */
.osw-order button.oo-lp-clear { border: 0; background: none; color: var(--oo-brand); }
.osw-order button.oo-lp-clear:hover, .osw-order button.oo-lp-clear:focus { background: none; color: var(--oo-brand); }
.osw-order button.oo-lp-clear.is-armed:hover, .osw-order button.oo-lp-clear.is-armed:focus { color: #B3261E; }
.osw-order button.oo-cf-pay:hover, .osw-order button.oo-cf-pay:focus { background: var(--oo-brand); color: #FFFFFF; text-decoration: none; }
.osw-order button.oo-cf-pay[disabled]:hover { background: #F5F3F1; color: #7A6A63; }
.osw-order button.oo-cf-alt:hover, .osw-order button.oo-cf-alt:focus { background: #FFFFFF; color: var(--oo-brand); }
.osw-order button.oo-cf-back:hover, .osw-order button.oo-cf-back:focus { background: none; color: var(--oo-brand); text-decoration: underline; }
.osw-order.oo-a .oo-foot button.oo-bag:hover, .osw-order.oo-a .oo-foot button.oo-bag:focus { background: var(--oo-brand); color: #FFFFFF; }
.osw-order.oo-a .oo-foot button.oo-bag[disabled]:hover { background: #F5F3F1; color: #7A6A63; }
@media (prefers-reduced-motion: reduce) { .oo-fly { display: none; } }

/* 2026-11-25 iPhone 走查修复（清单 docs/rules/官网点单页.md 3m 节） */
/* 体验价那一句：每一截不折行，窄的地方只在两截之间换行（「未税 RM74.75」不拆成两行） */
.oo-nw { white-space: nowrap; }
/* 弹出的那一层：焦点放在标题上（读屏从头念），标题不是按钮，不画焦点框 */
.osw-order .oo-sheet-head h2:focus, .osw-order .oo-sheet-head h2:focus-visible { outline: none; box-shadow: none; }
/* 「去付款」点了以后：灰着写「正在打开结账页…」，不折行 */
.osw-order .oo-cf-pay.is-going { white-space: nowrap; }

