/* 你的食刻 NIDESHIKE · 候选稿 B6
   方向：奶油纸色底 + 可可色文字 + 冷链蓝操作色。
   图片两套语言、各管一处：氛围图只用暖调可可色提拉米苏系列（首屏、品牌带、合作咨询）；
   产品图全部抠图后放在同一块奶油色棚拍底上（同一光线、地平线、阴影、比例），产品卡、招牌大盘、主推、场景、关于我们共用。 */
/* 字体（均为 SIL OFL 1.1 开源字体的子集，按页面用字裁剪并改名，见 fonts/字体授权说明.txt）
   标题：站酷庆科黄油体 ZCOOL QingKe HuangYou  点缀短句：霞鹜文楷 LXGW WenKai  数字与英文：Fraunces */
@font-face { font-family: "NDS Kai"; src: url("./fonts/nds-kai.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "NDS Pop"; src: url("./fonts/nds-pop.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "NDS Latin"; src: url("./fonts/nds-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "NDS Latin Italic"; src: url("./fonts/nds-latin-italic.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --page: #f6f1ea;
  --well: #ede5d9;
  --paper: #fffcf8;
  --line: #e0d5c6;
  --ink: #2b1e17;
  --ink-2: #5c4d45;
  --blue: #2443c4;
  --blue-ink: #1a3399;
  --blue-tint: #e2e7fa;
  --amber-ink: #7a4a00;
  --amber-bg: #f5e4bf;
  --on-dark: #f4eee9;
  --on-dark-2: #c9bcb3;
  --kai-sys: "Kaiti SC", "STKaiti", "KaiTi", "BiauKai", serif;
  --display: "NDS Pop", var(--body);
  --head2: "NDS Pop", var(--body);
  --accent: "NDS Kai", var(--kai-sys);
  --num: "NDS Latin", var(--head2);
  --en: "NDS Latin Italic", Georgia, "Times New Roman", serif;
  --name: var(--body);
  --head-track: .04em;
  --body: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
  --gutter: 16px;
  --top-h: 60px;
  --r-img: 10px;
}
@media (min-width: 720px) { :root { --gutter: 32px; --top-h: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 64px); }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.7 var(--body);
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--ink); color: #fff; text-decoration: none; border-radius: 6px; }
.skip:focus { top: 8px; }
.js-only { display: none; }
.js .js-only { display: inline-flex; }

/* ---------- review bar (local only) ---------- */
.review-bar { background: var(--ink); color: var(--on-dark); font-size: 13px; line-height: 1.5; }
.review-bar .wrap { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.review-bar nav { display: flex; gap: 14px; }
.review-bar a { color: var(--on-dark); text-underline-offset: 3px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(246, 241, 234, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(246, 241, 234, .92); backdrop-filter: saturate(1.2) blur(12px); } }
.top-inner { height: var(--top-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo-cn { font: 24px/1 var(--display); letter-spacing: .02em; }
.logo-en { margin-top: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--ink-2); }
.top-nav { display: none; gap: 24px; margin-left: 16px; font-size: 15px; }
.top-nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.top-nav a:hover { border-bottom-color: var(--ink); }
.top-nav span { margin-left: 3px; font-size: 12px; color: var(--ink-2); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.basket-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--well); font: 13px/1 var(--body); font-weight: 700; }
body.has-items .basket-count { background: var(--blue); color: #fff; }
.top-phone { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; font: 20px/1 var(--display); }
.top-phone-label { font: 11px/1.2 var(--body); color: var(--ink-2); margin-bottom: 3px; }
.quote-btn { display: none !important; }
.quote-btn .basket-count { background: rgba(255, 255, 255, .22) !important; color: #fff; min-width: 20px; height: 20px; font-size: 12px; }
body:not(.has-items) .quote-btn .basket-count { display: none; }
@media (min-width: 960px) {
  .top-nav { display: flex; }
  .js .quote-btn { display: inline-flex !important; }
}
@media (min-width: 960px) and (max-width: 1180px) { .top-nav { gap: 18px; margin-left: 8px; } .top-phone { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: var(--well); overflow: hidden; }
.hero-inner { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 36px; }
.hero-kicker { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .6); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hero h1 { font: 400 min(13vw, 64px)/1.06 var(--display); letter-spacing: .01em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-lead { margin-top: 18px; max-width: 30em; font-size: 17px; color: var(--ink-2); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 15px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.hero-cta { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 560px) { .hero-cta { display: flex; flex-wrap: wrap; } }
.hero-meta { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.hero-meta span { margin: 0 6px; color: var(--line); }
.hero-meta a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; white-space: nowrap; }

.tray { display: grid; gap: 14px; }
.tray-title { font: 400 22px/1.2 var(--display); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.tray-title span { font: 14px/1.5 var(--body); color: var(--ink-2); }
.tray-figure { margin: 0 calc(var(--gutter) * -1); }
.tray-figure img {
  width: 100%;
  aspect-ratio: 1200 / 717;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-composite: intersect;
  transition: opacity .18s ease;
}
.tray-figure img.is-swapping { opacity: .25; }
.flavors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.flavor { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .55); font-size: 15px; text-align: left; }
.flavor:hover { border-color: var(--ink-2); }
.flavor .swatch { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.flavor[aria-pressed="true"] { background: var(--paper); border-color: var(--ink); font-weight: 700; box-shadow: inset 0 0 0 1px var(--ink); }
.tray-info { display: grid; gap: 6px; padding-top: 6px; }
.tray-name { font: 400 30px/1.15 var(--display); }
.tray-line { font-size: 15px; color: var(--ink); }
.tray-spec { font-size: 13.5px; color: var(--ink-2); }
.tray-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 15px; }
.tray-price b { font: 400 34px/1 var(--display); }
.tray-note { font-size: 13px; color: var(--amber-ink); }
.tray-note:empty { display: none; }
.tray-note.is-plain { color: var(--ink-2); }
.tray-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.tray-more { font-size: 15px; font-weight: 600; text-underline-offset: 4px; }

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(52px, 5.6vw, 80px); }
  .tray-figure { margin: 0 -24px; }
  .flavors { grid-template-columns: repeat(6, auto); justify-content: start; }
  .tray-info { grid-template-columns: 1fr auto; align-items: end; column-gap: 24px; }
  .tray-info > * { grid-column: 1; }
  .tray-actions { grid-column: 2; grid-row: 1 / span 4; margin: 0; flex-direction: column; align-items: stretch; }
  .tray-more { text-align: center; }
}

/* ---------- price atoms ---------- */
.price-label { font-size: 12px; color: var(--ink-2); }
.price-whole { font-size: 13px; color: var(--ink-2); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.price .price-label { margin-right: 2px; }
.price .price-whole { flex-basis: 100%; line-height: 1.5; }
.price-num { font: 400 25px/1.1 var(--display); }
.price-num small { margin-left: 1px; font: 13px/1 var(--body); }
.price.is-quote .price-num { font-size: 20px; color: var(--ink-2); }
.flag { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; background: var(--amber-bg); color: var(--amber-ink); font-size: 12px; font-weight: 600; line-height: 1.4; }
.flag-inline { position: static; margin-left: 8px; vertical-align: 2px; font-size: 11px; padding: 1px 6px; }

/* ---------- add-to-inquiry toggle ---------- */
.add { display: none; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid #d3c6b4; border-radius: 999px; background: transparent; color: var(--blue); font-size: 14px; font-weight: 600; white-space: nowrap; }
.js .add { display: inline-flex; }
.add:hover { border-color: var(--blue); }
.add .add-on { display: none; }
.add[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.add[aria-pressed="true"] .add-on { display: inline; }
.add[aria-pressed="true"] .add-off { display: none; }
.add .add-off::before { content: "+"; margin-right: 4px; font-weight: 700; }
.add .add-on::before { content: "✓"; margin-right: 4px; }
.add-strong { min-height: 48px; padding: 0 22px; font-size: 16px; border-color: var(--blue); background: var(--paper); }
.add-mini { min-height: 34px; padding: 0 12px; font-size: 13px; }

/* ---------- shared section title ---------- */
.sec-title { font: 400 clamp(30px, 4.6vw, 46px)/1.15 var(--display); }
.sec-title .en { margin-left: 12px; font-size: .42em; color: var(--blue); letter-spacing: .02em; vertical-align: .35em; white-space: nowrap; }
.sec-lead { margin-top: 10px; color: var(--ink-2); max-width: 40em; }

p, li, dd, figcaption { text-wrap: pretty; }
.nw { white-space: nowrap; }

/* ---------- why ---------- */
.why { padding: 52px 0 8px; }
.why-list { display: grid; gap: 14px; margin-top: 26px; }
.why-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-content: start; padding: 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.why-list svg { grid-row: span 2; width: 36px; height: 36px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.why-list h3 { font: 400 22px/1.25 var(--display); }
.why-list p { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 719px) {
  .why-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why-list li { grid-template-columns: 1fr; padding: 16px 14px; }
  .why-list svg { grid-row: auto; width: 30px; height: 30px; margin-bottom: 10px; }
  .why-list h3 { font-size: 18px; }
  .why-list p { font-size: 13px; }
}
@media (min-width: 720px) { .why-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .why-list { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .why-list li { grid-template-columns: 1fr; padding: 24px 22px; }
  .why-list svg { grid-row: auto; margin-bottom: 16px; }
}

/* ---------- featured ---------- */
.featured { padding: 52px 0 12px; }
.feat-grid { display: grid; gap: 18px; margin-top: 26px; }
.feat { display: grid; border-radius: 14px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.feat-media { display: block; background: var(--well); }
.feat-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feat-body { display: grid; gap: 4px; padding: 18px 20px 20px; }
.feat h3 { font: 400 26px/1.2 var(--display); }
.feat-line { font-size: 16px; font-weight: 700; color: var(--ink); }
.feat-spec { font-size: 14px; color: var(--ink-2); }
.feat-price { font-size: 14px; color: var(--ink-2); }
.feat-price b { font: 400 26px/1 var(--display); color: var(--ink); margin: 0 1px; }
.feat-link { justify-self: start; margin-top: 8px; font-size: 15px; font-weight: 700; text-underline-offset: 4px; }
@media (min-width: 860px) { .feat-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (max-width: 859px) {
  .feat-grid, .scene-grid { grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 26px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .feat-grid::-webkit-scrollbar, .scene-grid::-webkit-scrollbar { display: none; }
  .feat, .scene { scroll-snap-align: start; }
  .scene { align-content: start; }
}

/* ---------- catalog ---------- */
.catalog { padding-top: 56px; padding-bottom: 56px; }
.catalog-head { display: grid; gap: 8px; margin-bottom: 18px; }
.count { margin-left: 10px; font: 600 16px/1 var(--body); color: var(--ink-2); vertical-align: 6px; }
.catalog-head p { color: var(--ink-2); max-width: 40em; }
.catalog-bar { position: sticky; top: var(--top-h); z-index: 20; background: rgba(246, 241, 234, .96); border-bottom: 1px solid var(--line); }
.catalog-bar-inner { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.jump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-right: auto; }
.jump::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; text-decoration: none; white-space: nowrap; }
.chip span { font-size: 12px; color: var(--ink-2); }
.chip.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-current span { color: var(--on-dark-2); }
.view-toggle { flex: none; display: none; padding: 3px; border-radius: 999px; background: var(--well); }
.js .view-toggle { display: inline-flex; }
.view-toggle button { height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-size: 13px; color: var(--ink-2); }
.view-toggle button[aria-pressed="true"] { background: var(--paper); color: var(--ink); font-weight: 700; box-shadow: 0 0 0 1px var(--line); }

.group { padding-top: 34px; }
.group-head { display: grid; gap: 4px; margin-bottom: 18px; max-width: 44em; }
.group-head h3 { font: 400 28px/1.2 var(--display); }
.group-count { margin-left: 8px; font: 600 14px/1 var(--body); color: var(--ink-2); vertical-align: 4px; }
.group-head p { font-size: 15px; color: var(--ink-2); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: calc(var(--top-h) + 70px); }
.card-media { position: relative; display: block; border-radius: var(--r-img); overflow: hidden; background: var(--well); }
.card-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; flex: 1; }
.card-name { font-size: 16px; font-weight: 700; line-height: 1.4; }
.card-name a { text-decoration: none; }
.card-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-tag { font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.card-spec { font-size: 13.5px; color: var(--ink-2); }
.card .price { margin-top: 4px; }
.card .add { margin-top: auto; align-self: stretch; }
.card .price + .add { margin-top: 10px; }
@media (min-width: 720px) { .card-name { font-size: 17px; } }

/* table view */
.price-table { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 15px; }
.price-table caption { text-align: left; padding-bottom: 10px; font-size: 13px; color: var(--ink-2); }
.price-table thead th { text-align: left; font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 8px 10px; border-bottom: 1.5px solid var(--ink); }
.price-table td, .price-table tbody th { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-weight: 400; }
.price-table tbody th a { font-weight: 700; text-decoration: none; }
.price-table tbody th a:hover { text-decoration: underline; }
.price-table .t-group th { padding: 22px 10px 8px; font: 400 22px/1.2 var(--display); border-bottom: 1px solid var(--ink); }
.price-table .t-group span { font: 600 13px var(--body); color: var(--ink-2); margin-left: 6px; }
.t-price b { font: 400 21px/1 var(--display); margin-right: 1px; }
.t-whole, .t-spec { color: var(--ink-2); }
.t-tag { display: block; font-size: 13px; color: var(--ink-2); font-weight: 400; }
.t-add { text-align: right !important; width: 1%; }
@media (max-width: 719px) {
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr { display: block; }
  .price-table tr:not(.t-group) { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .price-table tr:not(.t-group) > * { padding: 0; border: 0; }
  .price-table tr:not(.t-group) th { grid-column: 1; }
  .price-table .t-add { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .price-table .t-spec { grid-column: 1; font-size: 13.5px; }
  .price-table .t-price { grid-column: 1; }
  .price-table .t-whole { grid-column: 1; font-size: 13px; }
  .price-table .t-whole::before { content: "整装 "; }
  .price-table caption { display: block; }
  .price-table .t-group { display: block; }
  .price-table .t-group th { display: block; padding-left: 0; }
}
.catalog-note { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); max-width: 46em; }

/* ---------- scenes ---------- */
.scenes { padding: 56px 0; background: var(--well); }
.scene-grid { display: grid; gap: 18px; margin-top: 26px; }
.scene { display: grid; border-radius: 14px; overflow: hidden; background: var(--paper); }
.scene-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.scene-body { display: grid; gap: 6px; padding: 18px 20px 20px; align-content: start; }
.scene-who { font-size: 13px; font-weight: 700; color: var(--blue); }
.scene h3 { font: 400 24px/1.25 var(--display); }
.scene-body > p:not(.scene-who):not(.scene-recs) { font-size: 14.5px; color: var(--ink-2); }
.scene-recs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.scene-recs span { font-size: 12px; color: var(--ink-2); margin-right: 2px; }
.rec { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; text-decoration: none; }
.rec:hover { border-color: var(--ink); }
@media (min-width: 860px) {
  .scene-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .scene { grid-template-columns: 0.9fr 1.1fr; }
  .scene-media img { height: 100%; aspect-ratio: auto; min-height: 240px; }
}

/* ---------- partner ---------- */
.partner { padding: 56px 0; }
.partner-grid { display: grid; gap: 16px; margin-top: 26px; }
.partner-card { display: grid; gap: 10px; justify-items: start; padding: 26px 24px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.partner-card h3 { font: 400 28px/1.2 var(--display); }
.partner-card p { color: var(--ink-2); max-width: 30em; }
.partner-card.is-dark { background: var(--blue); border-color: var(--blue); color: #fff; }
.partner-card.is-dark p { color: rgba(255, 255, 255, .86); }
.steps-title { margin-top: 40px; font: 400 24px/1.2 var(--display); }
.steps { display: grid; gap: 14px; margin-top: 16px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-content: start; counter-increment: step; padding-top: 14px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font: 400 30px/1 var(--display); color: var(--blue); }
.steps b { font-size: 17px; }
.steps span { color: var(--ink-2); font-size: 14.5px; }
.partner-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
@media (min-width: 860px) {
  .partner-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .steps li { grid-template-columns: 1fr; }
  .steps li::before { grid-row: auto; margin-bottom: 10px; }
}

/* ---------- about ---------- */
.about { padding: 56px 0; background: var(--well); }
.about-inner { display: grid; gap: 28px; }
.about-copy > p { margin-top: 12px; color: var(--ink-2); max-width: 36em; }
.about-copy > p.about-lead { margin-top: 18px; font-size: 17px; color: var(--ink); }
.about-facts { margin-top: 20px; }
.about-facts > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid #d9cdbd; font-size: 14.5px; }
.about-facts dt { color: var(--ink-2); }
.about-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.about-mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
@media (max-width: 719px) { .about-mosaic { grid-template-columns: repeat(4, 1fr); gap: 6px; } .about-mosaic img { border-radius: 6px; } }
@media (min-width: 960px) { .about-inner { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; } }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: var(--on-dark); }
.contact-inner { display: grid; gap: 28px; padding-top: 52px; padding-bottom: 56px; }
.contact p { margin-top: 10px; color: var(--on-dark-2); max-width: 28em; }
.contact-actions { display: grid; gap: 12px; align-content: start; }
.phone-big { white-space: nowrap; display: grid; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(244, 238, 233, .25); text-decoration: none; font: 400 clamp(32px, 8vw, 42px)/1.1 var(--display); letter-spacing: .01em; }
.phone-big span { font: 13px/1.6 var(--body); color: var(--on-dark-2); }
.phone-big:hover { border-color: var(--on-dark); }
.contact .btn-light { justify-self: start; }
.contact .contact-addr { margin-top: 18px; font-size: 14px; max-width: none; }
.contact .sec-title .en { color: #9db0ff; }
@media (min-width: 860px) { .contact-inner { grid-template-columns: 1fr 1fr; align-items: center; } }

/* ---------- footer ---------- */
.foot { padding: 40px 0 calc(96px + env(safe-area-inset-bottom)); font-size: 13.5px; color: var(--ink-2); }
.foot-cols { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; }
.foot-cols > div:last-child { grid-column: 1 / -1; }
.foot h4 { margin-bottom: 8px; font-size: 14px; color: var(--ink); }
.foot nav { display: grid; gap: 6px; align-content: start; }
.foot a { text-underline-offset: 3px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot p + p { margin-top: 6px; }
.logo-foot { margin-bottom: 10px; color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; margin-top: 28px; padding-top: 16px; background: linear-gradient(var(--line), var(--line)) no-repeat content-box top / 100% 1px; font-size: 12.5px; }
.foot-bottom p + p { margin-top: 0; }
@media (min-width: 860px) {
  .foot { padding-bottom: 32px; }
  .foot-cols { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
  .foot-brand, .foot-cols > div:last-child { grid-column: auto; }
}


/* ---------- B3: banner ---------- */
.banner { position: relative; background: #24180f; color: #fff; overflow: hidden; }
.banner-media img { display: block; width: 100%; height: auto; }
.banner-inner { position: relative; padding-top: 28px; padding-bottom: 40px; }
.banner-kicker { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13px; font-weight: 600; color: #f1e6dc; }
.banner h1 { font: 400 min(13vw, 64px)/1.06 var(--display); letter-spacing: .01em; }
.banner h1 span { display: block; white-space: nowrap; }
.banner-lead { margin-top: 16px; max-width: 30em; font-size: 16.5px; color: #e9ddd2; }
.banner .hero-points { color: #fff; }
.banner .hero-points li::before { background-color: #f3c58f; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%232b1e17' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.banner-meta { margin-top: 18px; font-size: 14px; color: #d8c9bc; }
.banner-meta span { margin: 0 6px; color: rgba(255, 255, 255, .3); }
.banner-meta a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .6); white-space: nowrap; }
@media (max-width: 859px) {
  .banner-media img { aspect-ratio: 1; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
  .banner-inner { margin-top: -96px; }
}
@media (min-width: 860px) {
  .banner { min-height: min(86vh, 760px); display: flex; align-items: center; }
  .banner-media { position: absolute; inset: 0; }
  .banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
  .banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 18, 11, .92) 0%, rgba(28, 18, 11, .7) 36%, rgba(28, 18, 11, 0) 64%); pointer-events: none; }
  .banner-inner { z-index: 1; padding-top: 72px; padding-bottom: 72px; }
  .banner-copy { max-width: 560px; }
  .banner h1 { font-size: clamp(52px, 5.6vw, 84px); }
}

/* ---------- B3: numbers ---------- */
.numbers { background: var(--paper); border-bottom: 1px solid var(--line); }
.numbers-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 8px; padding: 24px 0; }
.numbers-list > div { display: flex; flex-direction: column-reverse; gap: 2px; }
.numbers-list dt { font-size: 13px; color: var(--ink-2); }
.numbers-list dd { font: 400 clamp(32px, 6vw, 48px)/1 var(--display); color: var(--ink); }
.numbers-list dd small { margin-left: 3px; font: 600 14px var(--body); color: var(--ink-2); }
@media (min-width: 860px) { .numbers-list { grid-template-columns: repeat(5, 1fr); padding: 30px 0; } .numbers-list > div + div { padding-left: 24px; border-left: 1px solid var(--line); } }

/* ---------- B3: signature ---------- */
.signature { padding: 56px 0; background: var(--well); }
.signature .tray { margin-top: 22px; gap: 18px; }
.tray-side { display: grid; gap: 14px; align-content: start; }
.tray-desc { font-size: 15px; color: var(--ink-2); line-height: 1.75; max-width: 34em; }
@media (min-width: 960px) {
  .signature .tray { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 40px; }
  .signature .tray-figure { margin: 0; }
  .signature .tray-figure img { -webkit-mask-image: none; mask-image: none; border-radius: 20px; box-shadow: 0 1px 2px rgba(43, 30, 23, .06), 0 22px 44px -26px rgba(43, 30, 23, .4); }
  .signature .flavors { grid-template-columns: repeat(3, 1fr); justify-content: stretch; }
  .signature .tray-info { grid-template-columns: 1fr; }
  .signature .tray-actions { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; margin-top: 8px; }
}

/* ---------- B3: layers band ---------- */
.layers { position: relative; background: #22160e; color: #fff; overflow: hidden; }
.layers-media { display: block; width: 100%; height: auto; }
.layers-inner { position: relative; padding-top: 8px; padding-bottom: 48px; }
.layers-kicker { font-size: 13px; font-weight: 600; color: #f3c58f; }
.layers h2 { margin-top: 10px; font: 400 clamp(40px, 7vw, 76px)/1.08 var(--display); }
.layers-copy p:not(.layers-kicker):not(.layers-sign) { margin-top: 16px; max-width: 26em; color: #e3d5c8; font-size: 16px; }
.layers-sign { margin-top: 22px; font: 400 22px/1.3 var(--display); color: #f3c58f; }
@media (max-width: 859px) { .layers-media { -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); mask-image: linear-gradient(to bottom, #000 65%, transparent); } .layers-inner { margin-top: -60px; } }
@media (min-width: 860px) {
  .layers { min-height: 560px; display: flex; align-items: center; }
  .layers-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
  .layers::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(28, 18, 11, .94) 0%, rgba(28, 18, 11, .75) 38%, rgba(28, 18, 11, 0) 66%); }
  .layers-inner { z-index: 1; display: flex; justify-content: flex-end; padding-top: 64px; padding-bottom: 64px; }
  .layers-copy { max-width: 470px; }
}

/* ---------- B3: scenes how-to ---------- */
.scene-how { margin-top: 4px; padding: 10px 12px; border-radius: 8px; background: var(--page); font-size: 14px; color: var(--ink); }
.scene-how b { display: block; margin-bottom: 2px; font-size: 12px; color: var(--blue); }

/* ---------- B3: contact background ---------- */
.contact { position: relative; overflow: hidden; }
.contact-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43, 30, 23, .96) 0%, rgba(43, 30, 23, .86) 100%); }
.contact-inner { position: relative; z-index: 1; }
.phone-big { background: rgba(43, 30, 23, .35); }

/* ---------- mobile dock / desktop pill ---------- */
.dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: rgba(246, 241, 234, .96); border-top: 1px solid var(--line); }
.dock a, .dock button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; }
.dock-call { border: 1.5px solid var(--ink); }
.dock-basket { border: 0; background: var(--blue); color: #fff; }
.dock-basket .basket-count { background: rgba(255, 255, 255, .22) !important; color: #fff; }
html:not(.js) .dock { grid-template-columns: 1fr; }
html:not(.js) .dock-basket { display: none !important; }
@media (min-width: 960px) {
  .dock { left: auto; right: 24px; bottom: 24px; padding: 0; background: none; border: 0; grid-template-columns: auto; }
  .dock-call { display: none !important; }
  .dock-basket { padding: 0 22px; box-shadow: 0 6px 20px rgba(36, 67, 196, .28); }
  body:not(.has-items) .dock { display: none; }
}

/* ---------- product sheet & basket (dialogs) ---------- */
.sheet, .basket { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(43, 30, 23, .45); }
.sheet-panel, .basket-panel { position: relative; width: 100%; max-height: 92vh; max-height: 92dvh; overflow: auto; background: var(--page); border-radius: 18px 18px 0 0; outline: none; animation: rise .22s ease-out; overscroll-behavior: contain; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-close { position: absolute; right: 12px; top: 12px; z-index: 2; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .9); font-size: 14px; }
.sheet-media { background: var(--well); }
.sheet-media img { width: 100%; max-height: 56vh; object-fit: contain; margin: 0 auto; }
.sheet-body { display: grid; gap: 12px; padding: 18px var(--gutter) calc(20px + env(safe-area-inset-bottom)); }
.sheet-cat { font-size: 13px; color: var(--ink-2); }
.sheet-body h2 { font: 400 30px/1.15 var(--display); }
.sheet-tag { font-size: 16px; font-weight: 700; }
.sheet-desc { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.sheet-suits { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sheet-suits:empty { display: none; }
.sheet-suits span { font-size: 12px; color: var(--ink-2); margin-right: 2px; }
.sheet-suits b { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-ink); font-size: 13px; font-weight: 600; }
.sheet-facts { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; font-size: 15px; }
.sheet-facts dt, .sheet-facts dd { padding: 8px 0; border-top: 1px solid var(--line); }
.sheet-facts dt { color: var(--ink-2); font-size: 14px; }
.sheet-facts dd b { font: 400 24px/1 var(--display); }
.sheet-notes { display: grid; gap: 6px; }
.sheet-notes li { padding: 10px 12px; border-radius: 8px; background: var(--amber-bg); color: var(--amber-ink); font-size: 14px; }
.sheet-notes li.is-plain { background: var(--well); color: var(--ink-2); }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sheet-actions > * { flex: 1 1 160px; }
.sheet-nav { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; font-size: 13px; color: var(--ink-2); }
.sheet-nav button { height: 36px; padding: 0 12px; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 860px) {
  .sheet { align-items: center; padding: 32px; }
  .sheet-panel { max-width: 980px; display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 18px; max-height: 88vh; }
  .sheet-media { display: grid; place-items: center; min-height: 100%; }
  .sheet-media img { max-height: 88vh; }
  .sheet-body { align-content: start; padding: 56px 28px 24px; }
}

.basket-panel { display: flex; flex-direction: column; height: 92vh; height: 92dvh; overflow: hidden; }
.basket-head { display: flex; align-items: center; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
.basket-head h2 { font: 400 26px/1.2 var(--display); }
.basket-head h2 b { font: 600 15px var(--body); color: var(--ink-2); margin-left: 4px; vertical-align: 4px; }
.basket-head .sheet-close { position: static; margin-left: auto; }
.basket-scroll { flex: 1; overflow: auto; padding: 8px var(--gutter) 16px; overscroll-behavior: contain; }
.basket-empty { display: grid; gap: 16px; justify-items: start; padding: 24px 0; color: var(--ink-2); }
.basket-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.basket-items img { grid-row: span 2; width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--well); }
.basket-items .bi-name { font-weight: 700; font-size: 15px; line-height: 1.35; }
.basket-items .bi-meta { grid-column: 2; font-size: 13px; color: var(--ink-2); }
.basket-items .bi-remove { grid-column: 3; grid-row: 1; border: 0; background: none; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.basket-items .bi-qty { grid-column: 2 / span 2; margin-top: 6px; }
.basket-items input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 15px; }
.basket-form { display: grid; gap: 14px; padding-top: 16px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { padding: 0; font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 16px; }
.field textarea { resize: vertical; line-height: 1.6; font-size: 14px; background: var(--well); color: var(--ink); }
.store-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.store-chips label { position: relative; }
.store-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.store-chips span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; }
.store-chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.store-chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.basket-foot { display: grid; gap: 8px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--page); }
.basket-foot .btn { width: 100%; }
.sms-only { display: none !important; }
.is-touch .sms-only { display: inline-flex !important; }
.basket-status { font-size: 13px; color: var(--ink-2); }
.basket-status.is-ok { color: #1d6b3a; font-weight: 600; }
.basket.is-empty .basket-form, .basket.is-empty .basket-foot { display: none; }
@media (min-width: 860px) {
  .basket { justify-content: flex-end; align-items: stretch; }
  .basket-panel { max-width: 460px; height: 100vh; max-height: 100vh; border-radius: 0; animation-name: slide; }
  @keyframes slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}
body.is-locked { overflow: hidden; }

/* ---------- B4: typography ---------- */
/* 标题：黄油体；卖点短句：文楷；数字：Fraunces；英文小标：Fraunces 斜体 */
html { font-synthesis: none; }

.banner h1, .hero h1, .sec-title, .layers h2, .logo-cn { letter-spacing: var(--head-track); }
.banner h1 { line-height: 1.14; }
.layers h2 { line-height: 1.16; }
.why-list h3, .feat h3, .scene h3, .group-head h3, .partner-card h3, .steps-title, .tray-name, .tray-title, .sheet-body h2, .basket-head h2, .price-table .t-group th { font-family: var(--head2); letter-spacing: .02em; }
.card-name { font-family: var(--name); }

.card-tag, .tray-line, .feat-line, .sheet-tag, .banner-lead, .layers-sign, .scene-how, .banner-kicker, .layers-kicker { font-family: var(--accent); }
.card-tag { font-size: 14.5px; color: var(--ink-2); }
.tray-line { font-size: 18px; }
.feat-line { font-size: 17.5px; font-weight: 400; }
.sheet-tag { font-size: 18px; font-weight: 400; }
.banner-lead { font-size: 18px; line-height: 1.8; }
.banner-kicker, .layers-kicker { font-size: 14px; font-weight: 400; letter-spacing: .04em; }
.layers-sign { font-size: 26px; }
.scene-how { font-size: 15.5px; line-height: 1.7; }
.scene-how b { font-family: var(--body); font-size: 12px; }

.price-num, .tray-price b, .feat-price b, .t-price b, .sheet-facts dd b, .numbers-list dd, .phone-big, .top-phone, .steps li::before { font-family: var(--num); font-feature-settings: "lnum" 1, "pnum" 1; letter-spacing: 0; }
.sec-title .en { font-family: var(--en); font-size: .5em; letter-spacing: .01em; vertical-align: .32em; }
.why-list h3 span { white-space: nowrap; }
@media (max-width: 719px) { .sec-title .en { display: block; margin: 6px 0 0; font-size: .48em; vertical-align: 0; } }
.banner h1 span + span { color: #f3c58f; }
.banner-lead, .layers-copy p, .sec-lead { text-wrap: balance; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .review-bar, .dock, .catalog-bar, .add, .top-actions { display: none !important; }
  .top { position: static; }
}

/* ---------- B6: one product image system ---------- */
/* product tiles already carry their own cream studio surface; frames only round and lift them */
.card-media { background: #efe7db; box-shadow: inset 0 0 0 1px rgba(91, 64, 40, .06); }
.card-media img, .feat-media img, .scene-media img, .about-figure img, .sheet-media img { background: #efe7db; }
.card:hover .card-media img { transform: scale(1.025); }
.card-media img { transition: transform .35s ease; }
@media (prefers-reduced-motion: reduce) { .card-media img { transition: none; } .card:hover .card-media img { transform: none; } }
.feat-media { background: #efe7db; }
.sheet-media { background: #efe7db; }
.signature .tray-figure img { background: #efe7db; }
@media (min-width: 960px) {
  .signature .tray-figure img { border-radius: 18px; box-shadow: 0 1px 2px rgba(91, 64, 40, .08), 0 24px 48px -30px rgba(91, 64, 40, .45); }
}

/* scenes: the picture shows exactly the products recommended in that card */
.scene { grid-template-columns: 1fr; align-content: start; border: 1px solid var(--line); }
.scene-media { background: #efe7db; }
.scene-media img { aspect-ratio: 16 / 10; height: auto; min-height: 0; object-fit: cover; }
@media (min-width: 860px) {
  .scene { grid-template-columns: 1fr; }
  .scene-media img { height: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .scene-body { padding: 20px 24px 24px; }
}

/* about: one lineup, one of each category, instead of four unrelated thumbnails */
.about-figure { margin: 0; }
.about-figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 16px; box-shadow: 0 1px 2px rgba(91, 64, 40, .08), 0 24px 48px -32px rgba(91, 64, 40, .45); }
.about-figure figcaption { margin-top: 10px; font: 400 15px/1.5 var(--accent); color: var(--ink-2); text-align: center; }
.about-figure figcaption { text-wrap: balance; }

/* ---------- B8: product-manual photos ---------- */
/* product center: the manual's own studio photos (background and light kept), 4:3 */
.card-media img { aspect-ratio: 4 / 3; }
.card-media .shots { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(43, 30, 23, .62); color: #fff; font: 600 11.5px/1.3 var(--body); letter-spacing: .02em; }

/* product sheet: photo series (main photo + thumbnails) beside the facts */
.sheet-media { background: #e9e1d6; }
.gal-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; background: #e9e1d6; }
.sheet-media .gal-stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; background: transparent; }
.gal-step { position: absolute; top: 50%; z-index: 1; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgba(255, 252, 248, .88); color: var(--ink); font: 400 28px/1 var(--body); box-shadow: 0 2px 10px rgba(43, 30, 23, .18); cursor: pointer; }
.gal-step span { margin-top: -3px; }
.gal-prev { left: 10px; }
.gal-next { right: 10px; }
.gal-step:hover { background: #fff; }
.gal-cap { position: absolute; left: 10px; bottom: 10px; z-index: 1; max-width: calc(100% - 20px); padding: 4px 10px; border-radius: 999px; background: rgba(43, 30, 23, .62); color: #fff; font-size: 12.5px; line-height: 1.4; }
.gal-cap:empty { display: none; }
.gal-thumbs { display: flex; gap: 8px; padding: 10px 12px 12px; overflow-x: auto; scrollbar-width: thin; background: var(--page); border-bottom: 1px solid var(--line); }
.gal-thumbs:empty { display: none; }
.gal-thumbs button { flex: 0 0 auto; width: 78px; padding: 0; border: 0; background: none; display: grid; gap: 4px; justify-items: center; cursor: pointer; color: var(--ink-2); }
.gal-thumbs img { width: 78px; height: 58px; object-fit: cover; border-radius: 6px; background: var(--well); opacity: .72; outline: 2px solid transparent; outline-offset: 1px; transition: opacity .15s, outline-color .15s; }
.gal-thumbs span { max-width: 78px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; line-height: 1.3; }
.gal-thumbs button:hover img { opacity: 1; }
.gal-thumbs button[aria-pressed="true"] img { opacity: 1; outline-color: var(--ink); }
.gal-thumbs button[aria-pressed="true"] span { color: var(--ink); font-weight: 600; }
.has-one .gal-step { display: none; }
.sheet-facts dd { line-height: 1.55; }
@media (min-width: 860px) {
  .sheet-panel { max-width: 1080px; grid-template-columns: 1.2fr 1fr; }
  .sheet-media { display: block; place-items: normal; min-height: 0; position: sticky; top: 0; align-self: start; }
  .gal-thumbs { border-bottom: 0; background: #e9e1d6; padding: 12px 14px 14px; }
  .gal-thumbs button[aria-pressed="true"] span { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .gal-thumbs img { transition: none; } }
