@charset "UTF-8";

header,
footer,
.crumb {
    display: none;
}

main {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-end;
    justify-content: flex-end;
    min-height: 100vh;
    padding: 0;
}

/****購物車步驟條***/
.cart__step {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-start;
    justify-content: flex-start;
    margin: 0 0 50px 0;
    border-bottom: 2px solid #dfdfdf;
}

.cart__step__item {
    min-width: 170px;
    font-size: 15px;
    color: #dfdfdf;
    font-family: 'NotoSerifTC-M', 'Microsoft JhengHei', 'PingFang', sans-serif;
    padding: 0 0 25px 0;
    margin: 0 0 -2px 0;
    border-bottom: 2px solid transparent;
    overflow: hidden;
    counter-increment: item;
}

.cart__step__item::before {
    content: "Step\00A0"counter(item, decimal-leading-zero) "\00A0/";
    display: block;
    font-size: 20px;
    line-height: 1;
    margin: 0 0 5px 0;
    font-family: 'Times New Roman', Times, serif;
}

.cart-step1 .cart__step__item:nth-of-type(1),
.cart-step2 .cart__step__item:nth-of-type(2),
.cart-step3 .cart__step__item:nth-of-type(3),
.cart-step4 .cart__step__item:nth-of-type(4) {
    color: #333;
    border-color: #a40000;
}

/****購物車****/
.cart__item {
    width: 100%;
    max-width: 1300px;
    min-height: 100vh;
    margin: 0 0 0 auto;
    padding: 40px 100px 80px 190px;
    background: #fff;
    box-shadow: -20px 0 65px rgba(0, 0, 0, .25);
}

.cart__item::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 35px;
    width: 551px;
    height: 474px;
    background: url(../images/cart/cart_acc01.png) top center no-repeat;
    background-size: contain;
}

.cart__item__acc {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 100%;
    background: #111;
}

.cart__item__acc__pic {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    margin: 30px auto 0 auto;
}

.cart__item__acc__pic img {
    object-fit: contain;
    object-position: center;
    width: 45%;
    height: 45%;
    filter: brightness(100);
}

.cart__item__acc__pic__count {
    position: absolute;
    top: -4px;
    right: -4px;
    left: calc(100% - 12px);
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: auto;
    color: #fff;
    background: #111;
    padding: 5px;
    font-size: 12px;
    line-height: 1;
    font-family: 'Calibri-L', 'Times New Roman', Times, serif;
}

/**表格填寫區塊**/
.cart__item__inner__box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: center;
    justify-content: space-between;
    padding: 25px 55px 15px 55px;
}

.cart__item__inner__box .two,
.cart__item__inner__box input.two,
.cart__item__inner__box select.two {
    width: calc(50% - 6px);
}

.cart__item__inner__box__text {
    width: 100%;
    font-size: 14px;
    line-height: 1.2;
    font-weight: bold;
    color: #3f3f3f;
    margin: 0 0 15px 0;
}

.cart__item__inner__box__address {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: center;
    justify-content: space-between;
    width: 100%;
}

.cart__item__inner__box__address select {
    width: calc(50% - 6px);
}

/**按鈕區域**/
.cart__item__inner__bt {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-end;
    justify-content: flex-end;
    padding: 25px 0 0 0;
    border-top: 1px solid #e5e5e5;
}

.cart__item__inner__bt [class|="c-bt"] {
    display: flex;
    min-width: 140px;
    padding: 15.5px 20px;
    margin: 0 0 0 10px;
}

/**關閉鈕**/
.cart .c-close {
    top: 30px;
    right: 25px;
    width: 40px;
    height: 40px;
    z-index: 999;
}

/****===========================****/
/****========確認清單資訊=======****/
/****==========================****/
/**確認清單資訊表頭**/
.cart__list__head {
    display: flex;
    align-items: center;
    align-content: center;
    width: 100%;
    background: #eee;
    padding: 12px 0;
}

[class|="cart__list__head__title"] {
    font-size: 14px;
    color: #333;
    line-height: 1;
    font-family: 'NotoSerifTC', 'Microsoft JhengHei', 'PingFang', sans-serif;
}

.cart__list__head__title-name {
    width: calc(100% - 300px);
    padding: 0 20px;
}

.cart__list__head__title-price {
    width: 90px;
    text-align: center;
}

.cart__list__head__title-quantity {
    width: 90px;
    text-align: center;
}

