html[lang="ru"] {
  --gp-zh-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
}
html[lang="ru"] body{font-family:var(--gp-zh-sans)}
/* 繁体站全局字体闸门：所有可见文字统一现代黑体，不再混入宋体／衬线体。 */
html[lang="ru"] body,
html[lang="ru"] button,
html[lang="ru"] input,
html[lang="ru"] select,
html[lang="ru"] textarea,
html[lang="ru"] h1,
html[lang="ru"] h2,
html[lang="ru"] h3,
html[lang="ru"] h4,
html[lang="ru"] h5,
html[lang="ru"] h6,
html[lang="ru"] a,
html[lang="ru"] p,
html[lang="ru"] span,
html[lang="ru"] strong,
html[lang="ru"] b,
html[lang="ru"] small,
html[lang="ru"] summary,
html[lang="ru"] label,
html[lang="ru"] th,
html[lang="ru"] td,
html[lang="ru"] li,
html[lang="ru"] figcaption {
  font-family: var(--gp-zh-sans) !important;
}
html[lang="ru"] h1,html[lang="ru"] h2,html[lang="ru"] h3,html[lang="ru"] .product-paths strong{letter-spacing:-.025em}
html[lang="ru"] .eyebrow,html[lang="ru"] .gp-nav-button,html[lang="ru"] .gp-start-project{letter-spacing:.08em}
html[lang="ru"] .gp-nav-menu small{line-height:1.55}
html[lang="ru"] .footer nav{flex-wrap:wrap}

/* Gold Printing书刊系统统一字体：繁体Book母页与全部详情页只用黑体体系。 */
html[lang="ru"] body.book-directory-page h1,
html[lang="ru"] body.book-directory-page h2,
html[lang="ru"] body.book-directory-page h3,
html[lang="ru"] body.book-directory-page .universe-item strong,
html[lang="ru"] body.book-product-page h1,
html[lang="ru"] body.book-product-page h2,
html[lang="ru"] body.book-product-page h3,
html[lang="ru"] body.book-product-page .product-paths strong,
html[lang="ru"] body.book-product-page .faq-list summary {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: -.025em;
}

/*
 * 繁体书刊详情页统一排版系统
 * 只保留大标题／栏目标题／卡片标题三档，覆盖各旧模板遗留的夸张字号与宋体。
 */
html[lang="ru"] body.book-product-page,
html[lang="ru"] body.book-product-page button,
html[lang="ru"] body.book-product-page input,
html[lang="ru"] body.book-product-page select,
html[lang="ru"] body.book-product-page textarea,
html[lang="ru"] body.book-product-page h1,
html[lang="ru"] body.book-product-page h2,
html[lang="ru"] body.book-product-page h3,
html[lang="ru"] body.book-product-page strong,
html[lang="ru"] body.book-product-page b,
html[lang="ru"] body.book-product-page summary {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
}

