/**
 * 4BestPrint 新首页样式（前缀 nhp- 避免与主题类名冲突）
 * 主色 #2c4c3b / 米白 #f9f7f2 / 点缀金 #c9a227
 */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --nhp-green: #2c4c3b;
  --nhp-green-dark: #1f362a;
  --nhp-cream: #f9f7f2;
  --nhp-gold: #c9a227;
  --nhp-white: #ffffff;
  --nhp-muted: #5c6b63;
  --nhp-radius: 8px;
  --nhp-shadow: 0 8px 24px rgba(44, 76, 59, 0.08);
  --nhp-font-serif: 'Lora', 'Times New Roman', serif;
  --nhp-font-sans: 'Montserrat', system-ui, sans-serif;
}

.nhp-body--home {
  font-family: var(--nhp-font-sans);
  color: #1a1f1c;
  background: var(--nhp-cream);
  overflow-x: hidden;
}

/* 与主体内容区左右边距一致（与 Bootstrap container-fluid 内边距对齐） */
.nhp-page-gutter {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* ========== 顶栏 ========== */
.nhp-masthead {
  position: relative;
  z-index: 1030;
  background: var(--nhp-white);
  box-shadow: 0 1px 0 rgba(44, 76, 59, 0.08);
}

.nhp-masthead__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* 主导航 + 竖线 + 图标组整体靠右 */
.nhp-masthead__cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  gap: 0;
}

.nhp-masthead__rule {
  align-self: stretch;
  width: 1px;
  margin: 0 1rem;
  background: rgba(44, 76, 59, 0.22);
  flex-shrink: 0;
}

.nhp-masthead__icons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.nhp-masthead__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--nhp-green);
}

.nhp-masthead__logo {
  max-height: 48px;
  width: auto;
}

.nhp-masthead__brand-text {
  font-family: var(--nhp-font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.nhp-masthead__nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem 1.1rem;
  flex-wrap: wrap;
  margin-right: 0;
}

.nhp-masthead__nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nhp-green);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nhp-masthead__nav-link:hover {
  color: var(--nhp-green-dark);
  border-bottom-color: var(--nhp-gold);
}

.nhp-masthead__icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--nhp-green);
  font-size: 1.15rem;
  text-decoration: none;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}

.nhp-masthead__badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 1rem;
  height: 1rem;
  padding: 0 4px;
  font-size: 0.65rem;
  line-height: 1rem;
  text-align: center;
  background: var(--nhp-gold);
  color: var(--nhp-green-dark);
  border-radius: 999px;
}

.nhp-masthead__burger {
  border: none;
  background: transparent;
  color: var(--nhp-green);
  font-size: 1.25rem;
  padding: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}

/* ========== Hero 轮播：全宽背景图 + 左侧叠字 ========== */
.nhp-hero {
  background: var(--nhp-cream);
  border-bottom: 1px solid rgba(44, 76, 59, 0.06);
}

.nhp-hero__viewport {
  position: relative;
  overflow: hidden;
}

.nhp-hero__track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
}

.nhp-hero__slide {
  position: relative;
  flex: 0 0 100%;
  min-height: min(52vh, 520px);
  padding: 0;
  box-sizing: border-box;
}

/* 贯穿整屏的背景图 */
.nhp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nhp-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 左侧可读性：浅色渐变遮罩 */
.nhp-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(249, 247, 242, 0.94) 0%,
    rgba(249, 247, 242, 0.78) 38%,
    rgba(249, 247, 242, 0.2) 72%,
    transparent 100%
  );
  pointer-events: none;
}

