#ordrDetailViewPage {
    background-color: #FFFFFF !important;

    ons-toolbar {
        border-bottom: 1px solid #e7e7e7;
    }

    ons-toolbar > .goBaskBtn {
        width: 25px;
        height: 25px;
    }

    img {
        width: 30px;
        height: 30px;
    }

    .btnReOrderItem {
        border: none;
    }

    .container {
        padding: 5px;
        padding-top: 20px;
        padding-bottom: 30px;
    }

    > .container > hr.space {
        display: none;
    }

    .box-title {
        color: var(--theme-color, #FA3E3F);
        padding-left: 4px;
        margin-top: 1.5em;
        margin-bottom: 5px;
        font-weight: 700;
        font-size: 18px;
        line-height: 1.2;
    }

    .card-wrapper {
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 3px 18px rgba(0, 0, 0, 0.08);
        margin-bottom: 12px;
        padding: 16px 20px 16px 20px;
        overflow: hidden;
        
        &:has(.requestArea) {
            padding: 16px 0;
        }
    }

    .state_nm {
        padding-left: 0;
        margin-top: 0;
        font-style: normal;
        font-weight: 700;
        font-size: 18px;
        line-height: 1.2;
        position: relative;
        font-variation-settings: normal;
    }

    .order_title {
        font-family: 'Inter';
        font-style: normal;
        font-weight: 700;
        font-size: 18px;
        line-height: 22px;
        color: #000000;
        font-variation-settings: normal;
    }

    .orderTop {
        margin: 0;
        font-size: 14px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    ons-button.cateBadge {
        height: 32px;
        line-height: 30px;
        border-radius: 12px;
        color: #FA3E3F;
        background-color: #FFFFFF;
        border: 1px solid #FA3E3F;
        font-weight: 500;
        padding: 0 5px;
        flex-shrink: 0;
    }

    .list-item__subtitle.topBottom {
        font-family: 'Inter';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 1.6;
        color: #898989;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e7e7e7;
    }

    .dataList {
        padding: 0;
        margin: 0;

        > .item-list {
            > .product_info {
                > .p_name {
                    font-size: 14px;
                    color: #888;
                    margin: 4px 0 8px 0;
                }

                > .list-item__subtitle {
                    margin-left: 4px;
                }

                > .flex-between {
                    font-size: 14px;
                    margin-top: -8px;
                }
            }
        }
    }

    .item-list {
        border-bottom: 1px solid #e7e7e7;
        padding-top: 1em;

        &:first-child {
            padding-top: 0;
        }

        &:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
    }

    .card-wrapper .addr_info {
        .tot_list {
            padding: 12px 0;
            margin: 0;
            border-bottom: 1px solid #e7e7e7;

            &:last-child {
                border-bottom: none;
                padding-bottom: 12px;
            }

            label {
                font-weight: 700;
                font-size: 14px;
                color: #333;
            }

            div {
                font-size: 14px;
                margin-top: 8px;
                margin-left: 8px;
                color: #555;
            }
        }
    }

    .card-wrapper .total {
        .tot_list {
            font-size: 14px;
            padding-left: 0;
            font-weight: 400;
            margin: 0;
            font-family: 'Pretendard', sans-serif;
            color: #555;
            line-height: 1.4;

            span {
                font-size: 14px;
                padding-left: 0;
                font-weight: 400;
                margin: 0;
                font-family: 'Pretendard', sans-serif;
                color: #555;
            }
            
            &:has(h4.tot_lbl) {
                border-top: 1px solid #e7e7e7;
                margin-top: 8px;
                padding-top: 16px;
                padding-bottom: 0;
            }
            
            .tot_amt {
                font-weight: 700;
                font-size: 18px;
                color: #000;
            }
        }

        > div {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #e7e7e7;
            font-family: 'Pretendard', sans-serif;
            color: #555;
            font-size: 14px;

            &:last-child {
                border-bottom: none;
                padding-bottom: 16px;
            }

            &:has(h4.tot_lbl) {
                margin-top: 8px;
                padding-top: 16px;
                border-bottom: none;
            }
        }

        .tot_amt {
            font-weight: 700;
            font-size: 18px;
            color: #000;
        }

        span {
            font-weight: 500;
            color: #555;
        }

        ons-button span {
            font-weight: 500;
            color: #FA3E3F;
        }
    }
    
    h4.tot_lbl {
        font-weight: 700;
        font-size: 16px;
        padding: 0;
        margin: 0;
        color: #000;
    }

    .sub_lbl {
        padding: 0;
        margin: 0;
        font-weight: 400;
    }

    .tot_list .sub_lbl {
        font-size: 14px;
        padding-left: 0;
        font-weight: 400;
        margin: 0;
        font-family: 'Pretendard', sans-serif;
        color: #555;
    }

    .bank_account_info {
        font-size: 11px !important;
        text-align: right;
        line-height: 1.4;
        color: #333;
    }

    ons-button.copyAccount {
        border: none;
        padding: 0 0 0 5px;
        color: var(--theme-color);
    }

    .requestArea {
        display: flex;
        justify-content: center;
        align-items: center;

        .tot_list {
            flex: 1;
            text-align: center;
            border-bottom: none !important;
            padding: 0;
            margin: 0;
        }

        img {
            width: 28px;
            height: 28px;
            margin-bottom: 4px;
        }

        span {
            display: block;
            font-size: 14px;
            color: #555;
        }
    }

    .addr_info:has(#btnRemoveOrderHistory) {
        background: transparent;
        box-shadow: none;
        text-align: center;
        padding: 0;
    }

    #btnRemoveOrderHistory {
        width: 100%;
        height: 56px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 16px;
        border: 1px solid #FA3E3F;
        color: #FA3E3F;
        background: #fff;
        margin: 0;
        font-family: 'Inter', sans-serif;
    }

    .addr_info.fiexed {
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        box-sizing: border-box;
        margin: 0;
        border-radius: 0;
    }

    .btnCopyToBasket {
        width: 100%;
        height: 56px;
        background: #FA3E3F;
        border-radius: 12px;
        font-weight: 700;
        font-size: 16px;
        color: #FFFFFF;
        border: none;
        margin: 0;
        font-family: 'Inter', sans-serif;
    }
}