@charset "utf-8";

/* CSS Document */

/*cart*/

/*step1*/

.step1 .cart_gomenu {
    text-align: right;
}

.step1 .cart_gomenu .member_join_btn {
    background: var(--Omain_color);
    color: #ffffff;
    display: inline-block;
    padding: 3px 40px;
    transition: 0.5s;
}

.step1 .cart_gomenu .member_join_btn:hover {
    opacity: 0.8;
}

.stitle {
    background: var(--Gtxt_color);
    color: #ffffff;
    margin: 20px 0px;
    padding: 5px 0px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.stitle span {}

.stitle-new-style {
    padding: 5px 10px;
    padding-left: 30px;
}

#cart_item_list .list {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.cart .step1 .stitle span,
#cart_item_list .list div {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    font-size: 16px;
    padding: 0 3px;
}

.stitle span:nth-child(1) {
    width: 30%;
    flex: 1;
    padding-left: 100px;
}

#cart_item_list .list>div:nth-child(1) {
    width: 14%;
    padding: 0;
}

#cart_item_list .list>div:nth-child(1) img {
    height: 150px;
    width: fit-content;
}

#cart_item_list .list>div:nth-child(2) {
    width: 16%;
    font-size: 18px;
}

.cart .step1 .stitle span:nth-child(2),
#cart_item_list .list>div:nth-child(3) {
    width: 17%;
    font-size: 18px;
}

.cart .step1 .stitle span:nth-child(3),
#cart_item_list .list>div:nth-child(4) {
    width: 15%;
    font-size: 18px;
}

.cart .step1 .stitle span:nth-child(4),
#cart_item_list .list>div:nth-child(5) {
    width: 15%;
}

#cart_item_list .list>div:nth-child(5) input {
    width: 70%;
}

.cart .step1 .stitle span:nth-child(5),
#cart_item_list .list>div:nth-child(6) {
    width: 9%;
    font-size: 18px;
}

.cart .step1 .stitle span:nth-child(6) {
    width: 9%;
    color: #fff;
}

#cart_item_list .list>div:nth-child(6)>input {
    width: 100%;
    height: 40px;
    text-align: center;
}

#cart_item_list .list>div:nth-child(7) {
    width: 9%;
    font-size: 18px;
}

.cart .step1 .stitle span:nth-child(7) {
    width: 5%;
    color: #fff;
}

#cart_item_list .list>div:nth-child(8):hover {
    color: #333333;
}

#cart_item_list .list>div:nth-child(8) {
    width: 5%;
    color: #727171;
    font-size: 18px;
    text-align: center;
}

#cart_item_list .list>div:nth-child(8) {
    cursor: pointer;
    transition: 0.5s;
}

#cart_item_list .list>div:nth-child(8):hover {
    color: #333333;
}

@media screen and (max-width: 1200px) {
    .page-buy {
        width: 95%;
        margin: auto;
    }
}

@media screen and (max-width: 1024px) {
    #cart_item_list .list>div:nth-child(1) img {
        height: 13vw;
    }
}