/* 一级：产品详情页主标题。 */
html[lang="ru"] body.book-product-page .product-hero h1 {
  font-size: clamp(34px, 2.8vw, 42px);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
html[lang="ru"] body.book-product-page .product-hero h1 .title-line {
  display: block;
  white-space: nowrap;
}
html[lang="ru"] body.book-product-page .product-hero h1.compact-one-line {
  font-size: clamp(38px, 3.35vw, 48px);
  white-space: nowrap;
}
html[lang="ru"] body.book-product-page .product-hero h1.hardcover-hero-title em.title-line {
  margin-top: .12em;
  font-size: clamp(38px, 3.2vw, 46px);
  line-height: 1.16;
  letter-spacing: -.035em;
}

/* 二级：产品故事、规格、材料、流程、FAQ与行动区标题。 */
html[lang="ru"] body.book-product-page h2,
html[lang="ru"] body.book-product-page .section-title h2,
html[lang="ru"] body.book-product-page .types-heading h2,
html[lang="ru"] body.book-product-page .gallery-heading h2,
html[lang="ru"] body.book-product-page .spec-intro h2,
html[lang="ru"] body.book-product-page .materials-heading h2,
html[lang="ru"] body.book-product-page .process-heading h2,
html[lang="ru"] body.book-product-page .faq-heading h2,
html[lang="ru"] body.book-product-page .anatomy-heading h2,
html[lang="ru"] body.book-product-page .endsheet-intro h2,
html[lang="ru"] body.book-product-page .binding-craft-heading h2,
html[lang="ru"] body.book-product-page .craft-guide-callout h2,
html[lang="ru"] body.book-product-page .project-cta h2 {
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* 三级：书种、工艺、材料、流程及卡片标题。 */
html[lang="ru"] body.book-product-page h3,
html[lang="ru"] body.book-product-page .type-item h3,
html[lang="ru"] body.book-product-page .materials-grid h3,
html[lang="ru"] body.book-product-page .process-grid h3,
html[lang="ru"] body.book-product-page .anatomy-system > h3,
html[lang="ru"] body.book-product-page .endsheet-options h3,
html[lang="ru"] body.book-product-page .binding-methods h3,
html[lang="ru"] body.book-product-page .cultural-window h3 {
  font-size: clamp(20px, 1.65vw, 24px);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: -.018em;
}

html[lang="ru"] body.book-product-page .application-gallery figcaption strong,
html[lang="ru"] body.book-product-page .craft-visual figcaption strong,
html[lang="ru"] body.book-product-page .product-paths strong,
html[lang="ru"] body.book-product-page .anatomy-system li b,
html[lang="ru"] body.book-product-page .opening-sequence li,
html[lang="ru"] body.book-product-page .fact-band strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-weight: 650;
}

html[lang="ru"] body.book-product-page .product-paths strong,
html[lang="ru"] body.book-product-page .application-gallery figcaption strong,
html[lang="ru"] body.book-product-page .craft-visual figcaption strong {
  font-size: 22px;
  line-height: 1.3;
}

html[lang="ru"] body.book-product-page p,
html[lang="ru"] body.book-product-page li,
html[lang="ru"] body.book-product-page td {
  font-size: 15px;
  line-height: 1.7;
}

html[lang="ru"] body.book-product-page .eyebrow,
html[lang="ru"] body.book-product-page .breadcrumb,
html[lang="ru"] body.book-product-page figcaption,
html[lang="ru"] body.book-product-page small,
html[lang="ru"] body.book-product-page .type-item span,
html[lang="ru"] body.book-product-page .product-paths span {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
}

/* 包装母页与详情页严格复用书刊三级标题系统，不另设夸张字号。 */
html[lang="ru"] body.packaging-directory,
html[lang="ru"] body.packaging-product,
html[lang="ru"] body.packaging-directory h1,
html[lang="ru"] body.packaging-directory h2,
html[lang="ru"] body.packaging-directory h3,
html[lang="ru"] body.packaging-product h1,
html[lang="ru"] body.packaging-product h2,
html[lang="ru"] body.packaging-product h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif !important;
}

html[lang="ru"] body.packaging-directory .packaging-hero h1,
html[lang="ru"] body.packaging-product .packaging-hero h1,
html[lang="ru"] body.packaging-product .product-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 3.55vw, 50px) !important;
  font-weight: 650;
  line-height: 1.13 !important;
  letter-spacing: -.035em;
  text-wrap: balance;
}

html[lang="ru"] body.packaging-directory h2,
html[lang="ru"] body.packaging-product h2,
html[lang="ru"] body.packaging-directory .packaging-section-head h2,
html[lang="ru"] body.packaging-directory .packaging-cta h2,
html[lang="ru"] body.packaging-directory .packaging-gallery-head h2,
html[lang="ru"] body.packaging-directory .packaging-focus h2 {
  font-size: clamp(32px, 3vw, 42px) !important;
  font-weight: 650;
  line-height: 1.18 !important;
  letter-spacing: -.025em;
  text-wrap: balance;
}

html[lang="ru"] body.packaging-directory h3,
html[lang="ru"] body.packaging-product h3,
html[lang="ru"] body.packaging-directory .packaging-capabilities h3,
html[lang="ru"] body.packaging-directory .packaging-type h2 {
  font-size: clamp(20px, 1.65vw, 24px) !important;
  font-weight: 650;
  line-height: 1.28 !important;
  letter-spacing: -.018em;
}

@media (max-width: 760px) {
  html[lang="ru"] body.packaging-directory .packaging-hero h1,
  html[lang="ru"] body.packaging-product .packaging-hero h1,
  html[lang="ru"] body.packaging-product .product-hero h1 { font-size: 32px !important; }
  html[lang="ru"] body.packaging-directory h2,
  html[lang="ru"] body.packaging-product h2 { font-size: 30px !important; }
}

