/* header 装饰：仅清掉不存在的伪元素背景，不要再清国旗 */
.jerid-header::before {
  background-image: none !important;
}

.jerid-header {
  overflow: visible;
}

.jerid-about {
  background:
    linear-gradient(rgba(12, 10, 9, 0.62), rgba(12, 10, 9, 0.62)),
    url("/media/site/about-poster.jpg") no-repeat center;
  background-size: cover;
  background-attachment: fixed;
}

.jerid-footer {
  background:
    linear-gradient(rgba(12, 10, 9, 0.88), rgba(12, 10, 9, 0.92)),
    url("/media/site/about-poster.jpg") no-repeat center;
  background-size: cover;
}

/* 侧边浮动联系（对齐原站 .im） */
.im {
  position: fixed;
  right: 2px;
  bottom: 150px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.im-l {
  width: 36px;
  height: 64px;
  cursor: pointer;
  background-color: #ca8a04;
  border: 0;
  border-radius: 4px 0 0 4px;
  color: #fff;
  font-size: 16px;
  line-height: 64px;
  text-align: center;
  box-sizing: border-box;
}

.im-l:hover {
  background-color: #eab308;
}

.im .box {
  display: none;
  width: 56px;
  padding: 5px;
  background-color: #ca8a04;
  border-radius: 0 0 4px 4px;
  box-sizing: border-box;
}

.im.is-open .box {
  display: block;
}

.im .box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
}

.im .box li {
  width: 46px;
  height: 46px;
  text-align: center;
  line-height: 46px;
  overflow: hidden;
}

.im .box a {
  display: block;
  width: 100%;
  height: 100%;
  color: #333;
  text-decoration: none;
  line-height: 46px;
}

.im .box .im-ico {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
}

.im .box .im-ico-mail {
  color: #f39d22;
  font-size: 20px;
}

.im .box .im-ico-wa {
  color: #00d51b;
  font-size: 13px;
  letter-spacing: 0;
}

.im .box a:hover .im-ico {
  color: #343537;
}

/* 旧 .jerid-im 结构兼容隐藏 */
.jerid-im {
  display: none;
}

/* 首页产品说明 */
.jerid-products-lead {
  max-width: 56rem;
  margin: 0 auto 2rem;
  text-align: center;
  color: #57534e;
  font-size: 15px;
  line-height: 1.85;
}

.jerid-product-card .jerid-imgs {
  position: relative;
  overflow: hidden;
  background: #1c1917;
  isolation: isolate;
}

