/* 移动端 · 产品展示 */

.m-yx-hero {
  position: relative;
  min-height: 68svh;
  overflow: hidden;
  color: #fff;
  background: #1a1816;
}

.m-yx-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-yx-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.58) 100%);
}

.m-yx-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 68svh;
  padding: 88px 20px calc(32px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.m-yx-hero-copy h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .04em;
}

.m-yx-hero-sub {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
  opacity: .9;
}

.m-yx-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.m-yx-feat {
  padding: 12px 12px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
}

.m-yx-feat .t {
  font-size: 15px;
  font-weight: 700;
  color: #e0c35a;
}

.m-yx-feat .d {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
}

.m-yx-block {
  padding: 44px 20px;
  background: #fff;
}

.m-yx-block.is-tint {
  background: #f7f5f1;
}

.m-yx-block.is-dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  /* 三类植入剂 BD：纯灰底，不用背景图 */
  background: #6b6b6b;
}

.m-yx-block.is-dark > * {
  position: relative;
  z-index: 1;
}

.m-yx-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
}

.m-yx-block.is-dark .m-yx-title {
  color: #fff;
}

.m-yx-body {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.m-yx-block.is-dark .m-yx-body {
  color: rgba(255,255,255,.88);
}

.m-yx-star-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.m-yx-star-card {
  padding: 18px 16px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid #eceae4;
}

.m-yx-star-card .no {
  font-size: 12px;
  letter-spacing: .14em;
  color: #caa009;
  font-weight: 700;
}

.m-yx-star-card .name {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: #1a1a1a;
}

.m-yx-star-card .pic {
  position: relative;
  margin-top: 16px;
  min-height: 160px;
}

.m-yx-star-card .pic .base {
  display: block;
  width: 72%;
  margin: 0 auto;
  opacity: .85;
}

.m-yx-star-card .pic .product {
  position: absolute;
  left: 50%;
  /* 抬高，落在透明座子顶面 */
  bottom: 57%;
  width: 42%;
  transform: translateX(-50%);
}

/* NO.3 膏状敷料图偏大，缩小为原来一半 */
.m-yx-star-card:nth-child(3) .pic .product {
  width: 21%;
  bottom: 61%;
}

.m-yx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.m-yx-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #eceae4;
}

.m-yx-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #faf9f6;
  padding: 10px;
  box-sizing: border-box;
}

.m-yx-card .info {
  padding: 12px 12px 14px;
}

.m-yx-card .brand {
  margin: 0;
  font-size: 11px;
  letter-spacing: .08em;
  color: #caa009;
}

.m-yx-card .name {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
}

.m-yx-points {
  margin: 16px 0 0;
  padding: 0 0 0 18px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,.9);
}

.m-yx-points li {
  margin: 0 0 8px;
}

.m-yx-sanji-img {
  display: block;
  width: 70%;
  max-width: 260px;
  margin: 22px auto 0;
  height: auto;
}

.m-yx-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  margin-top: 22px;
  padding-bottom: 6px;
}

.m-yx-scroll::-webkit-scrollbar {
  display: none;
}

.m-yx-pro {
  flex: 0 0 72%;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #eceae4;
  overflow: hidden;
}

.m-yx-pro img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #faf9f6;
  padding: 16px;
  box-sizing: border-box;
}

.m-yx-pro p {
  margin: 0;
  padding: 12px 14px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #1a1a1a;
}
