body {
  width: 100vw;
  height: 100vh;
  background: #F1F4F6;
  display: flex;
  flex-direction: column;
}

/* 当前选项卡按钮动效 */
.photo[data-index="3"] .btn {
  animation: btnPulse 2s ease-in-out infinite;
  position: relative;
}

/* 按钮放大缩小动画 */
@keyframes btnPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 138, 101, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 138, 101, 0.6);
  }
}

/* 箭头提示动画 - 更宽大 */
.photo[data-index="3"] .btn::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 24px solid #f35a0e;
  animation: arrowBounce 1s ease-in-out infinite;
  filter: drop-shadow(0 3px 6px rgba(255, 138, 101, 0.5));
}

@keyframes arrowBounce {
  0%, 100% {
    top: -60px;
    opacity: 1;
  }
  50% {
    top: -22px;
    opacity: 0.8;
  }
}

/* 按钮内箭头图标也加动画 */
.photo[data-index="3"] .btn img {
  animation: arrowShake 1.5s ease-in-out infinite;
}

@keyframes arrowShake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(3px);
  }
  75% {
    transform: translateX(-2px);
  }
}

/* 光晕效果 */
.photo[data-index="3"] .btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}


/* 非当前选项卡的按钮不显示动画 */
.photo:not([data-index="3"]) .btn {
  animation: none;
}

.photo:not([data-index="3"]) .btn::before,
.photo:not([data-index="3"]) .btn::after {
  display: none;
}

.box {
  width: 100%;
  flex: 1;
  padding: 0 4rem;
}
.content_container {
  max-width: 1500px;
  margin: 0 auto;
  height: 100%;
}

.home_container,
.order_container {
  height: 100%;
  width: 100%;
  display: none;
}

.show {
  display: block;
}

.order_container {
  padding: 20px 0 50px 0;
}

.table_container {
  width: 100%;
  height: calc(100vh - 226px);
}