.jerid-product-card .jerid-imgs img {
  width: 100%;
  aspect-ratio: 453 / 354;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.jerid-product-card:hover .jerid-imgs img {
  transform: scale(1.05);
}

.jerid-product-card .jerid-info {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.jerid-product-card:hover .jerid-info {
  opacity: 1;
}

.jerid-product-card .jerid-info i {
  font-style: normal;
  color: #eab308;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #ca8a04;
  padding: 10px 16px;
  background: transparent;
}

.jerid-product-card h3 {
  padding: 14px 8px 0;
  text-align: center;
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: 16px;
  font-weight: 500;
  color: #0c0a09;
}

/* About 视频 */
.jerid-about-em {
  display: block;
  text-align: center;
  color: #ca8a04;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-style: normal;
}

.jerid-about-video {
  width: 100%;
  max-height: 360px;
  background: #000;
  border: 1px solid rgba(250, 250, 249, 0.14);
  display: block;
}

.jerid-more-arrow {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ca8a04;
  color: #ca8a04;
  text-decoration: none;
  transition: background 0.28s ease, color 0.28s ease;
}

.jerid-more-arrow:hover {
  background: #ca8a04;
  color: #1c1917;
}

.jerid-read-more {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a5a00;
}

/* Partner 轮播 */
.jerid-partner-carousel {
  position: relative;
  margin-top: 1rem;
  overflow: hidden;
}

.jerid-partner-viewport {
  overflow: hidden;
  width: 100%;
}

.jerid-partner-track {
  display: flex;
  gap: 32px;
  width: max-content;
  will-change: transform;
  animation: jerid-partner-scroll 35s linear infinite;
}

.jerid-partner-carousel:hover .jerid-partner-track {
  animation-play-state: paused;
}

.jerid-partner-slide {
  flex: 0 0 auto;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jerid-partner-cover {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jerid-partner-cover img {
  height: 72px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.jerid-partner-slide:hover img {
  filter: none;
  opacity: 1;
}

@keyframes jerid-partner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 页脚 Email */
.jerid-email .jerid-section-title {
  text-align: center;
}

.jerid-email-lead {
  text-align: center;
  color: rgba(250, 250, 249, 0.74);
  margin: 0 0 1.5rem;
  font-size: 15px;
}

.jerid-email-form form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.jerid-email-msg {
  text-align: center;
  margin-top: 12px;
  color: #ca8a04;
  font-size: 13px;
}

/* 兜底：确保 wow 区块默认可见，避免 JS 失败导致空白 */
.jerid-wow {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
.jerid-inner-body {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.jerid-sidebar {
  order: 0;
}

.jerid-inner-main {
  order: 1;
}

/* 侧栏标题：用 p 而非 h3，避免标题层级跳跃 */
.jerid-side-label {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 14px;
  color: #0c0a09;
  font-family: var(--jerid-font, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jerid-side-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #e7e5e4;
}

.jerid-side-label::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 32px;
  height: 1px;
  background: #ca8a04;
}

.jerid-inquiry .jerid-side-label,
.jerid-inquiry h3.jerid-side-label {
  margin-bottom: 24px;
}

.jerid-footer-title {
  margin: 0 0 0.75rem;
  color: #fafaf9;
  font-family: var(--jerid-font, system-ui, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* 联系页：主区全宽，避免与左侧栏挤压 */
.jerid-contact-page .jerid-inner-body {
  flex-direction: column;
}

.jerid-contact-page .jerid-inner-main {
  width: 100%;
  max-width: none;
}

.jerid-contact-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.jerid-contact-card {
  height: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e7e5e4;
  padding: 32px 30px;
}

.jerid-contact-card h2 {
  font-family: var(--jerid-heading, Georgia, serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
  color: #0c0a09;
  line-height: 1.25;
}

.jerid-contact-intro {
  margin: 0 0 1.5rem;
  color: #78716c;
  font-size: 14px;
  line-height: 1.7;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f0efee;
}

.jerid-contact-card .row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid #f0efee;
  font-size: 14px;
  line-height: 1.55;
  align-items: baseline;
}

.jerid-contact-card .row:last-of-type {
  border-bottom: 0;
}

.jerid-contact-card .row label {
  color: #8a5a00;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jerid-contact-card .row span {
  color: #292524;
  word-break: break-word;
}

.jerid-contact-card .row a {
  color: #292524;
}

.jerid-contact-card .row a:hover {
  color: #8a5a00;
}

.jerid-contact-highlights {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.jerid-contact-highlights li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 16px;
  color: #57534e;
  font-size: 13.5px;
  line-height: 1.65;
}

.jerid-contact-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ca8a04;
}

/* 侧栏 Contact Us：与标题拉开距离，行高一致 */
.jerid-side-contact .jerid-contact-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.jerid-side-contact .jerid-contact-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: baseline;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #f0efee;
  font-size: 13px;
  line-height: 1.5;
}

.jerid-side-contact .jerid-contact-list li:first-child {
  padding-top: 12px;
}

.jerid-side-contact .jerid-contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.jerid-side-contact .jerid-contact-list .k {
  color: #8a5a00;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jerid-side-contact .jerid-contact-list .v {
  color: #292524;
  word-break: break-word;
}

.jerid-side-contact .jerid-contact-list a {
  color: #292524;
}

.jerid-side-contact .jerid-contact-list a:hover {
  color: #8a5a00;
}

.jerid-contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.jerid-contact-form-grid .full {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .jerid-contact-panel,
  .jerid-contact-form-grid {
    grid-template-columns: 1fr;
  }
}

/* 产品主图：容器尺寸固定，图片缩放适配，布局不跳动 */
.jerid-main-image {
  width: 100%;
  height: 480px;
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.jerid-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
}

.jerid-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.jerid-gallery-thumb {
  padding: 0;
  border: 2px solid transparent;
  background: #f5f5f4;
  cursor: pointer;
  line-height: 0;
  width: 100%;
  height: 72px;
  overflow: hidden;
  box-sizing: border-box;
}

.jerid-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.jerid-gallery-thumb.is-active,
.jerid-gallery-thumb:hover {
  border-color: #ca8a04;
}

/* 产品列表页（对齐 jeridtextile.com/product-list/*） */
.product-category h1:not(.sr-only) {
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  margin: 0 0 14px;
  color: #0c0a09;
}

.product-category-con {
  margin: 0 0 20px;
  color: #57534e;
  font-size: 14.5px;
  line-height: 1.8;
  max-width: 52rem;
}

.product-category-con p {
  margin: 0 0 0.8em;
  color: #57534e;
}

.jerid-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.jerid-list-card {
  overflow: hidden;
  border: 1px solid #e7e5e4;
  background: #fff;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.jerid-list-card:hover {
  border-color: rgba(202, 138, 4, 0.34);
  box-shadow: 0 16px 48px rgba(28, 25, 23, 0.1);
}

.jerid-card-img {
  position: relative;
  overflow: hidden;
  background: #f5f5f4;
  aspect-ratio: 4 / 3;
}

.jerid-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-list-card:hover .jerid-card-img img {
  transform: scale(1.05);
}

.jerid-card-img-ph {
  width: 100%;
  height: 100%;
  background: #f5f5f4;
}

.jerid-card-title {
  margin: 0;
  padding: 16px 16px 8px;
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: #0c0a09;
}

.jerid-list-card:hover .jerid-card-title,
.jerid-list-card:hover .jerid-card-title a {
  color: #8a5a00;
}

.jerid-product-item-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.jerid-product-item-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-bottom: 16px;
}

.jerid-product-item-text .jerid-card-title {
  padding-top: 16px;
}

.jerid-product-item-text .jerid-card-title a {
  color: inherit;
  text-decoration: none;
}

.jerid-product-summary {
  margin: 0;
  padding: 0 16px 12px;
  color: #78716c;
  font-size: 13px;
  line-height: 1.65;
  flex: 1;
}

.jerid-product-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  margin-top: auto;
}

.jerid-btn-mail,
.jerid-btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e7e5e4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #57534e;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.jerid-btn-detail {
  border-color: #1c1917;
  color: #1c1917;
}

.jerid-btn-mail:hover {
  border-color: #ca8a04;
  color: #8a5a00;
  background: rgba(202, 138, 4, 0.06);
}

.jerid-btn-detail:hover {
  background: #1c1917;
  color: #ca8a04;
}

.jerid-total {
  margin: 0 0 18px;
  color: #78716c;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jerid-page-inquiry {
  margin-top: 8px;
  padding: 22px;
  background: #f6f6f6;
}

.jerid-page-inquiry-th {
  margin: 0 0 16px;
  color: #292524;
  font-size: 14px;
}

.jerid-page-inquiry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.jerid-page-inquiry-row textarea,
.jerid-page-inquiry-row button {
  grid-column: 1 / -1;
}

.jerid-page-inquiry input,
.jerid-page-inquiry textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #e7e5e4;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: #0c0a09;
  outline: none;
}

.jerid-page-inquiry input:focus,
.jerid-page-inquiry textarea:focus {
  border-color: #ca8a04;
}

.jerid-page-inquiry button {
  justify-self: start;
  min-width: 140px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid #1c1917;
  background: #1c1917;
  color: #ca8a04;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jerid-page-inquiry button:hover {
  background: #ca8a04;
  color: #1c1917;
}

@media (max-width: 960px) {
  .jerid-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jerid-list-grid,
  .jerid-page-inquiry-row {
    grid-template-columns: 1fr;
  }
}

/* 分类产品列表：左图 25% + 右文 75%（对齐原站 product-list） */
.product-category-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

.product-category-list > li {
  width: 100%;
  margin-bottom: 25px;
}

.product-category-list .item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  text-align: left;
  position: relative;
  background: #fff;
  border: 1px solid #f0efee;
  padding: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-category-list .item:hover {
  border-color: rgba(202, 138, 4, 0.35);
  box-shadow: 0 12px 36px rgba(28, 25, 23, 0.08);
}

.product-category-list .product-image {
  width: 25%;
  flex: 0 0 25%;
  max-width: 280px;
  overflow: hidden;
  background: #f5f5f4;
}

.product-category-list .product-image a {
  display: block;
  line-height: 0;
}

.product-category-list .product-image img {
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-category-list .item:hover .product-image img {
  transform: scale(1.04);
}

.product-image-ph {
  width: 100%;
  height: 180px;
  background: #f5f5f4;
}

.product-item-text {
  flex: 1 1 auto;
  min-width: 0;
  width: 75%;
  padding-left: 28px;
  font-size: 14px;
}

.product-item-text-b h2 {
  margin: 0 0 10px;
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: #0c0a09;
}

.product-item-text-b h2 a {
  color: inherit;
  text-decoration: none;
}

.product-item-text-b h2 a:hover {
  color: #8a5a00;
}

.product-item-text-b p {
  margin: 0 0 14px;
  color: #57534e;
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-item-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 16px;
  background-color: #ca8a04;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.product-item-actions a.more {
  background-color: #1d1e20;
}

.product-item-actions a:hover {
  background-color: #f39800;
  color: #fff;
}

@media (max-width: 768px) {
  .product-category-list .item {
    flex-direction: column;
  }

  .product-category-list .product-image {
    width: 100%;
    flex: none;
    max-width: none;
  }

  .product-category-list .product-image img {
    max-height: 240px;
  }

  .product-item-text {
    width: 100%;
    padding-left: 0;
    padding-top: 14px;
  }

  .product-item-text-b h2 {
    font-size: 16px;
  }
}

.jerid-news-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.5rem;
}

.jerid-news-cats a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #e7e5e4;
  background: #fff;
  color: #57534e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.jerid-news-cats a:hover {
  border-color: #ca8a04;
  color: #8a5a00;
  background: rgba(202, 138, 4, 0.06);
}

.jerid-news-cats a.is-active {
  border-color: #ca8a04;
  color: #fff;
  background: #ca8a04;
  font-weight: 700;
}

/* 列表卡片：图区高度固定，图 cover 裁切，文字区等高 */
.jerid-list-cards li {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.jerid-list-cards a {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

.jerid-list-cards img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #f5f5f4;
  flex-shrink: 0;
}

.jerid-list-cards .jerid-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 96px;
}

.jerid-list-cards .jerid-card-copy h2,
.jerid-list-cards .jerid-card-copy h3 {
  min-height: 2.6em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jerid-about {
  background:
    linear-gradient(rgba(12, 10, 9, 0.62), rgba(12, 10, 9, 0.62)),
    url("/media/site/about-poster.jpg") no-repeat center;
  background-size: cover;
  background-attachment: fixed;
}

.jerid-footer {
  background:
    linear-gradient(rgba(12, 10, 9, 0.88), rgba(12, 10, 9, 0.92)),
    url("/media/site/about-poster.jpg") no-repeat center;
  background-size: cover;
}

/* 内页通用 —— 与 jerid 设计系统一致 */
.jerid-page {
  padding: 56px 0 88px;
  background: var(--lux-bg, #fafaf9);
}

.jerid-page h1 {
  font-family: var(--jerid-heading, "Cormorant", Georgia, serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  color: #0c0a09;
  line-height: 1.22;
  margin: 0 0 1rem;
}

.jerid-page .jerid-lead {
  color: #57534e;
  font-size: 15px;
  line-height: 1.85;
  max-width: 48rem;
  margin: 0 0 1.75rem;
}

.jerid-page .jerid-body {
  color: #44403c;
  font-size: 15px;
  line-height: 1.85;
  max-width: 48rem;
}

.jerid-page .jerid-body p {
  margin: 0 0 1em;
  color: #57534e;
}

.jerid-breadcrumb {
  font-size: 13px;
  color: #78716c;
  margin-bottom: 1.25rem;
}

.jerid-breadcrumb a {
  color: #8a5a00;
}

.jerid-meta {
  font-size: 13px;
  color: #a8a29e;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.jerid-detail-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
}

@media (max-width: 900px) {
  .jerid-detail-grid {
    grid-template-columns: 1fr;
  }
}

.jerid-detail-media img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  border: 1px solid #e7e5e4;
}

.jerid-specs {
  margin: 1.25rem 0;
  border-top: 1px solid #e7e5e4;
}

.jerid-specs div {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0efee;
  font-size: 14px;
}

.jerid-specs dt {
  width: 120px;
  flex-shrink: 0;
  color: #78716c;
}

.jerid-specs dd {
  margin: 0;
  color: #1c1917;
}

.jerid-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

.jerid-list-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .jerid-list-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jerid-list-cards {
    grid-template-columns: 1fr;
  }
}

.jerid-list-cards article,
.jerid-list-cards li {
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-list-cards article:hover,
.jerid-list-cards li:hover {
  box-shadow: 0 20px 52px rgba(28, 25, 23, 0.13);
}

.jerid-list-cards a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.jerid-list-cards .jerid-card-copy {
  padding: 16px 18px 20px;
}

.jerid-list-cards h2,
.jerid-list-cards h3 {
  margin: 0;
  font-family: var(--jerid-heading, "Cormorant", Georgia, serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: #0c0a09;
}

.jerid-list-cards p {
  margin: 8px 0 0;
  color: #78716c;
  font-size: 0.9rem;
}

.jerid-faq-item {
  border: 1px solid #e7e5e4;
  background: #fff;
  margin-bottom: 10px;
  padding: 14px 18px;
}

.jerid-faq-item summary {
  cursor: pointer;
  font-weight: 500;
  color: #1c1917;
}

.jerid-faq-item p {
  margin: 12px 0 0;
  color: #57534e;
}

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

@media (max-width: 768px) {
  .jerid-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.jerid-cert-grid li {
  text-align: center;
  background: #fff;
  border: 1px solid #e7e5e4;
  padding: 16px;
}

.jerid-cert-grid img {
  max-height: 240px;
  width: auto;
  margin: 0 auto;
}

.jerid-search-hit {
  padding: 16px 0;
  border-bottom: 1px solid #e7e5e4;
}

.jerid-search-hit h2 {
  margin: 0 0 6px;
  font-family: var(--jerid-heading, "Cormorant", Georgia, serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.jerid-btn-more {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid #ca8a04;
  color: #8a5a00;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.28s ease, color 0.28s ease;
}

.jerid-btn-more:hover {
  background: #ca8a04;
  color: #1c1917;
}

.jerid-messages {
  list-style: none;
  margin: 0 0 8px;
  padding: 10px 14px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 2px;
  font-size: 14px;
}

.jerid-messages.is-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.jerid-scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 40;
  width: 42px;
  height: 42px;
  border: 1px solid var(--lux-gold, #ca8a04);
  border-radius: 2px;
  background: var(--lux-gold, #ca8a04);
  color: #1c1917;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.jerid-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.jerid-im {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.jerid-im-label {
  width: 44px;
  height: 44px;
  border: 1px solid #e7e5e4;
  border-right: 0;
  background: #fff;
  color: #1c1917;
  cursor: pointer;
  border-radius: 2px 0 0 2px;
}

.jerid-im-box {
  display: none;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-right: 0;
  min-width: 120px;
}

.jerid-im.is-open .jerid-im-box,
.jerid-im:hover .jerid-im-box {
  display: block;
}

.jerid-im-box ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.jerid-im-box a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: #44403c;
}

.jerid-im-box a:hover {
  background: #f5f5f4;
  color: #0c0a09;
}

/* 内页通用容器 */
.page-shell {
  padding: 48px 0 80px;
}

.page-shell h1 {
  font-family: var(--jerid-heading, "Cormorant", Georgia, serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: #0c0a09;
  margin-bottom: 1.25rem;
}

.breadcrumb {
  font-size: 13px;
  color: #78716c;
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: #8a5a00;
}

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* 搜索结果 */
.search-hit {
  padding: 14px 0;
  border-bottom: 1px solid #e7e5e4;
}
