@charset "utf-8";


/* 장바구니 테이블 */
.cart-tbl {
    margin-top: 3rem;
    border-top: solid 1px var(--ccolor);
}

.cart-tbl table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.cart-tbl thead {
    background: #F9F9F9;
}
.cart-tbl th,
.cart-tbl td {
    border: 1px solid #E9E9E9;
    padding: 1rem 1rem;
}
.cart-tbl thead th {
    padding: 1.5rem 1rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #000;
    text-align: center;
    vertical-align: middle;
}
.cart-tbl tbody td {
    padding: 2rem 2rem;
    text-align: center;
    vertical-align: middle;
}

.cart-tbl .checkbox-cell {
    text-align: center;
}

.cart-tbl .product-info {
    text-align: left;
}

.cart-tbl .product-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-tbl .product-image {
    width: 7.2rem;
    height: 7.2rem;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #f5f5f5;
}

.cart-tbl .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-tbl .product-details {
    flex: 1;
}

.cart-tbl .product-name {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}
.cart-tbl .product-name a {
    text-decoration: underline;
}

.cart-tbl .product-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-tbl .option-item {
    font-size: 1.3rem;
    color: #757575;
    line-height: 1.4;
}

.cart-tbl .quantity-cell {
    text-align: center;
}

.cart-tbl .quantity {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 0.8rem;
}

.cart-tbl .btn-change-option {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1.3rem;
    color: #757575;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-tbl .btn-change-option:hover {
    background: #f5f5f5;
    border-color: #999;
}

.cart-tbl .price-cell,
.cart-tbl .discount-cell,
.cart-tbl .total-cell {
    font-size: 1.4rem;
    color: #000;
}
.cart-tbl .discount {
    font-size: 1.3rem;
    color: #999;
    text-decoration: line-through;
}
.cart-tbl .total-cell strong {
    font-weight: 600;
}

.cart-tbl .shipping-cell {
    text-align: center;
    vertical-align: middle;
}

.cart-tbl .shipping-fee {
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.cart-tbl .shipping-method {
    font-size: 1.4rem;
    color: #757575;
}

@media (max-width: 1200px) {
    .cart-tbl {
        overflow-x: auto;
    }

    .cart-tbl table {
        min-width: 920px;
    }
}





/* 배송지 관리 테이블 */
.delivery-tbl-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.delivery-tbl-top .title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
}

.delivery-tbl {
    margin-top: 0;
    border-top: solid 1px var(--ccolor);
}

.delivery-tbl table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.delivery-tbl thead {
    background: #F9F9F9;
}

.delivery-tbl th,
.delivery-tbl td {
    border: 1px solid #E9E9E9;
    padding: 1rem 1rem;
}

.delivery-tbl thead th {
    padding: 1.5rem 1rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #000;
    text-align: center;
    vertical-align: middle;
}

.delivery-tbl tbody td {
    padding: 1rem 1rem;
    text-align: center;
    vertical-align: middle;
}

.delivery-tbl .select-cell {
    text-align: center;
}


.delivery-tbl .address-name-cell {
    text-align: center;
    padding-left: 2rem;
}