@media screen and (max-width: 800px) {
    .stitle {
        justify-content: center;
        padding: 5px 10px;
    }

    .step1 .stitle::before {
        content: '訂購商品明細';
        position: relative;
    }

    .cart .step1 .stitle span {
        display: none;
    }

    #cart_item_list .list {
        margin: 10px auto;
        padding: 20px 10px;
        position: relative;
        border: 1px solid #f3f3f3;
        border-radius: 1em;
        background: #fff;
    }

    #cart_item_list .list>div:nth-child(1) {
        width: 160px;
        padding: 0;
    }

    #cart_item_list .list>div:nth-child(1) img {
        height: 150px;
    }

    #cart_item_list .list>div:nth-child(2) {
        width: calc(100% - 160px);
        justify-content: flex-start;
        padding-left: 20px;
    }

    #cart_item_list .list>div:nth-child(3),
    #cart_item_list .list>div:nth-child(4),
    #cart_item_list .list>div:nth-child(5),
    #cart_item_list .list>div:nth-child(6),
    #cart_item_list .list>div:nth-child(7) {
        width: 100%;
        justify-content: flex-start;
        padding-left: calc(160px + 20px);
        padding-top: 5px;
        line-height: 26px;
        font-size: 18px;
    }

    #cart_item_list .list>div:nth-child(3)::before {
        content: '價格:';
        position: relative;
        margin-right: 5px;
        line-height: 26px;
    }

    #cart_item_list .list>div:nth-child(4)::before {
        content: '款式:';
        position: relative;
        margin-right: 5px;
        line-height: 26px;
    }

    #cart_item_list .list>div:nth-child(5)::before {
        content: '單位:';
        position: relative;
        margin-right: 5px;
        line-height: 26px;
    }

    #cart_item_list .list>div:nth-child(6)::before {
        content: '數量:';
        position: relative;
        margin-right: 5px;
        line-height: 26px;
    }

    #cart_item_list .list>div:nth-child(6)>input {
        width: auto;
    }

    #cart_item_list .list>div:nth-child(7)::before {
        content: '小計:';
        position: relative;
        margin-right: 5px;
        line-height: 26px;
    }

    #cart_item_list .list>div:nth-child(7) {
        color: red;
        justify-content: flex-end;
    }

    #cart_item_list .list>div:nth-child(8) {
        width: 40px;
        height: 25px;
        position: absolute;
        top: 20px;
        right: 10px;
        background-color: #e3e3e3;
        border-radius: 10px;
        line-height: 23px;
        font-size: 16px;
    }

    #cart_item_list .list>div:nth-child(5) input {
        width: 100px;
    }
}

@media screen and (max-width: 500px) {
    #cart_item_list .list>div:nth-child(1) {
        width: 35%;
    }

    #cart_item_list .list>div:nth-child(1) img {
        height: 30vw;
    }

    #cart_item_list .list>div:nth-child(2) {
        width: 60%;
        font-size: 16px;
    }

    #cart_item_list .list>div:nth-child(3),
    #cart_item_list .list>div:nth-child(4),
    #cart_item_list .list>div:nth-child(5),
    #cart_item_list .list>div:nth-child(6) {
        padding-left: calc(35% + 20px);
        font-size: 16px;
    }

    #cart_item_list .list>div:nth-child(6)>input {
        width: calc(100% - 3em);
        height: auto;
        text-align: center;
        border: 0;
        border-bottom: 1px solid #000;
    }

    .step1 .allprice .price_title,
    .step1 .allprice span {
        font-size: 16px !important;
    }
}

.step1 .allprice {
    border-top: 1px #868686 solid;
    text-align: right;
    font-size: 16px;
    padding: 20px 0px 40px;
}

.step1 .allprice>div {
    padding: 5px 0px;
}

.step1 .allprice span {
    width: 200px;
    display: inline-block;
    font-size: 18px;
}

.step1 .allprice .price_title {
    width: 90px;
    text-align: left;
    font-size: 18px;
}

@media screen and (max-width: 500px) {
    .step1 .allprice span {
        width: 110px;
    }
}

/*step2*/

.step2 .seout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    color: #000;
    font-size: 16px;
    padding: 40px 0px;
}

.step2 .seout .left {
    text-align: left;
    width: 300px;
}

.step2 .seout .right {
    width: 300px;
    text-align: left;
}

.step2 select[name='deliver'],
.step2 select[name='pay'] {
    width: 65%;
    max-width: 210px;
    padding: 0px 10px;
    margin: 12px 12px;
    border-radius: 0px;
    color: #9e9e9e;
    border: 1px solid #d7d7d7;
    background-color: #fff;
    height: 30px;
}

