/* qaj 内页 · 墨火蕲艾 */

.banner {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--ink);
}

.banner-img,
.banner .bad {
  width: 100%;
  height: 100%;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.85);
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 12, 10, 0.25), rgba(15, 12, 10, 0.72)),
    radial-gradient(ellipse at 50% 20%, rgba(158, 43, 43, 0.15), transparent 60%);
  pointer-events: none;
}

.banner-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 5%;
  text-align: center;
  color: var(--paper);
  pointer-events: none;
}

.banner-caption__sub {
  margin: 0;
  font-size: 36px;
  letter-spacing: 0.36em;
  color: var(--bronze-soft, #c4a97a);
  font-family: var(--font-serif);
  font-weight: 700;
}

.banner-caption__desc {
  margin: 0 auto;
  max-width: 780px;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 234, 0.88);
  font-family: var(--font-serif);
  font-weight: 400;
}

.banner-caption__sub:empty,
.banner-caption__desc:empty {
  display: none;
}

.qaj-page-head--compact {
  margin-bottom: 24px;
}

.main {
  padding: 48px 0 64px;
}

/* 页头 */
.qaj-page-head {
  text-align: center;
  margin-bottom: 42px;
}

.qaj-page-en {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--bronze);
  margin-bottom: 8px;
}

.qaj-page-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 32px;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--ink);
}

.qaj-page-desc {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

.qaj-page-en:empty,
.qaj-page-desc:empty {
  display: none;
}

.qaj-section-title {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.16em;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-gold);
  position: relative;
}

.qaj-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: var(--cinnabar);
}

/* 分类导航 */
.category-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.category-nav:empty {
  display: none;
}

.category-nav .nav-item {
  padding: 8px 20px;
  color: var(--ink-mute);
  font-size: 14px;
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
  background: rgba(247, 243, 234, 0.7);
  border: 1px solid var(--line);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.category-nav .nav-item:hover,
.category-nav .nav-item.active {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: var(--paper);
}

.category-title {
  text-align: center;
  margin-bottom: 36px;
}

.category-title h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: 0.22em;
  color: var(--ink);
  font-weight: 600;
}

.category-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--cinnabar);
  margin: 14px auto 0;
}

/* 文章列表（外层 .main 已有上下留白，此处不再叠一层） */
.article-section,
.video-section {
  padding: 0;
}

.list-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.list-toolbar .category-title {
  margin: 0;
  flex: 1;
  min-width: 160px;
  text-align: left;
}

.list-toolbar .category-title h1 {
  margin: 0;
}

.list-toolbar .category-title::after {
  margin-left: 0;
  margin-right: auto;
}

.list-toolbar .category-title {
  margin: 0;
  flex: 1;
  min-width: 160px;
  text-align: left;
}

.list-toolbar .category-title h1 {
  margin: 0;
}

.list-toolbar .category-title::after {
  margin-left: 0;
  margin-right: auto;
}

.list-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 320px;
  border: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.85);
  transition: border-color 0.25s;
}

.list-search:focus-within {
  border-color: var(--bronze);
}

.list-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--ink);
  outline: none;
}

.list-search input[type="search"]::placeholder {
  color: var(--ink-mute);
}

.list-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.list-search button {
  flex-shrink: 0;
  width: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--bronze);
  cursor: pointer;
  font-size: 15px;
  transition: background 0.25s, color 0.25s;
}

.list-search button:hover {
  background: var(--cinnabar);
  border-left-color: var(--cinnabar);
  color: var(--paper);
}

.list-search--center {
  max-width: 400px;
  margin: 0 auto 32px;
}

@media (max-width: 640px) {
  .list-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .list-search {
    max-width: none;
  }
}

.article-list:empty::before,
.product-grid:empty::before,
.video-list:empty::before {
  content: "暂无内容";
  display: block;
  text-align: center;
  color: var(--ink-mute);
  font-size: 15px;
  padding: 48px 16px;
  grid-column: 1 / -1;
  font-family: var(--font-serif);
  letter-spacing: 0.12em;
}

.article-list {
  margin-bottom: 36px;
}

.article-item {
  margin-bottom: 16px;
  background: rgba(247, 243, 234, 0.72);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.article-item:hover {
  border-color: var(--bronze);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22, 18, 15, 0.06);
}

