@charset "UTF-8";

/****訂單明細****/
.c-order {
    display: block;
    width: 100%;
    flex: 0 1 auto;
}

/**表頭**/
.c-order__head {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 0 0 25px 0;
    border-bottom: 1px solid rgba(101, 93, 91, .5);
}

[class^="c-order__head__text-"] {
    display: block;
    font-size: 18px;
    line-height: 1;
    color: #151912;
    font-family: "NotoSansTC-M";
    text-align: center;
    flex: 0 0 auto;
}

[class^="c-order__head__text-"][class*="-name"] {
    width: 100%;
    text-align: left;
    flex: 0 1 auto;
}

[class^="c-order__head__text-"][class*="-price"],
[class^="c-order__head__text-"][class*="-count"],
[class^="c-order__head__text-"][class*="-total"] {
    width: 135px;
}

[class^="c-order__head__text-"][class*="-del"] {
    width: 40px;
}

/**商品細項**/
.c-order__product {
    display: block;
    width: 100%;
}

.c-order__product__item {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 30px 0;
    border-bottom: 1px solid rgba(101, 93, 91, .3);
}

.c-order__product__item__pic {
    display: block;
    width: 145px;
    margin: 0 20px 0 0;
    flex: 0 0 auto;
}

.c-order__product__item__box {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    flex: 0 1 auto;
}

.c-order__product__item__box select {
    width: 100%;
    max-width: 100px;
    margin: 0 auto;
    padding: 7.75px 10px;
}

[class^="c-order__product__item__box__text-"] {
    display: block;
    font-size: 16px;
    line-height: 2;
    color: #151912;
    text-align: center;
    flex: 0 0 auto;
}

[class^="c-order__product__item__box__text-"][class*="-name"] {
    width: 100%;
    font-size: 15px;
    text-align: left;
    flex: 0 1 auto;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
}

[class^="c-order__product__item__box__text-"][class*="-price"],
[class^="c-order__product__item__box__text-"][class*="-count"],
[class^="c-order__product__item__box__text-"][class*="-selectCount"],
[class^="c-order__product__item__box__text-"][class*="-total"] {
    width: 135px;
}

/**刪除鈕**/
.c-order__product__item__del {
    width: 10px;
    margin: 0 15px;
    flex: 0 0 auto;
}

/**小計**/
.c-order__subtotal {
    display: block;
    width: 100%;
}

.c-order__subtotal__box {
    display: block;
    width: 100%;
    padding: 45px 35px;
}

.c-order__subtotal__box__item {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    margin: 0 0 30px 0;
}

.c-order__subtotal__box__item:last-child {
    margin: 0;
}

.c-order__subtotal__box__item__title {
    display: block;
    width: auto;
    margin: 0 10px 0 0;
    font-size: 18px;
    line-height: 1;
    color: #151912;
    font-family: "NotoSansTC-M";
    text-align: right;
    flex: 0 0 auto;
}

.c-order__subtotal__box__item__title .green {
    padding: 0 2.5px;
    color: #1b590c;
}

.c-order__subtotal__box__item__price {
    display: block;
    width: auto;
    min-width: 185px;
    font-size: 16px;
    line-height: 1;
    color: #151912;
    text-align: right;
    flex: 0 1 auto;
}

.c-order__subtotal__total {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    padding: 20px 35px 0 35px;
    border-top: 1px solid rgba(101, 93, 91, .3);
}

.c-order__subtotal__total__title {
    display: block;
    width: auto;
    margin: 0 10px 0 0;
    font-size: 18px;
    line-height: 1;
    color: #151912;
    font-family: "NotoSansTC-M";
    text-align: right;
    flex: 0 0 auto;
}

.c-order__subtotal__total__price {
    display: block;
    width: auto;
    min-width: 185px;
    font-size: 25px;
    line-height: 1;
    color: #151912;
    font-family: "NotoSansTC-M";
    text-align: right;
    flex: 0 1 auto;
}