@media screen and (max-width: 768px) {
    .step2 .seout {
        padding-top: 20px;
    }

    .step2 .seout .left {
        text-align: center;
        width: 100%;
    }

    .step2 .seout .right {
        text-align: center;
        width: 100%;
    }

    .step2 select[name='deliver'],
    .step2 select[name='pay'] {
        max-width: 500px;
    }
}

/*step3*/

.dsbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    color: #595757;
    font-size: 16px;
    padding: 40px 0 62px;
}

.dsbox .left,
.dsbox .right {
    width: 47.5%;
    text-align: left;
}

.dsbox .left {
    margin-right: 40px;
}

.dsbox>div .ttitle {
    font-size: 18px;
    letter-spacing: 2.5px;
    color: var(--Omain_color);
    font-weight: 600;
    margin-bottom: 27px;
    border-bottom: 1px solid #333333;
    padding-bottom: 15px;
}

.dsbox>div .ttitle button {
    background-color: var(--Omain_color);
    font-size: 15px;
    border-radius: 0;
    border: 0;
    padding: 0px 16px 0px 19px;
    letter-spacing: 2px;
    background-image: url('../images/website_image/cart/icon_arrow_black.png');
    background-position: left 10px center;
    background-size: 20px 16px;
    background-repeat: no-repeat;
    float: right;
    color: #fff;
    transition: 0.5s;
    font-weight: 400;
}

.dsbox>div .ttitle button:hover {
    opacity: 0.8;
}

.dsbox .transstyle {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.dsbox .transstyle>span {
    width: 160px;
    padding: 7px 0;
    margin: 10px 0px;
    color: #333333;
    letter-spacing: 2px;
    text-align: left;
    padding-right: 20px;
}

.dsbox .transstyle>input,
.dsbox .transstyle>textarea,
.dsbox .transstyle>select {
    padding: 7px 10px;
    margin: 10px 0px;
    border-radius: 0px;
    color: #000;
    border: 1px solid #cacaca;
    background-color: #fff;
    width: calc(100% - 160px);
    max-width: 90%;
    height: 41px;
}

.dsbox .transstyle>textarea {
    height: 100px;
}

.dsbox .transstyle .addressbox,
.dsbox .transstyle .addressbox_detail {
    width: calc(100% - 160px);
    max-width: 90%;
}

.dsbox .transstyle .addressbox select {
    width: 31%;
    font-size: 14px;
    padding: 7px 5px;
    margin: 14px 3.5% 14px 0;
    border-radius: 0px;
    letter-spacing: 1px;
    color: #000;
    border: 1px solid #cacaca;
    background-color: #fff;
    height: 43px;
    /* -webkit-appearance: none; */
}

.dsbox .transstyle .addressbox input {
    width: 31%;
    font-size: 14px;
    padding: 7px 5px;
    letter-spacing: 1px;
    margin: 14px 0;
    border-radius: 0px;
    color: #000;
    border: 1px solid #cacaca;
    background-color: #fff;
    height: 41px;
}

.dsbox .transstyle .addressbox_detail>input {
    padding: 7px 10px;
    margin: 5px 0px 14px;
    border-radius: 0px;
    color: #000;
    border: 1px solid #d7d7d7;
    background-color: #fff;
    width: 100%;
    max-width: 100%;
    height: 41px;
}

.dsbox .transstyle .check_box {
    width: calc(100% - 160px);
    max-width: 90%;
    margin-top: 10px;
}

.dsbox .transstyle .check_box>label {
    display: inline-block;
}

.dsbox .transstyle .check_box>label>label {
    top: -1px;
    position: relative;
    margin: 0px 5px;
    margin-right: 50px;
    display: inline-block;
    font-size: 16px;
    color: #595757;
}

.dsbox .transstyle .check_box>label>input[type='checkbox'],
.dsbox .transstyle .check_box>label>input[type='radio'] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 50px;
    border: 0;
    outline: 0;
    cursor: pointer;
    width: 15px;
    height: 15px;
    background-color: #fff;
    border: 1px solid #aeaeaf;
    color: #707070;
    display: inline-block;
    position: relative;
}

