/* 추가 */
* {
    word-break: break-word;
    white-space: normal;
}


/* 주문배송조회 */

.time-filters input[type="radio"] {
    width: 13px;
    height: 14px;
    margin-right: 3px;
    position: relative;
    top: 3px;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.filter-bar label {
    font-weight: bold;
}

.filter-bar div {
    display: flex;
    gap: 5px;
    align-items: center;
}

.filter-bar input[type="date"] {
    flex: 1;
    padding: 6px 0 6px 9px;
    border: 1px solid #d2d2d2;
    vertical-align: middle;
    font-size: 12px;
}

.search-btn {
    border: none;
    cursor: pointer;
}

.search-btn img {
    max-width: 40px;
    height: auto;
    vertical-align: middle;

}

.time-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.info_txt2 {
    padding-left: 20px;
    background: url(../images/bullet1.gif) no-repeat 10px 7px;
    padding-bottom: 10px;
    font-size: 11px;
    color: #666;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-top: 2px solid #f67929;
}

.order-table thead {
    font-weight: bold;
}

.order-table th,
.order-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.order-table th {
    background-color: #f1f1f1;
}

.no-data {
    text-align: center;
    color: #999;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: #df392e;
    line-height: 34px;
    font-weight: bold;
    margin: 0 auto;
}

.pagination button {
    border: none;
    cursor: pointer;
}

button.print {
    padding: 0 8px;
    cursor: pointer;
    border: 1px solid #d2d2d2;
    background: #fff;
}









/* 장바구니 */
.cart-table input[type="checkbox"],
input[type="radio"] {
    width: 13px;
    height: 14px;
    margin-right: 3px;
    position: relative;
    top: 3px;
}

.cart-table2 input[type="checkbox"],
input[type="radio"] {
    width: 13px;
    height: 14px;
    margin-right: 3px;
    position: relative;
    top: 3px;
}

.cart-container {

    text-align: center;
}

.cart-header {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
}

.step-indicator {
    display: flex;
    justify-content: center;

    margin-bottom: 20px;
}

.step {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    margin: 0 25px;
    width: calc(100% /3);
}

.step:first-child {
    margin: 0 25px 0 0;
}

.fa-shopping-cart {
    background-color: #f67929 !important;
    color: white !important;
    font-weight: bold !important;
    border-radius: 5px 0 5px 5px !important;
}

.fa-shopping-cart::after {
    content: "";
    position: absolute;
    right: -25px;
    top: 0px;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 30px solid #f67929 !important;
    margin-top: -5px;
}

.step {
    background-color: #f0f0f0;
    color: #666;
    border-radius: 5px 0 5px 5px;
}

.step::after {
    content: "";
    position: absolute;
    right: -25px;
    top: 0px;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 30px solid #f0f0f0;
    margin-top: -5px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table thead {
    font-weight: bold;
}

.cart-table th,
.cart-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    position: relative;
}

.cart-table th {
    background-color: #f4f4f4;
}



.cart-table2 {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart-table2 thead {
    font-weight: bold;
}

.cart-table2 th,
.cart-table2 td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    position: relative;
}

.cart-table2 th {
    background-color: #f4f4f4;
}





.cart-item {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 10px;
}

.cart-item img {
    width: 80px;
}

.product-info {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.product-info strong {
    font-weight: bold;
}

.quantity-box {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-box input {
    width: 50px;
    text-align: center;
    height: 22px;
    border: 1px solid #d8d8d8;
    vertical-align: middle;
    margin-right: -1px;
    text-align: center;
    font-size: 11px;
}

.quantity-box button {
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #d2d2d2;
    background: #fff;
    padding: 0 8px;
}



.order-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.order-buttons button {
    padding: 0 8px;
    cursor: pointer;
    border: 1px solid #d2d2d2;
    background: #fff;
}


.empty-cart {
    margin: 20px 0;
    color: #999;
}

.cart-buttons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}

.left-buttons {
    display: flex;
    gap: 10px;
}

.right-buttons {
    display: flex;
    gap: 10px;
}

.cart-buttons a {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    text-align: center;
}

span.arr {
    width: 17px;
    height: 22px;
    margin-left: -5px;
    vertical-align: middle;
    display: inline-block;
    font-size: 0px;
    line-height: 0px;
}

span.arr a {
    display: block;
}

.btn_delete_select,
.btn_delete_all,
.bookmark_multi {
    background-color: #666;
}

.btn_order,
.btn_all_buy {
    background-color: #f67929;
}

.total-price {
    margin-top: 10px;
    text-align: right;
}












/* 회원가입 */

/* 제목 */
#subContents h2.m_0 {margin-top: 0;}

#subContents h2 {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    color: black;
    margin-top: 70px;
    padding-bottom: 5px;
    border-bottom: 2px solid #f67929;
}

/* 폼 그룹 */
.form-group {
    padding: 15px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.form-group span {
    color: #f67929;
    vertical-align: text-top;
    padding-right: 5px;
}

.form-group label {
    font-weight: bold;
    margin-right: 10px;
    min-width: 20%;
    padding: 7px 0 7px 30px;
}

.form-group li label {
    padding: 7px 0;
}

.form-group li label {
    font-weight: normal;
}

.form-group input[type="password"] {
    width: auto;
    margin-bottom: 0;

}

.form-group input,
.form-group select {

    padding: 6px 9px;
    border: 1px solid #d2d2d2;
    margin-right: 5px;
}

.add_2 {
    width: calc(100% - 10%);
}

.add_2 div input {
    width: 100%;
}

.add_2 div {
    padding-top: 4px;
}

/* 인풋 그룹 */
.input-group {
    gap: 10px;
}

.txtS_info_red {
    color: #f67929;
    font-size: 11px;
}

.joinUrl_list {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.joinUrl_list li {
    width: calc(100% / 3);
    padding: 4px 0;
}

.joinUrl_list li.big {
    width: 100%;
}

.joinUrl_list li.big input[type="text"] {
    width: 75%;
    max-width: 100%;
}

.joinUrl_list li.big>span {
    width: 20%;
    display: inline-block;
    color: unset;
}

p.p_t {
    font-size: 12px;
    line-height: 16px;
}

p.p_t input {
    width: auto;
}

/* 버튼 스타일 */
.input-group .btn {
    display: inline-block;
    overflow: visible;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    margin: 0 0 0 5px;
    background: #f0f0f0;
    border: 1px solid #919191;
    padding: 6px 9px;
}

.btn.cancel {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    text-align: center;
    background-color: #666;
}

.btn.confirm {
    background-color: #f67929;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    text-align: center;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

p.p_t span {
    color: unset;
}









/* 회원탈퇴 */
.info_txt {
    padding-bottom: 5px;
}

.info_txt img {
    vertical-align: middle;
}

.bbs_write {
    border-top: 2px solid #f67929;
}

textarea#reason-detail {
    width: 100%;
}

.withdrawal {
    justify-content: flex-end;
}


















/* 주문결제 */
.step2 {
    text-align: unset !important;
}



.payment-summary {
    padding: 20px;
}



.total-price {
    font-size: 18px;
}

.point-section,
.coupon-section,
.mileage-status {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.point-section input[type="button"],
.coupon-section input[type="button"],
.mileage-status input[type="button"] {
    font-weight: normal;
    font-size: 12px;
    padding: 6px 9px;
    vertical-align: middle;
    margin-top: -3px;
}


.point-section h3,
.coupon-section h3,
.mileage-status h3 {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
}


.step2 h2 input[type="button"] {
    font-weight: normal;
    font-size: 12px;
    padding: 6px 9px;
    vertical-align: middle;
    margin-top: -3px;
}


.circle-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-weight: bold;
    color: white;
    background-color: #f67929;
    border-radius: 50%;
    margin: 0 5px;
    position: absolute;
    left: -17px;
}



.total-price {
    font-size: 18px;
    font-weight: bold;
}

.agree_box {
    overflow: auto;
    overflow-x: hidden;
    border-bottom: 1px solid #b2b2b2;
}

.agree_cont {
    height: 175px;
    padding: 0 20px 20px 20px;
    color: #666;
    font-size: 11px;
    line-height: 160%;
}

.agree_cont .terms_box {
    line-height: 160%;
    color: #666;
    font-size: 11px;
}

.agree_cont h4 {
    margin-top: 15px;
    height: 24px;
    font-weight: normal;
    font-size: 11px;
}

.agree_form {
    padding: 15px 0 15px 20px;
    background: #f9f9f9;
    border-bottom: 1px solid #dfdfdf;
    color: #424242;
    font-size: 11px;
}

.p_r20 {
    padding-right: 20px !important;
}

table td.grayBg {
    background: #f9f9f9;
    padding: 7px 0 7px 20px;

    line-height: 26px;
    border-bottom: 1px solid #dfdfdf;
    text-align: left;
}

table td.grayBg span {
    padding-right: 10px;
}

.card-table {
    overflow-x: unset !important;
    white-space: unset !important;
    border-top: none;
}

.point-section input#mileage {
    padding: 6px 9px;
    border: 1px solid #d2d2d2;
    margin-right: 5px;
}







/* 이용약관 */
.agree_all_form {
    padding: 25px 0 30px 0;
    text-align: center;
}

.agree_all_form input[type="checkbox"] {
    width: 13px;
    height: 14px;
    margin-right: 3px;
    position: relative;
    top: 3px;
}









/* 아이디비번찾기 */
fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

legend {
    margin: 0;
    padding: 0;
    display: none;
}

.find_idpw {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
    flex-direction: column;
}

.find_id,
.find_pw {
    flex: 1;
    padding-bottom: 70px;
}

.tit {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.inputbox {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.inputbox label {
    font-size: 14px;
    margin-bottom: -2px;
    color: #555;
    font-weight: bold;
    margin-right: 10px;

}

.inputbox>span {
    min-width: 20%;
    display: inline-block;
}

.inputbox input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
}

.btn.confirm.sign {
    width: 17%;
    padding: 10px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.btn.confirm:hover {
    background: #555;
}

.inputbox_contets {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
}

.inputbox_set {
    width: 81%;
}







/* 주문상세내역 */
.top-info {
    padding-bottom: 10px;
    text-align: left;
    font-weight: bold;
}




.info-container {
    display: flex;
    gap: 20px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.order-info,
.price-info {
    width: 100%;
}

.price-info td:last-child {
    font-weight: bold;
}

.price-info tr:last-child td {
    color: #d32f2f;
}

.m_r {
    text-align: center;
}

.margin_0 {
    margin-top: 0;
}











@media (min-width: 1200px) {
    .form-group label {
        width: 10%;
    }

    .joinUrl_list li.big>span {
        width: 12%;
    }

    .inputbox>span {
        width: 10%;
    }

}

@media (max-width: 768px) {
    input[type="text"]#email {
        margin-bottom: 4px;
    }

    .form-group select#email {
        margin-bottom: 4px;
    }

    .joinUrl_list li.big>span {
        width: 100%;
    }

}

.joinUrl_list li.big input[type="text"] {
    width: 100%;
}




@media (max-width: 600px) {

    /* 주문배송조회 */
    .filter-bar label {
        width: 100%;
    }

    .filter-bar div {
        align-items: flex-start;
    }

    .filter-bar input[type="date"] {}

    .search-btn {
        align-self: center;
    }

    .order-table thead {
        display: none;
    }

    .order-table tbody td {
        display: flex;
        justify-content: space-between;
        border-top: none;
        border-bottom: 1px solid #ddd;
    }

    .order-table tbody tr {
        border-bottom: 2px solid #ddd;
        display: block;
        margin-bottom: 10px;
        border-top: 1px solid #ddd;
    }

    .order-table tbody td::before {
        content: attr(data-label);
        font-weight: bold;
    }








    /* 장바구니 */
    .cart-container {
        width: 100%;
    }

    /* ✅ 테이블을 블록 형태로 변경 */
    .cart-table,
    .cart-table thead,
    .cart-table tbody,
    .cart-table th,
    .cart-table td,
    .cart-table tr {
        display: block;
        width: 100%;
    }

    /* ✅ thead 숨김 */
    .cart-table thead {
        display: none;
    }

    .cart-table tbody tr {
        border-top: 1px solid #ddd;
        border-bottom: 2px solid #ddd;
        display: block;
        margin-bottom: 10px;
    }

    /* ✅ td를 블록처럼 표시 */
    .cart-table td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border-bottom: none;
        text-align: left;
        align-items: center;
    }

    /* ✅ td 앞에 data-label을 이용해 라벨 추가 */
    .cart-table td::before {
        content: attr(data-label);
        font-weight: bold;
    }

    .cart-table td[data-label="상품명"]::before {
        content: none;
    }

    .cart-table td[data-label="상품명"] {
        display: block;
        text-align: center;
        /* 텍스트 중앙 정렬 */
    }

    .cart-table td:last-child {
        border-bottom: 1px solid #d8d8d8;
    }









    .cart-table2,
    .cart-table2 thead,
    .cart-table2 tbody,
    .cart-table2 th,
    .cart-table2 td,
    .cart-table2 tr {
        display: block;
        width: 100%;
    }

    /* ✅ thead 숨김 */
    .cart-table2 thead {
        display: none;
    }

    .cart-table2 tbody tr {
        display: block;
    }

    .cart-table2 tbody tr:last-child {
        border-bottom: 2px solid #ddd;
        display: block;
        margin-bottom: 10px;
    }



    /* ✅ td를 블록처럼 표시 */
    .cart-table2 td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border-bottom: none;
        text-align: left;
        align-items: center;
    }

    /* ✅ td 앞에 data-label을 이용해 라벨 추가 */
    .cart-table2 td::before {
        content: attr(data-label);
        font-weight: bold;
        /* width: calc(100% / 2); */
        text-align: left;
    }

    .cart-table2 td[data-label="상품명"]::before {
        content: none;
    }

    .cart-table2 td[data-label="상품명"] {
        display: block;
        text-align: center;
        /* 텍스트 중앙 정렬 */
    }

    .cart-table2 td:last-child {
        border-bottom: 1px solid #d8d8d8;
    }



    .cart-table2 th {
        display: none;
        width: 25%;
    }







    .total-price td::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: bold;
    }

    .cart-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }



    .order-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .quantity-box {
        justify-content: center;
    }

    .order-buttons {
        justify-content: center;
    }

    .step-indicator {
        width: 95%;
        margin: 0 auto 20px;
    }

    .step {
        padding: 10px;
        margin: 0 20px 0 0;
    }

    .step span {
        white-space: nowrap;
        display: contents;
    }

    .cart-table {
        overflow-x: auto;
        white-space: nowrap;
    }

    .cart-table2 {
        overflow-x: auto;
        white-space: nowrap;
    }

    .cart-buttons {
        align-items: center;
    }

    .left-buttons,
    .right-buttons {
        width: 100%;
    }

    .left-buttons {
        margin-bottom: 10px;
    }

    .left-buttons a {
        width: calc(100% / 3);
    }

    .right-buttons a {
        width: calc(100% / 2);
    }

    .fa-shopping-cart::after {
        right: -16px;
        border-left: 20px solid #f67929 !important;
    }

    .step::after {
        right: -16px;
        border-left: 20px solid #f0f0f0;
    }







    /* 회원가입 */
    input[type="text"][title="우편번호"] {
        width: 30%;
    }

    p.p_t span {
        display: block;
    }

    p.p_t {
        padding-top: 7px;
    }

    .input-group .btn {
        margin: 0;
        width: 30%;
        font-size: 12px;
    }

    .container {
        width: 95%;
        padding: 10px;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .form-group label {
        width: 100%;
        margin-bottom: 5px;
        padding-left: 0;
    }



    .input-group {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }

    .input-group input {
        width: 65%;
    }

    .input-group input.phon {
        width: 30%;
    }

    .joinUrl_list {
        flex-direction: column;
    }

    .joinUrl_list li {
        width: 100%;
    }



    .btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }







    /* 회원탈퇴 */
    .bbs_write .input-group input {
        width: auto;
    }












    /* 주문결제 */
    .circle-icon {
        left: 50%;
    }

    td.grayBg {
        display: flex;
        flex-wrap: wrap;
    }

    .point-section span {
        gap: 4px;
        display: flex;
        margin-top: 7px;
    }










    /* 아이디비밀번호찾기 */
    .inputbox>span {
        width: 100%;
    }

    .find_idpw {
        flex-direction: column;
        gap: 15px;
    }

    .find_id,
    .find_pw {
        width: 100%;
        padding: 15px;
    }

    .inputbox_contets {
        flex-direction: column;
    }

    .btn.confirm.sign {
        width: 100%;
    }

    .inputbox_set {
        width: 100%;
    }






    /* 주문상세내역 */
    .m_r {
        text-align: right !important;
    }

    .info-container {
        flex-direction: column;
    }

    .order-info,
    .price-info {
        width: 100%;
    }
    .input-group input {
    width: 25%;
	}
	.input-group select {
	    width: 25%;
	}
}
/* arum custom */
.input-group .btn {
    color :#000000;
}