.nhp-hero__slide-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0.75rem;
  min-height: min(52vh, 520px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nhp-hero__copy {
  max-width: min(560px, 92vw);
}

.nhp-hero__title {
  font-family: var(--nhp-font-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  color: var(--nhp-green);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.nhp-hero__lead {
  font-size: 1rem;
  color: var(--nhp-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.nhp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* 轮播内 CTA：hover 不改变外观（避免与下方区块按钮混淆） */
.nhp-hero__btn {
  transition: none;
}

.nhp-hero__btn.nhp-btn--primary:hover,
.nhp-hero__btn.nhp-btn--primary:focus-visible {
  background: var(--nhp-green);
  border-color: var(--nhp-green);
  color: var(--nhp-white);
}

.nhp-hero__btn.nhp-btn--ghost:hover,
.nhp-hero__btn.nhp-btn--ghost:focus-visible {
  background: var(--nhp-white);
  color: var(--nhp-green);
  border-color: var(--nhp-green);
}

.nhp-btn {
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nhp-btn--primary {
  background: var(--nhp-green);
  color: var(--nhp-white);
  border-color: var(--nhp-green);
}

.nhp-btn--primary:hover {
  background: var(--nhp-green-dark);
  border-color: var(--nhp-green-dark);
  color: var(--nhp-white);
}

.nhp-btn--ghost {
  background: var(--nhp-white);
  color: var(--nhp-green);
  border-color: var(--nhp-green);
}

.nhp-btn--ghost:hover {
  background: var(--nhp-cream);
}

.nhp-btn--light {
  background: var(--nhp-white);
  color: var(--nhp-green);
  border-color: transparent;
}

.nhp-btn--light:hover {
  background: var(--nhp-cream);
  color: var(--nhp-green-dark);
}

.nhp-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--nhp-green);
  box-shadow: var(--nhp-shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nhp-hero__arrow:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--nhp-green);
  box-shadow: var(--nhp-shadow);
}

.nhp-hero__arrow--prev {
  left: 12px;
}

.nhp-hero__arrow--next {
  right: 12px;
}

.nhp-hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.nhp-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(44, 76, 59, 0.25);
  padding: 0;
  cursor: pointer;
}

.nhp-hero__dot.is-active {
  background: var(--nhp-green);
}

.nhp-hero__dot:hover {
  background: rgba(44, 76, 59, 0.25);
}

.nhp-hero__dot.is-active:hover {
  background: var(--nhp-green);
}

/* Offcanvas 辅助 */
.nhp-offcanvas-nav-list__a {
  display: block;
  padding: 0.65rem 0;
  color: var(--nhp-green);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 76, 59, 0.08);
}

/* ========== 首页主区域 ========== */
.nhp-home-main {
  background: var(--nhp-cream);
  max-width: 100%;
  /* 不用 overflow-x:clip，避免 iOS 将 overflow-y 计算为 auto 引发层叠裁切 */
}

/* 确保侧边栏和主内容并排显示 */
.nhp-home-main__row {
  display: flex;
  flex-wrap: wrap;
}

.nhp-home-main__row > .nhp-sidebar {
  flex: 0 0 25%;
  max-width: 25%;
}

.nhp-home-main__row > .nhp-home-primary {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (max-width: 991px) {
  .nhp-home-main__row > .nhp-sidebar,
  .nhp-home-main__row > .nhp-home-primary {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.nhp-home-main__inner {
  /* 相对原 2.5rem / 3rem 约缩小 25% */
  padding-top: 1.875rem;
  padding-bottom: 2.25rem;
}

/* 首页主行：Bootstrap g-4 垂直间距略收紧约 25% */
.nhp-home-main__row {
  --bs-gutter-x: 1.125rem;
  --bs-gutter-y: 1.125rem;
}

.nhp-home-primary {
  min-width: 0;
  background: var(--nhp-cream);
  border-radius: var(--nhp-radius);
  padding: 0.25rem 0 0.5rem 0.5rem;
}

@media (max-width: 767px) {
  /* 移动端左右内边距对称，避免产品列表右侧贴边 */
  .nhp-home-primary {
    padding-right: 0.5rem;
  }
}

@media (min-width: 992px) {
  .nhp-home-primary {
    padding-left: 1rem;
  }
}

.nhp-sec {
  margin-bottom: 1.875rem;
}

.nhp-sec__head {
  margin-bottom: 0.9375rem;
}

.nhp-sec__title {
  font-family: var(--nhp-font-serif);
  font-size: 1.5rem;
  color: var(--nhp-green);
  margin: 0;
}

.nhp-sec__empty {
  color: var(--nhp-muted);
  margin: 0;
}

/* 精选分类网格 */
.nhp-feat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 1199px) {
  .nhp-feat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (max-width: 767px) {
  /* 移动端：精选分类两列网格，多行换行 */
  .nhp-feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .nhp-feat-card {
    width: 100%;
    min-width: 0;
  }

  .nhp-feat-card__media {
    max-width: none;
  }
}

/* 精选分类卡片 */
.nhp-feat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--nhp-white);
  border-radius: var(--nhp-radius);
  box-shadow: var(--nhp-shadow);
  overflow: hidden;
  border: 1px solid rgba(44, 76, 59, 0.06);
}

.nhp-feat-card__media {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--nhp-cream);
  border-radius: 6px;
}

.nhp-feat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nhp-feat-card__body {
  padding: 1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nhp-feat-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--nhp-green);
  margin: 0 0 0.5rem;
}

.nhp-feat-card__text {
  font-size: 0.88rem;
  color: var(--nhp-muted);
  margin: 0 0 0.75rem;
  flex: 1;
  line-height: 1.5;
}

.nhp-feat-card__more {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  margin-left: 1.15rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nhp-green);
  text-decoration: none;
  border: 2px solid var(--nhp-green);
  border-radius: 10px;
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nhp-feat-card__more:hover {
  background: #1f362a;
  border-color: #1f362a;
  color: var(--nhp-white);
}

/* 热销：一行 4 个不换行（小屏横向滚动） */
.nhp-hot-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  align-items: stretch;
}