.article-item a {
  display: flex;
  gap: 24px;
  padding: 18px;
  color: inherit;
}

.article-thumb {
  flex-shrink: 0;
  width: 210px;
  height: 140px;
  overflow: hidden;
  background: var(--washi-deep);
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.article-item:hover .article-thumb img {
  transform: scale(1.05);
}

.article-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-info .title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.06em;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-info .desc {
  color: var(--ink-mute);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-info .meta {
  display: flex;
  gap: 18px;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.meta i {
  margin-right: 4px;
  color: var(--bronze);
}

/* 分页 */
.pagination,
.pagination-wrapper,
.page-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.page-bar a,
.page-bar span {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 243, 234, 0.8);
  border: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 13px;
  font-family: var(--font-serif);
  text-decoration: none;
}

.page-bar a:hover,
.page-bar .page-num-current {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: var(--paper);
}

.page-bar span.page-pre,
.page-bar span.page-next {
  color: #bbb;
}

/* 文章详情 */
.article-detail {
  padding: 0;
}

.detail-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-gold);
}

.detail-header .title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: 0.1em;
  font-weight: 600;
  line-height: 1.4;
}

.detail-header .meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--ink-mute);
  font-size: 13px;
}

.detail-header .meta i {
  margin-right: 4px;
  color: var(--bronze);
}

.warning-notice {
  background: rgba(58, 92, 75, 0.06);
  padding: 12px 18px;
  margin-bottom: 24px;
  color: var(--ink-mute);
  font-size: 13px;
  line-height: 1.7;
  border-left: 3px solid var(--jade);
}

.warning-notice i {
  margin-right: 6px;
  color: var(--jade);
}

.detail-content,
.content-body,
.qaj-richtext,
.about-content {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.detail-content img,
.content-body img,
.qaj-richtext img,
.about-content img {
  max-width: 100%;
  height: auto;
  margin: 16px auto;
}

.detail-content video,
.content-body video,
.qaj-richtext video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  background: #000;
}

.detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.detail-nav .nav-item {
  padding: 16px 18px;
  background: rgba(247, 243, 234, 0.7);
  border: 1px solid var(--line);
}

.detail-nav .label {
  display: block;
  font-size: 12px;
  color: var(--bronze);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  font-family: var(--font-serif);
}

.detail-nav .link a {
  color: var(--ink-soft);
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
}

.detail-nav .link a:hover {
  color: var(--cinnabar);
}

/* 视频列表 */
.video-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.video-item {
  background: rgba(247, 243, 234, 0.7);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.video-item:hover {
  transform: translateY(-4px);
  border-color: var(--bronze);
}

.video-thumb {
  position: relative;
  width: 100%;
  padding-top: 66.67%;
  overflow: hidden;
  background: var(--ink);
}

.video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.video-item:hover .video-thumb img {
  transform: scale(1.05);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(247, 243, 234, 0.9);
  font-size: 42px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}

.video-item:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-info {
  padding: 14px 12px 16px;
}

.video-info .title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-info .meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-mute);
}

/* 产品列表 */
.product-section {
  padding: 0;
  background: transparent;
}

.product-layout {
  display: flex;
  gap: 28px;
}

.product-sidebar {
  width: 240px;
  flex-shrink: 0;
}

.sidebar-title {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 18px;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--cinnabar);
}

.sidebar-menu {
  background: rgba(247, 243, 234, 0.75);
  border: 1px solid var(--line);
  border-top: 0;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  letter-spacing: 0.06em;
  font-size: 14px;
  transition: background 0.25s, color 0.25s, padding-left 0.25s;
}

.menu-item:last-child {
  border-bottom: 0;
}

.menu-item:hover,
.menu-item.active,
.menu-item.is-active,
.menu-item.nav-active {
  background: rgba(158, 43, 43, 0.06);
  color: var(--cinnabar);
  padding-left: 22px;
}

.menu-item i {
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s;
  color: var(--cinnabar);
}

.menu-item:hover i,
.menu-item.active i,
.menu-item.is-active i,
.menu-item.nav-active i {
  opacity: 1;
  transform: none;
}

.product-content {
  flex: 1;
  min-width: 0;
}

.content-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-gold);
}

.content-header h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-grid .product-item a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px 10px 0;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(145deg, rgba(166, 139, 91, 0.55), rgba(158, 43, 43, 0.18), rgba(166, 139, 91, 0.45)) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(247, 243, 234, 0.9);
  transition: transform 0.35s, box-shadow 0.35s;
}

