/* Products hub — align with LINK-PP site (Open Sans, #333 / #c62828 / #f7f7f7) */
.products-hub-page {
  --phub-ink: #333;
  --phub-muted: #616265;
  --phub-soft-text: #707070;
  --phub-line: #e5e5e5;
  --phub-soft: #f7f7f7;
  --phub-red: #c62828;
  --phub-blue: #0070bc;
  background: #fff;
  color: var(--phub-ink);
  font-family: "Open Sans", Arial, Helvetica, sans-serif
}

/* 保证顶部导航下拉叠在 hero / 内容之上 */
.products-hub-page .header {
  position: relative;
  z-index: 200
}

.products-hub-page .top_prompt {
  position: relative;
  z-index: 201
}

.phub {
  overflow-x: hidden
}

.phub-wrap {
  width: 94%;
  max-width: 1440px;
  margin: 0 auto
}

#product-lines > .phub-wrap {
  max-width: 1200px
}

#offers > .phub-wrap {
  max-width: 1200px
}

/* Hero — similar to aboutus mid_banner overlay */
.phub-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  color: #fff;
  /* 不用 isolation：会把顶部导航下拉压到 hero 后面 */
  z-index: 0
}

.phub-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0
}

.phub-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block
}

.phub-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .45)
}

.phub-hero__inner {
  position: relative;
  z-index: 2;
  width: 94%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 30px;
  text-align: center;
  box-sizing: border-box
}

.phub-hero__brand {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .92);
  line-height: 1.4
}

.phub-hero__title {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff
}

.phub-hero__lead {
  margin: 0 auto 24px;
  max-width: 780px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .92);
  font-weight: 400
}

.phub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center
}

.phub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease
}

.phub-btn--primary {
  background: var(--phub-red);
  color: #fff
}

.phub-btn--primary:hover {
  background: #a51f1f;
  color: #fff
}

.phub-btn--ghost {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
  background: transparent
}

.phub-btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, .1)
}

.phub-btn--ghost-dark {
  border-color: #ccc;
  color: var(--phub-ink);
  background: #fff
}

.phub-btn--ghost-dark:hover {
  border-color: #999;
  color: #000
}

.phub-crumb {
  border-bottom: 1px solid var(--phub-line);
  background: #fff;
  font-size: 13px;
  color: var(--phub-soft-text)
}

.phub-crumb .phub-wrap {
  padding: 14px 0;
  display: flex;
  gap: 8px;
  align-items: center
}

.phub-crumb a {
  color: var(--phub-soft-text);
  text-decoration: none
}

.phub-crumb a:hover {
  color: var(--phub-red)
}

.phub-section {
  padding: 50px 0
}

.phub-section--muted {
  background: var(--phub-soft)
}

.phub-section--dark {
  background: #232323;
  color: #fff
}

.phub-section--dark .phub-split__copy p {
  color: #c8c8c8
}

.phub-head {
  margin: 0 0 28px;
  text-align: center
}

.phub-head h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: #232323;
  line-height: 1.3
}

.phub-section--dark .phub-head h2,
.phub-section--dark .phub-split__copy h2 {
  color: #fff
}

.phub-head p {
  margin: 0 auto;
  max-width: 920px;
  font-size: 15px;
  line-height: 1.7;
  color: #555
}

.phub-section--dark .phub-head p {
  color: #c8c8c8
}

.phub-trustband {
  padding: 0;
  border-bottom: 1px solid var(--phub-line);
  background: #fff
}

.phub-trustband__list {
  list-style: none;
  margin: 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.phub-trustband__list li {
  text-align: center;
  padding: 8px 10px
}

.phub-trustband__list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--phub-red);
  line-height: 1.2
}

.phub-trustband__list span {
  font-size: 13px;
  color: var(--phub-muted);
  line-height: 1.4
}

.phub-offers {
  position: relative;
  z-index: 1;
  clear: both;
  overflow: hidden;
  background: var(--phub-soft);
  padding: 48px 0;
  border-top: 1px solid var(--phub-line);
  border-bottom: 1px solid var(--phub-line)
}

#offers {
  scroll-margin-top: 90px
}

.phub-offers .phub-head {
  margin-bottom: 22px
}

