* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Microsoft YaHei", sans-serif;
  box-sizing: border-box;
}

img {
  display: block;
  width: 100%;
  margin: 0px;
  padding: 0px;
}

img[src=""],
img:not([src]) {
  opacity: 0;
}

ul > li {
  list-style: none;
}

body.no-scroll {
  position: fixed;
  left: 0;
  right: 0;
}

.blueimp-gallery > .description {
  position: absolute;
  top: 30px;
  left: 15px;
  color: #fff;
  display: none;
}

.blueimp-gallery > .slides > .slide img {
  object-fit: cover;
  width: 100% !important;
  height: 100% !important;
}

.blueimp-gallery1 > .slides {
  width: 100% !important;
  height: 100% !important;
}

.blueimp-gallery1 > .slides > .slide {
  object-fit: cover;
  width: 100% !important;
  height: 100% !important;
}

.blueimp-gallery1 > .slides > .slide img {
  object-fit: cover;
  width: 100% !important;
  height: 100% !important;
}

.blueimp-gallery-carousel {
  margin: 0px !important;
}

.ratio-1-1 {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 0;
  padding-bottom: 100% !important;
}

.ratio-3-2 {
  width: 100%;
  padding-bottom: 66.666667% !important;
}

.ratio-2-1 {
  width: 100%;
  padding-bottom: 50% !important;
}

.content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.content-header {
  height: 93px;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: -webkit-flex;
  justify-content: center;
  align-items: center;
}

.header-img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: revert;
}

.header-content {
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  align-items: center;
  left: 20px;
  height: 50px;
  position: absolute;
  top: 50%;
  margin-top: -25px;
  right: 60px;
  color: #bf9164;
}

.header-content-body {
  flex: 1;
}

.header-content-icon {
  width: 65px;
  height: 65px;
  margin-right: 10px;
}

.header-content-phone {
  width: 40px;
  height: 40px;
}

.content-body {
  flex: 1;
  flex-shrink: 0;
  flex-grow: 2;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  display: flex;
}

.content-left {
  width: 100px;
  flex: 0 0 100px;
  background-color: white;
  text-align: center;
  height: 100%;
  background-color: #f7f7f7;
  overflow: scroll;
}

