/* 缘日着物 · 预约网站原型 */
:root {
  /* 版式：照官网 ennichikimono.com —— 暖白纸色、深酒红、宋体细字、方角；标题居中、留白多 */
  --paper: #FFFAF6;      /* 页面底色 */
  --paper-2: #F7F0E4;    /* 浅米色区块 */
  --card: #FFFFFF;
  --ink: #2D2D2D;
  --ink-2: #5E6672;      /* 次要文字：偏蓝的灰 */
  --line: #EAE3DA;
  --line-2: #CFC7BC;
  --shu: #591318;        /* 品牌色：深酒红 */
  --shu-dark: #3F0D11;
  --shu-soft: #F4E9E6;
  --ai: #591318;         /* 焦点框 */
  --ok: #3C6B4E;
  --ok-soft: #E6EEE5;
  --serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --jp: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif SC", "Songti SC", serif;
  --latin: "Playfair Display", "Noto Serif SC", Georgia, serif;
  --sans: "Noto Serif SC", "Songti SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
  --r: 2px;
  --bar-h: 68px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.65 var(--sans); min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--shu-dark); }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ai); outline-offset: 2px; }
.muted { color: var(--ink-2); font-size: 14px; }
small { font-size: 13px; color: var(--ink-2); font-weight: 400; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 720px; padding-top: 28px; padding-bottom: 56px; }

