/* 二级页统一尺度；不向首页输出规则。页脚依据当前 home-reference.css。 */
.subpage {
  --step-0: 14px;
  --step-1: 17px;
  --step-2: clamp(22px, 2vw, 28px);
  --step-3: clamp(28px, 2.5vw, 36px);
  --secondary-container: min(1300px, calc(100% - 64px));
  background: #fff;
  color: #171918;
  font-size: 14px;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.subpage main { flex: 1; min-width: 0; }
.subpage .shell { width: var(--secondary-container); }
.subpage .narrow { width: min(860px, calc(100% - 64px)); }
.subpage .section { padding-block: clamp(32px, 4vw, 60px); }
.subpage main > .section:first-child { padding-top: 32px; }
.subpage .filter-nav + main > .section:first-child { padding-top: 12px; }
.subpage .section-quiet, .subpage .section-dark { background: #fff; }
.subpage .content-heading { margin-bottom: 32px; }
.subpage h1, .subpage .content-heading h1, .subpage .detail-hero h1 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.35; letter-spacing: .03em; }
.subpage .content-heading h1 { margin-bottom: 12px; }
.subpage .content-heading h1::before { width: 32px; margin-bottom: 16px; background: #b89563; }
.subpage .lede, .subpage .content-heading .lede, .subpage .page-hero .lede { font-size: 14px; line-height: 1.8; }
.subpage .meta, .subpage .eyebrow, .subpage .detail-meta, .subpage .breadcrumb ol { font-size: 12px; }
.subpage .breadcrumb { padding-block: 14px; }
.subpage .header-inner { min-height: 76px; gap: 20px; }
.subpage .brand img { width: 170px; }
.subpage .site-nav { gap: clamp(14px, 1.55vw, 26px); }
.subpage .site-nav > a, .subpage .site-nav summary, .subpage .search-toggle { font-size: 13px; }
.subpage .nav-group-panel a { font-size: 12px; }
.subpage .filter-nav { position: sticky; top: var(--header-offset); z-index: 80; padding: 0; margin-bottom: 24px; gap: 24px; border-top: 0; background: #fff; }
.subpage .filter-nav a { min-height: 48px; font-size: 13px; }
.subpage main :where(section[id], article[id], h2[id]) { scroll-margin-top: calc(var(--header-offset) + 72px); }
.subpage .content-heading, .subpage .detail-hero { scroll-margin-top: calc(var(--header-offset) + 72px); }

/* CMS 内嵌字号只在正文内归一，保留标题层级、图片及原链接。 */
.subpage .prose { font-size: 14px; line-height: 1.9; }
.subpage .prose :where(p, li, div, span, font, a, strong, em, b, i, td, th)[style],
.subpage .prose font[size] { font-size: inherit !important; line-height: inherit !important; }
.subpage .prose :where(p, li, td, th) { font-size: 14px; line-height: 1.9; }
.subpage .prose :where(h2, h3, h4, h5, h6) { font-size: 17px !important; line-height: 1.6 !important; letter-spacing: .02em; }
.subpage .prose h1 { font-size: clamp(28px, 2.5vw, 36px) !important; }
.subpage .prose :where(p, div, section, figure)[style] { max-width: 100% !important; }
.subpage .prose img { max-width: 100% !important; height: auto !important; }
.subpage .prose img[hidden] { display: none !important; }
.case-detail-page .prose p[hidden], .case-detail-page .case-gallery-more[hidden] { display: none !important; }
.subpage .case-gallery-more { min-height: 44px; margin-block: 20px; font: inherit; cursor: pointer; }
.subpage .history-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 20px; border-bottom: var(--line); }
.subpage .history-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 62px; min-height: 44px; padding: 8px 12px; border: 1px solid #e5e1da; text-decoration: none; font-size: 13px; }
.subpage .history-nav a:hover { border-color: var(--color-gold); color: #856337; }
.subpage .history-nav a:focus-visible, .case-detail-page .case-gallery-more:focus-visible { outline: 2px solid #856337; outline-offset: 3px; }
.subpage .prose :where(video, iframe, embed, object) { max-width: 100% !important; }
.subpage .prose table { width: auto; max-width: 100% !important; }
.subpage .prose a { text-underline-offset: 4px; }
.subpage .prose .content-heading { margin-top: 0; }
.subpage .prose .notice { margin-top: 32px; }
.subpage .form-field label, .subpage .form-field legend, .subpage .form-field input,
.subpage .form-field select, .subpage .form-field textarea, .subpage .button,
.subpage .text-link, .subpage .privacy-note, .subpage .privacy-check { font-size: 14px; }
.subpage .faq-list summary { font-size: 16px; }
.subpage .location-details dd { font-size: 14px; }

/* 展示型列表：产品是整齐的空间索引，案例保留更宽的空间画面。 */
.subpage .catalog-list { gap: 36px 28px; }
.subpage .catalog-item { gap: 16px; padding-bottom: 20px; }
.subpage .catalog-item h2, .subpage .article-row h2, .subpage .location-row h2 { margin: 5px 0 8px; font-size: 17px; line-height: 1.6; letter-spacing: .02em; }
.subpage .catalog-item p, .subpage .article-row p { font-size: 13px; line-height: 1.8; }
.subpage .catalog-item .image-frame { overflow: hidden; border: 0; }
.subpage .catalog-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.subpage .product-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.subpage .case-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.subpage .case-catalog img { aspect-ratio: 3 / 2; }
.subpage .catalog-caption { display: block; min-width: 0; }
.subpage .catalog-caption .text-link { margin-top: 10px; min-height: 32px; font-size: 12px; }
.subpage .news-list .article-row { grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr); gap: 28px; padding-block: 24px; }
.subpage .news-list .article-row img { aspect-ratio: 16 / 10; object-fit: cover; grid-column: 1; grid-row: 1; }
.subpage .news-list .article-row > span { grid-column: 2; }
.subpage .news-list .article-row:not(:has(img)) > span { grid-column: 1 / -1; }
.subpage .video-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.subpage .video-catalog .image-frame { position: relative; }
.subpage .video-catalog img { aspect-ratio: 16 / 9; }
.subpage .video-play { position: absolute; left: 16px; bottom: 16px; padding: 5px 12px; color: #fff; background: rgb(0 0 0 / .65); font-size: 12px; }
.subpage .pagination { margin-top: 36px; font-size: 13px; }

/* 详情：先画面与标题，再横向资料条和连续正文，不留空侧栏。 */
.subpage .showcase-hero { padding-bottom: 0; border-bottom: 0; }
.subpage .showcase-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.subpage .showcase-heading h1 { margin-bottom: 8px; }
.subpage .showcase-heading .detail-actions { margin-top: 0; flex-shrink: 0; }
.subpage .showcase-hero .image-frame { border: 0; }
.subpage .showcase-hero .image-frame img { width: 100%; height: auto; max-height: 680px; object-fit: contain; }
.subpage .detail-body { display: grid; gap: 28px; }
.subpage .detail-facts { padding-bottom: 20px; border-bottom: var(--line); }
.subpage .detail-facts dl { display: flex; flex-wrap: wrap; gap: 18px 36px; margin: 0; }
.subpage .detail-facts dl > div { flex: 1 1 150px; min-width: 0; }
.subpage .detail-facts dt { color: var(--color-muted); font-size: 12px; margin-bottom: 6px; }
.subpage .detail-facts dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.subpage .detail-facts > .text-link { margin-top: 16px; font-size: 13px; }
.subpage .detail-body > .prose { width: min(100%, 1040px); margin-inline: auto; }
.subpage .detail-gallery { display: grid; gap: 20px; margin-block: 28px; }
.subpage .detail-gallery:empty, .subpage .detail-facts:has(> dl:empty) { display: none; }
.subpage .detail-gallery figure, .subpage .detail-gallery img { margin: 0; }
.subpage .detail-gallery img { width: 100%; }
.subpage .detail-gallery figcaption { margin-top: 8px; font-size: 12px; }
.subpage .detail-nav { margin-top: 36px; font-size: 13px; }
.subpage .detail-nav > div:not(:has(a)) { display: none; }
.subpage .detail-nav:not(:has(> div a[href]:not([href=""]):not([href="#"]))) { display: none; }
.subpage .faq-list > h2, .subpage .faq-group-title { margin-block: 24px 16px; font-size: 17px; }
.subpage .related-products { margin-top: 40px; padding-top: 28px; border-top: var(--line); }
.subpage .related-products > h2 { font-size: 22px; margin-bottom: 24px; }
.subpage .article-content .prose { max-width: 860px; }
.subpage .article-content .content-heading { padding-bottom: 24px; border-bottom: var(--line); }
.subpage .video-detail .video-frame { margin-bottom: 28px; background: #111; }
.subpage .video-detail .prose { max-width: 860px; margin-inline: auto; }
.subpage .video-detail .narrow { width: min(1100px, calc(100% - 64px)); }

/* 门店与服务：按地点和办事入口组织，CMS 正文独立完整显示。 */
.subpage .directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.subpage .directory-heading .content-heading { margin-bottom: 0; }
.subpage .directory-heading .detail-actions { margin-top: 0; }
.subpage .store-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.subpage .store-directory .location-row { grid-template-columns: 1fr auto; gap: 10px 16px; padding-block: 24px; }
.subpage .store-directory .location-row > .meta { grid-column: 1 / -1; }
.subpage .store-directory .location-row address { font-size: 13px; }
.subpage .store-detail .location-details { padding: 20px 0; border-block: var(--line); margin-bottom: 28px; }
.subpage .store-detail .location-details > div { border: 0; padding: 0; }
.subpage .store-detail .prose > img { width: 100%; }
.subpage .service-content { max-width: none; }
.subpage .service-content > .single-content { max-width: 1040px; margin: 0 auto 32px; }
.subpage .service-shortcuts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 28px; border-block: var(--line); }
.subpage .service-shortcuts a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
.subpage .service-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.subpage .service-options > section { border-top: 2px solid #b89563; padding-top: 24px; }
.subpage .service-options h2 { margin-top: 8px; }
.subpage .service-help { margin-top: 32px; padding-top: 24px; border-top: var(--line); }
.subpage .service-help h2 { margin-top: 0; }
.subpage .franchise-content :where(h2, h3) { font-size: 17px !important; }
.subpage .franchise-content :where(p, li) { font-size: 14px; }

/* 首页页脚的独立作用域版本，显式复位 base.css 的三栏页脚遗留值。 */
.subpage .site-footer { flex-shrink: 0; padding: 38px 0 18px; border: 0; color: rgba(255,255,255,.58); background: #000; line-height: 1.7; }
.subpage .site-footer .container { width: min(1300px, calc(100vw - 64px)); margin-inline: auto; }
.subpage .site-footer a { text-decoration: none; }
.subpage .footer-grid { display: grid; grid-template-columns: 1.2fr repeat(7, .64fr) 1.08fr; gap: 18px; align-items: start; padding-bottom: 0; }
.subpage .footer-brand img { width: 160px; height: auto; margin-bottom: 10px; filter: brightness(0) invert(1); }
.subpage .footer-brand p { margin: 0 0 12px; font-size: 11px; }
.subpage .footer-brand a { color: #d7b881; font-size: 17px; }
.subpage .footer-links h2 { margin: 0 0 13px; color: #d7a85f; font-size: 12px; font-weight: 600; line-height: 1.7; letter-spacing: normal; text-wrap: wrap; }
.subpage .footer-links h2 a { display: inline; margin: 0; color: inherit; font-size: inherit; font-weight: inherit; }
.subpage .footer-links a { display: block; margin: 6px 0; color: rgba(255,255,255,.72); font-size: 10px; line-height: 1.45; white-space: nowrap; transition: color .2s; }
.subpage .footer-links a:hover { color: #d9bc8b; }
.subpage .footer-qrs { display: flex; gap: 15px; }
.subpage .footer-qrs figure { margin: 0; text-align: center; }
.subpage .footer-qrs img { width: 70px; height: 70px; padding: 3px; background: #fff; }
.subpage .footer-qrs figcaption { margin-top: 7px; font-size: 9px; }
.subpage .footer-bottom { margin-top: 28px; padding-top: 14px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); font-size: 9px; }
.subpage .privacy-dialog { width: min(480px, calc(100vw - 32px)); padding: 28px 30px; border: 1px solid rgba(184,149,99,.45); color: #262522; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.subpage .privacy-dialog::backdrop { background: rgba(8,8,7,.64); }
.subpage .privacy-dialog h2 { margin: 0 0 12px; font-size: 24px; }
.subpage .privacy-dialog p { margin: 0; color: #716e67; font-size: 13px; line-height: 1.8; }
.subpage .privacy-close { position: absolute; top: 9px; right: 12px; width: 32px; height: 32px; border: 0; color: #7d776f; background: transparent; font-size: 24px; cursor: pointer; }
@media (max-width: 1120px) {
  .subpage .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .subpage .footer-brand { grid-column: span 2; }
  .subpage .footer-qrs { grid-column: span 2; justify-content: flex-end; }
}
@media (min-width: 68.01rem) {
  .subpage .header-tools { order: 2; }
  .subpage .site-search { position: absolute; right: 32px; top: 100%; padding: 12px; background: #101211; }
}
@media (max-width: 900px) {
  .subpage { --secondary-container: min(760px, calc(100% - 40px)); }
  .subpage .site-footer .container { width: min(760px, calc(100% - 40px)); }
  .subpage .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .subpage .footer-brand, .subpage .footer-qrs { grid-column: span 3; }
  .subpage .footer-qrs { justify-content: flex-start; }
  .subpage .product-catalog, .subpage .video-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subpage .site-nav > a, .subpage .site-nav summary { font-size: 16px; }
  .subpage .nav-group-panel a { font-size: 14px; }
}
@media (max-width: 48rem) {
  .subpage .header-inner { min-height: 68px; }
  .subpage .brand img { width: 168px; }
  .subpage .narrow, .subpage .video-detail .narrow { width: var(--secondary-container); }
  .subpage .showcase-heading, .subpage .directory-heading { display: block; }
  .subpage .showcase-heading .detail-actions, .subpage .directory-heading .detail-actions { margin-top: 16px; }
  .subpage .detail-facts dl { gap: 16px 24px; }
  .subpage .service-options, .subpage .store-directory { grid-template-columns: 1fr; gap: 24px; }
  .subpage .store-directory { gap: 0; }
  .subpage .catalog-list { gap: 28px 20px; }
  .subpage .catalog-item h2 { font-size: 16px; }
  .subpage .news-list .article-row { grid-template-columns: minmax(0, 1fr) 112px; gap: 16px; }
  .subpage .news-list .article-row > span { grid-column: 1; grid-row: 1; }
  .subpage .news-list .article-row img { grid-column: 2; grid-row: 1; }
  .subpage .article-row { gap: 12px; }
  .subpage .article-row h2 { font-size: 16px; }
}
@media (max-width: 720px) {
  .subpage .news-list .article-row p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
}
@media (max-width: 600px) {
  .subpage { --secondary-container: calc(100% - 30px); }
  .subpage .filter-nav { gap: 20px; margin-bottom: 20px; }
  .subpage .product-catalog, .subpage .case-catalog, .subpage .video-catalog { grid-template-columns: 1fr; }
  .subpage .site-footer .container { width: calc(100vw - 30px); }
  .subpage .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .subpage .footer-brand, .subpage .footer-qrs { grid-column: 1 / -1; }
  .subpage .footer-bottom { flex-direction: column; gap: 5px; }
  .subpage .content-heading { margin-bottom: 24px; }
}