@media (max-width: 991px) {
  .nhp-hot-row {
    overflow-x: auto;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
}

.nhp-hot-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 20%;
  min-width: 0;
  padding: 0.75rem;
  border-radius: var(--nhp-radius);
  box-shadow: var(--nhp-shadow);
  border: 1px solid rgba(44, 76, 59, 0.08);
  background: var(--nhp-white);
}

@media (max-width: 1199px) {
  .nhp-hot-card {
    flex: 1 1 25%;
  }
}

@media (max-width: 991px) {
  .nhp-hot-card {
    flex: 0 0 200px;
  }
}

@media (max-width: 767px) {
  /* 移动端：热销商品两列网格，多行换行 */
  .nhp-hot-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .nhp-hot-card {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .nhp-hot-card__media,
  .nhp-hot-card__img {
    max-height: none;
  }
}

.nhp-hot-card__media {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: var(--nhp-cream);
  aspect-ratio: 1;
  max-height: 168px;
}

.nhp-hot-card__img {
  width: 100%;
  height: 100%;
  max-height: 168px;
  object-fit: cover;
  display: block;
}

.nhp-hot-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nhp-hot-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.nhp-hot-card__title-link {
  color: var(--nhp-green);
  text-decoration: none;
}

.nhp-hot-card__title-link:hover {
  text-decoration: underline;
}

.nhp-hot-card__desc {
  font-size: 0.85rem;
  color: var(--nhp-muted);
  margin: 0 0 0.5rem;
  line-height: 1.45;
}

.nhp-hot-card__price-row {
  margin-bottom: 0.5rem;
}

.nhp-hot-card__price {
  font-weight: 600;
  color: var(--nhp-green);
}

.nhp-hot-card__price--special {
  color: #b83232;
  margin-right: 0.5rem;
}

.nhp-hot-card__price--was {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--nhp-muted);
  font-weight: 500;
}

/* Shop Now：描边按钮，悬停深色底 */
.nhp-hot-card__shop {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: var(--nhp-green);
  border: 2px solid var(--nhp-green);
  border-radius: 10px;
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nhp-hot-card__shop:hover {
  background: var(--nhp-green-dark);
  border-color: var(--nhp-green-dark);
  color: var(--nhp-white);
}

/* ========== 左侧栏（透明，透出页面米白底） ========== */
.nhp-sidebar {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow: visible;
}

/* 仅主分类标题条为深色底 */
.nhp-sidebar__main-cat {
  background: var(--nhp-green-dark);
  padding: 0.85rem 1rem;
  border-radius: var(--nhp-radius) var(--nhp-radius) 0 0;
}

.nhp-sidebar__heading--on-dark {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
}

/* 子分类列表：浅绿半透明底，与白色侧栏区分 */
.nhp-sidebar-cat {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0.85rem 0.6rem;
  background: white;
  border-radius: 0 0 var(--nhp-radius) var(--nhp-radius);
}

.nhp-sidebar-cat__item {
  border-bottom: 1px solid rgba(44, 76, 59, 0.1);
}

.nhp-sidebar-cat__item:last-child {
  border-bottom: none;
}

.nhp-sidebar-cat__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.4rem;
  margin: 0 -0.25rem;
  font-size: 1rem;
  color: #2a3330;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
}

