/* =========================================================
   美拍熊照相馆 · 周年庆 H5
   ========================================================= */

:root{
  --green-900:#061a15;
  --green-800:#0a2b22;
  --green-700:#0d3a2e;
  --green-600:#114a3a;
  --green-500:#1a6350;
  --gold-100:#fdf5e2;
  --gold-200:#f5e5bd;
  --gold-300:#e6c98b;
  --gold-400:#d3ab63;
  --gold-500:#b8903f;
  --paper:#fbf5e7;
  --paper-2:#f4ead6;
  --ink:#1e2b26;
  --ink-2:#4d5a52;
  --muted:#8b938c;
  --red:#cf3a29;
  --red-2:#ef5a42;
  --line-gold:rgba(211,171,99,.38);
  --font-sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC","Source Han Sans SC",sans-serif;
  --font-serif:"Songti SC","STSong","Noto Serif CJK SC","Source Han Serif SC","SimSun",serif;
  --dock-h:76px;
  --r-lg:18px;
  --r-md:12px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scrollbar-gutter:stable}
body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--gold-100);
  background:
    radial-gradient(120% 60% at 50% 0%, #123a2e 0%, #071d17 55%, #04120e 100%) fixed;
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;border:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
ul,ol{margin:0;padding:0;list-style:none}
p,h1,h2,h3,h4,figure{margin:0}
input{font:inherit}

.dim{color:rgba(243,230,200,.55)}
.en{letter-spacing:.14em;font-size:10px!important}

/* ---------- 容器 ---------- */
.shell{
  position:relative;
  width:100%;
  max-width:460px;
  margin:0 auto;
  min-height:100vh;
  background:var(--green-800);
  box-shadow:0 0 0 1px rgba(211,171,99,.12), 0 40px 120px rgba(0,0,0,.7);
}
.screen{display:none;padding-bottom:calc(var(--dock-h) + env(safe-area-inset-bottom,0px))}
.screen.is-active{display:block}
.screen#screen-pick,.screen#screen-checkout{padding-bottom:0;background:#f3eee2;min-height:100vh;min-height:100dvh}

/* 水印纹理 */
.wm{position:relative;isolation:isolate}
.wm::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.045;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='150'%3E%3Ctext x='6' y='46' fill='%23f5e5bd' font-size='11' font-family='sans-serif' letter-spacing='2'%3ETEL 400-887-1898%3C/text%3E%3Ctext x='6' y='112' fill='%23f5e5bd' font-size='11' font-family='sans-serif' letter-spacing='2'%3EMEIPAI BEAR STUDIO%3C/text%3E%3C/svg%3E");
  background-size:240px 150px;
}
.wm>*{position:relative;z-index:1}