/* 2026-07-22 老板再次锁定：繁体全站禁止夸张大字，同级标题统一收缩。 */
html[lang="ru"] h1 {
  max-width: 920px;
  font-size: clamp(32px, 3vw, 42px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.02em !important;
  text-wrap: pretty;
}

html[lang="ru"] h2 {
  font-size: clamp(26px, 2.4vw, 34px) !important;
  line-height: 1.22 !important;
  letter-spacing: -.018em !important;
  text-wrap: pretty;
}

html[lang="ru"] h3 {
  font-size: clamp(20px, 1.7vw, 24px) !important;
  line-height: 1.28 !important;
  letter-spacing: -.012em !important;
  text-wrap: pretty;
}

html[lang="ru"] body.publisher-home .publisher-hero h1 {
  max-width: 760px;
  font-size: clamp(36px, 3.4vw, 46px) !important;
  line-height: 1.16 !important;
  font-weight: 700 !important;
}

html[lang="ru"] .publisher-footer .footer-brand-name {
  display: block;
  color: #d8b272;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: .04em;
}

@media (max-width: 760px) {
  html[lang="ru"] h1,
  html[lang="ru"] body.publisher-home .publisher-hero h1 {
    font-size: 30px !important;
    line-height: 1.22 !important;
  }

  html[lang="ru"] h2 {
    font-size: 26px !important;
  }

  html[lang="ru"] h3 {
    font-size: 21px !important;
  }
}

@media (max-width: 760px) {
  html[lang="ru"] .quote-contact-details a[href^="mailto:"] {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* 2026-07-22 老板锁定：繁体中文标题简洁克制，不以超大字号制造气势。 */
html[lang="ru"] body h1 {
  font-size: clamp(32px, 3vw, 42px) !important;
  line-height: 1.16 !important;
}

html[lang="ru"] body h2 {
  font-size: clamp(26px, 2.4vw, 34px) !important;
  line-height: 1.2 !important;
}

html[lang="ru"] body h3 {
  font-size: clamp(18px, 1.55vw, 24px) !important;
  line-height: 1.3 !important;
}

/* 全站栏目定位条：进入深层页面仍保留当前栏目结构，不让访客迷路。 */
html[lang="ru"] .gp-context-subnav-shell {
  position: sticky;
  top: 0;
  z-index: 19;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(184, 138, 67, .3);
  background: rgba(14, 16, 15, .97);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

@media (min-width: 981px) {
  html[lang="ru"] .gp-context-subnav-shell { top: 91px; }

  /*
   * 包装母页的主页头随页面正常滚动，并非固定页头。
   * 二级工艺条必须贴住浏览器顶边，不能保留固定页头的 91px 空位。
   */
  html[lang="ru"] body.packaging-directory .gp-context-subnav-shell {
    top: 0;
  }
}

html[lang="ru"] .gp-context-subnav {
  display: flex;
  justify-content: center;
  max-width: 1380px;
  margin: 0 auto;
}

html[lang="ru"] .gp-context-subnav a {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 18px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  color: #d8b272;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

html[lang="ru"] .gp-context-subnav a:last-child { border-right: 0; }
html[lang="ru"] .gp-context-subnav a:hover,
html[lang="ru"] .gp-context-subnav a:focus-visible {
  color: #d8b272;
  background: transparent;
}

html[lang="ru"] .gp-context-subnav a.is-current,
html[lang="ru"] .gp-context-subnav a[aria-current="page"] {
  color: #d8b272;
  background: transparent;
}

html[lang="ru"] .gp-context-subnav a.is-current::after,
html[lang="ru"] .gp-context-subnav a[aria-current="page"]::after,
html[lang="ru"] .gp-context-subnav a:hover::after,
html[lang="ru"] .gp-context-subnav a:focus-visible::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 2px;
  background: #d8b272;
}

@media (max-width: 760px) {
  html[lang="ru"] .gp-context-subnav-shell { padding: 0; overflow: hidden; }
  html[lang="ru"] .gp-context-subnav {
    justify-content: flex-start;
    max-width: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }
  html[lang="ru"] .gp-context-subnav a {
    flex: 0 0 auto;
    min-width: 150px;
    min-height: 48px;
    padding: 9px 14px;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}

/* 书刊详情页固定二级分类：十类始终可见，当前类目用金色下划线定位。 */
html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav-shell {
  position: sticky;
  top: 0;
  z-index: 19;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(184, 138, 67, .3);
  background: rgba(14, 16, 15, .97);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1380px;
  margin: 0 auto;
}

html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 9px 12px;
  color: #d8b272;
  border-right: 1px solid rgba(255, 255, 255, .08);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav a:nth-child(5n) { border-right: 0; }
html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav a:nth-child(-n+5) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav a:hover,
html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav a:focus-visible {
  color: #d8b272;
  background: transparent;
}

html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav a.is-current,
html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav a[aria-current="page"] {
  color: #d8b272;
  background: transparent;
}

html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav a.is-current::after,
html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav a[aria-current="page"]::after,
html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav a:hover::after,
html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav a:focus-visible::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 2px;
  background: #d8b272;
}

/* 长尾产品只有一张已核准高清图时使用单幅主视觉，宁可少图，不复制或错配素材。 */
html[lang="ru"] body.book-product-page .product-hero-gallery.single-product-image {
  display: block;
  min-height: 700px;
}
html[lang="ru"] body.book-product-page .product-hero-gallery.single-product-image figure {
  height: 100%;
  min-height: 700px;
}
html[lang="ru"] body.book-product-page .product-hero-gallery.single-product-image img {
  height: 100%;
  object-fit: cover;
}

html[lang="ru"] body.book-product-page .product-hero-gallery.two-product-images > figure:not(.hero-main) {
  grid-row: 1 / 3;
}

@media (max-width: 760px) {
  html[lang="ru"] body.book-product-page .product-hero h1 { font-size: 30px; line-height: 1.2; text-wrap: pretty; }
  html[lang="ru"] body.book-product-page .product-hero h1 .title-line {
    font-size: clamp(31px, 9vw, 36px);
    letter-spacing: -.04em;
  }
  html[lang="ru"] body.book-product-page .product-hero h1.compact-one-line {
    font-size: 32px;
    letter-spacing: -.04em;
  }
  html[lang="ru"] body.book-product-page .product-hero h1.hardcover-hero-title em.title-line {
    font-size: 30px;
  }
  html[lang="ru"] body.book-product-page h2,
  html[lang="ru"] body.book-product-page .section-title h2,
  html[lang="ru"] body.book-product-page .types-heading h2,
  html[lang="ru"] body.book-product-page .gallery-heading h2,
  html[lang="ru"] body.book-product-page .spec-intro h2,
  html[lang="ru"] body.book-product-page .materials-heading h2,
  html[lang="ru"] body.book-product-page .process-heading h2,
  html[lang="ru"] body.book-product-page .faq-heading h2,
  html[lang="ru"] body.book-product-page .anatomy-heading h2,
  html[lang="ru"] body.book-product-page .endsheet-intro h2,
  html[lang="ru"] body.book-product-page .binding-craft-heading h2,
  html[lang="ru"] body.book-product-page .craft-guide-callout h2,
  html[lang="ru"] body.book-product-page .project-cta h2 { font-size: 30px; }
  html[lang="ru"] body.book-product-page h3 { font-size: 21px; }
  html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav-shell {
    padding: 0;
    overflow: hidden;
  }
  html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav {
    display: flex;
    max-width: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }
  html[lang="ru"] body:is(.book-product-page, .book-directory-page) .book-category-nav a {
    flex: 0 0 auto;
    min-width: 142px;
    min-height: 48px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 0;
    scroll-snap-align: start;
    white-space: nowrap;
  }
  html[lang="ru"] body.book-product-page .product-hero-gallery.single-product-image,
  html[lang="ru"] body.book-product-page .product-hero-gallery.single-product-image figure {
    min-height: 430px;
    height: 430px;
  }
}

/* 2026-07-21 老板锁定：繁体站全站标题统一、克制，并避免单字孤行。 */
html[lang="ru"] body,
html[lang="ru"] button,
html[lang="ru"] input,
html[lang="ru"] textarea,
html[lang="ru"] select {
  font-family: Arial, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

html[lang="ru"] h1,
html[lang="ru"] h2,
html[lang="ru"] h3,
html[lang="ru"] h4,
html[lang="ru"] .product-paths strong,
html[lang="ru"] .faq-list summary {
  font-family: Arial, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif !important;
  font-weight: 700;
  letter-spacing: -.025em;
  text-wrap: balance;
}

html[lang="ru"] .support-page .page-hero h1,
html[lang="ru"] .box-directory-page .page-hero h1,
html[lang="ru"] .quote-page .page-hero h1 {
  max-width: 900px;
  font-size: clamp(32px, 3vw, 42px) !important;
  line-height: 1.18 !important;
}

html[lang="ru"] .support-page .directory-section > h2,
html[lang="ru"] .support-page .page-footer-cta h2,
html[lang="ru"] .box-directory-page h2,
html[lang="ru"] .quote-page h2 {
  font-size: clamp(26px, 2.4vw, 34px) !important;
  line-height: 1.22 !important;
}

html[lang="ru"] .support-page .feature-card h3,
html[lang="ru"] .box-directory-page h3,
html[lang="ru"] .quote-page h3 {
  font-size: clamp(20px, 1.7vw, 24px) !important;
  line-height: 1.28 !important;
}

@media (max-width: 760px) {
  html[lang="ru"] .support-page .page-hero h1,
  html[lang="ru"] .box-directory-page .page-hero h1,
  html[lang="ru"] .quote-page .page-hero h1 {
    font-size: 30px !important;
  }
  html[lang="ru"] .support-page .directory-section > h2,
  html[lang="ru"] .support-page .page-footer-cta h2,
  html[lang="ru"] .box-directory-page h2,
  html[lang="ru"] .quote-page h2 {
    font-size: 26px !important;
  }
}