.nhp-sidebar-cat__link:hover {
  background-color: rgba(44, 76, 59, 0.14);
  color: var(--nhp-green);
}

.nhp-sidebar-cat__ico {
  color: var(--nhp-gold);
  width: 1.1rem;
}

.nhp-sidebar__section {
  margin-bottom: 1.5rem;
  padding: 0 0.85rem;
}

/* MATERIAL：与上方列表区隔 + 标题条与列表分区（参照主分类结构） */
.nhp-sidebar__section--material {
  margin-top: 1.25rem;
  padding: 0;
}

/* 与「SHOP BY CATEGORY」主标题条同一套深色条 + 白字 */
.nhp-sidebar__mat-head {
  background: var(--nhp-green-dark);
  padding: 0.65rem 0.85rem;
  border-radius: var(--nhp-radius) var(--nhp-radius) 0 0;
}

.nhp-sidebar__heading--mat {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.nhp-sidebar-mat {
  list-style: none;
  margin: 0;
  padding: 0.45rem 0.85rem 0.65rem;
  background: white;
  border-radius: 0 0 var(--nhp-radius) var(--nhp-radius);
}

.nhp-sidebar__section--material .nhp-sidebar-mat__hint {
  padding: 0.35rem 0.85rem 0;
}

.nhp-sidebar__heading {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  /* color: var(--nhp-green); */
}

.nhp-sidebar-mat__lbl {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  margin: 0;
  cursor: not-allowed;
  color: var(--nhp-muted);
}

.nhp-sidebar-mat__chk {
  accent-color: var(--nhp-green);
}

.nhp-sidebar-mat__hint {
  font-size: 0.75rem;
  color: #8a9590;
  margin: 0.5rem 0 0;
}

/* 与上方子分类列表同款浅绿底 + 圆角，与 MATERIAL 区块留出间距 */
.nhp-sidebar-help {
  background: rgba(44, 76, 59, 0.1);
  border-radius: var(--nhp-radius);
  padding: 0.65rem 0.85rem 0.75rem;
  margin: 1.25rem 0 0;
  border-top: none;
  font-size: 1rem;
}

.nhp-sidebar-help__title {
  font-weight: 600;
  color: var(--nhp-green);
  margin: 0 0 0.5rem;
}

.nhp-sidebar-help__line {
  margin: 0.25rem 0;
}

.nhp-sidebar-help__line a {
  color: #2a3330;
  text-decoration: none;
}

.nhp-sidebar-help__line a:hover {
  text-decoration: underline;
}

.nhp-sidebar-help__social {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.nhp-sidebar-help__soc {
  color: var(--nhp-green);
  font-size: 1.1rem;
}

/* ========== 静态插件块（垂直留白约缩小 25%） ========== */
.nhp-plugin {
  padding: 1.875rem 0;
}

/*.nhp-plugin-wall-art {*/
/*position: relative;*/
/* min-height: 400px;*/
/* overflow: hidden;*/
/* padding-left: 0.75rem;*/
/* padding-right: 0.75rem;*/
/*}*/

.nhp-plugin-wall-art__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.nhp-plugin-wall-art__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.nhp-plugin-wall-art__wrap {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

.nhp-plugin-wall-art__wrap {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.nhp-plugin-wall-art__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1.5rem 2rem;
}

/* 左 25%：文案 + 联系方式上下排，与右侧图组同高 */
.nhp-plugin-wall-art__copy {
  flex: 0 0 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .nhp-plugin-wall-art__copy {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .nhp-plugin-wall-art__inner {
    min-height: 200px;
  }
}

.nhp-plugin-wall-art__title {
  font-family: var(--nhp-font-serif);
  font-size: 1.45rem;
  color: var(--nhp-green);
  margin: 0 0 0.65rem;
}

.nhp-plugin-wall-art__lead {
  color: var(--nhp-muted);
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.nhp-plugin-wall-art__contact {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.nhp-plugin-wall-art__contact-line {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nhp-plugin-wall-art__contact-lbl {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nhp-green);
  opacity: 0.85;
}

.nhp-plugin-wall-art__contact-val {
  font-size: 0.88rem;
  color: #2a3330;
  text-decoration: none;
  word-break: break-word;
}

.nhp-plugin-wall-art__contact-val:hover {
  text-decoration: underline;
}

/* 右 75%：三图均分，与左侧文案列等高 */
.nhp-plugin-wall-art__frames {
  flex: 1 1 280px;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: stretch;
  align-self: stretch;
  min-height: 180px;
}

@media (min-width: 768px) {
  .nhp-plugin-wall-art__frames {
    flex: 1 1 72%;
    max-width: 75%;
    min-height: 100%;
  }
}

@media (max-width: 767px) {
  .nhp-plugin-wall-art__frames {
    flex-direction: column;
    min-height: 0;
  }
}

.nhp-plugin-wall-art__frame {
  flex: 1 1 30%;
  min-height: 160px;
  border-radius: 6px;
  box-shadow: var(--nhp-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nhp-plugin-wall-art__frame-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  object-fit: cover;
  display: block;
}

/* 帐篷区：左半一大图 + 右半上下两图 */
.nhp-plugin-tents {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.nhp-plugin-tents__cell {
  min-height: 0;
  display: flex;
}

.nhp-plugin-tents__grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  max-height: 500px;
}

.nhp-plugin-tents__cell--large {
  grid-column: 1;
  grid-row: 1 / span 2;
  overflow: hidden;
  border-radius: var(--nhp-radius);
}

.nhp-plugin-tents__full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nhp-plugin-tents__cell--top {
  grid-column: 2;
  grid-row: 1;
}

.nhp-plugin-tents__cell--bottom {
  grid-column: 2;
  grid-row: 2;
}

.nhp-plugin-tents__img {
  flex: 1;
  display: flex;
  min-height: 0;
  width: 100%;
  border-radius: var(--nhp-radius);
  box-shadow: var(--nhp-shadow);
  overflow: hidden;
  background: var(--nhp-cream);
}

.nhp-plugin-tents__photo-img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  /* 移动端单列：改用 flex 文档流，彻底脱离 Grid max-height / height:100% 链 */
  .nhp-plugin-tents {
    position: relative;
    z-index: 2;
    isolation: isolate;
    padding-bottom: 1.5rem;
    overflow: visible;
  }

  .nhp-plugin-tents .nhp-page-gutter {
    overflow: visible;
  }

  .nhp-plugin-tents__grid3 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: none;
    height: auto;
    overflow: visible;
  }

  .nhp-plugin-tents__cell,
  .nhp-plugin-tents__cell--large,
  .nhp-plugin-tents__cell--top,
  .nhp-plugin-tents__cell--bottom {
    display: block;
    flex: none;
    width: 100%;
    min-height: 0;
    overflow: visible;
    grid-column: unset;
    grid-row: unset;
  }

  .nhp-plugin-tents__img {
    display: block;
    flex: none;
    overflow: visible;
  }

  .nhp-plugin-tents__full-img,
  .nhp-plugin-tents__photo-img {
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    aspect-ratio: unset;
    object-fit: initial;
    display: block;
    border-radius: var(--nhp-radius);
    vertical-align: top;
  }

  /* 人行道区明确后移，避免 WebKit 层叠盖住帐篷区底部图 */
  .nhp-plugin-sidewalk {
    position: relative;
    z-index: 0;
    margin-top: 0;
    clear: both;
  }

  .nhp-plugin-sidewalk__grid {
    min-height: 0;
  }

  .nhp-plugin-sidewalk__panel {
    min-height: 0;
    z-index: auto;
  }

  .nhp-plugin-sidewalk__panel--a,
  .nhp-plugin-sidewalk__panel--b {
    z-index: auto;
    margin-left: 0;
  }

  .nhp-plugin-sidewalk__img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: initial;
    display: block;
  }
}

/* 人行道：双图 + 斜切缝（左图右侧斜至右下；右图左侧自左上斜入） */
.nhp-plugin-sidewalk {
  padding-left: 0;
  padding-right: 0;
}

.nhp-plugin-sidewalk__grid {
  display: flex;
  min-height: 210px;
  position: relative;
  gap: 0.75rem;
}

.nhp-plugin-sidewalk__panel {
  flex: 1 1 50%;
  min-height: 210px;
  overflow: hidden;
  position: relative;
}

/* 左幅：右边界从「距顶稍内收」斜向右下角 */
.nhp-plugin-sidewalk__panel--a {
  z-index: 1;
  clip-path: polygon(0 0, calc(100% - 120px) 0, 100% 100%, 0 100%);
}

/* 右幅：左边界自左上斜向右下，与左幅接缝重叠 */
.nhp-plugin-sidewalk__panel--b {
  z-index: 2;
  margin-left: -100px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 120px 100%);
}

.nhp-plugin-sidewalk__img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .nhp-plugin-sidewalk {
    overflow: hidden;
  }

  .nhp-plugin-sidewalk__grid {
    flex-direction: column;
  }

  .nhp-plugin-sidewalk__panel--a {
    clip-path: none;
  }

  .nhp-plugin-sidewalk__panel--b {
    margin-left: 0;
    clip-path: none;
  }
}

/* 信任条：与上区间隔 + 浅绿透明底 */
.nhp-plugin-trust {
  margin-top: 1.875rem;
  padding: 0;
}

.nhp-plugin-trust__band {
  width: 100%;
  background: rgba(44, 76, 59, 0.2);
  padding: 0.9375rem 0;
}

.nhp-plugin-trust__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.25rem;
  max-width: 1200px;
}

.nhp-plugin-trust__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--nhp-green);
}