.phub-offers__ship {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-left: 4px solid #1b7a4e;
  box-sizing: border-box
}

.phub-offers__ship-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 280px;
  min-width: 0
}

.phub-offers__ship-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  background: #1b7a4e;
  line-height: 1.2
}

.phub-offers__ship-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0
}

.phub-offers__ship-copy strong {
  font-size: 16px;
  font-weight: 700;
  color: #232323;
  line-height: 1.35
}

.phub-offers__ship-copy span {
  font-size: 13px;
  line-height: 1.55;
  color: var(--phub-muted)
}

.phub-offers__ship-link {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--phub-blue);
  text-decoration: none;
  white-space: nowrap
}

.phub-offers__ship-link:hover {
  text-decoration: underline
}

.phub-offers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none
}

.phub-offer {
  position: relative;
  z-index: 1;
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
  min-height: 0;
  overflow: hidden
}

.phub-offer__top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0
}

.phub-offer__badge {
  display: inline-block;
  align-self: flex-start;
  margin: 0;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--phub-red);
  background: rgba(198, 40, 40, .08);
  line-height: 1.3
}

.phub-offer__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #232323;
  line-height: 1.4;
  word-break: break-word
}

.phub-offer__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--phub-muted)
}

.phub-offer__code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0
}

.phub-offer__code-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .03em
}

.phub-offer__code {
  display: inline-block;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--phub-red);
  background: #f7f7f7;
  border: 1px dashed #d0d0d0;
  padding: 6px 10px;
  line-height: 1.2;
  word-break: break-all
}

.phub-offer__copy {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 7px 12px;
  margin: 0;
  cursor: pointer;
  border-radius: 2px;
  transition: background .2s ease, border-color .2s ease, color .2s ease
}

.phub-offer__copy:hover,
.phub-offer__copy.is-copied {
  border-color: var(--phub-red);
  color: var(--phub-red);
  background: #fff8f8
}

.phub-offers__note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: #888
}

.phub-lines {
  display: block
}

.phub-lines__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px
}

.phub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 4px;
  overflow: hidden;
  min-height: 100%
}

.phub-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background: #fff;
  position: relative
}

.phub-card__ship-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 10px;
  background: #1b7a4e;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .02em
}

.phub-card__promo {
  margin: 0 0 8px;
  color: #1b7a4e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35
}

.phub-card__media img {
  max-width: 140px;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block
}

.phub-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px
}

.phub-card__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #232323;
  line-height: 1.35
}

.phub-card__title a {
  color: inherit;
  text-decoration: none
}

.phub-card__title a:hover {
  color: var(--phub-red)
}

.phub-card__brief {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--phub-muted);
  min-height: 42px
}

.phub-card__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0
}

.phub-l2__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px
}

.phub-l2__name {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  text-decoration: none
}

.phub-l2__name:hover {
  color: var(--phub-red)
}

.phub-l2__toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px;
  margin: 0;
  cursor: pointer;
  color: #666;
  line-height: 1;
  flex-shrink: 0
}

.phub-l2__toggle .icon_bottom {
  display: inline-block;
  font-size: 12px;
  transition: transform .2s ease
}

.phub-l2.is-open > .phub-l2__row .phub-l2__toggle .icon_bottom {
  transform: rotate(180deg)
}

.phub-l2.is-open > .phub-l2__row .phub-l2__toggle {
  color: #333
}

.phub-l3 {
  list-style: none;
  margin: 0 0 8px;
  padding: 0 0 4px 12px
}

.phub-l3 li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px
}

.phub-l3 a {
  flex: 1;
  min-width: 0;
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.4;
  color: #707070;
  text-decoration: none
}

.phub-l3 a:hover {
  color: var(--phub-red)
}

.phub-l3__count {
  flex-shrink: 0;
  font-size: 12px;
  color: #999;
  line-height: 1
}

.phub-card__more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--phub-blue);
  text-decoration: none
}

.phub-card__more:hover {
  text-decoration: underline
}

.phub-lines__more {
  margin-top: 36px;
  padding-top: 28px
}

.phub-lines__more-title {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 700;
  color: #232323;
  text-align: center
}

.phub-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px
}

.phub-mini {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 4px
}

.phub-mini__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  background: #fff
}

