/* 商品双列展示：不依赖外部图片，后续可把 .service-visual 替换成真实商品封面。 */
.service-list{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 11px;
  align-items:stretch;
}

/* 分类标签仍可手指横滑，但不显示浏览器自身的滚动条和箭头。 */
.chips{
  -ms-overflow-style:none;
  scrollbar-width:none;
}

.chips::-webkit-scrollbar{
  display:none;
  width:0;
  height:0;
}

.service-paper{
  display:block;
  min-width:0;
  overflow:hidden;
  padding:0 0 12px;
  border-radius:17px;
  box-shadow:4px 5px 0 #e9eff7;
}

.service-paper:nth-child(even){box-shadow:-4px 5px 0 #edf1f7}

.service-visual{
  position:relative;
  display:grid;
  place-items:center;
  height:104px;
  overflow:hidden;
  background:linear-gradient(145deg,#dce8f6,#b9d0eb);
}

.service-visual::before{
  content:"";
  position:absolute;
  width:112px;
  height:112px;
  right:-34px;
  bottom:-50px;
  border:16px solid #ffffff72;
  border-radius:50%;
}

.service-visual::after{
  content:"";
  position:absolute;
  width:54px;
  height:54px;
  left:-22px;
  top:-20px;
  border:12px solid #ffffff5c;
  border-radius:15px;
  transform:rotate(24deg);
}

.service-paper:nth-child(2n) .service-visual{background:linear-gradient(145deg,#e8e3f5,#c8b9df)}
.service-paper:nth-child(3n) .service-visual{background:linear-gradient(145deg,#dceee8,#b5d6c6)}
.service-paper:nth-child(4n) .service-visual{background:linear-gradient(145deg,#f6e8d9,#e7c49a)}

.visual-mark{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  border:1px solid #ffffffbc;
  border-radius:19px;
  background:#ffffff78;
  box-shadow:0 8px 18px #55708a24;
  font-size:29px;
}

.service-visual>em{
  position:absolute;
  z-index:1;
  top:8px;
  left:8px;
  max-width:calc(100% - 16px);
  overflow:hidden;
  padding:3px 7px;
  border-radius:99px;
  background:#ffffffbf;
  color:#496e99;
  font-size:9px;
  font-style:normal;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.service-content{padding:11px 11px 0;text-align:left}
.service-paper h3{min-height:36px;margin:0 0 6px;font-size:14px;line-height:1.35}
.service-paper p{display:-webkit-box;min-height:34px;margin:0 0 8px;overflow:hidden;color:var(--muted);font-size:10px;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.service-paper strong{display:block;margin-bottom:9px;color:var(--blue);font-size:16px;line-height:1.1}
.service-paper footer{gap:5px;align-items:center;font-size:9px}
.service-paper footer em{min-width:0;overflow:hidden;padding:3px 6px;text-overflow:ellipsis;white-space:nowrap}
.service-paper footer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media(max-width:350px){
  .page{padding-left:14px;padding-right:14px}
  .service-list{gap:10px 8px}
  .service-visual{height:92px}
  .service-content{padding:9px 9px 0}
  .service-paper h3{font-size:13px}
  .service-paper footer span{display:none}
}