.delivery-tbl .address-name {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.delivery-tbl .address-default {
    font-size: 1.3rem;
    color: #757575;
}

.delivery-tbl .address-label {
    font-size: 1.4rem;
    color: #000;
}

.delivery-tbl .recipient-cell {
    text-align: center;
    font-size: 1.4rem;
    color: #000;
}

.delivery-tbl .address-cell {
    text-align: left;
    font-size: 1.4rem;
    color: #000;
}

.delivery-tbl .contact-cell {
    text-align: left;
    font-size: 1.4rem;
    color: #000;
}

.delivery-tbl .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.delivery-tbl .contact-info div {
    font-size: 1.3rem;
    color: #000;
    line-height: 1.4;
}
.delivery-tbl .contact-info div span {
    color: #757575;
}

.delivery-tbl .action-cell {
    text-align: center;
}

.delivery-tbl .action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.delivery-tbl .btn-edit-address,
.delivery-tbl .btn-delete-address {
    padding: 0.8rem 1rem;
    font-size: 1.3rem;
    color: #000;
    background: #fff;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 6rem;
}

.delivery-tbl .btn-edit-address:hover,
.delivery-tbl .btn-delete-address:hover {
    background: #f5f5f5;
    border-color: #999;
}

.delivery-tbl .btn-delete-address {
    background: #F5F5F5;
}


@media (max-width: 1200px) {
    .delivery-tbl {
        overflow-x: auto;
    }

    .delivery-tbl table {
        min-width: 800px;
    }
}








/* 정보입력 상단 (공통) */
.input-info {
    margin-top: 4rem;
}

.input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.input-title {
    font-size: 2.4rem;
    font-weight: 500;
    color: #000;
}

.input-header.flex-start {
    justify-content: flex-start;
    gap: 1rem;
}

.input-header .required-note {
    font-size: 1.3rem;
    color: #000;
}
.input-header .required-note em {
    color: var(--ccolor);
}
.input-header.flex-start .required-note {
    color: #757575;
}



/* 입력 테이블 (공통) */
.input-tbl {
    width: 100%;
    border-top: solid 1px var(--ccolor);
}

.input-tbl table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.input-tbl th,
.input-tbl td {
    font-size: 1.4rem;
    border: 1px solid #E9E9E9;
    padding: 0.8rem 2rem;
    vertical-align: middle;
    color: #000;
    line-height: 1.4;
    word-break: keep-all;
    word-wrap: break-word;
}

.input-tbl th {
    background: #F9F9F9;
    font-size: 1.4rem;
    color: #000;
    font-weight: 500;
    text-align: left;
}

.input-tbl th label {
    display: block;
    cursor: pointer;
    min-height: 4rem;
    display: flex;
    align-items: center;
}

.input-tbl th .required {
    color: var(--ccolor);
    font-weight: 600;
}

.input-tbl td {
    color: #555;
}
.input-tbl td .radio-box {
    min-height: 4rem;
}

.input-tbl td .checkbox-wrap {
    min-height: 4rem;
}

.input-tbl td .input-box {
    width: 100%;
    max-width: 40rem;
}

.input-tbl td p {
    font-size: 1.4rem;
    color: #000;
    line-height: 1.4;
    word-break: keep-all;
    word-wrap: break-word;
}
.input-tbl td p.nt {
    color: #757575;
}
.input-tbl td p.nt em {
    color: var(--ccolor);
}


/* 첨부 파일 리스트 */
.file-attach-list {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.file-attach-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.file-attach-list .file-name {
    font-size: 1.4rem;
    color: #757575;
}

@media (max-width: 768px) {
    /* 입력 테이블 */
    .input-tbl table {
        display: block;
        width: 100%;
    }

    .input-tbl tbody {
        display: block;
        width: 100%;
    }

    .input-tbl tr {
        display: block;
        width: 100%;
        border: 1px solid #E9E9E9;
        margin-bottom: -1px;
    }

    .input-tbl tr:last-child {
        margin-bottom: 0;
    }

    .input-tbl th,
    .input-tbl td {
        display: block;
        width: 100%;
        padding: 0.8rem 1.5rem;
        border-left: 1px solid #E9E9E9;
        border-right: 1px solid #E9E9E9;
    }

    .input-tbl th {
        background: #F9F9F9;
        border-bottom: 1px solid #E9E9E9;
    }

    .input-tbl tr + tr th {
        border-top: none;
    }

    .input-tbl td {
        border-top: none;
    }

    .input-tbl td .input-box {
        max-width: 100%;
    }
}





/* 주문자 정보 */
.orderer-info {
    margin-top: 4rem;
}

.orderer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.orderer-title {
    font-size: 2.2rem;
    font-weight: 500;
    color: #000;
}

.orderer-header.flex-start {
    justify-content: flex-start;
    gap: 1rem;
}

.orderer-header .required-note {
    font-size: 1.3rem;
    color: #000;
}
.orderer-header .required-note em {
    color: var(--ccolor);
}
.orderer-header.flex-start .required-note {
    color: #757575;
}

/* 주문자 정보 테이블 */
.orderer-tbl {
    width: 100%;
    border-top: solid 1px var(--ccolor);
}

.orderer-tbl table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.orderer-tbl th,
.orderer-tbl td {
    border: 1px solid #E9E9E9;
    padding: 0.8rem 2rem;
    vertical-align: middle;
}

.orderer-tbl th {
    background: #F9F9F9;
    font-size: 1.4rem;
    color: #000;
    font-weight: 500;
    text-align: left;
    min-height: 4rem;
}


.orderer-tbl th label {
    display: block;
    cursor: pointer;
    min-height: 4rem;
    display: flex;
    align-items: center;
}

.orderer-tbl th .required {
    color: var(--ccolor);
    font-weight: 600;
}

.orderer-tbl td .radio-box {
    min-height: 4rem;
}
.orderer-tbl td .checkbox-wrap {
    min-height: 4rem;
}

.orderer-tbl td .input-box {
    width: 100%;
    max-width: 40rem;
}

.orderer-tbl td p {
    font-size: 1.4rem;
    color: #000;
    line-height: 1.6;
    word-break: keep-all;
    word-wrap: break-word;
    margin: 0;
}


@media (max-width: 768px) {
    /* 주문자 정보 테이블 */
    .orderer-tbl table {
        display: block;
        width: 100%;
    }

    .orderer-tbl tbody {
        display: block;
        width: 100%;
    }

    .orderer-tbl tr {
        display: block;
        width: 100%;
        border: 1px solid #E9E9E9;
        margin-bottom: -1px;
    }

    .orderer-tbl tr:last-child {
        margin-bottom: 0;
    }

    .orderer-tbl th,
    .orderer-tbl td {
        display: block;
        width: 100%;
        padding: 0.8rem 1.5rem;
        border-left: 1px solid #E9E9E9;
        border-right: 1px solid #E9E9E9;
    }

    .orderer-tbl th {
        background: #F9F9F9;
        border-bottom: 1px solid #E9E9E9;
    }

    .orderer-tbl tr + tr th {
        border-top: none;
    }

    .orderer-tbl td {
        border-top: none;
    }

    .orderer-tbl td .input-box {
        max-width: 100%;
    }
}





/* 결제하기 */
.payment-agree {

}

.btn-payment:hover {
    background: #d32f2f;
    border-color: #d32f2f;
}

.payment-final-amount {
    font-size: 1.8rem;
    color: #000;
}

.payment-final-amount strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #000;
}

.payment-final-amount em {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    font-style: normal;
    color: #000;
}





/* 보기 테이블 */
.orderer-tbl-view {
    width: 100%;
    border-top: solid 1px var(--ccolor);
}

.orderer-tbl-view table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.orderer-tbl-view th,
.orderer-tbl-view td {
    border: 1px solid #E9E9E9;
    padding: 1.2rem 2rem;
    vertical-align: middle;
}

.orderer-tbl-view th {
    background: #F9F9F9;
    font-size: 1.4rem;
    color: #000;
    font-weight: 500;
    text-align: left;
}

.orderer-tbl-view td {
    font-size: 1.4rem;
    color: #555;
    text-align: left;
}

.orderer-tbl-view td p {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
    word-break: keep-all;
    word-wrap: break-word;
    margin: 0;
}

@media (max-width: 768px) {
    .orderer-tbl-view table {
        display: block;
        width: 100%;
    }

    .orderer-tbl-view tbody {
        display: block;
        width: 100%;
    }

    .orderer-tbl-view tr {
        display: block;
        width: 100%;
        border: 1px solid #E9E9E9;
        margin-bottom: -1px;
    }

    .orderer-tbl-view tr:last-child {
        margin-bottom: 0;
    }

    .orderer-tbl-view th,
    .orderer-tbl-view td {
        display: block;
        width: 100%;
        padding: 1.2rem 1.5rem;
        border-left: 1px solid #E9E9E9;
        border-right: 1px solid #E9E9E9;
    }

    .orderer-tbl-view th {
        background: #F9F9F9;
        border-bottom: 1px solid #E9E9E9;
    }

    .orderer-tbl-view tr + tr th {
        border-top: none;
    }

    .orderer-tbl-view td {
        border-top: none;
    }
}




/* list table 기본 (공통) */
.list-table {
    margin-top: 3rem;
    border-top: solid 1px var(--ccolor);
}

.list-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.list-table thead {
    background: #F9F9F9;
}

.list-table th,
.list-table td {
    font-size: 1.4rem;
    border: 1px solid #E9E9E9;
    padding: 1rem 1rem;
}

.list-table thead th {
    padding: 1.5rem 1rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #000;
    text-align: center;
    vertical-align: middle;
}

.list-table tbody td {
    padding: 2rem 2rem;
    text-align: center;
    vertical-align: middle;
    color: #555555;
}

.list-table .text-left {
    text-align: left;
}

/* 1:1 문의 제목 스타일 */
.list-table .inquiry-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.list-table .inquiry-title a {
    font-size: 1.4rem;
    color: #000;
    text-decoration: none;
}

.list-table .inquiry-title a:hover {
    text-decoration: underline;
}

.list-table .inquiry-icon-lock,
.list-table .inquiry-icon-attach,
.list-table .inquiry-icon-new {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.list-table .inquiry-icon-lock img,
.list-table .inquiry-icon-attach img,
.list-table .inquiry-icon-new img {
    width: 1.6rem;
    height: 1.6rem;
    object-fit: contain;
}

/* 1:1 문의 처리현황 스타일 */
.list-table .inquiry-status {
    font-size: 1.4rem;
    font-weight: 400;
}

.list-table .inquiry-status.waiting {
    color: var(--ccolor);
}

.list-table .inquiry-status.completed {
    color: #757575;
}

/* 공지사항 제목 스타일 */
.list-table .notice-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.list-table .notice-title a {
    font-size: 1.4rem;
    color: #000;
    text-decoration: none;
}

.list-table .notice-title a:hover {
    text-decoration: underline;
}

.list-table .notice-icon-new {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.list-table .notice-icon-new img {
    width: 1.6rem;
    height: 1.6rem;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .list-table {
        overflow-x: auto;
    }

    .list-table table {
        min-width: 920px;
    }
}





/* 1:1 문의 보기 테이블 */
.view-inquiry-table {

}

.view-inquiry-table .view-title {
    font-size: 2.4rem;
    font-weight: 500;
    color: #000;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ccolor);
}

.view-inquiry-table .view-info {
    background: #f5f5f5;
}

.view-inquiry-table .view-info-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    font-size: 1.4rem;
    color: #555;
    border-bottom: 1px solid #e9e9e9;
    padding: 1.5rem 2rem;

}

.view-inquiry-table .view-info-row:last-child {
    margin-bottom: 0;
}

.view-inquiry-table .view-info-item {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.view-inquiry-table .view-info-label {
    font-size: 1.4rem;
    color: #000;
}

.view-inquiry-table .view-info-value {
    font-size: 1.4rem;
    color: #555;
}

.view-inquiry-table .view-info-attach {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.view-inquiry-table .view-info-attach .item {
    padding-left: 2rem;
    background: url("../img/paperclip.svg") no-repeat left center;
    background-size: 1.6rem auto;
}

.view-inquiry-table .view-info-attach .item a {
    font-size: 1.4rem;
    color: #555;
    text-decoration: underline;
}

.view-inquiry-table .view-content {

}

.view-inquiry-table .view-question {
    display: flex;
    gap: 2rem;
    padding: 3rem 2rem;
    background: #fff;
    min-height: 20rem;
}

.view-inquiry-table .view-question-icon {
    flex-shrink: 0;
    padding-top: 0.3rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
}

.view-inquiry-table .view-question-content {
    flex: 1;
}

.view-inquiry-table .view-question-text {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
    word-break: keep-all;
    word-wrap: break-word;
}
.view-inquiry-table .view-question-text img {
    max-width: 100% !important;
    height: auto;
}

.view-inquiry-table .view-answer {
    display: flex;
    gap: 2rem;
    padding: 3rem 2rem;
    background: #f9f9f9;
    border-top: 1px solid #e9e9e9;
}

.view-inquiry-table .view-answer-icon {
    flex-shrink: 0;
    padding-top: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ccolor);
}
.view-inquiry-table .view-answer-content {
    flex: 1;
}

.view-inquiry-table .view-answer-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 1.5rem;
}

.view-inquiry-table .view-answer-text {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.6;
    word-break: keep-all;
    word-wrap: break-word;
    margin-bottom: 1.5rem;
    min-height: 20rem;
}
.view-inquiry-table .view-answer-text img {
    max-width: 100% !important;
    height: auto;
}

.view-inquiry-table .view-answer-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    color: #555;
    padding-top: 1.5rem;
    border-top: 1px solid #e9e9e9;
}

.view-inquiry-table .view-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e9e9e9;
    padding-top: 3rem;
}

