﻿@charset "utf-8";
.cart-wrap {
    width: 100%;
    height: 100%;
    background-color: #f2f5f8;
    margin-top: 5px;
    margin-bottom: 0px;
}

.cart-wrap h1 {
    text-align: center;
    margin: 20px 0;
    font-size: 24px;
    color: #333;
}

.cart-wrap h2 {
    margin: 5px 0;
    font-size: 18px;
    color: #333;
}

.container-cart {
    max-width: 1040px;
    margin: 0px auto;
    /*display: flex;*/
    gap: 20px;
}

.cart, .summary {
    
    background-color: white;
    padding: 24px;
    border-radius: 12px;
}

.cart-delete {
    display: flex;
    background-color: white;
    padding: 14px;
    border-radius: 12px;
}
.cart-delete-btn {
    margin-left: auto;
    width: 100px;    
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
    border-radius: 6px;
}


.cart-delete-btn:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

.summary {
    margin-top: 10px;
    flex: 1;
    height: fit-content;
}

.cart-item-group {
    margin-bottom: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.cart-dist {
    font-size: 14px;
    color: #808080;
    
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px 0;
}

.cart-item img {
    width: 64px;
    height: 83px;
    object-fit: cover;
    border-radius: 6px;
    margin-left: 10px;
    margin-right: 16px;
}

.cart-item-info {
    flex: 1;
    display: flex;
    align-items: center;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    text-align: center;
    border: none;
    background: #f1f1f1;
    border-radius: 50%;
    cursor: pointer;
}
.cart-summary {
    
    background-color: white;
    padding: 50px;
    border-radius: 12px;
}

.cart-summary .cart-price-info {
    border-top: 1px solid #eee;
    margin-top: 16px;
    padding-top: 16px;
}

.cart-summary .cart-price-row {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 18px;
}

.cart-summary .cart-total {
    font-weight: bold;
    font-size: 20px;
    color: #333;
    margin-top: 10px;
}

.cart-order-btn {
    width: 100%;
    padding: 14px;
    background-color: #6c2cb9;
    color: white;
    font-size: 18px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    margin-top: 20px;
    cursor: pointer;
}

.cart-tag {
    background-color: #eef8f6;
    color: #37a18c;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
}

.cart-checkbox {
    margin-right: 10px;
    width: 20px;
    height: 20px;   
    box-sizing: border-box;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.cart-total-box {
    background: #ffffff;    
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 40px;
    text-align: right;
}

.cart-total-box .priceparcel {
    font-size: 14px;
    font-weight: bold;
    color: #808080;
}

.cart-total-box .price {
    font-size: 18px;
    font-weight: bold;
}



/*주문 페이지 시작*/
.order-wrap {
    
    width: 100%;
    
    background-color: #ffffff;
    margin-top: 5px;
    margin-bottom: 0px;
}

.order-wrap h1 {
    text-align: center;
    margin: 20px 0;
    font-size: 24px;
    color: #333;
}

.order-wrap h2 {
    margin: 5px 0;
    font-size: 20px;
    color: #333;
}

.order-wrap h3 {
    font-weight: 500;
    font-size: 18px;
    color: #333;
    padding: 20px 0;
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
}

.order-cart-toggle {
    display: flex;
    max-width: 1040px;
    margin: 0px auto;
    font-weight: 500;
    font-size: 18px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000;
    padding: 10px 0;
    
}

.order-cart-toggle-narrow {
    
    cursor: pointer;
}

.order-info-area {
    max-width: 1040px;
    margin: 0px auto;
}

.order-info-area table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 0px;
    /*border: 1px solid #ddd;*/
}


.order-info-area th, td {
    text-align: left;
    padding: 10px 0;

    /*padding-bottom: 10px;    */
    vertical-align: middle;
}

.order-info-area th {
    width: 200px;
    color: #000;
    font-weight: normal;
}

.Order_Input_L {
    font-family: 'Spoqa Han Sans', 'Spoqa Han Sans JP', 'Sans-serif';
    height: 44px;
    padding: 0px 11px 1px 15px;
    border-radius: 4px;
    border: 1px solid rgb(221, 221, 221);
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: rgb(51, 51, 51);
    outline: none;
    box-sizing: border-box;
}

.Order_Input_L:hover {
    border: 1px solid #000;
}

.order-addr-btn {
    margin-left: auto;
    margin-right: 0px;
    width: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
}

.order-addr-btn:hover {
    background-color: #f5f5f5;
    border-color: #999;
}


.order-payment {
    width: 1040px;    
    margin: 0px auto;
    background-color: #f2f5f8;
    padding: 50px;
    border-radius: 12px;
}

.order-payment .order-price-info {
    border-top: 1px solid #eee;
    margin-top: 16px;
    padding-top: 16px;
}


.order-payment .order-payment-row {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 18px;
}
/*주문 페이지 끝*/

/*결과페이지 시작*/
.result-container {
    background-color: #f5f2f6;
    max-width: 600px;
    margin: 50px auto;
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
}

.result-checkmark {
    font-size: 40px;
    color: #6b2eb9;
    margin-bottom: 20px;
}

.result-title {
    font-size: 20px;
    font-weight: 500;
}

.result-subtitle {
    font-size: 16px;
    margin-bottom: 50px;
}

.result-notice-box {
    background: #f3ebe1;
    color: #333;
    padding: 15px;
    border-radius: 6px;
    font-size: 13px;
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.4;
}

.result-notice-box b {
    display: block;
    margin-bottom: 5px;
}

.result-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
    margin-bottom: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.result-btn-outline {
    border: 1px solid #ccc;
    background: white;
    color: #333;
}

.result-btn-purple {
    background: #6b2eb9;
    color: white;
    border: none;
}
/*결과페이지 끝*/



/*주문견적내역 시작*/
.mypage-wrap {
    width: 100%;
    height: 100%;
    background-color: #f2f5f8;
    margin-top: 5px;
    margin-bottom: 0px;
}

.mypage-wrap h1 {
    text-align: center;
    margin: 20px 0;
    font-size: 24px;
    color: #333;
}

.mypage-wrap h2 {
    margin: 5px 0;
    font-size: 18px;
    color: #333;
}

.container-mypage {
    max-width: 1040px;
    margin: 0px auto;
    /*display: flex;*/
    gap: 20px;
}

.mypage-pagenavi {
    display: flex;
    background-color: white;
    padding: 14px;
    border-radius: 12px;
    margin-top:20px;
}

.mypage-order {
    display: flex;
    background-color: white;
    padding: 14px;
    border-radius: 12px;
}


.mypage-order thead th {
    height: 50px;
    text-align: center;
    vertical-align: middle;
    padding-top:8px;
    font-weight: normal;
    font-size: 14px;
    color: #666;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
}

.mypage-order tr {
        
    border-bottom: solid 1px #ddd;
}

.td-left {
    text-align: left;
}

.td-center {
    text-align: center;
}

.td-right {
    text-align: right;
}

.mypage-request {
    display: flex;
    background-color: white;
    padding: 14px;
    border-radius: 12px;
}

.mypage-draft-request {
    width: 100%;
    display: flex;
    background-color: white;
    padding: 14px;
    border-radius: 12px;
    justify-content: center;
    font-size: 16px;
    border: solid 1px #ddd;
}

.mypage-request-wrap {
    width: 1040px;
}

.mypage-order-wrap {
    width: 1040px;
}

.mypage-order-cont {
    width: 1040px;
}

.mypage-order-list {
    background-color: white;
    padding: 14px;
    border-radius: 12px;
    border: solid 1px #ddd;
    margin-bottom: 0px;
}

.mypage-order-status {
    height: 30px;
    text-align: left;
    padding-top: 10px;
    font-weight: 500;
    font-size: 16px;
    color: #6c2cb9;
    margin-bottom: 0px;
}

.mypage-order-item {
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #ddd;
    padding: 10px 0;
}

.mypage-order-item:first-of-type {
    border-top: none;        
}

.mypage-order-item img {
    width: 64px;
    height: 83px;
    object-fit: cover;
    border-radius: 6px;
    margin: 0 16px 0 0;
}

.mypage-order-item-info {
    flex: 1;
    display: flex;
    align-items: center;
}
.mypage-order-dist {
    font-size: 14px;
    color: #808080;
}

.mypage-order-date {
    font-size: 16px;
    font-weight:500;
    color: #000;
}
.mypage-order-num {
    font-size: 14px;
    color: #808080;
    border-bottom: 1px solid #ddd;
    padding-top: 2px;
    padding-bottom: 10px;
}

.mypage-order-cancel button {
    width: 120px;
    background: #efefef;
    color: #000;
    border: none;
    padding: 5px 10px;
    font-size: 15px;
    
    cursor: pointer;
    margin-top: 10px;
    border-radius: 4px;
}