.product-grid .product-item a:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(247, 243, 234, 0.95),
    0 14px 28px rgba(22, 18, 15, 0.08);
  color: inherit;
}

.product-grid .product-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--washi);
  border: 1px solid rgba(166, 139, 91, 0.22);
}

.product-grid .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  filter: saturate(0.92);
}

.product-grid .product-item a:hover .product-img img {
  transform: scale(1.05);
  filter: saturate(1);
}

.product-grid .product-info {
  padding: 14px 10px 16px;
  text-align: center;
}

.product-grid .product-info .title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

.product-grid .more {
  font-size: 11px;
  color: var(--cinnabar);
  letter-spacing: 0.2em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-serif);
  opacity: 0.75;
}

/* 产品详情 */
.product-detail {
  padding: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.product-gallery .gallery-main {
  border: 1px solid var(--line-gold);
  background: var(--washi);
  overflow: hidden;
  margin-bottom: 12px;
}

.gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
  cursor: pointer;
}

.product-info .title {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 0.1em;
  font-weight: 600;
  line-height: 1.4;
}

.info-items {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.info-items .item {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14px;
}

.info-items .label {
  width: 96px;
  color: var(--ink-mute);
  flex-shrink: 0;
  letter-spacing: 0.06em;
}

.info-items .value {
  color: var(--ink-soft);
}

.info-items .price .value {
  color: var(--cinnabar);
  font-size: 24px;
  font-family: var(--font-serif);
  font-weight: 600;
}

.inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 12px 28px;
  background: var(--cinnabar);
  color: var(--paper) !important;
  font-family: var(--font-serif);
  letter-spacing: 0.16em;
  font-size: 15px;
  transition: background 0.25s;
}

.inquiry-btn:hover {
  background: var(--cinnabar-deep);
  color: var(--paper) !important;
}

.content-title {
  border-bottom: 1px solid var(--line-gold);
  margin-bottom: 24px;
}

.content-title h2 {
  display: inline-block;
  margin: 0;
  padding-bottom: 12px;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.16em;
  border-bottom: 2px solid var(--cinnabar);
  margin-bottom: -1px;
}

/* 关于 */
.qaj-about {
  padding: 48px 0 64px;
}

.qaj-about-body {
  background: rgba(247, 243, 234, 0.7);
  border: 1px solid var(--line);
  padding: 36px 40px;
  margin-bottom: 48px;
}

.qaj-about-honor {
  margin-top: 16px;
}

.qaj-honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.qaj-honor-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s;
}

.qaj-honor-grid img:hover {
  border-color: var(--bronze);
  transform: translateY(-2px);
}

/* 联系 */
.qaj-contact {
  padding: 48px 0 64px;
}

.qaj-contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.qaj-contact-card {
  background: transparent;
  border: 0;
  padding: 12px 16px 8px;
  text-align: center;
  transition: transform 0.3s;
}

.qaj-contact-card:hover {
  border-color: transparent;
  transform: translateY(-2px);
}

.qaj-contact-icon {
  width: auto;
  height: auto;
  margin: 0 auto 18px;
  border: 0;
  background: transparent;
  color: var(--cinnabar);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  line-height: 1;
}

.qaj-contact-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.qaj-contact-card p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.75;
}

.qaj-contact-card a {
  color: var(--cinnabar);
  font-family: var(--font-serif);
  font-size: 16px;
}

.qaj-contact-sub {
  margin-top: 6px !important;
  font-size: 13px !important;
  color: var(--ink-mute) !important;
}

.qaj-contact-qr img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 0;
  padding: 0;
  background: transparent;
}

.qaj-contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  overflow: hidden;
  border: 1px solid var(--line-gold);
}

.qaj-contact-side {
  padding: 40px 32px;
  background: linear-gradient(160deg, var(--ink) 0%, #1f1814 100%);
  color: var(--paper);
}

.qaj-contact-side h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.2em;
}

.qaj-contact-side > p {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.85;
  opacity: 0.8;
}

.qaj-contact-tips {
  margin: 0 0 28px;
}

.qaj-contact-tips li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.qaj-contact-tips i {
  color: var(--bronze-soft);
}

