.content-part10{
  width: 100%;
  height: auto;
  /* border: 2px solid red; */
  padding-block: var(--main-block-padding);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: rgb(246, 246, 246);
}

.content-part10 > div{
  /* border: 2px solid blue; */

}

.content-part10-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;

}

.content-part10-top > span:first-child{
  font-size: 1.1rem;
}
.content-part10-top > span:nth-child(2){
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.coupon-box{
  display: flex;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.coupon-box>input{
  width: 400px;
  height: 46px;
  border: none;
  outline: none;
  padding-left: 0.8rem;
  
}
.coupon-box>input::placeholder{
  color: black;
  /* text-indent: 0.5rem; */
  font-size: 0.6rem;
}

.coupon-box > button{
  background-color: black;
  color: white;
  padding: 0 20px;
  font-size: 0.6rem;
}

.content-part10-bottom{
  display: flex;
  flex-direction: column;
  gap: 60px;
}





.content-part10-bottom-titles{
  display: flex;
  align-items: center;
}

.toggle-price-box {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
#toggle-price {
  display: none;
}

.toggle-price-box > label{
  width: 68px;
  height: 36px;
  background-color: #ffffff;
  border-radius: 100px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid rgb(219, 219, 219);
}
.toggle-price-box > label::after{

  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-color: rgb(0, 0, 0);
  border-radius: 50%;
  transition: transform 0.3s ease-in-out;

}

#toggle-price:checked + .content-part10-bottom-titles label::after{
  transform: translateX(32px);
}

.toggle-price-box>span:last-child{
  text-wrap: nowrap;
  font-size: 0.6rem;
  padding: 4px 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(244, 170, 170, 0.6) 0%, rgba(100, 205, 240, 0.3) 100%);
}

/* 底下价格卡片 */
.content-part10-bottom-cards{
  display: flex;
  gap: 20px;
}

.content-part10-bottom-cards > div{
  /* border: 2px solid red; */

  width: 100%;
  height: auto;
}

.part10-card{
  display: flex;
  padding: 40px;
  flex-direction: column;
  /* justify-content: space-between; */
  gap: 30px;
  background-color: white;
  border-radius: 10px;
  transition:  all 0.3s ease-in-out;
  cursor: pointer;
}
.part10-card-title{
  white-space: pre-line;
  font-size: 1.6rem;
  font-weight: 600;
}

.part10-card-price{
  display: flex;
  flex-direction: column;
}
.part10-card-price-title > span:first-child{
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
}
.part10-card-price-info{
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.part10-card-price-info > .save-tag{
  font-size: 0.6rem;
  background-color: black;
  color: white;
  padding: 2px 4px;
  border-radius: 2px;
}
.part10-card-price-title .dollar{
  font-size: 0.9rem;
  /* vertical-align: 30px; */
  position: absolute;
  right: 0px;
  top: 10px;
}




.part10-card-button{
  width: 100%;
  height: 60px;
  border: 1px solid rgb(173, 173, 173);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 20px;
}
.part10-card-list{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.part10-card-list-item{
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  align-items: center;
}

.part10-card-list-item > div:first-child{
  height: 20px;
  width: 20px;
  padding: 2px;
  border: 1px solid rgb(191, 191, 191);
  border-radius: 50%;
}

/* hover卡片的效果 */

@media (hover:hover) {
  .part10-card:hover{
    background-color: black;
    color: white;
    transform: translateY(-10px);
  }
  .part10-card:hover .save-tag{
    color: black;
    background: linear-gradient(90deg, rgba(244, 170, 170, 1) 0%, rgb(113, 219, 255) 100%);
  }
}

/* 实现按钮切换价格 */
.year-price{
  display: none;
}
.year-total-price{
  display: none;
}

#toggle-price:checked ~ .content-part10-bottom-cards .monthly-price{
  display: none;
}
#toggle-price:checked ~ .content-part10-bottom-cards .year-price{
  display: inline-block;
}


#toggle-price:checked ~ .content-part10-bottom-cards .monthly-total-price{
  display: none;
}
#toggle-price:checked ~ .content-part10-bottom-cards .year-total-price{
  display: inline-block;
}

@media screen and (max-width: 1080px) {
  .part10-card-price-title{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
  }

  .part10-card-price-title > span:first-child{
    align-self: self-start;
  }
  .part10-card-price-title .dollar{
    right: -10px;
  }
  .part10-card-button{
    margin-top: 0;
  }
}

@media screen and (max-width: 900px) {
  .content-part10-bottom-cards{
    flex-direction: column;
  }
}


@media screen and (max-width: 768px) {
  .content-part10{
    gap: 40px;
  }
}


@media screen and (max-width: 680px) {
  .content-part10-bottom-titles{
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }
  .part-title > span:last-child{
    font-size: 2rem;
    white-space: normal;
  }
}


@media screen and (max-width: 600px) {
  .content-part10-top > span:nth-child(2){
    font-size: 2rem;
  }
  .coupon-box>input{
    width: 300px;
  }
}

@media screen and (max-width: 480px){
  .content-part10-top{
    gap: 10px;
  }
}

@media screen and (max-width: 420px){
  .coupon-box>input{
    width: 200px;
  }
  .content-part10-top > span:nth-child(2){
    font-size: 1.8rem;
  }
}
