@charset "utf-8";

/* Common */
.opt-tbl { width:100%; border-collapse:collapse; padding:0px; margin:0 0 15px; border:0px; border:1px solid #ddd; border-bottom:0px; background:#fff;} 
.opt-tbl th { width:120px; text-align:center; padding:8px 10px; border-bottom:1px solid #ddd; background:#fafafa; white-space:nowrap;}
.opt-tbl td { padding:8px 10px; border-bottom:1px solid #ddd;}
.bsk-tbl th { text-align:center; }
.bsk-tbl .well { margin:6px 0px !important; }
.bsk-tbl .well ul  { padding:0; padding-left:15px; margin:0; }
.bsk-tbl .well li  { font-size:12px; }
.item-type { position:absolute; left:0; bottom:0; background: rgba(0, 0, 0, 0.7); width:100%; color: rgb(255,255,255); padding:3px; font-size:11px; letter-spacing:-1px; }
.addr-line { margin-bottom:7px; }
.radio-line label { margin-right:20px; line-height:24px; cursor:pointer; }
.radio-line label span { vertical-align:middle; }

#sod_frm_escrow { margin:0px; }
#sod_frm_escrow h2 { display:none; }
#sod_frm_escrow img { margin:0 auto 15px }

/* Personal List */
.ppay-box h2 { margin: 0px; padding: 12px 15px 0px; color: rgb(51, 51, 51); font-size: 16px; font-weight: 500; text-align:center; }
.ppay-box .ppay-fa { padding: 20px 0px 10px; }
.ppay-box .ppay-fa i { color: rgb(97, 97, 97); font-size: 80px; }
.ppay_wrap .ppay-container {
    margin-right: -25px;
    margin-bottom: -30px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.ppay_wrap .ppay-row {
    width: 25%;
}
.ppay_wrap .img-wrap {
    padding-bottom: 100%;
}
.ppay_wrap .ppay-box {
    margin-right: 25px;
    margin-bottom: 70px;
    border: 0;
    text-align: left;
    transition:0.3s linear; 
    overflow: hidden; 
    position: relative; 
    cursor: default; 
}
.ppay_wrap .ppay-box .title {
    margin: 0 0 10px;
    padding: 15px 0 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: var(--main-box-font-color);
}
.ppay_wrap .ppay-box .order_price {
    display: block;
    font-weight: 500;
    font-size: 16px;
    color:var(--main-box-font-color);
}
.ppay_wrap .ppay-box .order_price span {
    margin-left: -4px;
}
.ppay_wrap .ppay-box .img-item img {
    max-width: inherit;
    width: auto;
}
/* 개인결제 검색폼 */
.ppay_search_wrap {
    margin-bottom: 40px;
}
.ppay_search_wrap .ppay_search_box {
    position: relative;
    display: flex;
    justify-content: flex-end;
}
.ppay_search_wrap .ppay_search_box input {
    width: 290px;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    height: 46px;
    font-size: 15px;
    line-height: 44px;
    padding: 0 20px;
    background-color: #fff;
    color: #0c0c0c;
}
.ppay_search_wrap .ppay_search_box button {
    display: block;
    padding: 15px;
    background-color: var(--main-btn-point-color);
    border: 1px solid var(--main-btn-line-point-color);
    border-radius: 5px;
    margin-left: 10px;
}

/* 개인결제 폼 */
.form-horizontal.personalpayform {
    background-color: #f9f9f9;
    border-radius: 20px;
}
.ppay_form_wrap {
    padding: 60px 0 50px;
}
.ppay_form_wrap .ppay_title {
    text-align: center;
}
.ppay_form_wrap .ppay_title .title {
    font-weight: 500;
    font-size: 24px;
    color: #0c0c0c;
}
.ppay_form_wrap .ppay_title .text {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.2;
    color: #999;
}
.ppay_form_wrap .ppay_content {
    width: 600px;
    margin: 40px auto 0;
}
.ppay_form_wrap .ppay_content .ppay_box {
    display: table;
    width: 100%;
}
.ppay_form_wrap .ppay_content .ppay_box + .ppay_box {
    margin-top: 10px;
}
.ppay_form_wrap .ppay_box .pp_label {
    display: table-cell;
    width: 150px;
    font-weight: 400;
    font-size: 16px;
    line-height: 40px;
    color: #0c0c0c;
    vertical-align: top;
}
.ppay_form_wrap .ppay_box .pp_label.lh46 {
    line-height: 46px;
}
.ppay_form_wrap .ppay_box .pp_answer {
    display: table-cell;
    width: calc(100% - 150px);
}
.ppay_form_wrap .ppay_box .pp_row {
    width: 100%;
    min-height: 40px;
    padding: 7px 0;
    font-size: 16px;
    line-height: 1.4;
    color: #0c0c0c;
}
/* .ppay_form_wrap .ppay_box .pp_bold{font-weight:600; font-size:18px} */
.ppay_form_wrap .ppay_box .pp_input {
    width: 100%;
    height: 46px;
    padding: 0 15px;
    border-radius: 5px;
    border: 1px solid #d6d6d6;
    background-color: #fff;
    font-size: 16px;
    line-height: 38px;
    color: #0c0c0c;
}
.ppay_form_wrap .ppay_box .pp_answer.radio_box {
    padding-top: 4px;
}
.ppay_form_wrap .ppay_box .pp_radio {
    display: inline-flex;
    margin: 0 8px 8px 0;
    vertical-align: top;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.ppay_form_wrap .ppay_box .pp_radio + .pp_radio {
    margin-left: 0;
}
.ppay_form_wrap .ppay_box .pp_radio input[type="radio"] {
    margin: 0;
    display: none;
}
.ppay_form_wrap .ppay_box .pp_radio .pp_radio_face {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background-color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    color: #555;
    white-space: nowrap;
    word-break: keep-all;
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.ppay_form_wrap .ppay_box .pp_radio:hover .pp_radio_face {
    border-color: var(--main-btn-point-color);
    color: var(--main-btn-point-color);
}
.ppay_form_wrap .ppay_box .pp_radio input[type="radio"]:checked + .pp_radio_face {
    border-color: var(--main-btn-point-color);
    background-color: var(--main-btn-point-color);
    color: #fff;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
/* 개인결제 폼 입력/금액 폴리시 */
.ppay_form_wrap .ppay_box .pp_input:focus {
    border-color: var(--main-btn-point-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
    outline: none;
}
.ppay_form_wrap .ppay_box .pp_bold {
    font-weight: 600;
}
.ppay_form_wrap .ppay_box #settle_bank {
    padding-top: 5px;
}
.ppay_form_wrap .ppay_box #settle_bank .pp_bank_label {
    color: #0c0c0c;
    font-weight: 400;
}
.ppay_form_wrap .ppay_box .pp_bank_box + .pp_bank_box {
    margin-top: 15px;
}
.ppay_form_wrap .ppay_box .pp_bank_label {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #333;
}
.ppay_form_wrap .ppay_box .pp_bank_check {
    width: 100%;
    height: 46px;
    margin-top: 10px;
    padding: 0 15px;
    border-radius: 5px;
    border: 1px solid #d6d6d6;
    background: #fff;
    font-size: 16px;
    line-height: 46px;
    color: #999999;
}
.ppay_form_wrap .ppay_box select.pp_bank_check {
    padding-left: 11px;
    appearance: none;
    background: url(../img/personalpayform_arr.png) no-repeat calc(100% - 15px) center;
    background-color: #fff;
}
.form-horizontal .btn_confirm {
    padding-bottom: 60px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.personalpayform .btn_confirm .btn {
    border-radius: 3px !important;
    min-width: 237px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1em;
    height: 60px;
    display: block;
}

@media (max-width: 1400px) {
    .ppay_wrap .ppay-box .img-item img {
        width: 100%;
    }
}


@media (max-width: 1199px) {
    /* 개인결제 리스트 */
    .ppay_wrap .ppay-row {
        width: 33.3333%;
    }
}
@media (max-width: 991px) {
    /* 개인결제 리스트 */
    .ppay_wrap .ppay-container {
        margin-right: -15px;
        margin-bottom: -25px;
    }
    .ppay_wrap .ppay-row {
        width: 50%;
    }
    .ppay_wrap .ppay-box {
        margin-right: 10px;
        margin-bottom: 30px;
    }
    .ppay_wrap .ppay-box .title {
        padding: 10px 0 0;
        font-size: 13px;
    }
    .ppay_wrap .ppay-box .order_price {
        font-size: 14px;
    }
    .ppay_wrap .ppay-box .order_price span {
        margin-left: -3px;
    }
    /* 개인결제 검색폼 */
    .ppay_search_wrap {
        margin-bottom: 25px;
    }
    .ppay_search_wrap .ppay_search_box input {
        font-size: 13px;
        border-radius: 2.5px;
        padding: 0 15px;
        height: 45px;
        line-height: 43px;
        width: calc(100% - 56px);
    }
    .ppay_search_wrap .ppay_search_box button {
        border-radius: 2.5px;
        margin-left: 10px;
        padding: 14px 14.25px;
    }
    .ppay_search_wrap .ppay_search_box button img {
        height: 14px;
    }
    /* 개인결제 폼 */
    .form-horizontal.personalpayform {
        border-radius: 5px;
        margin-top: -5px;
    }
    .ppay_form_wrap {
        padding: 30px 0 20px;
    }
    .ppay_form_wrap .ppay_title .title {
        font-size: 16px;
    }
    .ppay_form_wrap .ppay_title .text {
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.4;
    }
    .ppay_form_wrap .ppay_content {
        width: 100%;
        margin: 25px auto 0;
        padding: 0 15px;
    }
    .ppay_form_wrap .ppay_content .ppay_box {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    .ppay_form_wrap .ppay_content .ppay_box + .ppay_box {
        margin-top: 5px;
    }
    .ppay_form_wrap .ppay_box .pp_label {
        width: 85px;
        font-size: 15px;
        line-height: 30px;
    }
    .ppay_form_wrap .ppay_box .pp_label.lh46 {
        line-height: 1em;
        padding-bottom: 15px;
        margin-top: 8px;
    }
    .ppay_form_wrap .ppay_box .pp_answer {
        width: calc(100% - 85px);
    }
    .ppay_form_wrap .ppay_box .pp_answer.m_an {
        width: 100%;
        margin-bottom: 15px;
    }
    .ppay_form_wrap .ppay_box .pp_answer.radio_box {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 25px;
        margin-bottom: 0;
    }
    .ppay_form_wrap .ppay_box .pp_row {
        min-height: 30px;
        padding: 3px 0;
        font-size: 13px;
    }
    .ppay_form_wrap .ppay_box .pp_bold {
        font-size: 15px;
    }
    .ppay_form_wrap .ppay_box .pp_input {
        height: 40px;
        padding: 0 10px;
        font-size: 13px;
        line-height: 40px;
        border-radius: 2.5px;
    }
    .ppay_form_wrap .ppay_box .pp_radio {
        width: calc(50% - 4px);
        margin: 0;
    }
    .ppay_form_wrap .ppay_box .pp_radio + .pp_radio {
        margin-left: 0;
    }
    .ppay_form_wrap .ppay_box .pp_radio .pp_radio_face {
        width: 100%;
        min-height: 44px;
        padding: 0 8px;
        font-size: 14px;
        border-radius: 8px;
    }
    .ppay_form_wrap .ppay_box #settle_bank {
        padding: 0;
        width: 100%;
        border-top: 1px solid #d7d7d7;
    }
    .ppay_form_wrap .ppay_box .pp_bank_box {
        padding-top: 20px;
    }
    .ppay_form_wrap .ppay_box .pp_bank_box + .pp_bank_box {
        margin: 0;
    }
    .ppay_form_wrap .ppay_box .pp_bank_label {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .ppay_form_wrap .ppay_box .pp_bank_check {
        height: 40px;
        margin-top: 0;
        font-size: 12px;
        line-height: 38px;
        border-radius: 2.5px;
    }
    .ppay-wrap + .well {
        margin-top: 25px;
    }
    .ppay_form_wrap .ppay_box .pp_radio .ch_span {
        background-color: #f9f9f9;
        width: 15px;
        height: 15px;
        margin-right: 10px;
    }
    .form-horizontal .btn_confirm {
        padding: 5px 15px 30px;
    }
    .personalpayform .btn_confirm .btn {
        /*width: calc(50% - 7px);*/
        min-width: auto !important;
        padding: 0;
        height: 45px;
        line-height: 45px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 2.5px !important;
    }
    .personalpayform .btn_confirm a.btn {
        width: calc(50% - 7px);
        flex: 1;
    }
    .personalpayform .btn_confirm #show_req_btn {
        width: calc(50% - 7px); /*flex: 1;*/
    }
}

/* 개인결제 비밀번호 확인 */
.password_confirm {
    width:600px; 
    max-width:100%; 
    margin:0 auto;
    background: none;
}
.password_confirm .confirm_title {
    margin-bottom:50px; 
    text-align:center;
}
.password_confirm .confirm_title > h2 {
    margin-top:15px; 
    font-weight:500; 
    font-size:28px; 
    color:#222;
}
.password_confirm .confirm_wrap > p {
    margin-bottom:15px; 
    font-size:17px; 
    line-height:1.3; 
    color:#555;
}
.password_confirm .confirm_input > label {
    width:100%;
}
.password_confirm .confirm_input > label > input {
    width:100%; 
    height:auto; 
    padding:0 15px; 
    border:1px solid #ddd; 
    border-radius:10px; 
    background:url('/img/icon_secret.gif') no-repeat 97% 50%; 
    line-height:48px; 
    -webkit-box-shadow:none; 
    -moz-box-shadow:none; 
    box-shadow:none;
    max-width: none;
}
.password_confirm .confirm_input > label > input:focus {
    border-color: var(--main-point-line-color-hover);
}
.password_confirm .confirm_input .confirm_btn_box .btn_confirm {
    display:block; 
    width:100%; 
    border:0; 
    border-radius:10px; 
    font-size:18px; 
    line-height:50px; 
    color:#fff;     
    background-color: var(--main-point-btn-bg-color-hover);
}
.password_confirm .btn_back {
    text-align:center;
    justify-content: center;
}
.password_confirm .btn_back > a {
    display:inline-block; 
    padding:5px 0; 
    font-size:17px;
    border-bottom: 1px solid var(--main-point-color-hover);
    color: var(--main-point-color-hover);
}

@media (max-width: 991px){
    .password_confirm .confirm_input > label > input {
        border-radius: 2.5px;
    }
    .password_confirm .confirm_input .confirm_btn_box .btn_confirm {
        border-radius: 2.5px;
    }
}
/* ===============================================================
   [OrderCompleteModal] sense:PATCH FIVESENSES.Corp. 주문완료 모달
   =============================================================== */
.order_complete_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
    display: none;
}

.order_complete_modal .form_modal_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.order_complete_modal .form_modal_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 20px;
    width: 440px;
}

.order_complete_modal .form_modal_wrap .icon_box {
    text-align: center;
    padding: 30px 30px 10px;
}

.order_complete_modal .form_modal_wrap dotlottie-player {
    display: inline-block;
}

.order_complete_modal .form_modal_wrap .modal_cont {
    text-align: center;
    padding: 0 30px;
}

.order_complete_modal .form_modal_wrap .modal_cont h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0c0c0c;
    margin-bottom: 15px;
}

.order_complete_modal .form_modal_wrap .modal_cont p {
    font-size: 18px;
    font-weight: 400;
    color: #6c7682;
    line-height: 28px;
}

.order_complete_modal .form_modal_wrap .modal_bot {
    padding: 20px 30px 30px;
}

.order_complete_modal .form_modal_wrap .confirm_btn {
    display: inline-block;
    width: 100%;
    padding: 16px 15px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    border-radius: 5px;
    background-color: var(--main-btn-point-color);
}

@media (max-width: 991px) {
    .order_complete_modal .form_modal_wrap {
        top: auto;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .order_complete_modal .form_modal_wrap::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: block;
        width: 40px;
        height: 4px;
        background-color: #e6e6e6;
        border-radius: 2px;
    }

    .order_complete_modal .form_modal_wrap .icon_box {
        padding: 40px 18px 0;
    }

    .order_complete_modal .form_modal_wrap .modal_cont {
        padding: 0 18px;
    }

    .order_complete_modal .form_modal_wrap .modal_cont h2 {
        margin-bottom: 15px;
        font-size: 16px;
    }

    .order_complete_modal .form_modal_wrap .modal_cont p {
        font-size: 13px;
        line-height: 19px;
    }

    .order_complete_modal .form_modal_wrap .modal_bot {
        padding: 20px 18px 15px;
    }

    .order_complete_modal .form_modal_wrap .confirm_btn {
        padding: 15px;
        font-size: 14px;
        border-radius: 2.5px;
    }
} 


/* ===== 주문내역 페이지 (UI) ===== */
.orderinquiry_style {
    width: 100%;
    display: flex;
    gap: 50px;
}
.orderinquiry_style > div:last-child {
    width: 100%;
    min-width: 0;
}
.orderinquiry_only .orderform_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    border-bottom: none;
}

.orderinquiry_only .orderform_title .od_tt {
    font-size: 24px;
    font-weight: 500;
    color: var(--main-box-font-color);
    line-height: 1em;
}

.orderinquiry_only .orderform_title .orderinquiry_tt_right {
    display: flex;
    align-items: center;
    gap: 9px;
}

.orderinquiry_only .orderform_title .orderinquiry_tt_right .order_state_filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: var(--fp-on-primary, #fff);
    background-color: var(--fp-ink, #2e343a);
    border: none;
    border-radius: 18px;
    cursor: pointer;
    transition: opacity 150ms ease;
}

.orderinquiry_only .orderform_title .orderinquiry_tt_right .order_state_filter:hover {
    opacity: 0.65;
}

.orderinquiry_only .orderform_title .orderinquiry_tt_right .order_search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    background-color: var(--fp-canvas, #fff);
    border: 1px solid var(--fp-hairline, #edeff2);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.orderinquiry_only .orderform_title .orderinquiry_tt_right .order_search:hover {
    background-color: #fafafa;
}

.orderinquiry_only .orderinquiry_form .od_wrap {
    margin-bottom: 15px;
    padding: 30px;
    background-color: #fff;
    border-radius: 17px;
}

/* 2026-07-10 상품별 개별 노출 — 주문(od_wrap) 안에 상품 블록(od_item) 반복 */
.orderinquiry_only .orderinquiry_form .od_wrap .od_item {
    display: block;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_items .od_item:not(:last-child) {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f2f2f2;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_title .od_state {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    color: #1b1b1b;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_title .od_state span {
    font-size: 13px;
    font-weight: 300;
    color: #999999;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_title .od_state.end {
    color: #999999;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_title .od_view {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: var(--main-btn-point-color);
    padding: 4px 8px;
    margin: -4px -8px;
    border-radius: 8px;
    text-decoration: none;
    transition: color 150ms ease, text-decoration-color 150ms ease, background-color 150ms ease;
}
.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_title .od_view:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    background-color: #fafafa;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_title .od_view .view_icon {
    font-family: "SUIT", sans-serif;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 0;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border: 1px solid #f3f3f3;
    border-radius: 5px;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    margin: 0;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_item {
    display: block;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_date {
    font-size: 13px;
    font-weight: 300;
    line-height: 1;
    color: #999999;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_title {
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_title a {
    color: inherit;
    text-decoration: none;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_title a:hover {
    color: var(--main-btn-point-color);
    text-decoration: underline;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_price {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #1b1b1b;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_title {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 7px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: var(--main-font-point-color);
    background-color: var(--main-btn-point-color1);
    border-radius: 3px;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_view {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: #727272;
    cursor: pointer;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_view .view_icon {
    font-family: "SUIT", sans-serif;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_view .view_bubble {
    position: absolute;
    bottom: 230%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    padding: 12px 10px 9px;
    background-color: #fff;
    border-radius: 5px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_view .view_bubble.is-show {
    opacity: 1;
    visibility: visible;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_view .view_bubble::after {
    content: "";
    position: absolute;
    top: 89%;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 15px;
    height: 15px;
    background-color: #fff;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_view .view_bubble p {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #666666;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_view .view_bubble p span {
    color: var(--main-font-point-color);
    text-decoration: underline;
    cursor: pointer;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn .od_btn_item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: fit-content;
    height: 40px;
    padding: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #444444;
    white-space: nowrap;
    background-color: #f7f7f7;
    border-radius: 5px;
    cursor: pointer;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn .od_btn_item.od_btn_point {
    font-weight: 600;
    color: var(--main-btn-point-color);
    background-color: var(--main-btn-point-color1);
}
/* 포인트 컬러 강조 버튼 (구매확정/리뷰쓰기/교환비결제/반품비결제) — 맨 앞 배치 */
.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn .od_btn_item.od_btn_emph {
    order: -1;
    font-weight: 600;
    color: #fff;
    background-color: var(--main-btn-point-color);
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn .od_btn_more {
    flex: 0 0 40px;
    gap: 3px;
    width: 40px;
    min-width: 40px;
}

.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn .od_btn_more span {
    display: inline-block;
    width: 3px;
    height: 3px;
    background-color: #444444;
    border-radius: 50%;
}


/* ===== 주문상태 필터 / 검색 모달 (UI) ===== */
.oi_modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}
/* 모달 표시는 jQuery fadeIn/fadeOut가 제어 (is-open은 열림 상태 표시용 클래스) */
.oi_modal .oi_modal_dim {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.oi_modal .oi_modal_panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 20px;
}
.oi_modal.search_oi_modal .oi_modal_panel {
    max-width: 640px;
}
.oi_modal .oi_modal_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.oi_modal .oi_modal_title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: #1b1b1b;
}
.oi_modal .oi_modal_close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 8px;
    color: #cfcfcf;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}
.oi_modal .oi_modal_close:hover { background: var(--fp-surface-soft, #f7f7f7); color: var(--fp-body, #666666); }

.oi_modal.filter_oi_modal .oi_filter_list {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eeeeee;
}
.oi_modal.filter_oi_modal .oi_filter_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    color: #666666;
    cursor: pointer;
}
.oi_modal.filter_oi_modal .oi_filter_item .oi_check {
    display: none;
    color: var(--main-btn-point-color);
}
.oi_modal.filter_oi_modal .oi_filter_item.is-active {
    color: var(--main-btn-point-color);
    font-weight: 500;
}
.oi_modal.filter_oi_modal .oi_filter_item.is-active .oi_check {
    display: block;
}
/* 리스트 하단 "조회하기" — 검색모달의 .oi_search_submit 스타일 그대로 재사용 */
.oi_modal.filter_oi_modal .oi_search_submit {
    margin-top: 10px;
}

/* 검색 모달 */
.oi_modal.search_oi_modal .oi_modal_body {
    margin-top: 20px;
}
.oi_modal.search_oi_modal .oi_search_field {
    position: relative;
    margin-bottom: 20px;
}
.oi_modal.search_oi_modal .oi_search_input {
    width: 100%;
    height: 46px;
    padding: 0 15px;
    font-size: 16px;
    color: #222222;
    background-color: #f6f6f6;
    border-radius: 5px;
}
.oi_modal.search_oi_modal .oi_search_input::placeholder {
    color: #999999;
}
.oi_modal.search_oi_modal .oi_search_clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 150ms ease;
}
.oi_modal.search_oi_modal .oi_search_clear:hover { background: var(--fp-surface-soft, #f7f7f7); }
/* 상품명이 비어있으면(placeholder 노출) 클리어 버튼 숨김 → 텍스트 입력 시에만 노출 */
.oi_modal.search_oi_modal .oi_search_input:placeholder-shown + .oi_search_clear {
    display: none;
}
.oi_modal.search_oi_modal .oi_period_tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.oi_modal.search_oi_modal .oi_period_tabs::-webkit-scrollbar {
    display: none;
}
.oi_modal.search_oi_modal .oi_period_tab {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 14px;
    font-size: 14px;
    line-height: 1;
    color: var(--fp-body, #888888);
    background-color: var(--fp-surface-soft, #f7f7f7);
    border-radius: 18px;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}
.oi_modal.search_oi_modal .oi_period_tab svg { flex-shrink: 0; }
.oi_modal.search_oi_modal .oi_period_tab:hover:not(.is-active) { background-color: var(--fp-surface-strong, #eef0f3); color: var(--fp-body, #666666); }
.oi_modal.search_oi_modal .oi_period_tab.is-active {
    background-color: var(--main-btn-point-color);
    color: #fff;
}
.oi_modal.search_oi_modal .oi_status_filter {
    margin-bottom: 30px;
}
.oi_modal.search_oi_modal .oi_status_label {
    margin-top: 24px;
    margin-bottom: 19px;
    font-size: 16px;
    color: #999999;
}
.oi_modal.search_oi_modal .oi_status_pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 6px;
}
.oi_modal.search_oi_modal .oi_status_pill {
    padding: 9px 15px;
    font-size: 15px;
    line-height: 1;
    color: #888888;
    background-color: #f7f7f7;
    border-radius: 18px;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}
.oi_modal.search_oi_modal .oi_status_pill:hover:not(.is-active) { background-color: var(--fp-surface-strong, #eef0f3); color: #666666; }
.oi_modal.search_oi_modal .oi_status_pill.is-active {
    background-color: var(--main-btn-point-color);
    color: #fff;
}
.oi_modal.search_oi_modal .oi_search_submit,
.oi_modal.filter_oi_modal .oi_search_submit {
    width: 100%;
    height: 50px;
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    background-color: var(--main-btn-point-color);
    border-radius: 5px;
    cursor: pointer;
    transition: filter 150ms ease;
}
.oi_modal.search_oi_modal .oi_search_submit:hover,
.oi_modal.filter_oi_modal .oi_search_submit:hover { filter: brightness(0.92); }

/* 더보기(문의) 모달 */
.oi_modal.more_oi_modal .oi_modal_panel {
    max-width: 500px;
    text-align: center;
}
.oi_modal.more_oi_modal .oi_more_close {
    position: absolute;
    top: 30px;
    right: 30px;
}
.oi_modal.more_oi_modal .oi_more_body {
    padding-top: 12px;
}
.oi_modal.more_oi_modal .oi_more_thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 19px;
    background-color: #f3f3f3;
    border: 1px solid #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
}
.oi_modal.more_oi_modal .oi_more_thumb .oi_more_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.oi_modal.more_oi_modal .oi_more_name {
    margin-bottom: 27px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    color: #1b1b1b;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.oi_modal.more_oi_modal .oi_more_btns {
    display: flex;
    gap: 6px;
}
.oi_modal.more_oi_modal .oi_more_btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    background-color: #f7f7f9;
    border-radius: 6px;
    cursor: pointer;
}
.oi_modal.more_oi_modal .oi_more_btn svg {
    flex-shrink: 0;
    color: #666666;
}

/* 적용 쿠폰 모달 */
.oi_modal.coupon_oi_modal .oi_modal_panel {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    padding: 35px 25px 40px 35px;
    overflow: hidden;
}
.oi_modal.coupon_oi_modal .oi_modal_head,
.oi_modal.coupon_oi_modal .oi_coupon_foot {
    flex-shrink: 0;
}
.oi_modal.coupon_oi_modal .oi_modal_head {
    padding-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
}
/* 실제 스크롤 영역 (head/foot 고정, 가운데만 스크롤) */
.oi_modal.coupon_oi_modal .oi_modal_inner {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 25px;
    padding-right: 5px;
    overflow-y: auto;
    /* 스크롤 기능은 유지하되 스크롤바만 숨김 */
    -ms-overflow-style: none;   /* IE/Edge */
    scrollbar-width: none;      /* Firefox */
}
.oi_modal.coupon_oi_modal .oi_modal_inner::-webkit-scrollbar {
    display: none;              /* Chrome/Safari */
}
.oi_modal.coupon_oi_modal .oi_coupon_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 30px;
    background-color: #f6f6f6;
    border-radius: 10px;
}
.oi_modal.coupon_oi_modal .oi_coupon_card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 28px 30px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 10px;
}
.oi_modal.coupon_oi_modal .oi_coupon_card.is-active {
    border-color: var(--main-btn-point-color);
}
.oi_modal.coupon_oi_modal .oi_coupon_card.is-used {
    background-color: rgba(204, 204, 204, 0.35);
}
.oi_modal.coupon_oi_modal .oi_coupon_card.is-used .oi_coupon_name,
.oi_modal.coupon_oi_modal .oi_coupon_card.is-used .oi_coupon_meta dd {
    color: #888888;
}
.oi_modal.coupon_oi_modal .oi_coupon_card.is-used .oi_coupon_cate {
    color: #999999;
    background-color: #e5e5e5;
}
.oi_modal.coupon_oi_modal .oi_coupon_card.is-used .oi_coupon_img {
    opacity: 0.6;
}
.oi_modal.coupon_oi_modal .oi_coupon_card:not(.is-used) {
    cursor: pointer;
}
.oi_modal.coupon_oi_modal .oi_coupon_img {
    flex-shrink: 0;
    width: 132px;
    height: 132px;
    background-color: #fff;
    border: 1px solid #f3f3f3;
    border-radius: 10px;
    overflow: hidden;
}
.oi_modal.coupon_oi_modal .oi_coupon_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.oi_modal.coupon_oi_modal .oi_coupon_info {
    flex: 1;
    min-width: 0;
}
.oi_modal.coupon_oi_modal .oi_coupon_cate {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 6px;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    color: var(--main-btn-point-color);
    background-color: var(--main-btn-point-color1);
    border-radius: 3px;
}
.oi_modal.coupon_oi_modal .oi_coupon_name {
    margin-bottom: 18px;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
    color: #222222;
}
.oi_modal.coupon_oi_modal .oi_coupon_meta > div {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.5 ;
}
.oi_modal.coupon_oi_modal .oi_coupon_meta > div:last-child {
    margin-bottom: 0;
}
.oi_modal.coupon_oi_modal .oi_coupon_meta dt {
    flex-shrink: 0;
    width: 70px;
    font-weight: 400;
    color: #aaaaaa;
}
.oi_modal.coupon_oi_modal .oi_coupon_meta dd {
    color: #666666;
}
.oi_modal.coupon_oi_modal .oi_coupon_share {
    flex-shrink: 0;
}
.oi_modal.coupon_oi_modal .oi_coupon_kakao {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 11px 12px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: #381e1f;
    background-color: #fae100;
    border-radius: 19px;
    white-space: nowrap;
    cursor: pointer;
}
.oi_modal.coupon_oi_modal .oi_coupon_done {
    display: inline-block;
    padding: 11px 12px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: #999999;
    background-color: #e1e1e1;
    border-radius: 19px;
    white-space: nowrap;
}
.oi_modal.coupon_oi_modal .oi_coupon_foot {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}
.oi_modal.coupon_oi_modal .oi_coupon_btn {
    min-width: 180px;
    padding: 17px 15px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    border-radius: 5px;
    cursor: pointer;
}
.oi_modal.coupon_oi_modal .oi_coupon_cancel {
    color: #333333;
    background-color: #fff;
    border: 1px solid #e1e1e1;
}
.oi_modal.coupon_oi_modal .oi_coupon_submit {
    color: #fff;
    background-color: var(--main-btn-point-color);
}

/* 빈 상태(주문내역 없음) — 신규 디자인이 아니라 이 사이트 다른 마이페이지(wishlist/scrap/
   shopping.skin.php)의 "내용 없음" 관례(text-center + color:#777 + 높이 150 안팎)에 이 페이지만
   맞춘다. 저 페이지들은 <td height="150">라 테이블 셀 속성만으로 중앙정렬이 걸리지만 여기는
   div 구조라 flex로 동일 효과를 낸다. */
.orderinquiry_style .orderinquiry_form .od_info_none > .no_data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--fp-empty-gap, 14px);
    min-height: 450px;
    color: #777777;
    text-align: center;
    background: var(--fp-empty-bg, #fff);
    border-radius: var(--fp-empty-radius, 17px);
    font-size: var(--fp-empty-text-size, 14px);
}
.orderinquiry_style .orderinquiry_form .od_info_none > .no_data img {
    width: var(--fp-empty-icon-size, 41px);
}

@media (max-width:991px) {
    .orderinquiry_style {
        gap: 0;
    }
    .orderinquiry_style .orderinquiry_form .od_info_none {
        font-size: 13px;
        padding: 16px 0 152px;
    }
    .orderinquiry_style .orderform_title.orderinquiry_tt {
        text-align: center;
        /* 다른 마이페이지 하위 페이지(쿠폰/포인트/후기 등)와 동일한 상단 여백(20px)으로 통일 */
        padding: 20px 0 15px;
        font-size: 24px;
        font-weight: 500;
        flex-direction: column;
        gap: 20px;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap {
        margin-bottom: 10px;
        padding: 20px 15px;
        border-radius: 10px;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap .od_href {
        padding: 20px 0;
        border: none;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap .od_href::before,
    .orderinquiry_style .orderinquiry_form .od_wrap .od_href::after {
        content: "";
        width: 200%;
        position: absolute;
        left: -15px;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap .od_href::before {
        height: 9px;
        top: -8px;
        background: #eff2f5;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap .od_href::after {
        height: 1px;
        bottom: 0;
        background: #e7e7e7;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap .od_href h1 {
        display: flex;
        font-size: 18px;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap .od_href h1 .num {
        margin-right: 20px;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap .od_info_inner > div div {
        line-height: 32px;
        font-size: 16px;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap .od_info_inner > div .left {
        width: 88px;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap .od_info .od_status {
        line-height: 41px;
        font-size: 14px;
        width: 100%;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap .od_info {
        padding: 18px 0 0;
        display: block;
        place-items: unset;
        gap:16px;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap .od_info .od_status button {
        display: block;
        font-size: 13px;
        border-radius: 2.5px;
        line-height: 33px;
        width: 100%;
        background-color: var(--main-btn-point-color);
        border: 1px solid var(--main-btn-line-point-color);
        color: #fff;
        margin-top: 10px;
    }
    .draftview_btn {
        width: 100%;
        font-size: 14px;
        border-radius: 2.5px;
        height: 40px;
        line-height: 40px;
        margin-top: 5px;
    }
    /* ===== 주문내역 페이지 (UI) ===== */

    .orderinquiry_only .orderform_title .orderinquiry_tt_right {
        gap: 6px;
        margin-left: auto;
    }

    .orderinquiry_only .orderform_title .orderinquiry_tt_right .order_state_filter {
        gap: 3px;
        padding: 9px 15px;
        font-size: 14px;
        border-radius: 15px;
    }

    .orderinquiry_only .orderform_title .orderinquiry_tt_right .order_search {
        width: 31px;
        height: 31px;
    }

    .orderinquiry_only .orderform_title .orderinquiry_tt_right .order_search svg {
        width: 14px;
        height: 14px;
    }
    .orderinquiry_only .orderinquiry_form .od_wrap .od_items .od_item:not(:last-child) {
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: 1px solid #f2f2f2;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_title {
        margin-bottom: 14px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_title .od_state {
        font-size: 14px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_title .od_state span {
        font-size: 11px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_title .od_view {
        font-size: 12px;
    }
    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .image {
        width: 75px;
        height: 75px;
        border-radius: 2.5px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_date {
        font-size: 11px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_title {
        font-size: 13px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_price {
        font-size: 16px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon {
        gap: 10px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_title {
        max-width: 135px;
        padding: 5px 6px;
        font-size: 10px;
        border-radius: 4px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_title span {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_view {
        font-size: 11px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_view .view_bubble {
        top: 170%;
        bottom: auto;
        left: auto;
        right: 0;
        transform: none;
        min-width: 200px;
        padding: 13px 12px;
        border-radius: 2.5px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_view .view_bubble::after {
        top: -8%;
        left: auto;
        right: 12%;
        width: 12px;
        height: 12px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_info .od_info_inner .od_info_coupon .coupon_view .view_bubble p {
        font-size: 12px;
        line-height: 17px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn {
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 15px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn .od_btn_item {
        height: 35px;
        padding: 8px;
        font-size: 12px;
        border-radius: 2.5px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn .od_btn_more {
        flex: 0 0 35px;
        gap: 2.5px;
        width: 35px;
        min-width: 35px;
    }

    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn .od_btn_more span {
        width: 2.5px;
        height: 2.5px;
    }

    /* 모바일 배치: 포인트버튼(.od_btn_emph) + 더보기를 첫 줄에, 나머지는 2열(홀수면 마지막이 한 줄 전체) */
    /* 포인트버튼 — 첫 줄, 더보기 옆 공간 채움 */
    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn .od_btn_item.od_btn_emph {
        order: -1;
        flex: 1 1 50%;
    }
    /* 더보기 — 첫 줄 우측(35px 고정은 기존 규칙), 포인트버튼과 같은 줄 */
    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn .od_btn_more {
        order: -1;
    }
    /* 나머지 버튼 — 2열, 마지막이 홀수로 남으면 flex-grow로 한 줄 전체 */
    .orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_btn .od_btn_item:not(.od_btn_emph):not(.od_btn_more) {
        flex: 1 1 calc(50% - 2.5px);
    }


    /* 모달 */
    .oi_modal .oi_modal_panel {
        left: auto;
        top: auto;
        bottom: 0;
        transform: none;
        padding: 44px 25px 20px;
        border-radius: 0;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .oi_modal .oi_modal_panel::before {
        content: "";
        position: absolute;
        top: 13px;
        left: 50%;
        transform: translateX(-50%);
        display: block;
        width: 40px;
        height: 4px;
        background-color: #e6e6e6;
        border-radius: 2px;
    }

    .oi_modal .oi_modal_title {
        font-size: 16px;
    }

    .oi_modal .oi_modal_close {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .oi_modal.filter_oi_modal .oi_filter_list {
        margin-top: 20px;
        padding-top: 6px;
    }

    .oi_modal.filter_oi_modal .oi_filter_item {
        padding: 13px 0;
        font-size: 14px;
    }

    /* 모달 > 더보기 */
    .oi_modal.more_oi_modal .oi_modal_panel {
        max-width: 100%;
    }

    .oi_modal.more_oi_modal .oi_more_thumb {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .oi_modal.more_oi_modal .oi_more_name {
        margin-bottom: 25px;
        font-size: 15px;
    }

    .oi_modal.more_oi_modal .oi_more_btn {
        height: 43px;
        font-size: 13px;
        border-radius: 3px;
    }

    .oi_modal.more_oi_modal .oi_more_btn svg {
        width: 15px;
        height: 15px;
    }

    /* 모달 > 검색 */
    .oi_modal.search_oi_modal .oi_modal_panel {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        max-height: 100vh;
        height: 100%;
        padding: 0;
        border-radius: 0;
        overflow-y: hidden;
    }

    .oi_modal.search_oi_modal .oi_modal_panel::before {
        display: none;
    }

    .oi_modal.search_oi_modal .oi_modal_close {
        display: none;
    }

    /* 헤더: 뒤로가기 + 상품명 입력폼(좌) / 돋보기(우) */
    .oi_modal.search_oi_modal .oi_modal_head {
        flex-shrink: 0;
        gap: 15px;
        padding: 0 15px;
        border-bottom: 1px solid #e1e1e1;
    }
    .oi_modal.search_oi_modal .oi_modal_back,
    .oi_modal.search_oi_modal .oi_search_trigger {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        color: #1b1b1b;
        cursor: pointer;
    }
    /* 헤더 검색 입력폼 (모바일): 남은 폭 채우는 인라인 입력 */
    .oi_modal.search_oi_modal .oi_head_search {
        flex: 1;
        min-width: 0;
        margin-bottom: 0;
    }
    .oi_modal.search_oi_modal .oi_head_search .oi_search_input {
        height: 43px;
        padding: 0;
        font-size: 14px;
        background-color: transparent;
        border-radius: 0;
    }
    .oi_modal.search_oi_modal .oi_head_search .oi_search_clear {
        display: none;
    }

    /* 본문: 남은 높이를 채우고 조회 버튼을 하단에 고정 */
    .oi_modal.search_oi_modal .oi_modal_body {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
        margin-top: 0;
        padding: 25px 15px 15px;
        overflow-y: auto;
    }

    .oi_modal.search_oi_modal .oi_period_tabs {
        gap: 6px;
        margin-bottom: 12px;
    }

    .oi_modal.search_oi_modal .oi_period_tab {
        padding: 11px 13px;
        font-size: 12px;
        border-radius: 17px;
    }

    .oi_modal.search_oi_modal .oi_status_filter {
        margin-bottom: 0;
    }

    .oi_modal.search_oi_modal .oi_status_label {
        font-size: 14px;
    }

    .oi_modal.search_oi_modal .oi_status_pills {
        gap: 10px 8px;
    }

    .oi_modal.search_oi_modal .oi_status_pill {
        padding: 11px 13px;
        font-size: 12px;
        border-radius: 17px;
    }

    .oi_modal.search_oi_modal .oi_search_submit {
        flex-shrink: 0;
        margin-top: auto;
        height: 48px;
        font-size: 15px;
        font-weight: 500;
        border-radius: 2.5px;
    }

    /* 모달 > 쿠폰 */
    .oi_modal.coupon_oi_modal .oi_modal_panel {
        max-width: 100%;
        padding: 44px 25px 20px;
    }

    .oi_modal.coupon_oi_modal .oi_modal_head {
        padding-bottom: 20px;
        border-bottom: 0;
    }

    .oi_modal.coupon_oi_modal .oi_modal_inner {
        margin-top: 0;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_list {
        padding: 15px;
        border-radius: 5px;
    }
    
    .oi_modal.coupon_oi_modal .oi_coupon_card {
        position: relative;
        flex-wrap: wrap;
        gap: 13px;
        padding: 20px;
        border-radius: 5px;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_img {
        width: 70px;
        height: 70px;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_cate {
        margin-bottom: 10px;
        padding: 4px 5px;
        font-size: 10px;
        border-radius: 4px;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_name {
        margin-bottom: 0;
        font-size: 15px;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_meta {
        width: 100%;
        padding-top: 13px;
        border-top: 1px solid #f2f2f2;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_meta > div {
        font-size: 12px;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_meta dt {
        width: 60px;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_kakao,
    .oi_modal.coupon_oi_modal .oi_coupon_done {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 7px;
        border-radius: 50%;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_kakao svg {
        width: 20px;
        height: 20px;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_card.is-used .oi_coupon_kakao {
        background-color: #e1e1e1;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_card.is-used .oi_coupon_kakao svg {
        fill: #999999;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_share {
        position: absolute;
        right: 20px;
        bottom: 20px;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_foot {
        margin-top: 20px;
    }

    .oi_modal.coupon_oi_modal .oi_coupon_btn {
        flex: 1;
        min-width: 0;
        padding: 15px;
        font-size: 14px;
        border-radius: 2.5px;
    }
}


@media (max-width:480px) {
    
    .orderinquiry_style .orderinquiry_form .od_wrap .od_info_inner > div div {
        font-weight: 400;
    }
    .orderinquiry_style .orderinquiry_form .od_wrap .od_info_inner > div:last-child div {
        font-weight: 400;
    }
}
body.oi_modal_open {
    overflow: hidden;
}


/* ===== 주문 상세보기 (orderinquiryview) ===== */
/* 공통 */
.order_view_style {
    max-width: 650px;
    margin: 0 auto;
}

.order_view_style .ov_title {
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #222222;
}

.order_view_style .ov_common {
    margin-bottom: 60px;
}

.order_view_style .ov_common .ov_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.order_view_style .ov_common .ov_top .ov_top_title {
    font-size: 24px;
    font-weight: 500;
    color: #1b1b1b;
}

.order_view_style .ov_common .ov_inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 32px;
    background-color: #ffffff;
    border-radius: 17px;
}

.order_view_style .ov_common .ov_top_arrow {
    flex-shrink: 0;
    color: #1b1b1b;
    cursor: pointer;
}

.order_view_style .ov_common .ov_top_arrow {
    color: #333333;
    transition: transform 0.2s ease;
}

.order_view_style .ov_common .ov_top_sum {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--main-btn-point-color);
}

.order_view_style .ov_common.ov_item > .ov_top,
.order_view_style .ov_common.ov_payment > .ov_top,
.order_view_style .ov_common.ov_point > .ov_top {
    cursor: pointer;
}

.order_view_style .ov_common.is-collapsed .ov_inner {
    display: none;
}

.order_view_style .ov_common.is-collapsed > .ov_top {
    margin-bottom: 0;
}

.order_view_style .ov_common.is-collapsed .ov_top_arrow {
    transform: rotate(180deg);
}

/* ===== 주문일시 / 주문번호 (ov_meta) ===== */
.order_view_style .ov_common.ov_meta .ov_top {
    justify-content: flex-end;
    margin-bottom: 12px;
}

.order_view_style .ov_common.ov_meta .ov_top .ov_top_btn {
    padding: 8px 9px;
    font-size: 14px;
    font-weight: 700;
    color: #757575 !important;
    background-color: #f1f1f1;
    border: 0;
    border-radius: 3px !important;
}

.order_view_style .ov_common.ov_meta .ov_inner .ov_order_date {
    font-size: 15px;
    line-height: 1;
    color: #999999;
}

.order_view_style .ov_common.ov_meta .ov_inner .ov_order_no {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #1b1b1b;
}

.order_view_style .ov_common.ov_meta .ov_inner .ov_order_no span {
    font-weight: 400;
}

/* ===== 주문상품 (ov_item) ===== */
.order_view_style .ov_common.ov_item .ov_inner {
    gap: 0;
    padding: 0;
}

.order_view_style .ov_common.ov_item .ov_brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 1px solid #f2f2f2;
}

.order_view_style .ov_common.ov_item .ov_brand .ov_brand_title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    color: #666666;
}

.order_view_style .ov_common.ov_item .ov_brand .ov_btn_more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    font-size: 14px;
    font-weight: 400;
    color: #727272;
    border-radius: 3px;
    background-color: #f4f4f4;
    cursor: pointer;
}

.order_view_style .ov_common.ov_item .order_product_box {
    position: relative;
    display: block;
    padding: 25px 30px;

}

.order_view_style .ov_common.ov_item .order_product_box + .order_product_box {
    border: 0;
}

.order_view_style .ov_common.ov_item .order_product_box + .order_product_box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 30px;
    width: calc(100% - 60px);
    height: 1px;
    background-color: #f2f2f2;
}

.order_view_style .ov_common.ov_item .order_product_status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 700;
    color: #1b1b1b;
}

.order_view_style .ov_common.ov_item .order_product_status span {
    font-size: 14px;
    font-weight: 400;
    color: #999999;
}

.order_view_style .ov_common.ov_item .order_product_inner {
    display: block;
    place-items: flex-start;
    padding: 0;
}

.order_view_style .ov_common.ov_item .order_product_inner > a {
    display: flex;
    align-items: center;
    gap: 20px;
}

.order_view_style .ov_common.ov_item .image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border: 1px solid #f3f3f3;
    border-radius: 5px;
}

.order_view_style .ov_common.ov_item .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order_view_style .ov_common.ov_item .content {
    margin: 0;
}

.order_view_style .ov_common.ov_item .content .content_subname {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 300;
    color: #666666;
}

.order_view_style .ov_common.ov_item .content .content_name {
    height: auto;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #222222;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order_view_style .ov_common.ov_item .content .content_opt {
    display: flex;
    align-items: center;
}

.order_view_style .ov_common.ov_item .content .content_opt + .content_opt {
    margin-top: 2px;
}

.order_view_style .ov_common.ov_item .content .content_opt li {
    position: relative;
    margin-right: 5px;
    padding-right: 5px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3;
    color: #666666;
}
.order_view_style .ov_common.ov_item .content .content_opt li.opt_label {
    padding: 3px 4px;
    font-size: 11px;
    font-weight: 400;
    color: #999999;
    background-color: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
}

.order_view_style .ov_common.ov_item .content .content_opt li.opt_label::after,
.order_view_style .ov_common.ov_item .content .content_opt li:last-child::after {
    display: none;
}

.order_view_style .ov_common.ov_item .content .content_price {
    margin-top: 10px;
}

.orderinquiryview .order_product_info .order_product_inner > a .content ul.content_price li:first-child {
    display:flex;
    margin-right: 10px;
}
.orderinquiryview .order_product_info .order_product_inner > a .content ul.content_price li:last-child {
    font-size: 14px;
    font-weight: 300;
    color: var(--main-box-font-color2);
}
.orderinquiryview .order_product_info .order_product_inner > a .content ul.content_price li:first-child span {
    display: block;
    font-weight: 500;
}

.order_view_style .ov_common.ov_item .ov_coupon {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.order_view_style .ov_common.ov_item .ov_coupon .coupon_title {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 7px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: var(--main-font-point-color);
    background-color: var(--main-btn-point-color1);
    border-radius: 3px;
}
.order_view_style .ov_common.ov_item .ov_coupon .coupon_title svg {
    flex-shrink: 0;
}
.order_view_style .ov_common.ov_item .ov_coupon .coupon_title span {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.order_view_style .ov_common.ov_item .ov_coupon .coupon_view {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    color: #727272;
    cursor: pointer;
}
.order_view_style .ov_common.ov_item .ov_coupon .coupon_view .view_icon {
    font-family: "SUIT", sans-serif;
}

.order_view_style .ov_common.ov_item .ord_btn {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}
.order_view_style .ov_common.ov_item .ord_btn .ord_btn_item {
    flex: 1 1 calc(25% - 4.5px); /* PC: 한 줄 최대 4개 (홀수 남으면 flex-grow로 채움) */
    width: auto;
    height: auto;
    margin: 0;
    padding: 14px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    color: #444444;
    background-color: #f7f7f9;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
}
/* 한 줄 전체 차지 (구매확정 / 후기쓰기) — 상단 배치 */
.order_view_style .ov_common.ov_item .ord_btn .ord_btn_full {
    flex: 0 0 100%;
    order: -1;
}
/* 구매확정 / 리뷰쓰기 — 연보라 강조 */
.order_view_style .ov_common.ov_item .ord_btn .confirm-btn,
.order_view_style .ov_common.ov_item .ord_btn .review-btn,
.order_view_style .ov_common.ov_item .ord_btn .ord_btn_emph {
    color: var(--main-btn-point-color);
    background-color: #ececfb;
    font-weight: 500;
}
/* 교환/반품 추가금 결제완료 — 비활성 표시 */
.order_view_style .ov_common.ov_item .ord_btn .ord_btn_done {
    color: #999999;
    background-color: #f2f2f2;
    cursor: default;
}

.order_view_style .ov_common.ov_item .ov_cancel_all {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: #444444;
    background-color: #f7f7f9;
    border-radius: 5px;
    cursor: pointer;
}

.order_view_style .ov_common.ov_item .ov_cancel {
    padding: 30px;
    border-top: 1px solid #eeeeee;
}

.order_view_style .ov_common.ov_item .ov_cancel_toggle,
.order_view_style .ov_common.ov_item .cancel-all-btn {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: #444444;
    background-color: #f7f7f9;
    border-radius: 5px;
    cursor: pointer;
}

.order_view_style .ov_common.ov_item .ov_cancel.is-open .ov_cancel_toggle {
    display: none;
}

.order_view_style .ov_common.ov_item .ov_cancel_form {
    display: none;
}

.order_view_style .ov_common.ov_item .ov_cancel.is-open .ov_cancel_form {
    display: block;
}

.order_view_style .ov_common.ov_item .ov_cancel_row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.order_view_style .ov_common.ov_item .ov_cancel_row .ov_cancel_field {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

.order_view_style .ov_common.ov_item .ov_cancel_field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.order_view_style .ov_common.ov_item .ov_cancel_label {
    flex-shrink: 0;
    width: 75px;
    font-size: 16px;
    font-weight: 300;
    color: #444444;
}

.order_view_style .ov_common.ov_item .ov_cancel_input,
.order_view_style .ov_common.ov_item .ov_cancel_select {
    flex: 1;
    width: 100%;
    height: 45px;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 300;
    color: #222222;
    background-color: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
}

.order_view_style .ov_common.ov_item .ov_cancel_select_wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
}
.order_view_style .ov_common.ov_item .ov_cancel_select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 28px;
    cursor: pointer;
}
.order_view_style .ov_common.ov_item .ov_cancel_select_wrap::after {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-right: 1px solid #777777;
    border-bottom: 1px solid #777777;
    transform: rotate(45deg);
    pointer-events: none;
}

.order_view_style .ov_common.ov_item .ov_cancel_submit {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: #444444;
    background-color: #f7f7f9;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.order_view_style .ov_common.ov_item .ov_cancel_submit.is-active {
    color: #fff;
    background-color: var(--main-btn-point-color);
}

.order_view_style .ov_common.ov_item .ov_cancel_done {
    margin-top: 20px;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 5px;
    text-align: left;
}

.order_view_style .ov_common.ov_item .ov_cancel_done .ov_cancel_reason_title {
    font-size: 14px;
    font-weight: 500;
    color: #f86e78;
}

.order_view_style .ov_common.ov_item .ov_cancel_done .ov_cancel_reason_title span {
    color: #999999;
    font-weight: 300;
}

/* ===== 배송지 (ov_payment) ===== */
.order_view_style .ov_common.ov_receipt .ov_receipt_item {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    color: #1b1b1b;
}

.order_view_style .ov_common.ov_receipt .ov_receipt_item.ov_receipt_name {
    font-size: 17px;
    font-weight: 700;
}

.order_view_style .ov_common.ov_receipt .ov_receipt_item.ov_receipt_hp {
    font-size: 15px;
    font-weight: 400;
    color: #666666;
}

/* ===== 결제정보 (ov_payment) ===== */
.order_view_style .ov_common.ov_payment .ov_inner {
    gap: 0;
}

.order_view_style .ov_common.ov_payment .ov_pay_group {
    padding: 20px 0;
    border-top: 1px solid #f2f2f2;
}

.order_view_style .ov_common.ov_payment .ov_pay_group:first-child {
    padding-top: 0;
    border-top: 0;
}

.order_view_style .ov_common.ov_payment .ov_pay_group:last-child {
    padding-bottom: 0;
}

.order_view_style .ov_common.ov_payment .ov_pay_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.order_view_style .ov_common.ov_payment .ov_pay_sub + .ov_pay_sub {
    margin-top: 10px;
}

.order_view_style .ov_common.ov_payment .ov_pay_main + .ov_pay_sub {
    margin-top: 16px;
}

.order_view_style .ov_common.ov_payment .ov_pay_main + .ov_pay_main {
    margin-top: 18px;
}

.order_view_style .ov_common.ov_payment .ov_pay_main .ov_pay_label,
.order_view_style .ov_common.ov_payment .ov_pay_main .ov_pay_val {
    font-size: 16px;
    font-weight: 700;
    color: #666666;
}

.order_view_style .ov_common.ov_payment .ov_pay_sub .ov_pay_label,
.order_view_style .ov_common.ov_payment .ov_pay_sub .ov_pay_val {
    font-size: 14px;
    font-weight: 500;
    color: #999999;
}

.order_view_style .ov_common.ov_payment .ov_pay_sub .ov_pay_label {
    position: relative;
    padding-left: 18px;
}

.order_view_style .ov_common.ov_payment .ov_pay_sub .ov_pay_label::before {
    content: "└ ";
    position: absolute;
    left: 0;
    top: 0;
    color: #dcdcdc;
}

.order_view_style .ov_common.ov_payment .ov_pay_paid .ov_pay_label,
.order_view_style .ov_common.ov_payment .ov_pay_paid .ov_pay_val {
    color: var(--main-btn-point-color);
}

.order_view_style .ov_common.ov_payment .ov_pay_copy {
    display: inline-flex;
    margin-left: 4px;
    color: #999999;
    cursor: pointer;
    vertical-align: middle;
}

.order_view_style .ov_common.ov_payment .ov_pay_receipt {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}

.order_view_style .ov_common.ov_payment .ov_pay_receipt_txt {
    font-size: 14px;
    font-weight: 400;
    color: #555555;
}

.order_view_style .ov_common.ov_payment .ov_pay_btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    font-size: 13px;
    font-weight: 300;
    color: #fff;
    background-color: var(--main-btn-point-color);
    border-radius: 3px;
}

/* ===== 포인트 혜택 (ov_point) ===== */
.order_view_style .ov_common.ov_point .ov_inner {
    gap: 0;
}

.order_view_style .ov_common.ov_point .ov_point_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.order_view_style .ov_common.ov_point .ov_point_sub + .ov_point_sub {
    margin-top: 10px;
}

.order_view_style .ov_common.ov_point .ov_point_main + .ov_point_sub {
    margin-top: 16px;
}

.order_view_style .ov_common.ov_point .ov_point_sub + .ov_point_main {
    margin-top: 18px;
}

.order_view_style .ov_common.ov_point .ov_point_main .ov_point_label,
.order_view_style .ov_common.ov_point .ov_point_main .ov_point_val {
    font-size: 16px;
    font-weight: 700;
    color: #666666;
}

.order_view_style .ov_common.ov_point .ov_point_sub .ov_point_label,
.order_view_style .ov_common.ov_point .ov_point_sub .ov_point_val {
    font-size: 14px;
    font-weight: 500;
    color: #999999;
}

.order_view_style .ov_common.ov_point .ov_point_sub .ov_point_label {
    position: relative;
    padding-left: 18px;
}

.order_view_style .ov_common.ov_point .ov_point_sub .ov_point_label::before {
    content: "└ ";
    position: absolute;
    left: 0;
    top: 0;
    color: #dcdcdc;
}

.order_view_style .ov_common.ov_point .ov_point_label {
    display: inline-flex;
    align-items: center;
}

.order_view_style .ov_common.ov_point .ov_point_help {
    position: relative;
    display: inline-flex;
    margin-left: 4px;
    color: #bbbbbb;
    cursor: pointer;
}

.order_view_style .ov_common.ov_point .ov_point_tip {
    position: absolute;
    top: 135%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    gap: 8px;
    width: max-content;
    padding: 11px 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #666666;
    background-color: #fff;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    white-space: nowrap;
    z-index: 10;
}
.order_view_style .ov_common.ov_point .ov_point_help:hover .ov_point_tip,
.order_view_style .ov_common.ov_point .ov_point_help:focus .ov_point_tip,
.order_view_style .ov_common.ov_point .ov_point_help:focus-within .ov_point_tip {
    display: flex;
}

/* 환불정보 — 메인 행(환불 금액) 포인트색 강조 (포인트혜택 ov_point 구조 재사용) */
.order_view_style .ov_common.ov_refund .ov_point_main .ov_point_label,
.order_view_style .ov_common.ov_refund .ov_point_main .ov_point_val {
    color: var(--main-btn-point-color);
}


/* ===== 배송조회 모달 ===== */
.oi_modal.delivery_oi_modal .oi_modal_head {
    flex-shrink: 0;
    padding-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
}

.oi_modal.delivery_oi_modal .ov_dv_body {
    margin-top: 55px;
}

.oi_modal.delivery_oi_modal .ov_dv_hero {
    margin-bottom: 40px;
    text-align: center;
}

.oi_modal.delivery_oi_modal .ov_dv_hero_date {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--main-btn-point-color);
}

.oi_modal.delivery_oi_modal .ov_dv_hero_desc {
    margin-top: 15px;
    font-size: 15px;
    font-weight: 300;
    color: #999999;
}

.oi_modal.delivery_oi_modal .ov_dv_product {
    padding: 20px;
    background-color: #f6f6f6;
    border-radius: 10px;

}

.oi_modal.delivery_oi_modal .ov_dv_product_inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e1e1;
}

.oi_modal.delivery_oi_modal .ov_dv_thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #e9e9e9;
    border: 1px solid #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
}

.oi_modal.delivery_oi_modal .ov_dv_thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.oi_modal.delivery_oi_modal .ov_dv_pinfo {
    flex: 1;
    min-width: 0;
}

.oi_modal.delivery_oi_modal .ov_dv_pname {
    font-size: 16px;
    font-weight: 500;
    color: #1b1b1b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oi_modal.delivery_oi_modal .ov_dv_pdate {
    margin-top: 10px;
    font-size: 14px;
    color: #999999;
}

.oi_modal.delivery_oi_modal .ov_dv_info {
    padding: 20px 9px 0;
}

.oi_modal.delivery_oi_modal .ov_dv_info > div {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.oi_modal.delivery_oi_modal .ov_dv_info > div:last-child {
    margin-bottom: 0;
}

.oi_modal.delivery_oi_modal .ov_dv_info dt {
    flex-shrink: 0;
    width: 63px;
    font-size: 14px;
    font-weight: 300;
    color: #999999;
}

.oi_modal.delivery_oi_modal .ov_dv_info dd {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #333333;
}

.oi_modal.delivery_oi_modal .ov_dv_tel {
    display: inline-flex;
    color: #555555;
}

.oi_modal.delivery_oi_modal .ov_dv_timeline {
    margin-top: 20px;
    padding: 20px;
    background-color: #f6f6f6;
    border-radius: 10px;
}

.oi_modal.delivery_oi_modal .ov_dv_timeline li {
    position: relative;
    display: flex;
    gap: 9px;
    padding-bottom: 20px;
}

.oi_modal.delivery_oi_modal .ov_dv_timeline li:last-child {
    padding-bottom: 0;
}
.oi_modal.delivery_oi_modal .ov_dv_dot {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8px;
    height: 8px;
    margin: 7px 7px 0;
    background-color: #e1e1e1;
    border-radius: 50%;
}

.oi_modal.delivery_oi_modal .ov_dv_timeline li.is-done .ov_dv_dot {
    width: 20px;
    height: 20px;
    margin: 0;
    background-color: var(--main-btn-point-color);
}

.oi_modal.delivery_oi_modal .ov_dv_dot svg {
    display: none;
}
.oi_modal.delivery_oi_modal .ov_dv_timeline li.is-done .ov_dv_dot svg {
    display: block;
}

.oi_modal.delivery_oi_modal .ov_dv_step_name {
    font-size: 14px;
    font-weight: 400;
    color: #999999;
}

.oi_modal.delivery_oi_modal .ov_dv_timeline li.is-done .ov_dv_step_name {
    color: var(--main-btn-point-color);
}

.oi_modal.delivery_oi_modal .ov_dv_step_date {
    margin-top: 5px;
    font-size: 12px;
    color: #999999;
}

/* ===== 취소 요청 모달 (cancel_oi_modal) ===== */
.oi_modal.cancel_oi_modal .oi_modal_panel {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    max-height: 86vh;
}

.oi_modal.cancel_oi_modal .oi_modal_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
}

.oi_modal.cancel_oi_modal .ov_cm_scroll {
    flex: 0 1 auto;
    min-height: 0;
    margin-top: 25px;
    overflow-y: auto;

}

.oi_modal.cancel_oi_modal .ov_cm_box_wrap {
    max-height: 35vh;
    overflow-y: auto;
    background-color: #f8f8f8;
    border-radius: 10px;
}

.oi_modal.cancel_oi_modal .ov_cm_all {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    cursor: pointer;
    border-bottom: 1px solid #e9e9e9;
}

.oi_modal.cancel_oi_modal .ov_cm_all_txt {
    font-size: 18px;
    font-weight: 500;
    color: #222222;
}

.oi_modal.cancel_oi_modal .ov_cm_list {
    padding: 0 30px;
}

.oi_modal.cancel_oi_modal .ov_cm_item + .ov_cm_item {
    border-top: 1px solid #e9e9e9;
}

.oi_modal.cancel_oi_modal .ov_cm_row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    cursor: pointer;
}

.oi_modal.cancel_oi_modal .ov_cm_chk,
.oi_modal.cancel_oi_modal .ov_cm_all_chk {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.oi_modal.cancel_oi_modal .ov_cm_check {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1.5px solid #cfcfcf;
    border-radius: 50%;
    background-color: #fff;
}

.oi_modal.cancel_oi_modal .ov_cm_check svg {
    opacity: 0;
}

.oi_modal.cancel_oi_modal .ov_cm_chk:checked + .ov_cm_check,
.oi_modal.cancel_oi_modal .ov_cm_all_chk:checked + .ov_cm_check {
    background-color: var(--main-btn-point-color);
    border-color: var(--main-btn-point-color);
}

.oi_modal.cancel_oi_modal .ov_cm_chk:checked + .ov_cm_check svg,
.oi_modal.cancel_oi_modal .ov_cm_all_chk:checked + .ov_cm_check svg {
    opacity: 1;
}

.oi_modal.cancel_oi_modal .ov_cm_thumb {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.oi_modal.cancel_oi_modal .ov_cm_thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.oi_modal.cancel_oi_modal .ov_cm_info {
    flex: 1;
    min-width: 0;
}

.oi_modal.cancel_oi_modal .ov_cm_subname {
    display: block;
    font-size: 13px;
    color: #666666;
}

.oi_modal.cancel_oi_modal .ov_cm_name {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #222222;
}

.oi_modal.cancel_oi_modal .ov_cm_opt {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    font-size: 14px;
    color: #666666;
}

.oi_modal.cancel_oi_modal .ov_cm_opt .opt_label {
    font-style: normal;
    padding: 2px 4px;
    font-size: 12px;
    color: #999999;
    background-color: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
}

.oi_modal.cancel_oi_modal .ov_cm_opt .opt_val,
.oi_modal.cancel_oi_modal .ov_cm_opt .opt_qty {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 85%;
}

.oi_modal.cancel_oi_modal .ov_cm_opt .opt_qty::before {
    content: "|";
    margin-right: 6px;
    color: #c6c6c6;
}

.oi_modal.cancel_oi_modal .ov_cm_price {
    display: block;
    margin-top: 10px;
    font-size: 17px;
    font-weight: 700;
    color: #1b1b1b;
}

.oi_modal.cancel_oi_modal .ov_cm_form {
    margin-top: 20px;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 10px;
}

.oi_modal.cancel_oi_modal .ov_cm_field_row {
    display: flex;
    gap: 30px;
    margin-bottom: 10px;
}

.oi_modal.cancel_oi_modal .ov_cm_field_row .ov_cm_field {
    flex: 1;
    min-width: 0;
}

.oi_modal.cancel_oi_modal .ov_cm_field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.oi_modal.cancel_oi_modal .ov_cm_field:last-child {
    margin-bottom: 0;
}

.oi_modal.cancel_oi_modal .ov_cm_label {
    flex-shrink: 0;
    width: 85px;
    font-size: 16px;
    color: #444444;
}

.oi_modal.cancel_oi_modal .ov_cm_input,
.oi_modal.cancel_oi_modal .ov_cm_select {
    flex: 1;
    width: 100%;
    height: 45px;
    padding: 0 12px;
    font-size: 14px;
    color: #222222;
    background-color: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
}

.oi_modal.cancel_oi_modal .ov_cm_select_wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
}

.oi_modal.cancel_oi_modal .ov_cm_select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 28px;
    cursor: pointer;
}

.oi_modal.cancel_oi_modal .ov_cm_select_wrap::after {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-right: 1.5px solid #777777;
    border-bottom: 1.5px solid #777777;
    transform: rotate(45deg);
    pointer-events: none;
}

.oi_modal.cancel_oi_modal .ov_cm_foot {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 30px 30px 10px;
}

.oi_modal.cancel_oi_modal .ov_cm_btn {
    min-width: 140px;
    padding: 17px 15px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    border-radius: 5px;
    cursor: pointer;
}

.oi_modal.cancel_oi_modal .ov_cm_cancel {
    color: #333333;
    background-color: #f6f6f6;
}

.oi_modal.cancel_oi_modal .ov_cm_submit {
    color: #fff;
    background-color: var(--main-btn-point-color);
}


@media (max-width: 991px) {
    /* ===== 주문 상세보기 (orderinquiryview) ===== */
    /* 공통 */
    .order_view_style.orderinquiryview .order_product_info {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .order_view_style.orderinquiryview .order_product_info::after {
        display: none;
    }

    .order_view_style .ov_title {
        margin-bottom: 35px;
        font-size: 21px;
        font-weight: 500;
    }

    .order_view_style .ov_common {
        margin-bottom: 35px;
    }

    .order_view_style .ov_common .ov_top {
        margin-bottom: 15px;
    }

    .order_view_style .ov_common .ov_top .orderform_item {
        padding-bottom: 0;
    }

    .order_view_style .ov_common .ov_top .orderform_item::after {
        display: none;
    }

    .order_view_style .ov_common .ov_top .ov_top_title {
        font-size: 15px;
        font-weight: 700;
    }

    .order_view_style .ov_common .ov_inner {
        gap: 12px;
        padding: 20px 15px;
        border-radius: 10px;
    }

    .order_view_style .ov_common .ov_top_arrow {
        width: 18px;
        height: 18px;
    }

    .order_view_style .ov_common .ov_top_sum {
        gap: 4px;
        font-size: 14px;
    }

    /* ===== 주문일시 / 주문번호 (ov_meta) ===== */
    .order_view_style .ov_common.ov_meta .ov_top {
        margin-bottom: 10px;
    }

    .order_view_style .ov_common.ov_meta .ov_top > p {
        display: flex;
        gap: 6px;
        width: 100%;
    }

    .order_view_style .ov_common.ov_meta .ov_top .ov_top_btn {
        flex: 1;
        padding: 10px;
        font-size: 13px;
        font-weight: 500;
        text-align: center;
        border-radius: 4px !important;
    }

    .order_view_style .ov_common.ov_meta .ov_inner .ov_order_date {
        font-size: 13px;
    }

    .order_view_style .ov_common.ov_meta .ov_inner .ov_order_no {
        font-size: 15px;
    }

    .order_view_style .ov_common.ov_meta .ov_inner .ov_order_no span {
        font-weight: 500;
    }

    /* ===== 주문상품 (ov_item) ===== */
    .order_view_style .ov_common.ov_item .ov_brand {
        padding: 20px 15px;
    }

    .order_view_style .ov_common.ov_item .ov_brand .ov_brand_title {
        font-size: 14px;
    }

    .order_view_style .ov_common.ov_item .ov_brand .ov_btn_more {
        padding: 7px 15px;
        font-size: 12px;
        border-radius: 2.5px;
    }

    .order_view_style .ov_common.ov_item .order_product_box {
        padding: 20px 15px;
    }

    .order_view_style .ov_common.ov_item .order_product_box + .order_product_box::before {
        left: 15px;
        width: calc(100% - 30px);
    }
    
    .orderinquiryview .order_product_info .order_product_inner > a .image img {
        object-fit: cover;
    }

    .order_view_style .ov_common.ov_item .order_product_status {
        margin-bottom: 15px;
        font-size: 14px;
    }

    .order_view_style .ov_common.ov_item .order_product_status span {
        font-size: 11px;
    }

    .order_view_style .ov_common.ov_item .order_product_inner > a {
        gap: 15px;
    }

    .order_view_style .ov_common.ov_item .image {
        width: 75px;
        height: 75px;
        border-radius: 2.5px;
    }

    .order_view_style .ov_common.ov_item .content .content_subname {
        margin-bottom: 9px;
        font-size: 11px;
    }

    .order_view_style .ov_common.ov_item .content .content_name {
        font-size: 13px;
    }

    .order_view_style .ov_common.ov_item .content .content_opt li {
        font-size: 11px;
    }

    .order_view_style .ov_common.ov_item .content .content_opt li::after {
        height: 12px;
    }

    .order_view_style .ov_common.ov_item .content .content_opt li.opt_label {
        font-size: 10px;
        border-radius: 2.5px;
    }
    .orderinquiryview .order_product_info .order_product_inner > a .content ul.content_price li:first-child span {
        font-size: 15px;
    }
    .order_view_style .ov_common.ov_item .ov_coupon {
        margin-top: 8px;
    }

    .order_view_style .ov_common.ov_item .ov_coupon .coupon_title {
        padding: 5px 6px;
        font-size: 10px;
        border-radius: 4px;
    }

    .order_view_style .ov_common.ov_item .ov_coupon .coupon_view {
        font-size: 11px;
    }

    .order_view_style .ov_common.ov_item .ord_btn {
        gap: 5px;
        margin-top: 15px;
    }
    .order_view_style .ov_common.ov_item .ord_btn .ord_btn_item {
        padding: 12px;
        font-size: 12px;
        border-radius: 2.5px;
    }
    /* 모바일: 전체행(구매확정/리뷰) 제외 나머지는 2개씩, 홀수면 마지막이 한 줄 전체 (flex-grow로 채움) */
    .order_view_style .ov_common.ov_item .ord_btn .ord_btn_item:not(.ord_btn_full) {
        flex: 1 1 calc(50% - 2.5px);
    }

    .order_view_style .ov_common.ov_item .ov_cancel_all {
        font-size: 12px;
        border-radius: 2.5px;
    }

    .order_view_style .ov_common.ov_item .ov_cancel {
        padding: 15px;
    }

    .order_view_style .ov_common.ov_item .ov_cancel_toggle,
    .order_view_style .ov_common.ov_item .cancel-all-btn {
        padding: 14px;
        font-size: 12px;
        border-radius: 2.5px;
    }

    .order_view_style .ov_common.ov_item .ov_cancel_row {
        gap: 6px;
        margin-bottom: 8px;
    }

    .order_view_style .ov_common.ov_item .ov_cancel_field {
        gap: 5px;
        margin-bottom: 8px;
    }

    .order_view_style .ov_common.ov_item .ov_cancel_label {
        width: 50px;
        font-size: 13px;
    }

    .order_view_style .ov_common.ov_item .ov_cancel_input,
    .order_view_style .ov_common.ov_item .ov_cancel_select {
        height: 40px;
        font-size: 12px;
        border-radius: 2.5px;
    }

    .order_view_style .ov_common.ov_item .ov_cancel_select {
        padding-right: 14px;
    }

    .order_view_style .ov_common.ov_item .ov_cancel_select_wrap::after {
        right: 13px;
        width: 5px;
        height: 5px;
        margin-top: -3px;
    }

    .order_view_style .ov_common.ov_item .ov_cancel_submit {
        margin-top: 15px;
        padding: 14px;
        font-size: 12px;
        border-radius: 2.5px;
    }

    .order_view_style .ov_common.ov_item .ov_cancel_done {
        margin-top: 15px;
        padding: 20px 15px;
        border-radius: 2.5px;
    }
    
    .order_view_style .ov_common.ov_item .ov_cancel_done .ov_cancel_reason_title {
        font-size: 12px;
    }

    /* ===== 배송지 (ov_payment) ===== */
    .order_view_style .ov_common.ov_receipt .ov_receipt_item {
        font-size: 14px;
    }

    .order_view_style .ov_common.ov_receipt .ov_receipt_item.ov_receipt_name {
        font-size: 14px;
    }

    .order_view_style .ov_common.ov_receipt .ov_receipt_item.ov_receipt_hp {
        font-size: 14px;
    }

    /* ===== 결제정보 (ov_payment) ===== */
    .order_view_style .ov_common.ov_payment .ov_pay_row {
        gap: 10px;
    }

    .order_view_style .ov_common.ov_payment .ov_pay_main .ov_pay_label,
    .order_view_style .ov_common.ov_payment .ov_pay_main .ov_pay_val {
        font-size: 14px;
    }

    .order_view_style .ov_common.ov_payment .ov_pay_sub .ov_pay_label,
    .order_view_style .ov_common.ov_payment .ov_pay_sub .ov_pay_val {
        font-size: 12px;
    }

    .order_view_style .ov_common.ov_payment .ov_pay_sub .ov_pay_label {
        padding-left: 13px;
    }

    .order_view_style .ov_common.ov_payment .ov_pay_copy svg {
        width: 13px;
        height: 13px;
    }

    .order_view_style .ov_common.ov_payment .ov_pay_receipt_txt {
        font-size: 12px;
    }

    .order_view_style .ov_common.ov_payment .ov_pay_btn {
        font-size: 12px;
        border-radius: 4px;
    }

    /* ===== 포인트 혜택 (ov_point) ===== */
    .order_view_style .ov_common.ov_point .ov_point_row {
        gap: 10px;
    }

    .order_view_style .ov_common.ov_point .ov_point_main .ov_point_label,
    .order_view_style .ov_common.ov_point .ov_point_main .ov_point_val {
        font-size: 14px;
    }

    .order_view_style .ov_common.ov_point .ov_point_sub .ov_point_label,
    .order_view_style .ov_common.ov_point .ov_point_sub .ov_point_val {
        font-size: 12px;
    }

    .order_view_style .ov_common.ov_point .ov_point_sub .ov_point_label {
        padding-left: 13px;
    }

    .order_view_style .ov_common.ov_point .ov_point_tip {
        top: 130%;
        gap: 6px;
        padding: 13px;
        font-size: 12px;
        border-radius: 2.5px;
    }

    /* ===== 배송조회 모달 ===== */
    .oi_modal.delivery_oi_modal .oi_modal_head {
        padding-bottom: 20px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_body {
        margin-top: 30px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_hero {
        margin-bottom: 30px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_hero_date {
        font-size: 21px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_hero_desc {
        font-size: 13px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_product {
        padding: 20px 15px;
        border-radius: 5px;

    }

    .oi_modal.delivery_oi_modal .ov_dv_product_inner {
        gap: 15px;
        padding-bottom: 15px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_thumb {
        width: 40px;
        height: 40px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_pname {
        font-size: 13px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_pdate {
        font-size: 12px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_info {
        padding: 15px 0 0;
    }

    .oi_modal.delivery_oi_modal .ov_dv_info > div {
        gap: 8px;
        margin-bottom: 11px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_info dt {
        width: 55px;
        font-size: 13px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_info dd {
        font-size: 13px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_tel svg {
        width: 12px;
        height: 12px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_timeline {
        margin-top: 10px;
        padding: 15px;
        border-radius: 5px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_timeline li:not(:last-child)::before {
        left: 8px;
        top: 20px;
        bottom: -2px;
        width: 2px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_dot {
        margin: 4px 4px 0;
    }

    .oi_modal.delivery_oi_modal .ov_dv_timeline li.is-done .ov_dv_dot {
        width: 17px;
        height: 17px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_step_name {
        font-size: 13px;
    }

    .oi_modal.delivery_oi_modal .ov_dv_step_date {
        font-size: 11px;
    }
    
    /* ===== 취소 요청 모달 (cancel_oi_modal) ===== */
    .oi_modal.cancel_oi_modal .oi_modal_panel {
        width: 100%;
        max-width: none;
        max-height: 90vh;
    }
    .oi_modal.cancel_oi_modal .oi_modal_head {
        padding-bottom: 20px;
        border-bottom: 0;
    }

    .oi_modal.cancel_oi_modal .ov_cm_scroll {
        margin-top: 0;
    }

    .oi_modal.cancel_oi_modal .ov_cm_box_wrap {
        max-height: 30vh;
        border-radius: 5px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_all {
        padding: 20px 15px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_all_txt {
        font-size: 14px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_list {
        padding: 0 15px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_row {
        gap: 10px;
        padding: 15px 0;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_check {
        width: 20px;
        height: 20px;
        border: 1px solid #cfcfcf;
    }

    .oi_modal.cancel_oi_modal .ov_cm_thumb {
        flex-shrink: 0;
        width: 75px;
        height: 75px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_subname {
        font-size: 11px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_name {
        font-size: 13px;
        font-weight: 500;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_opt {
        gap: 8px;
        font-size: 12px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_opt .opt_label {
        font-size: 10px;
        border-radius: 4px;
    }

    .oi_modal.cancel_oi_modal .ov_cm_opt .opt_val,
    .oi_modal.cancel_oi_modal .ov_cm_opt .opt_qty {
        max-width: 70%;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_opt .opt_qty::before {
        margin-right: 5px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_price {
        margin-top: 9px;
        font-size: 15px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_form {
        margin-top: 10px;
        padding: 20px 15px;
        border-radius: 5px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_field_row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 10px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_field {
        display: block;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_label {
        width: 100%;
        margin-bottom: 13px;
        font-size: 14px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_input,
    .oi_modal.cancel_oi_modal .ov_cm_select {
        height: 40px;
        font-size: 12px;
        border-radius: 2.5px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_select {
        padding-right: 14px;
    }
    
    .oi_modal.cancel_oi_modal .ov_cm_select_wrap::after {
        right: 13px;
        width: 5px;
        height: 5px;
        margin-top: -3px;
    }

    .oi_modal.cancel_oi_modal .ov_cm_foot {
        padding: 14px 0 0;
    }

    .oi_modal.cancel_oi_modal .ov_cm_btn {
        flex: 1;
        min-width: 0;
        padding: 14px 15px;
        font-size: 14px;
        border-radius: 2.5px;
    }
}

/* 구매확정/취소완료 — 상태 텍스트 회색(#999) (리스트 .od_state.end와 동일 톤) */
.order_view_style .ov_common.ov_item .order_product_status.end {
    color: #999999;
}

/* 교환/반품 진행 상태값 — 빨강 강조 (리스트 od_state / 상세 order_product_status) */
.orderinquiry_only .orderinquiry_form .od_wrap .od_item .od_title .od_state.is-refund {
    color: #f86e78;
}
.order_view_style .ov_common.ov_item .order_product_status.is-refund {
    color: #f86e78;
}

/* 교환/반품 사유·상세사유 (상세페이지, view_refund) */
.order_view_style .ov_common.ov_item .ov_refund_reason {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #f2f2f2;
}
.order_view_style .ov_common.ov_item .ov_refund_reason_row {
    display: flex;
    gap: 16px;
}
.order_view_style .ov_common.ov_item .ov_refund_reason_row + .ov_refund_reason_row {
    margin-top: 8px;
}
.order_view_style .ov_common.ov_item .ov_refund_reason_label {
    flex-shrink: 0;
    width: 70px;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
}
.order_view_style .ov_common.ov_item .ov_refund_reason_val {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
    color: #1b1b1b;
}

@media (max-width: 991px) {
    .order_view_style .ov_common.ov_item .ov_refund_reason_label {
        width: 56px;
        font-size: 13px;
    }
    .order_view_style .ov_common.ov_item .ov_refund_reason_val {
        font-size: 13px;
    }
}
/* 주문서 작성 페이지 */.ordersheet {
    width: 100%;
}
.ordersheet_cont {
    display: block;
    margin-bottom: 80px;
}
@media (min-width: 992px) {
    .ordersheet_proof_of_payment,
    .ordersheet_payment_agree {
        margin-top: 40px;
    }
}
@media (max-width: 991px) {
    .ordersheet_cont {
        position: relative;
        margin-bottom: 0;
        padding: 40px 0;
    }
    .ordersheet_payment.ordersheet_cont,
    .ordersheet_cp.ordersheet_cont {
        padding: 40px 0 70px;
    }
    .ordersheet_cont::after {
        content: "";
        width: calc(100% + 30px);
        height: 10px;
        background: #f9f9fa;
        position: absolute;
        bottom: 0;
        left: -15px;
    }
}
@media (max-width: 480px) {
    .ordersheet_cont {
        padding: 30px 0 40px;
    }
    .ordersheet_payment.ordersheet_cont,
    .ordersheet_cp.ordersheet_cont {
        padding: 40px 0 70px;
    }
}
@media (max-width: 991px) {
    .ordersheet_payment.ordersheet_cont {
        padding-top: 0;
    }
}
.ordersheet_title {
    font-size: 24px;
    font-weight: 500;
    color: var(--main-box-font-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 25px;
    border-bottom: 1px solid #444444;
}
.ordersheet_title h3 {
    font-family: "Pretendard";
    font-weight: 500;
}

.ordersheet_text_check label {
    display: flex;
}

.ordersheet_text_check label .text {
    font-size: 15px;
    color: var(--main-box-font-color2);
    padding-left: 10px;
}


@media (max-width: 991px) {
    .ordersheet_title {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .ordersheet_text_check label .text {
        padding-left: 8px;
        font-size: 13px;
    }

    #tempPayBox .ch_check.ordersheet_text_check .radio_check_label, 
    .ordersheet_send_method .ch_check.ordersheet_text_check .radio_check_label {
        display: flex;
        align-items: center;
        padding-bottom: 30px;
    }
}
@media (max-width: 480px) {
    .ordersheet_title {
        font-size: 16px;
        font-weight: 700;
    }
    .ordersheet_title h3 {
        font-weight: 700;
    }
}
.ordersheet_title_length .first_product_name,
.ordersheet_title_length .other_text,
.ordersheet_title_length .mobile_hidden {
    display: none;
}
@media (max-width: 991px) {
    .ordersheet_title_length .first_product_name,
    .ordersheet_title_length .other_text,
    .ordersheet_title_length .mobile_hidden {
        display: inline;
    }

    .ordersheet_title_length .other_text {
        margin-right: 15px;
        font-size: 13px;
        color: var(--main-box-font-color2);
        font-weight: 400;
    }

    .ordersheet_title_length .other_text .point_color {
        display: inline-block;
        color: var(--main-box-font-color) !important;
        font-weight: 500;
    }

    .ordersheet_title_length .other_text .point_color .product_length {
        display: inline-block;
    }
}
.ordersheet_title_arrow {
    display: flex;
    width: 16px;
    height: 9px;
    position: relative;
    right: 0;
    transition: all 0.3s ease;
}
.ordersheet_title_arrow .arrow {
    width: 2px;
    height: 11px;
    background: #555555;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    left: 4px;
}
.ordersheet_title_arrow .arrow:last-child {
    left: auto;
    right: 3px;
    transform: rotate(-45deg);
}
.ordersheet_title_arrow.active {
    transform: rotate(180deg);
}
@media (max-width: 991px) {
    .ordersheet_title_arrow.active {
        top: 4px;
    }
}
@media (max-width: 480px) {
    .ordersheet_title_arrow {
        width: 12px;
        height: 7px;
    }
    .ordersheet_title_arrow .arrow {
        width: 1px;
        height: 9px;
        left: 3px;
    }
    .ordersheet_title_arrow .arrow:last-child {
        left: auto;
        right: 2px;
    }
    .ordersheet_title_arrow.active {
        top: 0;
    }
}
.ordersheet_title_length {
    display: flex;
    align-items: center;
}
@media (max-width: 991px) {
    .ordersheet_title_length .ordersheet_length {
        display: block;
        margin-right: 15px;
        padding: 0;
        border: 0;
    }
    /* .ordersheet_title_length.active .ordersheet_length > .other_text{
    display: none;
  } */
}
@media (max-width: 991px) {
    .ordersheet_title_length .ordersheet_length {
        display: none;
    }
    .ordersheet_title_length .ordersheet_length .mobile_hidden {
        display: none;
    }
    .ordersheet_title_length .ordersheet_length .first_product_name {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-inline-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        line-height: 1.1;
        height: 1.1em;
        position: relative;
        top: 3px;
    }
}
@media (max-width: 480px) {
    .ordersheet_title_length .ordersheet_length .first_product_name {
        max-width: 150px;
    }
}
.ordersheet_inner {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eeeeee;
    display: none;
    align-items: center;
}
.ordersheet_inner:first-child {
    padding-top: 30px;
}
.ordersheet_inner:last-child {
    margin-bottom: 0;
}
@media (max-width: 480px) {
    .ordersheet_inner {
        margin-bottom: 20px;
        padding-bottom: 0;
        border-bottom: none;
        position: relative;
    }
    .ordersheet_inner:first-child {
        padding-top: 10px;
    }
    .ordersheet_inner + .ordersheet_inner {
        border-bottom: 1px solid #eeeeee;
    }
    .ordersheet_inner + .ordersheet_inner::before {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background-color: #eee;
        position: absolute;
        top: -20px;
        left: 0;
    }
}
.ordersheet_inner .image {
    width: 130px;
    border-radius: 5px;
    overflow: hidden;
}
.ordersheet_inner .image img {
    width: 100%;
}
@media (max-width: 480px) {
    .ordersheet_inner .image {
        width: 78px;
        min-width: 78px;
        height: 78px;
        border-radius: 3px;
        overflow: hidden;
    }
    .ordersheet_inner .image img {
        height: 83px;
        position: relative;
        top: -5px;
        object-fit: cover;
    }
}
.ordersheet_inner .content {
    width: calc(100% - 230px);
    padding-left: 20px;
}
.ordersheet_inner .content_subname {
    font-size: 13px;
    color: #666666;
    font-weight: 300;
    margin-bottom: 4px;
    line-height: 1.5;
}
.ordersheet_inner .content_name {
    font-size: 18px;
    font-weight: bold;
    color: var(--main-box-font-color);
    line-height: 1.5;
    margin-bottom: 10px;
}
.ordersheet_inner .content_option {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    /*
  li::after{
      content:"";
      width:1px;
      height:15px;
      background:#c7c7c7;
      position:absolute;
      right:-10px;
      top:2px;
      @include responsive-991(){display: none;}
  }
  */
}
.ordersheet_inner .content_option li {
    position: relative;
    font-size: 14px;
    color: var(--main-box-font-color2);
    margin-bottom: 15px;
    width: 100%;
}
@media (max-width: 991px) {
    .ordersheet_inner .content_option li {
        margin-bottom: 10px;
    }
}
.ordersheet_inner .content_option li:last-child {
    margin-bottom: 0;
}
.ordersheet_inner .content_option li:last-child::after {
    display: none;
}
.ordersheet_inner .content_price {
    display: flex;
    align-items: baseline;
}
.ordersheet_inner .content_price li {
    font-size: 16px;
    color: var(--main-box-font-color);
    margin-right: 10px;
    font-weight: 600;
}
.ordersheet_inner .content_price li:last-child {
    margin-right: 0;
    font-size: 14px;
    color: var(--main-box-font-color2);
}
@media (max-width: 480px) {
    .ordersheet_inner .content {
        width: 100%;
        padding-left: 18px;
    }
    .ordersheet_inner .content_subname {
        font-size: 10px;
        font-weight: 400;
        margin-bottom: 1px;
    }
    .ordersheet_inner .content_name {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 7px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        word-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        height: 22.5px;
    }
    .ordersheet_inner .content_option {
        margin-bottom: 0;
    }
    .ordersheet_inner .content_option li {
        font-size: 12px;
        margin-right: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        word-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        /* 2024-07-29 (주)파이브센스_FIVESENSES.Corp */
        /* height: 12px; */
    }
    .ordersheet_inner .content_option li::after {
        top: 0;
        right: -8px;
        height: 12px;
    }
    .ordersheet_inner .content_price {
        margin-top: 7px;
    }
    .ordersheet_inner .content_price li {
        font-size: 12px;
        margin-right: 6px;
    }
    .ordersheet_inner .content_price li:last-child {
        font-size: 12px;
    }
    .ordersheet_inner .content_price li span {
        font-size: 14px;
    }
}
.ordersheet_inner .coupon {
    width: 100px;
    text-align: right;
}
.ordersheet_inner .coupon button {
    padding: 0 20px;
    width: 100px;
    height: 46px;
    line-height: 44px;
    color: #fff;
    border-radius: 5px !important;
    font-size: 16px;
    cursor: pointer;
    border: none;
}
.ordersheet_inner .coupon button.cp_btn {
    background: #235cf5;
}
.ordersheet_inner .coupon button.cp_cancel {
    margin-top: 10px;
}
@media (max-width: 991px) {
    .ordersheet_inner .coupon button {
        margin-left: 2.28%;
        padding: 0 15px;
        text-align: center;
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .ordersheet_inner .coupon button {
        height: 40px;
        line-height: 38px;
        width: 80px;
        font-weight: 500;
    }
}
.ordersheet_length {
    padding: 39.5px 0;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
    font-size: 18px;
    color: var(--main-box-font-color);
    font-weight: 500;
    display: none;
}
.ordersheet_length.active {
    display: block;
}
.ordersheet_length .point_color {
    color: #235cf5;
}
.ordersheet_length div {
    display: inline;
}
@media (max-width: 991px) {
    .ordersheet_length {
        display: none;
    }
    /* .ordersheet_length.active {
    display: none;
  } */
}
@media (max-width: 480px) {
    .ordersheet_length {
        font-size: 13px;
    }
}
.ordersheet .ordersheet_write {
    padding-top: 25px;
}
.ordersheet .ordersheet_write_input {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input {
        flex-wrap: wrap;
        margin-bottom: 24px;
    }
}
.ordersheet .ordersheet_write_input:last-child {
    margin-bottom: 0;
}
.ordersheet .ordersheet_write_input.w485 {
    width: 485px;
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input.w485 {
        width: 100%;
    }
}
.ordersheet .ordersheet_write_input.w490 {
    width: 490px;
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input.w490 {
        width: 100%;
    }
}
.ordersheet .ordersheet_write_input.w615 {
    width: 615px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.ordersheet .ordersheet_write_input.w615 > label {
    position: relative;
    top: 13px;
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input.w615 {
        width: 100%;
    }
    .ordersheet .ordersheet_write_input.w615 > label {
        top: 0;
    }
}
.ordersheet .ordersheet_write_input.w620 {
    width: 620px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.ordersheet .ordersheet_write_input.w620 > label {
    position: relative;
    top: 13px;
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input.w620 {
        width: 100%;
    }
    .ordersheet .ordersheet_write_input.w620 > label {
        top: 0;
    }
}
.ordersheet .ordersheet_write_input.w100p {
    width: 100%;
}
.ordersheet .ordersheet_write_input label {
    width: 115px;
    font-size: 16px;
    color: var(--main-box-font-color2);
    font-weight: 400;
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input label {
        width: 100%;
        margin-bottom: 16px;
    }
}
@media (max-width: 480px) {
    .ordersheet .ordersheet_write_input label {
        font-size: 14px;
    }
}
.ordersheet .ordersheet_write_input input {
    width: calc(100% - 115px);
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    font-size: 16px;
    color: #0c0c0c;
    background-color: #fff;
    padding: 0 15px;
    height: 45px;
    line-height: 45px;
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input input {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .ordersheet .ordersheet_write_input input {
        font-size: 14px;
        height: 40px;
        line-height: 38px;
    }
}
.ordersheet .ordersheet_write_input input:focus {
    border-color: var(--main-box-line-point-color);
}
.ordersheet .ordersheet_write_input textarea {
    width: calc(100% - 115px);
    resize: none;
    outline: none;
    box-shadow: none;
    height: 100px;
    border-radius: 5px;
    border: 1px solid #d6d6d6;
    font-size: 16px;
    line-height: 1.5;
    color: #0c0c0c;
    background-color: #fff;
    padding: 15px;
}
.ordersheet .ordersheet_write_input textarea:focus {
    border-color: var(--main-box-line-point-color);
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input textarea {
        width: 100%;
        border-radius: 2.5px;
    }
}
@media (max-width: 480px) {
    .ordersheet .ordersheet_write_input textarea {
        height: 77px;
        font-size: 14px;
        padding: 10px 15px;
    }
}
.ordersheet .ordersheet_write .b_hp .msg-box {
    margin-left: 115px;
    margin-top: -2px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #ff0000;
}
.ordersheet .ordersheet_write_input.member {
    margin-bottom: 20px;
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input.member {
        flex-wrap: nowrap;
    }
}
.ordersheet .ordersheet_write_input.member :last-child {
    margin-bottom: 0;
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input.member label {
        width: 115px;
        margin-bottom: 0;
    }
}
@media (max-width: 480px) {
    .ordersheet .ordersheet_write_input.member label {
        width: 85px;
    }
}
.ordersheet .ordersheet_write_input.member input {
    color: var(--main-box-font-color);
    background-color: transparent;
    border: 0;
    border-radius: 0;
    height: auto;
    line-height: normal;
    cursor: default;
    padding: 0;
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input.member input {
        width: calc(100% - 115px);
    }
}
@media (max-width: 480px) {
    .ordersheet .ordersheet_write_input.member input {
        width: calc(100% - 85px);
    }
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input.member .ordersheet_write_addr_wrap {
        width: calc(100% - 115px);
    }
}
.ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap {
    width: calc(100% - 115px);
}
.ordersheet .ordersheet_write_input.w620 .ordersheet_write_addr_wrap {
    width: calc(100% - 120px);
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap,
    .ordersheet .ordersheet_write_input.w620 .ordersheet_write_addr_wrap {
        width: 100%;
    }
}
.ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap .ordersheet_write_addr {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap .ordersheet_write_addr:last-child {
    margin-bottom: 0;
}
.ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap .ordersheet_write_addr #daum_juso_pageod_b_zip {
    margin-top: 20px !important;
    margin-bottom: 8px !important;
    max-height: 400px;
}
.ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap .ordersheet_write_addr #daum_juso_pageod_zip,
.ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap .ordersheet_write_addr.maxh400 > div {
    max-height: 400px;
}
.ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap .left_label {
    width: calc(100% - 130px);
    margin-bottom: 0;
}

@media (max-width:991px) {
    .ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap .left_label {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap .left_label {
        width: calc(100% - 83px);
    }
}
.ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap .right_label {
    width: 120px;
    margin-left: 10px;
    margin-bottom: 0;
}
@media (max-width: 480px) {
    .ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap .right_label {
        width: 75px;
        margin-left: 8px;
    }
}
.ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap .right_label button {
    width: 100%;
    height: 45px;
    line-height: 43px;
    background: var(--main-btn-point-color);
    color: #fff;
    text-align: center;
    display: block;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 300;
    border: 0;
}
@media (max-width: 480px) {
    .ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap .right_label button {
        height: 40px;
        line-height: 38px;
        font-size: 12px;
        border-radius: 2.5px;
        font-weight: 500;
    }
}
.ordersheet .ordersheet_write_input .ordersheet_write_addr_wrap input {
    width: 100%;
}
.ordersheet .ordersheet_write_addr_btn {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}
.ordersheet .ordersheet_write_addr_btn .shipping_pop_open {
    display: inline-flex;
    position: relative;
    color: var(--main-box-font-point-color);
    height: 16px;
    font-size: 16px;
}
.ordersheet .ordersheet_write_addr_btn .shipping_pop_open::after {
    content: "";
    width: 100%;
    height: 1px;
    background: var(--main-box-line-point-color);
    position: absolute;
    bottom: -5px;
    left: 0;
}
@media (max-width: 480px) {
    .ordersheet .ordersheet_write_addr_btn .shipping_pop_open {
        font-size: 13px;
        height: 12px;
        bottom: -4px;
        color: #666666;
    }
    .ordersheet .ordersheet_write_addr_btn .shipping_pop_open::after {
        background: #666666;
    }
}
.ordersheet .ordersheet_write_caption {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}
@media (max-width: 991px) {
    .ordersheet .ordersheet_write_caption {
        text-align: left;
        width: 100%;
        margin-top: -10px;
    }
}
@media (max-width: 480px) {
    .ordersheet .ordersheet_write_caption {
        font-size: 11px;
        margin-top: -15px;
    }
}
.ordersheet_paytab {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
@media (max-width: 480px) {
    .ordersheet_paytab {
        padding: 0;
    }
}
.ordersheet_paytab_left {
    width: 70%;
}
.ordersheet_paytab_right {
    width: 25.834%;
    position: sticky;
    top: 150px;
    margin-bottom: 0;
}
.ordersheet_paytab_right .paytab_tt {
    font-size: 24px;
    color: var(--main-box-font-color);
    font-weight: 500;
    margin-bottom: 26px;
}
@media (max-width: 480px) {
    .ordersheet_paytab_right .paytab_tt {
        font-size: 15.5px;
        font-weight: 600;
    }
}
.ordersheet_paytab_right .paytab_con {
    background: #fafafa;
    border: 1px solid #f2f2f2;
    padding: 30px;
}
@media (max-width: 991px) {
    .ordersheet_paytab_right .paytab_con {
        background: none;
        border: none;
        padding: 30px 0 10px;
    }
}
.ordersheet_paytab_right .paytab_price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
@media (max-width: 991px) {
    .ordersheet_paytab_right .paytab_price {
        margin-bottom: 18px;
    }
}
.ordersheet_paytab_right .paytab_price_obj {
    color: #444;
    font-size: 16px;
    font-weight: 400;
    width: 50%;
    margin-bottom: 17px;
}
@media (max-width: 991px) {
    .ordersheet_paytab_right .paytab_price_obj {
        margin-bottom: 0;
        color: var(--main-box-font-color1);
    }
}
@media (max-width: 480px) {
    .ordersheet_paytab_right .paytab_price_obj {
        font-size: 15px;
    }
}
.ordersheet_paytab_right .paytab_price_obj.sub {
    padding-left: 15px;
    position: relative;
}
.ordersheet_paytab_right .paytab_price_obj.sub:before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border: 1px solid #dcdcdc;
    border-width: 0 0 1px 1px;
    position: absolute;
    top: 5px;
    left: 0;
}
.ordersheet_paytab_right .paytab_price_obj.sub:nth-last-child(2) {
    margin-bottom: 20px;
}
@media (max-width: 991px) {
    .ordersheet_paytab_right .paytab_price_obj.sub:nth-last-child(2) {
        margin-bottom: 0;
    }
    .ordersheet_paytab_right .paytab_price_obj.sub:nth-child(3) {
        margin-top: 14px;
        color: var(--main-box-font-color4);
    }
}
.ordersheet_paytab_right .paytab_price_num {
    color: #0c0c0c;
    font-size: 18px;
    font-weight: 400;
    width: 50%;
    text-align: right;
    margin-bottom: 20px;
}
@media (max-width: 991px) {
    .ordersheet_paytab_right .paytab_price_num {
        margin-bottom: 0;
        color: var(--main-box-font-color);
    }
}
@media (max-width: 480px) {
    .ordersheet_paytab_right .paytab_price_num {
        font-size: 15px;
    }
    .ordersheet_paytab_right .paytab_price_num > span {
        font-size: 16px;
    }
}
.ordersheet_paytab_right .paytab_price_num.sub:nth-last-child(1) {
    margin-bottom: 20px;
}
@media (max-width: 991px) {
    .ordersheet_paytab_right .paytab_price_num.sub:nth-last-child(1) {
        margin-bottom: 0;
    }
    .ordersheet_paytab_right .paytab_price_num.sub:nth-child(4) {
        margin-top: 14px;
    }
}
.ordersheet_paytab_right .paytab_price.total {
    padding-top: 20px;
    border-top: 1px solid #f2f2f2;
}
.ordersheet_paytab_right .paytab_price.total div {
    margin-bottom: 0;
}
.ordersheet_paytab_right .paytab_price.total span {
    font-size: 25px;
    font-weight: 600;
    margin-right: 3px;
    display: inline-block;
}
@media (max-width: 480px) {
    .ordersheet_paytab_right .paytab_price.total span {
        font-size: 20px;
    }
}
.ordersheet_paytab_right .paytab_price.point {
    width: 100%;
    margin-top: 12px;
}
@media (max-width: 480px) {
    .ordersheet_paytab_right .paytab_price.point {
        margin-top: 7px;
    }
}
.ordersheet_paytab_right .paytab_price.point .paytab_price_point {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.ordersheet_paytab_right .paytab_price.point .paytab_price_point div {
    font-size: 13px;
    font-weight: 300;
}
.ordersheet_paytab_right .paytab_price.point .paytab_price_point div .point_sticker {
    display: block;
    width: 33px;
    height: 18px;
    line-height: 18px;
    border-radius: 9px;
    background: var(--main-box-font-point-color);
    font-size: 11px;
    color: #fff;
    text-align: center;
}
@media (max-width: 480px) {
    .ordersheet_paytab_right .paytab_price.point .paytab_price_point div .point_sticker {
        font-weight: 400;
        line-height: 18px;
    }
}
.ordersheet_paytab_right .paytab_price.point .paytab_price_point div.point_num {
    color: #444;
    position: relative;
    top: 1px;
    font-weight: 400;
}
@media (max-width: 991px) {
    .ordersheet_paytab_right .paytab_price.point .paytab_price_point div.point_num {
        color: var(--main-box-font-color1);
    }
}
@media (max-width: 480px) {
    .ordersheet_paytab_right .paytab_price.point .paytab_price_point div.point_num {
        top: 0;
        font-weight: 400;
    }
}
.ordersheet_paytab_right .paytab_price.point .paytab_price_point div.point_txt {
    color: var(--main-box-font-color3);
}
.ordersheet_paytab_right .paytab_price.point .paytab_price_point div + div {
    margin-left: 7px;
}
.ordersheet_paytab_right .paytab_price .sub {
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
}
@media (max-width: 991px) {
    .ordersheet_paytab_right .paytab_price .sub {
        color: var(--main-box-font-color4);
    }
}
@media (max-width: 480px) {
    .ordersheet_paytab_right .paytab_price .sub {
        font-size: 12px;
    }
    .ordersheet_paytab_right .paytab_price .sub span {
        font-size: inherit;
    }
}
@media (max-width: 991px) {
    .ordersheet_paytab {
        flex-direction: column;
    }
    .ordersheet_paytab_left {
        width: 100%;
    }
    .ordersheet_paytab_right {
        width: 100%;
        position: relative;
        top: 0;
    }
}
@media (max-width: 480px) {
    .ordersheet_paytab #mobile_payment {
        position: relative;
        padding: 0 0 40px;
    }
    .ordersheet_paytab #mobile_payment::after {
        content: "";
        display: block;
        width: 110%;
        height: 10px;
        background: #f9f9fa;
        position: absolute;
        left: -15px;
        bottom: 30px;
    }
}
.ordersheet_cp_input {
    padding: 25px 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.ordersheet_cp_input:first-child {
    /* border-bottom: 1px solid #eee; */
}
.ordersheet_point_con.use_point_con .ordersheet_cp_input {
    padding-bottom: 0;
}
@media (max-width: 480px) {
    .ordersheet_cp_input {
        padding: 10px 0;
    }
    .ordersheet_cp_input:first-child {
        border-bottom: none;
    }
}
.ordersheet_cp_tt {
    color: var(--main-box-font-color1);
    font-size: 16px;
    font-weight: 400;
    width: 38.21%;
    line-height: 46px;
}
.ordersheet_cp_btn {
    width: 100%;
}
.ordersheet_cp_btn button {
    display: block;
    background: #f9f9f9 url(../img/icon_order_cp.png) no-repeat calc(100% - 15px) center;
    width: 100%;
    padding: 0 15px;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    height: 46px;
    line-height: 44px;
    text-align: left;
    color: #999;
    font-size: 16px;
    font-weight: 300;
}
.ordersheet_cp_btn button.coupon_cancel {
    background: #235cf5;
    border: none;
    color: #fff;
    border-radius: 5px;
    display: inline-block;
    width: auto;
}
@media (max-width: 480px) {
    .ordersheet_cp_btn button.coupon_cancel {
        font-size: 12px;
        width: 22.72%;
        padding: 0;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .ordersheet_cp_btn button {
        height: 40px;
        line-height: 38px;
        font-size: 14px;
        border-radius: 2.5px;
        background-size: 5px 9px;
    }
}
.ordersheet_cp_btn .coupon_list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
}
@media (max-width: 480px) {
    .ordersheet_cp_btn .coupon_list {
        font-size: 13px;
    }
}
.ordersheet_cp_btn.point {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.ordersheet_cp_btn.point .input_box {
    position: relative;
    width: 36.527%;
}
.ordersheet_cp_btn.point .input_box input {
    width: 100%;
    height: 46px;
    line-height: 44px;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    padding: 0 15px;
    color: #999;
    font-size: 16px;
    background-color: #fff;
}
@media (max-width: 991px) {
    .ordersheet_cp_btn.point .input_box {
        width: calc(100% - 83px);
        padding-left: 0;
    }
}
@media (max-width: 480px) {
    .ordersheet_cp_btn.point .input_box input {
        height: 40px;
        line-height: 38px;
        font-size: 14px;
        border-radius: 2.5px;
        font-weight: 300;
    }
}
.ordersheet_cp_btn.point .input_box .del_point {
    background: #b7b7b7;
    display: block;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translate(0, -50%) rotate(0);
    cursor: pointer;
}
@media (max-width: 991px) {
    .ordersheet_cp_btn.point .input_box .del_point {
        width: 14px;
        height: 14px;
    }
}
.ordersheet_cp_btn.point .input_box .del_point:before {
    content: "";
    display: block;
    width: 1px;
    height: 8px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ordersheet_cp_btn.point .input_box .del_point:after {
    content: "";
    display: block;
    width: 1px;
    height: 8px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}
@media (max-width: 991px) {
    .ordersheet_cp_btn.point .input_box .del_point:before,
    .ordersheet_cp_btn.point .input_box .del_point:after {
        height: 7px;
    }
}
.ordersheet_cp_btn.point .btn_all_point {
    margin-left: 10px;
    padding: 0 28.32px;
    height: 46px;
    line-height: 44px;
    color: #fff;
    background: var(--main-btn-point-color);
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
@media (max-width: 991px) {
    .ordersheet_cp_btn.point .btn_all_point {
        width: 22.72%;
        margin-left: 2.28%;
        text-align: center;
        font-size: 12px;
        padding: 0 13px;
        border-radius: 2.5px;
        width: 75px;
        margin-left: 8px;
        font-size: 500;
    }
}
@media (max-width: 480px) {
    .ordersheet_cp_btn.point .btn_all_point {
        height: 40px;
        line-height: 38px;
    }
}
.ordersheet_cp_btn.point #sod_frm_pt {
    display: block;
    width: 100%;
    margin-top: 15px;
    color: var(--main-box-font-color4);
    font-size: 14px;
}
.ordersheet_cp_btn.point #sod_frm_pt span {
    color: var(--main-box-font-color);
    font-weight: 600;
}
@media (max-width: 480px) {
    .ordersheet_cp_btn.point #sod_frm_pt {
        font-size: 13px;
        margin-top: 13px;
    }
}
@media (max-width: 991px) {
    .ordersheet_cp_tt {
        display: none;
    }
}
@media (max-width: 480px) {
    .ordersheet_cp .ordersheet_title {
        margin-bottom: 30px;
    }
}
.ordersheet_cp_con {
    /* border-bottom: 1px solid #eeeeee; */
}
.ordersheet_point_con {
    border-top: 1px solid #eeeeee;
}
.ordersheet_payment_con,
.ordersheet_send_method_con_box {
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0 -5px;
}
.ordersheet_send_method_con_box {
    padding-bottom: 15px;
}
.ordersheet_payment_con > span,
.ordersheet_send_method_con_box .radio_check {
    position: relative;
    margin: 5px;
    width: calc(25% - 10px);
}
.ordersheet_payment_con > span input[type="radio"],
.ordersheet_send_method_con_box .radio_check input[type="radio"] {
    appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.ordersheet_payment_con > span input[type="radio"] + label,
.ordersheet_send_method_con_box .radio_check input[type="radio"] + label {
    display: inline-block;
    padding: 0 15px;
    text-align: center;
    position: relative;
    min-width: 180px;
    width: 100%;
    border: 1px solid #d6d6d6;
    height: 55px;
    line-height: 53px;
    border-radius: 5px;
    color: var(--main-btn-font-color);
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
}
.ordersheet_send_method_con_box .radio_check input[type="radio"] + label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ordersheet_send_method_con_box .radio_check input[type="radio"] + label .img img.on {
    display: none;
}
.ordersheet_payment_con > span input[type="radio"] + label .icon_pay,
.ordersheet_send_method_con_box .radio_check input[type="radio"] + label .send_method_price {
    display: block;
    padding: 0 8px;
    height: 22px;
    line-height: 18px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 600;
    position: absolute;
    top: -11px;
    left: 6px;
}

.ordersheet_send_method_con_box .radio_check input[type="radio"] + label .send_method_price {
    display: none;
    font-size: 11px;
    color: var(--main-box-font-color2);
    line-height: 19px;
    background-color: #fff;
    border: 1px solid #d0d0d0;
}
.ordersheet_send_method_con_box .radio_check input[type="radio"]:checked + label .send_method_price {
    display: block;
}
.ordersheet_payment_con > span input[type="radio"] + label .icon_pay img {
    margin-right: 5px;
    display: inline-block;
}
.ordersheet_payment_con > span input[type="radio"] + label .icon_pay.naver {
    background: #04cf5c;
    color: #fff;
}
.ordersheet_payment_con > span input[type="radio"] + label .icon_pay.kakao {
    background: #fae100;
    color: #3a2020;
    left: 60px;
}
.ordersheet_payment_con > span input[type="radio"]:checked + label,
.ordersheet_send_method_con_box .radio_check input[type="radio"]:checked + label {
    background: var(--main-btn-point-color);
    border-color: var(--main-btn-line-point-color);
    color: #fff;
    font-weight: 500;
}

.ordersheet_send_method_con_box .radio_check input[type="radio"]:checked + label .text {
    color: #fff;
}
.ordersheet_send_method_con_box .radio_check input[type="radio"]:checked + label .img img.off {
    display: none;
}
.ordersheet_send_method_con_box .radio_check input[type="radio"]:checked + label .img img.on {
    display: block;
}
.ordersheet_send_method .pickup_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    min-height: 55px;
    background-color: #fafafa;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 400;
    color: var(--main-box-font-color1);
}
.ordersheet_payment #settle_bank {
    padding: 25px 0;
    border-top: 1px solid #eeeeee;
    border-width: 1px 0;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ordersheet_payment #settle_bank .input-box {
    width: 47.87%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.ordersheet_payment #settle_bank .input-box:first-child {
    width: 64%;
}
.ordersheet_payment #settle_bank .input-box:last-child {
    width: 31.74%;
}
.ordersheet_payment #settle_bank .input-box label {
    width: 86px;
    margin: 0;
    color: var(--main-box-font-color);
    font-size: 16px;
    font-weight: 400;
}
.ordersheet_payment #settle_bank .input-box .settle_input {
    padding: 0 15px;
    height: 46px;
    line-height: 44px;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    font-size: 16px;
    color: #0c0c0c;
    background-color: #fff;
    width: calc(100% - 86px);
}
.ordersheet_payment #settle_bank .input-box .settle_input:focus {
    border-color: var(--main-box-line-point-color);
}
.ordersheet_payment #settle_bank .input-box select {
    appearance: none;
}
.ordersheet_payment #settle_bank .input-box span.arrow {
    width: 6px;
    height: 5px;
    display: block;
    position: absolute;
    top: 23px;
    right: 15px;
}
.ordersheet_payment #settle_bank .input-box span.arrow::before,
.ordersheet_payment #settle_bank .input-box span.arrow::after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    background: #242424;
}
.ordersheet_payment #settle_bank .input-box span.arrow::before {
    right: 4px;
    transform: rotate(45deg);
}
.ordersheet_payment #settle_bank .input-box span.arrow::after {
    transform: rotate(-45deg);
}
@media (max-width: 991px) {
    .ordersheet_payment #settle_bank .input-box span.arrow {
        top: 47px;
    }
}
.ordersheet_payment_agree .radio_check input + label {
    color: var(--main-box-font-color);
    font-size: 18px;
    font-weight: 600;
}
.ordersheet_payment_agree_desc {
    margin-top: 25px;
}
.ordersheet_payment_agree_desc a {
    color: var(--main-box-font-color);
    font-size: 16px;
    font-weight: 400;
    position: relative;
}
.ordersheet_payment_agree_desc a span {
    color: var(--main-box-font-color4);
}
.ordersheet_payment_agree_desc a img {
    margin-left: 18px;
    height: 13px;
    position: relative;
    top: -2px;
    display: inline-block;
}
@media (max-width: 991px) {
    .ordersheet_payment_agree_desc a img {
        top: 5px;
        position: absolute;
        height: 11px;
    }
}
.ordersheet_payment_agree_li {
    margin-top: 15px;
}
.ordersheet_payment_agree_li li {
    font-size: 13px;
    color: var(--main-box-font-color4);
    line-height: 23px;
}
@media (max-width: 480px) {
    .ordersheet_payment_agree {
        position: relative;
        padding: 40px 0 0;
    }
    .ordersheet_payment_agree::before {
        content: "";
        display: block;
        width: 110%;
        height: 10px;
        background: #f9f9fa;
        position: absolute;
        left: -15px;
        top: 0;
    }
}
@media (max-width: 991px) {
    .ordersheet_payment_con,
    .ordersheet_send_method_con_box {
        margin: 0;
    }
    .ordersheet_send_method_con_box {
        padding-bottom: 10px;
    }
    .ordersheet_payment_con > span,
    .ordersheet_send_method_con_box .radio_check {
        width: calc(50% - 5px);
    }
    .ordersheet_payment_con > span:nth-child(2n-1),
    .ordersheet_send_method_con_box .radio_check:nth-child(2n-1) {
        margin-left: 0;
    }
    .ordersheet_payment_con > span:nth-child(2n),
    .ordersheet_send_method_con_box .radio_check:nth-child(2n) {
        margin-right: 0;
    }
    .ordersheet_payment_con > span input[type="radio"] + label,
    .ordersheet_send_method_con_box .radio_check input[type="radio"] + label {
        width: 100%;
        min-width: initial;
        border-radius: 2.5px;
    }
    .ordersheet_send_method .pickup_wrap {
        flex-direction: column;
        gap: 5px;
        border-radius: 2.5px;
    }
    .ordersheet_payment #settle_bank {
        flex-direction: column;
        border-bottom: none;
        padding-top: 20px;
        padding-bottom: 20px;
        margin-bottom: 0;
    }
    .ordersheet_payment #settle_bank .input-box,
    .ordersheet_payment #settle_bank .input-box:first-child,
    .ordersheet_payment #settle_bank .input-box:last-child {
        /* 데스크톱 전용 64%/31.74% 폭 오버라이드(위 :first-child/:last-child 규칙, 명시도가 더
           높음)가 이 좁은 폭에서도 이겨버리지 않도록 여기서 다시 100%로 되돌린다. */
        width: 100%;
        flex-direction: column;
        margin-bottom: 20px;
    }
    .ordersheet_payment #settle_bank .input-box:last-child {
        margin-bottom: 0;
    }
    .ordersheet_payment #settle_bank .input-box label {
        width: 100%;
    }
    .ordersheet_payment #settle_bank .input-box .settle_input {
        width: 100%;
        margin-top: 10px;
    }
}
@media (max-width: 480px) {
    .ordersheet_payment_con > span input[type="radio"] + label,
    .ordersheet_send_method_con_box .radio_check input[type="radio"] + label {
        height: 45px;
        line-height: 43px;
        font-size: 15px;
    }
    .ordersheet_payment_con > span input[type="radio"] + label .icon_pay,
    .ordersheet_send_method_con_box .radio_check input[type="radio"] + label .send_method_price {
        padding: 0 6px;
        height: 18px;
        line-height: 15px;
        font-size: 10px;
    }
    .ordersheet_payment_con > span input[type="radio"] + label .icon_pay img {
        height: 8px;
        margin-right: 3px;
    }
    .ordersheet_payment_con > span input[type="radio"] + label .icon_pay.kakao {
        left: 50px;
    }
    .ordersheet_send_method .pickup_wrap {
        font-size: 13px;
    }
    .ordersheet_payment #settle_bank .input-box label {
        width: 100%;
        font-size: 16px;
    }
    .ordersheet_payment #settle_bank .input-box .settle_input {
        height: 40px;
        line-height: 38px;
        font-size: 14px;
        border-radius: 2.5px;
    }
    .ordersheet_payment_agree_desc {
        margin-top: 20px;
    }
    .ordersheet_payment_agree_desc a {
        display: block;
        font-size: 13px;
        width: 100%;
        position: relative;
    }
    .ordersheet_payment_agree_desc a img {
        text-align: right;
        position: absolute;
        top: 0;
        right: 0;
    }
    .ordersheet_payment_agree_li li {
        font-size: 11px;
        line-height: 15px;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .ordersheet_payment_agree_li li span {
        width: 8px;
        text-align: left;
    }
}

.ordersheet_proof_of_payment .proof_of_payment_tab {
    margin: 0 -7.5px;
}
.ordersheet_proof_of_payment .proof_of_payment_tab > span {
    position: relative;
    margin: 25px 5px;
    width: calc(33% - 10px);
    display: inline-block;
}
.ordersheet_proof_of_payment .proof_of_payment_tab > span input[type="radio"] {
    display: none;
}
.ordersheet_proof_of_payment .proof_of_payment_tab > span input[type="radio"] + label {
    display: inline-block;
    padding: 0 15px;
    text-align: center;
    position: relative;
    min-width: 180px;
    width: 100%;
    border: 1px solid #d6d6d6;
    height: 55px;
    line-height: 53px;
    border-radius: 5px;
    color: var(--main-box-font-color);
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
}
.ordersheet_proof_of_payment .proof_of_payment_tab > span input[type="radio"]:checked + label {
    background: var(--main-btn-point-color);
    border-color: var(--main-btn-line-point-color);
    color: #fff;
    font-weight: 500;
}
.ordersheet_proof_of_payment .proof_of_payment_cont {
    padding-top: 5px;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax {
    padding-bottom: 15px;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row {
    position: relative;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row + .proof_tax_row {
    margin-top: 20px;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row .pr_tax {
    display: flex;
    z-index: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    position: absolute;
    top: 20px;
    right: 30px;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row #proof_tax_add {
    display: block;
    width: 26px;
    height: 26px;
    background-color: var(--main-btn-point-color);
    border-radius: 50%;
    position: relative;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row #proof_tax_add::before,
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row #proof_tax_add::after {
    content: "";
    display: block;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row #proof_tax_add::before {
    width: 8px;
    height: 2px;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row #proof_tax_add::after {
    width: 2px;
    height: 8px;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row .proof_tax_remove {
    display: block;
    width: 26px;
    height: 26px;
    background-color: #e9e9e9;
    border-radius: 50%;
    position: relative;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row .proof_tax_remove::before {
    content: "";
    display: block;
    background-color: #999999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 2px;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row:nth-child(1) .proof_tax_remove {
    display: none;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_cash {
    padding-bottom: 15px;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .input-box {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .input-box.w620 {
    align-items: flex-start;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .input-box label {
    width: 120px;
    color: #0c0c0c;
    margin-bottom: 0;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_cash .input-box {
    width: 550px;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_cash .input-box label {
    width: 160px;
    white-space: nowrap;
    color: var(--main-box-font-color);
}
.ordersheet_proof_of_payment .proof_of_payment_cont .proof_cash .input-box .settle_input {
    width: calc(100% - 160px);
}
.ordersheet_proof_of_payment .proof_of_payment_cont .input-box input {
    width: calc(100% - 120px);
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    font-size: 16px;
    color: #0c0c0c;
    background-color: #fff;
    padding: 0 15px;
    height: 45px;
    line-height: 45px;
    background-color: #fff;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .input-box .ordersheet_write_addr input {
    width: 100%;
}
.ordersheet_proof_of_payment .proof_of_payment_cont .input-box input:focus {
    border-color: var(--main-box-line-point-color);
}
.ordersheet_payment .proof_cash .input-box .settle_input {
    padding: 0 15px;
    height: 46px;
    line-height: 44px;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    font-size: 16px;
    color: #0c0c0c;
    background-color: #fff;
    width: calc(100% - 120px);
}
.ordersheet_payment .proof_cash .input-box select {
    appearance: none;
}
.ordersheet_payment .proof_cash .input-box span.arrow {
    width: 6px;
    height: 5px;
    display: block;
    position: absolute;
    top: 23px;
    right: 15px;
}
.ordersheet_payment .proof_cash .input-box span.arrow::before,
.ordersheet_payment .proof_cash .input-box span.arrow::after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    background: #242424;
}
.ordersheet_payment .proof_cash .input-box span.arrow::before {
    right: 4px;
    transform: rotate(45deg);
}
.ordersheet_payment .proof_cash .input-box span.arrow::after {
    transform: rotate(-45deg);
}
@media (max-width: 991px) {
    .ordersheet_proof_of_payment {
        position: relative;
        padding-top: 40px;
        /* margin-top: 30px; */
    }
    .ordersheet_proof_of_payment::before {
        content: "";
        display: block;
        width: 110%;
        height: 10px;
        background: #f9f9fa;
        position: absolute;
        left: -15px;
        top: 0;
    }
    .ordersheet_proof_of_payment .proof_of_payment_tab {
        margin: 0 -5px 0;
        padding-top: 25px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_tab > span {
        width: calc(50% - 12px);
        margin: 5px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_tab > span input[type="radio"] + label {
        border-radius: 2.5px;
        min-width: initial;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont {
        padding-top: 15px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row {
        padding: 40px 15px 15px;
        border-radius: 2.5px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row .pr_tax {
        top: 15px;
        right: 15px;
        gap: 6px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row #proof_tax_add {
        width: 25px;
        height: 25px;
        background-color: #7145e4;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row #proof_tax_add::before {
        width: 9px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row #proof_tax_add::after {
        height: 9px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .proof_tax .proof_tax_row .proof_tax_remove {
        width: 25px;
        height: 25px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont > div {
        border-top: 1px solid #e7e7e7;
        padding-top: 20px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .input-box {
        width: 100%;
        flex-direction: column;
        margin-bottom: 20px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .input-box.mob_mar_top {
        margin-top: -7px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .input-box.mob_mar_bot {
        margin: 0;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .proof_cash .input-box {
        width: 100%;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .input-box label {
        width: 100%;
        margin-bottom: 10px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .proof_cash .input-box label {
        width: 100%;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .input-box input {
        width: 100%;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .proof_cash .input-box .settle_input {
        width: 100%;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .input-box input {
        border-radius: 2.5px;
    }
    .ordersheet_payment .proof_cash .input-box .settle_input {
        width: 100%;
        border-radius: 2.5px;
    }
    .ordersheet_payment .proof_cash .input-box span.arrow {
        display: none;
    }
}
@media (max-width: 480px) {
    .ordersheet_proof_of_payment .proof_of_payment_tab > span input[type="radio"] + label {
        font-size: 15px;
        line-height: 41px;
        height: 43px;
    }
    .ordersheet_payment .proof_cash .input-box .settle_input {
        font-size: 14px;
        height: 40px;
        line-height: 38px;
    }
    .ordersheet_proof_of_payment .proof_of_payment_cont .input-box input {
        font-size: 14px;
        height: 40px;
        line-height: 38px;
    }
}

.regbtn-wrap #display_pay_button {
    text-align: center;
}
.regbtn-wrap #display_pay_button input {
    height: 60px;
    line-height: 58px;
    background: #235cf5;
    border-radius: 5px !important;
    min-width: 240px;
    width: auto;
    float: none;
    font-size: 17px;
    font-weight: 500;
    margin-right: 0;
    margin-left: 38%;
}
.regbtn-wrap #display_pay_button a {
    display: none !important;
}
@media (max-width: 991px) {
    /* 2024-09-03 (주)파이브센스_FIVESENSES.Corp. */
    .regbtn-wrap #show_req_btn {
        width: 100%;
    }
    /* 2024-09-04 (주)파이브센스_FIVESENSES.Corp. */
    .regbtn-wrap #show_pay_btn {
        width: 100%;
    }
    /* 2024-08-01 (주)파이브센스_FIVESENSES.Corp. */
    .regbtn-wrap #display_pay_button {
        padding-top: 0;
        padding-bottom: 0;
    }
    .regbtn-wrap #display_pay_button input {
        margin-left: 0;
        height: 45px !important;
        line-height: 45px !important;
        font-size: 15px;
        font-weight: 600;
        border-radius: 2.5px !important;
        padding: 0 10px !important;
    }
    .regbtn-wrap.fixed {
        width: 100%;
        background: #fff;
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 10;
        margin-top: 0;
        padding: 10px 15px;
        border: 1px solid #ebebeb;
    }
    .regbtn-wrap.fixed #display_pay_button input {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .regbtn-wrap #display_pay_button input {
        height: 46px;
        line-height: 44px;
    }
}

.regbtn-wrap {
    margin-top: 55px;
    text-align: center;
}

/* ============================================================================
   [RepurchaseRecentItems] 2026-08-03 (주)파이브센스_FIVESENSES.Corp.
   재구매(다시담기) 공용 모달(SCR-02) + 주문내역 액션 바(SCR-03).
   이 섹션은 신규 컴포넌트라 fivepro-design-system 토큰(var(--fp-*, fallback))을 사용한다.
   이 스킨(전역 :root --fp-* 미정의)은 fallback이 실제 렌더 색상이며, 브랜드 색만 사이트
   테마 변수(--main-btn-point-color)를 1차 폴백으로 중첩해 기존 페이지 톤과 어울리게 했다.
   ============================================================================ */


/* ── 재구매 모달(.oi_modal.repurchase_oi_modal) — 기존 .oi_modal 구조 재사용 ── */
.oi_modal.repurchase_oi_modal .rp_panel {
    max-width: 640px;
    display: flex;
    flex-direction: column;
}
.rp_loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 0;
    color: var(--fp-muted, #7c828a);
    font-size: 14px;
}
.rp_spinner { animation: rpSpin 0.8s linear infinite; color: var(--main-btn-point-color); }
@keyframes rpSpin { to { transform: rotate(360deg); } }

.rp_notice {
    margin-top: 16px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--fp-warning, #d97706);
    background: var(--fp-warning-bg, #fffbeb);
    border-radius: 8px;
    word-break: keep-all;
}
.rp_selectall {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--fp-hairline, #eeeeee);
}
.rp_check_label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--fp-ink, #222222);
    cursor: pointer;
}
.rp_check_label input[type="checkbox"] {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 21px;
    height: 21px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}
.rp_checkbox_box {
    width: 21px;
    height: 21px;
    border-radius: 6px;
    border: 2px solid var(--fp-hairline, #dedede);
    background: var(--fp-canvas, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 150ms ease, border-color 150ms ease;
}
.rp_checkbox_box svg { opacity: 0; transition: opacity 120ms ease; }
.rp_check_label input[type="checkbox"]:checked + .rp_checkbox_box {
    background: var(--main-btn-point-color);
    border-color: var(--main-btn-point-color);
}
.rp_check_label input[type="checkbox"]:checked + .rp_checkbox_box svg { opacity: 1; }
.rp_check_label:hover input[type="checkbox"]:not(:disabled) + .rp_checkbox_box { border-color: var(--main-btn-point-color); }
.rp_check_label input[type="checkbox"]:focus-visible + .rp_checkbox_box { box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.12); }
.rp_check_label input[type="checkbox"]:disabled + .rp_checkbox_box { opacity: 0.45; }
.rp_check_label input[type="checkbox"]:disabled { cursor: not-allowed; }
.rp_selected_count { font-size: 13px; color: var(--fp-muted, #999999); font-variant-numeric: tabular-nums; }

.rp_list { list-style: none; margin: 0; padding: 0; max-height: 56vh; overflow-y: auto; }
.rp_item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--fp-hairline-soft, #f5f5f5);
}
.rp_item:last-child { border-bottom: none; }
.rp_item.is-unbuyable .rp_item_thumb,
.rp_item.is-unbuyable .rp_item_name_text,
.rp_item.is-unbuyable .rp_item_price,
.rp_item.is-unbuyable .rp_optcart_row { opacity: 0.55; }
.rp_item_check { flex: 0 0 auto; padding-top: 6px; }
.rp_item_thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border: 1px solid var(--fp-hairline, #f3f3f3);
    border-radius: 8px;
    overflow: hidden;
}
.rp_item_thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rp_item_info { flex: 1; min-width: 0; }
.rp_item_name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    color: var(--fp-ink, #222222);
    word-break: keep-all;
}
.rp_badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    border-radius: 6px; /* 배지 radius 6px 고정 — pill 금지 */
    white-space: nowrap;
}
.rp_badge--soldout { color: var(--fp-warning, #d97706); background: var(--fp-warning-bg, #fffbeb); }
.rp_badge--sale_ended { color: var(--fp-error, #cf202f); background: var(--fp-error-bg, #fff2f2); }
.rp_badge--option_changed,
.rp_badge--option_soldout { color: var(--fp-warning, #d97706); background: var(--fp-warning-bg, #fffbeb); }
.rp_item_option { margin-top: 3px; font-size: 12px; color: var(--fp-muted, #999999); }
.rp_item_price { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--fp-ink, #1b1b1b); font-variant-numeric: tabular-nums; }
.rp_reselect {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--main-btn-point-color);
    text-decoration: underline;
    cursor: pointer;
    transition: color 150ms ease;
}
.rp_item_stock_warn { margin-top: 6px; font-size: 12px; color: var(--fp-error, #cf202f); }

.rp_item_info .ri_name_option_trigger_wrap { margin-top: 6px; }

.rp_item_qty { display: flex; align-items: center; gap: 0; flex: 0 0 auto; }
.rp_qty_btn {
    width: 28px;
    height: 32px;
    border: 1px solid var(--fp-hairline, #dedede);
    background: var(--fp-canvas, #fff);
    color: var(--fp-body, #444444);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.rp_qty_btn:first-child { border-radius: 6px 0 0 6px; }
.rp_qty_btn:last-child { border-radius: 0 6px 6px 0; }
.rp_qty_btn:hover:not(:disabled) { background: var(--fp-surface-soft, #f7f7f7); border-color: var(--main-btn-point-color); color: var(--main-btn-point-color); }
.rp_qty_btn:disabled { cursor: not-allowed; opacity: 0.5; }
.rp_qty_input {
    width: 40px;
    height: 32px;
    border: 1px solid var(--fp-hairline, #dedede);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 13px;
    color: var(--fp-ink, #222222);
    font-variant-numeric: tabular-nums;
}
.rp_qty_input:disabled { background: var(--fp-surface-soft, #f7f7f7); }

.rp_none_available {
    margin-top: 30px;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: var(--fp-muted, #999999);
}

.oi_modal.repurchase_oi_modal .rp_foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--fp-hairline, #eeeeee);
}
.rp_summary { font-size: 13px; color: var(--fp-body, #444444); }
.rp_summary_sep { margin: 0 6px; color: var(--fp-hairline, #dddddd); }
#rpSummaryTotal { font-weight: 700; color: var(--fp-ink, #1b1b1b); }
.rp_foot_btns { display: flex; gap: 8px; flex: 0 0 auto; }
.rp_btn {
    height: 44px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: opacity 150ms ease, background 150ms ease, filter 150ms ease;
}
.rp_btn_cart { color: var(--fp-ink, #444444); background: var(--fp-surface-soft, #f7f7f7); }
.rp_btn_order { color: var(--fp-on-primary, #fff); background: var(--main-btn-point-color); }
.rp_btn_cart:hover:not(:disabled):not(.is-disabled) { background: var(--fp-surface-strong, #eef0f3); }
.rp_btn_order:hover:not(:disabled):not(.is-disabled) { filter: brightness(0.92); }
.rp_btn.is-disabled,
.rp_btn:disabled { opacity: 0.45; cursor: not-allowed; }

@media (max-width: 480px) {
    .oi_modal.repurchase_oi_modal .oi_modal_dim { }
    .oi_modal.repurchase_oi_modal .rp_panel {
        left: 0;
        top: auto;
        bottom: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        max-height: 82vh;
        border-radius: 20px 20px 0 0;
    }
    .oi_modal.repurchase_oi_modal .rp_foot { flex-direction: column; align-items: stretch; }
    .rp_foot_btns { width: 100%; }
    .rp_btn { flex: 1; }
}

/* ── 공용 토스트 (fivepro-design-system feedback 섹션 스펙: bottom-center, 320px, z-index 400) ── */
.fp_toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(12px);
    max-width: 320px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--fp-surface-dark, #1c1c1e);
    color: var(--fp-on-dark, #fff);
    font-size: 13px;
    line-height: 1.5;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    z-index: 400;
    transition: opacity 220ms ease-out, transform 220ms ease-out, visibility 220ms;
    text-align: left;
    word-break: keep-all;
}
.fp_toast.is-show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* 좌측 아이콘 — fivepro-design-system feedback 섹션 스펙(시맨틱 컬러 원형 18px) */
.fp_toast_icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    background: var(--fp-success, #05b169);
}
.fp_toast--error .fp_toast_icon { background: var(--fp-error, #cf202f); }
.fp_toast_text { flex: 1; }

.fp_minicart {
    position: fixed;
    left: 50%;
    bottom: 24px;
    width: 360px;
    max-width: calc(100vw - 32px);
    padding: 20px;
    background: var(--fp-canvas, #fff);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(16px);
    transition: opacity 220ms cubic-bezier(0.16,1,0.3,1), transform 220ms cubic-bezier(0.16,1,0.3,1), visibility 220ms;
}
.fp_minicart.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.fp_minicart_head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fp_minicart_title { font-size: 15px; font-weight: 600; color: var(--fp-ink, #0a0b0d); }
.fp_minicart_close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--fp-muted, #999999);
    cursor: pointer;
    transition: background 150ms ease;
}
.fp_minicart_close:hover { background: var(--fp-surface-soft, #f7f7f7); }
.fp_minicart_items { display: flex; flex-direction: column; gap: 12px; max-height: 240px; overflow-y: auto; margin-bottom: 16px; }
.fp_minicart_item { display: flex; gap: 12px; }
.fp_minicart_thumb { flex-shrink: 0; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--fp-surface-soft, #f7f7f7); }
.fp_minicart_thumb img { width: 100%; height: 100%; object-fit: cover; }
.fp_minicart_info { flex: 1; min-width: 0; }
.fp_minicart_name {
    font-size: 14px;
    font-weight: 500;
    color: var(--fp-ink, #0a0b0d);
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.fp_minicart_option { margin-top: 2px; font-size: 13px; color: var(--fp-muted, #999999); }
.fp_minicart_qty { margin-top: 4px; font-size: 13px; color: var(--fp-body, #444444); font-variant-numeric: tabular-nums; }
.fp_minicart_price { margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--fp-ink, #0a0b0d); font-variant-numeric: tabular-nums; }
.fp_minicart_actions { display: flex; gap: 8px; }
.fp_minicart_btn {
    flex: 1;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--fp-r, 13px);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 150ms ease, color 150ms ease;
}
.fp_minicart_btn--secondary { color: var(--fp-ink, #444444); background: var(--fp-surface-soft, #f7f7f7); }
.fp_minicart_btn--secondary:hover { background: var(--fp-surface-strong, #eef0f3); }
.fp_minicart_btn--primary { color: #fff; background: var(--main-box-point-color); }
.fp_minicart_btn--primary:hover { color: #fff; }

@media (max-width: 480px) {
    /* left:50%+translateX(-50%)(중앙정렬)는 이 폭에서 불필요 — left/right 고정폭 방식으로 전환하며
       transform 도 translateY만 남기고 translateX(-50%)는 제거(안 지우면 화면 밖으로 밀려남). */
    .fp_minicart { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; transform: translateY(16px); }
    .fp_minicart.is-open { transform: translateY(0); }
}

.fp_page_overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 150ms ease, visibility 150ms;
}
.fp_page_overlay.is-open { opacity: 1; visibility: visible; }
.fp_page_overlay_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 36px;
    background: var(--fp-canvas, #fff);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.fp_page_overlay_spinner { animation: rpSpin 0.8s linear infinite; color: var(--main-btn-point-color); }
.fp_page_overlay_text { font-size: 14px; font-weight: 600; color: var(--fp-ink, #222222); }

.fp_checkbox {
    width: 21px;
    height: 21px;
    border-radius: 6px;
    border: 2px solid var(--fp-hairline, #dedede);
    background: var(--fp-canvas, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease;
    outline: none;
}
.fp_checkbox svg { opacity: 0; transition: opacity 120ms ease; }
.fp_checkbox.is-checked { background: var(--main-btn-point-color, #1a6dff); border-color: var(--main-btn-point-color, #1a6dff); }
.fp_checkbox.is-checked svg { opacity: 1; }
.fp_checkbox:hover { border-color: var(--main-btn-point-color, #1a6dff); }
.fp_checkbox:focus-visible { box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.12); }
.fp_checkbox[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; border-color: var(--fp-hairline, #dedede) !important; }

.fp_orderbar {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%) translateY(16px);
    width: min(860px, calc(100vw - 32px));
    z-index: 400; /* Toast 계층과 동일 — 비차단 상시노출 UI */
    display: flex;
    flex-direction: column;
    padding: 14px 20px;
    background: var(--fp-canvas, #fff);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms cubic-bezier(0.16,1,0.3,1), transform 220ms cubic-bezier(0.16,1,0.3,1), visibility 220ms;
}
.fp_orderbar.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.fp_orderbar_summary_row { display: flex; align-items: center; gap: 16px; }
.fp_orderbar_summary {
    display: flex;
    align-items: baseline;
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}
.fp_orderbar_count { font-size: 13px; color: var(--fp-muted, #999999); white-space: nowrap; }
.fp_orderbar_total { font-size: 18px; font-weight: 700; color: var(--fp-ink, #1b1b1b); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fp_orderbar_expand_chevron { color: var(--fp-muted, #7c828a); flex-shrink: 0; align-self: center; transition: transform 150ms ease; }
.fp_orderbar_summary[aria-expanded="true"] .fp_orderbar_expand_chevron { transform: rotate(180deg); }
.fp_orderbar_actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.fp_orderbar_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--fp-r, 13px);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 150ms ease, filter 150ms ease;
}
.fp_orderbar_btn--secondary { color: var(--fp-ink, #444444); background: var(--fp-surface-soft, #f7f7f7); }
.fp_orderbar_btn--secondary:hover:not(:disabled) { background: var(--fp-surface-strong, #eef0f3); }
.fp_orderbar_btn--primary { color: var(--fp-on-primary, #fff); background: var(--main-btn-point-color, #1a6dff); }
.fp_orderbar_btn--primary:hover:not(:disabled) { filter: brightness(0.92); }
.fp_orderbar_btn:disabled { opacity: 0.45; cursor: not-allowed; }
.fp_orderbar_body[hidden] { display: none !important; }
.fp_orderbar_body {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--fp-hairline, #eeeeee);
}
.fp_orderbar_close {
    display: inline-flex;
    align-self: flex-end;
    align-items: center;
    gap: 4px;
    height: 32px;
    padding: 0 10px;
    margin-bottom: 8px;
    flex-shrink: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--fp-muted, #999999);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 150ms ease;
}
.fp_orderbar_close:hover { background: var(--fp-surface-soft, #f7f7f7); }
.fp_orderbar_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 150px;
    overflow-y: auto;
}
.fp_orderbar_item { display: flex; align-items: center; gap: 10px; }
.fp_orderbar_item_thumb { flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px; overflow: hidden; background: var(--fp-surface-soft, #f7f7f7); }
.fp_orderbar_item_thumb img { width: 100%; height: 100%; object-fit: cover; }
.fp_orderbar_item_body { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.fp_orderbar_item_name {
    flex: 1 1 auto;
    min-width: 30px;
    color: var(--fp-ink, #222222);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: keep-all;
}
.fp_orderbar_item_option {
    flex-shrink: 0;
    max-width: 30%;
    font-size: 12px;
    color: var(--fp-muted, #999999);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fp_orderbar_item_unit_price {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--fp-muted, #999999);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.fp_orderbar_item_qty { display: flex; align-items: center; flex-shrink: 0; }
.fp_orderbar_item_qty_btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fp-hairline, #dedede);
    background: var(--fp-canvas, #fff);
    color: var(--fp-body, #444444);
    font-size: 13px;
    cursor: pointer;
    transition: background 150ms ease;
}
.fp_orderbar_item_qty_btn:hover { background: var(--fp-surface-soft, #f7f7f7); }
.fp_orderbar_item_qty_btn:first-child { border-radius: 6px 0 0 6px; }
.fp_orderbar_item_qty_btn:last-child { border-radius: 0 6px 6px 0; }
.fp_orderbar_item_qty_val {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    border-top: 1px solid var(--fp-hairline, #dedede);
    border-bottom: 1px solid var(--fp-hairline, #dedede);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.fp_orderbar_item_subtotal_badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
    color:  var(--main-btn-point-color);
    background: color-mix(in srgb, var(--main-btn-point-color) 10%, transparent);
    border-radius: 6px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.fp_orderbar_item_remove {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--fp-muted, #999999);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}
.fp_orderbar_item_remove:hover { background: var(--fp-error-bg, #fff2f2); color: var(--fp-error, #cf202f); }

@media (max-width: 640px) {
    .fp_orderbar { left: 12px; right: 12px; bottom: 12px; transform: translateY(16px); width: auto; }
    .fp_orderbar.is-open { transform: translateY(0); }
    .fp_orderbar_summary_row { flex-wrap: wrap; }
    .fp_orderbar_actions { width: 100%; }
    .fp_orderbar_btn { flex: 1; }
    .fp_orderbar_item_option,
    .fp_orderbar_item_unit_price { display: none; }
}

/* ── 리스트 행 체크박스(다중선택) ── */
.ri_row_check { margin-right: 2px; }

.fp_tooltip { position: relative; }
.fp_tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    width: max-content;
    max-width: 260px;
    padding: 6px 12px;
    background: var(--fp-ink, #0a0b0d);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    word-break: keep-all;
    text-align: center;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 150ms ease-out, transform 150ms ease-out, visibility 150ms;
    z-index: 251;
}
.fp_tooltip::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--fp-ink, #0a0b0d);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 150ms ease-out, transform 150ms ease-out, visibility 150ms;
    z-index: 250;
}
.fp_tooltip:hover::after, .fp_tooltip:focus-visible::after,
.fp_tooltip:hover::before, .fp_tooltip:focus-visible::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.fp_tooltip_portal {
    position: fixed;
    width: max-content;
    max-width: 260px;
    padding: 6px 12px;
    background: var(--fp-ink, #0a0b0d);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    word-break: keep-all;
    text-align: center;
    border-radius: 8px;
    z-index: 9999;
    pointer-events: none;
}
.fp_tooltip_portal::after {
    content: "";
    position: absolute;
    top: 100%;
    left: var(--fp-tooltip-arrow-left, 50%);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--fp-ink, #0a0b0d);
}
/* 트리거 위 공간이 부족하면 JS가 이 클래스를 얹어 박스를 아래로, 화살표를 위쪽으로 뒤집는다. */
.fp_tooltip_portal--below::after {
    top: auto;
    bottom: 100%;
    border-top: none;
    border-bottom: 6px solid var(--fp-ink, #0a0b0d);
}


.ri_count { font-size: 15px; font-weight: 400; color: var(--fp-muted, #999999); margin-left: 4px; }

/* ── 탭 바 (Underline Tabs 계층) ── */
.ri_tabs {
    position: relative;
    display: flex;
    gap: 28px;
    margin-top: 24px;
    border-bottom: 1px solid var(--fp-hairline, #e5e8eb);
}
.ri_tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 2px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--fp-muted, #7c828a);
    cursor: pointer;
    transition: color 150ms ease;
}
.ri_tab.is-active { color: var(--fp-ink, #1b1b1b); font-weight: 700; }
.ri_tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--main-btn-point-color, #1a6dff);
    transition: all 150ms ease;
}
.ri_tab_badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 700;
    color: var(--main-btn-point-color);
    background: var(--fp-surface-strong, #eef0f3);
    border-radius: 6px; /* 배지 radius 6px 고정 */
}
@media (max-width: 480px) {
    .ri_tabs { gap: 0; }
    .ri_tab { flex: 1 1 50%; justify-content: center; }
}
.ri_tabs--single .ri_tab { cursor: default; }
.ri_tabs--single .ri_tab.is-active::after { display: none; }
@media (max-width: 480px) {
    .ri_tabs--single .ri_tab { flex: 0 0 auto; }
}
@media (max-width: 480px) {
    .ri_tabs--triple .ri_tab { flex: 1 1 33.333%; }
}

/* ── 필터 바 ── */
.ri_filter_row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ri_filter_chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
#oiFilterChips:empty { margin-bottom: 2px; }
.ri_chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px 5px 12px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--main-btn-point-color);
    background: var(--fp-surface-strong, #eef0f3);
    border-radius: 999px;
}
.ri_chip button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: none;
    color: inherit;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    transition: background 150ms ease;
}
.ri_chip button:hover { background: rgba(0, 0, 0, 0.08); }

.ri_list_wrap { background: var(--fp-canvas, #fff); border-radius: 17px; padding: 8px 20px; display: flex; flex-direction: column; justify-content: flex-start; }


.ri_list { list-style: none; margin: 12px 0 0; padding: 0; }
.ri_item {
    display: flex;
    flex-direction: column;
    padding: 10px 4px;
    border-bottom: 1px solid var(--fp-hairline-soft, #f2f2f2);
}
.ri_item:first-child { padding-top: 4px; }
.ri_item:last-child { border-bottom: none; }
.ri_row_main {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 14px;
}
.ri_row_thumb {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--fp-hairline, #f3f3f3);
    border-radius: 8px;
    overflow: hidden;
}
.ri_row_thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* 좌측: 상품명 + (옵션 있으면 옵션 컨트롤 / 없으면 메타) — 최대 2줄 */
.ri_row_info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; justify-content: center; }
.ri_member_sticker_wrap { position: relative; display: inline-flex; align-self: flex-start; }
.ri_row_name_line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ri_item_name_link { color: inherit; text-decoration: none; min-width: 0; overflow: hidden; }
.ri_item_name_link:hover .ri_item_name { text-decoration: underline; }
.ri_item_name {
    display: block;
    font-size: 14px;
    color: var(--fp-ink, #222222);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    word-break: keep-all;
}
.ri_row_sub_line { position: relative; min-height: 20px; display: flex; align-items: center; }
.ri_row_meta { font-size: 12px; color: var(--fp-muted, #999999); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ri_badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px; /* 배지 radius 6px 고정 — pill 금지 */
    white-space: nowrap;
}
.ri_badge--soldout { color: var(--fp-warning, #d97706); background: var(--fp-warning-bg, #fffbeb); }
.ri_badge--sale_ended { color: var(--fp-error, #cf202f); background: var(--fp-error-bg, #fff2f2); }
.ri_badge--member { color: var(--main-btn-point-color); background: var(--fp-surface-strong, #eef0f3); }
.ri_badge--source-recent { color: var(--fp-success, #05b169); background: var(--fp-success-bg, #e7f9f1); }

/* 가격 컬럼 — 행 우측, 액션 바로 왼쪽 */
.ri_row_price { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 90px; text-align: right; }
.ri_price_now { font-size: 15px; font-weight: 700; color: var(--fp-ink, #1b1b1b); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ri_price_base { font-size: 12px; font-weight: 400; color: var(--fp-muted, #999999); text-decoration: line-through; }
.ri_price_member { font-size: 15px; font-weight: 700; color: var(--fp-ink, #1b1b1b); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ri_price_undecided { font-size: 13px; font-weight: 500; color: var(--fp-muted, #7c828a); }
.ri_row_price_tags { position: relative; display: flex; align-items: center; gap: 4px; }
.ri_mp_info_trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    color: var(--fp-muted, #7c828a);
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: color 150ms ease, background 150ms ease;
}
.ri_mp_info_trigger:hover,
.ri_mp_info_trigger[aria-expanded="true"] { color: var(--main-btn-point-color); background: var(--fp-surface-strong, #eef0f3); }
.ri_member_sticker {
    width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: none;
    font-size: 11px;
    font-weight: 700;
    color: var(--main-btn-point-color);
}
.ri_member_sticker:hover,
.ri_member_sticker[aria-expanded="true"] {
    background: none;
    color: var(--main-btn-point-color);
    text-decoration: underline;
}
.ri_mp_detail_panel {
    position: absolute;
    right: 0;
    left: auto;
    bottom: calc(100% + 6px);
    top: auto;
    z-index: 200; /* Dropdown z-index 200 */
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
    max-width: 260px;
    padding: 14px;
    text-align: left;
    background: var(--fp-canvas, #fff);
    border: 1px solid var(--fp-hairline, #e5e8eb);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.ri_mp_detail_panel[hidden] { display: none !important; }
.ri_mp_detail_row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.ri_mp_detail_label { color: var(--fp-muted, #999999); flex-shrink: 0; }
.ri_mp_detail_value { color: var(--fp-ink, #222222); font-weight: 600; text-align: right; }
.ri_mp_detail_value--strike { color: var(--fp-muted, #999999); font-weight: 400; text-decoration: line-through; }
.ri_mp_detail_value--emph { color: var(--fp-error, #cf202f); font-weight: 700; }
.ri_mp_detail_discount { color: var(--fp-error, #cf202f); font-weight: 700; }
.ri_mp_detail_note { font-size: 11px; color: var(--fp-muted, #7c828a); line-height: 1.4; padding-top: 4px; border-top: 1px solid var(--fp-hairline-soft, #f2f2f2); }

.ri_item.is-unbuyable .ri_row_thumb,
.ri_item.is-unbuyable .ri_item_name,
.ri_item.is-unbuyable .ri_row_price,
.ri_item.is-unbuyable .ri_row_meta { opacity: 0.5; }

.ri_name_option_trigger_wrap { position: relative; display: inline-flex; flex-shrink: 0; }
.ri_option_toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    max-width: 140px;
    font-size: 12px;
    font-weight: 400;
    color: var(--fp-muted-soft, #b3b3b3);
    background: var(--fp-canvas, #fff);
    border: 1px solid var(--fp-hairline, #dedede);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 150ms ease;
}
.ri_option_toggle_label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ri_option_toggle:hover,
.ri_option_toggle[aria-expanded="true"] { border-color: var(--main-btn-point-color, #1a6dff); }
.ri_option_toggle:focus-visible { outline: 2px solid var(--main-btn-point-color, #1a6dff); outline-offset: 2px; }
.ri_option_toggle svg { flex-shrink: 0; color: var(--fp-muted, #7c828a); transition: transform 150ms ease; }
.ri_option_toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
/* 선택 완료 후 — placeholder 톤(연한 회색)에서 실제 값 톤(진한 텍스트)으로 전환 */
.ri_option_toggle.has-value { color: var(--fp-ink, #222222); font-weight: 600; }
.ri_option_panel {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 200; /* Dropdown z-index 200 */
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 240px;
    max-width: 320px;
    padding: 14px;
    background: var(--fp-canvas, #fff);
    border: 1px solid var(--fp-hairline, #e5e8eb);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.ri_option_panel[hidden] { display: none !important; }
.ri_option_panel--flip-up { top: auto; bottom: calc(100% + 6px); }

.ri_option_group + .ri_option_group { margin-top: 2px; }
.ri_option_group_label { margin: 0 0 6px; font-size: 12px; font-weight: 600; color: var(--fp-muted, #7c828a); }
.ri_option_btns { display: flex; flex-wrap: wrap; gap: 6px; min-height: 36px; }
.ri_option_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    color: var(--fp-ink, #222222);
    background: var(--fp-canvas, #fff);
    border: 1px solid var(--fp-hairline, #dedede);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.ri_option_btn:hover:not(.is-soldout):not(:disabled) { border-color: var(--main-btn-point-color, #1a6dff); }
.ri_option_btn:focus-visible:not(.is-soldout):not(:disabled) { outline: 2px solid var(--main-btn-point-color, #1a6dff); outline-offset: 2px; }
/* 선택된 옵션 = Primary 배경(fivepro-design-system form-controls 규정 — 셀렉트의 "체크마크"에
   대응하는 버튼식 표현: 색 반전 자체가 선택 상태를 신호) */
.ri_option_btn.is-selected { color: var(--fp-on-primary, #fff); background: var(--main-btn-point-color, #1a6dff); border-color: var(--main-btn-point-color, #1a6dff); font-weight: 600; }
.ri_option_btn_price { font-size: 12px; color: var(--fp-muted, #999999); font-variant-numeric: tabular-nums; }
.ri_option_btn.is-selected .ri_option_btn_price { color: var(--fp-on-primary, #fff); opacity: 0.85; }
.ri_option_btn.is-soldout, .ri_option_btn:disabled {
    cursor: not-allowed;
    color: var(--fp-muted-soft, #b3b3b3);
    background: var(--fp-surface-soft, #f7f7f7);
    border-color: var(--fp-hairline, #dedede);
}
.ri_option_btn.is-soldout .ri_option_btn_price, .ri_option_btn:disabled .ri_option_btn_price { color: var(--fp-muted-soft, #b3b3b3); }

/* ── 액션 영역 — 행 우측 끝(수량 + 담기/주문) ── */
.ri_row_actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; flex-wrap: nowrap; }
.ri_qty { display: flex; align-items: center; flex-shrink: 0; }
.ri_qty_btn {
    width: 28px;
    height: 32px;
    border: 1px solid var(--fp-hairline, #dedede);
    background: var(--fp-canvas, #fff);
    color: var(--fp-body, #444444);
    font-size: 14px;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.ri_qty_btn:first-child { border-radius: 6px 0 0 6px; }
.ri_qty_btn:last-child { border-radius: 0 6px 6px 0; }
.ri_qty_btn:hover:not(:disabled) { background: var(--fp-surface-soft, #f7f7f7); border-color: var(--main-btn-point-color); color: var(--main-btn-point-color); }
.ri_qty_btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ri_qty_input {
    width: 38px;
    height: 32px;
    border: 1px solid var(--fp-hairline, #dedede);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.ri_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 150ms ease, background 150ms ease, filter 150ms ease;
}
.ri_btn_cart { color: var(--fp-body, #444444); background: var(--fp-surface-soft, #f7f7f7); }
.ri_btn_order { color: var(--fp-on-primary, #fff); background: var(--main-btn-point-color, #1a6dff); }
.ri_btn_fallback { color: var(--fp-on-primary, #fff); background: var(--main-btn-point-color, #1a6dff); }
.ri_empty_go_shopping { color: var(--fp-on-primary, #fff); background: var(--main-btn-point-color, #1a6dff); }
.ri_btn.is-disabled, .ri_btn:disabled {
    cursor: not-allowed;
    color: var(--fp-muted-soft, #b3b3b3);
    background: var(--fp-surface-soft, #f7f7f7);
}
.ri_btn_cart:hover:not(:disabled):not(.is-disabled) { background: var(--fp-surface-strong, #eef0f3); }
.ri_btn_order:hover:not(:disabled):not(.is-disabled),
.ri_btn_fallback:hover:not(:disabled):not(.is-disabled),
.ri_empty_go_shopping:hover { filter: brightness(0.92); }

.ri_optcart { display: flex; flex-direction: column; gap: 6px; padding-left: 97px; }
.ri_optcart_list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ri_optcart_row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 8px;
    background: var(--fp-surface-soft, #f7f7f7);
    border-radius: 8px;
    transition: background 150ms ease;
}
.ri_optcart_row:hover { background: var(--fp-surface-strong, #eef0f3); }
/* 카드 단위 체크박스(.ri_row_check)와 동일한 기본 .fp_checkbox 크기(21x21) 그대로 사용 */
.ri_optcart_label_group { flex: 1 1 auto; min-width: 40px; display: flex; align-items: baseline; gap: 8px; overflow: hidden; }
.ri_optcart_label { flex: 0 1 auto; min-width: 0; font-size: 14px; color: var(--fp-ink, #222222); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: keep-all; }
.ri_optcart_unit_price { flex-shrink: 0; font-size: 12px; color: var(--fp-muted, #999999); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ri_optcart_subtotal { flex-shrink: 0; min-width: 84px; text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--main-btn-point-color); font-weight: 700; }
.ri_optcart_qty { display: flex; align-items: center; flex-shrink: 0; }
.ri_optcart_qty_btn {
    width: 28px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fp-hairline, #dedede);
    background: var(--fp-canvas, #fff);
    color: var(--fp-body, #444444);
    font-size: 14px;
    cursor: pointer;
    transition: background 150ms ease;
}
.ri_optcart_qty_btn:hover { background: var(--fp-surface-strong, #eef0f3); }
.ri_optcart_qty_btn:first-child { border-radius: 6px 0 0 6px; }
.ri_optcart_qty_btn:last-child { border-radius: 0 6px 6px 0; }
.ri_optcart_qty_val {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 32px;
    border-top: 1px solid var(--fp-hairline, #dedede);
    border-bottom: 1px solid var(--fp-hairline, #dedede);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    background: var(--fp-canvas, #fff);
}
.ri_optcart_remove {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--fp-muted, #999999);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}
.ri_optcart_remove:hover { background: var(--fp-error-bg, #fff2f2); color: var(--fp-error, #cf202f); }
.ri_optcart_add {
    align-self: flex-start;
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--fp-body, #444444);
    background: var(--fp-canvas, #fff);
    border: 1px dashed var(--fp-hairline, #dedede);
    border-radius: 8px;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease;
}
.ri_optcart_add:hover:not(:disabled) { background: var(--fp-surface-soft, #f7f7f7); border-color: var(--main-btn-point-color, #1a6dff); }
.ri_optcart_add:disabled { opacity: 0.45; cursor: not-allowed; }
@media (max-width: 480px) {
    .ri_optcart { padding-left: 0; }
    .ri_optcart_unit_price { display: none; }
}

.ri_empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--fp-empty-gap, 14px);
    padding: var(--fp-empty-pad-desktop, 192px) 0;
    text-align: center;
}
.ri_empty img { width: var(--fp-empty-icon-size, 41px); }
.ri_empty p { font-size: var(--fp-empty-text-size, 14px); color: var(--fp-muted, #999999); }
@media (max-width: 991px) {
    .ri_empty { padding: var(--fp-empty-pad-mobile, 96px) 0; }
}

@media (max-width: 640px) {
    .ri_row_main { flex-wrap: wrap; row-gap: 8px; }
    .ri_row_thumb { flex-basis: 40px; width: 40px; height: 40px; }
    .ri_qty { order: 3; }
    .ri_row_info + .ri_qty { margin-left: 89px; }
    .ri_row_price { order: 4; }
    .ri_row_info + .ri_row_price { margin-left: 89px; } /* qty가 없는 행에서만 매치 */
    .ri_row_actions { order: 5; margin-left: auto; }
}

/* ===== 2026-08 (주)파이브센스_FIVESENSES.Corp. 마이페이지 디자인 통일(주문내역 톤: 카드 배경 #fff + radius 17px + padding 30px) ===== */
#sod_addr.sod_orderaddr {
    background-color: #fff;
    border-radius: 17px;
    padding: 6px 30px;
    border-top: none; /* 카드 전환 전 레거시 테이블 상단 구분선(#444) 잔재 제거 */
}
@media (max-width: 991px) {
    #sod_addr.sod_orderaddr {
        padding: 4px 16px;
        border-radius: 13px;
    }
}

.mypage_entry_content .cart-wrap.cart_style {
    padding-top: 0;
}
.mypage_entry_content .cart_title_wrap .orderform_title.orderinquiry_tt {
    margin-bottom: 0;
}
.mypage_entry_content .cart_title_wrap {
    padding-top: 12px;
}
.mypage_entry_wrap .cart_wing_wrap {
    padding-top: 12px;
}
/* 기본 .cart_wrap padding-top:20px가 위 래퍼 여백과 이중으로 겹쳐 타이틀-본문 여백이 orderinquiry(30px) 대비 과했던 문제(48px) — 마이페이지 스코프 한정 제거.
   align-items:flex-start — 기본 flex(align-items:stretch 상속)가 cart_right를 cart_left와 같은 높이로 강제로 늘려
   컨텐츠가 짧을 때(빈 장바구니 등) 카드 하단에 불필요한 흰 여백이 남던 문제 — 마이페이지 스코프 한정으로 실제 컨텐츠 높이만큼만 나오도록 조정. */
.mypage_entry_content .cart-wrap.cart_style .cart_wrap {
    padding-top: 0;
    align-items: flex-start;
}
.mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_left,
.mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_right {
    background-color: #fff;
    border-radius: 17px;
    padding: 24px;
}
@media (max-width: 991px) {
    .mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_left,
    .mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_right {
        padding: 16px;
        border-radius: 13px;
    }
}
/* 결제금액(cart_right)이 좁아 보인다는 피드백 — 기본 폭 비율(70%/25.67%)에서 4%p를
   cart_right로 이동(합계는 원본과 동일해 gap 40px 포함 컨테이너 폭 초과 없음).
   cart_left 카드 좌우 여백도 소폭 축소해 상품목록 콘텐츠 폭을 확보 */
.mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_left {
    width: 66%;
    padding-left: 20px;
    padding-right: 20px;
}
.mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_right {
    width: 29.67%;
    min-height: auto;
}
/* 카드 내부 래퍼 .cart_scroll은 기본 position:absolute(css/rest.css)라 정상 흐름에서 빠져 부모
   높이에 기여하지 못해, cart_right가 컨텐츠 길이와 무관하게 흰 배경만 하단까지 늘어나 있던 문제가
   있었음(align-items:stretch 시절 이슈). 마이페이지 스코프 한정으로 항상 relative로 되돌려 카드가
   실제 컨텐츠 높이만큼만 나오게 함 — sticky는 위 cart_right 자체에 걸려 있어 이 래퍼와는 무관하게
   동작한다(직접 진입은 이 스코프 밖이라 기존 동작 유지). */
.mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_right .cart_scroll,
.mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_right .cart_Wing {
    position: relative;
    top: auto;
    width: 100%;
}

/* 결제금액 영역 이중배경(흰카드 안에 회색 박스) 제거 — 카드 톤을 .cart_right 흰배경 하나로 통일.
   좌우 padding도 30px→12px로 축소해 금액 텍스트가 표시될 가로 공간 확보 */
.mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_right .price_wrap {
    background-color: transparent;
    border: 0;
    padding-left: 12px;
    padding-right: 12px;
}
/* '결제금액' 타이틀+구분선 완전히 숨김(마이페이지 스코프 요청) */
.mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_right .right_title {
    display: none;
}

/* 마이페이지 좌측메뉴(200px+gap 50px=250px 소비)로 인해 기본 스택 기준점(991px)보다 넓은 화면에서부터
   우측 결제금액 영역이 좁아져 금액 텍스트가 카드 밖으로 넘치는 문제 — 사이드바 소비폭만큼 보정한
   기준점(991+250≈1240px)에서 좌/우 컬럼을 조기에 세로 스택으로 전환(기본 991px 스택 로직과 동일 패턴 재사용) */
@media (max-width: 1240px) {
    .mypage_entry_content .cart-wrap.cart_style .cart_wrap {
        flex-direction: column;
        gap: 0;
    }
    .mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_left,
    .mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_right {
        width: 100%;
    }
    .mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_right {
        margin-top: 24px;
        min-height: auto;
        position: static;
    }
    .mypage_entry_content .cart-wrap.cart_style .cart_wrap .cart_right .cart_scroll {
        width: 100%;
        position: relative;
    }
}

.orderaddress_wrap .address_content .address_cont li.no_list .ri_list_wrap {
    padding: 8px 20px;
}
.orderaddress_wrap .address_content .address_cont li.no_list .ri_list_wrap .ri_empty {
    padding: var(--fp-empty-pad-desktop, 192px) 0; /* [EmptyStateTokens] 마이페이지 빈상태 전역 통일 */
}
.orderaddress_wrap .address_content .address_cont li.no_list .ri_list_wrap .ri_empty img {
    margin: 0;
}
@media (max-width: 991px) {
    .orderaddress_wrap .address_content .address_cont li.no_list .ri_list_wrap .ri_empty {
        padding: var(--fp-empty-pad-mobile, 96px) 0;
    }
}


.settle_list {
    border-top: 1px solid var(--fp-hairline-soft, #eef0f3);
}
@media (max-width: 991px) {
    .settle_list { border-top: 0; }
}
.settle_row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--fp-hairline-soft, #eef0f3);
}
.settle_row:last-child {
    border-bottom: 0;
    margin-bottom: 32px;
}

.settle_row_input {
    appearance: none;
    -webkit-appearance: none;
    order: 1;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0;
    border-radius: 50%;
    border: 1px solid var(--fp-hairline, #d8d8d8);
    background-color: var(--fp-canvas, #fff);
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, background-image 150ms ease;
}
input.settle_row_input:focus {
    outline: none !important;
}
.settle_row_input:checked {
    border-color: var(--main-btn-point-color, #1a6dff);
    background-color: var(--main-btn-point-color, #1a6dff);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9' fill='none'%3E%3Cpath d='M1 4.5L4 7.5L10 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
input.settle_row_input:focus-visible {
    outline: 2px solid var(--main-btn-point-color) !important;
    outline-offset: 2px;
}

.settle_row_label {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 4px;
    cursor: pointer;
    color: var(--fp-ink, #1b1b1b);
    font-size: 16px;
    font-weight: 500;
}
.settle_row_symbol {
    flex: 0 0 auto;
    display: inline-flex;
    color: var(--fp-muted, #8b8f96);
}
.settle_row_input:checked ~ .settle_row_label .settle_row_symbol:not(.icon_pay) {
    color: var(--main-btn-point-color, #1a6dff);
}
.settle_row_text {
    word-break: keep-all;
}
.settle_row_input:checked ~ .settle_row_label {
    font-weight: 700;
}
.settle_row_wordmark {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--main-btn-point-color);
    word-break: keep-all;
}
.settle_row_wordmark--logo {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.settle_row_wordmark_logo {
    display: block;
    height: 21px;
    width: auto;
    max-width: 96px;
    object-fit: contain;
}
.settle_row_wordmark_suffix {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.2px;
    color: var(--fp-ink, #1b1b1b);
    word-break: keep-all;
}
.settle_row_sub {
    font-size: 14px;
    font-weight: 600;
    color: var(--fp-muted, #8b8f96);
}
.settle_row_badges {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.settle_row_label .icon_pay {
    position: static;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    height: 20px;
    line-height: 1;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}
.settle_row_label .icon_pay img {
    height: 9px;
    margin-right: 4px;
}
.settle_row_badges .icon_pay {
    height: 28px;
    padding: 0 11px;
    font-size: 12px;
}
.settle_row_badges .icon_pay img {
    height: 13px;
    margin-right: 5px;
}
.settle_row_badges .icon_pay.apple,
.settle_row_badges .icon_pay.toss,
.settle_row_badges .icon_pay.naver,
.settle_row_badges .icon_pay.kakao {
    height: 16px;
    padding: 0;
    border-radius: 0;
}
.settle_row_badges .icon_pay.apple img,
.settle_row_badges .icon_pay.toss img,
.settle_row_badges .icon_pay.naver img,
.settle_row_badges .icon_pay.kakao img {
    height: 16px;
    margin-right: 0;
}
.settle_row_badges .icon_pay.toss,
.settle_row_badges .icon_pay.toss img {
    height: 17px;
}
.settle_row_badges .icon_pay.apple,
.settle_row_badges .icon_pay.apple img {
    height: 14px;
}
.pay_sticker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--main-btn-point-color);
    background: color-mix(in srgb, var(--main-btn-point-color) 12%, var(--fp-canvas, #fff));
}

.settle_row_panel {
    order: 3;
    flex: 0 0 100%;
    box-sizing: border-box;
    display: none;
    margin-top: 16px;
    padding-left: 34px;
}
.settle_row_input:checked ~ .settle_row_panel {
    display: block;
    animation: settleRowPanelIn 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes settleRowPanelIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .settle_row_input:checked ~ .settle_row_panel { animation: none; }
}
.settle_row_panel .ep_card_area {
    margin-top: 0;
}
@media (max-width: 480px) {
    .settle_row_panel { padding-left: 0; }
}

#settle_row_bank .settle_row_panel #settle_bank {
    display: flex !important;
}

#settle_row_easy .settle_row_panel #settle_nicepay_easy {
    display: block !important;
}

.ep_unreg_box {
    box-sizing: border-box;
    max-width: 360px;
    border: 1px dashed var(--fp-hairline, #d0d3d8);
    border-radius: 16px;
    background: var(--fp-surface-soft, #f7f8fa);
    padding: 24px 20px;
    text-align: center;
}
.ep_unreg_lead {
    font-size: 15px;
    font-weight: 600;
    color: var(--fp-body, #333333);
    word-break: keep-all;
}
.ep_unreg_box .ep_card_cta {
    width: 100%;
    max-width: 280px;
}
@media (max-width: 480px) {
    .ep_unreg_box { max-width: 100%; }
}

/* ── 간편결제 카드 영역 — 5-state. [data-ep-state]가 1개만 노출시킨다. ── */
.ep_card_area {
    position: relative;
    margin-top: 16px;
}
.ep_card { display: none; }
.ep_card_area[data-ep-state="guest"] .ep_card--guest,
.ep_card_area[data-ep-state="unknown"] .ep_card--unknown,
.ep_card_area[data-ep-state="unregistered"] .ep_card--unregistered,
.ep_card_area[data-ep-state="registered"] .ep_card--registered,
.ep_card_area[data-ep-state="lookup_failed"] .ep_card--lookup_failed {
    display: block;
}

.ep_card_face {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1.586 / 1;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: box-shadow 200ms ease-out;
}
.ep_card_logo { display: inline-flex; color: var(--fp-ink, #1b1b1b); }
.ep_card_number {
    display: flex;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
    color: inherit;
}
.ep_card_meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}
.ep_card_name {
    font-size: 14px;
    font-weight: 600;
    word-break: keep-all;
}
.ep_card_expiry {
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    opacity: 0.85;
}
.ep_card_notice {
    margin-top: 4px;
    font-size: 13px;
    color: var(--fp-muted, #8b8f96);
    word-break: keep-all;
}
.ep_card_notice--error {
    color: var(--fp-error, #d92d20);
}
/* ── 조회실패/등록미완료 인라인 안내(#epCardInlineNoticeUnregistered) — 경고 톤 칩.
   디자인시스템 alert--warning 토큰(아이콘·텍스트 --fp-warning / 배경 --fp-warning-bg)을 그대로
   따르되, 카드 영역 안에서 균형 잡힌 위치(리드 문구와 CTA 버튼 사이, 가운데 정렬)로 배치한다. ── */
.ep_card_inline_notice {
    margin-top: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--fp-warning-bg, #fffbeb);
    text-align: left;
}
.ep_card_inline_notice_icon {
    flex-shrink: 0;
    display: inline-flex;
    margin-top: 1px;
    color: var(--fp-warning, #b54708);
}
.ep_card_inline_notice_text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--fp-warning, #b54708);
    word-break: keep-all;
    white-space: pre-line;
}
.ep_card_inline_notice[hidden] { display: none; }

/* guest — 잠금 톤 다운 카드 */
.ep_card_face--locked {
    background: var(--fp-surface-strong, #eef0f3);
    border: 1px solid var(--fp-hairline, #e4e6ea);
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 12px;
    filter: grayscale(55%);
    opacity: 0.7;
}
.ep_card_lock_icon { color: var(--fp-muted, #8b8f96); }

/* unknown — 스켈레톤 */
.ep_card_skeleton {
    background: var(--fp-surface-soft, #f5f6f8);
    border: 1px solid var(--fp-hairline, #e4e6ea);
    gap: 12px;
}
.ep_skel {
    display: block;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--fp-hairline, #e4e6ea) 25%, var(--fp-surface-strong, #eef0f3) 50%, var(--fp-hairline, #e4e6ea) 75%);
    background-size: 200% 100%;
}
.ep_skel_logo { width: 40px; height: 24px; }
.ep_skel_number { width: 70%; height: 20px; }
.ep_skel_name { width: 45%; height: 16px; }
@media not (prefers-reduced-motion: reduce) {
    .ep_skel { animation: epSkelShimmer 1.3s ease-in-out infinite; }
}
@keyframes epSkelShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* registered — 포인트컬러 그라데이션 카드(dashboard-13). color-mix 미지원 브라우저는
   먼저 선언한 background-color(단색) 폴백으로 열화 — 그라데이션 없이 단색 카드로만 표시된다. */
.ep_card_gradient {
    background-color: var(--main-btn-point-color, #1a6dff);
    background-image: linear-gradient(135deg, var(--main-btn-point-color), color-mix(in srgb, var(--main-btn-point-color) 55%, #0b0b0b 45%));
    color: var(--fp-on-primary, #fff);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.ep_card--registered .ep_card_number,
.ep_card--registered .ep_card_logo { color: var(--fp-on-primary, #fff); }

/* lookup_failed — 중립 카드 */
.ep_card_neutral {
    background: var(--fp-surface-strong, #eef0f3);
    border: 1px solid var(--fp-hairline, #e4e6ea);
    align-items: center;
    justify-content: center;
}

/* CTA 버튼 — 최소 높이 44px(WCAG 터치 타겟), focus indicator 필수 */
.ep_card_cta,
.ep_card_retry_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 16px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    color: var(--fp-on-primary, #fff);
    background: var(--main-btn-point-color, #1a6dff);
    transition: filter 150ms ease;
}
.ep_card_cta:hover,
.ep_card_retry_btn:hover { filter: brightness(0.94); }
.ep_card_cta:focus-visible,
.ep_card_retry_btn:focus-visible,
.ep_card_manage_link:focus-visible {
    outline: 2px solid var(--main-btn-point-color, #1a6dff);
    outline-offset: 2px;
}
.ep_card_cta:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}
.ep_card_cta--login { background: var(--fp-ink, #333333); }
.ep_card_retry_btn { background: var(--fp-surface-strong, #eef0f3); color: var(--fp-body, #444444); }
.ep_card_manage_link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 12px;
    padding: 0 4px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--main-btn-point-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ============================================================================
   나이스페이 간편결제 모달 셸 — #nicebox(orderform.1.php에서 JS로 append)
   기존 orderform.1.php 인라인 <style> 이관분 + 신규 #niceModalShell/#niceModalCard.
   ============================================================================ */
#nicebox .dimm {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.45);
    opacity: 1;
    display: none;
}
#nicebox .dimm.ep_modal_dimm--open { display: block; }

/* #nicewin 자체는 niceEasy_*()가 top/left(px)·fadeIn/fadeOut·html(iframe)을 계속 직접 조작하므로
   그 동작을 그대로 두고 CSS !important로 top/left 등 위치 프로퍼티만 무효화해 새 셸이 중앙정렬을
   전담한다. display만은 예외로 !important 없이 선언한다 — jQuery fadeIn()이 동작하려면 요소가
   is-hidden 상태로 시작해야 하는데, 여기에 !important를 붙이면 fadeIn()이 써넣는 인라인
   display를 오히려 이 규칙이 이겨 fadeIn()이 no-op 처리되어 모달이 영원히 열리지 않는다. */
#nicebox #nicewin.window {
    display: none;
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: auto !important;
    z-index: auto !important;
    padding: 0 !important;
    margin: 0 auto !important;
    background-color: transparent !important;
}
#nicebox #nicewin.window iframe { display: block; max-width: 100%; margin: 0 auto; }

/* 모달 셸 — display:flex를 기본으로 갖고, 표시/숨김은 클래스 토글로만 처리한다(인라인 display 조작 금지).
   pointer-events:none으로 카드 바깥(딤 영역)의 클릭이 셸을 통과해 실제로 #nicebg에 도달하게 한다. */
#niceModalShell {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    pointer-events: none;
}
#niceModalShell.ep_modal_shell--open { display: flex; }
#niceModalCard {
    pointer-events: auto;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: var(--fp-canvas, #fff);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 24px;
    box-sizing: border-box;
}
.ep_modal_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.ep_modal_title {
    font-size: 18px;
    font-weight: 700;
    color: var(--fp-ink, #1b1b1b);
}
.ep_modal_close_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--fp-muted, #8b8f96);
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}
.ep_modal_close_btn:hover { background: var(--fp-surface-soft, #f7f7f7); color: var(--fp-body, #444444); }
.ep_modal_close_btn:focus-visible {
    outline: 2px solid var(--main-btn-point-color, #1a6dff);
    outline-offset: 2px;
}
body.ep_modal_open { overflow: hidden; }

.ep_modal_loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 260px;
    padding: 32px 0;
}
#niceModalCard.ep_modal_card--loading .ep_modal_loading { display: flex; }
.ep_modal_loading_stack {
    position: relative;
    width: 92px;
    height: 58px;
    flex-shrink: 0;
}
.ep_modal_loading_card {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--fp-surface-strong, #eef0f3), var(--fp-hairline, #dfe2e7));
    border: 1px solid var(--fp-hairline, #d8dbe0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
#niceModalCard.ep_modal_card--loading .ep_modal_loading_card--1 {
    animation: epModalLoadingShuffle 1.05s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: -0.7s;
}
#niceModalCard.ep_modal_card--loading .ep_modal_loading_card--2 {
    animation: epModalLoadingShuffle 1.05s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: -0.35s;
}
#niceModalCard.ep_modal_card--loading .ep_modal_loading_card--3 {
    animation: epModalLoadingShuffle 1.05s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: 0s;
}
@keyframes epModalLoadingShuffle {
    0%   { transform: translate(0, 9px) rotate(0deg) scale(0.88); opacity: 0.4; z-index: 1; }
    33%  { transform: translate(10px, -4px) rotate(9deg) scale(1); opacity: 0.85; z-index: 2; }
    66%  { transform: translate(-16px, -13px) rotate(-13deg) scale(1.08); opacity: 1; z-index: 3; }
    100% { transform: translate(0, 9px) rotate(0deg) scale(0.88); opacity: 0.4; z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
    #niceModalCard.ep_modal_card--loading .ep_modal_loading_card--1,
    #niceModalCard.ep_modal_card--loading .ep_modal_loading_card--2,
    #niceModalCard.ep_modal_card--loading .ep_modal_loading_card--3 {
        animation: epModalLoadingFadeOnly 1.05s ease-in-out infinite;
        transform: none;
    }
    #niceModalCard.ep_modal_card--loading .ep_modal_loading_card--1 { animation-delay: -0.7s; }
    #niceModalCard.ep_modal_card--loading .ep_modal_loading_card--2 { animation-delay: -0.35s; }
    #niceModalCard.ep_modal_card--loading .ep_modal_loading_card--3 { animation-delay: 0s; }
}
@keyframes epModalLoadingFadeOnly {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}
.ep_modal_spinner {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid var(--fp-hairline, #dfe2e7);
    border-top-color:  var(--main-btn-point-color);
    animation: epModalSpin 800ms linear infinite;
}
@keyframes epModalSpin {
    to { transform: rotate(360deg); }
}
.ep_modal_loading_text {
    font-size: 14px;
    font-weight: 600;
    color: var(--fp-muted, #8b8f96);
    word-break: keep-all;
}
@media (prefers-reduced-motion: reduce) {
    .ep_modal_spinner { animation-duration: 1600ms; }
}

@media (max-width: 991px) {
    .ep_card_face { max-width: 100%; }
}
@media (max-width: 480px) {
    .ep_card_face { max-width: 94vw; aspect-ratio: 1.586 / 1; padding: 16px 20px; }
    .ep_card_cta, .ep_card_retry_btn { width: 100%; }
    #niceModalShell { padding: 0; }
    #niceModalCard {
        max-width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }
}


.settle_row_badges {
    flex-wrap: wrap;
    row-gap: 12px;
}
.settle_row_symbol.icon_pay {
    white-space: nowrap;
}
.settle_row_label .icon_pay.naver {
    background: transparent;
    padding: 0;
}
.settle_row_label .icon_pay.kakao {
    background: #fee500;
    color: #3a1d1d;
}
.settle_row_badges .icon_pay.kakao {
    background: transparent;
}
.settle_row_label .icon_pay.apple {
    background: transparent;
}
.settle_row_label .icon_pay.samsung {
    background: #1428a0;
    color: #fff;
}
.settle_row_label .icon_pay.toss {
    background: transparent;
}
.settle_row_label .icon_pay.payco {
    background: var(--fp-canvas, #fff);
    color: #c8151c;
    border: 1px solid #c8151c;
}



.fp-select {
    position: relative;
}
/* #settle_bank .input-box는 라벨 86px + 나머지를 flex로 나눈다(레거시 select 레이아웃과 동일 폭
   유지 — style.css:5202 .input-box{display:flex}). 원본 select 대신 이 래퍼가 두 번째 flex
   자식이 되므로 같은 계산식을 넘겨받는다. */
.ordersheet_payment #settle_bank .input-box .fp-select {
    width: calc(100% - 86px);
}
.fp-select_native {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0 !important;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0 !important;
}
.fp-select_trigger {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid var(--fp-hairline, #d6d6d6);
    border-radius: 5px;
    background: var(--fp-canvas, #fff);
    color: var(--fp-ink, #0c0c0c);
    font-size: 16px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    outline: none;
    transition: border-color 150ms ease;
}
.fp-select_trigger:hover {
    border-color: var(--main-btn-point-color);
}
.fp-select_trigger:focus-visible {
    outline: 2px solid var(--main-btn-point-color);
    outline-offset: 2px;
}
.fp-select.is-open .fp-select_trigger {
    border-color: var(--main-btn-point-color);
}
.fp-select_value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fp-select_value--placeholder {
    color: var(--fp-muted-soft, #9aa0a8);
}
.fp-select_chevron {
    flex: 0 0 auto;
    color: var(--fp-muted, #7c828a);
    transition: transform 150ms ease;
}
.fp-select.is-open .fp-select_chevron {
    transform: rotate(180deg);
}
.fp-select_list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 200;
    margin: 0;
    padding: 6px;
    list-style: none;
    max-height: 260px;
    overflow-y: auto;
    background: var(--fp-canvas, #fff);
    border: 1px solid var(--fp-hairline, #e4e6ea);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
}
.fp-select_option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--fp-ink, #1b1b1b);
    cursor: pointer;
    outline: none;
}
.fp-select_option:hover,
.fp-select_option:focus-visible {
    background: var(--fp-surface-soft, #f5f8ff);
}
.fp-select_option_text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fp-select_option_check {
    flex: 0 0 auto;
    display: flex;
    color: var(--main-btn-point-color);
    opacity: 0;
}
.fp-select_option.is-selected {
    color: var(--main-btn-point-color);
    font-weight: 600;
}
.fp-select_option.is-selected .fp-select_option_check {
    opacity: 1;
}
@media (max-width: 991px) {
    .ordersheet_payment #settle_bank .input-box .fp-select {
        width: 100%;
        margin-top: 10px;
    }
    .fp-select_trigger {
        height: 46px;
        font-size: 15px;
    }
}
@media (max-width: 480px) {
    .fp-select_trigger {
        height: 40px;
        font-size: 14px;
        border-radius: 2.5px;
    }
}