.qaj-contact-hotline span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  opacity: 0.6;
  margin-bottom: 6px;
}

.qaj-contact-hotline a {
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.qaj-contact-form-wrap {
  padding: 36px 32px;
  background: rgba(247, 243, 234, 0.85);
}

.qaj-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.qaj-lead-form .form-group {
  margin-bottom: 16px;
}

.qaj-lead-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  font-family: var(--font-serif);
}

.qaj-lead-form input,
.qaj-lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  font-family: inherit;
  transition: border-color 0.25s;
}

.qaj-lead-form input:focus,
.qaj-lead-form textarea:focus {
  border-color: var(--cinnabar);
}

.qaj-honey {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
}

.qaj-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  padding: 14px 20px;
  background: var(--cinnabar);
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.2em;
  transition: background 0.25s;
}

.qaj-submit:hover {
  background: var(--cinnabar-deep);
}

.qaj-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.qaj-lead-form .lead-msg {
  margin: 12px 0 0;
  font-size: 13px;
}

.qaj-lead-form .lead-msg.is-ok {
  color: var(--jade);
}

.qaj-lead-form .lead-msg.is-err {
  color: var(--cinnabar);
}

.qaj-contact-extra {
  background: rgba(247, 243, 234, 0.7);
  padding: 28px 36px;
  border: 1px solid var(--line);
}

@media (max-width: 992px) {
  .banner {
    height: 180px;
  }

  .banner-caption {
    padding: 24px 5%;
    gap: 10px;
  }

  .banner-caption__sub {
    font-size: 24px;
    letter-spacing: 0.28em;
  }

  .banner-caption__desc {
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.06em;
  }

  .product-layout,
  .detail-layout,
  .qaj-contact-panel,
  .qaj-contact-cards,
  .detail-nav {
    grid-template-columns: 1fr;
    display: grid;
  }

  .product-layout {
    display: flex;
    flex-direction: column;
  }

  .product-sidebar {
    width: 100%;
  }

  .product-grid,
  .qaj-honor-grid,
  .video-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-item a {
    flex-direction: column;
  }

  .article-thumb {
    width: 100%;
    height: 180px;
  }

  .qaj-about-body {
    padding: 24px 18px;
  }

  .qaj-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-grid,
  .qaj-honor-grid,
  .video-list,
  .qaj-contact-cards {
    grid-template-columns: 1fr;
  }

  .qaj-page-title {
    font-size: 24px;
    letter-spacing: 0.14em;
  }

  .gallery-main img {
    height: 280px;
  }
}


/* —— OEM 定制单页（参考图结构 + 品牌色） —— */
.qaj-oem-page {
  padding: 56px 0 72px;
  background: #f7f5f1;
}

.oem-sec {
  margin-bottom: 100px;
}

.oem-head {
  text-align: center;
  margin-bottom: 36px;
}

.oem-head__title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  line-height: 1.35;
}

.oem-head__sub {
  margin: 0;
  font-size: 14px;
  color: #888;
  letter-spacing: 0.04em;
}

.oem-head__en {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--bronze);
  text-transform: uppercase;
}

/* —— 1. 三大优势 —— */
.oem-adv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.oem-adv__card {
  background: #fff;
  padding: 40px 28px 36px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(22, 18, 15, 0.06);
  border: 1px solid rgba(166, 139, 91, 0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}

.oem-adv__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(22, 18, 15, 0.1);
}

.oem-adv__ico {
  width: auto;
  height: auto;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  font-size: 48px;
  background: transparent !important;
  border: 0 !important;
  color: var(--cinnabar);
}

.oem-adv__ico--jade { color: var(--jade); background: transparent !important; }
.oem-adv__ico--teal { color: #3d7a7a; background: transparent !important; }
.oem-adv__ico--cinnabar { color: var(--cinnabar); background: transparent !important; }

.oem-adv__card h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-weight: 700;
}

.oem-adv__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #777;
}

