.col-6{
    display: inline-block;
    width: 49%;
    margin: 20px 0 ;
    text-align: center;
}

.col-6 a{
    height: 35px;
    text-align: center;
    background-color: #ffffff;
    color: black;
    width: 100%;
    display: block;
    padding: 8px;
    font-weight: bold;
}

.sod_ta_wr{
    background-color: #f2f4f6 !important;
}

.col-6 .active-tab{
    background-color: #f8b500;
    color: white;
}

.product_table{
    width: 100%;
    border-top: 2px solid black;
}

.table_wrap{
    background-color: white;
    padding: 20px;
    margin: 20px 0;
}

.product_table tbody tr th{
    background-color: #f2f4f6;
    border: none;
}

.btn_del_wr{
    text-align: right;
}
#sod_chk{
    float: left;
    display: inline-block;
}

.product_table tr:nth-child(3) td{
    background-color: #f2f4f6;
}

.product_price_td{
    text-align: right !important;
    background-color: #f2f4f6;
    font-size: 1.1em;
    font-weight: bold;
}

.td-col{
    width: 85%;
    font-size: 1.1em;
    font-weight: bold;
}

.td-col-2{
    width: 15%;
}

.td-1{
    padding-left: 10px;
    width: 5%;
    height: 100%;
    vertical-align: middle;
    padding-top: 20px;
}

.td-2{
    width: 10%;
}

.td-3{
    width: 55%;
    text-align: left !important;
}

.td-4{
    width: 5%;
}

.td-5{
    width: 15%;
}

.td-6{
    width: 10%;
}

.table.product_table tr {
    vertical-align: middle; /* 세로 중앙 정렬 */
}

.table.product_table td,
.table.product_table th {
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.table.product_table td span,
.table.product_table th span {
    display: inline-block;
    vertical-align: middle; /* 중앙 정렬 */
    text-align: center; /* 중앙 정렬 */
}

.li_mod{
    margin-top: 20px;
    border: 1px solid #f8b500;
    color: #f8b500;
    display: inline-block;
    padding: 4px;
    font-size: 0.8em;
    font-weight: bold;
}



.li_chk .selec_chk {
    width: 15px;
    height: 15px;
}

.total_area{
    padding: 30px;
    background-color: #fff8e4;
    border: 1px solid #f8b500;
}

.total_table{
    width: 100%;
    text-align: right;
}

.str_bold{
    font-weight: bold;
    font-size: 1.3em;
}

.tot_label{
    color: #f8b500;
}


.empty_td{
    height: 30px;
}

.empty_list{
    background-color: white;
}

@media (min-width: 970px){
    #sod_bsk_act .btn_submit {
        width: 175px;
    }
}


.btn_all_order{
    background-color: #333333;
}

.btn_select_order{
    background-color: #eacd7f;
}

.btn_select_order:hover{
    background-color: #f8b500;
}

.estimate_btn{
    background-color: #d0d0d0;
}

.estimate_btn:hover{
    background-color: #808080;

}


.basic-body .basic-body-page{
    border: none;
}

/*이미지 색 조정*/
.wrapper{
    background-color: #f2f4f6;
}


@media screen and (min-width: 425px) {

    .mobile_wrap{
        display: none;
    }
    .pc_wrap{
        display: block;
    }

    .td-1{
        width: 3% !important;
    }
    .td-4{
        width: 10% !important;
    }

    .td-2{
        width: 15% !important;
    }
    .td-3{
        width: 50% !important;
    }

    .li_mod{
        margin: 5px 5px ;
    }

    .product_table tr:nth-child(3) td{
        background-color: white;
    }

    .product_table tr:nth-child(4) td{
        background-color: #f2f4f6;
    }

    .m-left{
        display: none;
    }
    .m-right{
        width: 100%;
    }

    #sod_bsk_act .btn_submit {
        width: 40%;
    }

    .td-col{
        width: initial;
        font-size: 1.1em;
        font-weight: bold;
    }

    .td-col-2{
        width: initial;

    }

    .ta-right{
        text-align: right !important;
    }

}