.view-inquiry-table .view-actions-left {
    display: flex;
    gap: 1rem;
}

.view-inquiry-table .view-actions-right {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .view-inquiry-table .view-title {
        font-size: 2rem;
    }

    .view-inquiry-table .view-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .view-inquiry-table .view-info-label {
        min-width: 8rem;
    }

    .view-inquiry-table .view-question,
    .view-inquiry-table .view-answer {
        flex-direction: column;
    }
}

/* 공지사항 보기 테이블 */
.view-notice-table {

}

.view-notice-table .view-title {
    font-size: 2.4rem;
    font-weight: 500;
    color: #000;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--ccolor);
}

.view-notice-table .view-info {
    background: #f5f5f5;
}

.view-notice-table .view-info-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    font-size: 1.4rem;
    color: #555;
    border-bottom: 1px solid #e9e9e9;
    padding: 1.5rem 2rem;
}

.view-notice-table .view-info-item {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.view-notice-table .view-info-label {
    font-size: 1.4rem;
    color: #000;
}

.view-notice-table .view-info-value {
    font-size: 1.4rem;
    color: #555;
}

.view-notice-table .view-content {
    margin-top: 0;
}

.view-notice-table .view-notice-content {
    padding: 3rem 2rem;
    background: #fff;
    min-height: 20rem;
}

.view-notice-table .view-notice-text {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.8;
    word-break: keep-all;
    word-wrap: break-word;
}

.view-notice-table .view-notice-text img {
    max-width: 100% !important;
    height: auto;
}

/* 이전글/다음글 */
.view-prev-next {
    margin-top: 5rem;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

.view-prev-next-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9e9e9;
}

.view-prev-next-item:last-child {
    border-bottom: none;
}

.view-prev-label {
    font-size: 1.4rem;
    font-weight: 500;
    color: #000;
    flex-shrink: 0;
    padding-left: 1rem;
    background:url("../img/paging-prev.svg") no-repeat left center;
    background-size: 5px auto;
}
.view-next-label {
    font-size: 1.4rem;
    font-weight: 500;
    color: #000;
    flex-shrink: 0;
    padding-right: 1rem;
    background:url("../img/paging-next.svg") no-repeat right center;
    background-size: 5px auto;
}

.view-prev-next-link {
    font-size: 1.4rem;
    color: #555;
    text-decoration: none;
    flex: 1;
}

.view-prev-next-link:hover {
    text-decoration: underline;
    color: #000;
}

.view-notice-table .view-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e9e9e9;
}

.view-notice-table .view-actions-right {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .view-notice-table .view-title {
        font-size: 2rem;
    }

    .view-notice-table .view-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .view-notice-table .view-info-label {
        min-width: 8rem;
    }

    .view-notice-table .view-notice-content {
        padding: 2rem 1.5rem;
    }

    .view-prev-next-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .view-prev-next-label {
        min-width: auto;
    }

    .view-notice-table .view-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .view-notice-table .view-actions-right {
        width: 100%;
        justify-content: center;
    }
}