.nhp-plugin-trust__ico {
  color: var(--nhp-gold);
}

/* 移动端：信任项上下排列，整体左对齐、自上而下（避免横排拥挤/换行错乱） */
@media (max-width: 767px) {
  .nhp-plugin-trust__list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem 0;
  }

  .nhp-plugin-trust__item {
    width: 100%;
    justify-content: flex-start;
  }
}

/* 新版 Trust Grid 布局（5列图标卡片） */
.nhp-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
}

.nhp-trust-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 0.75rem;
}

.nhp-trust-icon {
  font-size: 1.5rem;
  color: var(--nhp-green);
  opacity: 0.8;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.nhp-trust-icon i {
  display: block;
}

.nhp-trust-content {
  display: flex;
  flex-direction: column;
}

.nhp-trust-title {
  font-family: var(--nhp-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nhp-green);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.nhp-trust-desc {
  font-family: var(--nhp-font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--nhp-muted);
  margin: 0;
  line-height: 1.5;
}

/* 响应式：平板 3+2 布局 */
@media (max-width: 991px) {
  .nhp-trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
  }
}

/* 响应式：移动端 2列或1列 */
@media (max-width: 767px) {
  .nhp-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.5rem 0;
  }
  
  .nhp-trust-title {
    font-size: 0.875rem;
  }
  
  .nhp-trust-desc {
    font-size: 0.75rem;
  }
}