@media screen and (max-width: 1500px) {

    /****訂單明細****/
    /**表頭**/
    [class^="c-order__head__text-"][class*="-price"],
    [class^="c-order__head__text-"][class*="-count"],
    [class^="c-order__head__text-"][class*="-total"] {
        width: 60px;
    }

    /**商品細項**/
    [class^="c-order__product__item__box__text-"][class*="-price"],
    [class^="c-order__product__item__box__text-"][class*="-count"],
    [class^="c-order__product__item__box__text-"][class*="-selectCount"],
    [class^="c-order__product__item__box__text-"][class*="-total"] {
        width: 60px;
    }
}

@media screen and (max-width: 991px) {

    /****訂單明細****/
    /**表頭**/
    [class^="c-order__head__text-"][class*="-price"],
    [class^="c-order__head__text-"][class*="-count"],
    [class^="c-order__head__text-"][class*="-total"] {
        width: 100px;
    }

    /**商品細項**/
    .c-order__product__item__pic {
        width: 120px;
        margin: 0 15px 0 0;
    }

    /**商品細項**/
    [class^="c-order__product__item__box__text-"][class*="-price"],
    [class^="c-order__product__item__box__text-"][class*="-count"],
    [class^="c-order__product__item__box__text-"][class*="-selectCount"],
    [class^="c-order__product__item__box__text-"][class*="-total"] {
        width: 100px;
    }

    /**小計**/
    .c-order__subtotal__box {
        padding: 35px 0;
    }

    .c-order__subtotal__total {
        padding: 20px 0 0 0;
    }
}

@media screen and (max-width: 767px) {

    /****訂單明細****/
    /**小計**/
    .c-order__subtotal__box__item__price {
        width: 100%;
        min-width: 0;
    }

    .c-order__subtotal__total {
        padding: 25px 0 0 0;
    }

    .c-order__subtotal__total__price {
        width: 100%;
        min-width: 0;
    }
}

@media screen and (max-width: 575px) {

    /****訂單明細****/
    /**表頭**/
    .c-order__head {
        display: none;
    }

    /**商品細項**/
    .c-order__product__item {
        padding: 20px 0;
    }

    .c-order__product__item__pic {
        width: calc(30% - 10px);
        min-width: 85px;
        margin: 0 10px 0 0;
    }

    .c-order__product__item__box {
        flex-wrap: wrap;
        width: 70%;
        max-width: calc(100% - 95px);
    }

    [class^="c-order__product__item__box__text-"][class*="-name"] {
        font-size: 14px;
    }

    [class^="c-order__product__item__box__text-"][class*="-price"],
    [class^="c-order__product__item__box__text-"][class*="-count"] {
        width: auto;
        text-align: left;
    }

    [class^="c-order__product__item__box__text-"][class*="-price"]::before {
        content: '$';
    }

    [class^="c-order__product__item__box__text-"][class*="-count"]::before {
        content: 'x';
        padding: 0 2.5px;
    }

    [class^="c-order__product__item__box__text-"][class*="-selectCount"] {
        margin: 15px 0 15px auto;
    }

    [class^="c-order__product__item__box__text-"][class*="-total"] {
        display: none;
    }

    /**刪除鈕**/
    .c-order__product__item__del {
        margin: 0;
        order: -10;
    }

    /**小計**/
    .c-order__subtotal__box {
        padding: 25px 0;
    }

    .c-order__subtotal__box__item {
        margin: 0 0 20px 0;
    }

    .c-order__subtotal__box__item__title {
        font-size: 15px;
    }

    .c-order__subtotal__box__item__text {
        font-size: 16px;
    }

    .c-order__subtotal__total__title {
        font-size: 15px;
    }

    .c-order__subtotal__total__price {
        font-size: 18px;
    }
}



/****IOS樣式****/
@supports (-webkit-touch-callout: none) {}