/* ---------- 顶部栏 ---------- */
.topbar{
  position:sticky;top:0;z-index:60;
  display:flex;align-items:center;justify-content:space-between;
  height:52px;padding:0 16px;
  background:rgba(8,34,27,.92);
  backdrop-filter:blur(14px) saturate(1.2);
  border-bottom:1px solid rgba(211,171,99,.16);
}
.tb-brand{display:flex;align-items:center;gap:9px;min-width:0}
.tb-seal{
  display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;
  border-radius:5px;background:linear-gradient(160deg,#e6c98b,#b8903f);
  color:#0a2b22;font-family:var(--font-serif);font-weight:800;font-size:15px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6);
}
.tb-name{display:flex;flex-direction:column;line-height:1.15;font-size:14px;font-weight:700;letter-spacing:.02em}
.tb-name em{font-style:normal;font-size:8px;letter-spacing:.22em;color:rgba(245,229,189,.5);font-weight:500;margin-top:2px}
.tb-link{
  font-size:11px;padding:5px 11px;border-radius:999px;
  border:1px solid rgba(211,171,99,.45);color:var(--gold-300);
  background:rgba(211,171,99,.08);
}

/* ---------- Hero ---------- */
.hero{
  position:relative;overflow:hidden;
  padding:30px 18px 26px;
  text-align:center;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(230,201,139,.24) 0%, rgba(230,201,139,0) 62%),
    linear-gradient(180deg,#0b3127 0%,#0d3a2d 46%,#0a2b22 100%);
}
.hero::after{
  content:"";position:absolute;left:50%;top:-46%;width:190%;height:130%;z-index:0;
  transform:translateX(-50%);
  background:repeating-conic-gradient(from 0deg at 50% 46%,
    rgba(230,201,139,.14) 0deg 3.4deg, rgba(230,201,139,0) 3.4deg 13deg);
  -webkit-mask-image:radial-gradient(closest-side,#000 25%,transparent 78%);
  mask-image:radial-gradient(closest-side,#000 25%,transparent 78%);
  pointer-events:none;
}
.kicker{
  position:relative;z-index:1;
  font-size:9px;letter-spacing:.26em;color:rgba(245,229,189,.55);
  margin-bottom:14px;
}
.hero-title{
  position:relative;z-index:1;
  font-family:var(--font-serif);font-weight:900;
  font-size:clamp(56px,17vw,82px);
  line-height:.92;letter-spacing:.06em;
  background:linear-gradient(178deg,#fffdf5 4%,#f9e9c2 34%,#e2bd79 62%,#b78c41 96%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 2px 0 rgba(74,48,8,.55)) drop-shadow(0 14px 26px rgba(0,0,0,.45));
}
.hero-title span{display:block}
.hero-title span:last-child{letter-spacing:.02em}

.ribbons{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;margin-top:22px}
.rb{
  display:inline-block;position:relative;
  font-weight:800;letter-spacing:.04em;
  box-shadow:0 12px 22px -8px rgba(0,0,0,.6);
  white-space:nowrap;
}
.rb::before,.rb::after{
  content:"";position:absolute;top:0;width:0;height:0;
  border-style:solid;
}
.rb-a{
  padding:9px 20px;font-size:20px;border-radius:3px;
  color:#0e3a2f;background:linear-gradient(180deg,#fdf8e9,#ecdcbd);
  transform:rotate(-3.2deg);
}
.rb-a::before{left:-8px;bottom:-9px;border-width:0 8px 9px 0;border-color:transparent #9c8a63 transparent transparent}
.rb-a::after{right:-8px;bottom:-9px;border-width:0 0 9px 8px;border-color:transparent transparent #9c8a63 transparent}
.rb-b{
  margin-top:-2px;padding:8px 18px;font-size:19px;border-radius:3px;
  color:#0f3b2f;background:linear-gradient(180deg,#fffdf6,#e9dabb);
  transform:rotate(2.4deg);
}
.rb-b::before{left:-8px;bottom:-9px;border-width:0 8px 9px 0;border-color:transparent #a2916a transparent transparent}
.rb-b::after{right:-8px;bottom:-9px;border-width:0 0 9px 8px;border-color:transparent transparent #a2916a transparent}
.rb-c{
  margin-top:-4px;padding:7px 16px 7px 10px;border-radius:4px;
  display:flex;align-items:center;gap:12px;
  color:#fff2d8;background:linear-gradient(180deg,#e5533a,#bd2b1c);
  transform:rotate(-2deg);
  box-shadow:0 14px 26px -10px rgba(160,30,15,.9),inset 0 1px 0 rgba(255,255,255,.28);
}
.rb-c em{
  font-style:normal;font-size:10px;line-height:1.25;text-align:left;
  padding:3px 6px;border-radius:3px;background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.22);letter-spacing:.06em;
}
.rb-c strong{font-size:27px;letter-spacing:.04em;font-family:var(--font-serif)}

.chips{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:24px}
.chip{
  font-size:11.5px;letter-spacing:.06em;padding:5px 11px;border-radius:999px;
  color:var(--gold-200);background:rgba(255,255,255,.045);
  border:1px solid rgba(211,171,99,.34);
  transition:.2s;
}
.chip:nth-child(odd){transform:rotate(-1.6deg)}
.chip:nth-child(even){transform:rotate(1.6deg)}
.chip:active{background:rgba(230,201,139,.22);transform:scale(.96)}
.hero-foot{
  position:relative;z-index:1;margin-top:20px;
  font-size:10.5px;letter-spacing:.18em;color:rgba(245,229,189,.42);
}

/* ---------- 通用 section ---------- */
.band{padding:26px 18px 8px;position:relative}
.sec-head{text-align:center;margin-bottom:20px}
.sec-kicker{font-size:9px;letter-spacing:.3em;color:var(--gold-400);margin-bottom:9px}
.sec-title{
  font-family:var(--font-serif);font-weight:800;font-size:25px;letter-spacing:.06em;
  color:var(--gold-100);
}
.sec-title.sm{font-size:22px}
.sec-sub{font-size:11px;color:rgba(245,229,189,.5);letter-spacing:.1em;margin-top:8px}

/* ---------- 倒计时 ---------- */
.timer-band{
  padding:24px 18px 26px;
  background:linear-gradient(180deg,#0a2b22,#0c3227 50%,#0a2b22);
  border-top:1px solid rgba(211,171,99,.18);
  border-bottom:1px solid rgba(211,171,99,.18);
}
.band-head{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:16px}
.band-head h2{font-family:var(--font-serif);font-size:19px;letter-spacing:.14em;color:var(--gold-200);font-weight:700}
.band-head i{display:block;width:34px;height:1px;background:linear-gradient(90deg,transparent,var(--gold-400))}
.band-head i:last-child{background:linear-gradient(270deg,transparent,var(--gold-400))}

.timer{display:flex;justify-content:center;gap:7px}
.tcell{width:56px;text-align:center}
.tcell b{
  display:block;font-family:"SF Mono",ui-monospace,Menlo,Consolas,monospace;
  font-size:28px;line-height:1;font-weight:700;
  padding:9px 0 8px;border-radius:7px;
  color:#f2cd86;
  background:linear-gradient(180deg,#1b211e,#080b09);
  border:1px solid rgba(211,171,99,.32);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13), 0 6px 14px -8px #000;
  font-variant-numeric:tabular-nums;
}
.tcell i{display:block;font-style:normal;font-size:10px;letter-spacing:.2em;color:rgba(245,229,189,.45);margin-top:7px}
.tcell b.pop{animation:pop .32s ease}
@keyframes pop{0%{transform:translateY(-2px) scale(1.04);color:#fff0c8}100%{transform:none}}

.stats{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-top:20px;padding:14px 16px;border-radius:12px;
  background:linear-gradient(180deg,#fdf8ec,#f4e9d2);
  color:#5a4a30;
  box-shadow:0 16px 30px -18px rgba(0,0,0,.8),inset 0 0 0 1px rgba(184,144,63,.22);
}
.stats-l{display:flex;align-items:baseline;gap:5px;white-space:nowrap}
.stats-l strong{font-size:26px;color:var(--red);font-weight:800;letter-spacing:-.02em;line-height:1}
.stats-l span{font-size:12px;color:#6d5c3f}
.stats-r{text-align:right;font-size:11px;color:#7b6a4d;line-height:1.7;border-left:1px solid rgba(140,115,70,.22);padding-left:12px}
.stats-r b{color:#3c6b58;font-weight:700}

/* ---------- 套餐卡片 ---------- */
.pk-band{background:#0a2b22;padding-bottom:26px}
.pk-wrap{margin-top:4px}

.pk{
  scroll-margin-top:74px;
  position:relative;
  margin-bottom:26px;padding:14px 14px 16px;
  border-radius:var(--r-lg);
  background:linear-gradient(180deg,#fdfaf1,#f6ecd7 78%,#f1e4c9);
  box-shadow:0 22px 40px -22px rgba(0,0,0,.75), inset 0 0 0 1px rgba(184,144,63,.28);
  color:var(--ink);
  cursor:pointer;
  transition:transform .25s ease;
}
.pk:active{transform:scale(.995)}
.pk::before,.pk::after{
  content:"";position:absolute;top:52px;width:17px;height:17px;border-radius:50%;
  background:#0a2b22;
  box-shadow:inset 0 0 0 1px rgba(184,144,63,.28);
}
.pk::before{left:-9px}
.pk::after{right:-9px}

.pk-head{
  display:flex;align-items:center;justify-content:space-between;
  padding-bottom:10px;
  border-bottom:1px dashed rgba(140,115,70,.38);
  font-size:11px;letter-spacing:.08em;color:#7d6a45;
}
.pk-head b{color:#5c4a27;font-weight:700}
.barcode{width:56px;height:16px;flex:0 0 56px;opacity:.62}
.pk-name{
  font-family:var(--font-serif);font-weight:800;
  font-size:27px;letter-spacing:.06em;color:#123f31;
  text-align:center;margin:14px 0 12px;
}
.pk-media{position:relative;margin-bottom:20px}
.pk-img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:50% 28%;border-radius:10px;background:#ddd2b8}
.pk-thumb{
  position:absolute;right:2px;bottom:-16px;width:29%;
  aspect-ratio:3/4;object-fit:cover;
  border:3px solid #fdfaf1;border-radius:8px;
  box-shadow:0 10px 18px -8px rgba(0,0,0,.5);
}
.pk-badge{
  position:absolute;left:8px;top:8px;
  font-size:10px;letter-spacing:.12em;padding:3px 8px;border-radius:4px;
  color:#fff4dc;background:linear-gradient(180deg,#e5533a,#bd2b1c);
  box-shadow:0 6px 12px -6px rgba(160,30,15,.9);
}

.pk-price{display:flex;align-items:baseline;gap:7px;margin-top:2px}
.pk-price .lab{
  font-size:10px;line-height:1.25;letter-spacing:.04em;color:#a4802f;
  border:1px solid rgba(164,128,47,.5);border-radius:3px;padding:2px 4px;
  text-align:center;
}
.pk-price .cur{font-size:16px;color:#b8860b;font-weight:700}
.pk-price .num{
  font-family:var(--font-serif);font-size:38px;font-weight:800;line-height:1;letter-spacing:-.01em;
  background:linear-gradient(180deg,#d9a83f,#a97c1d);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.pk-price .qi{font-size:11px;color:#a4802f}
.pk-price s{margin-left:auto;font-size:11px;color:#a99b80}

.pk-spec{margin-top:12px;display:grid;gap:7px}
.pk-spec li{display:flex;align-items:flex-start;gap:7px;font-size:12.5px;color:#4d5347;line-height:1.45}
.spec-tag{
  flex:0 0 auto;margin-top:1px;
  font-size:9.5px;letter-spacing:.08em;color:#f7ecd4;
  background:linear-gradient(180deg,#1a6350,#0e3a2f);
  padding:2px 5px;border-radius:3px;
}
.pk-note{margin-top:9px;font-size:10.5px;color:#8d8168;line-height:1.5}
.pk-btn{
  width:100%;margin-top:14px;height:42px;font-size:14.5px;letter-spacing:.1em;
  border-radius:999px;
}
.pk-tip{text-align:center;font-size:10.5px;color:rgba(245,229,189,.42);letter-spacing:.06em;margin-top:2px}

/* ---------- 礼物 ---------- */
.gift-band{background:linear-gradient(180deg,#0a2b22,#0c3328 60%,#0a2b22);padding-bottom:30px}
.gift{
  position:relative;margin-bottom:16px;padding:20px 16px 16px;
  border-radius:14px;overflow:hidden;
  background:linear-gradient(150deg,#fdf8ec,#f3e7cf);
  box-shadow:0 20px 34px -20px rgba(0,0,0,.8),inset 0 0 0 1px rgba(184,144,63,.24);
  color:#43391f;
}
.gift-txt{position:relative;z-index:2;max-width:62%}
.gift-line{font-size:13px;color:#6b5a3c;letter-spacing:.02em}
.gift-strong{font-size:20px;font-weight:800;color:#123f31;margin-top:4px;letter-spacing:.06em}
.gift-badge{
  display:inline-block;margin-top:8px;padding:4px 10px;border-radius:4px;
  font-size:13px;font-weight:700;color:#fff3d8;
  background:linear-gradient(180deg,#1a6350,#0d3a2e);
  box-shadow:0 8px 16px -8px rgba(13,58,46,.8);
}
.gift-ribbon{
  position:absolute;left:50%;top:0;transform:translateX(-50%);
  padding:4px 16px;border-radius:0 0 8px 8px;
  font-size:11px;letter-spacing:.16em;color:#fff3d8;
  background:linear-gradient(180deg,#e5533a,#c0321f);
  box-shadow:0 8px 14px -8px rgba(160,30,15,.9);
}
.gift-art{position:absolute;right:10px;bottom:12px;width:40%;height:76%;z-index:1}
.gift-art--photo img{
  position:absolute;width:64%;aspect-ratio:3/4;object-fit:cover;
  border:3px solid #fffdf7;border-radius:3px;
  box-shadow:0 10px 18px -8px rgba(0,0,0,.45);
}
.gift-art--photo img:first-child{right:24%;top:2%;transform:rotate(-8deg)}
.gift-art--photo img:last-child{right:-2%;top:22%;transform:rotate(6deg)}
.gift-art--album{display:grid;place-items:center}
.album{
  position:absolute;right:4px;top:8%;
  width:74%;aspect-ratio:4/3;border-radius:4px 8px 8px 4px;
  background:linear-gradient(160deg,#cfe3e6,#a9c8cf);
  box-shadow:0 14px 22px -12px rgba(0,0,0,.6);
  transform:rotate(-5deg);
  display:grid;place-items:center;
}
.album::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:8px;
  background:linear-gradient(90deg,rgba(0,0,0,.18),rgba(255,255,255,.55));
  border-radius:4px 0 0 4px;
}
.album::after{
  content:"";position:absolute;right:0;top:3px;bottom:3px;width:4px;
  background:repeating-linear-gradient(180deg,#fdfbf5 0 2px,#d9d2c2 2px 3px);
  border-radius:0 3px 3px 0;opacity:.9;
}
.album span{font-family:var(--font-serif);font-size:12px;color:#4c7b83;letter-spacing:.18em}
.album-2{width:66%;top:36%;right:-4%;transform:rotate(4deg);background:linear-gradient(160deg,#e6d3c2,#cbae95)}
.album-2 span{color:#7a5540}

/* ---------- 样片 ---------- */
.gallery-band{background:#08251d;padding-bottom:30px}
.g-group{margin-bottom:24px}
.g-title{
  display:flex;align-items:center;gap:10px;justify-content:center;
  font-family:var(--font-serif);font-size:16px;font-weight:700;letter-spacing:.14em;
  color:var(--gold-200);margin-bottom:12px;
}
.g-title::before,.g-title::after{content:"";width:26px;height:1px;background:rgba(211,171,99,.4)}
.g-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.g-grid figure{
  position:relative;overflow:hidden;border-radius:6px;
  background:linear-gradient(160deg,#123a2e,#0a2b22);
  box-shadow:0 12px 22px -14px rgba(0,0,0,.9);
}
.g-grid img{width:100%;height:100%;object-fit:cover;aspect-ratio:3/4;transition:transform .6s ease}
.g-grid figure:active img{transform:scale(1.03)}
.g-big{grid-column:1/-1}
.g-big img{aspect-ratio:4/3;object-position:50% 22%}

/* ---------- 服务保障 ---------- */
.promise-band{background:linear-gradient(180deg,#f7f0df,#f1e6cf);color:var(--ink);padding-bottom:26px}
.promise-band .sec-title{color:#123f31}
.promise-band .sec-sub{color:#8d8168}
.promise{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}
.promise li{
  list-style:none;
  position:relative;padding:12px 10px 12px 12px;border-radius:8px;
  background:rgba(255,255,255,.6);
  border:1px solid rgba(184,144,63,.26);
  box-shadow:0 8px 16px -14px rgba(0,0,0,.6);
}
.promise li::before{
  content:"";position:absolute;left:-1px;top:-1px;width:12px;height:12px;
  border-radius:0 0 8px 0;
  background:linear-gradient(135deg,#e5533a,#bd2b1c);
}
.promise b{display:block;font-size:13px;color:#123f31;letter-spacing:.04em;margin-bottom:4px}
.promise span{font-size:10.5px;color:#7f745c;line-height:1.45;display:block}

/* ---------- 须知 / 页脚 ---------- */
.notice-band{background:#0a2b22;padding-bottom:26px}
.notice{margin-top:4px;display:grid;gap:10px;counter-reset:n}
.notice li{
  position:relative;padding-left:24px;font-size:11.5px;line-height:1.65;
  color:rgba(245,229,189,.62);
  counter-increment:n;
}
.notice li::before{
  content:counter(n);position:absolute;left:0;top:1px;
  width:15px;height:15px;border-radius:50%;
  display:grid;place-items:center;font-size:9px;
  color:#0a2b22;background:rgba(211,171,99,.7);
}
.foot{margin-top:26px;text-align:center;font-size:10px;color:rgba(245,229,189,.38);line-height:1.9;letter-spacing:.06em}
.foot .dim{color:rgba(245,229,189,.26)}

/* ---------- 底部 dock ---------- */
.dock{
  position:fixed;left:0;right:0;bottom:0;z-index:50;
  max-width:460px;margin:0 auto;
  display:flex;align-items:center;gap:8px;
  padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px));
  background:rgba(7,27,22,.94);
  backdrop-filter:blur(16px) saturate(1.2);
  border-top:1px solid rgba(211,171,99,.18);
  transition:transform .32s ease,opacity .32s ease;
}
.dock.is-hidden{transform:translateY(120%);opacity:0;pointer-events:none}
.dock-btn{
  flex:0 0 46px;height:46px;border-radius:10px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  color:rgba(245,229,189,.8);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(211,171,99,.16);
}
.dock-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dock-btn span{font-size:9px;letter-spacing:.06em}
.dock-btn:active{background:rgba(230,201,139,.16)}
.dock-cta{
  position:relative;flex:1;height:48px;border-radius:999px;overflow:hidden;
  font-size:16px;font-weight:800;letter-spacing:.14em;color:#fff6e4;
  background:linear-gradient(180deg,#ef5a42,#c22e1e 60%,#a82314);
  box-shadow:0 10px 22px -10px rgba(200,50,30,.95),inset 0 1px 0 rgba(255,255,255,.3);
}
.dock-cta span{position:relative;z-index:2}
.dock-cta::after{
  content:"";position:absolute;top:0;left:-40%;width:35%;height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);
  transform:skewX(-18deg);
  animation:sweep 2.8s infinite;
}
@keyframes sweep{0%{left:-45%}55%{left:120%}100%{left:120%}}
.dock-badge{
  position:absolute;right:10px;top:50%;transform:translateY(-50%);z-index:2;
  min-width:19px;height:19px;padding:0 5px;border-radius:999px;
  display:grid;place-items:center;
  font-size:10px;font-weight:700;color:#fff3d8;background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.35);
}
.dock-badge[hidden]{display:none}

/* ---------- 子页公共 ---------- */
.subhead{
  position:sticky;top:52px;z-index:40;
  display:flex;align-items:center;justify-content:space-between;
  height:50px;padding:0 10px;
  background:rgba(251,245,231,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(184,144,63,.22);
  color:#123f31;
}
.subhead h2{font-size:15px;font-weight:700;letter-spacing:.06em}
.subhead-r{width:34px}
.icon-btn{
  width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;font-size:22px;line-height:1;
  color:#123f31;
}
.icon-btn:active{background:rgba(18,63,49,.08)}

.bottombar{
  position:fixed;left:0;right:0;bottom:0;z-index:45;
  max-width:460px;margin:0 auto;
  display:flex;align-items:center;gap:12px;
  padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));
  background:rgba(255,253,247,.97);
  backdrop-filter:blur(14px);
  border-top:1px solid rgba(184,144,63,.2);
  box-shadow:0 -10px 30px -20px rgba(0,0,0,.5);
}

/* ---------- 选购页 ---------- */
.pick-body{padding:12px 12px 96px}
.promo{
  display:flex;gap:12px;align-items:center;
  padding:12px;border-radius:12px;margin-bottom:12px;
  background:linear-gradient(120deg,#0d3a2e,#17594a 70%,#0d3a2e);
  color:var(--gold-100);
  box-shadow:0 14px 26px -18px rgba(0,0,0,.8);
}
.promo-cover{flex:0 0 54px;width:54px;height:54px;border-radius:8px;overflow:hidden;box-shadow:0 0 0 1px rgba(230,201,139,.35)}
.promo-cover img{width:100%;height:100%;object-fit:cover}
.promo-txt{min-width:0}
.promo-txt h3{font-size:13px;font-weight:700;line-height:1.4;letter-spacing:.02em}
.promo-txt p{font-size:10px;color:rgba(245,229,189,.55);margin-top:4px;letter-spacing:.04em}
.promo-tag{
  display:inline-block;margin-top:6px;padding:2px 7px;border-radius:3px;
  font-size:9px;letter-spacing:.1em;color:#41230c;
  background:linear-gradient(180deg,#f7dfa8,#dcb56b);
}

.pick-list{display:grid;gap:10px}
.pick-item{
  display:flex;gap:11px;padding:11px;border-radius:10px;
  background:#fffdf8;
  border:1px solid rgba(184,144,63,.16);
  box-shadow:0 6px 16px -14px rgba(0,0,0,.5);
  transition:border-color .2s,box-shadow .2s;
}
.pick-item.is-picked{border-color:rgba(26,99,80,.5);box-shadow:0 8px 20px -14px rgba(18,63,49,.5)}
.pick-item.flash{animation:flash 1.2s ease}
@keyframes flash{
  0%,100%{box-shadow:0 8px 20px -14px rgba(18,63,49,.5)}
  25%{box-shadow:0 0 0 3px rgba(26,99,80,.28),0 10px 24px -14px rgba(18,63,49,.6);transform:scale(1.012)}
  60%{box-shadow:0 0 0 6px rgba(26,99,80,.1),0 10px 24px -14px rgba(18,63,49,.6);transform:none}
}
.pick-thumb{
  position:relative;flex:0 0 76px;width:76px;height:84px;border-radius:7px;overflow:hidden;background:#e8ddc6;
}
.pick-thumb img{width:100%;height:100%;object-fit:cover}
.pick-main{flex:1;min-width:0;display:flex;flex-direction:column}
.pick-name{font-size:14px;font-weight:700;color:#22302a;letter-spacing:.02em}
.pick-desc{font-size:10px;color:#9aa199;margin-top:3px}
.pick-price{display:flex;align-items:baseline;gap:6px;margin-top:6px}
.pick-price b{font-size:16px;color:#cf3a29;font-weight:800;letter-spacing:-.01em}
.pick-price s{font-size:10px;color:#b3b8b2}
.pick-stock{font-size:10px;color:#a9afa8;margin-top:3px}
.pick-side{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-end;flex:0 0 74px}
.btn-pick{
  height:30px;padding:0 14px;border-radius:999px;white-space:nowrap;
  font-size:12px;font-weight:700;letter-spacing:.06em;
  color:#0d3a2e;border:1px solid rgba(26,99,80,.6);
  background:rgba(26,99,80,.06);
  transition:.2s;
}
.btn-pick.is-on{color:#f7ecd4;background:linear-gradient(180deg,#1a6350,#0d3a2e);border-color:transparent}
.pick-tip{text-align:center;font-size:10px;color:#a9afa8;margin-top:16px}

.cartbar .cart-icon{
  position:relative;width:44px;height:44px;flex:0 0 44px;border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(180deg,#1a6350,#0d3a2e);
  box-shadow:0 8px 16px -10px rgba(13,58,46,.8);
}
.cartbar .cart-icon svg{width:21px;height:21px;fill:none;stroke:#f7ecd4;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cart-badge[hidden]{display:none}
.cart-badge{
  position:absolute;right:-3px;top:-4px;min-width:17px;height:17px;padding:0 4px;
  border-radius:999px;display:grid;place-items:center;
  font-size:9.5px;font-weight:700;color:#fff;background:#cf3a29;
  border:1.5px solid #fffdf7;
}
.cart-sum,.pay-sum{flex:1;min-width:0;color:#22302a}
.cart-sum p,.pay-sum p{font-size:11px;color:#7d857f;line-height:1.4}
.cart-sum b,.pay-sum b{font-size:19px;color:#cf3a29;font-weight:800;letter-spacing:-.01em}
.cart-sum .dim,.pay-sum .dim{font-size:9.5px;color:#a9afa8}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:42px;padding:0 22px;border-radius:999px;
  font-size:14px;font-weight:700;letter-spacing:.06em;
  transition:transform .15s ease,opacity .2s;
}
.btn:active{transform:scale(.97)}
.btn-red{
  color:#fff6e4;
  background:linear-gradient(180deg,#ef5a42,#c22e1e 65%,#a82314);
  box-shadow:0 10px 20px -10px rgba(200,50,30,.9),inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-ghost{
  color:#123f31;background:rgba(18,63,49,.06);
  border:1px solid rgba(18,63,49,.3);
}
#btnCheckout,#btnSubmit{flex:0 0 auto;min-width:104px;height:44px}
.btn.is-disabled{opacity:.45;pointer-events:none}

/* ---------- 结算页 ---------- */
.checkout-body{padding:12px 12px 100px;display:grid;gap:10px}
.card{
  padding:14px;border-radius:12px;background:#fffdf8;
  border:1px solid rgba(184,144,63,.16);
  box-shadow:0 8px 20px -18px rgba(0,0,0,.5);
  color:#22302a;
}
.card-title{font-size:13px;font-weight:700;letter-spacing:.04em;margin-bottom:8px;color:#22302a}
.field{
  display:flex;align-items:center;gap:12px;
  padding:12px 0;border-top:1px solid rgba(18,63,49,.08);
}
.field span{flex:0 0 52px;font-size:13px;color:#4d5a52}
.field input{
  flex:1;border:0;outline:0;background:transparent;
  font-size:13.5px;color:#22302a;text-align:right;
}
.field input::placeholder{color:#b6bcb6}
.field.is-error input{color:#cf3a29}
.field-err{font-size:10.5px;color:#cf3a29;margin-top:4px;min-height:0}
.order-list li{
  display:flex;align-items:center;gap:11px;
  padding:11px 0;border-top:1px solid rgba(18,63,49,.08);
}
.order-list li:first-child{border-top:0}
.order-thumb{flex:0 0 58px;width:58px;height:66px;border-radius:6px;overflow:hidden;background:#e8ddc6}
.order-thumb img{width:100%;height:100%;object-fit:cover}
.order-main{flex:1;min-width:0}
.order-main b{display:block;font-size:13px;color:#22302a;letter-spacing:.02em}
.order-main span{display:block;font-size:10px;color:#a3aaa3;margin-top:3px}
.order-main em{display:block;font-style:normal;font-size:10.5px;color:#8a928a;margin-top:2px}
.order-price{font-size:14px;color:#cf3a29;font-weight:700;letter-spacing:-.01em}
.order-price small{font-size:9px;color:#a3aaa3;font-weight:400;margin-left:4px}
.order-empty{font-size:11.5px;color:#a3aaa3;padding:8px 0}
.order-empty a{color:#1a6350;text-decoration:underline}
.card-tip{background:rgba(255,253,247,.7);border-style:dashed}
.card-tip p{font-size:10.5px;color:#8a928a;line-height:1.8}

/* ---------- 弹层 ---------- */
.modal{
  position:fixed;inset:0;z-index:100;display:none;
  align-items:flex-end;justify-content:center;
}
.modal.open{display:flex}
.modal-mask{
  position:absolute;inset:0;background:rgba(4,14,11,.72);
  backdrop-filter:blur(4px);
  animation:fade .25s ease;
}
@keyframes fade{from{opacity:0}to{opacity:1}}
.sheet{
  position:relative;z-index:1;
  width:100%;max-width:460px;
  background:#fbf5e7;color:var(--ink);
  border-radius:18px 18px 0 0;
  animation:up .32s cubic-bezier(.2,.9,.3,1);
  max-height:92vh;overflow:auto;
}
@keyframes up{from{transform:translateY(40px);opacity:.6}to{transform:none;opacity:1}}
.sheet-x{
  position:absolute;right:10px;top:10px;z-index:3;
  width:30px;height:30px;border-radius:50%;
  display:grid;place-items:center;font-size:13px;
  color:#4a4a3f;background:rgba(255,255,255,.9);
  box-shadow:0 2px 10px rgba(0,0,0,.22);
}

/* 详情 */
.sheet-detail{padding:16px 14px calc(18px + env(safe-area-inset-bottom,0px))}
.detail-img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:50% 28%;border-radius:12px;margin-top:6px}
.detail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:14px 2px 10px}
.detail-head h3{font-family:var(--font-serif);font-size:24px;color:#123f31;letter-spacing:.06em}
.detail-head .p{display:flex;align-items:baseline;gap:2px;flex:0 0 auto}
.detail-head .p b{font-family:var(--font-serif);font-size:30px;line-height:1;color:#b8860b}
.detail-head .p .cur{font-size:10px;color:#a4802f;margin-left:2px}
.detail-head .p s{font-size:10px;color:#b3a98f;margin-left:6px}
.detail-spec{display:grid;gap:8px;margin-top:6px}
.detail-spec li{display:flex;gap:8px;font-size:12.5px;color:#4d5347;line-height:1.5}
.detail-note{font-size:10.5px;color:#9a8f76;margin-top:12px;line-height:1.6}
.detail-actions{display:flex;gap:10px;margin-top:16px}
.detail-actions .btn{flex:1}

/* 海报 */
.sheet-poster{padding:0;background:#0a2b22;color:var(--gold-100);overflow:hidden;border-radius:18px 18px 0 0}
.poster-head{
  display:flex;align-items:center;justify-content:center;position:relative;
  padding:14px 46px 12px;
  font-family:var(--font-serif);font-size:16px;letter-spacing:.1em;
  background:linear-gradient(90deg,#c0321f,#e5533a);
  color:#fff3d8;
}
.poster-x{
  position:absolute;right:12px;top:50%;transform:translateY(-50%);
  width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  font-size:12px;color:#fff3d8;background:rgba(255,255,255,.16);
}
.poster-scroll{
  max-height:64vh;overflow:auto;padding:16px 22px 6px;
  display:flex;flex-direction:column;align-items:center;
}
.poster{
  position:relative;width:100%;max-width:290px;aspect-ratio:3/4.55;
  border-radius:10px;overflow:hidden;
  background:linear-gradient(170deg,#0d3a2e,#17594a 55%,#0a2b22);
  box-shadow:0 24px 40px -22px rgba(0,0,0,.9),0 0 0 1px rgba(230,201,139,.35);
  padding:16px;display:flex;flex-direction:column;
}
.poster::before{
  content:"";position:absolute;inset:7px;border:1px solid rgba(230,201,139,.28);border-radius:6px;pointer-events:none;
}
.poster-kicker{font-size:7px;letter-spacing:.3em;color:rgba(245,229,189,.6);text-align:center;margin-top:6px}
.poster-title{
  font-family:var(--font-serif);font-size:24px;line-height:1.08;text-align:center;margin-top:5px;
  background:linear-gradient(180deg,#fffdf3,#e6c98b 62%,#b8903f);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.poster-cover{
  margin:9px 0 7px;border-radius:6px;overflow:hidden;flex:1;min-height:0;
  box-shadow:0 10px 20px -12px #000;
}
.poster-cover img{width:100%;height:100%;object-fit:cover}
.poster-price{display:flex;align-items:baseline;justify-content:center;gap:4px;color:#f3e0b4;white-space:nowrap}
.poster-price .lab{font-size:9px;letter-spacing:.1em;color:rgba(245,229,189,.65)}
.poster-price b{font-family:var(--font-serif);font-size:25px;color:#f0c878}
.poster-price .lab{font-size:8px}
.poster-price s{font-size:8px;color:rgba(245,229,189,.4);margin-left:4px}
.poster-bottom{display:flex;align-items:center;gap:8px;margin-top:9px}
.poster-qr{width:40px;height:40px;flex:0 0 40px;border-radius:4px;background:#fff;padding:3px}
.poster-qr svg{width:100%;height:100%;display:block}
.poster-qr-txt{font-size:8px;line-height:1.5;color:rgba(245,229,189,.7)}
.poster-qr-txt b{display:block;font-size:9px;color:#f0c878;letter-spacing:.06em}
.poster-hint{font-size:10.5px;color:rgba(245,229,189,.5);margin:12px 0 4px;letter-spacing:.04em;text-align:center}
.poster-actions{
  display:flex;gap:8px;padding:8px 16px calc(14px + env(safe-area-inset-bottom,0px));
  background:#08251d;border-top:1px solid rgba(211,171,99,.16);
}
.poster-actions .btn{flex:1;height:44px;font-size:13px}
.poster-actions .btn-ghost{color:#f5e5bd;border-color:rgba(211,171,99,.4);background:rgba(255,255,255,.05)}

/* 客服 */
.sheet-service{padding:22px 18px calc(20px + env(safe-area-inset-bottom,0px))}
.sheet-service h3{font-family:var(--font-serif);font-size:20px;color:#123f31;letter-spacing:.1em}
.svc-time{font-size:10.5px;color:#9a8f76;margin-top:6px}
.svc-chat{margin-top:16px;display:grid;gap:9px;background:#f7eeda;border-radius:12px;padding:12px}
.svc-bubble{
  max-width:82%;padding:9px 12px;border-radius:10px 10px 10px 2px;
  font-size:12px;line-height:1.55;color:#3f4a43;background:#fffdf8;
  box-shadow:0 4px 10px -8px rgba(0,0,0,.5);
}
.svc-bubble--me{
  margin-left:auto;border-radius:10px 10px 2px 10px;
  background:linear-gradient(180deg,#1a6350,#0d3a2e);color:#f7ecd4;
}
.svc-actions{display:flex;gap:10px;margin-top:16px}
.svc-actions .btn{flex:1;height:44px;font-size:13px}

/* 成功 */
.sheet-success{
  margin:auto;border-radius:16px;width:calc(100% - 40px);max-width:360px;
  padding:28px 20px 22px;text-align:center;
  animation:zoom .3s cubic-bezier(.2,.9,.3,1);
}
@keyframes zoom{from{transform:scale(.92);opacity:0}to{transform:none;opacity:1}}
.modal#modalSuccess{align-items:center}
.success-seal{
  width:62px;height:62px;margin:0 auto 14px;border-radius:50%;
  display:grid;place-items:center;
  font-family:var(--font-serif);font-size:15px;letter-spacing:.08em;color:#fff4dc;
  background:linear-gradient(160deg,#1a6350,#0d3a2e);
  box-shadow:0 14px 26px -14px rgba(13,58,46,.9),inset 0 0 0 1px rgba(230,201,139,.5),inset 0 0 0 5px rgba(255,255,255,.06);
}
.sheet-success h3{font-family:var(--font-serif);font-size:22px;color:#123f31;letter-spacing:.1em}
.success-sub{font-size:11.5px;color:#8d8168;margin-top:8px;line-height:1.6}
.success-info{margin-top:16px;padding:12px;border-radius:10px;background:#f7eeda;text-align:left}
.success-info p{display:flex;justify-content:space-between;gap:10px;font-size:11.5px;color:#6f654e;line-height:2.1}
.success-info b{color:#22302a;font-weight:600}
.success-info .total{border-top:1px dashed rgba(140,115,70,.3);margin-top:4px;padding-top:4px}
.success-info .total b{color:#cf3a29;font-size:15px}
.success-actions{display:flex;gap:9px;margin-top:16px}
.success-actions .btn{flex:1;height:42px;font-size:13px}

/* toast */
.toast{
  position:fixed;left:50%;bottom:110px;transform:translate(-50%,12px);
  z-index:200;max-width:80vw;
  padding:10px 18px;border-radius:999px;
  font-size:12.5px;color:#fbf5e7;
  background:rgba(12,40,32,.94);
  border:1px solid rgba(211,171,99,.35);
  box-shadow:0 16px 30px -16px #000;
  opacity:0;pointer-events:none;transition:.28s ease;
  text-align:center;
}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* 入场动画 */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.3,1)}
.reveal.in{opacity:1;transform:none}

/* 小屏微调 */
@media (max-width:360px){
  .tcell{width:48px}
  .tcell b{font-size:24px}
  .hero-title{font-size:52px}
  .rb-a{font-size:17px;padding:8px 16px}
  .rb-b{font-size:16px}
  .rb-c strong{font-size:23px}
  .pk-name{font-size:24px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001s!important;transition-duration:.001s!important}
}

/* 到店流程 */
.steps{display:flex;gap:6px;margin-top:6px}
.steps li{
  list-style:none;flex:1;text-align:center;padding:9px 4px;border-radius:8px;
  background:linear-gradient(180deg,#f9f1de,#f4e8cf);
  border:1px solid rgba(184,144,63,.16);
}
.steps b{display:block;font-family:var(--font-serif);font-size:15px;color:#b8903f;letter-spacing:.06em}
.steps span{display:block;font-size:11px;color:#3f4a43;margin-top:3px;line-height:1.45;font-weight:600}
.steps em{display:block;font-style:normal;font-size:9px;color:#a39a84;font-weight:400;margin-top:1px}
.checkout-help{
  text-align:center;font-size:10.5px;color:#a3aaa3;margin-top:2px;
}
.checkout-help button{color:#1a6350;font-size:10.5px;text-decoration:underline;text-underline-offset:2px}

#modalPoster{z-index:120}
#modalDetail{z-index:110}

.poster-old{
  text-align:center;font-size:8.5px;letter-spacing:.06em;
  color:rgba(245,229,189,.45);margin-top:2px;
}

@media (min-width:520px){
  body::before{
    content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
    background:radial-gradient(46% 46% at 50% 12%, rgba(230,201,139,.10), transparent 72%);
  }
}