@media (max-width: 479px) {
  .nhp-trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Partner：全宽（不使用 100vw，避免横向滚动条） */
.nhp-plugin-partner {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  background: var(--nhp-green);
  color: var(--nhp-white);
  padding: 2.0625rem 0 2.4375rem;
  overflow: visible;
}

.nhp-plugin-partner__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.nhp-plugin-partner__header {
  text-align: center;
  color: var(--nhp-white);
  margin-bottom: 2rem;
}

.nhp-plugin-partner__title {
  font-family: var(--nhp-font-serif);
  font-size: 1.65rem;
  color: var(--nhp-white)!important;
  margin: 0 0 1rem;
}

.nhp-plugin-partner__subtitle {
  font-size: 1rem;
  color: var(--nhp-white);
  opacity: 0.9;
  margin: 0;
}

.nhp-plugin-partner__card {
  background: var(--nhp-white);
  color: #1a1f1c;
  border-radius: var(--nhp-radius);
  /*padding: 1rem;*/
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nhp-plugin-partner__card-visual {
  border-radius: 6px;
  min-height: 140px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.nhp-plugin-partner__card-img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  display: block;
}

.nhp-plugin-partner__card-title {
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--nhp-green);
  margin: 0 0 0.35rem;
}

.nhp-plugin-partner__card-text {
  padding: 1rem;
  font-size: 0.88rem;
  color: var(--nhp-muted);
  flex: 1;
  margin-bottom: 0.75rem;
}

/*
 * Partner 四卡间距：Bootstrap gutter 落在子项 padding 上，白底卡片与 article 同层会铺满，
 * 看不出父级深绿底。改用 grid + gap，间隙天然露出 .nhp-plugin-partner 背景（与 row-cols-1/md-2/xl-4 同断点）。
 */
.nhp-plugin-partner__inner > .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1.25rem;
}

