.singlePlan_card {
    max-width: 376px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border-radius: var(--roundCornerSmall);
    box-shadow: var(--boxshadow);
}
.singlePlan_card .header {
    width: 100%;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #624BEE;
    border-radius: 10px 10px 0 0;
}

/* 一般版 */
.singlePlan_card.general .header {
    /*background-color: #FF8F08;*/
    background-color: var( --colorOrange);
    background-image: url('../assets/icons/pages1_single_plan_dot.svg');
    background-repeat: no-repeat;
    background-position:130% 0;
    background-size: auto 240px;
}
.singlePlan_card .header p {
    font-weight: 700;
/*    font-weight: 500;*/
    font-size: 18px;
    line-height: 23px;
    color: white;
}
.singlePlan_card .header {
    width: 100%;
    text-align: center;
    background-color: #624BEE;
    border-radius: var(--roundCornerSmall)  var(--roundCornerSmall) 0 0;
}
.singlePlan_card .header.orange{
    background-color:var( --colorOrange);
    
}

.singlePlan_card .card {
    width: 100%;
    height: calc(215px - 35px);
    background-color: var( --colorOrange);
    background-image: url('../assets/icons/pages1_single_plan_dot.svg');
    background-repeat: no-repeat;
    background-position: 130% -35px;
    /*background-size: 55% 100%;*/
    background-size: auto 240px;
    padding: 10px 15px 6px 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2px;
}

.singlePlan_card .card .match_product {
    display: flex;
    justify-content: space-between;
}

.singlePlan_card .card .match_product>div{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2px;
}

.singlePlan_card .card .match_product>div{
    max-width: 50%;
}

.singlePlan_card .card .match_product>div:nth-child(2){
    text-align: center;
}



.singlePlan_card .card .title{
    height: 95px;
    display: flex;
    flex-direction: column;
    gap: 4px 0;
}

.singlePlan_card .card .title h3 {
    font-weight: 700;
    font-size: 20px;
    line-height: 115%;
    color: #FFFFFF;
}

.singlePlan_card .card .title p {
    font-weight: 500;
    font-size: 11px;
    line-height: 120%;
    color: #FFFFFF;

    overflow: hidden;
    text-overflow: ellipsis;
/*    display: -webkit-box;*/
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /*word-break: break-all;*/
    height: 45px;
    /*transform: scale(0.95);*/
    transform-origin: left top;
    /*width: calc(106%);    */
}

/*-----*/
.singlePlan_card .card .price{
    height: 67px;
    display: flex;
    justify-content: space-between;
}


.singlePlan_card .card .price h2 {
    margin-top: auto;
    font-weight: 700;
    font-size: 28px;
    line-height: 42px;
    color: #FFFFFF;
    display: flex;
    align-items: flex-end;
    /*    gap: 8px;*/
    cursor: pointer;
}

.singlePlan_card .card .price div{
    display: flex;
    flex-direction: column;
    gap: 5px 0;
}

.singlePlan_card .card .price div.right{
    text-align: right;
}

.singlePlan_card .card .price h2 span.dollar{
    font-weight: 700;
    font-size: 24px;
    line-height: 30.4px;
    margin: 0 3px 5px 0;
    font-family: Arial;
}

.singlePlan_card .card .price h2 span.unit{
    font-weight: 400;
    font-size: 16px;
    line-height: 20.29px;
    margin: 0 0 10px 5px;
}

.singlePlan_card .card .price p{
    font-weight: 500;
    font-size: 16px;
    line-height: 126.8%;
    color: #FFFFFF;
}




/*.singlePlan_card .card .price h2 img {
    width: 11.65px;
}*/
/*.singlePlan_card .card p {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;

    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-all;
    height: 40px;
}*/

.singlePlan_card .card .match_product p{
    font-size: 15px;
}

/*----------------------------*/