/* —— 2. 服务范围 2×4 —— */
.oem-scope {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.oem-scope__item {
  background: #fff;
  padding: 32px 12px 28px;
  text-align: center;
  box-shadow: 0 6px 22px rgba(22, 18, 15, 0.05);
  border: 1px solid rgba(166, 139, 91, 0.1);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.oem-scope__item:hover {
  transform: translateY(-3px);
  border-color: rgba(166, 139, 91, 0.4);
  box-shadow: 0 12px 28px rgba(22, 18, 15, 0.08);
}

.oem-scope__item i {
  display: block;
  font-size: 44px;
  color: var(--cinnabar);
  margin-bottom: 16px;
  line-height: 1;
}

.oem-scope__item span {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  font-weight: 600;
}

/* —— 3. 代加工方式 —— */
.oem-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.oem-method {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  min-height: 360px;
  box-shadow: 0 8px 28px rgba(22, 18, 15, 0.06);
  border: 1px solid rgba(166, 139, 91, 0.12);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.oem-method:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(22, 18, 15, 0.1);
}

.oem-method__no {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: rgba(22, 18, 15, 0.08);
  letter-spacing: 0.04em;
  line-height: 1;
  z-index: 1;
}

.oem-method__body {
  flex: 1;
  padding: 28px 22px 18px;
}

.oem-method__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-bottom: 14px;
  color: var(--cinnabar);
  font-size: 36px;
  border: 0;
  background: transparent;
}

.oem-method h3 {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-weight: 700;
}

.oem-method ul {
  margin: 0;
  padding: 0;
}

.oem-method li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: #666;
}

.oem-method li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 1px;
  background: var(--bronze);
}

.oem-method__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 14px 18px;
  background: #f3f0ea;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-family: var(--font-serif);
  transition: background 0.3s, color 0.3s;
}

.oem-method__link i {
  font-size: 16px;
  color: var(--bronze);
  transition: color 0.3s;
}

.oem-method:hover .oem-method__link {
  background: var(--bronze);
  color: #fff;
}

.oem-method:hover .oem-method__link i {
  color: #fff;
}

.oem-method:hover .oem-method__ico {
  background: transparent;
  border-color: transparent;
  color: var(--cinnabar-deep);
}

.oem-method:hover h3 {
  color: var(--cinnabar-deep);
}

/* —— 4. 合作流程 2×5 —— */
.oem-process {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.oem-process__row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.oem-process__item {
  flex: 1;
  max-width: 160px;
  background: #fff;
  padding: 22px 12px 18px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(22, 18, 15, 0.05);
  border: 1px solid rgba(166, 139, 91, 0.1);
  transition: transform 0.25s, border-color 0.25s;
}

.oem-process__item:hover {
  transform: translateY(-3px);
  border-color: rgba(166, 139, 91, 0.4);
}

.oem-process__ico {
  width: auto;
  height: auto;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  border: 0;
  color: var(--cinnabar);
  font-size: 36px;
  background: transparent;
}

.oem-process__item strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-weight: 700;
}

.oem-process__item p {
  margin: 0;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

.oem-process__arrow {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bronze);
  font-size: 20px;
  opacity: 0.7;
  align-self: center;
}

/* 正文补充 */
.oem-sec--rich {
  margin-bottom: 40px;
}

.oem-rich {
  background: #fff;
  padding: 32px 36px;
  box-shadow: 0 6px 22px rgba(22, 18, 15, 0.05);
  border: 1px solid rgba(166, 139, 91, 0.1);
}

.oem-rich:empty {
  display: none;
}

/* 底部咨询 */
.oem-cta {
  scroll-margin-top: 24px;
}

.oem-cta__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  background: #fff;
  border: 1px solid rgba(166, 139, 91, 0.18);
  box-shadow: 0 10px 32px rgba(22, 18, 15, 0.06);
  overflow: hidden;
}

.oem-cta__copy {
  padding: 40px 32px;
  background: linear-gradient(160deg, var(--ink) 0%, #1f1814 100%);
  color: var(--paper);
}

.oem-cta__copy h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.14em;
}

.oem-cta__copy p {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.78;
}

.oem-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--bronze-soft);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.oem-cta__form {
  padding: 36px 32px;
  background: #faf8f4;
}

@media (max-width: 992px) {
  .oem-adv,
  .oem-methods {
    grid-template-columns: 1fr 1fr;
  }

  .oem-scope {
    grid-template-columns: repeat(4, 1fr);
  }

  .oem-process__row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .oem-process__arrow {
    display: none;
  }

  .oem-process__item {
    flex: 0 0 calc(33.333% - 8px);
    max-width: none;
  }

  .oem-cta__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .qaj-oem-page { padding: 36px 0 48px; }

  .oem-head__title { font-size: 22px; letter-spacing: 0.08em; }

  .oem-adv,
  .oem-methods,
  .oem-scope {
    grid-template-columns: 1fr;
  }

  .oem-scope {
    grid-template-columns: 1fr 1fr;
  }

  .oem-process__item {
    flex: 0 0 calc(50% - 6px);
  }

  .oem-method { min-height: 0; }

  .oem-rich { padding: 20px 16px; }

  .oem-cta__copy,
  .oem-cta__form { padding: 28px 18px; }
}

