.container{
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1rem;
  width: 100%;
  gap: 1rem;
}
.first_pay{
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 0.44rem;
  border: 1px solid #346f41;
  //border: 1px solid #fb80f0;
  //background-image: linear-gradient(135deg, #faf8de 0%, #f79315 100%);
  //background-image: linear-gradient(135deg,  #f29e1f 0%, #d0b552 100%);
  //background-image: linear-gradient(135deg,  #234e33 0%, #346f41 100%);
  background-image: linear-gradient(135deg,  #1d803ab3 0%, rgba(29, 128, 58, 1) 100%);
  //background-image: linear-gradient(135deg,  #bd1995 0%, #eb61dd 100%);
  width: 100%;
  height: 12rem;
  & .pay_info{
    padding: 1.2rem;
    position: relative;
    & .title{
      color: #fff;
      font-size: 1.2rem;
      font-weight: 700;
    }
    & .price_btn{
      margin-top: 0.8rem;
      border-radius: 3rem;
      font-size: 1.2rem;
      font-weight: 600;
      padding: 0.3rem 0rem;
      width: 7rem;
      color: #fff;
      background: linear-gradient(0deg, #f17e0a 0%, #faea93 100%);
      border: 1px solid #f0c461;
      text-shadow: -1px -1px 0 #987233, 1px -1px 0 #987233, -1px 1px 0 #987233, ;
    }
    & .price_con_offset{
      margin-top: 1rem;
    }
    & .price_con{
      //margin-top: 1rem;
      width: 100%;
      //height: 2.8rem;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 0.8rem;
      & .p_text_f{
        &::before{
          content: attr(data-title);
          position: absolute;
          //background-image: linear-gradient(to bottom,#fffd5a 0%,#fffd5a 30%,#fffdea 60%,#ffb643 70%);
          background-image: linear-gradient(to bottom,#ffeee1 0%,#ffeee1 30%,#fce758 60%,#fce758 70%);
          background-clip: text;
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          //-webkit-text-stroke: 0px #483be3;
          font-weight: bold;
          font-size: 2rem;
          pointer-events: none;
        }
        font-weight: bold;
        font-size: 2rem;
        filter: drop-shadow(0 1.5px 1px #662c29);
      }
      & .p_text_al{
        &::before{
          content: attr(data-title);
          position: absolute;
          background-image: linear-gradient(to bottom,#ffeee1 0%,#ffeee1 30%,#fce758 60%,#fce758 70%);
          background-clip: text;
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          font-weight: bold;
          font-size: 2rem;
          pointer-events: none;
        }
        font-weight: bold;
        font-size: 2rem;
        filter: drop-shadow(0 1.5px 1px #662c29) brightness(80%);
        & .al_line{
          position: absolute;
          left: -0.3rem;
          right: -0.3rem;
          top: 50%;
          border-top: 2px solid #fce758;
        }
      }
      & .p_text{
        &::before{
          content: attr(data-title);
          position: absolute;
          //background-image: linear-gradient(to bottom,#fffd5a 0%,#fffd5a 30%,#fffdea 60%,#ffb643 70%);
          background-image: linear-gradient(to bottom,#ffeee1 0%,#ffeee1 30%,#fce758 60%,#fce758 70%);
          background-clip: text;
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          //-webkit-text-stroke: 0px #483be3;
          font-weight: bold;
          font-size: 1.7rem;
          pointer-events: none;
        }
        font-weight: bold;
        font-size: 1.7rem;
        filter: drop-shadow(0 1.5px 1px #662c29);
      }
      & .total{
        color: #f9f462;
        font-weight: 700;
        font-size: 1.8rem;
      }
      & .label{
        color: #fff448;
        font-weight: 500;
      }
      & .origin{
        position: relative;
        color: #bfbf89;
        font-size: 1rem;
        font-weight: 500;
        align-items: center;
        & .ori_line{
          position: absolute;
          left: -0.5rem;
          right: -0.5rem;
          top: 50%;
          border-top: 1px solid #bfbf89;
        }
      }
    }
  }
  & .gift_img{
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
  }
  & .percent{
    display: flex;
    position: absolute;
    z-index: 3;
    right: 1rem;
    top: 1rem;
    height: 5rem;
    width: 5rem;
    align-items: center;
    justify-content: center;
    img{
      position: absolute;
      z-index: 1;
      right: 10%;
      height: 3.5rem;
      width: auto;
    }
    & .text{
      position: absolute;
      z-index: 2;
      color: #f0f786;
      font-size: 1rem;
      font-weight: 600;
    }
  }
}
.list_con{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  & .title{
    color: var(--text);
    font-weight: 600;
  }
  & .total_bar{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: var(--pay-btn-bg);
    padding: 0.8rem;
    border-radius: var(--border-radius);
    & .left{
      display: flex;
      flex-direction: row;
      font-size: 1.1rem;
      color: var(--header);
      font-weight: 500;
      gap: 0.5rem;
      & .label{
        font-weight: 800;
        color: #edc349;
      }
    }
    & .right{
      display: flex;
      flex-direction: row;
      font-size: 1rem;
      color: var(--header);
      font-weight: 500;
      gap: 0.5rem;
      & .extra{
        color: var(--text);
      }
    }
  }
  & .list{
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    & .list_btn{
      position: relative;
      border-radius: var(--border-radius);
      background-color: var(--pay-btn-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.6rem;
      font-size: 1rem;
      font-weight: 500;
      color: var(--text);
      overflow: hidden;
      min-height: 2rem;
      & .flag{
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        border-width: 0 2rem 2rem 0;
        border-color: transparent rgba(0, 0, 0, 0.2) transparent transparent;
        border-style: solid;
        & .text{
          width: 2rem;
          height: 2rem;
          text-align: center;
          position: absolute;
          transform: rotate(45deg);
          font-size: 0.65rem;
          font-weight: 700;
          color: var(--text);
        }
      }
      &.active{
        border: 1px solid var(--primary-color);
        color: var(--header);
        font-weight: 700;
        & .flag{
          border-color: transparent #1d803a transparent transparent;
          & .text{
            font-weight: 800;
            color: var(--header);
          }
        }
      }
    }
  }
}
.promotion{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  & .banner{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    aspect-ratio: 2.5;
    & .info_con{
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      height: 76%;
      padding: 1rem;
      font-weight: 700;
      color: var(--text);
      & .percent_tips{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60%;
        height: 100%;
        font-size: 0.9rem;
      }
      & .big_percent{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40%;
        height: 100%;
        font-size: 2rem;
        font-weight: 800;
        color: var(--header);
      }
    }
    & .info_bonus{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0rem 1rem;
      height: 24%;
      color: var(--header);
      & .bonus_value_con{
        display: flex;
        gap: 1.5rem;
        & .bonus_value{
          font-weight: 600;
        }
      }
    }
  }
  & .select_item{
    background-color: var(--pay-btn-bg);
    padding: 0.8rem;
    border-radius: var(--border-radius);
    & .text{
      font-size: 0.9rem;
      color: var(--text);
    }
  }
}
