body {
  margin: 0;
  background: #f7f7f7;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #333;
  overflow-x: hidden; /* 禁止横向滚动 */
  width: 100%;
  height: 100%;
  -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
}
.container {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  box-shadow: 0 0 8px rgba(0,0,0,0.04);
}
.product-header {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}
.product-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
  margin-right: 10px;
  background: #f5f5f5;
}
.product-info {
width: 100%;
box-sizing: border-box;
/* 不要加flex相关属性 */
}
.product-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 4px;
}
.product-tags {
  font-size: 12px;
  color: #fff;
  margin-bottom: 4px;
}
.tag {
  display: inline-block;
  background: #ff5000;
  border-radius: 3px;
  padding: 1px 4px;
  margin-right: 2px;
  font-size: 11px;
}
.product-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 4px;
width: 100%;
}
.product-price {
color: #e4393c;
font-size: 20px;
font-weight: bold;
}

.product-qty {
display: flex;
align-items: center;
font-size: 14px;
}
.qty-btn {
  width: 22px;
  height: 22px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  border-radius: 3px;
  text-align: center;
  line-height: 20px;
  cursor: pointer;
  margin: 0 4px;
  font-size: 16px;
}
.sku {
  margin: 8px 0 0 0;
  font-size: 15px;
  font-weight: bold;
  color: #ff5000;
}
.sku-tag {
  display: inline-block;
  border: 1px solid #ff5000;
  color: #ff5000;
  border-radius: 4px;
  padding: 2px 8px;
  margin-right: 8px;
  font-size: 13px;
  background: #fff;
}
.gap {
  width: 100%;
height: 16px;           /* 分隔块高度，可根据实际调整 */
background: #f5f5f5;    /* 浅灰色 */
margin: 16px 0 0 0;     /* 上间距可根据实际调整 */
border: none;
padding: 0;
}
.section {
  padding: 0 16px;
  margin-top: 0;
}
.form-group {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.form-label {
  width: 80px;
  color: #666;
  font-size: 15px;
  flex-shrink: 0;
}
.form-input, .form-select {
  flex: 1;
  border: none;
  border-bottom: 1px solid #eee;
  background: transparent;
  font-size: 18px;
  padding: 8px 0;
  outline: none;
  color: #333;
}
.form-input::placeholder {
  color: #ccc;
}
.form-select {
  background: #fff;
  color: #333;
  /* margin-right: 6px; */
  max-width: 100%;
  min-width: 0;
  flex: 1 1 0;
  font-size: 15px;
  padding: 6px 8px;
  margin-right: 8px;
  box-sizing: border-box;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
@media (max-width: 600px) {
  .form-select {
    font-size: 18px;
    padding: 5px 6px;
    margin-right: 6px;
  }
  .form-group {
    flex-direction: row;
  }
}
.pay-methods {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.pay-btn {
  flex: 1;
  background: #ff5000;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 0;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.pay-btn.secondary {
  background: #f7b500;
  color: #fff;
}
.submit-btn {
  width: 100%;
  background: #ff5000;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 18px;
  padding: 12px 0;
  margin: 18px 0 10px 0;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 2px;
  transition: background 0.2s;
}
.submit-btn:active {
  background: #e4393c;
}
.order-list-wrap {
background: #f7f7f7;
padding: 0 16px;
font-size: 13px;
color: #666;
border-top: 1px solid #eee;
height: 110px; /* 5条数据高度 */
overflow: hidden;
margin-top: 10px;
position: relative;
}
.order-list {
  width: 100%;
  animation: scrollOrder 10s linear infinite;
}
@keyframes scrollOrder {
  0% { top: 0; }
  100% { top: -100%; }
}
.order-item {
  margin-bottom: 4px;
  white-space: nowrap;
  height: 20px;
  line-height: 20px;
}
.order-item .ok {
  color: #00b800;
  margin-left: 4px;
}
.order-item .user {
  color: #00b800;
  font-weight: bold;
}
@media (max-width: 500px) {
  .container {
    max-width: 100vw;
    border-radius: 0;
  }
  .product-header, .section, .order-list-wrap {
    padding-left: 8px;
    padding-right: 8px;
  }
}
.sku, .taocan-title {
text-align: left;
display: block;
margin-left: 4px;
padding-left: 0;
box-sizing: border-box;
font-weight: bold;
}
.sku {
margin: 8px 0 0 0;
font-size: 15px;
font-weight: bold;
color: #ff5000;
border: 1.5px solid #ffb3b3;
border-radius: 6px;
padding: 6px 12px;
background: #fff;
display: inline-block;
box-sizing: border-box;
}
.top-swiper {
width: 100vw;
height: 100vw;
max-width: 480px;
margin: 0 auto;
background: #000;
}
.swiper, .swiper-wrapper, .swiper-slide {
width: 100%;
height: 100%;
}
.swiper-slide img {
width: 100%;
height: 100%;
object-fit: cover;
}
.product-info-block {
background: #fff;
max-width: 480px;
margin: 0 auto;
/* padding: 16px 12px 8px 12px; */
box-sizing: border-box;
}
.price-row {
display: flex;
align-items: center;
gap: 12px;
font-size: 18px;
margin-bottom: 8px;
flex-wrap: wrap;
}
.price {
color: #ff5000;
font-size: 28px;
font-weight: bold;
}
.sold {
color: #888;
font-size: 14px;
}
.countdown-label {
color: #e4393c;
font-size: 14px;
}
.countdown {
color: #fff;
background: #ffe100;
border-radius: 4px;
padding: 2px 8px;
font-size: 16px;
margin-left: 6px;
font-weight: bold;
}
.product-title {
font-size: 20px;
font-weight: bold;
margin-bottom: 6px;
}
.tag {
display: inline-block;
font-size: 12px;
border-radius: 3px;
padding: 1px 6px;
margin-right: 4px;
color: #fff;
}
.tag-gold { background: #bfa14a; }
.tag-hot { background: #ff5000; }
.product-desc {
font-size: 16px;
color: #333;
margin-bottom: 6px;
}
.product-desc .phone {
color: #e4393c;
font-weight: bold;
text-decoration: none;
}
.product-guarantee {
font-size: 13px;
color: #888;
margin-bottom: 10px;
}
@media (max-width: 500px) {
.top-swiper, .product-info-block { max-width: 100vw; }
}
.price-countdown-bar {
display: flex;
width: 100%;
height: 54px;
font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.price-left {
background: #ff5000;
color: #fff;
display: flex;
align-items: center;
padding: 0 22px 0 18px;
font-size: 24px;
font-weight: bold;
height: 100%;
flex: 1 1 0;
min-width: 0;
border-top-left-radius: 4px;
}

.price-left .price {
font-size: 28px;
font-weight: bold;
margin-right: 12px;
color: #fff;
}

.price-left .sold {
font-size: 16px;
font-weight: normal;
color: #fff;
opacity: 0.85;
}

.countdown-right {
background: #ffe100;
color: #e4393c;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 160px;
height: 100%;
border-top-right-radius: 4px;
text-align: center;
flex-shrink: 0;
}

.countdown-label {
font-size: 16px;
font-weight: bold;
color: #e4393c;
margin-bottom: 2px;
letter-spacing: 1px;
}

.countdown-num {
font-size: 24px;
font-weight: bold;
color: #e4393c;
letter-spacing: 2px;
background: transparent;
}
.order-btn-bar {
padding: 8px 0px;
width: 100%;
background: #cccccc6e;
display: flex;
justify-content: center;
position: relative;
z-index: 10;
/*margin-left: -7px;*/
}

.order-btn {
width: 90vw;
max-width: 480px;
background: #ff5000;
color: #fff;
border: none;
border-radius: 24px;
font-size: 20px;
padding: 16px 0;
cursor: pointer;
font-weight: bold;
letter-spacing: 2px;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
display: block;
transition: background 0.2s;
}

.order-btn:active {
background: #e4393c;
}
.xiangqingtu img{
width: 100%;
}

.rush-info-bar {
text-align: left;
font-size: 16px;
/* color: #ff5000; */
margin: 10px 0 5px 0;
font-weight: bold;
}
.rush-info-bar .num {
font-size: 13px;
color: #888;
}
.rush-list-wrap {
height: 128px;
overflow: hidden;
position: relative;
margin-bottom: 10px;
background: #fff;
border-radius: 6px;
border: 1px solid #f5f5f5;
}
.rush-list {
width: 100%;
}
.rush-item {
display: flex;
align-items: center;
/* padding: 12px 8px; */
background: #fff;
border-radius: 6px;
margin-bottom: 16px;
box-shadow: 0 1px 2px #f5f5f5;
min-height: 56px;
}
.rush-avatar {
width: 48px;
height: 48px;
border-radius: 50%;
margin-right: 12px;
flex-shrink: 0;
}
.rush-info {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
min-width: 0;
}
.rush-name {
font-weight: bold;
color: #222;
font-size: 16px;
line-height: 1.2;
margin-bottom: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.rush-desc {
color: #666;
font-size: 14px;
line-height: 1.2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.rush-btn {
background: #ff5000;
color: #fff;
border: none;
border-radius: 24px;
padding: 0 24px;
height: 40px;
font-size: 16px;
margin-left: 16px;
cursor: pointer;
font-weight: bold;
box-shadow: 0 2px 8px rgba(255,80,0,0.08);
transition: background 0.2s;
}
.rush-btn:hover {
background: #e64500;
}
.sku-cards {
display: flex;
gap: 18px;
margin: 18px 0 8px 0;
justify-content: flex-start;
background: none;
border: none;
padding: 0;
}

.sku-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 2px solid #eee;
border-radius: 16px;
background: #fff;
padding: 9px;
font-size: 18px;
cursor: pointer;
transition: border 0.2s, box-shadow 0.2s, background 0.2s;
min-width: 110px;
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
position: relative;
margin: 0;
}

.sku-card input[type="radio"] {
position: absolute;
opacity: 0;
pointer-events: none;
}

.sku-card .sku-main {
font-weight: bold;
font-size: 22px;
color: #222;
margin-bottom: 4px;
letter-spacing: 1px;
}

.sku-card .sku-price {
color: #ff5000;
font-size: 17px;
font-weight: bold;
}

.sku-card:hover {
box-shadow: 0 4px 16px rgba(255,80,0,0.10);
border-color: #ffb184;
}

.sku-card.selected,
.sku-card input[type="radio"]:checked ~ .sku-main,
.sku-card input[type="radio"]:checked ~ .sku-price {
border-color: #ff5000 !important;
background: #fff7f0;
}

.sku-card input[type="radio"]:checked ~ .sku-main {
color: #ff5000;
}

.sku-card input[type="radio"]:checked ~ .sku-price {
color: #ff5000;
}