/* Life Cafe (人间茶坊, www.lckonline.com), 2026-12-03. Goes only to the shops whose brands include Life Cafe.
   Loaded by the shop page only while the "lifecafe" decoration is chosen (see lifecafe/brand_theme_lifecafe.py).
   The banner is the Jalan Padungan shopfront, one rendered picture; its lanterns are a second, transparent picture so a
   breeze can move them. The page is pale oak boards, the menu the cafe's printed black menu, the footer its tea room.

   Three lights: day (no class), lc-dusk and lc-night on <html>, set by /js/theme-lifecafe.js from the shop's clock.
   The day's colours are the theme's own (Admin -> Themes); dusk and night are fixed here. */
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Ma+Shan+Zheng&display=swap");

body.deco-lifecafe {
  --body-font: Jost, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --heading-font: var(--body-font);
  --brush: "Ma Shan Zheng", KaiTi, STKaiti, "Noto Serif SC", serif;
  --radius: 3px;
  --shadow: 0 1px 2px rgba(40,20,6,.3), 0 12px 26px rgba(40,20,6,.28);
  --wall: #3f464e; --dark: 0; --lit: 0; --tint: #fff;
  --field: #fff; --open: #f9e3b5; --open-ink: #3a2a12; --open-line: #d0a24f;
  --amber: #f3c775; --wood: #7a5426; --on-amber: #1a1512; --link: var(--primary);
  font-size: 17px;
  background-image: linear-gradient(rgba(0,0,0,var(--bg-overlay)), rgba(0,0,0,var(--bg-overlay))), linear-gradient(var(--tint), var(--tint)), var(--bg-image);
  background-size: auto, auto, 1440px auto; background-position: 50% 0; background-attachment: scroll;
  background-blend-mode: normal, multiply, normal;
}
.lc-dusk body.deco-lifecafe { --wall: #25232d; --dark: .35; --lit: .62; --tint: #b7a594;
  --bg: #97866f; --header-bg: #1c1c20; --panel: #fbf3e3; --line: #d5c6ac; --field: #fffaf0; --muted: #5f564b; }
.lc-night body.deco-lifecafe { --wall: #140807; --dark: .6; --lit: 1; --tint: #4d3c30; color-scheme: dark;
  --bg: #2a1e15; --header-bg: #0e0c0c; --panel: #231b18; --ink: #f6e9d0; --muted: #c9b596; --line: #4a3a30; --field: #191311;
  --open: #4a3315; --open-ink: #ffe2a8; --open-line: #8a6630; --link: #ffc9a0; }
body.deco-lifecafe .deco, body.deco-lifecafe .hero-feature { display: none !important; }
body.deco-lifecafe :is(a, button, input):focus-visible { outline: 3px solid #d9962e; outline-offset: 2px; }

/* ---------- top bar: the logo's characters and lettering instead of the shop name (which screen readers still read) ---------- */
body.deco-lifecafe .topbar { border-bottom: 0; }
body.deco-lifecafe .brand { flex: none; width: 257px; height: 44px; font-size: 0; color: transparent; overflow: hidden; white-space: nowrap;
  background: url("/img/lifecafe/wordmark.svg") no-repeat left center / 150px 34px, url("/img/lifecafe/latin.svg") no-repeat right center / 91px 21px; }
body.deco-lifecafe .help-link, body.deco-lifecafe .lang { border: 1px solid rgba(247,236,210,.4); border-radius: 4px; font-weight: 400; }
body.deco-lifecafe .lang button.active { background: var(--amber); color: var(--on-amber); font-weight: 500; }

/* ---------- banner: the picture is 25.6 x 7.2 units (phones 9.6 x 7.2); --u is one unit ----------
   The banner is a container, so a unit is measured from its own width (old browsers: the window's). */
body.deco-lifecafe .hero { container-type: inline-size; padding: 0; text-align: left; color: var(--hero-text); background: var(--wall);
  overflow: hidden; overflow: clip visible; }
body.deco-lifecafe .hero > *, body.deco-lifecafe .hero::before { --u: max(min(100vw / 14.4, 100px), 100vw / 25.6); }
@supports (width: 1cqw) { body.deco-lifecafe .hero > *, body.deco-lifecafe .hero::before { --u: max(min(100cqw / 14.4, 100px), 100cqw / 25.6); } }
body.deco-lifecafe .hero::before { content: ""; display: block; height: calc(var(--u) * 7.2); }
body.deco-lifecafe .fx { display: block; background: no-repeat 50% 0 / calc(var(--u) * 25.6) calc(var(--u) * 7.2) url("/img/lifecafe/wall-wide-day.webp"); }
.lc-dusk body.deco-lifecafe .fx { background-image: url("/img/lifecafe/wall-wide-dusk.webp"); }
.lc-night body.deco-lifecafe .fx { background-image: url("/img/lifecafe/wall-wide-night.webp"); }
/* under the eaves: their shadow on the boards, and the lanterns' red light */
body.deco-lifecafe .hero::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 520px; pointer-events: none;
  background: linear-gradient(180deg, rgba(24,10,4,.5), rgba(24,10,4,.14) 26px, transparent 72px),
              radial-gradient(1200px 520px at 50% 0, rgba(232,74,30,calc(var(--lit) * .24)), transparent); }

/* the lanterns: each box shows its piece of their picture. --x --y its place in it, --a how far it swings, --d when the
   breeze gets there. A string is boxes inside boxes, so it bends like a chain. */
body.deco-lifecafe .lc-lamps { display: block !important; position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
body.deco-lifecafe .lc-lamps .hang { position: absolute; top: 0; bottom: 0; left: calc(50% - var(--u) * 12.8); width: calc(var(--u) * 25.6); }
body.deco-lifecafe .lc-lamps .p { display: none; }
body.deco-lifecafe .lc-lamps i { position: absolute; background: no-repeat calc(var(--u) * var(--x) * -1) calc(var(--u) * var(--y) * -1) / calc(var(--u) * 25.6) calc(var(--u) * 7.2) url("/img/lifecafe/lanterns-wide-day.webp");
  transform-origin: 50% 0; animation: lc-gust 19s calc(var(--d) * 1s) infinite both, lc-idle 7.3s calc(var(--d) * 1s) infinite alternate ease-in-out; }
.lc-dusk body.deco-lifecafe .lc-lamps i { background-image: url("/img/lifecafe/lanterns-wide-dusk.webp"); }
.lc-night body.deco-lifecafe .lc-lamps i { background-image: url("/img/lifecafe/lanterns-wide-night.webp"); }
body.deco-lifecafe .lc-lamps .k { --a: -.62deg; left: calc(var(--u) * var(--x)); top: calc(var(--u) * 1.06); width: calc(var(--u) * .84); height: calc(var(--u) * .9226); }
body.deco-lifecafe .lc-lamps .k .k { --a: -.36deg; left: 0; top: calc(var(--u) * .8202); height: calc(var(--u) * .8502); }
body.deco-lifecafe .lc-lamps .hang > .k > .k { top: calc(var(--u) * .8926); }
body.deco-lifecafe .lc-lamps .k .k.z { height: calc(var(--u) * 1.04); }
body.deco-lifecafe .lc-lamps .b { --a: -5deg; left: calc(var(--u) * var(--x)); bottom: calc(var(--u) * .17); width: calc(var(--u) * .4); height: calc(var(--u) * .74);
  animation-name: lc-puff, lc-idle; }
@keyframes lc-gust {
  0%, 4% { rotate: 0deg; animation-timing-function: ease-in-out; } 13% { rotate: var(--a); animation-timing-function: ease-in-out; }
  21% { rotate: calc(var(--a) * .35); animation-timing-function: ease-in-out; } 29% { rotate: calc(var(--a) * .95); animation-timing-function: ease-in-out; }
  38% { rotate: calc(var(--a) * -.45); animation-timing-function: ease-in-out; } 47% { rotate: calc(var(--a) * .3); animation-timing-function: ease-in-out; }
  56% { rotate: calc(var(--a) * -.18); animation-timing-function: ease-in-out; } 65% { rotate: calc(var(--a) * .08); animation-timing-function: ease-in-out; }
  74%, 100% { rotate: 0deg; } }
@keyframes lc-puff {
  0%, 4% { rotate: 0deg; animation-timing-function: ease-in-out; } 10% { rotate: var(--a); animation-timing-function: ease-in-out; }
  15% { rotate: calc(var(--a) * .3); animation-timing-function: ease-in-out; } 20% { rotate: calc(var(--a) * .9); animation-timing-function: ease-in-out; }
  25% { rotate: calc(var(--a) * .4); animation-timing-function: ease-in-out; } 30% { rotate: calc(var(--a) * .8); animation-timing-function: ease-in-out; }
  35% { rotate: calc(var(--a) * -.5); animation-timing-function: ease-in-out; } 40% { rotate: calc(var(--a) * .36); animation-timing-function: ease-in-out; }
  45% { rotate: calc(var(--a) * -.24); animation-timing-function: ease-in-out; } 50% { rotate: calc(var(--a) * .14); animation-timing-function: ease-in-out; }
  55% { rotate: calc(var(--a) * -.07); animation-timing-function: ease-in-out; } 60%, 100% { rotate: 0deg; } }
@keyframes lc-idle { from { transform: rotate(calc(var(--a) * -.07)); } to { transform: rotate(calc(var(--a) * .1)); } }

/* the words, on the plain wall between the lantern strings */
body.deco-lifecafe .hero-inner { position: absolute; left: calc(50% - var(--u) * 5.5); top: calc(var(--u) * 1.26); width: calc(var(--u) * 4.7); height: calc(var(--u) * 3.86);
  max-width: none; margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: calc(var(--u) * .13); text-shadow: 0 1px 2px rgba(0,0,0,.5); }
body.deco-lifecafe .hero-badge { padding: 0; border: 0; background: none; color: #ffe0a3; font-size: max(15px, var(--u) * .17); letter-spacing: .06em; text-transform: none; }
body.deco-lifecafe .hero h1 { margin: 0; display: flex; flex-direction: column-reverse; gap: calc(var(--u) * .08); font-family: var(--body-font); font-weight: 400;
  font-size: calc(var(--u) * .33); line-height: 1.14; letter-spacing: 0; text-shadow: inherit; }
body.deco-lifecafe .hero-title2, html:lang(zh-CN) body.deco-lifecafe .hero h1 { font-family: var(--brush); font-size: calc(var(--u) * .92); line-height: 1; color: #fff6df; }
html:lang(zh-CN) body.deco-lifecafe .hero-title2 { display: none; }
body.deco-lifecafe .hero p { margin: 0; text-wrap: balance; max-width: 27em; font-size: max(15px, var(--u) * .18); line-height: 1.42; color: #f9eed6; opacity: 1; }
body.deco-lifecafe .hero-cta { min-height: max(46px, var(--u) * .52); padding: 0 28px; border-radius: 4px; background: var(--primary); color: var(--on-primary);
  font-weight: 500; font-size: max(16px, var(--u) * .18); box-shadow: 0 2px 0 rgba(0,0,0,.35); text-shadow: none; }
body.deco-lifecafe .hero-cta:hover { filter: brightness(1.12); }
body.deco-lifecafe .hero-note { margin: 0; padding: 0; background: none; color: #f9eed6; font-size: max(15px, var(--u) * .16); }

@media (max-width: 1199px) {
  body.deco-lifecafe .hero > *, body.deco-lifecafe .hero::before { --u: calc(100vw / 11.9); }
  body.deco-lifecafe .fx { background-position: calc(var(--u) * -5.85) 0; }
  body.deco-lifecafe .lc-lamps .hang { left: calc(var(--u) * -5.85); }
  body.deco-lifecafe .hero-inner { left: calc(var(--u) * 1.45); }
}
@supports (width: 1cqw) { @media (max-width: 1199px) { body.deco-lifecafe .hero > *, body.deco-lifecafe .hero::before { --u: calc(100cqw / 11.9); } } }
/* tablets and phones: the phone picture, whose wall stretches with the words between its eaves */
@media (max-width: 960px) {
  body.deco-lifecafe .hero > *, body.deco-lifecafe .hero::before { --u: min(100px, 26vw); }
  body.deco-lifecafe .hero::before { display: none; }
  body.deco-lifecafe .fx, .lc-dusk body.deco-lifecafe .fx, .lc-night body.deco-lifecafe .fx { inset: 0 auto; left: calc(50% - var(--u) * 4.8); width: calc(var(--u) * 9.6); background: none;
    border: solid transparent; border-width: calc(var(--u) * 2.9) 0; border-image: url("/img/lifecafe/wall-phone-day.webp") 40.28% 0 fill stretch; }
  .lc-dusk body.deco-lifecafe .fx { border-image-source: url("/img/lifecafe/wall-phone-dusk.webp"); }
  .lc-night body.deco-lifecafe .fx { border-image-source: url("/img/lifecafe/wall-phone-night.webp"); }
  body.deco-lifecafe .lc-lamps .w { display: none; }
  body.deco-lifecafe .lc-lamps .p { display: block; left: calc(50% - var(--u) * 4.8); width: calc(var(--u) * 9.6); }
  body.deco-lifecafe .lc-lamps .p i { background-size: calc(var(--u) * 9.6) calc(var(--u) * 7.2); background-image: url("/img/lifecafe/lanterns-phone-day.webp"); }
  .lc-dusk body.deco-lifecafe .lc-lamps .p i { background-image: url("/img/lifecafe/lanterns-phone-dusk.webp"); }
  .lc-night body.deco-lifecafe .lc-lamps .p i { background-image: url("/img/lifecafe/lanterns-phone-night.webp"); }
  body.deco-lifecafe .lc-lamps .p .k { --a: -2.3deg; height: calc(var(--u) * 1.24); }
  body.deco-lifecafe .hero-inner { position: relative; left: auto; top: auto; width: auto; height: auto; align-items: center; text-align: center; gap: 13px;
    padding: calc(var(--u) * 2.44) 16px calc(var(--u) * 2.4); }
  body.deco-lifecafe .hero-badge, body.deco-lifecafe .hero-note { font-size: 16px; }
  body.deco-lifecafe .hero p { font-size: 18px; }
  body.deco-lifecafe .hero h1 { font-size: 30px; gap: 10px; text-wrap: balance; }
  body.deco-lifecafe .hero-title2, html:lang(zh-CN) body.deco-lifecafe .hero h1 { font-size: 78px; }
  body.deco-lifecafe .hero-cta { min-height: 52px; font-size: 18px; }
}
@supports (width: 1cqw) { @media (max-width: 960px) { body.deco-lifecafe .hero > *, body.deco-lifecafe .hero::before { --u: min(100px, 26cqw); } } }
@media (max-width: 600px) {
  body.deco-lifecafe .brand { width: 150px; background: url("/img/lifecafe/wordmark.svg") no-repeat left center / 150px 34px; }
  body.deco-lifecafe .hero h1 { font-size: 27px; }
  body.deco-lifecafe .hero-title2, html:lang(zh-CN) body.deco-lifecafe .hero h1 { font-size: 66px; }
  body.deco-lifecafe .hero p { font-size: 17px; }
}
@media (max-width: 420px) { body.deco-lifecafe .brand { width: 124px; background-size: 124px auto; } }

/* ---------- panels on the boards ---------- */
body.deco-lifecafe .layout { position: relative; padding: 52px 16px 72px; grid-template-columns: minmax(0, 1fr) 350px; gap: 26px; }
body.deco-lifecafe .steps { gap: 26px; }
body.deco-lifecafe .closed-banner { position: relative; border-radius: 3px; }
body.deco-lifecafe .panel { padding: 30px 32px 32px; }
body.deco-lifecafe .panel-head { gap: 16px; margin-bottom: 22px; }
body.deco-lifecafe .panel h2 { font-weight: 500; font-size: 1.7rem; line-height: 1.15; }
body.deco-lifecafe .sub { font-weight: 500; font-size: 1.06rem; }
/* the step numbers as small amber plaques: 一 二 三 */
body.deco-lifecafe .step-no { width: 38px; height: 52px; border-radius: 0; background: var(--amber); border: 2px solid var(--wood); color: var(--on-amber); font-size: 0; }
body.deco-lifecafe .step-no::before { content: "一"; font: 400 30px/1 var(--brush); }
body.deco-lifecafe #stepPickup .step-no::before { content: "二"; }
body.deco-lifecafe #stepDetails .step-no::before { content: "三"; }

/* ---------- the menu: the cafe's printed one, black over dark oak with gold fret corners, at every hour ---------- */
body.deco-lifecafe #stepMenu { --panel: #130e0c; --ink: #f3e6ca; --muted: #cdb995; --line: rgba(217,171,85,.42); --gold: #d9ab55; --link: #f1cd86;
  color: var(--ink); border: 0; padding: 44px 40px; background:
    repeating-linear-gradient(91deg, rgba(255,220,170,.022) 0 2px, transparent 2px 7px, rgba(0,0,0,.16) 7px 9px, transparent 9px 17px),
    repeating-linear-gradient(90deg, transparent 0 196px, rgba(0,0,0,.5) 196px 198px),
    linear-gradient(180deg, #0f0c0b, #17110e 300px, #2c1f17); }
body.deco-lifecafe #stepMenu::before { content: ""; position: absolute; inset: 12px; pointer-events: none; border: 46px solid transparent; border-image: url("/img/lifecafe/frame.svg") 46 stretch; }
body.deco-lifecafe #stepMenu .panel-head { align-items: flex-end; gap: 20px; }
body.deco-lifecafe #stepMenu h2 { font-size: 1.5rem; }
body.deco-lifecafe #stepMenu h2::before { content: "点菜"; display: block; margin-bottom: 8px; font: 400 84px/.95 var(--brush); color: #fff; }
html:lang(zh-CN) body.deco-lifecafe #stepMenu h2 { font: 400 72px/1 var(--brush); color: #fff; }
html:lang(zh-CN) body.deco-lifecafe #stepMenu h2::before { display: none; }

body.deco-lifecafe .menu-groups { gap: 40px; }
body.deco-lifecafe .menu-group { scroll-margin-top: 146px; }
body.deco-lifecafe .group-nav { top: 63px; margin: 0; padding: 10px 0; background: #130e0c; border-bottom: 1px solid var(--line); }
body.deco-lifecafe .group-nav a { border: 1px solid var(--line); border-radius: 3px; background: none; color: #f1cd86; padding: 9px 14px; }
body.deco-lifecafe .group-nav a:hover { border-color: var(--gold); color: #fff; }
body.deco-lifecafe .group-title { font-family: var(--body-font); font-weight: 500; font-size: 1.2rem; color: #f1cd86; border: 0; padding: 0; margin: 0 0 28px; gap: 2px 12px; align-items: baseline; }
body.deco-lifecafe .group-title span { font: 400 25px/1.1 var(--brush); color: inherit; }
html:lang(zh-CN) body.deco-lifecafe .group-title { font: 400 28px/1.1 var(--brush); }
body.deco-lifecafe .group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; }

/* dishes: a photo (whole, never cropped), the name in brush over the English, price and Add. The first group is shown
   large, the others small. */
body.deco-lifecafe .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
body.deco-lifecafe .menu-group ~ .menu-group .menu-grid, body.deco-lifecafe .menu-grid.many { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
body.deco-lifecafe .menu-grid .card { flex-direction: column; align-items: stretch; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
body.deco-lifecafe .menu-grid .card .card-media { align-self: stretch; }
body.deco-lifecafe .menu-grid .card .card-photo { display: block; width: 100%; height: auto; margin: 0; aspect-ratio: auto; border-radius: 2px; overflow: visible; background: rgba(255,255,255,.04); }
body.deco-lifecafe .menu-grid .card .card-photo img { width: 100%; height: auto; max-height: none; object-fit: contain; }
body.deco-lifecafe .menu-grid .card .card-photo.slides img:not(:first-child) { height: 100%; }
body.deco-lifecafe .menu-grid .card.in-cart .card-photo { box-shadow: 0 0 0 2px var(--gold); }
body.deco-lifecafe .menu-grid .card .ph { aspect-ratio: 1; height: auto; background: #241a14; color: #f1cd86; font: 400 2.2rem/1.15 var(--brush); }
body.deco-lifecafe .photo-tag { display: block; position: absolute; left: 12px; top: -16px; padding: 5px 9px 6px; background: #a92018; color: #fff; font-size: 14px; line-height: 1; border-radius: 2px; }   /* on the edge: the photos have their own words in the corner */
body.deco-lifecafe .menu-grid .card .card-body { padding: 12px 0 0; gap: 6px; }
body.deco-lifecafe .menu-grid .card .card-title { display: flex; flex-direction: column-reverse; gap: 4px; font-weight: 500; font-size: 17px; line-height: 1.25; color: var(--ink); }
body.deco-lifecafe .menu-grid .card .card-title span, html:lang(zh-CN) body.deco-lifecafe .menu-grid .card .card-title { font: 400 29px/1.1 var(--brush); color: #fff; }
body.deco-lifecafe .menu-grid .card .more { color: var(--link); font-size: 15px; min-height: 32px; }
body.deco-lifecafe .menu-grid .card .buy { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 10px; margin-top: auto; padding: 0; }
body.deco-lifecafe .card-weight { display: block; flex: 1 0 100%; order: -1; font-size: 15px; color: var(--muted); }
body.deco-lifecafe .menu-grid .card .buy .price { display: block; margin: 0; padding: 0; line-height: 1.25; }
body.deco-lifecafe .menu-grid .card .buy .price strong { font-weight: 500; font-size: 25px; color: #f9cf80; }
body.deco-lifecafe #stepMenu .price :is(s, small, .from) { color: #cdb995; }
body.deco-lifecafe .menu-grid .card .buy .price small { display: block; font-size: 14px; }
body.deco-lifecafe .promo-now { gap: 4px 8px; }
body.deco-lifecafe .promo-was { gap: 0 8px; justify-content: flex-start; }
body.deco-lifecafe .promo-tag { background: #a92018; color: #fff; border-radius: 2px; font-weight: 500; font-size: 14px; letter-spacing: 0; text-transform: none; }
body.deco-lifecafe .menu-grid .card .buy .qty { margin: 0 0 0 auto; flex-direction: column; align-items: flex-end; gap: 4px; }
body.deco-lifecafe .menu-grid .card .buy .opt-qty { flex: 1 0 100%; align-items: stretch; }
body.deco-lifecafe .menu-grid .card .buy > .opt-picked { flex: 1 0 100%; background: rgba(217,171,85,.12); color: var(--ink); border-radius: 3px; }
body.deco-lifecafe .btn-add { min-height: 48px; border-radius: 3px; background: #b92a20; color: #fff; font-weight: 500; }
body.deco-lifecafe .btn-add:disabled { background: #3a302a; color: #c4b49a; }
body.deco-lifecafe .btn-opt { min-height: 48px; justify-content: center; border-radius: 3px; border-color: #b92a20; background: #b92a20; color: #fff; font-weight: 500; }
body.deco-lifecafe .btn-opt.has { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
body.deco-lifecafe .opt-n { background: var(--on-amber); color: var(--amber); }
body.deco-lifecafe .btn-opt:disabled { background: #3a302a; border-color: #3a302a; color: #c4b49a; }
body.deco-lifecafe .qty-ctrl { border-radius: 3px; border-color: #d9ab55; }
body.deco-lifecafe .buy .qty-ctrl { min-height: 48px; }
body.deco-lifecafe .qty-ctrl button { color: var(--link); }
body.deco-lifecafe .qty-ctrl button:disabled { color: var(--muted); opacity: .6; }
body.deco-lifecafe #stepMenu .qty-rule { color: var(--muted); text-align: right; }
body.deco-lifecafe #stepMenu :is(.qty-rule.stock-out, .stock-low) { color: #ffb59c; }
body.deco-lifecafe :is(.stock-flag, .tag-nonhalal) { border-radius: 2px; font-weight: 600; }
/* the small dishes: the button as wide as the tile */
body.deco-lifecafe :is(.menu-group ~ .menu-group, .menu-grid.many) .card .card-title { font-size: 15px; }
body.deco-lifecafe .menu-group ~ .menu-group .menu-grid .card .card-title span, body.deco-lifecafe .menu-grid.many .card .card-title span,
html:lang(zh-CN) body.deco-lifecafe .menu-group ~ .menu-group .menu-grid .card .card-title, html:lang(zh-CN) body.deco-lifecafe .menu-grid.many .card .card-title { font-size: 21px; }
body.deco-lifecafe .menu-group ~ .menu-group .menu-grid .card .buy .price strong, body.deco-lifecafe .menu-grid.many .card .buy .price strong { font-size: 21px; }
body.deco-lifecafe .menu-group ~ .menu-group .menu-grid .card .buy .qty, body.deco-lifecafe .menu-grid.many .card .buy .qty { flex: 1 0 100%; align-items: stretch; }
body.deco-lifecafe :is(.menu-group ~ .menu-group, .menu-grid.many) .qty-ctrl { justify-content: space-between; }

/* ---------- choices, calendar, fields ---------- */
body.deco-lifecafe .choice { border-width: 1px; border-radius: 3px; background: var(--field); padding: 14px 16px; }
body.deco-lifecafe .choice:not(.only)::before { display: none; }
body.deco-lifecafe .choice.only { padding-left: 42px; }
body.deco-lifecafe .choice.only::before { background: var(--link); }
body.deco-lifecafe .choice strong { font-weight: 500; font-size: 1.06rem; }
body.deco-lifecafe .wa { color: var(--muted); }
body.deco-lifecafe .choice.selected { background: var(--amber); border-color: var(--wood); color: var(--on-amber); box-shadow: inset 0 0 0 1px var(--wood); }
body.deco-lifecafe .choice.selected :is(small, .wa) { color: #43301a; }
body.deco-lifecafe .date-cal { max-width: 540px; border: 0; padding: 0; background: none; }
body.deco-lifecafe .cal-title { font-weight: 500; font-size: 1.15rem; }
body.deco-lifecafe .cal-nav { border-width: 1px; border-radius: 3px; background: var(--field); color: var(--ink); }
body.deco-lifecafe .cal-nav:hover:not(:disabled) { border-color: var(--link); color: var(--link); }
body.deco-lifecafe .cal-dow { font-size: 14px; text-transform: none; letter-spacing: 0; }
body.deco-lifecafe .cal-dow.we { color: var(--muted); }
body.deco-lifecafe .cal-cell { border-radius: 3px; }
body.deco-lifecafe .cal-cell.none { color: var(--muted); }
body.deco-lifecafe .cal-cell.date-on { background: var(--open); color: var(--open-ink); border: 1px solid var(--open-line); }
body.deco-lifecafe .cal-cell.date-on:hover { border-color: var(--link); }
body.deco-lifecafe .cal-cell.date-on b { font-weight: 500; }
body.deco-lifecafe .cal-cell.date-on.closed, body.deco-lifecafe .cal-key.shut i { background: none; border: 1px dashed var(--line); color: var(--muted); }
body.deco-lifecafe .cal-cell i.dot, body.deco-lifecafe .cal-key i.dot { background: var(--open-line); }
body.deco-lifecafe .cal-cell.date-on.selected { background: var(--primary); border-color: var(--primary); color: var(--on-primary); box-shadow: none; }
body.deco-lifecafe .cal-pages button { border-radius: 3px; background: var(--field); }
body.deco-lifecafe .cal-pages button.on { background: var(--amber); border-color: var(--wood); color: var(--on-amber); }
body.deco-lifecafe .one-date { border: 1px solid var(--wood); border-radius: 3px; background: var(--amber); color: var(--on-amber); }
body.deco-lifecafe .one-date small { color: #43301a; }
body.deco-lifecafe .field { font-weight: 400; font-size: 1rem; }
body.deco-lifecafe .field input, body.deco-lifecafe .opt-search { min-height: 50px; border: 1px solid var(--line); border-radius: 3px; background: var(--field); color: var(--ink); }
body.deco-lifecafe .field input::placeholder, body.deco-lifecafe .opt-search::placeholder { color: var(--muted); opacity: 1; }
body.deco-lifecafe .field input:focus { border-color: var(--link); box-shadow: 0 0 0 3px rgba(217,171,85,.35); outline: 0; }
body.deco-lifecafe .field.invalid input { border-color: #d8432f; }

/* ---------- order summary: headed like the hanging sign, with a bowl from the menu ---------- */
body.deco-lifecafe .summary { padding: 0; overflow: hidden; top: 84px; }
body.deco-lifecafe .summary-head { position: relative; display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 20px 24px; overflow: hidden;
  background: var(--amber); color: var(--on-amber); border-bottom: 4px solid var(--wood); }
body.deco-lifecafe .summary-head h2 { margin: 0; font-size: 1.6rem; position: relative; z-index: 1; }
body.deco-lifecafe .summary-head::after { content: ""; position: absolute; right: 14px; top: -28px; width: 104px; height: 163px; background: url("/img/lifecafe/bowl.svg") no-repeat top / 100% auto; }
body.deco-lifecafe .summary-body { padding: 20px 24px 24px; }
body.deco-lifecafe .summary-lines { font-size: 1rem; }
body.deco-lifecafe .totals { border-top-style: solid; }
body.deco-lifecafe .totals .grand { font-weight: 500; font-size: 1.36rem; }
body.deco-lifecafe .totals .grand dd { color: inherit; }
body.deco-lifecafe :is(.set-offer, .promo-note) { background: rgba(217,171,85,.14); color: var(--ink); border-color: #d9ab55; border-radius: 3px; }

/* buttons */
body.deco-lifecafe .btn { border-radius: 3px; font-weight: 500; }
body.deco-lifecafe .btn-primary { box-shadow: 0 2px 0 rgba(0,0,0,.3); }
body.deco-lifecafe .summary .btn-primary { min-height: 54px; font-size: 1.06rem; }
body.deco-lifecafe .btn-ghost { color: var(--link); border-color: var(--link); }
body.deco-lifecafe :is(.link-btn, .opt-extra, .opt-row.on .opt-name b, .drop-empty strong) { color: var(--link); }
body.deco-lifecafe .mobile-bar { border-top: 0; box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
body.deco-lifecafe .mobile-bar small { color: #e6d4b1; opacity: 1; }
body.deco-lifecafe .mobile-bar strong { font-weight: 500; }

/* ---------- pop-up windows ---------- */
body.deco-lifecafe dialog.sheet { border-radius: 4px; }
body.deco-lifecafe dialog.sheet::backdrop { background: rgba(14,8,5,.68); }
body.deco-lifecafe .sheet-inner h2 { font-weight: 500; }
body.deco-lifecafe dialog .price strong { color: var(--link); }
body.deco-lifecafe :is(.tabs, .bank, .drop, .detail-buy .qty-ctrl, .copy) { background: var(--field); color: var(--ink); border-radius: 3px; }
body.deco-lifecafe :is(.pay-amount, .qr-box, .gallery-main, .opt-head img, .notice, .tab) { border-radius: 3px; }
body.deco-lifecafe .opt-head img { height: auto; object-fit: contain; }
body.deco-lifecafe .box-list.full .box-count { background: var(--amber); border-color: var(--wood); color: var(--on-amber); }
/* a QR code stays black on white */
.lc-night body.deco-lifecafe .qr-box { background: #fff; color: #23262a; }
.lc-night body.deco-lifecafe .qr-box .btn-ghost { color: #b0241b; border-color: #b0241b; }
.lc-night body.deco-lifecafe .qr-missing { color: #5a5e62; }
.lc-night body.deco-lifecafe .pay-help { color: #a5ecc4; }
.lc-night body.deco-lifecafe .field input:-webkit-autofill { -webkit-text-fill-color: #f6e9d0; box-shadow: inset 0 0 0 60px #2d231c; }

/* ---------- footer: the tea room's wall, with the tea sign between its couplets, over the pavement ---------- */
body.deco-lifecafe .footer { position: relative; overflow: hidden; padding: 54px 20px 80px; color: #f7ecd2; background:
    linear-gradient(rgba(0,0,0,calc(var(--dark) * .6)), rgba(0,0,0,calc(var(--dark) * .6))) bottom / 100% 40px no-repeat,
    linear-gradient(180deg, rgba(0,0,0,.4), transparent 30%) bottom / 100% 40px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(30,10,6,.6) 58px 60px) bottom / 100% 40px no-repeat,
    linear-gradient(#8a4a33, #8a4a33) bottom / 100% 40px no-repeat,
    radial-gradient(520px 340px at 50% 34%, rgba(255,190,96,calc(.16 + var(--lit) * .16)), transparent),
    repeating-linear-gradient(90deg, #1b110c 0 12px, #38241a 12px 15px, #2c1c13 15px 30px, #150d09 30px 33px); }
body.deco-lifecafe .footer::before, body.deco-lifecafe .footer::after { content: ""; position: absolute; bottom: 40px; left: 2%; width: 290px; height: 100%;
  background: url("/img/lifecafe/bamboo.svg") no-repeat bottom / 100% auto; filter: brightness(calc(1 - var(--dark) * .6)); }
body.deco-lifecafe .footer::after { left: auto; right: 2%; transform: scaleX(-1); }
body.deco-lifecafe .lc-tea { position: relative; z-index: 1; display: flex !important; align-items: center; justify-content: center; gap: 30px; margin-bottom: 26px; }
body.deco-lifecafe .lc-tea span { writing-mode: vertical-rl; padding: 16px 10px; background: #120d0b; color: #efbf62; font: 400 30px/1.1 var(--brush); letter-spacing: .06em; }
body.deco-lifecafe .lc-tea i { width: 176px; height: 208px; background: #120d0b url("/img/lifecafe/tea-gold.svg") no-repeat center / 122px auto; }
body.deco-lifecafe .footer p { position: relative; z-index: 1; margin: 0 0 10px; font-size: 1.18rem; }
body.deco-lifecafe .footer .footer-small { color: #dcc9a6; font-size: 15px; opacity: 1; }

/* ---------- tablets and phones ---------- */
@media (max-width: 960px) {
  body.deco-lifecafe .layout { grid-template-columns: minmax(0, 1fr); padding-top: 44px; }
  body.deco-lifecafe .footer::before, body.deco-lifecafe .footer::after { width: 210px; }
}
@media (max-width: 600px) {
  body.deco-lifecafe { background-size: auto, auto, 960px auto; }
  body.deco-lifecafe .layout { padding: 30px 14px 32px; }
  body.deco-lifecafe .panel:not(.summary) { padding: 24px 18px 26px; }
  body.deco-lifecafe #stepMenu.panel { padding: 38px 22px 40px; }
  body.deco-lifecafe #stepMenu::before { inset: 6px; border-width: 26px; }
  body.deco-lifecafe #stepMenu h2::before { font-size: 68px; }
  html:lang(zh-CN) body.deco-lifecafe #stepMenu h2 { font-size: 52px; }
  body.deco-lifecafe .group-title { flex-wrap: wrap; }
  body.deco-lifecafe .menu-grid, body.deco-lifecafe .menu-group ~ .menu-group .menu-grid, body.deco-lifecafe .menu-grid.many { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  body.deco-lifecafe .menu-grid .card .card-title { font-size: 15px; }
  body.deco-lifecafe .menu-grid .card .card-title span, html:lang(zh-CN) body.deco-lifecafe .menu-grid .card .card-title { font-size: 20px; }
  body.deco-lifecafe .menu-grid .card .buy .price strong { font-size: 21px; }
  body.deco-lifecafe .menu-grid .card .buy .qty { flex: 1 0 100%; align-items: stretch; }
  body.deco-lifecafe .menu-grid .card .qty-ctrl { justify-content: space-between; }
  body.deco-lifecafe .menu-grid .card .photo-tag { display: block; font-size: 13px; left: 8px; }
  body.deco-lifecafe .lc-tea { gap: 14px; }
  body.deco-lifecafe .lc-tea i { width: 128px; height: 168px; background-size: 92px auto; }
  body.deco-lifecafe .lc-tea span { font-size: 25px; }
  body.deco-lifecafe .footer { padding-bottom: 190px; }
  body.deco-lifecafe .footer::before, body.deco-lifecafe .footer::after { width: 164px; }
}
@media (prefers-reduced-motion: reduce) { body.deco-lifecafe .lc-lamps i { animation: none; } }
@media print { body.deco-lifecafe .lc-lamps, body.deco-lifecafe .lc-tea { display: none !important; } }