.cart__list__head__title-subtotal {
    width: 90px;
    text-align: center;
}

/**確認清單資訊物件**/
.cart__list__item {
    display: flex;
    align-items: center;
    align-content: center;
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.cart__list__item:nth-last-child(2) {
    border: none;
}

.cart__list__item__pic {
    width: 135px;
}

.cart__list__item__name {
    width: calc(100% - 435px);
    padding: 0 20px;
    font-size: 15px;
    line-height: 1;
    color: #3f3f3f;
    font-family: 'NotoSerifTC-M', 'Microsoft JhengHei', 'PingFang', sans-serif;
    text-align: left;
}

.cart__list__item__price {
    width: 90px;
    font-size: 18px;
    font-family: 'Times New Roman', 'NotoSerifTC', Times, serif;
    text-align: center;
    color: #3f3f3f;
}

.cart__list__item__price::before {
    content: '$';
    display: inline-block;
    margin: 0 3.5px 0 0;
}

.cart__list__item .c-quantity {
    width: 90px;
    background-color: #fff;
    border: 1px solid #ccc;
    font-size: 18px;
    font-weight: normal;
    padding: 5px 10px;
}

.cart__list__item__quantity {
    width: 90px;
    font-size: 18px;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
}

.cart__list__item__del {
    width: 120px;
    text-align: center;
}

.cart__list__head__subtotal {
    width: 65px;
    font-size: 18px;
    font-family: 'Times New Roman', 'NotoSerifTC', Times, serif;
    text-align: right;
    color: #3f3f3f;
}

.cart__list__head__subtotal::before {
    content: '$';
    display: inline-block;
    margin: 0 3.5px 0 0;
}

.cart__list__item__del__bt {
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    padding: 5px 10px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    background: #a0a0a0;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color .4s ease-in-out;
}

.cart__list__item__del__bt:hover {
    background: #a40000;
}

/****===========================****/
/****==========填寫資料=========****/
/****==========================****/
.cart__shipping .companyTitle,
.cart__shipping .taxId {
    display: none;
}

.cart__shipping__price {
    border-top: 1px solid #e5e5e5;
}

.cart__shipping__price__inner {
    width: 50%;
    margin: 0 0 0 auto;
    padding: 0 0 0 6px;
}

.cart__shipping__price__inner__discount {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    margin: 0 0 30px 0;
}

.cart__shipping__price__inner__discount input[type="text"] {
    width: calc(100% - 90px);
    margin: 0 10px 0 0;
}

.cart__shipping__price__inner__discount [class|="c-bt"] {
    width: 80px;
    padding: 14px 10px;
}

.cart__shipping__price__inner__item {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    line-height: 1;
    color: #333;
    margin: 0 0 10px 0;
}

.cart__shipping__price__inner__item__title {
    width: 100%;
    text-align: left;
    font-size: 14px;
    font-family: 'NotoSerifTC', 'Microsoft JhengHei', 'PingFang', sans-serif;
}

.cart__shipping__price__inner__item__text {
    width: calc(100% - 100px);
    text-align: right;
    font-size: 18px;
    font-family: 'Times New Roman', Times, serif;
}

.cart__shipping__price__inner__item__text::before {
    content: '$';
}

.cart__shipping__price__inner__item__text-discount::before {
    content: '-$';
}

.cart__shipping__total {
    border-top: 1px solid #e5e5e5;
    padding: 20px 55px;
}

.cart__shipping__total__inner {
    width: 50%;
    margin: 0 0 0 auto;
    padding: 0 0 0 6px;
}

.cart__shipping__total__inner__item {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    line-height: 1;
    color: #333;
    margin: 0;
}

.cart__shipping__total__inner__item__title {
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-family: 'NotoSerifTC', 'Microsoft JhengHei', 'PingFang', sans-serif;
}

.cart__shipping__total__inner__item__text {
    width: calc(100% - 100px);
    text-align: right;
    font-size: 22px;
    font-family: 'Times New Roman', Times, serif;
}

.cart__shipping__total__inner__item__text::before {
    content: '$';
}

/****===========================****/
/****========選擇付款方式=======****/
/****==========================****/
.cart__payment {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: center;
    justify-content: space-between;
}

.cart__payment__item {
    width: calc(50% - 25px);
}

.cart__payment__item__order {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-start;
    justify-content: flex-start;
    padding: 15px 0;
    counter-increment: item;
    border-bottom: 2px dotted #c9c9c9;
}

.cart__payment__item__order::before {
    content: counter(item, decimal);
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin: 0 15px 0 0;
    font-size: 14px;
    line-height: 1;
    color: #333;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    background: #eee;
    border-radius: 50%;
}

.cart__payment__item__order__name {
    width: calc(100% - 165px);
    text-align: left;
    font-size: 14px;
    line-height: 1;
    font-family: 'NotoSerifTC-M', 'Microsoft JhengHei', 'PingFang', sans-serif;
    color: #3f3f3f;
}

.cart__payment__item__order__quantity {
    width: 50px;
    text-align: center;
    font-size: 14px;
    line-height: 1;
    color: #3f3f3f;
    font-weight: bold;
}

.cart__payment__item__order__quantity::before {
    content: 'X';
    display: inline-block;
    margin: 0 2.5px 0 0;
}

.cart__payment__item__order__price {
    width: 75px;
    font-size: 18px;
    line-height: 1;
    color: #3f3f3f;
    text-align: right;
    font-family: 'Times New Roman', Times, serif;
}

.cart__payment__item__order__price::before {
    content: '$';
    display: inline-block;
    margin: 0 2.5px 0 0;
}

.cart__payment__item .cart__shipping__price {
    margin: 20px 0;
    border-top: none;
}

.cart__payment__item .cart__shipping__total {
    padding: 20px 0;
}

.cart__payment__item__payway {
    margin: 25px auto;
    border: 1px solid #dfdfdf;
    border-radius: 10px;
}

.cart__payment__item__payway__way {
    padding: 15px;
    border-bottom: 1px solid #dfdfdf;
}

.cart__payment__item__payway__way:last-of-type {
    border: none;
}

.c-radio.cart__payment__item__payway__way {
    margin: 0;
}

.cart__payment__item__payway__way__pic {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-end;
    justify-content: flex-end;
}

.cart__payment__item__payway__way__pic img {
    width: auto;
    height: 14px;
    margin: 0 0 0 15px;
}

.cart__payment .cart__item__inner__bt {
    width: 100%;
}

/****===========================****/
/****==========購物完成=========****/
/****==========================****/
.cart__finish__info {
    text-align: center;
    margin: 0 0 50px 0;
    font-size: 14px;
    color: #3f3f3f;
    font-family: 'NotoSerifTC', 'Microsoft JhengHei', 'PingFang', sans-serif;
}

.cart__finish__info__number {
    margin: 0 auto 35px auto;
    line-height: 1.5;
}

.cart__finish__info__number__main {
    display: block;
    width: 100%;
    font-size: 25px;
    line-height: 1;
    margin: 15px auto 0 auto;
    color: #bd3d20;
    font-family: 'Times New Roman', Times, serif;
}

.cart__finish__info__notice,
.cart__finish__info__notice p {

    font-size: 14px;
    color: #3f3f3f;
    line-height: 1.5;
    font-family: 'NotoSerifTC', 'Microsoft JhengHei', 'PingFang', sans-serif;
}

.cart__finish__info__notice {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 50px;
    background: #f6f6f6;
}

.cart__finish__info__notice p {
    margin: 0 auto 15px auto;
}

.cart__finish__info__notice b {
    font-family: 'NotoSerifTC-B', 'Microsoft JhengHei', 'PingFang', sans-serif;
}

.cart__finish__info__notice .red {
    color: #bd3d20;
}

.cart__finish .cart__shipping__price {
    border: none;
}

.cart__finish .cart__shipping__total {
    margin: 0 auto 50px auto;
}

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

    /****購物車****/
    .cart__item {
        padding: 40px 70px 80px 110px;
    }
}

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

    /****購物車步驟條***/
    .cart__step {
        margin: 0 0 20px 0;
    }

    .cart__step__item {
        max-width: 0;
        min-width: 0;
        height: 0;
        padding: 0;
    }

    .cart-step1 .cart__step__item:nth-of-type(1),
    .cart-step2 .cart__step__item:nth-of-type(2),
    .cart-step3 .cart__step__item:nth-of-type(3),
    .cart-step4 .cart__step__item:nth-of-type(4) {
        max-width: none;
        min-width: 170px;
        height: auto;
        padding: 0 0 15px 0;
    }

    /****購物車****/
    .cart__item {
        margin: 0 0 0 auto;
        padding: 85px 30px;
    }

    .cart__item::before {
        display: none;
    }

    .cart__item__acc {
        width: 100%;
        height: 65px;
    }

    .cart__item__acc__pic {
        width: 45px;
        height: 45px;
        border: 1.5px solid #fff;
        border-radius: 50%;
        margin: 10px auto 0 30px;
    }

    /**表格填寫區塊**/
    .cart__item__inner__box {
        padding: 25px 0 15px 0;
    }

    .cart__item__inner__box .two,
    .cart__item__inner__box input.two,
    .cart__item__inner__box select.two {
        width: 100%;
    }

    /**關閉鈕**/
    .cart .c-close {
        top: 12.5px;
        right: 30px;
        background-image: url(../images/common/icon_close_black.svg);
        background-color: #fff;
    }

    /****===========================****/
    /****========確認清單資訊=======****/
    /****==========================****/
    .cart__list__head {
        display: none;
    }

    .cart__list__item {
        display: block;
        padding: 40px;
        border: 1px solid #e5e5e5;
        margin: 0 auto 50px auto;
    }

    .cart__list__item,
    .cart__list__item:nth-last-child(2) {
        border: 1px solid #e5e5e5;
    }

    .cart__list__item__pic {
        width: 100%;
        margin: 0 auto 20px auto;
    }

    .cart__list__item__name {
        width: 100%;
        padding: 0;
        margin: 0 auto 20px auto;
    }

    .cart__list__item__price {
        width: 100%;
        font-size: 14px;
        text-align: left;
        margin: 0 auto 20px auto;
    }

    .cart__list__item__price::before {
        content: '價格\00A0\00A0\00A0$';
    }

    .cart__list__item .c-quantity {
        width: 100%;
        margin: 0 auto 20px auto;
    }

    .cart__list__item__del {
        width: 100%;

    }

    .cart__list__item__del__bt {
        width: 100%;
    }

    /****===========================****/
    /****==========填寫資料=========****/
    /****==========================****/
    .cart__shipping__total {
        padding: 20px 0;
    }

    .cart__shipping__price__inner,
    .cart__shipping__total__inner {
        width: 100%;
        padding: 0;
    }

    /****===========================****/
    /****========選擇付款方式=======****/
    /****==========================****/
    .cart__payment__item {
        width: 100%;
        margin: 0 0 35px 0;
    }

    /****===========================****/
    /****==========購物完成=========****/
    /****==========================****/
    .cart__finish .cart__list__item__price {
        margin: 0 auto 10px auto;
    }

    .cart__finish .cart__list__item__quantity {
        width: 100%;
        text-align: left;
    }

    .cart__finish .cart__list__item__quantity::before {
        content: '數量';
        display: inline-block;
        font-size: 14px;
        margin: 0 10px 0 0;
        font-family: 'NotoSerifTC', 'Microsoft JhengHei', 'PingFang', sans-serif;
    }

    .cart__list__head__subtotal {
        display: none;
    }

    .cart__finish .cart__shipping__price {
        padding: 0 0 20px 0;
    } .cart__finish
    .cart__shipping__total{
        padding: 20px 0;
        margin: 0 0 30px 0;
    }
}

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

    /****購物車****/
    .cart__item {
        padding: 85px 15px 35px 15px;
    }

    .cart__item__acc__pic {
        margin: 10px auto 0 15px;
    }

    /**表格填寫區塊**/
    .cart__item__inner__box__address select {
        width: 100%;
    }

    .cart__item__inner__bt {
        flex-wrap: wrap;
    }

    .cart__item__inner__bt [class|="c-bt"] {
        width: 100%;
        margin: 0 0 10px 0;
    }

    .cart__item__inner__bt [class|="c-bt"][class*="-back"] {
        order: 2;
    }

    /**關閉鈕**/
    .cart .c-close {
        right: 15px;
    }

    /****===========================****/
    /****========確認清單資訊=======****/
    /****==========================****/
    .cart__list__item {
        margin: 0 auto 30px auto;
    }

    .cart__list__item__name {
        margin: 0 auto 10px auto;
    }

    /****===========================****/
    /****==========購物完成=========****/
    /****==========================****/
    .cart__finish__info {
        margin: 0 auto 30px auto;
    }

    .cart__finish__info__notice {
        padding: 30px 15px;
    }
}

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

    main,
    .cart__item {
        min-height: calc(100vh - 30px);
    }
}