.phub-mini__media img {
  max-width: 68px;
  max-height: 68px;
  object-fit: contain
}

.phub-mini__body h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35
}

.phub-mini__body h4 a {
  color: #232323;
  text-decoration: none
}

.phub-mini__body h4 a:hover {
  color: var(--phub-red)
}

.phub-mini__body ul,
.phub-mini__list {
  list-style: none;
  margin: 0;
  padding: 0
}

.phub-mini__list .phub-l2__name {
  font-size: 13px;
  padding: 6px 0;
  color: var(--phub-soft-text)
}

.phub-mini__list .phub-l2__row {
  min-height: 32px
}

.phub-mini__list .phub-l3 {
  margin-bottom: 4px;
  padding-left: 10px
}

.phub-mini__list .phub-l3 a {
  font-size: 12px
}

.phub-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center
}

.phub-split--reverse .phub-split__copy {
  order: 2
}

.phub-split--reverse .phub-split__media {
  order: 1
}

.phub-split__copy h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: #232323;
  line-height: 1.3
}

.phub-split__copy p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #555
}

.phub-split__media {
  overflow: hidden;
  background: #ebebeb;
  border: 1px solid #ececec;
  min-height: 260px
}

.phub-split__media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block
}

.phub-split__links {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.phub-split__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--phub-blue);
  text-decoration: none
}

.phub-split__links a:hover {
  text-decoration: underline
}

.phub-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.phub-case {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .25s
}

.phub-case:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08)
}

.phub-case img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #f3f3f3
}

.phub-case h3 {
  margin: 14px 16px 6px;
  font-size: 16px;
  font-weight: 700;
  color: #232323;
  line-height: 1.35
}

.phub-case p {
  margin: 0 16px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--phub-muted)
}

.phub-more {
  margin: 28px 0 0;
  text-align: center
}

.phub-more a {
  font-size: 14px;
  font-weight: 600;
  color: var(--phub-blue);
  text-decoration: none
}

.phub-more a:hover {
  text-decoration: underline
}

.phub-partners {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--phub-line)
}

.phub-partners img {
  width: 100%;
  height: auto;
  display: block
}

.phub-cta {
  padding: 48px 0 64px;
  background: var(--phub-soft);
  border-top: 1px solid var(--phub-line)
}

.phub-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.phub-cta h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #232323;
  line-height: 1.3
}

.phub-cta p {
  margin: 0;
  max-width: 36rem;
  font-size: 14px;
  line-height: 1.7;
  color: #555
}

.phub-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0
}

@media (max-width: 1024px) {
  .phub-hero {
    min-height: 320px
  }

  .phub-hero__title {
    font-size: 26px
  }

  .phub-trustband__list {
    grid-template-columns: repeat(2, 1fr)
  }

  .phub-offers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .phub-offers__ship {
    padding: 16px
  }

  .phub-lines__grid {
    grid-template-columns: 1fr
  }

  .phub-mini-grid {
    grid-template-columns: 1fr
  }

  .phub-split,
  .phub-split--reverse .phub-split__copy,
  .phub-split--reverse .phub-split__media {
    order: initial
  }

  .phub-split {
    grid-template-columns: 1fr
  }

  .phub-cases {
    grid-template-columns: 1fr
  }

  .phub-cta__inner {
    flex-direction: column;
    align-items: flex-start
  }
}

@media (max-width: 720px) {
  .phub-hero {
    min-height: 280px
  }

  .phub-hero__inner {
    padding: 36px 16px
  }

  .phub-hero__title {
    font-size: 22px;
    line-height: 1.3
  }

  .phub-hero__lead {
    font-size: 13px;
    line-height: 1.6
  }

  .phub-section {
    padding: 36px 0
  }

  .phub-head h2,
  .phub-split__copy h2,
  .phub-cta h2 {
    font-size: 20px
  }

  .phub-trustband__list {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 20px 0
  }

  .phub-offers {
    padding: 36px 0
  }

  .phub-offers__grid {
    grid-template-columns: 1fr
  }

  .phub-trustband__list strong {
    font-size: 18px
  }

  .phub-card__media {
    height: 150px
  }

  .phub-mini {
    grid-template-columns: 72px 1fr
  }

  .phub-mini__media {
    width: 72px;
    height: 72px
  }
}