.dsbox .transstyle .check_box>label>input:checked::after {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    top: 50%;
    left: 50%;
    background: #868686;
    border-radius: 50px;
    transform: translateX(-50%) translateY(-50%);
}

@media screen and (max-width: 1000px) {
    .dsbox .left {
        margin-right: 10px;
    }

    .dsbox .transstyle .check_box>label>label {
        margin-right: 20px;
    }

    .dsbox .transstyle>span {
        width: 115px;
        padding-right: 10px;
        letter-spacing: 0px;
    }

    .dsbox .transstyle>input,
    .dsbox .transstyle>textarea {
        width: calc(100% - 115px);
    }

    .dsbox .transstyle .addressbox,
    .dsbox .transstyle .addressbox_detail {
        width: calc(100% - 115px);
    }

    .dsbox .transstyle .check_box {
        width: calc(100% - 115px);
    }
}

@media screen and (max-width: 768px) {
    .dsbox {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 auto;
        color: #595757;
        font-size: 16px;
        padding: 10px 0 62px;
    }

    .dsbox .left {
        margin-right: 0px;
        margin-bottom: 40px;
    }

    .dsbox .left,
    .dsbox .right {
        width: 100%;
        text-align: left;
    }

    .dsbox .transstyle>span {
        width: 125px;
        padding-right: 20px;
        letter-spacing: 0px;
    }

    .dsbox .transstyle>input,
    .dsbox .transstyle>textarea {
        width: calc(100% - 125px);
    }

    .dsbox .transstyle .addressbox,
    .dsbox .transstyle .addressbox_detail {
        width: calc(100% - 125px);
    }

    .dsbox .transstyle .check_box {
        width: calc(100% - 125px);
    }
}

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

    .dsbox .transstyle>input,
    .dsbox .transstyle>textarea {
        width: 100%;
        max-width: 100%;
        margin: 5px 0px;
    }

    .dsbox .transstyle .addressbox,
    .dsbox .transstyle .addressbox_detail {
        width: 100%;
        max-width: 100%;
    }

    .dsbox .transstyle .check_box {
        width: 100%;
        max-width: 100%;
        margin: 5px 0px;
    }

    .dsbox .transstyle>span {
        width: 100%;
        padding: 0px;
        text-align: left;
        margin: 0px;
        margin-top: 20px;
    }

    .dsbox .transstyle .check_box>label>label {
        margin-right: 60px;
    }

    .dsbox .transstyle .addressbox select {
        margin: 5px 3.5% 5px 0;
    }

    .dsbox .transstyle .addressbox input {
        margin: 5px 0;
    }

    .dsbox .transstyle .addressbox_detail>input {
        margin: 0px 0px 20px;
    }
}

.btnout {
    text-align: center;
    padding: 0 0 100px;
}

.btnout .reset_btn {
    background: var(--Omain_color);
    border: unset;
    color: #ffffff;
    padding: 6px 40px;
    font-size: 18px;
    font-weight: 600;
    margin-right: 40px;
    transition: 0.5s;
}

.btnout .reset_btn:hover {
    opacity: 0.8;
}

.btnout .cart_join_btn {
    background: var(--Omain_color);
    border: unset;
    color: #ffffff;
    padding: 6px 40px;
    font-size: 18px;
    font-weight: 600;
    transition: 0.5s;
}

.btnout .cart_join_btn:hover {
    opacity: 0.8;
}

@media screen and (max-width: 1000px) {
    .btnout .reset_btn {
        padding: 10px 40px;
        margin-right: 40px;
    }

    .btnout .cart_join_btn {
        padding: 10px 40px;
    }
}

@media screen and (max-width: 500px) {
    .btnout .reset_btn {
        padding: 10px 25px;
        margin-right: 15px;
    }

    .btnout .cart_join_btn {
        padding: 10px 25px;
    }
}