@media (min-width: 768px) {
  .nhp-plugin-partner__inner > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .nhp-plugin-partner__inner > .row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 抵消 row-cols-* 在子项上的 width/flex，避免在 grid 下仍按 25%/50% 缩窄卡片 */
.nhp-plugin-partner__inner > .row > .nhp-plugin-partner__card {
  width: 100%;
  max-width: none;
  flex: none;
}

/*
 * Partner 卡片内 Shop Now（仅本区）：宽度约为默认一半、小圆角；
 * 左右外边距与 .nhp-plugin-partner__card-title 的 padding(1rem) 对齐。
 */
.nhp-plugin-partner .nhp-btn--light {
  border: 2px solid var(--nhp-green);
  border-radius: var(--nhp-radius);
  width: 40%;
  max-width: 100%;
  align-self: flex-start;
  margin: 0 1rem 1rem;
  box-sizing: border-box;
  white-space: nowrap;
}

.nhp-plugin-partner .nhp-btn--light:hover {
  border-color: var(--nhp-green-dark);
}

/* ========== 页脚 ========== */
.nhp-site-footer {
  background: #f0f2f1;
  border-top: 1px solid rgba(44, 76, 59, 0.08);
}

.nhp-site-footer__grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2.5rem 0.75rem 1.5rem;
}

.nhp-site-footer__col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--nhp-green);
  margin: 0 0 1rem;
}

.nhp-site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nhp-site-footer__item {
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  color: var(--nhp-muted);
}

.nhp-site-footer__item--multiline {
  white-space: pre-line;
}

.nhp-site-footer__link {
  color: #2a3330;
  text-decoration: none;
}

.nhp-site-footer__link:hover {
  text-decoration: underline;
  color: var(--nhp-green);
}

.nhp-site-footer__brand {
  font-family: var(--nhp-font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--nhp-green);
  margin-bottom: 0.75rem;
}

.nhp-site-footer__social {
  display: flex;
  gap: 0.75rem;
}

.nhp-site-footer__soc {
  color: var(--nhp-green);
  font-size: 1.2rem;
}

.nhp-site-footer__bar {
  border-top: 1px solid rgba(44, 76, 59, 0.08);
  background: #e8eae9;
}

.nhp-site-footer__bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.85rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.nhp-site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--nhp-muted);
}

.nhp-site-footer__pay {
  display: flex;
  gap: 0.5rem;
  color: #6a7570;
  font-size: 1.5rem;
}

/* ========== Hero Banner 主横幅区域 ========== */
.nhp-hero-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(44, 76, 59, 0.06);
  padding: 2.5rem 0;
  min-height: 420px;
}

.nhp-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.nhp-hero-banner__wrap {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 0.75rem;
}

.nhp-hero-banner__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  min-height: 380px;
}

.nhp-hero-banner__content {
  flex: 0 0 45%;
  max-width: 520px;
  padding: 0 1.5rem;
}