.singlePlan_card .body {
    width: 100%;
    /*padding: 16px 22px;*/
    padding: 16px 15px;
    box-sizing: border-box;
    border-radius: 0 0  var(--roundCornerSmall)  var(--roundCornerSmall);
    background-color: white;
    display: flex;
    flex-direction: column;
    gap:10px 0 ;
    /*min-height: 373px;*/
    min-height: 303px;
}
.singlePlan_card .body.active {
    min-height: 485px;
}

.singlePlan_card .body .top{
    gap:10px 0 ;
    display: flex;
    flex-direction: column;
    min-height: 100px;
}
.singlePlan_card .body.active .top{
    min-height: 388px;
}
.singlePlan_card .body .box{
    display: flex;
    align-items: flex-start;
    gap: 2px;
    font-size: 14px;
    line-height: 25px;
    height: 25px;
    letter-spacing: 0.05em;
    color: #1B1B1B;
}

.singlePlan_card .body .box.flow{
    max-height: 75px;
    height: auto;
}

.singlePlan_card .body .box.introduce{
    max-height: 75px;
    height: auto;

}

.singlePlan_card .body .box.gift{
    height: 30px;
    overflow: hidden;
}
.singlePlan_card .body.active .box.gift{
    height: 200px;
}
.singlePlan_card .body .box .title{
    display: flex;
    gap: 0 20px;
    align-items: flex-start;
    width: 100%;
}
.singlePlan_card .body .box .title>img{
    width: 20px;
    padding-top: 2px;
}

.singlePlan_card .body .box .title .info{
    width: calc(100% - 40px);
}

.singlePlan_card .body .box.gift .title .info{
    overflow: auto;
    min-height: 30px;
}
.singlePlan_card .body.active .box.gift .title .info{
    min-height: 205px;
}
.singlePlan_card .body .box .title .info,
.singlePlan_card .body .box .title .info p
{
    color: #000;    
    line-height: 25px;
    font-size: 14px;
}

.singlePlan_card .body .box .title .info p.limit_2{
    overflow: hidden;
/*    display: -webkit-box;*/
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-all;

    max-height: 50px;
    height: auto;
}

.singlePlan_card .body .box .title .info p.limit_3{
    overflow: hidden;
/*    display: -webkit-box;*/
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    word-break: break-all;
    max-height: 75px;
    height: auto;

}


.singlePlan_card .body .box .title .gift_title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    cursor: pointer;
    height: 25px;
    overflow: hidden;
    width: fit-content;
}

.singlePlan_card .body .box .title .gift_title img{
    margin-top: 8px;
    margin-left: 8px;
}
.singlePlan_card .body.active .box .title .gift_title img{
    transform: rotate(180deg);
}


.singlePlan_card .body .box .title .gift_open {
    color: #868686;
    display: none;
    /* overflow: hidden; */
    /*display: none;*/
    /* -webkit-box-orient: vertical; */
    /* -webkit-line-clamp: 3; */
    /* word-break: break-all; */
    /* height: 75px; */
}
.singlePlan_card .body.active .box .title .gift_open {
    display: block;
}


.singlePlan_card .body .box .title .gift_open.active {
    
    display: -webkit-box;

}




.singlePlan_card .body .box .title .gift_info {
    display: none;
}
.singlePlan_card .body.active .box .title .gift_info{
    display: block;
}
.singlePlan_card .body .box .title .gift_info>div{ 
    display: flex;
    /*height: 25px;*/
    overflow: hidden;
}

.singlePlan_card .body .box .title .gift_info>div h3{ 
    width: 40%;
    overflow: hidden;

}

.singlePlan_card .body .box .title .gift_info>div h4{ 
    width: 60%;
    overflow: hidden;
}




