@charset "utf-8";

:root {
    --text-gray: rgb(61, 61, 61);
}

.launch .sec2 .title_icons {
    margin: 0 0.5rem 0;
}

.launch .sec2 .title_icons svg {
    max-width: 60px !important;
    width: 100%;
    height: auto;
}

/*立即購買按鈕*/
.pre_order .wrapper .btn_buy {
    background: url('../images/pre_order/btn_order_launch.png') center center / cover no-repeat;
}

.pre_order .wrapper .awards button {
    background: url('../images/pre_order/btn_order_launch_s.png') center center / cover no-repeat;
}

/*標題設置*/
.launch .sec_title h1 {
    font-size: calc(0.7 * var(--block-title));
    line-height: 1.2;
}

.launch .sec_title h2 {
    font-size: calc(0.9 * var(--block-title));
    line-height: 1.3;
}
/* .launch .line {
    height:clamp(1.5px,1vw,2px);
} */

/*商品介紹區塊*/
.launch .product_item {
    width: 85%;
    display: flex;
    align-items: stretch;
    /* 讓左右欄等高 */
    justify-content: space-between;
    gap: var(--block-margins-m);
    margin: 0 auto;

}

.launch .product_item .text_box {
    flex: 1 1 58%;
    max-width: 627px;
    position: relative;
    --w: 627;
    --top-h: 63;
    --bot-h: 61;
    display: flex;
    flex-direction: column;
}

.launch .product_item .img_box {
    flex: 0 1 42%;
    position: relative;
    overflow: hidden;
    max-width: 500px;
}

.launch .product_item .img_box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: var(--border-radius-pic);
}

/*區塊標題*/
.launch .sec_title.memo h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.1em;
    /* font-size: clamp(1.1rem, 2.2vw, 2.3rem); */
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0.02;
}
.launch .decor_item2 .svg{
   display: flex;
   align-items: center;
   justify-content: center;
   height: fit-content;
}

/* 上下蓋板：絕對定位 + aspect-ratio 等比撐高（不受 box-sizing 影響） */
.launch .product_item .text_box::before,
.launch .product_item .text_box::after {
    content: "";
    display: block;
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    pointer-events: none;
    z-index: 3;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
}

.launch .product_item .text_box::before {
    aspect-ratio: var(--w) / var(--top-h);
    background-image: url("../images/pre_order/frame_top.png");
}

.launch .product_item .text_box::after {
    aspect-ratio: var(--w) / var(--bot-h);
    background-image: url("../images/pre_order/frame_bot.png");
}

/* 內容層 */
.launch .product_item .text_box .text_box_inner {
    position: relative;
    z-index: 4;
    /* 在蓋板之上，避免遮到按鈕可點性 */
    display: flex;
    flex-direction: column;
    background: url("../images/pre_order/frame_mid.png") center top repeat-y;
    background-size: contain;
    text-align: center;
}

.launch .product_item .text_box .text_box_inner .price_box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(.5rem, 2vw, 1rem);
}
 .launch .product_item .text_box .text_box_inner h3 span,
 .launch .product_item .text_box .text_box_inner .price_box .price span,
 .launch .product_item .text_box .text_box_inner .price_box .original_price span {
    display: none !important;
 }
 .launch .product_item .text_box .text_box_inner h3{
width: 75%;
 }
.launch .product_item .text_box .text_box_inner h3,
.launch .product_item .text_box .text_box_inner .price_box p {
     max-width: 377px; aspect-ratio: 377 / 50;
    font-size: calc(var(--block-title) * 0.5);
    text-indent: -9999px;
    margin-left: auto;
    margin-right: auto;
    background-repeat: no-repeat;
}
.launch .product_item .text_box .text_box_inner .price_box p{
    width: 65%;
}

.launch .product_item .text_box .text_box_inner h3{
    background: url("../images/pre_order/title_01.png") center top;
    background-size: cover;

    }
.launch .product_item .text_box .text_box_inner .price_box .price{
    background: url("../images/pre_order/title_02.png") center top;
     background-size: cover;
}
.launch .product_item .text_box .text_box_inner .price_box .original_price{
    background: url("../images/pre_order/title_03.png") center top;
     background-size: cover;
}