@media screen and (max-width: 425px) {
    .mobile_wrap{
        display: block;
    }
    .pc_wrap{
        display: none;
    }
}

/* ========== 옵션 수정 팝업 오버라이드 ========== */
#mod_option_frm {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff !important;
    z-index: 100;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    overflow: hidden;
}
#mod_option_frm > h2 {
    display: none !important;
}
.cart-option-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #1f2937;
    color: white;
}
.cart-option-header h2 {
    display: block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: white !important;
    height: auto !important;
    line-height: normal !important;
    padding: 0 !important;
    background: none !important;
}
.cart-option-close-x {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 20px !important;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    transition: background 0.2s;
    width: auto !important;
    height: auto !important;
    position: static !important;
}
.cart-option-close-x:hover {
    background: rgba(255,255,255,0.15) !important;
}

#mod_option_frm .option_wr {
    margin: 16px 20px !important;
}
#mod_option_frm h3 {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px !important;
}
/* 옵션 select 드롭다운 통일 */
#mod_option_frm .option_wr select,
#mod_option_frm select {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    color: #374151 !important;
    background: white !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    cursor: pointer;
    box-sizing: border-box;
}
#mod_option_frm .option_wr select:focus,
#mod_option_frm select:focus {
    border-color: #f8b500 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(248,181,0,0.2) !important;
}
#mod_option_frm .option_wr label {
    margin: 0 0 6px !important;
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
}
#mod_option_frm #sit_sel_option {
    margin: 0 20px 10px !important;
}
#mod_option_frm #sit_sel_option ul {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 4px !important;
}
#mod_option_frm #sit_opt_added li {
    padding: 12px !important;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
}
#mod_option_frm #sit_opt_added li:last-child {
    border-bottom: none;
}

/* 옵션명 */
#mod_option_frm .opt_name {
    display: block !important;
    padding: 0 30px 6px 0 !important;
}
#mod_option_frm .sit_opt_subj {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    line-height: 1.5 !important;
}

/* 수량+가격+삭제 행 */
#mod_option_frm .opt_count {
    display: flex !important;
    align-items: center !important;
    gap: 6px;
}
#mod_option_frm .opt_count:after {
    display: none !important;
}

/* +/- 버튼 */
#mod_option_frm .sit_qty_minus,
#mod_option_frm .sit_qty_plus {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #f9fafb !important;
    color: #374151 !important;
    font-size: 12px !important;
    cursor: pointer;
    padding: 0 !important;
    float: none !important;
}
#mod_option_frm .sit_qty_minus:hover,
#mod_option_frm .sit_qty_plus:hover {
    background: #e5e7eb !important;
}

/* 수량 input */
#mod_option_frm .num_input {
    width: 44px !important;
    text-align: center !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    height: 32px !important;
    padding: 0 4px !important;
    color: #1f2937 !important;
}

/* 가격 */
#mod_option_frm .sit_opt_prc {
    float: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    line-height: 32px !important;
    padding: 0 4px !important;
    flex: 1;
    text-align: right !important;
    display: inline-block !important;
}

/* X 삭제 버튼 (AJAX) */
#mod_option_frm .cart-opt-ajax-del {
    position: static !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    background: #f9fafb !important;
    color: #9ca3af !important;
    font-size: 14px !important;
    cursor: pointer;
    padding: 0 !important;
    margin-left: 4px;
    transition: all 0.2s;
    float: none !important;
}
#mod_option_frm .cart-opt-ajax-del:hover {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}

/* 하단 버튼 */
.cart-opt-actions {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
}
.cart-opt-btn-cancel {
    flex: 1;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}
.cart-opt-btn-cancel:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}
.cart-opt-btn-confirm {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #f8b500;
    font-size: 14px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}
.cart-opt-btn-confirm:hover {
    background: #e5a600;
}

/* 기존 btn_confirm 숨김 (새 cart-opt-actions 사용) */
#mod_option_frm .btn_confirm {
    display: none !important;
}