.singlePlan_card .body .field, .singlePlan_card .body .column {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    font-size: 14px;
    line-height: 25px;
    letter-spacing: 0.05em;
    color: #1B1B1B;
}
.singlePlan_card .body .field.column {
    flex-direction: column;
}
.singlePlan_card .body .field label {
    min-width: 105px;
    max-width: 105px;
    font-weight: 700;
}
.singlePlan_card .body .field p {
    margin-left: 32px;
    font-weight: 400;

    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    word-break: break-all;

}
.singlePlan_card .body .field .gray {
    color: #868686;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    word-break: break-all;
}
.singlePlan_card .body .field .field_line {
    width: calc(100% - 105px);
    height: 1px;
    background-color: #868686;
    transform: translateY(12px);
}
.singlePlan_card .body > button {
    margin: 3px 0 0 0;
    width: 173px;
    height: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--fontFamily);
    /*box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25);*/
}
.singlePlan_card .body > button:hover {
    background-color: white;
    font-weight: bold;
    border-color: var( --colorOrange);
    color: var( --colorOrange);
}
.singlePlan_card .body > button > img {
    width: 16px;
}
.singlePlan_card .body .mfo_button.popup{
    display: none;
}
.singlePlan_card .body.active .mfo_button.popup{
    display: flex;
}
.singlePlan_card .body .tagGroup {
    width: 100%;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    height: 74px;
    align-items: start;
}
.singlePlan_card .body.active .tagGroup{
    display: grid;
}
.singlePlan_card .body .tagGroup .tag {
    width: 100%;
    padding: 4px 9.75px;
    box-sizing: border-box;
    background-color: rgba(255, 103, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: block;
    height: 33px;
}
.singlePlan_card .body .tagGroup .tag p {
    font-weight: 400;
    font-size: 14px;
    line-height: 25px;
    color: var( --colorOrange);
    text-align: center;
}

.singlePlan_card .body .tagGroup .tag.gray {
    background-color: #F4F4F4;
}
.singlePlan_card .body .tagGroup .tag.gray p {
    color: #868686;
}

.singlePlan_card .body .footer {
    position: absolute;
    left: 18px;
    bottom: 15px;    
    width: calc(100% - 40px);
    margin-top: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 48px;
}
.singlePlan_card .body.active  .footer {
}
.singlePlan_card .body .footer .caption {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
}
.singlePlan_card .body .footer .caption > img {
    width: 24px;
}

.singlePlan_card .body .footer .caption.plus > img {
    transform: scale(0.8);
}
.singlePlan_card .body .footer .caption > p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.05em;
    color: #1B1B1B;
    white-space: nowrap;
}
.singlePlan_card .body .footer > button {
    width: 100%;
    height: 48px;
    line-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-weight: 500;
    font-family:var(--fontFamily);
}
.singlePlan_card .body .footer > button.had_choice{
    background-color: var(--colorOrange);
    color: #fff;
    gap: 0;
}
.singlePlan_card .body .footer > button.had_choice i{
    background-image: url(../assets/icons/had_choice_white.svg);
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 3px;
}
.singlePlan_card .body .footer > button.hide{
    display: none;
}

.singlePlan_card .body.active{
    
}
@media (max-width: 1366px){
    /*
    .singlePlan_card .card{
        padding-left: 13px;
        padding-right: 13px;
    }
    .singlePlan_card .body{
        padding-left: 13px;
        padding-right: 13px;
    }
    */

}
@media (max-width: 768px){
    .singlePlan_card .body .tagGroup .tag{
        padding: 4px 5px;
    }
}


