/* ===== 收货地址标题 ===== */
.z_address {
  width: calc(100% - 8.533vw);
  height: 10.667vw;
  background: #F6F2FF;
  border-radius: 33.867vw;
  border: 0.267vw solid #9775FA;
  box-sizing: border-box;
  margin: 4vw 4.267vw 2.933vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.533vw;
  color: #9775FA;
}
.z_address img {
  margin-right: 1.333vw;
  width: 4.133vw;
  height: 4.133vw;
}

/* ===== 表单 ===== */
.content {
  overflow: hidden;
  position: relative;
  padding: 0 3.2vw;
}
.content > div {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 5.333vw;
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 0.133vw solid #E8E8E8;
}
.content > div > div {
  font-size: 4.267vw;
  line-height: 16.533vw;
}
.content .left {
  width: 18.667vw;
  flex-shrink: 0;
}
.content .right {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 3.2vw;
  min-width: 0;
}
.content .right img {
  width: 3.733vw;
  height: 4.533vw;
  flex-shrink: 0;
}
.content .right .input-class {
  color: #aaa;
}
.content .right > span {
  width: 100%;
  height: 16.533vw;
  line-height: 16.533vw;
  font-size: 4vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  flex: 1;
}
.content .right input {
  font-size: 4vw;
  line-height: 16.533vw;
  height: 16.533vw;
  width: 100%;
  text-align: right;
  border: none;
  outline: none;
  background: transparent;
}
.content .right input::placeholder {
  color: #aaa;
}

/* ===== 自动识别 ===== */
.z_con {
  width: 100%;
  padding: 2.133vw 6.4vw;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  flex-direction: column;
}
.z_con input {
  width: 100%;
  height: 14.4vw;
  background: #F5F6FA;
  border-radius: 2.667vw;
  box-sizing: border-box;
  padding: 0 4vw;
  font-size: 4vw;
  color: #b2b2b2;
  margin-bottom: 2.133vw;
  border: none;
  outline: none;
}
.z_con .anniu {
  width: 23.467vw;
  height: 7.733vw;
  border: 0.267vw solid #9775FA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2vw;
  color: #9775FA;
  border-radius: 162.933vw;
  cursor: pointer;
}

/* ===== 标题 ===== */
.z_title {
  width: 100%;
  box-sizing: border-box;
  padding: 4.267vw 5.333vw 3.2vw;
  font-size: 4.267vw;
  color: #333333;
}

/* ===== 兑换商品 ===== */
.z_pp {
  width: 100%;
  box-sizing: border-box;
  padding: 0 5.333vw;
  padding-bottom: 3.2vw;
  display: flex;
}
.z_pp img {
  width: 21.333vw;
  height: 21.333vw;
  border-radius: 1.067vw;
  object-fit: cover;
  flex-shrink: 0;
}
.z_pp .desc {
  flex: 1;
  min-width: 0;
  margin-left: 2.133vw;
  margin-top: 2.4vw;
  display: flex;
  flex-direction: column;
}
.z_pp .desc .tit {
  font-size: 3.733vw;
  color: #333333;
  margin-bottom: 2.133vw;
}
.z_pp .desc .txt {
  font-size: 3.733vw;
  color: #B6B6B9;
}

/* ===== 备注 ===== */
.z_textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0 5.333vw;
  padding-bottom: 4.267vw;
}
.z_textarea textarea {
  width: 100%;
  height: 22.4vw;
  background: #F5F6FA;
  border-radius: 2.667vw;
  box-sizing: border-box;
  padding: 3.2vw 4vw;
  font-size: 3.733vw;
  color: #b2b2b2;
  border: none;
  outline: none;
  resize: none;
  font-family: inherit;
}
.z_textarea textarea::placeholder {
  color: #b2b2b2;
}

/* ===== 卡密 ===== */
.z_kami {
  width: 100%;
  box-sizing: border-box;
  padding: 0 6.4vw;
  padding-bottom: 3.467vw;
  display: flex;
  flex-direction: column;
}
.z_kami .anniu {
  width: 23.467vw;
  height: 7.733vw;
  border: 0.267vw solid #9775FA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2vw;
  color: #9775FA;
  border-radius: 162.933vw;
  margin-left: 2.667vw;
  cursor: pointer;
  flex-shrink: 0;
}
.z_kami input {
  width: 100%;
  height: 8vw;
  background: #F5F6FA;
  border-radius: 2.667vw;
  box-sizing: border-box;
  padding: 0 4vw;
  font-size: 3.733vw;
  color: #b2b2b2;
  margin-bottom: 0.8vw;
  border: none;
  outline: none;
}
.z_kami .desc {
  display: flex;
  align-items: center;
  font-size: 2.667vw;
  color: #FB553C;
}
.z_kami .desc img {
  width: 4.267vw;
  height: 4.267vw;
  margin-right: 1.333vw;
}

/* ===== 确认按钮 ===== */
.z_anniu {
  font-size: 4.533vw;
  color: #FFFFFF;
  width: 80vw;
  height: 13.333vw;
  background: #9775FA;
  box-shadow: 0 2.667vw 5.333vw rgba(229, 229, 229, 0.5);
  border-radius: 26.667vw;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  cursor: pointer;
}