/* —— 艾灸穴位图鉴 —— */
.acupoint-section {
  padding: 0;
}

.acupoint-head {
  text-align: center;
  margin-bottom: 40px;
}

.acupoint-head__en {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--bronze);
  font-family: var(--font-sans);
}

.acupoint-head__title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 32px;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.acupoint-head__desc {
  margin: 0;
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}

.acupoint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.acupoint-grid:empty::before {
  content: "暂无穴位资料";
  display: block;
  text-align: center;
  color: var(--ink-mute);
  font-size: 15px;
  padding: 48px 16px;
  grid-column: 1 / -1;
  font-family: var(--font-serif);
  letter-spacing: 0.12em;
}

.acupoint-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(145deg, rgba(166, 139, 91, 0.5), rgba(158, 43, 43, 0.14), rgba(166, 139, 91, 0.4)) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(247, 243, 234, 0.9);
  transition: transform 0.35s, box-shadow 0.35s;
}

.acupoint-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(247, 243, 234, 0.95),
    0 14px 28px rgba(22, 18, 15, 0.08);
  color: inherit;
}

.acupoint-card__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--washi-deep, #ddd6c6);
}

.acupoint-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.acupoint-card:hover .acupoint-card__media img {
  transform: scale(1.04);
}

.acupoint-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line-gold);
}

.acupoint-card__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acupoint-card__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  color: var(--bronze);
  letter-spacing: 0.06em;
}

.acupoint-card:hover .acupoint-card__more {
  color: var(--cinnabar);
}

/* 穴位详情 */
.acupoint-detail {
  padding: 0;
}

.acupoint-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

.acupoint-crumb a:hover {
  color: var(--cinnabar);
}

.acupoint-crumb em {
  font-style: normal;
  color: var(--ink);
  font-family: var(--font-serif);
}

.acupoint-hero {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 40px;
  padding: 24px;
  background: rgba(247, 243, 234, 0.65);
  border: 1px solid var(--line-gold);
}

.acupoint-hero__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--washi-deep, #ddd6c6);
  border: 1px solid var(--line);
}

.acupoint-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acupoint-hero__en {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--bronze);
}

.acupoint-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: 36px;
  letter-spacing: 0.16em;
  font-weight: 600;
  line-height: 1.3;
}

.acupoint-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--ink-mute);
}

.acupoint-hero__meta i {
  margin-right: 4px;
  color: var(--bronze);
}

.acupoint-hero__tip {
  margin: 0;
  padding: 12px 14px;
  background: rgba(58, 92, 75, 0.06);
  border-left: 3px solid var(--jade);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.acupoint-hero__tip i {
  margin-right: 6px;
  color: var(--jade);
}

.acupoint-props {
  margin-bottom: 40px;
}

.acupoint-props__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-gold);
}

.acupoint-props__title span {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.acupoint-props__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-gold), transparent);
}

.acupoint-props__body > div > ul,
.acupoint-props__body > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.acupoint-props__body li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(247, 243, 234, 0.72);
  border: 1px solid var(--line);
  align-items: start;
}

.acupoint-props__body li h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--cinnabar);
  line-height: 1.5;
}

.acupoint-props__body li > div {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft, #2a241e);
  white-space: pre-line;
}

.acupoint-props__body li > div:empty::before {
  content: "—";
  color: var(--ink-mute);
}

@media (max-width: 992px) {
  .acupoint-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .acupoint-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .acupoint-hero__media {
    max-width: 360px;
    margin: 0 auto;
  }

  .acupoint-hero__title {
    font-size: 28px;
    text-align: center;
  }

  .acupoint-hero__en,
  .acupoint-hero__meta {
    justify-content: center;
    text-align: center;
  }

  .acupoint-hero__en {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .acupoint-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .acupoint-head__title {
    font-size: 24px;
  }

  .acupoint-props__body li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