/* ---------- 顶部 ---------- */
.demo-strip { background: var(--ink); color: #EDE4D3; font-size: 12px; text-align: center; padding: 5px 12px; letter-spacing: .02em; }
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.seal { width: 34px; height: 34px; border-radius: 50%; background: var(--shu); display: grid; place-items: center; flex: none; }
.seal-mark { width: 14px; height: 22px; background: #FFFFFF; -webkit-mask: url(../images/logo-mark.png) center / contain no-repeat; mask: url(../images/logo-mark.png) center / contain no-repeat; }
.brand-en { font: 400 15px/1 var(--latin); letter-spacing: .32em; text-transform: uppercase; }
.brand-name { font: 400 18px/1 var(--jp); letter-spacing: .14em; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav a:hover { background: var(--paper-2); }
.nav a.is-on { color: var(--shu-dark); font-weight: 600; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--shu); color: #FFF8F0; }
.btn-primary:hover { background: var(--shu-dark); }
.btn-primary:disabled { background: #CFC4B2; color: #F6F1E7; }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--paper-2); }
.btn-ghost { background: transparent; color: var(--ink-2); padding: 0 12px; }
.btn-ghost:hover { color: var(--ink); background: var(--paper-2); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 14px; }
.link { background: none; border: 0; padding: 4px 0; color: var(--shu-dark); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- 首页 ---------- */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-in { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 0; }
.eyebrow { font-size: 13px; letter-spacing: .24em; color: var(--shu-dark); margin-bottom: 14px; }
.hero h1 { font: 700 clamp(34px, 8.4vw, 58px)/1.22 var(--serif); letter-spacing: .04em; }
.lead { margin-top: 18px; color: var(--ink-2); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-art { display: flex; justify-content: center; align-items: flex-end; gap: 12px; }
.arch { flex: 1; max-width: 170px; border-radius: 999px 999px 0 0; border: 1px solid var(--line); border-bottom: 0; padding: 26px 12px 0; }
.arch-1 { max-width: 200px; padding-top: 34px; }
.arch svg { width: 100%; height: auto; }
.arch { position: relative; overflow: hidden; }
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.sec { padding: 52px 0; }
.sec-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { font: 700 26px/1.3 var(--serif); letter-spacing: .08em; margin-bottom: 24px; }
.sec-title::after { content: ""; display: block; width: 36px; height: 1px; background: var(--shu); margin: 16px auto 0; }
.flow { display: grid; gap: 4px 28px; }
.flow li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.flow-n { font: 700 22px/1.4 var(--serif); color: var(--shu); width: 1.2em; flex: none; }
.flow h3 { font-size: 16px; }
.flow p { color: var(--ink-2); font-size: 14px; }
.codepromo { display: grid; gap: 28px; align-items: center; }
.codepromo p { max-width: 34em; margin-bottom: 10px; }
.codepromo .btn { margin-top: 8px; }
.store-list { display: grid; gap: 12px; }
.store-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; position: relative; }
.store-card h3 { font: 700 19px/1.4 var(--serif); letter-spacing: .06em; }

.foot { border-top: 1px solid var(--line); padding: 22px 0; font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot span:first-child { font-family: var(--serif); font-weight: 700; letter-spacing: .1em; }

/* ---------- 定金码票 ---------- */
.ticket {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--card); border: 1px dashed var(--shu); border-radius: var(--r); padding: 16px 18px; margin: 18px 0;
}
.ticket-label { font-size: 13px; color: var(--shu-dark); letter-spacing: .12em; }
.ticket-code { font: 700 clamp(20px, 6vw, 26px)/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .08em; flex: 1; user-select: all; }
.ticket-note { font-size: 12px; color: var(--ink-2); }
.ticket-demo { margin: 0; }

/* ---------- 向导 ---------- */
.wizard { padding-top: 16px; padding-bottom: 32px; }
.change-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--ok-soft); border: 1px solid #BFD3BF; border-radius: var(--r); padding: 10px 14px; margin-bottom: 12px; font-size: 14px;
}
.stepper { margin: 0 -16px 20px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.stepper::-webkit-scrollbar { display: none; }
.stepper ol { display: flex; padding: 0 12px; min-width: max-content; }
.stepper button { display: flex; align-items: center; gap: 6px; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 8px 9px; font-size: 14px; color: var(--ink-2); }
.stepper button:disabled { opacity: .55; }
.stepper .st-n { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 12px; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.stepper .is-done button { color: var(--ink); opacity: 1; }
.stepper .is-done .st-n { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.stepper .is-now button { color: var(--shu-dark); font-weight: 600; border-bottom-color: var(--shu); opacity: 1; }
.stepper .is-now .st-n { background: var(--shu); border-color: var(--shu); color: #FFF8F0; }

.wiz-grid { display: grid; gap: 28px; }
.wiz-main { min-width: 0; }
.summary { display: none; }
.step-title, .page-title { font: 700 26px/1.3 var(--serif); letter-spacing: .06em; }
.step-sub { color: var(--ink-2); margin: 6px 0 18px; font-size: 15px; }
.step-sub strong { color: var(--ink); }
.sub-title { font-size: 16px; margin: 28px 0 12px; display: flex; align-items: baseline; gap: 10px; }
.note { background: var(--shu-soft); border-radius: 8px; padding: 10px 14px; font-size: 14px; margin: 12px 0; }
.empty { padding: 36px 0; text-align: center; color: var(--ink-2); }
.err { color: var(--shu-dark); font-size: 14px; margin-top: 6px; }

/* 日历 */
.cal { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; max-width: 420px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { font: 700 18px var(--serif); letter-spacing: .06em; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 20px; line-height: 1; }
.cal-nav:disabled { opacity: .3; }
.cal-wk, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-wk { font-size: 12px; color: var(--ink-2); padding: 6px 0; }
.day { aspect-ratio: 1; border: 1px solid transparent; border-radius: 50%; background: none; font-size: 15px; font-variant-numeric: tabular-nums; position: relative; }
.day:hover:not(:disabled) { border-color: var(--line-2); }
.day:disabled { color: #C4B9A6; }
.day.is-sel { background: var(--shu); color: #FFF8F0; font-weight: 700; }
.day.is-orig::after, .cal-legend i { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--ok); }
.cal-legend { font-size: 12px; color: var(--ink-2); margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.cal-legend i { position: static; margin: 0; display: inline-block; }

/* 人数 */
.counters { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); max-width: 480px; }
.counter { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; }
.counter + .counter { border-top: 1px solid var(--line); }
.counter-t { font: 700 18px/1.4 var(--serif); letter-spacing: .06em; }
.counter-ctl { display: flex; align-items: center; gap: 6px; }
.counter-ctl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); font-size: 20px; line-height: 1; }
.counter-ctl button:disabled { opacity: .35; }
.counter-ctl output { width: 36px; text-align: center; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 选和服 */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px 9px; font: 700 17px var(--serif); letter-spacing: .06em; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.tab.is-on { color: var(--ink); border-bottom-color: var(--shu); }
.tab-n { font: 600 12px var(--sans); letter-spacing: 0; background: var(--paper-2); border-radius: 999px; padding: 2px 8px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tab.is-done .tab-n { background: var(--ok-soft); color: var(--ok); }
.lock-note { display: flex; gap: 10px 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--ok-soft); border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 16px; padding: 2px 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; font-size: 14px; min-height: 36px; }
.chip span { color: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip.is-on span { color: #CFC4B2; }

.kgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kcard { display: flex; flex-direction: column; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0; overflow: hidden; position: relative; transition: border-color .15s, box-shadow .15s; }
.kcard:hover:not(:disabled) { border-color: var(--line-2); }
.kcard-img { display: block; aspect-ratio: 4 / 5; position: relative; padding: 10px 14px 0; }
.kcard-img svg { width: 100%; height: 100%; }
.kcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: 1; }
.kcard-tag, .kcard-mask { z-index: 2; }
.price-note { margin-top: 16px; }
.kcard-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.kcard-name { font: 700 16px/1.4 var(--serif); letter-spacing: .04em; }
.kcard-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 8px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.kcard-store { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-top: 4px; }
.kcard-store i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.kcard-store.is-other { color: var(--shu-dark); }
.kcard-store.is-other i { background: var(--shu); }
.kcard-tag { position: absolute; left: 8px; top: 8px; background: var(--shu); color: #FFF8F0; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.kcard.is-picked { border-color: var(--shu); box-shadow: 0 0 0 2px var(--shu); }
.kcard.is-other .kcard-img svg, .kcard.is-other .kcard-img img, .kcard.is-other .kcard-body { opacity: .42; }
.kcard.is-other .kcard-mask { background: rgba(255, 253, 248, .92); color: var(--ink-2); border: 1px solid var(--line-2); }
.kcard.is-off .kcard-img svg, .kcard.is-off .kcard-img img, .kcard.is-off .kcard-body { opacity: .32; filter: grayscale(.6); }
.kcard-mask { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgba(34, 29, 23, .86); color: #F6F1E7; font-size: 12px; text-align: center; padding: 5px 6px; border-radius: 6px; }

/* 门店与时间 */
.store-opts { display: grid; gap: 10px; margin: 16px 0 8px; }
.store-opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px 16px; }
.store-opt:hover:not(:disabled) { border-color: var(--ink); }
.so-radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); margin-top: 4px; }
.so-body { display: flex; flex-direction: column; min-width: 0; font-size: 14px; color: var(--ink-2); }
.so-body strong { font: 700 19px/1.4 var(--serif); letter-spacing: .06em; color: var(--ink); }
.so-ok { color: var(--ok); font-weight: 600; margin-top: 4px; }
.so-no { color: var(--shu-dark); margin-top: 4px; }
.store-opt.is-on { border-color: var(--shu); box-shadow: 0 0 0 1px var(--shu); }
.store-opt.is-on .so-radio { border-color: var(--shu); background: radial-gradient(circle, var(--shu) 0 45%, transparent 50%); }
.store-opt:disabled { background: transparent; border-style: dashed; border-color: var(--line); }
.store-opt:disabled strong, .store-opt:disabled .so-body > span:nth-child(2) { opacity: .5; }
.store-opt:disabled .so-radio { opacity: .4; }
.mini-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.mini { width: 40px; height: 50px; border-radius: 6px; border: 1px solid var(--line); padding: 3px 4px 0; overflow: hidden; flex: none; display: block; position: relative; }
.mini svg { width: 100%; height: 100%; }
.mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.slot { background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 4px; display: flex; flex-direction: column; align-items: center; line-height: 1.3; min-height: 56px; }
.slot strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.slot-t { min-height: 48px; justify-content: center; }
.when { display: grid; gap: 4px; }
.when .sub-title { margin-top: 20px; }
.slot span { font-size: 12px; color: var(--ink-2); }
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot:disabled { background: transparent; border-style: dashed; border-color: var(--line); color: #B5A995; }
.slot:disabled span { color: #B5A995; }
.slot.is-sel { background: var(--shu); border-color: var(--shu); color: #FFF8F0; }
.slot.is-sel span { color: #F6D9D2; }

/* 确认订单 */
.review { display: grid; gap: 12px; }
.rv { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.rv-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); letter-spacing: .08em; margin-bottom: 4px; }
.rv-big { font: 700 22px/1.4 var(--serif); letter-spacing: .04em; }
.pick-rows { margin-top: 10px; }
.pick-rows li { display: grid; grid-template-columns: 40px auto 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.pr-who { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.pr-name { min-width: 0; }
.pr-price, .rv-sum strong { font-variant-numeric: tabular-nums; }
.rv-sum { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.rv-sum + .rv-sum { border-top: 0; padding-top: 2px; margin-top: 0; }
.rv-sum.rv-total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px; }
.rv-total strong { font-size: 18px; }

/* 妆造 / 摄影 */
.addons { display: grid; gap: 12px; }
.addon { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.addon-h { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; }
.addon-t { font: 700 18px/1.4 var(--serif); letter-spacing: .06em; }
.addon-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.addon-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: var(--paper); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; min-height: 68px; }
.addon-opt.is-on { border-color: var(--shu); box-shadow: 0 0 0 1px var(--shu); background: var(--card); }
.addon-name { font-weight: 600; font-size: 15px; }
.addon-opt.is-on .addon-name { color: var(--shu-dark); }
.addon-desc { color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.addon-price { font-size: 13px; font-variant-numeric: tabular-nums; margin-top: auto; padding-top: 4px; }
.addon-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.addon-qty small { display: block; }

.form { display: grid; gap: 14px; }
.field { display: block; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field b { color: var(--shu); }
.either { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); margin: 0; padding: 12px 14px 14px; display: grid; gap: 12px; min-width: 0; }
.either legend { font-size: 14px; font-weight: 600; padding: 0 6px; }
.either legend b { color: var(--shu); }
.either .field > span { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--card);
  border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 12px; min-height: 46px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--ai); outline-offset: 0; border-color: var(--ai); }
.field input::placeholder, .field textarea::placeholder { color: #B5A995; }

/* 支付 */
.code-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; background: var(--card); border: 1px dashed var(--shu); border-radius: var(--r); padding: 14px 16px; font-weight: 600; color: var(--shu-dark); text-align: left; }
.code-toggle span { font-size: 20px; line-height: 1; }
.code-box { background: var(--card); border: 1px dashed var(--shu); border-radius: var(--r); padding: 14px 16px; }
.code-in { display: flex; gap: 8px; }
.code-in input { flex: 1; min-width: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.code-box .muted { margin-top: 6px; }
.code-ok { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; background: var(--ok-soft); border: 1px solid #BFD3BF; border-radius: var(--r); padding: 14px 16px; }
.code-ok strong { color: var(--ok); }
.code-ok p { font-size: 14px; margin-top: 4px; }
.pay-rows { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 18px; margin-top: 14px; }
.pay-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-variant-numeric: tabular-nums; }
.pay-rows > div + div { border-top: 1px solid var(--line); }
.pay-rows small { display: block; }
.is-credit { color: var(--ok); }
.pay-total { align-items: baseline; }
.pay-total strong { font: 700 28px/1.2 var(--serif); color: var(--shu-dark); }
.pay-rest { color: var(--ink-2); font-size: 14px; }
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.method { background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; min-height: 48px; font-size: 15px; }
.method.is-on { border-color: var(--shu); box-shadow: 0 0 0 1px var(--shu); color: var(--shu-dark); font-weight: 600; }
.demo-note { font-size: 13px; color: var(--ink-2); background: var(--paper-2); border-radius: 8px; padding: 8px 12px; margin: 12px 0; }

/* 底部操作条 */
.bar { position: sticky; bottom: 0; z-index: 15; background: rgba(246, 241, 231, .96); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bar-in { display: flex; align-items: center; gap: 10px; min-height: var(--bar-h); }
.bar-hint { flex: 1; min-width: 0; font-size: 13px; color: var(--ink-2); text-align: right; line-height: 1.35; }
.bar .btn-ghost { padding: 0 8px; }

/* 订单页 */
.lookup { margin-bottom: 8px; }
.order-list { display: grid; gap: 10px; }
.order-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; text-decoration: none; color: var(--ink); }
.order-list a:hover { border-color: var(--line-2); }
.order-list strong { display: block; font: 700 18px/1.4 var(--serif); }
.order-list a span { font-size: 13px; color: var(--ink-2); }
.status { flex: none; font-size: 12px !important; font-weight: 600; color: var(--ok) !important; background: var(--ok-soft); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.status.is-past { color: var(--ink-2) !important; background: var(--paper-2); }
.back { display: inline-block; font-size: 14px; margin-bottom: 10px; text-decoration: none; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-head > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.history li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }

.done-head { text-align: center; padding: 12px 0 4px; }
.done-mark { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 26px; align-items: center; justify-content: center; margin-bottom: 10px; }
.done-head h1 { font: 700 30px/1.3 var(--serif); letter-spacing: .1em; }
.done-head p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.done-tip { font-size: 14px; margin-bottom: 18px; }
.done-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.toast { position: fixed; left: 50%; bottom: calc(var(--bar-h) + 20px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); background: var(--ink); color: var(--paper); font-size: 14px; line-height: 1.5; padding: 10px 16px; border-radius: 10px; max-width: min(92vw, 420px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 40; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body:not([data-view="book"]) .toast { bottom: calc(24px + env(safe-area-inset-bottom)); }

/* ---------- 宽屏 ---------- */
@media (min-width: 560px) {
  .kgrid { grid-template-columns: repeat(3, 1fr); }
  .slots { grid-template-columns: repeat(5, 1fr); }
  .form { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .either { grid-template-columns: 1fr 1fr; }
  .store-list { grid-template-columns: repeat(3, 1fr); }
  .store-opts { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .wrap { padding: 0 32px; }
  .top-in { height: 64px; }
  .hero-in { grid-template-columns: 1.05fr .95fr; align-items: end; padding-top: 72px; }
  .hero-text { padding-bottom: 72px; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .codepromo { grid-template-columns: 1.2fr .8fr; }
  .stepper { margin: 0 0 28px; }
  .stepper ol { padding: 0; }
  .stepper button { padding: 12px 16px 11px 4px; margin-right: 12px; font-size: 15px; }
  .wiz-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
  .summary { display: block; position: sticky; top: 88px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
  .summary h3 { font: 700 17px var(--serif); letter-spacing: .08em; margin-bottom: 8px; }
  .sm-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
  .sm-row > span:first-child { color: var(--ink-2); flex: none; }
  .sm-row > span:last-child { text-align: right; }
  .sm-row .muted { color: #B5A995; }
  .sm-picks .mini-row { margin: 0; justify-content: flex-end; }
  .sm-picks .mini { width: 30px; height: 38px; }
  .sm-money { border-top: 1px solid var(--ink); margin-top: 4px; padding-top: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
  .sm-money div { display: flex; justify-content: space-between; padding: 2px 0; }
  .kgrid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .slots { grid-template-columns: repeat(6, 1fr); }
  .when { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; align-items: start; }
  .when .sub-title { margin-top: 0; }
  .when .slots { grid-template-columns: repeat(3, 1fr); }
  .chips { margin: 0 0 16px; padding: 2px 0; }
  .bar-hint { font-size: 14px; }
  .toast { bottom: calc(var(--bar-h) + 28px); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* 门店地图 */
.store-wrap { display: grid; gap: 20px; }
.store-map { width: 100%; max-width: 420px; height: auto; border-radius: var(--r); border: 1px solid var(--line); justify-self: center; }
.store-access { margin: 8px 0; padding-left: 1.1em; list-style: disc; font-size: 15px; }
.store-access li + li { margin-top: 2px; }

/* 到店再挑的占位、加选项目说明 */
.mini-q { display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); font-weight: 700; }
.addon-note { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.addon-opt:disabled { opacity: .45; }

/* 注意事项、确认邮件、取消确认 */
.notice-list { list-style: decimal; padding-left: 1.4em; display: grid; gap: 8px; font-size: 15px; line-height: 1.6; }
.notice-fold { margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.notice-fold summary { cursor: pointer; font-weight: 600; }
.notice-fold[open] summary { margin-bottom: 10px; }
.mail { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin-bottom: 18px; font-size: 14px; }
.mail summary { cursor: pointer; color: var(--shu-dark); margin-top: 6px; }
.mail-body { margin-top: 10px; padding: 12px 14px; background: var(--paper); border-radius: 8px; font: 13px/1.7 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; }
.order-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.confirm { background: var(--shu-soft); border-radius: var(--r); padding: 16px 18px; margin: 12px 0 18px; }
.confirm p { margin: 6px 0 12px; font-size: 14px; }
.confirm-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; padding-top: calc(16px + env(safe-area-inset-top, 0px)); padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); background: rgba(31, 27, 22, .55); }
.modal-box { background: var(--card); border-radius: var(--r); width: 100%; max-width: 560px; max-height: 100%; overflow-y: auto; padding: 22px 22px 20px; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); display: grid; gap: 16px; }
.modal-box h2 { font: 700 20px/1.4 var(--serif); letter-spacing: .06em; }
@media (min-width: 900px) {
  .store-wrap { grid-template-columns: 360px 1fr; align-items: start; }
  .store-map { max-width: none; }
}

.store-wrap .store-list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-content: start; }

/* 另选配件 */
.acc-list { display: grid; gap: 0 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.acc { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.acc-name { font-weight: 600; font-size: 15px; }
.acc-name small { display: block; font-weight: 400; font-variant-numeric: tabular-nums; }
.acc .counter-ctl button { width: 40px; height: 40px; }

/* 价目表 */
.menu { display: grid; gap: 20px 40px; }
.menu-group h3 { font: 700 17px/1.4 var(--serif); letter-spacing: .08em; color: var(--shu-dark); margin-bottom: 4px; }
.menu-group li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.menu-name { font-weight: 600; min-width: 0; }
.menu-name small { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 400; padding: 1px 8px; border-radius: 999px; vertical-align: 1px; }
.menu-only { background: var(--paper-2); color: var(--ink-2); }
.menu-online { background: var(--shu-soft); color: var(--shu-dark); }
.menu-prices { display: grid; gap: 2px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-prices i { font-style: normal; color: var(--ink-2); font-size: 13px; margin-right: 10px; }
.menu-notes { margin-top: 18px; padding-left: 1.1em; list-style: disc; font-size: 14px; color: var(--ink-2); display: grid; gap: 4px; }
@media (min-width: 900px) { .menu { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ================= 官网风格：覆盖样式 ================= */
body { letter-spacing: .02em; }
h1, h2, h3, .step-title, .page-title, .sec-title, .counter-t, .addon-t, .rv-big, .tab, .kcard-name, .cal-head strong, .store-card h3, .modal-box h2, .menu-group h3 { font-weight: 500; }
.demo-strip { background: var(--shu); color: #F3E3DF; letter-spacing: .08em; }
.top { background: rgba(255, 255, 255, .96); border-bottom: 0; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(89, 19, 24, .04); }
.top-in { height: 62px; }
.brand { gap: 12px; }
.nav { align-items: center; gap: 6px; }
.nav a { border-radius: 0; font-size: 14px; letter-spacing: .14em; }
.nav a:hover { background: transparent; color: var(--shu); }
.nav a.is-on { font-weight: 500; }
.nav a.nav-cta { background: var(--shu); color: #FFFFFF; padding: 10px 22px; letter-spacing: .22em; font-size: 13px; }
.nav a.nav-cta:hover, .nav a.nav-cta.is-on { background: var(--shu-dark); color: #FFFFFF; }
.btn { border-radius: 0; font-weight: 500; letter-spacing: .16em; }
.btn-primary { color: #FFFFFF; }
.btn-primary:disabled { background: #D8CFC8; color: #FFFAF6; }
.btn-line { border-color: var(--shu); color: var(--shu); }
.btn-line:hover { background: var(--shu-soft); }
.chip, .kcard-tag, .tab-n, .status, .menu-name small { border-radius: 0; }
.chip.is-on { background: var(--shu); border-color: var(--shu); }
.chip.is-on span { color: #E9D3CF; }
.hero { background: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)), var(--paper-2); border-bottom: 0; }
.eyebrow { font-size: 13px; letter-spacing: .34em; color: var(--ink-2); }
.hero h1 { font: 400 clamp(34px, 7vw, 54px)/1.45 var(--jp); letter-spacing: .1em; color: var(--shu); }
.lead { line-height: 2; }
.arch { border-radius: 0; border: 0; box-shadow: 0 14px 34px rgba(45, 45, 45, .16); }
.sec { padding: 64px 0; }
.sec-alt { border: 0; }
.sec-title { text-align: center; font: 400 28px/1.4 var(--serif); letter-spacing: .14em; margin-bottom: 36px; }
.flow-n { font-weight: 400; }
.step-title, .page-title { letter-spacing: .1em; }
.kcard { border: 0; background: transparent; border-radius: 0; overflow: visible; }
.kcard-img { overflow: hidden; }
.kcard-body { border-top: 0; padding: 12px 2px 6px; text-align: center; }
.kcard-name { font-size: 15px; letter-spacing: .1em; }
.kcard-meta { justify-content: center; gap: 2px 12px; letter-spacing: .04em; }
.kcard-meta span:last-child { color: var(--shu); }
.kcard.is-picked { box-shadow: none; }
.kcard.is-picked .kcard-img { outline: 2px solid var(--shu); outline-offset: 3px; }
.kcard-mask { border-radius: 0; }
.store-card, .addon, .rv, .cal, .counters, .pay-rows, .mail, .notice-fold, .summary, .ticket, .modal-box, .confirm, .store-map { box-shadow: 0 1px 0 rgba(45, 45, 45, .02); }
.foot { background: #FFFFFF; border-top: 4px solid var(--shu); padding: 26px 0; }
.foot span:first-child { font-weight: 500; letter-spacing: .18em; }
.menu-group h3 { color: var(--shu); }
.ticket-label, .link, a { color: var(--shu); }
@media (max-width: 559px) {
  .brand-en { display: none; }
  .nav a { padding: 8px 8px; letter-spacing: .06em; }
  .nav a.nav-cta { padding: 9px 14px; letter-spacing: .12em; }
}
.slot, .addon-opt, .method, .field input, .field textarea, .code-toggle, .code-box, .code-ok, .note, .demo-note, .mail-body, .store-opt, .change-banner, .mini { border-radius: var(--r); }
.bar { background: rgba(255, 250, 246, .96); }

/* 傻瓜化：步骤编号、最省事的选项、信息页 */
.step-no { font: 500 13px/1 var(--serif); letter-spacing: .2em; color: var(--shu); margin-bottom: 10px; }
.step-no span { color: var(--ink-2); margin-left: 8px; letter-spacing: .1em; }
.skip-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; background: var(--shu); color: #FFFFFF; border: 0; padding: 18px 20px; margin: 14px 0 18px; }
.skip-card:hover { background: var(--shu-dark); }
.skip-main { display: grid; gap: 4px; min-width: 0; }
.skip-main strong { font: 500 20px/1.3 var(--serif); letter-spacing: .12em; }
.skip-main small { color: #EBD8D4; font-size: 14px; }
.skip-go { flex: none; font-size: 15px; letter-spacing: .12em; border: 1px solid rgba(255, 255, 255, .55); padding: 8px 14px; }
.or-line { margin-top: 4px; }
.info-cta { text-align: center; padding-bottom: 64px; }
@media (max-width: 559px) {
  .top-in { height: 56px; }
  .brand { gap: 8px; }
  .seal { width: 30px; height: 30px; }
  .seal-mark { width: 12px; height: 19px; }
  .brand-name { font-size: 16px; letter-spacing: .08em; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 6px; letter-spacing: 0; font-size: 13px; }
  .nav a.nav-cta { padding: 9px 10px; letter-spacing: .06em; margin-left: 4px; }
  .nav-x { display: none; }
  .skip-card { flex-direction: column; align-items: flex-start; }
}

/* 首页只有上半部分：让它铺满页头和页脚之间 */
body[data-view="home"] main { display: flex; flex-direction: column; }
body[data-view="home"] .hero { flex: 1; display: flex; align-items: center; }
body[data-view="home"] .hero-in { width: 100%; padding-top: 48px; padding-bottom: 56px; align-items: center; }
body[data-view="home"] .hero-text { padding-bottom: 0; }