@media (max-width: 640px){
    .singlePlan_card {
        max-width: 292px;
    }
    .singlePlan_card .header {
        height: 32px;
    }
    /*.singlePlan_card .header p, .singlePlan_card .card .title h3 {
        font-size: 16px;
        line-height: 20px;
    }*/
    .singlePlan_card .card {
        padding: 5px 12px 5px 12px;
        height: calc(210px - 32px);
        /*background-position: 500%;
        background-size: 91% 100%;*/
    }

    .singlePlan_card .card .title {
        height: 120px;
        gap: 2px 0;
    }

    .singlePlan_card .card .title p {
        font-weight: 500;
        font-size: 12px;
        line-height: 16px;
        color: #FFFFFF;

        overflow: hidden;
/*        display: -webkit-box;*/
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        /*word-break: break-all;*/
        height: 50px;
    }

    .singlePlan_card .card .title h3 {
        line-height: 28px;
        font-size: 20px;
    }

    .singlePlan_card .card .price {
        height: 54px;
    }

    .singlePlan_card .card .price p {
        font-size: 14px;
        line-height: 16px;
        margin-top: 4px;
    }

    .singlePlan_card .card .price div {
        gap: 0px 0;
    }

    .singlePlan_card .card .price h2 {
        font-size: 28px;
        line-height: 32px;
    }

    .singlePlan_card .card .price h2 span.unit {
        margin: 0 0 2px 5px;
        font-size: 14px;
    }


    .singlePlan_card .card .price h2 span.dollar {
        font-size: 20px;
        margin: 0 3px 2px 0;
        line-height: 20px;
    }


/*    -------------*/
.singlePlan_card .body {
    padding: 16px 12px;
    gap: 8px 0;
    /*min-height: 574px;*/
    min-height: 270px;
}

.singlePlan_card .body .top{
    gap:8px 0 ;
    /*min-height: 384px;*/
}


.singlePlan_card .body .box {
    line-height: 22px;
    height: 22px;
}

.singlePlan_card .body .box .title>img{
    transform: scale(0.8);
}


.singlePlan_card .body .box .title {
    gap: 0 10px;
}
    
.singlePlan_card .body .box .title .info {
    width: calc(100% - 32px);
}

.singlePlan_card .body .box .title .info, .singlePlan_card .body .box .title .info p {
    line-height: 22px;
    font-size: 12px;
}
.singlePlan_card .body.active{
    min-height: 420px;
}
.singlePlan_card .body.active .top{
    min-height: 320px;
}
.singlePlan_card .body.active .box.gift .title .info{
    min-height: 190px;
}
.singlePlan_card .body.active .box.gift{
    height: 180px;
}
.singlePlan_card .body .box .title .info p.limit_2{
    max-height: 44px;
}

.singlePlan_card .body .box .title .info p.limit_3{
    max-height: 66px;
}

.singlePlan_card .body .box.flow{
    max-height: 66px;
}

.singlePlan_card .body .box.introduce {
    max-height: 66px;
}

.singlePlan_card .body .box.gift {
    /*height: 176px;*/
}

.singlePlan_card .body .box .title .gift_title {
    height: 22px;
}

/*20230822修正好康優惠下展在斷點375會出現空白
.singlePlan_card .body .box .title .gift_open {
    height: 66px;
}
*/

.singlePlan_card .body .box .title .gift_info>div {
    height: 22px;
}




    .singlePlan_card .body .field label {
        min-width: 90px;
        max-width: 90px;
        font-weight: 500;
        font-size: 12px;
        line-height: 22px;
    }
    .singlePlan_card .body .field p {
        font-weight: 400;
        font-size: 12px;
        line-height: 22px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
    .singlePlan_card .body > button {
        margin: 0px 0 0 0;
        width: 138px;
        height: 26px;
        padding: 0;
        gap: 1px;
        flex-wrap: nowrap;
    }
    .singlePlan_card .body > button > p {
        font-size: 14px !important;
    }
    .singlePlan_card .body > button > img {
        width: 12px;
        margin-left: 5px;
    }
    .singlePlan_card .body .tagGroup {
        margin-top: 0;
        gap: 4px;
        height: 60px;
    }
    .singlePlan_card .body .tagGroup .tag {
        padding: 4px 5px;
        height: 28px;
    }
    .singlePlan_card .body .tagGroup .tag p {
        font-size: 11px;
        line-height: 20px;
    }
    /*.singlePlan_card .body .footer {
        margin-top: 16px;
    }*/
    .singlePlan_card .body .footer .caption {
        gap: 4px;
    }

/*    .singlePlan_card .card .price h2 img {
        width: 9px;
    }*/

    .singlePlan_card .card .match_product {
        display: flex;
        justify-content: flex-start;
    }

    .singlePlan_card .card .match_product>div:nth-child(2){
        text-align: left;
        padding-left: 10px;
    }

    .singlePlan_card .card .match_product>div {
        max-width: 50%;
        width: 50%;
    }

    .singlePlan_card .body .footer .caption > p {
        font-size: 12px;
    }
}