.left-menu {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.left-menu-item {
  height: 50px;
  border: 1px solid #ebebeb;
  border-top: none;
  border-left: none;
  border-right: none;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.left-menu-item span {
  width: 80%;
}

.menu-select {
  color: #cc0000;
  background-color: white;
  border: 1px solid white;
}

.content-right {
  padding: 10px;
  text-align: center;
  height: 100%;
  background-color: white;
  overflow: scroll;
  flex: 1;
}

.gallery-container {
  margin-bottom: 15px;
}

.gallery-container img {
  display: block;
  width: 100%;
  max-height: 150px;
  object-fit: cover;
}

.goods {
  display: grid;
  grid-template-columns: 50% 50%;
  margin: 0pt 0pt 0pt 0pt;
  text-align: center;
}

.goods li {
  justify-content: center;
}

.goods li p {
  margin-top: 10px;
  color: #4b2c0d;
  font-size: 14px;
}

.goods li .item {
  display: flex;
  margin: 10px 5px;
  min-width: 100px;
  flex-direction: column;
}

.goods li .item .image {
  width: 100%;
  position: relative;
}

.goods li .image img {
  object-fit: cover;
  border-radius: 5pt;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card {
  background-color: #fff;
  padding: 10pt 5pt;
  text-align: center;
}

.card > .title {
  font-size: 15pt;
  color: #e71f19;
  text-align: center;
  margin-bottom: 0pt;
}

.card > .tit {
  font-size: 13pt;
  color: #000000;
  text-align: left;
  margin: 15pt 11pt 0 11pt;
}

.card > .titDetailContent {
  font-size: 14px;
  color: #8b8a8c;
  text-align: left;
  white-space: pre-line;
  padding: 15px;
}

.card > .detailContent {
  margin: 15pt 12pt 0pt 12pt;
  font-size: 12pt;
  color: #8b8a8c;
  text-align: left;
  white-space: pre-line;
  line-height: 150%;
}

.card > .detailContent-last {
  margin: 15pt 12pt 15pt 12pt;
  font-size: 12pt;
  color: #8b8a8c;
  text-align: left;
  white-space: pre-line;
  line-height: 150%;
  display: flex;
  align-items: center;
}

.detailContent-last {
  display: flex;
  justify-content: space-between;
}

.detailContent-last .citem {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.detailContent-last .citem img {
  display: block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
}

.card > .content {
  font-size: 12pt;
  color: #060001;
  text-align: center;
  white-space: pre-line;
  line-height: 150%;
  margin-top: 35pt;
  margin-bottom: 35pt;
}

.space {
  height: 2px;
  background: #f6f6f8;
}

.card > .detailTitle {
  font-size: 16px;
  text-align: left;
  color: #000000;
  margin-left: 15px;
  margin-right: 15px;
  font-weight: bold;
}

.card > .detailTitleSub {
  font-size: 12pt;
  text-align: left;
  color: #000000;
  margin-top: 6pt;
  margin-left: 12pt;
  margin-right: 12pt;
  font-weight: bold;
}

.imgDetailContent {
  margin: 10pt 10pt 10pt 10pt;
  font-size: 13pt;
  color: #808083;
  text-align: left;
}

.card > .aboutContent {
  font-size: 12pt;
  text-align: left;
  white-space: pre-line;
  line-height: 150%;
  margin: 20pt 25pt 35pt 25pt;
}

#picText {
  margin-top: 10px;
  margin-bottom: 20px;
}

#picText img {
  width: 100%;
  border-radius: 0pt;
  display: block;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mySwiper .next,
.mySwiper .prev {
  width: 30px;
  height: 30px;
  background: #000;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.mySwiper .swiper-button-next, .mySwiper .swiper-button-prev{
  background: rgba(0, 0, 0, 0.5);
  width: 36px;
  height: 36px;
  border-radius: 36px;
  color: #fff;
}

.mySwiper .swiper-button-next:after, .mySwiper .swiper-button-prev:after{
  font-size: 18px;
}

.mySwiper .next {
  right: 0;
}

.mySwiper .prev {
  left: 0;
}

/* 导航栏 */
.nav-header {
  background: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}

.back-btn:active {
  background: #333;
  color: #fff;
}

.nav-title {
  font-size: 18px;
  font-weight: 600;
}

/* 内容区域 */
.container {
  max-width: 100%;
  padding: 20px;
  margin: 0 auto;
}

.notification {
  /* background: white; */
  border-radius: 16px;
  padding: 35px 25px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); */
  margin-bottom: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(0.95);
  text-align: center;
}

.icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
}

.success .icon {
  background: linear-gradient(135deg, #34c759, #2ca44d);
  box-shadow: 0 6px 20px rgba(52, 199, 89, 0.3);
}

.error .icon {
  background: linear-gradient(135deg, #ff3b30, #d70015);
  box-shadow: 0 6px 20px rgba(255, 59, 48, 0.3);
}

.notification h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
  font-weight: 700;
}

.notification p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 16px 35px;
  background-color: #007aff;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  margin: 8px;
  border: none;
  cursor: pointer;
  font-size: 17px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
}

.btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.btn-secondary {
  background-color: #f8f9fa;
  color: #555;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.btn-secondary:active {
  background-color: #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-group {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}


 /* 添加抢购按钮样式 */
    .rush-buy-btn {
      display: block;
      width: 90%;
      margin: 20px auto;
      padding: 16px 0;
      background: linear-gradient(135deg, #ff4e50, #f9d423);
      color: white;
      text-align: center;
      font-size: 18px;
      font-weight: bold;
      border-radius: 30px;
      box-shadow: 0 4px 15px rgba(255, 105, 100, 0.4);
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .rush-buy-btn:active {
      transform: scale(0.98);
      box-shadow: 0 2px 8px rgba(255, 105, 100, 0.5);
    }
    
    .rush-buy-btn i {
      margin-right: 8px;
    }
    
    /* 价格信息样式 */
    .price-info {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 15px 20px 5px;
    }
    
    .current-price {
      font-size: 24px;
      font-weight: bold;
      color: #ff4e50;
    }
    
    .original-price {
      font-size: 16px;
      color: #999;
      text-decoration: line-through;
    }
    
    .discount {
      background: #ff4e50;
      color: white;
      padding: 3px 8px;
      border-radius: 4px;
      font-size: 14px;
    }

    /* 右下角悬浮返回按钮 */
    .floating-back-btn {
      position: fixed;
      right: 20px;
      bottom: 30px;
      width: 60px;
      height: 60px;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      cursor: pointer;
      z-index: 999;
      transition: all 0.3s ease;
      animation: float 3s ease-in-out infinite;
    }
    
    .floating-back-btn:active {
      transform: scale(0.95);
      background: rgba(0, 0, 0, 0.9);
    }
    
    @keyframes float {
      0% {
        transform: translateY(0px);
      }
      50% {
        transform: translateY(-10px);
      }
      100% {
        transform: translateY(0px);
      }
    }