.launch .product_item .text_box .text_box_inner h3::before,
.launch .product_item .text_box .text_box_inner h3::after,
.launch .product_item .text_box .text_box_inner li::before {
    content: "";
    display: inline-block;
    aspect-ratio: 1 / 1.5;
    width: 0.5em;
    background: linear-gradient(rgb(230, 183, 55), rgb(105, 74, 6));

    /* 遮罩套用 star.svg */
    -webkit-mask-image: url("../images/svg/star.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    mask-image: url("../images/svg/star.svg");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.launch .product_item .text_box .text_box_inner .feature_list {
    font-size: calc(var(--block-title) * 0.42);
    font-weight: 700;
    color: var(--text-gray);
    position: relative;
    margin-top: .2em;
}

.launch .product_item .text_box .text_box_inner .feature_list::after {
    content: "";
    position: relative;
    display: block;
    margin: .7em auto .4em;
    width: 90%;
    height: 1px;
    background: linear-gradient(to right,
            rgba(220, 220, 220, 0) 0%,
            /* 左端透明 */
            rgba(220, 220, 220, 1) 30%,
            /* 30% 開始變成更淺灰 */
            rgba(220, 220, 220, 1) 70%,
            /* 70% 保持淺灰 */
            rgba(220, 220, 220, 0) 100%
            /* 右端透明 */
        );
}
.launch .product_item .text_box .text_box_inner .feature_list li:last-child{
    display:inline-block; 
}
.launch .product_item .text_box .text_box_inner .feature_list a.notice{
    font-family: 'Noto Sans', 'Noto Sans TC', 'Microsoft JhengHei', Helvetica, 'Maven Pro', 'Droid Sans', 'Myriad Pro', Verdana, Geneva, sans-serif;
    font-size:clamp(0.9rem, calc(var(--block-title) * 0.25), 1.5rem);
    font-weight: 400;
    margin: 0 auto;
    text-align: center;
    display: block;
}
.launch .product_item .text_box .text_box_inner .feature_list a.notice:hover{
    text-decoration: underline; cursor: pointer;
}
.text_content .notice, .launch .product_item .text_box .text_box_inner .feature_list a.notice{
    color: var(--red);

}
.launch .product_item .text_box .text_box_inner li::before {
    width: 0.42em;
    margin-right: 0.5rem;
    background: var(--text-gray)
}

.text_box_inner>*:not(.button) {
    font-family: 'Noto Serif TC';
}

.launch .product_item .text_box .text_box_inner .price {
    position: relative;
    display: inline-flex !important;

    --badge-w: calc(var(--block-title) * 1.6);
    --badge-h: calc(var(--badge-w) * (67 / 105));
    margin-top: var(--badge-h);

    font-size: calc(var(--block-title) * 0.55);
    letter-spacing: .03em;

}

.launch .product_item .text_box .text_box_inner .price>span {
    gap: 0;
    display: inline-flex !important;
    align-items: flex-end !important;


}

.launch .product_item .text_box .text_box_inner .price::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(-1.2 * var(--badge-h));
    transform: translateY(.5em);
    display: block;
    max-width: 105px;
    width: var(--badge-w);
    height: var(--badge-h);
    filter: none !important;

    background: url("../images/pre_order/discount.png") no-repeat center top;
    background-size: contain;
}

.launch .product_item .text_box .text_box_inner .price_box .price .large {
    font-size: calc(var(--block-title) * 0.80);
    line-height: 1.2 !important;
    letter-spacing: 0;
    margin: 0 .05em;
}

.launch .product_item .text_box .text_box_inner .original_price {
    font-size: calc(var(--block-title) * 0.5);
    color: rgb(163, 163, 163);
    font-weight: 700;
    text-decoration: line-through;
    display: inline-flex;

}

.launch .product_item .text_box .text_box_inner .button {
    width: 80%;
    max-width: 350px;
    font-size: calc(var(--block-title) * 0.37);
    margin: 1vw auto;
}

.launch .product_item .text_box .text_box_inner .button a {
    width: 100%;
    height: 100%;
    display: block;
}

/* 左側圖片維持等高 */
.launch .product_item {
    display: flex;
    align-items: center;
    gap: var(--block-margins-m);
}


/*⭣⭣⭣⭣⭣⭣⭣⭣⭣⭣⭣⭣⭣⭣⭣⭣⭣注意事項區塊⭣⭣⭣⭣⭣⭣⭣⭣⭣⭣⭣⭣⭣*/
.launch main>.all>article.sec4 .notice_block {
    padding-top: 0;
}

.launch main>.all>article>.notice_block .all>.text_content {
    flex-direction: column;
}

/*⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡注意事項區塊⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡⭡*/

@media (max-width: 768px) {
    .launch .product_item .text_box {
        flex: 1 1 100%;
        width: 100%;
    }

    .launch .product_item .img_box {
        flex: 0 1 42%;
        max-width: 400px;
    }

    .launch .product_item .text_box .text_box_inner .button {
        max-width: 250px;
    }

     .launch .sec_title.memo h2 {
      flex-direction: column;
    } 

    .product_item {
        flex-direction: column;
    }

    .product_item .img_box {
        height: auto;
    }

    /* 讓圖片依比例顯示 */
    .img_box img {
        height: auto;
        object-fit: contain;
        /* 手機上通常不裁切比較安全 */
    }

    .launch .product_item .text_box .text_box_inner h3,
    .launch .product_item .text_box .text_box_inner .price_box .price>span {
        font-size: clamp(0.95rem, calc(var(--block-title) * 0.6), 2rem)
    }

    .launch .product_item .text_box .text_box_inner .feature_list {
        font-size: clamp(0.95rem, calc(var(--block-title) * 0.5), 2rem);
    }

    .launch .product_item .text_box .text_box_inner .button {
        margin: 2vw auto;
    }

    .launch .product_item .text_box .text_box_inner .button {
        font-size: clamp(0.95rem, calc(var(--block-title) * 0.45), 1.9rem);
    }

    .launch .product_item .text_box .text_box_inner .price_box .price .large {
        font-size: clamp(1.3rem, calc(var(--block-title) * 0.8), 1.9rem);
    }


    .pre_order>.wrapper>header>nav>ul>li>a {
        padding: clamp(0.1rem, 1vw, 0.5rem) clamp(0.4rem, 1vw, 0.8rem);
    }

    .launch .product_item .text_box .text_box_inner .feature_list a.notice{
    font-size:clamp(0.75rem, calc(var(--block-title) * 0.3), 1.3rem);
}
}

@media (max-width: 320px) {
      .launch .product_item .text_box .text_box_inner .feature_list a.notice{
    font-size:clamp(0.65rem, calc(var(--block-title) * 0.3), 0.8rem);
      }
    .launch .product_item {
        width: 95%;
    }
    .pre_order main>.all>article>.notice_block .all ol li, .pre_order main>.all>article>.notice_block .all p {
    line-height: 1.8;
    font-size: clamp(0.75rem, 3vw, 1.1rem);
    margin-left: 0;
}
}