/* ===== 弹窗通用 ===== */
.z_tanchuang {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
}
.z_tanchuang .max {
  position: relative;
  width: 85.333vw;
  background: #FFFFFF;
  border-radius: 4.267vw;
  box-sizing: border-box;
  padding: 4.8vw 2.667vw 5.067vw;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.z_tanchuang .max .close {
  position: absolute;
  width: 6.4vw;
  height: 6.4vw;
  right: 4.267vw;
  top: 4.267vw;
  cursor: pointer;
}
.z_tanchuang .max .img {
  width: 33.333vw;
  height: 23.467vw;
  margin-bottom: 0.8vw;
}
.z_tanchuang .max .tit {
  font-size: 5.333vw;
  color: #9775FA;
  line-height: 10.667vw;
  margin-bottom: 5.867vw;
}
.z_tanchuang .max .button {
  width: 100%;
  height: 13.333vw;
  background: #9775FA;
  box-shadow: 0px 2.667vw 5.333vw rgba(229, 229, 229, 0.5);
  border-radius: 26.667vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.533vw;
  color: #FFFFFF;
  cursor: pointer;
}

/* ===== 地址识别弹窗 ===== */
.z_tc {
  position: fixed;
  z-index: 99;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.z_tc .dt {
  width: 73.733vw;
  position: relative;
  border-radius: 1.333vw;
  overflow: hidden;
  background: #fff;
  padding-bottom: 4.533vw;
}
.z_tc .dt > img {
  position: absolute;
  width: 73.733vw;
  height: 75.867vw;
  left: 0;
  top: 0;
  z-index: 1;
}
.z_tc .dt .h3 {
  position: relative;
  width: 100%;
  float: left;
  margin-top: 29.333vw;
  font-size: 4vw;
  color: #333;
  text-align: center;
  margin-bottom: 6vw;
  z-index: 2;
}
.z_tc .dt .ul {
  position: relative;
  width: 100%;
  float: left;
  box-sizing: border-box;
  padding-left: 8vw;
  margin-bottom: 6vw;
  z-index: 2;
}
.z_tc .dt .ul .li {
  position: relative;
  width: 100%;
  float: left;
  margin-bottom: 1.333vw;
  font-size: 3.733vw;
  color: #999;
  display: flex;
  align-items: center;
}
.z_tc .dt .ul .li .span {
  color: #333;
  margin-left: 2vw;
  margin-right: 4vw;
}
.z_tc .dt .a {
  position: relative;
  width: 100%;
  float: left;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.z_tc .dt .a div {
  font-size: 3.733vw;
  color: #f39c2b;
  border: 0.133vw solid #f39c2b;
  margin: 0 1vw;
  border-radius: 5.333vw;
  width: 32vw;
  height: 10vw;
  line-height: 10vw;
  text-align: center;
  cursor: pointer;
}
.z_tc .dt .a div.a2 {
  background: #f39c2b;
  color: #fff;
}

/* ===== 遮罩 ===== */
.address-mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

/* ===== 弹窗 ===== */
.address-popup {
  position: fixed;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 60vh;
  z-index: 1000;
  transition: bottom 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.address-popup.active {
  bottom: 0;
}

.address-popup-content {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 5.333vw 5.333vw 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ===== 头部 ===== */
.address-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 13.333vw;
  padding: 0 5.333vw;
  border-bottom: 0.267vw solid #f0f0f0;
  flex-shrink: 0;
  background: #fff;
}
.address-header .address-cancel {
  font-size: 4vw;
  color: #999;
  cursor: pointer;
  padding: 1.333vw 2.667vw;
}
.address-header .address-title {
  font-size: 4.533vw;
  color: #333;
  font-weight: 600;
}
.address-header .address-confirm {
  font-size: 4vw;
  color: #9775FA;
  cursor: pointer;
  padding: 1.333vw 2.667vw;
  font-weight: 500;
}

/* ===== 选项卡 ===== */
.address-tabs {
  display: flex;
  align-items: center;
  height: 11.2vw;
  background: #fff;
  border-bottom: 0.267vw solid #f5f5f5;
  flex-shrink: 0;
  padding: 0 3.2vw;
}
.address-tabs .tab-item {
  font-size: 3.733vw;
  color: #999;
  padding: 0 2.667vw;
  line-height: 11.2vw;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.address-tabs .tab-item.active {
  color: #333;
  font-weight: 500;
}
.address-tabs .tab-item.active::after {
  content: '';
  position: absolute;
  left: 2.667vw;
  right: 2.667vw;
  bottom: 0;
  height: 0.533vw;
  background: #9775FA;
  border-radius: 0.267vw;
}

/* ===== 列表 ===== */
.address-list {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  padding: 0 3.2vw;
}
.address-list .address-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 12.8vw;
  border-bottom: 0.133vw solid #f5f5f5;
  cursor: pointer;
  padding: 0 2.667vw;
}
.address-list .address-item:active {
  background: #f8f8f8;
}
.address-list .address-item .name {
  font-size: 4vw;
  color: #333;
}
.address-list .address-item .name.active {
  color: #9775FA;
  font-weight: 500;
}
.address-list .address-item .check {
  width: 4.8vw;
  height: 4.8vw;
  display: none;
}
.address-list .address-item .check.show {
  display: block;
}
.address-list .address-item .check svg {
  width: 100%;
  height: 100%;
  fill: #9775FA;
}

/* ===== 空状态 ===== */
.address-list .empty {
  text-align: center;
  padding: 13.333vw 0;
  font-size: 4vw;
  color: #ccc;
}

/* ===== 滚动条隐藏 ===== */
.address-list::-webkit-scrollbar {
  width: 0;
  background: transparent;
}