.cost_templet {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cost_templet span {
  font-size: 14px;
}

.order_container .unpaid {
  width: fit-content;
  line-height: 2.8rem;
  background: #FFF3F3;
  border-radius: 0.2rem;
  border: 0.1rem solid #EA1D1D;
  font-family: SourceHanSansCN, SourceHanSansCN;
  font-weight: 400;
  font-size: 12px;
  color: #EA1D1D;
  cursor: pointer;
  padding: 0 1rem;
}

.order_container .status_templet {
  display: flex;
  align-items: center;
}

.order_container .status_templet div {
  width: 0.8rem;
  height: 0.8rem;
  /* background: #EA1D1D; */
  border-radius: 0.4rem;
  margin-right: 0.3rem;
}

.order_container .status_templet .circle1 {
  background: #EA1D1D;
}

.order_container .status_templet .circle2 {
  background: #298CFF;
}

.order_container .status_templet .circle3 {
  background: #7F2AE0;
}

.order_container .status_templet .circle4 {
  background: #00C500;
}

.order_container .status_templet .circle5 {
  background: orange;
}


.order_container .status_templet span {
  font-family: SourceHanSansCN, SourceHanSansCN;
  font-weight: 400;
  font-size: 13px;
  color: #666666;
}

.status_templet {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.status_templet_item {
  display: flex;
  align-items: center;
}

/* .circle {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 0.4rem;
  margin-right: 0.5rem;
} */

.cor1 {
  background-color: #7F2AE0;
}
.cor2 {
  background-color: #EA1D1D;
}
.cor3 {
  background-color: #00C500;
}
.cor4 {
  background-color: #298CFF;
}

.order_container .btns {
  display: flex;
  align-items: center;
}

.order_container .btns .btn {
  /* width: 9.8rem; */
  height: 3.8rem;
  background: #FFFFFF;
  border-radius: 0.2rem;
  border: 0.1rem solid #BEBEBE;
  font-family: SourceHanSansCN, SourceHanSansCN;
  font-weight: 400;
  font-size: 13px;
  color: #5A6771;
  text-align: center;
  line-height: 3.8rem;
  padding: 0 1rem;
  margin: 0 1rem;
  cursor: pointer;
}

.order_container .btns .unfold_btn {
  width: 3.8rem;
  height: 3.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.2rem;
  border: 0.1rem solid #BEBEBE;
  cursor: pointer;
}

.order_container .btns .unfold_btn img {
  width: 1rem;
  height: 1rem;
}

.order_container .btns .unfold_btn .arrow_active {
  transform: rotate(180deg);
  transition: 0.3s ease-out;
}

.order_container .btns .unfold_btn .arrow_inactive {
  transform: rotate(0deg);
  transition: 0.3s ease-out;
}

.product {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 2.5rem 0;
}

.product .product_img {
  width: 7rem;
  height: 7rem;
  margin-right: 2rem;
}

.product .product_right {
  width: calc(100% - 9rem);
  display: flex;
  flex-direction: column;
}

.product .product_right .span1 {
  width: 100%;
  font-family: SourceHanSansCN, SourceHanSansCN;
  font-weight: 400;
  font-size: 14px;
  color: #111111;
}

.product .product_right .span2 {
  width: 100%;
  font-family: SourceHanSansCN, SourceHanSansCN;
  font-weight: 400;
  font-size: 13px;
  color: #999999;
}

.price_templet {
  font-size: 14px;
}

.home_container {
  padding: 0rem 4rem 0 4rem;
  position: relative;
}

.carousel_left_arrow,
.carousel_right_arrow {
  width: 2.4rem;
  height: 9.8rem;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  cursor: pointer;
}

.carousel_left_arrow {
  left: 1rem;
}

.carousel_right_arrow {
  right: 1rem;
}

.carousel {
  width: 60rem;
  height: 90rem;
  position: relative;
  left: 50%;
  top: 49%;
  transform: translate(-50%, -50%);
}

.photo {
  position: absolute;
  width: 57.5rem;
  height: 70rem;
  transition: transform 0.2s, z-index 0.2s;
  box-shadow: 0px 4px 67px 0px rgba(0, 0, 0, 0.2);
  border-radius: 3rem;
}

.photo .img {
  width: 100%;
  height: 62rem;
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
}

.photo .content {
  width: 100%;
  height: 20rem;
  background: #fff;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.photo .content .title {
  font-family: SourceHanSansCN, SourceHanSansCN;
  font-weight: bold;
  font-size: 4.2rem;
  color: #222222;
  padding-top: 3.5rem;
}


.photo .content .price {
  font-family: "Poppins","Montserrat","Alibaba PuHuiTi","SourceHanSansCN",sans-serif;
  font-weight: 700;           /* 对价格更醒目 */
  font-size: 2.4rem;
  color: #18d4e2;
  margin-top: 1.5rem;
  letter-spacing: -0.5px;     /* 更现代 */
}

.photo .content .btn {
  width: 26rem;
  height: 6.7rem;
  background: #FFFFFF;
  border-radius: 2.2rem;
  border: 1px solid #4A4A4A;
  margin-top: 5rem;
  font-family: "Poppins","Montserrat","Alibaba PuHuiTi","SourceHanSansCN",sans-serif;
  font-weight: 600;          /* 字重提升更稳重更现代 */
  font-size: 3.4rem;         /* 现代UI更倾向略小但更精致，4rem偏满 */
  letter-spacing: -0.5px;    /* 现代视觉关键：轻微压缩字距更高级 */
  color: #111;               /* 字体颜色小幅加深，提升对比度 */
  text-align: center;
  line-height: 6.7rem;
  cursor: pointer;
}

.photo .content .btn img {
  width: 1.5rem;
  height: 3rem;
  margin-left: 0.5rem;
}

/* #photo1 {
  background: red;
}

#photo2 {
  background: orange;
}

#photo3 {
  background: black;
}

#photo4 {
  background: blue;
}

#photo5 {
  background: yellow;
} */

.barrier {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9;
}

.barrier_show {
  display: flex;
}

.barrier .login_wrp {
  min-width: 30rem;
  min-height: 50rem;
  background: #fff;
  border-radius: 0.5rem;
  padding: 4.5rem 3rem 4.5rem 3rem;
  box-shadow: 0px 5rem 15rem rgba(0, 0, 0, 0.3);
  position: relative
}

.barrier .login_wrp .close_img {
  position: absolute;
  top: 2rem;
  right: 3rem;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}

.barrier .login_wrp .title {
  font-size: 26px;
  font-weight: bold;
  color: #222;
}

.barrier .login_wrp .tips,
.barrier .login_wrp ._tips {
  font-size: 18px;
  color: #666;
  margin-top: 1rem;
}

.barrier .login_wrp .code {
  width: 100%;
  height: 25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 7rem;
  position: relative;
}

.barrier .login_wrp .code .blur {
  width: 100%;
  height: 25rem;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(6px);
}

.barrier .login_wrp .code img {
  width: 23rem;
  height: 23rem;
}

.barrier .login_wrp ._tips {
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
  padding: 0 3rem;
}

.barrier .login_wrp ._tips a {
  text-decoration: underline;
}

.barrier .login_wrp .agreement,
.barrier .login_wrp .unagreement {
  width: calc(100% - 4rem);
  height: 5.6rem;
  margin-left: 2rem;
  background: #298CFF;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 20px;
  text-align: center;
  line-height: 5.6rem;
  margin-top: 2rem;
  cursor: pointer;
}

.barrier .login_wrp .unagreement {
  color: #222;
  background: #fff;
  border: 1px solid #BEBEBE;
}

.wx_code {
  display: none;
  justify-content: center;
}

.layui-table-tree-flexIcon {
  display: none !important;
}

.mobile_input {
  display: none;
}

.input_wrp {
  margin-top: 15px;
  margin-left: 15px;
}


.mobile_input_btns {
  display: flex;
  justify-content: right;
  margin-top: 20px;
  margin-right: 15px;
}

.mobile_btn {
  background: #298CFF !important;
}

.after_sale_module,
.invoice_module {
  display: none;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 20px;
}

.after_sale_module .upload_btn {
  background: #298CFF !important;
}

.after_from_item {
  display: flex;
  flex-direction: column;
}

.after_from_item span {
  font-size: 16px;
  color: #222;
  margin-bottom: 10px;
}

.after_from_item textarea {
  resize: none;
  padding: 10px;
  height: 100px;
  font-size: 16px;
  color: #222;
}
.footer {
  background-color: #F0F0F0; /* 灰色背景 */
  height: 50px;              /* 调低高度，例如原来可能是 100px+ */
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-text {
  font-size: 14px;
  color: #666;
}

.order_container .btns .btn {
  transition: all 0.2s ease;
  box-shadow: 0 3px 0 #ccc;
  position: relative;
  background: linear-gradient(135deg, #4A90E2, #357ABD); /* 渐变色 */
  color: #fff;
  border: none; /* 去掉边框更好看 */
}

.order_container .btns .btn:hover {
  transform: scale(1.05) translateY(0);
  background: linear-gradient(135deg, #357ABD, #4A90E2); /* 反向渐变作为 hover 效果 */
}

.order_container .btns .btn:active {
  transform: scale(1) translateY(2px);
  box-shadow: 0 1px 0 #2A5A8F;
  background: linear-gradient(135deg, #2A5A8F, #1F3D63); /* 按下时更深色渐变 */
}

.photo .content .btn {
  transition: all 0.2s ease;
  box-shadow: 0 5px 0 #ccc;
  position: relative;
  background: linear-gradient(135deg, #FF7E5F, #FEB47B); /* 橙色暖色渐变 */
  color: #fff;
  border: none;
}

.photo .content .btn:hover {
  transform: scale(1.05) translateY(0);
  background: linear-gradient(135deg, #FEB47B, #FF7E5F); /* 反向渐变 */
}

.photo .content .btn:active {
  transform: scale(1) translateY(3px);
  box-shadow: 0 2px 0 #C66B4D;
  background: linear-gradient(135deg, #C66B4D, #A35A3B); /* 深橙色按下效果 */
}

.carousel .btn {
  position: relative;
  overflow: visible;  /* 改成 visible，让箭头能显示 */
}

/* 左右箭头动效 */
.carousel_left_arrow,
.carousel_right_arrow {
  transition: all 0.3s ease;
  opacity: 0.6;
}

.carousel_left_arrow:hover,
.carousel_right_arrow:hover {
  opacity: 1;
  transform: translate(0, -50%) scale(1.2);
}

/* 左箭头悬停时向左移动 */
.carousel_left_arrow:hover {
  transform: translate(-5px, -50%) scale(1.2);
}

/* 右箭头悬停时向右移动 */
.carousel_right_arrow:hover {
  transform: translate(5px, -50%) scale(1.2);
}

/* 箭头持续呼吸动画 */
.carousel_left_arrow {
  animation: arrowPulseLeft 2s ease-in-out infinite;
}

.carousel_right_arrow {
  animation: arrowPulseRight 2s ease-in-out infinite;
}

@keyframes arrowPulseLeft {
  0%, 100% {
    transform: translate(0, -50%);
    opacity: 0.5;
  }
  50% {
    transform: translate(-8px, -50%);
    opacity: 1;
  }
}

@keyframes arrowPulseRight {
  0%, 100% {
    transform: translate(0, -50%);
    opacity: 0.5;
  }
  50% {
    transform: translate(8px, -50%);
    opacity: 1;
  }
}

/* 鼠标悬停时停止呼吸动画 */
.carousel_left_arrow:hover {
  animation: none;
  opacity: 1;
  transform: translate(-5px, -50%) scale(1.15);
}

.carousel_right_arrow:hover {
  animation: none;
  opacity: 1;
  transform: translate(5px, -50%) scale(1.15);
}