.nhp-hero-banner__title {
  font-family: var(--nhp-font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--nhp-green);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.nhp-hero-banner__lead {
  font-size: 1.05rem;
  color: var(--nhp-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.nhp-hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

@media (max-width: 991px) {
  /* 移动端：让 Hero wrap 在父级内水平+垂直居中（PC ≥992px 不受影响） */
  .nhp-hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nhp-hero-banner__wrap {
    width: 100%;
    margin: auto;
  }

  .nhp-hero-banner__inner {
    text-align: center;
    justify-content: center;
    gap: 2.5rem;
  }

  .nhp-hero-banner__content {
    flex: 0 0 100%;
    max-width: 600px;
  }

  .nhp-hero-banner__actions {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .nhp-hero-banner {
    padding: 1.75rem 0;
    min-height: 360px;
  }

  .nhp-hero-banner__inner {
    min-height: auto;
  }
}

/* ========== 首页移动端（≤1024px，PC ≥1025px 不变） ========== */
/* View All 仅移动端展示，PC 隐藏 */
.nhp-home-main .nhp-sec__view-all {
  display: none;
}

@media (max-width: 1024px) {
  /* 任务 1–2：区块标题缩小 + View All 占位按钮（暂无跳转） */
  .nhp-home-main .nhp-sec__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .nhp-home-main .nhp-sec__title {
    font-size: 1.125rem;
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nhp-home-main .nhp-sec__view-all {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--nhp-green);
    border: none;
    border-radius: 0;
    background: transparent;
    white-space: nowrap;
    pointer-events: none;
  }

  /* 精选分类：一行 2.5 个，横向滑动 */
  .nhp-home-main .nhp-feat-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .nhp-home-main .nhp-feat-card {
    flex: 0 0 calc((100% - 1.3rem) / 2.5);
    min-width: calc((100% - 1.3rem) / 2.5);
    scroll-snap-align: start;
  }

  .nhp-home-main .nhp-feat-card__media {
    max-width: none;
    aspect-ratio: 1 / 1;
  }

  .nhp-home-main .nhp-feat-card__body {
    padding: 0.35rem 0.25rem 0.5rem;
  }

  .nhp-home-main .nhp-feat-card__title {
    font-size: 0.62rem;
    margin-bottom: 0.2rem;
    line-height: 1.2;
    text-align: center;
  }

  .nhp-home-main .nhp-feat-card__text {
    display: none;
  }

  .nhp-home-main .nhp-feat-card__more {
    display: none !important;
  }

  /* 精选卡：整块（图+标题）跳转后台配置的 link */
  .nhp-home-main .nhp-feat-card__tap {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    text-decoration: none;
    color: inherit;
  }

  .nhp-home-main .nhp-feat-card__tap:focus-visible {
    outline: 2px solid var(--nhp-green);
    outline-offset: 2px;
  }

  /* 任务 3：插件区垂直留白 */
  .nhp-home-main .nhp-plugin {
    padding: 1rem 0;
  }

  /* 任务 4：信任条三列；末行仅 2 项时整行居中（flex + justify-content:center） */
  .nhp-home-main .nhp-trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .nhp-home-main .nhp-trust-item {
    flex: 0 0 calc((100% - 2rem) / 3);
    max-width: calc((100% - 2rem) / 3);
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .nhp-home-main .nhp-trust-icon {
    margin-top: 0;
  }

  .nhp-home-main .nhp-trust-content {
    align-items: center;
  }

  .nhp-home-main .nhp-trust-title,
  .nhp-home-main .nhp-trust-desc {
    word-wrap: break-word;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .nhp-home-main .nhp-trust-title {
    font-size: 0.8125rem;
  }

  .nhp-home-main .nhp-trust-desc {
    font-size: 0.72rem;
  }

  /* 任务 5：Partner 卡左图右文，右侧标题/描述/按钮纵向 */
  .nhp-home-main .nhp-plugin-partner__card {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.75rem 0.75rem;
  }

  .nhp-home-main .nhp-plugin-partner__card-visual {
    flex: 0 0 38%;
    max-width: 38%;
    min-height: 0;
    margin-bottom: 0;
  }

  .nhp-home-main .nhp-plugin-partner__card-img {
    min-height: 0;
    height: 100%;
    object-fit: cover;
  }

  .nhp-home-main .nhp-plugin-partner__card-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .nhp-home-main .nhp-plugin-partner__card-title {
    padding: 0;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
  }

  .nhp-home-main .nhp-plugin-partner__card-text {
    padding: 0;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .nhp-home-main .nhp-plugin-partner .nhp-btn--light {
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
  }
}

@media (min-width: 1025px) {
  .nhp-home-main .nhp-plugin-partner__card-body {
    display: contents;
  }
}

/* 移动端极窄屏（≤400px）：Hero 区域文字溢出修正 */
@media (max-width: 400px) {
  .nhp-hero-banner__inner {
    min-height: auto;
    gap: 1rem;
  }

  .nhp-hero-banner__content {
    padding: 0 0.5rem;
  }

  .nhp-hero-banner__title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
  }

  .nhp-hero-banner__lead {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .nhp-hero-banner__actions {
    gap: 0.5rem;
  }
}
