body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #fff;
  color: #222;
}


/* 让页面内容不被遮挡 */
@media (max-width: 600px) {
  body {
    padding-top: 56px;
  }
}

.section {
  margin: 0 0 24px 0;
  padding: 0 0 12px 0;
}

.section-title {
  text-align: center;
  font-size: 24px;
  margin: 0 0 12px 0;
  position: relative;
  font-weight: normal;
}
.section-title::before,
.section-title::after {
  content: "";
  display: inline-block;
  width: 20%;      /* 原来可能是35%，改小就变短 */
  height: 1px;
  background: #222;
  vertical-align: middle;
  margin: 0 10px;
}
.section-title::before {
  margin-left: 0;
}
.section-title::after {
  margin-right: 0;
}

.commodity-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 12px 0;
}
.commodity-list img {
  width: 30vw;
  max-width: 110px;
  border-radius: 8px;
  background: #f5f5f5;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 12px;
  gap: 10px;
}
.about-content > div:first-child {
  flex: 1.2;
}
.about-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 4px;
}
.about-sub {
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
}
.about-brand {
  font-size: 22px;
  font-weight: bold;
  margin-top: 12px;
  letter-spacing: 2px;
}
.about-img {
  width: 1000px;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
}
.about-content > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.commission-list {
  padding: 24px 12px 12px 12px;
  border-radius: 12px;
  margin: 0 8px;
}
.commission-bg {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 220px;
  margin: 0 auto;
  background: url('images/commission-bg.jpg') center/cover no-repeat;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

.commission-scroll {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  /* 动画时长可根据内容多少调整 */
  animation: scroll-up 50s linear infinite;
}

@keyframes scroll-up {
  0% { top: 0; }
  100% { top: -50%; }
}

.commission-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
  padding: 10px 18px;
  margin: 12px 18px;
  font-size: 17px;
  font-weight: 500;
}

.tab-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 54px;
  background: #000;         /* 黑色背景 */
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
}
.tab-item {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: #fff;              /* 白色文字 */
  padding: 6px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tab-item:before {
  content: '';
  display: block;
  width: 32px;      /* 放大图标宽度 */
  height: 32px;     /* 放大图标高度 */
  margin: 0 auto 2px auto;
  background-size: contain;
  background-repeat: no-repeat;
}
.tab-item:nth-child(1):before { background-image: url('images/home.jpg'); }
.tab-item:nth-child(2):before { background-image: url('images/records.jpg'); }
.tab-item:nth-child(3):before { background-image: url('images/start.jpg'); }
.tab-item:nth-child(4):before { background-image: url('images/account.jpg'); }
.tab-bar .tab-item.active {
  color: #2176d2 !important;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-track {
  width: 100%;
  overflow: hidden;
  display: block;
}
.carousel-img {
  display: none;
  width: 100%;
  height: 200px;
  object-fit: contain;      /* 显示完整图片 */
  background: #fff;         /* 空白区域填充为白色 */
  border-radius: 8px;
  transition: opacity 0.3s;
  margin: 0;
}
.carousel-img.active {
  display: block;
}
.carousel-btn {
  background: rgba(0,0,0,0.1);
  border: none;
  font-size: 28px;
  color: #333;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.carousel-btn:active {
  background: rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
  .commodity-list img { width: 28vw; }
  .about-img {
    width: 80vw;
    height: auto;
  }
  .commission-list { padding: 16px 4px 8px 4px; }
  .carousel, .commission-bg {
    max-width: 100%;
  }
}
