/* 杂志铺移动端底部导航 + 客服弹层（从「分享领福利」提取，活动页通用） */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
    Arial, PingFang SC-Light, Microsoft YaHei;
  background-color: #f5f5f5;
}

.activity-content {
  width: 15rem;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  background-color: #f1f1f1;
  font-size: 0;
}

.activity-content .slice,
.activity-content .slice-link img,
.activity-content .grid-2 img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  vertical-align: top;
}

.activity-content .slice-link {
  display: block;
  -webkit-tap-highlight-color: transparent;
}

.activity-content .section {
  position: relative;
}

/* 绝对定位热区 */
.activity-content .hotspot {
  position: absolute;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}

/* 折扣专区 2x2 */
.activity-content .grid-2 {
  display: flex;
  flex-wrap: wrap;
}

.activity-content .grid-2 a {
  width: 50%;
  display: block;
  -webkit-tap-highlight-color: transparent;
}
.zzp-nav-root {
  font-size: min(calc(100vw / 15), calc(750px / 15));
  line-height: 1;
}

body.has-zzp-pf-nav {
  padding-bottom: calc(
    1.96 * min(100vw / 15, 750px / 15) + env(safe-area-inset-bottom, 0px)
  );
}

.zzp-nav-root .pf-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 15em;
  max-width: min(100vw, 15em);
  z-index: 99;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  height: 1.96em;
  box-sizing: border-box;
}

.zzp-nav-root .pf-nav-item {
  text-align: center;
  margin: 0.26em 0 0.22em;
  width: 3em;
  flex-shrink: 0;
}

.zzp-nav-root .pf-nav a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.zzp-nav-root .pf-img {
  width: 0.88em;
  height: auto;
  vertical-align: middle;
}

.zzp-nav-root .pf-title {
  font-size: 0.4em;
  color: #cccccc;
  font-family: SourceHanSansCN-Regular, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  margin-top: 0.22em;
}

.zzp-nav-root #show_kf {
  position: relative;
}

.zzp-nav-root #show_kf .img-div {
  position: absolute;
  left: 12%;
  top: -1em;
  z-index: 6;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 0.1em 0.23em;
  box-sizing: border-box;
}

.zzp-nav-root .img-div img {
  width: 1.9em;
  height: 1.9em;
  display: block;
}

.zzp-nav-root #show_kf .pf-title {
  margin-top: 1.1em;
}

.zzp-nav-root .dp-zzp-kf-menb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 99998;
}

.zzp-nav-root .dp-zzp-kf-box {
  width: 12.4em;
  height: 6.2em;
  max-width: min(12.4em, calc(100vw - 2rem));
  max-height: min(6.2em, calc(100vh - 4rem));
  box-sizing: border-box;
  background: #ffffff;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  border-radius: 0.16em;
  z-index: 99999;
}

.zzp-nav-root .dp-zzp-kf-close {
  width: 0.8em;
  height: 0.8em;
  position: absolute;
  top: 0.4em;
  right: 0.4em;
  cursor: pointer;
}

.zzp-nav-root .dp-zzp-kf-close img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.zzp-nav-root .dp-zzp-kf-box ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.zzp-nav-root .dp-zzp-kf-box li {
  width: 50%;
  text-align: center;
}

.zzp-nav-root .dp-zzp-kf-box li a {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.zzp-nav-root .dp-zzp-kf-img {
  width: 2em;
  margin: 0 auto;
  margin-top: 1.76em;
}

.zzp-nav-root .dp-zzp-kf-img img {
  width: 100%;
  height: auto;
  display: block;
}

.zzp-nav-root .dp-zzp-kf-name {
  margin-top: 0.4em;
  font-weight: bold;
  color: #333333;
  font-size: 0.64em;
  line-height: 1;
}

.zzp-nav-root .dp-zzp-kf-time {
  font-size: 0.56em;
  color: #333333;
  line-height: 1;
  margin-top: 0.2em;
}