/* 배경 딤 */
.mod_option_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 99;
}

/* 총 가격 표시 */
#mod_option_frm #sit_tot_price {
    margin: 0 20px 8px !important;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    color: #f8b500;
}

/* ========== 상품 카드 개별 삭제 버튼 (소계 행) ========== */
.cart-item-del-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.cart-item-del-btn:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
}
.cart-item-del-btn i {
    font-size: 12px;
}

/* ========== 장바구니 가시성 향상 (글자, 상품 카드) ========== */
.table_wrap {
    background: white;
    border-radius: 10px;
    padding: 16px;
    margin: 8px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.product_table {
    border-top: 2px solid #1f2937 !important;
}
.product_table th {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    padding: 10px 4px !important;
    background: #f9fafb !important;
}
.product_table td {
    vertical-align: middle !important;
    padding: 8px 4px !important;
}
.li_name a strong {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    line-height: 1.4 !important;
}
.li_mod {
    font-size: 12px !important;
    border-color: #f8b500 !important;
    color: #f8b500 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}
.product_price_td {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #1f2937 !important;
}
.product_price_td .total_price strong {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #dc2626 !important;
}
.prqty_price {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
}
.prqty_qty {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #374151 !important;
}

/* ========== 장바구니 상단 툴바 ========== */
.cart-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.cart-check-all {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}
.cart-check-all input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #f8b500;
    cursor: pointer;
}
.cart-toolbar-actions {
    display: flex;
    gap: 6px;
}
.cart-toolbar-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}
.cart-toolbar-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #374151;
}
.cart-toolbar-btn-danger:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* ========== 상품별 체크박스 ========== */
.cart-item-check {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}
.cart-item-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #f8b500;
    cursor: pointer;
}
.cart-item-check .cart-item-checkmark {
    display: none;
}

/* ========== 장바구니 탭 (일반/머크) ========== */
.cart-tab-wrap {
    display: flex;
    gap: 0;
    margin: 15px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #f8b500;
}
.cart-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    background: white;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.cart-tab:hover {
    background: #fff8e1;
    color: #333;
}
.cart-tab-active {
    background: #f8b500;
    color: white;
}
.cart-tab-active:hover {
    background: #e5a600;
    color: white;
}
.cart-tab i {
    font-size: 16px;
}

/* ========== 장바구니 액션 버튼 ========== */
.cart-action-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 0;
}
.cart-action-row {
    display: flex;
    gap: 8px;
}
.cart-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    color: white;
}
.cart-btn:active {
    transform: scale(0.98);
}
.cart-btn i {
    font-size: 14px;
}
.cart-btn-primary {
    background: #333;
}
.cart-btn-primary:hover {
    background: #111;
}
.cart-btn-outline {
    background: #f8b500;
}
.cart-btn-outline:hover {
    background: #e5a600;
}
.cart-btn-secondary {
    background: #6b7280;
}
.cart-btn-secondary:hover {
    background: #4b5563;
}
.cart-btn-save {
    background: #2563eb;
}
.cart-btn-save:hover {
    background: #1d4ed8;
}

/* ========== 가격 요약 ========== */
.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}
.cart-summary-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-summary-label {
    font-size: 14px;
    color: #374151;
    font-weight: 600;
}
.cart-summary-sub {
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
}
.cart-summary-value {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}
.cart-summary-free {
    color: #10b981;
    font-weight: 600;
}
.cart-summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 14px 0;
}
.cart-summary-total .cart-summary-label {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}
.cart-summary-total .cart-summary-value {
    font-size: 22px;
    font-weight: 800;
    color: #f8b500;
}
.cart-summary-total .cart-summary-value small {
    font-size: 14px;
    font-weight: 600;
    margin-left: 2px;
}

@media (max-width: 480px) {
    .cart-action-row {
        flex-direction: column;
    }
    .cart-tab {
        font-size: 13px;
        padding: 10px 6px;
    }
    .cart-summary {
        padding: 16px 18px;
    }
    .cart-summary-total .cart-summary-value {
        font-size: 20px;
    }
}
