/* 页头 */
.banner .swiper .swiper-wrapper {
  height: auto;
}
.banner .swiper .swiper-wrapper:not(:has(.swiper-slide)) {
  height: 7.5rem;
}
.banner .swiper .swiper-wrapper .swiper-slide {
  width: 100% !important;
  height: auto;
}
/* 价格 */
.header-price {
  background: linear-gradient(to right, #eb091d, #e88a7a);
  display: flex;
  justify-content: space-between;
  padding: 0.18rem;
}
.header-price .left {
  display: flex;
  flex-direction: column;
}
.header-price .left .num {
  font-size: 0.36rem;
  font-weight: bold;
  color: #ffffff;
}
.header-price .left .exchange {
  color: #ffffff;
  font-weight: 100;
  font-size: 0.236rem;
}
.header-price .right {
  color: #ffffff;
  font-size: 0.3rem;
  text-decoration: line-through;
  padding-top: 0.12rem;
}
/* 头部内容 */
.header-main {
  padding: 0 0.18rem;
}
.header-main .title,
.header-main .activity,
.header-main .enough,
.header-main .exchange-record,
.header-main .reason,
.header-main .comment {
  margin-top: 0.2rem;
  border-radius: 0.14rem;
  background-color: #ffffff;
}
.header-main .title {
  padding: 0.16rem 0.2rem;
}
.header-main .title .text {
  font-weight: bold;
  font-size: 0.288rem;
}
.header-main .title .icon {
  padding-top: 0.18rem;
  padding-bottom: 0.1rem;
}
.header-main .title .icon span {
  font-size: 0.22rem;
  margin-right: 0.1rem;
  padding: 0.04rem 0.06rem;
  border-radius: 0.04rem;
}
.header-main .title .icon span:nth-child(1) {
  background-color: #000;
  color: #fcfe00;
}
.header-main .title .icon span:nth-child(2) {
  background-color: #e54635;
  color: #fff;
}
.header-main .activity {
  padding: 0.1rem 0.2rem;
  font-weight: bold;
  font-size: 0.22rem;
}
.header-main .activity span:first-child {
  color: #ff0000;
  font-size: 0.36rem;
  padding-right: 0.04rem;
}
.header-main .activity span:last-child {
  margin: 0 0.04rem;
  padding: 0.034rem 0.05rem;
  background-color: #ff0000;
  color: #ffffff;
  border-radius: 0.06rem;
  font-size: 0.28rem;
}
.header-main .enough {
  padding: 0.2rem;
  color: #ab896f;
}
.header-main .enough-title {
  font-size: 0.32rem;
  font-weight: bold;
}
.header-main .enough-icon {
  display: flex;
  justify-content: space-between;
  padding-top: 0.2rem;
}
.header-main .enough-icon .enough-item {
  display: flex;
  align-items: center;
  font-size: 0.24rem;
}
.header-main .enough-icon .enough-item .enough-item-title {
  width: 0.37rem;
  height: 0.37rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ab896f;
  border-radius: 50%;
  font-size: 0.23rem;
  margin-right: 0.06rem;
}
.header-main .exchange-record {
  padding: 0.2rem;
}
.header-main .exchange-record .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-main .exchange-record .top .left {
  font-weight: bold;
}
.header-main .exchange-record .top .right {
  font-weight: bold;
  color: #e84256;
}
.header-main .exchange-record .list {
  margin-top: 0.18rem;
  height: 2.2rem;
  overflow: hidden;
}
.header-main .exchange-record .list .label {
  transform: translateY(0rem);
  transition: 0.5s ease;
}
.header-main .exchange-record .list .label .item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 1.1rem;
}
.header-main .exchange-record .list .label .item:first-child {
  padding-top: 0;
}
.header-main .exchange-record .list .label .item img {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
}
.header-main .exchange-record .list .label .item .center {
  width: 4.2rem;
}
.header-main .exchange-record .list .label .item .center .name {
  font-size: 0.28rem;
  font-weight: bold;
}
.header-main .exchange-record .list .label .item .center .text {
  font-size: 0.24rem;
  color: #777777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-top: 0.1rem;
}
.header-main .exchange-record .list .label .item .submit {
  width: 1.4rem;
  height: 0.52rem;
  background-color: #ff4500;
  border-radius: 0.3rem;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-main .reason {
  padding: 0.2rem;
}
.header-main .reason-title {
  color: #ff0000;
  font-size: 0.28rem;
}
.header-main .reason-text {
  font-size: 0.24rem;
}
.header-main .comment {
  padding: 0.2rem;
  margin-bottom: 0.2rem;
}
.header-main .comment .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-main .comment .top .left {
  font-weight: bold;
}
.header-main .comment .top .right {
  font-weight: bold;
  color: #e84256;
}
.header-main .comment .list {
  padding-top: 0.18rem;
  overflow-x: auto;
}
.header-main .comment .list .label {
  width: max-content;
  display: flex;
  align-items: center;
}
.header-main .comment .list .label .item {
  width: 5.24rem;
  padding: 0.2rem;
  background-color: #f5f5f5;
  border-radius: 0.1rem;
  margin-left: 0.2rem;
}
.header-main .comment .list .label .item:first-child {
  margin-left: 0;
}
/* 详情 */
.detail {
  background-color: #fff;
  min-height: 60rem;
}
/* 表单 */
.form .sku {
  background-color: #ffffff;
  padding: 0.24rem 0.2rem;
}
.form .sku .title {
  font-weight: bold;
  font-size: 0.28rem;
}
.form .sku .list {
  padding-top: 0.2rem;
}
.form .sku .list .item {
  background-color: #f1f1f1;
  color: #8b8b8b;
  padding: 0.22rem;
  border-radius: 0.05rem;
  margin-top: 0.2rem;
}
.form .sku .list .item:first-child {
  margin-top: 0;
}
.form .sku .list .active {
  background-color: #cf2a4f;
  color: #fff;
}
.form .input {
  background-color: #ffffff;
  padding: 0.1rem 0.2rem;
}
.form .input .item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form .input .item input,
.form .input .item textarea {
  font-size: 0.26rem;
  width: 78%;
  padding: 0.2rem 0;
  border: initial;
}
.form .input .item input::placeholder,
.form .input .item textarea::placeholder {
  font-size: 0.26rem;
}
.form .input .item .num {
  display: flex;
  align-items: center;
  padding: 0.2rem 0;
}
.form .input .item .num .minus,
.form .input .item .num .add {
  border: 1px solid #ccc;
  width: 0.56rem;
  height: 0.56rem;
  line-height: 0.5rem;
  text-align: center;
  font-size: 0.4rem;
  background-color: #f2f3f5;
  color: #323233;
}
.form .input .item .num .minus {
  border-top-left-radius: 0.04rem;
  border-bottom-left-radius: 0.04rem;
}
.form .input .item .num .add {
  border-top-right-radius: 0.04rem;
  border-bottom-right-radius: 0.04rem;
}
.form .input .item .num #num {
  width: 0.7rem;
  height: 0.56rem;
  line-height: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.3rem;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.form .input .item .num .disabled {
  color: #c8c9cc;
  background-color: #f7f8fa;
}
.form .input .item .select {
  width: 78%;
  display: flex;
  justify-content: space-between;
  padding: 0.28rem 0;
}
.form .input .item .select select {
  font-size: 0.26rem;
  border: initial;
  width: 30%;
  background-color: initial;
  color: #3477f6;
}
.form .input .item textarea {
  height: 0.38rem;
}
.form .fill {
  background-color: #ffffff;
  padding: 0.2rem 0.2rem 0.1rem 0.2rem;
}
.form .fill .pay-select {
  padding-bottom: 0.2rem;
}
.form .fill .pay-select .title {
  font-size: 0.28rem;
}
.form .fill .pay-select .pay-select-list {
  padding-top: 0.14rem;
}
.form .fill .pay-select .pay-select-list .pay-select-list-item {
  position: relative;
  margin-top: 0.2rem;
}
.form .fill .pay-select .pay-select-list .pay-select-list-item:first-child {
  margin-top: 0;
}
.form .fill .pay-select .pay-select-list .pay-select-list-item div:nth-child(1) {
  font-size: 0.3rem;
  color: #ff0000;
  padding-bottom: 0.06rem;
}
.form .fill .pay-select .pay-select-list .pay-select-list-item div:nth-child(2) {
  font-size: 0.22rem;
  color: #808080;
}
.form .fill .pay-select .pay-select-list .pay-select-list-item img {
  position: absolute;
  top: 0;
  right: 0;
  width: 0.38rem;
  height: 0.38rem;
  display: none;
}
.form .fill .pay-select .pay-select-list .active img {
  display: block;
}
.form .fill .item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 0;
  font-size: 0.28rem;
}
.form .fill .item .red {
  color: #ff0000;
}
.form .inventory-hint {
  padding: 0.2rem;
  background-color: #fff9c1;
  color: #ff0000;
}
.form .inventory-hint::before {
  content: '*';
}
.form .submit {
  padding: 0.3rem 0.2rem 0.2rem 0.2rem;
}
.form .submit .item {
  width: 100%;
  height: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  background-color: #cf2a4f;
  border-radius: 0.05rem;
  font-size: 0.28rem;
}
.form .submit .disabled {
  position: relative;
  overflow: hidden;
}
.form .submit .disabled::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(230, 230, 230, 0.6);
}
.form .submit .privacy {
  display: flex;
  align-items: center;
  font-size: 0.22rem;
  padding-top: 0.2rem;
}
.form .submit .privacy a {
  color: #3477f6;
}
.form .submit .prompt,
.form .submit .postage {
  padding-top: 0.2rem;
}
.form .submit .prompt div:first-child,
.form .submit .postage div:first-child {
  font-size: 0.28rem;
}
.form .submit .prompt div:last-child,
.form .submit .postage div:last-child {
  color: #ff0000;
}
/* 底部导航 */
.bottomNav {
  z-index: 2;
}
.bottomNav .bottom {
  height: 1.1rem;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
}
.bottomNav .bottom .left {
  width: 30%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.bottomNav .bottom .left a {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bottomNav .bottom .left a img {
  width: 0.4rem;
  height: 0.4rem;
  margin-bottom: 0.08rem;
}
.bottomNav .bottom .right {
  width: 70%;
  display: flex;
  justify-content: space-between;
}
.bottomNav .bottom .right .price,
.bottomNav .bottom .right .submit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bottomNav .bottom .right .price {
  width: 35%;
}
.bottomNav .bottom .right .submit {
  width: 65%;
  background-color: #f12817;
  color: #ffffff;
  font-size: 0.28rem;
}
.bottomNav-height {
  height: 1.1rem;
}
